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