Files
vuefilemanager/public/chunks/plan.js
2021-08-11 07:22:32 +00:00

1 line
7.3 KiB
JavaScript
Vendored

(window.webpackJsonp=window.webpackJsonp||[]).push([[37],{"+NaO":function(t,a,e){"use strict";e.r(a);var i=e("CjXH"),n=e("D62o"),o=e("THmQ"),s=e("2Sb1"),r=e("zTYo"),l=e("vDqi"),c=e.n(l),d={name:"Plan",components:{UsersIcon:i.ob,Trash2Icon:i.ib,SettingsIcon:i.cb,SectionTitle:o.a,MobileHeader:n.a,PageHeader:s.a,Spinner:r.a},data:function(){return{isLoading:!0,plan:void 0}},created:function(){var t=this;c.a.get("/api/admin/plans/"+this.$route.params.id).then((function(a){t.plan=a.data.data,t.isLoading=!1}))}},b=(e("BPrJ"),e("KHd+")),m=Object(b.a)(d,(function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{attrs:{id:"single-page"}},[t.isLoading?t._e():e("div",{attrs:{id:"page-content"}},[e("MobileHeader",{attrs:{title:t.$t(t.$router.currentRoute.meta.title)}}),t._v(" "),e("PageHeader",{attrs:{"can-back":!0,title:t.$t(t.$router.currentRoute.meta.title)}}),t._v(" "),e("div",{staticClass:"content-page"},[e("div",{staticClass:"menu-list-wrapper horizontal"},[e("router-link",{staticClass:"menu-list-item link link border-bottom-theme",attrs:{replace:"",to:{name:"PlanSettings",params:{id:t.plan.id}}}},[e("div",{staticClass:"icon text-theme"},[e("settings-icon",{attrs:{size:"17"}})],1),t._v(" "),e("div",{staticClass:"label text-theme"},[t._v("\n "+t._s(t.$t("admin_page_plans.tabs.settings"))+"\n ")])]),t._v(" "),e("router-link",{staticClass:"menu-list-item link link border-bottom-theme",attrs:{replace:"",to:{name:"PlanSubscribers",params:{id:t.plan.id}}}},[e("div",{staticClass:"icon text-theme"},[e("users-icon",{attrs:{size:"17"}})],1),t._v(" "),e("div",{staticClass:"label text-theme"},[t._v("\n "+t._s(t.$t("admin_page_plans.tabs.subscribers"))+"\n ")])]),t._v(" "),e("router-link",{staticClass:"menu-list-item link link border-bottom-theme",attrs:{replace:"",to:{name:"PlanDelete",params:{id:t.plan.id}}}},[e("div",{staticClass:"icon text-theme"},[e("trash2-icon",{attrs:{size:"17"}})],1),t._v(" "),e("div",{staticClass:"label text-theme"},[t._v("\n "+t._s(t.$t("admin_page_plans.tabs.delete"))+"\n ")])])],1),t._v(" "),e("router-view",{attrs:{plan:t.plan}})],1)],1),t._v(" "),t.isLoading?e("div",{attrs:{id:"loader"}},[e("Spinner")],1):t._e()])}),[],!1,null,"356bfa74",null);a.default=m.exports},"1wHr":function(t,a,e){"use strict";e("aKcM")},"2Sb1":function(t,a,e){"use strict";var i={name:"PageHeader",props:["title","canBack"],components:{ChevronLeftIcon:e("CjXH").h}},n=(e("1wHr"),e("KHd+")),o=Object(n.a)(i,(function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"page-header"},[t.canBack?e("div",{staticClass:"go-back",on:{click:function(a){return t.$router.back()}}},[e("chevron-left-icon",{attrs:{size:"17"}})],1):t._e(),t._v(" "),e("div",{staticClass:"content"},[e("h1",{staticClass:"title"},[t._v(t._s(t.title))])])])}),[],!1,null,"8bbfeb00",null);a.a=o.exports},"2ojD":function(t,a,e){(t.exports=e("I1BE")(!1)).push([t.i,".text-label[data-v-acb23b3a]{font-size:.75em;color:#afafaf;font-weight:700;display:block;margin-bottom:20px}.dark-mode .text-label[data-v-acb23b3a]{color:#00bc7e}",""])},BPrJ:function(t,a,e){"use strict";e("cVlP")},"D4g/":function(t,a,e){(t.exports=e("I1BE")(!1)).push([t.i,".page-header[data-v-8bbfeb00]{display:flex;align-items:center;background:#fff;z-index:9;width:100%;position:sticky;top:0;padding-top:20px;padding-bottom:20px}.page-header .title[data-v-8bbfeb00]{font-size:1.125em;font-weight:700;color:#1b2539}.page-header .go-back[data-v-8bbfeb00]{margin-right:10px;cursor:pointer}.page-header .go-back svg[data-v-8bbfeb00]{vertical-align:middle;margin-top:-4px}@media only screen and (max-width:960px){.page-header .title[data-v-8bbfeb00]{font-size:1.125em}}@media only screen and (max-width:690px){.page-header[data-v-8bbfeb00]{display:none}}.dark-mode .page-header[data-v-8bbfeb00]{background:#131414}.dark-mode .page-header .title[data-v-8bbfeb00]{color:#bec6cf}.dark-mode .page-header .icon path[data-v-8bbfeb00]{fill:#00bc7e}",""])},D62o:function(t,a,e){"use strict";var i=e("xCqy"),n=e("CjXH"),o={name:"MobileHeader",props:["title"],components:{ChevronLeftIcon:n.h,MenuIcon:n.P},methods:{showMobileNavigation:function(){i.a.$emit("mobile-menu:show","user-navigation")},goBack:function(){this.$router.back()}}},s=(e("ayom"),e("KHd+")),r=Object(s.a)(o,(function(){var t=this.$createElement,a=this._self._c||t;return a("header",{staticClass:"mobile-header"},[a("div",{staticClass:"go-back",on:{click:this.goBack}},[a("chevron-left-icon",{staticClass:"icon",attrs:{size:"17"}})],1),this._v(" "),a("div",{staticClass:"location-name"},[this._v(this._s(this.title))]),this._v(" "),a("div",{staticClass:"mobile-menu",on:{click:this.showMobileNavigation}},[a("menu-icon",{staticClass:"icon",attrs:{size:"17"}})],1)])}),[],!1,null,"39c25ac0",null);a.a=r.exports},LcTr:function(t,a,e){var i=e("2ojD");"string"==typeof i&&(i=[[t.i,i,""]]);var n={hmr:!0,transform:void 0,insertInto:void 0};e("aET+")(i,n);i.locals&&(t.exports=i.locals)},Pb6s:function(t,a,e){(t.exports=e("I1BE")(!1)).push([t.i,".mobile-header[data-v-39c25ac0]{padding:10px 0;text-align:center;background:#fff;position:sticky;display:none;z-index:6;top:0}.mobile-header>div[data-v-39c25ac0]{flex-grow:1;align-self:center;white-space:nowrap}.mobile-header .go-back[data-v-39c25ac0]{text-align:left}.mobile-header .location-name[data-v-39c25ac0]{line-height:1;text-align:center;width:100%;vertical-align:middle;font-size:.9375em;color:#1b2539;font-weight:700;max-width:220px;overflow:hidden;text-overflow:ellipsis;display:inline-block}.mobile-header .mobile-menu[data-v-39c25ac0]{text-align:right}.mobile-header .icon[data-v-39c25ac0]{vertical-align:middle;margin-top:-4px}@media only screen and (max-width:690px){.mobile-header[data-v-39c25ac0]{display:flex;margin-bottom:15px}}.dark-mode .mobile-header[data-v-39c25ac0]{background:#131414}.dark-mode .mobile-header .location-name[data-v-39c25ac0]{color:#bec6cf}",""])},THmQ:function(t,a,e){"use strict";var i={name:"SectionTitle"},n=(e("pL59"),e("KHd+")),o=Object(n.a)(i,(function(){var t=this.$createElement;return(this._self._c||t)("b",{staticClass:"text-label"},[this._t("default")],2)}),[],!1,null,"acb23b3a",null);a.a=o.exports},aKcM:function(t,a,e){var i=e("D4g/");"string"==typeof i&&(i=[[t.i,i,""]]);var n={hmr:!0,transform:void 0,insertInto:void 0};e("aET+")(i,n);i.locals&&(t.exports=i.locals)},ayom:function(t,a,e){"use strict";e("uXZy")},cVlP:function(t,a,e){var i=e("r+f3");"string"==typeof i&&(i=[[t.i,i,""]]);var n={hmr:!0,transform:void 0,insertInto:void 0};e("aET+")(i,n);i.locals&&(t.exports=i.locals)},pL59:function(t,a,e){"use strict";e("LcTr")},"r+f3":function(t,a,e){(t.exports=e("I1BE")(!1)).push([t.i,".user-thumbnail[data-v-356bfa74]{display:flex;align-items:center;cursor:pointer}.user-thumbnail .avatar[data-v-356bfa74]{margin-right:20px}.user-thumbnail .avatar img[data-v-356bfa74]{line-height:0;width:62px;height:62px;border-radius:12px}.user-thumbnail .info .name[data-v-356bfa74]{display:block;font-size:1.0625em;line-height:1}.user-thumbnail .info .email[data-v-356bfa74]{color:rgba(27,37,57,.7);font-size:.875em}.dark-mode .user-thumbnail .info .email[data-v-356bfa74]{color:#7d858c}",""])},uXZy:function(t,a,e){var i=e("Pb6s");"string"==typeof i&&(i=[[t.i,i,""]]);var n={hmr:!0,transform:void 0,insertInto:void 0};e("aET+")(i,n);i.locals&&(t.exports=i.locals)}}]);