fl-web-component 2.0.0-beta.8 → 2.0.0
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/fl-web-component.common.js +34645 -1611
- package/dist/fl-web-component.common.js.map +1 -1
- package/dist/fl-web-component.css +1 -1
- package/package.json +4 -15
- package/packages/components/com-card/index.vue +1 -1
- package/packages/components/com-flcanvas/components/bspline.js +31 -34
- package/packages/components/com-flcanvas/components/entityFormatting.js +810 -849
- package/packages/components/com-flcanvas/components/round10.js +17 -17
- package/packages/components/com-flcanvas/index.vue +314 -333
- package/packages/components/com-formDialog/index.vue +6 -4
- package/packages/components/com-graphics/component/ann-tool.vue +263 -208
- package/packages/components/com-graphics/index.vue +366 -773
- package/packages/components/com-graphics/pid.vue +304 -295
- package/packages/components/com-table/column-default.vue +2 -3
- package/packages/components/com-table/column-dynamic.vue +7 -4
- package/packages/components/com-table/column.vue +1 -2
- package/packages/components/com-table/index.vue +6 -5
- package/packages/components/com-tabs/index.vue +1 -2
- package/packages/components/com-tiles/index.vue +134 -136
- package/packages/components/com-treeDynamic/index.vue +1 -1
- package/packages/utils/StreamLoader.js +1548 -1489
- package/packages/utils/StreamLoaderParser.worker.js +9 -14
- package/src/main.js +2 -8
- package/src/utils/cloud.js +28 -28
- package/src/utils/cursor.js +11 -9
- package/src/utils/flgltf-parser.js +257 -245
- package/src/utils/instance-parser.js +20 -22
- package/src/utils/mini-devtool.js +94 -39
- package/src/utils/threejs/measure-angle.js +51 -13
- package/src/utils/threejs/measure-area.js +43 -12
- package/src/utils/threejs/measure-distance.js +43 -12
- package/src/utils/threejs/rain-shader.js +10 -10
- package/src/utils/threejs/snow-shader.js +9 -9
|
@@ -139,8 +139,9 @@
|
|
|
139
139
|
v-for="(optionItem, optionIndex) in item.optionArr"
|
|
140
140
|
:key="optionItem.optionValue + optionIndex"
|
|
141
141
|
:label="optionItem"
|
|
142
|
-
>{{ optionItem.optionLabel }}</el-radio
|
|
143
142
|
>
|
|
143
|
+
{{ optionItem.optionLabel }}
|
|
144
|
+
</el-radio>
|
|
144
145
|
</el-radio-group>
|
|
145
146
|
|
|
146
147
|
<!-- 9. 多选框 MultipleCheckbox -->
|
|
@@ -154,8 +155,9 @@
|
|
|
154
155
|
v-for="(optionItem, optionIndex) in item.optionArr"
|
|
155
156
|
:key="optionItem.optionValue + optionIndex"
|
|
156
157
|
:label="optionItem"
|
|
157
|
-
>{{ optionItem.optionLabel }}</el-checkbox
|
|
158
158
|
>
|
|
159
|
+
{{ optionItem.optionLabel }}
|
|
160
|
+
</el-checkbox>
|
|
159
161
|
</el-checkbox-group>
|
|
160
162
|
|
|
161
163
|
<!-- 10. 输入框 InputString InputInteger InputDecimals -->
|
|
@@ -350,7 +352,7 @@ export default {
|
|
|
350
352
|
handleSelectorSingle(e, prop, index) {
|
|
351
353
|
this.formInline[prop] = {};
|
|
352
354
|
const arr = this.formItemConfigArr[index].optionArr;
|
|
353
|
-
const objIndex = arr.find(
|
|
355
|
+
const objIndex = arr.find(item => {
|
|
354
356
|
if (item.optionValue === e) return item;
|
|
355
357
|
});
|
|
356
358
|
this.handleInputValue(objIndex, prop);
|
|
@@ -360,7 +362,7 @@ export default {
|
|
|
360
362
|
this.formInline[prop] = [];
|
|
361
363
|
const nodesObj = this.$refs['formCascader'][0].getCheckedNodes();
|
|
362
364
|
const selectorMultipleSelectionArr = [];
|
|
363
|
-
nodesObj.forEach(
|
|
365
|
+
nodesObj.forEach(item => {
|
|
364
366
|
selectorMultipleSelectionArr.push(item.data);
|
|
365
367
|
});
|
|
366
368
|
this.handleInputValue(selectorMultipleSelectionArr, prop);
|