w-web-sso 1.0.13 → 1.0.15
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/db/wsso/ips/data.mdb +0 -0
- package/db/wsso/ips/lock.mdb +0 -0
- package/db/wsso/tokens/data.mdb +0 -0
- package/db/wsso/tokens/lock.mdb +0 -0
- package/db/wsso/users/data.mdb +0 -0
- package/db/wsso/users/lock.mdb +0 -0
- package/dist/css/{app.03a2f95c.css → app.e4367a2b.css} +1 -1
- package/dist/index.tmp +6 -2
- package/dist/js/app-legacy.4ebeee34.js +2 -0
- package/dist/js/app-legacy.4ebeee34.js.map +1 -0
- package/dist/js/app.d1707f92.js +2 -0
- package/dist/js/app.d1707f92.js.map +1 -0
- package/dist/js/chunk-vendors-legacy.7380957a.js +15 -0
- package/dist/js/chunk-vendors-legacy.7380957a.js.map +1 -0
- package/dist/js/chunk-vendors.7380957a.js +15 -0
- package/dist/js/chunk-vendors.7380957a.js.map +1 -0
- package/dist/w-web-sso.umd.js +2 -2
- package/dist/w-web-sso.umd.js.map +1 -1
- package/docs/WWebSso.html +4 -112
- package/docs/WWebSso.mjs.html +460 -111
- package/docs/index.html +1 -1
- package/g.getSettings.mjs +0 -1
- package/g.initialData.mjs +8 -10
- package/g.mjs +0 -0
- package/package.json +7 -6
- package/public/index.html +13 -0
- package/server/WWebSso.mjs +459 -110
- package/server/procCore.mjs +871 -277
- package/server/procProtect.mjs +746 -0
- package/server/procStaInfor.mjs +393 -0
- package/server/provideUsers.mjs +0 -1
- package/server/srlog.mjs +12 -0
- package/server/staLogs/staIp.callWorker.mjs +35 -0
- package/server/staLogs/staIp.mjs +118 -0
- package/server/staLogs/staIp.shellWorker.mjs +18 -0
- package/server/staLogs/staToken.callWorker.mjs +35 -0
- package/server/staLogs/staToken.mjs +118 -0
- package/server/staLogs/staToken.shellWorker.mjs +18 -0
- package/server/staLogs/staUserAccountLogin.callWorker.mjs +35 -0
- package/server/staLogs/staUserAccountLogin.mjs +136 -0
- package/server/staLogs/staUserAccountLogin.shellWorker.mjs +18 -0
- package/server/staLogs/test_staIp.mjs +27 -0
- package/server/staLogs/test_staToken.mjs +27 -0
- package/server/staLogs/test_staUserAccountLogin.mjs +30 -0
- package/settings.json +15 -1
- package/src/components/Layout.vue +70 -15
- package/src/components/LayoutContent.vue +35 -33
- package/src/components/LayoutContentIps.vue +757 -0
- package/src/components/LayoutContentStaInfor.vue +917 -0
- package/src/components/LayoutContentTokens.vue +961 -0
- package/src/components/{LayoutContentInfor.vue → LayoutContentUserInfor.vue} +366 -73
- package/src/components/LayoutContentUsers.vue +21 -34
- package/src/components/PageLogin.vue +1 -1
- package/src/components/VeUser.vue.txt +9 -10
- package/src/components/ruleGroup.vue.txt +5 -6
- package/src/main.js +7 -13
- package/src/plugins/mLang.mjs +853 -520
- package/src/plugins/mShare.mjs +141 -3
- package/src/plugins/mUI.mjs +30 -21
- package/src/schema/index.mjs +2 -0
- package/src/schema/tables/ips.mjs +0 -9
- package/src/schema/tables/tokens.mjs +5 -1
- package/src/schema/tables/users.mjs +2 -14
- package/src/store/mutations.mjs +3 -3
- package/src/store/types.mjs +1 -1
- package/srv.mjs +55 -38
- package/_/350/246/217/345/212/203.md +0 -275
- package/dist/js/app-legacy.d468ef7f.js +0 -2
- package/dist/js/app-legacy.d468ef7f.js.map +0 -1
- package/dist/js/app.d468ef7f.js +0 -2
- package/dist/js/app.d468ef7f.js.map +0 -1
- package/dist/js/chunk-vendors-legacy.f51f58bb.js +0 -13
- package/dist/js/chunk-vendors-legacy.f51f58bb.js.map +0 -1
- package/dist/js/chunk-vendors.f51f58bb.js +0 -13
- package/dist/js/chunk-vendors.f51f58bb.js.map +0 -1
- package/src/components/LayoutContentSettings.vue +0 -1248
|
@@ -69,17 +69,25 @@
|
|
|
69
69
|
|
|
70
70
|
<template>
|
|
71
71
|
|
|
72
|
-
<
|
|
72
|
+
<LayoutContentStaInfor
|
|
73
|
+
v-if="menuKey==='mmStaInfor'"
|
|
74
|
+
></LayoutContentStaInfor>
|
|
75
|
+
|
|
76
|
+
<LayoutContentUserInfor
|
|
73
77
|
v-if="menuKey==='mmUserInfor'"
|
|
74
|
-
></
|
|
78
|
+
></LayoutContentUserInfor>
|
|
75
79
|
|
|
76
80
|
<LayoutContentUsers
|
|
77
81
|
v-if="menuKey==='mmUsersList'"
|
|
78
82
|
></LayoutContentUsers>
|
|
79
83
|
|
|
80
|
-
<
|
|
81
|
-
v-if="menuKey==='
|
|
82
|
-
></
|
|
84
|
+
<LayoutContentTokens
|
|
85
|
+
v-if="menuKey==='mmTokensList'"
|
|
86
|
+
></LayoutContentTokens>
|
|
87
|
+
|
|
88
|
+
<LayoutContentIps
|
|
89
|
+
v-if="menuKey==='mmIpsList'"
|
|
90
|
+
></LayoutContentIps>
|
|
83
91
|
|
|
84
92
|
</template>
|
|
85
93
|
|
|
@@ -121,15 +129,17 @@
|
|
|
121
129
|
</template>
|
|
122
130
|
|
|
123
131
|
<script>
|
|
124
|
-
import {
|
|
132
|
+
import { mdiChartBar, mdiInformationVariantCircleOutline, mdiIpNetwork, mdiShieldKeyOutline, mdiArrowLeftBoldHexagonOutline, mdiArrowRightBoldHexagonOutline, mdiAccountGroupOutline } from '@mdi/js/mdi.js'
|
|
125
133
|
import get from 'lodash-es/get.js'
|
|
126
134
|
import find from 'lodash-es/find.js'
|
|
127
135
|
import WDrawer from 'w-component-vue/src/components/WDrawer.vue'
|
|
128
136
|
import WButtonCircle from 'w-component-vue/src/components/WButtonCircle.vue'
|
|
129
137
|
import WListVertical from 'w-component-vue/src/components/WListVertical.vue'
|
|
130
|
-
import
|
|
138
|
+
import LayoutContentStaInfor from './LayoutContentStaInfor.vue'
|
|
139
|
+
import LayoutContentUserInfor from './LayoutContentUserInfor.vue'
|
|
131
140
|
import LayoutContentUsers from './LayoutContentUsers.vue'
|
|
132
|
-
import
|
|
141
|
+
import LayoutContentTokens from './LayoutContentTokens.vue'
|
|
142
|
+
import LayoutContentIps from './LayoutContentIps.vue'
|
|
133
143
|
|
|
134
144
|
|
|
135
145
|
export default {
|
|
@@ -137,29 +147,26 @@ export default {
|
|
|
137
147
|
WDrawer,
|
|
138
148
|
WButtonCircle,
|
|
139
149
|
WListVertical,
|
|
140
|
-
|
|
150
|
+
LayoutContentStaInfor,
|
|
151
|
+
LayoutContentUserInfor,
|
|
141
152
|
LayoutContentUsers,
|
|
142
|
-
|
|
153
|
+
LayoutContentTokens,
|
|
154
|
+
LayoutContentIps,
|
|
143
155
|
},
|
|
144
156
|
props: {
|
|
145
157
|
},
|
|
146
158
|
data: function() {
|
|
147
159
|
return {
|
|
148
|
-
mdiInformationVariantCircleOutline,
|
|
149
|
-
mdiCogOutline,
|
|
150
|
-
mdiCellphoneKey,
|
|
151
|
-
mdiLockOpenRemoveOutline,
|
|
152
|
-
mdiShieldKeyOutline,
|
|
153
160
|
mdiArrowLeftBoldHexagonOutline,
|
|
154
161
|
mdiArrowRightBoldHexagonOutline,
|
|
155
162
|
|
|
156
|
-
menuKey: '
|
|
163
|
+
menuKey: 'mmStaInfor',
|
|
157
164
|
|
|
158
165
|
panelWidth: 0,
|
|
159
166
|
panelHeight: 0,
|
|
160
167
|
|
|
161
168
|
drawer: true,
|
|
162
|
-
drawerWidth:
|
|
169
|
+
drawerWidth: 230,
|
|
163
170
|
drawerWidthMin: 150,
|
|
164
171
|
drawerWidthMax: 350,
|
|
165
172
|
|
|
@@ -175,6 +182,11 @@ export default {
|
|
|
175
182
|
menus: function() {
|
|
176
183
|
let vo = this
|
|
177
184
|
let ms = [
|
|
185
|
+
{
|
|
186
|
+
key: 'mmStaInfor',
|
|
187
|
+
text: vo.$t('mmStaInfor'),
|
|
188
|
+
icon: mdiChartBar,
|
|
189
|
+
},
|
|
178
190
|
{
|
|
179
191
|
key: 'mmUserInfor',
|
|
180
192
|
text: vo.$t('mmUserInfor'),
|
|
@@ -186,24 +198,14 @@ export default {
|
|
|
186
198
|
icon: mdiAccountGroupOutline,
|
|
187
199
|
},
|
|
188
200
|
{
|
|
189
|
-
key: '
|
|
190
|
-
text: vo.$t('
|
|
191
|
-
icon:
|
|
192
|
-
},
|
|
193
|
-
{
|
|
194
|
-
key: 'nowActiveTokensList',
|
|
195
|
-
text: vo.$t('nowActiveTokensList'),
|
|
196
|
-
icon: mdiCellphoneKey,
|
|
197
|
-
},
|
|
198
|
-
{
|
|
199
|
-
key: 'nowBlockList',
|
|
200
|
-
text: vo.$t('nowBlockList'),
|
|
201
|
-
icon: mdiLockOpenRemoveOutline,
|
|
201
|
+
key: 'mmTokensList',
|
|
202
|
+
text: vo.$t('mmTokensList'),
|
|
203
|
+
icon: mdiShieldKeyOutline,
|
|
202
204
|
},
|
|
203
205
|
{
|
|
204
|
-
key: '
|
|
205
|
-
text: vo.$t('
|
|
206
|
-
icon:
|
|
206
|
+
key: 'mmIpsList',
|
|
207
|
+
text: vo.$t('mmIpsList'),
|
|
208
|
+
icon: mdiIpNetwork,
|
|
207
209
|
},
|
|
208
210
|
]
|
|
209
211
|
return ms
|