w-web-perm 1.0.11 → 1.0.13

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 (73) hide show
  1. package/.github/workflows/ci-test.yml +1 -1
  2. package/.vscode/launch.json +0 -1
  3. package/README.md +0 -1
  4. package/dist/css/app.f22995d1.css +1 -0
  5. package/dist/index.tmp +1 -1
  6. package/dist/js/app-legacy.82274c39.js +2 -0
  7. package/dist/js/app-legacy.82274c39.js.map +1 -0
  8. package/dist/js/app.82274c39.js +2 -0
  9. package/dist/js/app.82274c39.js.map +1 -0
  10. package/dist/js/chunk-vendors-legacy.d89048a8.js +13 -0
  11. package/dist/js/chunk-vendors-legacy.d89048a8.js.map +1 -0
  12. package/dist/js/chunk-vendors.d89048a8.js +13 -0
  13. package/dist/js/chunk-vendors.d89048a8.js.map +1 -0
  14. package/dist/w-web-perm.umd.js +2 -2
  15. package/dist/w-web-perm.umd.js.map +1 -1
  16. package/docs/WWebPerm.html +2 -2
  17. package/docs/WWebPerm.mjs.html +212 -64
  18. package/docs/index.html +1 -1
  19. package/g.backupDb.mjs +1 -1
  20. package/g.initialData.mjs +211 -111
  21. package/g.initialTestData.mjs +2 -1
  22. package/g.mjs +0 -0
  23. package/g.provideGrups.mjs +87 -0
  24. package/g.providePemis.mjs +43 -0
  25. package/g.provideTargets.mjs +20 -13
  26. package/g.provideUsers.mjs +45 -13
  27. package/package.json +11 -11
  28. package/script.txt +22 -0
  29. package/server/WWebPerm.mjs +211 -63
  30. package/server/provideGrups.mjs +64 -0
  31. package/server/{provideRuleGroups.mjs → providePemis.mjs} +14 -15
  32. package/server/provideTargets.mjs +8 -5
  33. package/server/provideUsers.mjs +9 -9
  34. package/src/App.vue +18 -5
  35. package/src/components/Common/LoadingWinBar.vue +1 -1
  36. package/src/components/Layout.vue +13 -5
  37. package/src/components/LayoutContent.vue +31 -16
  38. package/src/components/LayoutContentGrups.vue +793 -0
  39. package/src/components/LayoutContentPemis.vue +793 -0
  40. package/src/components/LayoutContentTargets.vue +481 -307
  41. package/src/components/LayoutContentUsers.vue +796 -291
  42. package/src/components/LayoutState.vue +1 -1
  43. package/src/components/VeCgrups.vue +926 -0
  44. package/src/components/VeCpemis.vue +926 -0
  45. package/src/components/VeCrules.vue +820 -0
  46. package/src/main.js +2 -2
  47. package/src/perm.mjs +5 -5
  48. package/src/plugins/mDataSelectorSchema.mjs +2 -2
  49. package/src/plugins/mDataSupport.mjs +4 -4
  50. package/src/plugins/mShare.mjs +444 -153
  51. package/src/plugins/mUI.mjs +37 -19
  52. package/src/schema/gi.mjs +1 -1
  53. package/src/schema/index.mjs +4 -2
  54. package/src/schema/tables/grups.mjs +154 -0
  55. package/src/schema/tables/{ruleGroups.mjs → pemis.mjs} +27 -16
  56. package/src/schema/tables/targets.mjs +49 -16
  57. package/src/schema/tables/users.mjs +55 -27
  58. package/src/store/mutations.mjs +375 -150
  59. package/srv.mjs +2 -2
  60. package/tableTags-web-perm.json +1 -1
  61. package/dist/css/app.de0fb2b6.css +0 -1
  62. package/dist/js/app-legacy.b990ec2e.js +0 -2
  63. package/dist/js/app-legacy.b990ec2e.js.map +0 -1
  64. package/dist/js/app.b990ec2e.js +0 -2
  65. package/dist/js/app.b990ec2e.js.map +0 -1
  66. package/dist/js/chunk-vendors-legacy.d6cc2480.js +0 -13
  67. package/dist/js/chunk-vendors-legacy.d6cc2480.js.map +0 -1
  68. package/dist/js/chunk-vendors.d6cc2480.js +0 -13
  69. package/dist/js/chunk-vendors.d6cc2480.js.map +0 -1
  70. package/g.provideRuleGroups.mjs +0 -56
  71. package/src/components/LayoutContentGroups.vue +0 -671
  72. package/src/components/VeUser.vue +0 -446
  73. package/src/components/ruleGroup.vue +0 -645
package/src/main.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import Vue from 'vue'
2
- import get from 'lodash-es/get'
2
+ import get from 'lodash-es/get.js'
3
3
  import WServHapiClient from 'w-serv-hapi/src/WServHapiClient.mjs'
4
4
  import WAlert from 'w-component-vue/src/components/WAlert.mjs'
5
5
  import domMutation from 'w-component-vue/src/js/domMutation.mjs'
@@ -39,7 +39,7 @@ Vue.prototype.$t = ui.getKpText
39
39
  Vue.prototype.$s = s
40
40
  Vue.prototype.$dssm = dssm
41
41
  // Vue.prototype.$dspt = dspt
42
- // Vue.prototype.$ds = ds
42
+ Vue.prototype.$ds = ds
43
43
  Vue.prototype.$dg = {}
44
44
 
45
45
  //directive
package/src/perm.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import axios from 'axios'
2
- import get from 'lodash-es/get'
2
+ import get from 'lodash-es/get.js'
3
3
  import isestr from 'wsemi/src/isestr.mjs'
4
4
  import isbol from 'wsemi/src/isbol.mjs'
5
5
  import isfun from 'wsemi/src/isfun.mjs'
@@ -84,16 +84,16 @@ function perm() {
84
84
  return u
85
85
  },
86
86
  getRules: () => {
87
- return get(pmd, `rules`, {})
87
+ return get(pmd, `pemis`, {})
88
88
  },
89
89
  rule: (key) => {
90
- return get(pmd, `rules.${key}`, {})
90
+ return get(pmd, `pemis.${key}`, {})
91
91
  },
92
92
  show: (key) => {
93
- return get(pmd, `rules.${key}.show`, 'n')
93
+ return get(pmd, `pemis.${key}.show`, 'n')
94
94
  },
95
95
  active: (key) => {
96
- return get(pmd, `rules.${key}.active`, 'n')
96
+ return get(pmd, `pemis.${key}.active`, 'n')
97
97
  },
98
98
  }
99
99
 
@@ -1,5 +1,5 @@
1
- import get from 'lodash-es/get'
2
- import find from 'lodash-es/find'
1
+ import get from 'lodash-es/get.js'
2
+ import find from 'lodash-es/find.js'
3
3
  import isestr from 'wsemi/src/isestr.mjs'
4
4
 
5
5
 
@@ -1,7 +1,7 @@
1
- // import get from 'lodash-es/get'
2
- // import each from 'lodash-es/each'
3
- // import map from 'lodash-es/map'
4
- // import cloneDeep from 'lodash-es/cloneDeep'
1
+ // import get from 'lodash-es/get.js'
2
+ // import each from 'lodash-es/each.js'
3
+ // import map from 'lodash-es/map.js'
4
+ // import cloneDeep from 'lodash-es/cloneDeep.js'
5
5
  // import isestr from 'wsemi/src/isestr.mjs'
6
6
  // import isfun from 'wsemi/src/isfun.mjs'
7
7
  // import iseobj from 'wsemi/src/iseobj.mjs'