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.
Files changed (76) hide show
  1. package/db/wsso/ips/data.mdb +0 -0
  2. package/db/wsso/ips/lock.mdb +0 -0
  3. package/db/wsso/tokens/data.mdb +0 -0
  4. package/db/wsso/tokens/lock.mdb +0 -0
  5. package/db/wsso/users/data.mdb +0 -0
  6. package/db/wsso/users/lock.mdb +0 -0
  7. package/dist/css/{app.03a2f95c.css → app.e4367a2b.css} +1 -1
  8. package/dist/index.tmp +6 -2
  9. package/dist/js/app-legacy.4ebeee34.js +2 -0
  10. package/dist/js/app-legacy.4ebeee34.js.map +1 -0
  11. package/dist/js/app.d1707f92.js +2 -0
  12. package/dist/js/app.d1707f92.js.map +1 -0
  13. package/dist/js/chunk-vendors-legacy.7380957a.js +15 -0
  14. package/dist/js/chunk-vendors-legacy.7380957a.js.map +1 -0
  15. package/dist/js/chunk-vendors.7380957a.js +15 -0
  16. package/dist/js/chunk-vendors.7380957a.js.map +1 -0
  17. package/dist/w-web-sso.umd.js +2 -2
  18. package/dist/w-web-sso.umd.js.map +1 -1
  19. package/docs/WWebSso.html +4 -112
  20. package/docs/WWebSso.mjs.html +460 -111
  21. package/docs/index.html +1 -1
  22. package/g.getSettings.mjs +0 -1
  23. package/g.initialData.mjs +8 -10
  24. package/g.mjs +0 -0
  25. package/package.json +7 -6
  26. package/public/index.html +13 -0
  27. package/server/WWebSso.mjs +459 -110
  28. package/server/procCore.mjs +871 -277
  29. package/server/procProtect.mjs +746 -0
  30. package/server/procStaInfor.mjs +393 -0
  31. package/server/provideUsers.mjs +0 -1
  32. package/server/srlog.mjs +12 -0
  33. package/server/staLogs/staIp.callWorker.mjs +35 -0
  34. package/server/staLogs/staIp.mjs +118 -0
  35. package/server/staLogs/staIp.shellWorker.mjs +18 -0
  36. package/server/staLogs/staToken.callWorker.mjs +35 -0
  37. package/server/staLogs/staToken.mjs +118 -0
  38. package/server/staLogs/staToken.shellWorker.mjs +18 -0
  39. package/server/staLogs/staUserAccountLogin.callWorker.mjs +35 -0
  40. package/server/staLogs/staUserAccountLogin.mjs +136 -0
  41. package/server/staLogs/staUserAccountLogin.shellWorker.mjs +18 -0
  42. package/server/staLogs/test_staIp.mjs +27 -0
  43. package/server/staLogs/test_staToken.mjs +27 -0
  44. package/server/staLogs/test_staUserAccountLogin.mjs +30 -0
  45. package/settings.json +15 -1
  46. package/src/components/Layout.vue +70 -15
  47. package/src/components/LayoutContent.vue +35 -33
  48. package/src/components/LayoutContentIps.vue +757 -0
  49. package/src/components/LayoutContentStaInfor.vue +917 -0
  50. package/src/components/LayoutContentTokens.vue +961 -0
  51. package/src/components/{LayoutContentInfor.vue → LayoutContentUserInfor.vue} +366 -73
  52. package/src/components/LayoutContentUsers.vue +21 -34
  53. package/src/components/PageLogin.vue +1 -1
  54. package/src/components/VeUser.vue.txt +9 -10
  55. package/src/components/ruleGroup.vue.txt +5 -6
  56. package/src/main.js +7 -13
  57. package/src/plugins/mLang.mjs +853 -520
  58. package/src/plugins/mShare.mjs +141 -3
  59. package/src/plugins/mUI.mjs +30 -21
  60. package/src/schema/index.mjs +2 -0
  61. package/src/schema/tables/ips.mjs +0 -9
  62. package/src/schema/tables/tokens.mjs +5 -1
  63. package/src/schema/tables/users.mjs +2 -14
  64. package/src/store/mutations.mjs +3 -3
  65. package/src/store/types.mjs +1 -1
  66. package/srv.mjs +55 -38
  67. package/_/350/246/217/345/212/203.md +0 -275
  68. package/dist/js/app-legacy.d468ef7f.js +0 -2
  69. package/dist/js/app-legacy.d468ef7f.js.map +0 -1
  70. package/dist/js/app.d468ef7f.js +0 -2
  71. package/dist/js/app.d468ef7f.js.map +0 -1
  72. package/dist/js/chunk-vendors-legacy.f51f58bb.js +0 -13
  73. package/dist/js/chunk-vendors-legacy.f51f58bb.js.map +0 -1
  74. package/dist/js/chunk-vendors.f51f58bb.js +0 -13
  75. package/dist/js/chunk-vendors.f51f58bb.js.map +0 -1
  76. package/src/components/LayoutContentSettings.vue +0 -1248
@@ -69,17 +69,25 @@
69
69
 
70
70
  <template>
71
71
 
72
- <LayoutContentInfor
72
+ <LayoutContentStaInfor
73
+ v-if="menuKey==='mmStaInfor'"
74
+ ></LayoutContentStaInfor>
75
+
76
+ <LayoutContentUserInfor
73
77
  v-if="menuKey==='mmUserInfor'"
74
- ></LayoutContentInfor>
78
+ ></LayoutContentUserInfor>
75
79
 
76
80
  <LayoutContentUsers
77
81
  v-if="menuKey==='mmUsersList'"
78
82
  ></LayoutContentUsers>
79
83
 
80
- <LayoutContentSettings
81
- v-if="menuKey==='mmSettings'"
82
- ></LayoutContentSettings>
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 { mdiInformationVariantCircleOutline, mdiCogOutline, mdiCellphoneKey, mdiLockOpenRemoveOutline, mdiShieldKeyOutline, mdiArrowLeftBoldHexagonOutline, mdiArrowRightBoldHexagonOutline, mdiGamepadCircle, mdiStackOverflow, mdiAccountGroupOutline } from '@mdi/js/mdi.js'
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 LayoutContentInfor from './LayoutContentInfor.vue'
138
+ import LayoutContentStaInfor from './LayoutContentStaInfor.vue'
139
+ import LayoutContentUserInfor from './LayoutContentUserInfor.vue'
131
140
  import LayoutContentUsers from './LayoutContentUsers.vue'
132
- import LayoutContentSettings from './LayoutContentSettings.vue'
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
- LayoutContentInfor,
150
+ LayoutContentStaInfor,
151
+ LayoutContentUserInfor,
141
152
  LayoutContentUsers,
142
- LayoutContentSettings,
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: 'mmUserInfor',
163
+ menuKey: 'mmStaInfor',
157
164
 
158
165
  panelWidth: 0,
159
166
  panelHeight: 0,
160
167
 
161
168
  drawer: true,
162
- drawerWidth: 220,
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: 'mmSettings',
190
- text: vo.$t('mmSettings'),
191
- icon: mdiCogOutline,
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: 'systemTokenList',
205
- text: vo.$t('systemTokenList'),
206
- icon: mdiShieldKeyOutline,
206
+ key: 'mmIpsList',
207
+ text: vo.$t('mmIpsList'),
208
+ icon: mdiIpNetwork,
207
209
  },
208
210
  ]
209
211
  return ms