@kengic/vue 0.29.1-beta.9 → 0.30.1-beta.0

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 (127) hide show
  1. package/CHANGELOG.md +83 -7
  2. package/dist/bubble-loading.cd2fe007.mjs +8 -0
  3. package/dist/close-circle-outlined.85f75690.mjs +8 -0
  4. package/dist/close-outlined.5757472a.mjs +8 -0
  5. package/dist/index.css +1 -1
  6. package/dist/kengic-vue.js +113162 -55865
  7. package/dist/src/component/KgAppSelect/KgAppSelect.hooks.d.ts +2 -28
  8. package/dist/src/component/KgAppSelect/KgAppSelect.store.d.ts +6 -12
  9. package/dist/src/component/KgButton/KgButton.hooks.d.ts +3 -144
  10. package/dist/src/component/KgButton/KgButton.store.d.ts +63 -36
  11. package/dist/src/component/KgCanvas/KgCanvas.hooks.d.ts +2 -2
  12. package/dist/src/component/KgCanvas/KgCanvas.store.d.ts +2 -6
  13. package/dist/src/component/KgForm/KgForm.hooks.d.ts +2 -2
  14. package/dist/src/component/KgForm/KgForm.store.d.ts +2 -4
  15. package/dist/src/component/KgForm.Item/KgForm.Item.d.ts +5 -5
  16. package/dist/src/component/KgForm.Item/KgForm.Item.service.d.ts +1 -1
  17. package/dist/src/component/KgForm.Item/components/KgForm.Item.Checkbox.d.ts +5 -5
  18. package/dist/src/component/KgForm.Item/components/KgForm.Item.CheckboxGroup.d.ts +7 -7
  19. package/dist/src/component/KgForm.Item/components/KgForm.Item.Date.d.ts +5 -5
  20. package/dist/src/component/KgForm.Item/components/KgForm.Item.DateRange.d.ts +5 -5
  21. package/dist/src/component/KgForm.Item/components/KgForm.Item.Image.d.ts +5 -11
  22. package/dist/src/component/KgForm.Item/components/KgForm.Item.Input.d.ts +5 -5
  23. package/dist/src/component/KgForm.Item/components/KgForm.Item.InputNumber.d.ts +5 -5
  24. package/dist/src/component/KgForm.Item/components/KgForm.Item.InputPassword.d.ts +5 -5
  25. package/dist/src/component/KgForm.Item/components/KgForm.Item.Link.d.ts +5 -5
  26. package/dist/src/component/KgForm.Item/components/KgForm.Item.RadioGroup.d.ts +9 -7
  27. package/dist/src/component/KgForm.Item/components/KgForm.Item.Select.d.ts +7 -7
  28. package/dist/src/component/KgForm.Item/components/KgForm.Item.Select.service.d.ts +1 -1
  29. package/dist/src/component/KgForm.Item/components/KgForm.Item.Switch.d.ts +5 -5
  30. package/dist/src/component/KgForm.Item/components/KgForm.Item.TextArea.d.ts +5 -5
  31. package/dist/src/component/KgForm.Item/index.d.ts +1 -1
  32. package/dist/src/component/KgSearch/KgSearch.hooks.d.ts +2 -2
  33. package/dist/src/component/KgSearch/KgSearch.service.d.ts +1 -1
  34. package/dist/src/component/KgSearch/KgSearch.store.d.ts +8 -10
  35. package/dist/src/component/KgSubmit/KgSubmit.hooks.d.ts +2 -2
  36. package/dist/src/component/KgSubmit/KgSubmit.store.d.ts +10 -9
  37. package/dist/src/component/KgSubmit/index.d.ts +1 -1
  38. package/dist/src/component/KgTable/KgTable.event.d.ts +1 -1
  39. package/dist/src/component/KgTable/KgTable.hooks.d.ts +10 -24
  40. package/dist/src/component/KgTable/KgTable.service.d.ts +1 -1
  41. package/dist/src/component/KgTable/KgTable.store.d.ts +41 -89
  42. package/dist/src/component/KgTable/components/KgTable.BodyCell.d.ts +1 -1
  43. package/dist/src/component/KgTable/components/KgTable.HeaderCell.d.ts +1 -2
  44. package/dist/src/component/KgTable/index.d.ts +1 -1
  45. package/dist/src/component/KgTable02/KgTable02.d.ts +46 -0
  46. package/dist/src/component/KgTable02/KgTable02.event.d.ts +97 -0
  47. package/dist/src/component/KgTable02/KgTable02.hooks.d.ts +32 -0
  48. package/dist/src/component/KgTable02/KgTable02.model.d.ts +1 -0
  49. package/dist/src/component/KgTable02/KgTable02.store.d.ts +62 -0
  50. package/dist/src/component/KgTable02/index.d.ts +4 -0
  51. package/dist/src/component/KgVar/KgVar.d.ts +1 -1
  52. package/dist/src/component/KgVar/KgVar.hooks.d.ts +23 -30
  53. package/dist/src/component/KgVar/{KgVar.vm.d.ts → KgVar.model.d.ts} +3 -1
  54. package/dist/src/component/KgVar/KgVar.store.d.ts +90 -102
  55. package/dist/src/component/KgVar/KgVarFactory.d.ts +8 -20
  56. package/dist/src/component/KgVar/index.d.ts +1 -1
  57. package/dist/src/component/KgVarConfig/KgVarConfig.hooks.d.ts +3 -21
  58. package/dist/src/component/KgVarConfig/KgVarConfig.store.d.ts +2 -6
  59. package/dist/src/component/KgWarehouse/KgWarehouse.hooks.d.ts +5 -4
  60. package/dist/src/component/KgWarehouse/KgWarehouse.store.d.ts +2 -4
  61. package/dist/src/config/config.hooks.d.ts +3 -48
  62. package/dist/src/config/config.store.d.ts +31 -61
  63. package/dist/src/config/index.d.ts +33 -2
  64. package/dist/src/const/{const.vm.d.ts → const.model.d.ts} +13 -0
  65. package/dist/src/const/index.d.ts +2 -2
  66. package/dist/src/i18n/i18n.setup.d.ts +2 -17
  67. package/dist/src/index.d.ts +0 -1
  68. package/dist/src/page/KgCircleVis/components/KgCircleVis.Tab.Rgv.d.ts +1 -1
  69. package/dist/src/page/KgCircleVis/components/KgCircleVis.hooks.d.ts +3 -3
  70. package/dist/src/page/KgCircleVis/components/KgCircleVis.store.d.ts +29 -31
  71. package/dist/src/page/KgPageDda/components/KgPageDda.Create.store.d.ts +32 -1381
  72. package/dist/src/page/index.d.ts +1 -1
  73. package/dist/src/project/types/store.d.ts +1 -0
  74. package/dist/src/service/http-client.d.ts +2 -2
  75. package/package.json +8 -4
  76. package/dist/close-circle-outlined.247eef63.mjs +0 -8
  77. package/dist/close-outlined.b338331c.mjs +0 -8
  78. package/dist/src/component/KgVar/KgVar.VarConfigDescription.store.d.ts +0 -12
  79. package/dist/src/component/KgVar/KgVar.VarGridConfig.store.d.ts +0 -10
  80. package/dist/src/component/KgVar/KgVar.VarGridMaster.store.d.ts +0 -10
  81. package/dist/src/component/KgVar/KgVar.store.service.d.ts +0 -30
  82. package/dist/src/store/index.d.ts +0 -8
  83. /package/dist/{aim-outlined.c49e7018.mjs → aim-outlined.8d38a0f9.mjs} +0 -0
  84. /package/dist/{audit-outlined.f37f7da2.mjs → audit-outlined.4555f723.mjs} +0 -0
  85. /package/dist/{bulb-outlined.93f68e9f.mjs → bulb-outlined.a5bf22d8.mjs} +0 -0
  86. /package/dist/{caret-right-filled.bfffd471.mjs → caret-right-filled.dbbda237.mjs} +0 -0
  87. /package/dist/{caret-right-outlined.f3fc4d46.mjs → caret-right-outlined.12fe6699.mjs} +0 -0
  88. /package/dist/{check-circle-outlined.7d48e8e7.mjs → check-circle-outlined.b219949f.mjs} +0 -0
  89. /package/dist/{check-outlined.9928ff0c.mjs → check-outlined.59c42074.mjs} +0 -0
  90. /package/dist/{check-square-outlined.d21c4d4e.mjs → check-square-outlined.233589d8.mjs} +0 -0
  91. /package/dist/{clock-circle-outline.c90a0ae1.mjs → clock-circle-outline.b9d0b3dc.mjs} +0 -0
  92. /package/dist/{control-outlined.69345ce9.mjs → control-outlined.d66ac4d2.mjs} +0 -0
  93. /package/dist/{copy-filled.28f04bba.mjs → copy-filled.a3dcd299.mjs} +0 -0
  94. /package/dist/{copy-outlined.ca34e717.mjs → copy-outlined.6a695d8a.mjs} +0 -0
  95. /package/dist/{delete-outlined.d1c5c60d.mjs → delete-outlined.20afb717.mjs} +0 -0
  96. /package/dist/{delete-twotone.8485a948.mjs → delete-twotone.1d40696a.mjs} +0 -0
  97. /package/dist/{down-circle-outlined.1e7e4a7b.mjs → down-circle-outlined.8ba93393.mjs} +0 -0
  98. /package/dist/{download-outlined.f13eae9a.mjs → download-outlined.e78b5364.mjs} +0 -0
  99. /package/dist/{edit-outlined.c08469a0.mjs → edit-outlined.0aae2217.mjs} +0 -0
  100. /package/dist/{edit-twotone.8e37fd1c.mjs → edit-twotone.67c952fa.mjs} +0 -0
  101. /package/dist/{exception-outlined.6dede184.mjs → exception-outlined.8c0003a2.mjs} +0 -0
  102. /package/dist/{eye-outlined.649899dc.mjs → eye-outlined.b25b4d28.mjs} +0 -0
  103. /package/dist/{file-text-outline.bae206dd.mjs → file-text-outline.2fbccab6.mjs} +0 -0
  104. /package/dist/{fullscreen-exit-outlined.a75b82c2.mjs → fullscreen-exit-outlined.b77fa876.mjs} +0 -0
  105. /package/dist/{fullscreen-outlined.c9ba7960.mjs → fullscreen-outlined.cd572ef8.mjs} +0 -0
  106. /package/dist/{info-circle-outlined.c59a629f.mjs → info-circle-outlined.7ddbd554.mjs} +0 -0
  107. /package/dist/{one-to-one-outlined.4f97e62a.mjs → one-to-one-outlined.ac265beb.mjs} +0 -0
  108. /package/dist/{pause-circle-outlined.c32a598a.mjs → pause-circle-outlined.cd534f5f.mjs} +0 -0
  109. /package/dist/{pause-outlined.a5f6ccbd.mjs → pause-outlined.fca0d0f9.mjs} +0 -0
  110. /package/dist/{plus-outlined.2ff6998c.mjs → plus-outlined.bdaa6481.mjs} +0 -0
  111. /package/dist/{printer-outlined.d9d087d5.mjs → printer-outlined.a8d0d92b.mjs} +0 -0
  112. /package/dist/{reload-outlined.abae07b1.mjs → reload-outlined.d320578b.mjs} +0 -0
  113. /package/dist/{retweet-outlined.a2c4bb1a.mjs → retweet-outlined.bfa9b123.mjs} +0 -0
  114. /package/dist/{search-outlined.8364f123.mjs → search-outlined.ba5c5a3f.mjs} +0 -0
  115. /package/dist/{setting-outlined.7f72790b.mjs → setting-outlined.a3caf743.mjs} +0 -0
  116. /package/dist/src/component/KgCanvas/{KgCanvas.vm.d.ts → KgCanvas.model.d.ts} +0 -0
  117. /package/dist/src/component/KgForm/{KgForm.vm.d.ts → KgForm.model.d.ts} +0 -0
  118. /package/dist/src/component/KgForm.Item/{KgForm.Item.vm.d.ts → KgForm.Item.model.d.ts} +0 -0
  119. /package/dist/src/component/KgModal/{KgModal.vm.d.ts → KgModal.model.d.ts} +0 -0
  120. /package/dist/src/component/KgSearch/{KgSearch.vm.d.ts → KgSearch.model.d.ts} +0 -0
  121. /package/dist/src/component/KgSubmit/{KgSubmit.vm.d.ts → KgSubmit.model.d.ts} +0 -0
  122. /package/dist/src/component/KgTable/{KgTable.vm.d.ts → KgTable.model.d.ts} +0 -0
  123. /package/dist/src/component/KgVarConfig/{KgVarConfig.vm.d.ts → KgVarConfig.model.d.ts} +0 -0
  124. /package/dist/src/const/{const.injection-keys.d.ts → injection-keys.const.d.ts} +0 -0
  125. /package/dist/src/page/KgCircleVis/components/{KgCircleVis.vm.d.ts → KgCircleVis.model.d.ts} +0 -0
  126. /package/dist/{stop-outlined.facea37d.mjs → stop-outlined.9f2c4f61.mjs} +0 -0
  127. /package/dist/{upload-outlined.7ffb99b8.mjs → upload-outlined.c576b26a.mjs} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,3 +1,79 @@
