-
\ No newline at end of file
+export default {
+ props: {
+ messagePrefix: String,
+ field: Object,
+ thing: Object,
+ textLimit: Number,
+ },
+ computed: {
+ ...mapState("system", ["messages"]),
+ },
+};
+
diff --git a/src/_router/index.js b/src/_router/index.js
index 7243b86..3977209 100644
--- a/src/_router/index.js
+++ b/src/_router/index.js
@@ -209,6 +209,48 @@ export const router = new Router({
},
],
},
+ {
+ path: '',
+ component: () => import('~/_pages/auth/Layout'),
+ children: [
+ { path: '', component: DashboardPage },
+ {
+ path: 'me/download/:uuid',
+ redirect: (r) => ({
+ path: 'me/policy',
+ query: { download: r.params.uuid },
+ }),
+ },
+ { path: 'me/action', component: ActionPage },
+ { path: 'apps', component: AppsPage },
+ { path: 'app/:app', component: AppPage },
+ { path: 'app/:app/config/:view', component: AppConfigPage },
+ {
+ path: 'app/:app/config/:view/:item',
+ component: AppConfigPage,
+ },
+ { path: 'app/:app/view/:view', component: AppDataViewPage },
+ { path: 'app/:app/site/:site', component: AppSitePage },
+ {
+ path: 'app/:app/site/:site/view/:view',
+ component: AppDataViewPage,
+ },
+ { path: 'notifications', component: NotificationsPage },
+ {
+ path: 'appLogin',
+ component: () => import('~/_pages/auth/AppLogin'),
+ },
+ {
+ path: 'verifyEmail',
+ component: () => import('~/_pages/auth/VerifyEmail'),
+ },
+ {
+ path: 'payment',
+ component: () => import('~/_pages/auth/Payment'),
+ },
+ { path: 'logout', component: () => import('~/auth/LogoutPage') },
+ ],
+ },
{
path: '',
component: () => import('~/_pages/auth/Layout'),