w-table-vue 1.0.2 → 1.0.4

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 (36) hide show
  1. package/.jsdoc +25 -25
  2. package/README.md +1 -1
  3. package/dist/w-table-vue.umd.js +1 -1
  4. package/docs/examples/app.html +1 -1
  5. package/docs/examples/app.umd.js +2 -2
  6. package/docs/examples/app.umd.js.map +1 -1
  7. package/docs/examples/w-table-edit_default.html +1 -1
  8. package/docs/examples/w-table-edit_editable.html +1 -1
  9. package/docs/examples/w-table-edit_editable_checkId.html +1 -1
  10. package/docs/examples/w-table-edit_editable_checkId_opt.modifyDataWhenSave_save(call cmp. method).html +1 -1
  11. package/docs/examples/w-table-edit_editable_checkId_successMsgFromAddRow_errorMsgFromAddRow.html +1 -1
  12. package/docs/examples/w-table-edit_editable_inforPaddingStyle_menuBackgroundColor.html +1 -1
  13. package/docs/examples/w-table-edit_editable_language_checkId_tooltipAddRow.html +1 -1
  14. package/docs/examples/w-table-edit_editable_language_textLabelDataName_textPlaceholderDataName.html +1 -1
  15. package/docs/examples/w-table-edit_editable_no enableInfor.html +1 -1
  16. package/docs/examples/w-table-edit_editable_no enableMenu.html +1 -1
  17. package/docs/examples/w-table-edit_editable_opt.beforeAddRow.html +1 -1
  18. package/docs/examples/w-table-edit_editable_opt.kpConvertKeysWhenUploadData.html +1 -1
  19. package/docs/examples/w-table-edit_editable_opt.optForUploadData.html +1 -1
  20. package/docs/examples/w-table-edit_editable_slot btns-right.html +1 -1
  21. package/docs/examples/w-table-edit_fixIds (fix id).html +1 -1
  22. package/docs/examples/w-table-edit_hideIds (hide mappingId).html +1 -1
  23. package/docs/examples/w-table-edit_name_description.html +1 -1
  24. package/docs/examples/w-table-edit_no enableInfor.html +1 -1
  25. package/docs/examples/w-table-edit_no enableMenu.html +1 -1
  26. package/docs/examples/w-table-edit_opt.kpHead.html +1 -1
  27. package/docs/examples/w-table-edit_removeIdsWhenDownload (remove id, mappingId, order, isActive).html +1 -1
  28. package/docs/examples/w-table-edit_slot btns-left.html +1 -1
  29. package/docs/examples/w-table-edit_slot btns-right.html +1 -1
  30. package/docs/examples/w-table-edit_slot infor (name_description).html +1 -1
  31. package/docs/examples/w-table-edit_sortColIds (sort by order).html +1 -1
  32. package/docs/index.html +1 -1
  33. package/docs/module-WTableEdit.html +1 -1
  34. package/package.json +3 -3
  35. package/src/AppZoneWTableEdit.vue +26 -1
  36. package/src/components/demolink.vue +0 -105
@@ -43,7 +43,7 @@
43
43
  />
44
44
 
45
45
  <!-- w-table-vue -->
46
- <script src="https://cdn.jsdelivr.net/npm/w-table-vue@1.0.2/dist/w-table-vue.umd.js"></script>
46
+ <script src="https://cdn.jsdelivr.net/npm/w-table-vue@1.0.4/dist/w-table-vue.umd.js"></script>
47
47
 
48
48
  <style>
