This commit is contained in:
Čarodej
2022-01-13 17:32:33 +01:00
parent e77e0cda03
commit 7b3bd1135c
31 changed files with 94 additions and 70 deletions

View File

@@ -1 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[18],{"9ZF6":function(t,e,a){"use strict";var r={name:"CardNavigation",props:["pages"],computed:{routeName:function(){return this.$route.name}}},s=a("KHd+"),n=Object(s.a)(r,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"whitespace-nowrap overflow-x-auto"},t._l(t.pages,(function(e,r){return a("router-link",{key:r,staticClass:"inline-block text-sm font-bold px-4 py-5 border-b-2 border-transparent border-bottom-theme",class:{"text-theme":t.routeName===e.route,"dark:text-gray-400 text-gray-600":t.routeName!==e.route},attrs:{to:{name:e.route},replace:""}},[t._v("\n\t\t"+t._s(e.title)+"\n\t")])})),1)}),[],!1,null,null,null);e.a=n.exports},OLOt:function(t,e,a){"use strict";a.r(e);var r={name:"AppSettings",components:{CardNavigation:a("9ZF6").a},data:function(){return{pages:[{title:this.$t("admin_settings.tabs.others"),route:"AppOthers"},{title:this.$t("admin_settings.tabs.appearance"),route:"AppAppearance"},{title:this.$t("Homepage"),route:"AppIndex"},{title:this.$t("admin_settings.tabs.email"),route:"AppEmail"}]}},mounted:function(){this.$router.push({name:"AppOthers"})}},s=a("KHd+"),n=Object(s.a)(r,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",[e("div",{staticClass:"card shadow-card py-0 sticky top-0 z-10"},[e("CardNavigation",{staticClass:"-mx-1",attrs:{pages:this.pages}})],1),this._v(" "),e("router-view")],1)}),[],!1,null,null,null);e.default=n.exports}}]);
(window.webpackJsonp=window.webpackJsonp||[]).push([[18],{"9ZF6":function(t,e,a){"use strict";var s={name:"CardNavigation",props:["pages"],computed:{routeName:function(){return this.$route.name}}},n=a("KHd+"),r=Object(n.a)(s,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"whitespace-nowrap overflow-x-auto"},t._l(t.pages,(function(e,s){return a("router-link",{key:s,staticClass:"inline-block text-sm font-bold px-4 py-5 border-b-2 border-transparent border-bottom-theme",class:{"text-theme":t.routeName===e.route,"dark:text-gray-400 text-gray-600":t.routeName!==e.route},attrs:{to:{name:e.route},replace:""}},[t._v("\n\t\t"+t._s(e.title)+"\n\t")])})),1)}),[],!1,null,null,null);e.a=r.exports},OLOt:function(t,e,a){"use strict";a.r(e);var s={name:"AppSettings",components:{CardNavigation:a("9ZF6").a},data:function(){return{pages:[{title:this.$t("admin_settings.tabs.others"),route:"AppOthers"},{title:this.$t("admin_settings.tabs.appearance"),route:"AppAppearance"},{title:this.$t("Homepage"),route:"AppIndex"},{title:this.$t("admin_settings.tabs.email"),route:"AppEmail"}]}},mounted:function(){this.$router.push({name:"AppOthers"})}},n=a("KHd+"),r=Object(n.a)(s,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",[e("div",{staticClass:"card shadow-card sticky top-0 z-10",staticStyle:{"padding-bottom":"0","padding-top":"0"}},[e("CardNavigation",{staticClass:"-mx-1",attrs:{pages:this.pages}})],1),this._v(" "),e("router-view")],1)}),[],!1,null,null,null);e.default=r.exports}}]);

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[39],{"9ZF6":function(t,e,a){"use strict";var n={name:"CardNavigation",props:["pages"],computed:{routeName:function(){return this.$route.name}}},s=a("KHd+"),r=Object(s.a)(n,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"whitespace-nowrap overflow-x-auto"},t._l(t.pages,(function(e,n){return a("router-link",{key:n,staticClass:"inline-block text-sm font-bold px-4 py-5 border-b-2 border-transparent border-bottom-theme",class:{"text-theme":t.routeName===e.route,"dark:text-gray-400 text-gray-600":t.routeName!==e.route},attrs:{to:{name:e.route},replace:""}},[t._v("\n\t\t"+t._s(e.title)+"\n\t")])})),1)}),[],!1,null,null,null);e.a=r.exports},znQZ:function(t,e,a){"use strict";a.r(e);var n={name:"PaymentSettings",components:{CardNavigation:a("9ZF6").a},data:function(){return{pages:[{title:this.$t("admin_settings.tabs.payments"),route:"AppPayments"},{title:this.$t("admin_settings.tabs.billings"),route:"AppBillings"}]}},mounted:function(){this.$router.replace({name:"AppPayments"})}},s=a("KHd+"),r=Object(s.a)(n,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",[e("div",{staticClass:"card shadow-card py-0 sticky top-0 z-10"},[e("CardNavigation",{staticClass:"-mx-1",attrs:{pages:this.pages}})],1),this._v(" "),e("router-view")],1)}),[],!1,null,null,null);e.default=r.exports}}]);
(window.webpackJsonp=window.webpackJsonp||[]).push([[39],{"9ZF6":function(t,e,a){"use strict";var n={name:"CardNavigation",props:["pages"],computed:{routeName:function(){return this.$route.name}}},s=a("KHd+"),r=Object(s.a)(n,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"whitespace-nowrap overflow-x-auto"},t._l(t.pages,(function(e,n){return a("router-link",{key:n,staticClass:"inline-block text-sm font-bold px-4 py-5 border-b-2 border-transparent border-bottom-theme",class:{"text-theme":t.routeName===e.route,"dark:text-gray-400 text-gray-600":t.routeName!==e.route},attrs:{to:{name:e.route},replace:""}},[t._v("\n\t\t"+t._s(e.title)+"\n\t")])})),1)}),[],!1,null,null,null);e.a=r.exports},znQZ:function(t,e,a){"use strict";a.r(e);var n={name:"PaymentSettings",components:{CardNavigation:a("9ZF6").a},data:function(){return{pages:[{title:this.$t("admin_settings.tabs.payments"),route:"AppPayments"},{title:this.$t("admin_settings.tabs.billings"),route:"AppBillings"}]}},mounted:function(){this.$router.replace({name:"AppPayments"})}},s=a("KHd+"),r=Object(s.a)(n,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",[e("div",{staticClass:"card shadow-card sticky top-0 z-10",staticStyle:{"padding-bottom":"0","padding-top":"0"}},[e("CardNavigation",{staticClass:"-mx-1",attrs:{pages:this.pages}})],1),this._v(" "),e("router-view")],1)}),[],!1,null,null,null);e.default=r.exports}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[42],{"4vIq":function(t,e,a){"use strict";a.r(e);var n=a("9ZF6"),s=a("zTYo"),i=a("vDqi"),r=a.n(i),o={name:"FixedPlan",components:{CardNavigation:n.a,Spinner:s.a},data:function(){return{isLoading:!0,plan:void 0,pages:[{title:this.$t("admin_page_plans.tabs.settings"),route:"PlanFixedSettings"},{title:this.$t("admin_page_plans.tabs.subscribers"),route:"PlanFixedSubscribers"},{title:this.$t("admin_page_plans.tabs.delete"),route:"PlanFixedDelete"}]}},created:function(){var t=this;r.a.get("/api/subscriptions/admin/plans/"+this.$route.params.id).then((function(e){t.plan=e.data.data})).finally((function(){t.isLoading=!1}))}},l=a("KHd+"),c=Object(l.a)(o,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[t.plan?a("div",{staticClass:"card shadow-card pb-0 sticky top-0 z-10"},[a("div",{staticClass:"mb-2"},[a("h1",{staticClass:"font-bold text-xl"},[t._v("\n\t\t\t\t\t"+t._s(t.plan.attributes.name)+"\n\t\t\t\t")]),t._v(" "),a("small",{staticClass:"text-sm font-bold text-gray-500"},[t._v("\n\t\t\t\t\t"+t._s(t.plan.attributes.price)+" / "+t._s(t.$t("interval."+t.plan.attributes.interval))+"\n\t\t\t\t")])]),t._v(" "),a("CardNavigation",{staticClass:"-mx-1.5",attrs:{pages:t.pages}})],1):t._e(),t._v(" "),t.isLoading?t._e():a("router-view",{attrs:{plan:t.plan}}),t._v(" "),t.isLoading?a("div",{attrs:{id:"loader"}},[a("Spinner")],1):t._e()],1)}),[],!1,null,null,null);e.default=c.exports},"9ZF6":function(t,e,a){"use strict";var n={name:"CardNavigation",props:["pages"],computed:{routeName:function(){return this.$route.name}}},s=a("KHd+"),i=Object(s.a)(n,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"whitespace-nowrap overflow-x-auto"},t._l(t.pages,(function(e,n){return a("router-link",{key:n,staticClass:"inline-block text-sm font-bold px-4 py-5 border-b-2 border-transparent border-bottom-theme",class:{"text-theme":t.routeName===e.route,"dark:text-gray-400 text-gray-600":t.routeName!==e.route},attrs:{to:{name:e.route},replace:""}},[t._v("\n\t\t"+t._s(e.title)+"\n\t")])})),1)}),[],!1,null,null,null);e.a=i.exports},y8QD:function(t,e,a){"use strict";a.r(e);var n=a("9ZF6"),s=a("zTYo"),i=a("vDqi"),r=a.n(i),o=a("L2JU");function l(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function c(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?l(Object(a),!0).forEach((function(e){p(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):l(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}function p(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}var u={name:"MeteredPlan",components:{CardNavigation:n.a,Spinner:s.a},computed:c(c({},Object(o.b)(["config"])),{},{pages:function(){var t=[{title:this.$t("admin_page_plans.tabs.settings"),route:"PlanMeteredSettings"},{title:this.$t("admin_page_plans.tabs.subscribers"),route:"PlanMeteredSubscribers"}];return this.plan&&"active"===this.plan.attributes.status&&t.push({title:this.$t("admin_page_plans.tabs.delete"),route:"PlanMeteredDelete"}),t}}),data:function(){return{isLoading:!0,plan:void 0}},created:function(){var t=this;r.a.get("/api/subscriptions/admin/plans/"+this.$route.params.id).then((function(e){t.plan=e.data.data})).finally((function(){t.isLoading=!1}))}},d=a("KHd+"),b=Object(d.a)(u,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[t.plan?a("div",{staticClass:"card shadow-card pb-0 sticky top-0 z-10"},[a("div",{staticClass:"mb-2"},[a("h1",{staticClass:"font-bold text-xl"},[t._v("\n\t\t\t\t\t"+t._s(t.plan.attributes.name)+"\n\t\t\t\t")]),t._v(" "),a("small",{staticClass:"text-sm font-bold text-gray-500"},[t._v("\n\t\t\t\t\t"+t._s(t.$t("30 Days intervals"))+"\n\t\t\t\t")])]),t._v(" "),a("CardNavigation",{staticClass:"-mx-1.5",attrs:{pages:t.pages}})],1):t._e(),t._v(" "),t.isLoading?t._e():a("router-view",{attrs:{plan:t.plan}}),t._v(" "),t.isLoading?a("div",{attrs:{id:"loader"}},[a("Spinner")],1):t._e()],1)}),[],!1,null,null,null);e.default=b.exports}}]);
(window.webpackJsonp=window.webpackJsonp||[]).push([[42],{"4vIq":function(t,e,a){"use strict";a.r(e);var n=a("9ZF6"),i=a("zTYo"),s=a("vDqi"),r=a.n(s),o={name:"FixedPlan",components:{CardNavigation:n.a,Spinner:i.a},data:function(){return{isLoading:!0,plan:void 0,pages:[{title:this.$t("admin_page_plans.tabs.settings"),route:"PlanFixedSettings"},{title:this.$t("admin_page_plans.tabs.subscribers"),route:"PlanFixedSubscribers"},{title:this.$t("admin_page_plans.tabs.delete"),route:"PlanFixedDelete"}]}},created:function(){var t=this;r.a.get("/api/subscriptions/admin/plans/"+this.$route.params.id).then((function(e){t.plan=e.data.data})).finally((function(){t.isLoading=!1}))}},l=a("KHd+"),c=Object(l.a)(o,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[t.plan?a("div",{staticClass:"card shadow-card sticky top-0 z-10",staticStyle:{"padding-bottom":"0"}},[a("div",{staticClass:"mb-2"},[a("h1",{staticClass:"font-bold text-xl"},[t._v("\n\t\t\t\t\t"+t._s(t.plan.attributes.name)+"\n\t\t\t\t")]),t._v(" "),a("small",{staticClass:"text-sm font-bold text-gray-500"},[t._v("\n\t\t\t\t\t"+t._s(t.plan.attributes.price)+" / "+t._s(t.$t("interval."+t.plan.attributes.interval))+"\n\t\t\t\t")])]),t._v(" "),a("CardNavigation",{staticClass:"-mx-1.5",attrs:{pages:t.pages}})],1):t._e(),t._v(" "),t.isLoading?t._e():a("router-view",{attrs:{plan:t.plan}}),t._v(" "),t.isLoading?a("div",{attrs:{id:"loader"}},[a("Spinner")],1):t._e()],1)}),[],!1,null,null,null);e.default=c.exports},"9ZF6":function(t,e,a){"use strict";var n={name:"CardNavigation",props:["pages"],computed:{routeName:function(){return this.$route.name}}},i=a("KHd+"),s=Object(i.a)(n,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"whitespace-nowrap overflow-x-auto"},t._l(t.pages,(function(e,n){return a("router-link",{key:n,staticClass:"inline-block text-sm font-bold px-4 py-5 border-b-2 border-transparent border-bottom-theme",class:{"text-theme":t.routeName===e.route,"dark:text-gray-400 text-gray-600":t.routeName!==e.route},attrs:{to:{name:e.route},replace:""}},[t._v("\n\t\t"+t._s(e.title)+"\n\t")])})),1)}),[],!1,null,null,null);e.a=s.exports},y8QD:function(t,e,a){"use strict";a.r(e);var n=a("9ZF6"),i=a("zTYo"),s=a("vDqi"),r=a.n(s),o=a("L2JU");function l(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function c(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?l(Object(a),!0).forEach((function(e){p(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):l(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}function p(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}var u={name:"MeteredPlan",components:{CardNavigation:n.a,Spinner:i.a},computed:c(c({},Object(o.b)(["config"])),{},{pages:function(){var t=[{title:this.$t("admin_page_plans.tabs.settings"),route:"PlanMeteredSettings"},{title:this.$t("admin_page_plans.tabs.subscribers"),route:"PlanMeteredSubscribers"}];return this.plan&&"active"===this.plan.attributes.status&&t.push({title:this.$t("admin_page_plans.tabs.delete"),route:"PlanMeteredDelete"}),t}}),data:function(){return{isLoading:!0,plan:void 0}},created:function(){var t=this;r.a.get("/api/subscriptions/admin/plans/"+this.$route.params.id).then((function(e){t.plan=e.data.data})).finally((function(){t.isLoading=!1}))}},d=a("KHd+"),b=Object(d.a)(u,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[t.plan?a("div",{staticClass:"card shadow-card sticky top-0 z-10",staticStyle:{"padding-bottom":"0"}},[a("div",{staticClass:"mb-2"},[a("h1",{staticClass:"font-bold text-xl"},[t._v("\n\t\t\t\t\t"+t._s(t.plan.attributes.name)+"\n\t\t\t\t")]),t._v(" "),a("small",{staticClass:"text-sm font-bold text-gray-500"},[t._v("\n\t\t\t\t\t"+t._s(t.$t("30 Days intervals"))+"\n\t\t\t\t")])]),t._v(" "),a("CardNavigation",{staticClass:"-mx-1.5",attrs:{pages:t.pages}})],1):t._e(),t._v(" "),t.isLoading?t._e():a("router-view",{attrs:{plan:t.plan}}),t._v(" "),t.isLoading?a("div",{attrs:{id:"loader"}},[a("Spinner")],1):t._e()],1)}),[],!1,null,null,null);e.default=b.exports}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long