1
+ # 0.30.0
2
+
3
+ ### 1. 属性名称变更
4
+
5
+ ```
6
+ // 旧
7
+ // --------------------------------------------------
8
+ kgVar.kgButton.currentButton.value
9
+ // 新
10
+ // --------------------------------------------------
11
+ kgVar.kgButton.currentButton
12
+ ```
13
+
14
+ ```
15
+ // 旧
16
+ // --------------------------------------------------
17
+ kgVar.kgButton.isCurrentButtonRequesting.value
18
+ // 新
19
+ // --------------------------------------------------
20
+ kgVar.kgButton.isCurrentButtonRequesting
21
+ ```
22
+
23
+ ```
24
+ // 旧
25
+ // --------------------------------------------------
26
+ kgVar.kgTable.dataList
27
+ // 新
28
+ // --------------------------------------------------
29
+ kgVar.kgTable.dataList
30
+ ```
31
+
32
+ ```
33
+ // 旧
34
+ // --------------------------------------------------
35
+ kgVar.kgTable.store.setDatas({ frmId: kgVar.formID, datas: [] })
36
+ // 新
37
+ // --------------------------------------------------
38
+ kgVar.kgTable.setDatas({ datas: [] })
39
+ ```
40
+
41
+ ```
42
+ // 旧
43
+ // --------------------------------------------------
44
+ kgVar.kgTable.store.getDatas(formID)
45
+ // 新
46
+ // --------------------------------------------------
47
+ kgVar.kgTable.dataList
48
+ ```
49
+
50
+ ```
51
+ // 旧
52
+ // --------------------------------------------------
53
+ kgVar.kgTable.store.clearDatas(formID)
54
+ // 新
55
+ // --------------------------------------------------
56
+ kgVar.kgTable.clearDatas()
57
+ ```
58
+
59
+ ```
60
+ // 旧
61
+ // --------------------------------------------------
62
+ kgVar.kgTable.store.setSelectedRows(formID, []);
63
+ // 新
64
+ // --------------------------------------------------
65
+ kgVar.kgTable.setSelectedRows({ selectedRows: [] });
66
+ ```
67
+
68
+ ```
69
+ // 旧
70
+ // --------------------------------------------------
71
+ kgVar.kgTable.isRequested.value
72
+ // 新
73
+ // --------------------------------------------------
74
+ kgVar.kgTable.isRequested
75
+ ```
76
+
1
77
  # 0.29.0
