@jnrs/lingshu-smart 2.2.6 → 2.2.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/App.vue.d.ts +2 -1
- package/dist/App.vue.js +30 -0
- package/dist/assets/data/editor_default.d.ts +8 -1
- package/dist/assets/data/editor_default.js +59 -0
- package/dist/assets/data/editor_default_setting.d.ts +16 -0
- package/dist/assets/data/editor_default_setting.js +58 -0
- package/dist/assets/data/editor_preset.d.ts +8 -1
- package/dist/assets/data/editor_preset.js +51 -0
- package/dist/assets/data/editor_preset_menu.d.ts +9 -0
- package/dist/assets/data/editor_preset_menu.js +290 -0
- package/dist/components/editor/ControlBar/CaseManger.vue.d.ts +3 -15
- package/dist/components/editor/ControlBar/CaseManger.vue.js +465 -0
- package/dist/components/editor/ControlBar/CaseTitleEdit.vue.d.ts +2 -411
- package/dist/components/editor/ControlBar/CaseTitleEdit.vue.js +108 -0
- package/dist/components/editor/ControlBar/ExportImportDialog.vue.d.ts +3 -2
- package/dist/components/editor/ControlBar/ExportImportDialog.vue.js +280 -0
- package/dist/components/editor/ControlBar/MainButton.vue.d.ts +3 -2
- package/dist/components/editor/ControlBar/MainButton.vue.js +183 -0
- package/dist/components/editor/ControlBar/StepButton.vue.d.ts +2 -1
- package/dist/components/editor/ControlBar/StepButton.vue.js +147 -0
- package/dist/components/editor/ControlBar/StepRecordVisualizer.vue.d.ts +2 -1
- package/dist/components/editor/ControlBar/StepRecordVisualizer.vue.js +98 -0
- package/dist/components/editor/DrawingBoard.vue.d.ts +2 -1
- package/dist/components/editor/DrawingBoard.vue.js +31 -0
- package/dist/components/editor/MenuCard/Equipments.vue.d.ts +2 -1
- package/dist/components/editor/MenuCard/Equipments.vue.js +129 -0
- package/dist/components/editor/MenuCard/Layers.vue.d.ts +2 -1
- package/dist/components/editor/MenuCard/Layers.vue.js +201 -0
- package/dist/components/editor/MenuCard/index.vue.d.ts +2 -1
- package/dist/components/editor/MenuCard/index.vue.js +84 -0
- package/dist/components/editor/OptionCard/Equipment/Base.vue.d.ts +2 -1
- package/dist/components/editor/OptionCard/Equipment/Base.vue.js +96 -0
- package/dist/components/editor/OptionCard/Equipment/Binds.vue.d.ts +3 -0
- package/dist/components/editor/OptionCard/Equipment/Binds.vue.js +443 -0
- package/dist/components/editor/OptionCard/Equipment/Bot.vue.d.ts +3 -0
- package/dist/components/editor/OptionCard/Equipment/Bot.vue.js +81 -0
- package/dist/components/editor/OptionCard/Equipment/DataSets.vue.d.ts +2 -1
- package/dist/components/editor/OptionCard/Equipment/DataSets.vue.js +304 -0
- package/dist/components/editor/OptionCard/Equipment/DockStore.vue.d.ts +3 -0
- package/dist/components/editor/OptionCard/Equipment/DockStore.vue.js +597 -0
- package/dist/components/editor/OptionCard/Equipment/Interaction.vue.d.ts +2 -1
- package/dist/components/editor/OptionCard/Equipment/Interaction.vue.js +287 -0
- package/dist/components/editor/OptionCard/Equipment/Position.backup.vue.d.ts +3 -0
- package/dist/components/editor/OptionCard/Equipment/Position.backup.vue.js +440 -0
- package/dist/components/editor/OptionCard/Equipment/Position.vue.d.ts +2 -1
- package/dist/components/editor/OptionCard/Equipment/Position.vue.js +436 -0
- package/dist/components/editor/OptionCard/Equipment/StationSlotGroup.vue.d.ts +2 -1
- package/dist/components/editor/OptionCard/Equipment/StationSlotGroup.vue.js +1131 -0
- package/dist/components/editor/OptionCard/Equipment/Store.vue.d.ts +3 -0
- package/dist/components/editor/OptionCard/Equipment/Store.vue.js +453 -0
- package/dist/components/editor/OptionCard/Equipment/Trailer.vue.d.ts +3 -0
- package/dist/components/editor/OptionCard/Equipment/Trailer.vue.js +1109 -0
- package/dist/components/editor/OptionCard/Equipment/index.vue.d.ts +2 -1
- package/dist/components/editor/OptionCard/Equipment/index.vue.js +100 -0
- package/dist/components/editor/OptionCard/Equipment/models/MachineTool.vue.d.ts +3 -0
- package/dist/components/editor/OptionCard/Equipment/models/MachineTool.vue.js +99 -0
- package/dist/components/editor/OptionCard/Equipment/models/Rail.vue.d.ts +3 -0
- package/dist/components/editor/OptionCard/Equipment/models/Rail.vue.js +225 -0
- package/dist/components/editor/OptionCard/Equipment/models/SingleGripperRobot.vue.d.ts +3 -0
- package/dist/components/editor/OptionCard/Equipment/models/SingleGripperRobot.vue.js +99 -0
- package/dist/components/editor/OptionCard/Scene/Background.vue.d.ts +2 -1
- package/dist/components/editor/OptionCard/Scene/Background.vue.js +543 -0
- package/dist/components/editor/OptionCard/Scene/index.vue.d.ts +2 -1
- package/dist/components/editor/OptionCard/Scene/index.vue.js +200 -0
- package/dist/components/editor/OptionCard/index.vue.d.ts +2 -1
- package/dist/components/editor/OptionCard/index.vue.js +73 -0
- package/dist/components/editor/index.vue.d.ts +4 -13
- package/dist/components/editor/index.vue.js +156 -0
- package/dist/components/index.d.ts +2 -2
- package/dist/components/index.js +4 -25440
- package/dist/components/preview/index.vue.d.ts +6 -5
- package/dist/components/preview/index.vue.js +104 -0
- package/dist/composables/useStepRecord.d.ts +12 -4
- package/dist/composables/useStepRecord.js +135 -0
- package/dist/constants/options.d.ts +8 -1
- package/dist/constants/options.js +55 -0
- package/dist/controller/AppController.d.ts +10 -3
- package/dist/controller/AppController.js +168 -0
- package/dist/controller/EditorController.d.ts +9 -2
- package/dist/controller/EditorController.js +173 -0
- package/dist/index.js +1 -1
- package/dist/locales/en.js +5 -0
- package/dist/locales/i18next.d.ts +1 -1
- package/dist/locales/i18next.js +6 -0
- package/dist/locales/index.d.ts +2 -2
- package/dist/locales/index.js +3 -13
- package/dist/locales/zhCn.js +5 -0
- package/dist/main.d.ts +3 -0
- package/dist/main.js +13 -0
- package/dist/playground/EditPageDemo.vue.d.ts +2 -1
- package/dist/playground/EditPageDemo.vue.js +57 -0
- package/dist/playground/ViewPageDemo.vue.d.ts +2 -27
- package/dist/playground/ViewPageDemo.vue.js +277 -0
- package/dist/stores/index.js +3 -0
- package/dist/stores/useAppStore.d.ts +13 -6
- package/dist/stores/useAppStore.js +78 -0
- package/dist/stores/useDataStore.d.ts +18 -11
- package/dist/stores/useDataStore.js +116 -0
- package/dist/stores/useEditorStore.d.ts +27 -20
- package/dist/stores/useEditorStore.js +263 -0
- package/dist/types/app.types.d.ts +1 -1
- package/dist/types/app.types.js +2 -0
- package/dist/types/base.types.d.ts +4 -2
- package/dist/types/base.types.js +1 -0
- package/dist/types/components/config.types.d.ts +11 -3
- package/dist/types/components/config.types.js +1 -0
- package/dist/types/components/operating.types.d.ts +1 -1
- package/dist/types/components/operating.types.js +1 -0
- package/dist/types/enums.d.ts +5 -2
- package/dist/types/enums.js +46 -0
- package/dist/types/guards.d.ts +12 -2
- package/dist/types/guards.js +28 -0
- package/dist/types/index.d.ts +2 -2
- package/dist/types/index.js +8 -0
- package/dist/types/models/config.types.d.ts +74 -29
- package/dist/types/models/config.types.js +1 -0
- package/dist/types/models/operating.types.d.ts +83 -17
- package/dist/types/models/operating.types.js +1 -0
- package/dist/ui/abstract/ComponentAbs.d.ts +9 -2
- package/dist/ui/abstract/ComponentAbs.js +64 -0
- package/dist/ui/abstract/ModelAbs.d.ts +12 -2
- package/dist/ui/abstract/ModelAbs.js +119 -0
- package/dist/ui/components/Entrance.d.ts +8 -1
- package/dist/ui/components/Entrance.js +83 -0
- package/dist/ui/components/Light.d.ts +26 -3
- package/dist/ui/components/Light.js +167 -0
- package/dist/ui/components/Progress.d.ts +8 -1
- package/dist/ui/components/Progress.js +84 -0
- package/dist/ui/components/Resource.d.ts +8 -1
- package/dist/ui/components/Resource.js +70 -0
- package/dist/ui/components/StationSlot.d.ts +24 -2
- package/dist/ui/components/StationSlot.js +207 -0
- package/dist/ui/components/StationSlotGroup.d.ts +8 -1
- package/dist/ui/components/StationSlotGroup.js +110 -0
- package/dist/ui/factories/createGlass.d.ts +9 -1
- package/dist/ui/factories/createGlass.js +51 -0
- package/dist/ui/factories/createModel.d.ts +9 -2
- package/dist/ui/factories/createModel.js +35 -0
- package/dist/ui/factories/createShadow.d.ts +12 -4
- package/dist/ui/factories/createShadow.js +52 -0
- package/dist/ui/factories/createText.d.ts +7 -0
- package/dist/ui/factories/createText.js +46 -0
- package/dist/ui/models/CleaningMachine.d.ts +14 -0
- package/dist/ui/models/CleaningMachine.js +141 -0
- package/dist/ui/models/DoubleJointRobot.d.ts +23 -0
- package/dist/ui/models/DoubleJointRobot.js +545 -0
- package/dist/ui/models/LoadingStation.d.ts +16 -0
- package/dist/ui/models/LoadingStation.js +167 -0
- package/dist/ui/models/MachineTool.d.ts +5 -4
- package/dist/ui/models/MachineTool.js +184 -0
- package/dist/ui/models/MarkingMachine.d.ts +16 -0
- package/dist/ui/models/MarkingMachine.js +148 -0
- package/dist/ui/models/Rail.d.ts +15 -0
- package/dist/ui/models/Rail.js +117 -0
- package/dist/ui/models/ResourceStore.d.ts +12 -0
- package/dist/ui/models/ResourceStore.js +101 -0
- package/dist/ui/models/SingleBot.d.ts +20 -0
- package/dist/ui/models/SingleBot.js +202 -0
- package/dist/ui/models/SingleGripperRobot.d.ts +19 -0
- package/dist/ui/models/SingleGripperRobot.js +272 -0
- package/dist/ui/models/SingleJointRobot.d.ts +22 -0
- package/dist/ui/models/SingleJointRobot.js +346 -0
- package/dist/ui/shapes/NamePlate.d.ts +10 -1
- package/dist/ui/shapes/NamePlate.js +85 -0
- package/dist/ui/shapes/ScrewHole.d.ts +8 -1
- package/dist/ui/shapes/ScrewHole.js +57 -0
- package/dist/ui/shapes/Texture.d.ts +12 -3
- package/dist/ui/shapes/Texture.js +51 -0
- package/dist/ui/utils/attr.d.ts +10 -3
- package/dist/ui/utils/attr.js +50 -0
- package/dist/utils/index.js +92 -0
- package/dist/utils/type-guards.d.ts +1 -1
- package/dist/utils/type-guards.js +105 -0
- package/package.json +2 -2
|
@@ -0,0 +1,440 @@
|
|
|
1
|
+
import { computed } from 'vue';
|
|
2
|
+
import { storeToRefs } from 'pinia';
|
|
3
|
+
import { transPercentAndPixel } from '@/utils';
|
|
4
|
+
import { ElIcon, ElPopover, ElInputNumber } from 'element-plus';
|
|
5
|
+
import { QuestionFilled } from '@element-plus/icons-vue';
|
|
6
|
+
import { useEditorStore } from '@/stores';
|
|
7
|
+
const editorStore = useEditorStore();
|
|
8
|
+
const { scene, currentLayer } = storeToRefs(editorStore);
|
|
9
|
+
const currentPercentX = computed({
|
|
10
|
+
get() {
|
|
11
|
+
return currentLayer.value?.percentX;
|
|
12
|
+
},
|
|
13
|
+
set(val) {
|
|
14
|
+
if (currentLayer.value !== null && typeof val === 'number' && !isNaN(val)) {
|
|
15
|
+
currentLayer.value.x = transPercentAndPixel(val, scene.value?.width, 3);
|
|
16
|
+
currentLayer.value.percentX = val;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
const currentPercentY = computed({
|
|
21
|
+
get() {
|
|
22
|
+
return currentLayer.value?.percentY;
|
|
23
|
+
},
|
|
24
|
+
set(val) {
|
|
25
|
+
if (currentLayer.value !== null && typeof val === 'number' && !isNaN(val)) {
|
|
26
|
+
currentLayer.value.y = transPercentAndPixel(val, scene.value?.height, 3);
|
|
27
|
+
currentLayer.value.percentY = val;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
const positionPx = computed(() => {
|
|
32
|
+
if (currentLayer.value) {
|
|
33
|
+
const { x, y } = currentLayer.value;
|
|
34
|
+
return `(${x},${y})`;
|
|
35
|
+
}
|
|
36
|
+
return '(0,0)';
|
|
37
|
+
});
|
|
38
|
+
debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
|
|
39
|
+
const __VLS_ctx = {
|
|
40
|
+
...{},
|
|
41
|
+
...{},
|
|
42
|
+
};
|
|
43
|
+
let __VLS_components;
|
|
44
|
+
let __VLS_directives;
|
|
45
|
+
if (__VLS_ctx.currentLayer) {
|
|
46
|
+
// @ts-ignore
|
|
47
|
+
[currentLayer,];
|
|
48
|
+
__VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
|
|
49
|
+
...{ class: "form_group" },
|
|
50
|
+
});
|
|
51
|
+
__VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
|
|
52
|
+
...{ class: "form_group_title" },
|
|
53
|
+
});
|
|
54
|
+
__VLS_asFunctionalElement(__VLS_intrinsics.span, __VLS_intrinsics.span)({});
|
|
55
|
+
const __VLS_0 = {}.ElPopover;
|
|
56
|
+
/** @type {[typeof __VLS_components.ElPopover, typeof __VLS_components.elPopover, typeof __VLS_components.ElPopover, typeof __VLS_components.elPopover, ]} */ ;
|
|
57
|
+
// @ts-ignore
|
|
58
|
+
ElPopover;
|
|
59
|
+
// @ts-ignore
|
|
60
|
+
const __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0({
|
|
61
|
+
placement: "bottom",
|
|
62
|
+
trigger: "click",
|
|
63
|
+
title: "位置",
|
|
64
|
+
content: "以设备图形中心点为基准进行定位",
|
|
65
|
+
}));
|
|
66
|
+
const __VLS_2 = __VLS_1({
|
|
67
|
+
placement: "bottom",
|
|
68
|
+
trigger: "click",
|
|
69
|
+
title: "位置",
|
|
70
|
+
content: "以设备图形中心点为基准进行定位",
|
|
71
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_1));
|
|
72
|
+
const { default: __VLS_5 } = __VLS_3.slots;
|
|
73
|
+
{
|
|
74
|
+
const { reference: __VLS_6 } = __VLS_3.slots;
|
|
75
|
+
const __VLS_7 = {}.ElIcon;
|
|
76
|
+
/** @type {[typeof __VLS_components.ElIcon, typeof __VLS_components.elIcon, typeof __VLS_components.ElIcon, typeof __VLS_components.elIcon, ]} */ ;
|
|
77
|
+
// @ts-ignore
|
|
78
|
+
ElIcon;
|
|
79
|
+
// @ts-ignore
|
|
80
|
+
const __VLS_8 = __VLS_asFunctionalComponent(__VLS_7, new __VLS_7({
|
|
81
|
+
...{ class: "el_icon" },
|
|
82
|
+
}));
|
|
83
|
+
const __VLS_9 = __VLS_8({
|
|
84
|
+
...{ class: "el_icon" },
|
|
85
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_8));
|
|
86
|
+
const { default: __VLS_12 } = __VLS_10.slots;
|
|
87
|
+
const __VLS_13 = {}.QuestionFilled;
|
|
88
|
+
/** @type {[typeof __VLS_components.QuestionFilled, ]} */ ;
|
|
89
|
+
// @ts-ignore
|
|
90
|
+
QuestionFilled;
|
|
91
|
+
// @ts-ignore
|
|
92
|
+
const __VLS_14 = __VLS_asFunctionalComponent(__VLS_13, new __VLS_13({}));
|
|
93
|
+
const __VLS_15 = __VLS_14({}, ...__VLS_functionalComponentArgsRest(__VLS_14));
|
|
94
|
+
var __VLS_10;
|
|
95
|
+
}
|
|
96
|
+
var __VLS_3;
|
|
97
|
+
__VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
|
|
98
|
+
...{ class: "keyVal" },
|
|
99
|
+
});
|
|
100
|
+
__VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
|
|
101
|
+
...{ class: "key" },
|
|
102
|
+
});
|
|
103
|
+
__VLS_asFunctionalElement(__VLS_intrinsics.span, __VLS_intrinsics.span)({
|
|
104
|
+
...{ class: "unit" },
|
|
105
|
+
});
|
|
106
|
+
__VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
|
|
107
|
+
...{ class: "val" },
|
|
108
|
+
});
|
|
109
|
+
const __VLS_19 = {}.ElInputNumber;
|
|
110
|
+
/** @type {[typeof __VLS_components.ElInputNumber, typeof __VLS_components.elInputNumber, ]} */ ;
|
|
111
|
+
// @ts-ignore
|
|
112
|
+
ElInputNumber;
|
|
113
|
+
// @ts-ignore
|
|
114
|
+
const __VLS_20 = __VLS_asFunctionalComponent(__VLS_19, new __VLS_19({
|
|
115
|
+
modelValue: (__VLS_ctx.currentPercentX),
|
|
116
|
+
modelModifiers: { number: true, },
|
|
117
|
+
step: (0.01),
|
|
118
|
+
precision: (3),
|
|
119
|
+
min: (-2),
|
|
120
|
+
max: (2),
|
|
121
|
+
size: "default",
|
|
122
|
+
...{ style: "width: 100%" },
|
|
123
|
+
}));
|
|
124
|
+
const __VLS_21 = __VLS_20({
|
|
125
|
+
modelValue: (__VLS_ctx.currentPercentX),
|
|
126
|
+
modelModifiers: { number: true, },
|
|
127
|
+
step: (0.01),
|
|
128
|
+
precision: (3),
|
|
129
|
+
min: (-2),
|
|
130
|
+
max: (2),
|
|
131
|
+
size: "default",
|
|
132
|
+
...{ style: "width: 100%" },
|
|
133
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_20));
|
|
134
|
+
// @ts-ignore
|
|
135
|
+
[currentPercentX,];
|
|
136
|
+
__VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
|
|
137
|
+
...{ class: "keyVal" },
|
|
138
|
+
});
|
|
139
|
+
__VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
|
|
140
|
+
...{ class: "key" },
|
|
141
|
+
});
|
|
142
|
+
__VLS_asFunctionalElement(__VLS_intrinsics.span, __VLS_intrinsics.span)({
|
|
143
|
+
...{ class: "unit" },
|
|
144
|
+
});
|
|
145
|
+
__VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
|
|
146
|
+
...{ class: "val" },
|
|
147
|
+
});
|
|
148
|
+
const __VLS_25 = {}.ElInputNumber;
|
|
149
|
+
/** @type {[typeof __VLS_components.ElInputNumber, typeof __VLS_components.elInputNumber, ]} */ ;
|
|
150
|
+
// @ts-ignore
|
|
151
|
+
ElInputNumber;
|
|
152
|
+
// @ts-ignore
|
|
153
|
+
const __VLS_26 = __VLS_asFunctionalComponent(__VLS_25, new __VLS_25({
|
|
154
|
+
modelValue: (__VLS_ctx.currentPercentY),
|
|
155
|
+
modelModifiers: { number: true, },
|
|
156
|
+
step: (0.01),
|
|
157
|
+
precision: (3),
|
|
158
|
+
min: (-2),
|
|
159
|
+
max: (2),
|
|
160
|
+
size: "default",
|
|
161
|
+
...{ style: "width: 100%" },
|
|
162
|
+
}));
|
|
163
|
+
const __VLS_27 = __VLS_26({
|
|
164
|
+
modelValue: (__VLS_ctx.currentPercentY),
|
|
165
|
+
modelModifiers: { number: true, },
|
|
166
|
+
step: (0.01),
|
|
167
|
+
precision: (3),
|
|
168
|
+
min: (-2),
|
|
169
|
+
max: (2),
|
|
170
|
+
size: "default",
|
|
171
|
+
...{ style: "width: 100%" },
|
|
172
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_26));
|
|
173
|
+
// @ts-ignore
|
|
174
|
+
[currentPercentY,];
|
|
175
|
+
__VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
|
|
176
|
+
...{ class: "keyVal" },
|
|
177
|
+
});
|
|
178
|
+
__VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
|
|
179
|
+
...{ class: "key" },
|
|
180
|
+
});
|
|
181
|
+
__VLS_asFunctionalElement(__VLS_intrinsics.span, __VLS_intrinsics.span)({
|
|
182
|
+
...{ class: "unit" },
|
|
183
|
+
});
|
|
184
|
+
__VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
|
|
185
|
+
...{ class: "val" },
|
|
186
|
+
});
|
|
187
|
+
const __VLS_31 = {}.ElInput;
|
|
188
|
+
/** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
|
|
189
|
+
// @ts-ignore
|
|
190
|
+
ElInput;
|
|
191
|
+
// @ts-ignore
|
|
192
|
+
const __VLS_32 = __VLS_asFunctionalComponent(__VLS_31, new __VLS_31({
|
|
193
|
+
value: (__VLS_ctx.positionPx),
|
|
194
|
+
size: "default",
|
|
195
|
+
...{ style: "width: 100%" },
|
|
196
|
+
disabled: (true),
|
|
197
|
+
}));
|
|
198
|
+
const __VLS_33 = __VLS_32({
|
|
199
|
+
value: (__VLS_ctx.positionPx),
|
|
200
|
+
size: "default",
|
|
201
|
+
...{ style: "width: 100%" },
|
|
202
|
+
disabled: (true),
|
|
203
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_32));
|
|
204
|
+
// @ts-ignore
|
|
205
|
+
[positionPx,];
|
|
206
|
+
__VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
|
|
207
|
+
...{ class: "keyVal" },
|
|
208
|
+
});
|
|
209
|
+
__VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
|
|
210
|
+
...{ class: "key" },
|
|
211
|
+
});
|
|
212
|
+
__VLS_asFunctionalElement(__VLS_intrinsics.span, __VLS_intrinsics.span)({
|
|
213
|
+
...{ class: "unit" },
|
|
214
|
+
});
|
|
215
|
+
__VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
|
|
216
|
+
...{ class: "val" },
|
|
217
|
+
});
|
|
218
|
+
const __VLS_37 = {}.ElInputNumber;
|
|
219
|
+
/** @type {[typeof __VLS_components.ElInputNumber, typeof __VLS_components.elInputNumber, ]} */ ;
|
|
220
|
+
// @ts-ignore
|
|
221
|
+
ElInputNumber;
|
|
222
|
+
// @ts-ignore
|
|
223
|
+
const __VLS_38 = __VLS_asFunctionalComponent(__VLS_37, new __VLS_37({
|
|
224
|
+
modelValue: (__VLS_ctx.currentLayer.rotation),
|
|
225
|
+
modelModifiers: { number: true, },
|
|
226
|
+
step: (1),
|
|
227
|
+
precision: (2),
|
|
228
|
+
min: (-360),
|
|
229
|
+
max: (360),
|
|
230
|
+
stepStrict: true,
|
|
231
|
+
size: "default",
|
|
232
|
+
...{ style: "width: 100%" },
|
|
233
|
+
}));
|
|
234
|
+
const __VLS_39 = __VLS_38({
|
|
235
|
+
modelValue: (__VLS_ctx.currentLayer.rotation),
|
|
236
|
+
modelModifiers: { number: true, },
|
|
237
|
+
step: (1),
|
|
238
|
+
precision: (2),
|
|
239
|
+
min: (-360),
|
|
240
|
+
max: (360),
|
|
241
|
+
stepStrict: true,
|
|
242
|
+
size: "default",
|
|
243
|
+
...{ style: "width: 100%" },
|
|
244
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_38));
|
|
245
|
+
// @ts-ignore
|
|
246
|
+
[currentLayer,];
|
|
247
|
+
__VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
|
|
248
|
+
...{ class: "keyVal" },
|
|
249
|
+
});
|
|
250
|
+
__VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
|
|
251
|
+
...{ class: "key" },
|
|
252
|
+
});
|
|
253
|
+
__VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
|
|
254
|
+
...{ class: "val" },
|
|
255
|
+
});
|
|
256
|
+
const __VLS_43 = {}.ElInputNumber;
|
|
257
|
+
/** @type {[typeof __VLS_components.ElInputNumber, typeof __VLS_components.elInputNumber, ]} */ ;
|
|
258
|
+
// @ts-ignore
|
|
259
|
+
ElInputNumber;
|
|
260
|
+
// @ts-ignore
|
|
261
|
+
const __VLS_44 = __VLS_asFunctionalComponent(__VLS_43, new __VLS_43({
|
|
262
|
+
modelValue: (__VLS_ctx.currentLayer.zIndex),
|
|
263
|
+
modelModifiers: { number: true, },
|
|
264
|
+
step: (1),
|
|
265
|
+
precision: (0),
|
|
266
|
+
min: (0),
|
|
267
|
+
max: (99),
|
|
268
|
+
size: "default",
|
|
269
|
+
...{ style: "width: 100%" },
|
|
270
|
+
}));
|
|
271
|
+
const __VLS_45 = __VLS_44({
|
|
272
|
+
modelValue: (__VLS_ctx.currentLayer.zIndex),
|
|
273
|
+
modelModifiers: { number: true, },
|
|
274
|
+
step: (1),
|
|
275
|
+
precision: (0),
|
|
276
|
+
min: (0),
|
|
277
|
+
max: (99),
|
|
278
|
+
size: "default",
|
|
279
|
+
...{ style: "width: 100%" },
|
|
280
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_44));
|
|
281
|
+
// @ts-ignore
|
|
282
|
+
[currentLayer,];
|
|
283
|
+
__VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
|
|
284
|
+
...{ class: "keyVal" },
|
|
285
|
+
});
|
|
286
|
+
__VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
|
|
287
|
+
...{ class: "key" },
|
|
288
|
+
});
|
|
289
|
+
__VLS_asFunctionalElement(__VLS_intrinsics.span, __VLS_intrinsics.span)({
|
|
290
|
+
...{ class: "unit" },
|
|
291
|
+
});
|
|
292
|
+
__VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
|
|
293
|
+
...{ class: "val" },
|
|
294
|
+
});
|
|
295
|
+
const __VLS_49 = {}.ElInputNumber;
|
|
296
|
+
/** @type {[typeof __VLS_components.ElInputNumber, typeof __VLS_components.elInputNumber, ]} */ ;
|
|
297
|
+
// @ts-ignore
|
|
298
|
+
ElInputNumber;
|
|
299
|
+
// @ts-ignore
|
|
300
|
+
const __VLS_50 = __VLS_asFunctionalComponent(__VLS_49, new __VLS_49({
|
|
301
|
+
modelValue: (__VLS_ctx.currentLayer.scale),
|
|
302
|
+
modelModifiers: { number: true, },
|
|
303
|
+
step: (0.01),
|
|
304
|
+
precision: (2),
|
|
305
|
+
min: (0.1),
|
|
306
|
+
max: (10),
|
|
307
|
+
size: "default",
|
|
308
|
+
...{ style: "width: 100%" },
|
|
309
|
+
}));
|
|
310
|
+
const __VLS_51 = __VLS_50({
|
|
311
|
+
modelValue: (__VLS_ctx.currentLayer.scale),
|
|
312
|
+
modelModifiers: { number: true, },
|
|
313
|
+
step: (0.01),
|
|
314
|
+
precision: (2),
|
|
315
|
+
min: (0.1),
|
|
316
|
+
max: (10),
|
|
317
|
+
size: "default",
|
|
318
|
+
...{ style: "width: 100%" },
|
|
319
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_50));
|
|
320
|
+
// @ts-ignore
|
|
321
|
+
[currentLayer,];
|
|
322
|
+
__VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
|
|
323
|
+
...{ class: "keyVal" },
|
|
324
|
+
});
|
|
325
|
+
__VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
|
|
326
|
+
...{ class: "key" },
|
|
327
|
+
});
|
|
328
|
+
__VLS_asFunctionalElement(__VLS_intrinsics.span, __VLS_intrinsics.span)({
|
|
329
|
+
...{ class: "unit" },
|
|
330
|
+
});
|
|
331
|
+
__VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
|
|
332
|
+
...{ class: "val" },
|
|
333
|
+
});
|
|
334
|
+
const __VLS_55 = {}.ElInputNumber;
|
|
335
|
+
/** @type {[typeof __VLS_components.ElInputNumber, typeof __VLS_components.elInputNumber, ]} */ ;
|
|
336
|
+
// @ts-ignore
|
|
337
|
+
ElInputNumber;
|
|
338
|
+
// @ts-ignore
|
|
339
|
+
const __VLS_56 = __VLS_asFunctionalComponent(__VLS_55, new __VLS_55({
|
|
340
|
+
modelValue: (__VLS_ctx.currentLayer.width),
|
|
341
|
+
modelModifiers: { number: true, },
|
|
342
|
+
step: (0.1),
|
|
343
|
+
precision: (1),
|
|
344
|
+
min: (0),
|
|
345
|
+
max: (10000),
|
|
346
|
+
size: "default",
|
|
347
|
+
...{ style: "width: 100%" },
|
|
348
|
+
disabled: (true),
|
|
349
|
+
}));
|
|
350
|
+
const __VLS_57 = __VLS_56({
|
|
351
|
+
modelValue: (__VLS_ctx.currentLayer.width),
|
|
352
|
+
modelModifiers: { number: true, },
|
|
353
|
+
step: (0.1),
|
|
354
|
+
precision: (1),
|
|
355
|
+
min: (0),
|
|
356
|
+
max: (10000),
|
|
357
|
+
size: "default",
|
|
358
|
+
...{ style: "width: 100%" },
|
|
359
|
+
disabled: (true),
|
|
360
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_56));
|
|
361
|
+
// @ts-ignore
|
|
362
|
+
[currentLayer,];
|
|
363
|
+
__VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
|
|
364
|
+
...{ class: "keyVal" },
|
|
365
|
+
});
|
|
366
|
+
__VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
|
|
367
|
+
...{ class: "key" },
|
|
368
|
+
});
|
|
369
|
+
__VLS_asFunctionalElement(__VLS_intrinsics.span, __VLS_intrinsics.span)({
|
|
370
|
+
...{ class: "unit" },
|
|
371
|
+
});
|
|
372
|
+
__VLS_asFunctionalElement(__VLS_intrinsics.div, __VLS_intrinsics.div)({
|
|
373
|
+
...{ class: "val" },
|
|
374
|
+
});
|
|
375
|
+
const __VLS_61 = {}.ElInputNumber;
|
|
376
|
+
/** @type {[typeof __VLS_components.ElInputNumber, typeof __VLS_components.elInputNumber, ]} */ ;
|
|
377
|
+
// @ts-ignore
|
|
378
|
+
ElInputNumber;
|
|
379
|
+
// @ts-ignore
|
|
380
|
+
const __VLS_62 = __VLS_asFunctionalComponent(__VLS_61, new __VLS_61({
|
|
381
|
+
modelValue: (__VLS_ctx.currentLayer.height),
|
|
382
|
+
modelModifiers: { number: true, },
|
|
383
|
+
step: (0.1),
|
|
384
|
+
precision: (1),
|
|
385
|
+
min: (0),
|
|
386
|
+
max: (10000),
|
|
387
|
+
size: "default",
|
|
388
|
+
...{ style: "width: 100%" },
|
|
389
|
+
disabled: (true),
|
|
390
|
+
}));
|
|
391
|
+
const __VLS_63 = __VLS_62({
|
|
392
|
+
modelValue: (__VLS_ctx.currentLayer.height),
|
|
393
|
+
modelModifiers: { number: true, },
|
|
394
|
+
step: (0.1),
|
|
395
|
+
precision: (1),
|
|
396
|
+
min: (0),
|
|
397
|
+
max: (10000),
|
|
398
|
+
size: "default",
|
|
399
|
+
...{ style: "width: 100%" },
|
|
400
|
+
disabled: (true),
|
|
401
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_62));
|
|
402
|
+
// @ts-ignore
|
|
403
|
+
[currentLayer,];
|
|
404
|
+
}
|
|
405
|
+
/** @type {__VLS_StyleScopedClasses['form_group']} */ ;
|
|
406
|
+
/** @type {__VLS_StyleScopedClasses['form_group_title']} */ ;
|
|
407
|
+
/** @type {__VLS_StyleScopedClasses['el_icon']} */ ;
|
|
408
|
+
/** @type {__VLS_StyleScopedClasses['keyVal']} */ ;
|
|
409
|
+
/** @type {__VLS_StyleScopedClasses['key']} */ ;
|
|
410
|
+
/** @type {__VLS_StyleScopedClasses['unit']} */ ;
|
|
411
|
+
/** @type {__VLS_StyleScopedClasses['val']} */ ;
|
|
412
|
+
/** @type {__VLS_StyleScopedClasses['keyVal']} */ ;
|
|
413
|
+
/** @type {__VLS_StyleScopedClasses['key']} */ ;
|
|
414
|
+
/** @type {__VLS_StyleScopedClasses['unit']} */ ;
|
|
415
|
+
/** @type {__VLS_StyleScopedClasses['val']} */ ;
|
|
416
|
+
/** @type {__VLS_StyleScopedClasses['keyVal']} */ ;
|
|
417
|
+
/** @type {__VLS_StyleScopedClasses['key']} */ ;
|
|
418
|
+
/** @type {__VLS_StyleScopedClasses['unit']} */ ;
|
|
419
|
+
/** @type {__VLS_StyleScopedClasses['val']} */ ;
|
|
420
|
+
/** @type {__VLS_StyleScopedClasses['keyVal']} */ ;
|
|
421
|
+
/** @type {__VLS_StyleScopedClasses['key']} */ ;
|
|
422
|
+
/** @type {__VLS_StyleScopedClasses['unit']} */ ;
|
|
423
|
+
/** @type {__VLS_StyleScopedClasses['val']} */ ;
|
|
424
|
+
/** @type {__VLS_StyleScopedClasses['keyVal']} */ ;
|
|
425
|
+
/** @type {__VLS_StyleScopedClasses['key']} */ ;
|
|
426
|
+
/** @type {__VLS_StyleScopedClasses['val']} */ ;
|
|
427
|
+
/** @type {__VLS_StyleScopedClasses['keyVal']} */ ;
|
|
428
|
+
/** @type {__VLS_StyleScopedClasses['key']} */ ;
|
|
429
|
+
/** @type {__VLS_StyleScopedClasses['unit']} */ ;
|
|
430
|
+
/** @type {__VLS_StyleScopedClasses['val']} */ ;
|
|
431
|
+
/** @type {__VLS_StyleScopedClasses['keyVal']} */ ;
|
|
432
|
+
/** @type {__VLS_StyleScopedClasses['key']} */ ;
|
|
433
|
+
/** @type {__VLS_StyleScopedClasses['unit']} */ ;
|
|
434
|
+
/** @type {__VLS_StyleScopedClasses['val']} */ ;
|
|
435
|
+
/** @type {__VLS_StyleScopedClasses['keyVal']} */ ;
|
|
436
|
+
/** @type {__VLS_StyleScopedClasses['key']} */ ;
|
|
437
|
+
/** @type {__VLS_StyleScopedClasses['unit']} */ ;
|
|
438
|
+
/** @type {__VLS_StyleScopedClasses['val']} */ ;
|
|
439
|
+
const __VLS_export = (await import('vue')).defineComponent({});
|
|
440
|
+
export default {};
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
declare const
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
2
3
|
export default _default;
|