@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,1131 +0,0 @@
1
- import { ref } from 'vue';
2
- import { hasStationSlotGroup, EnumResourceType } from '@/types';
3
- import { storeToRefs } from 'pinia';
4
- import { ElButton, ElDialog, ElInputNumber, ElOption, ElSelect, ElInput, ElMessage, ElSwitch, ElTable, ElTableColumn, ElForm, ElFormItem } from 'element-plus';
5
- import { useEditorStore } from '@/stores';
6
- import { cloneDeep } from '@jnrs/shared/lodash';
7
- const editorStore = useEditorStore();
8
- const { currentLayer } = storeToRefs(editorStore);
9
- const dialogVisible = ref(false);
10
- const tempFlowOptions = ref({
11
- oneDirectionMaxQuantity: 1,
12
- gap: 5,
13
- flow: 'x',
14
- flowWrap: false
15
- });
16
- const tempListData = ref([]);
17
- const resourceTypeOptions = Object.entries(EnumResourceType)
18
- .filter(([key]) => isNaN(Number(key)))
19
- .map(([label, value]) => ({ label, value }));
20
- const initTempData = () => {
21
- if (hasStationSlotGroup(currentLayer.value) && currentLayer.value.stationSlotGroup) {
22
- const group = currentLayer.value.stationSlotGroup;
23
- tempFlowOptions.value = cloneDeep({
24
- oneDirectionMaxQuantity: group.flowOptions?.oneDirectionMaxQuantity,
25
- gap: group.flowOptions?.gap,
26
- flow: group.flowOptions?.flow,
27
- flowWrap: group.flowOptions?.flowWrap
28
- });
29
- tempListData.value = cloneDeep(group.stationSlots || []);
30
- }
31
- else {
32
- tempFlowOptions.value = {
33
- oneDirectionMaxQuantity: 1,
34
- gap: 5,
35
- flow: 'x',
36
- flowWrap: false
37
- };
38
- tempListData.value = [];
39
- }
40
- };
41
- const showDialog = () => {
42
- initTempData();
43
- dialogVisible.value = true;
44
- };
45
- const addSlot = () => {
46
- const newIndex = tempListData.value.length > 0 ? Math.max(...tempListData.value.map((s) => s.index)) + 1 : 1;
47
- tempListData.value.push({
48
- index: newIndex,
49
- resourceType: EnumResourceType.PALLET,
50
- name: newIndex.toString(),
51
- x: 0,
52
- y: 0,
53
- width: 50,
54
- height: 50,
55
- rotation: 0,
56
- hittable: true,
57
- disabled: false
58
- });
59
- };
60
- const removeSlot = (indexToRemove) => {
61
- tempListData.value = tempListData.value.filter((_, idx) => idx !== indexToRemove);
62
- };
63
- const saveTraySiteDialog = () => {
64
- try {
65
- const stationSlots = tempListData.value;
66
- const seenIndices = new Set();
67
- const requiredKeys = ['index', 'resourceType'];
68
- for (const element of stationSlots) {
69
- for (const key of requiredKeys) {
70
- if (!Object.hasOwn(element, key)) {
71
- throw new Error(`工位必须包含 "${key}" 字段`);
72
- }
73
- }
74
- if (seenIndices.has(element.index)) {
75
- throw new Error(`重复的 index: ${element.index}`);
76
- }
77
- seenIndices.add(element.index);
78
- }
79
- // 应用数据到当前图层
80
- if (hasStationSlotGroup(currentLayer.value)) {
81
- if (!currentLayer.value.stationSlotGroup) {
82
- currentLayer.value.stationSlotGroup = {
83
- width: 0,
84
- height: 0,
85
- stationSlots: [],
86
- flowOptions: { oneDirectionMaxQuantity: 1, gap: 5, flow: 'x', flowWrap: false }
87
- };
88
- }
89
- currentLayer.value.stationSlotGroup.stationSlots = cloneDeep(stationSlots);
90
- currentLayer.value.stationSlotGroup.flowOptions = cloneDeep(tempFlowOptions.value);
91
- }
92
- dialogVisible.value = false;
93
- ElMessage.success('工位组数据已保存');
94
- }
95
- catch (error) {
96
- ElMessage({
97
- message: error.message || '保存失败',
98
- type: 'warning',
99
- grouping: true,
100
- showClose: true
101
- });
102
- }
103
- };
104
- debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
105
- const __VLS_ctx = {
106
- ...{},
107
- ...{},
108
- };
109
- let __VLS_components;
110
- let __VLS_directives;
111
- if (__VLS_ctx.hasStationSlotGroup(__VLS_ctx.currentLayer)) {
112
- // @ts-ignore
113
- [hasStationSlotGroup, currentLayer,];
114
- __VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
115
- ...{ class: "form_group" },
116
- });
117
- __VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
118
- ...{ class: "form_group_title" },
119
- });
120
- __VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
121
- ...{ class: "keyVal" },
122
- });
123
- __VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
124
- ...{ class: "key" },
125
- });
126
- __VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
127
- ...{ onClick: (...[$event]) => {
128
- if (!(__VLS_ctx.hasStationSlotGroup(__VLS_ctx.currentLayer)))
129
- return;
130
- __VLS_ctx.showDialog();
131
- // @ts-ignore
132
- [showDialog,];
133
- } },
134
- ...{ class: "val" },
135
- });
136
- const __VLS_0 = {}.ElInput;
137
- /** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
138
- // @ts-ignore
139
- ElInput;
140
- // @ts-ignore
141
- const __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0({
142
- value: (JSON.stringify(__VLS_ctx.currentLayer.stationSlotGroup)),
143
- readonly: true,
144
- placeholder: "(空)",
145
- }));
146
- const __VLS_2 = __VLS_1({
147
- value: (JSON.stringify(__VLS_ctx.currentLayer.stationSlotGroup)),
148
- readonly: true,
149
- placeholder: "(空)",
150
- }, ...__VLS_functionalComponentArgsRest(__VLS_1));
151
- // @ts-ignore
152
- [currentLayer,];
153
- }
154
- const __VLS_6 = {}.ElDialog;
155
- /** @type {[typeof __VLS_components.ElDialog, typeof __VLS_components.elDialog, typeof __VLS_components.ElDialog, typeof __VLS_components.elDialog, ]} */ ;
156
- // @ts-ignore
157
- ElDialog;
158
- // @ts-ignore
159
- const __VLS_7 = __VLS_asFunctionalComponent(__VLS_6, new __VLS_6({
160
- modelValue: (__VLS_ctx.dialogVisible),
161
- title: "配置工位组数据",
162
- width: "1200",
163
- center: true,
164
- appendToBody: (true),
165
- closeOnClickModal: (false),
166
- closeOnPressEscape: (false),
167
- draggable: true,
168
- overflow: true,
169
- }));
170
- const __VLS_8 = __VLS_7({
171
- modelValue: (__VLS_ctx.dialogVisible),
172
- title: "配置工位组数据",
173
- width: "1200",
174
- center: true,
175
- appendToBody: (true),
176
- closeOnClickModal: (false),
177
- closeOnPressEscape: (false),
178
- draggable: true,
179
- overflow: true,
180
- }, ...__VLS_functionalComponentArgsRest(__VLS_7));
181
- const { default: __VLS_11 } = __VLS_9.slots;
182
- // @ts-ignore
183
- [dialogVisible,];
184
- __VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
185
- ...{ class: "section-title" },
186
- });
187
- __VLS_asFunctionalElement(__VLS_intrinsics.b, __VLS_intrinsics.b)({});
188
- const __VLS_12 = {}.ElForm;
189
- /** @type {[typeof __VLS_components.ElForm, typeof __VLS_components.elForm, typeof __VLS_components.ElForm, typeof __VLS_components.elForm, ]} */ ;
190
- // @ts-ignore
191
- ElForm;
192
- // @ts-ignore
193
- const __VLS_13 = __VLS_asFunctionalComponent(__VLS_12, new __VLS_12({
194
- model: (__VLS_ctx.tempFlowOptions),
195
- labelPosition: "left",
196
- inline: true,
197
- size: "small",
198
- }));
199
- const __VLS_14 = __VLS_13({
200
- model: (__VLS_ctx.tempFlowOptions),
201
- labelPosition: "left",
202
- inline: true,
203
- size: "small",
204
- }, ...__VLS_functionalComponentArgsRest(__VLS_13));
205
- const { default: __VLS_17 } = __VLS_15.slots;
206
- // @ts-ignore
207
- [tempFlowOptions,];
208
- const __VLS_18 = {}.ElFormItem;
209
- /** @type {[typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, ]} */ ;
210
- // @ts-ignore
211
- ElFormItem;
212
- // @ts-ignore
213
- const __VLS_19 = __VLS_asFunctionalComponent(__VLS_18, new __VLS_18({
214
- label: "工位排列方向",
215
- }));
216
- const __VLS_20 = __VLS_19({
217
- label: "工位排列方向",
218
- }, ...__VLS_functionalComponentArgsRest(__VLS_19));
219
- const { default: __VLS_23 } = __VLS_21.slots;
220
- const __VLS_24 = {}.ElSelect;
221
- /** @type {[typeof __VLS_components.ElSelect, typeof __VLS_components.elSelect, typeof __VLS_components.ElSelect, typeof __VLS_components.elSelect, ]} */ ;
222
- // @ts-ignore
223
- ElSelect;
224
- // @ts-ignore
225
- const __VLS_25 = __VLS_asFunctionalComponent(__VLS_24, new __VLS_24({
226
- modelValue: (__VLS_ctx.tempFlowOptions.flow),
227
- ...{ style: "width: 120px" },
228
- }));
229
- const __VLS_26 = __VLS_25({
230
- modelValue: (__VLS_ctx.tempFlowOptions.flow),
231
- ...{ style: "width: 120px" },
232
- }, ...__VLS_functionalComponentArgsRest(__VLS_25));
233
- const { default: __VLS_29 } = __VLS_27.slots;
234
- // @ts-ignore
235
- [tempFlowOptions,];
236
- const __VLS_30 = {}.ElOption;
237
- /** @type {[typeof __VLS_components.ElOption, typeof __VLS_components.elOption, ]} */ ;
238
- // @ts-ignore
239
- ElOption;
240
- // @ts-ignore
241
- const __VLS_31 = __VLS_asFunctionalComponent(__VLS_30, new __VLS_30({
242
- label: "X 轴",
243
- value: "x",
244
- }));
245
- const __VLS_32 = __VLS_31({
246
- label: "X 轴",
247
- value: "x",
248
- }, ...__VLS_functionalComponentArgsRest(__VLS_31));
249
- const __VLS_36 = {}.ElOption;
250
- /** @type {[typeof __VLS_components.ElOption, typeof __VLS_components.elOption, ]} */ ;
251
- // @ts-ignore
252
- ElOption;
253
- // @ts-ignore
254
- const __VLS_37 = __VLS_asFunctionalComponent(__VLS_36, new __VLS_36({
255
- label: "Y 轴",
256
- value: "y",
257
- }));
258
- const __VLS_38 = __VLS_37({
259
- label: "Y 轴",
260
- value: "y",
261
- }, ...__VLS_functionalComponentArgsRest(__VLS_37));
262
- const __VLS_42 = {}.ElOption;
263
- /** @type {[typeof __VLS_components.ElOption, typeof __VLS_components.elOption, ]} */ ;
264
- // @ts-ignore
265
- ElOption;
266
- // @ts-ignore
267
- const __VLS_43 = __VLS_asFunctionalComponent(__VLS_42, new __VLS_42({
268
- label: "X 轴反转",
269
- value: "x-reverse",
270
- }));
271
- const __VLS_44 = __VLS_43({
272
- label: "X 轴反转",
273
- value: "x-reverse",
274
- }, ...__VLS_functionalComponentArgsRest(__VLS_43));
275
- const __VLS_48 = {}.ElOption;
276
- /** @type {[typeof __VLS_components.ElOption, typeof __VLS_components.elOption, ]} */ ;
277
- // @ts-ignore
278
- ElOption;
279
- // @ts-ignore
280
- const __VLS_49 = __VLS_asFunctionalComponent(__VLS_48, new __VLS_48({
281
- label: "Y 轴反转",
282
- value: "y-reverse",
283
- }));
284
- const __VLS_50 = __VLS_49({
285
- label: "Y 轴反转",
286
- value: "y-reverse",
287
- }, ...__VLS_functionalComponentArgsRest(__VLS_49));
288
- var __VLS_27;
289
- var __VLS_21;
290
- const __VLS_54 = {}.ElFormItem;
291
- /** @type {[typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, ]} */ ;
292
- // @ts-ignore
293
- ElFormItem;
294
- // @ts-ignore
295
- const __VLS_55 = __VLS_asFunctionalComponent(__VLS_54, new __VLS_54({
296
- label: "工位自动换行",
297
- }));
298
- const __VLS_56 = __VLS_55({
299
- label: "工位自动换行",
300
- }, ...__VLS_functionalComponentArgsRest(__VLS_55));
301
- const { default: __VLS_59 } = __VLS_57.slots;
302
- const __VLS_60 = {}.ElSelect;
303
- /** @type {[typeof __VLS_components.ElSelect, typeof __VLS_components.elSelect, typeof __VLS_components.ElSelect, typeof __VLS_components.elSelect, ]} */ ;
304
- // @ts-ignore
305
- ElSelect;
306
- // @ts-ignore
307
- const __VLS_61 = __VLS_asFunctionalComponent(__VLS_60, new __VLS_60({
308
- modelValue: (__VLS_ctx.tempFlowOptions.flowWrap),
309
- ...{ style: "width: 120px" },
310
- }));
311
- const __VLS_62 = __VLS_61({
312
- modelValue: (__VLS_ctx.tempFlowOptions.flowWrap),
313
- ...{ style: "width: 120px" },
314
- }, ...__VLS_functionalComponentArgsRest(__VLS_61));
315
- const { default: __VLS_65 } = __VLS_63.slots;
316
- // @ts-ignore
317
- [tempFlowOptions,];
318
- const __VLS_66 = {}.ElOption;
319
- /** @type {[typeof __VLS_components.ElOption, typeof __VLS_components.elOption, ]} */ ;
320
- // @ts-ignore
321
- ElOption;
322
- // @ts-ignore
323
- const __VLS_67 = __VLS_asFunctionalComponent(__VLS_66, new __VLS_66({
324
- label: "换行",
325
- value: (true),
326
- }));
327
- const __VLS_68 = __VLS_67({
328
- label: "换行",
329
- value: (true),
330
- }, ...__VLS_functionalComponentArgsRest(__VLS_67));
331
- const __VLS_72 = {}.ElOption;
332
- /** @type {[typeof __VLS_components.ElOption, typeof __VLS_components.elOption, ]} */ ;
333
- // @ts-ignore
334
- ElOption;
335
- // @ts-ignore
336
- const __VLS_73 = __VLS_asFunctionalComponent(__VLS_72, new __VLS_72({
337
- label: "不换行",
338
- value: (false),
339
- }));
340
- const __VLS_74 = __VLS_73({
341
- label: "不换行",
342
- value: (false),
343
- }, ...__VLS_functionalComponentArgsRest(__VLS_73));
344
- const __VLS_78 = {}.ElOption;
345
- /** @type {[typeof __VLS_components.ElOption, typeof __VLS_components.elOption, ]} */ ;
346
- // @ts-ignore
347
- ElOption;
348
- // @ts-ignore
349
- const __VLS_79 = __VLS_asFunctionalComponent(__VLS_78, new __VLS_78({
350
- label: "颠倒行顺序换行",
351
- value: "reverse",
352
- }));
353
- const __VLS_80 = __VLS_79({
354
- label: "颠倒行顺序换行",
355
- value: "reverse",
356
- }, ...__VLS_functionalComponentArgsRest(__VLS_79));
357
- var __VLS_63;
358
- var __VLS_57;
359
- const __VLS_84 = {}.ElFormItem;
360
- /** @type {[typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, ]} */ ;
361
- // @ts-ignore
362
- ElFormItem;
363
- // @ts-ignore
364
- const __VLS_85 = __VLS_asFunctionalComponent(__VLS_84, new __VLS_84({
365
- label: "单向最大工位数",
366
- }));
367
- const __VLS_86 = __VLS_85({
368
- label: "单向最大工位数",
369
- }, ...__VLS_functionalComponentArgsRest(__VLS_85));
370
- const { default: __VLS_89 } = __VLS_87.slots;
371
- const __VLS_90 = {}.ElInputNumber;
372
- /** @type {[typeof __VLS_components.ElInputNumber, typeof __VLS_components.elInputNumber, ]} */ ;
373
- // @ts-ignore
374
- ElInputNumber;
375
- // @ts-ignore
376
- const __VLS_91 = __VLS_asFunctionalComponent(__VLS_90, new __VLS_90({
377
- modelValue: (__VLS_ctx.tempFlowOptions.oneDirectionMaxQuantity),
378
- modelModifiers: { number: true, },
379
- step: (1),
380
- precision: (0),
381
- stepStrict: true,
382
- min: (1),
383
- max: (999),
384
- disabled: (__VLS_ctx.tempFlowOptions.flowWrap === false),
385
- controlsPosition: "right",
386
- ...{ style: "width: 120px" },
387
- }));
388
- const __VLS_92 = __VLS_91({
389
- modelValue: (__VLS_ctx.tempFlowOptions.oneDirectionMaxQuantity),
390
- modelModifiers: { number: true, },
391
- step: (1),
392
- precision: (0),
393
- stepStrict: true,
394
- min: (1),
395
- max: (999),
396
- disabled: (__VLS_ctx.tempFlowOptions.flowWrap === false),
397
- controlsPosition: "right",
398
- ...{ style: "width: 120px" },
399
- }, ...__VLS_functionalComponentArgsRest(__VLS_91));
400
- // @ts-ignore
401
- [tempFlowOptions, tempFlowOptions,];
402
- var __VLS_87;
403
- const __VLS_96 = {}.ElFormItem;
404
- /** @type {[typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, ]} */ ;
405
- // @ts-ignore
406
- ElFormItem;
407
- // @ts-ignore
408
- const __VLS_97 = __VLS_asFunctionalComponent(__VLS_96, new __VLS_96({
409
- label: "工位间距",
410
- }));
411
- const __VLS_98 = __VLS_97({
412
- label: "工位间距",
413
- }, ...__VLS_functionalComponentArgsRest(__VLS_97));
414
- const { default: __VLS_101 } = __VLS_99.slots;
415
- const __VLS_102 = {}.ElInputNumber;
416
- /** @type {[typeof __VLS_components.ElInputNumber, typeof __VLS_components.elInputNumber, typeof __VLS_components.ElInputNumber, typeof __VLS_components.elInputNumber, ]} */ ;
417
- // @ts-ignore
418
- ElInputNumber;
419
- // @ts-ignore
420
- const __VLS_103 = __VLS_asFunctionalComponent(__VLS_102, new __VLS_102({
421
- modelValue: (__VLS_ctx.tempFlowOptions.gap),
422
- modelModifiers: { number: true, },
423
- step: (1),
424
- precision: (0),
425
- stepStrict: true,
426
- controlsPosition: "right",
427
- size: "small",
428
- ...{ style: "width: 120px" },
429
- }));
430
- const __VLS_104 = __VLS_103({
431
- modelValue: (__VLS_ctx.tempFlowOptions.gap),
432
- modelModifiers: { number: true, },
433
- step: (1),
434
- precision: (0),
435
- stepStrict: true,
436
- controlsPosition: "right",
437
- size: "small",
438
- ...{ style: "width: 120px" },
439
- }, ...__VLS_functionalComponentArgsRest(__VLS_103));
440
- const { default: __VLS_107 } = __VLS_105.slots;
441
- // @ts-ignore
442
- [tempFlowOptions,];
443
- {
444
- const { suffix: __VLS_108 } = __VLS_105.slots;
445
- __VLS_asFunctionalElement(__VLS_intrinsics.span, __VLS_intrinsics.span)({});
446
- }
447
- var __VLS_105;
448
- var __VLS_99;
449
- var __VLS_15;
450
- __VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
451
- ...{ class: "section-title" },
452
- });
453
- __VLS_asFunctionalElement(__VLS_intrinsics.b, __VLS_intrinsics.b)({});
454
- const __VLS_109 = {}.ElTable;
455
- /** @type {[typeof __VLS_components.ElTable, typeof __VLS_components.elTable, typeof __VLS_components.ElTable, typeof __VLS_components.elTable, ]} */ ;
456
- // @ts-ignore
457
- ElTable;
458
- // @ts-ignore
459
- const __VLS_110 = __VLS_asFunctionalComponent(__VLS_109, new __VLS_109({
460
- data: (__VLS_ctx.tempListData),
461
- ...{ style: "width: 100%" },
462
- size: "small",
463
- border: true,
464
- maxHeight: "400",
465
- }));
466
- const __VLS_111 = __VLS_110({
467
- data: (__VLS_ctx.tempListData),
468
- ...{ style: "width: 100%" },
469
- size: "small",
470
- border: true,
471
- maxHeight: "400",
472
- }, ...__VLS_functionalComponentArgsRest(__VLS_110));
473
- const { default: __VLS_114 } = __VLS_112.slots;
474
- // @ts-ignore
475
- [tempListData,];
476
- const __VLS_115 = {}.ElTableColumn;
477
- /** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
478
- // @ts-ignore
479
- ElTableColumn;
480
- // @ts-ignore
481
- const __VLS_116 = __VLS_asFunctionalComponent(__VLS_115, new __VLS_115({
482
- label: "ResourceType",
483
- width: "120",
484
- align: "center",
485
- }));
486
- const __VLS_117 = __VLS_116({
487
- label: "ResourceType",
488
- width: "120",
489
- align: "center",
490
- }, ...__VLS_functionalComponentArgsRest(__VLS_116));
491
- const { default: __VLS_120 } = __VLS_118.slots;
492
- {
493
- const { header: __VLS_121 } = __VLS_118.slots;
494
- __VLS_asFunctionalElement(__VLS_intrinsics.span, __VLS_intrinsics.span)({});
495
- __VLS_asFunctionalElement(__VLS_intrinsics.span, __VLS_intrinsics.span)({
496
- ...{ class: "required" },
497
- });
498
- }
499
- {
500
- const { default: __VLS_122 } = __VLS_118.slots;
501
- const [{ row }] = __VLS_getSlotParameters(__VLS_122);
502
- const __VLS_123 = {}.ElSelect;
503
- /** @type {[typeof __VLS_components.ElSelect, typeof __VLS_components.elSelect, typeof __VLS_components.ElSelect, typeof __VLS_components.elSelect, ]} */ ;
504
- // @ts-ignore
505
- ElSelect;
506
- // @ts-ignore
507
- const __VLS_124 = __VLS_asFunctionalComponent(__VLS_123, new __VLS_123({
508
- modelValue: (row.resourceType),
509
- size: "small",
510
- ...{ style: "width: 100%" },
511
- }));
512
- const __VLS_125 = __VLS_124({
513
- modelValue: (row.resourceType),
514
- size: "small",
515
- ...{ style: "width: 100%" },
516
- }, ...__VLS_functionalComponentArgsRest(__VLS_124));
517
- const { default: __VLS_128 } = __VLS_126.slots;
518
- for (const [opt] of __VLS_getVForSourceType((__VLS_ctx.resourceTypeOptions))) {
519
- // @ts-ignore
520
- [resourceTypeOptions,];
521
- const __VLS_129 = {}.ElOption;
522
- /** @type {[typeof __VLS_components.ElOption, typeof __VLS_components.elOption, ]} */ ;
523
- // @ts-ignore
524
- ElOption;
525
- // @ts-ignore
526
- const __VLS_130 = __VLS_asFunctionalComponent(__VLS_129, new __VLS_129({
527
- key: (opt.value),
528
- label: (opt.label),
529
- value: (opt.value),
530
- }));
531
- const __VLS_131 = __VLS_130({
532
- key: (opt.value),
533
- label: (opt.label),
534
- value: (opt.value),
535
- }, ...__VLS_functionalComponentArgsRest(__VLS_130));
536
- }
537
- var __VLS_126;
538
- }
539
- var __VLS_118;
540
- const __VLS_135 = {}.ElTableColumn;
541
- /** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
542
- // @ts-ignore
543
- ElTableColumn;
544
- // @ts-ignore
545
- const __VLS_136 = __VLS_asFunctionalComponent(__VLS_135, new __VLS_135({
546
- label: "Index",
547
- width: "100",
548
- align: "center",
549
- }));
550
- const __VLS_137 = __VLS_136({
551
- label: "Index",
552
- width: "100",
553
- align: "center",
554
- }, ...__VLS_functionalComponentArgsRest(__VLS_136));
555
- const { default: __VLS_140 } = __VLS_138.slots;
556
- {
557
- const { header: __VLS_141 } = __VLS_138.slots;
558
- __VLS_asFunctionalElement(__VLS_intrinsics.span, __VLS_intrinsics.span)({});
559
- __VLS_asFunctionalElement(__VLS_intrinsics.span, __VLS_intrinsics.span)({
560
- ...{ class: "required" },
561
- });
562
- }
563
- {
564
- const { default: __VLS_142 } = __VLS_138.slots;
565
- const [{ row }] = __VLS_getSlotParameters(__VLS_142);
566
- const __VLS_143 = {}.ElInputNumber;
567
- /** @type {[typeof __VLS_components.ElInputNumber, typeof __VLS_components.elInputNumber, ]} */ ;
568
- // @ts-ignore
569
- ElInputNumber;
570
- // @ts-ignore
571
- const __VLS_144 = __VLS_asFunctionalComponent(__VLS_143, new __VLS_143({
572
- modelValue: (row.index),
573
- modelModifiers: { number: true, },
574
- step: (1),
575
- precision: (0),
576
- min: (1),
577
- max: (999),
578
- controlsPosition: "right",
579
- stepStrictly: true,
580
- size: "small",
581
- ...{ style: "width: 100%" },
582
- }));
583
- const __VLS_145 = __VLS_144({
584
- modelValue: (row.index),
585
- modelModifiers: { number: true, },
586
- step: (1),
587
- precision: (0),
588
- min: (1),
589
- max: (999),
590
- controlsPosition: "right",
591
- stepStrictly: true,
592
- size: "small",
593
- ...{ style: "width: 100%" },
594
- }, ...__VLS_functionalComponentArgsRest(__VLS_144));
595
- }
596
- var __VLS_138;
597
- const __VLS_149 = {}.ElTableColumn;
598
- /** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
599
- // @ts-ignore
600
- ElTableColumn;
601
- // @ts-ignore
602
- const __VLS_150 = __VLS_asFunctionalComponent(__VLS_149, new __VLS_149({
603
- label: "Name",
604
- width: "100",
605
- align: "center",
606
- }));
607
- const __VLS_151 = __VLS_150({
608
- label: "Name",
609
- width: "100",
610
- align: "center",
611
- }, ...__VLS_functionalComponentArgsRest(__VLS_150));
612
- const { default: __VLS_154 } = __VLS_152.slots;
613
- {
614
- const { default: __VLS_155 } = __VLS_152.slots;
615
- const [{ row }] = __VLS_getSlotParameters(__VLS_155);
616
- const __VLS_156 = {}.ElInput;
617
- /** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
618
- // @ts-ignore
619
- ElInput;
620
- // @ts-ignore
621
- const __VLS_157 = __VLS_asFunctionalComponent(__VLS_156, new __VLS_156({
622
- modelValue: (row.name),
623
- size: "small",
624
- }));
625
- const __VLS_158 = __VLS_157({
626
- modelValue: (row.name),
627
- size: "small",
628
- }, ...__VLS_functionalComponentArgsRest(__VLS_157));
629
- }
630
- var __VLS_152;
631
- const __VLS_162 = {}.ElTableColumn;
632
- /** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
633
- // @ts-ignore
634
- ElTableColumn;
635
- // @ts-ignore
636
- const __VLS_163 = __VLS_asFunctionalComponent(__VLS_162, new __VLS_162({
637
- label: "X",
638
- minWidth: "100",
639
- align: "center",
640
- }));
641
- const __VLS_164 = __VLS_163({
642
- label: "X",
643
- minWidth: "100",
644
- align: "center",
645
- }, ...__VLS_functionalComponentArgsRest(__VLS_163));
646
- const { default: __VLS_167 } = __VLS_165.slots;
647
- {
648
- const { default: __VLS_168 } = __VLS_165.slots;
649
- const [{ row }] = __VLS_getSlotParameters(__VLS_168);
650
- const __VLS_169 = {}.ElInputNumber;
651
- /** @type {[typeof __VLS_components.ElInputNumber, typeof __VLS_components.elInputNumber, typeof __VLS_components.ElInputNumber, typeof __VLS_components.elInputNumber, ]} */ ;
652
- // @ts-ignore
653
- ElInputNumber;
654
- // @ts-ignore
655
- const __VLS_170 = __VLS_asFunctionalComponent(__VLS_169, new __VLS_169({
656
- modelValue: (row.x),
657
- modelModifiers: { number: true, },
658
- step: (1),
659
- precision: (0),
660
- stepStrict: true,
661
- controlsPosition: "right",
662
- size: "small",
663
- ...{ style: "width: 100%" },
664
- }));
665
- const __VLS_171 = __VLS_170({
666
- modelValue: (row.x),
667
- modelModifiers: { number: true, },
668
- step: (1),
669
- precision: (0),
670
- stepStrict: true,
671
- controlsPosition: "right",
672
- size: "small",
673
- ...{ style: "width: 100%" },
674
- }, ...__VLS_functionalComponentArgsRest(__VLS_170));
675
- const { default: __VLS_174 } = __VLS_172.slots;
676
- {
677
- const { suffix: __VLS_175 } = __VLS_172.slots;
678
- __VLS_asFunctionalElement(__VLS_intrinsics.span, __VLS_intrinsics.span)({});
679
- }
680
- var __VLS_172;
681
- }
682
- var __VLS_165;
683
- const __VLS_176 = {}.ElTableColumn;
684
- /** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
685
- // @ts-ignore
686
- ElTableColumn;
687
- // @ts-ignore
688
- const __VLS_177 = __VLS_asFunctionalComponent(__VLS_176, new __VLS_176({
689
- label: "Y",
690
- minWidth: "100",
691
- align: "center",
692
- }));
693
- const __VLS_178 = __VLS_177({
694
- label: "Y",
695
- minWidth: "100",
696
- align: "center",
697
- }, ...__VLS_functionalComponentArgsRest(__VLS_177));
698
- const { default: __VLS_181 } = __VLS_179.slots;
699
- {
700
- const { default: __VLS_182 } = __VLS_179.slots;
701
- const [{ row }] = __VLS_getSlotParameters(__VLS_182);
702
- const __VLS_183 = {}.ElInputNumber;
703
- /** @type {[typeof __VLS_components.ElInputNumber, typeof __VLS_components.elInputNumber, typeof __VLS_components.ElInputNumber, typeof __VLS_components.elInputNumber, ]} */ ;
704
- // @ts-ignore
705
- ElInputNumber;
706
- // @ts-ignore
707
- const __VLS_184 = __VLS_asFunctionalComponent(__VLS_183, new __VLS_183({
708
- modelValue: (row.y),
709
- modelModifiers: { number: true, },
710
- step: (1),
711
- precision: (0),
712
- stepStrict: true,
713
- controlsPosition: "right",
714
- size: "small",
715
- ...{ style: "width: 100%" },
716
- }));
717
- const __VLS_185 = __VLS_184({
718
- modelValue: (row.y),
719
- modelModifiers: { number: true, },
720
- step: (1),
721
- precision: (0),
722
- stepStrict: true,
723
- controlsPosition: "right",
724
- size: "small",
725
- ...{ style: "width: 100%" },
726
- }, ...__VLS_functionalComponentArgsRest(__VLS_184));
727
- const { default: __VLS_188 } = __VLS_186.slots;
728
- {
729
- const { suffix: __VLS_189 } = __VLS_186.slots;
730
- __VLS_asFunctionalElement(__VLS_intrinsics.span, __VLS_intrinsics.span)({});
731
- }
732
- var __VLS_186;
733
- }
734
- var __VLS_179;
735
- const __VLS_190 = {}.ElTableColumn;
736
- /** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
737
- // @ts-ignore
738
- ElTableColumn;
739
- // @ts-ignore
740
- const __VLS_191 = __VLS_asFunctionalComponent(__VLS_190, new __VLS_190({
741
- label: "Width",
742
- minWidth: "100",
743
- align: "center",
744
- }));
745
- const __VLS_192 = __VLS_191({
746
- label: "Width",
747
- minWidth: "100",
748
- align: "center",
749
- }, ...__VLS_functionalComponentArgsRest(__VLS_191));
750
- const { default: __VLS_195 } = __VLS_193.slots;
751
- {
752
- const { default: __VLS_196 } = __VLS_193.slots;
753
- const [{ row }] = __VLS_getSlotParameters(__VLS_196);
754
- const __VLS_197 = {}.ElInputNumber;
755
- /** @type {[typeof __VLS_components.ElInputNumber, typeof __VLS_components.elInputNumber, typeof __VLS_components.ElInputNumber, typeof __VLS_components.elInputNumber, ]} */ ;
756
- // @ts-ignore
757
- ElInputNumber;
758
- // @ts-ignore
759
- const __VLS_198 = __VLS_asFunctionalComponent(__VLS_197, new __VLS_197({
760
- modelValue: (row.width),
761
- modelModifiers: { number: true, },
762
- step: (1),
763
- precision: (0),
764
- stepStrict: true,
765
- min: (10),
766
- max: (100),
767
- controlsPosition: "right",
768
- size: "small",
769
- ...{ style: "width: 100%" },
770
- }));
771
- const __VLS_199 = __VLS_198({
772
- modelValue: (row.width),
773
- modelModifiers: { number: true, },
774
- step: (1),
775
- precision: (0),
776
- stepStrict: true,
777
- min: (10),
778
- max: (100),
779
- controlsPosition: "right",
780
- size: "small",
781
- ...{ style: "width: 100%" },
782
- }, ...__VLS_functionalComponentArgsRest(__VLS_198));
783
- const { default: __VLS_202 } = __VLS_200.slots;
784
- {
785
- const { suffix: __VLS_203 } = __VLS_200.slots;
786
- __VLS_asFunctionalElement(__VLS_intrinsics.span, __VLS_intrinsics.span)({});
787
- }
788
- var __VLS_200;
789
- }
790
- var __VLS_193;
791
- const __VLS_204 = {}.ElTableColumn;
792
- /** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
793
- // @ts-ignore
794
- ElTableColumn;
795
- // @ts-ignore
796
- const __VLS_205 = __VLS_asFunctionalComponent(__VLS_204, new __VLS_204({
797
- label: "Height",
798
- minWidth: "100",
799
- align: "center",
800
- }));
801
- const __VLS_206 = __VLS_205({
802
- label: "Height",
803
- minWidth: "100",
804
- align: "center",
805
- }, ...__VLS_functionalComponentArgsRest(__VLS_205));
806
- const { default: __VLS_209 } = __VLS_207.slots;
807
- {
808
- const { default: __VLS_210 } = __VLS_207.slots;
809
- const [{ row }] = __VLS_getSlotParameters(__VLS_210);
810
- const __VLS_211 = {}.ElInputNumber;
811
- /** @type {[typeof __VLS_components.ElInputNumber, typeof __VLS_components.elInputNumber, typeof __VLS_components.ElInputNumber, typeof __VLS_components.elInputNumber, ]} */ ;
812
- // @ts-ignore
813
- ElInputNumber;
814
- // @ts-ignore
815
- const __VLS_212 = __VLS_asFunctionalComponent(__VLS_211, new __VLS_211({
816
- modelValue: (row.height),
817
- modelModifiers: { number: true, },
818
- step: (1),
819
- precision: (0),
820
- stepStrict: true,
821
- min: (10),
822
- max: (100),
823
- controlsPosition: "right",
824
- size: "small",
825
- ...{ style: "width: 100%" },
826
- }));
827
- const __VLS_213 = __VLS_212({
828
- modelValue: (row.height),
829
- modelModifiers: { number: true, },
830
- step: (1),
831
- precision: (0),
832
- stepStrict: true,
833
- min: (10),
834
- max: (100),
835
- controlsPosition: "right",
836
- size: "small",
837
- ...{ style: "width: 100%" },
838
- }, ...__VLS_functionalComponentArgsRest(__VLS_212));
839
- const { default: __VLS_216 } = __VLS_214.slots;
840
- {
841
- const { suffix: __VLS_217 } = __VLS_214.slots;
842
- __VLS_asFunctionalElement(__VLS_intrinsics.span, __VLS_intrinsics.span)({});
843
- }
844
- var __VLS_214;
845
- }
846
- var __VLS_207;
847
- const __VLS_218 = {}.ElTableColumn;
848
- /** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
849
- // @ts-ignore
850
- ElTableColumn;
851
- // @ts-ignore
852
- const __VLS_219 = __VLS_asFunctionalComponent(__VLS_218, new __VLS_218({
853
- label: "Rotation",
854
- minWidth: "110",
855
- align: "center",
856
- }));
857
- const __VLS_220 = __VLS_219({
858
- label: "Rotation",
859
- minWidth: "110",
860
- align: "center",
861
- }, ...__VLS_functionalComponentArgsRest(__VLS_219));
862
- const { default: __VLS_223 } = __VLS_221.slots;
863
- {
864
- const { default: __VLS_224 } = __VLS_221.slots;
865
- const [{ row }] = __VLS_getSlotParameters(__VLS_224);
866
- const __VLS_225 = {}.ElInputNumber;
867
- /** @type {[typeof __VLS_components.ElInputNumber, typeof __VLS_components.elInputNumber, typeof __VLS_components.ElInputNumber, typeof __VLS_components.elInputNumber, ]} */ ;
868
- // @ts-ignore
869
- ElInputNumber;
870
- // @ts-ignore
871
- const __VLS_226 = __VLS_asFunctionalComponent(__VLS_225, new __VLS_225({
872
- modelValue: (row.rotation),
873
- modelModifiers: { number: true, },
874
- step: (1),
875
- precision: (0),
876
- stepStrict: true,
877
- min: (-360),
878
- max: (360),
879
- controlsPosition: "right",
880
- size: "small",
881
- ...{ style: "width: 100%" },
882
- }));
883
- const __VLS_227 = __VLS_226({
884
- modelValue: (row.rotation),
885
- modelModifiers: { number: true, },
886
- step: (1),
887
- precision: (0),
888
- stepStrict: true,
889
- min: (-360),
890
- max: (360),
891
- controlsPosition: "right",
892
- size: "small",
893
- ...{ style: "width: 100%" },
894
- }, ...__VLS_functionalComponentArgsRest(__VLS_226));
895
- const { default: __VLS_230 } = __VLS_228.slots;
896
- {
897
- const { suffix: __VLS_231 } = __VLS_228.slots;
898
- __VLS_asFunctionalElement(__VLS_intrinsics.span, __VLS_intrinsics.span)({});
899
- }
900
- var __VLS_228;
901
- }
902
- var __VLS_221;
903
- const __VLS_232 = {}.ElTableColumn;
904
- /** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
905
- // @ts-ignore
906
- ElTableColumn;
907
- // @ts-ignore
908
- const __VLS_233 = __VLS_asFunctionalComponent(__VLS_232, new __VLS_232({
909
- label: "可交互",
910
- width: "100",
911
- align: "center",
912
- }));
913
- const __VLS_234 = __VLS_233({
914
- label: "可交互",
915
- width: "100",
916
- align: "center",
917
- }, ...__VLS_functionalComponentArgsRest(__VLS_233));
918
- const { default: __VLS_237 } = __VLS_235.slots;
919
- {
920
- const { header: __VLS_238 } = __VLS_235.slots;
921
- __VLS_asFunctionalElement(__VLS_intrinsics.span, __VLS_intrinsics.span)({});
922
- __VLS_asFunctionalElement(__VLS_intrinsics.span, __VLS_intrinsics.span)({
923
- ...{ class: "required" },
924
- });
925
- }
926
- {
927
- const { default: __VLS_239 } = __VLS_235.slots;
928
- const [{ row }] = __VLS_getSlotParameters(__VLS_239);
929
- const __VLS_240 = {}.ElSwitch;
930
- /** @type {[typeof __VLS_components.ElSwitch, typeof __VLS_components.elSwitch, ]} */ ;
931
- // @ts-ignore
932
- ElSwitch;
933
- // @ts-ignore
934
- const __VLS_241 = __VLS_asFunctionalComponent(__VLS_240, new __VLS_240({
935
- modelValue: (row.hittable),
936
- inlinePrompt: true,
937
- activeText: "是",
938
- inactiveText: "否",
939
- activeValue: (true),
940
- inactiveValue: (false),
941
- size: "small",
942
- width: "40",
943
- ...{ style: "--el-switch-on-color: rgb(124, 220, 183); --el-switch-off-color: rgb(215, 55, 50)" },
944
- }));
945
- const __VLS_242 = __VLS_241({
946
- modelValue: (row.hittable),
947
- inlinePrompt: true,
948
- activeText: "是",
949
- inactiveText: "否",
950
- activeValue: (true),
951
- inactiveValue: (false),
952
- size: "small",
953
- width: "40",
954
- ...{ style: "--el-switch-on-color: rgb(124, 220, 183); --el-switch-off-color: rgb(215, 55, 50)" },
955
- }, ...__VLS_functionalComponentArgsRest(__VLS_241));
956
- }
957
- var __VLS_235;
958
- const __VLS_246 = {}.ElTableColumn;
959
- /** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
960
- // @ts-ignore
961
- ElTableColumn;
962
- // @ts-ignore
963
- const __VLS_247 = __VLS_asFunctionalComponent(__VLS_246, new __VLS_246({
964
- label: "Disabled",
965
- width: "100",
966
- align: "center",
967
- }));
968
- const __VLS_248 = __VLS_247({
969
- label: "Disabled",
970
- width: "100",
971
- align: "center",
972
- }, ...__VLS_functionalComponentArgsRest(__VLS_247));
973
- const { default: __VLS_251 } = __VLS_249.slots;
974
- {
975
- const { default: __VLS_252 } = __VLS_249.slots;
976
- const [{ row }] = __VLS_getSlotParameters(__VLS_252);
977
- const __VLS_253 = {}.ElSwitch;
978
- /** @type {[typeof __VLS_components.ElSwitch, typeof __VLS_components.elSwitch, ]} */ ;
979
- // @ts-ignore
980
- ElSwitch;
981
- // @ts-ignore
982
- const __VLS_254 = __VLS_asFunctionalComponent(__VLS_253, new __VLS_253({
983
- modelValue: (row.disabled),
984
- size: "small",
985
- }));
986
- const __VLS_255 = __VLS_254({
987
- modelValue: (row.disabled),
988
- size: "small",
989
- }, ...__VLS_functionalComponentArgsRest(__VLS_254));
990
- }
991
- var __VLS_249;
992
- const __VLS_259 = {}.ElTableColumn;
993
- /** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
994
- // @ts-ignore
995
- ElTableColumn;
996
- // @ts-ignore
997
- const __VLS_260 = __VLS_asFunctionalComponent(__VLS_259, new __VLS_259({
998
- label: "操作",
999
- width: "100",
1000
- align: "center",
1001
- fixed: "right",
1002
- }));
1003
- const __VLS_261 = __VLS_260({
1004
- label: "操作",
1005
- width: "100",
1006
- align: "center",
1007
- fixed: "right",
1008
- }, ...__VLS_functionalComponentArgsRest(__VLS_260));
1009
- const { default: __VLS_264 } = __VLS_262.slots;
1010
- {
1011
- const { default: __VLS_265 } = __VLS_262.slots;
1012
- const [{ $index }] = __VLS_getSlotParameters(__VLS_265);
1013
- const __VLS_266 = {}.ElButton;
1014
- /** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
1015
- // @ts-ignore
1016
- ElButton;
1017
- // @ts-ignore
1018
- const __VLS_267 = __VLS_asFunctionalComponent(__VLS_266, new __VLS_266({
1019
- ...{ 'onClick': {} },
1020
- type: "danger",
1021
- size: "small",
1022
- plain: true,
1023
- }));
1024
- const __VLS_268 = __VLS_267({
1025
- ...{ 'onClick': {} },
1026
- type: "danger",
1027
- size: "small",
1028
- plain: true,
1029
- }, ...__VLS_functionalComponentArgsRest(__VLS_267));
1030
- let __VLS_271;
1031
- const __VLS_272 = ({ click: {} },
1032
- { onClick: (...[$event]) => {
1033
- __VLS_ctx.removeSlot($index);
1034
- // @ts-ignore
1035
- [removeSlot,];
1036
- } });
1037
- const { default: __VLS_273 } = __VLS_269.slots;
1038
- var __VLS_269;
1039
- var __VLS_270;
1040
- }
1041
- var __VLS_262;
1042
- var __VLS_112;
1043
- const __VLS_274 = {}.ElButton;
1044
- /** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
1045
- // @ts-ignore
1046
- ElButton;
1047
- // @ts-ignore
1048
- const __VLS_275 = __VLS_asFunctionalComponent(__VLS_274, new __VLS_274({
1049
- ...{ 'onClick': {} },
1050
- type: "primary",
1051
- size: "small",
1052
- plain: true,
1053
- ...{ style: "display: block; width: 100px; margin: 8px 0 0 auto" },
1054
- }));
1055
- const __VLS_276 = __VLS_275({
1056
- ...{ 'onClick': {} },
1057
- type: "primary",
1058
- size: "small",
1059
- plain: true,
1060
- ...{ style: "display: block; width: 100px; margin: 8px 0 0 auto" },
1061
- }, ...__VLS_functionalComponentArgsRest(__VLS_275));
1062
- let __VLS_279;
1063
- const __VLS_280 = ({ click: {} },
1064
- { onClick: (__VLS_ctx.addSlot) });
1065
- const { default: __VLS_281 } = __VLS_277.slots;
1066
- // @ts-ignore
1067
- [addSlot,];
1068
- var __VLS_277;
1069
- var __VLS_278;
1070
- {
1071
- const { footer: __VLS_282 } = __VLS_9.slots;
1072
- __VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
1073
- ...{ class: "optionCardDialog_footer" },
1074
- });
1075
- const __VLS_283 = {}.ElButton;
1076
- /** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
1077
- // @ts-ignore
1078
- ElButton;
1079
- // @ts-ignore
1080
- const __VLS_284 = __VLS_asFunctionalComponent(__VLS_283, new __VLS_283({
1081
- ...{ 'onClick': {} },
1082
- }));
1083
- const __VLS_285 = __VLS_284({
1084
- ...{ 'onClick': {} },
1085
- }, ...__VLS_functionalComponentArgsRest(__VLS_284));
1086
- let __VLS_288;
1087
- const __VLS_289 = ({ click: {} },
1088
- { onClick: (...[$event]) => {
1089
- __VLS_ctx.dialogVisible = false;
1090
- // @ts-ignore
1091
- [dialogVisible,];
1092
- } });
1093
- const { default: __VLS_290 } = __VLS_286.slots;
1094
- var __VLS_286;
1095
- var __VLS_287;
1096
- const __VLS_291 = {}.ElButton;
1097
- /** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
1098
- // @ts-ignore
1099
- ElButton;
1100
- // @ts-ignore
1101
- const __VLS_292 = __VLS_asFunctionalComponent(__VLS_291, new __VLS_291({
1102
- ...{ 'onClick': {} },
1103
- type: "primary",
1104
- }));
1105
- const __VLS_293 = __VLS_292({
1106
- ...{ 'onClick': {} },
1107
- type: "primary",
1108
- }, ...__VLS_functionalComponentArgsRest(__VLS_292));
1109
- let __VLS_296;
1110
- const __VLS_297 = ({ click: {} },
1111
- { onClick: (__VLS_ctx.saveTraySiteDialog) });
1112
- const { default: __VLS_298 } = __VLS_294.slots;
1113
- // @ts-ignore
1114
- [saveTraySiteDialog,];
1115
- var __VLS_294;
1116
- var __VLS_295;
1117
- }
1118
- var __VLS_9;
1119
- /** @type {__VLS_StyleScopedClasses['form_group']} */ ;
1120
- /** @type {__VLS_StyleScopedClasses['form_group_title']} */ ;
1121
- /** @type {__VLS_StyleScopedClasses['keyVal']} */ ;
1122
- /** @type {__VLS_StyleScopedClasses['key']} */ ;
1123
- /** @type {__VLS_StyleScopedClasses['val']} */ ;
1124
- /** @type {__VLS_StyleScopedClasses['section-title']} */ ;
1125
- /** @type {__VLS_StyleScopedClasses['section-title']} */ ;
1126
- /** @type {__VLS_StyleScopedClasses['required']} */ ;
1127
- /** @type {__VLS_StyleScopedClasses['required']} */ ;
1128
- /** @type {__VLS_StyleScopedClasses['required']} */ ;
1129
- /** @type {__VLS_StyleScopedClasses['optionCardDialog_footer']} */ ;
1130
- const __VLS_export = (await import('vue')).defineComponent({});
1131
- export default {};