@shjjs/visual-ui 1.0.0 → 1.0.2
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/es/components/commons-product-model/index.vue.mjs +2 -2
- package/es/components/commons-product-model/index.vue2.mjs +33 -33
- package/es/components/commons-three-loader3/index.vue.mjs +2 -2
- package/es/components/commons-three-loader3/index.vue2.mjs +40 -40
- package/es/components/index.d.ts +5 -0
- package/es/components/index.mjs +82 -72
- package/es/components/interaction-select/index.d.ts +188 -8
- package/es/components/interaction-select/index.vue.d.ts +193 -8
- package/es/components/interaction-select/index.vue.mjs +5 -11
- package/es/components/interaction-select/index.vue2.mjs +220 -2
- package/es/components/scene-amap2d/index.d.ts +2 -2
- package/es/components/scene-amap2d/index.vue.d.ts +2 -2
- package/es/components/scene-amap2d/index.vue.mjs +2 -2
- package/es/components/scene-amap2d/index.vue2.mjs +16 -16
- package/es/components/scene-amap3d/index.d.ts +2 -2
- package/es/components/scene-amap3d/index.vue.d.ts +2 -2
- package/es/components/scene-amap3d/index.vue.mjs +2 -2
- package/es/components/scene-amap3d/index.vue2.mjs +95 -88
- package/es/components/scene-map3d/index.d.ts +2 -2
- package/es/components/scene-map3d/index.vue.d.ts +2 -2
- package/es/components/scene-map3d/index.vue.mjs +2 -2
- package/es/components/scene-map3d/index.vue2.mjs +13 -13
- package/es/components/scene-map3d/map3d/module/MapMirror.mjs +1 -1
- package/es/components/scene-ue-iframe/index.d.ts +50 -0
- package/es/components/scene-ue-iframe/index.mjs +7 -0
- package/es/components/scene-ue-iframe/index.vue.d.ts +50 -0
- package/es/components/scene-ue-iframe/index.vue.mjs +7 -0
- package/es/components/scene-ue-iframe/index.vue2.mjs +48 -0
- package/es/components/scene-ue-shj/index.d.ts +50 -0
- package/es/components/scene-ue-shj/index.mjs +7 -0
- package/es/components/scene-ue-shj/index.vue.d.ts +50 -0
- package/es/components/scene-ue-shj/index.vue.mjs +7 -0
- package/es/components/scene-ue-shj/index.vue2.mjs +37 -0
- package/es/components/scene-unity-iframe/index.d.ts +61 -0
- package/es/components/scene-unity-iframe/index.mjs +7 -0
- package/es/components/scene-unity-iframe/index.vue.d.ts +61 -0
- package/es/components/scene-unity-iframe/index.vue.mjs +7 -0
- package/es/components/scene-unity-iframe/index.vue2.mjs +37 -0
- package/es/components/scene-unity-webgl/index.d.ts +61 -0
- package/es/components/scene-unity-webgl/index.mjs +7 -0
- package/es/components/scene-unity-webgl/index.vue.d.ts +61 -0
- package/es/components/scene-unity-webgl/index.vue.mjs +7 -0
- package/es/components/scene-unity-webgl/index.vue2.mjs +37 -0
- package/es/components/scene-vr/entity/audio.d.ts +6 -0
- package/es/components/scene-vr/index.d.ts +103 -0
- package/es/components/scene-vr/index.mjs +7 -0
- package/es/components/scene-vr/index.vue.d.ts +103 -0
- package/es/components/scene-vr/index.vue.mjs +7 -0
- package/es/components/scene-vr/index.vue2.mjs +355 -0
- package/es/components/scene-vr/resources/zv-add.svg.mjs +4 -0
- package/es/components/scene-vr/resources/zv-pause.svg.mjs +4 -0
- package/es/components/scene-vr/resources/zv-play.svg.mjs +4 -0
- package/es/components/scene-vr/resources/zv-reduce.svg.mjs +4 -0
- package/es/components/scene-vr/resources/zv-refresh.svg.mjs +4 -0
- package/es/components/scene-vr/resources/zv-return.svg.mjs +4 -0
- package/es/components/scene-vr/resources/zv-vr-select.svg.mjs +4 -0
- package/es/components/text-over-number/index.vue.d.ts +32 -32
- package/es/index.mjs +94 -84
- package/es/style.css +1 -1
- package/es/utils/clickOutSide.d.ts +5 -0
- package/es/utils/clickOutSide.mjs +13 -0
- package/es/utils/json2css.mjs +8 -8
- package/lib/components/commons-product-model/index.vue.js +1 -1
- package/lib/components/commons-product-model/index.vue2.js +1 -1
- package/lib/components/commons-three-loader3/index.vue.js +1 -1
- package/lib/components/commons-three-loader3/index.vue2.js +1 -1
- package/lib/components/index.js +1 -1
- package/lib/components/interaction-select/index.vue.js +1 -1
- package/lib/components/interaction-select/index.vue2.js +1 -1
- package/lib/components/scene-amap2d/index.vue.js +1 -1
- package/lib/components/scene-amap2d/index.vue2.js +1 -1
- package/lib/components/scene-amap3d/index.vue.js +1 -1
- package/lib/components/scene-amap3d/index.vue2.js +2 -2
- package/lib/components/scene-map3d/index.vue.js +1 -1
- package/lib/components/scene-map3d/index.vue2.js +1 -1
- package/lib/components/scene-map3d/map3d/module/MapMirror.js +1 -1
- package/lib/components/scene-ue-iframe/index.js +1 -0
- package/lib/components/scene-ue-iframe/index.vue.js +1 -0
- package/lib/components/scene-ue-iframe/index.vue2.js +1 -0
- package/lib/components/scene-ue-shj/index.js +1 -0
- package/lib/components/scene-ue-shj/index.vue.js +1 -0
- package/lib/components/scene-ue-shj/index.vue2.js +1 -0
- package/lib/components/scene-unity-iframe/index.js +1 -0
- package/lib/components/scene-unity-iframe/index.vue.js +1 -0
- package/lib/components/scene-unity-iframe/index.vue2.js +1 -0
- package/lib/components/scene-unity-webgl/index.js +1 -0
- package/lib/components/scene-unity-webgl/index.vue.js +1 -0
- package/lib/components/scene-unity-webgl/index.vue2.js +1 -0
- package/lib/components/scene-vr/index.js +1 -0
- package/lib/components/scene-vr/index.vue.js +1 -0
- package/lib/components/scene-vr/index.vue2.js +11 -0
- package/lib/components/scene-vr/resources/zv-add.svg.js +1 -0
- package/lib/components/scene-vr/resources/zv-pause.svg.js +1 -0
- package/lib/components/scene-vr/resources/zv-play.svg.js +1 -0
- package/lib/components/scene-vr/resources/zv-reduce.svg.js +1 -0
- package/lib/components/scene-vr/resources/zv-refresh.svg.js +1 -0
- package/lib/components/scene-vr/resources/zv-return.svg.js +1 -0
- package/lib/components/scene-vr/resources/zv-vr-select.svg.js +1 -0
- package/lib/index.js +1 -1
- package/lib/style.css +1 -1
- package/lib/utils/clickOutSide.js +1 -0
- package/lib/utils/json2css.js +1 -1
- package/package.json +2 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("vue");require("@babylonjs/loaders/glTF");const V=require("@babylonjs/core"),s=require("lodash"),T=require("../../utils/babylon/ColorConvert.js");function I(b){const x=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(b){for(const L in b)if(L!=="default"){const e=Object.getOwnPropertyDescriptor(b,L);Object.defineProperty(x,L,e.get?e:{enumerable:!0,get:()=>b[L]})}}return x.default=b,Object.freeze(x)}const t=I(V),Z={class:"zerov-widget"},j=r.defineComponent({name:"zv-commons-three-loader3"}),H=r.defineComponent({...j,props:{basicOption:{},basicEvents:{},useEvents:{}},emits:["on-load-success","on-play-animation"],setup(b,{expose:x,emit:L}){const e=b,B=L;let E,o,c,h,f,d,v,O,u,g,l,a;const D=()=>{c||(c=new t.ArcRotateCamera("Camera",e.basicOption.camera.alpha,e.basicOption.camera.beta,e.basicOption.camera.radius,new t.Vector3(e.basicOption.camera.target[0],e.basicOption.camera.target[1],e.basicOption.camera.target[2]),o)),c.alpha=e.basicOption.camera.alpha,c.beta=e.basicOption.camera.beta,c.radius=e.basicOption.camera.radius,c.target=new t.Vector3(e.basicOption.camera.target[0],e.basicOption.camera.target[1],e.basicOption.camera.target[2]),c.lowerRadiusLimit=e.basicOption.camera.lowerRadiusLimit,c.upperRadiusLimit=e.basicOption.camera.upperRadiusLimit,c.lowerBetaLimit=t.Tools.ToRadians(e.basicOption.camera.lowerBetaLimit),c.upperBetaLimit=t.Tools.ToRadians(e.basicOption.camera.upperBetaLimit),c.useBouncingBehavior=e.basicOption.camera.useBouncingBehavior,c.wheelDeltaPercentage=e.basicOption.camera.wheelDeltaPercentage||.01,c.useAutoRotationBehavior=e.basicOption.camera.autoRotation,c.attachControl(S.value,!0)},R=()=>{o||(o=new t.Scene(E)),o.environmentTexture=t.CubeTexture.CreateFromPrefilteredData(e.basicOption.scene.environmentTexture,o),o.environmentIntensity=e.basicOption.scene.environmentIntensity,e.basicOption.scene.colorShow?o.clearColor=T.hex2Color4(e.basicOption.scene.color,new t.Color4(1,1,1,1)):o.clearColor=new t.Color4(0,0,0,0),o.fogEnabled=e.basicOption.scene.fogEnabled,o.fogMode=e.basicOption.scene.fogMode||1,o.fogColor=T.hex2Color3(e.basicOption.scene.fogColor,new t.Color3(1,1,1)),o.fogEnd=e.basicOption.scene.fogEnd||2e3,o.fogStart=e.basicOption.scene.fogStart||1,o.fogDensity=e.basicOption.scene.fogDensity*1e-4},F=()=>{if(h||(h=new t.DirectionalLight("dirLight",new t.Vector3(e.basicOption.directionalLight.direction[0],e.basicOption.directionalLight.direction[1],e.basicOption.directionalLight.direction[2]),o)),h.direction=new t.Vector3(e.basicOption.directionalLight.direction[0],e.basicOption.directionalLight.direction[1],e.basicOption.directionalLight.direction[2]),h.position=new t.Vector3(e.basicOption.directionalLight.position[0],e.basicOption.directionalLight.position[1],e.basicOption.directionalLight.position[2]),h.diffuse=T.hex2Color3(e.basicOption.directionalLight.diffuse,new t.Color3(1,1,1)),h.intensity=e.basicOption.directionalLight.intensity,h.shadowMinZ=e.basicOption.directionalLight.shadowMinZ,h.shadowMaxZ=e.basicOption.directionalLight.shadowMaxZ,h.autoCalcShadowZBounds=e.basicOption.directionalLight.autoCalcShadowZBounds,e.basicOption.directionalLight.shadowGenerator.enable){const{mapSize:i,transparencyShadow:n,usePercentageCloserFiltering:p,bias:m}=e.basicOption.directionalLight.shadowGenerator;if(!d&&(d=new t.ShadowGenerator(i,h),l))for(let w=0;w<l.length;w++)e.basicOption.meshes.isCasterShadow&&d&&d.addShadowCaster(l[w],!0);d.mapSize=i,d.transparencyShadow=n,d.usePercentageCloserFiltering=p,d.bias=m}else d&&(d.dispose(),d=null);e.basicOption.directionalLight.lightGizmo&&e.basicOption.directionalLight.lightGizmo.enable?(f||(f=new t.LightGizmo,f.light=h),f.scaleRatio=e.basicOption.directionalLight.lightGizmo.scaleRatio):f&&(f.dispose(),f=null)},G=()=>{v||(v=new t.HemisphericLight("light",new t.Vector3(e.basicOption.hemisphericLight.direction[0],e.basicOption.hemisphericLight.direction[1],e.basicOption.hemisphericLight.direction[2]),o)),v.direction=new t.Vector3(e.basicOption.hemisphericLight.direction[0],e.basicOption.hemisphericLight.direction[1],e.basicOption.hemisphericLight.direction[2]),v.intensity=e.basicOption.hemisphericLight.intensity,v.diffuse=T.hex2Color3(e.basicOption.hemisphericLight.diffuse,new t.Color3(1,1,1)),e.basicOption.hemisphericLight.lightGizmo&&e.basicOption.hemisphericLight.lightGizmo.enable?(O||(O=new t.LightGizmo,O.light=v),O.scaleRatio=e.basicOption.hemisphericLight.lightGizmo.scaleRatio):O&&(O.dispose(),O=null)},M=()=>{if(e.basicOption.ground.enable){const{width:i,height:n,position:p,rotation:m,scaling:w,material:y,receiveShadows:q}=e.basicOption.ground;u||(u=t.MeshBuilder.CreateGround("ground",{width:i,height:n},o)),u.position=new t.Vector3(p[0],p[1],p[2]),u.rotation=new t.Vector3(t.Tools.ToRadians(m[0]),t.Tools.ToRadians(m[1]),t.Tools.ToRadians(m[2])),u.scaling=new t.Vector3(w[0],w[1],w[2]);const C=new t.StandardMaterial("",o);C.emissiveTexture=new t.Texture(y.emissiveTexture,o),C.diffuseTexture=new t.Texture(y.emissiveTexture,o),C.ambientTexture=new t.Texture(y.emissiveTexture,o),C.diffuseColor=new t.Color3(1,1,1),C.opacityTexture=new t.Texture(y.opacityTexture,o),u.material=C,u.receiveShadows=q}else u&&(u.dispose(),u=null)},k=()=>{if(e.basicOption.skybox.enable){const{size:i}=e.basicOption.skybox;g||(g=t.MeshBuilder.CreateBox("skyBox",{size:i},o));const n=new t.StandardMaterial("skyBox",o);n.backFaceCulling=!1,n.reflectionTexture=t.CubeTexture.CreateFromPrefilteredData(e.basicOption.scene.environmentTexture,o),n.reflectionTexture.coordinatesMode=t.Texture.SKYBOX_MODE,n.diffuseColor=new t.Color3(1,1,1),n.specularColor=new t.Color3(1,1,1),n.disableLighting=!0,g.material=n,g.isPickable=!1}else g&&(g.dispose(),g=null)},z=(i,n={loop:!1,speedRatio:1})=>{if(o){o.stopAllAnimations();const p=o.getAnimationGroupByName(i);p&&(B("on-play-animation"),window.SHJParseEvent(e.useEvents,"on-play-animation"),p.start(n.loop,n.speedRatio,p.from,p.to,!1))}},A=async()=>{l||(l=(await t.SceneLoader.ImportMeshAsync("",e.basicOption.meshes.url,"",o)).meshes),l[0].position=new t.Vector3(e.basicOption.meshes.position[0],e.basicOption.meshes.position[1],e.basicOption.meshes.position[2]),l[0].scaling=new t.Vector3(e.basicOption.meshes.scaling[0],e.basicOption.meshes.scaling[1],e.basicOption.meshes.scaling[2]),l[0].rotation=new t.Vector3(t.Tools.ToRadians(e.basicOption.meshes.rotation[0]),t.Tools.ToRadians(e.basicOption.meshes.rotation[1]),t.Tools.ToRadians(e.basicOption.meshes.rotation[2]));for(let i=0;i<l.length;i++)l[i].isPickable=!1,l[i].receiveShadows=e.basicOption.meshes.isCasterShadow,e.basicOption.meshes.isCasterShadow&&d&&d.addShadowCaster(l[i],!0);e.basicOption.animationGroups=o.animationGroups.map(i=>({uniqueId:i.uniqueId,name:i.name})),e.basicEvents&&(e.basicEvents.function[0].args[0].select=o.animationGroups.map(i=>({name:i.name,value:i.name}))),e.basicOption.defaultAnimation&&e.basicOption.defaultAnimation.name?z(e.basicOption.defaultAnimation.name,{loop:e.basicOption.defaultAnimation.loop,speedRatio:e.basicOption.defaultAnimation.speedRatio}):o.animationGroups&&o.animationGroups[0]&&o.animationGroups[0].stop()},P=()=>{const i=e.basicOption.pipelineOption;i&&i.enabled?(a||(a=new t.DefaultRenderingPipeline("defaultPipeline",!0,o,[c])),a.samples=i.samples?4:1,a.fxaaEnabled=i.fxaaEnabled,a.grainEnabled=i.grainEnabled,a.grain.intensity=i.grainIntensity,a.grain.animated=i.grainAnimated,a.bloomEnabled=i.bloomEnabled,a.bloomThreshold=i.bloomThreshold,a.bloomWeight=i.bloomWeight,a.bloomKernel=i.bloomKernel,a.bloomScale=i.bloomScale,a.depthOfFieldEnabled=i.depthOfFieldEnabled,i.depthOfFieldBlurLevel<1?a.depthOfFieldBlurLevel=t.DepthOfFieldEffectBlurLevel.Low:i.depthOfFieldBlurLevel<2?a.depthOfFieldBlurLevel=t.DepthOfFieldEffectBlurLevel.Medium:i.depthOfFieldBlurLevel<3&&(a.depthOfFieldBlurLevel=t.DepthOfFieldEffectBlurLevel.High),a.depthOfField.focusDistance=i.depthOfFieldFocusDistance,a.depthOfField.fStop=i.depthOfFieldFStop,a.depthOfField.focalLength=i.depthOfFieldFocalLength,a.chromaticAberrationEnabled=i.chromaticAberrationEnabled,a.chromaticAberration.aberrationAmount=i.chromaticAberrationAberrationAmount,a.chromaticAberration.radialIntensity=i.chromaticAberrationRadialIntensity,i.chromaticAberrationDirection===0?(a.chromaticAberration.direction.x=0,a.chromaticAberration.direction.y=0):(a.chromaticAberration.direction.x=Math.sin(i.chromaticAberrationDirection),a.chromaticAberration.direction.y=Math.cos(i.chromaticAberrationDirection)),a.sharpenEnabled=i.sharpenEnabled,a.sharpen.edgeAmount=i.sharpenEdgeAmount,a.sharpen.colorAmount=i.sharpenColorAmount):a&&(a.dispose(),a=null)},_=function(i){R(),D(),G(),F(),M(),k(),A(),P(),B("on-load-success"),window.SHJParseEvent(e.useEvents,"on-load-success")},S=r.ref();return r.onMounted(()=>{E=new t.Engine(S.value,!0),E&&e.basicOption.meshes.url&&(_(),E.runRenderLoop(function(){o&&o.render()}))}),r.onBeforeUnmount(()=>{o.dispose(),E.dispose()}),x({playAnimation:(i,n)=>{const p=i[0].value,m={loop:i[1].keys[0].defaultValue,speedRatio:i[1].keys[1].defaultValue};z(p,m)}}),r.watch(()=>s.cloneDeep(e.basicOption.camera),(i,n)=>{!s.isEqual(i,n)&&c&&D()},{deep:!0}),r.watch(()=>s.cloneDeep(e.basicOption.scene),(i,n)=>{!s.isEqual(i,n)&&o&&R()},{deep:!0}),r.watch(()=>s.cloneDeep(e.basicOption.directionalLight),(i,n)=>{s.isEqual(i,n)||F()},{deep:!0}),r.watch(()=>s.cloneDeep(e.basicOption.hemisphericLight),(i,n)=>{s.isEqual(i,n)||G()},{deep:!0}),r.watch(()=>s.cloneDeep(e.basicOption.ground),(i,n)=>{s.isEqual(i,n)||M()},{deep:!0}),r.watch(()=>s.cloneDeep(e.basicOption.skybox),(i,n)=>{s.isEqual(i,n)||k()},{deep:!0}),r.watch(()=>s.cloneDeep(e.basicOption.meshes),(i,n)=>{!s.isEqual(i,n)&&l&&i.url===n.url&&A()},{deep:!0}),r.watch(()=>s.cloneDeep(e.basicOption.meshes.url),(i,n)=>{s.isEqual(i,n)||(o.meshes.forEach((p,m)=>{m>1&&p.dispose()}),l=null,A())},{deep:!0}),r.watch(()=>s.cloneDeep(e.basicOption.pipelineOption),(i,n)=>{s.isEqual(i,n)||P()},{deep:!0}),(i,n)=>(r.openBlock(),r.createElementBlock("div",Z,[r.createElementVNode("canvas",{ref_key:"canvasRef",ref:S,class:r.normalizeClass(["widget",{show:!0}])},null,512)]))}});exports.default=H;
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("vue");require("@babylonjs/loaders/glTF");const V=require("@babylonjs/core"),s=require("lodash"),T=require("../../utils/babylon/ColorConvert.js");function I(b){const x=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(b){for(const L in b)if(L!=="default"){const e=Object.getOwnPropertyDescriptor(b,L);Object.defineProperty(x,L,e.get?e:{enumerable:!0,get:()=>b[L]})}}return x.default=b,Object.freeze(x)}const t=I(V),Z={class:"zerov-widget"},j=r.defineComponent({name:"zv-commons-three-loader3"}),H=r.defineComponent({...j,props:{basicOption:{},basicEvents:{},useEvents:{}},emits:["on-load-success","on-play-animation"],setup(b,{expose:x,emit:L}){const e=b,B=L;let y,o,c,h,f,d,v,O,u,g,l,a;const D=()=>{c||(c=new t.ArcRotateCamera("Camera",e.basicOption.camera.alpha,e.basicOption.camera.beta,e.basicOption.camera.radius,new t.Vector3(e.basicOption.camera.target[0],e.basicOption.camera.target[1],e.basicOption.camera.target[2]),o)),c.alpha=e.basicOption.camera.alpha,c.beta=e.basicOption.camera.beta,c.radius=e.basicOption.camera.radius,c.target=new t.Vector3(e.basicOption.camera.target[0],e.basicOption.camera.target[1],e.basicOption.camera.target[2]),c.lowerRadiusLimit=e.basicOption.camera.lowerRadiusLimit,c.upperRadiusLimit=e.basicOption.camera.upperRadiusLimit,c.lowerBetaLimit=t.Tools.ToRadians(e.basicOption.camera.lowerBetaLimit),c.upperBetaLimit=t.Tools.ToRadians(e.basicOption.camera.upperBetaLimit),c.useBouncingBehavior=e.basicOption.camera.useBouncingBehavior,c.wheelDeltaPercentage=e.basicOption.camera.wheelDeltaPercentage||.01,c.useAutoRotationBehavior=e.basicOption.camera.autoRotation,c.panningSensibility=1/(e.basicOption.camera.panningSensibility||.01),c.attachControl(A.value,!0)},R=()=>{o||(o=new t.Scene(y)),o.environmentTexture=t.CubeTexture.CreateFromPrefilteredData(e.basicOption.scene.environmentTexture,o),o.environmentIntensity=e.basicOption.scene.environmentIntensity,e.basicOption.scene.colorShow?o.clearColor=T.hex2Color4(e.basicOption.scene.color,new t.Color4(1,1,1,1)):o.clearColor=new t.Color4(0,0,0,0),o.fogEnabled=e.basicOption.scene.fogEnabled,o.fogMode=e.basicOption.scene.fogMode||1,o.fogColor=T.hex2Color3(e.basicOption.scene.fogColor,new t.Color3(1,1,1)),o.fogEnd=e.basicOption.scene.fogEnd||2e3,o.fogStart=e.basicOption.scene.fogStart||1,o.fogDensity=e.basicOption.scene.fogDensity*1e-4},F=()=>{if(h||(h=new t.DirectionalLight("dirLight",new t.Vector3(e.basicOption.directionalLight.direction[0],e.basicOption.directionalLight.direction[1],e.basicOption.directionalLight.direction[2]),o)),h.direction=new t.Vector3(e.basicOption.directionalLight.direction[0],e.basicOption.directionalLight.direction[1],e.basicOption.directionalLight.direction[2]),h.position=new t.Vector3(e.basicOption.directionalLight.position[0],e.basicOption.directionalLight.position[1],e.basicOption.directionalLight.position[2]),h.diffuse=T.hex2Color3(e.basicOption.directionalLight.diffuse,new t.Color3(1,1,1)),h.intensity=e.basicOption.directionalLight.intensity,h.shadowMinZ=e.basicOption.directionalLight.shadowMinZ,h.shadowMaxZ=e.basicOption.directionalLight.shadowMaxZ,h.autoCalcShadowZBounds=e.basicOption.directionalLight.autoCalcShadowZBounds,e.basicOption.directionalLight.shadowGenerator.enable){const{mapSize:i,transparencyShadow:n,usePercentageCloserFiltering:p,bias:m}=e.basicOption.directionalLight.shadowGenerator;if(!d&&(d=new t.ShadowGenerator(i,h),l))for(let w=0;w<l.length;w++)e.basicOption.meshes.isCasterShadow&&d&&d.addShadowCaster(l[w],!0);d.mapSize=i,d.transparencyShadow=n,d.usePercentageCloserFiltering=p,d.bias=m}else d&&(d.dispose(),d=null);e.basicOption.directionalLight.lightGizmo&&e.basicOption.directionalLight.lightGizmo.enable?(f||(f=new t.LightGizmo,f.light=h),f.scaleRatio=e.basicOption.directionalLight.lightGizmo.scaleRatio):f&&(f.dispose(),f=null)},G=()=>{v||(v=new t.HemisphericLight("light",new t.Vector3(e.basicOption.hemisphericLight.direction[0],e.basicOption.hemisphericLight.direction[1],e.basicOption.hemisphericLight.direction[2]),o)),v.direction=new t.Vector3(e.basicOption.hemisphericLight.direction[0],e.basicOption.hemisphericLight.direction[1],e.basicOption.hemisphericLight.direction[2]),v.intensity=e.basicOption.hemisphericLight.intensity,v.diffuse=T.hex2Color3(e.basicOption.hemisphericLight.diffuse,new t.Color3(1,1,1)),e.basicOption.hemisphericLight.lightGizmo&&e.basicOption.hemisphericLight.lightGizmo.enable?(O||(O=new t.LightGizmo,O.light=v),O.scaleRatio=e.basicOption.hemisphericLight.lightGizmo.scaleRatio):O&&(O.dispose(),O=null)},M=()=>{if(e.basicOption.ground.enable){const{width:i,height:n,position:p,rotation:m,scaling:w,material:E,receiveShadows:q}=e.basicOption.ground;u||(u=t.MeshBuilder.CreateGround("ground",{width:i,height:n},o)),u.position=new t.Vector3(p[0],p[1],p[2]),u.rotation=new t.Vector3(t.Tools.ToRadians(m[0]),t.Tools.ToRadians(m[1]),t.Tools.ToRadians(m[2])),u.scaling=new t.Vector3(w[0],w[1],w[2]);const C=new t.StandardMaterial("",o);C.emissiveTexture=new t.Texture(E.emissiveTexture,o),C.diffuseTexture=new t.Texture(E.emissiveTexture,o),C.ambientTexture=new t.Texture(E.emissiveTexture,o),C.diffuseColor=new t.Color3(1,1,1),C.opacityTexture=new t.Texture(E.opacityTexture,o),u.material=C,u.receiveShadows=q}else u&&(u.dispose(),u=null)},k=()=>{if(e.basicOption.skybox.enable){const{size:i}=e.basicOption.skybox;g||(g=t.MeshBuilder.CreateBox("skyBox",{size:i},o));const n=new t.StandardMaterial("skyBox",o);n.backFaceCulling=!1,n.reflectionTexture=t.CubeTexture.CreateFromPrefilteredData(e.basicOption.scene.environmentTexture,o),n.reflectionTexture.coordinatesMode=t.Texture.SKYBOX_MODE,n.diffuseColor=new t.Color3(1,1,1),n.specularColor=new t.Color3(1,1,1),n.disableLighting=!0,g.material=n,g.isPickable=!1}else g&&(g.dispose(),g=null)},z=(i,n={loop:!1,speedRatio:1})=>{if(o){o.stopAllAnimations();const p=o.getAnimationGroupByName(i);p&&(B("on-play-animation"),window.SHJParseEvent(e.useEvents,"on-play-animation"),p.start(n.loop,n.speedRatio,p.from,p.to,!1))}},S=async()=>{l||(l=(await t.SceneLoader.ImportMeshAsync("",e.basicOption.meshes.url,"",o)).meshes),l[0].position=new t.Vector3(e.basicOption.meshes.position[0],e.basicOption.meshes.position[1],e.basicOption.meshes.position[2]),l[0].scaling=new t.Vector3(e.basicOption.meshes.scaling[0],e.basicOption.meshes.scaling[1],e.basicOption.meshes.scaling[2]),l[0].rotation=new t.Vector3(t.Tools.ToRadians(e.basicOption.meshes.rotation[0]),t.Tools.ToRadians(e.basicOption.meshes.rotation[1]),t.Tools.ToRadians(e.basicOption.meshes.rotation[2]));for(let i=0;i<l.length;i++)l[i].isPickable=!1,l[i].receiveShadows=e.basicOption.meshes.isCasterShadow,e.basicOption.meshes.isCasterShadow&&d&&d.addShadowCaster(l[i],!0);e.basicOption.animationGroups=o.animationGroups.map(i=>({uniqueId:i.uniqueId,name:i.name})),e.basicEvents&&(e.basicEvents.function[0].args[0].select=o.animationGroups.map(i=>({name:i.name,value:i.name}))),e.basicOption.defaultAnimation&&e.basicOption.defaultAnimation.name?z(e.basicOption.defaultAnimation.name,{loop:e.basicOption.defaultAnimation.loop,speedRatio:e.basicOption.defaultAnimation.speedRatio}):o.animationGroups&&o.animationGroups[0]&&o.animationGroups[0].stop()},P=()=>{const i=e.basicOption.pipelineOption;i&&i.enabled?(a||(a=new t.DefaultRenderingPipeline("defaultPipeline",!0,o,[c])),a.samples=i.samples?4:1,a.fxaaEnabled=i.fxaaEnabled,a.grainEnabled=i.grainEnabled,a.grain.intensity=i.grainIntensity,a.grain.animated=i.grainAnimated,a.bloomEnabled=i.bloomEnabled,a.bloomThreshold=i.bloomThreshold,a.bloomWeight=i.bloomWeight,a.bloomKernel=i.bloomKernel,a.bloomScale=i.bloomScale,a.depthOfFieldEnabled=i.depthOfFieldEnabled,i.depthOfFieldBlurLevel<1?a.depthOfFieldBlurLevel=t.DepthOfFieldEffectBlurLevel.Low:i.depthOfFieldBlurLevel<2?a.depthOfFieldBlurLevel=t.DepthOfFieldEffectBlurLevel.Medium:i.depthOfFieldBlurLevel<3&&(a.depthOfFieldBlurLevel=t.DepthOfFieldEffectBlurLevel.High),a.depthOfField.focusDistance=i.depthOfFieldFocusDistance,a.depthOfField.fStop=i.depthOfFieldFStop,a.depthOfField.focalLength=i.depthOfFieldFocalLength,a.chromaticAberrationEnabled=i.chromaticAberrationEnabled,a.chromaticAberration.aberrationAmount=i.chromaticAberrationAberrationAmount,a.chromaticAberration.radialIntensity=i.chromaticAberrationRadialIntensity,i.chromaticAberrationDirection===0?(a.chromaticAberration.direction.x=0,a.chromaticAberration.direction.y=0):(a.chromaticAberration.direction.x=Math.sin(i.chromaticAberrationDirection),a.chromaticAberration.direction.y=Math.cos(i.chromaticAberrationDirection)),a.sharpenEnabled=i.sharpenEnabled,a.sharpen.edgeAmount=i.sharpenEdgeAmount,a.sharpen.colorAmount=i.sharpenColorAmount):a&&(a.dispose(),a=null)},_=function(i){R(),D(),G(),F(),M(),k(),S(),P(),B("on-load-success"),window.SHJParseEvent(e.useEvents,"on-load-success")},A=r.ref();return r.onMounted(()=>{y=new t.Engine(A.value,!0),y&&e.basicOption.meshes.url&&(_(),y.runRenderLoop(function(){o&&o.render()}))}),r.onBeforeUnmount(()=>{o.dispose(),y.dispose()}),x({playAnimation:(i,n)=>{const p=i[0].value,m={loop:i[1].keys[0].defaultValue,speedRatio:i[1].keys[1].defaultValue};z(p,m)}}),r.watch(()=>s.cloneDeep(e.basicOption.camera),(i,n)=>{!s.isEqual(i,n)&&c&&D()},{deep:!0}),r.watch(()=>s.cloneDeep(e.basicOption.scene),(i,n)=>{!s.isEqual(i,n)&&o&&R()},{deep:!0}),r.watch(()=>s.cloneDeep(e.basicOption.directionalLight),(i,n)=>{s.isEqual(i,n)||F()},{deep:!0}),r.watch(()=>s.cloneDeep(e.basicOption.hemisphericLight),(i,n)=>{s.isEqual(i,n)||G()},{deep:!0}),r.watch(()=>s.cloneDeep(e.basicOption.ground),(i,n)=>{s.isEqual(i,n)||M()},{deep:!0}),r.watch(()=>s.cloneDeep(e.basicOption.skybox),(i,n)=>{s.isEqual(i,n)||k()},{deep:!0}),r.watch(()=>s.cloneDeep(e.basicOption.meshes),(i,n)=>{!s.isEqual(i,n)&&l&&i.url===n.url&&S()},{deep:!0}),r.watch(()=>s.cloneDeep(e.basicOption.meshes.url),(i,n)=>{s.isEqual(i,n)||(o.meshes.forEach((p,m)=>{m>1&&p.dispose()}),l=null,S())},{deep:!0}),r.watch(()=>s.cloneDeep(e.basicOption.pipelineOption),(i,n)=>{s.isEqual(i,n)||P()},{deep:!0}),(i,n)=>(r.openBlock(),r.createElementBlock("div",Z,[r.createElementVNode("canvas",{ref_key:"canvasRef",ref:A,class:r.normalizeClass(["widget",{show:!0}])},null,512)]))}});exports.default=H;
|
package/lib/components/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./chart-bar-stack/index.js"),r=require("./chart-bar-basic/index.js"),i=require("./chart-bar-loop/index.js"),t=require("./chart-bar-zebra/index.js"),a=require("./chart-bar-contrast/index.js"),n=require("./chart-bar-line-bar/index.js"),o=require("./chart-bar-stack2/index.js"),c=require("./chart-bar-stack-line/index.js"),v=require("./chart-bar-gradient-column-chart/index.js"),Z=require("./chart-bar-spire/index.js"),s=require("./chart-pie-basic/index.js"),d=require("./chart-line-smooth/index.js"),h=require("./chart-line-smooth-area/index.js"),u=require("./chart-scatter-basic/index.js"),C=require("./text-text-basic/index.js"),x=require("./text-table-basic/index.js"),q=require("./chart-other-gauge/index.js"),$=require("./chart-other-word-cloud/index.js"),m=require("./chart-other-liquidfill/index.js"),l=require("./chart-bar-horizontal/index.js"),B=require("./chart-bar-three/index.js"),p=require("./chart-bar-rank/index.js"),M=require("./chart-bar-mini/index.js"),T=require("./chart-line-dashed/index.js"),S=require("./chart-pie-semicircle/index.js"),I=require("./chart-pie-rose/index.js"),g=require("./chart-scatter-basic2/index.js"),O=require("./chart-other-funnel/index.js"),L=require("./chart-other-force/index.js"),G=require("./chart-other-radar/index.js"),P=require("./chart-line-basic/index.js"),R=require("./chart-line-scale/index.js"),b=require("./chart-map-lines/index.js"),D=require("./chart-map-basic/index.js"),k=require("./chart-map-scatter/index.js"),y=require("./chart-map-customize/index.js"),E=require("./chart-map-bmap-rich/index.js"),f=require("./chart-other-circular-graph/index.js"),V=require("./chart-map-bmap-heatmap/index.js"),A=require("./chart-map-bmap-basic/index.js"),F=require("./map-earth-basic/index.js"),w=require("./map-earth-cool-tech/index.js"),H=require("./map-earth-particle/index.js"),W=require("./map-earth-hacker/index.js"),z=require("./map-earth-fly-line/index.js"),j=require("./chart-pie-index/index.js"),N=require("./chart-other-grid-percentage/index.js"),Q=require("./chart-other-radar-stack/index.js"),J=require("./chart-bar-segmented-progress/index.js"),K=require("./chart-other-funnel2/index.js"),U=require("./chart-other-label-gauge/index.js"),X=require("./chart-pie-round/index.js"),Y=require("./chart-pie-sunburst/index.js"),_=require("./chart-other-theme-river/index.js"),ee=require("./chart-other-tree/index.js"),re=require("./chart-other-treemap/index.js"),ie=require("./commons-product-model/index.js"),te=require("./commons-vr-photo/index.js"),ae=require("./commons-vr-video/index.js"),ne=require("./commons-three-loader/index.js"),oe=require("./commons-three-loader3/index.js"),ce=require("./commons-gaussian-splatting-view/index.js"),ve=require("./commons-babylon/index.js"),Ze=require("./commons-svg/index.js"),se=require("./commons-weather/index.js"),de=require("./media-wavesurfer/index.js"),he=require("./interaction-tabs/index.js"),ue=require("./interaction-tabs2/index.js"),Ce=require("./interaction-button/index.js"),xe=require("./interaction-button-image/index.js"),qe=require("./interaction-select/index.js"),$e=require("./interaction-input/index.js"),me=require("./interaction-radio/index.js"),le=require("./interaction-slider/index.js"),Be=require("./interaction-switch/index.js"),pe=require("./interaction-data-picker/index.js"),Me=require("./interaction-button-refresh/index.js"),Te=require("./media-image/index.js"),Se=require("./text-title/index.js"),Ie=require("./commons-qrcode/index.js"),ge=require("./media-video/index.js"),Oe=require("./media-audio/index.js"),Le=require("./text-real-time/index.js"),Ge=require("./media-carousel/index.js"),Pe=require("./media-carousel-slides/index.js"),Re=require("./media-iframe-carousel/index.js"),be=require("./media-iframe/index.js"),De=require("./media-m3u8/index.js"),ke=require("./media-audio-dynamic/index.js"),ye=require("./media-video-dynamic/index.js"),Ee=require("./media-image-dynamic/index.js"),fe=require("./media-flv/index.js"),Ve=require("./commons-echarts/index.js"),Ae=require("./text-over-number/index.js"),Fe=require("./text-table-scroll/index.js"),we=require("./text-carousel/index.js"),He=require("./text-row-scroll/index.js"),We=require("./text-text-dynamic/index.js"),ze=require("./text-count-down/index.js"),je=require("./graphical-circle/index.js"),Ne=require("./graphical-diamond/index.js"),Qe=require("./graphical-hexagon/index.js"),Je=require("./graphical-isosceles-triangle/index.js"),Ke=require("./graphical-pentagon/index.js"),Ue=require("./graphical-rect/index.js"),Xe=require("./graphical-right-triangle/index.js"),Ye=require("./scene-map3d/index.js"),_e=require("./scene-amap2d/index.js"),er=require("./scene-amap3d/index.js");exports.ZvChartBarStack=e.ZvChartBarStack;exports.ZvChartBarBasic=r.ZvChartBarBasic;exports.ZvChartBarLoop=i.ZvChartBarLoop;exports.ZvChartBarZebra=t.ZvChartBarZebra;exports.ZvChartBarContrast=a.ZvChartBarContrast;exports.ZvChartBarLineBar=n.ZvChartBarLineBar;exports.ZvChartBarStack2=o.ZvChartBarStack2;exports.ZvChartBarStackLine=c.ZvChartBarStackLine;exports.ZvChartBarGradientColumnChart=v.ZvChartBarGradientColumnChart;exports.ZvChartBarSpire=Z.ZvChartBarSpire;exports.ZvChartPieBasic=s.ZvChartPieBasic;exports.ZvChartLineSmooth=d.ZvChartLineSmooth;exports.ZvChartLineSmoothArea=h.ZvChartLineSmoothArea;exports.ZvChartScatterBasic=u.ZvChartScatterBasic;exports.ZvTextTextBasic=C.ZvTextTextBasic;exports.ZvTextTableBasic=x.ZvTextTableBasic;exports.ZvChartOtherGauge=q.ZvChartOtherGauge;exports.ZvChartOtherWordCloud=$.ZvChartOtherWordCloud;exports.ZvChartOtherLiquidfill=m.ZvChartOtherLiquidfill;exports.ZvChartBarHorizontal=l.ZvChartBarHorizontal;exports.ZvChartBarThree=B.ZvChartBarThree;exports.ZvChartBarRank=p.ZvChartBarRank;exports.ZvChartBarMini=M.ZvChartBarMini;exports.ZvChartLineDashed=T.ZvChartLineDashed;exports.ZvChartPieSemicircle=S.ZvChartPieSemicircle;exports.ZvChartPieRose=I.ZvChartPieRose;exports.ZvChartScatterBasic2=g.ZvChartScatterBasic2;exports.ZvChartOtherFunnel=O.ZvChartOtherFunnel;exports.ZvChartOtherForce=L.ZvChartOtherForce;exports.ZvChartOtherRadar=G.ZvChartOtherRadar;exports.ZvChartLineBasic=P.ZvChartLineBasic;exports.ZvChartLineScale=R.ZvChartLineScale;exports.ZvChartMapLines=b.ZvChartMapLines;exports.ZvChartMapBasic=D.ZvChartMapBasic;exports.ZvChartMapScatter=k.ZvChartMapScatter;exports.ZvChartMapCustomize=y.ZvChartMapCustomize;exports.ZvChartMapBmapRich=E.ZvChartMapBmapRich;exports.ZvChartOtherCircularGraph=f.ZvChartOtherCircularGraph;exports.ZvChartMapBmapHeatmap=V.ZvChartMapBmapHeatmap;exports.ZvChartMapBmapBasic=A.ZvChartMapBmapBasic;exports.ZvMapEarthBasic=F.ZvMapEarthBasic;exports.ZvMapEarthCoolTech=w.ZvMapEarthCoolTech;exports.ZvMapEarthParticle=H.ZvMapEarthParticle;exports.ZvMapEarthHacker=W.ZvMapEarthHacker;exports.ZvMapEarthFlyLine=z.ZvMapEarthFlyLine;exports.ZvChartPieIndex=j.ZvChartPieIndex;exports.ZvChartOtherGridPercentage=N.ZvChartOtherGridPercentage;exports.ZvChartOtherRadarStack=Q.ZvChartOtherRadarStack;exports.ZvChartBarSegmentedProgress=J.ZvChartBarSegmentedProgress;exports.ZvChartOtherFunnel2=K.ZvChartOtherFunnel2;exports.ZvChartOtherLabelGauge=U.ZvChartOtherLabelGauge;exports.ZvChartPieRound=X.ZvChartPieRound;exports.ZvChartPieSunburst=Y.ZvChartPieSunburst;exports.ZvChartOtherThemeRiver=_.ZvChartOtherThemeRiver;exports.ZvChartOtherTree=ee.ZvChartOtherTree;exports.ZvChartOtherTreemap=re.ZvChartOtherTreemap;exports.ZvCommonsProductModel=ie.ZvCommonsProductModel;exports.ZvCommonsVrPhoto=te.ZvCommonsVrPhoto;exports.ZvCommonsVrVideo=ae.ZvCommonsVrVideo;exports.ZvCommonsThreeLoader=ne.ZvCommonsThreeLoader;exports.ZvCommonsThreeLoader3=oe.ZvCommonsThreeLoader3;exports.ZvCommonsGaussianSplattingView=ce.ZvCommonsGaussianSplattingView;exports.ZvCommonsBabylon=ve.ZvCommonsBabylon;exports.ZvCommonsSvg=Ze.ZvCommonsSvg;exports.ZvCommonsWeather=se.ZvCommonsWeather;exports.ZvMediaWavesurfer=de.ZvMediaWavesurfer;exports.ZvInteractionTabs=he.ZvInteractionTabs;exports.ZvInteractionTabs2=ue.ZvInteractionTabs2;exports.ZvInteractionButton=Ce.ZvInteractionButton;exports.ZvInteractionButtonImage=xe.ZvInteractionButtonImage;exports.ZvInteractionSelect=qe.ZvInteractionSelect;exports.ZvInteractionInput=$e.ZvInteractionInput;exports.ZvInteractionRadio=me.ZvInteractionRadio;exports.ZvInteractionSlider=le.ZvInteractionSlider;exports.ZvInteractionSwitch=Be.ZvInteractionSwitch;exports.ZvInteractionDataPicker=pe.ZvInteractionDataPicker;exports.ZvInteractionButtonRefresh=Me.ZvInteractionButtonRefresh;exports.ZvMediaImage=Te.ZvMediaImage;exports.ZvTextTitle=Se.ZvTextTitle;exports.ZvCommonsQrcode=Ie.ZvCommonsQrcode;exports.ZvMediaVideo=ge.ZvMediaVideo;exports.ZvMediaAudio=Oe.ZvMediaAudio;exports.ZvTextRealTime=Le.ZvTextRealTime;exports.ZvMediaCarousel=Ge.ZvMediaCarousel;exports.ZvMediaCarouselSlides=Pe.ZvMediaCarouselSlides;exports.ZvMediaIframeCarousel=Re.ZvMediaIframeCarousel;exports.ZvMediaIframe=be.ZvMediaIframe;exports.ZvMediaM3u8=De.ZvMediaM3u8;exports.ZvMediaAudioDynamic=ke.ZvMediaAudioDynamic;exports.ZvMediaVideoDynamic=ye.ZvMediaVideoDynamic;exports.ZvMediaImageDynamic=Ee.ZvMediaImageDynamic;exports.ZvMediaFlv=fe.ZvMediaFlv;exports.ZvCommonsEcharts=Ve.ZvCommonsEcharts;exports.ZvTextOverNumber=Ae.ZvTextOverNumber;exports.ZvTextTableScroll=Fe.ZvTextTableScroll;exports.ZvTextCarousel=we.ZvTextCarousel;exports.ZvTextRowScroll=He.ZvTextRowScroll;exports.ZvTextTextDynamic=We.ZvTextTextDynamic;exports.ZvTextCountDown=ze.ZvTextCountDown;exports.ZvGraphicalCircle=je.ZvGraphicalCircle;exports.ZvGraphicalDiamond=Ne.ZvGraphicalDiamond;exports.ZvGraphicalHexagon=Qe.ZvGraphicalHexagon;exports.ZvGraphicalIsoscelesTriangle=Je.ZvGraphicalIsoscelesTriangle;exports.ZvGraphicalPentagon=Ke.ZvGraphicalPentagon;exports.ZvGraphicalRect=Ue.ZvGraphicalRect;exports.ZvGraphicalRightTriangle=Xe.ZvGraphicalRightTriangle;exports.ZvSceneMap3d=Ye.ZvSceneMap3d;exports.ZvSceneAmap2d=_e.ZvSceneAmap2d;exports.ZvSceneAmap3d=er.ZvSceneAmap3d;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./chart-bar-stack/index.js"),r=require("./chart-bar-basic/index.js"),i=require("./chart-bar-loop/index.js"),t=require("./chart-bar-zebra/index.js"),a=require("./chart-bar-contrast/index.js"),n=require("./chart-bar-line-bar/index.js"),o=require("./chart-bar-stack2/index.js"),c=require("./chart-bar-stack-line/index.js"),v=require("./chart-bar-gradient-column-chart/index.js"),Z=require("./chart-bar-spire/index.js"),s=require("./chart-pie-basic/index.js"),d=require("./chart-line-smooth/index.js"),h=require("./chart-line-smooth-area/index.js"),u=require("./chart-scatter-basic/index.js"),C=require("./text-text-basic/index.js"),x=require("./text-table-basic/index.js"),q=require("./chart-other-gauge/index.js"),$=require("./chart-other-word-cloud/index.js"),m=require("./chart-other-liquidfill/index.js"),l=require("./chart-bar-horizontal/index.js"),B=require("./chart-bar-three/index.js"),p=require("./chart-bar-rank/index.js"),S=require("./chart-bar-mini/index.js"),M=require("./chart-line-dashed/index.js"),T=require("./chart-pie-semicircle/index.js"),I=require("./chart-pie-rose/index.js"),g=require("./chart-scatter-basic2/index.js"),O=require("./chart-other-funnel/index.js"),L=require("./chart-other-force/index.js"),G=require("./chart-other-radar/index.js"),P=require("./chart-line-basic/index.js"),R=require("./chart-line-scale/index.js"),b=require("./chart-map-lines/index.js"),y=require("./chart-map-basic/index.js"),D=require("./chart-map-scatter/index.js"),f=require("./chart-map-customize/index.js"),k=require("./chart-map-bmap-rich/index.js"),V=require("./chart-other-circular-graph/index.js"),E=require("./chart-map-bmap-heatmap/index.js"),A=require("./chart-map-bmap-basic/index.js"),F=require("./map-earth-basic/index.js"),w=require("./map-earth-cool-tech/index.js"),H=require("./map-earth-particle/index.js"),U=require("./map-earth-hacker/index.js"),W=require("./map-earth-fly-line/index.js"),z=require("./chart-pie-index/index.js"),j=require("./chart-other-grid-percentage/index.js"),N=require("./chart-other-radar-stack/index.js"),Q=require("./chart-bar-segmented-progress/index.js"),J=require("./chart-other-funnel2/index.js"),K=require("./chart-other-label-gauge/index.js"),X=require("./chart-pie-round/index.js"),Y=require("./chart-pie-sunburst/index.js"),_=require("./chart-other-theme-river/index.js"),ee=require("./chart-other-tree/index.js"),re=require("./chart-other-treemap/index.js"),ie=require("./commons-product-model/index.js"),te=require("./commons-vr-photo/index.js"),ae=require("./commons-vr-video/index.js"),ne=require("./commons-three-loader/index.js"),oe=require("./commons-three-loader3/index.js"),ce=require("./commons-gaussian-splatting-view/index.js"),ve=require("./commons-babylon/index.js"),Ze=require("./commons-svg/index.js"),se=require("./commons-weather/index.js"),de=require("./media-wavesurfer/index.js"),he=require("./interaction-tabs/index.js"),ue=require("./interaction-tabs2/index.js"),Ce=require("./interaction-button/index.js"),xe=require("./interaction-button-image/index.js"),qe=require("./interaction-select/index.js"),$e=require("./interaction-input/index.js"),me=require("./interaction-radio/index.js"),le=require("./interaction-slider/index.js"),Be=require("./interaction-switch/index.js"),pe=require("./interaction-data-picker/index.js"),Se=require("./interaction-button-refresh/index.js"),Me=require("./media-image/index.js"),Te=require("./text-title/index.js"),Ie=require("./commons-qrcode/index.js"),ge=require("./media-video/index.js"),Oe=require("./media-audio/index.js"),Le=require("./text-real-time/index.js"),Ge=require("./media-carousel/index.js"),Pe=require("./media-carousel-slides/index.js"),Re=require("./media-iframe-carousel/index.js"),be=require("./media-iframe/index.js"),ye=require("./media-m3u8/index.js"),De=require("./media-audio-dynamic/index.js"),fe=require("./media-video-dynamic/index.js"),ke=require("./media-image-dynamic/index.js"),Ve=require("./media-flv/index.js"),Ee=require("./commons-echarts/index.js"),Ae=require("./text-over-number/index.js"),Fe=require("./text-table-scroll/index.js"),we=require("./text-carousel/index.js"),He=require("./text-row-scroll/index.js"),Ue=require("./text-text-dynamic/index.js"),We=require("./text-count-down/index.js"),ze=require("./graphical-circle/index.js"),je=require("./graphical-diamond/index.js"),Ne=require("./graphical-hexagon/index.js"),Qe=require("./graphical-isosceles-triangle/index.js"),Je=require("./graphical-pentagon/index.js"),Ke=require("./graphical-rect/index.js"),Xe=require("./graphical-right-triangle/index.js"),Ye=require("./scene-map3d/index.js"),_e=require("./scene-amap2d/index.js"),er=require("./scene-amap3d/index.js"),rr=require("./scene-vr/index.js"),ir=require("./scene-unity-iframe/index.js"),tr=require("./scene-unity-webgl/index.js"),ar=require("./scene-ue-iframe/index.js"),nr=require("./scene-ue-shj/index.js");exports.ZvChartBarStack=e.ZvChartBarStack;exports.ZvChartBarBasic=r.ZvChartBarBasic;exports.ZvChartBarLoop=i.ZvChartBarLoop;exports.ZvChartBarZebra=t.ZvChartBarZebra;exports.ZvChartBarContrast=a.ZvChartBarContrast;exports.ZvChartBarLineBar=n.ZvChartBarLineBar;exports.ZvChartBarStack2=o.ZvChartBarStack2;exports.ZvChartBarStackLine=c.ZvChartBarStackLine;exports.ZvChartBarGradientColumnChart=v.ZvChartBarGradientColumnChart;exports.ZvChartBarSpire=Z.ZvChartBarSpire;exports.ZvChartPieBasic=s.ZvChartPieBasic;exports.ZvChartLineSmooth=d.ZvChartLineSmooth;exports.ZvChartLineSmoothArea=h.ZvChartLineSmoothArea;exports.ZvChartScatterBasic=u.ZvChartScatterBasic;exports.ZvTextTextBasic=C.ZvTextTextBasic;exports.ZvTextTableBasic=x.ZvTextTableBasic;exports.ZvChartOtherGauge=q.ZvChartOtherGauge;exports.ZvChartOtherWordCloud=$.ZvChartOtherWordCloud;exports.ZvChartOtherLiquidfill=m.ZvChartOtherLiquidfill;exports.ZvChartBarHorizontal=l.ZvChartBarHorizontal;exports.ZvChartBarThree=B.ZvChartBarThree;exports.ZvChartBarRank=p.ZvChartBarRank;exports.ZvChartBarMini=S.ZvChartBarMini;exports.ZvChartLineDashed=M.ZvChartLineDashed;exports.ZvChartPieSemicircle=T.ZvChartPieSemicircle;exports.ZvChartPieRose=I.ZvChartPieRose;exports.ZvChartScatterBasic2=g.ZvChartScatterBasic2;exports.ZvChartOtherFunnel=O.ZvChartOtherFunnel;exports.ZvChartOtherForce=L.ZvChartOtherForce;exports.ZvChartOtherRadar=G.ZvChartOtherRadar;exports.ZvChartLineBasic=P.ZvChartLineBasic;exports.ZvChartLineScale=R.ZvChartLineScale;exports.ZvChartMapLines=b.ZvChartMapLines;exports.ZvChartMapBasic=y.ZvChartMapBasic;exports.ZvChartMapScatter=D.ZvChartMapScatter;exports.ZvChartMapCustomize=f.ZvChartMapCustomize;exports.ZvChartMapBmapRich=k.ZvChartMapBmapRich;exports.ZvChartOtherCircularGraph=V.ZvChartOtherCircularGraph;exports.ZvChartMapBmapHeatmap=E.ZvChartMapBmapHeatmap;exports.ZvChartMapBmapBasic=A.ZvChartMapBmapBasic;exports.ZvMapEarthBasic=F.ZvMapEarthBasic;exports.ZvMapEarthCoolTech=w.ZvMapEarthCoolTech;exports.ZvMapEarthParticle=H.ZvMapEarthParticle;exports.ZvMapEarthHacker=U.ZvMapEarthHacker;exports.ZvMapEarthFlyLine=W.ZvMapEarthFlyLine;exports.ZvChartPieIndex=z.ZvChartPieIndex;exports.ZvChartOtherGridPercentage=j.ZvChartOtherGridPercentage;exports.ZvChartOtherRadarStack=N.ZvChartOtherRadarStack;exports.ZvChartBarSegmentedProgress=Q.ZvChartBarSegmentedProgress;exports.ZvChartOtherFunnel2=J.ZvChartOtherFunnel2;exports.ZvChartOtherLabelGauge=K.ZvChartOtherLabelGauge;exports.ZvChartPieRound=X.ZvChartPieRound;exports.ZvChartPieSunburst=Y.ZvChartPieSunburst;exports.ZvChartOtherThemeRiver=_.ZvChartOtherThemeRiver;exports.ZvChartOtherTree=ee.ZvChartOtherTree;exports.ZvChartOtherTreemap=re.ZvChartOtherTreemap;exports.ZvCommonsProductModel=ie.ZvCommonsProductModel;exports.ZvCommonsVrPhoto=te.ZvCommonsVrPhoto;exports.ZvCommonsVrVideo=ae.ZvCommonsVrVideo;exports.ZvCommonsThreeLoader=ne.ZvCommonsThreeLoader;exports.ZvCommonsThreeLoader3=oe.ZvCommonsThreeLoader3;exports.ZvCommonsGaussianSplattingView=ce.ZvCommonsGaussianSplattingView;exports.ZvCommonsBabylon=ve.ZvCommonsBabylon;exports.ZvCommonsSvg=Ze.ZvCommonsSvg;exports.ZvCommonsWeather=se.ZvCommonsWeather;exports.ZvMediaWavesurfer=de.ZvMediaWavesurfer;exports.ZvInteractionTabs=he.ZvInteractionTabs;exports.ZvInteractionTabs2=ue.ZvInteractionTabs2;exports.ZvInteractionButton=Ce.ZvInteractionButton;exports.ZvInteractionButtonImage=xe.ZvInteractionButtonImage;exports.ZvInteractionSelect=qe.ZvInteractionSelect;exports.ZvInteractionInput=$e.ZvInteractionInput;exports.ZvInteractionRadio=me.ZvInteractionRadio;exports.ZvInteractionSlider=le.ZvInteractionSlider;exports.ZvInteractionSwitch=Be.ZvInteractionSwitch;exports.ZvInteractionDataPicker=pe.ZvInteractionDataPicker;exports.ZvInteractionButtonRefresh=Se.ZvInteractionButtonRefresh;exports.ZvMediaImage=Me.ZvMediaImage;exports.ZvTextTitle=Te.ZvTextTitle;exports.ZvCommonsQrcode=Ie.ZvCommonsQrcode;exports.ZvMediaVideo=ge.ZvMediaVideo;exports.ZvMediaAudio=Oe.ZvMediaAudio;exports.ZvTextRealTime=Le.ZvTextRealTime;exports.ZvMediaCarousel=Ge.ZvMediaCarousel;exports.ZvMediaCarouselSlides=Pe.ZvMediaCarouselSlides;exports.ZvMediaIframeCarousel=Re.ZvMediaIframeCarousel;exports.ZvMediaIframe=be.ZvMediaIframe;exports.ZvMediaM3u8=ye.ZvMediaM3u8;exports.ZvMediaAudioDynamic=De.ZvMediaAudioDynamic;exports.ZvMediaVideoDynamic=fe.ZvMediaVideoDynamic;exports.ZvMediaImageDynamic=ke.ZvMediaImageDynamic;exports.ZvMediaFlv=Ve.ZvMediaFlv;exports.ZvCommonsEcharts=Ee.ZvCommonsEcharts;exports.ZvTextOverNumber=Ae.ZvTextOverNumber;exports.ZvTextTableScroll=Fe.ZvTextTableScroll;exports.ZvTextCarousel=we.ZvTextCarousel;exports.ZvTextRowScroll=He.ZvTextRowScroll;exports.ZvTextTextDynamic=Ue.ZvTextTextDynamic;exports.ZvTextCountDown=We.ZvTextCountDown;exports.ZvGraphicalCircle=ze.ZvGraphicalCircle;exports.ZvGraphicalDiamond=je.ZvGraphicalDiamond;exports.ZvGraphicalHexagon=Ne.ZvGraphicalHexagon;exports.ZvGraphicalIsoscelesTriangle=Qe.ZvGraphicalIsoscelesTriangle;exports.ZvGraphicalPentagon=Je.ZvGraphicalPentagon;exports.ZvGraphicalRect=Ke.ZvGraphicalRect;exports.ZvGraphicalRightTriangle=Xe.ZvGraphicalRightTriangle;exports.ZvSceneMap3d=Ye.ZvSceneMap3d;exports.ZvSceneAmap2d=_e.ZvSceneAmap2d;exports.ZvSceneAmap3d=er.ZvSceneAmap3d;exports.ZvSceneVr=rr.ZvSceneVr;exports.ZvSceneUnityIframe=ir.ZvSceneUnityIframe;exports.ZvSceneUnityWebgl=tr.ZvSceneUnityWebgl;exports.ZvSceneUeIframe=ar.ZvSceneUeIframe;exports.ZvSceneUeShj=nr.ZvSceneUeShj;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue2.js");;/* empty css */const t=require("../../_virtual/_plugin-vue_export-helper.js"),u=t.default(e.default,[["__scopeId","data-v-2936f3eb"]]);exports.default=u;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),w=require("nanoid"),J=require("lodash"),n=require("../../utils/json2css.js"),L=require("../../utils/clickOutSide.js"),M={style:{display:"flex","align-items":"center",gap:"4px"}},R={key:1,class:"zerov-widget-select__prefix"},X=["src"],Y=["src"],A=["onClick"],G=["src"],K={class:"zerov-widget-select__option-label"},Q=e.defineComponent({name:"zv-interaction-select"}),U=e.defineComponent({...Q,props:{basicOption:{},sources:{},useEvents:{},uuid:{}},emits:["update:modelValue","on-change"],setup(k,{emit:x}){const s=k,_=()=>{const t=e.ref(),u=o=>{if(t.value){n.autoInstallFont(o.fontFamily),n.autoInstallFont(o.hover.fontFamily),n.autoInstallFont(o.focus.fontFamily);const r=e.ref("");return o.boxShadow&&(r.value=`${o.boxShadow.isInset?"inset":""} ${o.boxShadow.offsetX}px ${o.boxShadow.offsetY}px ${o.boxShadow.blur}px ${o.boxShadow.diffus}px ${o.boxShadow.color}`),{...n.jsonToCssStyle(o),...n.jsonToCssStyle(o.hover,"hover"),...n.jsonToCssStyle(o.focus,"focus"),boxShadow:r.value,padding:`${o.padding.map(l=>`${l}px`).join(" ")}`,backgroundColor:o.isBgImage?"":o.backgroundColor,backgroundImage:o.isBgImage?`url(${o.backgroundImage})`:""}}return{}},a=o=>{if(t.value){n.autoInstallFont(o.fontFamily);const r=`${o.boxShadow.isInset?"inset":""} ${o.boxShadow.offsetX}px ${o.boxShadow.offsetY}px ${o.boxShadow.blur}px ${o.boxShadow.diffus}px ${o.boxShadow.color}`;return o.placement==="bottom"?{...n.jsonToCssStyle(o),top:"100%",marginTop:"6px",boxShadow:r,padding:`${o.padding.map(l=>`${l}px`).join(" ")}`}:{...n.jsonToCssStyle(o),bottom:"100%",marginBottom:"6px",boxShadow:r,padding:`${o.padding.map(l=>`${l}px`).join(" ")}`}}},h=o=>{if(t.value)return n.autoInstallFont(o.fontFamily),{padding:`${o.padding.map(r=>`${r}px`).join(" ")}`,...n.jsonToCssStyle(o),...n.jsonToCssStyle(o.hover,"hover"),...n.jsonToCssStyle(o.active,"active")}},P=o=>{if(t.value)return n.autoInstallFont(o.fontFamily),{...n.jsonToCssStyle(o)}},D=o=>{if(t.value)return n.autoInstallFont(o.fontFamily),{...n.jsonToCssStyle(o),...n.jsonToCssStyle(o,"hover"),...n.jsonToCssStyle(o,"focus")}},q=(o,r)=>{const l=r.find(S=>S.type===o);return l?l.url:""},H=(o,r)=>{if(t.value){const l=r.find(S=>S.type===o);if(l)return{...n.jsonToCssStyle(l)}}},v=e.ref(),p=e.ref([]);return{key:v,init:()=>{window.SHJDatasourceV2({tId:s.uuid,sources:s.sources,callback:o=>{try{window.SHJParseEvent(s.useEvents,"dataListener",p),v.value=w.nanoid(),p.value=J.cloneDeep(o.data[0].data)||[]}catch{window.SHJParseEvent(s.useEvents,"dataListener",null),v.value=w.nanoid(),p.value=[]}}})},options:p,selectRef:t,rendererSelectInput:u,rendererSelectOption:h,rendererSelectDropdown:a,rendererSelectSelected:D,rendererSelectPlaceholder:P,rendererPrefixIcon:q,rendererPrefixIconCss:H}},f=e.ref(""),y=x,c=e.ref(!1),i=e.computed(()=>{const t=b.value.find(u=>u.value===f.value);return t?t.label:""}),I=()=>{c.value=!c.value},m=e.ref(""),E=t=>{f.value=t.value,m.value=t.type,y("update:modelValue",t.value),y("on-change",t),window.SHJParseEvent(s.useEvents,"on-change",{data:t}),c.value=!1},$=()=>{c.value=!1},{key:z,init:g,options:b,selectRef:O,rendererSelectInput:j,rendererSelectOption:B,rendererSelectDropdown:V,rendererSelectSelected:T,rendererSelectPlaceholder:F,rendererPrefixIcon:d,rendererPrefixIconCss:N}=_();return e.onMounted(()=>g()),e.watch(()=>s.sources,()=>g(),{deep:!0}),(t,u)=>e.withDirectives((e.openBlock(),e.createElementBlock("div",{key:e.unref(z),ref_key:"selectRef",ref:O,class:e.normalizeClass(["zerov-widget-select",{"is-open":c.value}]),onClick:I},[e.createElementVNode("div",{class:e.normalizeClass(["zerov-widget-select__trigger",{"is-active":c.value}]),style:e.normalizeStyle({...e.unref(j)(t.basicOption.input)})},[e.createElementVNode("div",M,[i.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",{key:0,class:"zerov-widget-select__placeholder",style:e.normalizeStyle({...e.unref(F)(t.basicOption.input.placeholder)})},e.toDisplayString(t.basicOption.input.placeholder.value),5)),i.value&&e.unref(d)(m.value,t.basicOption.dropdown.option.prefixs)?(e.openBlock(),e.createElementBlock("span",R,[e.createElementVNode("img",{src:e.unref(d)(m.value,t.basicOption.dropdown.option.prefixs),alt:""},null,8,X)])):e.createCommentVNode("",!0),i.value?(e.openBlock(),e.createElementBlock("span",{key:2,class:"zerov-widget-select__selected",style:e.normalizeStyle({...e.unref(T)(t.basicOption.input.selected)})},e.toDisplayString(i.value),5)):e.createCommentVNode("",!0)]),e.createElementVNode("span",{class:e.normalizeClass(["zerov-widget-select__arrow",{"is-open":c.value}])},[e.createElementVNode("img",{src:t.basicOption.input.arrow.url,alt:""},null,8,Y)],2)],6),e.createVNode(e.Transition,{name:"fade-in-linear"},{default:e.withCtx(()=>[c.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"zerov-widget-select__dropdown",style:e.normalizeStyle({...e.unref(V)(t.basicOption.dropdown)})},[e.createElementVNode("ul",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(b),a=>(e.openBlock(),e.createElementBlock("li",{key:a.value,class:e.normalizeClass([{"is-selected":a.value===f.value},"zerov-widget-select__option"]),style:e.normalizeStyle({...e.unref(B)(t.basicOption.dropdown.option)}),onClick:e.withModifiers(h=>E(a),["stop"])},[e.unref(d)(a.type,t.basicOption.dropdown.option.prefixs)?(e.openBlock(),e.createElementBlock("span",{key:0,class:"zerov-widget-select__option-prefix",style:e.normalizeStyle({...e.unref(N)(a.type,t.basicOption.dropdown.option.prefixs)})},[e.createElementVNode("img",{src:e.unref(d)(a.type,t.basicOption.dropdown.option.prefixs),alt:""},null,8,G)],4)):e.createCommentVNode("",!0),e.createElementVNode("span",K,e.toDisplayString(a.label),1)],14,A))),128))])],4)):e.createCommentVNode("",!0)]),_:1})],2)),[[e.unref(L.default),$]])}});exports.default=U;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue2.js");;/* empty css */const t=require("../../_virtual/_plugin-vue_export-helper.js"),u=t.default(e.default,[["__scopeId","data-v-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue2.js");;/* empty css */const t=require("../../_virtual/_plugin-vue_export-helper.js"),u=t.default(e.default,[["__scopeId","data-v-93e7e6bc"]]);exports.default=u;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=require("vue"),R=require("@amap/amap-jsapi-loader"),Z=require("axios"),V=require("nanoid"),U=
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=require("vue"),R=require("@amap/amap-jsapi-loader"),Z=require("axios"),V=require("nanoid"),U=y=>(l.pushScopeId("data-v-93e7e6bc"),y=y(),l.popScopeId(),y),K=U(()=>l.createElementVNode("div",{id:"zerov-amap-2d",class:"zerov-amap-container"},null,-1)),Q=[K],X=l.defineComponent({name:"zv-scene-amap2d"}),Y=l.defineComponent({...X,props:{basicOption:{},sources:{},useEvents:{},uuid:{}},emits:["amap2d-scene-success","amap2d-scene-zoomstart","amap2d-scene-zoomend","amap2d-scene-mapclick","amap2d-scene-dragstart","amap2d-scene-dragging","amap2d-scene-dragend"],setup(y,{expose:k,emit:x}){const s=y,u=x,E=()=>{const o=l.shallowRef(),c=l.shallowRef(),w=l.ref(!1),p=l.ref(),g=l.ref(),m=l.ref(),f=l.ref(),C=a=>{O(),window._AMapSecurityConfig={securityJsCode:a.basic.securityJsCode},R.load({key:a.basic.key,version:"2.0",Loca:{version:"2.0.0"},plugins:["AMap.ControlBar","AMap.ToolBar","AMap.Scale","AMap.HeatMap","AMap.GeoJSON"]}).then(e=>{f.value=e,o.value=new e.Map("zerov-amap-2d",{rotateEnable:a.config.rotateEnable,pitchEnable:a.config.pitchEnable,resizeEnable:a.config.resizeEnable,zoomEnable:a.config.zoomEnable,dragEnable:a.config.dragEnable,zoom:a.config.zoom,viewMode:"2D",zooms:a.config.zooms,center:a.config.center,mapStyle:a.config.mapStyle,features:a.config.features}),c.value=new window.Loca.Container({map:o.value}),m.value=new f.value.Scale({visible:a.config.plugin.scale.visible,position:{left:a.config.plugin.scale.position.left+"px",bottom:a.config.plugin.scale.position.bottom+"px"}}),o.value.addControl(m.value),p.value=new e.ControlBar({visible:a.config.plugin.controlBar.visible,showControlButton:a.config.plugin.controlBar.showControlButton,position:{right:a.config.plugin.controlBar.position.right+"px",top:a.config.plugin.controlBar.position.top+"px"}}),o.value.addControl(p.value),g.value=new e.ToolBar({visible:a.config.plugin.toolBar.visible,position:{left:a.config.plugin.toolBar.position.left+"px",top:a.config.plugin.toolBar.position.top+"px"}}),o.value.addControl(g.value),S(e),o.value.on("complete",()=>{setTimeout(()=>{w.value=!0,u("amap2d-scene-success"),window.SHJParseEvent(s.useEvents,"amap2d-scene-success",null)},666)}),o.value.on("zoomstart",()=>{u("amap2d-scene-zoomstart"),window.SHJParseEvent(s.useEvents,"amap2d-scene-zoomstart",null)}),o.value.on("zoomend",()=>{u("amap2d-scene-zoomend"),window.SHJParseEvent(s.useEvents,"amap2d-scene-zoomend",null)}),o.value.on("click",t=>{u("amap2d-scene-mapclick",t.lnglat),window.SHJParseEvent(s.useEvents,"amap2d-scene-mapclick",t.lnglat)}),o.value.on("dragstart",t=>{u("amap2d-scene-dragstart",t.lnglat),window.SHJParseEvent(s.useEvents,"amap2d-scene-dragstart",t.lnglat)}),o.value.on("dragend",t=>{u("amap2d-scene-dragend",t.lnglat),window.SHJParseEvent(s.useEvents,"amap2d-scene-dragend",t.lnglat)})}).catch(e=>{})},S=a=>{s.sources&&s.sources.length>0?window.SHJDatasourceV2({tId:s.uuid,sources:s.sources,callback:e=>{try{const t=s.basicOption.widgets.find(n=>n._sourceId===e.id);t&&t.type==="heatmap"&&P(a,t,e.data[0].data),t&&t.type==="dotlayers"&&I(window.Loca,t,h(e.data[0].data)),t&&t.type==="scatter"&&J(window.Loca,t,h(e.data[0].data)),t&&t.type==="labelsLayer"&&D(window.Loca,t,h(e.data[0].data))}catch{}s.basicOption.widgets.filter(t=>t.type==="boundary").forEach(t=>{z(a,t)})}}):s.basicOption.widgets.filter(e=>e.type==="boundary").forEach(e=>{z(a,e)})},L=a=>{const t=a.slice(a.indexOf("(")+1,a.lastIndexOf(")")).split(",").map(r=>r.trim()),n={};for(let r=1;r<t.length;r++){const d=t[r].split(" "),i=d[0],j=parseFloat(d[1])/100,q=Math.round(j*100)/100;n[q]=i}return n},P=(a,e,t)=>{try{const n=new a.HeatMap(o.value,{radius:e.radius,opacity:e.opacity,gradient:L(e.gradient)});setTimeout(()=>{n.setDataSet({data:t,max:e.max})},0)}catch{}},z=async(a,e)=>{try{const t=await Z.get(e.geojson);if(t.status===200){const n=new a.GeoJSON({geoJSON:t.data,getPolygon:function(r,d){const i=new a.Polygon({path:d,zIndex:e.zIndex,fillColor:e.style.fillColor,strokeOpacity:e.style.strokeOpacity,fillOpacity:e.style.fillOpacity,strokeColor:e.style.strokeColor,strokeWeight:e.style.strokeWeight,strokeStyle:e.style.strokeStyle});return i.on("mouseover",()=>{i.setOptions({fillOpacity:e.mouseover.fillOpacity,fillColor:e.mouseover.fillColor,strokeOpacity:e.mouseover.strokeOpacity,strokeColor:e.mouseover.strokeColor,strokeStyle:e.mouseover.strokeStyle,strokeWeight:e.mouseover.strokeWeight})}),i.on("mouseout",()=>{i.setOptions({fillColor:e.style.fillColor,strokeOpacity:e.style.strokeOpacity,fillOpacity:e.style.fillOpacity,strokeColor:e.style.strokeColor,strokeWeight:e.style.strokeWeight,strokeStyle:e.style.strokeStyle})}),i}});o.value.add(n)}}catch{}},I=(a,e,t)=>{try{const n=new a.GeoJSONSource({data:t}),r=new a.PointLayer({zIndex:e.zIndex,blend:e.blend,visible:e.visible,opacity:e.opacity}),d={radius:e.style.radius,unit:e.style.unit,color:e.style.color,borderWidth:e.style.borderWidth,blurWidth:e.style.blurWidth,borderColor:e.style.borderColor};r.setSource(n),r.setStyle(d),c.value.add(r),r.addAnimate({key:e.animate.key,value:e.animate.value,duration:e.animate.duration,easing:e.animate.easing,transform:e.animate.transform,random:e.animate.random,delay:e.animate.delay,yoyo:e.animate.yoyo,repeat:e.animate.repeat})}catch{}},J=(a,e,t)=>{try{const n=new a.GeoJSONSource({data:t}),r=new a.ScatterLayer({loca:c.value,zIndex:e.zIndex,opacity:e.opacity,visible:e.visible,zooms:e.zooms});r.setSource(n),r.setStyle({unit:e.style.unit,size:e.style.size,borderWidth:e.style.borderWidth,texture:e.style.texture,duration:e.style.duration,animate:e.style.animate}),c.value.animate.start()}catch{}},D=(a,e,t)=>{try{const n=new a.GeoJSONSource({data:t}),r=new a.LabelsLayer({eventSupport:!0,visible:e.visible,zooms:e.zooms,opacity:e.opacity,collision:e.collision,allowCollision:e.allowCollision,zIndex:e.zIndex});r.on("click",d=>{}),r.setSource(n),r.setStyle({icon:{image:e.icon.image,size:e.icon.size,clipOrigin:e.icon.clipOrigin,offset:e.icon.offset,anchor:e.icon.anchor},text:{content:(d,i)=>i.properties[e.text.content],zooms:e.text.zooms,offset:e.text.offset,direction:e.text.direction,style:{fontSize:e.text.style.fontSize,fillColor:e.text.style.fillColor,strokeColor:e.text.style.strokeColor,strokeWidth:e.text.style.strokeWidth,padding:e.text.style.padding,backgroundColor:e.text.style.backgroundColor,borderColor:e.text.style.borderColor,borderWidth:e.text.style.borderWidth,fold:e.text.style.fold,fontWeight:e.text.style.fontWeight}}}),c.value.add(r)}catch{}},h=a=>{const e={type:"FeatureCollection",features:[]};return a.forEach((t,n)=>{const r={type:"Feature",id:V.nanoid(),properties:{name:t.name||"",_draw_type:"point"},geometry:{type:"Point",coordinates:t.value}};e.features.push(r)}),e},H=a=>{o.value.setFeatures(a.config.features),o.value.setStatus({dragEnable:a.config.dragEnable,zoomEnable:a.config.zoomEnable,rotateEnable:a.config.rotateEnable}),a.config.plugin.scale.visible?m.value.show():m.value.hide(),a.config.plugin.toolBar.visible?g.value.show():g.value.hide(),a.config.plugin.controlBar.visible?p.value.show():p.value.hide()},N=()=>{o.value.clearMap(),c.value.clear(),S(f.value)},T=a=>{o.value.setMapStyle(a.config.mapStyle)},F=a=>{o.value.setZoom(a.config.zoom,!1,200)},G=a=>{o.value.setCenter(a.config.center,!1,200)},O=()=>{o.value&&(o.value.clearMap(),o.value.destroy(),o.value=null,c.value&&(c.value.clear(),c.value.destroy(),c.value=null))};return l.onMounted(()=>{setTimeout(()=>{C(s.basicOption)},0)}),l.onUnmounted(()=>O()),{initAMap2d:C,updateAMapStyle:T,updateAMapConfig:H,updateAMapComponents:N,updateAMapZoom:F,updateAMapCenter:G,amap2d:o,loading:w,AMapPrototype:f}},{initAMap2d:v,updateAMapStyle:M,updateAMapConfig:b,updateAMapComponents:A,updateAMapZoom:B,updateAMapCenter:_,loading:W,AMapPrototype:$}=E();return l.watch(()=>s.basicOption.config,()=>{b(s.basicOption)},{deep:!0}),l.watch(()=>s.basicOption.config.zoom,()=>{B(s.basicOption)},{deep:!0}),l.watch(()=>s.basicOption.config.center,()=>{_(s.basicOption)},{deep:!0}),l.watch(()=>s.basicOption.widgets,()=>{A()},{deep:!0}),l.watch(()=>s.basicOption.config.mapStyle,()=>{M(s.basicOption)},{deep:!0}),l.watch(()=>s.basicOption.basic,()=>{v(s.basicOption)},{deep:!0}),l.watch(()=>s.sources,()=>{v(s.basicOption)},{deep:!0}),k({refresh:()=>v(s.basicOption),refreshView:()=>b(s.basicOption),refreshData:()=>b(s.basicOption)}),(o,c)=>(l.openBlock(),l.createElementBlock("div",{class:l.normalizeClass(["amap-2d-wrap",{show:l.unref(W)}])},Q,2))}});exports.default=Y;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue2.js");;/* empty css */const t=require("../../_virtual/_plugin-vue_export-helper.js"),u=t.default(e.default,[["__scopeId","data-v-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue2.js");;/* empty css */const t=require("../../_virtual/_plugin-vue_export-helper.js"),u=t.default(e.default,[["__scopeId","data-v-8bca31f5"]]);exports.default=u;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("vue"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("vue"),V=require("@amap/amap-jsapi-loader"),U=require("axios"),K=require("nanoid"),k=require("lodash"),Q=g=>(o.pushScopeId("data-v-8bca31f5"),g=g(),o.popScopeId(),g),X=Q(()=>o.createElementVNode("div",{id:"zerov-amap-3d",class:"zerov-amap-container"},null,-1)),Y=[X],ee=o.defineComponent({name:"zv-scene-amap3d"}),ae=o.defineComponent({...ee,props:{basicOption:{},sources:{},useEvents:{},uuid:{}},emits:["amap3d-scene-success","amap3d-scene-zoomstart","amap3d-scene-zoomend","amap3d-scene-mapclick","amap3d-scene-dragstart","amap3d-scene-dragging","amap3d-scene-dragend","amap3d-scene-pulseLinkLayer"],setup(g,{expose:M,emit:E}){const s=g,u=E,L=()=>{const n=o.shallowRef(),d=o.shallowRef(),S=o.ref(!1),f=o.ref(),v=o.ref(),h=o.ref(),p=o.ref(),z=a=>{O(),window._AMapSecurityConfig={securityJsCode:a.basic.securityJsCode},V.load({key:a.basic.key,version:"2.0",Loca:{version:"2.0.0"},plugins:["AMap.ControlBar","AMap.ToolBar","AMap.Scale","AMap.HeatMap","AMap.GeoJSON"]}).then(e=>{p.value=e,n.value=new e.Map("zerov-amap-3d",{rotateEnable:a.config.rotateEnable,pitchEnable:a.config.pitchEnable,resizeEnable:a.config.resizeEnable,zoomEnable:a.config.zoomEnable,dragEnable:a.config.dragEnable,zoom:a.config.zoom,viewMode:"3D",zooms:a.config.zooms,center:a.config.center,mapStyle:a.config.mapStyle,features:a.config.features,pitch:a.config.pitch,rotation:a.config.rotation,wallColor:a.config.floors.wallColor,roofColor:a.config.floors.roofColor,skyColor:a.config.skyColor}),d.value=new window.Loca.Container({map:n.value}),h.value=new p.value.Scale({visible:a.config.plugin.scale.visible,position:{left:a.config.plugin.scale.position.left+"px",bottom:a.config.plugin.scale.position.bottom+"px"}}),n.value.addControl(h.value),f.value=new e.ControlBar({visible:a.config.plugin.controlBar.visible,showControlButton:a.config.plugin.controlBar.showControlButton,position:{right:a.config.plugin.controlBar.position.right+"px",top:a.config.plugin.controlBar.position.top+"px"}}),n.value.addControl(f.value),v.value=new e.ToolBar({visible:a.config.plugin.toolBar.visible,position:{left:a.config.plugin.toolBar.position.left+"px",top:a.config.plugin.toolBar.position.top+"px"}}),n.value.addControl(v.value),C(e),n.value.on("complete",()=>{setTimeout(()=>{S.value=!0,u("amap3d-scene-success"),window.SHJParseEvent(s.useEvents,"amap3d-scene-success",null)},666)}),n.value.on("zoomstart",()=>{u("amap3d-scene-zoomstart"),window.SHJParseEvent(s.useEvents,"amap3d-scene-zoomstart",null)}),n.value.on("zoomend",()=>{u("amap3d-scene-zoomend"),window.SHJParseEvent(s.useEvents,"amap3d-scene-zoomend",null)}),n.value.on("click",t=>{u("amap3d-scene-mapclick",t.lnglat),window.SHJParseEvent(s.useEvents,"amap3d-scene-mapclick",t.lnglat)}),n.value.on("dragstart",t=>{u("amap3d-scene-dragstart",t.lnglat),window.SHJParseEvent(s.useEvents,"amap3d-scene-dragstart",t.lnglat)}),n.value.on("dragend",t=>{u("amap3d-scene-dragend",t.lnglat),window.SHJParseEvent(s.useEvents,"amap3d-scene-dragend",t.lnglat)})}).catch(e=>{})},C=k.debounce(a=>{s.sources&&s.sources.length>0?window.SHJDatasourceV2({tId:s.uuid,sources:s.sources,callback:e=>{try{const t=s.basicOption.widgets.find(l=>l._sourceId===e.id);t&&t.type==="heatmap"&&_(window.Loca,t,y(e.data[0].data,"Point")),t&&t.type==="dotlayers"&&$(window.Loca,t,y(e.data[0].data,"Point")),t&&t.type==="scatter"&&H(window.Loca,t,y(e.data[0].data,"Point")),t&&t.type==="labelsLayer"&&D(window.Loca,t,y(e.data[0].data,"Point")),t&&t.type==="signagePoints"&&F(window.Loca,t,y(e.data[0].data,"Point")),t&&t.type==="pulseLinkLayer"&&N(window.Loca,t,y(e.data[0].data,"LineString"))}catch{}s.basicOption.widgets.filter(t=>t.type==="boundary").forEach(t=>{x(a,t)})}}):s.basicOption.widgets.filter(e=>e.type==="boundary").forEach(e=>{x(a,e)})},200),J=a=>{const t=a.slice(a.indexOf("(")+1,a.lastIndexOf(")")).split(",").map(r=>r.trim()),l={};for(let r=1;r<t.length;r++){const i=t[r].split(" "),c=i[0],b=parseFloat(i[1])/100,j=Math.round(b*100)/100;l[j]=c}return l},_=(a,e,t)=>{try{const l=new a.HeatMapLayer({zIndex:10,opacity:e.opacity,visible:!0,zooms:[2,22]}),r=new a.GeoJSONSource({data:t});l.setSource(r,{radius:e.style.radius,unit:e.style.unit,height:e.style.height,opacity:e.style.opacity,gradient:J(e.style.gradient),value:function(i,c){return c.coordinates[2]||0},min:e.style.min,max:e.style.max,heightBezier:[0,.53,.37,.98]}),d.value.add(l)}catch{}},x=async(a,e)=>{try{const t=await U.get(e.geojson);if(t.status===200){const l=new a.GeoJSON({geoJSON:t.data,getPolygon:function(r,i){const c=new a.Polygon({path:i,zIndex:e.zIndex,fillColor:e.style.fillColor,strokeOpacity:e.style.strokeOpacity,fillOpacity:e.style.fillOpacity,strokeColor:e.style.strokeColor,strokeWeight:e.style.strokeWeight,strokeStyle:e.style.strokeStyle});return c.on("mouseover",()=>{c.setOptions({fillOpacity:e.mouseover.fillOpacity,fillColor:e.mouseover.fillColor,strokeOpacity:e.mouseover.strokeOpacity,strokeColor:e.mouseover.strokeColor,strokeStyle:e.mouseover.strokeStyle,strokeWeight:e.mouseover.strokeWeight})}),c.on("mouseout",()=>{c.setOptions({fillColor:e.style.fillColor,strokeOpacity:e.style.strokeOpacity,fillOpacity:e.style.fillOpacity,strokeColor:e.style.strokeColor,strokeWeight:e.style.strokeWeight,strokeStyle:e.style.strokeStyle})}),c}});n.value.add(l)}}catch{}},$=(a,e,t)=>{try{const l=new a.GeoJSONSource({data:t}),r=new a.PointLayer({zIndex:e.zIndex,blend:e.blend,visible:e.visible,opacity:e.opacity}),i={radius:e.style.radius,unit:e.style.unit,color:e.style.color,borderWidth:e.style.borderWidth,blurWidth:e.style.blurWidth,borderColor:e.style.borderColor};r.setSource(l),r.setStyle(i),d.value.add(r),r.addAnimate({key:e.animate.key,value:e.animate.value,duration:e.animate.duration,easing:e.animate.easing,transform:e.animate.transform,random:e.animate.random,delay:e.animate.delay,yoyo:e.animate.yoyo,repeat:e.animate.repeat})}catch{}},H=(a,e,t)=>{try{const l=new a.GeoJSONSource({data:t}),r=new a.ScatterLayer({loca:d.value,zIndex:e.zIndex,opacity:e.opacity,visible:e.visible,zooms:e.zooms});r.setSource(l),r.setStyle({unit:e.style.unit,size:e.style.size,borderWidth:e.style.borderWidth,texture:e.style.texture,duration:e.style.duration,animate:e.style.animate}),d.value.animate.start()}catch{}},D=(a,e,t)=>{try{const l=new a.GeoJSONSource({data:t}),r=new a.LabelsLayer({eventSupport:!0,visible:e.visible,zooms:e.zooms,opacity:e.opacity,collision:e.collision,allowCollision:e.allowCollision,zIndex:e.zIndex});r.on("click",i=>{}),r.setSource(l),r.setStyle({icon:{image:e.icon.image,size:e.icon.size,clipOrigin:e.icon.clipOrigin,offset:e.icon.offset,anchor:e.icon.anchor},text:{content:(i,c)=>c.properties[e.text.content],zooms:e.text.zooms,offset:e.text.offset,direction:e.text.direction,style:{fontSize:e.text.style.fontSize,fillColor:e.text.style.fillColor,strokeColor:e.text.style.strokeColor,strokeWidth:e.text.style.strokeWidth,padding:e.text.style.padding,backgroundColor:e.text.style.backgroundColor,borderColor:e.text.style.borderColor,borderWidth:e.text.style.borderWidth,fold:e.text.style.fold,fontWeight:e.text.style.fontWeight}}}),d.value.add(r)}catch{}},F=(a,e,t)=>{try{const l=new a.GeoJSONSource({data:t}),r=new a.ZMarkerLayer({zIndex:e.signs.zIndex,visible:e.signs.visible,zooms:e.signs.zooms,opacity:e.signs.opacity,depth:!1});r.setSource(l),r.setStyle({content:(c,b)=>`<div style="
|
|
2
2
|
width: ${e.signs.style.width}px;
|
|
3
3
|
height: ${e.signs.style.height+148}px;
|
|
4
4
|
">
|
|
@@ -22,4 +22,4 @@
|
|
|
22
22
|
background: url(${e.landmark.style.image});
|
|
23
23
|
background-size:contain;
|
|
24
24
|
">
|
|
25
|
-
</div>`,unit:e.landmark.style.unit,rotation:e.landmark.style.rotation,alwaysFront:e.landmark.style.alwaysFront,size:e.landmark.style.size,altitude:e.landmark.style.altitude}),i.addAnimate({key:"altitude",value:[0,1],random:e.landmark.animate.random,duration:e.landmark.animate.duration,transform:e.landmark.animate.transform,delay:e.landmark.animate.delay,yoyo:e.landmark.animate.yoyo,repeat:e.landmark.animate.repeat}),d.value.add(i),d.value.animate.start()}catch{}},
|
|
25
|
+
</div>`,unit:e.landmark.style.unit,rotation:e.landmark.style.rotation,alwaysFront:e.landmark.style.alwaysFront,size:e.landmark.style.size,altitude:e.landmark.style.altitude}),i.addAnimate({key:"altitude",value:[0,1],random:e.landmark.animate.random,duration:e.landmark.animate.duration,transform:e.landmark.animate.transform,delay:e.landmark.animate.delay,yoyo:e.landmark.animate.yoyo,repeat:e.landmark.animate.repeat}),d.value.add(i),d.value.animate.start()}catch{}},N=(a,e,t)=>{const l=new a.PulseLinkLayer({zIndex:e.zIndex,opacity:e.opacity,visible:e.visible,zooms:e.zooms,depth:e.depth}),r=new a.GeoJSONSource({data:t});l.setSource(r),l.setStyle({unit:e.style.unit,dash:[4e4,0,4e4,0],lineWidth:e.style.lineWidth,height:function(i,c){return c.distance/3+e.style.height},smoothSteps:30,speed:function(i,c){return 1e5+Math.random()*e.style.speed},flowLength:e.style.flowLength,lineColors:e.style.lineColors,maxHeightScale:e.style.maxHeightScale,headColor:e.style.headColor,trailColor:e.style.trailColor}),n.value.on("click",i=>{const c=l.queryFeature(i.pixel.toArray());c&&(u("amap3d-scene-pulseLinkLayer",c),window.SHJParseEvent(s.useEvents,"amap3d-scene-pulseLinkLayer",c))}),d.value.add(l),d.value.animate.start()},y=(a,e)=>{const t={type:"FeatureCollection",features:[]};return a.forEach((l,r)=>{const i={type:"Feature",id:K.nanoid(),properties:{type:e==="Point"?e:0,...l},geometry:{type:e,coordinates:l.value}};t.features.push(i)}),t},G=a=>{n.value.setFeatures(a.config.features),n.value.setPitch(a.config.pitch),n.value.setRotation(a.config.rotation),n.value.setStatus({dragEnable:a.config.dragEnable,zoomEnable:a.config.zoomEnable,rotateEnable:a.config.rotateEnable,pitchEnable:a.config.pitchEnable}),a.config.plugin.scale.visible?h.value.show():h.value.hide(),a.config.plugin.toolBar.visible?v.value.show():v.value.hide(),a.config.plugin.controlBar.visible?f.value.show():f.value.hide()},Z=()=>{n.value.clearMap(),d.value.clear(),C(p.value)},q=a=>{n.value.setMapStyle(a.config.mapStyle)},R=a=>{n.value.setZoom(a.config.zoom,!1,200)},T=a=>{n.value.setCenter(a.config.center,!1,200)},O=()=>{n.value&&(n.value.clearMap(),n.value.destroy(),n.value=null,d.value&&(d.value.clear(),d.value.destroy(),d.value=null))};return o.onMounted(()=>{setTimeout(()=>{z(s.basicOption)},0)}),o.onUnmounted(()=>O()),{initAMap3d:z,updateAMapStyle:q,updateAMapConfig:G,updateAMapComponents:Z,updateAMapZoom:R,updateAMapCenter:T,amap3d:n,loading:S,AMapPrototype:p}},{initAMap3d:m,updateAMapStyle:P,updateAMapConfig:w,updateAMapComponents:A,updateAMapZoom:I,updateAMapCenter:B,loading:W,AMapPrototype:te}=L();return o.watch(()=>s.basicOption.config,()=>{w(s.basicOption)},{deep:!0}),o.watch(()=>s.basicOption.config.zoom,()=>{I(s.basicOption)},{deep:!0}),o.watch(()=>s.basicOption.config.center,()=>{B(s.basicOption)},{deep:!0}),o.watch(()=>s.basicOption.config.floors,k.debounce(()=>{m(s.basicOption)},300),{deep:!0}),o.watch(()=>s.basicOption.config.skyColor,k.debounce(()=>{m(s.basicOption)},300),{deep:!0}),o.watch(()=>s.basicOption.widgets,()=>{A()},{deep:!0}),o.watch(()=>s.basicOption.config.mapStyle,()=>{P(s.basicOption)},{deep:!0}),o.watch(()=>s.basicOption.basic,()=>{m(s.basicOption)},{deep:!0}),o.watch(()=>s.sources,()=>{m(s.basicOption)},{deep:!0}),M({refresh:()=>m(s.basicOption),refreshView:()=>w(s.basicOption),refreshData:()=>w(s.basicOption)}),(n,d)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["amap-3d-wrap",{show:o.unref(W)}])},Y,2))}});exports.default=ae;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue2.js");;/* empty css */;/* empty css */const t=require("../../_virtual/_plugin-vue_export-helper.js"),u=t.default(e.default,[["__scopeId","data-v-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue2.js");;/* empty css */;/* empty css */const t=require("../../_virtual/_plugin-vue_export-helper.js"),u=t.default(e.default,[["__scopeId","data-v-8e35eadb"]]);exports.default=u;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("vue"),r=require("lodash"),C=require("gsap"),J=require("@vueuse/core"),M=require("./map3d/map.js"),A=require("./watch.js"),v=require("../../utils/json2css.js");require("three");require("d3-geo");require("three/examples/jsm/controls/OrbitControls");require("three/examples/jsm/loaders/GLTFLoader");require("three/examples/jsm/loaders/DRACOLoader.js");const W=require("../../utils/mini3d/utils/CreateHistory.js");require("three/examples/jsm/libs/lil-gui.module.min");require("three/examples/jsm/utils/BufferGeometryUtils");require("three/examples/jsm/renderers/CSS3DRenderer");const T={class:"value"},R=["onClick"],V={key:3,class:"fps"},N=o.defineComponent({name:"zv-scene-map3d"}),j=o.defineComponent({...N,props:{basicOption:{},sources:{},useEvents:{},uuid:{}},emits:["on-loaded","on-animated","on-drill-down","on-area-mouseover","on-area-mouseout","on-area-click","on-bar-click","on-scatter-click","on-flyline-click","on-return","on-data-change"],setup(B,{expose:O,emit:H}){const c=H,a=B,n=o.ref(),m=o.ref(!1),h=o.ref(!1),f="zerov-map3d-scene",b="zerov-map3d-scene-wrap",s=new W.createHistory,p=o.ref(!1),g=(e=!0)=>{n.value.cleanAllBar(),n.value.cleanAllScatter(),n.value.cleanAllFlyLine(),n.value.createAllRegionalLevel(),a.sources&&a.sources.length>0&&window.SHJDatasourceV2({tId:a.uuid,sources:a.sources,callback:l=>{try{const t=a.basicOption.widgets&&a.basicOption.widgets.find(d=>d._sourceId===l.id);t&&t.type==="bar"&&n.value.createBar(t,l.data[0].data,!0,e),t&&t.type==="scatter"&&n.value.createScatter(t,l.data[0].data,!0,e),t&&t.type==="flyline"&&n.value.createFlyLine(t,l.data[0].data,!0,e),t&&t.type==="regionalLevel"&&n.value.createRegionalLevel(t,l.data[0].data,!0,e),e&&(n.value.createBarTimeLine(),n.value.createScatterTimeLine(),n.value.createFlyLineTimeLine(),n.value.createRegionalLevelTimeLine()),c("on-data-change",l),window.SHJParseEvent(a.useEvents,"on-data-change",l)}catch{c("on-data-change",null),window.SHJParseEvent(a.useEvents,"on-data-change",null)}}})},q=()=>{document.getElementById(f)&&document.getElementById(b).removeChild(document.getElementById(f));const e=document.createElement("canvas");e.id=f,e.className="zerov-map-3d",e.style.width="100%",e.style.height="100%",document.getElementById(b).appendChild(e)},y=e=>(m.value=!1,h.value=!1,n.value&&(n.value.destroy(),n.value=null),q(),new M.World(document.getElementById(f),{geoProjectionCenter:[108.55,36.32]},e,{onAreaMouseover:t=>{c("on-area-mouseover",t),window.SHJParseEvent(a.useEvents,"on-area-mouseover",t)},onAreaMouseout:t=>{c("on-area-mouseout",t),window.SHJParseEvent(a.useEvents,"on-area-mouseout",t)},onLoadChild:t=>{if(c("on-area-click",t),window.SHJParseEvent(a.useEvents,"on-area-click",t),t.adcode!==s.present&&a.basicOption.scene.isDrilling&&a.basicOption.scene.defaultMapAdcode!==1){c("on-drill-down",t),window.SHJParseEvent(a.useEvents,"on-drill-down",t);const d=r.cloneDeep(a.basicOption);d.scene.defaultMapAdcode=t.adcode,n.value=y(d),s.push(t.adcode),s.past.length<=0?p.value=!1:p.value=!0}},onMapSuccess:()=>{m.value=!0,c("on-loaded"),window.SHJParseEvent(a.useEvents,"on-loaded",null)},onMapAnimationSuccess:()=>{g(),h.value=!0,c("on-animated"),window.SHJParseEvent(a.useEvents,"on-animated",null)},onClickBar:t=>{c("on-bar-click",t),window.SHJParseEvent(a.useEvents,"on-bar-click",t)},onClickScatter:t=>{c("on-scatter-click",t),window.SHJParseEvent(a.useEvents,"on-scatter-click",t)},onClickFlyline:t=>{c("on-flyline-click",t),window.SHJParseEvent(a.useEvents,"on-flyline-click",t)}}));o.onMounted(()=>{setTimeout(()=>{n.value=y(a.basicOption),s.push(a.basicOption.scene.defaultMapAdcode),A.initWatch(a,n,y,g,L)},0)}),o.onBeforeUnmount(()=>{n.value&&n.value.destroy()});const w=()=>{c("on-return",{adcode:s.present}),window.SHJParseEvent(a.useEvents,"on-return",{adcode:s.present}),s.undo();const e=r.cloneDeep(a.basicOption);e.scene.defaultMapAdcode=s.present,n.value=y(e),s.past.length<=0?p.value=!1:p.value=!0},L=()=>{s.empty(),s.push(a.basicOption.scene.defaultMapAdcode),n.value=y(a.basicOption),s.past.length<=0?p.value=!1:p.value=!0},I=(e,l,t)=>{C.timeline().add(C.to(n.value.camera.instance.position,{duration:2,delay:0,x:e,y:l,z:t,ease:"circ.out"}))};O({refresh:()=>g(),refreshView:()=>g(),refreshData:()=>g(),goBack:()=>w(),setCameraPosition:(e,l,t)=>I(e,l,t)});const z=J.useFps(),S=o.ref(),F=e=>{if(S.value&&e){v.autoInstallFont(a.basicOption.backButtonCss.fontFamily);const l=`url(${e.backgroundImage})`;return{...v.jsonToCssStyle(e),left:a.basicOption.backButtonLeft+"%",bottom:a.basicOption.backButtonBottom+"%","background-image":l}}return{}},u=o.ref(r.cloneDeep(a.basicOption.widgets)),i=o.computed(()=>{try{const e=u.value.filter(l=>l.type==="regionalLevel");return e.length>0?(v.autoInstallFont(e[0].labelStyle.fontFamily),e[0].isHide?null:e[0]):null}catch{return null}});o.watch(()=>r.cloneDeep(a.basicOption.widgets),(e,l)=>{try{!r.isEqual(e,l)&&n.value&&(u.value=r.cloneDeep(a.basicOption.widgets))}catch{}},{deep:!0}),o.watch(()=>r.cloneDeep(u.value.filter(e=>e.type==="bar")),(e,l)=>{try{!r.isEqual(e,l)&&n.value&&e.length===l.length&&e.forEach(t=>{n.value.createBar(t,void 0,!1)})}catch{}},{deep:!0}),o.watch(()=>r.cloneDeep(u.value.filter(e=>e.type==="scatter")),(e,l)=>{try{!r.isEqual(e,l)&&n.value&&e.length===l.length&&e.forEach(t=>{n.value.createScatter(t,void 0,!1)})}catch{}},{deep:!0}),o.watch(()=>r.cloneDeep(u.value.filter(e=>e.type==="flyline")),(e,l)=>{try{!r.isEqual(e,l)&&n.value&&e.length===l.length&&e.forEach(t=>{n.value.createFlyLine(t,void 0,!1)})}catch{}},{deep:!0}),o.watch(()=>r.cloneDeep(u.value.filter(e=>e.type==="regionalLevel")),(e,l)=>{try{!r.isEqual(e,l)&&n.value&&e.length===l.length&&e.forEach(t=>{n.value.createRegionalLevel(t,void 0,!1)})}catch{}},{deep:!0});const P=e=>{try{e.isHide===void 0?e.isHide=!0:e.isHide=!e.isHide}catch{}},D=()=>{try{const e=u.value.every(l=>!l.isHide);u.value.forEach(l=>l.isHide=e)}catch{}},k=e=>{v.autoInstallFont(a.basicOption.widgetControlStyle.fontFamily);const l=`url(${e.backgroundImage})`,t=`url(${E(e.hover.backgroundImage)})`,d=`url(${E(e.active.backgroundImage)})`;return{...v.jsonToCssStyle(e),...v.jsonToCssStyle(e.hover,"hover"),...v.jsonToCssStyle(e.active,"active"),"background-image":l,"--hover-background-image":t,"--active-background-image":d}},E=e=>!e.startsWith("http")&&!e.startsWith("//")?"../"+e:e;return(e,l)=>(o.openBlock(),o.createElementBlock("div",{id:"zerov-map3d-scene-wrap",class:o.normalizeClass(["map-3d-wrap",{show:m.value}])},[h.value&&p.value&&e.basicOption.backButton?(o.openBlock(),o.createElementBlock("div",{key:0,ref_key:"buttonRef",ref:S,class:"return-btn",style:o.normalizeStyle(F(e.basicOption.backButtonCss)),onClick:w}," 返回上一级 ",4)):o.createCommentVNode("",!0),i.value?(o.openBlock(),o.createElementBlock("div",{key:1,class:"regional-level",style:o.normalizeStyle({left:i.value.labelStyle.left+"%",top:i.value.labelStyle.top+"%",flexDirection:i.value.labelStyle.direction,gap:i.value.labelStyle.gap+"px",fontSize:i.value.labelStyle.fontSize+"px",fontFamily:i.value.labelStyle.fontFamily,fontStyle:i.value.labelStyle.fontStyle,color:i.value.labelStyle.color,"--color-width":i.value.labelStyle.colorStyle.width+"px","--color-height":i.value.labelStyle.colorStyle.height+"px","--color-borderRadius":i.value.labelStyle.colorStyle.borderRadius+"px"})},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i.value.rules,(t,d)=>(o.openBlock(),o.createElementBlock("div",{key:d,class:"item"},[o.createElementVNode("div",{class:"color",style:o.normalizeStyle({backgroundColor:t.color})},null,4),o.createElementVNode("span",T,o.toDisplayString(t.label),1)]))),128))],4)):o.createCommentVNode("",!0),e.basicOption.widgets.length>0&&e.basicOption.widgetControlStyle&&e.basicOption.widgetControlStyle.show?(o.openBlock(),o.createElementBlock("div",{key:2,class:"widget-control",style:o.normalizeStyle({left:e.basicOption.widgetControlStyle.left+"%",top:e.basicOption.widgetControlStyle.top+"%",flexDirection:e.basicOption.widgetControlStyle.direction,gap:e.basicOption.widgetControlStyle.gap+"px","--widget-width":e.basicOption.widgetControlStyle.width+"px","--widget-height":e.basicOption.widgetControlStyle.height+"px"})},[o.createElementVNode("div",{class:o.normalizeClass(["control-button",{active:u.value.every(t=>!t.isHide)}]),style:o.normalizeStyle(k(e.basicOption.widgetControlStyle)),onClick:D},o.toDisplayString(u.value.every(t=>!t.isHide)?"隐藏":"显示")+"/全部 ",7),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(u.value,t=>(o.openBlock(),o.createElementBlock("div",{key:t.id,class:o.normalizeClass(["control-button",{active:!t.isHide}]),style:o.normalizeStyle(k(e.basicOption.widgetControlStyle)),onClick:d=>P(t)},o.toDisplayString(t.name||"-"),15,R))),128))],4)):o.createCommentVNode("",!0),e.basicOption.debugger?(o.openBlock(),o.createElementBlock("div",V," fps:"+o.toDisplayString(o.unref(z)),1)):o.createCommentVNode("",!0)],2))}});exports.default=j;
|
|
@@ -42,4 +42,4 @@
|
|
|
42
42
|
#include <tonemapping_fragment>
|
|
43
43
|
#include <colorspace_fragment>
|
|
44
44
|
|
|
45
|
-
}`},e=new i.Reflector(t,{clipBias:.003,textureWidth:window.innerWidth*window.devicePixelRatio,textureHeight:window.innerHeight*window.devicePixelRatio,color:16777215,multisample:0,shader:o});e.material.transparent=!0,e.position.y
|
|
45
|
+
}`},e=new i.Reflector(t,{clipBias:.003,textureWidth:window.innerWidth*window.devicePixelRatio,textureHeight:window.innerHeight*window.devicePixelRatio,color:16777215,multisample:0,shader:o});e.material.transparent=!0,e.position.y=0,e.rotateX(-Math.PI/2),r.groundMirror=e,r.groundMirror.visible=r.option.map.mirrorShow,r.scene.add(e)}exports.createMirror=l;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./index.vue.js"),l=require("../../utils/install.js"),e=l.withInstall(t.default);exports.ZvSceneUeIframe=e;exports.default=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue2.js");;/* empty css */const t=require("../../_virtual/_plugin-vue_export-helper.js"),u=t.default(e.default,[["__scopeId","data-v-031ce7f8"]]);exports.default=u;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("vue"),c={class:"iframe-webscoket"},i=["src"],d=o.defineComponent({name:"zv-scene-ue-shj"}),S=o.defineComponent({...d,props:{basicOption:{},sources:{},useEvents:{},uuid:{},isPreview:{type:Boolean}},emits:["on-message"],setup(s,{emit:r}){const n=s,a=r;return(t=>{o.onMounted(()=>{if(t.webSocketUrl)try{window.SHJSceneUEIframeWebscoket&&(window.SHJSceneUEIframeWebscoket.close(),window.SHJSceneUEIframeWebscoket=null),window.SHJSceneUEIframeWebscoket=new WebSocket(t.webSocketUrl),window.SHJSceneUEIframeWebscoket.onmessage=e=>{try{if(JSON.parse(e.data).type&&JSON.parse(e.data).type==="ping")return;if(!JSON.parse(e.data).data)throw new Error("");a("on-message",JSON.parse(e.data).data),window.SHJParseEvent(n.useEvents,"on-message",JSON.parse(e.data).data)}catch{}},window.SHJSceneUEIframeWebscoket.onopen=()=>{},window.SHJSceneUEIframeWebscoket.onerror=()=>{}}catch{}}),o.onBeforeUnmount(()=>{window.SHJSceneUEIframeWebscoket&&window.SHJSceneUEIframeWebscoket.close()})})(n.basicOption),(t,e)=>(o.openBlock(),o.createElementBlock("div",c,[o.createElementVNode("iframe",{src:t.basicOption.iframeUrl,sandbox:"allow-scripts allow-same-origin",style:{width:"100%",height:"100%",border:"0"}},null,8,i)]))}});exports.default=S;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./index.vue.js"),l=require("../../utils/install.js"),e=l.withInstall(t.default);exports.ZvSceneUeShj=e;exports.default=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue2.js");;/* empty css */const t=require("../../_virtual/_plugin-vue_export-helper.js"),u=t.default(e.default,[["__scopeId","data-v-9f2fe2d2"]]);exports.default=u;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("vue"),u=s.defineComponent({name:"zv-scene-ue-shj"}),v=s.defineComponent({...u,props:{basicOption:{},sources:{},useEvents:{},uuid:{},isPreview:{type:Boolean}},emits:["on-message"],setup(i,{emit:c}){const o=i,a=c;return(()=>{s.onMounted(()=>{o.useEvents.length>0&&o.useEvents.forEach(e=>{e&&e.receivingMethod&&(window.ue.interface[e.receivingMethod]=n=>{try{if(!JSON.parse(n).data)throw new Error("");const t=o.useEvents.filter(r=>r.receivingMethod===e.receivingMethod&&r.eventType==="on-message");a("on-message",JSON.parse(n).data),window.SHJParseEvent(t,"on-message",JSON.parse(n).data)}catch{}})})})})(),(e,n)=>(s.openBlock(),s.createElementBlock("div",{class:s.normalizeClass([{isPreview:e.isPreview},"shj-for-ue"])},null,2))}});exports.default=v;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./index.vue.js"),n=require("../../utils/install.js"),e=n.withInstall(t.default);exports.ZvSceneUnityIframe=e;exports.default=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue2.js");;/* empty css */const t=require("../../_virtual/_plugin-vue_export-helper.js"),u=t.default(e.default,[["__scopeId","data-v-8088ee8f"]]);exports.default=u;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),u=["src"],f=e.defineComponent({name:"zv-scene-unity-iframe"}),l=e.defineComponent({...f,props:{basicOption:{},sources:{},useEvents:{},uuid:{},isPreview:{type:Boolean},disableDrag:{type:Boolean}},emits:["on-message"],setup(s,{emit:o}){const a=s,i=o,r=()=>{const n=e.ref();return e.onMounted(()=>{window.SHJSceneUnityIframeInstance=n.value}),e.onBeforeUnmount(()=>{window.SHJSceneUnityIframeInstance&&(window.SHJSceneUnityIframeInstance=null)}),window.addEventListener("message",t=>{i("on-message",t.data),window.SHJParseEvent(a.useEvents,"on-message",t.data)},!1),{unityIframeRef:n}},{unityIframeRef:c}=r();return(n,t)=>(e.openBlock(),e.createElementBlock("iframe",{ref_key:"unityIframeRef",ref:c,src:n.basicOption.iframeUrl,sandbox:"allow-scripts allow-same-origin",style:{width:"100%",height:"100%",border:"0"}},null,8,u))}});exports.default=l;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./index.vue.js"),l=require("../../utils/install.js"),e=l.withInstall(t.default);exports.ZvSceneUnityWebgl=e;exports.default=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue2.js");;/* empty css */const t=require("../../_virtual/_plugin-vue_export-helper.js"),u=t.default(e.default,[["__scopeId","data-v-fa09b254"]]);exports.default=u;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),c=["src"],f=e.defineComponent({name:"zv-scene-unity-webgl"}),m=e.defineComponent({...f,props:{basicOption:{},sources:{},useEvents:{},uuid:{},isPreview:{type:Boolean},disableDrag:{type:Boolean}},emits:["on-message"],setup(s,{emit:o}){const a=s,r=o,i=()=>{const n=e.ref();return e.onMounted(()=>{window.SHJSceneUnityIframeInstance=n.value}),e.onBeforeUnmount(()=>{window.SHJSceneUnityIframeInstance&&(window.SHJSceneUnityIframeInstance=null)}),window.addEventListener("message",t=>{r("on-message",t.data),window.SHJParseEvent(a.useEvents,"on-message",t.data)},!1),{unityIframeRef:n}},{unityIframeRef:u}=i();return(n,t)=>(e.openBlock(),e.createElementBlock("iframe",{ref_key:"unityIframeRef",ref:u,class:"unity-wrap",src:`${n.basicOption.url}/index.html`,frameborder:"0"},null,8,c))}});exports.default=m;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./index.vue.js"),l=require("../../utils/install.js"),e=l.withInstall(t.default);exports.ZvSceneVr=e;exports.default=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue2.js");;/* empty css */const t=require("../../_virtual/_plugin-vue_export-helper.js"),u=t.default(e.default,[["__scopeId","data-v-96f96666"]]);exports.default=u;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),q=require("./resources/zv-vr-select.svg.js"),b=require("./resources/zv-return.svg.js"),G=require("./resources/zv-add.svg.js"),W=require("./resources/zv-reduce.svg.js"),Y=require("./resources/zv-play.svg.js"),F=require("./resources/zv-pause.svg.js"),U=require("./resources/zv-refresh.svg.js"),_=require("hls.js"),h=require("lodash"),a=p=>(e.pushScopeId("data-v-96f96666"),p=p(),e.popScopeId(),p),$={class:"vr-scene-wrap"},Z={id:"panorama",class:"vr-scene"},K={id:"panorama-video-wrap",class:"vr-scene-main"},Q={key:1,class:"vr-scene-controls"},X=a(()=>e.createElementVNode("img",{src:q.default,alt:""},null,-1)),x=a(()=>e.createElementVNode("img",{src:b.default,alt:""},null,-1)),ee=[x],oe=a(()=>e.createElementVNode("img",{src:b.default,alt:""},null,-1)),te=[oe],ne=a(()=>e.createElementVNode("img",{src:b.default,alt:""},null,-1)),ce=[ne],se=a(()=>e.createElementVNode("img",{src:b.default,alt:""},null,-1)),ie=[se],ae=a(()=>e.createElementVNode("img",{src:G.default,alt:""},null,-1)),le=[ae],re=a(()=>e.createElementVNode("img",{src:W.default,alt:""},null,-1)),ue=[re],de=a(()=>e.createElementVNode("img",{src:Y.default,alt:""},null,-1)),ve=[de],pe=a(()=>e.createElementVNode("img",{src:F.default,alt:""},null,-1)),we=[pe],me=a(()=>e.createElementVNode("img",{src:U.default,alt:""},null,-1)),fe=[me],Se={class:"scene-list"},Ve=["onClick"],he=["src"],be={class:"label"},ye=["autoplay","loop","volume"],ke=["src"],ge={key:3,class:"mouse-tip"},_e=e.createStaticVNode('<div class="icon-wrap" data-v-96f96666><div class="left" data-v-96f96666><i class="iconfont zv-drop-down" data-v-96f96666></i></div><i class="iconfont zv-mouse" data-v-96f96666></i><div class="right" data-v-96f96666><i class="iconfont zv-drop-down" data-v-96f96666></i></div></div><p class="title" data-v-96f96666>左右拖动 更多精彩</p>',2),Ee=[_e],He=e.defineComponent({name:"zv-scene-vr"}),Oe=e.defineComponent({...He,props:{basicOption:{},sources:{},useEvents:{},uuid:{},isPreview:{type:Boolean},disableDrag:{type:Boolean}},emits:["on-scene-loaded","on-scene-scenechange","on-scene-zooming","on-scene-hotClick"],setup(p,{emit:O}){const t=p,w=O,l=e.ref(),r=e.ref({src:"",autoplay:!0,loop:!0,volume:50}),d=e.ref(null),J=e.ref(t.basicOption.default.firstScene),v=e.ref(J.value),n=e.computed(()=>{try{return t.basicOption.scenes[v.value]}catch{return null}}),E={bylineLabel:"来自 %s",noPanoramaError:"未指定全景图像。",fileAccessError:"The file %s could not be accessed.",malformedURLError:"全景URL无法访问。",iOS8WebGLError:"Due to iOS 8's broken WebGL implementation, only progressive encoded JPEGs work for your device (this panorama uses standard encoding).",genericWebGLError:"您的浏览器没有显示此全景图所需的WebGL支持。",textureSizeError:"This panorama is too big for your device! It's %spx wide, but your device only supports images up to %spx wide. Try another device. (If you're the author, try scaling down the image.)",unknownError:"未知错误。检查开发人员控制台。"},B=()=>{const o=t.basicOption;window.SHJSceneVrViewer=window.pannellum.viewer("panorama",{...o,default:Object.assign(h.cloneDeep(o.default),{firstScene:v.value}),strings:E})},C=()=>{const o=()=>{const i=document.getElementById("panorama-video-wrap");i.innerHTML=`
|
|
2
|
+
<video
|
|
3
|
+
id="panorama-video"
|
|
4
|
+
autoplay
|
|
5
|
+
class="video-js vjs-default-skin vr-scene vjs-big-play-centered"
|
|
6
|
+
preload="none"
|
|
7
|
+
style="width:100%;height:100%;"
|
|
8
|
+
crossorigin="anonymous"
|
|
9
|
+
>
|
|
10
|
+
</video>
|
|
11
|
+
`};d.value&&(d.value.dispose(),d.value=null,o()),d.value||o();const c=document.getElementById("panorama-video"),s=t.basicOption;if(d.value=window.videojs(c,{loop:!0,autoplay:!0,plugins:{pannellum:{...t.basicOption,default:Object.assign(h.cloneDeep(s.default),{firstScene:v.value}),strings:E}}}),window.SHJSceneVrViewer=d.value.pnlmViewer,n.value.sceneType==="video"&&(c.src=n.value.panorama),n.value.sceneType==="hls")if(_.isSupported()){const i=new _;i.loadSource(n.value.panorama),i.attachMedia(c),i.on(_.Events.MANIFEST_PARSED,()=>{c.play()})}else c.canPlayType("application/vnd.apple.mpegurl")&&(c.src=n.value.panorama)},y=()=>{if(window.pannellum&&t.basicOption){window.SHJSceneVrViewer&&(window.SHJSceneVrViewer.destroy(),window.SHJSceneVrViewer=null),n.value.sceneType==="image"?B():C();try{t.basicOption.scenes[window.SHJSceneVrViewer.getScene()]&&(r.value=t.basicOption.default.audio,l.value&&r.value&&(window.SHJSceneVrViewer.audio=l,l.value.src=r.value.src,setTimeout(()=>{l.value&&(f.value=l.value.paused)},500)))}catch{}window.SHJSceneVrViewer.on("load",()=>{w("on-scene-loaded",n.value),window.SHJParseEvent(t.useEvents,"on-scene-loaded",n.value)}),!t.isPreview||t.basicOption.default.autoRotate===0?window.SHJSceneVrViewer.stopAutoRotate():window.SHJSceneVrViewer.startAutoRotate();try{window.SHJSceneVrViewer&&async function(){for(const o in t.basicOption.scenes)Object.prototype.hasOwnProperty.call(t.basicOption.scenes,o)&&t.basicOption.scenes[o].hotSpots.forEach(async s=>{await setTimeout(()=>{s.draggable=!t.isPreview&&!t.disableDrag,window.SHJSceneVrViewer.removeHotSpot(s.id,o),window.SHJSceneVrViewer.addHotSpot(s,o)},100)})}()}catch{}window.SHJSceneVrViewer.on("scenechange",o=>{const c=document.getElementsByTagName("video");if(h.isArray(c)&&c.length>0&&c.forEach(s=>{s&&s.pause()}),n.value){const s=n.value.sceneType;v.value=o;const i=n.value.sceneType;setTimeout(()=>{(i!=="image"||s!=="image"&&i==="image")&&y(),S.value=v.value,w("on-scene-scenechange",n.value),window.SHJParseEvent(t.useEvents,"on-scene-scenechange",n.value)}),t.isPreview?window.SHJSceneVrViewer.startAutoRotate():window.SHJSceneVrViewer.stopAutoRotate()}else v.value=t.basicOption.default.firstScene,e.nextTick(()=>{y(),w("on-scene-scenechange",n.value),window.SHJParseEvent(t.useEvents,"on-scene-scenechange",n.value)})}),window.SHJSceneVrViewer.on("zoomchange",h.debounce(o=>{w("on-scene-zooming",n.value),window.SHJParseEvent(t.useEvents,"on-scene-zooming",n.value)},300)),window.SHJSceneVrViewer.on("hot-click",o=>{w("on-scene-hotClick",o),window.SHJParseEvent(t.useEvents,"on-scene-hotClick",o)})}},S=e.ref(t.basicOption.default.firstScene),N=e.computed(()=>{const o=[];if(t.basicOption){const c=t.basicOption.scenes;for(const s in c)if(Object.prototype.hasOwnProperty.call(c,s)){const i=c[s];o.push({label:i.label,value:s,thumbnail:i.cover})}}return o.sort((c,s)=>{const i=parseInt(c.value.replace("scene","")),u=parseInt(s.value.replace("scene",""));return i-u})});e.watch(()=>t.basicOption.default,()=>{t.isPreview?window.SHJSceneVrViewer.startAutoRotate():window.SHJSceneVrViewer.stopAutoRotate()},{deep:!0});const T=o=>{window.SHJSceneVrViewer&&S.value!==o&&(S.value=o,window.SHJSceneVrViewer.isLoaded()&&(window.SHJSceneVrViewer.loadScene(o),t.isPreview?window.SHJSceneVrViewer.startAutoRotate():window.SHJSceneVrViewer.stopAutoRotate()))},k=e.ref(),m=e.ref(!0),P=()=>{m.value?k.value.style.bottom="-999px":k.value.style.bottom="80px",m.value=!m.value};e.onMounted(()=>{t.basicOption&&(t.basicOption.default.controls===void 0&&(t.basicOption.default.controls=n.value.controls),t.basicOption.default.audio===void 0&&(t.basicOption.default.audio=n.value.audio)),y(),M()});const R=()=>{window.SHJSceneVrViewer.setPitch(window.SHJSceneVrViewer.getPitch()+10)},z=()=>{window.SHJSceneVrViewer.setPitch(window.SHJSceneVrViewer.getPitch()-10)},A=()=>{window.SHJSceneVrViewer.setYaw(window.SHJSceneVrViewer.getYaw()-10)},D=()=>{window.SHJSceneVrViewer.setYaw(window.SHJSceneVrViewer.getYaw()+10)},L=()=>{window.SHJSceneVrViewer.setHfov(window.SHJSceneVrViewer.getHfov()-10)},I=()=>{window.SHJSceneVrViewer.setHfov(window.SHJSceneVrViewer.getHfov()+10)},f=e.ref(!1),H=o=>{l.value&&(o==="play"?(l.value.play(),f.value=!1):(l.value.pause(),f.value=!0))},j=()=>{window.SHJSceneVrViewer.startAutoRotate()};let g;const V=e.ref(!1),M=()=>{t.basicOption.default.controls?V.value=t.basicOption.default.controls.mouseTipShow:V.value=!0,g&&clearTimeout(g),g=setTimeout(()=>{V.value=!1},3500)};return(o,c)=>{const s=e.resolveComponent("el-tooltip"),i=e.resolveComponent("el-scrollbar");return e.openBlock(),e.createElementBlock("div",$,[n.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.withDirectives(e.createElementVNode("div",Z,null,512),[[e.vShow,n.value.sceneType==="image"]]),e.withDirectives(e.createElementVNode("div",K,null,512),[[e.vShow,n.value.sceneType!=="image"]])],64)):e.createCommentVNode("",!0),o.basicOption.default.controls?(e.openBlock(),e.createElementBlock("div",Q,[o.basicOption.default.controls.scene?(e.openBlock(),e.createElementBlock("div",{key:0,class:"btn-icon left",style:e.normalizeStyle({borderColor:m.value?"#ff7d00":"#ffffff3d"}),onClick:P},[e.createVNode(s,{content:"场景选择"},{default:e.withCtx(()=>[X]),_:1})],4)):e.createCommentVNode("",!0),o.basicOption.default.controls.left?(e.openBlock(),e.createElementBlock("div",{key:1,class:"btn-icon left",onClick:A},ee)):e.createCommentVNode("",!0),o.basicOption.default.controls.right?(e.openBlock(),e.createElementBlock("div",{key:2,class:"btn-icon right",onClick:D},te)):e.createCommentVNode("",!0),o.basicOption.default.controls.top?(e.openBlock(),e.createElementBlock("div",{key:3,class:"btn-icon up",onClick:R},ce)):e.createCommentVNode("",!0),o.basicOption.default.controls.bottom?(e.openBlock(),e.createElementBlock("div",{key:4,class:"btn-icon down",onClick:z},ie)):e.createCommentVNode("",!0),o.basicOption.default.controls.magnify?(e.openBlock(),e.createElementBlock("div",{key:5,class:"btn-icon",onClick:L},le)):e.createCommentVNode("",!0),o.basicOption.default.controls.shrink?(e.openBlock(),e.createElementBlock("div",{key:6,class:"btn-icon",onClick:I},ue)):e.createCommentVNode("",!0),f.value&&r.value.src&&o.basicOption.default.audio?(e.openBlock(),e.createElementBlock("div",{key:7,class:"btn-icon",onClick:c[0]||(c[0]=u=>H("play"))},ve)):e.createCommentVNode("",!0),!f.value&&r.value.src&&o.basicOption.default.audio?(e.openBlock(),e.createElementBlock("div",{key:8,class:"btn-icon",onClick:c[1]||(c[1]=u=>H("pause"))},we)):e.createCommentVNode("",!0),o.basicOption.default.controls.rotate?(e.openBlock(),e.createElementBlock("div",{key:9,class:"btn-icon",onClick:j},fe)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),o.basicOption.default.controls?(e.openBlock(),e.createElementBlock("div",{key:2,ref_key:"sceneMenuRef",ref:k,class:"scene-menu",style:e.normalizeStyle({bottom:m.value&&o.basicOption.default.controls.scene?"80px":"-9999999999999px"})},[e.createVNode(i,null,{default:e.withCtx(()=>[e.createElementVNode("div",Se,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(N.value,u=>(e.openBlock(),e.createElementBlock("div",{key:u.value,class:"scene-item",style:e.normalizeStyle({borderColor:S.value===u.value?"#ff7d00":"#fff"}),onClick:Je=>T(u.value)},[e.createElementVNode("img",{class:"thumbnail",src:u.thumbnail},null,8,he),e.createElementVNode("p",be,e.toDisplayString(u.label),1)],12,Ve))),128))])]),_:1})],4)):e.createCommentVNode("",!0),e.createElementVNode("audio",{ref_key:"audioRef",ref:l,autoplay:r.value.autoplay,loop:r.value.loop,volume:r.value.volume},[e.createElementVNode("source",{src:r.value.src},null,8,ke)],8,ye),V.value?(e.openBlock(),e.createElementBlock("div",ge,Ee)):e.createCommentVNode("",!0)])}}});exports.default=Oe;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1715236327428'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='9114'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M843.40179753%20545.14017975H180.59820247v-66.2803595h662.80359506v66.2803595z'%20fill='%23ffffff'%20p-id='9115'%3e%3c/path%3e%3cpath%20d='M478.85982025%20843.40179753V180.59820247h66.2803595v662.80359506h-66.2803595z'%20fill='%23ffffff'%20p-id='9116'%3e%3c/path%3e%3c/svg%3e";exports.default=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const c="data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1715236437011'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='9730'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M458.64625344%20800.05792025c0%2063.6614775-51.61300594%20115.26776813-115.28119969%20115.26776811l-1.38434157%200c-63.66819281%200-115.28023969-51.60629062-115.28023968-115.26776811L226.70047344%20193.01317679c0-63.6614775%2051.61204687-115.26776813%20115.28023968-115.26776812l1.38434157%200c63.66819281%200%20115.28119969%2051.60629062%20115.28119968%20115.26776812L458.64625344%20800.05792025zM407.10327969%20193.01317679c0-35.19661689-28.53393375-63.72479437-63.73726594-63.72479437l-1.38434155%200c-35.20333219%200-63.73726594%2028.52721844-63.73726595%2063.72479437L278.24440625%20800.05792025c0%2035.19661689%2028.53393375%2063.72479437%2063.73726593%2063.72479436l1.38434157%200c35.20333219%200%2063.73726594-28.52721844%2063.73726594-63.72479436L407.10327969%20193.01317679z'%20fill='%23ffffff'%20p-id='9731'%3e%3c/path%3e%3cpath%20d='M316.90235655%20296.80520618c-7.12221094%200-12.88598345-5.76377249-12.88598342-12.88598344l0-51.54393281c0-7.12221094%205.76377249-12.88598345%2012.88598342-12.88598343%207.10973938%200%2012.88598345%205.76377249%2012.88598345%2012.88598343l0%2051.54393281C329.78738%20291.0414337%20324.01209594%20296.80520618%20316.90235655%20296.80520618z'%20fill='%23ffffff'%20p-id='9732'%3e%3c/path%3e%3cpath%20d='M316.90235655%20335.46219649c-7.12221094%200-12.88598345-5.76281251-12.88598342-12.88598343l0-5.3359022c0-7.12221094%205.76377249-12.88598345%2012.88598342-12.88598344%207.10973938%200%2012.88598345%205.76377249%2012.88598345%2012.88598344l0%205.3359022C329.78738%20329.69938399%20324.01209594%20335.46219649%20316.90235655%20335.46219649z'%20fill='%23ffffff'%20p-id='9733'%3e%3c/path%3e%3cpath%20d='M790.66253055%20800.05792025c0%2063.6614775-51.60629062%20115.26776813-115.28119969%20115.26776811l-1.3833825%200c-63.67394906%200-115.28023969-51.60629062-115.28023968-115.26776811L558.71770961%20193.01317679c0-63.6614775%2051.60629062-115.26776813%20115.28023969-115.26776812l1.3833825%200c63.67490812%200%20115.28119969%2051.60629062%20115.28119969%20115.26776812L790.66253055%20800.05792025zM739.11859774%20193.01317679c0-35.19661689-28.5281775-63.72479437-63.73726594-63.72479437l-1.3833825%200c-35.2100475%200-63.73726594%2028.52721844-63.73726594%2063.72479437L610.26068336%20800.05792025c0%2035.19661689%2028.52721844%2063.72479437%2063.73726594%2063.72479436l1.3833825%200c35.20908844%200%2063.73726594-28.52721844%2063.73726594-63.72479436L739.11859774%20193.01317679z'%20fill='%23ffffff'%20p-id='9734'%3e%3c/path%3e%3c/svg%3e";exports.default=c;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1715236409396'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='9521'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M300.95162432%20943.72479443c-55.520501%200-93.25901001-44.607964-93.25901-110.98881401l0-671.442362c0-66.38084999%2037.738509-110.98779001%2093.285616-110.98779%2021.22951001%200%2043.632753%206.590092%2066.121953%2019.57175402L895.63169532%20406.20865343c39.06471401%2022.529109%2061.195757%2055.01703401%2061.19575701%2090.87266%200%2035.81571699-22.01234%2068.263733-62.01849501%2091.36282401L368.05492832%20923.55542842C344.55777132%20937.14698143%20322.18113432%20943.72479443%20300.95162432%20943.72479443zM300.97823032%20104.61985142c-34.79445699%200-38.971593%2039.634696-38.971593%2056.673767l0%20671.442362c0%2017.040095%204.177136%2056.67478999%2038.944987%2056.67479001%2011.403724%200%2025.02802299-4.242627%2038.965453-12.292977l526.661931-335.11129101c23.16560599-13.406335%2035.933397-29.55615301%2035.933397-44.92518899%200-15.408945-12.72890601-31.598672-34.967396-44.435025L338.92140032%20116.31521743C325.99397333%20108.87578143%20312.39525732%20104.61985142%20300.97823032%20104.61985142z'%20fill='%23ffffff'%20p-id='9522'%3e%3c/path%3e%3cpath%20d='M570.88956632%20672.92522843c-4.52198999%200-8.924253-2.240017-11.510148-6.351662-3.99089402-6.338359-2.081405-14.719236%204.25593-18.723434l7.333012-4.615111c6.35166201-3.97861399%2014.731516-2.094708%2018.723434%204.270257%204.00522%206.337335%202.095731%2014.718213-4.25593%2018.72241001l-7.333012%204.61613399C575.86181132%20672.24779942%20573.35573432%20672.92522843%20570.88956632%20672.92522843z'%20fill='%23ffffff'%20p-id='9523'%3e%3c/path%3e%3cpath%20d='M371.97316732%20798.03464342c-4.520967%200-8.924253-2.240017-11.510148-6.351662-3.99089402-6.337335-2.081405-14.731516%204.269233-18.72241l152.386666-95.85923099c6.338359-3.964288%2014.719236-2.094708%2018.723434%204.270257%203.99089402%206.337335%202.082428%2014.731516-4.269233%2018.72343399l-152.386666%2095.85820799C376.94541232%20797.35926142%20374.43933532%20798.03464342%20371.97316732%20798.03464342z'%20fill='%23ffffff'%20p-id='9524'%3e%3c/path%3e%3c/svg%3e";exports.default=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1715236377345'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='9318'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M889.06160075%20549.70616007H134.93839925v-75.41232014h754.1232015v75.41232014z'%20p-id='9319'%20fill='%23ffffff'%3e%3c/path%3e%3c/svg%3e";exports.default=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1715236465064'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='9940'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M844.8%20247.466667c0-17.066667-17.066667-34.133333-34.133333-34.133334s-34.133333%2012.8-34.133334%2034.133334v68.266666c-8.533333-17.066667-21.333333-29.866667-29.866666-38.4C682.666667%20217.6%20601.6%20179.2%20512%20179.2c-183.466667%200-332.8%20149.333333-332.8%20332.8s149.333333%20332.8%20332.8%20332.8c89.6%200%20170.666667-34.133333%20234.666667-98.133333%2012.8-12.8%2012.8-34.133333%200-46.933334s-34.133333-12.8-46.933334%200c-51.2%2051.2-119.466667%2076.8-187.733333%2076.8-145.066667%200-264.533333-119.466667-264.533333-264.533333S366.933333%20243.2%20512%20243.2c72.533333%200%20136.533333%2025.6%20187.733333%2076.8l38.4%2038.4h-76.8c-17.066667%200-34.133333%2012.8-34.133333%2034.133333s12.8%2034.133333%2034.133333%2034.133334H823.466667s4.266667%200%204.266666-4.266667c0%200%204.266667%200%204.266667-4.266667l4.266667-4.266666%204.266666-4.266667v-4.266667-157.866666z'%20p-id='9941'%20fill='%23ffffff'%3e%3c/path%3e%3c/svg%3e";exports.default=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1715236117111'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='8911'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M670.634667%20182.656a40.832%2040.832%200%200%201%200%2057.941333L397.99466699%20512l272.64000001%20271.402667a40.832%2040.832%200%200%201%200%2057.941333%2041.258667%2041.258667%200%200%201-58.197334%200l-301.738666-300.37333299a40.832%2040.832%200%200%201%200-57.94133402l301.738666-300.37333299a41.258667%2041.258667%200%200%201%2058.197334%200z'%20p-id='8912'%20fill='%23ffffff'%3e%3c/path%3e%3c/svg%3e";exports.default=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const c="data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1716263282576'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='11645'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M991.232%20330.752c-13.824-6.144-27.648-6.144-34.304%200l-392.704%20208.384c-6.656%206.144-13.824%2018.944-13.824%2025.088v416.768c0%2012.8%202.56%2026.112%2016.384%2034.304%205.12%202.56%2011.264%203.584%2017.92%203.584%204.608%200%209.216%200.512%2020.48-6.144l386.048-208.384c12.8-5.632%2020.48-17.92%2020.48-31.744V361.984c0-13.312-8.192-26.112-20.48-31.232z%20m-55.296%20429.568l-310.272%20164.352v-334.848l310.272-164.352v334.848z%20m13.824-549.888L552.96%2016.896c-15.36-7.68-33.28-9.728-50.176-5.12-2.56%201.024-5.632%202.048-8.192%203.072L88.576%20213.504c-4.096%202.048-8.192%204.608-11.776%207.168-7.168%205.12-16.384%2011.264-16.384%2021.504%200%2012.8%206.656%2025.088%2020.48%2031.744l407.552%20211.968c3.072%201.536%206.656%202.56%209.728%203.584%205.632%201.536%2011.264%205.632%2016.384%205.632%206.144%200%2012.288%200%2018.432-4.608%203.072-2.048%206.144-3.584%209.216-5.632l406.528-210.944c17.408-7.68%2025.6-28.16%2017.92-45.568-2.56-7.68-9.216-14.336-16.896-17.92z%20m-434.176%20208.384l-337.92-170.496%20337.92-164.352%20337.92%20164.352-337.92%20170.496zM74.24%20330.752c-6.656-6.144-20.48-6.144-34.304%200-12.8%205.632-20.48%2017.92-20.48%2031.744v416.768c0%2012.8%206.656%2025.088%2020.48%2031.744l367.616%20198.656c11.776%206.656%2025.088%209.728%2038.912%209.728%206.656%200%2014.336%200.512%2020.48-6.144%2013.824-7.68%2020.48-17.92%2020.48-31.744v-416.768c0-13.824-8.192-26.112-20.48-31.744%200.512%200-392.704-202.24-392.704-202.24z%20m330.752%20593.92l-310.272-164.352V419.328L404.992%20583.68v340.992z'%20fill='%23ffffff'%20p-id='11646'%3e%3c/path%3e%3c/svg%3e";exports.default=c;
|
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./components/index.js");;/* empty css */const t=require("./utils/shj/component-refs.js"),a=require("./components/chart-bar-stack/index.js"),n=require("./components/chart-bar-basic/index.js"),o=require("./components/chart-bar-loop/index.js"),c=require("./components/chart-bar-zebra/index.js"),v=require("./components/chart-bar-contrast/index.js"),Z=require("./components/chart-bar-line-bar/index.js"),s=require("./components/chart-bar-stack2/index.js"),d=require("./components/chart-bar-stack-line/index.js"),h=require("./components/chart-bar-gradient-column-chart/index.js"),u=require("./components/chart-bar-spire/index.js"),C=require("./components/chart-pie-basic/index.js"),x=require("./components/chart-line-smooth/index.js"),q=require("./components/chart-line-smooth-area/index.js"),$=require("./components/chart-scatter-basic/index.js"),m=require("./components/text-text-basic/index.js"),l=require("./components/text-table-basic/index.js"),p=require("./components/chart-other-gauge/index.js"),B=require("./components/chart-other-word-cloud/index.js"),M=require("./components/chart-other-liquidfill/index.js"),T=require("./components/chart-bar-horizontal/index.js"),S=require("./components/chart-bar-three/index.js"),I=require("./components/chart-bar-rank/index.js"),g=require("./components/chart-bar-mini/index.js"),O=require("./components/chart-line-dashed/index.js"),R=require("./components/chart-pie-semicircle/index.js"),L=require("./components/chart-pie-rose/index.js"),G=require("./components/chart-scatter-basic2/index.js"),P=require("./components/chart-other-funnel/index.js"),b=require("./components/chart-other-force/index.js"),f=require("./components/chart-other-radar/index.js"),D=require("./components/chart-line-basic/index.js"),k=require("./components/chart-line-scale/index.js"),y=require("./components/chart-map-lines/index.js"),E=require("./components/chart-map-basic/index.js"),V=require("./components/chart-map-scatter/index.js"),A=require("./components/chart-map-customize/index.js"),F=require("./components/chart-map-bmap-rich/index.js"),w=require("./components/chart-other-circular-graph/index.js"),H=require("./components/chart-map-bmap-heatmap/index.js"),W=require("./components/chart-map-bmap-basic/index.js"),z=require("./components/map-earth-basic/index.js"),j=require("./components/map-earth-cool-tech/index.js"),N=require("./components/map-earth-particle/index.js"),Q=require("./components/map-earth-hacker/index.js"),_=require("./components/map-earth-fly-line/index.js"),J=require("./components/chart-pie-index/index.js"),K=require("./components/chart-other-grid-percentage/index.js"),U=require("./components/chart-other-radar-stack/index.js"),X=require("./components/chart-bar-segmented-progress/index.js"),Y=require("./components/chart-other-funnel2/index.js"),ee=require("./components/chart-other-label-gauge/index.js"),re=require("./components/chart-pie-round/index.js"),ie=require("./components/chart-pie-sunburst/index.js"),te=require("./components/chart-other-theme-river/index.js"),ae=require("./components/chart-other-tree/index.js"),ne=require("./components/chart-other-treemap/index.js"),oe=require("./components/commons-product-model/index.js"),ce=require("./components/commons-vr-photo/index.js"),ve=require("./components/commons-vr-video/index.js"),Ze=require("./components/commons-three-loader/index.js"),se=require("./components/commons-three-loader3/index.js"),de=require("./components/commons-gaussian-splatting-view/index.js"),he=require("./components/commons-babylon/index.js"),ue=require("./components/commons-svg/index.js"),Ce=require("./components/commons-weather/index.js"),xe=require("./components/media-wavesurfer/index.js"),qe=require("./components/interaction-tabs/index.js"),$e=require("./components/interaction-tabs2/index.js"),me=require("./components/interaction-button/index.js"),le=require("./components/interaction-button-image/index.js"),pe=require("./components/interaction-select/index.js"),Be=require("./components/interaction-input/index.js"),Me=require("./components/interaction-radio/index.js"),Te=require("./components/interaction-slider/index.js"),Se=require("./components/interaction-switch/index.js"),Ie=require("./components/interaction-data-picker/index.js"),ge=require("./components/interaction-button-refresh/index.js"),Oe=require("./components/media-image/index.js"),Re=require("./components/text-title/index.js"),Le=require("./components/commons-qrcode/index.js"),Ge=require("./components/media-video/index.js"),Pe=require("./components/media-audio/index.js"),be=require("./components/text-real-time/index.js"),fe=require("./components/media-carousel/index.js"),De=require("./components/media-carousel-slides/index.js"),ke=require("./components/media-iframe-carousel/index.js"),ye=require("./components/media-iframe/index.js"),Ee=require("./components/media-m3u8/index.js"),Ve=require("./components/media-audio-dynamic/index.js"),Ae=require("./components/media-video-dynamic/index.js"),Fe=require("./components/media-image-dynamic/index.js"),we=require("./components/media-flv/index.js"),He=require("./components/commons-echarts/index.js"),We=require("./components/text-over-number/index.js"),ze=require("./components/text-table-scroll/index.js"),je=require("./components/text-carousel/index.js"),Ne=require("./components/text-row-scroll/index.js"),Qe=require("./components/text-text-dynamic/index.js"),_e=require("./components/text-count-down/index.js"),Je=require("./components/graphical-circle/index.js"),Ke=require("./components/graphical-diamond/index.js"),Ue=require("./components/graphical-hexagon/index.js"),Xe=require("./components/graphical-isosceles-triangle/index.js"),Ye=require("./components/graphical-pentagon/index.js"),er=require("./components/graphical-rect/index.js"),rr=require("./components/graphical-right-triangle/index.js"),ir=require("./components/scene-map3d/index.js"),tr=require("./components/scene-amap2d/index.js"),ar=require("./components/scene-amap3d/index.js"),nr={install:r=>{for(const i in e)r.use(e[i])}};exports.registerComponentRef=t.registerComponentRef;exports.ZvChartBarStack=a.ZvChartBarStack;exports.ZvChartBarBasic=n.ZvChartBarBasic;exports.ZvChartBarLoop=o.ZvChartBarLoop;exports.ZvChartBarZebra=c.ZvChartBarZebra;exports.ZvChartBarContrast=v.ZvChartBarContrast;exports.ZvChartBarLineBar=Z.ZvChartBarLineBar;exports.ZvChartBarStack2=s.ZvChartBarStack2;exports.ZvChartBarStackLine=d.ZvChartBarStackLine;exports.ZvChartBarGradientColumnChart=h.ZvChartBarGradientColumnChart;exports.ZvChartBarSpire=u.ZvChartBarSpire;exports.ZvChartPieBasic=C.ZvChartPieBasic;exports.ZvChartLineSmooth=x.ZvChartLineSmooth;exports.ZvChartLineSmoothArea=q.ZvChartLineSmoothArea;exports.ZvChartScatterBasic=$.ZvChartScatterBasic;exports.ZvTextTextBasic=m.ZvTextTextBasic;exports.ZvTextTableBasic=l.ZvTextTableBasic;exports.ZvChartOtherGauge=p.ZvChartOtherGauge;exports.ZvChartOtherWordCloud=B.ZvChartOtherWordCloud;exports.ZvChartOtherLiquidfill=M.ZvChartOtherLiquidfill;exports.ZvChartBarHorizontal=T.ZvChartBarHorizontal;exports.ZvChartBarThree=S.ZvChartBarThree;exports.ZvChartBarRank=I.ZvChartBarRank;exports.ZvChartBarMini=g.ZvChartBarMini;exports.ZvChartLineDashed=O.ZvChartLineDashed;exports.ZvChartPieSemicircle=R.ZvChartPieSemicircle;exports.ZvChartPieRose=L.ZvChartPieRose;exports.ZvChartScatterBasic2=G.ZvChartScatterBasic2;exports.ZvChartOtherFunnel=P.ZvChartOtherFunnel;exports.ZvChartOtherForce=b.ZvChartOtherForce;exports.ZvChartOtherRadar=f.ZvChartOtherRadar;exports.ZvChartLineBasic=D.ZvChartLineBasic;exports.ZvChartLineScale=k.ZvChartLineScale;exports.ZvChartMapLines=y.ZvChartMapLines;exports.ZvChartMapBasic=E.ZvChartMapBasic;exports.ZvChartMapScatter=V.ZvChartMapScatter;exports.ZvChartMapCustomize=A.ZvChartMapCustomize;exports.ZvChartMapBmapRich=F.ZvChartMapBmapRich;exports.ZvChartOtherCircularGraph=w.ZvChartOtherCircularGraph;exports.ZvChartMapBmapHeatmap=H.ZvChartMapBmapHeatmap;exports.ZvChartMapBmapBasic=W.ZvChartMapBmapBasic;exports.ZvMapEarthBasic=z.ZvMapEarthBasic;exports.ZvMapEarthCoolTech=j.ZvMapEarthCoolTech;exports.ZvMapEarthParticle=N.ZvMapEarthParticle;exports.ZvMapEarthHacker=Q.ZvMapEarthHacker;exports.ZvMapEarthFlyLine=_.ZvMapEarthFlyLine;exports.ZvChartPieIndex=J.ZvChartPieIndex;exports.ZvChartOtherGridPercentage=K.ZvChartOtherGridPercentage;exports.ZvChartOtherRadarStack=U.ZvChartOtherRadarStack;exports.ZvChartBarSegmentedProgress=X.ZvChartBarSegmentedProgress;exports.ZvChartOtherFunnel2=Y.ZvChartOtherFunnel2;exports.ZvChartOtherLabelGauge=ee.ZvChartOtherLabelGauge;exports.ZvChartPieRound=re.ZvChartPieRound;exports.ZvChartPieSunburst=ie.ZvChartPieSunburst;exports.ZvChartOtherThemeRiver=te.ZvChartOtherThemeRiver;exports.ZvChartOtherTree=ae.ZvChartOtherTree;exports.ZvChartOtherTreemap=ne.ZvChartOtherTreemap;exports.ZvCommonsProductModel=oe.ZvCommonsProductModel;exports.ZvCommonsVrPhoto=ce.ZvCommonsVrPhoto;exports.ZvCommonsVrVideo=ve.ZvCommonsVrVideo;exports.ZvCommonsThreeLoader=Ze.ZvCommonsThreeLoader;exports.ZvCommonsThreeLoader3=se.ZvCommonsThreeLoader3;exports.ZvCommonsGaussianSplattingView=de.ZvCommonsGaussianSplattingView;exports.ZvCommonsBabylon=he.ZvCommonsBabylon;exports.ZvCommonsSvg=ue.ZvCommonsSvg;exports.ZvCommonsWeather=Ce.ZvCommonsWeather;exports.ZvMediaWavesurfer=xe.ZvMediaWavesurfer;exports.ZvInteractionTabs=qe.ZvInteractionTabs;exports.ZvInteractionTabs2=$e.ZvInteractionTabs2;exports.ZvInteractionButton=me.ZvInteractionButton;exports.ZvInteractionButtonImage=le.ZvInteractionButtonImage;exports.ZvInteractionSelect=pe.ZvInteractionSelect;exports.ZvInteractionInput=Be.ZvInteractionInput;exports.ZvInteractionRadio=Me.ZvInteractionRadio;exports.ZvInteractionSlider=Te.ZvInteractionSlider;exports.ZvInteractionSwitch=Se.ZvInteractionSwitch;exports.ZvInteractionDataPicker=Ie.ZvInteractionDataPicker;exports.ZvInteractionButtonRefresh=ge.ZvInteractionButtonRefresh;exports.ZvMediaImage=Oe.ZvMediaImage;exports.ZvTextTitle=Re.ZvTextTitle;exports.ZvCommonsQrcode=Le.ZvCommonsQrcode;exports.ZvMediaVideo=Ge.ZvMediaVideo;exports.ZvMediaAudio=Pe.ZvMediaAudio;exports.ZvTextRealTime=be.ZvTextRealTime;exports.ZvMediaCarousel=fe.ZvMediaCarousel;exports.ZvMediaCarouselSlides=De.ZvMediaCarouselSlides;exports.ZvMediaIframeCarousel=ke.ZvMediaIframeCarousel;exports.ZvMediaIframe=ye.ZvMediaIframe;exports.ZvMediaM3u8=Ee.ZvMediaM3u8;exports.ZvMediaAudioDynamic=Ve.ZvMediaAudioDynamic;exports.ZvMediaVideoDynamic=Ae.ZvMediaVideoDynamic;exports.ZvMediaImageDynamic=Fe.ZvMediaImageDynamic;exports.ZvMediaFlv=we.ZvMediaFlv;exports.ZvCommonsEcharts=He.ZvCommonsEcharts;exports.ZvTextOverNumber=We.ZvTextOverNumber;exports.ZvTextTableScroll=ze.ZvTextTableScroll;exports.ZvTextCarousel=je.ZvTextCarousel;exports.ZvTextRowScroll=Ne.ZvTextRowScroll;exports.ZvTextTextDynamic=Qe.ZvTextTextDynamic;exports.ZvTextCountDown=_e.ZvTextCountDown;exports.ZvGraphicalCircle=Je.ZvGraphicalCircle;exports.ZvGraphicalDiamond=Ke.ZvGraphicalDiamond;exports.ZvGraphicalHexagon=Ue.ZvGraphicalHexagon;exports.ZvGraphicalIsoscelesTriangle=Xe.ZvGraphicalIsoscelesTriangle;exports.ZvGraphicalPentagon=Ye.ZvGraphicalPentagon;exports.ZvGraphicalRect=er.ZvGraphicalRect;exports.ZvGraphicalRightTriangle=rr.ZvGraphicalRightTriangle;exports.ZvSceneMap3d=ir.ZvSceneMap3d;exports.ZvSceneAmap2d=tr.ZvSceneAmap2d;exports.ZvSceneAmap3d=ar.ZvSceneAmap3d;exports.default=nr;
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./components/index.js");;/* empty css */const t=require("./utils/shj/component-refs.js"),n=require("./components/chart-bar-stack/index.js"),a=require("./components/chart-bar-basic/index.js"),o=require("./components/chart-bar-loop/index.js"),c=require("./components/chart-bar-zebra/index.js"),v=require("./components/chart-bar-contrast/index.js"),Z=require("./components/chart-bar-line-bar/index.js"),s=require("./components/chart-bar-stack2/index.js"),d=require("./components/chart-bar-stack-line/index.js"),h=require("./components/chart-bar-gradient-column-chart/index.js"),u=require("./components/chart-bar-spire/index.js"),C=require("./components/chart-pie-basic/index.js"),x=require("./components/chart-line-smooth/index.js"),q=require("./components/chart-line-smooth-area/index.js"),$=require("./components/chart-scatter-basic/index.js"),m=require("./components/text-text-basic/index.js"),l=require("./components/text-table-basic/index.js"),p=require("./components/chart-other-gauge/index.js"),B=require("./components/chart-other-word-cloud/index.js"),S=require("./components/chart-other-liquidfill/index.js"),M=require("./components/chart-bar-horizontal/index.js"),T=require("./components/chart-bar-three/index.js"),I=require("./components/chart-bar-rank/index.js"),g=require("./components/chart-bar-mini/index.js"),O=require("./components/chart-line-dashed/index.js"),L=require("./components/chart-pie-semicircle/index.js"),R=require("./components/chart-pie-rose/index.js"),P=require("./components/chart-scatter-basic2/index.js"),G=require("./components/chart-other-funnel/index.js"),b=require("./components/chart-other-force/index.js"),f=require("./components/chart-other-radar/index.js"),y=require("./components/chart-line-basic/index.js"),D=require("./components/chart-line-scale/index.js"),k=require("./components/chart-map-lines/index.js"),V=require("./components/chart-map-basic/index.js"),E=require("./components/chart-map-scatter/index.js"),A=require("./components/chart-map-customize/index.js"),F=require("./components/chart-map-bmap-rich/index.js"),w=require("./components/chart-other-circular-graph/index.js"),H=require("./components/chart-map-bmap-heatmap/index.js"),U=require("./components/chart-map-bmap-basic/index.js"),W=require("./components/map-earth-basic/index.js"),z=require("./components/map-earth-cool-tech/index.js"),j=require("./components/map-earth-particle/index.js"),N=require("./components/map-earth-hacker/index.js"),Q=require("./components/map-earth-fly-line/index.js"),_=require("./components/chart-pie-index/index.js"),J=require("./components/chart-other-grid-percentage/index.js"),K=require("./components/chart-other-radar-stack/index.js"),X=require("./components/chart-bar-segmented-progress/index.js"),Y=require("./components/chart-other-funnel2/index.js"),ee=require("./components/chart-other-label-gauge/index.js"),re=require("./components/chart-pie-round/index.js"),ie=require("./components/chart-pie-sunburst/index.js"),te=require("./components/chart-other-theme-river/index.js"),ne=require("./components/chart-other-tree/index.js"),ae=require("./components/chart-other-treemap/index.js"),oe=require("./components/commons-product-model/index.js"),ce=require("./components/commons-vr-photo/index.js"),ve=require("./components/commons-vr-video/index.js"),Ze=require("./components/commons-three-loader/index.js"),se=require("./components/commons-three-loader3/index.js"),de=require("./components/commons-gaussian-splatting-view/index.js"),he=require("./components/commons-babylon/index.js"),ue=require("./components/commons-svg/index.js"),Ce=require("./components/commons-weather/index.js"),xe=require("./components/media-wavesurfer/index.js"),qe=require("./components/interaction-tabs/index.js"),$e=require("./components/interaction-tabs2/index.js"),me=require("./components/interaction-button/index.js"),le=require("./components/interaction-button-image/index.js"),pe=require("./components/interaction-select/index.js"),Be=require("./components/interaction-input/index.js"),Se=require("./components/interaction-radio/index.js"),Me=require("./components/interaction-slider/index.js"),Te=require("./components/interaction-switch/index.js"),Ie=require("./components/interaction-data-picker/index.js"),ge=require("./components/interaction-button-refresh/index.js"),Oe=require("./components/media-image/index.js"),Le=require("./components/text-title/index.js"),Re=require("./components/commons-qrcode/index.js"),Pe=require("./components/media-video/index.js"),Ge=require("./components/media-audio/index.js"),be=require("./components/text-real-time/index.js"),fe=require("./components/media-carousel/index.js"),ye=require("./components/media-carousel-slides/index.js"),De=require("./components/media-iframe-carousel/index.js"),ke=require("./components/media-iframe/index.js"),Ve=require("./components/media-m3u8/index.js"),Ee=require("./components/media-audio-dynamic/index.js"),Ae=require("./components/media-video-dynamic/index.js"),Fe=require("./components/media-image-dynamic/index.js"),we=require("./components/media-flv/index.js"),He=require("./components/commons-echarts/index.js"),Ue=require("./components/text-over-number/index.js"),We=require("./components/text-table-scroll/index.js"),ze=require("./components/text-carousel/index.js"),je=require("./components/text-row-scroll/index.js"),Ne=require("./components/text-text-dynamic/index.js"),Qe=require("./components/text-count-down/index.js"),_e=require("./components/graphical-circle/index.js"),Je=require("./components/graphical-diamond/index.js"),Ke=require("./components/graphical-hexagon/index.js"),Xe=require("./components/graphical-isosceles-triangle/index.js"),Ye=require("./components/graphical-pentagon/index.js"),er=require("./components/graphical-rect/index.js"),rr=require("./components/graphical-right-triangle/index.js"),ir=require("./components/scene-map3d/index.js"),tr=require("./components/scene-amap2d/index.js"),nr=require("./components/scene-amap3d/index.js"),ar=require("./components/scene-vr/index.js"),or=require("./components/scene-unity-iframe/index.js"),cr=require("./components/scene-unity-webgl/index.js"),vr=require("./components/scene-ue-iframe/index.js"),Zr=require("./components/scene-ue-shj/index.js"),sr={install:r=>{for(const i in e)r.use(e[i])}};exports.registerComponentRef=t.registerComponentRef;exports.ZvChartBarStack=n.ZvChartBarStack;exports.ZvChartBarBasic=a.ZvChartBarBasic;exports.ZvChartBarLoop=o.ZvChartBarLoop;exports.ZvChartBarZebra=c.ZvChartBarZebra;exports.ZvChartBarContrast=v.ZvChartBarContrast;exports.ZvChartBarLineBar=Z.ZvChartBarLineBar;exports.ZvChartBarStack2=s.ZvChartBarStack2;exports.ZvChartBarStackLine=d.ZvChartBarStackLine;exports.ZvChartBarGradientColumnChart=h.ZvChartBarGradientColumnChart;exports.ZvChartBarSpire=u.ZvChartBarSpire;exports.ZvChartPieBasic=C.ZvChartPieBasic;exports.ZvChartLineSmooth=x.ZvChartLineSmooth;exports.ZvChartLineSmoothArea=q.ZvChartLineSmoothArea;exports.ZvChartScatterBasic=$.ZvChartScatterBasic;exports.ZvTextTextBasic=m.ZvTextTextBasic;exports.ZvTextTableBasic=l.ZvTextTableBasic;exports.ZvChartOtherGauge=p.ZvChartOtherGauge;exports.ZvChartOtherWordCloud=B.ZvChartOtherWordCloud;exports.ZvChartOtherLiquidfill=S.ZvChartOtherLiquidfill;exports.ZvChartBarHorizontal=M.ZvChartBarHorizontal;exports.ZvChartBarThree=T.ZvChartBarThree;exports.ZvChartBarRank=I.ZvChartBarRank;exports.ZvChartBarMini=g.ZvChartBarMini;exports.ZvChartLineDashed=O.ZvChartLineDashed;exports.ZvChartPieSemicircle=L.ZvChartPieSemicircle;exports.ZvChartPieRose=R.ZvChartPieRose;exports.ZvChartScatterBasic2=P.ZvChartScatterBasic2;exports.ZvChartOtherFunnel=G.ZvChartOtherFunnel;exports.ZvChartOtherForce=b.ZvChartOtherForce;exports.ZvChartOtherRadar=f.ZvChartOtherRadar;exports.ZvChartLineBasic=y.ZvChartLineBasic;exports.ZvChartLineScale=D.ZvChartLineScale;exports.ZvChartMapLines=k.ZvChartMapLines;exports.ZvChartMapBasic=V.ZvChartMapBasic;exports.ZvChartMapScatter=E.ZvChartMapScatter;exports.ZvChartMapCustomize=A.ZvChartMapCustomize;exports.ZvChartMapBmapRich=F.ZvChartMapBmapRich;exports.ZvChartOtherCircularGraph=w.ZvChartOtherCircularGraph;exports.ZvChartMapBmapHeatmap=H.ZvChartMapBmapHeatmap;exports.ZvChartMapBmapBasic=U.ZvChartMapBmapBasic;exports.ZvMapEarthBasic=W.ZvMapEarthBasic;exports.ZvMapEarthCoolTech=z.ZvMapEarthCoolTech;exports.ZvMapEarthParticle=j.ZvMapEarthParticle;exports.ZvMapEarthHacker=N.ZvMapEarthHacker;exports.ZvMapEarthFlyLine=Q.ZvMapEarthFlyLine;exports.ZvChartPieIndex=_.ZvChartPieIndex;exports.ZvChartOtherGridPercentage=J.ZvChartOtherGridPercentage;exports.ZvChartOtherRadarStack=K.ZvChartOtherRadarStack;exports.ZvChartBarSegmentedProgress=X.ZvChartBarSegmentedProgress;exports.ZvChartOtherFunnel2=Y.ZvChartOtherFunnel2;exports.ZvChartOtherLabelGauge=ee.ZvChartOtherLabelGauge;exports.ZvChartPieRound=re.ZvChartPieRound;exports.ZvChartPieSunburst=ie.ZvChartPieSunburst;exports.ZvChartOtherThemeRiver=te.ZvChartOtherThemeRiver;exports.ZvChartOtherTree=ne.ZvChartOtherTree;exports.ZvChartOtherTreemap=ae.ZvChartOtherTreemap;exports.ZvCommonsProductModel=oe.ZvCommonsProductModel;exports.ZvCommonsVrPhoto=ce.ZvCommonsVrPhoto;exports.ZvCommonsVrVideo=ve.ZvCommonsVrVideo;exports.ZvCommonsThreeLoader=Ze.ZvCommonsThreeLoader;exports.ZvCommonsThreeLoader3=se.ZvCommonsThreeLoader3;exports.ZvCommonsGaussianSplattingView=de.ZvCommonsGaussianSplattingView;exports.ZvCommonsBabylon=he.ZvCommonsBabylon;exports.ZvCommonsSvg=ue.ZvCommonsSvg;exports.ZvCommonsWeather=Ce.ZvCommonsWeather;exports.ZvMediaWavesurfer=xe.ZvMediaWavesurfer;exports.ZvInteractionTabs=qe.ZvInteractionTabs;exports.ZvInteractionTabs2=$e.ZvInteractionTabs2;exports.ZvInteractionButton=me.ZvInteractionButton;exports.ZvInteractionButtonImage=le.ZvInteractionButtonImage;exports.ZvInteractionSelect=pe.ZvInteractionSelect;exports.ZvInteractionInput=Be.ZvInteractionInput;exports.ZvInteractionRadio=Se.ZvInteractionRadio;exports.ZvInteractionSlider=Me.ZvInteractionSlider;exports.ZvInteractionSwitch=Te.ZvInteractionSwitch;exports.ZvInteractionDataPicker=Ie.ZvInteractionDataPicker;exports.ZvInteractionButtonRefresh=ge.ZvInteractionButtonRefresh;exports.ZvMediaImage=Oe.ZvMediaImage;exports.ZvTextTitle=Le.ZvTextTitle;exports.ZvCommonsQrcode=Re.ZvCommonsQrcode;exports.ZvMediaVideo=Pe.ZvMediaVideo;exports.ZvMediaAudio=Ge.ZvMediaAudio;exports.ZvTextRealTime=be.ZvTextRealTime;exports.ZvMediaCarousel=fe.ZvMediaCarousel;exports.ZvMediaCarouselSlides=ye.ZvMediaCarouselSlides;exports.ZvMediaIframeCarousel=De.ZvMediaIframeCarousel;exports.ZvMediaIframe=ke.ZvMediaIframe;exports.ZvMediaM3u8=Ve.ZvMediaM3u8;exports.ZvMediaAudioDynamic=Ee.ZvMediaAudioDynamic;exports.ZvMediaVideoDynamic=Ae.ZvMediaVideoDynamic;exports.ZvMediaImageDynamic=Fe.ZvMediaImageDynamic;exports.ZvMediaFlv=we.ZvMediaFlv;exports.ZvCommonsEcharts=He.ZvCommonsEcharts;exports.ZvTextOverNumber=Ue.ZvTextOverNumber;exports.ZvTextTableScroll=We.ZvTextTableScroll;exports.ZvTextCarousel=ze.ZvTextCarousel;exports.ZvTextRowScroll=je.ZvTextRowScroll;exports.ZvTextTextDynamic=Ne.ZvTextTextDynamic;exports.ZvTextCountDown=Qe.ZvTextCountDown;exports.ZvGraphicalCircle=_e.ZvGraphicalCircle;exports.ZvGraphicalDiamond=Je.ZvGraphicalDiamond;exports.ZvGraphicalHexagon=Ke.ZvGraphicalHexagon;exports.ZvGraphicalIsoscelesTriangle=Xe.ZvGraphicalIsoscelesTriangle;exports.ZvGraphicalPentagon=Ye.ZvGraphicalPentagon;exports.ZvGraphicalRect=er.ZvGraphicalRect;exports.ZvGraphicalRightTriangle=rr.ZvGraphicalRightTriangle;exports.ZvSceneMap3d=ir.ZvSceneMap3d;exports.ZvSceneAmap2d=tr.ZvSceneAmap2d;exports.ZvSceneAmap3d=nr.ZvSceneAmap3d;exports.ZvSceneVr=ar.ZvSceneVr;exports.ZvSceneUnityIframe=or.ZvSceneUnityIframe;exports.ZvSceneUnityWebgl=cr.ZvSceneUnityWebgl;exports.ZvSceneUeIframe=vr.ZvSceneUeIframe;exports.ZvSceneUeShj=Zr.ZvSceneUeShj;exports.default=sr;
|