2
78
 
3
79
  ### 0. 对应后端框架版本 1.0.0-alpha17
@@ -314,19 +390,19 @@ kgVar.kgButton.onClick(async ({ button }) => {});
314
390
 
315
391
  # 0.18.0
316
392
 
317
- ### 1. `kgTable.store.setDatas()` 方法参数类型变更,
393
+ ### 1. `kgTable.setDatas()` 方法参数类型变更,
318
394
 
319
395
  ```typescript
320
396
  // 旧
321
397
  // --------------------------------------------------
322
- kgTable.store.setDatas(frmId, datas);
398
+ kgTable.setDatas(frmId, datas);
323
399
 
324
400
  // 新
325
401
  // --------------------------------------------------
326
- kgTable.store.setDatas({ frmId: frmId, datas: datas });
402
+ kgTable.setDatas({ frmId: frmId, datas: datas });
327
403
  ```
328
404
 
329
- ### 2. 移除 `kgTable.onBeforeSetDatas()` 事件回调函数参数中的 `setDatas` 方法, 改为直接调用 `kgTable.store.setDatas()` 方法,
405
+ ### 2. 移除 `kgTable.onBeforeSetDatas()` 事件回调函数参数中的 `setDatas` 方法, 改为直接调用 `kgTable.setDatas()` 方法,
330
406
 
