w-web-perm 1.0.85 → 1.0.86

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 (66) hide show
  1. package/dist/index.tmp +1 -1
  2. package/dist/js/{chunk-vendors-legacy.7b6ae0b0.js → chunk-vendors-legacy.d85138b8.js} +1 -1
  3. package/dist/js/{chunk-vendors.7b6ae0b0.js → chunk-vendors.d85138b8.js} +1 -1
  4. package/dist/w-web-perm.umd.js +1 -1
  5. package/docs/WWebPerm.html +1 -1
  6. package/docs/global.html +1 -1
  7. package/docs/index.html +1 -1
  8. package/docs/server_WWebPerm.mjs.html +1 -1
  9. package/docs/server_procCore.mjs.html +1 -1
  10. package/docs/src_fetchJson.mjs.html +1 -1
  11. package/package.json +2 -2
  12. package/tableTags-web-perm.json +1 -1
  13. package/w-web-perm/351/232/250/351/231/204/350/263/207/346/226/231/README.md +0 -58
  14. package/w-web-perm/351/232/250/351/231/204/350/263/207/346/226/231/diff/server_procLang.mjs.diff +0 -31
  15. package/w-web-perm/351/232/250/351/231/204/350/263/207/346/226/231/diff/src_App.vue.diff +0 -19
  16. package/w-web-perm/351/232/250/351/231/204/350/263/207/346/226/231/diff/src_components_LayoutContentGrups.vue.diff +0 -40
  17. package/w-web-perm/351/232/250/351/231/204/350/263/207/346/226/231/diff/src_components_LayoutContentPemis.vue.diff +0 -40
  18. package/w-web-perm/351/232/250/351/231/204/350/263/207/346/226/231/diff/src_components_ModeSelectChip.vue.new.diff +0 -124
  19. package/w-web-perm/351/232/250/351/231/204/350/263/207/346/226/231/diff/src_components_RelationChip.vue.new.diff +0 -116
  20. package/w-web-perm/351/232/250/351/231/204/350/263/207/346/226/231/diff/src_components_RelationChips.vue.new.diff +0 -152
  21. package/w-web-perm/351/232/250/351/231/204/350/263/207/346/226/231/diff/src_components_VeCgrups.vue.diff +0 -76
  22. package/w-web-perm/351/232/250/351/231/204/350/263/207/346/226/231/diff/src_components_VeCpemis.vue.diff +0 -76
  23. package/w-web-perm/351/232/250/351/231/204/350/263/207/346/226/231/diff/src_components_VeCrules.vue.diff +0 -14
  24. package/w-web-perm/351/232/250/351/231/204/350/263/207/346/226/231/diff/src_components_VeGrupBlngUsers.vue.diff +0 -121
  25. package/w-web-perm/351/232/250/351/231/204/350/263/207/346/226/231/diff/src_components_VePemiBlngGrups.vue.diff +0 -121
  26. package/w-web-perm/351/232/250/351/231/204/350/263/207/346/226/231/server/procLang.mjs +0 -1049
  27. package/w-web-perm/351/232/250/351/231/204/350/263/207/346/226/231/src/App.vue +0 -204
  28. package/w-web-perm/351/232/250/351/231/204/350/263/207/346/226/231/src/components/LayoutContentGrups.vue +0 -1260
  29. package/w-web-perm/351/232/250/351/231/204/350/263/207/346/226/231/src/components/LayoutContentPemis.vue +0 -1262
  30. package/w-web-perm/351/232/250/351/231/204/350/263/207/346/226/231/src/components/ModeSelectChip.vue +0 -121
  31. package/w-web-perm/351/232/250/351/231/204/350/263/207/346/226/231/src/components/RelationChip.vue +0 -113
  32. package/w-web-perm/351/232/250/351/231/204/350/263/207/346/226/231/src/components/RelationChips.vue +0 -149
  33. package/w-web-perm/351/232/250/351/231/204/350/263/207/346/226/231/src/components/VeCgrups.vue +0 -943
  34. package/w-web-perm/351/232/250/351/231/204/350/263/207/346/226/231/src/components/VeCpemis.vue +0 -943
  35. package/w-web-perm/351/232/250/351/231/204/350/263/207/346/226/231/src/components/VeCrules.vue +0 -848
  36. package/w-web-perm/351/232/250/351/231/204/350/263/207/346/226/231/src/components/VeGrupBlngUsers.vue +0 -1157
  37. package/w-web-perm/351/232/250/351/231/204/350/263/207/346/226/231/src/components/VePemiBlngGrups.vue +0 -1157
  38. package/w-web-perm/351/232/250/351/231/204/350/263/207/346/226/231//351/251/227/350/255/211/346/210/252/345/234/226/A-/347/256/241/347/220/206/346/254/212/351/231/220/344/270/273/350/241/250.png +0 -0
  39. package/w-web-perm/351/232/250/351/231/204/350/263/207/346/226/231//351/251/227/350/255/211/346/210/252/345/234/226/A-/347/256/241/347/220/206/346/254/212/351/231/220/347/276/244/347/265/204/344/270/273/350/241/250.png +0 -0
  40. package/w-web-perm/351/232/250/351/231/204/350/263/207/346/226/231//351/251/227/350/255/211/346/210/252/345/234/226/B1-/347/267/250/350/274/257/346/211/200/345/261/254/346/254/212/351/231/220/347/276/244/347/265/204-/345/260/215/350/251/261/346/241/206.png +0 -0
  41. package/w-web-perm/351/232/250/351/231/204/350/263/207/346/226/231//351/251/227/350/255/211/346/210/252/345/234/226/B2-/347/267/250/350/274/257/346/211/200/345/261/254/346/254/212/351/231/220/347/276/244/347/265/204-hover/346/234/254/351/240/205chip.png +0 -0
  42. package/w-web-perm/351/232/250/351/231/204/350/263/207/346/226/231//351/251/227/350/255/211/346/210/252/345/234/226/B3-/347/267/250/350/274/257/346/211/200/345/261/254/346/254/212/351/231/220/347/276/244/347/265/204-/345/261/225/351/226/213/346/234/254/351/240/205chip/346/270/205/345/226/256.png +0 -0
  43. package/w-web-perm/351/232/250/351/231/204/350/263/207/346/226/231//351/251/227/350/255/211/346/210/252/345/234/226/B4-/347/267/250/350/274/257/346/211/200/345/261/254/346/254/212/351/231/220/347/276/244/347/265/204-/346/234/254/351/240/205chip/345/267/262/347/202/272AND.png +0 -0
  44. package/w-web-perm/351/232/250/351/231/204/350/263/207/346/226/231//351/251/227/350/255/211/346/210/252/345/234/226/B5-/347/267/250/350/274/257/346/211/200/345/261/254/346/254/212/351/231/220/347/276/244/347/265/204-/345/261/225/351/226/213/345/205/250/351/203/250/346/265/256/345/261/244.png +0 -0
  45. package/w-web-perm/351/232/250/351/231/204/350/263/207/346/226/231//351/251/227/350/255/211/346/210/252/345/234/226/B6-/347/267/250/350/274/257/346/211/200/345/261/254/346/254/212/351/231/220/347/276/244/347/265/204-/345/213/276/351/201/270/345/276/214/346/234/254/351/240/205chip/345/234/250/351/246/226/344/275/215.png +0 -0
  46. package/w-web-perm/351/232/250/351/231/204/350/263/207/346/226/231//351/251/227/350/255/211/346/210/252/345/234/226/C1-/347/267/250/350/274/257/344/275/277/347/224/250/346/254/212/351/231/220-/345/260/215/350/251/261/346/241/206.png +0 -0
  47. package/w-web-perm/351/232/250/351/231/204/350/263/207/346/226/231//351/251/227/350/255/211/346/210/252/345/234/226/C2-/347/267/250/350/274/257/344/275/277/347/224/250/346/254/212/351/231/220-hover/345/267/262/345/213/276/351/201/270/345/210/227/346/216/247/345/210/266/351/240/205.png +0 -0
  48. package/w-web-perm/351/232/250/351/231/204/350/263/207/346/226/231//351/251/227/350/255/211/346/210/252/345/234/226/C3-/347/267/250/350/274/257/344/275/277/347/224/250/346/254/212/351/231/220-/345/261/225/351/226/213/346/270/205/345/226/256.png +0 -0
  49. package/w-web-perm/351/232/250/351/231/204/350/263/207/346/226/231//351/251/227/350/255/211/346/210/252/345/234/226/D1-/347/267/250/350/274/257/346/211/200/345/261/254/344/275/277/347/224/250/350/200/205-/345/260/215/350/251/261/346/241/206.png +0 -0
  50. package/w-web-perm/351/232/250/351/231/204/350/263/207/346/226/231//351/251/227/350/255/211/346/210/252/345/234/226/E1-/347/267/250/350/274/257/344/275/277/347/224/250/346/254/212/351/231/220/347/276/244/347/265/204-hover.png +0 -0
  51. package/w-web-perm/351/232/250/351/231/204/350/263/207/346/226/231//351/251/227/350/255/211/346/210/252/345/234/226/E2-/347/267/250/350/274/257/344/275/277/347/224/250/346/254/212/351/231/220/347/276/244/347/265/204-/345/261/225/351/226/213/346/270/205/345/226/256.png +0 -0
  52. package/w-web-perm/351/232/250/351/231/204/350/263/207/346/226/231//351/251/227/350/255/211/346/210/252/345/234/226/F1-/345/261/225/347/244/272/346/211/200/345/261/254/346/254/212/351/231/220/347/276/244/347/265/204-/345/224/257/350/256/200/346/205/213.png +0 -0
  53. package/w-web-perm/351/232/250/351/231/204/350/263/207/346/226/231//351/251/227/350/255/211/346/210/252/345/234/226/F2-/345/261/225/347/244/272/346/211/200/345/261/254/346/254/212/351/231/220/347/276/244/347/265/204-/345/261/225/351/226/213/345/205/250/351/203/250.png +0 -0
  54. package/w-web-perm/351/232/250/351/231/204/350/263/207/346/226/231//351/251/227/350/255/211/346/210/252/345/234/226/G1-zoom-/347/267/250/350/274/257/346/211/200/345/261/254/346/254/212/351/231/220/347/276/244/347/265/204-/345/211/215/345/205/255/345/210/227.png +0 -0
  55. package/w-web-perm/351/232/250/351/231/204/350/263/207/346/226/231//351/251/227/350/255/211/346/210/252/345/234/226/G2-zoom-/347/267/250/350/274/257/346/211/200/345/261/254/346/254/212/351/231/220/347/276/244/347/265/204-hover/346/234/254/351/240/205chip.png +0 -0
  56. package/w-web-perm/351/232/250/351/231/204/350/263/207/346/226/231//351/251/227/350/255/211/346/210/252/345/234/226/G3-zoom-/347/267/250/350/274/257/346/211/200/345/261/254/346/254/212/351/231/220/347/276/244/347/265/204-/345/261/225/351/226/213/346/270/205/345/226/256.png +0 -0
  57. package/w-web-perm/351/232/250/351/231/204/350/263/207/346/226/231//351/251/227/350/255/211/346/210/252/345/234/226/verify.json +0 -390
  58. package/w-web-perm/351/232/250/351/231/204/350/263/207/346/226/231//351/251/227/350/255/211/350/205/263/346/234/254/build.log +0 -93
  59. package/w-web-perm/351/232/250/351/231/204/350/263/207/346/226/231//351/251/227/350/255/211/350/205/263/346/234/254/lint.log +0 -23
  60. package/w-web-perm/351/232/250/351/231/204/350/263/207/346/226/231//351/251/227/350/255/211/350/205/263/346/234/254/zz_perm_probe.mjs +0 -321
  61. package/w-web-perm/351/232/250/351/231/204/350/263/207/346/226/231//351/251/227/350/255/211/350/205/263/346/234/254/zz_perm_zoom.mjs +0 -173
  62. package/w-web-perm/351/232/250/351/231/204/350/263/207/346/226/231//351/251/227/350/255/211/350/205/263/346/234/254/zz_wwp_verify.mjs +0 -330
  63. package//345/273/272/350/255/260w-aggrid-vue/350/252/277/346/225/264.md +0 -193
  64. package//345/273/272/350/255/260w-component-vue/350/210/207wsemi/350/252/277/346/225/264.md +0 -76
  65. package//345/273/272/350/255/260w-web-perm/350/252/277/346/225/264.md +0 -244
  66. package//346/226/275/345/267/245/345/226/256_/345/273/272/350/255/260w-web-perm/350/252/277/346/225/264.md +0 -166
