@kengic/vue 0.30.1-beta.2 → 0.30.1-beta.20
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 +1 -1
- package/dist/align-left-outlined.579b01c6.mjs +8 -0
- package/dist/caret-down-outlined.c0564a3f.mjs +8 -0
- package/dist/caret-left-outlined.35b1d7d1.mjs +8 -0
- package/dist/caret-up-outlined.81b559ad.mjs +8 -0
- package/dist/double-right-outlined.f057a6b2.mjs +8 -0
- package/dist/eye-invisible-outlined.5f8d6151.mjs +8 -0
- package/dist/holder-outlined.9e698750.mjs +8 -0
- package/dist/index.css +1 -1
- package/dist/kengic-vue.js +143981 -107078
- package/dist/loading-outlined.13a15197.mjs +8 -0
- package/dist/more-outlined.8e1202ac.mjs +8 -0
- package/dist/project/build/utils.ts +20 -15
- package/dist/src/api/WMS/Controllers/DescriptionController/List.d.ts +2 -2
- package/dist/src/api/WMS/Controllers/DescriptionController/ListByCodeNamesAndCodeValues.d.ts +2 -2
- package/dist/src/api/WMS/Controllers/SqlClientController/Execute.d.ts +2 -2
- package/dist/src/api/WMS/Controllers/SqlClientController/ExecutePage.d.ts +2 -2
- package/dist/src/api/WMS/Controllers/SysPermissionController/List.d.ts +2 -2
- package/dist/src/api/WMS/Controllers/VarConfigDescriptionController/Add.d.ts +3 -3
- package/dist/src/api/WMS/Controllers/VarConfigDescriptionController/ListByFormId.d.ts +16 -0
- package/dist/src/api/WMS/Controllers/VarConfigDescriptionController/index.d.ts +1 -0
- package/dist/src/api/WMS/Controllers/VarConfigPossibilityController/ExecuteQuery.d.ts +2 -2
- package/dist/src/api/WMS/Controllers/VarController/GetAll.d.ts +2 -2
- package/dist/src/api/WMS/Controllers/VarDdaController/Create.d.ts +2 -2
- package/dist/src/api/WMS/Controllers/VarDdaController/GetResultSetMetadataFromSql.d.ts +2 -2
- package/dist/src/api/WMS/Controllers/VarDdaController/ValidateCopySql.d.ts +2 -2
- package/dist/src/api/WMS/Controllers/VarDdaController/ValidateCreateSql.d.ts +2 -2
- package/dist/src/api/WMS/Controllers/VarDdaController/ValidateDeleteSql.d.ts +2 -2
- package/dist/src/api/WMS/Controllers/VarDdaController/ValidateFrmId.d.ts +2 -2
- package/dist/src/api/WMS/Controllers/VarDdaController/ValidateSearchSql.d.ts +2 -2
- package/dist/src/api/WMS/Controllers/VarDdaController/ValidateUpdateSql.d.ts +2 -2
- package/dist/src/api/WMS/Controllers/VarDdaController/ValidateVarButtonVarName.d.ts +2 -2
- package/dist/src/api/WMS/Controllers/VarGridMasterController/QueryByID.d.ts +2 -2
- package/dist/src/api/WMS/Controllers/VarGridMasterController/Update.d.ts +2 -2
- package/dist/src/api/WMS/Controllers/VarProfileMasterController/QueryByID.d.ts +2 -2
- package/dist/src/api/WMS/Controllers/VarVariableController/Delete.d.ts +2 -2
- package/dist/src/api/WMS/Controllers/WarehouseController/ListVO.d.ts +25 -0
- package/dist/src/api/WMS/Controllers/WorkstationController/List.d.ts +2 -2
- package/dist/src/api/WMS/Controllers/index.d.ts +1 -1
- package/dist/src/api/WMS/models.d.ts +11 -5
- package/dist/src/component/KgCanvas/KgCanvas.ContextMenu.d.ts +1 -2
- 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 +4 -2
- 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.Menu.d.ts +4 -0
- package/dist/src/component/KgSimulator/KgSimulator.Panel.Prefab.d.ts +4 -0
- 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 +33 -0
- package/dist/src/component/KgSimulator/KgSimulator.hooks.d.ts +17 -0
- package/dist/src/component/KgSimulator/KgSimulator.icons.d.ts +6 -0
- package/dist/src/component/KgSimulator/KgSimulator.model.d.ts +8 -0
- package/dist/src/component/KgSimulator/KgSimulator.service.d.ts +46 -0
- package/dist/src/component/KgSimulator/KgSimulator.store.d.ts +36 -0
- package/dist/src/component/KgSimulator/index.d.ts +3 -0
- package/dist/src/component/KgTable/KgTable.model.d.ts +0 -2
- package/dist/src/component/KgTable/components/{KgTable.HeaderCell.d.ts → KgTable.HeadCell.d.ts} +1 -1
- package/dist/src/component/KgTable02/KgTable02.BodyCell.d.ts +43 -0
- 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/component/KgWarehouse/KgWarehouse.hooks.d.ts +2 -2
- package/dist/src/component/KgWarehouse/KgWarehouse.store.d.ts +4 -4
- package/dist/src/component/index.d.ts +1 -0
- package/dist/src/config/config.store.d.ts +15 -3
- package/dist/src/const/const.model.d.ts +545 -6
- package/dist/src/const/form-id.const.d.ts +10 -10
- package/dist/src/const/index.d.ts +0 -1
- package/dist/src/i18n/cs_CZ.d.ts +1 -1
- package/dist/src/i18n/en.d.ts +1 -1
- package/dist/src/i18n/es_ES.d.ts +1 -1
- package/dist/src/i18n/fr_FR.d.ts +1 -1
- package/dist/src/i18n/km_KH.d.ts +1 -1
- package/dist/src/i18n/ko_KR.d.ts +1 -1
- package/dist/src/i18n/vi_VN.d.ts +1 -1
- package/dist/src/i18n/zh_CN.d.ts +1 -1
- package/dist/src/page/{KgCircleVis/KgPageCircleVis.d.ts → KgPageCircularShuttleMonitor/KgPageCircularShuttleMonitor.d.ts} +1 -1
- package/dist/src/page/KgPageCircularShuttleMonitor/components/KgCircularShuttleMonitor.AreaSelect.d.ts +5 -0
- package/dist/src/page/KgPageCircularShuttleMonitor/components/KgCircularShuttleMonitor.Canvas.d.ts +5 -0
- package/dist/src/page/KgPageCircularShuttleMonitor/components/KgCircularShuttleMonitor.Legend.d.ts +5 -0
- package/dist/src/page/KgPageCircularShuttleMonitor/components/KgCircularShuttleMonitor.Offline.d.ts +5 -0
- package/dist/src/page/KgPageCircularShuttleMonitor/components/KgCircularShuttleMonitor.Setting.d.ts +5 -0
- package/dist/src/page/KgPageCircularShuttleMonitor/components/KgCircularShuttleMonitor.Tab.Log.d.ts +5 -0
- package/dist/src/page/{KgCircleVis/components/KgCircleVis.Tab.Rgv.d.ts → KgPageCircularShuttleMonitor/components/KgCircularShuttleMonitor.Tab.Rgv.d.ts} +5 -5
- package/dist/src/page/KgPageCircularShuttleMonitor/components/KgCircularShuttleMonitor.d.ts +5 -0
- package/dist/src/page/{KgCircleVis/components/KgCircleVis.hooks.d.ts → KgPageCircularShuttleMonitor/components/KgCircularShuttleMonitor.hooks.d.ts} +6 -6
- package/dist/src/page/{KgCircleVis/components/KgCircleVis.model.d.ts → KgPageCircularShuttleMonitor/components/KgCircularShuttleMonitor.model.d.ts} +1 -1
- package/dist/src/page/{KgCircleVis/components/KgCircleVis.store.d.ts → KgPageCircularShuttleMonitor/components/KgCircularShuttleMonitor.store.d.ts} +11 -11
- package/dist/src/page/KgPageCircularShuttleMonitor/index.d.ts +1 -0
- package/dist/src/page/KgPageDda/KgPageDda.d.ts +1 -1
- package/dist/src/page/KgPageDda/components/KgPageDda.Create.store.d.ts +3 -3
- package/dist/src/page/index.d.ts +2 -2
- package/dist/src/project/src/utils/env.d.ts +0 -16
- package/dist/src/util/ant-design-vue.d.ts +1 -1
- package/package.json +8 -6
- package/dist/src/api/WMS/Controllers/WhController/ListVO.d.ts +0 -54
- package/dist/src/component/KgForm/KgForm.model.d.ts +0 -9
- package/dist/src/const/injection-keys.const.d.ts +0 -11
- package/dist/src/page/KgCircleVis/components/KgCircleVis.AreaSelect.d.ts +0 -5
- package/dist/src/page/KgCircleVis/components/KgCircleVis.Canvas.d.ts +0 -5
- package/dist/src/page/KgCircleVis/components/KgCircleVis.Legend.d.ts +0 -5
- package/dist/src/page/KgCircleVis/components/KgCircleVis.Offline.d.ts +0 -5
- package/dist/src/page/KgCircleVis/components/KgCircleVis.Setting.d.ts +0 -5
- package/dist/src/page/KgCircleVis/components/KgCircleVis.Tab.Log.d.ts +0 -5
- package/dist/src/page/KgCircleVis/components/KgCircleVis.d.ts +0 -5
- package/dist/src/page/KgCircleVis/index.d.ts +0 -1
- /package/dist/src/api/WMS/Controllers/{WhController → WarehouseController}/index.d.ts +0 -0
- /package/dist/src/page/{KgCircleVis/components/KgCircleVis.Canvas.service.d.ts → KgPageCircularShuttleMonitor/components/KgCircularShuttleMonitor.Canvas.service.d.ts} +0 -0
|
@@ -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,8 +27,9 @@ 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
|
-
type: import("vue").PropType<import("ant-design-vue/lib/vc-picker/interface").PickerMode>;
|
|
32
|
+
type: import("vue").PropType<import("ant-design-vue/lib/vc-picker/interface").PickerMode>;
|
|
32
33
|
default: undefined;
|
|
33
34
|
};
|
|
34
35
|
kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
|
|
@@ -67,8 +68,9 @@ 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
|
-
type: import("vue").PropType<import("ant-design-vue/lib/vc-picker/interface").PickerMode>;
|
|
73
|
+
type: import("vue").PropType<import("ant-design-vue/lib/vc-picker/interface").PickerMode>;
|
|
72
74
|
default: undefined;
|
|
73
75
|
};
|
|
74
76
|
kgRules: import("vue").PropType<import("ant-design-vue/es/form").RuleObject[]>;
|
|
@@ -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,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,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 24
|
|
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 24
|
|
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 24
|
|
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
|
+
}>>, {}>;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
import './KgSimulator.css';
|
|
3
|
+
import './KgSimulator.icons';
|
|
4
|
+
export declare const getProps: () => {
|
|
5
|
+
/**
|
|
6
|
+
* 标识.
|
|
7
|
+
*/
|
|
8
|
+
id: {
|
|
9
|
+
type: PropType<string>;
|
|
10
|
+
required: boolean;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export declare type KgSimulatorToolbarProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
|
14
|
+
/**
|
|
15
|
+
* 模拟器, 仿真模拟器, 环形输送机模拟器, 环线穿梭车模拟器.
|
|
16
|
+
*/
|
|
17
|
+
export declare const KgSimulator: import("vue").DefineComponent<{
|
|
18
|
+
/**
|
|
19
|
+
* 标识.
|
|
20
|
+
*/
|
|
21
|
+
id: {
|
|
22
|
+
type: PropType<string>;
|
|
23
|
+
required: boolean;
|
|
24
|
+
};
|
|
25
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
26
|
+
/**
|
|
27
|
+
* 标识.
|
|
28
|
+
*/
|
|
29
|
+
id: {
|
|
30
|
+
type: PropType<string>;
|
|
31
|
+
required: boolean;
|
|
32
|
+
};
|
|
33
|
+
}>>, {}>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { buildKgSimulatorStore } from './KgSimulator.store';
|
|
2
|
+
export declare type IUseKgSimulator = {
|
|
3
|
+
/**
|
|
4
|
+
* 标识.
|
|
5
|
+
*/
|
|
6
|
+
id: string;
|
|
7
|
+
/**
|
|
8
|
+
* 状态数据.
|
|
9
|
+
*/
|
|
10
|
+
store: ReturnType<ReturnType<typeof buildKgSimulatorStore>>;
|
|
11
|
+
} & ReturnType<ReturnType<typeof buildKgSimulatorStore>>;
|
|
12
|
+
/**
|
|
13
|
+
* 仿真模拟器.
|
|
14
|
+
*
|
|
15
|
+
* @param id 标识.
|
|
16
|
+
*/
|
|
17
|
+
export declare function useKgSimulator(id?: string | null | undefined): IUseKgSimulator;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { Q } from '@thymine/xunee';
|
|
2
|
+
import { Ref } from 'vue';
|
|
3
|
+
/**
|
|
4
|
+
* 节点类型.
|
|
5
|
+
*/
|
|
6
|
+
export declare const NODE_KEY: {
|
|
7
|
+
/**
|
|
8
|
+
* 叠盘机.
|
|
9
|
+
*/
|
|
10
|
+
DPJ: string;
|
|
11
|
+
/**
|
|
12
|
+
* 顶升移载机.
|
|
13
|
+
*/
|
|
14
|
+
DSYZJ: string;
|
|
15
|
+
/**
|
|
16
|
+
* 光电传感器.
|
|
17
|
+
*/
|
|
18
|
+
GDCGQ: string;
|
|
19
|
+
/**
|
|
20
|
+
* 普通输送机.
|
|
21
|
+
*/
|
|
22
|
+
PTSSJ: string;
|
|
23
|
+
};
|
|
24
|
+
export declare type IUseDraw = {
|
|
25
|
+
/**
|
|
26
|
+
* 绘制图形.
|
|
27
|
+
*/
|
|
28
|
+
draw(param?: {
|
|
29
|
+
/**
|
|
30
|
+
* 是否纵览比例.
|
|
31
|
+
*
|
|
32
|
+
* @default false
|
|
33
|
+
*/
|
|
34
|
+
isZoomToOverview?: boolean;
|
|
35
|
+
}): void;
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* 绘制.
|
|
39
|
+
*
|
|
40
|
+
* @param param.graph 获取图形组件对象的方法.
|
|
41
|
+
* @param param.graphData 图形数据.
|
|
42
|
+
*/
|
|
43
|
+
export declare function useDraw(param: {
|
|
44
|
+
graph: () => Q.Graph | null;
|
|
45
|
+
graphData: Ref<any | null>;
|
|
46
|
+
}): IUseDraw;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Q } from '@thymine/xunee';
|
|
2
|
+
import { KgStoreDefinition } from '../../const';
|
|
3
|
+
import { ToolbarPlacement } from './KgSimulator.model';
|
|
4
|
+
export interface IKgSimulatorStoreGetters {
|
|
5
|
+
/**
|
|
6
|
+
* 配置--工具栏--预制组件--是否打开.
|
|
7
|
+
*
|
|
8
|
+
* @default true
|
|
9
|
+
*/
|
|
10
|
+
$config$toolbar$prefab$isOpen: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* 配置--工具栏--预制组件--是否显示.
|
|
13
|
+
*
|
|
14
|
+
* @default true
|
|
15
|
+
*/
|
|
16
|
+
$config$toolbar$prefab$isVisible: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* 配置--工具栏--预制组件--名称.
|
|
19
|
+
*
|
|
20
|
+
* @default '预制组件'
|
|
21
|
+
*/
|
|
22
|
+
$config$toolbar$prefab$name: string;
|
|
23
|
+
/**
|
|
24
|
+
* 配置--工具栏--预制组件--位置.
|
|
25
|
+
*
|
|
26
|
+
* @default 'LEFT_TOP'
|
|
27
|
+
*/
|
|
28
|
+
$config$toolbar$prefab$placement: ToolbarPlacement;
|
|
29
|
+
graph: Q.Graph | null;
|
|
30
|
+
}
|
|
31
|
+
export interface IKgSimulatorStoreActions {
|
|
32
|
+
set$config$toolbar$prefab$isOpen(value: boolean | null | undefined): void;
|
|
33
|
+
set$config$toolbar$prefab$placement(value: ToolbarPlacement | null | undefined): void;
|
|
34
|
+
setGraph(value: Q.Graph | null | undefined): void;
|
|
35
|
+
}
|
|
36
|
+
export declare function buildKgSimulatorStore(id: string | null | undefined): KgStoreDefinition<IKgSimulatorStoreGetters, IKgSimulatorStoreActions>;
|
|
@@ -63,5 +63,3 @@ export declare const KG_TABLE_TD_MAX_WIDTH = 1920;
|
|
|
63
63
|
export declare const KG_TABLE_TD_CHECK_WIDTH = 32;
|
|
64
64
|
/** 序号列的宽度. */
|
|
65
65
|
export declare const KG_TABLE_TD_INDEX_WIDTH = 55;
|
|
66
|
-
/** 在表格内创建时, 空白行的临时主键. */
|
|
67
|
-
export declare const KG_TABLE_TEMP_ID = "__KG_TABLE_TEMP_ID__";
|