@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.
Files changed (174) hide show
  1. package/dist/App.vue.d.ts +2 -1
  2. package/dist/App.vue.js +30 -0
  3. package/dist/assets/data/editor_default.d.ts +8 -1
  4. package/dist/assets/data/editor_default.js +59 -0
  5. package/dist/assets/data/editor_default_setting.d.ts +16 -0
  6. package/dist/assets/data/editor_default_setting.js +58 -0
  7. package/dist/assets/data/editor_preset.d.ts +8 -1
  8. package/dist/assets/data/editor_preset.js +51 -0
  9. package/dist/assets/data/editor_preset_menu.d.ts +9 -0
  10. package/dist/assets/data/editor_preset_menu.js +290 -0
  11. package/dist/components/editor/ControlBar/CaseManger.vue.d.ts +3 -15
  12. package/dist/components/editor/ControlBar/CaseManger.vue.js +465 -0
  13. package/dist/components/editor/ControlBar/CaseTitleEdit.vue.d.ts +2 -411
  14. package/dist/components/editor/ControlBar/CaseTitleEdit.vue.js +108 -0
  15. package/dist/components/editor/ControlBar/ExportImportDialog.vue.d.ts +3 -2
  16. package/dist/components/editor/ControlBar/ExportImportDialog.vue.js +280 -0
  17. package/dist/components/editor/ControlBar/MainButton.vue.d.ts +3 -2
  18. package/dist/components/editor/ControlBar/MainButton.vue.js +183 -0
  19. package/dist/components/editor/ControlBar/StepButton.vue.d.ts +2 -1
  20. package/dist/components/editor/ControlBar/StepButton.vue.js +147 -0
  21. package/dist/components/editor/ControlBar/StepRecordVisualizer.vue.d.ts +2 -1
  22. package/dist/components/editor/ControlBar/StepRecordVisualizer.vue.js +98 -0
  23. package/dist/components/editor/DrawingBoard.vue.d.ts +2 -1
  24. package/dist/components/editor/DrawingBoard.vue.js +31 -0
  25. package/dist/components/editor/MenuCard/Equipments.vue.d.ts +2 -1
  26. package/dist/components/editor/MenuCard/Equipments.vue.js +129 -0
  27. package/dist/components/editor/MenuCard/Layers.vue.d.ts +2 -1
  28. package/dist/components/editor/MenuCard/Layers.vue.js +201 -0
  29. package/dist/components/editor/MenuCard/index.vue.d.ts +2 -1
  30. package/dist/components/editor/MenuCard/index.vue.js +84 -0
  31. package/dist/components/editor/OptionCard/Equipment/Base.vue.d.ts +2 -1
  32. package/dist/components/editor/OptionCard/Equipment/Base.vue.js +96 -0
  33. package/dist/components/editor/OptionCard/Equipment/Binds.vue.d.ts +3 -0
  34. package/dist/components/editor/OptionCard/Equipment/Binds.vue.js +443 -0
  35. package/dist/components/editor/OptionCard/Equipment/Bot.vue.d.ts +3 -0
  36. package/dist/components/editor/OptionCard/Equipment/Bot.vue.js +81 -0
  37. package/dist/components/editor/OptionCard/Equipment/DataSets.vue.d.ts +2 -1
  38. package/dist/components/editor/OptionCard/Equipment/DataSets.vue.js +304 -0
  39. package/dist/components/editor/OptionCard/Equipment/DockStore.vue.d.ts +3 -0
  40. package/dist/components/editor/OptionCard/Equipment/DockStore.vue.js +597 -0
  41. package/dist/components/editor/OptionCard/Equipment/Interaction.vue.d.ts +2 -1
  42. package/dist/components/editor/OptionCard/Equipment/Interaction.vue.js +287 -0
  43. package/dist/components/editor/OptionCard/Equipment/Position.backup.vue.d.ts +3 -0
  44. package/dist/components/editor/OptionCard/Equipment/Position.backup.vue.js +440 -0
  45. package/dist/components/editor/OptionCard/Equipment/Position.vue.d.ts +2 -1
  46. package/dist/components/editor/OptionCard/Equipment/Position.vue.js +436 -0
  47. package/dist/components/editor/OptionCard/Equipment/StationSlotGroup.vue.d.ts +2 -1
  48. package/dist/components/editor/OptionCard/Equipment/StationSlotGroup.vue.js +1131 -0
  49. package/dist/components/editor/OptionCard/Equipment/Store.vue.d.ts +3 -0
  50. package/dist/components/editor/OptionCard/Equipment/Store.vue.js +453 -0
  51. package/dist/components/editor/OptionCard/Equipment/Trailer.vue.d.ts +3 -0
  52. package/dist/components/editor/OptionCard/Equipment/Trailer.vue.js +1109 -0
  53. package/dist/components/editor/OptionCard/Equipment/index.vue.d.ts +2 -1
  54. package/dist/components/editor/OptionCard/Equipment/index.vue.js +100 -0
  55. package/dist/components/editor/OptionCard/Equipment/models/MachineTool.vue.d.ts +3 -0
  56. package/dist/components/editor/OptionCard/Equipment/models/MachineTool.vue.js +99 -0
  57. package/dist/components/editor/OptionCard/Equipment/models/Rail.vue.d.ts +3 -0
  58. package/dist/components/editor/OptionCard/Equipment/models/Rail.vue.js +225 -0
  59. package/dist/components/editor/OptionCard/Equipment/models/SingleGripperRobot.vue.d.ts +3 -0
  60. package/dist/components/editor/OptionCard/Equipment/models/SingleGripperRobot.vue.js +99 -0
  61. package/dist/components/editor/OptionCard/Scene/Background.vue.d.ts +2 -1
  62. package/dist/components/editor/OptionCard/Scene/Background.vue.js +543 -0
  63. package/dist/components/editor/OptionCard/Scene/index.vue.d.ts +2 -1
  64. package/dist/components/editor/OptionCard/Scene/index.vue.js +200 -0
  65. package/dist/components/editor/OptionCard/index.vue.d.ts +2 -1
  66. package/dist/components/editor/OptionCard/index.vue.js +73 -0
  67. package/dist/components/editor/index.vue.d.ts +4 -13
  68. package/dist/components/editor/index.vue.js +156 -0
  69. package/dist/components/index.d.ts +2 -2
  70. package/dist/components/index.js +4 -25440
  71. package/dist/components/preview/index.vue.d.ts +6 -5
  72. package/dist/components/preview/index.vue.js +104 -0
  73. package/dist/composables/useStepRecord.d.ts +12 -4
  74. package/dist/composables/useStepRecord.js +135 -0
  75. package/dist/constants/options.d.ts +8 -1
  76. package/dist/constants/options.js +55 -0
  77. package/dist/controller/AppController.d.ts +10 -3
  78. package/dist/controller/AppController.js +168 -0
  79. package/dist/controller/EditorController.d.ts +9 -2
  80. package/dist/controller/EditorController.js +173 -0
  81. package/dist/index.js +1 -1
  82. package/dist/locales/en.js +5 -0
  83. package/dist/locales/i18next.d.ts +1 -1
  84. package/dist/locales/i18next.js +6 -0
  85. package/dist/locales/index.d.ts +2 -2
  86. package/dist/locales/index.js +3 -13
  87. package/dist/locales/zhCn.js +5 -0
  88. package/dist/main.d.ts +3 -0
  89. package/dist/main.js +13 -0
  90. package/dist/playground/EditPageDemo.vue.d.ts +2 -1
  91. package/dist/playground/EditPageDemo.vue.js +57 -0
  92. package/dist/playground/ViewPageDemo.vue.d.ts +2 -27
  93. package/dist/playground/ViewPageDemo.vue.js +277 -0
  94. package/dist/stores/index.js +3 -0
  95. package/dist/stores/useAppStore.d.ts +13 -6
  96. package/dist/stores/useAppStore.js +78 -0
  97. package/dist/stores/useDataStore.d.ts +18 -11
  98. package/dist/stores/useDataStore.js +116 -0
  99. package/dist/stores/useEditorStore.d.ts +27 -20
  100. package/dist/stores/useEditorStore.js +263 -0
  101. package/dist/types/app.types.d.ts +1 -1
  102. package/dist/types/app.types.js +2 -0
  103. package/dist/types/base.types.d.ts +4 -2
  104. package/dist/types/base.types.js +1 -0
  105. package/dist/types/components/config.types.d.ts +11 -3
  106. package/dist/types/components/config.types.js +1 -0
  107. package/dist/types/components/operating.types.d.ts +1 -1
  108. package/dist/types/components/operating.types.js +1 -0
  109. package/dist/types/enums.d.ts +5 -2
  110. package/dist/types/enums.js +46 -0
  111. package/dist/types/guards.d.ts +12 -2
  112. package/dist/types/guards.js +28 -0
  113. package/dist/types/index.d.ts +2 -2
  114. package/dist/types/index.js +8 -0
  115. package/dist/types/models/config.types.d.ts +74 -29
  116. package/dist/types/models/config.types.js +1 -0
  117. package/dist/types/models/operating.types.d.ts +83 -17
  118. package/dist/types/models/operating.types.js +1 -0
  119. package/dist/ui/abstract/ComponentAbs.d.ts +9 -2
  120. package/dist/ui/abstract/ComponentAbs.js +64 -0
  121. package/dist/ui/abstract/ModelAbs.d.ts +12 -2
  122. package/dist/ui/abstract/ModelAbs.js +119 -0
  123. package/dist/ui/components/Entrance.d.ts +8 -1
  124. package/dist/ui/components/Entrance.js +83 -0
  125. package/dist/ui/components/Light.d.ts +26 -3
  126. package/dist/ui/components/Light.js +167 -0
  127. package/dist/ui/components/Progress.d.ts +8 -1
  128. package/dist/ui/components/Progress.js +84 -0
  129. package/dist/ui/components/Resource.d.ts +8 -1
  130. package/dist/ui/components/Resource.js +70 -0
  131. package/dist/ui/components/StationSlot.d.ts +24 -2
  132. package/dist/ui/components/StationSlot.js +207 -0
  133. package/dist/ui/components/StationSlotGroup.d.ts +8 -1
  134. package/dist/ui/components/StationSlotGroup.js +110 -0
  135. package/dist/ui/factories/createGlass.d.ts +9 -1
  136. package/dist/ui/factories/createGlass.js +51 -0
  137. package/dist/ui/factories/createModel.d.ts +9 -2
  138. package/dist/ui/factories/createModel.js +35 -0
  139. package/dist/ui/factories/createShadow.d.ts +12 -4
  140. package/dist/ui/factories/createShadow.js +52 -0
  141. package/dist/ui/factories/createText.d.ts +7 -0
  142. package/dist/ui/factories/createText.js +46 -0
  143. package/dist/ui/models/CleaningMachine.d.ts +14 -0
  144. package/dist/ui/models/CleaningMachine.js +141 -0
  145. package/dist/ui/models/DoubleJointRobot.d.ts +23 -0
  146. package/dist/ui/models/DoubleJointRobot.js +545 -0
  147. package/dist/ui/models/LoadingStation.d.ts +16 -0
  148. package/dist/ui/models/LoadingStation.js +167 -0
  149. package/dist/ui/models/MachineTool.d.ts +5 -4
  150. package/dist/ui/models/MachineTool.js +184 -0
  151. package/dist/ui/models/MarkingMachine.d.ts +16 -0
  152. package/dist/ui/models/MarkingMachine.js +148 -0
  153. package/dist/ui/models/Rail.d.ts +15 -0
  154. package/dist/ui/models/Rail.js +117 -0
  155. package/dist/ui/models/ResourceStore.d.ts +12 -0
  156. package/dist/ui/models/ResourceStore.js +101 -0
  157. package/dist/ui/models/SingleBot.d.ts +20 -0
  158. package/dist/ui/models/SingleBot.js +202 -0
  159. package/dist/ui/models/SingleGripperRobot.d.ts +19 -0
  160. package/dist/ui/models/SingleGripperRobot.js +272 -0
  161. package/dist/ui/models/SingleJointRobot.d.ts +22 -0
  162. package/dist/ui/models/SingleJointRobot.js +346 -0
  163. package/dist/ui/shapes/NamePlate.d.ts +10 -1
  164. package/dist/ui/shapes/NamePlate.js +85 -0
  165. package/dist/ui/shapes/ScrewHole.d.ts +8 -1
  166. package/dist/ui/shapes/ScrewHole.js +57 -0
  167. package/dist/ui/shapes/Texture.d.ts +12 -3
  168. package/dist/ui/shapes/Texture.js +51 -0
  169. package/dist/ui/utils/attr.d.ts +10 -3
  170. package/dist/ui/utils/attr.js +50 -0
  171. package/dist/utils/index.js +92 -0
  172. package/dist/utils/type-guards.d.ts +1 -1
  173. package/dist/utils/type-guards.js +105 -0
  174. package/package.json +2 -2