@@ -1,204 +0,0 @@
1
- <template>
2
- <div
3
- v-domresize
4
- @domresize="resize"
5
- >
6
-
7
- <LayoutState :style="`opacity:${ready?0:1};`" v-if="!ready"></LayoutState>
8
-
9
- <transition enter-active-class="fade-enter-active" leave-active-class="fade-leave-active">
10
- <Layout v-if="ready"></Layout>
11
- </transition>
12
-
13
- <LoadingWinBar></LoadingWinBar>
14
- <CheckYesNo></CheckYesNo>
15
- <CheckYes></CheckYes>
16
-
17
- <VeCrules></VeCrules>
18
- <VeCpemis></VeCpemis>
19
- <VeCgrups></VeCgrups>
20
-
21
- <VeGrupBlngUsers></VeGrupBlngUsers>
22
- <VePemiBlngGrups></VePemiBlngGrups>
23
-
24
- </div>
25
- </template>
26
-
27
- <script>
28
- import get from 'lodash-es/get.js'
29
- import cloneDeep from 'lodash-es/cloneDeep.js'
30
- import isestr from 'wsemi/src/isestr.mjs'
31
- import iseobj from 'wsemi/src/iseobj.mjs'
32
- import isDev from 'wsemi/src/isDev.mjs'
33
- import wui from 'w-ui-loginout/src/WUiLoginout.mjs'
34
- import LoadingWinBar from './components/Common/LoadingWinBar.vue'
35
- import CheckYesNo from './components/Common/CheckYesNo.vue'
36
- import CheckYes from './components/Common/CheckYes.vue'
37
- import LayoutState from './components/LayoutState.vue'
38
- import Layout from './components/Layout.vue'
39
- import VeCrules from './components/VeCrules.vue'
40
- import VeCpemis from './components/VeCpemis.vue'
41
- import VeCgrups from './components/VeCgrups.vue'
42
- import VeGrupBlngUsers from './components/VeGrupBlngUsers.vue'
43
- import VePemiBlngGrups from './components/VePemiBlngGrups.vue'
44
-
45
-
46
- export default {
47
- components: {
48
- LoadingWinBar,
49
- CheckYesNo,
50
- CheckYes,
51
- LayoutState,
52
- Layout,
53
- VeCrules,
54
- VeCpemis,
55
- VeCgrups,
56
- VeGrupBlngUsers,
57
- VePemiBlngGrups,
58
- },
59
- data: function() {
60
- return {
61
- ll: null,
62
- }
63
- },
64
- beforeMount: function() {
65
- // console.log('methods beforeMount')
66
-
67
- let vo = this
68
-
69
- //setVo, 更換ui內vo, 才能使用廣播技術, 更換語系才能用廣播通知全部組件forceUpdate
70
- vo.$ui.setVo(vo)
71
-
72
- //setLang
73
- let lang = get(window, '___pmwperm___.language', '')
74
- vo.$ui.setLang(lang, 'app init') //初始化先讀取html內語系設定進行變更
75
- // console.log('lang', lang)
76
-
77
- function loginSuccess(data) {
78
- console.log('login success', cloneDeep(data.user))
79
- vo.$ui.updateConnState('csLogin')
80
- vo.$ui.updateUserToken(data.token)
81
- vo.$ui.updateUserSelf(data.user)
82
- }
83
-
84
- function loginError(data) {
85
- console.log('login error', cloneDeep(data))
86
- vo.$ui.updateConnState('csErrLogin')
87
- vo.$ui.updateUserToken('')
88
- let urlRedirect = get(window, '___pmwperm___.urlRedirect', '')
89
- if (!isestr(urlRedirect)) {
90
- console.log('urlRedirect', urlRedirect)
91
- throw new Error(`invalid urlRedirect`)
92
- }
93
- if (isDev()) {
94
- console.log('60s redirect to:', urlRedirect)
95
- setTimeout(() => {
96
- window.location.href = urlRedirect
97
- }, 60 * 1000)
98
- }
99
- else {
100
- window.location.href = urlRedirect
101
- }
102
- }
103
-
104
- //login
105
- console.log('login...')
106
- let ll = wui('wperm', {
107
- timeWaitAnimation: 2000,
108
- params: {},
109
- })
110
- ll.login({
111
- afterGetUser: null,
112
- afterLogin: null,
113
- loginSuccess,
114
- loginError,
115
- })
116
- vo.ll = ll
117
-
118
- },
119
- mounted: function() {
120
- let vo = this
121
-
122
- //set, 把目前vo儲存至window供外部非vue環境使用
123
- window.$vo = vo
124
-
125
- },
126
- computed: {
127
-
128
- ready: function() {
129
- //console.log('computed ready')
130
-
131
- let vo = this
132
-
133
- let connState = get(vo, `$store.state.connState`)
134
- let webInfor = get(vo, `$store.state.webInfor`)
135
-
136
- let b1 = connState === 'csLogin'
137
- let b2 = iseobj(webInfor)
138
- let b = b1 && b2
139
-
140
- return b
141
- },
142
-
143
- },
144
- methods: {
145
-
146
- resize: function(msg) {
147
- // console.log('methods resize', msg)
148
-
149
- let vo = this
150
-
151
- //syncHeight
152
- vo.$ui.syncHeight()
153
-
154
- },
155
-
156
- },
157
- }
158
- </script>
159
-
160
- <style>
161
- html,
162
- body {
163
- font-family: '微軟正黑體', 'Microsoft JhengHei', 'MicrosoftJhengHeiRegular', 'Avenir', Helvetica, Arial, sans-serif;
164
- overflow-y: hidden;
165
- }
166
-
167
- div,
168
- p,
169
- span,
170
- a,
171
- pre,
172
- input,
173
- textarea,
174
- button {
175
- font-family: inherit;
176
- }
177
-
178
- /* 關聯對話框之儲存格內有自己的控制項(模式下拉、勾選框、chip 下拉)時, 各 Ve*.vue 以 kpHeadFocusHighlight=false 讓 w-aggrid-vue 加 no-border,
179
- 但 w-aggrid-vue 2.0.86 之覆寫只寫 :focus(WAggridVue.vue:2874), 焦點落在儲存格之子元素時 ag-grid 31 以 :focus-within 畫框(ag-grid.css:6230),
180
- 故此處補 :focus-within; 待 w-aggrid-vue 修正(見 建議w-aggrid-vue修正.md)後可移除 */
181
- .CompCssWAggridVue .no-border.ag-cell:focus-within {
182
- border-color: transparent !important;
183
- outline: none;
184
- }
185
-
186
- .fade-enter-active {
187
- animation: go 1s;
188
- }
189
-
190
- .fade-leave-active {
191
- animation: back 1s;
192
- }
193
-
194
- @keyframes go {
195
- from { opacity: 0; }
196
- to {opacity: 1;}
197
- }
198
-
199
- @keyframes back {
200
- from { opacity: 1; }
201
- to { opacity: 0; }
202
- }
203
-
204
- </style>