mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-06 02:33:48 +00:00
1 line
17 KiB
JavaScript
Vendored
1 line
17 KiB
JavaScript
Vendored
(window.webpackJsonp=window.webpackJsonp||[]).push([[34],{"+bxy":function(t,e,a){var o=a("N0FG");"string"==typeof o&&(o=[[t.i,o,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};a("aET+")(o,i);o.locals&&(t.exports=o.locals)},"6jdO":function(t,e,a){"use strict";var o=a("+bxy");a.n(o).a},"9Gqu":function(t,e,a){var o=a("xbTq");"string"==typeof o&&(o=[[t.i,o,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};a("aET+")(o,i);o.locals&&(t.exports=o.locals)},ASoH:function(t,e,a){"use strict";var o={name:"AuthContent",props:["loading","icon","text"],data:function(){return{isVisible:!1}},created:function(){this.isVisible=this.visible}},i=(a("6jdO"),a("KHd+")),r=Object(i.a)(o,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("button",{staticClass:"button outline"},[a("span",{staticClass:"text-label"},[t._v(t._s(t.text))]),t._v(" "),t.loading?a("span",{staticClass:"icon"},[a("FontAwesomeIcon",{staticClass:"sync-alt",attrs:{icon:"sync-alt"}})],1):t._e(),t._v(" "),!t.loading&&t.icon?a("span",{staticClass:"icon"},[a("FontAwesomeIcon",{attrs:{icon:t.icon}})],1):t._e()])}),[],!1,null,"e546fc60",null);e.a=r.exports},KnjL:function(t,e,a){"use strict";var o={name:"InfoBox",props:["type"]},i=(a("l3ga"),a("KHd+")),r=Object(i.a)(o,(function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"info-box",class:this.type},[this._t("default")],2)}),[],!1,null,"0cded0f2",null);e.a=r.exports},N0FG:function(t,e,a){(t.exports=a("I1BE")(!1)).push([t.i,".button[data-v-e546fc60]{cursor:pointer;border-radius:8px;text-decoration:none;padding:12px 32px;display:inline-block;margin-left:15px;margin-right:15px;white-space:nowrap;transition:all .15s ease;background:transparent}.button .text-label[data-v-e546fc60]{transition:all .15s ease;font-size:1.0625em;font-weight:800;line-height:0}.button .icon[data-v-e546fc60]{margin-left:12px;font-size:1em}.button.solid[data-v-e546fc60]{background:#00bc7e;border:2px solid #00bc7e}.button.solid .text-label[data-v-e546fc60]{color:#fff}.button.outline[data-v-e546fc60]{border:2px solid #1b2539}.button.outline .text-label[data-v-e546fc60]{color:#1b2539}.button.outline .icon path[data-v-e546fc60]{fill:#00bc7e}.button.outline[data-v-e546fc60]:hover{border-color:#00bc7e}.button.outline:hover .text-label[data-v-e546fc60]{color:#00bc7e}@media (prefers-color-scheme:dark){.button.outline[data-v-e546fc60]{background:#111314;border-color:#bec6cf}.button.outline .text-label[data-v-e546fc60]{color:#bec6cf}}.sync-alt[data-v-e546fc60]{-webkit-animation:spin-data-v-e546fc60 1s linear infinite;animation:spin-data-v-e546fc60 1s linear infinite}@-webkit-keyframes spin-data-v-e546fc60{0%{transform:rotate(0)}to{transform:rotate(1turn)}}@keyframes spin-data-v-e546fc60{0%{transform:rotate(0)}to{transform:rotate(1turn)}}",""])},QDSw:function(t,e,a){(t.exports=a("I1BE")(!1)).push([t.i,"#auth[data-v-64ace855]{height:100%;width:100%;display:table}",""])},RjSB:function(t,e,a){"use strict";a.r(e);var o=a("o0o1"),i=a.n(o),r=a("bDRN"),n=a("A5+z"),d=a("KnjL"),c=a("j8qy"),s=a("ASoH"),l=a("CjXH"),f=a("TJPC"),p=a("vDqi"),u=a.n(p);function v(t,e,a,o,i,r,n){try{var d=t[r](n),c=d.value}catch(t){return void a(t)}d.done?e(c):Promise.resolve(c).then(o,i)}var m={name:"PurchaseCode",components:{AuthContentWrapper:r.a,ValidationProvider:n.ValidationProvider,ValidationObserver:n.ValidationObserver,SettingsIcon:l.N,AuthContent:c.a,AuthButton:s.a,required:f.a,InfoBox:d.a},data:function(){return{isLoading:!1,purchaseCode:""}},methods:{verifyPurchaseCode:function(){var t,e=this;return(t=i.a.mark((function t(){return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.$refs.verifyPurchaseCode.validate();case 2:if(t.sent){t.next=5;break}return t.abrupt("return");case 5:e.isLoading=!0,u.a.post("/api/setup/purchase-code",{purchaseCode:e.purchaseCode}).then((function(t){e.isLoading=!1,localStorage.setItem("purchase_code",e.purchaseCode),e.$router.push({name:"Database"})})).catch((function(t){e.isLoading=!1,400==t.response.status?e.$refs.verifyPurchaseCode.setErrors({"Purchase Code":["Purchase code is invalid."]}):404==t.response.status?e.$refs.verifyPurchaseCode.setErrors({"Purchase Code":["You may have misconfigured the app, please read the readme file and try it again."]}):e.$refs.verifyPurchaseCode.setErrors({"Purchase Code":["Something is wrong. Please try again."]})}));case 7:case"end":return t.stop()}}),t)})),function(){var e=this,a=arguments;return new Promise((function(o,i){var r=t.apply(e,a);function n(t){v(r,o,i,n,d,"next",t)}function d(t){v(r,o,i,n,d,"throw",t)}n(void 0)}))})()}}},h=(a("l7oN"),a("KHd+")),b=Object(h.a)(m,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("AuthContentWrapper",{ref:"auth"},[a("AuthContent",{attrs:{name:"licence-verify",visible:!0}},[a("div",{staticClass:"content-headline"},[a("settings-icon",{staticClass:"title-icon",attrs:{size:"40"}}),t._v(" "),a("h1",[t._v("Setup Wizard")]),t._v(" "),a("h2",[t._v("Please set your purchase code before continue to set up your application.")])],1),t._v(" "),a("ValidationObserver",{ref:"verifyPurchaseCode",staticClass:"form inline-form",attrs:{tag:"form"},on:{submit:function(e){return e.preventDefault(),t.verifyPurchaseCode(e)}},scopedSlots:t._u([{key:"default",fn:function(e){e.invalid;return[a("ValidationProvider",{staticClass:"input-wrapper",attrs:{tag:"div",mode:"passive",name:"Purchase Code",rules:"required"},scopedSlots:t._u([{key:"default",fn:function(e){var o=e.errors;return[a("input",{directives:[{name:"model",rawName:"v-model",value:t.purchaseCode,expression:"purchaseCode"}],class:{"is-error":o[0]},attrs:{placeholder:"Paste your purchase code",type:"text"},domProps:{value:t.purchaseCode},on:{input:function(e){e.target.composing||(t.purchaseCode=e.target.value)}}}),t._v(" "),o[0]?a("span",{staticClass:"error-message"},[t._v(t._s(o[0]))]):t._e()]}}],null,!0)}),t._v(" "),a("AuthButton",{attrs:{icon:"chevron-right",text:"Verify",loading:t.isLoading,disabled:t.isLoading}})]}}])}),t._v(" "),a("p",{staticClass:"additional-link"},[a("a",{attrs:{href:"https://help.market.envato.com/hc/en-us/articles/202822600-Where-Is-My-Purchase-Code-",target:"_blank"}},[t._v("\n Where I can find purchase code?\n ")]),t._v(" "),a("a",{staticClass:"black-link",attrs:{href:"https://codecanyon.net/item/vue-file-manager-with-laravel-backend/25815986",target:"_blank"}},[t._v("\n Don’t have purchase code?\n ")])])],1)],1)}),[],!1,null,"1fce1180",null);e.default=b.exports},"V/cJ":function(t,e,a){var o=a("mpdW");"string"==typeof o&&(o=[[t.i,o,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};a("aET+")(o,i);o.locals&&(t.exports=o.locals)},aqie:function(t,e,a){"use strict";var o=a("nkey");a.n(o).a},bDRN:function(t,e,a){"use strict";var o={name:"AuthContentWrapper"},i=(a("aqie"),a("KHd+")),r=Object(i.a)(o,(function(){var t=this.$createElement;return(this._self._c||t)("div",{attrs:{id:"auth"}},[this._t("default")],2)}),[],!1,null,"64ace855",null);e.a=r.exports},j8qy:function(t,e,a){"use strict";var o={name:"AuthContent",props:["visible","name"],data:function(){return{isVisible:!1}},created:function(){this.isVisible=this.visible}},i=a("KHd+"),r=Object(i.a)(o,(function(){var t=this.$createElement,e=this._self._c||t;return this.isVisible?e("div",{staticClass:"auth-form"},[this._t("default")],2):this._e()}),[],!1,null,null,null);e.a=r.exports},l3ga:function(t,e,a){"use strict";var o=a("9Gqu");a.n(o).a},l7oN:function(t,e,a){"use strict";var o=a("V/cJ");a.n(o).a},mpdW:function(t,e,a){(t.exports=a("I1BE")(!1)).push([t.i,".form.inline-form[data-v-1fce1180]{display:flex;position:relative;justify-content:center;margin:0 auto}.form.inline-form .input-wrapper[data-v-1fce1180]{position:relative}.form.inline-form .input-wrapper .error-message[data-v-1fce1180]{position:absolute;left:0}.form.block-form.create-new-password .block-wrapper label[data-v-1fce1180]{width:280px}.form.block-form .block-wrapper[data-v-1fce1180]{display:flex;align-items:center;margin-top:25px;justify-content:center}.form.block-form .block-wrapper[data-v-1fce1180]:first-child{margin-top:0}.form.block-form .block-wrapper label[data-v-1fce1180]{white-space:nowrap;font-size:1.125em;font-weight:700;padding-right:20px;width:200px;text-align:right!important;color:#1b2539;text-align:right}.form.block-form .button[data-v-1fce1180]{margin-top:50px}.input-wrapper .error-message[data-v-1fce1180]{font-size:.875em;color:#fd397a;padding-top:5px;display:block;text-align:left}textarea[data-v-1fce1180]{width:100%}input[type=email][data-v-1fce1180],input[type=password][data-v-1fce1180],input[type=text][data-v-1fce1180],textarea[data-v-1fce1180]{background:#f4f5f6;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%}input[type=email].is-error[data-v-1fce1180],input[type=password].is-error[data-v-1fce1180],input[type=text].is-error[data-v-1fce1180],textarea.is-error[data-v-1fce1180]{border-color:#fd397a;box-shadow:0 0 7px rgba(253,57,122,.3)}input[type=email][data-v-1fce1180]::-moz-placeholder,input[type=password][data-v-1fce1180]::-moz-placeholder,input[type=text][data-v-1fce1180]::-moz-placeholder,textarea[data-v-1fce1180]::-moz-placeholder{color:#a4adb6;font-size:1em}input[type=email][data-v-1fce1180]:-ms-input-placeholder,input[type=password][data-v-1fce1180]:-ms-input-placeholder,input[type=text][data-v-1fce1180]:-ms-input-placeholder,textarea[data-v-1fce1180]:-ms-input-placeholder{color:#a4adb6;font-size:1em}input[type=email][data-v-1fce1180]::placeholder,input[type=password][data-v-1fce1180]::placeholder,input[type=text][data-v-1fce1180]::placeholder,textarea[data-v-1fce1180]::placeholder{color:#a4adb6;font-size:1em}input[type=email][data-v-1fce1180]:focus,input[type=password][data-v-1fce1180]:focus,input[type=text][data-v-1fce1180]:focus,textarea[data-v-1fce1180]:focus{border-color:#00bc7e;box-shadow:0 0 7px rgba(0,188,126,.3)}input[type=email][disabled][data-v-1fce1180],input[type=password][disabled][data-v-1fce1180],input[type=text][disabled][data-v-1fce1180],textarea[disabled][data-v-1fce1180]{color:#a4adb6;cursor:not-allowed}.additional-link[data-v-1fce1180]{font-size:1em;margin-top:50px;display:block;color:#1b2539}.additional-link a[data-v-1fce1180],.additional-link b[data-v-1fce1180]{color:#00bc7e;cursor:pointer}.additional-link a[data-v-1fce1180]:hover,.additional-link b[data-v-1fce1180]:hover{text-decoration:underline}@media only screen and (max-width:960px){.form .button[data-v-1fce1180]{margin-top:20px;width:100%;margin-left:0;margin-right:0}.form input[data-v-1fce1180],.form textarea[data-v-1fce1180]{width:100%;min-width:100%}.form.block-form .block-wrapper[data-v-1fce1180]{display:block}.form.block-form .block-wrapper label[data-v-1fce1180]{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-1fce1180]{margin-top:25px;margin-left:0;margin-right:0}.form.inline-form[data-v-1fce1180]{display:block}.form.inline-form .input-wrapper .error-message[data-v-1fce1180]{position:relative;bottom:0}.form .button[data-v-1fce1180]{padding:14px 32px}input[type=email][data-v-1fce1180],input[type=password][data-v-1fce1180],input[type=text][data-v-1fce1180],textarea[data-v-1fce1180]{padding:14px 20px}}@media (prefers-color-scheme:dark){.form.block-form .block-wrapper label[data-v-1fce1180]{color:#bec6cf}input[type=email][data-v-1fce1180],input[type=password][data-v-1fce1180],input[type=text][data-v-1fce1180],textarea[data-v-1fce1180]{background:#1e2024;color:#bec6cf}input[type=email][data-v-1fce1180]::-moz-placeholder,input[type=password][data-v-1fce1180]::-moz-placeholder,input[type=text][data-v-1fce1180]::-moz-placeholder,textarea[data-v-1fce1180]::-moz-placeholder{color:#7d858c}input[type=email][data-v-1fce1180]:-ms-input-placeholder,input[type=password][data-v-1fce1180]:-ms-input-placeholder,input[type=text][data-v-1fce1180]:-ms-input-placeholder,textarea[data-v-1fce1180]:-ms-input-placeholder{color:#7d858c}input[type=email][data-v-1fce1180]::placeholder,input[type=password][data-v-1fce1180]::placeholder,input[type=text][data-v-1fce1180]::placeholder,textarea[data-v-1fce1180]::placeholder{color:#7d858c}input[type=email][disabled][data-v-1fce1180],input[type=password][disabled][data-v-1fce1180],input[type=text][disabled][data-v-1fce1180],textarea[disabled][data-v-1fce1180]{color:#7d858c}}.auth-logo-text[data-v-1fce1180]{font-size:1.375em;font-weight:800;margin-bottom:40px;display:block}.auth-form[data-v-1fce1180]{text-align:center;max-width:600px;padding:25px 20px;display:table-cell;vertical-align:middle}.auth-form input[data-v-1fce1180]{min-width:310px}.auth-form .additional-link a[data-v-1fce1180]{font-weight:700;text-decoration:none}.auth-form .user-avatar[data-v-1fce1180]{width:100px;height:100px;-o-object-fit:cover;object-fit:cover;margin-bottom:20px;border-radius:8px;box-shadow:0 10px 30px rgba(25,54,60,.2)}.auth-form .logo[data-v-1fce1180]{width:120px;margin-bottom:20px}.auth-form h1[data-v-1fce1180]{font-size:2.125em;font-weight:800;line-height:1.2;margin-bottom:2px;color:#1b2539}.auth-form h2[data-v-1fce1180]{font-size:1.4375em;font-weight:500;margin-bottom:50px;color:#1b2539}.auth-form .block-form[data-v-1fce1180]{margin-left:auto;margin-right:auto}@media only screen and (min-width:690px) and (max-width:960px){.auth-form[data-v-1fce1180]{padding-left:20%;padding-right:20%}}@media only screen and (max-width:690px){.auth-form[data-v-1fce1180]{width:100%}.auth-form h1[data-v-1fce1180]{font-size:1.875em}.auth-form h2[data-v-1fce1180]{font-size:1.3125em}}@media only screen and (max-width:490px){.auth-form h1[data-v-1fce1180]{font-size:1.375em}.auth-form h2[data-v-1fce1180]{font-size:1.125em}.auth-form input[data-v-1fce1180]{min-width:0}.auth-form .additional-link[data-v-1fce1180]{font-size:.9375em}}@media (prefers-color-scheme:dark){.auth-form .additional-link[data-v-1fce1180],.auth-form h1[data-v-1fce1180],.auth-form h2[data-v-1fce1180]{color:#bec6cf}}.content-headline[data-v-1fce1180]{max-width:630px;margin-left:auto;margin-right:auto}.auth-form input[data-v-1fce1180]{min-width:0}.duplicator .duplicator-add-button[data-v-1fce1180]{width:100%}.duplicator .duplicator-item[data-v-1fce1180]{box-shadow:0 1px 5px rgba(0,0,0,.12);border-radius:8px;background:#fff;padding:25px;margin:0 -25px 32px;position:relative}.duplicator .duplicator-item .duplicator-title[data-v-1fce1180]{font-size:1.125em;margin-bottom:20px;display:block;font-weight:700}.duplicator .duplicator-item .delete-item[data-v-1fce1180]{position:absolute;top:15px;right:15px;cursor:pointer}.duplicator .duplicator-item .delete-item:hover line[data-v-1fce1180]{stroke:#00bc7e}.duplicator .duplicator-item input[data-v-1fce1180],.duplicator .duplicator-item textarea[data-v-1fce1180]{box-shadow:none;background:#fafafa}.form[data-v-1fce1180]{max-width:580px;text-align:left}.submit-wrapper[data-v-1fce1180]{text-align:right}.submit-wrapper .button[data-v-1fce1180]{margin:58px 0 50px;width:100%}.title-icon[data-v-1fce1180]{margin-bottom:10px;-webkit-animation:spinner-data-v-1fce1180 5s linear infinite;animation:spinner-data-v-1fce1180 5s linear infinite}.title-icon circle[data-v-1fce1180],.title-icon path[data-v-1fce1180]{stroke:#00bc7e}@-webkit-keyframes spinner-data-v-1fce1180{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes spinner-data-v-1fce1180{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@media (prefers-color-scheme:dark){.duplicator .duplicator-item[data-v-1fce1180]{background:#1e2024}.duplicator .duplicator-item input[data-v-1fce1180],.duplicator .duplicator-item textarea[data-v-1fce1180]{background:#111314}}.additional-link .black-link[data-v-1fce1180]{color:#1b2539}.auth-form input[data-v-1fce1180]{min-width:380px}@media (prefers-color-scheme:dark){.additional-link .black-link[data-v-1fce1180]{color:#bec6cf}}",""])},nkey:function(t,e,a){var o=a("QDSw");"string"==typeof o&&(o=[[t.i,o,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};a("aET+")(o,i);o.locals&&(t.exports=o.locals)},xbTq:function(t,e,a){(t.exports=a("I1BE")(!1)).push([t.i,".info-box[data-v-0cded0f2]{padding:20px;border-radius:8px;margin-bottom:32px;background:#f4f5f6;text-align:left}.info-box.error[data-v-0cded0f2]{background:rgba(253,57,122,.1)}.info-box.error a[data-v-0cded0f2],.info-box.error p[data-v-0cded0f2]{color:#fd397a}.info-box.error a[data-v-0cded0f2]{text-decoration:underline}.info-box p[data-v-0cded0f2]{font-size:.9375em;line-height:1.6;word-break:break-word;font-weight:600}.info-box p[data-v-0cded0f2] a{color:#00bc7e}.info-box a[data-v-0cded0f2],.info-box b[data-v-0cded0f2]{font-weight:700;color:#00bc7e}.info-box a[data-v-0cded0f2]{font-size:.9375em;line-height:1.6}.info-box ul[data-v-0cded0f2]{margin-top:15px}.info-box ul[data-v-0cded0f2],.info-box ul li[data-v-0cded0f2],.info-box ul li a[data-v-0cded0f2]{display:block}@media only screen and (max-width:690px){.info-box[data-v-0cded0f2]{padding:15px}}@media (prefers-color-scheme:dark){.info-box[data-v-0cded0f2]{background:#1e2024}.info-box p[data-v-0cded0f2],.info-box ul li[data-v-0cded0f2]{color:#bec6cf}}",""])}}]); |