@@ -0,0 +1,543 @@
1
+ import { ref } from 'vue';
2
+ import { storeToRefs } from 'pinia';
3
+ import { useEditorStore } from '@/stores';
4
+ import { ElInputNumber, ElSelect, ElOption, ElButton, ElColorPicker } from 'element-plus';
5
+ import { Delete } from '@element-plus/icons-vue';
6
+ import LightGrid from '@/assets/images/texture/LightGrid.png';
7
+ import DarkGrid from '@/assets/images/texture/DarkGrid.png';
8
+ import MatrixGrid from '@/assets/images/texture/MatrixGrid.png';
9
+ import LightDot from '@/assets/images/texture/LightDot.png';
10
+ import DarkDot from '@/assets/images/texture/DarkDot.png';
11
+ import WoodFloor from '@/assets/images/texture/WoodFloor.png';
12
+ const { scene } = storeToRefs(useEditorStore());
13
+ const iAlign = ['top-left', 'top', 'top-right', 'right', 'bottom-right', 'bottom', 'bottom-left', 'left', 'center'];
14
+ const textureList = ref([
15
+ {
16
+ label: '亮色方格',
17
+ value: 'LightGrid',
18
+ src: LightGrid
19
+ },
20
+ {
21
+ label: '暗色方格',
22
+ value: 'DarkGrid',
23
+ src: DarkGrid
24
+ },
25
+ {
26
+ label: '矩阵方格',
27
+ value: 'MatrixGrid',
28
+ src: MatrixGrid
29
+ },
30
+ {
31
+ label: '亮色圆点',
32
+ value: 'LightDot',
33
+ src: LightDot
34
+ },
35
+ {
36
+ label: '暗色圆点',
37
+ value: 'DarkDot',
38
+ src: DarkDot
39
+ },
40
+ {
41
+ label: '木地板',
42
+ value: 'WoodFloor',
43
+ src: WoodFloor
44
+ }
45
+ ]);
46
+ // 添加色标
47
+ const addColor = () => {
48
+ scene.value?.fill?.stops?.push({
49
+ offset: 1,
50
+ color: 'rgba(0, 0, 0, 1)'
51
+ });
52
+ };
53
+ // 删除色标
54
+ const removeColor = (index) => {
55
+ scene.value?.fill?.stops?.splice(index, 1);
56
+ };
57
+ debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
58
+ const __VLS_ctx = {
59
+ ...{},
60
+ ...{},
61
+ };
62
+ let __VLS_components;
63
+ let __VLS_directives;
64
+ if (__VLS_ctx.scene?.fill) {
65
+ // @ts-ignore
66
+ [scene,];
67
+ __VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
68
+ ...{ class: "form_group" },
69
+ });
70
+ __VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
71
+ ...{ class: "form_group_title" },
72
+ });
73
+ __VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
74
+ ...{ class: "keyVal" },
75
+ });
76
+ __VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
77
+ ...{ class: "key" },
78
+ });
79
+ __VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
80
+ ...{ class: "val" },
81
+ });
82
+ const __VLS_0 = {}.ElSelect;
83
+ /** @type {[typeof __VLS_components.ElSelect, typeof __VLS_components.elSelect, typeof __VLS_components.ElSelect, typeof __VLS_components.elSelect, ]} */ ;
84
+ // @ts-ignore
85
+ ElSelect;
86
+ // @ts-ignore
87
+ const __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0({
88
+ modelValue: (__VLS_ctx.scene.fill.type),
89
+ }));
90
+ const __VLS_2 = __VLS_1({
91
+ modelValue: (__VLS_ctx.scene.fill.type),
92
+ }, ...__VLS_functionalComponentArgsRest(__VLS_1));
93
+ const { default: __VLS_5 } = __VLS_3.slots;
94
+ // @ts-ignore
95
+ [scene,];
96
+ const __VLS_6 = {}.ElOption;
97
+ /** @type {[typeof __VLS_components.ElOption, typeof __VLS_components.elOption, ]} */ ;
98
+ // @ts-ignore
99
+ ElOption;
100
+ // @ts-ignore
101
+ const __VLS_7 = __VLS_asFunctionalComponent(__VLS_6, new __VLS_6({
102
+ label: "纯色",
103
+ value: "solid",
104
+ }));
105
+ const __VLS_8 = __VLS_7({
106
+ label: "纯色",
107
+ value: "solid",
108
+ }, ...__VLS_functionalComponentArgsRest(__VLS_7));
109
+ const __VLS_12 = {}.ElOption;
110
+ /** @type {[typeof __VLS_components.ElOption, typeof __VLS_components.elOption, ]} */ ;
111
+ // @ts-ignore
112
+ ElOption;
113
+ // @ts-ignore
114
+ const __VLS_13 = __VLS_asFunctionalComponent(__VLS_12, new __VLS_12({
115
+ label: "线性渐变",
116
+ value: "linear",
117
+ }));
118
+ const __VLS_14 = __VLS_13({
119
+ label: "线性渐变",
120
+ value: "linear",
121
+ }, ...__VLS_functionalComponentArgsRest(__VLS_13));
122
+ const __VLS_18 = {}.ElOption;
123
+ /** @type {[typeof __VLS_components.ElOption, typeof __VLS_components.elOption, ]} */ ;
124
+ // @ts-ignore
125
+ ElOption;
126
+ // @ts-ignore
127
+ const __VLS_19 = __VLS_asFunctionalComponent(__VLS_18, new __VLS_18({
128
+ label: "径向渐变",
129
+ value: "radial",
130
+ }));
131
+ const __VLS_20 = __VLS_19({
132
+ label: "径向渐变",
133
+ value: "radial",
134
+ }, ...__VLS_functionalComponentArgsRest(__VLS_19));
135
+ var __VLS_3;
136
+ __VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
137
+ ...{ class: "keyVal" },
138
+ });
139
+ __VLS_asFunctionalDirective(__VLS_directives.vShow)(null, { ...__VLS_directiveBindingRestFields, value: (__VLS_ctx.scene.fill.type === 'solid') }, null, null);
140
+ // @ts-ignore
141
+ [scene,];
142
+ __VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
143
+ ...{ class: "key" },
144
+ });
145
+ __VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
146
+ ...{ class: "val" },
147
+ });
148
+ const __VLS_24 = {}.ElColorPicker;
149
+ /** @type {[typeof __VLS_components.ElColorPicker, typeof __VLS_components.elColorPicker, ]} */ ;
150
+ // @ts-ignore
151
+ ElColorPicker;
152
+ // @ts-ignore
153
+ const __VLS_25 = __VLS_asFunctionalComponent(__VLS_24, new __VLS_24({
154
+ ...{ class: "color_picker" },
155
+ modelValue: (__VLS_ctx.scene.fill.color),
156
+ showAlpha: true,
157
+ predefine: (['#000', '#424242', '#fff', '#f30', '#009866', 'rgba(131, 186, 205, 1)']),
158
+ size: "default",
159
+ }));
160
+ const __VLS_26 = __VLS_25({
161
+ ...{ class: "color_picker" },
162
+ modelValue: (__VLS_ctx.scene.fill.color),
163
+ showAlpha: true,
164
+ predefine: (['#000', '#424242', '#fff', '#f30', '#009866', 'rgba(131, 186, 205, 1)']),
165
+ size: "default",
166
+ }, ...__VLS_functionalComponentArgsRest(__VLS_25));
167
+ // @ts-ignore
168
+ [scene,];
169
+ __VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({});
170
+ __VLS_asFunctionalDirective(__VLS_directives.vShow)(null, { ...__VLS_directiveBindingRestFields, value: (__VLS_ctx.scene.fill.type !== 'solid') }, null, null);
171
+ // @ts-ignore
172
+ [scene,];
173
+ __VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
174
+ ...{ class: "keyVal" },
175
+ });
176
+ __VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
177
+ ...{ class: "key" },
178
+ });
179
+ __VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
180
+ ...{ class: "val" },
181
+ });
182
+ const __VLS_30 = {}.ElSelect;
183
+ /** @type {[typeof __VLS_components.ElSelect, typeof __VLS_components.elSelect, typeof __VLS_components.ElSelect, typeof __VLS_components.elSelect, ]} */ ;
184
+ // @ts-ignore
185
+ ElSelect;
186
+ // @ts-ignore
187
+ const __VLS_31 = __VLS_asFunctionalComponent(__VLS_30, new __VLS_30({
188
+ modelValue: (__VLS_ctx.scene.fill.from),
189
+ }));
190
+ const __VLS_32 = __VLS_31({
191
+ modelValue: (__VLS_ctx.scene.fill.from),
192
+ }, ...__VLS_functionalComponentArgsRest(__VLS_31));
193
+ const { default: __VLS_35 } = __VLS_33.slots;
194
+ // @ts-ignore
195
+ [scene,];
196
+ for (const [item, index] of __VLS_getVForSourceType((__VLS_ctx.iAlign))) {
197
+ // @ts-ignore
198
+ [iAlign,];
199
+ const __VLS_36 = {}.ElOption;
200
+ /** @type {[typeof __VLS_components.ElOption, typeof __VLS_components.elOption, ]} */ ;
201
+ // @ts-ignore
202
+ ElOption;
203
+ // @ts-ignore
204
+ const __VLS_37 = __VLS_asFunctionalComponent(__VLS_36, new __VLS_36({
205
+ label: (item),
206
+ value: (item),
207
+ key: (index),
208
+ }));
209
+ const __VLS_38 = __VLS_37({
210
+ label: (item),
211
+ value: (item),
212
+ key: (index),
213
+ }, ...__VLS_functionalComponentArgsRest(__VLS_37));
214
+ }
215
+ var __VLS_33;
216
+ __VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
217
+ ...{ class: "keyVal" },
218
+ });
219
+ __VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
220
+ ...{ class: "key" },
221
+ });
222
+ __VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
223
+ ...{ class: "val" },
224
+ });
225
+ const __VLS_42 = {}.ElSelect;
226
+ /** @type {[typeof __VLS_components.ElSelect, typeof __VLS_components.elSelect, typeof __VLS_components.ElSelect, typeof __VLS_components.elSelect, ]} */ ;
227
+ // @ts-ignore
228
+ ElSelect;
229
+ // @ts-ignore
230
+ const __VLS_43 = __VLS_asFunctionalComponent(__VLS_42, new __VLS_42({
231
+ modelValue: (__VLS_ctx.scene.fill.to),
232
+ }));
233
+ const __VLS_44 = __VLS_43({
234
+ modelValue: (__VLS_ctx.scene.fill.to),
235
+ }, ...__VLS_functionalComponentArgsRest(__VLS_43));
236
+ const { default: __VLS_47 } = __VLS_45.slots;
237
+ // @ts-ignore
238
+ [scene,];
239
+ for (const [item, index] of __VLS_getVForSourceType((__VLS_ctx.iAlign))) {
240
+ // @ts-ignore
241
+ [iAlign,];
242
+ const __VLS_48 = {}.ElOption;
243
+ /** @type {[typeof __VLS_components.ElOption, typeof __VLS_components.elOption, ]} */ ;
244
+ // @ts-ignore
245
+ ElOption;
246
+ // @ts-ignore
247
+ const __VLS_49 = __VLS_asFunctionalComponent(__VLS_48, new __VLS_48({
248
+ label: (item),
249
+ value: (item),
250
+ key: (index),
251
+ }));
252
+ const __VLS_50 = __VLS_49({
253
+ label: (item),
254
+ value: (item),
255
+ key: (index),
256
+ }, ...__VLS_functionalComponentArgsRest(__VLS_49));
257
+ }
258
+ var __VLS_45;
259
+ for (const [item, index] of __VLS_getVForSourceType((__VLS_ctx.scene.fill.stops))) {
260
+ // @ts-ignore
261
+ [scene,];
262
+ __VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
263
+ ...{ class: "keyVal" },
264
+ key: (index),
265
+ });
266
+ __VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
267
+ ...{ class: "key" },
268
+ });
269
+ (index + 1);
270
+ __VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
271
+ ...{ class: "val" },
272
+ });
273
+ const __VLS_54 = {}.ElColorPicker;
274
+ /** @type {[typeof __VLS_components.ElColorPicker, typeof __VLS_components.elColorPicker, ]} */ ;
275
+ // @ts-ignore
276
+ ElColorPicker;
277
+ // @ts-ignore
278
+ const __VLS_55 = __VLS_asFunctionalComponent(__VLS_54, new __VLS_54({
279
+ ...{ class: "color_picker" },
280
+ modelValue: (item.color),
281
+ showAlpha: true,
282
+ predefine: (['#000', '#424242', '#fff', '#f30', '#009866', 'rgba(131, 186, 205, 1)']),
283
+ size: "small",
284
+ }));
285
+ const __VLS_56 = __VLS_55({
286
+ ...{ class: "color_picker" },
287
+ modelValue: (item.color),
288
+ showAlpha: true,
289
+ predefine: (['#000', '#424242', '#fff', '#f30', '#009866', 'rgba(131, 186, 205, 1)']),
290
+ size: "small",
291
+ }, ...__VLS_functionalComponentArgsRest(__VLS_55));
292
+ const __VLS_60 = {}.ElInputNumber;
293
+ /** @type {[typeof __VLS_components.ElInputNumber, typeof __VLS_components.elInputNumber, typeof __VLS_components.ElInputNumber, typeof __VLS_components.elInputNumber, ]} */ ;
294
+ // @ts-ignore
295
+ ElInputNumber;
296
+ // @ts-ignore
297
+ const __VLS_61 = __VLS_asFunctionalComponent(__VLS_60, new __VLS_60({
298
+ modelValue: (item.offset),
299
+ modelModifiers: { number: true, },
300
+ step: (0.01),
301
+ precision: (2),
302
+ min: (0),
303
+ max: (1),
304
+ size: "small",
305
+ controlsPosition: "right",
306
+ ...{ style: "width: 100%" },
307
+ }));
308
+ const __VLS_62 = __VLS_61({
309
+ modelValue: (item.offset),
310
+ modelModifiers: { number: true, },
311
+ step: (0.01),
312
+ precision: (2),
313
+ min: (0),
314
+ max: (1),
315
+ size: "small",
316
+ controlsPosition: "right",
317
+ ...{ style: "width: 100%" },
318
+ }, ...__VLS_functionalComponentArgsRest(__VLS_61));
319
+ const { default: __VLS_65 } = __VLS_63.slots;
320
+ {
321
+ const { prefix: __VLS_66 } = __VLS_63.slots;
322
+ __VLS_asFunctionalElement(__VLS_intrinsics.span, __VLS_intrinsics.span)({});
323
+ }
324
+ var __VLS_63;
325
+ const __VLS_67 = {}.ElButton;
326
+ /** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
327
+ // @ts-ignore
328
+ ElButton;
329
+ // @ts-ignore
330
+ const __VLS_68 = __VLS_asFunctionalComponent(__VLS_67, new __VLS_67({
331
+ ...{ 'onClick': {} },
332
+ size: "small",
333
+ type: "danger",
334
+ icon: (__VLS_ctx.Delete),
335
+ ...{ style: "margin-left: 8px" },
336
+ }));
337
+ const __VLS_69 = __VLS_68({
338
+ ...{ 'onClick': {} },
339
+ size: "small",
340
+ type: "danger",
341
+ icon: (__VLS_ctx.Delete),
342
+ ...{ style: "margin-left: 8px" },
343
+ }, ...__VLS_functionalComponentArgsRest(__VLS_68));
344
+ let __VLS_72;
345
+ const __VLS_73 = ({ click: {} },
346
+ { onClick: (...[$event]) => {
347
+ if (!(__VLS_ctx.scene?.fill))
348
+ return;
349
+ __VLS_ctx.removeColor(index);
350
+ // @ts-ignore
351
+ [Delete, removeColor,];
352
+ } });
353
+ var __VLS_70;
354
+ var __VLS_71;
355
+ }
356
+ __VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
357
+ ...{ class: "keyVal" },
358
+ });
359
+ __VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
360
+ ...{ class: "key" },
361
+ });
362
+ __VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
363
+ ...{ class: "val" },
364
+ });
365
+ const __VLS_75 = {}.ElButton;
366
+ /** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
367
+ // @ts-ignore
368
+ ElButton;
369
+ // @ts-ignore
370
+ const __VLS_76 = __VLS_asFunctionalComponent(__VLS_75, new __VLS_75({
371
+ ...{ 'onClick': {} },
372
+ size: "small",
373
+ type: "primary",
374
+ icon: "Plus",
375
+ ...{ style: "width: 100%" },
376
+ }));
377
+ const __VLS_77 = __VLS_76({
378
+ ...{ 'onClick': {} },
379
+ size: "small",
380
+ type: "primary",
381
+ icon: "Plus",
382
+ ...{ style: "width: 100%" },
383
+ }, ...__VLS_functionalComponentArgsRest(__VLS_76));
384
+ let __VLS_80;
385
+ const __VLS_81 = ({ click: {} },
386
+ { onClick: (__VLS_ctx.addColor) });
387
+ const { default: __VLS_82 } = __VLS_78.slots;
388
+ // @ts-ignore
389
+ [addColor,];
390
+ var __VLS_78;
391
+ var __VLS_79;
392
+ __VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
393
+ ...{ class: "keyVal" },
394
+ });
395
+ __VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
396
+ ...{ class: "key" },
397
+ });
398
+ __VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
399
+ ...{ class: "val" },
400
+ });
401
+ const __VLS_83 = {}.ElInputNumber;
402
+ /** @type {[typeof __VLS_components.ElInputNumber, typeof __VLS_components.elInputNumber, ]} */ ;
403
+ // @ts-ignore
404
+ ElInputNumber;
405
+ // @ts-ignore
406
+ const __VLS_84 = __VLS_asFunctionalComponent(__VLS_83, new __VLS_83({
407
+ modelValue: (__VLS_ctx.scene.fill.opacity),
408
+ modelModifiers: { number: true, },
409
+ step: (0.01),
410
+ precision: (2),
411
+ min: (0),
412
+ max: (1),
413
+ size: "default",
414
+ ...{ style: "width: 100%" },
415
+ }));
416
+ const __VLS_85 = __VLS_84({
417
+ modelValue: (__VLS_ctx.scene.fill.opacity),
418
+ modelModifiers: { number: true, },
419
+ step: (0.01),
420
+ precision: (2),
421
+ min: (0),
422
+ max: (1),
423
+ size: "default",
424
+ ...{ style: "width: 100%" },
425
+ }, ...__VLS_functionalComponentArgsRest(__VLS_84));
426
+ // @ts-ignore
427
+ [scene,];
428
+ __VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
429
+ ...{ class: "keyVal" },
430
+ });
431
+ __VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
432
+ ...{ class: "key" },
433
+ });
434
+ __VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
435
+ ...{ class: "val" },
436
+ });
437
+ const __VLS_89 = {}.ElSelect;
438
+ /** @type {[typeof __VLS_components.ElSelect, typeof __VLS_components.elSelect, typeof __VLS_components.ElSelect, typeof __VLS_components.elSelect, ]} */ ;
439
+ // @ts-ignore
440
+ ElSelect;
441
+ // @ts-ignore
442
+ const __VLS_90 = __VLS_asFunctionalComponent(__VLS_89, new __VLS_89({
443
+ modelValue: (__VLS_ctx.scene.texture),
444
+ placeholder: "",
445
+ clearable: true,
446
+ ...{ style: "width: 100%" },
447
+ }));
448
+ const __VLS_91 = __VLS_90({
449
+ modelValue: (__VLS_ctx.scene.texture),
450
+ placeholder: "",
451
+ clearable: true,
452
+ ...{ style: "width: 100%" },
453
+ }, ...__VLS_functionalComponentArgsRest(__VLS_90));
454
+ const { default: __VLS_94 } = __VLS_92.slots;
455
+ // @ts-ignore
456
+ [scene,];
457
+ for (const [item] of __VLS_getVForSourceType((__VLS_ctx.textureList))) {
458
+ // @ts-ignore
459
+ [textureList,];
460
+ const __VLS_95 = {}.ElOption;
461
+ /** @type {[typeof __VLS_components.ElOption, typeof __VLS_components.elOption, typeof __VLS_components.ElOption, typeof __VLS_components.elOption, ]} */ ;
462
+ // @ts-ignore
463
+ ElOption;
464
+ // @ts-ignore
465
+ const __VLS_96 = __VLS_asFunctionalComponent(__VLS_95, new __VLS_95({
466
+ key: (item.value),
467
+ value: (item.value),
468
+ label: (item.label),
469
+ }));
470
+ const __VLS_97 = __VLS_96({
471
+ key: (item.value),
472
+ value: (item.value),
473
+ label: (item.label),
474
+ }, ...__VLS_functionalComponentArgsRest(__VLS_96));
475
+ const { default: __VLS_100 } = __VLS_98.slots;
476
+ __VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
477
+ ...{ class: "texture" },
478
+ });
479
+ __VLS_asFunctionalElement(__VLS_intrinsics.span, __VLS_intrinsics.span)({
480
+ ...{ class: "textureImg" },
481
+ ...{ style: ({ backgroundImage: `url(${item.src})` }) },
482
+ });
483
+ __VLS_asFunctionalElement(__VLS_intrinsics.span, __VLS_intrinsics.span)({
484
+ ...{ class: "textureLabel" },
485
+ });
486
+ (item.label);
487
+ var __VLS_98;
488
+ }
489
+ {
490
+ const { label: __VLS_101 } = __VLS_92.slots;
491
+ const [{ label, value }] = __VLS_getSlotParameters(__VLS_101);
492
+ __VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
493
+ ...{ class: "texture" },
494
+ });
495
+ __VLS_asFunctionalElement(__VLS_intrinsics.span, __VLS_intrinsics.span)({
496
+ ...{ class: "textureImg" },
497
+ ...{ style: ({ backgroundImage: `url(${__VLS_ctx.textureList.find((d) => d.value === value)?.src})` }) },
498
+ });
499
+ // @ts-ignore
500
+ [textureList,];
501
+ __VLS_asFunctionalElement(__VLS_intrinsics.span, __VLS_intrinsics.span)({
502
+ ...{ class: "textureLabel" },
503
+ });
504
+ (label);
505
+ }
506
+ var __VLS_92;
507
+ }
508
+ /** @type {__VLS_StyleScopedClasses['form_group']} */ ;
509
+ /** @type {__VLS_StyleScopedClasses['form_group_title']} */ ;
510
+ /** @type {__VLS_StyleScopedClasses['keyVal']} */ ;
511
+ /** @type {__VLS_StyleScopedClasses['key']} */ ;
512
+ /** @type {__VLS_StyleScopedClasses['val']} */ ;
513
+ /** @type {__VLS_StyleScopedClasses['keyVal']} */ ;
514
+ /** @type {__VLS_StyleScopedClasses['key']} */ ;
515
+ /** @type {__VLS_StyleScopedClasses['val']} */ ;
516
+ /** @type {__VLS_StyleScopedClasses['color_picker']} */ ;
517
+ /** @type {__VLS_StyleScopedClasses['keyVal']} */ ;
518
+ /** @type {__VLS_StyleScopedClasses['key']} */ ;
519
+ /** @type {__VLS_StyleScopedClasses['val']} */ ;
520
+ /** @type {__VLS_StyleScopedClasses['keyVal']} */ ;
521
+ /** @type {__VLS_StyleScopedClasses['key']} */ ;
522
+ /** @type {__VLS_StyleScopedClasses['val']} */ ;
523
+ /** @type {__VLS_StyleScopedClasses['keyVal']} */ ;
524
+ /** @type {__VLS_StyleScopedClasses['key']} */ ;
525
+ /** @type {__VLS_StyleScopedClasses['val']} */ ;
526
+ /** @type {__VLS_StyleScopedClasses['color_picker']} */ ;
527
+ /** @type {__VLS_StyleScopedClasses['keyVal']} */ ;
528
+ /** @type {__VLS_StyleScopedClasses['key']} */ ;
529
+ /** @type {__VLS_StyleScopedClasses['val']} */ ;
530
+ /** @type {__VLS_StyleScopedClasses['keyVal']} */ ;
531
+ /** @type {__VLS_StyleScopedClasses['key']} */ ;
532
+ /** @type {__VLS_StyleScopedClasses['val']} */ ;
533
+ /** @type {__VLS_StyleScopedClasses['keyVal']} */ ;
534
+ /** @type {__VLS_StyleScopedClasses['key']} */ ;
535
+ /** @type {__VLS_StyleScopedClasses['val']} */ ;
536
+ /** @type {__VLS_StyleScopedClasses['texture']} */ ;
537
+ /** @type {__VLS_StyleScopedClasses['textureImg']} */ ;
538
+ /** @type {__VLS_StyleScopedClasses['textureLabel']} */ ;
539
+ /** @type {__VLS_StyleScopedClasses['texture']} */ ;
540
+ /** @type {__VLS_StyleScopedClasses['textureImg']} */ ;
541
+ /** @type {__VLS_StyleScopedClasses['textureLabel']} */ ;
542
+ const __VLS_export = (await import('vue')).defineComponent({});
543
+ export default {};
@@ -1,2 +1,3 @@
1
- declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
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;