@magmonium/one 0.4.40 → 0.4.42
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.
- package/assets/fields/app_color.json +5 -0
- package/assets/fields/logo_glyph_paste.json +7 -0
- package/assets/fields/logo_glyph_upload.json +12 -0
- package/assets/forms/logo_glyph_input.json +13 -0
- package/assets/i18n/ar.json +8 -0
- package/assets/i18n/de.json +8 -0
- package/assets/i18n/en.json +8 -0
- package/assets/i18n/es.json +8 -0
- package/assets/i18n/fr.json +8 -0
- package/assets/i18n/hi.json +8 -0
- package/assets/i18n/it.json +8 -0
- package/assets/i18n/ja.json +8 -0
- package/assets/i18n/ko.json +8 -0
- package/assets/i18n/nl.json +8 -0
- package/assets/i18n/pl.json +8 -0
- package/assets/i18n/pt.json +8 -0
- package/assets/i18n/ru.json +8 -0
- package/assets/i18n/tr.json +8 -0
- package/assets/i18n/zh.json +8 -0
- package/assets/index.json +1 -1
- package/fesm2022/{magmonium-one-base-dropdown-DU4B4w7c.mjs → magmonium-one-base-dropdown-CcZ0lBQv.mjs} +3 -3
- package/fesm2022/{magmonium-one-base-dropdown-DU4B4w7c.mjs.map → magmonium-one-base-dropdown-CcZ0lBQv.mjs.map} +1 -1
- package/fesm2022/{magmonium-one-button-BWB3ZKIj.mjs → magmonium-one-button-BZQOf-Pm.mjs} +6 -4
- package/fesm2022/{magmonium-one-button-BWB3ZKIj.mjs.map → magmonium-one-button-BZQOf-Pm.mjs.map} +1 -1
- package/fesm2022/{magmonium-one-group-m41SX_fL.mjs → magmonium-one-group-Dl2bp-y-.mjs} +4 -4
- package/fesm2022/{magmonium-one-group-m41SX_fL.mjs.map → magmonium-one-group-Dl2bp-y-.mjs.map} +1 -1
- package/fesm2022/{magmonium-one-header-D8CB9CBJ.mjs → magmonium-one-header-DhK9NuZW.mjs} +5 -4
- package/fesm2022/{magmonium-one-header-D8CB9CBJ.mjs.map → magmonium-one-header-DhK9NuZW.mjs.map} +1 -1
- package/fesm2022/{magmonium-one-icon-BTPHGpEN.mjs → magmonium-one-icon-BgbtOdMv.mjs} +229 -6
- package/fesm2022/magmonium-one-icon-BgbtOdMv.mjs.map +1 -0
- package/fesm2022/{magmonium-one-image-editor-Dn0ACfH0.mjs → magmonium-one-image-editor-oGxg59hV.mjs} +3 -3
- package/fesm2022/{magmonium-one-image-editor-Dn0ACfH0.mjs.map → magmonium-one-image-editor-oGxg59hV.mjs.map} +1 -1
- package/fesm2022/{magmonium-one-menu-EIfPlZ4E.mjs → magmonium-one-menu-bI7lVUYI.mjs} +5 -4
- package/fesm2022/{magmonium-one-menu-EIfPlZ4E.mjs.map → magmonium-one-menu-bI7lVUYI.mjs.map} +1 -1
- package/fesm2022/{magmonium-one-password-BjqYmT1s.mjs → magmonium-one-password-BIs_YxJ5.mjs} +2 -2
- package/fesm2022/{magmonium-one-password-BjqYmT1s.mjs.map → magmonium-one-password-BIs_YxJ5.mjs.map} +1 -1
- package/fesm2022/{magmonium-one-text-BL-1lWST.mjs → magmonium-one-text-BvXdAX0i.mjs} +4 -3
- package/fesm2022/{magmonium-one-text-BL-1lWST.mjs.map → magmonium-one-text-BvXdAX0i.mjs.map} +1 -1
- package/fesm2022/magmonium-one.mjs +627 -144
- package/fesm2022/magmonium-one.mjs.map +1 -1
- package/package.json +1 -1
- package/types/magmonium-one.d.ts +283 -31
- package/fesm2022/magmonium-one-icon-BTPHGpEN.mjs.map +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,11 +1,11 @@
|
|
|
1
1
|
import { c as TranslatePipe, l as TranslateService } from "./magmonium-one-size-converter-C5fG_dgw.mjs";
|
|
2
2
|
import { t as SelectorDirective } from "./magmonium-one-selector-DeRIUUBA.mjs";
|
|
3
3
|
import { t as LabelComponent } from "./magmonium-one-label-DjvJthAB.mjs";
|
|
4
|
-
import { t as ButtonComponent } from "./magmonium-one-button-
|
|
4
|
+
import { t as ButtonComponent } from "./magmonium-one-button-BZQOf-Pm.mjs";
|
|
5
5
|
import { t as TextOutputComponent } from "./magmonium-one-text-output-Ci93Hi9Y.mjs";
|
|
6
6
|
import { t as BaseInputComponent } from "./magmonium-one-base-input-BTxhUtYO.mjs";
|
|
7
7
|
import "./magmonium-one-directives-DePukAj8.mjs";
|
|
8
|
-
import { t as TextInputComponent } from "./magmonium-one-text-
|
|
8
|
+
import { t as TextInputComponent } from "./magmonium-one-text-BvXdAX0i.mjs";
|
|
9
9
|
import { t as assetOptions } from "./magmonium-one-options-asset-EVsv0DL7.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";
|
|
@@ -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-
|
|
604
|
+
//# sourceMappingURL=magmonium-one-base-dropdown-CcZ0lBQv.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"magmonium-one-base-dropdown-DU4B4w7c.mjs","names":[],"sources":["../../../../libs/one/src/lib/shared/ui/input/ui/dropdown/dropdown-box.ts","../../../../libs/one/src/lib/shared/ui/input/ui/dropdown/base-dropdown.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n effect,\n ElementRef,\n inject,\n input,\n output,\n} from '@angular/core';\nimport { TranslatePipe } from '../../../../pipe/translate';\nimport { DropdownOption, DropdownValue } from '../../model/input';\n\n@Component({\n selector: 'm-dropdown-box',\n imports: [TranslatePipe],\n template: `\n <ul class=\"dropdown-box\" role=\"listbox\">\n @for (option of options(); track option.value; let i = $index) {\n @let selectedState = isSelected(option.value);\n <li\n class=\"dropdown-box__option\"\n [class.dropdown-box__option--selected]=\"selectedState\"\n [class.dropdown-box__option--disabled]=\"option.disabled\"\n [class.dropdown-box__option--active]=\"i === activeIndex()\"\n role=\"option\"\n [attr.aria-selected]=\"selectedState\"\n [attr.data-value]=\"option.value\"\n (click)=\"selectOption(option)\"\n (keydown.enter)=\"selectOption(option)\"\n tabindex=\"0\"\n >\n <!-- A group header is a row, never a choice: no box to tick. -->\n @if (multiple() && !option.disabled) {\n <input\n type=\"checkbox\"\n class=\"dropdown-box__checkbox\"\n [checked]=\"selectedState\"\n tabindex=\"-1\"\n (click)=\"$event.preventDefault()\"\n />\n }\n @if (option.noTranslate) {\n {{ option.label }}\n } @else {\n {{ option.label | translate }}\n }\n </li>\n } @empty {\n <li class=\"dropdown-box__empty\">\n {{ 'no-results-found' | translate }}\n </li>\n }\n </ul>\n `,\n styleUrl: './dropdown-box.sass',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DropdownBoxComponent {\n readonly options = input<DropdownOption<DropdownValue>[]>([]);\n /** The values ticked, as a list whichever Field drew the panel. */\n readonly selected = input<readonly DropdownValue[]>([]);\n readonly multiple = input<boolean>(false);\n readonly activeIndex = input<number>(-1);\n readonly action = output<DropdownOption<DropdownValue>>();\n\n private readonly host = inject<ElementRef<HTMLElement>>(ElementRef);\n\n // Keep the keyboard-active option in view as ↑/↓ walk a scrolled list.\n constructor() {\n effect(() => {\n const index = this.activeIndex();\n if (index < 0) return;\n this.host.nativeElement\n .querySelectorAll('.dropdown-box__option')\n [index]?.scrollIntoView?.({ block: 'nearest' });\n });\n }\n\n protected readonly isSelected = (value: DropdownValue): boolean =>\n this.selected().includes(value);\n\n // Only emit a selection event for enabled options.\n protected readonly selectOption = (\n option: DropdownOption<DropdownValue>\n ): void => {\n if (option.disabled) return;\n this.action.emit(option);\n };\n}\n","import {\n computed,\n Directive,\n ElementRef,\n inject,\n input,\n inputBinding,\n linkedSignal,\n model,\n outputBinding,\n Signal,\n signal,\n viewChild,\n} from '@angular/core';\nimport { ValidationError, WithOptionalFieldTree } from '@angular/forms/signals';\nimport { LabelComponent } from '../label';\nimport { TextOutputComponent } from '../../../text-output';\nimport { BaseInputComponent } from '../../lib/base-input';\nimport { Button } from '../../../button/type/button';\nimport { ButtonComponent } from '../../../button/ui/button';\nimport { TranslateService } from '../../../../services';\nimport { SelectorConfig, SelectorDirective } from '../../../../directives';\nimport { Direction } from '../../../../directives/selector/selector-type';\nimport { DropdownBoxComponent } from './dropdown-box';\nimport {\n DropdownInput,\n DropdownOption,\n DropdownValue,\n TextInput,\n} from '../../model/input';\nimport { TextInputComponent } from '../text/text';\nimport { assetOptions } from '../../lib/options-asset';\n\n/** The trigger both option Fields draw: a searchable text input and a chevron. */\nexport const DROPDOWN_TEMPLATE = `\n @if (config(); as dropdown) {\n @if (dropdown.label) {\n <m-label\n [for]=\"dropdown.name ?? ''\"\n [placeholder]=\"dropdown.label\"\n [params]=\"dropdown.params\"\n [required]=\"required()\"\n [disabled]=\"disabled()\"\n />\n }\n <div\n class=\"trigger-wrap\"\n #wrapper\n [mSelector]=\"selectorConfig()\"\n [disabled]=\"disabled() || readonly() || !!config()?.readonly\"\n (opened)=\"onOpened()\"\n (closed)=\"onClosed()\"\n (focusin)=\"isFocused.set(true)\"\n (focusout)=\"isFocused.set(false)\"\n >\n <m-text-input\n [config]=\"triggerInputConfig()\"\n [value]=\"displayValue()\"\n [disabled]=\"disabled()\"\n [invalid]=\"invalid()\"\n [hideErrors]=\"true\"\n [(touched)]=\"touched\"\n [focused]=\"focused()\"\n (valueChange)=\"onInput($event)\"\n (click)=\"preventToggleWhenOpen($event)\"\n (keydown.space)=\"$event.stopPropagation()\"\n (keydown.enter)=\"onEnter($event)\"\n (keydown.arrowdown)=\"onArrow($event, 1)\"\n (keydown.arrowup)=\"onArrow($event, -1)\"\n (keydown.tab)=\"$event.stopPropagation()\"\n />\n <m-button [disabled]=\"disabled()\" [config]=\"chevron()\" />\n </div>\n @if (showErrors()) {\n @for (error of errors(); track $index) {\n <m-text-output\n variant=\"footer\"\n color=\"error\"\n [label]=\"error.message\"\n />\n }\n }\n }\n`;\n\nexport const DROPDOWN_IMPORTS = [\n LabelComponent,\n TextOutputComponent,\n TextInputComponent,\n ButtonComponent,\n SelectorDirective,\n];\n\n/**\n * Everything a Dropdown and a Multiselect share: the options, the search, the\n * keyboard walk and the panel. What differs is only what the Field holds — one\n * value or a list — so a subclass says which values are selected and what a\n * pick does to them.\n */\n@Directive()\nexport abstract class BaseDropdownComponent extends BaseInputComponent<DropdownInput> {\n public override config = input<Partial<DropdownInput> | undefined>();\n public override required = input<boolean>(false);\n public override disabled = input<boolean>(false);\n public override invalid = input<boolean>(false);\n public override touched = model<boolean>(false);\n public override focused = input<boolean>(false);\n public override errors = input<readonly WithOptionalFieldTree<ValidationError>[]>(\n []\n );\n public override showErrors = computed(() => this.touched() && this.invalid());\n\n readonly options = input<\n DropdownOption<DropdownValue>[] | Signal<DropdownOption<DropdownValue>[]>\n >();\n readonly dir = input<Direction>();\n readonly toggle = model(false);\n readonly searchTerm = signal('');\n readonly isFocused = signal(false);\n readonly chevron = computed(\n () =>\n <Button>{\n icon: this.toggle() ? 'chevron-up' : 'chevron-down',\n one: true,\n variant: 'ghost',\n // In-Field control, never the form's submit — without this the Button\n // reads as the submit control and greys out while the form is invalid.\n type: 'button',\n // Chevron tracks the trigger's border like the text input's own icon:\n // red while the Field shows errors, focus tint while focused, border at rest.\n color: this.showErrors()\n ? 'error'\n : this.isFocused()\n ? 'focus'\n : 'border',\n // The trigger input is the Field's tab stop; the chevron only repeats\n // what clicking that input already does, so Tab walks past it.\n tabindex: -1,\n }\n );\n\n /** The values the Field holds now, as a list whichever kind it is. */\n protected abstract readonly selectedValues: Signal<readonly DropdownValue[]>;\n /** Whether the panel ticks rows and stays open across picks. */\n protected abstract readonly multiple: boolean;\n /** What picking `option` does to the Field's value. */\n protected abstract selectOption(option: DropdownOption<DropdownValue>): void;\n\n protected readonly triggerInputConfig = computed(() => {\n const dropdown = this.config() as DropdownInput | undefined;\n return <Partial<TextInput>>{\n name: dropdown?.name,\n icon: dropdown?.icon,\n one: dropdown?.one,\n placeholder: this.placeholderText(),\n readonly: this.readonly() || !!dropdown?.readonly,\n };\n });\n\n protected readonly dropdownOptions = computed(\n (): DropdownOption<DropdownValue>[] => {\n const runtimeOptions = this.options();\n const source =\n runtimeOptions ?? (this.config() as DropdownInput | undefined)?.options;\n if (typeof source === 'function') return source();\n if (source?.length) return source;\n return this.assetOptions();\n }\n );\n\n private readonly translateService = inject(TranslateService);\n\n protected readonly assetOptions = assetOptions(\n () => (this.config() as DropdownInput | undefined)?.optionsAsset\n );\n\n /** An option's text: authored as it stands, a key translated. */\n private readonly optionLabel = (\n option?: DropdownOption<DropdownValue>\n ): string => {\n if (!option?.label) return '';\n return option.noTranslate\n ? option.label\n : this.translateService.translate(option.label);\n };\n\n protected readonly filteredOptions = computed(\n (): DropdownOption<DropdownValue>[] => {\n const search = this.searchTerm().toLowerCase();\n if (!search) return this.dropdownOptions();\n return this.dropdownOptions().filter((o) => {\n const label = this.optionLabel(o).toLowerCase();\n return (\n label.includes(search) ||\n String(o.value).toLowerCase().includes(search)\n );\n });\n }\n );\n\n /** The option ↑/↓ point at while the panel is open; -1 is none. Reset as the search narrows the list. */\n protected readonly activeIndex = linkedSignal<\n DropdownOption<DropdownValue>[],\n number\n >({\n source: this.filteredOptions,\n computation: (options) =>\n this.searchTerm() ? this.nextEnabled(options, -1, 1) : -1,\n });\n\n /** The enabled option `step` rows past `from`, wrapping; `from` itself when none. */\n private readonly nextEnabled = (\n options: DropdownOption<DropdownValue>[],\n from: number,\n step: 1 | -1\n ): number => {\n for (let i = 1; i <= options.length; i++) {\n const index =\n (((from + step * i) % options.length) + options.length) %\n options.length;\n if (!options[index].disabled) return index;\n }\n return from;\n };\n\n /** One pick reads as its option's label, several as a count. */\n private readonly selectionLabel = computed((): string => {\n const values = this.selectedValues();\n if (values.length === 0) return '';\n if (values.length === 1) {\n return this.optionLabel(\n this.dropdownOptions().find((o) => o.value === values[0])\n );\n }\n const translation = this.translateService.translate(\n `selected?count=${values.length}`\n );\n return translation.includes('selected')\n ? `${values.length} Selected`\n : translation;\n });\n\n protected readonly displayValue = computed((): string =>\n this.toggle() ? this.searchTerm() : this.selectionLabel()\n );\n\n protected readonly placeholderText = computed((): string => {\n if (this.toggle()) {\n const label = this.selectionLabel();\n if (label) return label;\n }\n const placeholder = (this.config() as DropdownInput | undefined)\n ?.placeholder;\n return placeholder ? this.translateService.translate(placeholder) : '';\n });\n\n private readonly wrapperRef =\n viewChild<ElementRef<HTMLDivElement>>('wrapper');\n\n protected readonly selectorConfig = computed<\n SelectorConfig<DropdownBoxComponent>\n >(() => ({\n component: DropdownBoxComponent,\n base: 'm-dropdown-input',\n matchTriggerWidth: true,\n toggle: true,\n dir: this.dir(),\n bindings: [\n inputBinding('options', this.filteredOptions),\n inputBinding('selected', this.selectedValues),\n inputBinding('multiple', () => this.multiple),\n inputBinding('activeIndex', this.activeIndex),\n outputBinding<DropdownOption<DropdownValue>>('action', (option) =>\n this.selectOption(option)\n ),\n ],\n }));\n\n /** Shuts the panel after a pick, the way a click on the trigger would. */\n protected readonly closePanel = (): void => {\n this.toggle.set(false);\n this.searchTerm.set('');\n setTimeout(() => this.wrapperRef()?.nativeElement.click(), 0);\n };\n\n protected readonly onOpened = (): void => {\n this.toggle.set(true);\n this.searchTerm.set('');\n const current = this.selectedValues()[0];\n this.activeIndex.set(\n this.filteredOptions().findIndex((o) => o.value === current)\n );\n };\n\n // Focus stays in the trigger input (it is the search box), so ↑/↓ move the\n // active option rather than DOM focus. Closed, ArrowDown bubbles on to\n // SelectorDirective, which opens the panel.\n protected readonly onArrow = (event: Event, step: 1 | -1): void => {\n if (!this.toggle()) return;\n event.preventDefault();\n this.activeIndex.update((index) =>\n this.nextEnabled(this.filteredOptions(), index, step)\n );\n };\n\n // Enter never reaches SelectorDirective (it would toggle the panel); open,\n // it picks the active option.\n protected readonly onEnter = (event: Event): void => {\n event.stopPropagation();\n if (!this.toggle()) return;\n event.preventDefault();\n const option = this.filteredOptions()[this.activeIndex()];\n if (option && !option.disabled) this.selectOption(option);\n };\n\n protected readonly onClosed = (): void => {\n this.toggle.set(false);\n this.searchTerm.set('');\n };\n\n protected readonly onInput = (value: string): void => {\n this.searchTerm.set(value);\n };\n\n protected readonly preventToggleWhenOpen = (event: Event): void => {\n if (this.toggle() || this.readonly() || this.config()?.readonly) {\n event.stopPropagation();\n }\n };\n}\n"],"mappings":";;;;;;;;;;;AAyDA,IAAa,uBAAb,MAAa,qBAAoB;CACtB,UAAU,MAAuC,CAAA,GAAG,GAAA,YAAA,CAAA,EAAA,WAAA,UAAA,CAAA,+BAAA,CAAA,CAAA;CAEpD,WAAW,MAAgC,CAAA,GAAG,GAAA,YAAA,CAAA,EAAA,WAAA,WAAA,CAAA,+BAAA,CAAA,CAAA;CAC9C,WAAW,MAAe,OAAM,GAAA,YAAA,CAAA,EA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own/base-dropdown.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n effect,\n ElementRef,\n inject,\n input,\n output,\n} from '@angular/core';\nimport { TranslatePipe } from '../../../../pipe/translate';\nimport { DropdownOption, DropdownValue } from '../../model/input';\n\n@Component({\n selector: 'm-dropdown-box',\n imports: [TranslatePipe],\n template: `\n <ul class=\"dropdown-box\" role=\"listbox\">\n @for (option of options(); track option.value; let i = $index) {\n @let selectedState = isSelected(option.value);\n <li\n class=\"dropdown-box__option\"\n [class.dropdown-box__option--selected]=\"selectedState\"\n [class.dropdown-box__option--disabled]=\"option.disabled\"\n [class.dropdown-box__option--active]=\"i === activeIndex()\"\n role=\"option\"\n [attr.aria-selected]=\"selectedState\"\n [attr.data-value]=\"option.value\"\n (click)=\"selectOption(option)\"\n (keydown.enter)=\"selectOption(option)\"\n tabindex=\"0\"\n >\n <!-- A group header is a row, never a choice: no box to tick. -->\n @if (multiple() && !option.disabled) {\n <input\n type=\"checkbox\"\n class=\"dropdown-box__checkbox\"\n [checked]=\"selectedState\"\n tabindex=\"-1\"\n (click)=\"$event.preventDefault()\"\n />\n }\n @if (option.noTranslate) {\n {{ option.label }}\n } @else {\n {{ option.label | translate }}\n }\n </li>\n } @empty {\n <li class=\"dropdown-box__empty\">\n {{ 'no-results-found' | translate }}\n </li>\n }\n </ul>\n `,\n styleUrl: './dropdown-box.sass',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DropdownBoxComponent {\n readonly options = input<DropdownOption<DropdownValue>[]>([]);\n /** The values ticked, as a list whichever Field drew the panel. */\n readonly selected = input<readonly DropdownValue[]>([]);\n readonly multiple = input<boolean>(false);\n readonly activeIndex = input<number>(-1);\n readonly action = output<DropdownOption<DropdownValue>>();\n\n private readonly host = inject<ElementRef<HTMLElement>>(ElementRef);\n\n // Keep the keyboard-active option in view as ↑/↓ walk a scrolled list.\n constructor() {\n effect(() => {\n const index = this.activeIndex();\n if (index < 0) return;\n this.host.nativeElement\n .querySelectorAll('.dropdown-box__option')\n [index]?.scrollIntoView?.({ block: 'nearest' });\n });\n }\n\n protected readonly isSelected = (value: DropdownValue): boolean =>\n this.selected().includes(value);\n\n // Only emit a selection event for enabled options.\n protected readonly selectOption = (\n option: DropdownOption<DropdownValue>\n ): void => {\n if (option.disabled) return;\n this.action.emit(option);\n };\n}\n","import {\n computed,\n Directive,\n ElementRef,\n inject,\n input,\n inputBinding,\n linkedSignal,\n model,\n outputBinding,\n Signal,\n signal,\n viewChild,\n} from '@angular/core';\nimport { ValidationError, WithOptionalFieldTree } from '@angular/forms/signals';\nimport { LabelComponent } from '../label';\nimport { TextOutputComponent } from '../../../text-output';\nimport { BaseInputComponent } from '../../lib/base-input';\nimport { Button } from '../../../button/type/button';\nimport { ButtonComponent } from '../../../button/ui/button';\nimport { TranslateService } from '../../../../services';\nimport { SelectorConfig, SelectorDirective } from '../../../../directives';\nimport { Direction } from '../../../../directives/selector/selector-type';\nimport { DropdownBoxComponent } from './dropdown-box';\nimport {\n DropdownInput,\n DropdownOption,\n DropdownValue,\n TextInput,\n} from '../../model/input';\nimport { TextInputComponent } from '../text/text';\nimport { assetOptions } from '../../lib/options-asset';\n\n/** The trigger both option Fields draw: a searchable text input and a chevron. */\nexport const DROPDOWN_TEMPLATE = `\n @if (config(); as dropdown) {\n @if (dropdown.label) {\n <m-label\n [for]=\"dropdown.name ?? ''\"\n [placeholder]=\"dropdown.label\"\n [params]=\"dropdown.params\"\n [required]=\"required()\"\n [disabled]=\"disabled()\"\n />\n }\n <div\n class=\"trigger-wrap\"\n #wrapper\n [mSelector]=\"selectorConfig()\"\n [disabled]=\"disabled() || readonly() || !!config()?.readonly\"\n (opened)=\"onOpened()\"\n (closed)=\"onClosed()\"\n (focusin)=\"isFocused.set(true)\"\n (focusout)=\"isFocused.set(false)\"\n >\n <m-text-input\n [config]=\"triggerInputConfig()\"\n [value]=\"displayValue()\"\n [disabled]=\"disabled()\"\n [invalid]=\"invalid()\"\n [hideErrors]=\"true\"\n [(touched)]=\"touched\"\n [focused]=\"focused()\"\n (valueChange)=\"onInput($event)\"\n (click)=\"preventToggleWhenOpen($event)\"\n (keydown.space)=\"$event.stopPropagation()\"\n (keydown.enter)=\"onEnter($event)\"\n (keydown.arrowdown)=\"onArrow($event, 1)\"\n (keydown.arrowup)=\"onArrow($event, -1)\"\n (keydown.tab)=\"$event.stopPropagation()\"\n />\n <m-button [disabled]=\"disabled()\" [config]=\"chevron()\" />\n </div>\n @if (showErrors()) {\n @for (error of errors(); track $index) {\n <m-text-output\n variant=\"footer\"\n color=\"error\"\n [label]=\"error.message\"\n />\n }\n }\n }\n`;\n\nexport const DROPDOWN_IMPORTS = [\n LabelComponent,\n TextOutputComponent,\n TextInputComponent,\n ButtonComponent,\n SelectorDirective,\n];\n\n/**\n * Everything a Dropdown and a Multiselect share: the options, the search, the\n * keyboard walk and the panel. What differs is only what the Field holds — one\n * value or a list — so a subclass says which values are selected and what a\n * pick does to them.\n */\n@Directive()\nexport abstract class BaseDropdownComponent extends BaseInputComponent<DropdownInput> {\n public override config = input<Partial<DropdownInput> | undefined>();\n public override required = input<boolean>(false);\n public override disabled = input<boolean>(false);\n public override invalid = input<boolean>(false);\n public override touched = model<boolean>(false);\n public override focused = input<boolean>(false);\n public override errors = input<readonly WithOptionalFieldTree<ValidationError>[]>(\n []\n );\n public override showErrors = computed(() => this.touched() && this.invalid());\n\n readonly options = input<\n DropdownOption<DropdownValue>[] | Signal<DropdownOption<DropdownValue>[]>\n >();\n readonly dir = input<Direction>();\n readonly toggle = model(false);\n readonly searchTerm = signal('');\n readonly isFocused = signal(false);\n readonly chevron = computed(\n () =>\n <Button>{\n icon: this.toggle() ? 'chevron-up' : 'chevron-down',\n one: true,\n variant: 'ghost',\n // In-Field control, never the form's submit — without this the Button\n // reads as the submit control and greys out while the form is invalid.\n type: 'button',\n // Chevron tracks the trigger's border like the text input's own icon:\n // red while the Field shows errors, focus tint while focused, border at rest.\n color: this.showErrors()\n ? 'error'\n : this.isFocused()\n ? 'focus'\n : 'border',\n // The trigger input is the Field's tab stop; the chevron only repeats\n // what clicking that input already does, so Tab walks past it.\n tabindex: -1,\n }\n );\n\n /** The values the Field holds now, as a list whichever kind it is. */\n protected abstract readonly selectedValues: Signal<readonly DropdownValue[]>;\n /** Whether the panel ticks rows and stays open across picks. */\n protected abstract readonly multiple: boolean;\n /** What picking `option` does to the Field's value. */\n protected abstract selectOption(option: DropdownOption<DropdownValue>): void;\n\n protected readonly triggerInputConfig = computed(() => {\n const dropdown = this.config() as DropdownInput | undefined;\n return <Partial<TextInput>>{\n name: dropdown?.name,\n icon: dropdown?.icon,\n one: dropdown?.one,\n placeholder: this.placeholderText(),\n readonly: this.readonly() || !!dropdown?.readonly,\n };\n });\n\n protected readonly dropdownOptions = computed(\n (): DropdownOption<DropdownValue>[] => {\n const runtimeOptions = this.options();\n const source =\n runtimeOptions ?? (this.config() as DropdownInput | undefined)?.options;\n if (typeof source === 'function') return source();\n if (source?.length) return source;\n return this.assetOptions();\n }\n );\n\n private readonly translateService = inject(TranslateService);\n\n protected readonly assetOptions = assetOptions(\n () => (this.config() as DropdownInput | undefined)?.optionsAsset\n );\n\n /** An option's text: authored as it stands, a key translated. */\n private readonly optionLabel = (\n option?: DropdownOption<DropdownValue>\n ): string => {\n if (!option?.label) return '';\n return option.noTranslate\n ? option.label\n : this.translateService.translate(option.label);\n };\n\n protected readonly filteredOptions = computed(\n (): DropdownOption<DropdownValue>[] => {\n const search = this.searchTerm().toLowerCase();\n if (!search) return this.dropdownOptions();\n return this.dropdownOptions().filter((o) => {\n const label = this.optionLabel(o).toLowerCase();\n return (\n label.includes(search) ||\n String(o.value).toLowerCase().includes(search)\n );\n });\n }\n );\n\n /** The option ↑/↓ point at while the panel is open; -1 is none. Reset as the search narrows the list. */\n protected readonly activeIndex = linkedSignal<\n DropdownOption<DropdownValue>[],\n number\n >({\n source: this.filteredOptions,\n computation: (options) =>\n this.searchTerm() ? this.nextEnabled(options, -1, 1) : -1,\n });\n\n /** The enabled option `step` rows past `from`, wrapping; `from` itself when none. */\n private readonly nextEnabled = (\n options: DropdownOption<DropdownValue>[],\n from: number,\n step: 1 | -1\n ): number => {\n for (let i = 1; i <= options.length; i++) {\n const index =\n (((from + step * i) % options.length) + options.length) %\n options.length;\n if (!options[index].disabled) return index;\n }\n return from;\n };\n\n /** One pick reads as its option's label, several as a count. */\n private readonly selectionLabel = computed((): string => {\n const values = this.selectedValues();\n if (values.length === 0) return '';\n if (values.length === 1) {\n return this.optionLabel(\n this.dropdownOptions().find((o) => o.value === values[0])\n );\n }\n const translation = this.translateService.translate(\n `selected?count=${values.length}`\n );\n return translation.includes('selected')\n ? `${values.length} Selected`\n : translation;\n });\n\n protected readonly displayValue = computed((): string =>\n this.toggle() ? this.searchTerm() : this.selectionLabel()\n );\n\n protected readonly placeholderText = computed((): string => {\n if (this.toggle()) {\n const label = this.selectionLabel();\n if (label) return label;\n }\n const placeholder = (this.config() as DropdownInput | undefined)\n ?.placeholder;\n return placeholder ? this.translateService.translate(placeholder) : '';\n });\n\n private readonly wrapperRef =\n viewChild<ElementRef<HTMLDivElement>>('wrapper');\n\n protected readonly selectorConfig = computed<\n SelectorConfig<DropdownBoxComponent>\n >(() => ({\n component: DropdownBoxComponent,\n base: 'm-dropdown-input',\n matchTriggerWidth: true,\n toggle: true,\n dir: this.dir(),\n bindings: [\n inputBinding('options', this.filteredOptions),\n inputBinding('selected', this.selectedValues),\n inputBinding('multiple', () => this.multiple),\n inputBinding('activeIndex', this.activeIndex),\n outputBinding<DropdownOption<DropdownValue>>('action', (option) =>\n this.selectOption(option)\n ),\n ],\n }));\n\n /** Shuts the panel after a pick, the way a click on the trigger would. */\n protected readonly closePanel = (): void => {\n this.toggle.set(false);\n this.searchTerm.set('');\n setTimeout(() => this.wrapperRef()?.nativeElement.click(), 0);\n };\n\n protected readonly onOpened = (): void => {\n this.toggle.set(true);\n this.searchTerm.set('');\n const current = this.selectedValues()[0];\n this.activeIndex.set(\n this.filteredOptions().findIndex((o) => o.value === current)\n );\n };\n\n // Focus stays in the trigger input (it is the search box), so ↑/↓ move the\n // active option rather than DOM focus. Closed, ArrowDown bubbles on to\n // SelectorDirective, which opens the panel.\n protected readonly onArrow = (event: Event, step: 1 | -1): void => {\n if (!this.toggle()) return;\n event.preventDefault();\n this.activeIndex.update((index) =>\n this.nextEnabled(this.filteredOptions(), index, step)\n );\n };\n\n // Enter never reaches SelectorDirective (it would toggle the panel); open,\n // it picks the active option.\n protected readonly onEnter = (event: Event): void => {\n event.stopPropagation();\n if (!this.toggle()) return;\n event.preventDefault();\n const option = this.filteredOptions()[this.activeIndex()];\n if (option && !option.disabled) this.selectOption(option);\n };\n\n protected readonly onClosed = (): void => {\n this.toggle.set(false);\n this.searchTerm.set('');\n };\n\n protected readonly onInput = (value: string): void => {\n this.searchTerm.set(value);\n };\n\n protected readonly preventToggleWhenOpen = (event: Event): void => {\n if (this.toggle() || this.readonly() || this.config()?.readonly) {\n event.stopPropagation();\n }\n };\n}\n"],"mappings":";;;;;;;;;;;AAyDA,IAAa,uBAAb,MAAa,qBAAoB;CACtB,UAAU,MAAuC,CAAA,GAAG,GAAA,YAAA,CAAA,EAAA,WAAA,UAAA,CAAA,+BAAA,CAAA,CAAA;CAEpD,WAAW,MAAgC,CAAA,GAAG,GAAA,YAAA,CAAA,EAAA,WAAA,WAAA,CAAA,+BAAA,CAAA,CAAA;CAC9C,WAAW,MAAe,OAAM,GAAA,YAAA,CAAA,EAAA,WAAA,WAAA,CAAA,+BAAA,CAAA,CAAA;CAChC,cAAc,MAAc,IAAG,GAAA,YAAA,CAAA,EAAA,WAAA,cAAA,CAAA,+BAAA,CAAA,CAAA;CAC/B,SAAS,OAAM;CAEP,OAAO,OAAgC,UAAU;CAGlE,cAAA;EACE,aAAY;GACV,MAAM,QAAQ,KAAK,YAAW;GAC9B,IAAI,QAAQ,GAAG;GACf,KAAK,KAAK,cACP,iBAAiB,uBAAuB,CAAC,CACzC,MAAM,EAAE,iBAAiB,EAAE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EAAA,CAAA;EAAA,SAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA;IAAA,UAAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,QAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA;IAAA,UAAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,SAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA;IAAA,UAAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,KAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA;IAAA,UAAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,QAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA;IAAA,UAAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,GAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,cAAA;EAAA,CAAA;EAAA,YAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,WAAS,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;CAAA;AAAA,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { K as NAV_STORE_REF, c as TranslatePipe, v as HttpService } from "./magmonium-one-size-converter-C5fG_dgw.mjs";
|
|
2
2
|
import { n as resolvePallet } from "./magmonium-one-color-utl-D86GGpz5.mjs";
|
|
3
3
|
import "./magmonium-one-theme-CT4cWpe7.mjs";
|
|
4
|
-
import { r as IconComponent } from "./magmonium-one-icon-
|
|
4
|
+
import { r as IconComponent } from "./magmonium-one-icon-BgbtOdMv.mjs";
|
|
5
5
|
import { n as toAttrNumber, r as ConfigComponent, t as toAttrBool } from "./magmonium-one-attribute-value-DCTXt4Sr.mjs";
|
|
6
6
|
import { t as MRefDirective } from "./magmonium-one-m-ref-C8c4Vf1G.mjs";
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
@@ -87,7 +87,8 @@ var BadgeComponent = class BadgeComponent extends ConfigComponent {
|
|
|
87
87
|
"size",
|
|
88
88
|
"one",
|
|
89
89
|
"baseUrl",
|
|
90
|
-
"remote"
|
|
90
|
+
"remote",
|
|
91
|
+
"shadow"
|
|
91
92
|
],
|
|
92
93
|
outputs: ["configChange"]
|
|
93
94
|
}],
|
|
@@ -966,7 +967,8 @@ var ButtonComponent = class ButtonComponent extends ReactiveElementComponent {
|
|
|
966
967
|
"size",
|
|
967
968
|
"one",
|
|
968
969
|
"baseUrl",
|
|
969
|
-
"remote"
|
|
970
|
+
"remote",
|
|
971
|
+
"shadow"
|
|
970
972
|
],
|
|
971
973
|
outputs: ["configChange"]
|
|
972
974
|
},
|
|
@@ -1278,4 +1280,4 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1278
1280
|
});
|
|
1279
1281
|
export { isButtonName as a, formatBadgeCount as c, deriveGroupClass as i, shouldShowBadge as l, SECTION_FORM_CONTEXT as n, ReactiveElementComponent as o, ImgComponent as r, BadgeComponent as s, ButtonComponent as t };
|
|
1280
1282
|
|
|
1281
|
-
//# sourceMappingURL=magmonium-one-button-
|
|
1283
|
+
//# sourceMappingURL=magmonium-one-button-BZQOf-Pm.mjs.map
|