@jnrs/lingshu-smart 2.2.6 → 2.2.8
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/App.vue.d.ts +2 -1
- package/dist/App.vue.js +30 -0
- package/dist/assets/data/editor_default.d.ts +8 -1
- package/dist/assets/data/editor_default.js +59 -0
- package/dist/assets/data/editor_default_setting.d.ts +16 -0
- package/dist/assets/data/editor_default_setting.js +58 -0
- package/dist/assets/data/editor_preset.d.ts +8 -1
- package/dist/assets/data/editor_preset.js +51 -0
- package/dist/assets/data/editor_preset_menu.d.ts +9 -0
- package/dist/assets/data/editor_preset_menu.js +290 -0
- package/dist/components/editor/ControlBar/CaseManger.vue.d.ts +3 -15
- package/dist/components/editor/ControlBar/CaseManger.vue.js +465 -0
- package/dist/components/editor/ControlBar/CaseTitleEdit.vue.d.ts +2 -411
- package/dist/components/editor/ControlBar/CaseTitleEdit.vue.js +108 -0
- package/dist/components/editor/ControlBar/ExportImportDialog.vue.d.ts +3 -2
- package/dist/components/editor/ControlBar/ExportImportDialog.vue.js +280 -0
- package/dist/components/editor/ControlBar/MainButton.vue.d.ts +3 -2
- package/dist/components/editor/ControlBar/MainButton.vue.js +183 -0
- package/dist/components/editor/ControlBar/StepButton.vue.d.ts +2 -1
- package/dist/components/editor/ControlBar/StepButton.vue.js +147 -0
- package/dist/components/editor/ControlBar/StepRecordVisualizer.vue.d.ts +2 -1
- package/dist/components/editor/ControlBar/StepRecordVisualizer.vue.js +98 -0
- package/dist/components/editor/DrawingBoard.vue.d.ts +2 -1
- package/dist/components/editor/DrawingBoard.vue.js +31 -0
- package/dist/components/editor/MenuCard/Equipments.vue.d.ts +2 -1
- package/dist/components/editor/MenuCard/Equipments.vue.js +129 -0
- package/dist/components/editor/MenuCard/Layers.vue.d.ts +2 -1
- package/dist/components/editor/MenuCard/Layers.vue.js +201 -0
- package/dist/components/editor/MenuCard/index.vue.d.ts +2 -1
- package/dist/components/editor/MenuCard/index.vue.js +84 -0
- package/dist/components/editor/OptionCard/Equipment/Base.vue.d.ts +2 -1
- package/dist/components/editor/OptionCard/Equipment/Base.vue.js +96 -0
- package/dist/components/editor/OptionCard/Equipment/Binds.vue.d.ts +3 -0
- package/dist/components/editor/OptionCard/Equipment/Binds.vue.js +443 -0
- package/dist/components/editor/OptionCard/Equipment/Bot.vue.d.ts +3 -0
- package/dist/components/editor/OptionCard/Equipment/Bot.vue.js +81 -0
- package/dist/components/editor/OptionCard/Equipment/DataSets.vue.d.ts +2 -1
- package/dist/components/editor/OptionCard/Equipment/DataSets.vue.js +304 -0
- package/dist/components/editor/OptionCard/Equipment/DockStore.vue.d.ts +3 -0
- package/dist/components/editor/OptionCard/Equipment/DockStore.vue.js +597 -0
- package/dist/components/editor/OptionCard/Equipment/Interaction.vue.d.ts +2 -1
- package/dist/components/editor/OptionCard/Equipment/Interaction.vue.js +287 -0
- package/dist/components/editor/OptionCard/Equipment/Position.backup.vue.d.ts +3 -0
- package/dist/components/editor/OptionCard/Equipment/Position.backup.vue.js +440 -0
- package/dist/components/editor/OptionCard/Equipment/Position.vue.d.ts +2 -1
- package/dist/components/editor/OptionCard/Equipment/Position.vue.js +436 -0
- package/dist/components/editor/OptionCard/Equipment/StationSlotGroup.vue.d.ts +2 -1
- package/dist/components/editor/OptionCard/Equipment/StationSlotGroup.vue.js +1131 -0
- package/dist/components/editor/OptionCard/Equipment/Store.vue.d.ts +3 -0
- package/dist/components/editor/OptionCard/Equipment/Store.vue.js +453 -0
- package/dist/components/editor/OptionCard/Equipment/Trailer.vue.d.ts +3 -0
- package/dist/components/editor/OptionCard/Equipment/Trailer.vue.js +1109 -0
- package/dist/components/editor/OptionCard/Equipment/index.vue.d.ts +2 -1
- package/dist/components/editor/OptionCard/Equipment/index.vue.js +100 -0
- package/dist/components/editor/OptionCard/Equipment/models/MachineTool.vue.d.ts +3 -0
- package/dist/components/editor/OptionCard/Equipment/models/MachineTool.vue.js +99 -0
- package/dist/components/editor/OptionCard/Equipment/models/Rail.vue.d.ts +3 -0
- package/dist/components/editor/OptionCard/Equipment/models/Rail.vue.js +225 -0
- package/dist/components/editor/OptionCard/Equipment/models/SingleGripperRobot.vue.d.ts +3 -0
- package/dist/components/editor/OptionCard/Equipment/models/SingleGripperRobot.vue.js +99 -0
- package/dist/components/editor/OptionCard/Scene/Background.vue.d.ts +2 -1
- package/dist/components/editor/OptionCard/Scene/Background.vue.js +543 -0
- package/dist/components/editor/OptionCard/Scene/index.vue.d.ts +2 -1
- package/dist/components/editor/OptionCard/Scene/index.vue.js +200 -0
- package/dist/components/editor/OptionCard/index.vue.d.ts +2 -1
- package/dist/components/editor/OptionCard/index.vue.js +73 -0
- package/dist/components/editor/index.vue.d.ts +4 -13
- package/dist/components/editor/index.vue.js +156 -0
- package/dist/components/index.d.ts +2 -2
- package/dist/components/index.js +4 -25440
- package/dist/components/preview/index.vue.d.ts +6 -5
- package/dist/components/preview/index.vue.js +104 -0
- package/dist/composables/useStepRecord.d.ts +12 -4
- package/dist/composables/useStepRecord.js +135 -0
- package/dist/constants/options.d.ts +8 -1
- package/dist/constants/options.js +55 -0
- package/dist/controller/AppController.d.ts +10 -3
- package/dist/controller/AppController.js +168 -0
- package/dist/controller/EditorController.d.ts +9 -2
- package/dist/controller/EditorController.js +173 -0
- package/dist/index.js +1 -1
- package/dist/locales/en.js +5 -0
- package/dist/locales/i18next.d.ts +1 -1
- package/dist/locales/i18next.js +6 -0
- package/dist/locales/index.d.ts +2 -2
- package/dist/locales/index.js +3 -13
- package/dist/locales/zhCn.js +5 -0
- package/dist/main.d.ts +3 -0
- package/dist/main.js +13 -0
- package/dist/playground/EditPageDemo.vue.d.ts +2 -1
- package/dist/playground/EditPageDemo.vue.js +57 -0
- package/dist/playground/ViewPageDemo.vue.d.ts +2 -27
- package/dist/playground/ViewPageDemo.vue.js +277 -0
- package/dist/stores/index.js +3 -0
- package/dist/stores/useAppStore.d.ts +13 -6
- package/dist/stores/useAppStore.js +78 -0
- package/dist/stores/useDataStore.d.ts +18 -11
- package/dist/stores/useDataStore.js +116 -0
- package/dist/stores/useEditorStore.d.ts +27 -20
- package/dist/stores/useEditorStore.js +263 -0
- package/dist/types/app.types.d.ts +1 -1
- package/dist/types/app.types.js +2 -0
- package/dist/types/base.types.d.ts +4 -2
- package/dist/types/base.types.js +1 -0
- package/dist/types/components/config.types.d.ts +11 -3
- package/dist/types/components/config.types.js +1 -0
- package/dist/types/components/operating.types.d.ts +1 -1
- package/dist/types/components/operating.types.js +1 -0
- package/dist/types/enums.d.ts +5 -2
- package/dist/types/enums.js +46 -0
- package/dist/types/guards.d.ts +12 -2
- package/dist/types/guards.js +28 -0
- package/dist/types/index.d.ts +2 -2
- package/dist/types/index.js +8 -0
- package/dist/types/models/config.types.d.ts +74 -29
- package/dist/types/models/config.types.js +1 -0
- package/dist/types/models/operating.types.d.ts +83 -17
- package/dist/types/models/operating.types.js +1 -0
- package/dist/ui/abstract/ComponentAbs.d.ts +9 -2
- package/dist/ui/abstract/ComponentAbs.js +64 -0
- package/dist/ui/abstract/ModelAbs.d.ts +12 -2
- package/dist/ui/abstract/ModelAbs.js +119 -0
- package/dist/ui/components/Entrance.d.ts +8 -1
- package/dist/ui/components/Entrance.js +83 -0
- package/dist/ui/components/Light.d.ts +26 -3
- package/dist/ui/components/Light.js +167 -0
- package/dist/ui/components/Progress.d.ts +8 -1
- package/dist/ui/components/Progress.js +84 -0
- package/dist/ui/components/Resource.d.ts +8 -1
- package/dist/ui/components/Resource.js +70 -0
- package/dist/ui/components/StationSlot.d.ts +24 -2
- package/dist/ui/components/StationSlot.js +207 -0
- package/dist/ui/components/StationSlotGroup.d.ts +8 -1
- package/dist/ui/components/StationSlotGroup.js +110 -0
- package/dist/ui/factories/createGlass.d.ts +9 -1
- package/dist/ui/factories/createGlass.js +51 -0
- package/dist/ui/factories/createModel.d.ts +9 -2
- package/dist/ui/factories/createModel.js +35 -0
- package/dist/ui/factories/createShadow.d.ts +12 -4
- package/dist/ui/factories/createShadow.js +52 -0
- package/dist/ui/factories/createText.d.ts +7 -0
- package/dist/ui/factories/createText.js +46 -0
- package/dist/ui/models/CleaningMachine.d.ts +14 -0
- package/dist/ui/models/CleaningMachine.js +141 -0
- package/dist/ui/models/DoubleJointRobot.d.ts +23 -0
- package/dist/ui/models/DoubleJointRobot.js +545 -0
- package/dist/ui/models/LoadingStation.d.ts +16 -0
- package/dist/ui/models/LoadingStation.js +167 -0
- package/dist/ui/models/MachineTool.d.ts +5 -4
- package/dist/ui/models/MachineTool.js +184 -0
- package/dist/ui/models/MarkingMachine.d.ts +16 -0
- package/dist/ui/models/MarkingMachine.js +148 -0
- package/dist/ui/models/Rail.d.ts +15 -0
- package/dist/ui/models/Rail.js +117 -0
- package/dist/ui/models/ResourceStore.d.ts +12 -0
- package/dist/ui/models/ResourceStore.js +101 -0
- package/dist/ui/models/SingleBot.d.ts +20 -0
- package/dist/ui/models/SingleBot.js +202 -0
- package/dist/ui/models/SingleGripperRobot.d.ts +19 -0
- package/dist/ui/models/SingleGripperRobot.js +272 -0
- package/dist/ui/models/SingleJointRobot.d.ts +22 -0
- package/dist/ui/models/SingleJointRobot.js +346 -0
- package/dist/ui/shapes/NamePlate.d.ts +10 -1
- package/dist/ui/shapes/NamePlate.js +85 -0
- package/dist/ui/shapes/ScrewHole.d.ts +8 -1
- package/dist/ui/shapes/ScrewHole.js +57 -0
- package/dist/ui/shapes/Texture.d.ts +12 -3
- package/dist/ui/shapes/Texture.js +51 -0
- package/dist/ui/utils/attr.d.ts +10 -3
- package/dist/ui/utils/attr.js +50 -0
- package/dist/utils/index.js +92 -0
- package/dist/utils/type-guards.d.ts +1 -1
- package/dist/utils/type-guards.js +105 -0
- package/package.json +2 -2
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,443 @@
|
|
|
1
|
+
import { toRefs, computed, watch } from 'vue';
|
|
2
|
+
//// import { useFmsVisualEditStore } from '@/stores'
|
|
3
|
+
const { railList, trailerList, transEquipList, selectedEquipment, handleLinkRail, handleLinkTrailer } = toRefs(useFmsVisualEditStore());
|
|
4
|
+
// 判断该设备所绑定的轨道是可用的
|
|
5
|
+
const linkRailIdUsable = computed(() => {
|
|
6
|
+
const id = selectedEquipment.value.linkRailId;
|
|
7
|
+
if (id) {
|
|
8
|
+
return railList.value.find((item) => item.id === id);
|
|
9
|
+
}
|
|
10
|
+
else {
|
|
11
|
+
return true;
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
// 判断该轨道所绑定的所有设备均可用
|
|
15
|
+
const linkEquipAllUsable = computed(() => {
|
|
16
|
+
const linkEquipIdArray = selectedEquipment.value.linkEquipIdArray;
|
|
17
|
+
return linkEquipIdArray.every((id) => transEquipList.value.some((d) => d.id === id));
|
|
18
|
+
});
|
|
19
|
+
// 判断该设备所绑定的随行托是可用的
|
|
20
|
+
const linkTrailerIdUsable = computed(() => {
|
|
21
|
+
const id = selectedEquipment.value.linkTrailerId;
|
|
22
|
+
if (id) {
|
|
23
|
+
return trailerList.value.find((item) => item.id === id);
|
|
24
|
+
}
|
|
25
|
+
else {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
});
|
|
29
|
+
// 当绑定的运输设备发生变化时,清除绑定的轨道
|
|
30
|
+
watch(() => selectedEquipment.value?.linkRailId, (nv, ov) => {
|
|
31
|
+
if (selectedEquipment.value && Object.hasOwn(selectedEquipment.value, 'linkRailId')) {
|
|
32
|
+
if (!nv && ov) {
|
|
33
|
+
handleLinkRail.value(selectedEquipment.value.id, ov, 'equip_remove');
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
});
|
|
37
|
+
// 当绑定的运输设备发生变化时,清除绑定的随行托
|
|
38
|
+
watch(() => selectedEquipment.value?.linkTrailerId, (nv, ov) => {
|
|
39
|
+
if (selectedEquipment.value && Object.hasOwn(selectedEquipment.value, 'linkTrailerId')) {
|
|
40
|
+
if (!nv && ov) {
|
|
41
|
+
handleLinkTrailer.value(selectedEquipment.value.id, ov, 'trailer_remove');
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
});
|
|
45
|
+
// 当绑定的随行托发生变化时,清除绑定的运输设备
|
|
46
|
+
watch(() => selectedEquipment.value?.linkEquipId, (nv, ov) => {
|
|
47
|
+
if (selectedEquipment.value && Object.hasOwn(selectedEquipment.value, 'linkEquipId')) {
|
|
48
|
+
if (!nv && ov) {
|
|
49
|
+
handleLinkTrailer.value(selectedEquipment.value.id, ov, 'equip_remove');
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
});
|
|
53
|
+
debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
|
|
54
|
+
const __VLS_ctx = {
|
|
55
|
+
...{},
|
|
56
|
+
...{},
|
|
57
|
+
};
|
|
58
|
+
let __VLS_components;
|
|
59
|
+
let __VLS_directives;
|
|
60
|
+
__VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
|
|
61
|
+
...{ class: "form_group" },
|
|
62
|
+
});
|
|
63
|
+
__VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
|
|
64
|
+
...{ class: "form_group_title" },
|
|
65
|
+
});
|
|
66
|
+
if (Object.hasOwn(__VLS_ctx.selectedEquipment, 'linkRailId')) {
|
|
67
|
+
// @ts-ignore
|
|
68
|
+
[selectedEquipment,];
|
|
69
|
+
__VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
|
|
70
|
+
...{ class: "keyVal" },
|
|
71
|
+
});
|
|
72
|
+
__VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
|
|
73
|
+
...{ class: "key" },
|
|
74
|
+
});
|
|
75
|
+
__VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
|
|
76
|
+
...{ class: "val" },
|
|
77
|
+
});
|
|
78
|
+
const __VLS_0 = {}.ElSelect;
|
|
79
|
+
/** @type {[typeof __VLS_components.ElSelect, typeof __VLS_components.elSelect, typeof __VLS_components.ElSelect, typeof __VLS_components.elSelect, ]} */ ;
|
|
80
|
+
// @ts-ignore
|
|
81
|
+
ElSelect;
|
|
82
|
+
// @ts-ignore
|
|
83
|
+
const __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0({
|
|
84
|
+
...{ 'onChange': {} },
|
|
85
|
+
modelValue: (__VLS_ctx.selectedEquipment.linkRailId),
|
|
86
|
+
filterable: true,
|
|
87
|
+
clearable: true,
|
|
88
|
+
size: "default",
|
|
89
|
+
...{ style: "width: 100%" },
|
|
90
|
+
}));
|
|
91
|
+
const __VLS_2 = __VLS_1({
|
|
92
|
+
...{ 'onChange': {} },
|
|
93
|
+
modelValue: (__VLS_ctx.selectedEquipment.linkRailId),
|
|
94
|
+
filterable: true,
|
|
95
|
+
clearable: true,
|
|
96
|
+
size: "default",
|
|
97
|
+
...{ style: "width: 100%" },
|
|
98
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_1));
|
|
99
|
+
let __VLS_5;
|
|
100
|
+
const __VLS_6 = ({ change: {} },
|
|
101
|
+
{ onChange: (...[$event]) => {
|
|
102
|
+
if (!(Object.hasOwn(__VLS_ctx.selectedEquipment, 'linkRailId')))
|
|
103
|
+
return;
|
|
104
|
+
__VLS_ctx.handleLinkRail(__VLS_ctx.selectedEquipment.id, $event);
|
|
105
|
+
// @ts-ignore
|
|
106
|
+
[selectedEquipment, selectedEquipment, handleLinkRail,];
|
|
107
|
+
} });
|
|
108
|
+
const { default: __VLS_7 } = __VLS_3.slots;
|
|
109
|
+
for (const [item] of __VLS_getVForSourceType((__VLS_ctx.railList))) {
|
|
110
|
+
// @ts-ignore
|
|
111
|
+
[railList,];
|
|
112
|
+
const __VLS_8 = {}.ElOption;
|
|
113
|
+
/** @type {[typeof __VLS_components.ElOption, typeof __VLS_components.elOption, ]} */ ;
|
|
114
|
+
// @ts-ignore
|
|
115
|
+
ElOption;
|
|
116
|
+
// @ts-ignore
|
|
117
|
+
const __VLS_9 = __VLS_asFunctionalComponent(__VLS_8, new __VLS_8({
|
|
118
|
+
key: (item.id),
|
|
119
|
+
label: (item.title),
|
|
120
|
+
value: (item.id),
|
|
121
|
+
}));
|
|
122
|
+
const __VLS_10 = __VLS_9({
|
|
123
|
+
key: (item.id),
|
|
124
|
+
label: (item.title),
|
|
125
|
+
value: (item.id),
|
|
126
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_9));
|
|
127
|
+
}
|
|
128
|
+
var __VLS_3;
|
|
129
|
+
var __VLS_4;
|
|
130
|
+
if (!__VLS_ctx.linkRailIdUsable) {
|
|
131
|
+
// @ts-ignore
|
|
132
|
+
[linkRailIdUsable,];
|
|
133
|
+
__VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
|
|
134
|
+
...{ class: "errorMessage" },
|
|
135
|
+
});
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
if (Object.hasOwn(__VLS_ctx.selectedEquipment, 'linkEquipIdArray')) {
|
|
139
|
+
// @ts-ignore
|
|
140
|
+
[selectedEquipment,];
|
|
141
|
+
__VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
|
|
142
|
+
...{ class: "keyVal" },
|
|
143
|
+
});
|
|
144
|
+
__VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
|
|
145
|
+
...{ class: "key" },
|
|
146
|
+
});
|
|
147
|
+
__VLS_asFunctionalElement(__VLS_intrinsics.br)({});
|
|
148
|
+
__VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
|
|
149
|
+
...{ class: "val" },
|
|
150
|
+
});
|
|
151
|
+
const __VLS_14 = {}.ElSelect;
|
|
152
|
+
/** @type {[typeof __VLS_components.ElSelect, typeof __VLS_components.elSelect, typeof __VLS_components.ElSelect, typeof __VLS_components.elSelect, ]} */ ;
|
|
153
|
+
// @ts-ignore
|
|
154
|
+
ElSelect;
|
|
155
|
+
// @ts-ignore
|
|
156
|
+
const __VLS_15 = __VLS_asFunctionalComponent(__VLS_14, new __VLS_14({
|
|
157
|
+
...{ 'onChange': {} },
|
|
158
|
+
...{ 'onRemoveTag': {} },
|
|
159
|
+
modelValue: (__VLS_ctx.selectedEquipment.linkEquipIdArray),
|
|
160
|
+
filterable: true,
|
|
161
|
+
multiple: true,
|
|
162
|
+
size: "default",
|
|
163
|
+
...{ style: "width: 100%" },
|
|
164
|
+
}));
|
|
165
|
+
const __VLS_16 = __VLS_15({
|
|
166
|
+
...{ 'onChange': {} },
|
|
167
|
+
...{ 'onRemoveTag': {} },
|
|
168
|
+
modelValue: (__VLS_ctx.selectedEquipment.linkEquipIdArray),
|
|
169
|
+
filterable: true,
|
|
170
|
+
multiple: true,
|
|
171
|
+
size: "default",
|
|
172
|
+
...{ style: "width: 100%" },
|
|
173
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_15));
|
|
174
|
+
let __VLS_19;
|
|
175
|
+
const __VLS_20 = ({ change: {} },
|
|
176
|
+
{ onChange: (...[$event]) => {
|
|
177
|
+
if (!(Object.hasOwn(__VLS_ctx.selectedEquipment, 'linkEquipIdArray')))
|
|
178
|
+
return;
|
|
179
|
+
__VLS_ctx.handleLinkRail($event, __VLS_ctx.selectedEquipment.id);
|
|
180
|
+
// @ts-ignore
|
|
181
|
+
[selectedEquipment, selectedEquipment, handleLinkRail,];
|
|
182
|
+
} });
|
|
183
|
+
const __VLS_21 = ({ removeTag: {} },
|
|
184
|
+
{ onRemoveTag: (...[$event]) => {
|
|
185
|
+
if (!(Object.hasOwn(__VLS_ctx.selectedEquipment, 'linkEquipIdArray')))
|
|
186
|
+
return;
|
|
187
|
+
__VLS_ctx.handleLinkRail($event, __VLS_ctx.selectedEquipment.id, 'rail_remove');
|
|
188
|
+
// @ts-ignore
|
|
189
|
+
[selectedEquipment, handleLinkRail,];
|
|
190
|
+
} });
|
|
191
|
+
const { default: __VLS_22 } = __VLS_17.slots;
|
|
192
|
+
for (const [item] of __VLS_getVForSourceType((__VLS_ctx.transEquipList))) {
|
|
193
|
+
// @ts-ignore
|
|
194
|
+
[transEquipList,];
|
|
195
|
+
const __VLS_23 = {}.ElOption;
|
|
196
|
+
/** @type {[typeof __VLS_components.ElOption, typeof __VLS_components.elOption, ]} */ ;
|
|
197
|
+
// @ts-ignore
|
|
198
|
+
ElOption;
|
|
199
|
+
// @ts-ignore
|
|
200
|
+
const __VLS_24 = __VLS_asFunctionalComponent(__VLS_23, new __VLS_23({
|
|
201
|
+
key: (item.id),
|
|
202
|
+
label: (item.title),
|
|
203
|
+
value: (item.id),
|
|
204
|
+
}));
|
|
205
|
+
const __VLS_25 = __VLS_24({
|
|
206
|
+
key: (item.id),
|
|
207
|
+
label: (item.title),
|
|
208
|
+
value: (item.id),
|
|
209
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_24));
|
|
210
|
+
}
|
|
211
|
+
var __VLS_17;
|
|
212
|
+
var __VLS_18;
|
|
213
|
+
if (!__VLS_ctx.linkEquipAllUsable) {
|
|
214
|
+
// @ts-ignore
|
|
215
|
+
[linkEquipAllUsable,];
|
|
216
|
+
__VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
|
|
217
|
+
...{ class: "errorMessage" },
|
|
218
|
+
});
|
|
219
|
+
}
|
|
220
|
+
__VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
|
|
221
|
+
...{ class: "keyVal" },
|
|
222
|
+
});
|
|
223
|
+
__VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
|
|
224
|
+
...{ class: "key" },
|
|
225
|
+
});
|
|
226
|
+
__VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
|
|
227
|
+
...{ class: "val" },
|
|
228
|
+
});
|
|
229
|
+
const __VLS_29 = {}.ElSelect;
|
|
230
|
+
/** @type {[typeof __VLS_components.ElSelect, typeof __VLS_components.elSelect, typeof __VLS_components.ElSelect, typeof __VLS_components.elSelect, ]} */ ;
|
|
231
|
+
// @ts-ignore
|
|
232
|
+
ElSelect;
|
|
233
|
+
// @ts-ignore
|
|
234
|
+
const __VLS_30 = __VLS_asFunctionalComponent(__VLS_29, new __VLS_29({
|
|
235
|
+
modelValue: (__VLS_ctx.selectedEquipment.chainDirection),
|
|
236
|
+
filterable: true,
|
|
237
|
+
size: "default",
|
|
238
|
+
...{ style: "width: 100%" },
|
|
239
|
+
}));
|
|
240
|
+
const __VLS_31 = __VLS_30({
|
|
241
|
+
modelValue: (__VLS_ctx.selectedEquipment.chainDirection),
|
|
242
|
+
filterable: true,
|
|
243
|
+
size: "default",
|
|
244
|
+
...{ style: "width: 100%" },
|
|
245
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_30));
|
|
246
|
+
const { default: __VLS_34 } = __VLS_32.slots;
|
|
247
|
+
// @ts-ignore
|
|
248
|
+
[selectedEquipment,];
|
|
249
|
+
const __VLS_35 = {}.ElOption;
|
|
250
|
+
/** @type {[typeof __VLS_components.ElOption, typeof __VLS_components.elOption, ]} */ ;
|
|
251
|
+
// @ts-ignore
|
|
252
|
+
ElOption;
|
|
253
|
+
// @ts-ignore
|
|
254
|
+
const __VLS_36 = __VLS_asFunctionalComponent(__VLS_35, new __VLS_35({
|
|
255
|
+
label: "左侧",
|
|
256
|
+
value: "left",
|
|
257
|
+
}));
|
|
258
|
+
const __VLS_37 = __VLS_36({
|
|
259
|
+
label: "左侧",
|
|
260
|
+
value: "left",
|
|
261
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_36));
|
|
262
|
+
const __VLS_41 = {}.ElOption;
|
|
263
|
+
/** @type {[typeof __VLS_components.ElOption, typeof __VLS_components.elOption, ]} */ ;
|
|
264
|
+
// @ts-ignore
|
|
265
|
+
ElOption;
|
|
266
|
+
// @ts-ignore
|
|
267
|
+
const __VLS_42 = __VLS_asFunctionalComponent(__VLS_41, new __VLS_41({
|
|
268
|
+
label: "右侧",
|
|
269
|
+
value: "right",
|
|
270
|
+
}));
|
|
271
|
+
const __VLS_43 = __VLS_42({
|
|
272
|
+
label: "右侧",
|
|
273
|
+
value: "right",
|
|
274
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_42));
|
|
275
|
+
var __VLS_32;
|
|
276
|
+
}
|
|
277
|
+
if (Object.hasOwn(__VLS_ctx.selectedEquipment, 'linkTrailerId')) {
|
|
278
|
+
// @ts-ignore
|
|
279
|
+
[selectedEquipment,];
|
|
280
|
+
__VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
|
|
281
|
+
...{ class: "keyVal" },
|
|
282
|
+
});
|
|
283
|
+
__VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
|
|
284
|
+
...{ class: "key" },
|
|
285
|
+
});
|
|
286
|
+
__VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
|
|
287
|
+
...{ class: "val" },
|
|
288
|
+
});
|
|
289
|
+
const __VLS_47 = {}.ElSelect;
|
|
290
|
+
/** @type {[typeof __VLS_components.ElSelect, typeof __VLS_components.elSelect, typeof __VLS_components.ElSelect, typeof __VLS_components.elSelect, ]} */ ;
|
|
291
|
+
// @ts-ignore
|
|
292
|
+
ElSelect;
|
|
293
|
+
// @ts-ignore
|
|
294
|
+
const __VLS_48 = __VLS_asFunctionalComponent(__VLS_47, new __VLS_47({
|
|
295
|
+
...{ 'onChange': {} },
|
|
296
|
+
modelValue: (__VLS_ctx.selectedEquipment.linkTrailerId),
|
|
297
|
+
filterable: true,
|
|
298
|
+
clearable: true,
|
|
299
|
+
size: "default",
|
|
300
|
+
...{ style: "width: 100%" },
|
|
301
|
+
}));
|
|
302
|
+
const __VLS_49 = __VLS_48({
|
|
303
|
+
...{ 'onChange': {} },
|
|
304
|
+
modelValue: (__VLS_ctx.selectedEquipment.linkTrailerId),
|
|
305
|
+
filterable: true,
|
|
306
|
+
clearable: true,
|
|
307
|
+
size: "default",
|
|
308
|
+
...{ style: "width: 100%" },
|
|
309
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_48));
|
|
310
|
+
let __VLS_52;
|
|
311
|
+
const __VLS_53 = ({ change: {} },
|
|
312
|
+
{ onChange: (...[$event]) => {
|
|
313
|
+
if (!(Object.hasOwn(__VLS_ctx.selectedEquipment, 'linkTrailerId')))
|
|
314
|
+
return;
|
|
315
|
+
__VLS_ctx.handleLinkTrailer(__VLS_ctx.selectedEquipment.id, $event);
|
|
316
|
+
// @ts-ignore
|
|
317
|
+
[selectedEquipment, selectedEquipment, handleLinkTrailer,];
|
|
318
|
+
} });
|
|
319
|
+
const { default: __VLS_54 } = __VLS_50.slots;
|
|
320
|
+
for (const [item] of __VLS_getVForSourceType((__VLS_ctx.trailerList))) {
|
|
321
|
+
// @ts-ignore
|
|
322
|
+
[trailerList,];
|
|
323
|
+
const __VLS_55 = {}.ElOption;
|
|
324
|
+
/** @type {[typeof __VLS_components.ElOption, typeof __VLS_components.elOption, ]} */ ;
|
|
325
|
+
// @ts-ignore
|
|
326
|
+
ElOption;
|
|
327
|
+
// @ts-ignore
|
|
328
|
+
const __VLS_56 = __VLS_asFunctionalComponent(__VLS_55, new __VLS_55({
|
|
329
|
+
key: (item.id),
|
|
330
|
+
label: (item.title),
|
|
331
|
+
value: (item.id),
|
|
332
|
+
}));
|
|
333
|
+
const __VLS_57 = __VLS_56({
|
|
334
|
+
key: (item.id),
|
|
335
|
+
label: (item.title),
|
|
336
|
+
value: (item.id),
|
|
337
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_56));
|
|
338
|
+
}
|
|
339
|
+
var __VLS_50;
|
|
340
|
+
var __VLS_51;
|
|
341
|
+
if (!__VLS_ctx.linkTrailerIdUsable) {
|
|
342
|
+
// @ts-ignore
|
|
343
|
+
[linkTrailerIdUsable,];
|
|
344
|
+
__VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
|
|
345
|
+
...{ class: "errorMessage" },
|
|
346
|
+
});
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
if (Object.hasOwn(__VLS_ctx.selectedEquipment, 'linkEquipId')) {
|
|
350
|
+
// @ts-ignore
|
|
351
|
+
[selectedEquipment,];
|
|
352
|
+
__VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
|
|
353
|
+
...{ class: "keyVal" },
|
|
354
|
+
});
|
|
355
|
+
__VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
|
|
356
|
+
...{ class: "key" },
|
|
357
|
+
});
|
|
358
|
+
__VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
|
|
359
|
+
...{ class: "val" },
|
|
360
|
+
});
|
|
361
|
+
const __VLS_61 = {}.ElSelect;
|
|
362
|
+
/** @type {[typeof __VLS_components.ElSelect, typeof __VLS_components.elSelect, typeof __VLS_components.ElSelect, typeof __VLS_components.elSelect, ]} */ ;
|
|
363
|
+
// @ts-ignore
|
|
364
|
+
ElSelect;
|
|
365
|
+
// @ts-ignore
|
|
366
|
+
const __VLS_62 = __VLS_asFunctionalComponent(__VLS_61, new __VLS_61({
|
|
367
|
+
...{ 'onChange': {} },
|
|
368
|
+
modelValue: (__VLS_ctx.selectedEquipment.linkEquipId),
|
|
369
|
+
filterable: true,
|
|
370
|
+
clearable: true,
|
|
371
|
+
size: "default",
|
|
372
|
+
...{ style: "width: 100%" },
|
|
373
|
+
}));
|
|
374
|
+
const __VLS_63 = __VLS_62({
|
|
375
|
+
...{ 'onChange': {} },
|
|
376
|
+
modelValue: (__VLS_ctx.selectedEquipment.linkEquipId),
|
|
377
|
+
filterable: true,
|
|
378
|
+
clearable: true,
|
|
379
|
+
size: "default",
|
|
380
|
+
...{ style: "width: 100%" },
|
|
381
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_62));
|
|
382
|
+
let __VLS_66;
|
|
383
|
+
const __VLS_67 = ({ change: {} },
|
|
384
|
+
{ onChange: (...[$event]) => {
|
|
385
|
+
if (!(Object.hasOwn(__VLS_ctx.selectedEquipment, 'linkEquipId')))
|
|
386
|
+
return;
|
|
387
|
+
__VLS_ctx.handleLinkTrailer($event, __VLS_ctx.selectedEquipment.id);
|
|
388
|
+
// @ts-ignore
|
|
389
|
+
[selectedEquipment, selectedEquipment, handleLinkTrailer,];
|
|
390
|
+
} });
|
|
391
|
+
const { default: __VLS_68 } = __VLS_64.slots;
|
|
392
|
+
for (const [item] of __VLS_getVForSourceType((__VLS_ctx.transEquipList))) {
|
|
393
|
+
// @ts-ignore
|
|
394
|
+
[transEquipList,];
|
|
395
|
+
const __VLS_69 = {}.ElOption;
|
|
396
|
+
/** @type {[typeof __VLS_components.ElOption, typeof __VLS_components.elOption, ]} */ ;
|
|
397
|
+
// @ts-ignore
|
|
398
|
+
ElOption;
|
|
399
|
+
// @ts-ignore
|
|
400
|
+
const __VLS_70 = __VLS_asFunctionalComponent(__VLS_69, new __VLS_69({
|
|
401
|
+
key: (item.id),
|
|
402
|
+
label: (item.title),
|
|
403
|
+
value: (item.id),
|
|
404
|
+
}));
|
|
405
|
+
const __VLS_71 = __VLS_70({
|
|
406
|
+
key: (item.id),
|
|
407
|
+
label: (item.title),
|
|
408
|
+
value: (item.id),
|
|
409
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_70));
|
|
410
|
+
}
|
|
411
|
+
var __VLS_64;
|
|
412
|
+
var __VLS_65;
|
|
413
|
+
if (!__VLS_ctx.linkTrailerIdUsable) {
|
|
414
|
+
// @ts-ignore
|
|
415
|
+
[linkTrailerIdUsable,];
|
|
416
|
+
__VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
|
|
417
|
+
...{ class: "errorMessage" },
|
|
418
|
+
});
|
|
419
|
+
}
|
|
420
|
+
}
|
|
421
|
+
/** @type {__VLS_StyleScopedClasses['form_group']} */ ;
|
|
422
|
+
/** @type {__VLS_StyleScopedClasses['form_group_title']} */ ;
|
|
423
|
+
/** @type {__VLS_StyleScopedClasses['keyVal']} */ ;
|
|
424
|
+
/** @type {__VLS_StyleScopedClasses['key']} */ ;
|
|
425
|
+
/** @type {__VLS_StyleScopedClasses['val']} */ ;
|
|
426
|
+
/** @type {__VLS_StyleScopedClasses['errorMessage']} */ ;
|
|
427
|
+
/** @type {__VLS_StyleScopedClasses['keyVal']} */ ;
|
|
428
|
+
/** @type {__VLS_StyleScopedClasses['key']} */ ;
|
|
429
|
+
/** @type {__VLS_StyleScopedClasses['val']} */ ;
|
|
430
|
+
/** @type {__VLS_StyleScopedClasses['errorMessage']} */ ;
|
|
431
|
+
/** @type {__VLS_StyleScopedClasses['keyVal']} */ ;
|
|
432
|
+
/** @type {__VLS_StyleScopedClasses['key']} */ ;
|
|
433
|
+
/** @type {__VLS_StyleScopedClasses['val']} */ ;
|
|
434
|
+
/** @type {__VLS_StyleScopedClasses['keyVal']} */ ;
|
|
435
|
+
/** @type {__VLS_StyleScopedClasses['key']} */ ;
|
|
436
|
+
/** @type {__VLS_StyleScopedClasses['val']} */ ;
|
|
437
|
+
/** @type {__VLS_StyleScopedClasses['errorMessage']} */ ;
|
|
438
|
+
/** @type {__VLS_StyleScopedClasses['keyVal']} */ ;
|
|
439
|
+
/** @type {__VLS_StyleScopedClasses['key']} */ ;
|
|
440
|
+
/** @type {__VLS_StyleScopedClasses['val']} */ ;
|
|
441
|
+
/** @type {__VLS_StyleScopedClasses['errorMessage']} */ ;
|
|
442
|
+
const __VLS_export = (await import('vue')).defineComponent({});
|
|
443
|
+
export default {};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { toRefs } from 'vue';
|
|
2
|
+
//// import { useFmsVisualEditStore } from '@/stores'
|
|
3
|
+
//const { selectedEquipment } = toRefs(useFmsVisualEditStore())
|
|
4
|
+
debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
|
|
5
|
+
const __VLS_ctx = {
|
|
6
|
+
...{},
|
|
7
|
+
...{},
|
|
8
|
+
};
|
|
9
|
+
let __VLS_components;
|
|
10
|
+
let __VLS_directives;
|
|
11
|
+
__VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
|
|
12
|
+
...{ class: "form_group" },
|
|
13
|
+
});
|
|
14
|
+
__VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
|
|
15
|
+
...{ class: "form_group_title" },
|
|
16
|
+
});
|
|
17
|
+
__VLS_asFunctionalElement(__VLS_intrinsics.span, __VLS_intrinsics.span)({});
|
|
18
|
+
__VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
|
|
19
|
+
...{ class: "keyVal" },
|
|
20
|
+
});
|
|
21
|
+
__VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
|
|
22
|
+
...{ class: "key" },
|
|
23
|
+
});
|
|
24
|
+
__VLS_asFunctionalElement(__VLS_intrinsics.br)({});
|
|
25
|
+
__VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
|
|
26
|
+
...{ class: "val" },
|
|
27
|
+
});
|
|
28
|
+
const __VLS_0 = {}.ElSelect;
|
|
29
|
+
/** @type {[typeof __VLS_components.ElSelect, typeof __VLS_components.elSelect, typeof __VLS_components.ElSelect, typeof __VLS_components.elSelect, ]} */ ;
|
|
30
|
+
// @ts-ignore
|
|
31
|
+
ElSelect;
|
|
32
|
+
// @ts-ignore
|
|
33
|
+
const __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0({
|
|
34
|
+
modelValue: (__VLS_ctx.selectedEquipment.currentFixture),
|
|
35
|
+
filterable: true,
|
|
36
|
+
size: "default",
|
|
37
|
+
...{ style: "width: 100%" },
|
|
38
|
+
}));
|
|
39
|
+
const __VLS_2 = __VLS_1({
|
|
40
|
+
modelValue: (__VLS_ctx.selectedEquipment.currentFixture),
|
|
41
|
+
filterable: true,
|
|
42
|
+
size: "default",
|
|
43
|
+
...{ style: "width: 100%" },
|
|
44
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_1));
|
|
45
|
+
const { default: __VLS_5 } = __VLS_3.slots;
|
|
46
|
+
// @ts-ignore
|
|
47
|
+
[selectedEquipment,];
|
|
48
|
+
const __VLS_6 = {}.ElOption;
|
|
49
|
+
/** @type {[typeof __VLS_components.ElOption, typeof __VLS_components.elOption, ]} */ ;
|
|
50
|
+
// @ts-ignore
|
|
51
|
+
ElOption;
|
|
52
|
+
// @ts-ignore
|
|
53
|
+
const __VLS_7 = __VLS_asFunctionalComponent(__VLS_6, new __VLS_6({
|
|
54
|
+
label: "托盘夹具",
|
|
55
|
+
value: "pallet",
|
|
56
|
+
}));
|
|
57
|
+
const __VLS_8 = __VLS_7({
|
|
58
|
+
label: "托盘夹具",
|
|
59
|
+
value: "pallet",
|
|
60
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_7));
|
|
61
|
+
const __VLS_12 = {}.ElOption;
|
|
62
|
+
/** @type {[typeof __VLS_components.ElOption, typeof __VLS_components.elOption, ]} */ ;
|
|
63
|
+
// @ts-ignore
|
|
64
|
+
ElOption;
|
|
65
|
+
// @ts-ignore
|
|
66
|
+
const __VLS_13 = __VLS_asFunctionalComponent(__VLS_12, new __VLS_12({
|
|
67
|
+
label: "刀具夹具",
|
|
68
|
+
value: "cutter",
|
|
69
|
+
}));
|
|
70
|
+
const __VLS_14 = __VLS_13({
|
|
71
|
+
label: "刀具夹具",
|
|
72
|
+
value: "cutter",
|
|
73
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_13));
|
|
74
|
+
var __VLS_3;
|
|
75
|
+
/** @type {__VLS_StyleScopedClasses['form_group']} */ ;
|
|
76
|
+
/** @type {__VLS_StyleScopedClasses['form_group_title']} */ ;
|
|
77
|
+
/** @type {__VLS_StyleScopedClasses['keyVal']} */ ;
|
|
78
|
+
/** @type {__VLS_StyleScopedClasses['key']} */ ;
|
|
79
|
+
/** @type {__VLS_StyleScopedClasses['val']} */ ;
|
|
80
|
+
const __VLS_export = (await import('vue')).defineComponent({});
|
|
81
|
+
export default {};
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
declare const
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
2
3
|
export default _default;
|