@realsee/five 6.7.0-alpha.9 → 6.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docs/assets/hierarchy.js +1 -1
- package/docs/assets/navigation.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/five.AdaptiveLuminancePass.html +22 -0
- package/docs/classes/five.AnimationFrameLoop.html +4 -4
- package/docs/classes/five.BoundingMesh.html +4 -0
- package/docs/classes/five.Camera.html +6 -5
- package/docs/classes/five.EffectComposer.html +21 -0
- package/docs/classes/five.EyeDomeLightingPass.html +21 -0
- package/docs/classes/five.Five.html +90 -76
- package/docs/classes/five.FivePass.html +18 -0
- package/docs/classes/five.FiveRenderer.html +9 -0
- package/docs/classes/five.FullScreenQuad.html +6 -0
- package/docs/classes/five.InternalWebGLRenderer.html +1 -1
- package/docs/classes/five.Model.html +32 -31
- package/docs/classes/five.ModelScene.html +23 -20
- package/docs/classes/five.NetworkSubscribe.html +1 -1
- package/docs/classes/five.PBMContainer.html +1 -1
- package/docs/classes/five.PBMGroup.html +1 -1
- package/docs/classes/five.PBMMesh.html +1 -1
- package/docs/classes/five.PBMMeshMaterial.html +6 -7
- package/docs/classes/five.PBMPointCloud.html +1 -1
- package/docs/classes/five.PBMPointCloudMaterial.html +5 -6
- package/docs/classes/five.PBMSkinnedMesh.html +1 -1
- package/docs/classes/five.PanoCircleMesh.html +3 -3
- package/docs/classes/five.PanoCircleMeshCustom.html +4 -4
- package/docs/classes/five.PanoCircleMeshSolid.html +5 -5
- package/docs/classes/five.Parameter.html +44 -47
- package/docs/classes/five.Scene.html +1 -1
- package/docs/classes/five.Subscribe.html +1 -1
- package/docs/classes/five.TextureLoader.html +2 -2
- package/docs/classes/five.Tile3D.html +21 -21
- package/docs/classes/five.TileNode.html +4 -3
- package/docs/classes/five.Tileset.html +4 -4
- package/docs/classes/five.TrajectoryNode.html +1 -1
- package/docs/classes/five.Work.html +16 -16
- package/docs/classes/five.WorkResolvedObserver.html +20 -21
- package/docs/classes/gltf-loader.DDSLoader.html +1 -1
- package/docs/classes/gltf-loader.DRACOLoader.html +1 -1
- package/docs/classes/gltf-loader.GLTFLoader.html +1 -1
- package/docs/classes/gltf-loader.GLTFObject.html +1 -1
- package/docs/classes/gltf-loader.THREEGLTFLoader.html +1 -1
- package/docs/classes/line.Line.html +1 -1
- package/docs/classes/line.LineGeometry.html +1 -1
- package/docs/classes/line.LineMaterial.html +1 -1
- package/docs/classes/line.LineSegmentsGeometry.html +1 -1
- package/docs/classes/line.THREE_Line2.html +1 -1
- package/docs/classes/line.THREE_LineSegments2.html +1 -1
- package/docs/classes/plugins.BasePlugin.Controller.html +1 -1
- package/docs/classes/plugins.RoundedBoxGeometry.html +1 -1
- package/docs/classes/sticker.Sticker.html +1 -1
- package/docs/classes/vfx.Airflow.html +1 -1
- package/docs/classes/vfx.Flame.html +1 -1
- package/docs/classes/vfx.Particle.html +1 -1
- package/docs/classes/vfx.ParticleGPU.html +1 -1
- package/docs/classes/vfx.SpotLight.html +1 -1
- package/docs/functions/five.loadAt3d.html +1 -1
- package/docs/functions/five.parseWork.html +1 -1
- package/docs/functions/five.workToJson.html +1 -1
- package/docs/functions/plugins.DynamicPathLinePlugin.html +1 -0
- package/docs/functions/react.withFive.html +1 -1
- package/docs/functions/vue.useFiveWorks.html +2 -2
- package/docs/hierarchy.html +1 -1
- package/docs/interfaces/five.AddableObject.html +1 -1
- package/docs/interfaces/five.AjaxOptions.html +1 -1
- package/docs/interfaces/five.AnimationFrame.html +3 -2
- package/docs/interfaces/five.AnimationFrameContext.html +2 -2
- package/docs/interfaces/five.BaseEvent.html +1 -1
- package/docs/interfaces/five.EventCallback.html +1 -1
- package/docs/interfaces/five.FiveInitArgs.html +3 -3
- package/docs/interfaces/five.FiveLoadOptions.html +8 -10
- package/docs/interfaces/five.GestureEvent.html +1 -1
- package/docs/interfaces/five.ImageOptions.html +1 -1
- package/docs/interfaces/five.IntersectEvent.html +1 -1
- package/docs/interfaces/five.IntersectMesh.html +2 -2
- package/docs/interfaces/five.IntersectMeshInterface.html +1 -1
- package/docs/interfaces/five.Intersection.html +1 -1
- package/docs/interfaces/five.LoosePanoWork.html +2 -2
- package/docs/interfaces/five.LooseWork.html +2 -2
- package/docs/interfaces/five.LooseWorkInitial.html +2 -2
- package/docs/interfaces/five.LooseWorkModel.html +3 -2
- package/docs/interfaces/five.LooseWorkObserver.html +3 -2
- package/docs/interfaces/five.LooseWorkPanorama.html +8 -8
- package/docs/interfaces/five.LooseWorkVideo.html +2 -2
- package/docs/interfaces/five.LooseWorkWithExtrinsics.html +7 -7
- package/docs/interfaces/five.ModeChangeEvent.html +2 -2
- package/docs/interfaces/five.ModelControllerCustomInitArgs.html +5 -3
- package/docs/interfaces/five.ModelEvent.html +2 -2
- package/docs/interfaces/five.ModelOptions.html +11 -0
- package/docs/interfaces/five.ModelSceneEvent.html +2 -2
- package/docs/interfaces/five.MovePanoOptions.html +1 -1
- package/docs/interfaces/five.NetworkAbortError.html +1 -1
- package/docs/interfaces/five.NetworkFirbiddenError.html +1 -1
- package/docs/interfaces/five.NetworkOptions.html +1 -1
- package/docs/interfaces/five.NetworkProxyError.html +1 -1
- package/docs/interfaces/five.NetworkResourceEvent.html +2 -2
- package/docs/interfaces/five.NetworkResponseError.html +1 -1
- package/docs/interfaces/five.NetworkTimeoutError.html +1 -1
- package/docs/interfaces/five.ObjectEvent.html +2 -2
- package/docs/interfaces/five.PBMMaterial.html +1 -1
- package/docs/interfaces/five.PBMMeshMaterialParameters.html +2 -3
- package/docs/interfaces/five.PBMPointCloudMaterialParameters.html +2 -3
- package/docs/interfaces/five.PanoCircleMeshInterface.html +1 -1
- package/docs/interfaces/five.PanoCircleMeshSolidOptions.html +2 -2
- package/docs/interfaces/five.PanoEvent.html +1 -1
- package/docs/interfaces/five.PanoTextureEvent.html +1 -1
- package/docs/interfaces/five.PanoramaControllerCustomInitArgs.html +12 -10
- package/docs/interfaces/five.PanoramaLikeControllerCustomInitArgs.html +5 -3
- package/docs/interfaces/five.ParameterMaterialValue.html +29 -31
- package/docs/interfaces/five.ParameterTilesetValue.html +15 -16
- package/docs/interfaces/five.ParameterValue.html +43 -46
- package/docs/interfaces/five.Pass.html +9 -0
- package/docs/interfaces/five.Pose.html +1 -1
- package/docs/interfaces/five.RenderEvent.html +2 -2
- package/docs/interfaces/five.ResolvedParameterValue.html +43 -46
- package/docs/interfaces/five.State.html +1 -1
- package/docs/interfaces/five.StateEvent.html +1 -1
- package/docs/interfaces/five.TextureOptions.html +1 -1
- package/docs/interfaces/five.TilesetOptions.html +2 -2
- package/docs/interfaces/five.TopviewControllerCustomInitArgs.html +7 -3
- package/docs/interfaces/five.VRPanoramaControllerCustomInitArgs.html +12 -10
- package/docs/interfaces/five.ViewLayer.html +21 -21
- package/docs/interfaces/five.WorkCubeImage.html +2 -2
- package/docs/interfaces/five.WorkImage.html +5 -3
- package/docs/interfaces/five.WorkInitial.html +8 -8
- package/docs/interfaces/five.WorkModel.html +9 -7
- package/docs/interfaces/five.WorkModelJson.html +3 -2
- package/docs/interfaces/five.WorkModelLayer.html +7 -2
- package/docs/interfaces/five.WorkModelLayerJson.html +2 -2
- package/docs/interfaces/five.WorkObserver.html +21 -22
- package/docs/interfaces/five.WorkObserverJson.html +4 -2
- package/docs/interfaces/five.WorkPanoramaJson.html +2 -2
- package/docs/interfaces/five.WorkPanoramasJson.html +2 -2
- package/docs/interfaces/five.WorkTile.html +4 -4
- package/docs/interfaces/five.WorkVideo.html +4 -4
- package/docs/interfaces/five.WorksEvent.html +2 -3
- package/docs/interfaces/five.XRControllerEvent.html +1 -1
- package/docs/interfaces/five.XRGestureEvent.html +1 -1
- package/docs/interfaces/five.XRPanoramaControllerCustomInitArgs.html +12 -10
- package/docs/interfaces/five.XRSessionEvent.html +1 -1
- package/docs/interfaces/plugins.BackgroundPluginController.html +1 -1
- package/docs/interfaces/plugins.BackgroundPluginType.EventMap.html +1 -1
- package/docs/interfaces/plugins.BasePlugin.State.html +1 -1
- package/docs/interfaces/plugins.DynamicPathLinePluginController.html +83 -0
- package/docs/interfaces/plugins.DynamicPathLinePluginType.Config.html +36 -0
- package/docs/interfaces/plugins.DynamicPathLinePluginType.EventMap.html +26 -0
- package/docs/interfaces/plugins.DynamicPathLinePluginType.Params.html +6 -0
- package/docs/interfaces/plugins.DynamicPathLinePluginType.PathConfig.html +28 -0
- package/docs/interfaces/plugins.DynamicPathLinePluginType.State.html +10 -0
- package/docs/interfaces/plugins.ItemMaskController.html +1 -1
- package/docs/interfaces/plugins.ItemMaskPluginType.EventMap.html +1 -1
- package/docs/interfaces/plugins.ItemMaskPluginType.State.html +1 -1
- package/docs/interfaces/plugins.OrientationPluginController.html +1 -1
- package/docs/interfaces/plugins.OrientationPluginType.EventMap.html +1 -1
- package/docs/interfaces/plugins.OrientationPluginType.State.html +1 -1
- package/docs/interfaces/plugins.PanoAnimeController.html +1 -1
- package/docs/interfaces/plugins.PanoAnimePluginType.EventMap.html +1 -1
- package/docs/interfaces/plugins.PanoAnimePluginType.State.html +1 -1
- package/docs/interfaces/plugins.PluginTemplateType.EventMap.html +1 -1
- package/docs/interfaces/plugins.PluginTemplateType.State.html +1 -1
- package/docs/interfaces/plugins.TrajectoryController.html +1 -1
- package/docs/interfaces/react.FiveInjectionTypes.html +4 -4
- package/docs/modules/five.html +1 -1
- package/docs/modules/plugins.DynamicPathLinePluginType.html +1 -0
- package/docs/modules/plugins.html +1 -1
- package/docs/types/five.AnimationFrameLoopType.html +1 -1
- package/docs/types/five.Models.html +4 -4
- package/docs/types/five.ParseOptions.html +6 -6
- package/docs/types/five.PostProcessingType.html +1 -1
- package/docs/types/five.RequestAnimationFrameArgs.html +1 -0
- package/docs/types/five.TilesetFrameState.html +2 -3
- package/docs/types/plugins.BasePlugin.EventMap.html +1 -1
- package/docs/types/plugins.DynamicPathLinePluginType.PluginData.html +3 -0
- package/docs/types/plugins.DynamicPathLinePluginType.ServerData.html +3 -0
- package/docs/types/vue.FiveProviderComponent.html +1 -1
- package/five/index.d.ts +311 -85
- package/five/index.js +299 -198
- package/five/index.mjs +7306 -6940
- package/gltf-loader/index.js +3 -3
- package/gltf-loader/index.mjs +146 -146
- package/line/index.js +3 -3
- package/line/index.mjs +10 -10
- package/package.json +1 -1
- package/plugins/index.d.ts +314 -0
- package/plugins/index.js +296 -15
- package/plugins/index.mjs +2615 -1503
- package/react/index.d.ts +1 -1
- package/react/index.js +2 -2
- package/react/index.mjs +2 -2
- package/shader-lib/index.d.ts +24 -1
- package/shader-lib/index.js +22 -13
- package/shader-lib/index.mjs +408 -171
- package/sticker/index.js +3 -3
- package/sticker/index.mjs +7 -7
- package/umd/five-gltf-loader.js +3 -3
- package/umd/five-line.js +3 -3
- package/umd/five-plugins.js +296 -15
- package/umd/five-react.js +2 -2
- package/umd/five-shader-lib.js +22 -13
- package/umd/five-sticker.js +3 -3
- package/umd/five-vfx.js +2 -2
- package/umd/five-vue.js +2 -2
- package/umd/five.js +299 -198
- package/vfx/index.js +2 -2
- package/vfx/index.mjs +2 -2
- package/vue/index.d.ts +1 -1
- package/vue/index.js +2 -2
- package/vue/index.mjs +2 -2
- package/work-downloader/index.js +3 -3
- package/work-downloader/index.mjs +13 -11
- package/docs/interfaces/five.ModelLike.html +0 -3
- package/docs/types/five.Tile3dOptions.html +0 -1
package/vfx/index.js
CHANGED
package/vfx/index.mjs
CHANGED
package/vue/index.d.ts
CHANGED
|
@@ -170,7 +170,7 @@ export declare type FiveProviderComponent = DefineComponent<{
|
|
|
170
170
|
initialWorks: PropType<Work[] | Promise<Work[]>>;
|
|
171
171
|
initialState: PropType<"inherit" | "initial" | Partial<Omit<State, "offset">>>;
|
|
172
172
|
initialUserAction: BooleanConstructor;
|
|
173
|
-
onWorksChange: PropType<(work:
|
|
173
|
+
onWorksChange: PropType<(work: Works) => void>;
|
|
174
174
|
onStateChange: PropType<(state: State, userAction: boolean) => void>;
|
|
175
175
|
onCurrentStateChange: PropType<(state: State, userAction: boolean) => void>;
|
|
176
176
|
onError: PropType<(error: Error) => void>;
|
package/vue/index.js
CHANGED
package/vue/index.mjs
CHANGED
package/work-downloader/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* @realsee/five
|
|
4
|
-
* Generated:
|
|
5
|
-
* Version: 6.7.
|
|
4
|
+
* Generated: 2026/1/5
|
|
5
|
+
* Version: 6.7.1
|
|
6
6
|
* Terms:
|
|
7
7
|
* Realsee SDK License Agreement
|
|
8
8
|
* Update: July 28, 2021
|
|
@@ -252,4 +252,4 @@
|
|
|
252
252
|
* No amendment to or modification of this Agreement will be binding unless in
|
|
253
253
|
* writing and signed by Realsee. You and Realsee hereto confirm that this
|
|
254
254
|
* Agreement and all related documents shall be drafted in English.
|
|
255
|
-
*/"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const I=require("node:fs"),B=require("node:fs/promises"),L=require("node:path"),K=require("node:stream"),Q=require("sharp");function S(n,r,e,i){function a(t){return t instanceof e?t:new e(function(u){u(t)})}return new(e||(e=Promise))(function(t,u){function o(c){try{s(i.next(c))}catch(f){u(f)}}function l(c){try{s(i.throw(c))}catch(f){u(f)}}function s(c){c.done?t(c.value):a(c.value).then(o,l)}s((i=i.apply(n,r||[])).next())})}function F(n,r){var e={label:0,sent:function(){if(t[0]&1)throw t[1];return t[1]},trys:[],ops:[]},i,a,t,u=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return u.next=o(0),u.throw=o(1),u.return=o(2),typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function o(s){return function(c){return l([s,c])}}function l(s){if(i)throw new TypeError("Generator is already executing.");for(;u&&(u=0,s[0]&&(e=0)),e;)try{if(i=1,a&&(t=s[0]&2?a.return:s[0]?a.throw||((t=a.return)&&t.call(a),0):a.next)&&!(t=t.call(a,s[1])).done)return t;switch(a=0,t&&(s=[s[0]&2,t.value]),s[0]){case 0:case 1:t=s;break;case 4:return e.label++,{value:s[1],done:!1};case 5:e.label++,a=s[1],s=[0];continue;case 7:s=e.ops.pop(),e.trys.pop();continue;default:if(t=e.trys,!(t=t.length>0&&t[t.length-1])&&(s[0]===6||s[0]===2)){e=0;continue}if(s[0]===3&&(!t||s[1]>t[0]&&s[1]<t[3])){e.label=s[1];break}if(s[0]===6&&e.label<t[1]){e.label=t[1],t=s;break}if(t&&e.label<t[2]){e.label=t[2],e.ops.push(s);break}t[2]&&e.ops.pop(),e.trys.pop();continue}s=r.call(n,e)}catch(c){s=[6,c],a=0}finally{i=t=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}function O(n,r){if(r&&r[r.length-1]!=="/"&&(r+="/"),n.length>r.length&&n.startsWith(r))return n.slice(r.length);throw new Error("".concat(n," is not starting with ").concat(r))}function V(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var e=[];n=n.map(function(o){return(o!=null?o:"").trim()}).filter(function(o){return o.length>0&&!/^\/+$/.test(o)});for(var i=0;i<n.length;i++){var a=i===0,t=i===n.length-1,u=n[i];a||(u=u.replace(/^\.\//,"").replace(/^\/+/,"")),t||(u=u.replace(/\/+$/,"")),e.push(u)}return e.join("/")}var Y=1024*1024*5;function T(n,r,e){return S(this,void 0,void 0,function(){var i,a,t,u;return F(this,function(o){switch(o.label){case 0:return I.existsSync(r)?[2,r]:[4,e(n)];case 1:return i=o.sent(),i.ok&&i.body?[4,B.mkdir(L.dirname(r),{recursive:!0})]:[3,6];case 2:return o.sent(),a=Number((u=i.headers.get("content-length"))!==null&&u!==void 0?u:"Infinity"),a>Y?[2,new Promise(function(l,s){var c=K.Readable.fromWeb(i.body),f=I.createWriteStream(r);c.pipe(f),c.on("error",s),f.on("finish",function(){return l(r)})})]:[3,3];case 3:return[4,i.arrayBuffer()];case 4:return t=o.sent(),[4,B.writeFile(r,Buffer.from(t))];case 5:return o.sent(),[2,r];case 6:throw new Error("url: ".concat(n,"(").concat(i.statusText,")"))}})})}var Z=["jpg","png"],x=95;function G(n,r){var e=L.extname(n).slice(1)||"jpg",i=r.cut,a=r.size,t=r.format,u=t===void 0?e:t,o="";if(r.toFilename)o=r.toFilename(n,{cut:r.cut,size:r.size,format:r.format});else{var l="",s="",c=u;i&&(l=i.join("x")),a&&(s="".concat(a,"x")),c===e&&!s&&!l&&(c=""),o=[n,l,s,c].filter(function(f){return f.length>0}).join(".")}return o}function C(n,r){return S(this,void 0,void 0,function(){var e,i,a,t,u,o,l,s,c;return F(this,function(f){return e=L.extname(n).slice(1)||"jpg",i=r.cut,a=r.size,t=r.format,u=t===void 0?e:t,o=n,(i||a)&&u!==e&&Z.includes(u)&&(l=G(n,{format:u,toFilename:r.toFilename}),l!==o&&I.existsSync(l)&&(o=l)),s=Q(o),i&&(s=s.extract({left:i[0],top:i[1],width:i[2],height:i[3]})),a&&(s=s.resize(a)),s=s.toFormat(u,{quality:x}),c=G(n,r),c!==n&&!I.existsSync(c)?[2,s.toFile(c).then(function(){return c})]:[2,c]})})}function X(n){var r=[];if(n.content&&(n.content.uri?r.push(n.content.uri):n.content.url&&r.push(n.content.url)),n.children)for(var e=0,i=n.children;e<i.length;e++){var a=i[e],t=X(a);t.length>0&&r.push.apply(r,t)}return r}function ee(n,r,e){return S(this,void 0,void 0,function(){var i,a,t;return F(this,function(u){switch(u.label){case 0:return i=new URL(n,r).href,a=L.join(e.distPath,O(i,e.baseURL)),t=T(i,a,e.fetch),e.log(function(o){return"download: ".concat(i," -> ").concat(o)},t),[4,t];case 1:return u.sent(),/\.json$/.test(n)?[4,H(i,e)]:[3,3];case 2:u.sent(),u.label=3;case 3:return[2]}})})}function H(n,r){return S(this,void 0,void 0,function(){var e,i,a,t,u,o,l,s,c,f,v,m,p,b,w,h,d,y,k;return F(this,function(g){switch(g.label){case 0:return e=L.join(r.distPath,O(n,r.baseURL)),i=T(n,e,r.fetch),r.log(function(z){return"download: ".concat(n," -> ").concat(z)},i),[4,i];case 1:return g.sent(),u=(t=JSON).parse,[4,B.readFile(e,"utf8")];case 2:return a=u.apply(t,[g.sent()]),a.asset.overview?(o=new URL(a.asset.overview.imageFile,n).href,l=L.join(r.distPath,O(o,r.baseURL)),s=T(o,l,r.fetch),r.log(function(z){return"download: ".concat(o," -> ").concat(z)},s),[4,s]):[3,4];case 3:g.sent(),g.label=4;case 4:if(!a.asset.trajectories)return[3,8];c=function(z){var j,P,R;return F(this,function(U){switch(U.label){case 0:return j=new URL(z.file,n).href,P=L.join(r.distPath,O(j,r.baseURL)),R=T(j,P,r.fetch),r.log(function(_){return"download: ".concat(j," -> ").concat(_)},R),[4,R];case 1:return U.sent(),[2]}})},f=0,v=a.asset.trajectories.list,g.label=5;case 5:return f<v.length?(m=v[f],[5,c(m)]):[3,8];case 6:g.sent(),g.label=7;case 7:return f++,[3,5];case 8:p=X(a.root),b=6,w=0,g.label=9;case 9:if(!(w<p.length))return[3,12];for(h=[],d=0;d<b;d++)y=p[w+d],y&&(k=ee(y,n,r),h.push(k));return[4,Promise.all(h)];case 10:g.sent(),g.label=11;case 11:return w+=b,[3,9];case 12:return[2]}})})}function re(n,r){return S(this,void 0,void 0,function(){var e,i,a,t,u,h,o,l,s,c,f,v,m,p,b,w,h;return F(this,function(d){switch(d.label){case 0:return r.log("process model"),n.model?(e=n.model,i=e.textures,a=e.layers,t=e.file,u=e.textureBase,t?(r.log("process model file"),h=n.getURL(t),o=L.join(r.distPath,O(h,r.baseURL)),l=T(h,o,r.fetch),r.log(function(y){return"download: ".concat(t," -> ").concat(y)},l),[4,l]):[3,5]):[3,9];case 1:if(d.sent(),!i)return[3,5];s=function(y){var k,g,z,j,P,R,U,_,E,$,J,A,D;return F(this,function(M){switch(M.label){case 0:return k=V(n.getURL(u!=null?u:""),y),g=L.join(r.distPath,O(k,r.baseURL)),z=T(k,g,r.fetch),r.log(function(W){return"download: ".concat(k," -> ").concat(W)},z),[4,z];case 1:for(M.sent(),j=r.imageOptions.format,j.length===0&&j.push(void 0),P=r.imageOptions.size,P.length===0&&P.push(void 0),R=[],U=0,_=j;U<_.length;U++)for(E=_[U],$=0,J=P;$<J.length;$++)A=J[$],D=C(g,{format:E,size:A,toFilename:r.imageProcessingFilename}),r.log(function(W){return"imageProcessing: ".concat(g," -> ").concat(W)},D),R.push(D);return[4,Promise.all(R)];case 2:return M.sent(),[2]}})},c=0,f=i,d.label=2;case 2:return c<f.length?(v=f[c],[5,s(v)]):[3,5];case 3:d.sent(),d.label=4;case 4:return c++,[3,2];case 5:if(!a)return[3,9];m=0,p=a,d.label=6;case 6:return m<p.length?(b=p[m],w=b.tileset,r.log("process model layer"),h=n.getURL(w),[4,H(h,r)]):[3,9];case 7:d.sent(),d.label=8;case 8:return m++,[3,6];case 9:return[2]}})})}function q(n,r,e){return S(this,void 0,void 0,function(){var i,a,t,u,o,l,s,c,f,v,m,p,b,w;return F(this,function(h){switch(h.label){case 0:return i=L.join(e.distPath,O(n,e.baseURL)),a=T(n,i,e.fetch),e.log(function(d){return"download: ".concat(n," -> ").concat(d)},a),[4,a];case 1:if(h.sent(),t=Math.pow(2,r.level),u=e.imageOptions.format,u.length===0&&u.push(void 0),o=[],t>1)for(l=0;l<t;l++)for(s=0;s<t;s++)for(c=0,f=u;c<f.length;c++)v=f[c],m=[r.size/t*s,r.size/t*l,r.size/t,r.size/t],p=r.scale>=1?void 0:r.scale*r.size/t,b=C(i,{format:v,size:p,cut:m,toFilename:e.imageProcessingFilename}),e.log(function(d){return"imageProcessing: ".concat(i," -> ").concat(d)},b),o.push(b),r.level===1&&r.scale>=.5&&(v==="jpg"||/\.jpg$/.test(i))&&(w=C(i,{format:v,size:void 0,cut:m,toFilename:e.imageProcessingFilename}),e.log(function(d){return"imageProcessing: ".concat(i," -> ").concat(d)},w),o.push(w));return[4,Promise.all(o)];case 2:return h.sent(),[2]}})})}function ne(n,r){return S(this,void 0,void 0,function(){return F(this,function(e){switch(e.label){case 0:return[4,Promise.all([q(n.work.getURL(n.front),n,r),q(n.work.getURL(n.back),n,r),q(n.work.getURL(n.left),n,r),q(n.work.getURL(n.right),n,r),q(n.work.getURL(n.up),n,r),q(n.work.getURL(n.down),n,r)])];case 1:return e.sent(),[2]}})})}function N(n,r,e){return S(this,void 0,void 0,function(){var i,a,t,u,o,l,s,c,f,v,m,p,b,w,h,d;return F(this,function(y){switch(y.label){case 0:return i=L.join(e.distPath,O(n,e.baseURL)),a=T(n,i,e.fetch),e.log(function(k){return"download: ".concat(n," -> ").concat(k)},a),[4,a];case 1:y.sent(),t=e.imageOptions.format,t.length===0&&t.push(void 0),u=e.imageOptions.size,u.length===0&&u.push(void 0),o=function(k){var g,z,j,P,R,U,_;return F(this,function(E){switch(E.label){case 0:return g=n.replace(/cube\_\d+/,"cube_".concat(k)),z=L.join(e.distPath,O(g,e.baseURL)),j=T(g,z,e.fetch),e.log(function($){return"download ".concat(g," -> ").concat(z)},j),[4,j];case 1:E.sent(),P=0,R=t,E.label=2;case 2:return P<R.length?(U=R[P],_=C(z,{format:U,toFilename:e.imageProcessingFilename}),e.log(function($){return"imageProcessing: ".concat(z," -> ").concat($)},_),[4,_]):[3,5];case 3:E.sent(),E.label=4;case 4:return P++,[3,2];case 5:return[2]}})},l=0,s=r,y.label=2;case 2:return l<s.length?(c=s[l],[5,o(c)]):[3,5];case 3:y.sent(),y.label=4;case 4:return l++,[3,2];case 5:for(f=[],v=0,m=t;v<m.length;v++)for(p=m[v],b=0,w=u;b<w.length;b++)h=w[b],d=C(i,{format:p,size:h,toFilename:e.imageProcessingFilename}),e.log(function(k){return"imageProcessing: ".concat(i," -> ").concat(k)},d),f.push(d);return[4,Promise.all(f)];case 6:return y.sent(),[2]}})})}function te(n,r){return S(this,void 0,void 0,function(){var e;return F(this,function(i){switch(i.label){case 0:return e=n.images,[4,Promise.all([N(e.work.getURL(e.front),e.sizeList,r),N(e.work.getURL(e.back),e.sizeList,r),N(e.work.getURL(e.left),e.sizeList,r),N(e.work.getURL(e.right),e.sizeList,r),N(e.work.getURL(e.up),e.sizeList,r),N(e.work.getURL(e.down),e.sizeList,r)])];case 1:return i.sent(),e.tiles?[4,Promise.all(e.tiles.map(function(a){return ne(a,r)}))]:[3,3];case 2:i.sent(),i.label=3;case 3:return[2]}})})}function ie(n,r){return S(this,void 0,void 0,function(){var e,i,a,t,u;return F(this,function(o){switch(o.label){case 0:e=n.observers,i=0,a=e,o.label=1;case 1:return i<a.length?(t=a[i],u=te(t,r),r.log("process observer #".concat(t.index," derived: ").concat(t.derivedIdStr),u),[4,u]):[3,4];case 2:o.sent(),o.label=3;case 3:return i++,[3,1];case 4:return[2]}})})}function ae(n,r){if(r){var e=Date.now();r.then(function(a){var t=Date.now()-e,u=typeof n=="function"?n(a):n;console.log(u+"(".concat(t,"ms)"))}).catch(function(){})}else{var i=typeof n=="function"?n(null):n;console.log(i)}}function se(n){return S(this,arguments,void 0,function(r,e){var i,a,t,u,o,l,s,c,f,v,m,p,b,w,h;return e===void 0&&(e={}),F(this,function(d){switch(d.label){case 0:if(i=r.baseURL,a="",e.distPath)a=L.resolve(process.cwd(),e.distPath);else for(a=L.resolve(process.cwd(),(l=r.workCode)!==null&&l!==void 0?l:"work-".concat(Date.now()));I.existsSync(a);)/.-(\d+)$/.test(a)?a=a.replace(/.-(\d+)$/,function(y,k){return"-"+(Number(k)+1)}):a=a+"-1";return t={baseURL:i,distPath:a,fetch:(s=e.fetch)!==null&&s!==void 0?s:fetch,imageOptions:{size:(f=(c=e.imageOptions)===null||c===void 0?void 0:c.size)!==null&&f!==void 0?f:[],format:(m=(v=e.imageOptions)===null||v===void 0?void 0:v.format)!==null&&m!==void 0?m:[]},textureOptions:{size:(b=(p=e.textureOptions)===null||p===void 0?void 0:p.size)!==null&&b!==void 0?b:[],format:(h=(w=e.textureOptions)===null||w===void 0?void 0:w.format)!==null&&h!==void 0?h:[]},log:e.log?ae:(function(){return Promise.resolve()}),imageProcessingFilename:e.imageProcessingFilename},t.log(JSON.stringify(t,null," ")),[4,B.mkdir(a,{recursive:!0})];case 1:return d.sent(),u="work.json",o=L.resolve(a,u),[4,B.writeFile(o,JSON.stringify(r.toJSON(),null," "))];case 2:return d.sent(),[4,ie(r,t)];case 3:return d.sent(),[4,re(r,t)];case 4:return d.sent(),[2]}})})}exports.download=se;
|
|
255
|
+
*/"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const I=require("node:fs"),B=require("node:fs/promises"),L=require("node:path"),K=require("node:stream"),Q=require("sharp");function S(n,r,e,a){function i(t){return t instanceof e?t:new e(function(u){u(t)})}return new(e||(e=Promise))(function(t,u){function o(c){try{s(a.next(c))}catch(f){u(f)}}function l(c){try{s(a.throw(c))}catch(f){u(f)}}function s(c){c.done?t(c.value):i(c.value).then(o,l)}s((a=a.apply(n,r||[])).next())})}function F(n,r){var e={label:0,sent:function(){if(t[0]&1)throw t[1];return t[1]},trys:[],ops:[]},a,i,t,u=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return u.next=o(0),u.throw=o(1),u.return=o(2),typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function o(s){return function(c){return l([s,c])}}function l(s){if(a)throw new TypeError("Generator is already executing.");for(;u&&(u=0,s[0]&&(e=0)),e;)try{if(a=1,i&&(t=s[0]&2?i.return:s[0]?i.throw||((t=i.return)&&t.call(i),0):i.next)&&!(t=t.call(i,s[1])).done)return t;switch(i=0,t&&(s=[s[0]&2,t.value]),s[0]){case 0:case 1:t=s;break;case 4:return e.label++,{value:s[1],done:!1};case 5:e.label++,i=s[1],s=[0];continue;case 7:s=e.ops.pop(),e.trys.pop();continue;default:if(t=e.trys,!(t=t.length>0&&t[t.length-1])&&(s[0]===6||s[0]===2)){e=0;continue}if(s[0]===3&&(!t||s[1]>t[0]&&s[1]<t[3])){e.label=s[1];break}if(s[0]===6&&e.label<t[1]){e.label=t[1],t=s;break}if(t&&e.label<t[2]){e.label=t[2],e.ops.push(s);break}t[2]&&e.ops.pop(),e.trys.pop();continue}s=r.call(n,e)}catch(c){s=[6,c],i=0}finally{a=t=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}function O(n,r){if(r&&r[r.length-1]!=="/"&&(r+="/"),n.length>r.length&&n.startsWith(r))return n.slice(r.length);throw new Error("".concat(n," is not starting with ").concat(r))}function V(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var e=[];n=n.map(function(o){return(o!=null?o:"").trim()}).filter(function(o){return o.length>0&&!/^\/+$/.test(o)});for(var a=0;a<n.length;a++){var i=a===0,t=a===n.length-1,u=n[a];i||(u=u.replace(/^\.\//,"").replace(/^\/+/,"")),t||(u=u.replace(/\/+$/,"")),e.push(u)}return e.join("/")}var Y=1024*1024*5;function T(n,r,e){return S(this,void 0,void 0,function(){var a,i,t,u;return F(this,function(o){switch(o.label){case 0:return I.existsSync(r)?[2,r]:[4,e(n)];case 1:return a=o.sent(),a.ok&&a.body?[4,B.mkdir(L.dirname(r),{recursive:!0})]:[3,6];case 2:return o.sent(),i=Number((u=a.headers.get("content-length"))!==null&&u!==void 0?u:"Infinity"),i>Y?[2,new Promise(function(l,s){var c=K.Readable.fromWeb(a.body),f=I.createWriteStream(r);c.pipe(f),c.on("error",s),f.on("finish",function(){return l(r)})})]:[3,3];case 3:return[4,a.arrayBuffer()];case 4:return t=o.sent(),[4,B.writeFile(r,Buffer.from(t))];case 5:return o.sent(),[2,r];case 6:throw new Error("url: ".concat(n,"(").concat(a.statusText,")"))}})})}var Z=["jpg","png"],x=95;function G(n,r){var e=L.extname(n).slice(1)||"jpg",a=r.cut,i=r.size,t=r.format,u=t===void 0?e:t,o="";if(r.toFilename)o=r.toFilename(n,{cut:r.cut,size:r.size,format:r.format});else{var l="",s="",c=u;a&&(l=a.join("x")),i&&(s="".concat(i,"x")),c===e&&!s&&!l&&(c=""),o=[n,l,s,c].filter(function(f){return f.length>0}).join(".")}return o}function J(n,r){return S(this,void 0,void 0,function(){var e,a,i,t,u,o,l,s,c;return F(this,function(f){return e=L.extname(n).slice(1)||"jpg",a=r.cut,i=r.size,t=r.format,u=t===void 0?e:t,o=n,(a||i)&&u!==e&&Z.includes(u)&&(l=G(n,{format:u,toFilename:r.toFilename}),l!==o&&I.existsSync(l)&&(o=l)),s=Q(o),a&&(s=s.extract({left:a[0],top:a[1],width:a[2],height:a[3]})),i&&(s=s.resize(i)),s=s.toFormat(u,{quality:x}),c=G(n,r),c!==n&&!I.existsSync(c)?[2,s.toFile(c).then(function(){return c})]:[2,c]})})}function X(n){var r=[];if(n.content&&(n.content.uri?r.push(n.content.uri):n.content.url&&r.push(n.content.url)),n.children)for(var e=0,a=n.children;e<a.length;e++){var i=a[e],t=X(i);if(t.length>0)for(var u=0;u<t.length;u++)r.push(t[u])}return r}function ee(n,r,e){return S(this,void 0,void 0,function(){var a,i,t;return F(this,function(u){switch(u.label){case 0:return a=new URL(n,r).href,i=L.join(e.distPath,O(a,e.baseURL)),t=T(a,i,e.fetch),e.log(function(o){return"download: ".concat(a," -> ").concat(o)},t),[4,t];case 1:return u.sent(),/\.json$/.test(n)?[4,H(a,e)]:[3,3];case 2:u.sent(),u.label=3;case 3:return[2]}})})}function H(n,r){return S(this,void 0,void 0,function(){var e,a,i,t,u,o,l,s,c,f,v,m,p,b,w,d,h,y,k;return F(this,function(g){switch(g.label){case 0:return e=L.join(r.distPath,O(n,r.baseURL)),a=T(n,e,r.fetch),r.log(function(z){return"download: ".concat(n," -> ").concat(z)},a),[4,a];case 1:return g.sent(),u=(t=JSON).parse,[4,B.readFile(e,"utf8")];case 2:return i=u.apply(t,[g.sent()]),i.asset.overview?(o=new URL(i.asset.overview.imageFile,n).href,l=L.join(r.distPath,O(o,r.baseURL)),s=T(o,l,r.fetch),r.log(function(z){return"download: ".concat(o," -> ").concat(z)},s),[4,s]):[3,4];case 3:g.sent(),g.label=4;case 4:if(!i.asset.trajectories)return[3,8];c=function(z){var j,P,R;return F(this,function(U){switch(U.label){case 0:return j=new URL(z.file,n).href,P=L.join(r.distPath,O(j,r.baseURL)),R=T(j,P,r.fetch),r.log(function(_){return"download: ".concat(j," -> ").concat(_)},R),[4,R];case 1:return U.sent(),[2]}})},f=0,v=i.asset.trajectories.list,g.label=5;case 5:return f<v.length?(m=v[f],[5,c(m)]):[3,8];case 6:g.sent(),g.label=7;case 7:return f++,[3,5];case 8:p=X(i.root),b=6,w=0,g.label=9;case 9:if(!(w<p.length))return[3,12];for(d=[],h=0;h<b;h++)y=p[w+h],y&&(k=ee(y,n,r),d.push(k));return[4,Promise.all(d)];case 10:g.sent(),g.label=11;case 11:return w+=b,[3,9];case 12:return[2]}})})}function re(n,r){return S(this,void 0,void 0,function(){var e,a,i,t,u,d,o,l,s,c,f,v,m,p,b,w,d;return F(this,function(h){switch(h.label){case 0:return r.log("process model"),n.model?(e=n.model,a=e.textures,i=e.layers,t=e.file,u=e.textureBase,t?(r.log("process model file"),d=n.getURL(t),o=L.join(r.distPath,O(d,r.baseURL)),l=T(d,o,r.fetch),r.log(function(y){return"download: ".concat(t," -> ").concat(y)},l),[4,l]):[3,5]):[3,9];case 1:if(h.sent(),!a)return[3,5];s=function(y){var k,g,z,j,P,R,U,_,E,$,C,A,D;return F(this,function(M){switch(M.label){case 0:return k=V(n.getURL(u!=null?u:""),y),g=L.join(r.distPath,O(k,r.baseURL)),z=T(k,g,r.fetch),r.log(function(W){return"download: ".concat(k," -> ").concat(W)},z),[4,z];case 1:for(M.sent(),j=r.imageOptions.format,j.length===0&&j.push(void 0),P=r.imageOptions.size,P.length===0&&P.push(void 0),R=[],U=0,_=j;U<_.length;U++)for(E=_[U],$=0,C=P;$<C.length;$++)A=C[$],D=J(g,{format:E,size:A,toFilename:r.imageProcessingFilename}),r.log(function(W){return"imageProcessing: ".concat(g," -> ").concat(W)},D),R.push(D);return[4,Promise.all(R)];case 2:return M.sent(),[2]}})},c=0,f=a,h.label=2;case 2:return c<f.length?(v=f[c],[5,s(v)]):[3,5];case 3:h.sent(),h.label=4;case 4:return c++,[3,2];case 5:if(!i)return[3,9];m=0,p=i,h.label=6;case 6:return m<p.length?(b=p[m],w=b.tileset,r.log("process model layer"),d=n.getURL(w),[4,H(d,r)]):[3,9];case 7:h.sent(),h.label=8;case 8:return m++,[3,6];case 9:return[2]}})})}function q(n,r,e){return S(this,void 0,void 0,function(){var a,i,t,u,o,l,s,c,f,v,m,p,b,w;return F(this,function(d){switch(d.label){case 0:return a=L.join(e.distPath,O(n,e.baseURL)),i=T(n,a,e.fetch),e.log(function(h){return"download: ".concat(n," -> ").concat(h)},i),[4,i];case 1:if(d.sent(),t=Math.pow(2,r.level),u=e.imageOptions.format,u.length===0&&u.push(void 0),o=[],t>1)for(l=0;l<t;l++)for(s=0;s<t;s++)for(c=0,f=u;c<f.length;c++)v=f[c],m=[r.size/t*s,r.size/t*l,r.size/t,r.size/t],p=r.scale>=1?void 0:r.scale*r.size/t,b=J(a,{format:v,size:p,cut:m,toFilename:e.imageProcessingFilename}),e.log(function(h){return"imageProcessing: ".concat(a," -> ").concat(h)},b),o.push(b),r.level===1&&r.scale>=.5&&(v==="jpg"||/\.jpg$/.test(a))&&(w=J(a,{format:v,size:void 0,cut:m,toFilename:e.imageProcessingFilename}),e.log(function(h){return"imageProcessing: ".concat(a," -> ").concat(h)},w),o.push(w));return[4,Promise.all(o)];case 2:return d.sent(),[2]}})})}function ne(n,r){return S(this,void 0,void 0,function(){return F(this,function(e){switch(e.label){case 0:return[4,Promise.all([q(n.work.getURL(n.front),n,r),q(n.work.getURL(n.back),n,r),q(n.work.getURL(n.left),n,r),q(n.work.getURL(n.right),n,r),q(n.work.getURL(n.up),n,r),q(n.work.getURL(n.down),n,r)])];case 1:return e.sent(),[2]}})})}function N(n,r,e){return S(this,void 0,void 0,function(){var a,i,t,u,o,l,s,c,f,v,m,p,b,w,d,h;return F(this,function(y){switch(y.label){case 0:return a=L.join(e.distPath,O(n,e.baseURL)),i=T(n,a,e.fetch),e.log(function(k){return"download: ".concat(n," -> ").concat(k)},i),[4,i];case 1:y.sent(),t=e.imageOptions.format,t.length===0&&t.push(void 0),u=e.imageOptions.size,u.length===0&&u.push(void 0),o=function(k){var g,z,j,P,R,U,_;return F(this,function(E){switch(E.label){case 0:return g=n.replace(/cube\_\d+/,"cube_".concat(k)),z=L.join(e.distPath,O(g,e.baseURL)),j=T(g,z,e.fetch),e.log(function($){return"download ".concat(g," -> ").concat(z)},j),[4,j];case 1:E.sent(),P=0,R=t,E.label=2;case 2:return P<R.length?(U=R[P],_=J(z,{format:U,toFilename:e.imageProcessingFilename}),e.log(function($){return"imageProcessing: ".concat(z," -> ").concat($)},_),[4,_]):[3,5];case 3:E.sent(),E.label=4;case 4:return P++,[3,2];case 5:return[2]}})},l=0,s=r,y.label=2;case 2:return l<s.length?(c=s[l],[5,o(c)]):[3,5];case 3:y.sent(),y.label=4;case 4:return l++,[3,2];case 5:for(f=[],v=0,m=t;v<m.length;v++)for(p=m[v],b=0,w=u;b<w.length;b++)d=w[b],h=J(a,{format:p,size:d,toFilename:e.imageProcessingFilename}),e.log(function(k){return"imageProcessing: ".concat(a," -> ").concat(k)},h),f.push(h);return[4,Promise.all(f)];case 6:return y.sent(),[2]}})})}function te(n,r){return S(this,void 0,void 0,function(){var e;return F(this,function(a){switch(a.label){case 0:return e=n.images,[4,Promise.all([N(e.work.getURL(e.front),e.sizeList,r),N(e.work.getURL(e.back),e.sizeList,r),N(e.work.getURL(e.left),e.sizeList,r),N(e.work.getURL(e.right),e.sizeList,r),N(e.work.getURL(e.up),e.sizeList,r),N(e.work.getURL(e.down),e.sizeList,r)])];case 1:return a.sent(),e.tiles?[4,Promise.all(e.tiles.map(function(i){return ne(i,r)}))]:[3,3];case 2:a.sent(),a.label=3;case 3:return[2]}})})}function ae(n,r){return S(this,void 0,void 0,function(){var e,a,i,t,u;return F(this,function(o){switch(o.label){case 0:e=n.observers,a=0,i=e,o.label=1;case 1:return a<i.length?(t=i[a],u=te(t,r),r.log("process observer #".concat(t.index," derived: ").concat(t.derivedIdStr),u),[4,u]):[3,4];case 2:o.sent(),o.label=3;case 3:return a++,[3,1];case 4:return[2]}})})}function ie(n,r){if(r){var e=Date.now();r.then(function(i){var t=Date.now()-e,u=typeof n=="function"?n(i):n;console.log(u+"(".concat(t,"ms)"))}).catch(function(){})}else{var a=typeof n=="function"?n(null):n;console.log(a)}}function se(n){return S(this,arguments,void 0,function(r,e){var a,i,t,u,o,l,s,c,f,v,m,p,b,w,d;return e===void 0&&(e={}),F(this,function(h){switch(h.label){case 0:if(a=r.baseURL,i="",e.distPath)i=L.resolve(process.cwd(),e.distPath);else for(i=L.resolve(process.cwd(),(l=r.workCode)!==null&&l!==void 0?l:"work-".concat(Date.now()));I.existsSync(i);)/.-(\d+)$/.test(i)?i=i.replace(/.-(\d+)$/,function(y,k){return"-"+(Number(k)+1)}):i=i+"-1";return t={baseURL:a,distPath:i,fetch:(s=e.fetch)!==null&&s!==void 0?s:fetch,imageOptions:{size:(f=(c=e.imageOptions)===null||c===void 0?void 0:c.size)!==null&&f!==void 0?f:[],format:(m=(v=e.imageOptions)===null||v===void 0?void 0:v.format)!==null&&m!==void 0?m:[]},textureOptions:{size:(b=(p=e.textureOptions)===null||p===void 0?void 0:p.size)!==null&&b!==void 0?b:[],format:(d=(w=e.textureOptions)===null||w===void 0?void 0:w.format)!==null&&d!==void 0?d:[]},log:e.log?ie:(function(){return Promise.resolve()}),imageProcessingFilename:e.imageProcessingFilename},t.log(JSON.stringify(t,null," ")),[4,B.mkdir(i,{recursive:!0})];case 1:return h.sent(),u="work.json",o=L.resolve(i,u),[4,B.writeFile(o,JSON.stringify(r.toJSON(),null," "))];case 2:return h.sent(),[4,ae(r,t)];case 3:return h.sent(),[4,re(r,t)];case 4:return h.sent(),[2]}})})}exports.download=se;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* @realsee/five
|
|
4
|
-
* Generated:
|
|
5
|
-
* Version: 6.7.
|
|
4
|
+
* Generated: 2026/1/5
|
|
5
|
+
* Version: 6.7.1
|
|
6
6
|
* Terms:
|
|
7
7
|
* Realsee SDK License Agreement
|
|
8
8
|
* Update: July 28, 2021
|
|
@@ -252,7 +252,7 @@
|
|
|
252
252
|
* No amendment to or modification of this Agreement will be binding unless in
|
|
253
253
|
* writing and signed by Realsee. You and Realsee hereto confirm that this
|
|
254
254
|
* Agreement and all related documents shall be drafted in English.
|
|
255
|
-
*/import { createWriteStream as Y, existsSync as
|
|
255
|
+
*/import { createWriteStream as Y, existsSync as J } from "node:fs";
|
|
256
256
|
import { writeFile as X, mkdir as H, readFile as Z } from "node:fs/promises";
|
|
257
257
|
import { dirname as x, extname as K, join as _, resolve as M } from "node:path";
|
|
258
258
|
import { Readable as ee } from "node:stream";
|
|
@@ -371,7 +371,7 @@ function E(n, r, e) {
|
|
|
371
371
|
return L(this, function(o) {
|
|
372
372
|
switch (o.label) {
|
|
373
373
|
case 0:
|
|
374
|
-
return
|
|
374
|
+
return J(r) ? [2, r] : [4, e(n)];
|
|
375
375
|
case 1:
|
|
376
376
|
return a = o.sent(), a.ok && a.body ? [4, H(x(r), { recursive: !0 })] : [3, 6];
|
|
377
377
|
case 2:
|
|
@@ -413,12 +413,12 @@ function B(n, r) {
|
|
|
413
413
|
return e = K(n).slice(1) || "jpg", a = r.cut, i = r.size, t = r.format, u = t === void 0 ? e : t, o = n, (a || i) && u !== e && ae.includes(u) && (l = G(n, {
|
|
414
414
|
format: u,
|
|
415
415
|
toFilename: r.toFilename
|
|
416
|
-
}), l !== o &&
|
|
416
|
+
}), l !== o && J(l) && (o = l)), s = re(o), a && (s = s.extract({
|
|
417
417
|
left: a[0],
|
|
418
418
|
top: a[1],
|
|
419
419
|
width: a[2],
|
|
420
420
|
height: a[3]
|
|
421
|
-
})), i && (s = s.resize(i)), s = s.toFormat(u, { quality: ie }), c = G(n, r), c !== n && !
|
|
421
|
+
})), i && (s = s.resize(i)), s = s.toFormat(u, { quality: ie }), c = G(n, r), c !== n && !J(c) ? [2, s.toFile(c).then(function() {
|
|
422
422
|
return c;
|
|
423
423
|
})] : [2, c];
|
|
424
424
|
});
|
|
@@ -429,7 +429,9 @@ function Q(n) {
|
|
|
429
429
|
if (n.content && (n.content.uri ? r.push(n.content.uri) : n.content.url && r.push(n.content.url)), n.children)
|
|
430
430
|
for (var e = 0, a = n.children; e < a.length; e++) {
|
|
431
431
|
var i = a[e], t = Q(i);
|
|
432
|
-
t.length > 0
|
|
432
|
+
if (t.length > 0)
|
|
433
|
+
for (var u = 0; u < t.length; u++)
|
|
434
|
+
r.push(t[u]);
|
|
433
435
|
}
|
|
434
436
|
return r;
|
|
435
437
|
}
|
|
@@ -528,7 +530,7 @@ function ue(n, r) {
|
|
|
528
530
|
case 1:
|
|
529
531
|
if (h.sent(), !a) return [3, 5];
|
|
530
532
|
s = function(y) {
|
|
531
|
-
var k, g, z, F, P, R, j, O, T, $,
|
|
533
|
+
var k, g, z, F, P, R, j, O, T, $, C, A, D;
|
|
532
534
|
return L(this, function(W) {
|
|
533
535
|
switch (W.label) {
|
|
534
536
|
case 0:
|
|
@@ -537,8 +539,8 @@ function ue(n, r) {
|
|
|
537
539
|
}, z), [4, z];
|
|
538
540
|
case 1:
|
|
539
541
|
for (W.sent(), F = r.imageOptions.format, F.length === 0 && F.push(void 0), P = r.imageOptions.size, P.length === 0 && P.push(void 0), R = [], j = 0, O = F; j < O.length; j++)
|
|
540
|
-
for (T = O[j], $ = 0,
|
|
541
|
-
A =
|
|
542
|
+
for (T = O[j], $ = 0, C = P; $ < C.length; $++)
|
|
543
|
+
A = C[$], D = B(g, {
|
|
542
544
|
format: T,
|
|
543
545
|
size: A,
|
|
544
546
|
toFilename: r.imageProcessingFilename
|
|
@@ -782,7 +784,7 @@ function be(n) {
|
|
|
782
784
|
if (a = r.baseURL, i = "", e.distPath)
|
|
783
785
|
i = M(process.cwd(), e.distPath);
|
|
784
786
|
else
|
|
785
|
-
for (i = M(process.cwd(), (l = r.workCode) !== null && l !== void 0 ? l : "work-".concat(Date.now()));
|
|
787
|
+
for (i = M(process.cwd(), (l = r.workCode) !== null && l !== void 0 ? l : "work-".concat(Date.now())); J(i); )
|
|
786
788
|
/.-(\d+)$/.test(i) ? i = i.replace(/.-(\d+)$/, function(y, k) {
|
|
787
789
|
return "-" + (Number(k) + 1);
|
|
788
790
|
}) : i = i + "-1";
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>ModelLike | 如视 Five SDK</title><meta name="description" content="Documentation for 如视 Five SDK"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><a href="../index.html" class="title">如视 Five SDK</a><div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/><ul role="listbox" id="tsd-search-results"></ul><div id="tsd-search-status" aria-live="polite" aria-atomic="true"><div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb" aria-label="Breadcrumb"><li><a href="../modules/five.html">five</a></li><li><a href="" aria-current="page">ModelLike</a></li></ul><h1>Interface ModelLike</h1></div><div class="tsd-signature"><span class="tsd-signature-keyword">interface</span> <span class="tsd-kind-interface">ModelLike</span> <span class="tsd-signature-symbol">{</span><br/> <a class="tsd-kind-property" href="#dispose">dispose</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">()</span> <span class="tsd-signature-symbol">=></span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-call-signature" href="#update-1">update</a><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">(</span><br/> <span class="tsd-kind-parameter">renderer</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">WebGLRenderer</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">camera</span><span class="tsd-signature-symbol">:</span> <a href="../classes/five.Camera.html" class="tsd-signature-type tsd-kind-class">Camera</a><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">modelScene</span><span class="tsd-signature-symbol">:</span> <a href="../classes/five.ModelScene.html" class="tsd-signature-type tsd-kind-class">ModelScene</a><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span><br/><span class="tsd-signature-symbol">}</span></div><section class="tsd-panel tsd-hierarchy" data-refl="4763"><h4>Hierarchy</h4><ul class="tsd-hierarchy"><li class="tsd-hierarchy-item"><span class="tsd-signature-type">Object3D</span><ul class="tsd-hierarchy"><li class="tsd-hierarchy-item"><span class="tsd-hierarchy-target">ModelLike</span></li></ul></li></ul></section><aside class="tsd-sources"><ul><li>Defined in lib/five/model/model-scene.ts:12</li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h5 class="tsd-index-heading uppercase">Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="#dispose" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>dispose?</span></a>
|
|
2
|
-
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Methods</h3><div class="tsd-index-list"><a href="#update" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update?</span></a>
|
|
3
|
-
</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Properties</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="dispose"><code class="tsd-tag">Optional</code><span>dispose</span><a href="#dispose" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">dispose</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">()</span> <span class="tsd-signature-symbol">=></span> <span class="tsd-signature-type">void</span></div><aside class="tsd-sources"><ul><li>Defined in lib/five/model/model-scene.ts:14</li></ul></aside></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Methods"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Methods</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="update"><code class="tsd-tag">Optional</code><span>update</span><a href="#update" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="update-1"><span class="tsd-kind-call-signature">update</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">(</span><br/> <span class="tsd-kind-parameter">renderer</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">WebGLRenderer</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">camera</span><span class="tsd-signature-symbol">:</span> <a href="../classes/five.Camera.html" class="tsd-signature-type tsd-kind-class">Camera</a><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">modelScene</span><span class="tsd-signature-symbol">:</span> <a href="../classes/five.ModelScene.html" class="tsd-signature-type tsd-kind-class">ModelScene</a><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><a href="#update-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">renderer</span>: <span class="tsd-signature-type">WebGLRenderer</span></span></li><li><span><span class="tsd-kind-parameter">camera</span>: <a href="../classes/five.Camera.html" class="tsd-signature-type tsd-kind-class">Camera</a></span></li><li><span><span class="tsd-kind-parameter">modelScene</span>: <a href="../classes/five.ModelScene.html" class="tsd-signature-type tsd-kind-class">ModelScene</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources"><ul><li>Defined in lib/five/model/model-scene.ts:13</li></ul></aside></div></li></ul></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>On This Page</h3></summary><div class="tsd-accordion-details"><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Properties</summary><div><a href="#dispose"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>dispose</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Methods"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Methods</summary><div><a href="#update"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update</span></a></div></details></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">如视 Five SDK</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Tile3dOptions | 如视 Five SDK</title><meta name="description" content="Documentation for 如视 Five SDK"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><a href="../index.html" class="title">如视 Five SDK</a><div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/><ul role="listbox" id="tsd-search-results"></ul><div id="tsd-search-status" aria-live="polite" aria-atomic="true"><div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb" aria-label="Breadcrumb"><li><a href="../modules/five.html">five</a></li><li><a href="" aria-current="page">Tile3dOptions</a></li></ul><h1>Type Alias Tile3dOptions</h1></div><div class="tsd-signature"><span class="tsd-kind-type-alias">Tile3dOptions</span><span class="tsd-signature-symbol">:</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/five.ParameterTilesetValue.html" class="tsd-signature-type tsd-kind-interface">ParameterTilesetValue</a><span class="tsd-signature-symbol">></span> <span class="tsd-signature-symbol">&</span> <span class="tsd-signature-symbol">{</span><br/> <span class="tsd-kind-property">showLayers</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">viewerRequestVolume</span><span class="tsd-signature-symbol">?:</span> <a href="../interfaces/five.BoundingVolume.html" class="tsd-signature-type tsd-kind-interface">BoundingVolume</a> <span class="tsd-signature-symbol">|</span> <a href="five.BoundingVolumeJson.html" class="tsd-signature-type tsd-kind-type-alias">BoundingVolumeJson</a><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-signature-symbol">}</span><br/> <span class="tsd-signature-symbol">|</span> (<br/> <span class="tsd-signature-symbol">(</span><br/> <span class="tsd-kind-parameter">viewLayer</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/five.ViewLayer.html" class="tsd-signature-type tsd-kind-interface">ViewLayer</a><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">model</span><span class="tsd-signature-symbol">:</span> <a href="../classes/five.Model.html" class="tsd-signature-type tsd-kind-class">Model</a><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">modelIndex</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=></span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">void</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/five.ParameterTilesetValue.html" class="tsd-signature-type tsd-kind-interface">ParameterTilesetValue</a><span class="tsd-signature-symbol">></span> <span class="tsd-signature-symbol">&</span> <span class="tsd-signature-symbol">{</span><br/> <span class="tsd-kind-property">showLayers</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">viewerRequestVolume</span><span class="tsd-signature-symbol">?:</span> <a href="../interfaces/five.BoundingVolume.html" class="tsd-signature-type tsd-kind-interface">BoundingVolume</a> <span class="tsd-signature-symbol">|</span> <a href="five.BoundingVolumeJson.html" class="tsd-signature-type tsd-kind-type-alias">BoundingVolumeJson</a><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-signature-symbol">}</span><br/> )</div><aside class="tsd-sources"><ul><li>Defined in lib/five/application/fiveLoadOptions.ts:6</li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">如视 Five SDK</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
|