{"title":"Str.myAccount","inframe":false,"hidden":false,"roles":{"demo":1,"default":1,"basic":1,"dev":1},"pageLink":"{container:false}","children":[{"configs":{"itemId":"module"},"children":[{"configs":{"defaults":"{\n  width: 360,\n  labelWidth: 120,\n  labelAlign: 'right',\n  margin: '8 0 0 0'\n}","autoShow":"true","title":"{#Str.myAccount#}","closable":"contextOwner!==undefined","width":"450","dialog":"true","defaultFocus":"DISPLAY_NAME","bodyPadding":"2 10 10 10","itemId":"window1","iconCls":"system_icon"},"events":{"ok":"if (Wb.verify(win)) {\n  if (app.PASSWORD.getValue() != app.RE_PASSWORD.getValue()) {\n    Wb.warn(Str.inconsistentPwd,\n      function() {\n        app.PASSWORD.focus(true, true);\n      }\n    );\n    return;\n  }\n  Wb.request({\n    url: 'm?xwl=my/account/set',\n    out: win,\n    success: function(resp) {\n      if (Wb.hasNS('sys.home'))\n        sys.home.userBtn.setText(app.DISPLAY_NAME.getValue());\n      if (contextOwner === undefined)\n        Wb.info(Str.dataSaved);\n      else\n        win.close();\n    }\n  });\n}","show":"Wb.request({\n  url: 'm?xwl=my/account/get',\n  success: function(resp) {\n    var vals = Wb.decode(resp.responseText).rows[0];\n    Wb.apply(vals, {\n      PASSWORD: '******',\n      RE_PASSWORD: '******'\n    });\n    Wb.setValue(app.window1, vals);\n  }\n});"},"children":[{"configs":{"readOnly":"true","itemId":"USER_NAME","fieldLabel":"@Str.username","selectOnFocus":"true"},"children":[],"type":"text","expanded":false},{"configs":{"itemId":"DISPLAY_NAME","fieldLabel":"@Str.displayName"},"children":[],"type":"text","expanded":false},{"configs":{"minLength":"6","inputType":"password","itemId":"PASSWORD","fieldLabel":"@Str.password"},"children":[],"type":"text","expanded":false},{"configs":{"minLength":"6","inputType":"password","itemId":"RE_PASSWORD","fieldLabel":"@Str.passwordConfirm"},"children":[],"type":"text","expanded":false},{"configs":{"vtype":"email","itemId":"EMAIL","fieldLabel":"@Str.email"},"children":[],"type":"text","expanded":false},{"configs":{"pickList":"[\n  ['auto', 'auto'],\n  ['af', 'af (Afrikaans)'],\n  ['bg', 'bg (български език)'],\n  ['ca', 'ca (català)'],\n  ['cs', 'cs (čeština)'],\n  ['da', 'da (dansk)'],\n  ['de', 'de (Deutsch)'],\n  ['el', 'el (ελληνικά)'],\n  ['en', 'en (American English)'],\n  ['en_AU', 'en_AU (Australian English)'],\n  ['en_GB', 'en_GB (British English)'],\n  ['es', 'es (español)'],\n  ['et', 'et (eesti)'],\n  ['fa', 'fa (فارسی)'],\n  ['fi', 'fi (suomi)'],\n  ['fr', 'fr (français)'],\n  ['fr_CA', 'fr_CA (français canadien)'],\n  ['he', 'he (עברית)'],\n  ['hr', 'hr (hrvatski jezik)'],\n  ['hu', 'hu (magyar)'],\n  ['id', 'id (Bahasa Indonesia)'],\n  ['it', 'it (italiano)'],\n  ['ja', 'ja (日本語)'],\n  ['ko', 'ko (한국어)'],\n  ['lt', 'lt (lietuvių kalba)'],\n  ['lv', 'lv (latviešu valoda)'],\n  ['mk', 'mk (македонски јазик)'],\n  ['nl', 'nl (Nederlands)'],\n  ['no', 'no (Norsk)'],\n  ['no_NN', 'no_NN (Norsk nynorsk)'],\n  ['pl', 'pl (język polski)'],\n  ['pt', 'pt (português)'],\n  ['pt_BR', 'pt_BR (Português do Brasil)'],\n  ['pt_PT', 'pt_PT (Português do Portugal)'],\n  ['ro', 'ro (limba română)'],\n  ['ru', 'ru (Русский)'],\n  ['sk', 'sk (slovenčina)'],\n  ['sl', 'sl (slovenski jezik)'],\n  ['sr', 'sr (Srpska Latinica)'],\n  ['sr_RS', 'sr_RS (српски језик)'],\n  ['sv', 'sv (svenska)'],\n  ['th', 'th (ไทย)'],\n  ['tr', 'tr (Türkçe)'],\n  ['uk', 'uk (українська мова)'],\n  ['vi', 'vi (Tiếng Việt)'],\n  ['zh', 'zh (简体中文)'],\n  ['zh_TW', 'zh_TW (繁體中文)']\n]","itemId":"USE_LANG","forceSelection":"true","fieldLabel":"@Str.language"},"children":[],"type":"combo","expanded":false},{"configs":{"readOnly":"true","itemId":"LOGIN_TIMES","fieldLabel":"@Str.loginTimes"},"children":[],"type":"text","expanded":false}],"type":"window","expanded":true},{"configs":{"style":"background-color:#787878;","itemId":"viewport1"},"children":[],"type":"viewport","expanded":false}],"type":"module","expanded":true}],"iconCls":"record_icon"}