mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-18 00:02:15 +00:00
1 line
20 KiB
JavaScript
Vendored
1 line
20 KiB
JavaScript
Vendored
(window.webpackJsonp=window.webpackJsonp||[]).push([[33],{"+t0u":function(e,a,t){var i=t("QO4y");"string"==typeof i&&(i=[[e.i,i,""]]);var n={hmr:!0,transform:void 0,insertInto:void 0};t("aET+")(i,n);i.locals&&(e.exports=i.locals)},"1i39":function(e,a,t){(e.exports=t("I1BE")(!1)).push([e.i,".form[data-v-19e38a6f]{max-width:700px}.form.inline-form[data-v-19e38a6f]{display:flex;position:relative;justify-content:center;margin:0 auto}.form.inline-form .input-wrapper[data-v-19e38a6f]{position:relative}.form.inline-form .input-wrapper .error-message[data-v-19e38a6f]{position:absolute;left:0;bottom:-25px}.form.block-form .wrapper-inline[data-v-19e38a6f]{display:flex;margin:0 -15px}.form.block-form .wrapper-inline .block-wrapper[data-v-19e38a6f]{width:100%;padding:0 15px}.form.block-form .block-wrapper[data-v-19e38a6f]{margin-bottom:32px}.form.block-form .block-wrapper label[data-v-19e38a6f]{font-size:.875em;color:rgba(27,37,57,.8);font-weight:700;display:block;margin-bottom:7px;text-align:left}.form.block-form .block-wrapper[data-v-19e38a6f]:last-child{margin-bottom:0}.form.block-form .button[data-v-19e38a6f]{margin-top:50px}.form .inline-wrapper[data-v-19e38a6f]{display:flex;align-items:center;justify-content:space-between}.form .inline-wrapper .switch-label .input-help[data-v-19e38a6f]{padding-top:0}.form .inline-wrapper .switch-label .input-label[data-v-19e38a6f]{font-weight:700;color:#1b2539;font-size:1em;margin-bottom:5px}.form .input-help[data-v-19e38a6f]{font-size:.75em;color:rgba(27,37,57,.7);line-height:1.35;padding-top:10px;display:block}.single-line-form[data-v-19e38a6f]{display:flex}.single-line-form .submit-button[data-v-19e38a6f]{margin-left:20px}.error-message[data-v-19e38a6f]{font-size:.875em;color:#fd397a;padding-top:5px;display:block;text-align:left}textarea[data-v-19e38a6f]{width:100%}input[type=email][data-v-19e38a6f],input[type=number][data-v-19e38a6f],input[type=password][data-v-19e38a6f],input[type=text][data-v-19e38a6f],textarea[data-v-19e38a6f]{border:1px solid transparent;transition:all .15s ease;font-size:1em;border-radius:8px;padding:13px 20px;-webkit-appearance:none;-moz-appearance:none;appearance:none;font-weight:700;outline:0;width:100%;box-shadow:0 1px 5px rgba(0,0,0,.12)}input[type=email].is-error[data-v-19e38a6f],input[type=number].is-error[data-v-19e38a6f],input[type=password].is-error[data-v-19e38a6f],input[type=text].is-error[data-v-19e38a6f],textarea.is-error[data-v-19e38a6f]{border-color:#fd397a;box-shadow:0 1px 5px rgba(253,57,122,.3)}input[type=email][data-v-19e38a6f]::-moz-placeholder,input[type=number][data-v-19e38a6f]::-moz-placeholder,input[type=password][data-v-19e38a6f]::-moz-placeholder,input[type=text][data-v-19e38a6f]::-moz-placeholder,textarea[data-v-19e38a6f]::-moz-placeholder{color:rgba(27,37,57,.5);font-size:.9375em}input[type=email][data-v-19e38a6f]:-ms-input-placeholder,input[type=number][data-v-19e38a6f]:-ms-input-placeholder,input[type=password][data-v-19e38a6f]:-ms-input-placeholder,input[type=text][data-v-19e38a6f]:-ms-input-placeholder,textarea[data-v-19e38a6f]:-ms-input-placeholder{color:rgba(27,37,57,.5);font-size:.9375em}input[type=email][data-v-19e38a6f]::placeholder,input[type=number][data-v-19e38a6f]::placeholder,input[type=password][data-v-19e38a6f]::placeholder,input[type=text][data-v-19e38a6f]::placeholder,textarea[data-v-19e38a6f]::placeholder{color:rgba(27,37,57,.5);font-size:.9375em}input[type=email][data-v-19e38a6f]:focus,input[type=number][data-v-19e38a6f]:focus,input[type=password][data-v-19e38a6f]:focus,input[type=text][data-v-19e38a6f]:focus,textarea[data-v-19e38a6f]:focus{border-color:#00bc7e;box-shadow:0 1px 5px rgba(0,188,126,.3)}input[type=email][disabled][data-v-19e38a6f],input[type=number][disabled][data-v-19e38a6f],input[type=password][disabled][data-v-19e38a6f],input[type=text][disabled][data-v-19e38a6f],textarea[disabled][data-v-19e38a6f]{background:#fff;color:rgba(27,37,57,.8);-webkit-text-fill-color:rgba(27,37,57,.8);opacity:1;cursor:not-allowed}.additional-link[data-v-19e38a6f]{font-size:1em;margin-top:50px;display:block;color:#1b2539}.additional-link a[data-v-19e38a6f],.additional-link b[data-v-19e38a6f]{color:#00bc7e;cursor:pointer}.additional-link a[data-v-19e38a6f]:hover,.additional-link b[data-v-19e38a6f]:hover{text-decoration:underline}@media only screen and (max-width:1024px){.form[data-v-19e38a6f]{max-width:100%}}@media only screen and (max-width:960px){.form .button[data-v-19e38a6f]{margin-top:20px;width:100%;margin-left:0;margin-right:0}.form input[data-v-19e38a6f],.form textarea[data-v-19e38a6f]{width:100%;min-width:100%}.form.block-form .block-wrapper[data-v-19e38a6f]{display:block}.form.block-form .block-wrapper label[data-v-19e38a6f]{width:100%;padding-right:0;display:block;margin-bottom:7px;text-align:left!important;font-size:.875em;padding-top:0}.form.block-form .button[data-v-19e38a6f]{margin-top:25px;margin-left:0;margin-right:0}.form.inline-form[data-v-19e38a6f]{display:block}.form.inline-form .input-wrapper .error-message[data-v-19e38a6f]{position:relative;bottom:0}.form .button[data-v-19e38a6f]{padding:14px 32px}.single-line-form[data-v-19e38a6f]{display:block}.single-line-form .submit-button[data-v-19e38a6f]{margin-left:0;margin-top:20px;width:100%}input[type=email][data-v-19e38a6f],input[type=number][data-v-19e38a6f],input[type=password][data-v-19e38a6f],input[type=text][data-v-19e38a6f],textarea[data-v-19e38a6f]{padding:14px 20px}}@media only screen and (max-width:690px){.form.block-form .wrapper-inline[data-v-19e38a6f]{display:block}}@media (prefers-color-scheme:dark){.form .input-help[data-v-19e38a6f]{color:#7d858c}.form.block-form .block-wrapper label[data-v-19e38a6f],.form .inline-wrapper .switch-label .input-label[data-v-19e38a6f]{color:#bec6cf}input[type=email][data-v-19e38a6f],input[type=number][data-v-19e38a6f],input[type=password][data-v-19e38a6f],input[type=text][data-v-19e38a6f],textarea[data-v-19e38a6f]{border-color:#1e2024;background:#1e2024;color:#bec6cf}input[type=email][data-v-19e38a6f]::-moz-placeholder,input[type=number][data-v-19e38a6f]::-moz-placeholder,input[type=password][data-v-19e38a6f]::-moz-placeholder,input[type=text][data-v-19e38a6f]::-moz-placeholder,textarea[data-v-19e38a6f]::-moz-placeholder{color:#7d858c}input[type=email][data-v-19e38a6f]:-ms-input-placeholder,input[type=number][data-v-19e38a6f]:-ms-input-placeholder,input[type=password][data-v-19e38a6f]:-ms-input-placeholder,input[type=text][data-v-19e38a6f]:-ms-input-placeholder,textarea[data-v-19e38a6f]:-ms-input-placeholder{color:#7d858c}input[type=email][data-v-19e38a6f]::placeholder,input[type=number][data-v-19e38a6f]::placeholder,input[type=password][data-v-19e38a6f]::placeholder,input[type=text][data-v-19e38a6f]::placeholder,textarea[data-v-19e38a6f]::placeholder{color:#7d858c}input[type=email][disabled][data-v-19e38a6f],input[type=number][disabled][data-v-19e38a6f],input[type=password][disabled][data-v-19e38a6f],input[type=text][disabled][data-v-19e38a6f],textarea[disabled][data-v-19e38a6f]{background:#1e2024;color:rgba(125,133,140,.8);-webkit-text-fill-color:rgba(125,133,140,.8)}}.block-form[data-v-19e38a6f]{max-width:100%}",""])},"2Sb1":function(e,a,t){"use strict";var i={name:"PageHeader",props:["title","canBack"],components:{ChevronLeftIcon:t("CjXH").e}},n=(t("qf9i"),t("KHd+")),r=Object(n.a)(i,(function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{staticClass:"page-header"},[e.canBack?t("div",{staticClass:"go-back",on:{click:function(a){return e.$router.back()}}},[t("chevron-left-icon",{attrs:{size:"17"}})],1):e._e(),e._v(" "),t("div",{staticClass:"content"},[t("h1",{staticClass:"title"},[e._v(e._s(e.title))])])])}),[],!1,null,"aafe7e24",null);a.a=r.exports},"3Idf":function(e,a,t){(e.exports=t("I1BE")(!1)).push([e.i,".page-header[data-v-aafe7e24]{display:flex;align-items:center;background:#fff;z-index:9;width:100%;position:-webkit-sticky;position:sticky;top:0;padding-top:20px;padding-bottom:20px}.page-header .title[data-v-aafe7e24]{font-size:1.125em;font-weight:700;color:#1b2539}.page-header .go-back[data-v-aafe7e24]{margin-right:10px;cursor:pointer}.page-header .go-back svg[data-v-aafe7e24]{vertical-align:middle;margin-top:-4px}@media only screen and (max-width:960px){.page-header .title[data-v-aafe7e24]{font-size:1.125em}}@media only screen and (max-width:690px){.page-header[data-v-aafe7e24]{display:none}}@media (prefers-color-scheme:dark){.page-header[data-v-aafe7e24]{background:#111314}.page-header .title[data-v-aafe7e24]{color:#bec6cf}.page-header .icon path[data-v-aafe7e24]{fill:#00bc7e}}",""])},"5Xka":function(e,a,t){"use strict";t.r(a);var i=t("A5+z"),n=t("gahf"),r=t("4TWA"),l=t("eZ9V"),o=t("D62o"),s=t("Nv84"),p=t("qefO"),d=t("2Sb1"),c=t("owoR"),u=t("TJPC"),f=t("L2JU");t("LvDl");function b(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);a&&(i=i.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,i)}return t}function m(e,a,t){return a in e?Object.defineProperty(e,a,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[a]=t,e}var v={name:"Settings",props:["user"],components:{ValidationProvider:i.ValidationProvider,ValidationObserver:i.ValidationObserver,PageTabGroup:n.a,MobileHeader:o.a,SelectInput:r.a,PageHeader:d.a,ButtonBase:s.a,ThemeLabel:c.a,FormLabel:l.a,required:u.a,PageTab:p.a},computed:function(e){for(var a=1;a<arguments.length;a++){var t=null!=arguments[a]?arguments[a]:{};a%2?b(Object(t),!0).forEach((function(a){m(e,a,t[a])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):b(Object(t)).forEach((function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(t,a))}))}return e}({},Object(f.b)(["config","countries"])),data:function(){return{userInfo:void 0,billingInfo:void 0,isLoading:!1}},methods:{changeUserName:function(){this.$store.commit("UPDATE_NAME",this.userInfo.name),this.$updateText("/user/profile","name",this.userInfo.name)}},created:function(){this.userInfo={name:this.user.data.attributes.name,email:this.user.data.attributes.email},this.billingInfo={billing_name:this.user.relationships.settings.data.attributes.billing_name,billing_address:this.user.relationships.settings.data.attributes.billing_address,billing_state:this.user.relationships.settings.data.attributes.billing_state,billing_city:this.user.relationships.settings.data.attributes.billing_city,billing_postal_code:this.user.relationships.settings.data.attributes.billing_postal_code,billing_country:this.user.relationships.settings.data.attributes.billing_country,billing_phone_number:this.user.relationships.settings.data.attributes.billing_phone_number}}},g=(t("UJEC"),t("KHd+")),h=Object(g.a)(v,(function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("PageTab",[e.userInfo?t("PageTabGroup",[t("div",{staticClass:"form block-form"},[t("FormLabel",[e._v(e._s(e.$t("user_settings.title_account")))]),e._v(" "),t("div",{staticClass:"block-wrapper"},[t("label",[e._v(e._s(e.$t("page_registration.label_email")))]),e._v(" "),t("div",{staticClass:"input-wrapper"},[t("input",{attrs:{placeholder:e.$t("page_registration.placeholder_email"),type:"email",disabled:""},domProps:{value:e.userInfo.email}})])]),e._v(" "),t("div",{staticClass:"block-wrapper"},[t("label",[e._v(e._s(e.$t("page_registration.label_name")))]),e._v(" "),t("div",{staticClass:"input-wrapper"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.userInfo.name,expression:"userInfo.name"}],attrs:{placeholder:e.$t("page_registration.placeholder_name"),type:"text"},domProps:{value:e.userInfo.name},on:{keyup:e.changeUserName,input:function(a){a.target.composing||e.$set(e.userInfo,"name",a.target.value)}}})])])],1)]):e._e(),e._v(" "),e.config.isSaaS&&e.billingInfo?t("PageTabGroup",[t("div",{staticClass:"form block-form"},[t("FormLabel",[e._v(e._s(e.$t("user_settings.title_billing")))]),e._v(" "),t("div",{staticClass:"block-wrapper"},[t("label",[e._v(e._s(e.$t("user_settings.name"))+":")]),e._v(" "),t("div",{staticClass:"input-wrapper"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.billingInfo.billing_name,expression:"billingInfo.billing_name"}],attrs:{placeholder:e.$t("user_settings.name_plac"),type:"text"},domProps:{value:e.billingInfo.billing_name},on:{keyup:function(a){return e.$updateText("/user/relationships/settings","billing_name",e.billingInfo.billing_name)},input:function(a){a.target.composing||e.$set(e.billingInfo,"billing_name",a.target.value)}}})])]),e._v(" "),t("div",{staticClass:"block-wrapper"},[t("label",[e._v(e._s(e.$t("user_settings.address"))+":")]),e._v(" "),t("div",{staticClass:"input-wrapper"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.billingInfo.billing_address,expression:"billingInfo.billing_address"}],attrs:{placeholder:e.$t("user_settings.address_plac"),type:"text"},domProps:{value:e.billingInfo.billing_address},on:{keyup:function(a){return e.$updateText("/user/relationships/settings","billing_address",e.billingInfo.billing_address)},input:function(a){a.target.composing||e.$set(e.billingInfo,"billing_address",a.target.value)}}})])]),e._v(" "),t("div",{staticClass:"wrapper-inline"},[t("div",{staticClass:"block-wrapper"},[t("label",[e._v(e._s(e.$t("user_settings.city"))+":")]),e._v(" "),t("div",{staticClass:"input-wrapper"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.billingInfo.billing_city,expression:"billingInfo.billing_city"}],attrs:{placeholder:e.$t("user_settings.city_plac"),type:"text"},domProps:{value:e.billingInfo.billing_city},on:{keyup:function(a){return e.$updateText("/user/relationships/settings","billing_city",e.billingInfo.billing_city)},input:function(a){a.target.composing||e.$set(e.billingInfo,"billing_city",a.target.value)}}})])]),e._v(" "),t("div",{staticClass:"block-wrapper"},[t("label",[e._v(e._s(e.$t("user_settings.postal_code"))+":")]),e._v(" "),t("div",{staticClass:"input-wrapper"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.billingInfo.billing_postal_code,expression:"billingInfo.billing_postal_code"}],attrs:{placeholder:e.$t("user_settings.postal_code_plac"),type:"text"},domProps:{value:e.billingInfo.billing_postal_code},on:{keyup:function(a){return e.$updateText("/user/relationships/settings","billing_postal_code",e.billingInfo.billing_postal_code)},input:function(a){a.target.composing||e.$set(e.billingInfo,"billing_postal_code",a.target.value)}}})])])]),e._v(" "),t("div",{staticClass:"block-wrapper"},[t("label",[e._v(e._s(e.$t("user_settings.country"))+":")]),e._v(" "),t("div",{staticClass:"input-wrapper"},[t("SelectInput",{attrs:{default:e.billingInfo.billing_country,options:e.countries,placeholder:e.$t("user_settings.country_plac")},on:{input:function(a){return e.$updateText("/user/relationships/settings","billing_country",e.billingInfo.billing_country)}},model:{value:e.billingInfo.billing_country,callback:function(a){e.$set(e.billingInfo,"billing_country",a)},expression:"billingInfo.billing_country"}})],1)]),e._v(" "),t("div",{staticClass:"block-wrapper"},[t("label",[e._v(e._s(e.$t("user_settings.state"))+":")]),e._v(" "),t("div",{staticClass:"input-wrapper"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.billingInfo.billing_state,expression:"billingInfo.billing_state"}],attrs:{placeholder:e.$t("user_settings.state_plac"),type:"text"},domProps:{value:e.billingInfo.billing_state},on:{keyup:function(a){return e.$updateText("/user/relationships/settings","billing_state",e.billingInfo.billing_state)},input:function(a){a.target.composing||e.$set(e.billingInfo,"billing_state",a.target.value)}}}),e._v(" "),t("small",{staticClass:"input-help"},[e._v("\n State, county, province, or region.\n ")])])]),e._v(" "),t("div",{staticClass:"block-wrapper"},[t("label",[e._v(e._s(e.$t("user_settings.phone_number"))+":")]),e._v(" "),t("div",{staticClass:"input-wrapper"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.billingInfo.billing_phone_number,expression:"billingInfo.billing_phone_number"}],attrs:{placeholder:e.$t("user_settings.phone_number_plac"),type:"text"},domProps:{value:e.billingInfo.billing_phone_number},on:{keyup:function(a){return e.$updateText("/user/relationships/settings","billing_phone_number",e.billingInfo.billing_phone_number)},input:function(a){a.target.composing||e.$set(e.billingInfo,"billing_phone_number",a.target.value)}}})])])],1)]):e._e()],1)}),[],!1,null,"19e38a6f",null);a.default=h.exports},"5pbA":function(e,a,t){"use strict";var i=t("+t0u");t.n(i).a},HECY:function(e,a,t){(e.exports=t("I1BE")(!1)).push([e.i,".theme-label[data-v-4c650264]{font-size:.875em;color:#00bc7e;font-weight:600;display:block;margin-bottom:20px}",""])},Idvm:function(e,a,t){var i=t("lig4");"string"==typeof i&&(i=[[e.i,i,""]]);var n={hmr:!0,transform:void 0,insertInto:void 0};t("aET+")(i,n);i.locals&&(e.exports=i.locals)},KPNK:function(e,a,t){var i=t("3Idf");"string"==typeof i&&(i=[[e.i,i,""]]);var n={hmr:!0,transform:void 0,insertInto:void 0};t("aET+")(i,n);i.locals&&(e.exports=i.locals)},M7gC:function(e,a,t){var i=t("1i39");"string"==typeof i&&(i=[[e.i,i,""]]);var n={hmr:!0,transform:void 0,insertInto:void 0};t("aET+")(i,n);i.locals&&(e.exports=i.locals)},QO4y:function(e,a,t){(e.exports=t("I1BE")(!1)).push([e.i,"",""])},UJEC:function(e,a,t){"use strict";var i=t("M7gC");t.n(i).a},Xk6H:function(e,a,t){"use strict";var i=t("Idvm");t.n(i).a},eZ9V:function(e,a,t){"use strict";var i={name:"FormLabel",components:{Edit2Icon:t("CjXH").n}},n=(t("Xk6H"),t("KHd+")),r=Object(n.a)(i,(function(){var e=this.$createElement,a=this._self._c||e;return a("div",{staticClass:"form-label"},[a("edit-2-icon",{staticClass:"icon",attrs:{size:"22"}}),this._v(" "),a("b",{staticClass:"label"},[this._t("default")],2)],1)}),[],!1,null,"c1157a8e",null);a.a=r.exports},gahf:function(e,a,t){"use strict";var i={name:"PageTabGroup"},n=(t("yI2c"),t("KHd+")),r=Object(n.a)(i,(function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"page-tab-group"},[this._t("default")],2)}),[],!1,null,"1bb470e4",null);a.a=r.exports},lig4:function(e,a,t){(e.exports=t("I1BE")(!1)).push([e.i,".form-label[data-v-c1157a8e]{display:flex;align-items:center;margin-bottom:30px}.form-label .icon[data-v-c1157a8e]{margin-right:10px}.form-label .icon path[data-v-c1157a8e]{stroke:#00bc7e}.form-label .label[data-v-c1157a8e]{font-size:1.125em;font-weight:700}@media (prefers-color-scheme:dark){.form-label .label[data-v-c1157a8e]{color:#bec6cf}}",""])},n74g:function(e,a,t){var i=t("HECY");"string"==typeof i&&(i=[[e.i,i,""]]);var n={hmr:!0,transform:void 0,insertInto:void 0};t("aET+")(i,n);i.locals&&(e.exports=i.locals)},oDxr:function(e,a,t){(e.exports=t("I1BE")(!1)).push([e.i,".page-tab-group[data-v-1bb470e4]{margin-bottom:65px}",""])},owoR:function(e,a,t){"use strict";var i={name:"TextLabel"},n=(t("sYLR"),t("KHd+")),r=Object(n.a)(i,(function(){var e=this.$createElement;return(this._self._c||e)("b",{staticClass:"theme-label"},[this._t("default")],2)}),[],!1,null,"4c650264",null);a.a=r.exports},qefO:function(e,a,t){"use strict";var i={name:"PageTab",props:["isLoading"],components:{Spinner:t("zTYo").a}},n=(t("5pbA"),t("KHd+")),r=Object(n.a)(i,(function(){var e=this.$createElement,a=this._self._c||e;return a("div",{staticClass:"page-tab"},[a("div",{directives:[{name:"show",rawName:"v-show",value:this.isLoading,expression:"isLoading"}],attrs:{id:"loader"}},[a("Spinner")],1),this._v(" "),this._t("default")],2)}),[],!1,null,"4339da66",null);a.a=r.exports},qf9i:function(e,a,t){"use strict";var i=t("KPNK");t.n(i).a},sYLR:function(e,a,t){"use strict";var i=t("n74g");t.n(i).a},yI2c:function(e,a,t){"use strict";var i=t("zlQ3");t.n(i).a},zlQ3:function(e,a,t){var i=t("oDxr");"string"==typeof i&&(i=[[e.i,i,""]]);var n={hmr:!0,transform:void 0,insertInto:void 0};t("aET+")(i,n);i.locals&&(e.exports=i.locals)}}]); |