w-web-api 1.0.53 → 1.0.55

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 (94) hide show
  1. package/README.md +1 -1
  2. package/dist/css/{app.fe69497a.css → app.cad4a1ca.css} +1 -1
  3. package/dist/index.tmp +1 -1
  4. package/dist/js/app-legacy.7687b23b.js +1 -0
  5. package/dist/js/app.7687b23b.js +1 -0
  6. package/dist/js/chunk-vendors-legacy.4c27cf51.js +15 -0
  7. package/dist/js/chunk-vendors.4c27cf51.js +15 -0
  8. package/dist/w-web-api.umd.js +2 -2
  9. package/dist/w-web-api.umd.js.map +1 -1
  10. package/docs/WWebApi.html +1 -1
  11. package/docs/index.html +1 -1
  12. package/docs/server_WWebApi.mjs.html +24 -34
  13. package/docs/src_components_Common_CheckYesNo.vue.html +1 -1
  14. package/logs/2026-06-19T16.log +6 -0
  15. package/logs/2026-06-20T11.log +4 -0
  16. package/logs/2026-06-20T14.log +2 -0
  17. package/logs/2026-06-21T20.log +1 -0
  18. package/logs/2026-06-21T21.log +4 -0
  19. package/logs/2026-06-22T07.log +12 -0
  20. package/logs/2026-06-22T08.log +808 -0
  21. package/logs/2026-06-22T09.log +104 -0
  22. package/logs/2026-06-22T10.log +26 -0
  23. package/logs/2026-06-22T11.log +860 -0
  24. package/logs/2026-06-22T12.log +430 -0
  25. package/logs/2026-06-22T23.log +1547 -0
  26. package/logs/2026-06-23T00.log +473 -0
  27. package/logs/2026-06-23T08.log +231 -0
  28. package/logs/2026-06-23T09.log +179 -0
  29. package/logs/2026-07-01T11.log +488 -0
  30. package/logs/2026-07-09T22.log +370 -0
  31. package/logs/2026-07-09T23.log +370 -0
  32. package/logs/2026-07-10T12.log +284 -0
  33. package/logs/2026-07-10T13.log +777 -0
  34. package/logs/2026-07-11T17.log +2 -0
  35. package/package.json +15 -14
  36. package/server/WWebApi.mjs +23 -33
  37. package/server/procLang.mjs +8 -88
  38. package/server/procProxy.mjs +89 -89
  39. package/server/srLog.mjs +2 -2
  40. package/server/staLogs/filterVpfsByWindow.mjs +27 -0
  41. package/server/staLogs/staEvent.mjs +4 -2
  42. package/server/staLogs/test_staEvent.mjs +67 -1
  43. package/settings.json +4 -0
  44. package/src/components/Layout.vue +1 -20
  45. package/src/components/LayoutContent.vue +0 -26
  46. package/src/components/LayoutContentEdit.vue +2 -2
  47. package/src/components/LayoutContentTest.vue +1 -19
  48. package/src/main.js +3 -8
  49. package/src/plugins/mUI.mjs +0 -35
  50. package/src/store/mutations.mjs +0 -14
  51. package/src/store/types.mjs +0 -3
  52. package/srv.mjs +6 -4
  53. package/tableTags.json +1 -1
  54. package/z/344/277/256/346/255/243/350/246/217/345/212/203/346/233/270.md +246 -0
  55. package/_gh-pages-deploy/.nojekyll +0 -0
  56. package/_gh-pages-deploy/WWebApi.html +0 -898
  57. package/_gh-pages-deploy/fonts/Montserrat/Montserrat-Bold.eot +0 -0
  58. package/_gh-pages-deploy/fonts/Montserrat/Montserrat-Bold.ttf +0 -0
  59. package/_gh-pages-deploy/fonts/Montserrat/Montserrat-Bold.woff +0 -0
  60. package/_gh-pages-deploy/fonts/Montserrat/Montserrat-Bold.woff2 +0 -0
  61. package/_gh-pages-deploy/fonts/Montserrat/Montserrat-Regular.eot +0 -0
  62. package/_gh-pages-deploy/fonts/Montserrat/Montserrat-Regular.ttf +0 -0
  63. package/_gh-pages-deploy/fonts/Montserrat/Montserrat-Regular.woff +0 -0
  64. package/_gh-pages-deploy/fonts/Montserrat/Montserrat-Regular.woff2 +0 -0
  65. package/_gh-pages-deploy/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.eot +0 -0
  66. package/_gh-pages-deploy/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.svg +0 -978
  67. package/_gh-pages-deploy/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.ttf +0 -0
  68. package/_gh-pages-deploy/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.woff +0 -0
  69. package/_gh-pages-deploy/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.woff2 +0 -0
  70. package/_gh-pages-deploy/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.eot +0 -0
  71. package/_gh-pages-deploy/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.svg +0 -1049
  72. package/_gh-pages-deploy/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.ttf +0 -0
  73. package/_gh-pages-deploy/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.woff +0 -0
  74. package/_gh-pages-deploy/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.woff2 +0 -0
  75. package/_gh-pages-deploy/index.html +0 -84
  76. package/_gh-pages-deploy/scripts/collapse.js +0 -39
  77. package/_gh-pages-deploy/scripts/commonNav.js +0 -28
  78. package/_gh-pages-deploy/scripts/linenumber.js +0 -25
  79. package/_gh-pages-deploy/scripts/nav.js +0 -12
  80. package/_gh-pages-deploy/scripts/polyfill.js +0 -4
  81. package/_gh-pages-deploy/scripts/prettify/Apache-License-2.0.txt +0 -202
  82. package/_gh-pages-deploy/scripts/prettify/lang-css.js +0 -2
  83. package/_gh-pages-deploy/scripts/prettify/prettify.js +0 -28
  84. package/_gh-pages-deploy/scripts/search.js +0 -99
  85. package/_gh-pages-deploy/server_WWebApi.mjs.html +0 -1012
  86. package/_gh-pages-deploy/src_components_Common_CheckYesNo.vue.html +0 -187
  87. package/_gh-pages-deploy/styles/jsdoc.css +0 -776
  88. package/_gh-pages-deploy/styles/prettify.css +0 -80
  89. package/dist/js/app-legacy.15819aa7.js +0 -1
  90. package/dist/js/app.15819aa7.js +0 -1
  91. package/dist/js/chunk-vendors-legacy.c1a32dd1.js +0 -15
  92. package/dist/js/chunk-vendors.c1a32dd1.js +0 -15
  93. package/src/plugins/mDataSelectorSchema.mjs +0 -30
  94. package/src/plugins/mShare.mjs +0 -44
