Files
vuefilemanager/public/chunks/subscription-service.js
2021-07-23 16:15:56 +00:00

1 line
15 KiB
JavaScript
Vendored

(window.webpackJsonp=window.webpackJsonp||[]).push([[61],{"8cuL":function(t,a,e){var i=e("gzm+");"string"==typeof i&&(i=[[t.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};e("aET+")(i,o);i.locals&&(t.exports=i.locals)},"9L6e":function(t,a,e){"use strict";e("tT9u")},ASoH:function(t,a,e){"use strict";var i={name:"AuthContent",props:["loading","icon","text"],data:function(){return{isVisible:!1}},created:function(){this.isVisible=this.visible}},o=(e("AUMa"),e("KHd+")),r=Object(o.a)(i,(function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("button",{staticClass:"button outline hover-text-theme hover-border-theme"},[e("span",{staticClass:"text-label"},[t._v(t._s(t.text))]),t._v(" "),t.loading?e("span",{staticClass:"icon"},[e("FontAwesomeIcon",{staticClass:"sync-alt svg-color-theme",attrs:{icon:"sync-alt"}})],1):t._e(),t._v(" "),!t.loading&&t.icon?e("span",{staticClass:"icon"},[e("FontAwesomeIcon",{staticClass:"svg-color-theme",attrs:{icon:t.icon}})],1):t._e()])}),[],!1,null,"2a4dfe94",null);a.a=r.exports},AUMa:function(t,a,e){"use strict";e("8cuL")},Jx8r:function(t,a,e){(t.exports=e("I1BE")(!1)).push([t.i,"#auth[data-v-31af8372]{height:100%;width:100%;display:table}",""])},TJPC:function(t,a,e){"use strict";e.d(a,"a",(function(){return r}));function i(t){return null==t}function o(t){return Array.isArray(t)&&0===t.length}var r={validate:function(t,a){var e=(void 0===a?{allowFalse:!0}:a).allowFalse,r={valid:!1,required:!0};return i(t)||o(t)?r:!1!==t||e?(r.valid=!!String(t).trim().length,r):r},params:[{name:"allowFalse",default:!0}],computesRequired:!0}},bDRN:function(t,a,e){"use strict";var i={name:"AuthContentWrapper"},o=(e("iYAH"),e("KHd+")),r=Object(o.a)(i,(function(){var t=this.$createElement;return(this._self._c||t)("div",{attrs:{id:"auth"}},[this._t("default")],2)}),[],!1,null,"31af8372",null);a.a=r.exports},"gzm+":function(t,a,e){(t.exports=e("I1BE")(!1)).push([t.i,".button[data-v-2a4dfe94]{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-2a4dfe94]{transition:all .15s ease;font-size:1.0625em;font-weight:800;line-height:0}.button .icon[data-v-2a4dfe94]{margin-left:12px;font-size:1em}.button.solid[data-v-2a4dfe94]{background:#00bc7e;border:2px solid #00bc7e}.button.solid .text-label[data-v-2a4dfe94]{color:#fff}.button.outline[data-v-2a4dfe94]{border:2px solid #1b2539}.button.outline .text-label[data-v-2a4dfe94]{color:#1b2539}.button.outline .icon path[data-v-2a4dfe94]{fill:inherit}.button.outline[data-v-2a4dfe94]:hover{border-color:inherit}.button.outline:hover .text-label[data-v-2a4dfe94]{color:inherit}.dark-mode .button.outline[data-v-2a4dfe94]{background:#131414;border-color:#bec6cf}.dark-mode .button.outline .text-label[data-v-2a4dfe94]{color:#bec6cf}.sync-alt[data-v-2a4dfe94]{-webkit-animation:spin-data-v-2a4dfe94 1s linear infinite;animation:spin-data-v-2a4dfe94 1s linear infinite}@-webkit-keyframes spin-data-v-2a4dfe94{0%{transform:rotate(0)}to{transform:rotate(1turn)}}@keyframes spin-data-v-2a4dfe94{0%{transform:rotate(0)}to{transform:rotate(1turn)}}",""])},iYAH:function(t,a,e){"use strict";e("lh0Q")},j8qy:function(t,a,e){"use strict";var i={name:"AuthContent",props:["visible","name"],data:function(){return{isVisible:!1}},created:function(){this.isVisible=this.visible}},o=e("KHd+"),r=Object(o.a)(i,(function(){var t=this.$createElement,a=this._self._c||t;return this.isVisible?a("div",{staticClass:"auth-form"},[this._t("default")],2):this._e()}),[],!1,null,null,null);a.a=r.exports},lh0Q:function(t,a,e){var i=e("Jx8r");"string"==typeof i&&(i=[[t.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};e("aET+")(i,o);i.locals&&(t.exports=i.locals)},sdkW:function(t,a,e){(t.exports=e("I1BE")(!1)).push([t.i,".form.inline-form[data-v-78e30cfc]{display:flex;position:relative;justify-content:center;margin:0 auto}.form.inline-form .input-wrapper[data-v-78e30cfc]{position:relative}.form.inline-form .input-wrapper .error-message[data-v-78e30cfc]{position:absolute;left:0}.form.block-form.create-new-password .block-wrapper label[data-v-78e30cfc]{width:280px}.form.block-form .block-wrapper[data-v-78e30cfc]{display:flex;align-items:center;margin-top:25px;justify-content:center}.form.block-form .block-wrapper[data-v-78e30cfc]:first-child{margin-top:0}.form.block-form .block-wrapper label[data-v-78e30cfc]{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-78e30cfc]{margin-top:50px}.input-wrapper .error-message[data-v-78e30cfc]{font-size:.875em;color:#fd397a;padding-top:5px;display:block;text-align:left}textarea[data-v-78e30cfc]{width:100%}input[type=email][data-v-78e30cfc],input[type=password][data-v-78e30cfc],input[type=text][data-v-78e30cfc],textarea[data-v-78e30cfc]{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-78e30cfc],input[type=password].is-error[data-v-78e30cfc],input[type=text].is-error[data-v-78e30cfc],textarea.is-error[data-v-78e30cfc]{border-color:#fd397a}input[type=email][data-v-78e30cfc]::-moz-placeholder,input[type=password][data-v-78e30cfc]::-moz-placeholder,input[type=text][data-v-78e30cfc]::-moz-placeholder,textarea[data-v-78e30cfc]::-moz-placeholder{color:#a4adb6;font-size:1em}input[type=email][data-v-78e30cfc]:-ms-input-placeholder,input[type=password][data-v-78e30cfc]:-ms-input-placeholder,input[type=text][data-v-78e30cfc]:-ms-input-placeholder,textarea[data-v-78e30cfc]:-ms-input-placeholder{color:#a4adb6;font-size:1em}input[type=email][data-v-78e30cfc]::placeholder,input[type=password][data-v-78e30cfc]::placeholder,input[type=text][data-v-78e30cfc]::placeholder,textarea[data-v-78e30cfc]::placeholder{color:#a4adb6;font-size:1em}input[type=email][disabled][data-v-78e30cfc],input[type=password][disabled][data-v-78e30cfc],input[type=text][disabled][data-v-78e30cfc],textarea[disabled][data-v-78e30cfc]{color:#a4adb6;cursor:not-allowed}.additional-link[data-v-78e30cfc]{font-size:1em;margin-top:50px;display:block}.additional-link a[data-v-78e30cfc],.additional-link b[data-v-78e30cfc]{cursor:pointer}.additional-link a[data-v-78e30cfc]:hover,.additional-link b[data-v-78e30cfc]:hover{text-decoration:underline}@media only screen and (max-width:960px){.form .button[data-v-78e30cfc]{margin-top:20px;width:100%;margin-left:0;margin-right:0}.form input[data-v-78e30cfc],.form textarea[data-v-78e30cfc]{width:100%;min-width:100%}.form.block-form .block-wrapper[data-v-78e30cfc]{display:block}.form.block-form .block-wrapper label[data-v-78e30cfc]{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-78e30cfc]{margin-top:25px;margin-left:0;margin-right:0}.form.inline-form[data-v-78e30cfc]{display:block}.form.inline-form .input-wrapper .error-message[data-v-78e30cfc]{position:relative;bottom:0}.form .button[data-v-78e30cfc]{padding:14px 32px}input[type=email][data-v-78e30cfc],input[type=password][data-v-78e30cfc],input[type=text][data-v-78e30cfc],textarea[data-v-78e30cfc]{padding:14px 20px}}.dark-mode .form.block-form .block-wrapper label[data-v-78e30cfc]{color:#bec6cf}.dark-mode input[type=email][data-v-78e30cfc],.dark-mode input[type=password][data-v-78e30cfc],.dark-mode input[type=text][data-v-78e30cfc],.dark-mode textarea[data-v-78e30cfc]{background:#1e2024;color:#bec6cf}.dark-mode input[type=email][data-v-78e30cfc]::-moz-placeholder,.dark-mode input[type=password][data-v-78e30cfc]::-moz-placeholder,.dark-mode input[type=text][data-v-78e30cfc]::-moz-placeholder,.dark-mode textarea[data-v-78e30cfc]::-moz-placeholder{color:#7d858c}.dark-mode input[type=email][data-v-78e30cfc]:-ms-input-placeholder,.dark-mode input[type=password][data-v-78e30cfc]:-ms-input-placeholder,.dark-mode input[type=text][data-v-78e30cfc]:-ms-input-placeholder,.dark-mode textarea[data-v-78e30cfc]:-ms-input-placeholder{color:#7d858c}.dark-mode input[type=email][data-v-78e30cfc]::placeholder,.dark-mode input[type=password][data-v-78e30cfc]::placeholder,.dark-mode input[type=text][data-v-78e30cfc]::placeholder,.dark-mode textarea[data-v-78e30cfc]::placeholder{color:#7d858c}.dark-mode input[type=email][disabled][data-v-78e30cfc],.dark-mode input[type=password][disabled][data-v-78e30cfc],.dark-mode input[type=text][disabled][data-v-78e30cfc],.dark-mode textarea[disabled][data-v-78e30cfc]{color:#7d858c}.auth-logo-text[data-v-78e30cfc]{font-size:1.375em;font-weight:800;margin-bottom:40px;display:block}.auth-form[data-v-78e30cfc]{text-align:center;max-width:600px;padding:25px 20px;display:table-cell;vertical-align:middle}.auth-form input[data-v-78e30cfc]{min-width:310px}.auth-form .additional-link a[data-v-78e30cfc]{font-weight:700;text-decoration:none}.auth-form .user-avatar[data-v-78e30cfc]{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-78e30cfc]{width:120px;margin-bottom:20px}.auth-form h1[data-v-78e30cfc]{font-size:2.125em;font-weight:800;line-height:1.2;margin-bottom:2px;color:#1b2539}.auth-form h2[data-v-78e30cfc]{font-size:1.4375em;font-weight:500;margin-bottom:50px;color:#1b2539}.auth-form .block-form[data-v-78e30cfc]{margin-left:auto;margin-right:auto}@media only screen and (min-width:690px) and (max-width:960px){.auth-form[data-v-78e30cfc]{padding-left:20%;padding-right:20%}}@media only screen and (max-width:690px){.auth-form[data-v-78e30cfc]{width:100%}.auth-form h1[data-v-78e30cfc]{font-size:1.875em}.auth-form h2[data-v-78e30cfc]{font-size:1.3125em}}@media only screen and (max-width:490px){.auth-form h1[data-v-78e30cfc]{font-size:1.375em}.auth-form h2[data-v-78e30cfc]{font-size:1.125em}.auth-form input[data-v-78e30cfc]{min-width:0}.auth-form .additional-link[data-v-78e30cfc]{font-size:.9375em}}.dark-mode .auth-form .additional-link[data-v-78e30cfc],.dark-mode .auth-form h1[data-v-78e30cfc],.dark-mode .auth-form h2[data-v-78e30cfc]{color:#bec6cf}.content-headline[data-v-78e30cfc]{max-width:630px;margin-left:auto;margin-right:auto}.auth-form input[data-v-78e30cfc]{min-width:0}.duplicator .duplicator-add-button[data-v-78e30cfc]{width:100%}.duplicator .duplicator-item[data-v-78e30cfc]{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-78e30cfc]{font-size:1.125em;margin-bottom:20px;display:block;font-weight:700}.duplicator .duplicator-item .delete-item[data-v-78e30cfc]{position:absolute;top:15px;right:15px;cursor:pointer}.duplicator .duplicator-item .delete-item:hover line[data-v-78e30cfc]{stroke:#00bc7e}.duplicator .duplicator-item input[data-v-78e30cfc],.duplicator .duplicator-item textarea[data-v-78e30cfc]{box-shadow:none;background:#fafafa}.form[data-v-78e30cfc]{max-width:580px;text-align:left}.submit-wrapper[data-v-78e30cfc]{text-align:right}.submit-wrapper .button[data-v-78e30cfc]{margin:58px 0 50px;width:100%}.title-icon[data-v-78e30cfc]{margin-bottom:10px;-webkit-animation:spinner-data-v-78e30cfc 5s linear infinite;animation:spinner-data-v-78e30cfc 5s linear infinite}.title-icon circle[data-v-78e30cfc],.title-icon path[data-v-78e30cfc]{color:inherit}@-webkit-keyframes spinner-data-v-78e30cfc{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes spinner-data-v-78e30cfc{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.dark-mode .duplicator .duplicator-item[data-v-78e30cfc]{background:#1e2024}.dark-mode .duplicator .duplicator-item input[data-v-78e30cfc],.dark-mode .duplicator .duplicator-item textarea[data-v-78e30cfc]{background:#131414}.services[data-v-78e30cfc]{margin:0 auto}.service-card[data-v-78e30cfc]{text-align:left;box-shadow:0 5px 30px 5px rgba(61,78,253,.25);border-radius:20px;max-width:415px;display:inline-block;padding:30px;background:#3a4bff;background:linear-gradient(135deg,#3a4bff,#6772e5);transition:all .2s ease}.service-card[data-v-78e30cfc]:hover{cursor:pointer;box-shadow:0 8px 35px 5px rgba(61,78,253,.4);transform:scale(1.02)}.service-card .service-logo[data-v-78e30cfc]{margin-bottom:30px;display:block}.service-card .service-content[data-v-78e30cfc]{margin-bottom:65px}.service-card .service-content .service-title[data-v-78e30cfc]{font-size:1.125em;font-weight:700;color:#fff;margin-bottom:5px;display:block}.service-card .service-content .service-description[data-v-78e30cfc]{font-size:1em;font-weight:600;color:#fff;opacity:.8}.service-card .service-link[data-v-78e30cfc]{display:flex;align-items:center}.service-card .service-link .icon[data-v-78e30cfc]{margin-left:5px}.service-card .service-link .icon polyline[data-v-78e30cfc]{stroke:#fff}.service-card .service-link span[data-v-78e30cfc]{font-size:1em;font-weight:700;color:#fff}.skip-subscription-setup[data-v-78e30cfc]{border:none!important}.auth-form input[data-v-78e30cfc]{min-width:380px}",""])},tT9u:function(t,a,e){var i=e("sdkW");"string"==typeof i&&(i=[[t.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};e("aET+")(i,o);i.locals&&(t.exports=i.locals)},v9ZB:function(t,a,e){"use strict";e.r(a);var i=e("bDRN"),o=e("A5+z"),r=e("j8qy"),c=e("ASoH"),n=e("CjXH"),d=e("TJPC"),s=(e("vDqi"),{name:"SubscriptionService",components:{AuthContentWrapper:i.a,ValidationProvider:o.ValidationProvider,ValidationObserver:o.ValidationObserver,ChevronRightIcon:n.i,SettingsIcon:n.cb,AuthContent:r.a,AuthButton:c.a,required:d.a},data:function(){return{isLoading:!1}},created:function(){this.$scrollTop()}}),l=(e("9L6e"),e("KHd+")),p=Object(l.a)(s,(function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("AuthContentWrapper",{ref:"auth"},[e("AuthContent",{attrs:{name:"subscription-service",visible:!0}},[e("div",{staticClass:"content-headline"},[e("settings-icon",{staticClass:"title-icon",attrs:{size:"40"}}),t._v(" "),e("h1",[t._v("Setup Wizard")]),t._v(" "),e("h2",[t._v("You can charge users for storage space by monthly billing plans. Please, select your charging service or skip this step if you don't want charge users:")])],1),t._v(" "),e("div",{staticClass:"services"},[e("router-link",{staticClass:"service-card",attrs:{to:{name:"StripeCredentials"},tag:"div"}},[e("img",{staticClass:"service-logo",attrs:{src:"/assets/icons/stripe-service.svg",alt:"Stripe"}}),t._v(" "),e("div",{staticClass:"service-content"},[e("b",{staticClass:"service-title"},[t._v("Charging with Stripe")]),t._v(" "),e("p",{staticClass:"service-description"},[t._v("You can create custom storage plans and charge your users with monthly subscription.")])]),t._v(" "),e("router-link",{staticClass:"service-link",attrs:{to:{name:"StripeCredentials"}}},[e("span",[t._v("Set Up Billing and Plans With Stripe")]),t._v(" "),e("chevron-right-icon",{staticClass:"icon",attrs:{size:"22"}})],1)],1)],1),t._v(" "),e("p",{staticClass:"additional-link"},[e("router-link",{attrs:{to:{name:"EnvironmentSetup"}}},[e("AuthButton",{staticClass:"skip-subscription-setup",attrs:{icon:"chevron-right",text:"I will set up Stripe later"}})],1)],1)])],1)}),[],!1,null,"78e30cfc",null);a.default=p.exports}}]);