@kengic/vue 0.30.1-beta.13 → 0.30.1-beta.15

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.
@@ -0,0 +1,4 @@
1
+ /**
2
+ * 场景编辑-菜单.
3
+ */
4
+ export declare const KgSimulatorMenu: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * 场景编辑-面板-预制组件.
3
+ */
4
+ export declare const KgSimulatorPanelPrefab: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
@@ -0,0 +1,5 @@
1
+ import './KgSimulator.css';
2
+ /**
3
+ * 仿真模拟器, 环形输送机模拟器, 环线穿梭车模拟器.
4
+ */
5
+ export declare const KgSimulator: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
@@ -0,0 +1,11 @@
1
+ import { useKgSimulatorStore } from './KgSimulator.store';
2
+ export declare type IUseKgSimulator = {
3
+ /**
4
+ * 状态数据.
5
+ */
6
+ store: ReturnType<typeof useKgSimulatorStore>;
7
+ };
8
+ /**
9
+ * 仿真模拟器.
10
+ */
11
+ export declare function useKgSimulator(): IUseKgSimulator;
@@ -0,0 +1 @@
1
+ export declare const TODO: {};
@@ -0,0 +1,34 @@
1
+ import { Q } from '@thymine/xunee';
2
+ import { Ref } from 'vue';
3
+ /**
4
+ * 节点类型.
5
+ */
6
+ export declare const NODE_KEY: {
7
+ /**
8
+ * 站点.
9
+ */
10
+ STATION: string;
11
+ };
12
+ export declare type IUseDraw = {
13
+ /**
14
+ * 绘制图形.
15
+ */
16
+ draw(param?: {
17
+ /**
18
+ * 是否纵览比例.
19
+ *
20
+ * @default false
21
+ */
22
+ isZoomToOverview?: boolean;
23
+ }): void;
24
+ };
25
+ /**
26
+ * 绘制.
27
+ *
28
+ * @param param.graph 获取图形组件对象的方法.
29
+ * @param param.graphData 图形数据.
30
+ */
31
+ export declare function useDraw(param: {
32
+ graph: () => Q.Graph | null;
33
+ graphData: Ref<any | null>;
34
+ }): IUseDraw;
@@ -0,0 +1,34 @@
1
+ import { Q } from '@thymine/xunee';
2
+ import { KgStoreDefinition } from '../../const';
3
+ export declare type IKgSimulatorProps = {
4
+ /**
5
+ * 接口地址.
6
+ */
7
+ api?: {
8
+ /**
9
+ * 地图数据.
10
+ *
11
+ * @default /apigateway/wasserver/api/v1/CircleRgvMap/GetMap
12
+ */
13
+ GetMap?: string;
14
+ };
15
+ };
16
+ export interface IKgSimulatorStoreState {
17
+ /**
18
+ * 画布对象.
19
+ */
20
+ graph: Q.Graph | null;
21
+ /**
22
+ * 参数.
23
+ */
24
+ props: IKgSimulatorProps | null;
25
+ }
26
+ export interface IKgSimulatorStoreGetters {
27
+ getGraph: Q.Graph | null;
28
+ getProps: IKgSimulatorProps | null;
29
+ }
30
+ export interface IKgSimulatorStoreActions {
31
+ setGraph(value: Q.Graph | null | undefined): void;
32
+ setProps(value: IKgSimulatorProps | null | undefined): void;
33
+ }
34
+ export declare const useKgSimulatorStore: KgStoreDefinition<IKgSimulatorStoreGetters, IKgSimulatorStoreActions>;
@@ -0,0 +1,3 @@
1
+ export { KgSimulator } from './KgSimulator';
2
+ export * from './KgSimulator.hooks';
3
+ export * from './KgSimulator.store';
@@ -6,6 +6,7 @@ export * from './KgModal';
6
6
  export * from './KgProgressA';
7
7
  export * from './KgResizable';
8
8
  export * from './KgSearch';
9
+ export * from './KgSimulator';
9
10
  export * from './KgSubmit';
10
11
  export * from './KgTable';
11
12
  export * from './KgVar';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kengic/vue",
3
- "version": "0.30.1-beta.13",
3
+ "version": "0.30.1-beta.15",
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",
@@ -37,11 +37,11 @@
37
37
  "@ant-design/colors": "6.0.0",
38
38
  "@iconify-icons/akar-icons": "1.2.19",
39
39
  "@iconify-icons/ant-design": "1.2.7",
40
+ "@iconify-icons/eos-icons": "1.2.6",
40
41
  "@iconify-icons/fluent-mdl2": "1.2.1",
41
42
  "@iconify-icons/material-symbols": "1.2.58",
42
43
  "@iconify-icons/mdi": "1.2.48",
43
44
  "@iconify-icons/ph": "1.2.5",
44
- "@iconify-icons/eos-icons": "1.2.6",
45
45
  "@iconify/vue": "4.1.2",
46
46
  "@kengic/core.core": "0.0.1-beta.22",
47
47
  "@kengic/core.react": "0.0.2-beta.42",
@@ -68,6 +68,7 @@
68
68
  "crypto-js": "4.1.1",
69
69
  "dayjs": "1.11.10",
70
70
  "dotenv": "16.0.3",
71
+ "element-plus": "2.11.4",
71
72
  "filesize": "10.1.0",
72
73
  "fs-extra": "10.1.0",
73
74
  "html-to-image": "1.11.11",