@@ -1,187 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
-
5
- <meta charset="utf-8">
6
- <title>src/components/Common/CheckYesNo.vue - Documentation</title>
7
-
8
-
9
- <script src="scripts/prettify/prettify.js"></script>
10
- <script src="scripts/prettify/lang-css.js"></script>
11
- <!--[if lt IE 9]>
12
- <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
13
- <![endif]-->
14
- <link type="text/css" rel="stylesheet" href="styles/prettify.css">
15
- <link type="text/css" rel="stylesheet" href="styles/jsdoc.css">
16
- <script src="scripts/nav.js" defer></script>
17
-
18
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
19
- </head>
20
- <body>
21
-
22
- <input type="checkbox" id="nav-trigger" class="nav-trigger" />
23
- <label for="nav-trigger" class="navicon-button x">
24
- <div class="navicon"></div>
25
- </label>
26
-
27
- <label for="nav-trigger" class="overlay"></label>
28
-
29
- <nav >
30
-
31
-
32
- <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="WWebApi.html">WWebApi</a></li></ul>
33
-
34
- </nav>
35
-
36
- <div id="main">
37
-
38
- <h1 class="page-title">src/components/Common/CheckYesNo.vue</h1>
39
-
40
-
41
-
42
-
43
-
44
-
45
-
46
- <section>
47
- <article>
48
- <pre class="prettyprint source linenums"><code>&lt;template>
49
- &lt;WConfirm
50
- :show.sync="bShow"
51
- :title="$t('systemMessage')"
52
- :content="content"
53
- :_contentColor="'white'"
54
- :_contentIconColor="'white'"
55
- :_contentBackgroundColor="'orange lighten-5'"
56
- :_titleColor="'white'"
57
- :headerBackgroundColor="'grey lighten-3'"
58
- :noBtnText="$t('no')"
59
- :yesBtnText="$t('yes')"
60
- @click-no="clickBtn(false)"
61
- @click-yes="clickBtn(true)"
62
- >&lt;/WConfirm>
63
- &lt;/template>
64
-
65
- &lt;script>
66
- import Vue from 'vue'
67
- import genPm from 'wsemi/src/genPm.mjs'
68
- import WConfirm from 'w-component-vue/src/components/WConfirm.vue'
69
-
70
- export default {
71
- components: {
72
- WConfirm,
73
- },
74
- props: {
75
- },
76
- data: function() {
77
- return {
78
-
79
- bShow: false,
80
- pm: null,
81
-
82
- content: '',
83
-
84
- }
85
- },
86
- mounted: function() {
87
- //console.log('mounted')
88
-
89
- let vo = this
90
-
91
- //set
92
- Vue.prototype.$dg.showCheckYesNo = vo.show
93
-
94
- },
95
- computed: {
96
- },
97
- methods: {
98
-
99
- /**
100
- * 顯示 Yes/No 確認對話框並回傳 Promise。
101
- *
102
- * **Contract** (caller 須遵守):
103
- * - 使用者點 **Yes** → Promise `resolve()` (無值, 進 `.then()`)
104
- * - 使用者點 **No** → Promise `reject('close')` (進 `.catch(err => err === 'close')`)
105
- *
106
- * 正確 caller pattern:
107
- *
108
- * vo.$dg.showCheckYesNo('確定要 X?')
109
- * .then(() => {
110
- * //使用者點 Yes
111
- * doX()
112
- * })
113
- * .catch((err) => {
114
- * //使用者點 No (err === 'close') 為正常路徑, 靜默處理
115
- * if (err === 'close') return
116
- * //非預期錯誤 (CheckYesNo 本身故障等)
117
- * console.log('showCheckYesNo unexpected error', err)
118
- * })
119
- *
120
- * @param {string} content - 顯示在 modal 中的訊息文字
121
- * @returns {Promise&lt;void>} Yes → resolve(); No → reject('close')
122
- */
123
- show: function(content) {
124
- //console.log('methods show', content)
125
-
126
- let vo = this
127
-
128
- //pm
129
- vo.pm = genPm()
130
-
131
- //save
132
- vo.content = content
133
-
134
- //show
135
- vo.bShow = true
136
-
137
- return vo.pm
138
- },
139
-
140
- clickBtn: function(mode) {
141
- //console.log('methods clickBtn', mode)
142
-
143
- let vo = this
144
-
145
- if (mode) {
146
- vo.pm.resolve()
147
- }
148
- else {
149
- vo.pm.reject('close')
150
- }
151
-
152
- //hide
153
- vo.bShow = false
154
-
155
- },
156
-
157
- }
158
- }
159
- &lt;/script>
160
-
161
- &lt;style scoped>
162
- &lt;/style>
163
- </code></pre>
164
- </article>
165
- </section>
166
-
167
-
168
-
169
-
170
-
171
-
172
- </div>
173
-
174
- <br class="clear">
175
-
176
- <footer>
177
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a> on Mon Jun 22 2026 15:42:09 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
178
- </footer>
179
-
180
- <script>prettyPrint();</script>
181
- <script src="scripts/polyfill.js"></script>
182
- <script src="scripts/linenumber.js"></script>
183
-
184
-
185
-
186
- </body>
187
- </html>