331
407
  ```typescript
332
408
  // 旧
@@ -338,14 +414,14 @@ kgTable.onBeforeSetDatas(async ({ datas, setDatas }) => {
338
414
  // 新
339
415
  // --------------------------------------------------
340
416
  kgTable.onBeforeSetDatas(async ({ datas }) => {
341
- kgTable.store.setDatas({
417
+ kgTable.setDatas({
342
418
  frmId: '',
343
419
  datas: [],
344
420
  });
345
421
  });
346
422
  ```
347
423
 
348
- ### 3. 移除 `kgTable.onAfterSearch()` 事件回调函数参数中的 `setDatas` 方法, 改为直接调用 `kgTable.store.setDatas()` 方法,
424
+ ### 3. 移除 `kgTable.onAfterSearch()` 事件回调函数参数中的 `setDatas` 方法, 改为直接调用 `kgTable.setDatas()` 方法,
349
425
 
350
426
  ```typescript
351
427
  // 旧
@@ -357,7 +433,7 @@ kgTable.onAfterSearch(async ({ datas, setDatas }) => {
357
433
  // 新
358
434
  // --------------------------------------------------
359
435
  kgTable.onAfterSearch(async ({ datas }) => {
360
- kgTable.store.setDatas({
436
+ kgTable.setDatas({
361
437
  frmId: '',
362
438
  datas: [],
363
439
  });
@@ -0,0 +1,8 @@
1
+ const e = {
2
+ width: 24,
3
+ height: 24,
4
+ body: '<circle cx="12" cy="2" r="0" fill="currentColor"><animate attributeName="r" begin="0" calcMode="spline" dur="1s" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" repeatCount="indefinite" values="0;2;0;0"/></circle><circle cx="12" cy="2" r="0" fill="currentColor" transform="rotate(45 12 12)"><animate attributeName="r" begin="0.125s" calcMode="spline" dur="1s" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" repeatCount="indefinite" values="0;2;0;0"/></circle><circle cx="12" cy="2" r="0" fill="currentColor" transform="rotate(90 12 12)"><animate attributeName="r" begin="0.25s" calcMode="spline" dur="1s" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" repeatCount="indefinite" values="0;2;0;0"/></circle><circle cx="12" cy="2" r="0" fill="currentColor" transform="rotate(135 12 12)"><animate attributeName="r" begin="0.375s" calcMode="spline" dur="1s" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" repeatCount="indefinite" values="0;2;0;0"/></circle><circle cx="12" cy="2" r="0" fill="currentColor" transform="rotate(180 12 12)"><animate attributeName="r" begin="0.5s" calcMode="spline" dur="1s" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" repeatCount="indefinite" values="0;2;0;0"/></circle><circle cx="12" cy="2" r="0" fill="currentColor" transform="rotate(225 12 12)"><animate attributeName="r" begin="0.625s" calcMode="spline" dur="1s" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" repeatCount="indefinite" values="0;2;0;0"/></circle><circle cx="12" cy="2" r="0" fill="currentColor" transform="rotate(270 12 12)"><animate attributeName="r" begin="0.75s" calcMode="spline" dur="1s" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" repeatCount="indefinite" values="0;2;0;0"/></circle><circle cx="12" cy="2" r="0" fill="currentColor" transform="rotate(315 12 12)"><animate attributeName="r" begin="0.875s" calcMode="spline" dur="1s" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" repeatCount="indefinite" values="0;2;0;0"/></circle>'
5
+ };
6
+ export {
7
+ e as default
8
+ };
@@ -0,0 +1,8 @@
1
+ const c = {
2
+ width: 1024,
3
+ height: 1024,
4
+ body: '<path fill="currentColor" fill-rule="evenodd" d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960S64 759.4 64 512S264.6 64 512 64Zm0 76c-205.4 0-372 166.6-372 372s166.6 372 372 372s372-166.6 372-372s-166.6-372-372-372Zm128.013 198.826c.023.007.042.018.083.059l45.02 45.019c.04.04.05.06.058.083a.118.118 0 0 1 0 .07c-.007.022-.018.041-.059.082L557.254 512l127.861 127.862a.268.268 0 0 1 .05.06l.009.023a.118.118 0 0 1 0 .07c-.007.022-.018.041-.059.082l-45.019 45.02c-.04.04-.06.05-.083.058a.118.118 0 0 1-.07 0c-.022-.007-.041-.018-.082-.059L512 557.254L384.14 685.115c-.042.041-.06.052-.084.059a.118.118 0 0 1-.07 0c-.022-.007-.041-.018-.082-.059l-45.02-45.019a.199.199 0 0 1-.058-.083a.118.118 0 0 1 0-.07c.007-.022.018-.041.059-.082L466.745 512l-127.86-127.86a.268.268 0 0 1-.05-.061l-.009-.023a.118.118 0 0 1 0-.07c.007-.022.018-.041.059-.082l45.019-45.02c.04-.04.06-.05.083-.058a.118.118 0 0 1 .07 0c.022.007.041.018.082.059L512 466.745l127.862-127.86c.04-.041.06-.052.083-.059a.118.118 0 0 1 .07 0Z"/>'
5
+ };
6
+ export {
7
+ c as default
8
+ };
@@ -0,0 +1,8 @@
1
+ const c = {
2
+ width: 1024,
3
+ height: 1024,
4
+ body: '<path fill="currentColor" fill-rule="evenodd" d="M799.855 166.312c.023.007.043.018.084.059l57.69 57.69c.041.041.052.06.059.084a.118.118 0 0 1 0 .069c-.007.023-.018.042-.059.083L569.926 512l287.703 287.703c.041.04.052.06.059.083a.118.118 0 0 1 0 .07c-.007.022-.018.042-.059.083l-57.69 57.69c-.041.041-.06.052-.084.059a.118.118 0 0 1-.069 0c-.023-.007-.042-.018-.083-.059L512 569.926L224.297 857.629c-.04.041-.06.052-.083.059a.118.118 0 0 1-.07 0c-.022-.007-.042-.018-.083-.059l-57.69-57.69c-.041-.041-.052-.06-.059-.084a.118.118 0 0 1 0-.069c.007-.023.018-.042.059-.083L454.073 512L166.371 224.297c-.041-.04-.052-.06-.059-.083a.118.118 0 0 1 0-.07c.007-.022.018-.042.059-.083l57.69-57.69c.041-.041.06-.052.084-.059a.118.118 0 0 1 .069 0c.023.007.042.018.083.059L512 454.073l287.703-287.702c.04-.041.06-.052.083-.059a.118.118 0 0 1 .07 0Z"/>'
5
+ };
6
+ export {
7
+ c as default
8
+ };