@crystaldesign/real-time-viewer 24.11.0-beta.35 → 24.11.0-beta.37
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/build/esm/index.js +11 -11
- package/build/umd/report.html +1 -1
- package/package.json +2 -2
package/build/esm/index.js
CHANGED
|
@@ -665,7 +665,7 @@ var GridStore = /*#__PURE__*/function () {
|
|
|
665
665
|
}, {
|
|
666
666
|
key: "getMoveGrids",
|
|
667
667
|
value: function () {
|
|
668
|
-
var _getMoveGrids = _asyncToGenerator(
|
|
668
|
+
var _getMoveGrids = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(gridName, basketId) {
|
|
669
669
|
var _this$_viewHandler;
|
|
670
670
|
var fp;
|
|
671
671
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
@@ -728,7 +728,7 @@ var GridStore = /*#__PURE__*/function () {
|
|
|
728
728
|
}, {
|
|
729
729
|
key: "getGrids",
|
|
730
730
|
value: function () {
|
|
731
|
-
var _getGrids = _asyncToGenerator(
|
|
731
|
+
var _getGrids = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2(freePlacesOnGrids, plannedPlacesOnGrids, doNotRelod, doNotOverwrite) {
|
|
732
732
|
var _this$_viewHandler3, _this$_viewHandler4;
|
|
733
733
|
var _this$_sceneStore$api, res;
|
|
734
734
|
return _regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
@@ -1295,7 +1295,7 @@ var SceneStore = /*#__PURE__*/function () {
|
|
|
1295
1295
|
}, {
|
|
1296
1296
|
key: "exportScene",
|
|
1297
1297
|
value: function () {
|
|
1298
|
-
var _exportScene = _asyncToGenerator(
|
|
1298
|
+
var _exportScene = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
|
|
1299
1299
|
var res;
|
|
1300
1300
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
1301
1301
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -2057,7 +2057,7 @@ function caching () {
|
|
|
2057
2057
|
|
|
2058
2058
|
var LOG$1 = getLogger('RealTimeViewer', 'ar-viewer');
|
|
2059
2059
|
var customMat = /*#__PURE__*/function () {
|
|
2060
|
-
var _ref = _asyncToGenerator(
|
|
2060
|
+
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(_customMat) {
|
|
2061
2061
|
var setDataRow,
|
|
2062
2062
|
sceneStore,
|
|
2063
2063
|
url,
|
|
@@ -2153,13 +2153,13 @@ function findAssets(_x, _x2) {
|
|
|
2153
2153
|
return _findAssets.apply(this, arguments);
|
|
2154
2154
|
}
|
|
2155
2155
|
function _findAssets() {
|
|
2156
|
-
_findAssets = _asyncToGenerator(
|
|
2156
|
+
_findAssets = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3(assets, cache) {
|
|
2157
2157
|
var sceneStore, stdMatPath, utilStore, newCache, cacheGroup, unifyAndSetStdMats, _unifyAndSetStdMats, importGeo, _importGeo, _iterator, _step, _loop, _ret, _iterator2, _step2, _loop2, nwCache;
|
|
2158
2158
|
return _regeneratorRuntime.wrap(function _callee3$(_context5) {
|
|
2159
2159
|
while (1) switch (_context5.prev = _context5.next) {
|
|
2160
2160
|
case 0:
|
|
2161
2161
|
_importGeo = function _importGeo3() {
|
|
2162
|
-
_importGeo = _asyncToGenerator(
|
|
2162
|
+
_importGeo = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2(geo, path) {
|
|
2163
2163
|
var geoCached, size, result, mesh, _sceneStore$onMissing;
|
|
2164
2164
|
return _regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
2165
2165
|
while (1) switch (_context2.prev = _context2.next) {
|
|
@@ -2225,7 +2225,7 @@ function _findAssets() {
|
|
|
2225
2225
|
return _importGeo.apply(this, arguments);
|
|
2226
2226
|
};
|
|
2227
2227
|
_unifyAndSetStdMats = function _unifyAndSetStdMats3() {
|
|
2228
|
-
_unifyAndSetStdMats = _asyncToGenerator(
|
|
2228
|
+
_unifyAndSetStdMats = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(geo, iln) {
|
|
2229
2229
|
var splittedName, oldMatId, path, name, mat, oldMat, _iterator3, _step3, mesh, _iterator4, _step4, child;
|
|
2230
2230
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
2231
2231
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -2512,7 +2512,7 @@ function createOrGetMaterial(_x3, _x4, _x5, _x6, _x7, _x8, _x9, _x10) {
|
|
|
2512
2512
|
return _createOrGetMaterial.apply(this, arguments);
|
|
2513
2513
|
}
|
|
2514
2514
|
function _createOrGetMaterial() {
|
|
2515
|
-
_createOrGetMaterial = _asyncToGenerator(
|
|
2515
|
+
_createOrGetMaterial = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee4(name, blob, fileName, checkExisting, scene, tiling, setDataRow, isStdMat) {
|
|
2516
2516
|
var _iterator5, _step5, _mat, mat, material;
|
|
2517
2517
|
return _regeneratorRuntime.wrap(function _callee4$(_context6) {
|
|
2518
2518
|
while (1) switch (_context6.prev = _context6.next) {
|
|
@@ -2879,7 +2879,7 @@ function shadow() {
|
|
|
2879
2879
|
|
|
2880
2880
|
//! sets element set
|
|
2881
2881
|
var parser = /*#__PURE__*/function () {
|
|
2882
|
-
var _ref = _asyncToGenerator(
|
|
2882
|
+
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
|
|
2883
2883
|
var _changedElements$upda;
|
|
2884
2884
|
var sceneStore, hasRendered, hqRenderScript, scene, cache, changedElements, utilStore, _yield$findAssets, cacheGroup, newCache, _changedElements$upda2;
|
|
2885
2885
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
@@ -3003,7 +3003,7 @@ function useRealTimeRenderData (_ref) {
|
|
|
3003
3003
|
return _onSceneReady.apply(this, arguments);
|
|
3004
3004
|
}
|
|
3005
3005
|
function _onSceneReady() {
|
|
3006
|
-
_onSceneReady = _asyncToGenerator(
|
|
3006
|
+
_onSceneReady = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2() {
|
|
3007
3007
|
var _sceneStore$hqRenderS, getEnableUnityRtvKombi, cams, filteredCustomViewpoints, activeViewpoint, activeViewpointIdx;
|
|
3008
3008
|
return _regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
3009
3009
|
while (1) switch (_context2.prev = _context2.next) {
|
|
@@ -3131,7 +3131,7 @@ function useRealTimeRenderData (_ref) {
|
|
|
3131
3131
|
return _asyncUseEffect.apply(this, arguments);
|
|
3132
3132
|
}
|
|
3133
3133
|
function _asyncUseEffect() {
|
|
3134
|
-
_asyncUseEffect = _asyncToGenerator(
|
|
3134
|
+
_asyncUseEffect = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
|
|
3135
3135
|
var engine, bScene, context, scene, resize;
|
|
3136
3136
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
3137
3137
|
while (1) switch (_context.prev = _context.next) {
|