adminforth 1.1.79 → 1.1.81
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/modules/codeInjector.js +51 -23
- package/dist/plugins/AuditLog/index.js +13 -0
- package/dist/plugins/AuditLog/types.js +1 -0
- package/dist/plugins/S3UploadPlugin/custom/s3uploader.vue +4 -1
- package/dist/spa/index.html +1 -1
- package/dist/spa/package-lock.json +0 -111
- package/dist/spa/package.json +0 -1
- package/dist/spa/spa/src/App.vue +1 -1
- package/dist/spa/spa/src/components/MenuLink.vue +1 -1
- package/dist/spa/src/App.vue +133 -178
- package/dist/spa/src/components/MenuLink.vue +3 -3
- package/dist/spa/src/components/ResourceForm.vue +96 -96
- package/dist/spa/src/components/ResourceListTable.vue +84 -69
- package/dist/spa/src/components/ValueRenderer.vue +3 -2
- package/dist/spa/src/composables/useStores.ts +11 -24
- package/dist/spa/src/main.ts +1 -1
- package/dist/spa/src/router/index.ts +1 -0
- package/dist/spa/src/utils.ts +1 -1
- package/dist/spa/src/views/CreateView.vue +9 -1
- package/dist/spa/src/views/EditView.vue +9 -1
- package/dist/spa/src/views/ListView.vue +3 -12
- package/dist/spa/src/views/LoginView.vue +1 -6
- package/dist/spa/src/views/ResourceParent.vue +2 -1
- package/dist/spa/src/views/ShowView.vue +14 -6
- package/dist/spa/tailwind.config.js +1 -3
- package/index.ts +1 -1
- package/modules/codeInjector.ts +56 -26
- package/package.json +1 -1
- package/plugins/S3UploadPlugin/custom/s3uploader.vue +4 -1
- package/spa/src/App.vue +1 -1
- package/spa/src/components/MenuLink.vue +1 -1
- package/dist/plugins/TwoFactorsAuthPlugin/node_modules/.package-lock.json +0 -61
- package/dist/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/LICENSE +0 -21
- package/dist/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/README.md +0 -15
- package/dist/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/package.json +0 -217
- package/dist/plugins/TwoFactorsAuthPlugin/node_modules/@types/notp/LICENSE +0 -21
- package/dist/plugins/TwoFactorsAuthPlugin/node_modules/@types/notp/README.md +0 -15
- package/dist/plugins/TwoFactorsAuthPlugin/node_modules/@types/notp/package.json +0 -21
- package/dist/plugins/TwoFactorsAuthPlugin/node_modules/node-2fa/LICENSE +0 -201
- package/dist/plugins/TwoFactorsAuthPlugin/node_modules/node-2fa/README.md +0 -68
- package/dist/plugins/TwoFactorsAuthPlugin/node_modules/node-2fa/dist/index.js +0 -51
- package/dist/plugins/TwoFactorsAuthPlugin/node_modules/node-2fa/dist/interfaces.js +0 -2
- package/dist/plugins/TwoFactorsAuthPlugin/node_modules/node-2fa/package.json +0 -58
- package/dist/plugins/TwoFactorsAuthPlugin/node_modules/notp/.travis.yml +0 -6
- package/dist/plugins/TwoFactorsAuthPlugin/node_modules/notp/LICENSE +0 -22
- package/dist/plugins/TwoFactorsAuthPlugin/node_modules/notp/Readme.md +0 -135
- package/dist/plugins/TwoFactorsAuthPlugin/node_modules/notp/examples/TOTP-verify.js +0 -33
- package/dist/plugins/TwoFactorsAuthPlugin/node_modules/notp/examples/TOTP.js +0 -15
- package/dist/plugins/TwoFactorsAuthPlugin/node_modules/notp/index.js +0 -221
- package/dist/plugins/TwoFactorsAuthPlugin/node_modules/notp/package.json +0 -22
- package/dist/plugins/TwoFactorsAuthPlugin/node_modules/notp/test/mocha.opts +0 -1
- package/dist/plugins/TwoFactorsAuthPlugin/node_modules/notp/test/notp.js +0 -217
- package/dist/plugins/TwoFactorsAuthPlugin/node_modules/thirty-two/LICENSE.txt +0 -19
- package/dist/plugins/TwoFactorsAuthPlugin/node_modules/thirty-two/Makefile +0 -24
- package/dist/plugins/TwoFactorsAuthPlugin/node_modules/thirty-two/README.md +0 -15
- package/dist/plugins/TwoFactorsAuthPlugin/node_modules/thirty-two/index.js +0 -23
- package/dist/plugins/TwoFactorsAuthPlugin/node_modules/thirty-two/lib/thirty-two/index.js +0 -26
- package/dist/plugins/TwoFactorsAuthPlugin/node_modules/thirty-two/lib/thirty-two/thirty-two.js +0 -128
- package/dist/plugins/TwoFactorsAuthPlugin/node_modules/thirty-two/package.json +0 -15
- package/dist/plugins/TwoFactorsAuthPlugin/node_modules/thirty-two/spec/thirty-two_spec.js +0 -63
- package/dist/plugins/TwoFactorsAuthPlugin/node_modules/tslib/CopyrightNotice.txt +0 -15
- package/dist/plugins/TwoFactorsAuthPlugin/node_modules/tslib/LICENSE.txt +0 -12
- package/dist/plugins/TwoFactorsAuthPlugin/node_modules/tslib/README.md +0 -164
- package/dist/plugins/TwoFactorsAuthPlugin/node_modules/tslib/SECURITY.md +0 -41
- package/dist/plugins/TwoFactorsAuthPlugin/node_modules/tslib/modules/index.js +0 -68
- package/dist/plugins/TwoFactorsAuthPlugin/node_modules/tslib/modules/package.json +0 -3
- package/dist/plugins/TwoFactorsAuthPlugin/node_modules/tslib/package.json +0 -47
- package/dist/plugins/TwoFactorsAuthPlugin/node_modules/tslib/tslib.es6.html +0 -1
- package/dist/plugins/TwoFactorsAuthPlugin/node_modules/tslib/tslib.es6.js +0 -374
- package/dist/plugins/TwoFactorsAuthPlugin/node_modules/tslib/tslib.es6.mjs +0 -373
- package/dist/plugins/TwoFactorsAuthPlugin/node_modules/tslib/tslib.html +0 -1
- package/dist/plugins/TwoFactorsAuthPlugin/node_modules/tslib/tslib.js +0 -424
- package/dist/plugins/TwoFactorsAuthPlugin/node_modules/undici-types/README.md +0 -6
- package/dist/plugins/TwoFactorsAuthPlugin/node_modules/undici-types/package.json +0 -55
- package/dist/spa/src/components/SkeleteLoader.vue +0 -23
- package/plugins/TwoFactorsAuthPlugin/node_modules/.package-lock.json +0 -61
- package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/LICENSE +0 -21
- package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/README.md +0 -15
- package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/assert/strict.d.ts +0 -8
- package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/assert.d.ts +0 -1040
- package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/async_hooks.d.ts +0 -541
- package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/buffer.d.ts +0 -2363
- package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/child_process.d.ts +0 -1544
- package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/cluster.d.ts +0 -578
- package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/console.d.ts +0 -452
- package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/constants.d.ts +0 -19
- package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/crypto.d.ts +0 -4523
- package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/dgram.d.ts +0 -596
- package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/diagnostics_channel.d.ts +0 -554
- package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/dns/promises.d.ts +0 -476
- package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/dns.d.ts +0 -864
- package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/dom-events.d.ts +0 -124
- package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/domain.d.ts +0 -170
- package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/events.d.ts +0 -931
- package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/fs/promises.d.ts +0 -1245
- package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/fs.d.ts +0 -4317
- package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/globals.d.ts +0 -412
- package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/globals.global.d.ts +0 -1
- package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/http.d.ts +0 -1908
- package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/http2.d.ts +0 -2418
- package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/https.d.ts +0 -550
- package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/index.d.ts +0 -89
- package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/inspector.d.ts +0 -2746
- package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/module.d.ts +0 -315
- package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/net.d.ts +0 -999
- package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/os.d.ts +0 -495
- package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/package.json +0 -217
- package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/path.d.ts +0 -191
- package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/perf_hooks.d.ts +0 -905
- package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/process.d.ts +0 -1754
- package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/punycode.d.ts +0 -117
- package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/querystring.d.ts +0 -153
- package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/readline/promises.d.ts +0 -150
- package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/readline.d.ts +0 -540
- package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/repl.d.ts +0 -430
- package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/sea.d.ts +0 -153
- package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/stream/consumers.d.ts +0 -12
- package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/stream/promises.d.ts +0 -83
- package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/stream/web.d.ts +0 -367
- package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/stream.d.ts +0 -1707
- package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/string_decoder.d.ts +0 -67
- package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/test.d.ts +0 -1718
- package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/timers/promises.d.ts +0 -97
- package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/timers.d.ts +0 -240
- package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/tls.d.ts +0 -1217
- package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/trace_events.d.ts +0 -197
- package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/tty.d.ts +0 -208
- package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/url.d.ts +0 -952
- package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/util.d.ts +0 -2292
- package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/v8.d.ts +0 -808
- package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/vm.d.ts +0 -924
- package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/wasi.d.ts +0 -181
- package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/worker_threads.d.ts +0 -694
- package/plugins/TwoFactorsAuthPlugin/node_modules/@types/node/zlib.d.ts +0 -530
- package/plugins/TwoFactorsAuthPlugin/node_modules/@types/notp/LICENSE +0 -21
- package/plugins/TwoFactorsAuthPlugin/node_modules/@types/notp/README.md +0 -15
- package/plugins/TwoFactorsAuthPlugin/node_modules/@types/notp/index.d.ts +0 -127
- package/plugins/TwoFactorsAuthPlugin/node_modules/@types/notp/package.json +0 -21
- package/plugins/TwoFactorsAuthPlugin/node_modules/node-2fa/LICENSE +0 -201
- package/plugins/TwoFactorsAuthPlugin/node_modules/node-2fa/README.md +0 -68
- package/plugins/TwoFactorsAuthPlugin/node_modules/node-2fa/dist/index.d.ts +0 -11
- package/plugins/TwoFactorsAuthPlugin/node_modules/node-2fa/dist/index.js +0 -51
- package/plugins/TwoFactorsAuthPlugin/node_modules/node-2fa/dist/interfaces.d.ts +0 -4
- package/plugins/TwoFactorsAuthPlugin/node_modules/node-2fa/dist/interfaces.js +0 -2
- package/plugins/TwoFactorsAuthPlugin/node_modules/node-2fa/package.json +0 -58
- package/plugins/TwoFactorsAuthPlugin/node_modules/notp/.travis.yml +0 -6
- package/plugins/TwoFactorsAuthPlugin/node_modules/notp/LICENSE +0 -22
- package/plugins/TwoFactorsAuthPlugin/node_modules/notp/Readme.md +0 -135
- package/plugins/TwoFactorsAuthPlugin/node_modules/notp/examples/TOTP-verify.js +0 -33
- package/plugins/TwoFactorsAuthPlugin/node_modules/notp/examples/TOTP.js +0 -15
- package/plugins/TwoFactorsAuthPlugin/node_modules/notp/index.js +0 -221
- package/plugins/TwoFactorsAuthPlugin/node_modules/notp/package.json +0 -22
- package/plugins/TwoFactorsAuthPlugin/node_modules/notp/test/mocha.opts +0 -1
- package/plugins/TwoFactorsAuthPlugin/node_modules/notp/test/notp.js +0 -217
- package/plugins/TwoFactorsAuthPlugin/node_modules/thirty-two/LICENSE.txt +0 -19
- package/plugins/TwoFactorsAuthPlugin/node_modules/thirty-two/Makefile +0 -24
- package/plugins/TwoFactorsAuthPlugin/node_modules/thirty-two/README.md +0 -15
- package/plugins/TwoFactorsAuthPlugin/node_modules/thirty-two/index.js +0 -23
- package/plugins/TwoFactorsAuthPlugin/node_modules/thirty-two/lib/thirty-two/index.js +0 -26
- package/plugins/TwoFactorsAuthPlugin/node_modules/thirty-two/lib/thirty-two/thirty-two.js +0 -128
- package/plugins/TwoFactorsAuthPlugin/node_modules/thirty-two/package.json +0 -15
- package/plugins/TwoFactorsAuthPlugin/node_modules/thirty-two/spec/thirty-two_spec.js +0 -63
- package/plugins/TwoFactorsAuthPlugin/node_modules/tslib/CopyrightNotice.txt +0 -15
- package/plugins/TwoFactorsAuthPlugin/node_modules/tslib/LICENSE.txt +0 -12
- package/plugins/TwoFactorsAuthPlugin/node_modules/tslib/README.md +0 -164
- package/plugins/TwoFactorsAuthPlugin/node_modules/tslib/SECURITY.md +0 -41
- package/plugins/TwoFactorsAuthPlugin/node_modules/tslib/modules/index.d.ts +0 -37
- package/plugins/TwoFactorsAuthPlugin/node_modules/tslib/modules/index.js +0 -68
- package/plugins/TwoFactorsAuthPlugin/node_modules/tslib/modules/package.json +0 -3
- package/plugins/TwoFactorsAuthPlugin/node_modules/tslib/package.json +0 -47
- package/plugins/TwoFactorsAuthPlugin/node_modules/tslib/tslib.d.ts +0 -453
- package/plugins/TwoFactorsAuthPlugin/node_modules/tslib/tslib.es6.html +0 -1
- package/plugins/TwoFactorsAuthPlugin/node_modules/tslib/tslib.es6.js +0 -374
- package/plugins/TwoFactorsAuthPlugin/node_modules/tslib/tslib.es6.mjs +0 -373
- package/plugins/TwoFactorsAuthPlugin/node_modules/tslib/tslib.html +0 -1
- package/plugins/TwoFactorsAuthPlugin/node_modules/tslib/tslib.js +0 -424
- package/plugins/TwoFactorsAuthPlugin/node_modules/undici-types/README.md +0 -6
- package/plugins/TwoFactorsAuthPlugin/node_modules/undici-types/agent.d.ts +0 -31
- package/plugins/TwoFactorsAuthPlugin/node_modules/undici-types/api.d.ts +0 -43
- package/plugins/TwoFactorsAuthPlugin/node_modules/undici-types/balanced-pool.d.ts +0 -18
- package/plugins/TwoFactorsAuthPlugin/node_modules/undici-types/cache.d.ts +0 -36
- package/plugins/TwoFactorsAuthPlugin/node_modules/undici-types/client.d.ts +0 -97
- package/plugins/TwoFactorsAuthPlugin/node_modules/undici-types/connector.d.ts +0 -34
- package/plugins/TwoFactorsAuthPlugin/node_modules/undici-types/content-type.d.ts +0 -21
- package/plugins/TwoFactorsAuthPlugin/node_modules/undici-types/cookies.d.ts +0 -28
- package/plugins/TwoFactorsAuthPlugin/node_modules/undici-types/diagnostics-channel.d.ts +0 -67
- package/plugins/TwoFactorsAuthPlugin/node_modules/undici-types/dispatcher.d.ts +0 -241
- package/plugins/TwoFactorsAuthPlugin/node_modules/undici-types/errors.d.ts +0 -128
- package/plugins/TwoFactorsAuthPlugin/node_modules/undici-types/fetch.d.ts +0 -209
- package/plugins/TwoFactorsAuthPlugin/node_modules/undici-types/file.d.ts +0 -39
- package/plugins/TwoFactorsAuthPlugin/node_modules/undici-types/filereader.d.ts +0 -54
- package/plugins/TwoFactorsAuthPlugin/node_modules/undici-types/formdata.d.ts +0 -108
- package/plugins/TwoFactorsAuthPlugin/node_modules/undici-types/global-dispatcher.d.ts +0 -9
- package/plugins/TwoFactorsAuthPlugin/node_modules/undici-types/global-origin.d.ts +0 -7
- package/plugins/TwoFactorsAuthPlugin/node_modules/undici-types/handlers.d.ts +0 -9
- package/plugins/TwoFactorsAuthPlugin/node_modules/undici-types/header.d.ts +0 -4
- package/plugins/TwoFactorsAuthPlugin/node_modules/undici-types/index.d.ts +0 -63
- package/plugins/TwoFactorsAuthPlugin/node_modules/undici-types/interceptors.d.ts +0 -5
- package/plugins/TwoFactorsAuthPlugin/node_modules/undici-types/mock-agent.d.ts +0 -50
- package/plugins/TwoFactorsAuthPlugin/node_modules/undici-types/mock-client.d.ts +0 -25
- package/plugins/TwoFactorsAuthPlugin/node_modules/undici-types/mock-errors.d.ts +0 -12
- package/plugins/TwoFactorsAuthPlugin/node_modules/undici-types/mock-interceptor.d.ts +0 -93
- package/plugins/TwoFactorsAuthPlugin/node_modules/undici-types/mock-pool.d.ts +0 -25
- package/plugins/TwoFactorsAuthPlugin/node_modules/undici-types/package.json +0 -55
- package/plugins/TwoFactorsAuthPlugin/node_modules/undici-types/patch.d.ts +0 -71
- package/plugins/TwoFactorsAuthPlugin/node_modules/undici-types/pool-stats.d.ts +0 -19
- package/plugins/TwoFactorsAuthPlugin/node_modules/undici-types/pool.d.ts +0 -28
- package/plugins/TwoFactorsAuthPlugin/node_modules/undici-types/proxy-agent.d.ts +0 -30
- package/plugins/TwoFactorsAuthPlugin/node_modules/undici-types/readable.d.ts +0 -61
- package/plugins/TwoFactorsAuthPlugin/node_modules/undici-types/webidl.d.ts +0 -220
- package/plugins/TwoFactorsAuthPlugin/node_modules/undici-types/websocket.d.ts +0 -131
package/dist/spa/src/App.vue
CHANGED
|
@@ -1,162 +1,145 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
class="
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
<
|
|
13
|
-
|
|
14
|
-
|
|
2
|
+
<nav
|
|
3
|
+
v-if="loggedIn && routerIsReady && loginRedirectCheckIsReady"
|
|
4
|
+
class="fixed h-14 top-0 z-20 w-full border-b shadow-sm bg-header-bg shadow-header-shadow dark:bg-header-bg-hover dark:border-nav-menu-devider">
|
|
5
|
+
<div class="px-3 py-3 lg:px-5 lg:pl-3">
|
|
6
|
+
<div class="flex items-center justify-between">
|
|
7
|
+
<div class="flex items-center justify-start rtl:justify-end">
|
|
8
|
+
<button @click="sideBarOpen = !sideBarOpen"
|
|
9
|
+
type="button" class="inline-flex items-center p-2 text-sm rounded-lg sm:hidden hover:bg-nav-menu-bg-hover focus:outline-none focus:ring-2 focus:ring-nav-menu-devider dark:text-nav-menu-icons dark:hover:bg-nav-menu-bg-hover dark:focus:ring-nav-menu-devider">
|
|
10
|
+
<span class="sr-only">Open sidebar</span>
|
|
11
|
+
<svg class="w-6 h-6" aria-hidden="true" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
|
|
12
|
+
<path clip-rule="evenodd" fill-rule="evenodd" d="M2 4.75A.75.75 0 012.75 4h14.5a.75.75 0 010 1.5H2.75A.75.75 0 012 4.75zm0 10.5a.75.75 0 01.75-.75h7.5a.75.75 0 010 1.5h-7.5a.75.75 0 01-.75-.75zM2 10a.75.75 0 01.75-.75h14.5a.75.75 0 010 1.5H2.75A.75.75 0 012 10z"></path>
|
|
13
|
+
</svg>
|
|
14
|
+
</button>
|
|
15
|
+
|
|
16
|
+
</div>
|
|
17
|
+
<div class="flex items-center">
|
|
18
|
+
<div class="flex items-center ms-3 ">
|
|
19
|
+
<div>
|
|
20
|
+
<button type="button" class="flex text-sm bg-header-bg-hover rounded-full focus:ring-4 focus:ring-nav-menu-devider dark:focus:ring-nav-menu-devider dark:bg-header-bg-hover" aria-expanded="false" data-dropdown-toggle="dropdown-user">
|
|
21
|
+
<span class="sr-only">Open user menu</span>
|
|
22
|
+
<svg class="w-8 h-8 text-nav-menu-icons dark:text-header-icons" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="currentColor" viewBox="0 0 24 24">
|
|
23
|
+
<path fill-rule="evenodd" d="M12 20a7.966 7.966 0 0 1-5.002-1.756l.002.001v-.683c0-1.794 1.492-3.25 3.333-3.25h3.334c1.84 0 3.333 1.456 3.333 3.25v.683A7.966 7.966 0 0 1 12 20ZM2 12C2 6.477 6.477 2 12 2s10 4.477 10 10c0 5.5-4.44 9.963-9.932 10h-.138C6.438 21.962 2 17.5 2 12Zm10-5c-1.84 0-3.333 1.455-3.333 3.25S10.159 13.5 12 13.5c1.84 0 3.333-1.455 3.333-3.25S13.841 7 12 7Z" clip-rule="evenodd"/>
|
|
15
24
|
</svg>
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
</svg>
|
|
27
|
-
</button>
|
|
28
|
-
</div>
|
|
29
|
-
<div class="z-50 hidden my-4 text-base list-none bg-white divide-y divide-gray-100 rounded shadow dark:shadow-black dark:bg-darkSidebar dark:divide-darkSidebarDevider dark:shadow-black" id="dropdown-user">
|
|
30
|
-
<div class="px-4 py-3" role="none">
|
|
31
|
-
<p class="text-sm text-gray-900 dark:text-darkNavbarText" role="none" v-if="coreStore.userFullname">
|
|
32
|
-
{{ coreStore.userFullname }}
|
|
33
|
-
</p>
|
|
34
|
-
<p class="text-sm font-medium text-gray-900 truncate dark:text-darkSidebarText" role="none">
|
|
35
|
-
{{ coreStore.username }}
|
|
36
|
-
</p>
|
|
37
|
-
</div>
|
|
38
|
-
<ul class="py-1" role="none">
|
|
39
|
-
<li>
|
|
40
|
-
<span @click="toggleTheme" class="cursor-pointer flex items-center gap-1 block px-4 py-2 text-sm text-black hover:bg-lightHtml dark:text-darkSidebarTextHover dark:hover:bg-darkHtml dark:hover:text-darkSidebarTextActive" role="menuitem">
|
|
41
|
-
{{ theme === 'dark' ? 'Light' : 'Dark' }}
|
|
42
|
-
<IconMoonSolid class="w-5 h-5 text-blue-300" v-if="theme !== 'dark'" />
|
|
43
|
-
<IconSunSolid class="w-5 h-5 text-yellow-300" v-else />
|
|
44
|
-
mode
|
|
45
|
-
</span>
|
|
46
|
-
</li>
|
|
47
|
-
<li>
|
|
48
|
-
<button @click="logout" class="cursor-pointer flex items-center gap-1 block px-4 py-2 text-sm text-black hover:bg-html dark:text-darkSidebarTextHover dark:hover:bg-darkSidebarItemHover dark:hover:text-darkSidebarTextActive w-full" role="menuitem">Sign out</button>
|
|
49
|
-
</li>
|
|
50
|
-
</ul>
|
|
25
|
+
</button>
|
|
26
|
+
</div>
|
|
27
|
+
<div class="z-50 hidden my-4 text-base list-none bg-white divide-y divide-gray-100 rounded shadow dark:shadow-black dark:bg-nav-menu-bg dark:divide-nav-menu-devider dark:shadow-black" id="dropdown-user">
|
|
28
|
+
<div class="px-4 py-3" role="none">
|
|
29
|
+
<p class="text-sm text-gray-900 dark:text-header-text" role="none" v-if="coreStore.userFullname">
|
|
30
|
+
{{ coreStore.userFullname }}
|
|
31
|
+
</p>
|
|
32
|
+
<p class="text-sm font-medium text-gray-900 truncate dark:text-nav-menu-text" role="none">
|
|
33
|
+
{{ coreStore.username }}
|
|
34
|
+
</p>
|
|
51
35
|
</div>
|
|
36
|
+
<ul class="py-1" role="none">
|
|
37
|
+
<li>
|
|
38
|
+
<span @click="toggleTheme" class="cursor-pointer flex items-center gap-1 block px-4 py-2 text-sm text-black hover:bg-html-bg dark:text-nav-menu-text-hover dark:hover:bg-nav-menu-hover dark:hover:text-nav-menu-text-active" role="menuitem">
|
|
39
|
+
{{ theme === 'dark' ? 'Light' : 'Dark' }}
|
|
40
|
+
<IconMoonSolid class="w-5 h-5 text-blue-300" v-if="theme !== 'dark'" />
|
|
41
|
+
<IconSunSolid class="w-5 h-5 text-yellow-300" v-else />
|
|
42
|
+
mode
|
|
43
|
+
</span>
|
|
44
|
+
</li>
|
|
45
|
+
<li>
|
|
46
|
+
<button @click="logout" class="cursor-pointer flex items-center gap-1 block px-4 py-2 text-sm text-black hover:bg-html-bg dark:text-nav-menu-text-hover dark:hover:bg-nav-menu-hover dark:hover:text-nav-menu-text-active w-full" role="menuitem">Sign out</button>
|
|
47
|
+
</li>
|
|
48
|
+
</ul>
|
|
52
49
|
</div>
|
|
53
50
|
</div>
|
|
54
51
|
</div>
|
|
55
52
|
</div>
|
|
56
|
-
|
|
53
|
+
</div>
|
|
54
|
+
</nav>
|
|
57
55
|
|
|
58
56
|
|
|
59
57
|
|
|
60
|
-
|
|
58
|
+
<aside
|
|
61
59
|
|
|
62
|
-
|
|
60
|
+
v-if="loggedIn && routerIsReady && loginRedirectCheckIsReady"
|
|
63
61
|
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
</div>
|
|
75
|
-
|
|
76
|
-
<ul class="space-y-2 font-medium">
|
|
77
|
-
<template v-for="(item, i) in coreStore.menu" :key="`menu-${i}`">
|
|
78
|
-
<div v-if="item.type === 'divider'" class="border-t border-lightSidebarDevider dark:border-darkSidebarDevider"></div>
|
|
79
|
-
<div v-else-if="item.type === 'gap'" class="flex items-center justify-center h-8"></div>
|
|
80
|
-
<div v-else-if="item.type === 'heading'" class="flex items-center justify-left pl-2 h-8 text-lightSidebarHeading dark:text-darkSidebarHeading
|
|
81
|
-
">{{ item.label }}</div>
|
|
82
|
-
<li v-else-if="item.children" class=" ">
|
|
83
|
-
<button @click="clickOnMenuItem(i)" type="button" class="flex items-center w-full p-2 text-base text-lightSidebarText rounded-default transition duration-75 group hover:bg-lightSidebarItemHover hover:text-lightSidebarTextHover dark:text-darkSidebarText dark:hover:bg-darkSidebarHover dark:hover:text-darkSidebarTextHover"
|
|
84
|
-
:aria-controls="`dropdown-example${i}`"
|
|
85
|
-
:data-collapse-toggle="`dropdown-example${i}`"
|
|
86
|
-
>
|
|
87
|
-
<component v-if="item.icon" :is="getIcon(item.icon)" class="w-5 h-5 text-lightSidebarIcons group-hover:text-lightSidebarIconsHover transition duration-75 dark:group-hover:text-darkSidebarIconsHover dark:text-darkSidebarIcons" ></component>
|
|
88
|
-
|
|
89
|
-
<span class="flex-1 ms-3 text-left rtl:text-right whitespace-nowrap">{{ item.label }}</span>
|
|
90
|
-
<svg :class="{'rotate-180': opened.includes(i) }" class="w-3 h-3" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 10 6">
|
|
91
|
-
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m1 1 4 4 4-4"/>
|
|
92
|
-
</svg>
|
|
93
|
-
</button>
|
|
94
|
-
|
|
95
|
-
<ul :id="`dropdown-example${i}`" role="none" class="pt-1 space-y-1" :class="{ 'hidden': !opened.includes(i) }">
|
|
96
|
-
<template v-for="(child, j) in item.children" :key="`menu-${i}-${j}`">
|
|
97
|
-
<li>
|
|
98
|
-
<MenuLink :item="child" isChild="true" />
|
|
99
|
-
</li>
|
|
100
|
-
</template>
|
|
101
|
-
</ul>
|
|
102
|
-
</li>
|
|
103
|
-
<li v-else>
|
|
104
|
-
<MenuLink :item="item" />
|
|
105
|
-
</li>
|
|
106
|
-
</template>
|
|
107
|
-
</ul>
|
|
62
|
+
id="logo-sidebar" class="fixed border-none top-0 left-0 z-20 w-64 h-screen transition-transform border-r border-nav-menu-border sm:translate-x-0 dark:bg-gray-800 dark:border-gray-700"
|
|
63
|
+
:class="{ '-translate-x-full': !sideBarOpen, 'transform-none': sideBarOpen }"
|
|
64
|
+
aria-label="Sidebar"
|
|
65
|
+
>
|
|
66
|
+
<div class="h-full px-3 pb-4 overflow-y-auto bg-white dark:bg-gray-800 border-r">
|
|
67
|
+
<div class="flex ms-2 md:me-24 m-4 ">
|
|
68
|
+
<img :src="loadFile(coreStore.config?.brandLogo || '@/assets/logo.svg')" :alt="`${ coreStore.config?.brandName } Logo`" class="h-8 me-3" />
|
|
69
|
+
<span class="self-center text-header-text-size font-semibold sm:text-header-text-size whitespace-nowrap dark:text-header-text text-header-logo-color">
|
|
70
|
+
{{ coreStore.config?.brandName }}
|
|
71
|
+
</span>
|
|
108
72
|
</div>
|
|
109
|
-
</aside>
|
|
110
|
-
|
|
111
73
|
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
74
|
+
<ul class="space-y-2 font-medium">
|
|
75
|
+
<template v-for="(item, i) in coreStore.menu" :key="`menu-${i}`">
|
|
76
|
+
<div v-if="item.type === 'divider'" class="border-t border-nav-menu-devider dark:border-gray-700"></div>
|
|
77
|
+
<div v-else-if="item.type === 'gap'" class="flex items-center justify-center h-8"></div>
|
|
78
|
+
<div v-else-if="item.type === 'heading'" class="flex items-center justify-left pl-2 h-8 text-gray-400 dark:text-gray-400
|
|
79
|
+
">{{ item.label }}</div>
|
|
80
|
+
<li v-else-if="item.children">
|
|
81
|
+
<button @click="clickOnMenuItem(i)" type="button" class="flex items-center w-full p-2 text-base text-nav-menu-text rounded-default transition duration-75 group hover:bg-nav-menu-bg-hover dark:text-white dark:hover:bg-gray-700"
|
|
82
|
+
:aria-controls="`dropdown-example${i}`"
|
|
83
|
+
:data-collapse-toggle="`dropdown-example${i}`"
|
|
84
|
+
>
|
|
85
|
+
<component v-if="item.icon" :is="getIcon(item.icon)" class="w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 dark:group-hover:text-white" ></component>
|
|
86
|
+
|
|
87
|
+
<span class="flex-1 ms-3 text-left rtl:text-right whitespace-nowrap">{{ item.label }}</span>
|
|
88
|
+
<svg :class="{'rotate-180': opened.includes(i) }" class="w-3 h-3" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 10 6">
|
|
89
|
+
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m1 1 4 4 4-4"/>
|
|
90
|
+
</svg>
|
|
91
|
+
</button>
|
|
117
92
|
|
|
118
|
-
|
|
119
|
-
|
|
93
|
+
<ul :id="`dropdown-example${i}`" role="none" class="pt-1 space-y-1" :class="{ 'hidden': !opened.includes(i) }">
|
|
94
|
+
<template v-for="(child, j) in item.children" :key="`menu-${i}-${j}`">
|
|
95
|
+
<li>
|
|
96
|
+
<MenuLink :item="child" isChild="true" />
|
|
97
|
+
</li>
|
|
98
|
+
</template>
|
|
99
|
+
</ul>
|
|
100
|
+
</li>
|
|
101
|
+
<li v-else>
|
|
102
|
+
<MenuLink :item="item" />
|
|
103
|
+
</li>
|
|
104
|
+
</template>
|
|
105
|
+
</ul>
|
|
120
106
|
</div>
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
107
|
+
</aside>
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
<div class="p-4 sm:ml-64 dark:bg-gray-800" v-if="loggedIn && routerIsReady && loginRedirectCheckIsReady">
|
|
111
|
+
<div class="p-0 dark:border-gray-700 mt-14">
|
|
112
|
+
<RouterView/>
|
|
126
113
|
</div>
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
114
|
+
</div>
|
|
115
|
+
|
|
116
|
+
<div v-else-if="routerIsReady && loginRedirectCheckIsReady">
|
|
117
|
+
<RouterView/>
|
|
118
|
+
</div>
|
|
119
|
+
<div v-else class="flex items-center justify-center h-screen">
|
|
120
|
+
<div class="text-3xl text-gray-400 animate-bounce">
|
|
121
|
+
<svg aria-hidden="true" class="w-8 h-8 text-gray-200 animate-spin dark:text-gray-600 fill-blue-600" viewBox="0 0 100 101" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z" fill="currentColor"/><path d="M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z" fill="currentFill"/></svg>
|
|
122
|
+
<span class="sr-only">Loading...</span>
|
|
136
123
|
</div>
|
|
124
|
+
</div>
|
|
125
|
+
<AcceptModal />
|
|
126
|
+
<div v-if="toastStore.toasts.length>0" class="fixed bottom-5 right-5 flex gap-1 flex-col-reverse">
|
|
127
|
+
<transition-group
|
|
128
|
+
name="fade"
|
|
129
|
+
tag="div"
|
|
130
|
+
class="flex flex-col-reverse gap-1"
|
|
131
|
+
>
|
|
132
|
+
<Toast :toast="t" @close="toastStore.removeToast(t)" v-for="(t,i) in toastStore.toasts" :key="`t-${t.id}`" ></Toast>
|
|
133
|
+
</transition-group>
|
|
134
|
+
</div>
|
|
135
|
+
|
|
136
|
+
<div v-if="sideBarOpen"
|
|
137
|
+
@click="sideBarOpen = false"
|
|
138
|
+
|
|
139
|
+
drawer-backdrop="" class="bg-gray-900/50 dark:bg-gray-900/80 fixed inset-0 z-5"></div>
|
|
137
140
|
|
|
138
|
-
<div v-if="sideBarOpen"
|
|
139
|
-
@click="sideBarOpen = false"
|
|
140
|
-
|
|
141
|
-
drawer-backdrop="" class="bg-gray-900/50 dark:bg-gray-900/80 fixed inset-0 z-5"></div>
|
|
142
141
|
|
|
143
142
|
|
|
144
|
-
</div>
|
|
145
|
-
<div v-else>
|
|
146
|
-
<div v-if="routerIsReady && loginRedirectCheckIsReady">
|
|
147
|
-
<RouterView/>
|
|
148
|
-
</div>
|
|
149
|
-
<AcceptModal />
|
|
150
|
-
<div v-if="toastStore.toasts.length>0" class="fixed bottom-5 right-5 flex gap-1 flex-col-reverse">
|
|
151
|
-
<transition-group
|
|
152
|
-
name="fade"
|
|
153
|
-
tag="div"
|
|
154
|
-
class="flex flex-col-reverse gap-1"
|
|
155
|
-
>
|
|
156
|
-
<Toast :toast="t" @close="toastStore.removeToast(t)" v-for="(t,i) in toastStore.toasts" :key="`t-${t.id}`" ></Toast>
|
|
157
|
-
</transition-group>
|
|
158
|
-
</div>
|
|
159
|
-
</div>
|
|
160
143
|
</template>
|
|
161
144
|
|
|
162
145
|
<style lang="scss" scoped>
|
|
@@ -180,7 +163,7 @@
|
|
|
180
163
|
</style>
|
|
181
164
|
|
|
182
165
|
<script setup lang="ts">
|
|
183
|
-
import { computed, onMounted, ref, watch, defineComponent
|
|
166
|
+
import { computed, onMounted, ref, watch, defineComponent } from 'vue';
|
|
184
167
|
import { RouterLink, RouterView } from 'vue-router';
|
|
185
168
|
import { initFlowbite } from 'flowbite'
|
|
186
169
|
import './index.scss'
|
|
@@ -211,7 +194,6 @@ const splitAtLast = (str: string, separator: string) => {
|
|
|
211
194
|
}
|
|
212
195
|
createHead()
|
|
213
196
|
const sideBarOpen = ref(false);
|
|
214
|
-
const defaultLayout = ref(true);
|
|
215
197
|
const route = useRoute();
|
|
216
198
|
const router = useRouter();
|
|
217
199
|
const title = ref('');
|
|
@@ -229,8 +211,6 @@ const theme = ref('light');
|
|
|
229
211
|
function toggleTheme() {
|
|
230
212
|
theme.value = theme.value === 'light' ? 'dark' : 'light';
|
|
231
213
|
document.documentElement.classList.toggle('dark');
|
|
232
|
-
window.localStorage.setItem('theme', theme.value);
|
|
233
|
-
|
|
234
214
|
}
|
|
235
215
|
|
|
236
216
|
function clickOnMenuItem (label: string) {
|
|
@@ -257,60 +237,35 @@ async function initRouter() {
|
|
|
257
237
|
}
|
|
258
238
|
|
|
259
239
|
async function loadMenu() {
|
|
260
|
-
await coreStore.fetchMenuAndResource()
|
|
240
|
+
await coreStore.fetchMenuAndResource()
|
|
261
241
|
loginRedirectCheckIsReady.value = true;
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
} else {
|
|
269
|
-
defaultLayout.value = true;
|
|
270
|
-
}
|
|
271
|
-
console.log(defaultLayout.value,route);
|
|
242
|
+
|
|
243
|
+
coreStore.menu.forEach((item, i) => {
|
|
244
|
+
if (item.open) {
|
|
245
|
+
opened.value.push(i);
|
|
246
|
+
}
|
|
247
|
+
});
|
|
272
248
|
}
|
|
273
249
|
|
|
274
250
|
|
|
275
251
|
|
|
276
252
|
watch(route, () => {
|
|
277
|
-
handleCustomLayout()
|
|
278
253
|
title.value = `${coreStore.config?.title || coreStore.config?.brandName || 'Adminforth'} | ${ Object.values(route.params)[0] || route.meta.title || ' '}`;
|
|
279
254
|
useHead({
|
|
280
255
|
title: title.value,
|
|
281
256
|
})
|
|
282
|
-
|
|
283
|
-
|
|
284
257
|
});
|
|
285
258
|
|
|
286
|
-
watch (()=>coreStore.menu, () => {
|
|
287
|
-
coreStore.menu.forEach((item, i) => {
|
|
288
|
-
if (item.open) {
|
|
289
|
-
opened.value.push(i);
|
|
290
|
-
};
|
|
291
|
-
});
|
|
292
|
-
})
|
|
293
|
-
|
|
294
|
-
watch([loggedIn, routerIsReady, loginRedirectCheckIsReady], ([l,r,lr]) => {
|
|
295
|
-
if (l && r && lr) {
|
|
296
|
-
setTimeout(() => {
|
|
297
|
-
initFlowbite();
|
|
298
|
-
});
|
|
299
|
-
}
|
|
300
|
-
})
|
|
301
|
-
|
|
302
259
|
// initialize components based on data attribute selectors
|
|
303
260
|
onMounted(async () => {
|
|
304
261
|
loadMenu(); // run this in async mode
|
|
305
262
|
// before init flowbite we have to wait router initialized because it affects dom(our v-ifs) and fetch menu
|
|
306
263
|
await initRouter()
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
})
|
|
264
|
+
setTimeout(() => {
|
|
265
|
+
initFlowbite();
|
|
266
|
+
});
|
|
267
|
+
|
|
310
268
|
|
|
311
|
-
onBeforeMount(()=>{
|
|
312
|
-
theme.value = window.localStorage.getItem('theme') || 'light';
|
|
313
|
-
document.documentElement.classList.toggle('dark', theme.value === 'dark');
|
|
314
269
|
})
|
|
315
270
|
|
|
316
271
|
</script>
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<RouterLink
|
|
3
3
|
:to="{name: item.resourceId ? 'resource-list' : item.path, params: item.resourceId ? { resourceId: item.resourceId }: {}}"
|
|
4
|
-
class="flex
|
|
4
|
+
class="flex items-center py-2 text-nav-menu-text rounded-default hover:bg-nav-menu-bg-hover active:bg-nav-menu-bg-active" role="menuitem"
|
|
5
5
|
:class="{
|
|
6
6
|
'px-4': isChild,
|
|
7
7
|
'px-2': !isChild,
|
|
8
|
-
'bg-
|
|
8
|
+
'bg-nav-menu-bg-active dark:bg-gray-700': item.resourceId ?
|
|
9
9
|
($route.params.resourceId === item.resourceId && $route.name === 'resource-list') :
|
|
10
10
|
($route.name === item.path)
|
|
11
11
|
}"
|
|
12
12
|
>
|
|
13
|
-
<component v-if="item.icon" :is="getIcon(item.icon)" class="w-5 h-5 text-
|
|
13
|
+
<component v-if="item.icon" :is="getIcon(item.icon)" class="w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white" ></component>
|
|
14
14
|
<span class="ms-3">{{ item.label }}</span>
|
|
15
15
|
</RouterLink>
|
|
16
16
|
</template>
|