@kengic/vue 0.29.1-beta.8 → 0.30.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 (75) hide show
  1. package/CHANGELOG.md +83 -7
  2. package/dist/index.css +1 -1
  3. package/dist/kengic-vue.js +28290 -27890
  4. package/dist/src/component/KgAppSelect/KgAppSelect.hooks.d.ts +2 -28
  5. package/dist/src/component/KgAppSelect/KgAppSelect.store.d.ts +6 -12
  6. package/dist/src/component/KgButton/KgButton.hooks.d.ts +3 -144
  7. package/dist/src/component/KgButton/KgButton.store.d.ts +63 -36
  8. package/dist/src/component/KgCanvas/KgCanvas.hooks.d.ts +2 -2
  9. package/dist/src/component/KgCanvas/KgCanvas.store.d.ts +2 -6
  10. package/dist/src/component/KgForm/KgForm.hooks.d.ts +2 -2
  11. package/dist/src/component/KgForm/KgForm.store.d.ts +2 -4
  12. package/dist/src/component/KgForm.Item/KgForm.Item.d.ts +5 -5
  13. package/dist/src/component/KgForm.Item/KgForm.Item.service.d.ts +1 -1
  14. package/dist/src/component/KgForm.Item/components/KgForm.Item.Checkbox.d.ts +5 -5
  15. package/dist/src/component/KgForm.Item/components/KgForm.Item.CheckboxGroup.d.ts +7 -7
  16. package/dist/src/component/KgForm.Item/components/KgForm.Item.Date.d.ts +5 -5
  17. package/dist/src/component/KgForm.Item/components/KgForm.Item.DateRange.d.ts +5 -5
  18. package/dist/src/component/KgForm.Item/components/KgForm.Item.Image.d.ts +5 -11
  19. package/dist/src/component/KgForm.Item/components/KgForm.Item.Input.d.ts +5 -5
  20. package/dist/src/component/KgForm.Item/components/KgForm.Item.InputNumber.d.ts +5 -5
  21. package/dist/src/component/KgForm.Item/components/KgForm.Item.InputPassword.d.ts +5 -5
  22. package/dist/src/component/KgForm.Item/components/KgForm.Item.Link.d.ts +5 -5
  23. package/dist/src/component/KgForm.Item/components/KgForm.Item.RadioGroup.d.ts +9 -7
  24. package/dist/src/component/KgForm.Item/components/KgForm.Item.Select.d.ts +7 -7
  25. package/dist/src/component/KgForm.Item/components/KgForm.Item.Select.service.d.ts +1 -1
  26. package/dist/src/component/KgForm.Item/components/KgForm.Item.Switch.d.ts +5 -5
  27. package/dist/src/component/KgForm.Item/components/KgForm.Item.TextArea.d.ts +5 -5
  28. package/dist/src/component/KgForm.Item/index.d.ts +1 -1
  29. package/dist/src/component/KgSearch/KgSearch.hooks.d.ts +2 -2
  30. package/dist/src/component/KgSearch/KgSearch.store.d.ts +8 -10
  31. package/dist/src/component/KgSubmit/KgSubmit.hooks.d.ts +2 -2
  32. package/dist/src/component/KgSubmit/KgSubmit.store.d.ts +10 -9
  33. package/dist/src/component/KgSubmit/index.d.ts +1 -1
  34. package/dist/src/component/KgTable/KgTable.event.d.ts +1 -1
  35. package/dist/src/component/KgTable/KgTable.hooks.d.ts +10 -24
  36. package/dist/src/component/KgTable/KgTable.service.d.ts +1 -1
  37. package/dist/src/component/KgTable/KgTable.store.d.ts +41 -89
  38. package/dist/src/component/KgTable/components/KgTable.BodyCell.d.ts +1 -1
  39. package/dist/src/component/KgTable/components/KgTable.HeaderCell.d.ts +1 -2
  40. package/dist/src/component/KgTable/index.d.ts +1 -1
  41. package/dist/src/component/KgVar/KgVar.d.ts +1 -1
  42. package/dist/src/component/KgVar/KgVar.hooks.d.ts +21 -30
  43. package/dist/src/component/KgVar/{KgVar.vm.d.ts → KgVar.model.d.ts} +1 -1
  44. package/dist/src/component/KgVar/KgVar.store.d.ts +61 -102
  45. package/dist/src/component/KgVar/KgVarFactory.d.ts +12 -16
  46. package/dist/src/component/KgVar/index.d.ts +1 -1
  47. package/dist/src/component/KgVarConfig/KgVarConfig.hooks.d.ts +3 -21
  48. package/dist/src/component/KgVarConfig/KgVarConfig.store.d.ts +2 -6
  49. package/dist/src/component/KgWarehouse/KgWarehouse.hooks.d.ts +5 -4
  50. package/dist/src/component/KgWarehouse/KgWarehouse.store.d.ts +2 -4
  51. package/dist/src/config/config.hooks.d.ts +3 -48
  52. package/dist/src/config/config.store.d.ts +31 -61
  53. package/dist/src/const/{const.vm.d.ts → const.model.d.ts} +7 -0
  54. package/dist/src/const/index.d.ts +2 -2
  55. package/dist/src/page/KgCircleVis/components/KgCircleVis.Canvas.service.d.ts +4 -0
  56. package/dist/src/page/KgCircleVis/components/KgCircleVis.Tab.Rgv.d.ts +1 -1
  57. package/dist/src/page/KgCircleVis/components/KgCircleVis.hooks.d.ts +3 -3
  58. package/dist/src/page/KgCircleVis/components/KgCircleVis.store.d.ts +29 -31
  59. package/dist/src/page/KgPageDda/components/KgPageDda.Create.store.d.ts +32 -1381
  60. package/dist/src/page/index.d.ts +1 -1
  61. package/dist/src/project/types/store.d.ts +1 -0
  62. package/package.json +4 -2
  63. package/dist/src/component/KgVar/KgVar.VarConfigDescription.store.d.ts +0 -12
  64. package/dist/src/component/KgVar/KgVar.VarGridConfig.store.d.ts +0 -10
  65. package/dist/src/component/KgVar/KgVar.VarGridMaster.store.d.ts +0 -10
  66. /package/dist/src/component/KgCanvas/{KgCanvas.vm.d.ts → KgCanvas.model.d.ts} +0 -0
  67. /package/dist/src/component/KgForm/{KgForm.vm.d.ts → KgForm.model.d.ts} +0 -0
  68. /package/dist/src/component/KgForm.Item/{KgForm.Item.vm.d.ts → KgForm.Item.model.d.ts} +0 -0
  69. /package/dist/src/component/KgModal/{KgModal.vm.d.ts → KgModal.model.d.ts} +0 -0
  70. /package/dist/src/component/KgSearch/{KgSearch.vm.d.ts → KgSearch.model.d.ts} +0 -0
  71. /package/dist/src/component/KgSubmit/{KgSubmit.vm.d.ts → KgSubmit.model.d.ts} +0 -0
  72. /package/dist/src/component/KgTable/{KgTable.vm.d.ts → KgTable.model.d.ts} +0 -0
  73. /package/dist/src/component/KgVarConfig/{KgVarConfig.vm.d.ts → KgVarConfig.model.d.ts} +0 -0
  74. /package/dist/src/const/{const.injection-keys.d.ts → injection-keys.const.d.ts} +0 -0
  75. /package/dist/src/page/KgCircleVis/components/{KgCircleVis.vm.d.ts → KgCircleVis.model.d.ts} +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
  });