@kengic/vue 0.16.7 → 0.19.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (33) hide show
  1. package/CHANGELOG.md +32 -16
  2. package/dist/index.css +1 -1
  3. package/dist/kengic-vue.js +5058 -4029
  4. package/dist/src/apis/WMS/Controllers/SysPermissionController/List.d.ts +73 -0
  5. package/dist/src/apis/WMS/Controllers/SysPermissionController/index.d.ts +1 -0
  6. package/dist/src/apis/WMS/Controllers/VarDdaController/Create.d.ts +16 -0
  7. package/dist/src/apis/WMS/Controllers/VarDdaController/GetResultSetMetadataFromSql.d.ts +16 -0
  8. package/dist/src/apis/WMS/Controllers/VarDdaController/ValidateCopySql.d.ts +16 -0
  9. package/dist/src/apis/WMS/Controllers/VarDdaController/ValidateCreateSql.d.ts +16 -0
  10. package/dist/src/apis/WMS/Controllers/VarDdaController/ValidateDeleteSql.d.ts +16 -0
  11. package/dist/src/apis/WMS/Controllers/VarDdaController/ValidateFrmId.d.ts +16 -0
  12. package/dist/src/apis/WMS/Controllers/VarDdaController/ValidateSearchSql.d.ts +16 -0
  13. package/dist/src/apis/WMS/Controllers/VarDdaController/ValidateUpdateSql.d.ts +16 -0
  14. package/dist/src/apis/WMS/Controllers/VarDdaController/index.d.ts +8 -0
  15. package/dist/src/apis/WMS/Controllers/index.d.ts +2 -0
  16. package/dist/src/apis/WMS/models.d.ts +206 -2
  17. package/dist/src/components/KgSubmit/index.hooks.d.ts +3 -3
  18. package/dist/src/components/KgSubmit/index.store.d.ts +11 -11
  19. package/dist/src/components/KgTable/index.hooks.d.ts +7 -7
  20. package/dist/src/components/KgTable/index.store.d.ts +485 -45
  21. package/dist/src/components/KgTable/index.vm.d.ts +3 -3
  22. package/dist/src/config/index.hooks.d.ts +76 -15
  23. package/dist/src/config/index.store.d.ts +2 -2
  24. package/dist/src/consts/i18n/en.d.ts +8 -5
  25. package/dist/src/consts/i18n/zh_CN.d.ts +8 -5
  26. package/dist/src/pages/KgPageDda/components/KgPageDda.Create.Menu.d.ts +1 -1
  27. package/dist/src/pages/KgPageDda/components/KgPageDda.Create.Submit.d.ts +1 -1
  28. package/dist/src/pages/KgPageDda/components/KgPageDda.Create.Table.d.ts +1 -1
  29. package/dist/src/pages/KgPageDda/components/KgPageDda.Create.d.ts +5 -1
  30. package/dist/src/pages/KgPageDda/components/KgPageDda.Create.store.d.ts +1643 -26
  31. package/dist/src/pages/KgPageDda/index.const.d.ts +1 -1
  32. package/dist/src/utils/kg-route.util.d.ts +1 -1
  33. package/package.json +2 -1
package/CHANGELOG.md CHANGED
@@ -1,21 +1,37 @@
1
- # 0.16.8
1
+ # 0.18.0
2
2
 
3
- 1. `kgForm.onSelectChange()` 事件参数类型变更
3
+ 1. `kgTable.store.setDatas()` 方法参数类型变更,
4
4
 
5
- ```typescript
6
- // 旧
7
- // --------------------------------------------------
5
+ ```typescript
6
+ // 旧
7
+ // --------------------------------------------------
8
+ kgTable.store.setDatas(frmId, datas);
8
9
 
9
- kgForm.onSelectChange(async ({ rows }) => {
10
- // rows 是单个对象
11
- const item = rows as any;
12
- });
10
+ //
11
+ // --------------------------------------------------
12
+ kgTable.store.setDatas({ frmId: frmId, datas: datas });
13
+ ```
13
14
 
14
- //
15
- // --------------------------------------------------
15
+ 2. 移除 `IKgTableBeforeSetDatasCbParam.setDatas()` 方法, 可以直接调用 `kgTable.store.setDatas()` 方法,
16
16
 
17
- kgForm.onSelectChange(async ({ rows }) => {
18
- // rows 是数组
19
- const item = rows?.[0] as any;
20
- });
21
- ```
17
+ 3. 移除 `IKgTableAfterSearchCbParam.setDatas()` 方法, 可以直接调用 `kgTable.store.setDatas()` 方法,
18
+
19
+ # 0.17.0
20
+
21
+ 1. `kgForm.onSelectChange()` 事件回调函数参数类型变更,
22
+
23
+ ```typescript
24
+ // 旧
25
+ // --------------------------------------------------
26
+ kgForm.onSelectChange(async ({ rows }) => {
27
+ // rows 是单个对象
28
+ const item = rows as any;
29
+ });
30
+
31
+ // 新
32
+ // --------------------------------------------------
33
+ kgForm.onSelectChange(async ({ rows }) => {
34
+ // rows 是数组
35
+ const item = rows?.[0] as any;
36
+ });
37
+ ```