@kengic/vue 0.30.1-beta.16 → 0.30.1-beta.17
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/dist/index.css +1 -1
- package/dist/kengic-vue.js +69161 -68871
- package/dist/more-outlined.8e1202ac.mjs +8 -0
- package/dist/src/component/KgCanvas/KgCanvas.model.d.ts +1 -33
- package/dist/src/component/KgForm/KgForm.d.ts +3 -3
- package/dist/src/component/KgForm/index.d.ts +4 -4
- package/dist/src/component/KgForm.Item/KgForm.Item.model.d.ts +1 -3
- package/dist/src/component/KgForm.Item/components/KgForm.Item.Checkbox.d.ts +2 -2
- package/dist/src/component/KgForm.Item/components/KgForm.Item.CheckboxGroup.d.ts +2 -2
- package/dist/src/component/KgForm.Item/components/KgForm.Item.Image.d.ts +2 -6
- package/dist/src/component/KgForm.Item/components/KgForm.Item.RadioGroup.d.ts +0 -2
- package/dist/src/component/KgForm.Item/components/KgForm.Item.Select.d.ts +2 -0
- package/dist/src/component/KgModal/KgModal.d.ts +1 -1
- package/dist/src/component/KgResizable/KgResizable.d.ts +4 -4
- package/dist/src/component/KgSimulator/KgSimulator.Panel.d.ts +74 -0
- package/dist/src/component/KgSimulator/KgSimulator.Prefab.d.ts +81 -0
- package/dist/src/component/KgSimulator/KgSimulator.Toolbar.Prefab.d.ts +9 -0
- package/dist/src/component/KgSimulator/KgSimulator.Toolbar.d.ts +113 -0
- package/dist/src/component/KgSimulator/KgSimulator.d.ts +28 -1
- package/dist/src/component/KgSimulator/KgSimulator.hooks.d.ts +10 -4
- package/dist/src/component/KgSimulator/KgSimulator.model.d.ts +8 -1
- package/dist/src/component/KgSimulator/KgSimulator.store.d.ts +24 -22
- package/dist/src/component/KgVar/KgVar.model.d.ts +0 -5
- package/dist/src/component/KgVar/KgVarFactory.d.ts +12 -4
- package/dist/src/component/KgVarConfig/KgVarConfig.model.d.ts +0 -3
- package/dist/src/config/config.store.d.ts +2 -2
- package/dist/src/const/const.model.d.ts +514 -4
- package/dist/src/const/index.d.ts +0 -1
- package/dist/src/page/KgPageCircularShuttleMonitor/components/KgCircularShuttleMonitor.store.d.ts +1 -1
- package/dist/src/util/ant-design-vue.d.ts +1 -1
- package/package.json +2 -2
- package/dist/src/component/KgForm/KgForm.model.d.ts +0 -9
- package/dist/src/const/injection-keys.const.d.ts +0 -11
|
@@ -1,33 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { InjectionKey } from 'vue';
|
|
3
|
-
export declare const KG__DI__KG_CANVAS_PROPS: InjectionKey<Partial<import("vue").ExtractPropTypes<{
|
|
4
|
-
id: {
|
|
5
|
-
type: import("vue").PropType<string>;
|
|
6
|
-
required: boolean;
|
|
7
|
-
};
|
|
8
|
-
kgCanvasToolbarFullscreen: {
|
|
9
|
-
type: import("vue").PropType<Partial<import("vue").ExtractPropTypes<{
|
|
10
|
-
kgIsShowText: {
|
|
11
|
-
type: import("vue").PropType<boolean>;
|
|
12
|
-
default: boolean;
|
|
13
|
-
};
|
|
14
|
-
}>>>;
|
|
15
|
-
};
|
|
16
|
-
kgIsEditable: {
|
|
17
|
-
type: import("vue").PropType<boolean>;
|
|
18
|
-
default: boolean;
|
|
19
|
-
};
|
|
20
|
-
kgIsEnableOverview: {
|
|
21
|
-
type: import("vue").PropType<boolean>;
|
|
22
|
-
default: boolean;
|
|
23
|
-
};
|
|
24
|
-
kgIsGridBackground: {
|
|
25
|
-
type: import("vue").PropType<boolean>;
|
|
26
|
-
default: boolean;
|
|
27
|
-
};
|
|
28
|
-
kgIsResizable: {
|
|
29
|
-
type: import("vue").PropType<boolean>;
|
|
30
|
-
default: boolean;
|
|
31
|
-
};
|
|
32
|
-
}>>>;
|
|
33
|
-
export declare const KG__DI__KG_CANVAS_GET_GRAPH: InjectionKey<() => Q.Graph>;
|
|
1
|
+
export declare const TODO1: {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ExtractPropTypes } from 'vue';
|
|
2
2
|
import './KgForm.less';
|
|
3
3
|
export declare const getProps: () => {
|
|
4
|
-
layout: import("vue").PropType<"
|
|
4
|
+
layout: import("vue").PropType<"inline" | "horizontal" | "vertical">;
|
|
5
5
|
labelCol: {
|
|
6
6
|
type: import("vue").PropType<Partial<ExtractPropTypes<{
|
|
7
7
|
span: (StringConstructor | NumberConstructor)[];
|
|
@@ -137,7 +137,7 @@ export declare const getProps: () => {
|
|
|
137
137
|
};
|
|
138
138
|
export declare type IKgFormProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
|
139
139
|
declare const _default: import("vue").DefineComponent<{
|
|
140
|
-
layout: import("vue").PropType<"
|
|
140
|
+
layout: import("vue").PropType<"inline" | "horizontal" | "vertical">;
|
|
141
141
|
labelCol: {
|
|
142
142
|
type: import("vue").PropType<Partial<ExtractPropTypes<{
|
|
143
143
|
span: (StringConstructor | NumberConstructor)[];
|
|
@@ -271,7 +271,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
271
271
|
type: import("vue").PropType<((name: string | number | string[] | number[], status: boolean, errors: string[] | null) => void) | undefined>;
|
|
272
272
|
};
|
|
273
273
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
274
|
-
layout: import("vue").PropType<"
|
|
274
|
+
layout: import("vue").PropType<"inline" | "horizontal" | "vertical">;
|
|
275
275
|
labelCol: {
|
|
276
276
|
type: import("vue").PropType<Partial<ExtractPropTypes<{
|
|
277
277
|
span: (StringConstructor | NumberConstructor)[];
|
|
@@ -10,7 +10,7 @@ declare const _default: {
|
|
|
10
10
|
validateMessages: import("ant-design-vue/es/form/interface").ValidateMessages;
|
|
11
11
|
validateOnRuleChange: boolean;
|
|
12
12
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
13
|
-
layout: import("vue").PropType<"
|
|
13
|
+
layout: import("vue").PropType<"inline" | "horizontal" | "vertical">;
|
|
14
14
|
labelCol: {
|
|
15
15
|
type: import("vue").PropType<Partial<import("vue").ExtractPropTypes<{
|
|
16
16
|
span: (StringConstructor | NumberConstructor)[];
|
|
@@ -158,7 +158,7 @@ declare const _default: {
|
|
|
158
158
|
$emit: (event: string, ...args: any[]) => void;
|
|
159
159
|
$el: any;
|
|
160
160
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
161
|
-
layout: import("vue").PropType<"
|
|
161
|
+
layout: import("vue").PropType<"inline" | "horizontal" | "vertical">;
|
|
162
162
|
labelCol: {
|
|
163
163
|
type: import("vue").PropType<Partial<import("vue").ExtractPropTypes<{
|
|
164
164
|
span: (StringConstructor | NumberConstructor)[];
|
|
@@ -318,7 +318,7 @@ declare const _default: {
|
|
|
318
318
|
$nextTick: typeof import("vue").nextTick;
|
|
319
319
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
320
320
|
} & Readonly<import("vue").ExtractPropTypes<{
|
|
321
|
-
layout: import("vue").PropType<"
|
|
321
|
+
layout: import("vue").PropType<"inline" | "horizontal" | "vertical">;
|
|
322
322
|
labelCol: {
|
|
323
323
|
type: import("vue").PropType<Partial<import("vue").ExtractPropTypes<{
|
|
324
324
|
span: (StringConstructor | NumberConstructor)[];
|
|
@@ -456,7 +456,7 @@ declare const _default: {
|
|
|
456
456
|
__isTeleport?: undefined;
|
|
457
457
|
__isSuspense?: undefined;
|
|
458
458
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
459
|
-
layout: import("vue").PropType<"
|
|
459
|
+
layout: import("vue").PropType<"inline" | "horizontal" | "vertical">;
|
|
460
460
|
labelCol: {
|
|
461
461
|
type: import("vue").PropType<Partial<import("vue").ExtractPropTypes<{
|
|
462
462
|
span: (StringConstructor | NumberConstructor)[];
|
|
@@ -2,7 +2,7 @@ import { RuleObject } from 'ant-design-vue/es/form';
|
|
|
2
2
|
import { SharedTimeProps } from 'ant-design-vue/es/vc-picker/panels/TimePanel';
|
|
3
3
|
import { PickerMode } from 'ant-design-vue/lib/vc-picker/interface';
|
|
4
4
|
import { Dayjs } from 'dayjs';
|
|
5
|
-
import { ComputedRef, ExtractPropTypes,
|
|
5
|
+
import { ComputedRef, ExtractPropTypes, PropType } from 'vue';
|
|
6
6
|
import { VarConfigControl, VarProfileDetail, VarSubmitDetail } from '../../api/WMS/models';
|
|
7
7
|
import { KG_FORM_CONTEXT } from '../../const';
|
|
8
8
|
export declare type IKgFormItemValue = string | number | Array<string | number>;
|
|
@@ -109,5 +109,3 @@ export declare type IKgFormItemSlotControlRightParameter = {
|
|
|
109
109
|
varProfileDetail: VarProfileDetail;
|
|
110
110
|
varSubmitDetail: VarSubmitDetail;
|
|
111
111
|
};
|
|
112
|
-
/** 依赖注入 kgContext 参数. */
|
|
113
|
-
export declare const KG__DI__KG_FORM_ITEM__CONTEXT: InjectionKey<KG_FORM_CONTEXT>;
|
|
@@ -14,7 +14,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
14
14
|
};
|
|
15
15
|
kgDisabled: {
|
|
16
16
|
type: import("vue").PropType<boolean>;
|
|
17
|
-
default: undefined;
|
|
17
|
+
default: undefined; /** 是否勾选. */
|
|
18
18
|
};
|
|
19
19
|
kgSpan: import("vue").PropType<number>;
|
|
20
20
|
kgPlaceholder: import("vue").PropType<string>;
|
|
@@ -54,7 +54,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
54
54
|
};
|
|
55
55
|
kgDisabled: {
|
|
56
56
|
type: import("vue").PropType<boolean>;
|
|
57
|
-
default: undefined;
|
|
57
|
+
default: undefined; /** 是否勾选. */
|
|
58
58
|
};
|
|
59
59
|
kgSpan: import("vue").PropType<number>;
|
|
60
60
|
kgPlaceholder: import("vue").PropType<string>;
|
|
@@ -24,7 +24,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
24
24
|
default: undefined;
|
|
25
25
|
};
|
|
26
26
|
kgShowTime: {
|
|
27
|
-
type: import("vue").PropType<boolean | import("ant-design-vue/es/vc-picker/panels/TimePanel").SharedTimeProps<import("dayjs").Dayjs>>;
|
|
27
|
+
type: import("vue").PropType<boolean | import("ant-design-vue/es/vc-picker/panels/TimePanel").SharedTimeProps<import("dayjs").Dayjs>>;
|
|
28
28
|
default: undefined;
|
|
29
29
|
};
|
|
30
30
|
kgPicker: {
|
|
@@ -64,7 +64,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
64
64
|
default: undefined;
|
|
65
65
|
};
|
|
66
66
|
kgShowTime: {
|
|
67
|
-
type: import("vue").PropType<boolean | import("ant-design-vue/es/vc-picker/panels/TimePanel").SharedTimeProps<import("dayjs").Dayjs>>;
|
|
67
|
+
type: import("vue").PropType<boolean | import("ant-design-vue/es/vc-picker/panels/TimePanel").SharedTimeProps<import("dayjs").Dayjs>>;
|
|
68
68
|
default: undefined;
|
|
69
69
|
};
|
|
70
70
|
kgPicker: {
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{
|
|
2
2
|
kgVarName: {
|
|
3
3
|
type: import("vue").PropType<string>;
|
|
4
|
-
required: boolean;
|
|
5
|
-
* 图片显示宽度.
|
|
6
|
-
*/
|
|
4
|
+
required: boolean;
|
|
7
5
|
};
|
|
8
6
|
kgContext: {
|
|
9
7
|
type: import("vue").PropType<import("../../../const").KG_FORM_CONTEXT>;
|
|
@@ -43,9 +41,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
43
41
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
44
42
|
kgVarName: {
|
|
45
43
|
type: import("vue").PropType<string>;
|
|
46
|
-
required: boolean;
|
|
47
|
-
* 图片显示宽度.
|
|
48
|
-
*/
|
|
44
|
+
required: boolean;
|
|
49
45
|
};
|
|
50
46
|
kgContext: {
|
|
51
47
|
type: import("vue").PropType<import("../../../const").KG_FORM_CONTEXT>;
|
|
@@ -15,7 +15,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
15
15
|
kgSpan: import("vue").PropType<number>;
|
|
16
16
|
kgPlaceholder: import("vue").PropType<string>;
|
|
17
17
|
kgMode: import("vue").PropType<"multiple" | "tags">;
|
|
18
|
-
/** 表单的值. */
|
|
19
18
|
kgShowLabel: {
|
|
20
19
|
type: import("vue").PropType<boolean>;
|
|
21
20
|
default: boolean;
|
|
@@ -56,7 +55,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
56
55
|
kgSpan: import("vue").PropType<number>;
|
|
57
56
|
kgPlaceholder: import("vue").PropType<string>;
|
|
58
57
|
kgMode: import("vue").PropType<"multiple" | "tags">;
|
|
59
|
-
/** 表单的值. */
|
|
60
58
|
kgShowLabel: {
|
|
61
59
|
type: import("vue").PropType<boolean>;
|
|
62
60
|
default: boolean;
|
|
@@ -27,6 +27,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
27
27
|
type: import("vue").PropType<boolean | import("ant-design-vue/es/vc-picker/panels/TimePanel").SharedTimeProps<import("dayjs").Dayjs>>;
|
|
28
28
|
default: undefined;
|
|
29
29
|
};
|
|
30
|
+
/** 表单的值. */
|
|
30
31
|
kgPicker: {
|
|
31
32
|
type: import("vue").PropType<import("ant-design-vue/lib/vc-picker/interface").PickerMode>;
|
|
32
33
|
default: undefined;
|
|
@@ -67,6 +68,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
67
68
|
type: import("vue").PropType<boolean | import("ant-design-vue/es/vc-picker/panels/TimePanel").SharedTimeProps<import("dayjs").Dayjs>>;
|
|
68
69
|
default: undefined;
|
|
69
70
|
};
|
|
71
|
+
/** 表单的值. */
|
|
70
72
|
kgPicker: {
|
|
71
73
|
type: import("vue").PropType<import("ant-design-vue/lib/vc-picker/interface").PickerMode>;
|
|
72
74
|
default: undefined;
|
|
@@ -789,6 +789,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
789
789
|
originVNode: import("ant-design-vue/es/_util/type").VueNode;
|
|
790
790
|
}) => import("ant-design-vue/es/_util/type").VueNode>;
|
|
791
791
|
}>>, {
|
|
792
|
+
mask: boolean;
|
|
792
793
|
visible: boolean;
|
|
793
794
|
kgFullHeight: boolean;
|
|
794
795
|
kgIsDefaultFullscreen: boolean;
|
|
@@ -810,7 +811,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
810
811
|
getContainer: string | false | HTMLElement | (() => HTMLElement);
|
|
811
812
|
bodyStyle: import("vue").CSSProperties;
|
|
812
813
|
maskStyle: import("vue").CSSProperties;
|
|
813
|
-
mask: boolean;
|
|
814
814
|
keyboard: boolean;
|
|
815
815
|
focusTriggerAfterClose: boolean;
|
|
816
816
|
}>;
|
|
@@ -31,7 +31,7 @@ export declare const getProps: () => {
|
|
|
31
31
|
};
|
|
32
32
|
/** 拖拽条的位置. */
|
|
33
33
|
kgType: {
|
|
34
|
-
type: PropType<"
|
|
34
|
+
type: PropType<"left" | "right" | "bottom" | "top">;
|
|
35
35
|
default: string;
|
|
36
36
|
};
|
|
37
37
|
'onUpdate:kgHeight': PropType<(value: number) => void>;
|
|
@@ -68,7 +68,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
68
68
|
};
|
|
69
69
|
/** 拖拽条的位置. */
|
|
70
70
|
kgType: {
|
|
71
|
-
type: PropType<"
|
|
71
|
+
type: PropType<"left" | "right" | "bottom" | "top">;
|
|
72
72
|
default: string;
|
|
73
73
|
};
|
|
74
74
|
'onUpdate:kgHeight': PropType<(value: number) => void>;
|
|
@@ -103,7 +103,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
103
103
|
};
|
|
104
104
|
/** 拖拽条的位置. */
|
|
105
105
|
kgType: {
|
|
106
|
-
type: PropType<"
|
|
106
|
+
type: PropType<"left" | "right" | "bottom" | "top">;
|
|
107
107
|
default: string;
|
|
108
108
|
};
|
|
109
109
|
'onUpdate:kgHeight': PropType<(value: number) => void>;
|
|
@@ -114,6 +114,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
114
114
|
kgMinHeight: number;
|
|
115
115
|
kgResizeHandleVisible: boolean;
|
|
116
116
|
kgHeight: number;
|
|
117
|
-
kgType: "
|
|
117
|
+
kgType: "left" | "right" | "bottom" | "top";
|
|
118
118
|
}>;
|
|
119
119
|
export default _default;
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
import { PanelPlacement } from './KgSimulator.model';
|
|
3
|
+
export declare const getProps: () => {
|
|
4
|
+
/**
|
|
5
|
+
* 是否打开.
|
|
6
|
+
*/
|
|
7
|
+
kgIsOpen: {
|
|
8
|
+
type: PropType<boolean>;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* 位置.
|
|
12
|
+
*/
|
|
13
|
+
kgPlacement: {
|
|
14
|
+
type: PropType<PanelPlacement>;
|
|
15
|
+
required: boolean;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* 标题.
|
|
19
|
+
*/
|
|
20
|
+
kgTitle: {
|
|
21
|
+
type: PropType<string>;
|
|
22
|
+
required: boolean;
|
|
23
|
+
};
|
|
24
|
+
'onUpdate:kgIsOpen': PropType<(value: boolean) => void>;
|
|
25
|
+
};
|
|
26
|
+
export declare type KgSimulatorPanelProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
|
27
|
+
/**
|
|
28
|
+
* 模拟器--面板--预制组件.
|
|
29
|
+
*/
|
|
30
|
+
export declare const KgSimulatorPanel: import("vue").DefineComponent<{
|
|
31
|
+
/**
|
|
32
|
+
* 是否打开.
|
|
33
|
+
*/
|
|
34
|
+
kgIsOpen: {
|
|
35
|
+
type: PropType<boolean>;
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* 位置.
|
|
39
|
+
*/
|
|
40
|
+
kgPlacement: {
|
|
41
|
+
type: PropType<PanelPlacement>;
|
|
42
|
+
required: boolean;
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* 标题.
|
|
46
|
+
*/
|
|
47
|
+
kgTitle: {
|
|
48
|
+
type: PropType<string>;
|
|
49
|
+
required: boolean;
|
|
50
|
+
};
|
|
51
|
+
'onUpdate:kgIsOpen': PropType<(value: boolean) => void>;
|
|
52
|
+
}, () => JSX.Element | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
53
|
+
/**
|
|
54
|
+
* 是否打开.
|
|
55
|
+
*/
|
|
56
|
+
kgIsOpen: {
|
|
57
|
+
type: PropType<boolean>;
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* 位置.
|
|
61
|
+
*/
|
|
62
|
+
kgPlacement: {
|
|
63
|
+
type: PropType<PanelPlacement>;
|
|
64
|
+
required: boolean;
|
|
65
|
+
};
|
|
66
|
+
/**
|
|
67
|
+
* 标题.
|
|
68
|
+
*/
|
|
69
|
+
kgTitle: {
|
|
70
|
+
type: PropType<string>;
|
|
71
|
+
required: boolean;
|
|
72
|
+
};
|
|
73
|
+
'onUpdate:kgIsOpen': PropType<(value: boolean) => void>;
|
|
74
|
+
}>>, {}>;
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
export declare const getProps: () => {
|
|
3
|
+
/**
|
|
4
|
+
* 图标.
|
|
5
|
+
*/
|
|
6
|
+
kgIcon: {
|
|
7
|
+
type: PropType<string>;
|
|
8
|
+
required: boolean;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* 图标宽度.
|
|
12
|
+
*
|
|
13
|
+
* @default 100
|
|
14
|
+
*/
|
|
15
|
+
kgIconWidth: {
|
|
16
|
+
type: PropType<number>;
|
|
17
|
+
default: number;
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* 名称.
|
|
21
|
+
*/
|
|
22
|
+
kgName: {
|
|
23
|
+
type: PropType<string>;
|
|
24
|
+
required: boolean;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
export declare type KgSimulatorPrefabProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
|
28
|
+
/**
|
|
29
|
+
* 模拟器--预制组件.
|
|
30
|
+
*/
|
|
31
|
+
export declare const KgSimulatorPrefab: import("vue").DefineComponent<{
|
|
32
|
+
/**
|
|
33
|
+
* 图标.
|
|
34
|
+
*/
|
|
35
|
+
kgIcon: {
|
|
36
|
+
type: PropType<string>;
|
|
37
|
+
required: boolean;
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* 图标宽度.
|
|
41
|
+
*
|
|
42
|
+
* @default 100
|
|
43
|
+
*/
|
|
44
|
+
kgIconWidth: {
|
|
45
|
+
type: PropType<number>;
|
|
46
|
+
default: number;
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* 名称.
|
|
50
|
+
*/
|
|
51
|
+
kgName: {
|
|
52
|
+
type: PropType<string>;
|
|
53
|
+
required: boolean;
|
|
54
|
+
};
|
|
55
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
56
|
+
/**
|
|
57
|
+
* 图标.
|
|
58
|
+
*/
|
|
59
|
+
kgIcon: {
|
|
60
|
+
type: PropType<string>;
|
|
61
|
+
required: boolean;
|
|
62
|
+
};
|
|
63
|
+
/**
|
|
64
|
+
* 图标宽度.
|
|
65
|
+
*
|
|
66
|
+
* @default 100
|
|
67
|
+
*/
|
|
68
|
+
kgIconWidth: {
|
|
69
|
+
type: PropType<number>;
|
|
70
|
+
default: number;
|
|
71
|
+
};
|
|
72
|
+
/**
|
|
73
|
+
* 名称.
|
|
74
|
+
*/
|
|
75
|
+
kgName: {
|
|
76
|
+
type: PropType<string>;
|
|
77
|
+
required: boolean;
|
|
78
|
+
};
|
|
79
|
+
}>>, {
|
|
80
|
+
kgIconWidth: number;
|
|
81
|
+
}>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ExtractPropTypes } from 'vue';
|
|
2
|
+
export declare const getProps: () => any;
|
|
3
|
+
export declare type KgSimulatorToolbarPrefabProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
|
4
|
+
/**
|
|
5
|
+
* 模拟器--工具栏项--预制组件.
|
|
6
|
+
*/
|
|
7
|
+
export declare const KgSimulatorToolbarPrefab: import("vue").DefineComponent<any, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<any>, {} | {
|
|
8
|
+
[x: string]: any;
|
|
9
|
+
}>;
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
import { ToolbarPlacement } from './KgSimulator.model';
|
|
3
|
+
export declare const getProps: () => {
|
|
4
|
+
/**
|
|
5
|
+
* 图标.
|
|
6
|
+
*/
|
|
7
|
+
kgIcon: {
|
|
8
|
+
type: PropType<string>;
|
|
9
|
+
required: boolean;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* 是否打开.
|
|
13
|
+
*/
|
|
14
|
+
kgIsOpen: {
|
|
15
|
+
type: PropType<boolean>;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* 是否显示.
|
|
19
|
+
*/
|
|
20
|
+
kgIsVisible: {
|
|
21
|
+
type: PropType<boolean>;
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* 位置.
|
|
25
|
+
*/
|
|
26
|
+
kgPlacement: {
|
|
27
|
+
type: PropType<ToolbarPlacement>;
|
|
28
|
+
required: boolean;
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* 标题.
|
|
32
|
+
*/
|
|
33
|
+
kgTitle: {
|
|
34
|
+
type: PropType<string>;
|
|
35
|
+
required: boolean;
|
|
36
|
+
};
|
|
37
|
+
'onUpdate:kgIsOpen': PropType<(value: boolean) => void>;
|
|
38
|
+
};
|
|
39
|
+
export declare type KgSimulatorToolbarProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
|
40
|
+
/**
|
|
41
|
+
* 模拟器--工具栏项.
|
|
42
|
+
*/
|
|
43
|
+
export declare const KgSimulatorToolbar: import("vue").DefineComponent<{
|
|
44
|
+
/**
|
|
45
|
+
* 图标.
|
|
46
|
+
*/
|
|
47
|
+
kgIcon: {
|
|
48
|
+
type: PropType<string>;
|
|
49
|
+
required: boolean;
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* 是否打开.
|
|
53
|
+
*/
|
|
54
|
+
kgIsOpen: {
|
|
55
|
+
type: PropType<boolean>;
|
|
56
|
+
};
|
|
57
|
+
/**
|
|
58
|
+
* 是否显示.
|
|
59
|
+
*/
|
|
60
|
+
kgIsVisible: {
|
|
61
|
+
type: PropType<boolean>;
|
|
62
|
+
};
|
|
63
|
+
/**
|
|
64
|
+
* 位置.
|
|
65
|
+
*/
|
|
66
|
+
kgPlacement: {
|
|
67
|
+
type: PropType<ToolbarPlacement>;
|
|
68
|
+
required: boolean;
|
|
69
|
+
};
|
|
70
|
+
/**
|
|
71
|
+
* 标题.
|
|
72
|
+
*/
|
|
73
|
+
kgTitle: {
|
|
74
|
+
type: PropType<string>;
|
|
75
|
+
required: boolean;
|
|
76
|
+
};
|
|
77
|
+
'onUpdate:kgIsOpen': PropType<(value: boolean) => void>;
|
|
78
|
+
}, () => JSX.Element | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
79
|
+
/**
|
|
80
|
+
* 图标.
|
|
81
|
+
*/
|
|
82
|
+
kgIcon: {
|
|
83
|
+
type: PropType<string>;
|
|
84
|
+
required: boolean;
|
|
85
|
+
};
|
|
86
|
+
/**
|
|
87
|
+
* 是否打开.
|
|
88
|
+
*/
|
|
89
|
+
kgIsOpen: {
|
|
90
|
+
type: PropType<boolean>;
|
|
91
|
+
};
|
|
92
|
+
/**
|
|
93
|
+
* 是否显示.
|
|
94
|
+
*/
|
|
95
|
+
kgIsVisible: {
|
|
96
|
+
type: PropType<boolean>;
|
|
97
|
+
};
|
|
98
|
+
/**
|
|
99
|
+
* 位置.
|
|
100
|
+
*/
|
|
101
|
+
kgPlacement: {
|
|
102
|
+
type: PropType<ToolbarPlacement>;
|
|
103
|
+
required: boolean;
|
|
104
|
+
};
|
|
105
|
+
/**
|
|
106
|
+
* 标题.
|
|
107
|
+
*/
|
|
108
|
+
kgTitle: {
|
|
109
|
+
type: PropType<string>;
|
|
110
|
+
required: boolean;
|
|
111
|
+
};
|
|
112
|
+
'onUpdate:kgIsOpen': PropType<(value: boolean) => void>;
|
|
113
|
+
}>>, {}>;
|
|
@@ -1,5 +1,32 @@
|
|
|
1
|
+
import { ExtractPropTypes, PropType } from 'vue';
|
|
1
2
|
import './KgSimulator.css';
|
|
3
|
+
export declare const getProps: () => {
|
|
4
|
+
/**
|
|
5
|
+
* 标识.
|
|
6
|
+
*/
|
|
7
|
+
id: {
|
|
8
|
+
type: PropType<string>;
|
|
9
|
+
required: boolean;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
export declare type KgSimulatorToolbarProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
|
2
13
|
/**
|
|
3
14
|
* 模拟器, 仿真模拟器, 环形输送机模拟器, 环线穿梭车模拟器.
|
|
4
15
|
*/
|
|
5
|
-
export declare const KgSimulator: import("vue").DefineComponent<{
|
|
16
|
+
export declare const KgSimulator: import("vue").DefineComponent<{
|
|
17
|
+
/**
|
|
18
|
+
* 标识.
|
|
19
|
+
*/
|
|
20
|
+
id: {
|
|
21
|
+
type: PropType<string>;
|
|
22
|
+
required: boolean;
|
|
23
|
+
};
|
|
24
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
25
|
+
/**
|
|
26
|
+
* 标识.
|
|
27
|
+
*/
|
|
28
|
+
id: {
|
|
29
|
+
type: PropType<string>;
|
|
30
|
+
required: boolean;
|
|
31
|
+
};
|
|
32
|
+
}>>, {}>;
|
|
@@ -1,11 +1,17 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { buildKgSimulatorStore } from './KgSimulator.store';
|
|
2
2
|
export declare type IUseKgSimulator = {
|
|
3
|
+
/**
|
|
4
|
+
* 标识.
|
|
5
|
+
*/
|
|
6
|
+
id: string;
|
|
3
7
|
/**
|
|
4
8
|
* 状态数据.
|
|
5
9
|
*/
|
|
6
|
-
store: ReturnType<typeof
|
|
7
|
-
}
|
|
10
|
+
store: ReturnType<ReturnType<typeof buildKgSimulatorStore>>;
|
|
11
|
+
} & ReturnType<ReturnType<typeof buildKgSimulatorStore>>;
|
|
8
12
|
/**
|
|
9
13
|
* 仿真模拟器.
|
|
14
|
+
*
|
|
15
|
+
* @param id 标识.
|
|
10
16
|
*/
|
|
11
|
-
export declare function useKgSimulator(): IUseKgSimulator;
|
|
17
|
+
export declare function useKgSimulator(id?: string | null | undefined): IUseKgSimulator;
|
|
@@ -1 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* 工具栏位置.
|
|
3
|
+
*/
|
|
4
|
+
export declare type ToolbarPlacement = 'LEFT_TOP' | 'LEFT_BOTTOM' | 'RIGHT_TOP' | 'RIGHT_BOTTOM';
|
|
5
|
+
/**
|
|
6
|
+
* 面板位置.
|
|
7
|
+
*/
|
|
8
|
+
export declare type PanelPlacement = 'LEFT_TOP' | 'LEFT_BOTTOM' | 'RIGHT_TOP' | 'RIGHT_BOTTOM';
|