inl-ui 0.0.30 → 0.0.32

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.
@@ -1,4 +1,4 @@
1
1
  import { Chart } from "@antv/g2";
2
- declare const _default: (id: string, data: any, height?: number) => any;
2
+ declare const _default: (id: string, data: any, height?: number) => Chart;
3
3
  export default _default;
4
4
  export { Chart };
@@ -1,5 +1,5 @@
1
1
  import { paramConfig } from "./formRules";
2
- declare const transformTime: (time: number | string | Date, format?: string) => any;
2
+ declare const transformTime: (time: number | string | Date, format?: string) => string;
3
3
  declare const generateFormRule: (rules: paramConfig[]) => any;
4
4
  declare const datatype: (data: any) => string;
5
5
  declare const deepclone: (data: any) => any;
@@ -1,7 +1,7 @@
1
1
  declare const _default: (dom: unknown, time: number) => Promise<{
2
2
  reloadUrl(url: string, callBack: ht.deserializeCallBack): void;
3
- data: any;
4
- dm: any;
5
- gv: any;
3
+ data: ht.List | null;
4
+ dm: ht.DataModel | null;
5
+ gv: ht.graph.GraphView | null;
6
6
  }>;
7
7
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "inl-ui",
3
- "version": "0.0.30",
3
+ "version": "0.0.32",
4
4
  "description": "工业 pc ui库",
5
5
  "main": "dist/index.js",
6
6
  "types": "./dist/types/src/index.d.ts",
@@ -1125,7 +1125,10 @@ const com = defineComponent({
1125
1125
  JSON.stringify({
1126
1126
  ...record,
1127
1127
  id: record.ID,
1128
- thingCode: record.THING_CODE,
1128
+ thingInst: {
1129
+ name: record.NAME,
1130
+ thingCode: record.THING_CODE,
1131
+ },
1129
1132
  })
1130
1133
  )
1131
1134
  );