@kq_npm/client3d_webgl_vue 4.0.9-beta → 4.1.1-beta
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/adddata/index.js +84 -24
- package/index.js +733 -98
- package/light/index.js +1 -1
- package/limitheightanalysis/index.js +3 -1
- package/modelexcavate/index.js +568 -0
- package/modelexcavate/style/index.js +3 -0
- package/modelexcavate/style/modelexcavate.css +1 -0
- package/package.json +1 -1
- package/scenceview/index.js +770 -101
- package/sceneset/index.js +393 -7
- package/statusbar/index.js +2 -1
- package/style.css +1 -1
- package/videofusion/index.js +49 -15
- package/videoproject/index.js +50 -21
package/sceneset/index.js
CHANGED
|
@@ -2,6 +2,369 @@
|
|
|
2
2
|
/******/ "use strict";
|
|
3
3
|
/******/ var __webpack_modules__ = ({
|
|
4
4
|
|
|
5
|
+
/***/ 7705:
|
|
6
|
+
/***/ (function(module) {
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
/*
|
|
10
|
+
MIT License http://www.opensource.org/licenses/mit-license.php
|
|
11
|
+
Author Tobias Koppers @sokra
|
|
12
|
+
*/
|
|
13
|
+
// css base code, injected by the css-loader
|
|
14
|
+
// eslint-disable-next-line func-names
|
|
15
|
+
|
|
16
|
+
module.exports = function (cssWithMappingToString) {
|
|
17
|
+
var list = []; // return the list of modules as css string
|
|
18
|
+
|
|
19
|
+
list.toString = function toString() {
|
|
20
|
+
return this.map(function (item) {
|
|
21
|
+
var content = cssWithMappingToString(item);
|
|
22
|
+
|
|
23
|
+
if (item[2]) {
|
|
24
|
+
return "@media ".concat(item[2], " {").concat(content, "}");
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
return content;
|
|
28
|
+
}).join("");
|
|
29
|
+
}; // import a list of modules into the list
|
|
30
|
+
// eslint-disable-next-line func-names
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
list.i = function (modules, mediaQuery, dedupe) {
|
|
34
|
+
if (typeof modules === "string") {
|
|
35
|
+
// eslint-disable-next-line no-param-reassign
|
|
36
|
+
modules = [[null, modules, ""]];
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
var alreadyImportedModules = {};
|
|
40
|
+
|
|
41
|
+
if (dedupe) {
|
|
42
|
+
for (var i = 0; i < this.length; i++) {
|
|
43
|
+
// eslint-disable-next-line prefer-destructuring
|
|
44
|
+
var id = this[i][0];
|
|
45
|
+
|
|
46
|
+
if (id != null) {
|
|
47
|
+
alreadyImportedModules[id] = true;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
for (var _i = 0; _i < modules.length; _i++) {
|
|
53
|
+
var item = [].concat(modules[_i]);
|
|
54
|
+
|
|
55
|
+
if (dedupe && alreadyImportedModules[item[0]]) {
|
|
56
|
+
// eslint-disable-next-line no-continue
|
|
57
|
+
continue;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
if (mediaQuery) {
|
|
61
|
+
if (!item[2]) {
|
|
62
|
+
item[2] = mediaQuery;
|
|
63
|
+
} else {
|
|
64
|
+
item[2] = "".concat(mediaQuery, " and ").concat(item[2]);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
list.push(item);
|
|
69
|
+
}
|
|
70
|
+
};
|
|
71
|
+
|
|
72
|
+
return list;
|
|
73
|
+
};
|
|
74
|
+
|
|
75
|
+
/***/ }),
|
|
76
|
+
|
|
77
|
+
/***/ 3825:
|
|
78
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
79
|
+
|
|
80
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7705);
|
|
81
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
82
|
+
// Imports
|
|
83
|
+
|
|
84
|
+
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()(function(i){return i[1]});
|
|
85
|
+
// Module
|
|
86
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".cesium-performanceDisplay-defaultContainer{top:unset !important;bottom:16px;right:64px !important}", ""]);
|
|
87
|
+
// Exports
|
|
88
|
+
/* harmony default export */ __webpack_exports__["Z"] = (___CSS_LOADER_EXPORT___);
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
/***/ }),
|
|
92
|
+
|
|
93
|
+
/***/ 3379:
|
|
94
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
var isOldIE = function isOldIE() {
|
|
99
|
+
var memo;
|
|
100
|
+
return function memorize() {
|
|
101
|
+
if (typeof memo === 'undefined') {
|
|
102
|
+
// Test for IE <= 9 as proposed by Browserhacks
|
|
103
|
+
// @see http://browserhacks.com/#hack-e71d8692f65334173fee715c222cb805
|
|
104
|
+
// Tests for existence of standard globals is to allow style-loader
|
|
105
|
+
// to operate correctly into non-standard environments
|
|
106
|
+
// @see https://github.com/webpack-contrib/style-loader/issues/177
|
|
107
|
+
memo = Boolean(window && document && document.all && !window.atob);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
return memo;
|
|
111
|
+
};
|
|
112
|
+
}();
|
|
113
|
+
|
|
114
|
+
var getTarget = function getTarget() {
|
|
115
|
+
var memo = {};
|
|
116
|
+
return function memorize(target) {
|
|
117
|
+
if (typeof memo[target] === 'undefined') {
|
|
118
|
+
var styleTarget = document.querySelector(target); // Special case to return head of iframe instead of iframe itself
|
|
119
|
+
|
|
120
|
+
if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {
|
|
121
|
+
try {
|
|
122
|
+
// This will throw an exception if access to iframe is blocked
|
|
123
|
+
// due to cross-origin restrictions
|
|
124
|
+
styleTarget = styleTarget.contentDocument.head;
|
|
125
|
+
} catch (e) {
|
|
126
|
+
// istanbul ignore next
|
|
127
|
+
styleTarget = null;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
memo[target] = styleTarget;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
return memo[target];
|
|
135
|
+
};
|
|
136
|
+
}();
|
|
137
|
+
|
|
138
|
+
var stylesInDom = [];
|
|
139
|
+
|
|
140
|
+
function getIndexByIdentifier(identifier) {
|
|
141
|
+
var result = -1;
|
|
142
|
+
|
|
143
|
+
for (var i = 0; i < stylesInDom.length; i++) {
|
|
144
|
+
if (stylesInDom[i].identifier === identifier) {
|
|
145
|
+
result = i;
|
|
146
|
+
break;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
return result;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
function modulesToDom(list, options) {
|
|
154
|
+
var idCountMap = {};
|
|
155
|
+
var identifiers = [];
|
|
156
|
+
|
|
157
|
+
for (var i = 0; i < list.length; i++) {
|
|
158
|
+
var item = list[i];
|
|
159
|
+
var id = options.base ? item[0] + options.base : item[0];
|
|
160
|
+
var count = idCountMap[id] || 0;
|
|
161
|
+
var identifier = "".concat(id, " ").concat(count);
|
|
162
|
+
idCountMap[id] = count + 1;
|
|
163
|
+
var index = getIndexByIdentifier(identifier);
|
|
164
|
+
var obj = {
|
|
165
|
+
css: item[1],
|
|
166
|
+
media: item[2],
|
|
167
|
+
sourceMap: item[3]
|
|
168
|
+
};
|
|
169
|
+
|
|
170
|
+
if (index !== -1) {
|
|
171
|
+
stylesInDom[index].references++;
|
|
172
|
+
stylesInDom[index].updater(obj);
|
|
173
|
+
} else {
|
|
174
|
+
stylesInDom.push({
|
|
175
|
+
identifier: identifier,
|
|
176
|
+
updater: addStyle(obj, options),
|
|
177
|
+
references: 1
|
|
178
|
+
});
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
identifiers.push(identifier);
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
return identifiers;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
function insertStyleElement(options) {
|
|
188
|
+
var style = document.createElement('style');
|
|
189
|
+
var attributes = options.attributes || {};
|
|
190
|
+
|
|
191
|
+
if (typeof attributes.nonce === 'undefined') {
|
|
192
|
+
var nonce = true ? __webpack_require__.nc : 0;
|
|
193
|
+
|
|
194
|
+
if (nonce) {
|
|
195
|
+
attributes.nonce = nonce;
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
Object.keys(attributes).forEach(function (key) {
|
|
200
|
+
style.setAttribute(key, attributes[key]);
|
|
201
|
+
});
|
|
202
|
+
|
|
203
|
+
if (typeof options.insert === 'function') {
|
|
204
|
+
options.insert(style);
|
|
205
|
+
} else {
|
|
206
|
+
var target = getTarget(options.insert || 'head');
|
|
207
|
+
|
|
208
|
+
if (!target) {
|
|
209
|
+
throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
target.appendChild(style);
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
return style;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
function removeStyleElement(style) {
|
|
219
|
+
// istanbul ignore if
|
|
220
|
+
if (style.parentNode === null) {
|
|
221
|
+
return false;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
style.parentNode.removeChild(style);
|
|
225
|
+
}
|
|
226
|
+
/* istanbul ignore next */
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
var replaceText = function replaceText() {
|
|
230
|
+
var textStore = [];
|
|
231
|
+
return function replace(index, replacement) {
|
|
232
|
+
textStore[index] = replacement;
|
|
233
|
+
return textStore.filter(Boolean).join('\n');
|
|
234
|
+
};
|
|
235
|
+
}();
|
|
236
|
+
|
|
237
|
+
function applyToSingletonTag(style, index, remove, obj) {
|
|
238
|
+
var css = remove ? '' : obj.media ? "@media ".concat(obj.media, " {").concat(obj.css, "}") : obj.css; // For old IE
|
|
239
|
+
|
|
240
|
+
/* istanbul ignore if */
|
|
241
|
+
|
|
242
|
+
if (style.styleSheet) {
|
|
243
|
+
style.styleSheet.cssText = replaceText(index, css);
|
|
244
|
+
} else {
|
|
245
|
+
var cssNode = document.createTextNode(css);
|
|
246
|
+
var childNodes = style.childNodes;
|
|
247
|
+
|
|
248
|
+
if (childNodes[index]) {
|
|
249
|
+
style.removeChild(childNodes[index]);
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
if (childNodes.length) {
|
|
253
|
+
style.insertBefore(cssNode, childNodes[index]);
|
|
254
|
+
} else {
|
|
255
|
+
style.appendChild(cssNode);
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
function applyToTag(style, options, obj) {
|
|
261
|
+
var css = obj.css;
|
|
262
|
+
var media = obj.media;
|
|
263
|
+
var sourceMap = obj.sourceMap;
|
|
264
|
+
|
|
265
|
+
if (media) {
|
|
266
|
+
style.setAttribute('media', media);
|
|
267
|
+
} else {
|
|
268
|
+
style.removeAttribute('media');
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
if (sourceMap && typeof btoa !== 'undefined') {
|
|
272
|
+
css += "\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), " */");
|
|
273
|
+
} // For old IE
|
|
274
|
+
|
|
275
|
+
/* istanbul ignore if */
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
if (style.styleSheet) {
|
|
279
|
+
style.styleSheet.cssText = css;
|
|
280
|
+
} else {
|
|
281
|
+
while (style.firstChild) {
|
|
282
|
+
style.removeChild(style.firstChild);
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
style.appendChild(document.createTextNode(css));
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
var singleton = null;
|
|
290
|
+
var singletonCounter = 0;
|
|
291
|
+
|
|
292
|
+
function addStyle(obj, options) {
|
|
293
|
+
var style;
|
|
294
|
+
var update;
|
|
295
|
+
var remove;
|
|
296
|
+
|
|
297
|
+
if (options.singleton) {
|
|
298
|
+
var styleIndex = singletonCounter++;
|
|
299
|
+
style = singleton || (singleton = insertStyleElement(options));
|
|
300
|
+
update = applyToSingletonTag.bind(null, style, styleIndex, false);
|
|
301
|
+
remove = applyToSingletonTag.bind(null, style, styleIndex, true);
|
|
302
|
+
} else {
|
|
303
|
+
style = insertStyleElement(options);
|
|
304
|
+
update = applyToTag.bind(null, style, options);
|
|
305
|
+
|
|
306
|
+
remove = function remove() {
|
|
307
|
+
removeStyleElement(style);
|
|
308
|
+
};
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
update(obj);
|
|
312
|
+
return function updateStyle(newObj) {
|
|
313
|
+
if (newObj) {
|
|
314
|
+
if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap) {
|
|
315
|
+
return;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
update(obj = newObj);
|
|
319
|
+
} else {
|
|
320
|
+
remove();
|
|
321
|
+
}
|
|
322
|
+
};
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
module.exports = function (list, options) {
|
|
326
|
+
options = options || {}; // Force single-tag solution on IE6-9, which has a hard limit on the # of <style>
|
|
327
|
+
// tags it will allow on a page
|
|
328
|
+
|
|
329
|
+
if (!options.singleton && typeof options.singleton !== 'boolean') {
|
|
330
|
+
options.singleton = isOldIE();
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
list = list || [];
|
|
334
|
+
var lastIdentifiers = modulesToDom(list, options);
|
|
335
|
+
return function update(newList) {
|
|
336
|
+
newList = newList || [];
|
|
337
|
+
|
|
338
|
+
if (Object.prototype.toString.call(newList) !== '[object Array]') {
|
|
339
|
+
return;
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
for (var i = 0; i < lastIdentifiers.length; i++) {
|
|
343
|
+
var identifier = lastIdentifiers[i];
|
|
344
|
+
var index = getIndexByIdentifier(identifier);
|
|
345
|
+
stylesInDom[index].references--;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
var newLastIdentifiers = modulesToDom(newList, options);
|
|
349
|
+
|
|
350
|
+
for (var _i = 0; _i < lastIdentifiers.length; _i++) {
|
|
351
|
+
var _identifier = lastIdentifiers[_i];
|
|
352
|
+
|
|
353
|
+
var _index = getIndexByIdentifier(_identifier);
|
|
354
|
+
|
|
355
|
+
if (stylesInDom[_index].references === 0) {
|
|
356
|
+
stylesInDom[_index].updater();
|
|
357
|
+
|
|
358
|
+
stylesInDom.splice(_index, 1);
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
lastIdentifiers = newLastIdentifiers;
|
|
363
|
+
};
|
|
364
|
+
};
|
|
365
|
+
|
|
366
|
+
/***/ }),
|
|
367
|
+
|
|
5
368
|
/***/ 348:
|
|
6
369
|
/***/ (function(module) {
|
|
7
370
|
|
|
@@ -81,7 +444,7 @@ function _defineProperty(obj, key, value) {
|
|
|
81
444
|
/******/ }
|
|
82
445
|
/******/ // Create a new module (and put it into the cache)
|
|
83
446
|
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
84
|
-
/******/
|
|
447
|
+
/******/ id: moduleId,
|
|
85
448
|
/******/ // no module.loaded needed
|
|
86
449
|
/******/ exports: {}
|
|
87
450
|
/******/ };
|
|
@@ -134,6 +497,11 @@ function _defineProperty(obj, key, value) {
|
|
|
134
497
|
/******/ };
|
|
135
498
|
/******/ }();
|
|
136
499
|
/******/
|
|
500
|
+
/******/ /* webpack/runtime/nonce */
|
|
501
|
+
/******/ !function() {
|
|
502
|
+
/******/ __webpack_require__.nc = undefined;
|
|
503
|
+
/******/ }();
|
|
504
|
+
/******/
|
|
137
505
|
/************************************************************************/
|
|
138
506
|
var __webpack_exports__ = {};
|
|
139
507
|
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
|
@@ -207,6 +575,7 @@ class SceneSetViewModel {
|
|
|
207
575
|
|
|
208
576
|
this._viewer = viewer;
|
|
209
577
|
this._defaultSkyBox = viewer.scene.skyBox;
|
|
578
|
+
this._undergroundManager = new Cesium.Kq3dUndergroundManager(this._viewer.scene);
|
|
210
579
|
} // 获取场景内容
|
|
211
580
|
|
|
212
581
|
|
|
@@ -562,8 +931,6 @@ class SceneSetViewModel {
|
|
|
562
931
|
|
|
563
932
|
|
|
564
933
|
showGrid(type) {
|
|
565
|
-
console.log(this._viewer.scene.kq3dUndergroundManager);
|
|
566
|
-
|
|
567
934
|
if (this._gridLayer) {
|
|
568
935
|
this._viewer.imageryLayers.remove(this._gridLayer);
|
|
569
936
|
|
|
@@ -587,10 +954,6 @@ class SceneSetViewModel {
|
|
|
587
954
|
|
|
588
955
|
|
|
589
956
|
openUnderground(isOpen) {
|
|
590
|
-
if (!this._undergroundManager) {
|
|
591
|
-
this._undergroundManager = new Cesium.Kq3dUndergroundManager(this._viewer.scene);
|
|
592
|
-
}
|
|
593
|
-
|
|
594
957
|
this._undergroundManager.undergroundEnabled = isOpen;
|
|
595
958
|
this._undergroundManager.transparentEnabled = isOpen;
|
|
596
959
|
} // 设置地表透明度
|
|
@@ -2070,10 +2433,33 @@ const __default__ = {
|
|
|
2070
2433
|
}));
|
|
2071
2434
|
;// CONCATENATED MODULE: ./src/webgl/sceneset/SceneSet.vue?vue&type=script&setup=true&lang=js
|
|
2072
2435
|
|
|
2436
|
+
// EXTERNAL MODULE: ./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js
|
|
2437
|
+
var injectStylesIntoStyleTag = __webpack_require__(3379);
|
|
2438
|
+
var injectStylesIntoStyleTag_default = /*#__PURE__*/__webpack_require__.n(injectStylesIntoStyleTag);
|
|
2439
|
+
// EXTERNAL MODULE: ./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/sceneset/SceneSet.vue?vue&type=style&index=0&id=8e9dc1cc&lang=scss
|
|
2440
|
+
var SceneSetvue_type_style_index_0_id_8e9dc1cc_lang_scss = __webpack_require__(3825);
|
|
2441
|
+
;// CONCATENATED MODULE: ./node_modules/style-loader/dist/cjs.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/sceneset/SceneSet.vue?vue&type=style&index=0&id=8e9dc1cc&lang=scss
|
|
2442
|
+
|
|
2443
|
+
|
|
2444
|
+
|
|
2445
|
+
var options = {};
|
|
2446
|
+
|
|
2447
|
+
options.insert = "head";
|
|
2448
|
+
options.singleton = false;
|
|
2449
|
+
|
|
2450
|
+
var update = injectStylesIntoStyleTag_default()(SceneSetvue_type_style_index_0_id_8e9dc1cc_lang_scss/* default */.Z, options);
|
|
2451
|
+
|
|
2452
|
+
|
|
2453
|
+
|
|
2454
|
+
/* harmony default export */ var sceneset_SceneSetvue_type_style_index_0_id_8e9dc1cc_lang_scss = (SceneSetvue_type_style_index_0_id_8e9dc1cc_lang_scss/* default.locals */.Z.locals || {});
|
|
2455
|
+
;// CONCATENATED MODULE: ./src/webgl/sceneset/SceneSet.vue?vue&type=style&index=0&id=8e9dc1cc&lang=scss
|
|
2456
|
+
|
|
2073
2457
|
;// CONCATENATED MODULE: ./src/webgl/sceneset/SceneSet.vue
|
|
2074
2458
|
|
|
2075
2459
|
|
|
2076
2460
|
|
|
2461
|
+
;
|
|
2462
|
+
|
|
2077
2463
|
const __exports__ = SceneSetvue_type_script_setup_true_lang_js;
|
|
2078
2464
|
|
|
2079
2465
|
/* harmony default export */ var SceneSet = (__exports__);
|
package/statusbar/index.js
CHANGED
|
@@ -88,7 +88,8 @@ class StatusBarViewModel {
|
|
|
88
88
|
(0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_viewer", null);
|
|
89
89
|
|
|
90
90
|
viewer.statusBar.show = true;
|
|
91
|
-
viewer.statusBar.readyPromise.then
|
|
91
|
+
let callback = viewer.statusBar.readyPromise.then || viewer.statusBar.readyPromise.resolve;
|
|
92
|
+
callback(() => {
|
|
92
93
|
// viewer.statusBar.container.style.bottom = "16px";
|
|
93
94
|
//viewer.statusBar.container.parentElement.style.right = "0px!important";
|
|
94
95
|
// console.log(viewer.statusBar.container.parentElement.style.right);
|