@kengic/vue 0.26.6-beta.109 → 0.26.6-beta.111

Sign up to get free protection for your applications and to get access to all the features.
@@ -31,10 +31,13 @@ export declare type IKgCanvasElementProperties = {
31
31
  export declare type IUseGlobalContextMenus = {
32
32
  globalContextMenus: Array<IKgCanvasContextMenu>;
33
33
  };
34
- export declare function _useGlobalContextMenus(param: {}): IUseGlobalContextMenus;
34
+ export declare function _useGlobalContextMenus(param: {
35
+ id: string | undefined;
36
+ }): IUseGlobalContextMenus;
35
37
  export declare type IUseResizeObserver = {};
36
38
  export declare function _useResizeObserver(param: {
37
39
  graph: () => Q.Graph | null;
40
+ id: string | undefined;
38
41
  kgCanvasContextMenuProps: Ref<KgCanvasContextMenuProps>;
39
42
  kgCanvasRef: Ref<HTMLDivElement | null>;
40
43
  }): IUseResizeObserver;
@@ -2,7 +2,7 @@ import { StoreDefinition } from 'pinia';
2
2
  import { App } from 'vue';
3
3
  import { Router } from 'vue-router';
4
4
  import { IKgOption, P } from '../index.store';
5
- import '@kengic/core/react/index.css';
5
+ import '@kengic/core.react/index.css';
6
6
  export declare type IKgOptions = {
7
7
  /**
8
8
  * 语言数据.
@@ -1,6 +1,6 @@
1
1
  import './asset/index.less';
2
- export * from '@kengic/core/react';
3
- export { API as KG_API } from './api';
2
+ export * from '@kengic/core.react';
3
+ export { API } from './api';
4
4
  export * from './api/WMS/models';
5
5
  export * from './component';
6
6
  export * from './config';
@@ -140,13 +140,9 @@ export declare class KgUtil {
140
140
  *
141
141
  * @return UUID.
142
142
  */
143
- static uuid(): string;
144
- /**
145
- * 获取一个 UUID.
146
- *
147
- * @return UUID.
148
- */
149
- static id(): string;
143
+ static uuid(param?: {
144
+ prefix?: string;
145
+ }): string;
150
146
  }
151
147
  export declare type ModalFunc = {
152
148
  destroy: () => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kengic/vue",
3
- "version": "0.26.6-beta.109",
3
+ "version": "0.26.6-beta.111",
4
4
  "scripts": {
5
5
  "build": "npm run use-node && rimraf dist && vue-tsc && vite build",
6
6
  "build:dev": "npm run use-node && rimraf dist && vue-tsc && vite build --mode development",
@@ -39,7 +39,8 @@
39
39
  "@iconify-icons/mdi": "1.2.48",
40
40
  "@iconify-icons/ph": "1.2.5",
41
41
  "@iconify/vue": "4.1.2",
42
- "@kengic/core": "6.0.1-beta.122",
42
+ "@kengic/core.core": "0.0.1-beta.9",
43
+ "@kengic/core.react": "0.0.1-beta.4",
43
44
  "@kengic/pont": "1.2.17-beta.1",
44
45
  "@rys-fe/vite-plugin-theme": "0.8.6",
45
46
  "@thymine/xunee": "0.4.9-beta.8",