@abi-software/scaffoldvuer 0.2.3-alpha → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.js +12 -12
- package/CHANGELOG.md +332 -316
- package/LICENSE +201 -201
- package/README.md +164 -164
- package/babel.config.js +14 -14
- package/dist/scaffoldvuer-wc.common.js +34 -34
- package/dist/scaffoldvuer-wc.umd.js +34 -34
- package/dist/scaffoldvuer-wc.umd.min.js +34 -34
- package/dist/scaffoldvuer.common.js +373 -364
- package/dist/scaffoldvuer.common.js.map +1 -1
- package/dist/scaffoldvuer.css +1 -1
- package/dist/scaffoldvuer.umd.js +373 -364
- 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 +222 -222
- package/src/components/PrimitiveControls.vue +158 -0
- package/src/components/ScaffoldTooltip.vue +142 -142
- package/src/components/ScaffoldVuer.md +44 -44
- package/src/components/ScaffoldVuer.vue +2006 -1997
- package/src/components/TreeControls.vue +699 -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
|
@@ -2045,12 +2045,12 @@ module.exports = require("core-js/modules/es.array.push.js");
|
|
|
2045
2045
|
|
|
2046
2046
|
/***/ }),
|
|
2047
2047
|
|
|
2048
|
-
/***/ "
|
|
2048
|
+
/***/ "258c":
|
|
2049
2049
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2050
2050
|
|
|
2051
2051
|
"use strict";
|
|
2052
|
-
/* harmony import */ var
|
|
2053
|
-
/* harmony import */ var
|
|
2052
|
+
/* 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_1d065206_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("b950");
|
|
2053
|
+
/* 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_1d065206_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_1d065206_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
2054
2054
|
/* unused harmony reexport * */
|
|
2055
2055
|
|
|
2056
2056
|
|
|
@@ -5869,19 +5869,19 @@ var OrgansSceneData = function OrgansSceneData() {
|
|
|
5869
5869
|
this.timeVarying = false;
|
|
5870
5870
|
};
|
|
5871
5871
|
|
|
5872
|
-
/**
|
|
5873
|
-
* Viewer of 3D-organs models. Users can toggle on/off different views. Data is
|
|
5874
|
-
* displayed instead if models are not available.
|
|
5875
|
-
*
|
|
5876
|
-
* @class
|
|
5877
|
-
* @param {PJP.ModelsLoader}
|
|
5878
|
-
* ModelsLoaderIn - defined in modelsLoade.js, providing locations of
|
|
5879
|
-
* files.
|
|
5880
|
-
* @param {String}
|
|
5881
|
-
* PanelName - Id of the target element to create the
|
|
5882
|
-
* {@link PJP.OrgansViewer} on.
|
|
5883
|
-
* @author Alan Wu
|
|
5884
|
-
* @returns {PJP.OrgansViewer}
|
|
5872
|
+
/**
|
|
5873
|
+
* Viewer of 3D-organs models. Users can toggle on/off different views. Data is
|
|
5874
|
+
* displayed instead if models are not available.
|
|
5875
|
+
*
|
|
5876
|
+
* @class
|
|
5877
|
+
* @param {PJP.ModelsLoader}
|
|
5878
|
+
* ModelsLoaderIn - defined in modelsLoade.js, providing locations of
|
|
5879
|
+
* files.
|
|
5880
|
+
* @param {String}
|
|
5881
|
+
* PanelName - Id of the target element to create the
|
|
5882
|
+
* {@link PJP.OrgansViewer} on.
|
|
5883
|
+
* @author Alan Wu
|
|
5884
|
+
* @returns {PJP.OrgansViewer}
|
|
5885
5885
|
*/
|
|
5886
5886
|
var OrgansViewer = function OrgansViewer(ModelsLoaderIn) {
|
|
5887
5887
|
var _this2 = this;
|
|
@@ -5900,8 +5900,8 @@ var OrgansViewer = function OrgansViewer(ModelsLoaderIn) {
|
|
|
5900
5900
|
return _this.sceneData;
|
|
5901
5901
|
};
|
|
5902
5902
|
|
|
5903
|
-
/**
|
|
5904
|
-
* Used to update internal timer in scene when time slider has changed.
|
|
5903
|
+
/**
|
|
5904
|
+
* Used to update internal timer in scene when time slider has changed.
|
|
5905
5905
|
*/
|
|
5906
5906
|
this.updateTime = function (value) {
|
|
5907
5907
|
var duration = 6000;
|
|
@@ -5914,8 +5914,8 @@ var OrgansViewer = function OrgansViewer(ModelsLoaderIn) {
|
|
|
5914
5914
|
_this.sceneData.currentTime = value;
|
|
5915
5915
|
};
|
|
5916
5916
|
|
|
5917
|
-
/**
|
|
5918
|
-
* Update the time slider and other renderers/scenes when time has changed.
|
|
5917
|
+
/**
|
|
5918
|
+
* Update the time slider and other renderers/scenes when time has changed.
|
|
5919
5919
|
*/
|
|
5920
5920
|
var preRenderTimeUpdate = function preRenderTimeUpdate() {
|
|
5921
5921
|
var duration = 3000;
|
|
@@ -5982,8 +5982,8 @@ var OrgansViewer = function OrgansViewer(ModelsLoaderIn) {
|
|
|
5982
5982
|
};
|
|
5983
5983
|
};
|
|
5984
5984
|
|
|
5985
|
-
/**
|
|
5986
|
-
* Add a callback which will be called when time has changed
|
|
5985
|
+
/**
|
|
5986
|
+
* Add a callback which will be called when time has changed
|
|
5987
5987
|
*/
|
|
5988
5988
|
this.addTimeChangedCallback = function (callback) {
|
|
5989
5989
|
if (_typeof(callback === "function")) timeChangedCallbacks.push(callback);
|
|
@@ -6046,12 +6046,12 @@ var OrgansViewer = function OrgansViewer(ModelsLoaderIn) {
|
|
|
6046
6046
|
};
|
|
6047
6047
|
};
|
|
6048
6048
|
|
|
6049
|
-
/**
|
|
6050
|
-
* Callback function when a pickable object has been picked. It will then
|
|
6051
|
-
* call functions in tissueViewer and cellPanel to show corresponding
|
|
6052
|
-
* informations.
|
|
6053
|
-
*
|
|
6054
|
-
* @callback
|
|
6049
|
+
/**
|
|
6050
|
+
* Callback function when a pickable object has been picked. It will then
|
|
6051
|
+
* call functions in tissueViewer and cellPanel to show corresponding
|
|
6052
|
+
* informations.
|
|
6053
|
+
*
|
|
6054
|
+
* @callback
|
|
6055
6055
|
*/
|
|
6056
6056
|
var _pickingCallback = function _pickingCallback() {
|
|
6057
6057
|
return function (intersects, window_x, window_y) {
|
|
@@ -6074,10 +6074,10 @@ var OrgansViewer = function OrgansViewer(ModelsLoaderIn) {
|
|
|
6074
6074
|
};
|
|
6075
6075
|
};
|
|
6076
6076
|
|
|
6077
|
-
/**
|
|
6078
|
-
* Callback function when a pickable object has been hovered over.
|
|
6079
|
-
*
|
|
6080
|
-
* @callback
|
|
6077
|
+
/**
|
|
6078
|
+
* Callback function when a pickable object has been hovered over.
|
|
6079
|
+
*
|
|
6080
|
+
* @callback
|
|
6081
6081
|
*/
|
|
6082
6082
|
var _hoverCallback = function _hoverCallback() {
|
|
6083
6083
|
return function (intersects, window_x, window_y) {
|
|
@@ -6124,40 +6124,40 @@ var OrgansViewer = function OrgansViewer(ModelsLoaderIn) {
|
|
|
6124
6124
|
}
|
|
6125
6125
|
};
|
|
6126
6126
|
|
|
6127
|
-
/**
|
|
6128
|
-
* Change visibility for parts of the current scene.
|
|
6127
|
+
/**
|
|
6128
|
+
* Change visibility for parts of the current scene.
|
|
6129
6129
|
*/
|
|
6130
6130
|
this.changeGeometriesVisibility = function (name, value) {
|
|
6131
6131
|
changeOrganPartsVisibilityForScene(_this.scene, name, value, 'geometries');
|
|
6132
6132
|
if (pickerScene) changeOrganPartsVisibilityForScene(pickerScene, name, value, 'geometries');
|
|
6133
6133
|
};
|
|
6134
6134
|
|
|
6135
|
-
/**
|
|
6136
|
-
* Change visibility for parts of the current scene.
|
|
6135
|
+
/**
|
|
6136
|
+
* Change visibility for parts of the current scene.
|
|
6137
6137
|
*/
|
|
6138
6138
|
this.changeGlyphsetsVisibility = function (name, value) {
|
|
6139
6139
|
changeOrganPartsVisibilityForScene(_this.scene, name, value, 'glyphsets');
|
|
6140
6140
|
if (pickerScene) changeOrganPartsVisibilityForScene(pickerScene, name, value, 'glyphsets');
|
|
6141
6141
|
};
|
|
6142
6142
|
|
|
6143
|
-
/**
|
|
6144
|
-
* Change visibility for parts of the current scene.
|
|
6143
|
+
/**
|
|
6144
|
+
* Change visibility for parts of the current scene.
|
|
6145
6145
|
*/
|
|
6146
6146
|
this.changeLinesVisibility = function (name, value) {
|
|
6147
6147
|
changeOrganPartsVisibilityForScene(_this.scene, name, value, 'lines');
|
|
6148
6148
|
if (pickerScene) changeOrganPartsVisibilityForScene(pickerScene, name, value, 'lines');
|
|
6149
6149
|
};
|
|
6150
6150
|
|
|
6151
|
-
/**
|
|
6152
|
-
* Change visibility for parts of the current scene.
|
|
6151
|
+
/**
|
|
6152
|
+
* Change visibility for parts of the current scene.
|
|
6153
6153
|
*/
|
|
6154
6154
|
this.changePointsetsVisibility = function (name, value) {
|
|
6155
6155
|
changeOrganPartsVisibilityForScene(_this.scene, name, value, 'pointsets');
|
|
6156
6156
|
if (pickerScene) changeOrganPartsVisibilityForScene(pickerScene, name, value, 'pointsets');
|
|
6157
6157
|
};
|
|
6158
6158
|
|
|
6159
|
-
/**
|
|
6160
|
-
* Change visibility for parts of the current scene.
|
|
6159
|
+
/**
|
|
6160
|
+
* Change visibility for parts of the current scene.
|
|
6161
6161
|
*/
|
|
6162
6162
|
this.changeOrganPartsVisibility = function (name, value, typeIn) {
|
|
6163
6163
|
var type = "all";
|
|
@@ -6196,9 +6196,9 @@ var OrgansViewer = function OrgansViewer(ModelsLoaderIn) {
|
|
|
6196
6196
|
zincObject.userData["annotation"] = annotation;
|
|
6197
6197
|
};
|
|
6198
6198
|
|
|
6199
|
-
/**
|
|
6200
|
-
* New organs geometry has been added to the scene, add UIs and make
|
|
6201
|
-
* sure the viewport is correct.
|
|
6199
|
+
/**
|
|
6200
|
+
* New organs geometry has been added to the scene, add UIs and make
|
|
6201
|
+
* sure the viewport is correct.
|
|
6202
6202
|
*/
|
|
6203
6203
|
var _addOrganPartCallback = function _addOrganPartCallback(systemName, partName, useDefautColour) {
|
|
6204
6204
|
return function (zincObject) {
|
|
@@ -6219,9 +6219,9 @@ var OrgansViewer = function OrgansViewer(ModelsLoaderIn) {
|
|
|
6219
6219
|
};
|
|
6220
6220
|
};
|
|
6221
6221
|
|
|
6222
|
-
/**
|
|
6223
|
-
* Toggle data field displays. Data fields displays flow/pressure and <button @click="play">Play</button>
|
|
6224
|
-
* other activities of the organs.
|
|
6222
|
+
/**
|
|
6223
|
+
* Toggle data field displays. Data fields displays flow/pressure and <button @click="play">Play</button>
|
|
6224
|
+
* other activities of the organs.
|
|
6225
6225
|
*/
|
|
6226
6226
|
this.updateFieldvisibility = function (dataFields, value) {
|
|
6227
6227
|
for (var i = 0; i < dataFields.length; i++) {
|
|
@@ -6243,11 +6243,11 @@ var OrgansViewer = function OrgansViewer(ModelsLoaderIn) {
|
|
|
6243
6243
|
}
|
|
6244
6244
|
};
|
|
6245
6245
|
|
|
6246
|
-
/**
|
|
6247
|
-
* Return an array containing name(s) of species that also contains the
|
|
6248
|
-
* currently displayed organs.
|
|
6249
|
-
*
|
|
6250
|
-
* @returns {Array} containing species name
|
|
6246
|
+
/**
|
|
6247
|
+
* Return an array containing name(s) of species that also contains the
|
|
6248
|
+
* currently displayed organs.
|
|
6249
|
+
*
|
|
6250
|
+
* @returns {Array} containing species name
|
|
6251
6251
|
*/
|
|
6252
6252
|
this.getAvailableSpecies = function (currentSpecies, currentSystem, currentPart) {
|
|
6253
6253
|
var availableSpecies = new Array();
|
|
@@ -6369,11 +6369,11 @@ var OrgansViewer = function OrgansViewer(ModelsLoaderIn) {
|
|
|
6369
6369
|
return false;
|
|
6370
6370
|
};
|
|
6371
6371
|
|
|
6372
|
-
/**
|
|
6373
|
-
* initialise loading of the html layout for the organs panel, this is
|
|
6374
|
-
* called when the {@link PJP.OrgansViewer} is created.
|
|
6375
|
-
*
|
|
6376
|
-
* @async
|
|
6372
|
+
/**
|
|
6373
|
+
* initialise loading of the html layout for the organs panel, this is
|
|
6374
|
+
* called when the {@link PJP.OrgansViewer} is created.
|
|
6375
|
+
*
|
|
6376
|
+
* @async
|
|
6377
6377
|
*/
|
|
6378
6378
|
var initialise = function initialise() {
|
|
6379
6379
|
_this.initialiseRenderer(undefined);
|
|
@@ -6768,11 +6768,11 @@ var _toConsumableArray = __webpack_require__("448a").default;
|
|
|
6768
6768
|
__webpack_require__("2439");
|
|
6769
6769
|
var THREE = __webpack_require__("9206").THREE;
|
|
6770
6770
|
|
|
6771
|
-
/**
|
|
6772
|
-
* This module manages highlighted and selected objects in 3D modules.
|
|
6773
|
-
*
|
|
6774
|
-
* @class
|
|
6775
|
-
* @returns {exports.GraphicsHighlight}
|
|
6771
|
+
/**
|
|
6772
|
+
* This module manages highlighted and selected objects in 3D modules.
|
|
6773
|
+
*
|
|
6774
|
+
* @class
|
|
6775
|
+
* @returns {exports.GraphicsHighlight}
|
|
6776
6776
|
*/
|
|
6777
6777
|
exports.GraphicsHighlight = function () {
|
|
6778
6778
|
var currentHighlightedObjects = [];
|
|
@@ -15075,10 +15075,10 @@ __webpack_require__("97d3");
|
|
|
15075
15075
|
__webpack_require__("13e3");
|
|
15076
15076
|
var THREE = __webpack_require__("9206").THREE;
|
|
15077
15077
|
|
|
15078
|
-
/**
|
|
15079
|
-
* Create a {@link Zinc.Renderer} on the dom element with corresponding elementID.
|
|
15080
|
-
* @param {String} elementID - id of the target dom element.
|
|
15081
|
-
* @returns {Zinc.Renderer}
|
|
15078
|
+
/**
|
|
15079
|
+
* Create a {@link Zinc.Renderer} on the dom element with corresponding elementID.
|
|
15080
|
+
* @param {String} elementID - id of the target dom element.
|
|
15081
|
+
* @returns {Zinc.Renderer}
|
|
15082
15082
|
*/
|
|
15083
15083
|
var createRenderer = function createRenderer() {
|
|
15084
15084
|
var WEBGL = __webpack_require__("cf41").WEBGL;
|
|
@@ -15270,31 +15270,31 @@ RendererModule.prototype.viewAll = function () {
|
|
|
15270
15270
|
if (this.zincRenderer) this.zincRenderer.viewAll();
|
|
15271
15271
|
};
|
|
15272
15272
|
|
|
15273
|
-
/**
|
|
15274
|
-
* Start the animation and let the renderer to processs with
|
|
15275
|
-
* time progression
|
|
15273
|
+
/**
|
|
15274
|
+
* Start the animation and let the renderer to processs with
|
|
15275
|
+
* time progression
|
|
15276
15276
|
*/
|
|
15277
15277
|
RendererModule.prototype.playAnimation = function (flag) {
|
|
15278
15278
|
if (this.zincRenderer) this.zincRenderer.playAnimation = flag;
|
|
15279
15279
|
};
|
|
15280
15280
|
|
|
15281
|
-
/**
|
|
15282
|
-
* Set the speed of playback
|
|
15281
|
+
/**
|
|
15282
|
+
* Set the speed of playback
|
|
15283
15283
|
*/
|
|
15284
15284
|
RendererModule.prototype.setPlayRate = function (value) {
|
|
15285
15285
|
if (this.zincRenderer) this.zincRenderer.setPlayRate(value);
|
|
15286
15286
|
};
|
|
15287
15287
|
|
|
15288
|
-
/**
|
|
15289
|
-
* Get the speed of playback
|
|
15288
|
+
/**
|
|
15289
|
+
* Get the speed of playback
|
|
15290
15290
|
*/
|
|
15291
15291
|
RendererModule.prototype.getPlayRate = function (value) {
|
|
15292
15292
|
if (this.zincRenderer) return this.zincRenderer.getPlayRate();else return 0.0;
|
|
15293
15293
|
};
|
|
15294
15294
|
|
|
15295
|
-
/** Initialise everything in the renderer, including the 3D renderer,
|
|
15296
|
-
* and picker for the 3D renderer.
|
|
15297
|
-
*
|
|
15295
|
+
/** Initialise everything in the renderer, including the 3D renderer,
|
|
15296
|
+
* and picker for the 3D renderer.
|
|
15297
|
+
*
|
|
15298
15298
|
*/
|
|
15299
15299
|
RendererModule.prototype.initialiseRenderer = function (displayAreaIn) {
|
|
15300
15300
|
if (this.zincRenderer === undefined || this.rendererContainer === undefined) {
|
|
@@ -17606,6 +17606,13 @@ module.exports = require("core-js/modules/web.url.js");
|
|
|
17606
17606
|
|
|
17607
17607
|
/***/ }),
|
|
17608
17608
|
|
|
17609
|
+
/***/ "b950":
|
|
17610
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
17611
|
+
|
|
17612
|
+
// extracted by mini-css-extract-plugin
|
|
17613
|
+
|
|
17614
|
+
/***/ }),
|
|
17615
|
+
|
|
17609
17616
|
/***/ "bd9f":
|
|
17610
17617
|
/***/ (function(module, exports, __webpack_require__) {
|
|
17611
17618
|
|
|
@@ -17800,6 +17807,17 @@ col.install = function (Vue) {
|
|
|
17800
17807
|
|
|
17801
17808
|
/******/ });
|
|
17802
17809
|
|
|
17810
|
+
/***/ }),
|
|
17811
|
+
|
|
17812
|
+
/***/ "c31b":
|
|
17813
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
17814
|
+
|
|
17815
|
+
"use strict";
|
|
17816
|
+
/* 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_1d065206_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("dbc4");
|
|
17817
|
+
/* 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_1d065206_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_1d065206_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
17818
|
+
/* unused harmony reexport * */
|
|
17819
|
+
|
|
17820
|
+
|
|
17803
17821
|
/***/ }),
|
|
17804
17822
|
|
|
17805
17823
|
/***/ "c56a":
|
|
@@ -18139,9 +18157,9 @@ module.exports = require("core-js/modules/es.number.to-fixed.js");
|
|
|
18139
18157
|
|
|
18140
18158
|
__webpack_require__("c8a6");
|
|
18141
18159
|
__webpack_require__("6378");
|
|
18142
|
-
/**
|
|
18143
|
-
* @author alteredq / http://alteredqualia.com/
|
|
18144
|
-
* @author mr.doob / http://mrdoob.com/
|
|
18160
|
+
/**
|
|
18161
|
+
* @author alteredq / http://alteredqualia.com/
|
|
18162
|
+
* @author mr.doob / http://mrdoob.com/
|
|
18145
18163
|
*/
|
|
18146
18164
|
|
|
18147
18165
|
exports.WEBGL = {
|
|
@@ -18261,17 +18279,6 @@ function isKorean(text) {
|
|
|
18261
18279
|
return reg.test(text);
|
|
18262
18280
|
}
|
|
18263
18281
|
|
|
18264
|
-
/***/ }),
|
|
18265
|
-
|
|
18266
|
-
/***/ "d3b9":
|
|
18267
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
18268
|
-
|
|
18269
|
-
"use strict";
|
|
18270
|
-
/* 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_04d71683_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("dccf");
|
|
18271
|
-
/* 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_04d71683_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_04d71683_prod_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
18272
|
-
/* unused harmony reexport * */
|
|
18273
|
-
|
|
18274
|
-
|
|
18275
18282
|
/***/ }),
|
|
18276
18283
|
|
|
18277
18284
|
/***/ "d4df":
|
|
@@ -18306,17 +18313,17 @@ module.exports = require("core-js/modules/es.function.name.js");
|
|
|
18306
18313
|
|
|
18307
18314
|
/***/ }),
|
|
18308
18315
|
|
|
18309
|
-
/***/ "
|
|
18310
|
-
/***/ (function(module, exports) {
|
|
18316
|
+
/***/ "dbc4":
|
|
18317
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
18311
18318
|
|
|
18312
|
-
|
|
18319
|
+
// extracted by mini-css-extract-plugin
|
|
18313
18320
|
|
|
18314
18321
|
/***/ }),
|
|
18315
18322
|
|
|
18316
|
-
/***/ "
|
|
18317
|
-
/***/ (function(module, exports
|
|
18323
|
+
/***/ "dc50":
|
|
18324
|
+
/***/ (function(module, exports) {
|
|
18318
18325
|
|
|
18319
|
-
|
|
18326
|
+
module.exports = require("core-js/modules/es.error.cause.js");
|
|
18320
18327
|
|
|
18321
18328
|
/***/ }),
|
|
18322
18329
|
|
|
@@ -21185,13 +21192,6 @@ src_button.install = function (Vue) {
|
|
|
21185
21192
|
|
|
21186
21193
|
/***/ }),
|
|
21187
21194
|
|
|
21188
|
-
/***/ "eff6":
|
|
21189
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
21190
|
-
|
|
21191
|
-
// extracted by mini-css-extract-plugin
|
|
21192
|
-
|
|
21193
|
-
/***/ }),
|
|
21194
|
-
|
|
21195
21195
|
/***/ "f0d9":
|
|
21196
21196
|
/***/ (function(module, exports, __webpack_require__) {
|
|
21197
21197
|
|
|
@@ -22390,7 +22390,7 @@ if (typeof window !== 'undefined') {
|
|
|
22390
22390
|
// Indicate to webpack that this file can be concatenated
|
|
22391
22391
|
/* harmony default export */ var setPublicPath = (null);
|
|
22392
22392
|
|
|
22393
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
22393
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"27d54817-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=1d065206&scoped=true&
|
|
22394
22394
|
var render = function render() {
|
|
22395
22395
|
var _vm = this,
|
|
22396
22396
|
_c = _vm._self._c;
|
|
@@ -22875,7 +22875,7 @@ var render = function render() {
|
|
|
22875
22875
|
};
|
|
22876
22876
|
var staticRenderFns = [];
|
|
22877
22877
|
|
|
22878
|
-
// CONCATENATED MODULE: ./src/components/ScaffoldVuer.vue?vue&type=template&id=
|
|
22878
|
+
// CONCATENATED MODULE: ./src/components/ScaffoldVuer.vue?vue&type=template&id=1d065206&scoped=true&
|
|
22879
22879
|
|
|
22880
22880
|
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/tabs.css
|
|
22881
22881
|
var tabs = __webpack_require__("075a");
|
|
@@ -22984,7 +22984,7 @@ var es_object_keys_js_ = __webpack_require__("ea64");
|
|
|
22984
22984
|
var external_vue_ = __webpack_require__("8bbf");
|
|
22985
22985
|
var external_vue_default = /*#__PURE__*/__webpack_require__.n(external_vue_);
|
|
22986
22986
|
|
|
22987
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
22987
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"27d54817-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=4c00a30f&scoped=true&
|
|
22988
22988
|
var OpacityControlsvue_type_template_id_4c00a30f_scoped_true_render = function render() {
|
|
22989
22989
|
var _vm = this,
|
|
22990
22990
|
_c = _vm._self._c;
|
|
@@ -23131,8 +23131,8 @@ external_vue_default.a.use(lib_icon_default.a);
|
|
|
23131
23131
|
external_vue_default.a.use(lib_main_default.a);
|
|
23132
23132
|
external_vue_default.a.use(lib_slider_default.a);
|
|
23133
23133
|
|
|
23134
|
-
/**
|
|
23135
|
-
* A component to control the opacity of the target object.
|
|
23134
|
+
/**
|
|
23135
|
+
* A component to control the opacity of the target object.
|
|
23136
23136
|
*/
|
|
23137
23137
|
/* harmony default export */ var OpacityControlsvue_type_script_lang_js_ = ({
|
|
23138
23138
|
name: "OpacityControls",
|
|
@@ -23291,7 +23291,7 @@ var component = normalizeComponent(
|
|
|
23291
23291
|
)
|
|
23292
23292
|
|
|
23293
23293
|
/* harmony default export */ var OpacityControls = (component.exports);
|
|
23294
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
23294
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"27d54817-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
23295
|
var ScaffoldTooltipvue_type_template_id_0cbe500c_scoped_true_render = function render() {
|
|
23296
23296
|
var _vm = this,
|
|
23297
23297
|
_c = _vm._self._c;
|
|
@@ -23339,8 +23339,8 @@ var es_number_constructor_js_ = __webpack_require__("f989");
|
|
|
23339
23339
|
locale_default.a.use(en_default.a);
|
|
23340
23340
|
external_vue_default.a.use(lib_popover_default.a);
|
|
23341
23341
|
|
|
23342
|
-
/**
|
|
23343
|
-
* A component to control the opacity of the target object.
|
|
23342
|
+
/**
|
|
23343
|
+
* A component to control the opacity of the target object.
|
|
23344
23344
|
*/
|
|
23345
23345
|
/* harmony default export */ var ScaffoldTooltipvue_type_script_lang_js_ = ({
|
|
23346
23346
|
name: "ScaffoldTooltip",
|
|
@@ -23431,7 +23431,7 @@ var es_array_includes_js_ = __webpack_require__("85f7");
|
|
|
23431
23431
|
// EXTERNAL MODULE: external "core-js/modules/es.string.includes.js"
|
|
23432
23432
|
var es_string_includes_js_ = __webpack_require__("fd22");
|
|
23433
23433
|
|
|
23434
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
23434
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"27d54817-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=29a4f879&scoped=true&
|
|
23435
23435
|
|
|
23436
23436
|
|
|
23437
23437
|
var TreeControlsvue_type_template_id_29a4f879_scoped_true_render = function render() {
|
|
@@ -23993,14 +23993,14 @@ var nameSorting = function nameSorting(a, b) {
|
|
|
23993
23993
|
return 0;
|
|
23994
23994
|
};
|
|
23995
23995
|
|
|
23996
|
-
/**
|
|
23997
|
-
* A vue component for toggling visibility of various regions.
|
|
23996
|
+
/**
|
|
23997
|
+
* A vue component for toggling visibility of various regions.
|
|
23998
23998
|
*/
|
|
23999
23999
|
/* harmony default export */ var TreeControlsvue_type_script_lang_js_ = ({
|
|
24000
24000
|
name: "TreeControls",
|
|
24001
24001
|
props: {
|
|
24002
|
-
/**
|
|
24003
|
-
* Enable/disable colour picker
|
|
24002
|
+
/**
|
|
24003
|
+
* Enable/disable colour picker
|
|
24004
24004
|
*/
|
|
24005
24005
|
showColourPicker: Boolean,
|
|
24006
24006
|
isReady: Boolean
|
|
@@ -24079,8 +24079,8 @@ var nameSorting = function nameSorting(a, b) {
|
|
|
24079
24079
|
return data;
|
|
24080
24080
|
}
|
|
24081
24081
|
},
|
|
24082
|
-
/**
|
|
24083
|
-
* This is called when a new zinc object is read into the scene.
|
|
24082
|
+
/**
|
|
24083
|
+
* This is called when a new zinc object is read into the scene.
|
|
24084
24084
|
*/
|
|
24085
24085
|
zincObjectAdded: function zincObjectAdded(zincObject) {
|
|
24086
24086
|
// Using the new uuid, the cavaet of that is graphics with
|
|
@@ -24147,16 +24147,16 @@ var nameSorting = function nameSorting(a, b) {
|
|
|
24147
24147
|
this.removeHover(propagate);
|
|
24148
24148
|
}
|
|
24149
24149
|
},
|
|
24150
|
-
/**
|
|
24151
|
-
* Select a region by its name.
|
|
24150
|
+
/**
|
|
24151
|
+
* Select a region by its name.
|
|
24152
24152
|
*/
|
|
24153
24153
|
changeActiveByNames: function changeActiveByNames(names, regionPath, propagate) {
|
|
24154
24154
|
var rootRegion = this.$module.scene.getRootRegion();
|
|
24155
24155
|
var targetObjects = utilities_findObjectsWithNames(rootRegion, names, regionPath, true);
|
|
24156
24156
|
this.changeActiveByPrimitives(targetObjects, propagate);
|
|
24157
24157
|
},
|
|
24158
|
-
/**
|
|
24159
|
-
* Hover a region by its name.
|
|
24158
|
+
/**
|
|
24159
|
+
* Hover a region by its name.
|
|
24160
24160
|
*/
|
|
24161
24161
|
changeHoverByNames: function changeHoverByNames(names, regionPath, propagate) {
|
|
24162
24162
|
var rootRegion = this.$module.scene.getRootRegion();
|
|
@@ -24176,22 +24176,22 @@ var nameSorting = function nameSorting(a, b) {
|
|
|
24176
24176
|
this.changeHoverByPrimitives(targetObjects, propagate);
|
|
24177
24177
|
}
|
|
24178
24178
|
},
|
|
24179
|
-
/**
|
|
24180
|
-
* Unselect the current selected region.
|
|
24179
|
+
/**
|
|
24180
|
+
* Unselect the current selected region.
|
|
24181
24181
|
*/
|
|
24182
24182
|
removeActive: function removeActive(propagate) {
|
|
24183
24183
|
this.active = [];
|
|
24184
24184
|
this.$emit("object-selected", [], propagate);
|
|
24185
24185
|
},
|
|
24186
|
-
/**
|
|
24187
|
-
* Unselect the current hover region.
|
|
24186
|
+
/**
|
|
24187
|
+
* Unselect the current hover region.
|
|
24188
24188
|
*/
|
|
24189
24189
|
removeHover: function removeHover(propagate) {
|
|
24190
24190
|
this.hover = [];
|
|
24191
24191
|
this.$emit("object-hovered", [], propagate);
|
|
24192
24192
|
},
|
|
24193
|
-
/**
|
|
24194
|
-
* Reset the controls.
|
|
24193
|
+
/**
|
|
24194
|
+
* Reset the controls.
|
|
24195
24195
|
*/
|
|
24196
24196
|
clear: function clear() {
|
|
24197
24197
|
this.active.length = 0;
|
|
@@ -24428,24 +24428,24 @@ var external_minisearch_default = /*#__PURE__*/__webpack_require__.n(external_mi
|
|
|
24428
24428
|
|
|
24429
24429
|
|
|
24430
24430
|
|
|
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
|
-
|
|
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
|
+
|
|
24449
24449
|
******************************************************************************/
|
|
24450
24450
|
|
|
24451
24451
|
//==============================================================================
|
|
@@ -24709,11 +24709,11 @@ external_vue_default.a.use(lib_tabs_default.a);
|
|
|
24709
24709
|
var OrgansViewer = __webpack_require__("53d7").OrgansViewer;
|
|
24710
24710
|
var EventNotifier = __webpack_require__("9b21").EventNotifier;
|
|
24711
24711
|
|
|
24712
|
-
/**
|
|
24713
|
-
* A vue component of the scaffold viewer.
|
|
24714
|
-
*
|
|
24715
|
-
* @requires ./OpacityControls.vue
|
|
24716
|
-
* @requires ./TreeControls.vue
|
|
24712
|
+
/**
|
|
24713
|
+
* A vue component of the scaffold viewer.
|
|
24714
|
+
*
|
|
24715
|
+
* @requires ./OpacityControls.vue
|
|
24716
|
+
* @requires ./TreeControls.vue
|
|
24717
24717
|
*/
|
|
24718
24718
|
/* harmony default export */ var ScaffoldVuervue_type_script_lang_js_ = ({
|
|
24719
24719
|
name: "ScaffoldVuer",
|
|
@@ -24725,56 +24725,56 @@ var EventNotifier = __webpack_require__("9b21").EventNotifier;
|
|
|
24725
24725
|
TreeControls: TreeControls
|
|
24726
24726
|
},
|
|
24727
24727
|
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.
|
|
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.
|
|
24733
24733
|
*/
|
|
24734
24734
|
url: {
|
|
24735
24735
|
type: String,
|
|
24736
24736
|
default: ""
|
|
24737
24737
|
},
|
|
24738
|
-
/**
|
|
24739
|
-
* Show the colour control of set to true.
|
|
24738
|
+
/**
|
|
24739
|
+
* Show the colour control of set to true.
|
|
24740
24740
|
*/
|
|
24741
24741
|
showColourPicker: {
|
|
24742
24742
|
type: Boolean,
|
|
24743
24743
|
default: false
|
|
24744
24744
|
},
|
|
24745
|
-
/**
|
|
24746
|
-
* Flag to show/hide the UI.
|
|
24745
|
+
/**
|
|
24746
|
+
* Flag to show/hide the UI.
|
|
24747
24747
|
*/
|
|
24748
24748
|
displayUI: {
|
|
24749
24749
|
type: Boolean,
|
|
24750
24750
|
default: true
|
|
24751
24751
|
},
|
|
24752
|
-
/**
|
|
24753
|
-
* Display all graphics at start.
|
|
24754
|
-
*
|
|
24755
|
-
* This setting only works when traditional is set to false.
|
|
24752
|
+
/**
|
|
24753
|
+
* Display all graphics at start.
|
|
24754
|
+
*
|
|
24755
|
+
* This setting only works when traditional is set to false.
|
|
24756
24756
|
*/
|
|
24757
24757
|
displayAtStartUp: {
|
|
24758
24758
|
type: Boolean,
|
|
24759
24759
|
default: true
|
|
24760
24760
|
},
|
|
24761
|
-
/**
|
|
24762
|
-
* Use for toggling the help tooltips.
|
|
24761
|
+
/**
|
|
24762
|
+
* Use for toggling the help tooltips.
|
|
24763
24763
|
*/
|
|
24764
24764
|
helpMode: {
|
|
24765
24765
|
type: Boolean,
|
|
24766
24766
|
default: false
|
|
24767
24767
|
},
|
|
24768
|
-
/**
|
|
24769
|
-
* Use for show/display beta warning icon.
|
|
24768
|
+
/**
|
|
24769
|
+
* Use for show/display beta warning icon.
|
|
24770
24770
|
*/
|
|
24771
24771
|
displayWarning: {
|
|
24772
24772
|
type: Boolean,
|
|
24773
24773
|
default: true
|
|
24774
24774
|
},
|
|
24775
|
-
/**
|
|
24776
|
-
* Warning message for the hovered over text
|
|
24777
|
-
* on the warning icon.
|
|
24775
|
+
/**
|
|
24776
|
+
* Warning message for the hovered over text
|
|
24777
|
+
* on the warning icon.
|
|
24778
24778
|
*/
|
|
24779
24779
|
warningMessage: {
|
|
24780
24780
|
type: String,
|
|
@@ -24788,8 +24788,8 @@ var EventNotifier = __webpack_require__("9b21").EventNotifier;
|
|
|
24788
24788
|
type: String,
|
|
24789
24789
|
default: "New feature - Local search is now available"
|
|
24790
24790
|
},
|
|
24791
|
-
/**
|
|
24792
|
-
* Show/hide pickable markers for regions.
|
|
24791
|
+
/**
|
|
24792
|
+
* Show/hide pickable markers for regions.
|
|
24793
24793
|
*/
|
|
24794
24794
|
displayMarkers: {
|
|
24795
24795
|
type: Boolean,
|
|
@@ -24801,22 +24801,22 @@ var EventNotifier = __webpack_require__("9b21").EventNotifier;
|
|
|
24801
24801
|
return [];
|
|
24802
24802
|
}
|
|
24803
24803
|
},
|
|
24804
|
-
/**
|
|
24805
|
-
* Show/hide minimap.
|
|
24804
|
+
/**
|
|
24805
|
+
* Show/hide minimap.
|
|
24806
24806
|
*/
|
|
24807
24807
|
displayMinimap: {
|
|
24808
24808
|
type: Boolean,
|
|
24809
24809
|
default: false
|
|
24810
24810
|
},
|
|
24811
|
-
/**
|
|
24812
|
-
* Format of the input URL
|
|
24811
|
+
/**
|
|
24812
|
+
* Format of the input URL
|
|
24813
24813
|
*/
|
|
24814
24814
|
format: {
|
|
24815
24815
|
type: String,
|
|
24816
24816
|
default: "metadata"
|
|
24817
24817
|
},
|
|
24818
|
-
/**
|
|
24819
|
-
* Settings for minimap position, size and alignment.
|
|
24818
|
+
/**
|
|
24819
|
+
* Settings for minimap position, size and alignment.
|
|
24820
24820
|
*/
|
|
24821
24821
|
minimapSettings: {
|
|
24822
24822
|
type: Object,
|
|
@@ -24830,9 +24830,9 @@ var EventNotifier = __webpack_require__("9b21").EventNotifier;
|
|
|
24830
24830
|
};
|
|
24831
24831
|
}
|
|
24832
24832
|
},
|
|
24833
|
-
/**
|
|
24834
|
-
* Flag to determine rather open map UI should be
|
|
24835
|
-
* presented or not.
|
|
24833
|
+
/**
|
|
24834
|
+
* Flag to determine rather open map UI should be
|
|
24835
|
+
* presented or not.
|
|
24836
24836
|
*/
|
|
24837
24837
|
enableOpenMapUI: {
|
|
24838
24838
|
type: Boolean,
|
|
@@ -24853,32 +24853,32 @@ var EventNotifier = __webpack_require__("9b21").EventNotifier;
|
|
|
24853
24853
|
}];
|
|
24854
24854
|
}
|
|
24855
24855
|
},
|
|
24856
|
-
/**
|
|
24857
|
-
* State containing state of the scaffold.
|
|
24856
|
+
/**
|
|
24857
|
+
* State containing state of the scaffold.
|
|
24858
24858
|
*/
|
|
24859
24859
|
state: {
|
|
24860
24860
|
type: Object,
|
|
24861
24861
|
default: undefined
|
|
24862
24862
|
},
|
|
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.
|
|
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.
|
|
24866
24866
|
*/
|
|
24867
24867
|
region: {
|
|
24868
24868
|
type: String,
|
|
24869
24869
|
default: ""
|
|
24870
24870
|
},
|
|
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.
|
|
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.
|
|
24875
24875
|
*/
|
|
24876
24876
|
viewURL: {
|
|
24877
24877
|
type: String,
|
|
24878
24878
|
default: ""
|
|
24879
24879
|
},
|
|
24880
|
-
/**
|
|
24881
|
-
* Settings for turning on/off rendering
|
|
24880
|
+
/**
|
|
24881
|
+
* Settings for turning on/off rendering
|
|
24882
24882
|
*/
|
|
24883
24883
|
render: {
|
|
24884
24884
|
type: Boolean,
|
|
@@ -24890,8 +24890,8 @@ var EventNotifier = __webpack_require__("9b21").EventNotifier;
|
|
|
24890
24890
|
sceneData: this.$module.sceneData,
|
|
24891
24891
|
isPlaying: false,
|
|
24892
24892
|
isReady: false,
|
|
24893
|
-
/**
|
|
24894
|
-
* This is set when scene is transitioning.
|
|
24893
|
+
/**
|
|
24894
|
+
* This is set when scene is transitioning.
|
|
24895
24895
|
*/
|
|
24896
24896
|
isTransitioning: false,
|
|
24897
24897
|
tooltipAppendToBody: false,
|
|
@@ -25002,11 +25002,11 @@ var EventNotifier = __webpack_require__("9b21").EventNotifier;
|
|
|
25002
25002
|
this.$module.scene.displayMinimap = val;
|
|
25003
25003
|
},
|
|
25004
25004
|
"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.
|
|
25005
|
+
/**
|
|
25006
|
+
* Triggers when scene time changes.
|
|
25007
|
+
*
|
|
25008
|
+
* @property {number} time Current build-in time of scene.
|
|
25009
|
+
* of selected object.
|
|
25010
25010
|
*/
|
|
25011
25011
|
this.$emit("timeChanged", this.sceneData.currentTime);
|
|
25012
25012
|
},
|
|
@@ -25022,7 +25022,6 @@ var EventNotifier = __webpack_require__("9b21").EventNotifier;
|
|
|
25022
25022
|
},
|
|
25023
25023
|
markerLabels: function markerLabels(labels) {
|
|
25024
25024
|
var _this = this;
|
|
25025
|
-
console.log("marker labels changed", labels);
|
|
25026
25025
|
this.previousMarkerLabels.forEach(function (pml) {
|
|
25027
25026
|
_this.setMarkerModeForObjectsWithName(pml, "off");
|
|
25028
25027
|
});
|
|
@@ -25065,16 +25064,16 @@ var EventNotifier = __webpack_require__("9b21").EventNotifier;
|
|
|
25065
25064
|
if (this.$refs.treeControls) this.$refs.treeControls.zincObjectAdded(zincObject);
|
|
25066
25065
|
}
|
|
25067
25066
|
},
|
|
25068
|
-
/**
|
|
25069
|
-
* This is called when a new zinc object is read into the scene.
|
|
25067
|
+
/**
|
|
25068
|
+
* This is called when a new zinc object is read into the scene.
|
|
25070
25069
|
*/
|
|
25071
25070
|
zincObjectAdded: function zincObjectAdded(zincObject) {
|
|
25072
25071
|
this.loading = false;
|
|
25073
25072
|
this.$_searchIndex.addZincObject(zincObject, zincObject.uuid);
|
|
25074
25073
|
this.$emit("zinc-object-added", zincObject);
|
|
25075
25074
|
},
|
|
25076
|
-
/**
|
|
25077
|
-
*
|
|
25075
|
+
/**
|
|
25076
|
+
*
|
|
25078
25077
|
*/
|
|
25079
25078
|
addRegionsToSearchIndex: function addRegionsToSearchIndex() {
|
|
25080
25079
|
var _this2 = this;
|
|
@@ -25084,19 +25083,19 @@ var EventNotifier = __webpack_require__("9b21").EventNotifier;
|
|
|
25084
25083
|
_this2.$_searchIndex.addRegion(region, region.uuid);
|
|
25085
25084
|
});
|
|
25086
25085
|
},
|
|
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.
|
|
25086
|
+
/**
|
|
25087
|
+
* This is called when Change backgspeedround colour button
|
|
25088
|
+
* is pressed an causes the backgrouColornd colour to be changed
|
|
25089
|
+
* to one of the three preset colour: white, black and
|
|
25090
|
+
* lightskyblue.
|
|
25092
25091
|
*/
|
|
25093
25092
|
backgroundChangeCallback: function backgroundChangeCallback(colour) {
|
|
25094
25093
|
this.currentBackground = colour;
|
|
25095
25094
|
this.$module.zincRenderer.getThreeJSRenderer().setClearColor(this.currentBackground, 1);
|
|
25096
25095
|
},
|
|
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.
|
|
25096
|
+
/**
|
|
25097
|
+
* This is called by captueeScreenshot and after the last render
|
|
25098
|
+
* loop, it download a screenshot of the current scene with no UI.
|
|
25100
25099
|
*/
|
|
25101
25100
|
captureScreenshotCallback: function captureScreenshotCallback() {
|
|
25102
25101
|
//Remove the callback, only needs to happen once
|
|
@@ -25109,21 +25108,21 @@ var EventNotifier = __webpack_require__("9b21").EventNotifier;
|
|
|
25109
25108
|
hrefElement.click();
|
|
25110
25109
|
hrefElement.remove();
|
|
25111
25110
|
},
|
|
25112
|
-
/**
|
|
25113
|
-
* Function for capturing a screenshot of the current rendering.
|
|
25114
|
-
*
|
|
25115
|
-
* @param {String} filename filename given to the screenshot.
|
|
25116
|
-
*
|
|
25117
|
-
* @public
|
|
25111
|
+
/**
|
|
25112
|
+
* Function for capturing a screenshot of the current rendering.
|
|
25113
|
+
*
|
|
25114
|
+
* @param {String} filename filename given to the screenshot.
|
|
25115
|
+
*
|
|
25116
|
+
* @public
|
|
25118
25117
|
*/
|
|
25119
25118
|
captureScreenshot: function captureScreenshot(filename) {
|
|
25120
25119
|
this.captureFilename = filename;
|
|
25121
25120
|
this.captureID = this.$module.zincRenderer.addPostRenderCallbackFunction(this.captureScreenshotCallback);
|
|
25122
25121
|
},
|
|
25123
|
-
/**
|
|
25124
|
-
* Function to clear current scene, the tree controls and the search index.
|
|
25125
|
-
*
|
|
25126
|
-
* @public
|
|
25122
|
+
/**
|
|
25123
|
+
* Function to clear current scene, the tree controls and the search index.
|
|
25124
|
+
*
|
|
25125
|
+
* @public
|
|
25127
25126
|
*/
|
|
25128
25127
|
clearScene: function clearScene() {
|
|
25129
25128
|
if (this.$refs.treeControls) this.$refs.treeControls.clear();
|
|
@@ -25140,52 +25139,52 @@ var EventNotifier = __webpack_require__("9b21").EventNotifier;
|
|
|
25140
25139
|
}
|
|
25141
25140
|
return val ? val.toFixed(2) + " ms" : "0 ms";
|
|
25142
25141
|
},
|
|
25143
|
-
/**
|
|
25144
|
-
* Function to reset the view to default.
|
|
25145
|
-
* Also called when the associated button is pressed.
|
|
25146
|
-
*
|
|
25147
|
-
* @public
|
|
25142
|
+
/**
|
|
25143
|
+
* Function to reset the view to default.
|
|
25144
|
+
* Also called when the associated button is pressed.
|
|
25145
|
+
*
|
|
25146
|
+
* @public
|
|
25148
25147
|
*/
|
|
25149
25148
|
fitWindow: function fitWindow() {
|
|
25150
25149
|
if (this.$module.scene) {
|
|
25151
25150
|
this.$module.scene.viewAll();
|
|
25152
25151
|
}
|
|
25153
25152
|
},
|
|
25154
|
-
/**
|
|
25155
|
-
* Function to zoom in.
|
|
25156
|
-
* Also called when the associated button is pressed.
|
|
25157
|
-
*
|
|
25158
|
-
* @public
|
|
25153
|
+
/**
|
|
25154
|
+
* Function to zoom in.
|
|
25155
|
+
* Also called when the associated button is pressed.
|
|
25156
|
+
*
|
|
25157
|
+
* @public
|
|
25159
25158
|
*/
|
|
25160
25159
|
zoomIn: function zoomIn() {
|
|
25161
25160
|
if (this.$module.scene) {
|
|
25162
25161
|
this.$module.scene.changeZoomByScrollRateUnit(-1);
|
|
25163
25162
|
}
|
|
25164
25163
|
},
|
|
25165
|
-
/**
|
|
25166
|
-
* Function to zoom out.
|
|
25167
|
-
* Also called when the associated button is pressed.
|
|
25168
|
-
*
|
|
25169
|
-
* @public
|
|
25164
|
+
/**
|
|
25165
|
+
* Function to zoom out.
|
|
25166
|
+
* Also called when the associated button is pressed.
|
|
25167
|
+
*
|
|
25168
|
+
* @public
|
|
25170
25169
|
*/
|
|
25171
25170
|
zoomOut: function zoomOut() {
|
|
25172
25171
|
if (this.$module.scene) {
|
|
25173
25172
|
this.$module.scene.changeZoomByScrollRateUnit(1);
|
|
25174
25173
|
}
|
|
25175
25174
|
},
|
|
25176
|
-
/**
|
|
25177
|
-
* Function to change the current play speed.
|
|
25178
|
-
*
|
|
25179
|
-
* @public
|
|
25175
|
+
/**
|
|
25176
|
+
* Function to change the current play speed.
|
|
25177
|
+
*
|
|
25178
|
+
* @public
|
|
25180
25179
|
*/
|
|
25181
25180
|
speedChanged: function speedChanged(speed) {
|
|
25182
25181
|
this.currentSpeed = speed;
|
|
25183
25182
|
this.$module.setPlayRate(this.defaultRate * this.currentSpeed);
|
|
25184
25183
|
},
|
|
25185
|
-
/**
|
|
25186
|
-
* Function used to stop the free spin
|
|
25187
|
-
*
|
|
25188
|
-
* @public
|
|
25184
|
+
/**
|
|
25185
|
+
* Function used to stop the free spin
|
|
25186
|
+
*
|
|
25187
|
+
* @public
|
|
25189
25188
|
*/
|
|
25190
25189
|
stopFreeSpin: function stopFreeSpin() {
|
|
25191
25190
|
var cameracontrol = this.$module.scene.getZincCameraControls();
|
|
@@ -25199,8 +25198,8 @@ var EventNotifier = __webpack_require__("9b21").EventNotifier;
|
|
|
25199
25198
|
}
|
|
25200
25199
|
return objects;
|
|
25201
25200
|
},
|
|
25202
|
-
/**
|
|
25203
|
-
* Focus on named region
|
|
25201
|
+
/**
|
|
25202
|
+
* Focus on named region
|
|
25204
25203
|
*/
|
|
25205
25204
|
viewRegion: function viewRegion(names) {
|
|
25206
25205
|
var rootRegion = this.$module.scene.getRootRegion();
|
|
@@ -25249,11 +25248,11 @@ var EventNotifier = __webpack_require__("9b21").EventNotifier;
|
|
|
25249
25248
|
}
|
|
25250
25249
|
return undefined;
|
|
25251
25250
|
},
|
|
25252
|
-
/**
|
|
25253
|
-
* Function used to rotate the scene.
|
|
25254
|
-
* Also called when the associated button is pressed.
|
|
25255
|
-
*
|
|
25256
|
-
* @public
|
|
25251
|
+
/**
|
|
25252
|
+
* Function used to rotate the scene.
|
|
25253
|
+
* Also called when the associated button is pressed.
|
|
25254
|
+
*
|
|
25255
|
+
* @public
|
|
25257
25256
|
*/
|
|
25258
25257
|
freeSpin: function freeSpin() {
|
|
25259
25258
|
if (this.$module.scene) {
|
|
@@ -25264,10 +25263,10 @@ var EventNotifier = __webpack_require__("9b21").EventNotifier;
|
|
|
25264
25263
|
setTimeout(this.stopFreeSpin, 4000);
|
|
25265
25264
|
}
|
|
25266
25265
|
},
|
|
25267
|
-
/**
|
|
25268
|
-
* Callback when a region is selected/highlighted.
|
|
25269
|
-
* It will also update other controls.
|
|
25270
|
-
*
|
|
25266
|
+
/**
|
|
25267
|
+
* Callback when a region is selected/highlighted.
|
|
25268
|
+
* It will also update other controls.
|
|
25269
|
+
*
|
|
25271
25270
|
*/
|
|
25272
25271
|
eventNotifierCallback: function eventNotifierCallback(event) {
|
|
25273
25272
|
var names = [];
|
|
@@ -25282,10 +25281,10 @@ var EventNotifier = __webpack_require__("9b21").EventNotifier;
|
|
|
25282
25281
|
});
|
|
25283
25282
|
zincObjects = event.zincObjects;
|
|
25284
25283
|
}
|
|
25285
|
-
/*
|
|
25286
|
-
* Event Type 1: Selected
|
|
25287
|
-
* Event Type 2: Highlighted
|
|
25288
|
-
* Event Type 1: Move
|
|
25284
|
+
/*
|
|
25285
|
+
* Event Type 1: Selected
|
|
25286
|
+
* Event Type 2: Highlighted
|
|
25287
|
+
* Event Type 1: Move
|
|
25289
25288
|
*/
|
|
25290
25289
|
if (event.eventType == 1) {
|
|
25291
25290
|
if (this.$refs.treeControls) {
|
|
@@ -25335,10 +25334,10 @@ var EventNotifier = __webpack_require__("9b21").EventNotifier;
|
|
|
25335
25334
|
}
|
|
25336
25335
|
}
|
|
25337
25336
|
},
|
|
25338
|
-
/**
|
|
25339
|
-
* Get the coordinates of the current selected region.
|
|
25340
|
-
*
|
|
25341
|
-
* @public
|
|
25337
|
+
/**
|
|
25338
|
+
* Get the coordinates of the current selected region.
|
|
25339
|
+
*
|
|
25340
|
+
* @public
|
|
25342
25341
|
*/
|
|
25343
25342
|
getCoordinatesOfSelected: function getCoordinatesOfSelected() {
|
|
25344
25343
|
if (this.selectedObjects && this.selectedObjects.length > 0) {
|
|
@@ -25346,46 +25345,46 @@ var EventNotifier = __webpack_require__("9b21").EventNotifier;
|
|
|
25346
25345
|
}
|
|
25347
25346
|
return undefined;
|
|
25348
25347
|
},
|
|
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
|
|
25348
|
+
/**
|
|
25349
|
+
* Return an object containing the window coordinates of the
|
|
25350
|
+
* current selected region which will be updated after each render
|
|
25351
|
+
* loop.
|
|
25352
|
+
*
|
|
25353
|
+
* @public
|
|
25355
25354
|
*/
|
|
25356
25355
|
getDynamicSelectedCoordinates: function getDynamicSelectedCoordinates() {
|
|
25357
25356
|
return this.$module.selectedScreenCoordinates;
|
|
25358
25357
|
},
|
|
25359
|
-
/**
|
|
25360
|
-
* Callback when time is changed through the UI.
|
|
25358
|
+
/**
|
|
25359
|
+
* Callback when time is changed through the UI.
|
|
25361
25360
|
*/
|
|
25362
25361
|
timeChange: function timeChange(event) {
|
|
25363
25362
|
var normalizedTime = event / this.timeMax * 100;
|
|
25364
25363
|
if (normalizedTime != this.sceneData.currentTime) this.$module.updateTime(normalizedTime);
|
|
25365
25364
|
},
|
|
25366
|
-
/**
|
|
25367
|
-
* A callback used by children components. Set the selected zinc object
|
|
25368
|
-
*
|
|
25369
|
-
* @param {object} object Zinc object
|
|
25365
|
+
/**
|
|
25366
|
+
* A callback used by children components. Set the selected zinc object
|
|
25367
|
+
*
|
|
25368
|
+
* @param {object} object Zinc object
|
|
25370
25369
|
*/
|
|
25371
25370
|
objectSelected: function objectSelected(objects, propagate) {
|
|
25372
25371
|
this.selectedObjects = objects;
|
|
25373
25372
|
if (this.selectedObjects && this.selectedObjects.length > 0) this.$refs.opacityControl.setObject(this.selectedObjects[0]);
|
|
25374
25373
|
this.$module.setSelectedByZincObjects(objects, undefined, propagate);
|
|
25375
25374
|
},
|
|
25376
|
-
/**
|
|
25377
|
-
* A callback used by children components. Set the highlighted zinc object
|
|
25378
|
-
*
|
|
25379
|
-
* @param {object} object Zinc object
|
|
25375
|
+
/**
|
|
25376
|
+
* A callback used by children components. Set the highlighted zinc object
|
|
25377
|
+
*
|
|
25378
|
+
* @param {object} object Zinc object
|
|
25380
25379
|
*/
|
|
25381
25380
|
objectHovered: function objectHovered(objects, propagate) {
|
|
25382
25381
|
this.hoveredObjects = objects;
|
|
25383
25382
|
this.$module.setHighlightedByZincObjects(objects, undefined, propagate);
|
|
25384
25383
|
},
|
|
25385
|
-
/**
|
|
25386
|
-
* Set the selected by name.
|
|
25387
|
-
*
|
|
25388
|
-
* @param {} name Name of the group
|
|
25384
|
+
/**
|
|
25385
|
+
* Set the selected by name.
|
|
25386
|
+
*
|
|
25387
|
+
* @param {} name Name of the group
|
|
25389
25388
|
*/
|
|
25390
25389
|
changeActiveByName: function changeActiveByName(names, region, propagate) {
|
|
25391
25390
|
var isArray = Array.isArray(names);
|
|
@@ -25397,10 +25396,10 @@ var EventNotifier = __webpack_require__("9b21").EventNotifier;
|
|
|
25397
25396
|
this.$refs.treeControls.changeActiveByNames(array, region, propagate);
|
|
25398
25397
|
}
|
|
25399
25398
|
},
|
|
25400
|
-
/**
|
|
25401
|
-
* Set the highlighted by name.
|
|
25402
|
-
*
|
|
25403
|
-
* @param {name} name Name of the group
|
|
25399
|
+
/**
|
|
25400
|
+
* Set the highlighted by name.
|
|
25401
|
+
*
|
|
25402
|
+
* @param {name} name Name of the group
|
|
25404
25403
|
*/
|
|
25405
25404
|
changeHighlightedByName: function changeHighlightedByName(names, region, propagate) {
|
|
25406
25405
|
var isArray = Array.isArray(names);
|
|
@@ -25412,10 +25411,10 @@ var EventNotifier = __webpack_require__("9b21").EventNotifier;
|
|
|
25412
25411
|
this.$refs.treeControls.changeHoverByNames(array, region, propagate);
|
|
25413
25412
|
}
|
|
25414
25413
|
},
|
|
25415
|
-
/**
|
|
25416
|
-
* Start the animation.
|
|
25417
|
-
*
|
|
25418
|
-
* @param {object} object Zinc object
|
|
25414
|
+
/**
|
|
25415
|
+
* Start the animation.
|
|
25416
|
+
*
|
|
25417
|
+
* @param {object} object Zinc object
|
|
25419
25418
|
*/
|
|
25420
25419
|
play: function play(flag) {
|
|
25421
25420
|
this.$module.playAnimation(flag);
|
|
@@ -25424,8 +25423,8 @@ var EventNotifier = __webpack_require__("9b21").EventNotifier;
|
|
|
25424
25423
|
//this.hideRegionTooltip();
|
|
25425
25424
|
},
|
|
25426
25425
|
|
|
25427
|
-
/**
|
|
25428
|
-
* Function to toggle on/off overlay help.
|
|
25426
|
+
/**
|
|
25427
|
+
* Function to toggle on/off overlay help.
|
|
25429
25428
|
*/
|
|
25430
25429
|
setHelpMode: function setHelpMode(helpMode) {
|
|
25431
25430
|
if (helpMode) {
|
|
@@ -25440,9 +25439,9 @@ var EventNotifier = __webpack_require__("9b21").EventNotifier;
|
|
|
25440
25439
|
});
|
|
25441
25440
|
}
|
|
25442
25441
|
},
|
|
25443
|
-
/**
|
|
25444
|
-
* Callback function used by showRegionTooltip in the case when the tooltip
|
|
25445
|
-
* is out of view.
|
|
25442
|
+
/**
|
|
25443
|
+
* Callback function used by showRegionTooltip in the case when the tooltip
|
|
25444
|
+
* is out of view.
|
|
25446
25445
|
*/
|
|
25447
25446
|
displayTooltipOfObjectsCallback: function displayTooltipOfObjectsCallback(name, objects, regionPath, resetView, liveUpdates) {
|
|
25448
25447
|
var instance = this;
|
|
@@ -25494,12 +25493,12 @@ var EventNotifier = __webpack_require__("9b21").EventNotifier;
|
|
|
25494
25493
|
this.hideRegionTooltip();
|
|
25495
25494
|
return false;
|
|
25496
25495
|
},
|
|
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.
|
|
25496
|
+
/**
|
|
25497
|
+
* Display the tooltip used for displaying search result.
|
|
25498
|
+
* When resetView is set to true, it will
|
|
25499
|
+
* reset view if the tooltip is not in view.
|
|
25500
|
+
* Setting liveUpdates to true will update the tooltip location
|
|
25501
|
+
* at every rendering loop.
|
|
25503
25502
|
*/
|
|
25504
25503
|
showRegionTooltipWithObjects: function showRegionTooltipWithObjects(label, zincObjects, regionPath, resetView, liveUpdates) {
|
|
25505
25504
|
if (label && zincObjects && zincObjects.length > 0 && this.$module.scene) {
|
|
@@ -25508,11 +25507,11 @@ var EventNotifier = __webpack_require__("9b21").EventNotifier;
|
|
|
25508
25507
|
this.hideRegionTooltip();
|
|
25509
25508
|
return false;
|
|
25510
25509
|
},
|
|
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.
|
|
25510
|
+
/**
|
|
25511
|
+
* Display the tooltip. When resetView is set to true, it will
|
|
25512
|
+
* reset view if the tooltip is not in view.
|
|
25513
|
+
* Setting liveUpdates to true will update the tooltip location
|
|
25514
|
+
* at every rendering loop.
|
|
25516
25515
|
*/
|
|
25517
25516
|
showRegionTooltip: function showRegionTooltip(name, resetView, liveUpdates) {
|
|
25518
25517
|
if (name && this.$module.scene) {
|
|
@@ -25528,12 +25527,12 @@ var EventNotifier = __webpack_require__("9b21").EventNotifier;
|
|
|
25528
25527
|
this.hideRegionTooltip();
|
|
25529
25528
|
return false;
|
|
25530
25529
|
},
|
|
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.
|
|
25530
|
+
/**
|
|
25531
|
+
* Display the tooltip using the list of annotations.
|
|
25532
|
+
* When resetView is set to true, it will
|
|
25533
|
+
* reset view if the tooltip is not in view.
|
|
25534
|
+
* Setting liveUpdates to true will update the tooltip location
|
|
25535
|
+
* at every rendering loop.
|
|
25537
25536
|
*/
|
|
25538
25537
|
showRegionTooltipWithAnnotations: function showRegionTooltipWithAnnotations(annotations, resetView, liveUpdates) {
|
|
25539
25538
|
if (this.$module.scene) {
|
|
@@ -25554,9 +25553,9 @@ var EventNotifier = __webpack_require__("9b21").EventNotifier;
|
|
|
25554
25553
|
this.tData.visible = false;
|
|
25555
25554
|
this.tData.region = undefined;
|
|
25556
25555
|
},
|
|
25557
|
-
/**
|
|
25558
|
-
* Set the marker modes for objects with the provided name, mode can
|
|
25559
|
-
* be "on", "off" or "inherited".
|
|
25556
|
+
/**
|
|
25557
|
+
* Set the marker modes for objects with the provided name, mode can
|
|
25558
|
+
* be "on", "off" or "inherited".
|
|
25560
25559
|
*/
|
|
25561
25560
|
setMarkerModeForObjectsWithName: function setMarkerModeForObjectsWithName(name, mode) {
|
|
25562
25561
|
if (name && this.$module.scene) {
|
|
@@ -25568,8 +25567,8 @@ var EventNotifier = __webpack_require__("9b21").EventNotifier;
|
|
|
25568
25567
|
});
|
|
25569
25568
|
}
|
|
25570
25569
|
},
|
|
25571
|
-
/**
|
|
25572
|
-
* Set the marker modes for objects specified by the list of annotations
|
|
25570
|
+
/**
|
|
25571
|
+
* Set the marker modes for objects specified by the list of annotations
|
|
25573
25572
|
*/
|
|
25574
25573
|
setMarkerModeWithAnnotations: function setMarkerModeWithAnnotations(annotations, mode) {
|
|
25575
25574
|
if (this.$module.scene) {
|
|
@@ -25581,9 +25580,9 @@ var EventNotifier = __webpack_require__("9b21").EventNotifier;
|
|
|
25581
25580
|
}
|
|
25582
25581
|
}
|
|
25583
25582
|
},
|
|
25584
|
-
/**
|
|
25585
|
-
* This is called when mouse cursor enters supported elements
|
|
25586
|
-
* with help tootltips.
|
|
25583
|
+
/**
|
|
25584
|
+
* This is called when mouse cursor enters supported elements
|
|
25585
|
+
* with help tootltips.
|
|
25587
25586
|
*/
|
|
25588
25587
|
showHelpText: function showHelpText(helpTextNumber) {
|
|
25589
25588
|
var _this3 = this;
|
|
@@ -25593,8 +25592,8 @@ var EventNotifier = __webpack_require__("9b21").EventNotifier;
|
|
|
25593
25592
|
}, 500);
|
|
25594
25593
|
}
|
|
25595
25594
|
},
|
|
25596
|
-
/**
|
|
25597
|
-
* This is called when mouse cursor exits supported element..
|
|
25595
|
+
/**
|
|
25596
|
+
* This is called when mouse cursor exits supported element..
|
|
25598
25597
|
*/
|
|
25599
25598
|
hideHelpText: function hideHelpText(helpTextNumber) {
|
|
25600
25599
|
if (!this.inHelp) {
|
|
@@ -25627,16 +25626,16 @@ var EventNotifier = __webpack_require__("9b21").EventNotifier;
|
|
|
25627
25626
|
}
|
|
25628
25627
|
return false;
|
|
25629
25628
|
},
|
|
25630
|
-
/**
|
|
25631
|
-
* Get the list of suggested terms
|
|
25629
|
+
/**
|
|
25630
|
+
* Get the list of suggested terms
|
|
25632
25631
|
*/
|
|
25633
25632
|
fetchSuggestions: function fetchSuggestions(term) {
|
|
25634
25633
|
if (this.$_searchIndex === undefined) return [];
|
|
25635
25634
|
return this.$_searchIndex.auto_suggest(term);
|
|
25636
25635
|
},
|
|
25637
|
-
/**
|
|
25638
|
-
* Called when minimap settings has changed. Pass the
|
|
25639
|
-
* parameters to ZincJS and marked it for update.
|
|
25636
|
+
/**
|
|
25637
|
+
* Called when minimap settings has changed. Pass the
|
|
25638
|
+
* parameters to ZincJS and marked it for update.
|
|
25640
25639
|
*/
|
|
25641
25640
|
updateMinimapScissor: function updateMinimapScissor() {
|
|
25642
25641
|
var _this4 = this;
|
|
@@ -25682,14 +25681,15 @@ var EventNotifier = __webpack_require__("9b21").EventNotifier;
|
|
|
25682
25681
|
_this5.$module.unsetFinishDownloadCallback();
|
|
25683
25682
|
_this5.addRegionsToSearchIndex();
|
|
25684
25683
|
_this5.$emit("on-ready");
|
|
25684
|
+
_this5.setMarkers();
|
|
25685
25685
|
_this5.isReady = true;
|
|
25686
25686
|
};
|
|
25687
25687
|
},
|
|
25688
|
-
/**
|
|
25689
|
-
* Function used for getting the current states of the scene. This exported states
|
|
25690
|
-
* can be imported using the importStates method.
|
|
25691
|
-
*
|
|
25692
|
-
* @public
|
|
25688
|
+
/**
|
|
25689
|
+
* Function used for getting the current states of the scene. This exported states
|
|
25690
|
+
* can be imported using the importStates method.
|
|
25691
|
+
*
|
|
25692
|
+
* @public
|
|
25693
25693
|
*/
|
|
25694
25694
|
getState: function getState() {
|
|
25695
25695
|
var state = {
|
|
@@ -25705,11 +25705,11 @@ var EventNotifier = __webpack_require__("9b21").EventNotifier;
|
|
|
25705
25705
|
}
|
|
25706
25706
|
return state;
|
|
25707
25707
|
},
|
|
25708
|
-
/**
|
|
25709
|
-
* Function used for importing the states of the scene. This exported states
|
|
25710
|
-
* can be imported using the read states method.
|
|
25711
|
-
*
|
|
25712
|
-
* @public
|
|
25708
|
+
/**
|
|
25709
|
+
* Function used for importing the states of the scene. This exported states
|
|
25710
|
+
* can be imported using the read states method.
|
|
25711
|
+
*
|
|
25712
|
+
* @public
|
|
25713
25713
|
*/
|
|
25714
25714
|
setState: function setState(state) {
|
|
25715
25715
|
if (state) {
|
|
@@ -25737,12 +25737,12 @@ var EventNotifier = __webpack_require__("9b21").EventNotifier;
|
|
|
25737
25737
|
exportGLTF: function exportGLTF(binary) {
|
|
25738
25738
|
return this.$module.scene.exportGLTF(binary);
|
|
25739
25739
|
},
|
|
25740
|
-
/**
|
|
25741
|
-
* Function used for reading in new scaffold metadata and a custom
|
|
25742
|
-
* viewport. This function will ignore the state prop and
|
|
25743
|
-
* read in the new url.
|
|
25744
|
-
*
|
|
25745
|
-
* @public
|
|
25740
|
+
/**
|
|
25741
|
+
* Function used for reading in new scaffold metadata and a custom
|
|
25742
|
+
* viewport. This function will ignore the state prop and
|
|
25743
|
+
* read in the new url.
|
|
25744
|
+
*
|
|
25745
|
+
* @public
|
|
25746
25746
|
*/
|
|
25747
25747
|
setURLAndState: function setURLAndState(newValue, state) {
|
|
25748
25748
|
if (newValue != this._currentURL) {
|
|
@@ -25772,24 +25772,24 @@ var EventNotifier = __webpack_require__("9b21").EventNotifier;
|
|
|
25772
25772
|
this.updateMinimapScissor();
|
|
25773
25773
|
}
|
|
25774
25774
|
},
|
|
25775
|
-
/**
|
|
25776
|
-
* Function used for reading in new scaffold metadata. This function will ignore
|
|
25777
|
-
* the state prop and read in the new url.
|
|
25778
|
-
*
|
|
25779
|
-
* @public
|
|
25775
|
+
/**
|
|
25776
|
+
* Function used for reading in new scaffold metadata. This function will ignore
|
|
25777
|
+
* the state prop and read in the new url.
|
|
25778
|
+
*
|
|
25779
|
+
* @public
|
|
25780
25780
|
*/
|
|
25781
25781
|
setURL: function setURL(newValue) {
|
|
25782
25782
|
this.setURLAndState(newValue, undefined);
|
|
25783
25783
|
},
|
|
25784
|
-
/**
|
|
25785
|
-
* Callback when drawer is toggled.
|
|
25784
|
+
/**
|
|
25785
|
+
* Callback when drawer is toggled.
|
|
25786
25786
|
*/
|
|
25787
25787
|
drawerToggled: function drawerToggled(flag) {
|
|
25788
25788
|
this.drawerOpen = flag;
|
|
25789
25789
|
this.adjustLayout();
|
|
25790
25790
|
},
|
|
25791
|
-
/**
|
|
25792
|
-
* Callback using ResizeObserver.
|
|
25791
|
+
/**
|
|
25792
|
+
* Callback using ResizeObserver.
|
|
25793
25793
|
*/
|
|
25794
25794
|
adjustLayout: function adjustLayout() {
|
|
25795
25795
|
var width = this.$refs.scaffoldContainer.clientWidth;
|
|
@@ -25821,23 +25821,32 @@ var EventNotifier = __webpack_require__("9b21").EventNotifier;
|
|
|
25821
25821
|
}
|
|
25822
25822
|
this.$emit("scaffold-navigated", payload);
|
|
25823
25823
|
},
|
|
25824
|
-
/**
|
|
25825
|
-
* Rotate mode - "none", "horizontal", "vertical", "free" but
|
|
25826
|
-
* it will be ignored if flag is set to false.
|
|
25824
|
+
/**
|
|
25825
|
+
* Rotate mode - "none", "horizontal", "vertical", "free" but
|
|
25826
|
+
* it will be ignored if flag is set to false.
|
|
25827
25827
|
*/
|
|
25828
25828
|
toggleSyncControl: function toggleSyncControl(flag, rotateMode) {
|
|
25829
25829
|
this.$module.toggleSyncControl(flag, rotateMode);
|
|
25830
25830
|
this.$module.setSyncControlCallback(this.syncControlCallback);
|
|
25831
|
+
},
|
|
25832
|
+
/**
|
|
25833
|
+
* Set the markers for the scene.
|
|
25834
|
+
*/
|
|
25835
|
+
setMarkers: function setMarkers() {
|
|
25836
|
+
var _this6 = this;
|
|
25837
|
+
this.markerLabels.forEach(function (l) {
|
|
25838
|
+
_this6.setMarkerModeForObjectsWithName(l, "on");
|
|
25839
|
+
});
|
|
25831
25840
|
}
|
|
25832
25841
|
}
|
|
25833
25842
|
});
|
|
25834
25843
|
// CONCATENATED MODULE: ./src/components/ScaffoldVuer.vue?vue&type=script&lang=js&
|
|
25835
25844
|
/* harmony default export */ var components_ScaffoldVuervue_type_script_lang_js_ = (ScaffoldVuervue_type_script_lang_js_);
|
|
25836
|
-
// EXTERNAL MODULE: ./src/components/ScaffoldVuer.vue?vue&type=style&index=0&id=
|
|
25837
|
-
var
|
|
25845
|
+
// EXTERNAL MODULE: ./src/components/ScaffoldVuer.vue?vue&type=style&index=0&id=1d065206&prod&scoped=true&lang=scss&
|
|
25846
|
+
var ScaffoldVuervue_type_style_index_0_id_1d065206_prod_scoped_true_lang_scss_ = __webpack_require__("c31b");
|
|
25838
25847
|
|
|
25839
|
-
// EXTERNAL MODULE: ./src/components/ScaffoldVuer.vue?vue&type=style&index=1&id=
|
|
25840
|
-
var
|
|
25848
|
+
// EXTERNAL MODULE: ./src/components/ScaffoldVuer.vue?vue&type=style&index=1&id=1d065206&prod&lang=scss&
|
|
25849
|
+
var ScaffoldVuervue_type_style_index_1_id_1d065206_prod_lang_scss_ = __webpack_require__("258c");
|
|
25841
25850
|
|
|
25842
25851
|
// CONCATENATED MODULE: ./src/components/ScaffoldVuer.vue
|
|
25843
25852
|
|
|
@@ -25855,7 +25864,7 @@ var ScaffoldVuer_component = normalizeComponent(
|
|
|
25855
25864
|
staticRenderFns,
|
|
25856
25865
|
false,
|
|
25857
25866
|
null,
|
|
25858
|
-
"
|
|
25867
|
+
"1d065206",
|
|
25859
25868
|
null
|
|
25860
25869
|
|
|
25861
25870
|
)
|