49
49
  .item {
@@ -43,7 +43,7 @@
43
43
  />
44
44
 
45
45
  <!-- w-table-vue -->
46
- <script src="https://cdn.jsdelivr.net/npm/w-table-vue@1.0.2/dist/w-table-vue.umd.js"></script>
46
+ <script src="https://cdn.jsdelivr.net/npm/w-table-vue@1.0.4/dist/w-table-vue.umd.js"></script>
47
47
 
48
48
  <style>
49
49
  .item {
@@ -43,7 +43,7 @@
43
43
  />
44
44
 
45
45
  <!-- w-table-vue -->
46
- <script src="https://cdn.jsdelivr.net/npm/w-table-vue@1.0.2/dist/w-table-vue.umd.js"></script>
46
+ <script src="https://cdn.jsdelivr.net/npm/w-table-vue@1.0.4/dist/w-table-vue.umd.js"></script>
47
47
 
48
48
  <style>
49
49
  .item {
@@ -43,7 +43,7 @@
43
43
  />
44
44
 
45
45
  <!-- w-table-vue -->
46
- <script src="https://cdn.jsdelivr.net/npm/w-table-vue@1.0.2/dist/w-table-vue.umd.js"></script>
46
+ <script src="https://cdn.jsdelivr.net/npm/w-table-vue@1.0.4/dist/w-table-vue.umd.js"></script>
47
47
 
48
48
  <style>
49
49
  .item {
@@ -43,7 +43,7 @@
43
43
  />
44
44
 
45
45
  <!-- w-table-vue -->
46
- <script src="https://cdn.jsdelivr.net/npm/w-table-vue@1.0.2/dist/w-table-vue.umd.js"></script>
46
+ <script src="https://cdn.jsdelivr.net/npm/w-table-vue@1.0.4/dist/w-table-vue.umd.js"></script>
47
47
 
48
48
  <style>
49
49
  .item {
@@ -43,7 +43,7 @@
43
43
  />
44
44
 
45
45
  <!-- w-table-vue -->
46
- <script src="https://cdn.jsdelivr.net/npm/w-table-vue@1.0.2/dist/w-table-vue.umd.js"></script>
46
+ <script src="https://cdn.jsdelivr.net/npm/w-table-vue@1.0.4/dist/w-table-vue.umd.js"></script>
47
47
 
48
48
  <style>
49
49
  .item {
@@ -43,7 +43,7 @@
43
43
  />
44
44
 
45
45
  <!-- w-table-vue -->
46
- <script src="https://cdn.jsdelivr.net/npm/w-table-vue@1.0.2/dist/w-table-vue.umd.js"></script>
46
+ <script src="https://cdn.jsdelivr.net/npm/w-table-vue@1.0.4/dist/w-table-vue.umd.js"></script>
47
47
 
48
48
  <style>
49
49
  .item {
@@ -43,7 +43,7 @@
43
43
  />
44
44
 
45
45
  <!-- w-table-vue -->
46
- <script src="https://cdn.jsdelivr.net/npm/w-table-vue@1.0.2/dist/w-table-vue.umd.js"></script>
46
+ <script src="https://cdn.jsdelivr.net/npm/w-table-vue@1.0.4/dist/w-table-vue.umd.js"></script>
47
47
 
48
48
  <style>
49
49
  .item {
@@ -43,7 +43,7 @@
43
43
  />
44
44
 
45
45
  <!-- w-table-vue -->
46
- <script src="https://cdn.jsdelivr.net/npm/w-table-vue@1.0.2/dist/w-table-vue.umd.js"></script>
46
+ <script src="https://cdn.jsdelivr.net/npm/w-table-vue@1.0.4/dist/w-table-vue.umd.js"></script>
47
47
 
48
48
  <style>
49
49
  .item {
@@ -43,7 +43,7 @@
43
43
  />
44
44
 
45
45
  <!-- w-table-vue -->
46
- <script src="https://cdn.jsdelivr.net/npm/w-table-vue@1.0.2/dist/w-table-vue.umd.js"></script>
46
+ <script src="https://cdn.jsdelivr.net/npm/w-table-vue@1.0.4/dist/w-table-vue.umd.js"></script>
47
47
 
48
48
  <style>
49
49
  .item {
@@ -43,7 +43,7 @@
43
43
  />
44
44
 
45
45
  <!-- w-table-vue -->
46
- <script src="https://cdn.jsdelivr.net/npm/w-table-vue@1.0.2/dist/w-table-vue.umd.js"></script>
46
+ <script src="https://cdn.jsdelivr.net/npm/w-table-vue@1.0.4/dist/w-table-vue.umd.js"></script>
47
47
 
48
48
  <style>
49
49
  .item {
@@ -43,7 +43,7 @@
43
43
  />
44
44
 
45
45
  <!-- w-table-vue -->
46
- <script src="https://cdn.jsdelivr.net/npm/w-table-vue@1.0.2/dist/w-table-vue.umd.js"></script>
46
+ <script src="https://cdn.jsdelivr.net/npm/w-table-vue@1.0.4/dist/w-table-vue.umd.js"></script>
47
47
 
48
48
  <style>
49
49
  .item {
@@ -43,7 +43,7 @@
43
43
  />
44
44
 
45
45
  <!-- w-table-vue -->
46
- <script src="https://cdn.jsdelivr.net/npm/w-table-vue@1.0.2/dist/w-table-vue.umd.js"></script>
46
+ <script src="https://cdn.jsdelivr.net/npm/w-table-vue@1.0.4/dist/w-table-vue.umd.js"></script>
47
47
 
48
48
  <style>
49
49
  .item {
@@ -43,7 +43,7 @@
43
43
  />
44
44
 
45
45
  <!-- w-table-vue -->
46
- <script src="https://cdn.jsdelivr.net/npm/w-table-vue@1.0.2/dist/w-table-vue.umd.js"></script>
46
+ <script src="https://cdn.jsdelivr.net/npm/w-table-vue@1.0.4/dist/w-table-vue.umd.js"></script>
47
47
 
48
48
  <style>
49
49
  .item {
@@ -43,7 +43,7 @@
43
43
  />
44
44
 
45
45
  <!-- w-table-vue -->
46
- <script src="https://cdn.jsdelivr.net/npm/w-table-vue@1.0.2/dist/w-table-vue.umd.js"></script>
46
+ <script src="https://cdn.jsdelivr.net/npm/w-table-vue@1.0.4/dist/w-table-vue.umd.js"></script>
47
47
 
48
48
  <style>
49
49
  .item {
@@ -43,7 +43,7 @@
43
43
  />
44
44
 
45
45
  <!-- w-table-vue -->
46
- <script src="https://cdn.jsdelivr.net/npm/w-table-vue@1.0.2/dist/w-table-vue.umd.js"></script>
46
+ <script src="https://cdn.jsdelivr.net/npm/w-table-vue@1.0.4/dist/w-table-vue.umd.js"></script>
47
47
 
48
48
  <style>
49
49
  .item {
@@ -43,7 +43,7 @@
43
43
  />
44
44
 
45
45
  <!-- w-table-vue -->
46
- <script src="https://cdn.jsdelivr.net/npm/w-table-vue@1.0.2/dist/w-table-vue.umd.js"></script>
46
+ <script src="https://cdn.jsdelivr.net/npm/w-table-vue@1.0.4/dist/w-table-vue.umd.js"></script>
47
47
 
48
48
  <style>
49
49
  .item {
@@ -43,7 +43,7 @@
43
43
  />
44
44
 
45
45
  <!-- w-table-vue -->
46
- <script src="https://cdn.jsdelivr.net/npm/w-table-vue@1.0.2/dist/w-table-vue.umd.js"></script>
46
+ <script src="https://cdn.jsdelivr.net/npm/w-table-vue@1.0.4/dist/w-table-vue.umd.js"></script>
47
47
 
48
48
  <style>
49
49
  .item {
@@ -43,7 +43,7 @@
43
43
  />
44
44
 
45
45
  <!-- w-table-vue -->
46
- <script src="https://cdn.jsdelivr.net/npm/w-table-vue@1.0.2/dist/w-table-vue.umd.js"></script>
46
+ <script src="https://cdn.jsdelivr.net/npm/w-table-vue@1.0.4/dist/w-table-vue.umd.js"></script>
47
47
 
48
48
  <style>
49
49
  .item {
@@ -43,7 +43,7 @@
43
43
  />
44
44
 
45
45
  <!-- w-table-vue -->
46
- <script src="https://cdn.jsdelivr.net/npm/w-table-vue@1.0.2/dist/w-table-vue.umd.js"></script>
46
+ <script src="https://cdn.jsdelivr.net/npm/w-table-vue@1.0.4/dist/w-table-vue.umd.js"></script>
47
47
 
48
48
  <style>
49
49
  .item {
@@ -43,7 +43,7 @@
43
43
  />
44
44
 
45
45
  <!-- w-table-vue -->
46
- <script src="https://cdn.jsdelivr.net/npm/w-table-vue@1.0.2/dist/w-table-vue.umd.js"></script>
46
+ <script src="https://cdn.jsdelivr.net/npm/w-table-vue@1.0.4/dist/w-table-vue.umd.js"></script>
47
47
 
48
48
  <style>
49
49
  .item {
@@ -43,7 +43,7 @@
43
43
  />
44
44
 
45
45
  <!-- w-table-vue -->
46
- <script src="https://cdn.jsdelivr.net/npm/w-table-vue@1.0.2/dist/w-table-vue.umd.js"></script>
46
+ <script src="https://cdn.jsdelivr.net/npm/w-table-vue@1.0.4/dist/w-table-vue.umd.js"></script>
47
47
 
48
48
  <style>
49
49
  .item {
@@ -43,7 +43,7 @@
43
43
  />
44
44
 
45
45
  <!-- w-table-vue -->
46
- <script src="https://cdn.jsdelivr.net/npm/w-table-vue@1.0.2/dist/w-table-vue.umd.js"></script>
46
+ <script src="https://cdn.jsdelivr.net/npm/w-table-vue@1.0.4/dist/w-table-vue.umd.js"></script>
47
47
 
48
48
  <style>
49
49
  .item {
@@ -43,7 +43,7 @@
43
43
  />
44
44
 
45
45
  <!-- w-table-vue -->
46
- <script src="https://cdn.jsdelivr.net/npm/w-table-vue@1.0.2/dist/w-table-vue.umd.js"></script>
46
+ <script src="https://cdn.jsdelivr.net/npm/w-table-vue@1.0.4/dist/w-table-vue.umd.js"></script>
47
47
 
48
48
  <style>
49
49
  .item {
@@ -43,7 +43,7 @@
43
43
  />
44
44
 
45
45
  <!-- w-table-vue -->
46
- <script src="https://cdn.jsdelivr.net/npm/w-table-vue@1.0.2/dist/w-table-vue.umd.js"></script>
46
+ <script src="https://cdn.jsdelivr.net/npm/w-table-vue@1.0.4/dist/w-table-vue.umd.js"></script>
47
47
 
48
48
  <style>
49
49
  .item {
package/docs/index.html CHANGED
@@ -71,7 +71,7 @@
71
71
  <br class="clear">
72
72
 
73
73
  <footer>
74
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a> on Wed Aug 19 2026 00:33:05 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
74
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a> on Wed Aug 19 2026 22:31:27 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
75
75
  </footer>
76
76
 
77
77
  <script>prettyPrint();</script>
@@ -1473,7 +1473,7 @@
1473
1473
  <br class="clear">
1474
1474
 
1475
1475
  <footer>
1476
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a> on Wed Aug 19 2026 00:33:05 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
1476
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a> on Wed Aug 19 2026 22:31:27 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
1477
1477
  </footer>
1478
1478
 
1479
1479
  <script>prettyPrint();</script>
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "w-table-vue",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "main": "dist/w-table-vue.umd.js",
5
5
  "dependencies": {
6
- "w-aggrid-vue": "^2.0.70",
7
- "w-component-vue": "^2.4.85",
6
+ "w-aggrid-vue": "^2.0.71",
7
+ "w-component-vue": "^2.4.87",
8
8
  "wsemi": "^1.8.77"
9
9
  },
10
10
  "devDependencies": {
@@ -10,6 +10,7 @@
10
10
 
11
11
  <div class="bk">
12
12
  <demolink
13
+ :pkgname="'w-table-vue'"
13
14
  :kbname="'w-table-edit'"
14
15
  :casename="'default'"
15
16
  ></demolink>
@@ -26,6 +27,7 @@
26
27
 
27
28
  <div class="bk">
28
29
  <demolink
30
+ :pkgname="'w-table-vue'"
29
31
  :kbname="'w-table-edit'"
30
32
  :casename="'name & description'"
31
33
  ></demolink>
@@ -44,6 +46,7 @@
44
46
 
45
47
  <div class="bk">
46
48
  <demolink
49
+ :pkgname="'w-table-vue'"
47
50
  :kbname="'w-table-edit'"
48
51
  :casename="'no enableInfor'"
49
52
  ></demolink>
@@ -63,6 +66,7 @@
63
66
 
64
67
  <div class="bk">
65
68
  <demolink
69
+ :pkgname="'w-table-vue'"
66
70
  :kbname="'w-table-edit'"
67
71
  :casename="'no enableMenu'"
68
72
  ></demolink>
@@ -82,6 +86,7 @@
82
86
 
83
87
  <div class="bk">
84
88
  <demolink
89
+ :pkgname="'w-table-vue'"
85
90
  :kbname="'w-table-edit'"
86
91
  :casename="'opt.kpHead'"
87
92
  ></demolink>
@@ -100,6 +105,7 @@
100
105
 
101
106
  <div class="bk">
102
107
  <demolink
108
+ :pkgname="'w-table-vue'"
103
109
  :kbname="'w-table-edit'"
104
110
  :casename="'sortColIds (sort by order)'"
105
111
  ></demolink>
@@ -119,6 +125,7 @@
119
125
 
120
126
  <div class="bk">
121
127
  <demolink
128
+ :pkgname="'w-table-vue'"
122
129
  :kbname="'w-table-edit'"
123
130
  :casename="'hideIds (hide mappingId)'"
124
131
  ></demolink>
@@ -139,6 +146,7 @@
139
146
 
140
147
  <div class="bk">
141
148
  <demolink
149
+ :pkgname="'w-table-vue'"
142
150
  :kbname="'w-table-edit'"
143
151
  :casename="'fixIds (fix id)'"
144
152
  ></demolink>
@@ -159,6 +167,7 @@
159
167
 
160
168
  <div class="bk">
161
169
  <demolink
170
+ :pkgname="'w-table-vue'"
162
171
  :kbname="'w-table-edit'"
163
172
  :casename="'removeIdsWhenDownload (remove id, mappingId, order, isActive)'"
164
173
  ></demolink>
@@ -178,6 +187,7 @@
178
187
 
179
188
  <div class="bk">
180
189
  <demolink
190
+ :pkgname="'w-table-vue'"
181
191
  :kbname="'w-table-edit'"
182
192
  :casename="'slot infor (name & description)'"
183
193
  ></demolink>
@@ -207,6 +217,7 @@
207
217
 
208
218
  <div class="bk">
209
219
  <demolink
220
+ :pkgname="'w-table-vue'"
210
221
  :kbname="'w-table-edit'"
211
222
  :casename="'slot btns-left'"
212
223
  ></demolink>
@@ -234,6 +245,7 @@
234
245
 
235
246
  <div class="bk">
236
247
  <demolink
248
+ :pkgname="'w-table-vue'"
237
249
  :kbname="'w-table-edit'"
238
250
  :casename="'slot btns-right'"
239
251
  ></demolink>
@@ -261,6 +273,7 @@
261
273
 
262
274
  <div class="bk">
263
275
  <demolink
276
+ :pkgname="'w-table-vue'"
264
277
  :kbname="'w-table-edit'"
265
278
  :casename="'editable'"
266
279
  ></demolink>
@@ -280,6 +293,7 @@
280
293
 
281
294
  <div class="bk">
282
295
  <demolink
296
+ :pkgname="'w-table-vue'"
283
297
  :kbname="'w-table-edit'"
284
298
  :casename="'editable & no enableInfor'"
285
299
  ></demolink>
@@ -300,6 +314,7 @@
300
314
 
301
315
  <div class="bk">
302
316
  <demolink
317
+ :pkgname="'w-table-vue'"
303
318
  :kbname="'w-table-edit'"
304
319
  :casename="'editable & no enableMenu'"
305
320
  ></demolink>
@@ -320,6 +335,7 @@
320
335
 
321
336
  <div class="bk">
322
337
  <demolink
338
+ :pkgname="'w-table-vue'"
323
339
  :kbname="'w-table-edit'"
324
340
  :casename="'editable & inforPaddingStyle & menuBackgroundColor'"
325
341
  ></demolink>
@@ -343,6 +359,7 @@
343
359
 
344
360
  <div class="bk">
345
361
  <demolink
362
+ :pkgname="'w-table-vue'"
346
363
  :kbname="'w-table-edit'"
347
364
  :casename="'editable & checkId'"
348
365
  ></demolink>
@@ -363,6 +380,7 @@
363
380
 
364
381
  <div class="bk">
365
382
  <demolink
383
+ :pkgname="'w-table-vue'"
366
384
  :kbname="'w-table-edit'"
367
385
  :casename="'editable & opt.beforeAddRow'"
368
386
  ></demolink>
@@ -382,6 +400,7 @@
382
400
 
383
401
  <div class="bk">
384
402
  <demolink
403
+ :pkgname="'w-table-vue'"
385
404
  :kbname="'w-table-edit'"
386
405
  :casename="'editable & opt.kpConvertKeysWhenUploadData'"
387
406
  ></demolink>
@@ -401,6 +420,7 @@
401
420
 
402
421
  <div class="bk">
403
422
  <demolink
423
+ :pkgname="'w-table-vue'"
404
424
  :kbname="'w-table-edit'"
405
425
  :casename="'editable & opt.optForUploadData'"
406
426
  ></demolink>
@@ -420,6 +440,7 @@
420
440
 
421
441
  <div class="bk">
422
442
  <demolink
443
+ :pkgname="'w-table-vue'"
423
444
  :kbname="'w-table-edit'"
424
445
  :casename="'editable & language & textLabelDataName & textPlaceholderDataName & textLabelDataDescription & textPlaceholderDataDescription'"
425
446
  ></demolink>
@@ -444,6 +465,7 @@
444
465
 
445
466
  <div class="bk">
446
467
  <demolink
468
+ :pkgname="'w-table-vue'"
447
469
  :kbname="'w-table-edit'"
448
470
  :casename="'editable & language & checkId & tooltipAddRow & tooltipDeleteSelectedRows & tooltipDownloadExcelFile & tooltipDownloadExcelFileForDisplay & tooltipUploadExcelFile & uploadModeTitle & uploadModeTextForReplace & uploadModeTextForAppend'"
449
471
  ></demolink>
@@ -473,6 +495,7 @@
473
495
 
474
496
  <div class="bk">
475
497
  <demolink
498
+ :pkgname="'w-table-vue'"
476
499
  :kbname="'w-table-edit'"
477
500
  :casename="'editable & checkId & successMsgFromAddRow & errorMsgFromAddRow & errorMsgFromRemoveRow & errorMsgFromUploadEmptyData & errorMsgFromUploadData & successMsgFromDownloadData & errorMsgFromDownloadData'"
478
501
  ></demolink>
@@ -501,6 +524,7 @@
501
524
 
502
525
  <div class="bk">
503
526
  <demolink
527
+ :pkgname="'w-table-vue'"
504
528
  :kbname="'w-table-edit'"
505
529
  :casename="'editable & slot btns-right'"
506
530
  ></demolink>
@@ -529,6 +553,7 @@
529
553
 
530
554
  <div class="bk">
531
555
  <demolink
556
+ :pkgname="'w-table-vue'"
532
557
  :kbname="'w-table-edit'"
533
558
  :casename="'editable & checkId & opt.modifyDataWhenSave & save(call cmp. method) & errorMsgFromNoName & errorMsgFromNoData'"
534
559
  ></demolink>
@@ -561,7 +586,7 @@
561
586
  </template>
562
587
 
563
588
  <script>
564
- import demolink from './components/demolink.vue'
589
+ import demolink from 'w-component-vue/src/components/demolink.vue'
565
590
  import WTableEdit from './components/WTableEdit.vue'
566
591
 
567
592
 
@@ -1,105 +0,0 @@
1
- <template>
2
- <div class="item">
3
-
4
- <div style="display:inline-block;">
5
- {{casename}}
6
- </div>
7
-
8
- <div style="padding-left:5px;"></div>
9
-
10
- <w-button-circle
11
- :paddingStyle="{v:3,h:3}"
12
- :icon="mdiLaunch"
13
- :iconSize="16"
14
- :iconColor="'red darken-1'"
15
- :iconColorHover="'red darken-1'"
16
- :iconColorFocus="'red darken-1'"
17
- :backgroundColor="'#fff'"
18
- :backgroundColorHover="'#fff5f5'"
19
- :backgroundColorFocus="'#fff2f2'"
20
- :tooltip="'example'"
21
- @click="ckExample"
22
- ></w-button-circle>
23
-
24
- <div style="padding-left:5px;"></div>
25
-
26
- <w-button-circle
27
- :paddingStyle="{v:3,h:3}"
28
- :icon="mdiUnfoldMoreVertical"
29
- :iconSize="16"
30
- :iconColor="'red darken-1'"
31
- :iconColorHover="'red darken-1'"
32
- :iconColorFocus="'red darken-1'"
33
- :backgroundColor="'#fff'"
34
- :backgroundColorHover="'#fff5f5'"
35
- :backgroundColorFocus="'#fff2f2'"
36
- :tooltip="'code'"
37
- @click="ckCode"
38
- ></w-button-circle>
39
-
40
- </div>
41
- </template>
42
-
43
- <script>
44
- import { mdiLaunch, mdiUnfoldMoreVertical } from '@mdi/js'
45
- import cvCasename from '../../toolg/cvCasename.mjs'
46
- import WButtonCircle from 'w-component-vue/src/components/WButtonCircle.vue'
47
-
48
-
49
- export default {
50
- components: {
51
- WButtonCircle,
52
- },
53
- props: {
54
- kbname: {
55
- type: String,
56
- },
57
- casename: {
58
- type: String,
59
- },
60
- },
61
- data: function() {
62
- return {
63
- mdiLaunch,
64
- mdiUnfoldMoreVertical
65
- }
66
- },
67
- mounted: function() {
68
- },
69
- computed: {
70
-
71
- fn: function() {
72
- let fnc = `${this.casename}`
73
- return `${this.kbname}_${cvCasename(fnc)}`
74
- },
75
-
76
- },
77
- methods: {
78
-
79
- ckExample: function() {
80
- let vo = this
81
- let url = 'https://yuda-lyu.github.io/w-table-vue/examples/' + vo.fn + '.html'
82
- window.open(url, '_blank')
83
- },
84
-
85
- ckCode: function() {
86
- let vo = this
87
- let url = 'https://github.com/yuda-lyu/w-table-vue/blob/master/docs/examples/' + vo.fn + '.html'
88
- window.open(url, '_blank')
89
- },
90
-
91
- },
92
- }
93
- </script>
94
-
95
- <style scoped>
96
- .item {
97
- border-left: 3px solid #ffba75;
98
- margin: 5px 5px 8px 0px;
99
- padding: 3px 3px 5px 10px;
100
- font-size: 0.9rem;
101
- display: flex;
102
- justify-content: flex-start;
103
- align-items: center;
104
- }
105
- </style>