@abi-software/scaffoldvuer 0.2.3-alpha-2 → 0.3.1
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/.eslintrc.js +12 -12
- package/CHANGELOG.md +344 -316
- package/LICENSE +201 -201
- package/README.md +164 -164
- package/babel.config.js +14 -14
- package/dist/scaffoldvuer-wc.common.js +277 -34
- package/dist/scaffoldvuer-wc.umd.js +277 -34
- package/dist/scaffoldvuer-wc.umd.min.js +277 -34
- package/dist/scaffoldvuer.common.js +1252 -529
- package/dist/scaffoldvuer.common.js.map +1 -1
- package/dist/scaffoldvuer.css +1 -1
- package/dist/scaffoldvuer.umd.js +1252 -529
- package/dist/scaffoldvuer.umd.js.map +1 -1
- package/dist/scaffoldvuer.umd.min.js +1 -1
- package/dist/scaffoldvuer.umd.min.js.map +1 -1
- package/package-lock.json +18121 -18119
- package/package.json +89 -89
- package/public/index.html +17 -17
- package/src/App.vue +669 -669
- package/src/ScaffoldVuer-wc.js +13 -13
- package/src/app/DropZone.vue +114 -114
- package/src/app/ModelsInformation.js +35 -35
- package/src/app/ModelsTable.vue +113 -113
- package/src/app/TextureDemos.js +114 -114
- package/src/assets/_variables.scss +43 -43
- package/src/assets/styles.scss +7 -7
- package/src/components/OpacityControls.vue +123 -222
- package/src/components/PrimitiveControls.vue +173 -0
- package/src/components/ScaffoldTooltip.vue +142 -142
- package/src/components/ScaffoldVuer.md +44 -44
- package/src/components/ScaffoldVuer.vue +2007 -2007
- package/src/components/TextureSlidesControls.vue +272 -0
- package/src/components/TreeControls.vue +707 -699
- package/src/components/index.js +7 -7
- package/src/credential.json +12 -0
- package/src/main.js +14 -14
- package/src/scripts/BaseModule.js +80 -80
- package/src/scripts/RendererModule.js +289 -289
- package/src/scripts/WebGL.js +94 -94
- package/src/scripts/annotation.js +5 -5
- package/src/scripts/eventNotifier.js +66 -66
- package/src/scripts/graphicsHighlight.js +134 -134
- package/src/scripts/organsRenderer.js +587 -587
- package/src/scripts/search.js +182 -182
- package/src/scripts/utilities.js +146 -146
- package/styleguide.config.js +22 -22
- package/vue.config.js +41 -41
- package/src/components/test.pdf +0 -0
- package/src/searchControls.vue +0 -122
package/dist/scaffoldvuer.umd.js
CHANGED
|
@@ -771,13 +771,6 @@ module.exports = __webpack_require__("e62d");
|
|
|
771
771
|
|
|
772
772
|
/***/ }),
|
|
773
773
|
|
|
774
|
-
/***/ "1613":
|
|
775
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
776
|
-
|
|
777
|
-
// extracted by mini-css-extract-plugin
|
|
778
|
-
|
|
779
|
-
/***/ }),
|
|
780
|
-
|
|
781
774
|
/***/ "1951":
|
|
782
775
|
/***/ (function(module, exports, __webpack_require__) {
|
|
783
776
|
|
|
@@ -806,6 +799,13 @@ module.exports = require("core-js/modules/es.string.search.js");
|
|
|
806
799
|
|
|
807
800
|
/***/ }),
|
|
808
801
|
|
|
802
|
+
/***/ "1e66":
|
|
803
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
804
|
+
|
|
805
|
+
// extracted by mini-css-extract-plugin
|
|
806
|
+
|
|
807
|
+
/***/ }),
|
|
808
|
+
|
|
809
809
|
/***/ "1f1a":
|
|
810
810
|
/***/ (function(module, exports, __webpack_require__) {
|
|
811
811
|
|
|
@@ -2025,6 +2025,17 @@ main.install = function (Vue) {
|
|
|
2025
2025
|
|
|
2026
2026
|
/******/ });
|
|
2027
2027
|
|
|
2028
|
+
/***/ }),
|
|
2029
|
+
|
|
2030
|
+
/***/ "2142":
|
|
2031
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2032
|
+
|
|
2033
|
+
"use strict";
|
|
2034
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ScaffoldVuer_vue_vue_type_style_index_1_id_21f54394_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("3eb4");
|
|
2035
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ScaffoldVuer_vue_vue_type_style_index_1_id_21f54394_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ScaffoldVuer_vue_vue_type_style_index_1_id_21f54394_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
2036
|
+
/* unused harmony reexport * */
|
|
2037
|
+
|
|
2038
|
+
|
|
2028
2039
|
/***/ }),
|
|
2029
2040
|
|
|
2030
2041
|
/***/ "2236":
|
|
@@ -2475,13 +2486,6 @@ module.exports = __webpack_require__("8bbf");
|
|
|
2475
2486
|
|
|
2476
2487
|
/***/ }),
|
|
2477
2488
|
|
|
2478
|
-
/***/ "2a5b":
|
|
2479
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2480
|
-
|
|
2481
|
-
// extracted by mini-css-extract-plugin
|
|
2482
|
-
|
|
2483
|
-
/***/ }),
|
|
2484
|
-
|
|
2485
2489
|
/***/ "2a5e":
|
|
2486
2490
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2487
2491
|
|
|
@@ -2903,6 +2907,13 @@ main.install = function (Vue) {
|
|
|
2903
2907
|
|
|
2904
2908
|
/***/ }),
|
|
2905
2909
|
|
|
2910
|
+
/***/ "3eb4":
|
|
2911
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2912
|
+
|
|
2913
|
+
// extracted by mini-css-extract-plugin
|
|
2914
|
+
|
|
2915
|
+
/***/ }),
|
|
2916
|
+
|
|
2906
2917
|
/***/ "4010":
|
|
2907
2918
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2908
2919
|
|
|
@@ -2969,13 +2980,6 @@ var removeResizeListener = exports.removeResizeListener = function removeResizeL
|
|
|
2969
2980
|
|
|
2970
2981
|
/***/ }),
|
|
2971
2982
|
|
|
2972
|
-
/***/ "4136":
|
|
2973
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2974
|
-
|
|
2975
|
-
// extracted by mini-css-extract-plugin
|
|
2976
|
-
|
|
2977
|
-
/***/ }),
|
|
2978
|
-
|
|
2979
2983
|
/***/ "417f":
|
|
2980
2984
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2981
2985
|
|
|
@@ -3102,6 +3106,17 @@ module.exports = _toConsumableArray, module.exports.__esModule = true, module.ex
|
|
|
3102
3106
|
|
|
3103
3107
|
// extracted by mini-css-extract-plugin
|
|
3104
3108
|
|
|
3109
|
+
/***/ }),
|
|
3110
|
+
|
|
3111
|
+
/***/ "471f":
|
|
3112
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3113
|
+
|
|
3114
|
+
"use strict";
|
|
3115
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_OpacityControls_vue_vue_type_style_index_0_id_23ba5f32_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("1e66");
|
|
3116
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_OpacityControls_vue_vue_type_style_index_0_id_23ba5f32_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_OpacityControls_vue_vue_type_style_index_0_id_23ba5f32_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
3117
|
+
/* unused harmony reexport * */
|
|
3118
|
+
|
|
3119
|
+
|
|
3105
3120
|
/***/ }),
|
|
3106
3121
|
|
|
3107
3122
|
/***/ "4897":
|
|
@@ -3181,6 +3196,20 @@ module.exports = require("core-js/modules/es.symbol.description.js");
|
|
|
3181
3196
|
|
|
3182
3197
|
/***/ }),
|
|
3183
3198
|
|
|
3199
|
+
/***/ "49a1":
|
|
3200
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
3201
|
+
|
|
3202
|
+
// extracted by mini-css-extract-plugin
|
|
3203
|
+
|
|
3204
|
+
/***/ }),
|
|
3205
|
+
|
|
3206
|
+
/***/ "4a73":
|
|
3207
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
3208
|
+
|
|
3209
|
+
// extracted by mini-css-extract-plugin
|
|
3210
|
+
|
|
3211
|
+
/***/ }),
|
|
3212
|
+
|
|
3184
3213
|
/***/ "4b26":
|
|
3185
3214
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3186
3215
|
|
|
@@ -5597,17 +5626,6 @@ src_select.install = function (Vue) {
|
|
|
5597
5626
|
|
|
5598
5627
|
/******/ });
|
|
5599
5628
|
|
|
5600
|
-
/***/ }),
|
|
5601
|
-
|
|
5602
|
-
/***/ "4efe":
|
|
5603
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
5604
|
-
|
|
5605
|
-
"use strict";
|
|
5606
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_TreeControls_vue_vue_type_style_index_0_id_29a4f879_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("e57c");
|
|
5607
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_TreeControls_vue_vue_type_style_index_0_id_29a4f879_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_TreeControls_vue_vue_type_style_index_0_id_29a4f879_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
5608
|
-
/* unused harmony reexport * */
|
|
5609
|
-
|
|
5610
|
-
|
|
5611
5629
|
/***/ }),
|
|
5612
5630
|
|
|
5613
5631
|
/***/ "5128":
|
|
@@ -5872,19 +5890,19 @@ var OrgansSceneData = function OrgansSceneData() {
|
|
|
5872
5890
|
this.timeVarying = false;
|
|
5873
5891
|
};
|
|
5874
5892
|
|
|
5875
|
-
/**
|
|
5876
|
-
* Viewer of 3D-organs models. Users can toggle on/off different views. Data is
|
|
5877
|
-
* displayed instead if models are not available.
|
|
5878
|
-
*
|
|
5879
|
-
* @class
|
|
5880
|
-
* @param {PJP.ModelsLoader}
|
|
5881
|
-
* ModelsLoaderIn - defined in modelsLoade.js, providing locations of
|
|
5882
|
-
* files.
|
|
5883
|
-
* @param {String}
|
|
5884
|
-
* PanelName - Id of the target element to create the
|
|
5885
|
-
* {@link PJP.OrgansViewer} on.
|
|
5886
|
-
* @author Alan Wu
|
|
5887
|
-
* @returns {PJP.OrgansViewer}
|
|
5893
|
+
/**
|
|
5894
|
+
* Viewer of 3D-organs models. Users can toggle on/off different views. Data is
|
|
5895
|
+
* displayed instead if models are not available.
|
|
5896
|
+
*
|
|
5897
|
+
* @class
|
|
5898
|
+
* @param {PJP.ModelsLoader}
|
|
5899
|
+
* ModelsLoaderIn - defined in modelsLoade.js, providing locations of
|
|
5900
|
+
* files.
|
|
5901
|
+
* @param {String}
|
|
5902
|
+
* PanelName - Id of the target element to create the
|
|
5903
|
+
* {@link PJP.OrgansViewer} on.
|
|
5904
|
+
* @author Alan Wu
|
|
5905
|
+
* @returns {PJP.OrgansViewer}
|
|
5888
5906
|
*/
|
|
5889
5907
|
var OrgansViewer = function OrgansViewer(ModelsLoaderIn) {
|
|
5890
5908
|
var _this2 = this;
|
|
@@ -5903,8 +5921,8 @@ var OrgansViewer = function OrgansViewer(ModelsLoaderIn) {
|
|
|
5903
5921
|
return _this.sceneData;
|
|
5904
5922
|
};
|
|
5905
5923
|
|
|
5906
|
-
/**
|
|
5907
|
-
* Used to update internal timer in scene when time slider has changed.
|
|
5924
|
+
/**
|
|
5925
|
+
* Used to update internal timer in scene when time slider has changed.
|
|
5908
5926
|
*/
|
|
5909
5927
|
this.updateTime = function (value) {
|
|
5910
5928
|
var duration = 6000;
|
|
@@ -5917,8 +5935,8 @@ var OrgansViewer = function OrgansViewer(ModelsLoaderIn) {
|
|
|
5917
5935
|
_this.sceneData.currentTime = value;
|
|
5918
5936
|
};
|
|
5919
5937
|
|
|
5920
|
-
/**
|
|
5921
|
-
* Update the time slider and other renderers/scenes when time has changed.
|
|
5938
|
+
/**
|
|
5939
|
+
* Update the time slider and other renderers/scenes when time has changed.
|
|
5922
5940
|
*/
|
|
5923
5941
|
var preRenderTimeUpdate = function preRenderTimeUpdate() {
|
|
5924
5942
|
var duration = 3000;
|
|
@@ -5985,8 +6003,8 @@ var OrgansViewer = function OrgansViewer(ModelsLoaderIn) {
|
|
|
5985
6003
|
};
|
|
5986
6004
|
};
|
|
5987
6005
|
|
|
5988
|
-
/**
|
|
5989
|
-
* Add a callback which will be called when time has changed
|
|
6006
|
+
/**
|
|
6007
|
+
* Add a callback which will be called when time has changed
|
|
5990
6008
|
*/
|
|
5991
6009
|
this.addTimeChangedCallback = function (callback) {
|
|
5992
6010
|
if (_typeof(callback === "function")) timeChangedCallbacks.push(callback);
|
|
@@ -6049,12 +6067,12 @@ var OrgansViewer = function OrgansViewer(ModelsLoaderIn) {
|
|
|
6049
6067
|
};
|
|
6050
6068
|
};
|
|
6051
6069
|
|
|
6052
|
-
/**
|
|
6053
|
-
* Callback function when a pickable object has been picked. It will then
|
|
6054
|
-
* call functions in tissueViewer and cellPanel to show corresponding
|
|
6055
|
-
* informations.
|
|
6056
|
-
*
|
|
6057
|
-
* @callback
|
|
6070
|
+
/**
|
|
6071
|
+
* Callback function when a pickable object has been picked. It will then
|
|
6072
|
+
* call functions in tissueViewer and cellPanel to show corresponding
|
|
6073
|
+
* informations.
|
|
6074
|
+
*
|
|
6075
|
+
* @callback
|
|
6058
6076
|
*/
|
|
6059
6077
|
var _pickingCallback = function _pickingCallback() {
|
|
6060
6078
|
return function (intersects, window_x, window_y) {
|
|
@@ -6077,10 +6095,10 @@ var OrgansViewer = function OrgansViewer(ModelsLoaderIn) {
|
|
|
6077
6095
|
};
|
|
6078
6096
|
};
|
|
6079
6097
|
|
|
6080
|
-
/**
|
|
6081
|
-
* Callback function when a pickable object has been hovered over.
|
|
6082
|
-
*
|
|
6083
|
-
* @callback
|
|
6098
|
+
/**
|
|
6099
|
+
* Callback function when a pickable object has been hovered over.
|
|
6100
|
+
*
|
|
6101
|
+
* @callback
|
|
6084
6102
|
*/
|
|
6085
6103
|
var _hoverCallback = function _hoverCallback() {
|
|
6086
6104
|
return function (intersects, window_x, window_y) {
|
|
@@ -6127,40 +6145,40 @@ var OrgansViewer = function OrgansViewer(ModelsLoaderIn) {
|
|
|
6127
6145
|
}
|
|
6128
6146
|
};
|
|
6129
6147
|
|
|
6130
|
-
/**
|
|
6131
|
-
* Change visibility for parts of the current scene.
|
|
6148
|
+
/**
|
|
6149
|
+
* Change visibility for parts of the current scene.
|
|
6132
6150
|
*/
|
|
6133
6151
|
this.changeGeometriesVisibility = function (name, value) {
|
|
6134
6152
|
changeOrganPartsVisibilityForScene(_this.scene, name, value, 'geometries');
|
|
6135
6153
|
if (pickerScene) changeOrganPartsVisibilityForScene(pickerScene, name, value, 'geometries');
|
|
6136
6154
|
};
|
|
6137
6155
|
|
|
6138
|
-
/**
|
|
6139
|
-
* Change visibility for parts of the current scene.
|
|
6156
|
+
/**
|
|
6157
|
+
* Change visibility for parts of the current scene.
|
|
6140
6158
|
*/
|
|
6141
6159
|
this.changeGlyphsetsVisibility = function (name, value) {
|
|
6142
6160
|
changeOrganPartsVisibilityForScene(_this.scene, name, value, 'glyphsets');
|
|
6143
6161
|
if (pickerScene) changeOrganPartsVisibilityForScene(pickerScene, name, value, 'glyphsets');
|
|
6144
6162
|
};
|
|
6145
6163
|
|
|
6146
|
-
/**
|
|
6147
|
-
* Change visibility for parts of the current scene.
|
|
6164
|
+
/**
|
|
6165
|
+
* Change visibility for parts of the current scene.
|
|
6148
6166
|
*/
|
|
6149
6167
|
this.changeLinesVisibility = function (name, value) {
|
|
6150
6168
|
changeOrganPartsVisibilityForScene(_this.scene, name, value, 'lines');
|
|
6151
6169
|
if (pickerScene) changeOrganPartsVisibilityForScene(pickerScene, name, value, 'lines');
|
|
6152
6170
|
};
|
|
6153
6171
|
|
|
6154
|
-
/**
|
|
6155
|
-
* Change visibility for parts of the current scene.
|
|
6172
|
+
/**
|
|
6173
|
+
* Change visibility for parts of the current scene.
|
|
6156
6174
|
*/
|
|
6157
6175
|
this.changePointsetsVisibility = function (name, value) {
|
|
6158
6176
|
changeOrganPartsVisibilityForScene(_this.scene, name, value, 'pointsets');
|
|
6159
6177
|
if (pickerScene) changeOrganPartsVisibilityForScene(pickerScene, name, value, 'pointsets');
|
|
6160
6178
|
};
|
|
6161
6179
|
|
|
6162
|
-
/**
|
|
6163
|
-
* Change visibility for parts of the current scene.
|
|
6180
|
+
/**
|
|
6181
|
+
* Change visibility for parts of the current scene.
|
|
6164
6182
|
*/
|
|
6165
6183
|
this.changeOrganPartsVisibility = function (name, value, typeIn) {
|
|
6166
6184
|
var type = "all";
|
|
@@ -6199,9 +6217,9 @@ var OrgansViewer = function OrgansViewer(ModelsLoaderIn) {
|
|
|
6199
6217
|
zincObject.userData["annotation"] = annotation;
|
|
6200
6218
|
};
|
|
6201
6219
|
|
|
6202
|
-
/**
|
|
6203
|
-
* New organs geometry has been added to the scene, add UIs and make
|
|
6204
|
-
* sure the viewport is correct.
|
|
6220
|
+
/**
|
|
6221
|
+
* New organs geometry has been added to the scene, add UIs and make
|
|
6222
|
+
* sure the viewport is correct.
|
|
6205
6223
|
*/
|
|
6206
6224
|
var _addOrganPartCallback = function _addOrganPartCallback(systemName, partName, useDefautColour) {
|
|
6207
6225
|
return function (zincObject) {
|
|
@@ -6222,9 +6240,9 @@ var OrgansViewer = function OrgansViewer(ModelsLoaderIn) {
|
|
|
6222
6240
|
};
|
|
6223
6241
|
};
|
|
6224
6242
|
|
|
6225
|
-
/**
|
|
6226
|
-
* Toggle data field displays. Data fields displays flow/pressure and <button @click="play">Play</button>
|
|
6227
|
-
* other activities of the organs.
|
|
6243
|
+
/**
|
|
6244
|
+
* Toggle data field displays. Data fields displays flow/pressure and <button @click="play">Play</button>
|
|
6245
|
+
* other activities of the organs.
|
|
6228
6246
|
*/
|
|
6229
6247
|
this.updateFieldvisibility = function (dataFields, value) {
|
|
6230
6248
|
for (var i = 0; i < dataFields.length; i++) {
|
|
@@ -6246,11 +6264,11 @@ var OrgansViewer = function OrgansViewer(ModelsLoaderIn) {
|
|
|
6246
6264
|
}
|
|
6247
6265
|
};
|
|
6248
6266
|
|
|
6249
|
-
/**
|
|
6250
|
-
* Return an array containing name(s) of species that also contains the
|
|
6251
|
-
* currently displayed organs.
|
|
6252
|
-
*
|
|
6253
|
-
* @returns {Array} containing species name
|
|
6267
|
+
/**
|
|
6268
|
+
* Return an array containing name(s) of species that also contains the
|
|
6269
|
+
* currently displayed organs.
|
|
6270
|
+
*
|
|
6271
|
+
* @returns {Array} containing species name
|
|
6254
6272
|
*/
|
|
6255
6273
|
this.getAvailableSpecies = function (currentSpecies, currentSystem, currentPart) {
|
|
6256
6274
|
var availableSpecies = new Array();
|
|
@@ -6372,11 +6390,11 @@ var OrgansViewer = function OrgansViewer(ModelsLoaderIn) {
|
|
|
6372
6390
|
return false;
|
|
6373
6391
|
};
|
|
6374
6392
|
|
|
6375
|
-
/**
|
|
6376
|
-
* initialise loading of the html layout for the organs panel, this is
|
|
6377
|
-
* called when the {@link PJP.OrgansViewer} is created.
|
|
6378
|
-
*
|
|
6379
|
-
* @async
|
|
6393
|
+
/**
|
|
6394
|
+
* initialise loading of the html layout for the organs panel, this is
|
|
6395
|
+
* called when the {@link PJP.OrgansViewer} is created.
|
|
6396
|
+
*
|
|
6397
|
+
* @async
|
|
6380
6398
|
*/
|
|
6381
6399
|
var initialise = function initialise() {
|
|
6382
6400
|
_this.initialiseRenderer(undefined);
|
|
@@ -6771,11 +6789,11 @@ var _toConsumableArray = __webpack_require__("448a").default;
|
|
|
6771
6789
|
__webpack_require__("2439");
|
|
6772
6790
|
var THREE = __webpack_require__("9206").THREE;
|
|
6773
6791
|
|
|
6774
|
-
/**
|
|
6775
|
-
* This module manages highlighted and selected objects in 3D modules.
|
|
6776
|
-
*
|
|
6777
|
-
* @class
|
|
6778
|
-
* @returns {exports.GraphicsHighlight}
|
|
6792
|
+
/**
|
|
6793
|
+
* This module manages highlighted and selected objects in 3D modules.
|
|
6794
|
+
*
|
|
6795
|
+
* @class
|
|
6796
|
+
* @returns {exports.GraphicsHighlight}
|
|
6779
6797
|
*/
|
|
6780
6798
|
exports.GraphicsHighlight = function () {
|
|
6781
6799
|
var currentHighlightedObjects = [];
|
|
@@ -8158,17 +8176,6 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
|
|
|
8158
8176
|
|
|
8159
8177
|
module.exports = require("core-js/modules/es.string.replace.js");
|
|
8160
8178
|
|
|
8161
|
-
/***/ }),
|
|
8162
|
-
|
|
8163
|
-
/***/ "6514":
|
|
8164
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
8165
|
-
|
|
8166
|
-
"use strict";
|
|
8167
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ScaffoldVuer_vue_vue_type_style_index_1_id_718c348c_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("4136");
|
|
8168
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ScaffoldVuer_vue_vue_type_style_index_1_id_718c348c_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ScaffoldVuer_vue_vue_type_style_index_1_id_718c348c_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
8169
|
-
/* unused harmony reexport * */
|
|
8170
|
-
|
|
8171
|
-
|
|
8172
8179
|
/***/ }),
|
|
8173
8180
|
|
|
8174
8181
|
/***/ "6611":
|
|
@@ -11245,6 +11252,13 @@ module.exports = require("core-js/modules/web.url-search-params.js");
|
|
|
11245
11252
|
|
|
11246
11253
|
/***/ }),
|
|
11247
11254
|
|
|
11255
|
+
/***/ "718a":
|
|
11256
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
11257
|
+
|
|
11258
|
+
// extracted by mini-css-extract-plugin
|
|
11259
|
+
|
|
11260
|
+
/***/ }),
|
|
11261
|
+
|
|
11248
11262
|
/***/ "72aa":
|
|
11249
11263
|
/***/ (function(module, exports, __webpack_require__) {
|
|
11250
11264
|
|
|
@@ -14151,17 +14165,6 @@ module.exports = __webpack_require__("8bbf");
|
|
|
14151
14165
|
|
|
14152
14166
|
module.exports = require("core-js/modules/es.object.get-own-property-descriptors.js");
|
|
14153
14167
|
|
|
14154
|
-
/***/ }),
|
|
14155
|
-
|
|
14156
|
-
/***/ "79d6":
|
|
14157
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
14158
|
-
|
|
14159
|
-
"use strict";
|
|
14160
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_TreeControls_vue_vue_type_style_index_1_id_29a4f879_prod_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("1613");
|
|
14161
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_TreeControls_vue_vue_type_style_index_1_id_29a4f879_prod_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_TreeControls_vue_vue_type_style_index_1_id_29a4f879_prod_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
14162
|
-
/* unused harmony reexport * */
|
|
14163
|
-
|
|
14164
|
-
|
|
14165
14168
|
/***/ }),
|
|
14166
14169
|
|
|
14167
14170
|
/***/ "7a0f":
|
|
@@ -14451,6 +14454,17 @@ main.install = function (Vue) {
|
|
|
14451
14454
|
|
|
14452
14455
|
/******/ });
|
|
14453
14456
|
|
|
14457
|
+
/***/ }),
|
|
14458
|
+
|
|
14459
|
+
/***/ "7ee7":
|
|
14460
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
14461
|
+
|
|
14462
|
+
"use strict";
|
|
14463
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PrimitiveControls_vue_vue_type_style_index_0_id_743fe26a_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("718a");
|
|
14464
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PrimitiveControls_vue_vue_type_style_index_0_id_743fe26a_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PrimitiveControls_vue_vue_type_style_index_0_id_743fe26a_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
14465
|
+
/* unused harmony reexport * */
|
|
14466
|
+
|
|
14467
|
+
|
|
14454
14468
|
/***/ }),
|
|
14455
14469
|
|
|
14456
14470
|
/***/ "7f4d":
|
|
@@ -15089,10 +15103,10 @@ __webpack_require__("97d3");
|
|
|
15089
15103
|
__webpack_require__("13e3");
|
|
15090
15104
|
var THREE = __webpack_require__("9206").THREE;
|
|
15091
15105
|
|
|
15092
|
-
/**
|
|
15093
|
-
* Create a {@link Zinc.Renderer} on the dom element with corresponding elementID.
|
|
15094
|
-
* @param {String} elementID - id of the target dom element.
|
|
15095
|
-
* @returns {Zinc.Renderer}
|
|
15106
|
+
/**
|
|
15107
|
+
* Create a {@link Zinc.Renderer} on the dom element with corresponding elementID.
|
|
15108
|
+
* @param {String} elementID - id of the target dom element.
|
|
15109
|
+
* @returns {Zinc.Renderer}
|
|
15096
15110
|
*/
|
|
15097
15111
|
var createRenderer = function createRenderer() {
|
|
15098
15112
|
var WEBGL = __webpack_require__("cf41").WEBGL;
|
|
@@ -15284,31 +15298,31 @@ RendererModule.prototype.viewAll = function () {
|
|
|
15284
15298
|
if (this.zincRenderer) this.zincRenderer.viewAll();
|
|
15285
15299
|
};
|
|
15286
15300
|
|
|
15287
|
-
/**
|
|
15288
|
-
* Start the animation and let the renderer to processs with
|
|
15289
|
-
* time progression
|
|
15301
|
+
/**
|
|
15302
|
+
* Start the animation and let the renderer to processs with
|
|
15303
|
+
* time progression
|
|
15290
15304
|
*/
|
|
15291
15305
|
RendererModule.prototype.playAnimation = function (flag) {
|
|
15292
15306
|
if (this.zincRenderer) this.zincRenderer.playAnimation = flag;
|
|
15293
15307
|
};
|
|
15294
15308
|
|
|
15295
|
-
/**
|
|
15296
|
-
* Set the speed of playback
|
|
15309
|
+
/**
|
|
15310
|
+
* Set the speed of playback
|
|
15297
15311
|
*/
|
|
15298
15312
|
RendererModule.prototype.setPlayRate = function (value) {
|
|
15299
15313
|
if (this.zincRenderer) this.zincRenderer.setPlayRate(value);
|
|
15300
15314
|
};
|
|
15301
15315
|
|
|
15302
|
-
/**
|
|
15303
|
-
* Get the speed of playback
|
|
15316
|
+
/**
|
|
15317
|
+
* Get the speed of playback
|
|
15304
15318
|
*/
|
|
15305
15319
|
RendererModule.prototype.getPlayRate = function (value) {
|
|
15306
15320
|
if (this.zincRenderer) return this.zincRenderer.getPlayRate();else return 0.0;
|
|
15307
15321
|
};
|
|
15308
15322
|
|
|
15309
|
-
/** Initialise everything in the renderer, including the 3D renderer,
|
|
15310
|
-
* and picker for the 3D renderer.
|
|
15311
|
-
*
|
|
15323
|
+
/** Initialise everything in the renderer, including the 3D renderer,
|
|
15324
|
+
* and picker for the 3D renderer.
|
|
15325
|
+
*
|
|
15312
15326
|
*/
|
|
15313
15327
|
RendererModule.prototype.initialiseRenderer = function (displayAreaIn) {
|
|
15314
15328
|
if (this.zincRenderer === undefined || this.rendererContainer === undefined) {
|
|
@@ -16299,17 +16313,6 @@ tag.install = function (Vue) {
|
|
|
16299
16313
|
|
|
16300
16314
|
module.exports = require("vue");
|
|
16301
16315
|
|
|
16302
|
-
/***/ }),
|
|
16303
|
-
|
|
16304
|
-
/***/ "8e0f":
|
|
16305
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
16306
|
-
|
|
16307
|
-
"use strict";
|
|
16308
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_OpacityControls_vue_vue_type_style_index_0_id_4c00a30f_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("bd9f");
|
|
16309
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_OpacityControls_vue_vue_type_style_index_0_id_4c00a30f_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_OpacityControls_vue_vue_type_style_index_0_id_4c00a30f_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
16310
|
-
/* unused harmony reexport * */
|
|
16311
|
-
|
|
16312
|
-
|
|
16313
16316
|
/***/ }),
|
|
16314
16317
|
|
|
16315
16318
|
/***/ "9206":
|
|
@@ -16324,6 +16327,17 @@ module.exports = require("zincjs");
|
|
|
16324
16327
|
|
|
16325
16328
|
module.exports = require("core-js/modules/es.object.to-string.js");
|
|
16326
16329
|
|
|
16330
|
+
/***/ }),
|
|
16331
|
+
|
|
16332
|
+
/***/ "97dc":
|
|
16333
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
16334
|
+
|
|
16335
|
+
"use strict";
|
|
16336
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_TreeControls_vue_vue_type_style_index_1_id_4328c61c_prod_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("49a1");
|
|
16337
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_TreeControls_vue_vue_type_style_index_1_id_4328c61c_prod_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_TreeControls_vue_vue_type_style_index_1_id_4328c61c_prod_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
16338
|
+
/* unused harmony reexport * */
|
|
16339
|
+
|
|
16340
|
+
|
|
16327
16341
|
/***/ }),
|
|
16328
16342
|
|
|
16329
16343
|
/***/ "984d":
|
|
@@ -17021,6 +17035,13 @@ module.exports = require("core-js/modules/es.string.iterator.js");
|
|
|
17021
17035
|
|
|
17022
17036
|
/***/ }),
|
|
17023
17037
|
|
|
17038
|
+
/***/ "9d4c":
|
|
17039
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
17040
|
+
|
|
17041
|
+
// extracted by mini-css-extract-plugin
|
|
17042
|
+
|
|
17043
|
+
/***/ }),
|
|
17044
|
+
|
|
17024
17045
|
/***/ "9d7e":
|
|
17025
17046
|
/***/ (function(module, exports, __webpack_require__) {
|
|
17026
17047
|
|
|
@@ -17082,6 +17103,17 @@ var RE_NARGS = /(%|)\{([0-9a-zA-Z_]+)\}/g;
|
|
|
17082
17103
|
* https://github.com/Matt-Esch/string-template/index.js
|
|
17083
17104
|
*/
|
|
17084
17105
|
|
|
17106
|
+
/***/ }),
|
|
17107
|
+
|
|
17108
|
+
/***/ "9e86":
|
|
17109
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
17110
|
+
|
|
17111
|
+
"use strict";
|
|
17112
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ScaffoldVuer_vue_vue_type_style_index_0_id_21f54394_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("cf19");
|
|
17113
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ScaffoldVuer_vue_vue_type_style_index_0_id_21f54394_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ScaffoldVuer_vue_vue_type_style_index_0_id_21f54394_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
17114
|
+
/* unused harmony reexport * */
|
|
17115
|
+
|
|
17116
|
+
|
|
17085
17117
|
/***/ }),
|
|
17086
17118
|
|
|
17087
17119
|
/***/ "a1cc":
|
|
@@ -17434,30 +17466,312 @@ var isDefined = exports.isDefined = function isDefined(val) {
|
|
|
17434
17466
|
|
|
17435
17467
|
/***/ }),
|
|
17436
17468
|
|
|
17437
|
-
/***/ "
|
|
17469
|
+
/***/ "aa2f":
|
|
17438
17470
|
/***/ (function(module, exports, __webpack_require__) {
|
|
17439
17471
|
|
|
17440
|
-
|
|
17441
|
-
|
|
17442
|
-
|
|
17443
|
-
|
|
17444
|
-
|
|
17445
|
-
|
|
17446
|
-
|
|
17447
|
-
|
|
17448
|
-
|
|
17449
|
-
|
|
17472
|
+
module.exports =
|
|
17473
|
+
/******/ (function(modules) { // webpackBootstrap
|
|
17474
|
+
/******/ // The module cache
|
|
17475
|
+
/******/ var installedModules = {};
|
|
17476
|
+
/******/
|
|
17477
|
+
/******/ // The require function
|
|
17478
|
+
/******/ function __webpack_require__(moduleId) {
|
|
17479
|
+
/******/
|
|
17480
|
+
/******/ // Check if module is in cache
|
|
17481
|
+
/******/ if(installedModules[moduleId]) {
|
|
17482
|
+
/******/ return installedModules[moduleId].exports;
|
|
17483
|
+
/******/ }
|
|
17484
|
+
/******/ // Create a new module (and put it into the cache)
|
|
17485
|
+
/******/ var module = installedModules[moduleId] = {
|
|
17486
|
+
/******/ i: moduleId,
|
|
17487
|
+
/******/ l: false,
|
|
17488
|
+
/******/ exports: {}
|
|
17489
|
+
/******/ };
|
|
17490
|
+
/******/
|
|
17491
|
+
/******/ // Execute the module function
|
|
17492
|
+
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
|
17493
|
+
/******/
|
|
17494
|
+
/******/ // Flag the module as loaded
|
|
17495
|
+
/******/ module.l = true;
|
|
17496
|
+
/******/
|
|
17497
|
+
/******/ // Return the exports of the module
|
|
17498
|
+
/******/ return module.exports;
|
|
17499
|
+
/******/ }
|
|
17500
|
+
/******/
|
|
17501
|
+
/******/
|
|
17502
|
+
/******/ // expose the modules object (__webpack_modules__)
|
|
17503
|
+
/******/ __webpack_require__.m = modules;
|
|
17504
|
+
/******/
|
|
17505
|
+
/******/ // expose the module cache
|
|
17506
|
+
/******/ __webpack_require__.c = installedModules;
|
|
17507
|
+
/******/
|
|
17508
|
+
/******/ // define getter function for harmony exports
|
|
17509
|
+
/******/ __webpack_require__.d = function(exports, name, getter) {
|
|
17510
|
+
/******/ if(!__webpack_require__.o(exports, name)) {
|
|
17511
|
+
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
|
17512
|
+
/******/ }
|
|
17513
|
+
/******/ };
|
|
17514
|
+
/******/
|
|
17515
|
+
/******/ // define __esModule on exports
|
|
17516
|
+
/******/ __webpack_require__.r = function(exports) {
|
|
17517
|
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
17518
|
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
17519
|
+
/******/ }
|
|
17520
|
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
17521
|
+
/******/ };
|
|
17522
|
+
/******/
|
|
17523
|
+
/******/ // create a fake namespace object
|
|
17524
|
+
/******/ // mode & 1: value is a module id, require it
|
|
17525
|
+
/******/ // mode & 2: merge all properties of value into the ns
|
|
17526
|
+
/******/ // mode & 4: return value when already ns object
|
|
17527
|
+
/******/ // mode & 8|1: behave like require
|
|
17528
|
+
/******/ __webpack_require__.t = function(value, mode) {
|
|
17529
|
+
/******/ if(mode & 1) value = __webpack_require__(value);
|
|
17530
|
+
/******/ if(mode & 8) return value;
|
|
17531
|
+
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
|
17532
|
+
/******/ var ns = Object.create(null);
|
|
17533
|
+
/******/ __webpack_require__.r(ns);
|
|
17534
|
+
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
|
17535
|
+
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
|
17536
|
+
/******/ return ns;
|
|
17537
|
+
/******/ };
|
|
17538
|
+
/******/
|
|
17539
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
17540
|
+
/******/ __webpack_require__.n = function(module) {
|
|
17541
|
+
/******/ var getter = module && module.__esModule ?
|
|
17542
|
+
/******/ function getDefault() { return module['default']; } :
|
|
17543
|
+
/******/ function getModuleExports() { return module; };
|
|
17544
|
+
/******/ __webpack_require__.d(getter, 'a', getter);
|
|
17545
|
+
/******/ return getter;
|
|
17546
|
+
/******/ };
|
|
17547
|
+
/******/
|
|
17548
|
+
/******/ // Object.prototype.hasOwnProperty.call
|
|
17549
|
+
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
|
17550
|
+
/******/
|
|
17551
|
+
/******/ // __webpack_public_path__
|
|
17552
|
+
/******/ __webpack_require__.p = "/dist/";
|
|
17553
|
+
/******/
|
|
17554
|
+
/******/
|
|
17555
|
+
/******/ // Load entry module and return exports
|
|
17556
|
+
/******/ return __webpack_require__(__webpack_require__.s = 120);
|
|
17557
|
+
/******/ })
|
|
17558
|
+
/************************************************************************/
|
|
17559
|
+
/******/ ({
|
|
17450
17560
|
|
|
17451
|
-
/***/
|
|
17561
|
+
/***/ 0:
|
|
17452
17562
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
17453
17563
|
|
|
17454
17564
|
"use strict";
|
|
17455
|
-
/* harmony
|
|
17456
|
-
/*
|
|
17457
|
-
/* unused harmony reexport * */
|
|
17458
|
-
|
|
17565
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return normalizeComponent; });
|
|
17566
|
+
/* globals __VUE_SSR_CONTEXT__ */
|
|
17459
17567
|
|
|
17460
|
-
|
|
17568
|
+
// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
|
|
17569
|
+
// This module is a runtime utility for cleaner component module output and will
|
|
17570
|
+
// be included in the final webpack user bundle.
|
|
17571
|
+
|
|
17572
|
+
function normalizeComponent (
|
|
17573
|
+
scriptExports,
|
|
17574
|
+
render,
|
|
17575
|
+
staticRenderFns,
|
|
17576
|
+
functionalTemplate,
|
|
17577
|
+
injectStyles,
|
|
17578
|
+
scopeId,
|
|
17579
|
+
moduleIdentifier, /* server only */
|
|
17580
|
+
shadowMode /* vue-cli only */
|
|
17581
|
+
) {
|
|
17582
|
+
// Vue.extend constructor export interop
|
|
17583
|
+
var options = typeof scriptExports === 'function'
|
|
17584
|
+
? scriptExports.options
|
|
17585
|
+
: scriptExports
|
|
17586
|
+
|
|
17587
|
+
// render functions
|
|
17588
|
+
if (render) {
|
|
17589
|
+
options.render = render
|
|
17590
|
+
options.staticRenderFns = staticRenderFns
|
|
17591
|
+
options._compiled = true
|
|
17592
|
+
}
|
|
17593
|
+
|
|
17594
|
+
// functional template
|
|
17595
|
+
if (functionalTemplate) {
|
|
17596
|
+
options.functional = true
|
|
17597
|
+
}
|
|
17598
|
+
|
|
17599
|
+
// scopedId
|
|
17600
|
+
if (scopeId) {
|
|
17601
|
+
options._scopeId = 'data-v-' + scopeId
|
|
17602
|
+
}
|
|
17603
|
+
|
|
17604
|
+
var hook
|
|
17605
|
+
if (moduleIdentifier) { // server build
|
|
17606
|
+
hook = function (context) {
|
|
17607
|
+
// 2.3 injection
|
|
17608
|
+
context =
|
|
17609
|
+
context || // cached call
|
|
17610
|
+
(this.$vnode && this.$vnode.ssrContext) || // stateful
|
|
17611
|
+
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
|
|
17612
|
+
// 2.2 with runInNewContext: true
|
|
17613
|
+
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
|
|
17614
|
+
context = __VUE_SSR_CONTEXT__
|
|
17615
|
+
}
|
|
17616
|
+
// inject component styles
|
|
17617
|
+
if (injectStyles) {
|
|
17618
|
+
injectStyles.call(this, context)
|
|
17619
|
+
}
|
|
17620
|
+
// register component module identifier for async chunk inferrence
|
|
17621
|
+
if (context && context._registeredComponents) {
|
|
17622
|
+
context._registeredComponents.add(moduleIdentifier)
|
|
17623
|
+
}
|
|
17624
|
+
}
|
|
17625
|
+
// used by ssr in case component is cached and beforeCreate
|
|
17626
|
+
// never gets called
|
|
17627
|
+
options._ssrRegister = hook
|
|
17628
|
+
} else if (injectStyles) {
|
|
17629
|
+
hook = shadowMode
|
|
17630
|
+
? function () { injectStyles.call(this, this.$root.$options.shadowRoot) }
|
|
17631
|
+
: injectStyles
|
|
17632
|
+
}
|
|
17633
|
+
|
|
17634
|
+
if (hook) {
|
|
17635
|
+
if (options.functional) {
|
|
17636
|
+
// for template-only hot-reload because in that case the render fn doesn't
|
|
17637
|
+
// go through the normalizer
|
|
17638
|
+
options._injectStyles = hook
|
|
17639
|
+
// register for functioal component in vue file
|
|
17640
|
+
var originalRender = options.render
|
|
17641
|
+
options.render = function renderWithStyleInjection (h, context) {
|
|
17642
|
+
hook.call(context)
|
|
17643
|
+
return originalRender(h, context)
|
|
17644
|
+
}
|
|
17645
|
+
} else {
|
|
17646
|
+
// inject component registration as beforeCreate hook
|
|
17647
|
+
var existing = options.beforeCreate
|
|
17648
|
+
options.beforeCreate = existing
|
|
17649
|
+
? [].concat(existing, hook)
|
|
17650
|
+
: [hook]
|
|
17651
|
+
}
|
|
17652
|
+
}
|
|
17653
|
+
|
|
17654
|
+
return {
|
|
17655
|
+
exports: scriptExports,
|
|
17656
|
+
options: options
|
|
17657
|
+
}
|
|
17658
|
+
}
|
|
17659
|
+
|
|
17660
|
+
|
|
17661
|
+
/***/ }),
|
|
17662
|
+
|
|
17663
|
+
/***/ 120:
|
|
17664
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
17665
|
+
|
|
17666
|
+
"use strict";
|
|
17667
|
+
__webpack_require__.r(__webpack_exports__);
|
|
17668
|
+
|
|
17669
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/footer/src/main.vue?vue&type=template&id=80210338&
|
|
17670
|
+
var render = function() {
|
|
17671
|
+
var _vm = this
|
|
17672
|
+
var _h = _vm.$createElement
|
|
17673
|
+
var _c = _vm._self._c || _h
|
|
17674
|
+
return _c(
|
|
17675
|
+
"footer",
|
|
17676
|
+
{ staticClass: "el-footer", style: { height: _vm.height } },
|
|
17677
|
+
[_vm._t("default")],
|
|
17678
|
+
2
|
|
17679
|
+
)
|
|
17680
|
+
}
|
|
17681
|
+
var staticRenderFns = []
|
|
17682
|
+
render._withStripped = true
|
|
17683
|
+
|
|
17684
|
+
|
|
17685
|
+
// CONCATENATED MODULE: ./packages/footer/src/main.vue?vue&type=template&id=80210338&
|
|
17686
|
+
|
|
17687
|
+
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/footer/src/main.vue?vue&type=script&lang=js&
|
|
17688
|
+
//
|
|
17689
|
+
//
|
|
17690
|
+
//
|
|
17691
|
+
//
|
|
17692
|
+
//
|
|
17693
|
+
//
|
|
17694
|
+
|
|
17695
|
+
/* harmony default export */ var mainvue_type_script_lang_js_ = ({
|
|
17696
|
+
name: 'ElFooter',
|
|
17697
|
+
|
|
17698
|
+
componentName: 'ElFooter',
|
|
17699
|
+
|
|
17700
|
+
props: {
|
|
17701
|
+
height: {
|
|
17702
|
+
type: String,
|
|
17703
|
+
default: '60px'
|
|
17704
|
+
}
|
|
17705
|
+
}
|
|
17706
|
+
});
|
|
17707
|
+
// CONCATENATED MODULE: ./packages/footer/src/main.vue?vue&type=script&lang=js&
|
|
17708
|
+
/* harmony default export */ var src_mainvue_type_script_lang_js_ = (mainvue_type_script_lang_js_);
|
|
17709
|
+
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
17710
|
+
var componentNormalizer = __webpack_require__(0);
|
|
17711
|
+
|
|
17712
|
+
// CONCATENATED MODULE: ./packages/footer/src/main.vue
|
|
17713
|
+
|
|
17714
|
+
|
|
17715
|
+
|
|
17716
|
+
|
|
17717
|
+
|
|
17718
|
+
/* normalize component */
|
|
17719
|
+
|
|
17720
|
+
var component = Object(componentNormalizer["a" /* default */])(
|
|
17721
|
+
src_mainvue_type_script_lang_js_,
|
|
17722
|
+
render,
|
|
17723
|
+
staticRenderFns,
|
|
17724
|
+
false,
|
|
17725
|
+
null,
|
|
17726
|
+
null,
|
|
17727
|
+
null
|
|
17728
|
+
|
|
17729
|
+
)
|
|
17730
|
+
|
|
17731
|
+
/* hot reload */
|
|
17732
|
+
if (false) { var api; }
|
|
17733
|
+
component.options.__file = "packages/footer/src/main.vue"
|
|
17734
|
+
/* harmony default export */ var main = (component.exports);
|
|
17735
|
+
// CONCATENATED MODULE: ./packages/footer/index.js
|
|
17736
|
+
|
|
17737
|
+
|
|
17738
|
+
/* istanbul ignore next */
|
|
17739
|
+
main.install = function (Vue) {
|
|
17740
|
+
Vue.component(main.name, main);
|
|
17741
|
+
};
|
|
17742
|
+
|
|
17743
|
+
/* harmony default export */ var footer = __webpack_exports__["default"] = (main);
|
|
17744
|
+
|
|
17745
|
+
/***/ })
|
|
17746
|
+
|
|
17747
|
+
/******/ });
|
|
17748
|
+
|
|
17749
|
+
/***/ }),
|
|
17750
|
+
|
|
17751
|
+
/***/ "aaa5":
|
|
17752
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
17753
|
+
|
|
17754
|
+
// extracted by mini-css-extract-plugin
|
|
17755
|
+
|
|
17756
|
+
/***/ }),
|
|
17757
|
+
|
|
17758
|
+
/***/ "ad1b":
|
|
17759
|
+
/***/ (function(module, exports) {
|
|
17760
|
+
|
|
17761
|
+
module.exports = require("core-js/modules/es.object.assign.js");
|
|
17762
|
+
|
|
17763
|
+
/***/ }),
|
|
17764
|
+
|
|
17765
|
+
/***/ "ad4c":
|
|
17766
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
17767
|
+
|
|
17768
|
+
"use strict";
|
|
17769
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ScaffoldTooltip_vue_vue_type_style_index_0_id_0cbe500c_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("0a7d");
|
|
17770
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ScaffoldTooltip_vue_vue_type_style_index_0_id_0cbe500c_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ScaffoldTooltip_vue_vue_type_style_index_0_id_0cbe500c_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
17771
|
+
/* unused harmony reexport * */
|
|
17772
|
+
|
|
17773
|
+
|
|
17774
|
+
/***/ }),
|
|
17461
17775
|
|
|
17462
17776
|
/***/ "adec":
|
|
17463
17777
|
/***/ (function(module, exports, __webpack_require__) {
|
|
@@ -17620,7 +17934,14 @@ module.exports = require("core-js/modules/web.url.js");
|
|
|
17620
17934
|
|
|
17621
17935
|
/***/ }),
|
|
17622
17936
|
|
|
17623
|
-
/***/ "
|
|
17937
|
+
/***/ "bdc7":
|
|
17938
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
17939
|
+
|
|
17940
|
+
// extracted by mini-css-extract-plugin
|
|
17941
|
+
|
|
17942
|
+
/***/ }),
|
|
17943
|
+
|
|
17944
|
+
/***/ "bdf8":
|
|
17624
17945
|
/***/ (function(module, exports, __webpack_require__) {
|
|
17625
17946
|
|
|
17626
17947
|
// extracted by mini-css-extract-plugin
|
|
@@ -17856,6 +18177,17 @@ exports.default = function (instance, callback) {
|
|
|
17856
18177
|
* @param {Boolean} once weather bind after-leave once. default value is false.
|
|
17857
18178
|
*/
|
|
17858
18179
|
|
|
18180
|
+
/***/ }),
|
|
18181
|
+
|
|
18182
|
+
/***/ "c594":
|
|
18183
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
18184
|
+
|
|
18185
|
+
"use strict";
|
|
18186
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_TextureSlidesControls_vue_vue_type_style_index_0_id_6cdecb05_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("4a73");
|
|
18187
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_TextureSlidesControls_vue_vue_type_style_index_0_id_6cdecb05_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_TextureSlidesControls_vue_vue_type_style_index_0_id_6cdecb05_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
18188
|
+
/* unused harmony reexport * */
|
|
18189
|
+
|
|
18190
|
+
|
|
17859
18191
|
/***/ }),
|
|
17860
18192
|
|
|
17861
18193
|
/***/ "c69e":
|
|
@@ -18148,14 +18480,21 @@ module.exports = require("core-js/modules/es.number.to-fixed.js");
|
|
|
18148
18480
|
|
|
18149
18481
|
/***/ }),
|
|
18150
18482
|
|
|
18483
|
+
/***/ "cf19":
|
|
18484
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
18485
|
+
|
|
18486
|
+
// extracted by mini-css-extract-plugin
|
|
18487
|
+
|
|
18488
|
+
/***/ }),
|
|
18489
|
+
|
|
18151
18490
|
/***/ "cf41":
|
|
18152
18491
|
/***/ (function(module, exports, __webpack_require__) {
|
|
18153
18492
|
|
|
18154
18493
|
__webpack_require__("c8a6");
|
|
18155
18494
|
__webpack_require__("6378");
|
|
18156
|
-
/**
|
|
18157
|
-
* @author alteredq / http://alteredqualia.com/
|
|
18158
|
-
* @author mr.doob / http://mrdoob.com/
|
|
18495
|
+
/**
|
|
18496
|
+
* @author alteredq / http://alteredqualia.com/
|
|
18497
|
+
* @author mr.doob / http://mrdoob.com/
|
|
18159
18498
|
*/
|
|
18160
18499
|
|
|
18161
18500
|
exports.WEBGL = {
|
|
@@ -18307,6 +18646,17 @@ module.exports = require("deepmerge");
|
|
|
18307
18646
|
|
|
18308
18647
|
module.exports = require("core-js/modules/es.function.name.js");
|
|
18309
18648
|
|
|
18649
|
+
/***/ }),
|
|
18650
|
+
|
|
18651
|
+
/***/ "dbe6":
|
|
18652
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
18653
|
+
|
|
18654
|
+
"use strict";
|
|
18655
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_TreeControls_vue_vue_type_style_index_0_id_4328c61c_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("bdf8");
|
|
18656
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_TreeControls_vue_vue_type_style_index_0_id_4328c61c_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_TreeControls_vue_vue_type_style_index_0_id_4328c61c_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
18657
|
+
/* unused harmony reexport * */
|
|
18658
|
+
|
|
18659
|
+
|
|
18310
18660
|
/***/ }),
|
|
18311
18661
|
|
|
18312
18662
|
/***/ "dc50":
|
|
@@ -20056,13 +20406,6 @@ input_number.install = function (Vue) {
|
|
|
20056
20406
|
|
|
20057
20407
|
/***/ }),
|
|
20058
20408
|
|
|
20059
|
-
/***/ "e57c":
|
|
20060
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
20061
|
-
|
|
20062
|
-
// extracted by mini-css-extract-plugin
|
|
20063
|
-
|
|
20064
|
-
/***/ }),
|
|
20065
|
-
|
|
20066
20409
|
/***/ "e612":
|
|
20067
20410
|
/***/ (function(module, exports, __webpack_require__) {
|
|
20068
20411
|
|
|
@@ -20817,17 +21160,6 @@ module.exports = require("core-js/modules/es.array.slice.js");
|
|
|
20817
21160
|
|
|
20818
21161
|
module.exports = require("core-js/modules/es.object.keys.js");
|
|
20819
21162
|
|
|
20820
|
-
/***/ }),
|
|
20821
|
-
|
|
20822
|
-
/***/ "ee47":
|
|
20823
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
20824
|
-
|
|
20825
|
-
"use strict";
|
|
20826
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ScaffoldVuer_vue_vue_type_style_index_0_id_718c348c_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("2a5b");
|
|
20827
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ScaffoldVuer_vue_vue_type_style_index_0_id_718c348c_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ScaffoldVuer_vue_vue_type_style_index_0_id_718c348c_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
20828
|
-
/* unused harmony reexport * */
|
|
20829
|
-
|
|
20830
|
-
|
|
20831
21163
|
/***/ }),
|
|
20832
21164
|
|
|
20833
21165
|
/***/ "eedf":
|
|
@@ -22390,7 +22722,7 @@ if (typeof window !== 'undefined') {
|
|
|
22390
22722
|
// Indicate to webpack that this file can be concatenated
|
|
22391
22723
|
/* harmony default export */ var setPublicPath = (null);
|
|
22392
22724
|
|
|
22393
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
22725
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"efd025c0-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/ScaffoldVuer.vue?vue&type=template&id=21f54394&scoped=true&
|
|
22394
22726
|
var render = function render() {
|
|
22395
22727
|
var _vm = this,
|
|
22396
22728
|
_c = _vm._self._c;
|
|
@@ -22539,9 +22871,9 @@ var render = function render() {
|
|
|
22539
22871
|
"drawer-toggled": _vm.drawerToggled
|
|
22540
22872
|
}
|
|
22541
22873
|
}), _c('div', {
|
|
22542
|
-
staticClass: "
|
|
22543
|
-
}, [_c('
|
|
22544
|
-
ref: "
|
|
22874
|
+
staticClass: "primitive-controls-box"
|
|
22875
|
+
}, [_c('primitive-controls', {
|
|
22876
|
+
ref: "primitiveControls"
|
|
22545
22877
|
})], 1), _vm.sceneData.timeVarying ? _c('el-popover', {
|
|
22546
22878
|
ref: "sliderPopover",
|
|
22547
22879
|
attrs: {
|
|
@@ -22875,7 +23207,7 @@ var render = function render() {
|
|
|
22875
23207
|
};
|
|
22876
23208
|
var staticRenderFns = [];
|
|
22877
23209
|
|
|
22878
|
-
// CONCATENATED MODULE: ./src/components/ScaffoldVuer.vue?vue&type=template&id=
|
|
23210
|
+
// CONCATENATED MODULE: ./src/components/ScaffoldVuer.vue?vue&type=template&id=21f54394&scoped=true&
|
|
22879
23211
|
|
|
22880
23212
|
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/tabs.css
|
|
22881
23213
|
var tabs = __webpack_require__("075a");
|
|
@@ -22984,15 +23316,24 @@ var es_object_keys_js_ = __webpack_require__("ea64");
|
|
|
22984
23316
|
var external_vue_ = __webpack_require__("8bbf");
|
|
22985
23317
|
var external_vue_default = /*#__PURE__*/__webpack_require__.n(external_vue_);
|
|
22986
23318
|
|
|
22987
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
22988
|
-
var
|
|
23319
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"efd025c0-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/PrimitiveControls.vue?vue&type=template&id=743fe26a&scoped=true&
|
|
23320
|
+
var PrimitiveControlsvue_type_template_id_743fe26a_scoped_true_render = function render() {
|
|
22989
23321
|
var _vm = this,
|
|
22990
23322
|
_c = _vm._self._c;
|
|
22991
|
-
return
|
|
22992
|
-
|
|
22993
|
-
|
|
23323
|
+
return _c('div', {
|
|
23324
|
+
directives: [{
|
|
23325
|
+
name: "show",
|
|
23326
|
+
rawName: "v-show",
|
|
23327
|
+
value: _vm.material || _vm.isTextureSlides,
|
|
23328
|
+
expression: "material || isTextureSlides"
|
|
23329
|
+
}],
|
|
23330
|
+
staticClass: "primitive-controls"
|
|
22994
23331
|
}, [_c('el-drawer', {
|
|
22995
|
-
|
|
23332
|
+
class: {
|
|
23333
|
+
'drawer-content': true,
|
|
23334
|
+
'opacity': _vm.material !== undefined,
|
|
23335
|
+
'texture-slides': _vm.isTextureSlides
|
|
23336
|
+
},
|
|
22996
23337
|
attrs: {
|
|
22997
23338
|
"custom-class": "my-drawer",
|
|
22998
23339
|
"visible": _vm.drawerOpen,
|
|
@@ -23015,24 +23356,69 @@ var OpacityControlsvue_type_template_id_4c00a30f_scoped_true_render = function r
|
|
|
23015
23356
|
}
|
|
23016
23357
|
}, [_c('i', {
|
|
23017
23358
|
staticClass: "el-icon-arrow-right"
|
|
23018
|
-
})]) : _vm._e(), _c('
|
|
23019
|
-
|
|
23020
|
-
}, [_c('el-header', {
|
|
23021
|
-
staticClass: "header",
|
|
23359
|
+
})]) : _vm._e(), _c('opacity-controls', {
|
|
23360
|
+
ref: "opacityControls",
|
|
23022
23361
|
attrs: {
|
|
23023
|
-
"
|
|
23362
|
+
"material": _vm.material
|
|
23024
23363
|
}
|
|
23025
|
-
}
|
|
23026
|
-
|
|
23027
|
-
|
|
23028
|
-
|
|
23029
|
-
|
|
23030
|
-
|
|
23031
|
-
|
|
23032
|
-
|
|
23033
|
-
|
|
23034
|
-
|
|
23035
|
-
|
|
23364
|
+
}), _c('texture-slides-controls', {
|
|
23365
|
+
directives: [{
|
|
23366
|
+
name: "show",
|
|
23367
|
+
rawName: "v-show",
|
|
23368
|
+
value: _vm.isTextureSlides,
|
|
23369
|
+
expression: "isTextureSlides"
|
|
23370
|
+
}],
|
|
23371
|
+
ref: "tSlidesControls",
|
|
23372
|
+
staticClass: "controls"
|
|
23373
|
+
})], 1), !_vm.drawerOpen ? _c('div', {
|
|
23374
|
+
staticClass: "tab-button open",
|
|
23375
|
+
on: {
|
|
23376
|
+
"click": _vm.toggleDrawer
|
|
23377
|
+
}
|
|
23378
|
+
}, [_c('i', {
|
|
23379
|
+
staticClass: "el-icon-arrow-left"
|
|
23380
|
+
})]) : _vm._e()], 1);
|
|
23381
|
+
};
|
|
23382
|
+
var PrimitiveControlsvue_type_template_id_743fe26a_scoped_true_staticRenderFns = [];
|
|
23383
|
+
|
|
23384
|
+
// CONCATENATED MODULE: ./src/components/PrimitiveControls.vue?vue&type=template&id=743fe26a&scoped=true&
|
|
23385
|
+
|
|
23386
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/icon.css
|
|
23387
|
+
var icon = __webpack_require__("aaa5");
|
|
23388
|
+
|
|
23389
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/icon.js
|
|
23390
|
+
var lib_icon = __webpack_require__("a578");
|
|
23391
|
+
var lib_icon_default = /*#__PURE__*/__webpack_require__.n(lib_icon);
|
|
23392
|
+
|
|
23393
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/drawer.css
|
|
23394
|
+
var drawer = __webpack_require__("0fb4");
|
|
23395
|
+
|
|
23396
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/drawer.js
|
|
23397
|
+
var lib_drawer = __webpack_require__("9944");
|
|
23398
|
+
var lib_drawer_default = /*#__PURE__*/__webpack_require__.n(lib_drawer);
|
|
23399
|
+
|
|
23400
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"efd025c0-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/OpacityControls.vue?vue&type=template&id=23ba5f32&scoped=true&
|
|
23401
|
+
var OpacityControlsvue_type_template_id_23ba5f32_scoped_true_render = function render() {
|
|
23402
|
+
var _vm = this,
|
|
23403
|
+
_c = _vm._self._c;
|
|
23404
|
+
return _vm.material ? _c('el-container', {
|
|
23405
|
+
staticClass: "opacity-container"
|
|
23406
|
+
}, [_c('el-header', {
|
|
23407
|
+
staticClass: "header",
|
|
23408
|
+
attrs: {
|
|
23409
|
+
"height": "37px"
|
|
23410
|
+
}
|
|
23411
|
+
}, [_c('div', [_vm._v("Opacity")])]), _c('el-main', {
|
|
23412
|
+
staticClass: "main"
|
|
23413
|
+
}, [_c('div', {
|
|
23414
|
+
staticClass: "block"
|
|
23415
|
+
}, [_c('span', {
|
|
23416
|
+
staticClass: "display"
|
|
23417
|
+
}, [_vm._v(_vm._s(_vm.displayString))]), _c('el-slider', {
|
|
23418
|
+
staticClass: "my-slider",
|
|
23419
|
+
attrs: {
|
|
23420
|
+
"step": 0.01,
|
|
23421
|
+
"min": 0,
|
|
23036
23422
|
"max": 1,
|
|
23037
23423
|
"format-tooltip": _vm.formatTooltip,
|
|
23038
23424
|
"show-tooltip": false
|
|
@@ -23044,18 +23430,11 @@ var OpacityControlsvue_type_template_id_4c00a30f_scoped_true_render = function r
|
|
|
23044
23430
|
},
|
|
23045
23431
|
expression: "material.opacity"
|
|
23046
23432
|
}
|
|
23047
|
-
})], 1)])], 1)
|
|
23048
|
-
staticClass: "tab-button open",
|
|
23049
|
-
on: {
|
|
23050
|
-
"click": _vm.toggleDrawer
|
|
23051
|
-
}
|
|
23052
|
-
}, [_c('i', {
|
|
23053
|
-
staticClass: "el-icon-arrow-left"
|
|
23054
|
-
})]) : _vm._e()], 1) : _vm._e();
|
|
23433
|
+
})], 1)])], 1) : _vm._e();
|
|
23055
23434
|
};
|
|
23056
|
-
var
|
|
23435
|
+
var OpacityControlsvue_type_template_id_23ba5f32_scoped_true_staticRenderFns = [];
|
|
23057
23436
|
|
|
23058
|
-
// CONCATENATED MODULE: ./src/components/OpacityControls.vue?vue&type=template&id=
|
|
23437
|
+
// CONCATENATED MODULE: ./src/components/OpacityControls.vue?vue&type=template&id=23ba5f32&scoped=true&
|
|
23059
23438
|
|
|
23060
23439
|
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/main.css
|
|
23061
23440
|
var main = __webpack_require__("de31");
|
|
@@ -23064,13 +23443,6 @@ var main = __webpack_require__("de31");
|
|
|
23064
23443
|
var lib_main = __webpack_require__("c69e");
|
|
23065
23444
|
var lib_main_default = /*#__PURE__*/__webpack_require__.n(lib_main);
|
|
23066
23445
|
|
|
23067
|
-
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/icon.css
|
|
23068
|
-
var icon = __webpack_require__("aaa5");
|
|
23069
|
-
|
|
23070
|
-
// EXTERNAL MODULE: ./node_modules/element-ui/lib/icon.js
|
|
23071
|
-
var lib_icon = __webpack_require__("a578");
|
|
23072
|
-
var lib_icon_default = /*#__PURE__*/__webpack_require__.n(lib_icon);
|
|
23073
|
-
|
|
23074
23446
|
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/header.css
|
|
23075
23447
|
var header = __webpack_require__("a673");
|
|
23076
23448
|
|
|
@@ -23078,13 +23450,6 @@ var header = __webpack_require__("a673");
|
|
|
23078
23450
|
var lib_header = __webpack_require__("7b31");
|
|
23079
23451
|
var lib_header_default = /*#__PURE__*/__webpack_require__.n(lib_header);
|
|
23080
23452
|
|
|
23081
|
-
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/drawer.css
|
|
23082
|
-
var drawer = __webpack_require__("0fb4");
|
|
23083
|
-
|
|
23084
|
-
// EXTERNAL MODULE: ./node_modules/element-ui/lib/drawer.js
|
|
23085
|
-
var lib_drawer = __webpack_require__("9944");
|
|
23086
|
-
var lib_drawer_default = /*#__PURE__*/__webpack_require__.n(lib_drawer);
|
|
23087
|
-
|
|
23088
23453
|
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/container.css
|
|
23089
23454
|
var container = __webpack_require__("adec");
|
|
23090
23455
|
|
|
@@ -23113,64 +23478,53 @@ var locale_default = /*#__PURE__*/__webpack_require__.n(locale);
|
|
|
23113
23478
|
|
|
23114
23479
|
|
|
23115
23480
|
|
|
23116
|
-
|
|
23117
|
-
|
|
23118
|
-
|
|
23119
|
-
|
|
23120
|
-
|
|
23121
|
-
|
|
23122
23481
|
/* eslint-disable no-alert, no-console */
|
|
23123
23482
|
|
|
23124
23483
|
|
|
23125
23484
|
|
|
23126
23485
|
locale_default.a.use(en_default.a);
|
|
23127
23486
|
external_vue_default.a.use(lib_container_default.a);
|
|
23128
|
-
external_vue_default.a.use(lib_drawer_default.a);
|
|
23129
23487
|
external_vue_default.a.use(lib_header_default.a);
|
|
23130
|
-
external_vue_default.a.use(lib_icon_default.a);
|
|
23131
23488
|
external_vue_default.a.use(lib_main_default.a);
|
|
23132
23489
|
external_vue_default.a.use(lib_slider_default.a);
|
|
23133
23490
|
|
|
23134
|
-
/**
|
|
23135
|
-
* A component to control the opacity of the target object.
|
|
23491
|
+
/**
|
|
23492
|
+
* A component to control the opacity of the target object.
|
|
23136
23493
|
*/
|
|
23137
23494
|
/* harmony default export */ var OpacityControlsvue_type_script_lang_js_ = ({
|
|
23138
23495
|
name: "OpacityControls",
|
|
23496
|
+
props: {
|
|
23497
|
+
material: undefined
|
|
23498
|
+
},
|
|
23139
23499
|
data: function data() {
|
|
23140
23500
|
return {
|
|
23141
|
-
displayString: "100%"
|
|
23142
|
-
material: undefined,
|
|
23143
|
-
drawerOpen: true
|
|
23501
|
+
displayString: "100%"
|
|
23144
23502
|
};
|
|
23145
23503
|
},
|
|
23146
23504
|
watch: {
|
|
23147
23505
|
"material.opacity": function materialOpacity() {
|
|
23148
|
-
if (this.material) {
|
|
23149
|
-
this.
|
|
23506
|
+
if (this.material && this._zincObject) {
|
|
23507
|
+
this._zincObject.setAlpha(this.material.opacity);
|
|
23150
23508
|
}
|
|
23151
23509
|
}
|
|
23152
23510
|
},
|
|
23153
23511
|
mounted: function mounted() {
|
|
23154
|
-
this.
|
|
23512
|
+
this._zincObject = undefined;
|
|
23155
23513
|
},
|
|
23156
23514
|
methods: {
|
|
23157
23515
|
formatTooltip: function formatTooltip(val) {
|
|
23158
23516
|
this.displayString = Math.floor(100 * val + 0.5) + "%";
|
|
23159
23517
|
return this.displayString;
|
|
23160
23518
|
},
|
|
23161
|
-
toggleDrawer: function toggleDrawer() {
|
|
23162
|
-
this.drawerOpen = !this.drawerOpen;
|
|
23163
|
-
},
|
|
23164
23519
|
setObject: function setObject(object) {
|
|
23165
|
-
|
|
23166
|
-
this._zincobject = object;
|
|
23520
|
+
this._zincObject = object;
|
|
23167
23521
|
}
|
|
23168
23522
|
}
|
|
23169
23523
|
});
|
|
23170
23524
|
// CONCATENATED MODULE: ./src/components/OpacityControls.vue?vue&type=script&lang=js&
|
|
23171
23525
|
/* harmony default export */ var components_OpacityControlsvue_type_script_lang_js_ = (OpacityControlsvue_type_script_lang_js_);
|
|
23172
|
-
// EXTERNAL MODULE: ./src/components/OpacityControls.vue?vue&type=style&index=0&id=
|
|
23173
|
-
var
|
|
23526
|
+
// EXTERNAL MODULE: ./src/components/OpacityControls.vue?vue&type=style&index=0&id=23ba5f32&prod&scoped=true&lang=scss&
|
|
23527
|
+
var OpacityControlsvue_type_style_index_0_id_23ba5f32_prod_scoped_true_lang_scss_ = __webpack_require__("471f");
|
|
23174
23528
|
|
|
23175
23529
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
23176
23530
|
/* globals __VUE_SSR_CONTEXT__ */
|
|
@@ -23281,17 +23635,385 @@ function normalizeComponent(
|
|
|
23281
23635
|
|
|
23282
23636
|
var component = normalizeComponent(
|
|
23283
23637
|
components_OpacityControlsvue_type_script_lang_js_,
|
|
23284
|
-
|
|
23285
|
-
|
|
23638
|
+
OpacityControlsvue_type_template_id_23ba5f32_scoped_true_render,
|
|
23639
|
+
OpacityControlsvue_type_template_id_23ba5f32_scoped_true_staticRenderFns,
|
|
23286
23640
|
false,
|
|
23287
23641
|
null,
|
|
23288
|
-
"
|
|
23642
|
+
"23ba5f32",
|
|
23289
23643
|
null
|
|
23290
23644
|
|
|
23291
23645
|
)
|
|
23292
23646
|
|
|
23293
23647
|
/* harmony default export */ var OpacityControls = (component.exports);
|
|
23294
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
23648
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"efd025c0-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/TextureSlidesControls.vue?vue&type=template&id=6cdecb05&scoped=true&
|
|
23649
|
+
var TextureSlidesControlsvue_type_template_id_6cdecb05_scoped_true_render = function render() {
|
|
23650
|
+
var _vm = this,
|
|
23651
|
+
_c = _vm._self._c;
|
|
23652
|
+
return _c('el-container', {
|
|
23653
|
+
directives: [{
|
|
23654
|
+
name: "show",
|
|
23655
|
+
rawName: "v-show",
|
|
23656
|
+
value: _vm.settings.length > 0,
|
|
23657
|
+
expression: "settings.length > 0"
|
|
23658
|
+
}],
|
|
23659
|
+
staticClass: "t-slides-container"
|
|
23660
|
+
}, [_c('el-header', {
|
|
23661
|
+
staticClass: "header",
|
|
23662
|
+
attrs: {
|
|
23663
|
+
"height": "30px"
|
|
23664
|
+
}
|
|
23665
|
+
}, [_c('div', [_vm._v("Texture Slides Settings")])]), _c('el-main', {
|
|
23666
|
+
staticClass: "block"
|
|
23667
|
+
}, _vm._l(_vm.settings, function (slide, index) {
|
|
23668
|
+
return _c('el-row', {
|
|
23669
|
+
key: slide.id
|
|
23670
|
+
}, [_c('el-col', {
|
|
23671
|
+
attrs: {
|
|
23672
|
+
"offset": 0,
|
|
23673
|
+
"span": 2
|
|
23674
|
+
}
|
|
23675
|
+
}, [_c('el-select', {
|
|
23676
|
+
staticClass: "input-box",
|
|
23677
|
+
attrs: {
|
|
23678
|
+
"popper-append-to-body": false,
|
|
23679
|
+
"value": slide.direction,
|
|
23680
|
+
"placeholder": "Select",
|
|
23681
|
+
"popper-class": "viewer_dropdown"
|
|
23682
|
+
},
|
|
23683
|
+
on: {
|
|
23684
|
+
"change": function change($event) {
|
|
23685
|
+
return _vm.modifyDirection($event, slide);
|
|
23686
|
+
}
|
|
23687
|
+
}
|
|
23688
|
+
}, _vm._l(_vm.directions, function (item) {
|
|
23689
|
+
return _c('el-option', {
|
|
23690
|
+
key: item.value,
|
|
23691
|
+
attrs: {
|
|
23692
|
+
"label": item.label,
|
|
23693
|
+
"value": item.value
|
|
23694
|
+
}
|
|
23695
|
+
});
|
|
23696
|
+
}), 1)], 1), _c('el-col', {
|
|
23697
|
+
attrs: {
|
|
23698
|
+
"offset": 0,
|
|
23699
|
+
"span": 14
|
|
23700
|
+
}
|
|
23701
|
+
}, [_c('el-slider', {
|
|
23702
|
+
staticClass: "my-slider",
|
|
23703
|
+
attrs: {
|
|
23704
|
+
"step": 0.01,
|
|
23705
|
+
"min": 0,
|
|
23706
|
+
"max": 1,
|
|
23707
|
+
"show-tooltip": false
|
|
23708
|
+
},
|
|
23709
|
+
on: {
|
|
23710
|
+
"input": function input($event) {
|
|
23711
|
+
return _vm.modifySlide(slide);
|
|
23712
|
+
}
|
|
23713
|
+
},
|
|
23714
|
+
model: {
|
|
23715
|
+
value: slide.value,
|
|
23716
|
+
callback: function callback($$v) {
|
|
23717
|
+
_vm.$set(slide, "value", $$v);
|
|
23718
|
+
},
|
|
23719
|
+
expression: "slide.value"
|
|
23720
|
+
}
|
|
23721
|
+
})], 1), _c('el-col', {
|
|
23722
|
+
attrs: {
|
|
23723
|
+
"offset": 0,
|
|
23724
|
+
"span": 3
|
|
23725
|
+
}
|
|
23726
|
+
}, [_c('el-input-number', {
|
|
23727
|
+
staticClass: "input-box number-input",
|
|
23728
|
+
attrs: {
|
|
23729
|
+
"step": 0.01,
|
|
23730
|
+
"min": 0,
|
|
23731
|
+
"max": 1,
|
|
23732
|
+
"controls": false
|
|
23733
|
+
},
|
|
23734
|
+
model: {
|
|
23735
|
+
value: slide.value,
|
|
23736
|
+
callback: function callback($$v) {
|
|
23737
|
+
_vm.$set(slide, "value", $$v);
|
|
23738
|
+
},
|
|
23739
|
+
expression: "slide.value"
|
|
23740
|
+
}
|
|
23741
|
+
})], 1), _c('el-col', {
|
|
23742
|
+
attrs: {
|
|
23743
|
+
"offset": 2,
|
|
23744
|
+
"span": 2
|
|
23745
|
+
}
|
|
23746
|
+
}, [_c('i', {
|
|
23747
|
+
staticClass: "el-icon-close close-icon",
|
|
23748
|
+
on: {
|
|
23749
|
+
"click": function click($event) {
|
|
23750
|
+
return _vm.removeSlide(index, slide);
|
|
23751
|
+
}
|
|
23752
|
+
}
|
|
23753
|
+
})])], 1);
|
|
23754
|
+
}), 1), _c('el-footer', {
|
|
23755
|
+
staticClass: "add-slides-text",
|
|
23756
|
+
attrs: {
|
|
23757
|
+
"height": "30px"
|
|
23758
|
+
},
|
|
23759
|
+
nativeOn: {
|
|
23760
|
+
"click": function click($event) {
|
|
23761
|
+
return _vm.addNewSlide.apply(null, arguments);
|
|
23762
|
+
}
|
|
23763
|
+
}
|
|
23764
|
+
}, [_c('el-row', [_c('el-col', {
|
|
23765
|
+
attrs: {
|
|
23766
|
+
"span": 2
|
|
23767
|
+
}
|
|
23768
|
+
}, [_c('i', {
|
|
23769
|
+
staticClass: "el-icon-plus"
|
|
23770
|
+
})]), _c('el-col', {
|
|
23771
|
+
attrs: {
|
|
23772
|
+
"span": 10
|
|
23773
|
+
}
|
|
23774
|
+
}, [_vm._v(" Add a new slide ")])], 1)], 1)], 1);
|
|
23775
|
+
};
|
|
23776
|
+
var TextureSlidesControlsvue_type_template_id_6cdecb05_scoped_true_staticRenderFns = [];
|
|
23777
|
+
|
|
23778
|
+
// CONCATENATED MODULE: ./src/components/TextureSlidesControls.vue?vue&type=template&id=6cdecb05&scoped=true&
|
|
23779
|
+
|
|
23780
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/input-number.css
|
|
23781
|
+
var input_number = __webpack_require__("9d4c");
|
|
23782
|
+
|
|
23783
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/input-number.js
|
|
23784
|
+
var lib_input_number = __webpack_require__("e450");
|
|
23785
|
+
var lib_input_number_default = /*#__PURE__*/__webpack_require__.n(lib_input_number);
|
|
23786
|
+
|
|
23787
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/footer.css
|
|
23788
|
+
var footer = __webpack_require__("bdc7");
|
|
23789
|
+
|
|
23790
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/footer.js
|
|
23791
|
+
var lib_footer = __webpack_require__("aa2f");
|
|
23792
|
+
var lib_footer_default = /*#__PURE__*/__webpack_require__.n(lib_footer);
|
|
23793
|
+
|
|
23794
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.splice.js"
|
|
23795
|
+
var es_array_splice_js_ = __webpack_require__("f3b8");
|
|
23796
|
+
|
|
23797
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/TextureSlidesControls.vue?vue&type=script&lang=js&
|
|
23798
|
+
|
|
23799
|
+
|
|
23800
|
+
|
|
23801
|
+
|
|
23802
|
+
|
|
23803
|
+
|
|
23804
|
+
|
|
23805
|
+
|
|
23806
|
+
|
|
23807
|
+
|
|
23808
|
+
|
|
23809
|
+
|
|
23810
|
+
|
|
23811
|
+
|
|
23812
|
+
|
|
23813
|
+
|
|
23814
|
+
|
|
23815
|
+
|
|
23816
|
+
|
|
23817
|
+
|
|
23818
|
+
|
|
23819
|
+
|
|
23820
|
+
|
|
23821
|
+
|
|
23822
|
+
|
|
23823
|
+
|
|
23824
|
+
|
|
23825
|
+
|
|
23826
|
+
|
|
23827
|
+
/* eslint-disable no-alert, no-console */
|
|
23828
|
+
|
|
23829
|
+
|
|
23830
|
+
|
|
23831
|
+
locale_default.a.use(en_default.a);
|
|
23832
|
+
external_vue_default.a.use(lib_col_default.a);
|
|
23833
|
+
external_vue_default.a.use(lib_container_default.a);
|
|
23834
|
+
external_vue_default.a.use(lib_footer_default.a);
|
|
23835
|
+
external_vue_default.a.use(lib_header_default.a);
|
|
23836
|
+
external_vue_default.a.use(lib_icon_default.a);
|
|
23837
|
+
external_vue_default.a.use(lib_input_number_default.a);
|
|
23838
|
+
external_vue_default.a.use(lib_main_default.a);
|
|
23839
|
+
external_vue_default.a.use(lib_slider_default.a);
|
|
23840
|
+
external_vue_default.a.use(lib_row_default.a);
|
|
23841
|
+
|
|
23842
|
+
/**
|
|
23843
|
+
* A component to control the opacity of the target object.
|
|
23844
|
+
*/
|
|
23845
|
+
/* harmony default export */ var TextureSlidesControlsvue_type_script_lang_js_ = ({
|
|
23846
|
+
name: "TextureSlidesControls",
|
|
23847
|
+
data: function data() {
|
|
23848
|
+
return {
|
|
23849
|
+
settings: [],
|
|
23850
|
+
directions: [{
|
|
23851
|
+
value: "x",
|
|
23852
|
+
label: "x"
|
|
23853
|
+
}, {
|
|
23854
|
+
value: "y",
|
|
23855
|
+
label: "y"
|
|
23856
|
+
}, {
|
|
23857
|
+
value: "z",
|
|
23858
|
+
label: "z"
|
|
23859
|
+
}]
|
|
23860
|
+
};
|
|
23861
|
+
},
|
|
23862
|
+
watch: {
|
|
23863
|
+
settings: function settings() {
|
|
23864
|
+
if (this.material && this._zincObject) {
|
|
23865
|
+
this._zincObject.setAlpha(this.material.opacity);
|
|
23866
|
+
}
|
|
23867
|
+
}
|
|
23868
|
+
},
|
|
23869
|
+
mounted: function mounted() {
|
|
23870
|
+
this._zincObject = undefined;
|
|
23871
|
+
},
|
|
23872
|
+
methods: {
|
|
23873
|
+
setObject: function setObject(object) {
|
|
23874
|
+
if (object.isTextureSlides) {
|
|
23875
|
+
this._zincObject = object;
|
|
23876
|
+
this.settings = this._zincObject.getTextureSettings();
|
|
23877
|
+
} else {
|
|
23878
|
+
this._zincObject = undefined;
|
|
23879
|
+
this.settings = [];
|
|
23880
|
+
}
|
|
23881
|
+
},
|
|
23882
|
+
addNewSlide: function addNewSlide() {
|
|
23883
|
+
var newSettings = {
|
|
23884
|
+
direction: "x",
|
|
23885
|
+
value: 0
|
|
23886
|
+
};
|
|
23887
|
+
var returnSettings = this._zincObject.createSlide(newSettings);
|
|
23888
|
+
this.settings.push(returnSettings);
|
|
23889
|
+
},
|
|
23890
|
+
modifyDirection: function modifyDirection(direction, slide) {
|
|
23891
|
+
if (slide) {
|
|
23892
|
+
slide.direction = direction;
|
|
23893
|
+
this._zincObject.modifySlideSettings(slide);
|
|
23894
|
+
}
|
|
23895
|
+
},
|
|
23896
|
+
modifySlide: function modifySlide(slide) {
|
|
23897
|
+
if (slide) {
|
|
23898
|
+
this._zincObject.modifySlideSettings(slide);
|
|
23899
|
+
}
|
|
23900
|
+
},
|
|
23901
|
+
removeSlide: function removeSlide(index, slide) {
|
|
23902
|
+
this._zincObject.removeSlideWithId(slide.id);
|
|
23903
|
+
this.settings.splice(index, 1);
|
|
23904
|
+
}
|
|
23905
|
+
}
|
|
23906
|
+
});
|
|
23907
|
+
// CONCATENATED MODULE: ./src/components/TextureSlidesControls.vue?vue&type=script&lang=js&
|
|
23908
|
+
/* harmony default export */ var components_TextureSlidesControlsvue_type_script_lang_js_ = (TextureSlidesControlsvue_type_script_lang_js_);
|
|
23909
|
+
// EXTERNAL MODULE: ./src/components/TextureSlidesControls.vue?vue&type=style&index=0&id=6cdecb05&prod&scoped=true&lang=scss&
|
|
23910
|
+
var TextureSlidesControlsvue_type_style_index_0_id_6cdecb05_prod_scoped_true_lang_scss_ = __webpack_require__("c594");
|
|
23911
|
+
|
|
23912
|
+
// CONCATENATED MODULE: ./src/components/TextureSlidesControls.vue
|
|
23913
|
+
|
|
23914
|
+
|
|
23915
|
+
|
|
23916
|
+
|
|
23917
|
+
|
|
23918
|
+
|
|
23919
|
+
/* normalize component */
|
|
23920
|
+
|
|
23921
|
+
var TextureSlidesControls_component = normalizeComponent(
|
|
23922
|
+
components_TextureSlidesControlsvue_type_script_lang_js_,
|
|
23923
|
+
TextureSlidesControlsvue_type_template_id_6cdecb05_scoped_true_render,
|
|
23924
|
+
TextureSlidesControlsvue_type_template_id_6cdecb05_scoped_true_staticRenderFns,
|
|
23925
|
+
false,
|
|
23926
|
+
null,
|
|
23927
|
+
"6cdecb05",
|
|
23928
|
+
null
|
|
23929
|
+
|
|
23930
|
+
)
|
|
23931
|
+
|
|
23932
|
+
/* harmony default export */ var TextureSlidesControls = (TextureSlidesControls_component.exports);
|
|
23933
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/PrimitiveControls.vue?vue&type=script&lang=js&
|
|
23934
|
+
|
|
23935
|
+
|
|
23936
|
+
|
|
23937
|
+
|
|
23938
|
+
|
|
23939
|
+
|
|
23940
|
+
/* eslint-disable no-alert, no-console */
|
|
23941
|
+
|
|
23942
|
+
|
|
23943
|
+
|
|
23944
|
+
|
|
23945
|
+
|
|
23946
|
+
locale_default.a.use(en_default.a);
|
|
23947
|
+
external_vue_default.a.use(lib_drawer_default.a);
|
|
23948
|
+
external_vue_default.a.use(lib_icon_default.a);
|
|
23949
|
+
|
|
23950
|
+
/**
|
|
23951
|
+
* A component to control the opacity of the target object.
|
|
23952
|
+
*/
|
|
23953
|
+
/* harmony default export */ var PrimitiveControlsvue_type_script_lang_js_ = ({
|
|
23954
|
+
name: "PrimitiveControls",
|
|
23955
|
+
components: {
|
|
23956
|
+
OpacityControls: OpacityControls,
|
|
23957
|
+
TextureSlidesControls: TextureSlidesControls
|
|
23958
|
+
},
|
|
23959
|
+
data: function data() {
|
|
23960
|
+
return {
|
|
23961
|
+
material: undefined,
|
|
23962
|
+
isTextureSlides: false,
|
|
23963
|
+
drawerOpen: true
|
|
23964
|
+
};
|
|
23965
|
+
},
|
|
23966
|
+
mounted: function mounted() {
|
|
23967
|
+
this._zincobject = undefined;
|
|
23968
|
+
},
|
|
23969
|
+
methods: {
|
|
23970
|
+
formatTooltip: function formatTooltip(val) {
|
|
23971
|
+
this.displayString = Math.floor(100 * val + 0.5) + "%";
|
|
23972
|
+
return this.displayString;
|
|
23973
|
+
},
|
|
23974
|
+
toggleDrawer: function toggleDrawer() {
|
|
23975
|
+
this.drawerOpen = !this.drawerOpen;
|
|
23976
|
+
},
|
|
23977
|
+
setObject: function setObject(object) {
|
|
23978
|
+
this._zincobject = object;
|
|
23979
|
+
if (object.isTextureSlides) {
|
|
23980
|
+
this.isTextureSlides = true;
|
|
23981
|
+
this.$refs.tSlidesControls.setObject(object);
|
|
23982
|
+
} else {
|
|
23983
|
+
this.isTextureSlides = false;
|
|
23984
|
+
}
|
|
23985
|
+
if (object && object.morph) this.material = object.morph.material;else this.material = undefined;
|
|
23986
|
+
this.$refs.opacityControls.setObject(object);
|
|
23987
|
+
}
|
|
23988
|
+
}
|
|
23989
|
+
});
|
|
23990
|
+
// CONCATENATED MODULE: ./src/components/PrimitiveControls.vue?vue&type=script&lang=js&
|
|
23991
|
+
/* harmony default export */ var components_PrimitiveControlsvue_type_script_lang_js_ = (PrimitiveControlsvue_type_script_lang_js_);
|
|
23992
|
+
// EXTERNAL MODULE: ./src/components/PrimitiveControls.vue?vue&type=style&index=0&id=743fe26a&prod&scoped=true&lang=scss&
|
|
23993
|
+
var PrimitiveControlsvue_type_style_index_0_id_743fe26a_prod_scoped_true_lang_scss_ = __webpack_require__("7ee7");
|
|
23994
|
+
|
|
23995
|
+
// CONCATENATED MODULE: ./src/components/PrimitiveControls.vue
|
|
23996
|
+
|
|
23997
|
+
|
|
23998
|
+
|
|
23999
|
+
|
|
24000
|
+
|
|
24001
|
+
|
|
24002
|
+
/* normalize component */
|
|
24003
|
+
|
|
24004
|
+
var PrimitiveControls_component = normalizeComponent(
|
|
24005
|
+
components_PrimitiveControlsvue_type_script_lang_js_,
|
|
24006
|
+
PrimitiveControlsvue_type_template_id_743fe26a_scoped_true_render,
|
|
24007
|
+
PrimitiveControlsvue_type_template_id_743fe26a_scoped_true_staticRenderFns,
|
|
24008
|
+
false,
|
|
24009
|
+
null,
|
|
24010
|
+
"743fe26a",
|
|
24011
|
+
null
|
|
24012
|
+
|
|
24013
|
+
)
|
|
24014
|
+
|
|
24015
|
+
/* harmony default export */ var PrimitiveControls = (PrimitiveControls_component.exports);
|
|
24016
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"efd025c0-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/ScaffoldTooltip.vue?vue&type=template&id=0cbe500c&scoped=true&
|
|
23295
24017
|
var ScaffoldTooltipvue_type_template_id_0cbe500c_scoped_true_render = function render() {
|
|
23296
24018
|
var _vm = this,
|
|
23297
24019
|
_c = _vm._self._c;
|
|
@@ -23339,8 +24061,8 @@ var es_number_constructor_js_ = __webpack_require__("f989");
|
|
|
23339
24061
|
locale_default.a.use(en_default.a);
|
|
23340
24062
|
external_vue_default.a.use(lib_popover_default.a);
|
|
23341
24063
|
|
|
23342
|
-
/**
|
|
23343
|
-
* A component to control the opacity of the target object.
|
|
24064
|
+
/**
|
|
24065
|
+
* A component to control the opacity of the target object.
|
|
23344
24066
|
*/
|
|
23345
24067
|
/* harmony default export */ var ScaffoldTooltipvue_type_script_lang_js_ = ({
|
|
23346
24068
|
name: "ScaffoldTooltip",
|
|
@@ -23431,10 +24153,10 @@ var es_array_includes_js_ = __webpack_require__("85f7");
|
|
|
23431
24153
|
// EXTERNAL MODULE: external "core-js/modules/es.string.includes.js"
|
|
23432
24154
|
var es_string_includes_js_ = __webpack_require__("fd22");
|
|
23433
24155
|
|
|
23434
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
24156
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"efd025c0-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/TreeControls.vue?vue&type=template&id=4328c61c&scoped=true&
|
|
23435
24157
|
|
|
23436
24158
|
|
|
23437
|
-
var
|
|
24159
|
+
var TreeControlsvue_type_template_id_4328c61c_scoped_true_render = function render() {
|
|
23438
24160
|
var _vm = this,
|
|
23439
24161
|
_c = _vm._self._c;
|
|
23440
24162
|
return _c('div', {
|
|
@@ -23507,7 +24229,9 @@ var TreeControlsvue_type_template_id_29a4f879_scoped_true_render = function rend
|
|
|
23507
24229
|
return _vm.setColour(data, $event);
|
|
23508
24230
|
}
|
|
23509
24231
|
}
|
|
23510
|
-
}) : _vm._e(), _c('span', [_vm._v(_vm._s(node.label))])
|
|
24232
|
+
}) : _vm._e(), _c('span', [_vm._v(_vm._s(node.label))]), data.isTextureSlides ? _c('span', {
|
|
24233
|
+
staticClass: "node-options"
|
|
24234
|
+
}, [_vm._v(" (Texture) ")]) : _vm._e()], 1);
|
|
23511
24235
|
}
|
|
23512
24236
|
}])
|
|
23513
24237
|
})], 1)], 1), _c('div', {
|
|
@@ -23523,9 +24247,9 @@ var TreeControlsvue_type_template_id_29a4f879_scoped_true_render = function rend
|
|
|
23523
24247
|
staticClass: "el-icon-arrow-left"
|
|
23524
24248
|
})])]);
|
|
23525
24249
|
};
|
|
23526
|
-
var
|
|
24250
|
+
var TreeControlsvue_type_template_id_4328c61c_scoped_true_staticRenderFns = [];
|
|
23527
24251
|
|
|
23528
|
-
// CONCATENATED MODULE: ./src/components/TreeControls.vue?vue&type=template&id=
|
|
24252
|
+
// CONCATENATED MODULE: ./src/components/TreeControls.vue?vue&type=template&id=4328c61c&scoped=true&
|
|
23529
24253
|
|
|
23530
24254
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
|
|
23531
24255
|
function _arrayLikeToArray(arr, len) {
|
|
@@ -23647,9 +24371,6 @@ var es_string_replace_js_ = __webpack_require__("6378");
|
|
|
23647
24371
|
// EXTERNAL MODULE: external "core-js/modules/es.array.concat.js"
|
|
23648
24372
|
var es_array_concat_js_ = __webpack_require__("ccb0");
|
|
23649
24373
|
|
|
23650
|
-
// EXTERNAL MODULE: external "core-js/modules/es.array.splice.js"
|
|
23651
|
-
var es_array_splice_js_ = __webpack_require__("f3b8");
|
|
23652
|
-
|
|
23653
24374
|
// EXTERNAL MODULE: external "core-js/modules/es.array.map.js"
|
|
23654
24375
|
var es_array_map_js_ = __webpack_require__("4391");
|
|
23655
24376
|
|
|
@@ -23993,14 +24714,14 @@ var nameSorting = function nameSorting(a, b) {
|
|
|
23993
24714
|
return 0;
|
|
23994
24715
|
};
|
|
23995
24716
|
|
|
23996
|
-
/**
|
|
23997
|
-
* A vue component for toggling visibility of various regions.
|
|
24717
|
+
/**
|
|
24718
|
+
* A vue component for toggling visibility of various regions.
|
|
23998
24719
|
*/
|
|
23999
24720
|
/* harmony default export */ var TreeControlsvue_type_script_lang_js_ = ({
|
|
24000
24721
|
name: "TreeControls",
|
|
24001
24722
|
props: {
|
|
24002
|
-
/**
|
|
24003
|
-
* Enable/disable colour picker
|
|
24723
|
+
/**
|
|
24724
|
+
* Enable/disable colour picker
|
|
24004
24725
|
*/
|
|
24005
24726
|
showColourPicker: Boolean,
|
|
24006
24727
|
isReady: Boolean
|
|
@@ -24079,8 +24800,8 @@ var nameSorting = function nameSorting(a, b) {
|
|
|
24079
24800
|
return data;
|
|
24080
24801
|
}
|
|
24081
24802
|
},
|
|
24082
|
-
/**
|
|
24083
|
-
* This is called when a new zinc object is read into the scene.
|
|
24803
|
+
/**
|
|
24804
|
+
* This is called when a new zinc object is read into the scene.
|
|
24084
24805
|
*/
|
|
24085
24806
|
zincObjectAdded: function zincObjectAdded(zincObject) {
|
|
24086
24807
|
// Using the new uuid, the cavaet of that is graphics with
|
|
@@ -24100,7 +24821,8 @@ var nameSorting = function nameSorting(a, b) {
|
|
|
24100
24821
|
label: zincObject.groupName,
|
|
24101
24822
|
id: region.uuid + "/" + zincObject.uuid,
|
|
24102
24823
|
isPrimitives: true,
|
|
24103
|
-
regionPath: zincObject.region.getFullPath()
|
|
24824
|
+
regionPath: zincObject.region.getFullPath(),
|
|
24825
|
+
isTextureSlides: zincObject.isTextureSlides ? true : false
|
|
24104
24826
|
};
|
|
24105
24827
|
this.addTreeItem(regionData.children, child);
|
|
24106
24828
|
}
|
|
@@ -24147,16 +24869,16 @@ var nameSorting = function nameSorting(a, b) {
|
|
|
24147
24869
|
this.removeHover(propagate);
|
|
24148
24870
|
}
|
|
24149
24871
|
},
|
|
24150
|
-
/**
|
|
24151
|
-
* Select a region by its name.
|
|
24872
|
+
/**
|
|
24873
|
+
* Select a region by its name.
|
|
24152
24874
|
*/
|
|
24153
24875
|
changeActiveByNames: function changeActiveByNames(names, regionPath, propagate) {
|
|
24154
24876
|
var rootRegion = this.$module.scene.getRootRegion();
|
|
24155
24877
|
var targetObjects = utilities_findObjectsWithNames(rootRegion, names, regionPath, true);
|
|
24156
24878
|
this.changeActiveByPrimitives(targetObjects, propagate);
|
|
24157
24879
|
},
|
|
24158
|
-
/**
|
|
24159
|
-
* Hover a region by its name.
|
|
24880
|
+
/**
|
|
24881
|
+
* Hover a region by its name.
|
|
24160
24882
|
*/
|
|
24161
24883
|
changeHoverByNames: function changeHoverByNames(names, regionPath, propagate) {
|
|
24162
24884
|
var rootRegion = this.$module.scene.getRootRegion();
|
|
@@ -24176,22 +24898,22 @@ var nameSorting = function nameSorting(a, b) {
|
|
|
24176
24898
|
this.changeHoverByPrimitives(targetObjects, propagate);
|
|
24177
24899
|
}
|
|
24178
24900
|
},
|
|
24179
|
-
/**
|
|
24180
|
-
* Unselect the current selected region.
|
|
24901
|
+
/**
|
|
24902
|
+
* Unselect the current selected region.
|
|
24181
24903
|
*/
|
|
24182
24904
|
removeActive: function removeActive(propagate) {
|
|
24183
24905
|
this.active = [];
|
|
24184
24906
|
this.$emit("object-selected", [], propagate);
|
|
24185
24907
|
},
|
|
24186
|
-
/**
|
|
24187
|
-
* Unselect the current hover region.
|
|
24908
|
+
/**
|
|
24909
|
+
* Unselect the current hover region.
|
|
24188
24910
|
*/
|
|
24189
24911
|
removeHover: function removeHover(propagate) {
|
|
24190
24912
|
this.hover = [];
|
|
24191
24913
|
this.$emit("object-hovered", [], propagate);
|
|
24192
24914
|
},
|
|
24193
|
-
/**
|
|
24194
|
-
* Reset the controls.
|
|
24915
|
+
/**
|
|
24916
|
+
* Reset the controls.
|
|
24195
24917
|
*/
|
|
24196
24918
|
clear: function clear() {
|
|
24197
24919
|
this.active.length = 0;
|
|
@@ -24349,11 +25071,11 @@ var nameSorting = function nameSorting(a, b) {
|
|
|
24349
25071
|
});
|
|
24350
25072
|
// CONCATENATED MODULE: ./src/components/TreeControls.vue?vue&type=script&lang=js&
|
|
24351
25073
|
/* harmony default export */ var components_TreeControlsvue_type_script_lang_js_ = (TreeControlsvue_type_script_lang_js_);
|
|
24352
|
-
// EXTERNAL MODULE: ./src/components/TreeControls.vue?vue&type=style&index=0&id=
|
|
24353
|
-
var
|
|
25074
|
+
// EXTERNAL MODULE: ./src/components/TreeControls.vue?vue&type=style&index=0&id=4328c61c&prod&scoped=true&lang=scss&
|
|
25075
|
+
var TreeControlsvue_type_style_index_0_id_4328c61c_prod_scoped_true_lang_scss_ = __webpack_require__("dbe6");
|
|
24354
25076
|
|
|
24355
|
-
// EXTERNAL MODULE: ./src/components/TreeControls.vue?vue&type=style&index=1&id=
|
|
24356
|
-
var
|
|
25077
|
+
// EXTERNAL MODULE: ./src/components/TreeControls.vue?vue&type=style&index=1&id=4328c61c&prod&lang=css&
|
|
25078
|
+
var TreeControlsvue_type_style_index_1_id_4328c61c_prod_lang_css_ = __webpack_require__("97dc");
|
|
24357
25079
|
|
|
24358
25080
|
// CONCATENATED MODULE: ./src/components/TreeControls.vue
|
|
24359
25081
|
|
|
@@ -24367,11 +25089,11 @@ var TreeControlsvue_type_style_index_1_id_29a4f879_prod_lang_css_ = __webpack_re
|
|
|
24367
25089
|
|
|
24368
25090
|
var TreeControls_component = normalizeComponent(
|
|
24369
25091
|
components_TreeControlsvue_type_script_lang_js_,
|
|
24370
|
-
|
|
24371
|
-
|
|
25092
|
+
TreeControlsvue_type_template_id_4328c61c_scoped_true_render,
|
|
25093
|
+
TreeControlsvue_type_template_id_4328c61c_scoped_true_staticRenderFns,
|
|
24372
25094
|
false,
|
|
24373
25095
|
null,
|
|
24374
|
-
"
|
|
25096
|
+
"4328c61c",
|
|
24375
25097
|
null
|
|
24376
25098
|
|
|
24377
25099
|
)
|
|
@@ -24428,24 +25150,24 @@ var external_minisearch_default = /*#__PURE__*/__webpack_require__.n(external_mi
|
|
|
24428
25150
|
|
|
24429
25151
|
|
|
24430
25152
|
|
|
24431
|
-
/******************************************************************************
|
|
24432
|
-
|
|
24433
|
-
Flatmap viewer and annotation tool
|
|
24434
|
-
|
|
24435
|
-
Copyright (c) 2019 David Brooks
|
|
24436
|
-
|
|
24437
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
24438
|
-
you may not use this file except in compliance with the License.
|
|
24439
|
-
You may obtain a copy of the License at
|
|
24440
|
-
|
|
24441
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
24442
|
-
|
|
24443
|
-
Unless required by applicable law or agreed to in writing, software
|
|
24444
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
24445
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
24446
|
-
See the License for the specific language governing permissions and
|
|
24447
|
-
limitations under the License.
|
|
24448
|
-
|
|
25153
|
+
/******************************************************************************
|
|
25154
|
+
|
|
25155
|
+
Flatmap viewer and annotation tool
|
|
25156
|
+
|
|
25157
|
+
Copyright (c) 2019 David Brooks
|
|
25158
|
+
|
|
25159
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
25160
|
+
you may not use this file except in compliance with the License.
|
|
25161
|
+
You may obtain a copy of the License at
|
|
25162
|
+
|
|
25163
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
25164
|
+
|
|
25165
|
+
Unless required by applicable law or agreed to in writing, software
|
|
25166
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
25167
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
25168
|
+
See the License for the specific language governing permissions and
|
|
25169
|
+
limitations under the License.
|
|
25170
|
+
|
|
24449
25171
|
******************************************************************************/
|
|
24450
25172
|
|
|
24451
25173
|
//==============================================================================
|
|
@@ -24709,72 +25431,72 @@ external_vue_default.a.use(lib_tabs_default.a);
|
|
|
24709
25431
|
var OrgansViewer = __webpack_require__("53d7").OrgansViewer;
|
|
24710
25432
|
var EventNotifier = __webpack_require__("9b21").EventNotifier;
|
|
24711
25433
|
|
|
24712
|
-
/**
|
|
24713
|
-
* A vue component of the scaffold viewer.
|
|
24714
|
-
*
|
|
24715
|
-
* @requires ./
|
|
24716
|
-
* @requires ./TreeControls.vue
|
|
25434
|
+
/**
|
|
25435
|
+
* A vue component of the scaffold viewer.
|
|
25436
|
+
*
|
|
25437
|
+
* @requires ./PrimitveControls.vue
|
|
25438
|
+
* @requires ./TreeControls.vue
|
|
24717
25439
|
*/
|
|
24718
25440
|
/* harmony default export */ var ScaffoldVuervue_type_script_lang_js_ = ({
|
|
24719
25441
|
name: "ScaffoldVuer",
|
|
24720
25442
|
components: {
|
|
24721
25443
|
MapSvgIcon: svg_sprite_["MapSvgIcon"],
|
|
24722
25444
|
MapSvgSpriteColor: svg_sprite_["MapSvgSpriteColor"],
|
|
24723
|
-
|
|
25445
|
+
PrimitiveControls: PrimitiveControls,
|
|
24724
25446
|
ScaffoldTooltip: ScaffoldTooltip,
|
|
24725
25447
|
TreeControls: TreeControls
|
|
24726
25448
|
},
|
|
24727
25449
|
props: {
|
|
24728
|
-
/**
|
|
24729
|
-
* URL of the zincjs metadata. This value will be ignored if a valid
|
|
24730
|
-
* state prop is also provided.
|
|
24731
|
-
* If the url needs to be updated with state present, please use
|
|
24732
|
-
* the setURL method.
|
|
25450
|
+
/**
|
|
25451
|
+
* URL of the zincjs metadata. This value will be ignored if a valid
|
|
25452
|
+
* state prop is also provided.
|
|
25453
|
+
* If the url needs to be updated with state present, please use
|
|
25454
|
+
* the setURL method.
|
|
24733
25455
|
*/
|
|
24734
25456
|
url: {
|
|
24735
25457
|
type: String,
|
|
24736
25458
|
default: ""
|
|
24737
25459
|
},
|
|
24738
|
-
/**
|
|
24739
|
-
* Show the colour control of set to true.
|
|
25460
|
+
/**
|
|
25461
|
+
* Show the colour control of set to true.
|
|
24740
25462
|
*/
|
|
24741
25463
|
showColourPicker: {
|
|
24742
25464
|
type: Boolean,
|
|
24743
25465
|
default: false
|
|
24744
25466
|
},
|
|
24745
|
-
/**
|
|
24746
|
-
* Flag to show/hide the UI.
|
|
25467
|
+
/**
|
|
25468
|
+
* Flag to show/hide the UI.
|
|
24747
25469
|
*/
|
|
24748
25470
|
displayUI: {
|
|
24749
25471
|
type: Boolean,
|
|
24750
25472
|
default: true
|
|
24751
25473
|
},
|
|
24752
|
-
/**
|
|
24753
|
-
* Display all graphics at start.
|
|
24754
|
-
*
|
|
24755
|
-
* This setting only works when traditional is set to false.
|
|
25474
|
+
/**
|
|
25475
|
+
* Display all graphics at start.
|
|
25476
|
+
*
|
|
25477
|
+
* This setting only works when traditional is set to false.
|
|
24756
25478
|
*/
|
|
24757
25479
|
displayAtStartUp: {
|
|
24758
25480
|
type: Boolean,
|
|
24759
25481
|
default: true
|
|
24760
25482
|
},
|
|
24761
|
-
/**
|
|
24762
|
-
* Use for toggling the help tooltips.
|
|
25483
|
+
/**
|
|
25484
|
+
* Use for toggling the help tooltips.
|
|
24763
25485
|
*/
|
|
24764
25486
|
helpMode: {
|
|
24765
25487
|
type: Boolean,
|
|
24766
25488
|
default: false
|
|
24767
25489
|
},
|
|
24768
|
-
/**
|
|
24769
|
-
* Use for show/display beta warning icon.
|
|
25490
|
+
/**
|
|
25491
|
+
* Use for show/display beta warning icon.
|
|
24770
25492
|
*/
|
|
24771
25493
|
displayWarning: {
|
|
24772
25494
|
type: Boolean,
|
|
24773
25495
|
default: true
|
|
24774
25496
|
},
|
|
24775
|
-
/**
|
|
24776
|
-
* Warning message for the hovered over text
|
|
24777
|
-
* on the warning icon.
|
|
25497
|
+
/**
|
|
25498
|
+
* Warning message for the hovered over text
|
|
25499
|
+
* on the warning icon.
|
|
24778
25500
|
*/
|
|
24779
25501
|
warningMessage: {
|
|
24780
25502
|
type: String,
|
|
@@ -24788,8 +25510,8 @@ var EventNotifier = __webpack_require__("9b21").EventNotifier;
|
|
|
24788
25510
|
type: String,
|
|
24789
25511
|
default: "New feature - Local search is now available"
|
|
24790
25512
|
},
|
|
24791
|
-
/**
|
|
24792
|
-
* Show/hide pickable markers for regions.
|
|
25513
|
+
/**
|
|
25514
|
+
* Show/hide pickable markers for regions.
|
|
24793
25515
|
*/
|
|
24794
25516
|
displayMarkers: {
|
|
24795
25517
|
type: Boolean,
|
|
@@ -24801,22 +25523,22 @@ var EventNotifier = __webpack_require__("9b21").EventNotifier;
|
|
|
24801
25523
|
return [];
|
|
24802
25524
|
}
|
|
24803
25525
|
},
|
|
24804
|
-
/**
|
|
24805
|
-
* Show/hide minimap.
|
|
25526
|
+
/**
|
|
25527
|
+
* Show/hide minimap.
|
|
24806
25528
|
*/
|
|
24807
25529
|
displayMinimap: {
|
|
24808
25530
|
type: Boolean,
|
|
24809
25531
|
default: false
|
|
24810
25532
|
},
|
|
24811
|
-
/**
|
|
24812
|
-
* Format of the input URL
|
|
25533
|
+
/**
|
|
25534
|
+
* Format of the input URL
|
|
24813
25535
|
*/
|
|
24814
25536
|
format: {
|
|
24815
25537
|
type: String,
|
|
24816
25538
|
default: "metadata"
|
|
24817
25539
|
},
|
|
24818
|
-
/**
|
|
24819
|
-
* Settings for minimap position, size and alignment.
|
|
25540
|
+
/**
|
|
25541
|
+
* Settings for minimap position, size and alignment.
|
|
24820
25542
|
*/
|
|
24821
25543
|
minimapSettings: {
|
|
24822
25544
|
type: Object,
|
|
@@ -24830,9 +25552,9 @@ var EventNotifier = __webpack_require__("9b21").EventNotifier;
|
|
|
24830
25552
|
};
|
|
24831
25553
|
}
|
|
24832
25554
|
},
|
|
24833
|
-
/**
|
|
24834
|
-
* Flag to determine rather open map UI should be
|
|
24835
|
-
* presented or not.
|
|
25555
|
+
/**
|
|
25556
|
+
* Flag to determine rather open map UI should be
|
|
25557
|
+
* presented or not.
|
|
24836
25558
|
*/
|
|
24837
25559
|
enableOpenMapUI: {
|
|
24838
25560
|
type: Boolean,
|
|
@@ -24853,32 +25575,32 @@ var EventNotifier = __webpack_require__("9b21").EventNotifier;
|
|
|
24853
25575
|
}];
|
|
24854
25576
|
}
|
|
24855
25577
|
},
|
|
24856
|
-
/**
|
|
24857
|
-
* State containing state of the scaffold.
|
|
25578
|
+
/**
|
|
25579
|
+
* State containing state of the scaffold.
|
|
24858
25580
|
*/
|
|
24859
25581
|
state: {
|
|
24860
25582
|
type: Object,
|
|
24861
25583
|
default: undefined
|
|
24862
25584
|
},
|
|
24863
|
-
/**
|
|
24864
|
-
* Optional prop for the name of the region to focus on,
|
|
24865
|
-
* this option is ignored if state or viewURL is also provided.
|
|
25585
|
+
/**
|
|
25586
|
+
* Optional prop for the name of the region to focus on,
|
|
25587
|
+
* this option is ignored if state or viewURL is also provided.
|
|
24866
25588
|
*/
|
|
24867
25589
|
region: {
|
|
24868
25590
|
type: String,
|
|
24869
25591
|
default: ""
|
|
24870
25592
|
},
|
|
24871
|
-
/**
|
|
24872
|
-
* Optional prop for an URL of containing information of a viewport.
|
|
24873
|
-
* This option is ignored if state is also provided.
|
|
24874
|
-
* It will use the provided URL as base if a relative parth is provided.
|
|
25593
|
+
/**
|
|
25594
|
+
* Optional prop for an URL of containing information of a viewport.
|
|
25595
|
+
* This option is ignored if state is also provided.
|
|
25596
|
+
* It will use the provided URL as base if a relative parth is provided.
|
|
24875
25597
|
*/
|
|
24876
25598
|
viewURL: {
|
|
24877
25599
|
type: String,
|
|
24878
25600
|
default: ""
|
|
24879
25601
|
},
|
|
24880
|
-
/**
|
|
24881
|
-
* Settings for turning on/off rendering
|
|
25602
|
+
/**
|
|
25603
|
+
* Settings for turning on/off rendering
|
|
24882
25604
|
*/
|
|
24883
25605
|
render: {
|
|
24884
25606
|
type: Boolean,
|
|
@@ -24890,8 +25612,8 @@ var EventNotifier = __webpack_require__("9b21").EventNotifier;
|
|
|
24890
25612
|
sceneData: this.$module.sceneData,
|
|
24891
25613
|
isPlaying: false,
|
|
24892
25614
|
isReady: false,
|
|
24893
|
-
/**
|
|
24894
|
-
* This is set when scene is transitioning.
|
|
25615
|
+
/**
|
|
25616
|
+
* This is set when scene is transitioning.
|
|
24895
25617
|
*/
|
|
24896
25618
|
isTransitioning: false,
|
|
24897
25619
|
tooltipAppendToBody: false,
|
|
@@ -25002,11 +25724,11 @@ var EventNotifier = __webpack_require__("9b21").EventNotifier;
|
|
|
25002
25724
|
this.$module.scene.displayMinimap = val;
|
|
25003
25725
|
},
|
|
25004
25726
|
"sceneData.currentTime": function sceneDataCurrentTime() {
|
|
25005
|
-
/**
|
|
25006
|
-
* Triggers when scene time changes.
|
|
25007
|
-
*
|
|
25008
|
-
* @property {number} time Current build-in time of scene.
|
|
25009
|
-
* of selected object.
|
|
25727
|
+
/**
|
|
25728
|
+
* Triggers when scene time changes.
|
|
25729
|
+
*
|
|
25730
|
+
* @property {number} time Current build-in time of scene.
|
|
25731
|
+
* of selected object.
|
|
25010
25732
|
*/
|
|
25011
25733
|
this.$emit("timeChanged", this.sceneData.currentTime);
|
|
25012
25734
|
},
|
|
@@ -25022,7 +25744,6 @@ var EventNotifier = __webpack_require__("9b21").EventNotifier;
|
|
|
25022
25744
|
},
|
|
25023
25745
|
markerLabels: function markerLabels(labels) {
|
|
25024
25746
|
var _this = this;
|
|
25025
|
-
console.log("marker labels changed", labels);
|
|
25026
25747
|
this.previousMarkerLabels.forEach(function (pml) {
|
|
25027
25748
|
_this.setMarkerModeForObjectsWithName(pml, "off");
|
|
25028
25749
|
});
|
|
@@ -25065,16 +25786,16 @@ var EventNotifier = __webpack_require__("9b21").EventNotifier;
|
|
|
25065
25786
|
if (this.$refs.treeControls) this.$refs.treeControls.zincObjectAdded(zincObject);
|
|
25066
25787
|
}
|
|
25067
25788
|
},
|
|
25068
|
-
/**
|
|
25069
|
-
* This is called when a new zinc object is read into the scene.
|
|
25789
|
+
/**
|
|
25790
|
+
* This is called when a new zinc object is read into the scene.
|
|
25070
25791
|
*/
|
|
25071
25792
|
zincObjectAdded: function zincObjectAdded(zincObject) {
|
|
25072
25793
|
this.loading = false;
|
|
25073
25794
|
this.$_searchIndex.addZincObject(zincObject, zincObject.uuid);
|
|
25074
25795
|
this.$emit("zinc-object-added", zincObject);
|
|
25075
25796
|
},
|
|
25076
|
-
/**
|
|
25077
|
-
*
|
|
25797
|
+
/**
|
|
25798
|
+
*
|
|
25078
25799
|
*/
|
|
25079
25800
|
addRegionsToSearchIndex: function addRegionsToSearchIndex() {
|
|
25080
25801
|
var _this2 = this;
|
|
@@ -25084,19 +25805,19 @@ var EventNotifier = __webpack_require__("9b21").EventNotifier;
|
|
|
25084
25805
|
_this2.$_searchIndex.addRegion(region, region.uuid);
|
|
25085
25806
|
});
|
|
25086
25807
|
},
|
|
25087
|
-
/**
|
|
25088
|
-
* This is called when Change backgspeedround colour button
|
|
25089
|
-
* is pressed an causes the backgrouColornd colour to be changed
|
|
25090
|
-
* to one of the three preset colour: white, black and
|
|
25091
|
-
* lightskyblue.
|
|
25808
|
+
/**
|
|
25809
|
+
* This is called when Change backgspeedround colour button
|
|
25810
|
+
* is pressed an causes the backgrouColornd colour to be changed
|
|
25811
|
+
* to one of the three preset colour: white, black and
|
|
25812
|
+
* lightskyblue.
|
|
25092
25813
|
*/
|
|
25093
25814
|
backgroundChangeCallback: function backgroundChangeCallback(colour) {
|
|
25094
25815
|
this.currentBackground = colour;
|
|
25095
25816
|
this.$module.zincRenderer.getThreeJSRenderer().setClearColor(this.currentBackground, 1);
|
|
25096
25817
|
},
|
|
25097
|
-
/**
|
|
25098
|
-
* This is called by captueeScreenshot and after the last render
|
|
25099
|
-
* loop, it download a screenshot of the current scene with no UI.
|
|
25818
|
+
/**
|
|
25819
|
+
* This is called by captueeScreenshot and after the last render
|
|
25820
|
+
* loop, it download a screenshot of the current scene with no UI.
|
|
25100
25821
|
*/
|
|
25101
25822
|
captureScreenshotCallback: function captureScreenshotCallback() {
|
|
25102
25823
|
//Remove the callback, only needs to happen once
|
|
@@ -25109,21 +25830,21 @@ var EventNotifier = __webpack_require__("9b21").EventNotifier;
|
|
|
25109
25830
|
hrefElement.click();
|
|
25110
25831
|
hrefElement.remove();
|
|
25111
25832
|
},
|
|
25112
|
-
/**
|
|
25113
|
-
* Function for capturing a screenshot of the current rendering.
|
|
25114
|
-
*
|
|
25115
|
-
* @param {String} filename filename given to the screenshot.
|
|
25116
|
-
*
|
|
25117
|
-
* @public
|
|
25833
|
+
/**
|
|
25834
|
+
* Function for capturing a screenshot of the current rendering.
|
|
25835
|
+
*
|
|
25836
|
+
* @param {String} filename filename given to the screenshot.
|
|
25837
|
+
*
|
|
25838
|
+
* @public
|
|
25118
25839
|
*/
|
|
25119
25840
|
captureScreenshot: function captureScreenshot(filename) {
|
|
25120
25841
|
this.captureFilename = filename;
|
|
25121
25842
|
this.captureID = this.$module.zincRenderer.addPostRenderCallbackFunction(this.captureScreenshotCallback);
|
|
25122
25843
|
},
|
|
25123
|
-
/**
|
|
25124
|
-
* Function to clear current scene, the tree controls and the search index.
|
|
25125
|
-
*
|
|
25126
|
-
* @public
|
|
25844
|
+
/**
|
|
25845
|
+
* Function to clear current scene, the tree controls and the search index.
|
|
25846
|
+
*
|
|
25847
|
+
* @public
|
|
25127
25848
|
*/
|
|
25128
25849
|
clearScene: function clearScene() {
|
|
25129
25850
|
if (this.$refs.treeControls) this.$refs.treeControls.clear();
|
|
@@ -25140,52 +25861,52 @@ var EventNotifier = __webpack_require__("9b21").EventNotifier;
|
|
|
25140
25861
|
}
|
|
25141
25862
|
return val ? val.toFixed(2) + " ms" : "0 ms";
|
|
25142
25863
|
},
|
|
25143
|
-
/**
|
|
25144
|
-
* Function to reset the view to default.
|
|
25145
|
-
* Also called when the associated button is pressed.
|
|
25146
|
-
*
|
|
25147
|
-
* @public
|
|
25864
|
+
/**
|
|
25865
|
+
* Function to reset the view to default.
|
|
25866
|
+
* Also called when the associated button is pressed.
|
|
25867
|
+
*
|
|
25868
|
+
* @public
|
|
25148
25869
|
*/
|
|
25149
25870
|
fitWindow: function fitWindow() {
|
|
25150
25871
|
if (this.$module.scene) {
|
|
25151
25872
|
this.$module.scene.viewAll();
|
|
25152
25873
|
}
|
|
25153
25874
|
},
|
|
25154
|
-
/**
|
|
25155
|
-
* Function to zoom in.
|
|
25156
|
-
* Also called when the associated button is pressed.
|
|
25157
|
-
*
|
|
25158
|
-
* @public
|
|
25875
|
+
/**
|
|
25876
|
+
* Function to zoom in.
|
|
25877
|
+
* Also called when the associated button is pressed.
|
|
25878
|
+
*
|
|
25879
|
+
* @public
|
|
25159
25880
|
*/
|
|
25160
25881
|
zoomIn: function zoomIn() {
|
|
25161
25882
|
if (this.$module.scene) {
|
|
25162
25883
|
this.$module.scene.changeZoomByScrollRateUnit(-1);
|
|
25163
25884
|
}
|
|
25164
25885
|
},
|
|
25165
|
-
/**
|
|
25166
|
-
* Function to zoom out.
|
|
25167
|
-
* Also called when the associated button is pressed.
|
|
25168
|
-
*
|
|
25169
|
-
* @public
|
|
25886
|
+
/**
|
|
25887
|
+
* Function to zoom out.
|
|
25888
|
+
* Also called when the associated button is pressed.
|
|
25889
|
+
*
|
|
25890
|
+
* @public
|
|
25170
25891
|
*/
|
|
25171
25892
|
zoomOut: function zoomOut() {
|
|
25172
25893
|
if (this.$module.scene) {
|
|
25173
25894
|
this.$module.scene.changeZoomByScrollRateUnit(1);
|
|
25174
25895
|
}
|
|
25175
25896
|
},
|
|
25176
|
-
/**
|
|
25177
|
-
* Function to change the current play speed.
|
|
25178
|
-
*
|
|
25179
|
-
* @public
|
|
25897
|
+
/**
|
|
25898
|
+
* Function to change the current play speed.
|
|
25899
|
+
*
|
|
25900
|
+
* @public
|
|
25180
25901
|
*/
|
|
25181
25902
|
speedChanged: function speedChanged(speed) {
|
|
25182
25903
|
this.currentSpeed = speed;
|
|
25183
25904
|
this.$module.setPlayRate(this.defaultRate * this.currentSpeed);
|
|
25184
25905
|
},
|
|
25185
|
-
/**
|
|
25186
|
-
* Function used to stop the free spin
|
|
25187
|
-
*
|
|
25188
|
-
* @public
|
|
25906
|
+
/**
|
|
25907
|
+
* Function used to stop the free spin
|
|
25908
|
+
*
|
|
25909
|
+
* @public
|
|
25189
25910
|
*/
|
|
25190
25911
|
stopFreeSpin: function stopFreeSpin() {
|
|
25191
25912
|
var cameracontrol = this.$module.scene.getZincCameraControls();
|
|
@@ -25199,8 +25920,8 @@ var EventNotifier = __webpack_require__("9b21").EventNotifier;
|
|
|
25199
25920
|
}
|
|
25200
25921
|
return objects;
|
|
25201
25922
|
},
|
|
25202
|
-
/**
|
|
25203
|
-
* Focus on named region
|
|
25923
|
+
/**
|
|
25924
|
+
* Focus on named region
|
|
25204
25925
|
*/
|
|
25205
25926
|
viewRegion: function viewRegion(names) {
|
|
25206
25927
|
var rootRegion = this.$module.scene.getRootRegion();
|
|
@@ -25249,11 +25970,11 @@ var EventNotifier = __webpack_require__("9b21").EventNotifier;
|
|
|
25249
25970
|
}
|
|
25250
25971
|
return undefined;
|
|
25251
25972
|
},
|
|
25252
|
-
/**
|
|
25253
|
-
* Function used to rotate the scene.
|
|
25254
|
-
* Also called when the associated button is pressed.
|
|
25255
|
-
*
|
|
25256
|
-
* @public
|
|
25973
|
+
/**
|
|
25974
|
+
* Function used to rotate the scene.
|
|
25975
|
+
* Also called when the associated button is pressed.
|
|
25976
|
+
*
|
|
25977
|
+
* @public
|
|
25257
25978
|
*/
|
|
25258
25979
|
freeSpin: function freeSpin() {
|
|
25259
25980
|
if (this.$module.scene) {
|
|
@@ -25264,10 +25985,10 @@ var EventNotifier = __webpack_require__("9b21").EventNotifier;
|
|
|
25264
25985
|
setTimeout(this.stopFreeSpin, 4000);
|
|
25265
25986
|
}
|
|
25266
25987
|
},
|
|
25267
|
-
/**
|
|
25268
|
-
* Callback when a region is selected/highlighted.
|
|
25269
|
-
* It will also update other controls.
|
|
25270
|
-
*
|
|
25988
|
+
/**
|
|
25989
|
+
* Callback when a region is selected/highlighted.
|
|
25990
|
+
* It will also update other controls.
|
|
25991
|
+
*
|
|
25271
25992
|
*/
|
|
25272
25993
|
eventNotifierCallback: function eventNotifierCallback(event) {
|
|
25273
25994
|
var names = [];
|
|
@@ -25282,10 +26003,10 @@ var EventNotifier = __webpack_require__("9b21").EventNotifier;
|
|
|
25282
26003
|
});
|
|
25283
26004
|
zincObjects = event.zincObjects;
|
|
25284
26005
|
}
|
|
25285
|
-
/*
|
|
25286
|
-
* Event Type 1: Selected
|
|
25287
|
-
* Event Type 2: Highlighted
|
|
25288
|
-
* Event Type 1: Move
|
|
26006
|
+
/*
|
|
26007
|
+
* Event Type 1: Selected
|
|
26008
|
+
* Event Type 2: Highlighted
|
|
26009
|
+
* Event Type 1: Move
|
|
25289
26010
|
*/
|
|
25290
26011
|
if (event.eventType == 1) {
|
|
25291
26012
|
if (this.$refs.treeControls) {
|
|
@@ -25335,10 +26056,10 @@ var EventNotifier = __webpack_require__("9b21").EventNotifier;
|
|
|
25335
26056
|
}
|
|
25336
26057
|
}
|
|
25337
26058
|
},
|
|
25338
|
-
/**
|
|
25339
|
-
* Get the coordinates of the current selected region.
|
|
25340
|
-
*
|
|
25341
|
-
* @public
|
|
26059
|
+
/**
|
|
26060
|
+
* Get the coordinates of the current selected region.
|
|
26061
|
+
*
|
|
26062
|
+
* @public
|
|
25342
26063
|
*/
|
|
25343
26064
|
getCoordinatesOfSelected: function getCoordinatesOfSelected() {
|
|
25344
26065
|
if (this.selectedObjects && this.selectedObjects.length > 0) {
|
|
@@ -25346,46 +26067,48 @@ var EventNotifier = __webpack_require__("9b21").EventNotifier;
|
|
|
25346
26067
|
}
|
|
25347
26068
|
return undefined;
|
|
25348
26069
|
},
|
|
25349
|
-
/**
|
|
25350
|
-
* Return an object containing the window coordinates of the
|
|
25351
|
-
* current selected region which will be updated after each render
|
|
25352
|
-
* loop.
|
|
25353
|
-
*
|
|
25354
|
-
* @public
|
|
26070
|
+
/**
|
|
26071
|
+
* Return an object containing the window coordinates of the
|
|
26072
|
+
* current selected region which will be updated after each render
|
|
26073
|
+
* loop.
|
|
26074
|
+
*
|
|
26075
|
+
* @public
|
|
25355
26076
|
*/
|
|
25356
26077
|
getDynamicSelectedCoordinates: function getDynamicSelectedCoordinates() {
|
|
25357
26078
|
return this.$module.selectedScreenCoordinates;
|
|
25358
26079
|
},
|
|
25359
|
-
/**
|
|
25360
|
-
* Callback when time is changed through the UI.
|
|
26080
|
+
/**
|
|
26081
|
+
* Callback when time is changed through the UI.
|
|
25361
26082
|
*/
|
|
25362
26083
|
timeChange: function timeChange(event) {
|
|
25363
26084
|
var normalizedTime = event / this.timeMax * 100;
|
|
25364
26085
|
if (normalizedTime != this.sceneData.currentTime) this.$module.updateTime(normalizedTime);
|
|
25365
26086
|
},
|
|
25366
|
-
/**
|
|
25367
|
-
* A callback used by children components. Set the selected zinc object
|
|
25368
|
-
*
|
|
25369
|
-
* @param {object} object Zinc object
|
|
26087
|
+
/**
|
|
26088
|
+
* A callback used by children components. Set the selected zinc object
|
|
26089
|
+
*
|
|
26090
|
+
* @param {object} object Zinc object
|
|
25370
26091
|
*/
|
|
25371
26092
|
objectSelected: function objectSelected(objects, propagate) {
|
|
25372
26093
|
this.selectedObjects = objects;
|
|
25373
|
-
if (this.selectedObjects && this.selectedObjects.length > 0)
|
|
26094
|
+
if (this.selectedObjects && this.selectedObjects.length > 0) {
|
|
26095
|
+
this.$refs.primitiveControls.setObject(this.selectedObjects[0]);
|
|
26096
|
+
}
|
|
25374
26097
|
this.$module.setSelectedByZincObjects(objects, undefined, propagate);
|
|
25375
26098
|
},
|
|
25376
|
-
/**
|
|
25377
|
-
* A callback used by children components. Set the highlighted zinc object
|
|
25378
|
-
*
|
|
25379
|
-
* @param {object} object Zinc object
|
|
26099
|
+
/**
|
|
26100
|
+
* A callback used by children components. Set the highlighted zinc object
|
|
26101
|
+
*
|
|
26102
|
+
* @param {object} object Zinc object
|
|
25380
26103
|
*/
|
|
25381
26104
|
objectHovered: function objectHovered(objects, propagate) {
|
|
25382
26105
|
this.hoveredObjects = objects;
|
|
25383
26106
|
this.$module.setHighlightedByZincObjects(objects, undefined, propagate);
|
|
25384
26107
|
},
|
|
25385
|
-
/**
|
|
25386
|
-
* Set the selected by name.
|
|
25387
|
-
*
|
|
25388
|
-
* @param {} name Name of the group
|
|
26108
|
+
/**
|
|
26109
|
+
* Set the selected by name.
|
|
26110
|
+
*
|
|
26111
|
+
* @param {} name Name of the group
|
|
25389
26112
|
*/
|
|
25390
26113
|
changeActiveByName: function changeActiveByName(names, region, propagate) {
|
|
25391
26114
|
var isArray = Array.isArray(names);
|
|
@@ -25397,10 +26120,10 @@ var EventNotifier = __webpack_require__("9b21").EventNotifier;
|
|
|
25397
26120
|
this.$refs.treeControls.changeActiveByNames(array, region, propagate);
|
|
25398
26121
|
}
|
|
25399
26122
|
},
|
|
25400
|
-
/**
|
|
25401
|
-
* Set the highlighted by name.
|
|
25402
|
-
*
|
|
25403
|
-
* @param {name} name Name of the group
|
|
26123
|
+
/**
|
|
26124
|
+
* Set the highlighted by name.
|
|
26125
|
+
*
|
|
26126
|
+
* @param {name} name Name of the group
|
|
25404
26127
|
*/
|
|
25405
26128
|
changeHighlightedByName: function changeHighlightedByName(names, region, propagate) {
|
|
25406
26129
|
var isArray = Array.isArray(names);
|
|
@@ -25412,10 +26135,10 @@ var EventNotifier = __webpack_require__("9b21").EventNotifier;
|
|
|
25412
26135
|
this.$refs.treeControls.changeHoverByNames(array, region, propagate);
|
|
25413
26136
|
}
|
|
25414
26137
|
},
|
|
25415
|
-
/**
|
|
25416
|
-
* Start the animation.
|
|
25417
|
-
*
|
|
25418
|
-
* @param {object} object Zinc object
|
|
26138
|
+
/**
|
|
26139
|
+
* Start the animation.
|
|
26140
|
+
*
|
|
26141
|
+
* @param {object} object Zinc object
|
|
25419
26142
|
*/
|
|
25420
26143
|
play: function play(flag) {
|
|
25421
26144
|
this.$module.playAnimation(flag);
|
|
@@ -25424,8 +26147,8 @@ var EventNotifier = __webpack_require__("9b21").EventNotifier;
|
|
|
25424
26147
|
//this.hideRegionTooltip();
|
|
25425
26148
|
},
|
|
25426
26149
|
|
|
25427
|
-
/**
|
|
25428
|
-
* Function to toggle on/off overlay help.
|
|
26150
|
+
/**
|
|
26151
|
+
* Function to toggle on/off overlay help.
|
|
25429
26152
|
*/
|
|
25430
26153
|
setHelpMode: function setHelpMode(helpMode) {
|
|
25431
26154
|
if (helpMode) {
|
|
@@ -25440,9 +26163,9 @@ var EventNotifier = __webpack_require__("9b21").EventNotifier;
|
|
|
25440
26163
|
});
|
|
25441
26164
|
}
|
|
25442
26165
|
},
|
|
25443
|
-
/**
|
|
25444
|
-
* Callback function used by showRegionTooltip in the case when the tooltip
|
|
25445
|
-
* is out of view.
|
|
26166
|
+
/**
|
|
26167
|
+
* Callback function used by showRegionTooltip in the case when the tooltip
|
|
26168
|
+
* is out of view.
|
|
25446
26169
|
*/
|
|
25447
26170
|
displayTooltipOfObjectsCallback: function displayTooltipOfObjectsCallback(name, objects, regionPath, resetView, liveUpdates) {
|
|
25448
26171
|
var instance = this;
|
|
@@ -25494,12 +26217,12 @@ var EventNotifier = __webpack_require__("9b21").EventNotifier;
|
|
|
25494
26217
|
this.hideRegionTooltip();
|
|
25495
26218
|
return false;
|
|
25496
26219
|
},
|
|
25497
|
-
/**
|
|
25498
|
-
* Display the tooltip used for displaying search result.
|
|
25499
|
-
* When resetView is set to true, it will
|
|
25500
|
-
* reset view if the tooltip is not in view.
|
|
25501
|
-
* Setting liveUpdates to true will update the tooltip location
|
|
25502
|
-
* at every rendering loop.
|
|
26220
|
+
/**
|
|
26221
|
+
* Display the tooltip used for displaying search result.
|
|
26222
|
+
* When resetView is set to true, it will
|
|
26223
|
+
* reset view if the tooltip is not in view.
|
|
26224
|
+
* Setting liveUpdates to true will update the tooltip location
|
|
26225
|
+
* at every rendering loop.
|
|
25503
26226
|
*/
|
|
25504
26227
|
showRegionTooltipWithObjects: function showRegionTooltipWithObjects(label, zincObjects, regionPath, resetView, liveUpdates) {
|
|
25505
26228
|
if (label && zincObjects && zincObjects.length > 0 && this.$module.scene) {
|
|
@@ -25508,11 +26231,11 @@ var EventNotifier = __webpack_require__("9b21").EventNotifier;
|
|
|
25508
26231
|
this.hideRegionTooltip();
|
|
25509
26232
|
return false;
|
|
25510
26233
|
},
|
|
25511
|
-
/**
|
|
25512
|
-
* Display the tooltip. When resetView is set to true, it will
|
|
25513
|
-
* reset view if the tooltip is not in view.
|
|
25514
|
-
* Setting liveUpdates to true will update the tooltip location
|
|
25515
|
-
* at every rendering loop.
|
|
26234
|
+
/**
|
|
26235
|
+
* Display the tooltip. When resetView is set to true, it will
|
|
26236
|
+
* reset view if the tooltip is not in view.
|
|
26237
|
+
* Setting liveUpdates to true will update the tooltip location
|
|
26238
|
+
* at every rendering loop.
|
|
25516
26239
|
*/
|
|
25517
26240
|
showRegionTooltip: function showRegionTooltip(name, resetView, liveUpdates) {
|
|
25518
26241
|
if (name && this.$module.scene) {
|
|
@@ -25528,12 +26251,12 @@ var EventNotifier = __webpack_require__("9b21").EventNotifier;
|
|
|
25528
26251
|
this.hideRegionTooltip();
|
|
25529
26252
|
return false;
|
|
25530
26253
|
},
|
|
25531
|
-
/**
|
|
25532
|
-
* Display the tooltip using the list of annotations.
|
|
25533
|
-
* When resetView is set to true, it will
|
|
25534
|
-
* reset view if the tooltip is not in view.
|
|
25535
|
-
* Setting liveUpdates to true will update the tooltip location
|
|
25536
|
-
* at every rendering loop.
|
|
26254
|
+
/**
|
|
26255
|
+
* Display the tooltip using the list of annotations.
|
|
26256
|
+
* When resetView is set to true, it will
|
|
26257
|
+
* reset view if the tooltip is not in view.
|
|
26258
|
+
* Setting liveUpdates to true will update the tooltip location
|
|
26259
|
+
* at every rendering loop.
|
|
25537
26260
|
*/
|
|
25538
26261
|
showRegionTooltipWithAnnotations: function showRegionTooltipWithAnnotations(annotations, resetView, liveUpdates) {
|
|
25539
26262
|
if (this.$module.scene) {
|
|
@@ -25554,9 +26277,9 @@ var EventNotifier = __webpack_require__("9b21").EventNotifier;
|
|
|
25554
26277
|
this.tData.visible = false;
|
|
25555
26278
|
this.tData.region = undefined;
|
|
25556
26279
|
},
|
|
25557
|
-
/**
|
|
25558
|
-
* Set the marker modes for objects with the provided name, mode can
|
|
25559
|
-
* be "on", "off" or "inherited".
|
|
26280
|
+
/**
|
|
26281
|
+
* Set the marker modes for objects with the provided name, mode can
|
|
26282
|
+
* be "on", "off" or "inherited".
|
|
25560
26283
|
*/
|
|
25561
26284
|
setMarkerModeForObjectsWithName: function setMarkerModeForObjectsWithName(name, mode) {
|
|
25562
26285
|
if (name && this.$module.scene) {
|
|
@@ -25568,8 +26291,8 @@ var EventNotifier = __webpack_require__("9b21").EventNotifier;
|
|
|
25568
26291
|
});
|
|
25569
26292
|
}
|
|
25570
26293
|
},
|
|
25571
|
-
/**
|
|
25572
|
-
* Set the marker modes for objects specified by the list of annotations
|
|
26294
|
+
/**
|
|
26295
|
+
* Set the marker modes for objects specified by the list of annotations
|
|
25573
26296
|
*/
|
|
25574
26297
|
setMarkerModeWithAnnotations: function setMarkerModeWithAnnotations(annotations, mode) {
|
|
25575
26298
|
if (this.$module.scene) {
|
|
@@ -25581,9 +26304,9 @@ var EventNotifier = __webpack_require__("9b21").EventNotifier;
|
|
|
25581
26304
|
}
|
|
25582
26305
|
}
|
|
25583
26306
|
},
|
|
25584
|
-
/**
|
|
25585
|
-
* This is called when mouse cursor enters supported elements
|
|
25586
|
-
* with help tootltips.
|
|
26307
|
+
/**
|
|
26308
|
+
* This is called when mouse cursor enters supported elements
|
|
26309
|
+
* with help tootltips.
|
|
25587
26310
|
*/
|
|
25588
26311
|
showHelpText: function showHelpText(helpTextNumber) {
|
|
25589
26312
|
var _this3 = this;
|
|
@@ -25593,8 +26316,8 @@ var EventNotifier = __webpack_require__("9b21").EventNotifier;
|
|
|
25593
26316
|
}, 500);
|
|
25594
26317
|
}
|
|
25595
26318
|
},
|
|
25596
|
-
/**
|
|
25597
|
-
* This is called when mouse cursor exits supported element..
|
|
26319
|
+
/**
|
|
26320
|
+
* This is called when mouse cursor exits supported element..
|
|
25598
26321
|
*/
|
|
25599
26322
|
hideHelpText: function hideHelpText(helpTextNumber) {
|
|
25600
26323
|
if (!this.inHelp) {
|
|
@@ -25627,16 +26350,16 @@ var EventNotifier = __webpack_require__("9b21").EventNotifier;
|
|
|
25627
26350
|
}
|
|
25628
26351
|
return false;
|
|
25629
26352
|
},
|
|
25630
|
-
/**
|
|
25631
|
-
* Get the list of suggested terms
|
|
26353
|
+
/**
|
|
26354
|
+
* Get the list of suggested terms
|
|
25632
26355
|
*/
|
|
25633
26356
|
fetchSuggestions: function fetchSuggestions(term) {
|
|
25634
26357
|
if (this.$_searchIndex === undefined) return [];
|
|
25635
26358
|
return this.$_searchIndex.auto_suggest(term);
|
|
25636
26359
|
},
|
|
25637
|
-
/**
|
|
25638
|
-
* Called when minimap settings has changed. Pass the
|
|
25639
|
-
* parameters to ZincJS and marked it for update.
|
|
26360
|
+
/**
|
|
26361
|
+
* Called when minimap settings has changed. Pass the
|
|
26362
|
+
* parameters to ZincJS and marked it for update.
|
|
25640
26363
|
*/
|
|
25641
26364
|
updateMinimapScissor: function updateMinimapScissor() {
|
|
25642
26365
|
var _this4 = this;
|
|
@@ -25686,11 +26409,11 @@ var EventNotifier = __webpack_require__("9b21").EventNotifier;
|
|
|
25686
26409
|
_this5.isReady = true;
|
|
25687
26410
|
};
|
|
25688
26411
|
},
|
|
25689
|
-
/**
|
|
25690
|
-
* Function used for getting the current states of the scene. This exported states
|
|
25691
|
-
* can be imported using the importStates method.
|
|
25692
|
-
*
|
|
25693
|
-
* @public
|
|
26412
|
+
/**
|
|
26413
|
+
* Function used for getting the current states of the scene. This exported states
|
|
26414
|
+
* can be imported using the importStates method.
|
|
26415
|
+
*
|
|
26416
|
+
* @public
|
|
25694
26417
|
*/
|
|
25695
26418
|
getState: function getState() {
|
|
25696
26419
|
var state = {
|
|
@@ -25706,11 +26429,11 @@ var EventNotifier = __webpack_require__("9b21").EventNotifier;
|
|
|
25706
26429
|
}
|
|
25707
26430
|
return state;
|
|
25708
26431
|
},
|
|
25709
|
-
/**
|
|
25710
|
-
* Function used for importing the states of the scene. This exported states
|
|
25711
|
-
* can be imported using the read states method.
|
|
25712
|
-
*
|
|
25713
|
-
* @public
|
|
26432
|
+
/**
|
|
26433
|
+
* Function used for importing the states of the scene. This exported states
|
|
26434
|
+
* can be imported using the read states method.
|
|
26435
|
+
*
|
|
26436
|
+
* @public
|
|
25714
26437
|
*/
|
|
25715
26438
|
setState: function setState(state) {
|
|
25716
26439
|
if (state) {
|
|
@@ -25738,12 +26461,12 @@ var EventNotifier = __webpack_require__("9b21").EventNotifier;
|
|
|
25738
26461
|
exportGLTF: function exportGLTF(binary) {
|
|
25739
26462
|
return this.$module.scene.exportGLTF(binary);
|
|
25740
26463
|
},
|
|
25741
|
-
/**
|
|
25742
|
-
* Function used for reading in new scaffold metadata and a custom
|
|
25743
|
-
* viewport. This function will ignore the state prop and
|
|
25744
|
-
* read in the new url.
|
|
25745
|
-
*
|
|
25746
|
-
* @public
|
|
26464
|
+
/**
|
|
26465
|
+
* Function used for reading in new scaffold metadata and a custom
|
|
26466
|
+
* viewport. This function will ignore the state prop and
|
|
26467
|
+
* read in the new url.
|
|
26468
|
+
*
|
|
26469
|
+
* @public
|
|
25747
26470
|
*/
|
|
25748
26471
|
setURLAndState: function setURLAndState(newValue, state) {
|
|
25749
26472
|
if (newValue != this._currentURL) {
|
|
@@ -25773,24 +26496,24 @@ var EventNotifier = __webpack_require__("9b21").EventNotifier;
|
|
|
25773
26496
|
this.updateMinimapScissor();
|
|
25774
26497
|
}
|
|
25775
26498
|
},
|
|
25776
|
-
/**
|
|
25777
|
-
* Function used for reading in new scaffold metadata. This function will ignore
|
|
25778
|
-
* the state prop and read in the new url.
|
|
25779
|
-
*
|
|
25780
|
-
* @public
|
|
26499
|
+
/**
|
|
26500
|
+
* Function used for reading in new scaffold metadata. This function will ignore
|
|
26501
|
+
* the state prop and read in the new url.
|
|
26502
|
+
*
|
|
26503
|
+
* @public
|
|
25781
26504
|
*/
|
|
25782
26505
|
setURL: function setURL(newValue) {
|
|
25783
26506
|
this.setURLAndState(newValue, undefined);
|
|
25784
26507
|
},
|
|
25785
|
-
/**
|
|
25786
|
-
* Callback when drawer is toggled.
|
|
26508
|
+
/**
|
|
26509
|
+
* Callback when drawer is toggled.
|
|
25787
26510
|
*/
|
|
25788
26511
|
drawerToggled: function drawerToggled(flag) {
|
|
25789
26512
|
this.drawerOpen = flag;
|
|
25790
26513
|
this.adjustLayout();
|
|
25791
26514
|
},
|
|
25792
|
-
/**
|
|
25793
|
-
* Callback using ResizeObserver.
|
|
26515
|
+
/**
|
|
26516
|
+
* Callback using ResizeObserver.
|
|
25794
26517
|
*/
|
|
25795
26518
|
adjustLayout: function adjustLayout() {
|
|
25796
26519
|
var width = this.$refs.scaffoldContainer.clientWidth;
|
|
@@ -25822,16 +26545,16 @@ var EventNotifier = __webpack_require__("9b21").EventNotifier;
|
|
|
25822
26545
|
}
|
|
25823
26546
|
this.$emit("scaffold-navigated", payload);
|
|
25824
26547
|
},
|
|
25825
|
-
/**
|
|
25826
|
-
* Rotate mode - "none", "horizontal", "vertical", "free" but
|
|
25827
|
-
* it will be ignored if flag is set to false.
|
|
26548
|
+
/**
|
|
26549
|
+
* Rotate mode - "none", "horizontal", "vertical", "free" but
|
|
26550
|
+
* it will be ignored if flag is set to false.
|
|
25828
26551
|
*/
|
|
25829
26552
|
toggleSyncControl: function toggleSyncControl(flag, rotateMode) {
|
|
25830
26553
|
this.$module.toggleSyncControl(flag, rotateMode);
|
|
25831
26554
|
this.$module.setSyncControlCallback(this.syncControlCallback);
|
|
25832
26555
|
},
|
|
25833
|
-
/**
|
|
25834
|
-
* Set the markers for the scene.
|
|
26556
|
+
/**
|
|
26557
|
+
* Set the markers for the scene.
|
|
25835
26558
|
*/
|
|
25836
26559
|
setMarkers: function setMarkers() {
|
|
25837
26560
|
var _this6 = this;
|
|
@@ -25843,11 +26566,11 @@ var EventNotifier = __webpack_require__("9b21").EventNotifier;
|
|
|
25843
26566
|
});
|
|
25844
26567
|
// CONCATENATED MODULE: ./src/components/ScaffoldVuer.vue?vue&type=script&lang=js&
|
|
25845
26568
|
/* harmony default export */ var components_ScaffoldVuervue_type_script_lang_js_ = (ScaffoldVuervue_type_script_lang_js_);
|
|
25846
|
-
// EXTERNAL MODULE: ./src/components/ScaffoldVuer.vue?vue&type=style&index=0&id=
|
|
25847
|
-
var
|
|
26569
|
+
// EXTERNAL MODULE: ./src/components/ScaffoldVuer.vue?vue&type=style&index=0&id=21f54394&prod&scoped=true&lang=scss&
|
|
26570
|
+
var ScaffoldVuervue_type_style_index_0_id_21f54394_prod_scoped_true_lang_scss_ = __webpack_require__("9e86");
|
|
25848
26571
|
|
|
25849
|
-
// EXTERNAL MODULE: ./src/components/ScaffoldVuer.vue?vue&type=style&index=1&id=
|
|
25850
|
-
var
|
|
26572
|
+
// EXTERNAL MODULE: ./src/components/ScaffoldVuer.vue?vue&type=style&index=1&id=21f54394&prod&lang=scss&
|
|
26573
|
+
var ScaffoldVuervue_type_style_index_1_id_21f54394_prod_lang_scss_ = __webpack_require__("2142");
|
|
25851
26574
|
|
|
25852
26575
|
// CONCATENATED MODULE: ./src/components/ScaffoldVuer.vue
|
|
25853
26576
|
|
|
@@ -25865,7 +26588,7 @@ var ScaffoldVuer_component = normalizeComponent(
|
|
|
25865
26588
|
staticRenderFns,
|
|
25866
26589
|
false,
|
|
25867
26590
|
null,
|
|
25868
|
-
"
|
|
26591
|
+
"21f54394",
|
|
25869
26592
|
null
|
|
25870
26593
|
|
|
25871
26594
|
)
|