@jnrs/lingshu-smart 2.2.8 → 2.2.10

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.
Files changed (176) hide show
  1. package/dist/App.vue.d.ts +1 -2
  2. package/dist/assets/data/editor_default_setting.d.ts +1 -8
  3. package/dist/assets/data/editor_preset_menu.d.ts +1 -8
  4. package/dist/components/editor/ControlBar/CaseManger.vue.d.ts +15 -3
  5. package/dist/components/editor/ControlBar/CaseTitleEdit.vue.d.ts +411 -2
  6. package/dist/components/editor/ControlBar/ExportImportDialog.vue.d.ts +2 -3
  7. package/dist/components/editor/ControlBar/MainButton.vue.d.ts +2 -3
  8. package/dist/components/editor/ControlBar/StepButton.vue.d.ts +1 -2
  9. package/dist/components/editor/ControlBar/StepRecordVisualizer.vue.d.ts +1 -2
  10. package/dist/components/editor/DrawingBoard.vue.d.ts +1 -2
  11. package/dist/components/editor/MenuCard/Equipments.vue.d.ts +1 -2
  12. package/dist/components/editor/MenuCard/Layers.vue.d.ts +1 -2
  13. package/dist/components/editor/MenuCard/index.vue.d.ts +1 -2
  14. package/dist/components/editor/OptionCard/Equipment/Base.vue.d.ts +1 -2
  15. package/dist/components/editor/OptionCard/Equipment/DataSets.vue.d.ts +1 -2
  16. package/dist/components/editor/OptionCard/Equipment/Interaction.vue.d.ts +1 -2
  17. package/dist/components/editor/OptionCard/Equipment/Position.vue.d.ts +1 -2
  18. package/dist/components/editor/OptionCard/Equipment/StationSlotGroup.vue.d.ts +1 -2
  19. package/dist/components/editor/OptionCard/Equipment/index.vue.d.ts +1 -2
  20. package/dist/components/editor/OptionCard/Equipment/models/MachineTool.vue.d.ts +1 -2
  21. package/dist/components/editor/OptionCard/Equipment/models/Rail.vue.d.ts +1 -2
  22. package/dist/components/editor/OptionCard/Equipment/models/SingleJointRobot.vue.d.ts +2 -0
  23. package/dist/components/editor/OptionCard/Scene/Background.vue.d.ts +1 -2
  24. package/dist/components/editor/OptionCard/Scene/index.vue.d.ts +1 -2
  25. package/dist/components/editor/OptionCard/index.vue.d.ts +1 -2
  26. package/dist/components/editor/index.vue.d.ts +13 -4
  27. package/dist/components/index.d.ts +2 -2
  28. package/dist/components/index.js +27281 -4
  29. package/dist/components/preview/index.vue.d.ts +5 -6
  30. package/dist/composables/useStepRecord.d.ts +4 -12
  31. package/dist/constants/options.d.ts +1 -8
  32. package/dist/controller/AppController.d.ts +3 -10
  33. package/dist/controller/EditorController.d.ts +2 -9
  34. package/dist/index.js +1 -1
  35. package/dist/json/cases.json +577 -20
  36. package/dist/locales/i18next.d.ts +1 -1
  37. package/dist/locales/index.d.ts +2 -2
  38. package/dist/locales/index.js +13 -3
  39. package/dist/main.d.ts +0 -3
  40. package/dist/playground/EditPageDemo.vue.d.ts +1 -2
  41. package/dist/playground/ViewPageDemo.vue.d.ts +27 -2
  42. package/dist/stores/useAppStore.d.ts +5 -12
  43. package/dist/stores/useDataStore.d.ts +11 -18
  44. package/dist/stores/useEditorStore.d.ts +20 -27
  45. package/dist/types/app.types.d.ts +1 -1
  46. package/dist/types/base.types.d.ts +1 -1
  47. package/dist/types/components/config.types.d.ts +1 -1
  48. package/dist/types/components/operating.types.d.ts +1 -1
  49. package/dist/types/enums.d.ts +1 -1
  50. package/dist/types/guards.d.ts +5 -12
  51. package/dist/types/index.d.ts +2 -2
  52. package/dist/types/models/config.types.d.ts +49 -47
  53. package/dist/types/models/operating.types.d.ts +53 -53
  54. package/dist/ui/abstract/ComponentAbs.d.ts +2 -9
  55. package/dist/ui/abstract/ModelAbs.d.ts +2 -10
  56. package/dist/ui/components/Entrance.d.ts +1 -8
  57. package/dist/ui/components/Light.d.ts +1 -8
  58. package/dist/ui/components/Progress.d.ts +1 -8
  59. package/dist/ui/components/Resource.d.ts +1 -8
  60. package/dist/ui/components/StationSlot.d.ts +1 -23
  61. package/dist/ui/components/StationSlotGroup.d.ts +1 -8
  62. package/dist/ui/factories/createGlass.d.ts +0 -6
  63. package/dist/ui/factories/createModel.d.ts +2 -9
  64. package/dist/ui/factories/createShadow.d.ts +1 -9
  65. package/dist/ui/factories/createText.d.ts +0 -7
  66. package/dist/ui/models/CleaningMachine.d.ts +1 -1
  67. package/dist/ui/models/DoubleJointRobot.d.ts +19 -20
  68. package/dist/ui/models/LoadingStation.d.ts +1 -1
  69. package/dist/ui/models/MachineTool.d.ts +1 -1
  70. package/dist/ui/models/MarkingMachine.d.ts +1 -1
  71. package/dist/ui/models/Rail.d.ts +1 -1
  72. package/dist/ui/models/ResourceStore.d.ts +1 -1
  73. package/dist/ui/models/SingleJointRobot.d.ts +3 -3
  74. package/dist/ui/shapes/NamePlate.d.ts +0 -7
  75. package/dist/ui/shapes/ScrewHole.d.ts +0 -7
  76. package/dist/ui/shapes/Texture.d.ts +1 -8
  77. package/dist/ui/utils/attr.d.ts +2 -9
  78. package/dist/utils/type-guards.d.ts +1 -1
  79. package/package.json +3 -3
  80. package/dist/App.vue.js +0 -30
  81. package/dist/assets/data/editor_default.d.ts +0 -16
  82. package/dist/assets/data/editor_default.js +0 -59
  83. package/dist/assets/data/editor_default_setting.js +0 -58
  84. package/dist/assets/data/editor_preset.d.ts +0 -9
  85. package/dist/assets/data/editor_preset.js +0 -51
  86. package/dist/assets/data/editor_preset_menu.js +0 -290
  87. package/dist/components/editor/ControlBar/CaseManger.vue.js +0 -465
  88. package/dist/components/editor/ControlBar/CaseTitleEdit.vue.js +0 -108
  89. package/dist/components/editor/ControlBar/ExportImportDialog.vue.js +0 -280
  90. package/dist/components/editor/ControlBar/MainButton.vue.js +0 -183
  91. package/dist/components/editor/ControlBar/StepButton.vue.js +0 -147
  92. package/dist/components/editor/ControlBar/StepRecordVisualizer.vue.js +0 -98
  93. package/dist/components/editor/DrawingBoard.vue.js +0 -31
  94. package/dist/components/editor/MenuCard/Equipments.vue.js +0 -129
  95. package/dist/components/editor/MenuCard/Layers.vue.js +0 -201
  96. package/dist/components/editor/MenuCard/index.vue.js +0 -84
  97. package/dist/components/editor/OptionCard/Equipment/Base.vue.js +0 -96
  98. package/dist/components/editor/OptionCard/Equipment/Binds.vue.d.ts +0 -3
  99. package/dist/components/editor/OptionCard/Equipment/Binds.vue.js +0 -443
  100. package/dist/components/editor/OptionCard/Equipment/Bot.vue.d.ts +0 -3
  101. package/dist/components/editor/OptionCard/Equipment/Bot.vue.js +0 -81
  102. package/dist/components/editor/OptionCard/Equipment/DataSets.vue.js +0 -304
  103. package/dist/components/editor/OptionCard/Equipment/DockStore.vue.d.ts +0 -3
  104. package/dist/components/editor/OptionCard/Equipment/DockStore.vue.js +0 -597
  105. package/dist/components/editor/OptionCard/Equipment/Interaction.vue.js +0 -287
  106. package/dist/components/editor/OptionCard/Equipment/Position.backup.vue.d.ts +0 -3
  107. package/dist/components/editor/OptionCard/Equipment/Position.backup.vue.js +0 -440
  108. package/dist/components/editor/OptionCard/Equipment/Position.vue.js +0 -436
  109. package/dist/components/editor/OptionCard/Equipment/StationSlotGroup.vue.js +0 -1131
  110. package/dist/components/editor/OptionCard/Equipment/Store.vue.d.ts +0 -3
  111. package/dist/components/editor/OptionCard/Equipment/Store.vue.js +0 -453
  112. package/dist/components/editor/OptionCard/Equipment/Trailer.vue.d.ts +0 -3
  113. package/dist/components/editor/OptionCard/Equipment/Trailer.vue.js +0 -1109
  114. package/dist/components/editor/OptionCard/Equipment/index.vue.js +0 -100
  115. package/dist/components/editor/OptionCard/Equipment/models/MachineTool.vue.js +0 -99
  116. package/dist/components/editor/OptionCard/Equipment/models/Rail.vue.js +0 -225
  117. package/dist/components/editor/OptionCard/Equipment/models/SingleGripperRobot.vue.d.ts +0 -3
  118. package/dist/components/editor/OptionCard/Equipment/models/SingleGripperRobot.vue.js +0 -99
  119. package/dist/components/editor/OptionCard/Scene/Background.vue.js +0 -543
  120. package/dist/components/editor/OptionCard/Scene/index.vue.js +0 -200
  121. package/dist/components/editor/OptionCard/index.vue.js +0 -73
  122. package/dist/components/editor/index.vue.js +0 -156
  123. package/dist/components/preview/index.vue.js +0 -104
  124. package/dist/composables/useStepRecord.js +0 -135
  125. package/dist/constants/options.js +0 -55
  126. package/dist/controller/AppController.js +0 -168
  127. package/dist/controller/EditorController.js +0 -173
  128. package/dist/locales/en.js +0 -5
  129. package/dist/locales/i18next.js +0 -6
  130. package/dist/locales/zhCn.js +0 -5
  131. package/dist/main.js +0 -13
  132. package/dist/playground/EditPageDemo.vue.js +0 -57
  133. package/dist/playground/ViewPageDemo.vue.js +0 -277
  134. package/dist/stores/index.js +0 -3
  135. package/dist/stores/useAppStore.js +0 -78
  136. package/dist/stores/useDataStore.js +0 -116
  137. package/dist/stores/useEditorStore.js +0 -263
  138. package/dist/types/app.types.js +0 -2
  139. package/dist/types/base.types.js +0 -1
  140. package/dist/types/components/config.types.js +0 -1
  141. package/dist/types/components/operating.types.js +0 -1
  142. package/dist/types/enums.js +0 -46
  143. package/dist/types/guards.js +0 -28
  144. package/dist/types/index.js +0 -8
  145. package/dist/types/models/config.types.js +0 -1
  146. package/dist/types/models/operating.types.js +0 -1
  147. package/dist/ui/abstract/ComponentAbs.js +0 -64
  148. package/dist/ui/abstract/ModelAbs.js +0 -119
  149. package/dist/ui/components/Entrance.js +0 -83
  150. package/dist/ui/components/Light.js +0 -167
  151. package/dist/ui/components/Progress.js +0 -84
  152. package/dist/ui/components/Resource.js +0 -70
  153. package/dist/ui/components/StationSlot.js +0 -207
  154. package/dist/ui/components/StationSlotGroup.js +0 -110
  155. package/dist/ui/factories/createGlass.js +0 -51
  156. package/dist/ui/factories/createModel.js +0 -35
  157. package/dist/ui/factories/createShadow.js +0 -52
  158. package/dist/ui/factories/createText.js +0 -46
  159. package/dist/ui/models/CleaningMachine.js +0 -141
  160. package/dist/ui/models/DoubleJointRobot.js +0 -545
  161. package/dist/ui/models/LoadingStation.js +0 -167
  162. package/dist/ui/models/MachineTool.js +0 -184
  163. package/dist/ui/models/MarkingMachine.js +0 -148
  164. package/dist/ui/models/Rail.js +0 -117
  165. package/dist/ui/models/ResourceStore.js +0 -101
  166. package/dist/ui/models/SingleBot.d.ts +0 -20
  167. package/dist/ui/models/SingleBot.js +0 -202
  168. package/dist/ui/models/SingleGripperRobot.d.ts +0 -19
  169. package/dist/ui/models/SingleGripperRobot.js +0 -272
  170. package/dist/ui/models/SingleJointRobot.js +0 -346
  171. package/dist/ui/shapes/NamePlate.js +0 -85
  172. package/dist/ui/shapes/ScrewHole.js +0 -57
  173. package/dist/ui/shapes/Texture.js +0 -51
  174. package/dist/ui/utils/attr.js +0 -50
  175. package/dist/utils/index.js +0 -92
  176. package/dist/utils/type-guards.js +0 -105
@@ -1,443 +0,0 @@
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 {};
@@ -1,3 +0,0 @@
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>;
@@ -1,81 +0,0 @@
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 {};