@realsee/dnalogel 2.28.1-0 → 2.28.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AreaMakerPlugin/utils/Item.d.ts +0 -1
- package/dist/index.cjs.js +4 -4
- package/dist/index.js +7 -8
- package/dist/index.umd.js +4 -4
- package/libs/AreaMakerPlugin/utils/Item.d.ts +0 -1
- package/libs/AreaMakerPlugin/utils/Item.js +10 -13
- package/libs/PanoTagPlugin/utils/model/mediaPlane.js +70 -68
- package/libs/base/BasePlugin.js +1 -1
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
- package/docs/.nojekyll +0 -1
- package/docs/assets/highlight.css +0 -120
- package/docs/assets/main.js +0 -58
- package/docs/assets/search.js +0 -1
- package/docs/assets/style.css +0 -1367
- package/docs/classes/AreaMakerPluginPluginType.AreaMakerController.html +0 -711
- package/docs/classes/AreaMakerPluginPluginType.AreaMakerItem.html +0 -671
- package/docs/classes/CSS3DRender.html +0 -769
- package/docs/classes/CruisePluginController.html +0 -668
- package/docs/classes/GuideLineItem.GuideLineItem.html +0 -487
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +0 -788
- package/docs/classes/Magnifier.html +0 -476
- package/docs/classes/ModelRoomLabelController.html +0 -394
- package/docs/classes/Object3DHelperController.html +0 -636
- package/docs/classes/PaintBrush.html +0 -498
- package/docs/classes/PanoMeasurePluginLine.html +0 -518
- package/docs/classes/PanoMeasurePluginModel.html +0 -567
- package/docs/classes/PanoMeasurePluginPoint.html +0 -358
- package/docs/classes/PanoMeasurePluginPolyline.html +0 -563
- package/docs/classes/PanoTagPluginController.html +0 -1086
- package/docs/classes/Util.BetterTween.html +0 -411
- package/docs/classes/Util.Interval.html +0 -427
- package/docs/classes/Util.LineSegments.html +0 -379
- package/docs/classes/Util.Magnifier.html +0 -498
- package/docs/classes/Util.Object3D.html +0 -401
- package/docs/classes/Util.PointDomHelper.html +0 -402
- package/docs/classes/Util.PointHelper.html +0 -393
- package/docs/classes/Util.PointSelectorHelper.html +0 -449
- package/docs/classes/Util.Rectangle.html +0 -450
- package/docs/enums/CameraMovementEffect.html +0 -306
- package/docs/enums/ContentType.html +0 -442
- package/docs/enums/DIRECTION.html +0 -316
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +0 -316
- package/docs/enums/DimensionType.html +0 -306
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +0 -309
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +0 -316
- package/docs/enums/PaintBrushTypeEnum.html +0 -309
- package/docs/enums/PointType.html +0 -306
- package/docs/enums/Rotation.html +0 -313
- package/docs/functions/AreaMakerPluginPlugin.html +0 -284
- package/docs/functions/CSS3DRenderPlugin.html +0 -284
- package/docs/functions/CameraMovementPlugin.html +0 -289
- package/docs/functions/CruisePlugin.html +0 -286
- package/docs/functions/GuideLinePlugin.html +0 -286
- package/docs/functions/ItemLabelPlugin.html +0 -286
- package/docs/functions/MapviewFloorplanPlugin.html +0 -286
- package/docs/functions/ModelChassisCompassPlugin.html +0 -289
- package/docs/functions/ModelEntryDoorGuidePlugin.html +0 -289
- package/docs/functions/ModelFloorplanPlugin.html +0 -286
- package/docs/functions/ModelItemLabelPlugin.html +0 -286
- package/docs/functions/ModelRoomLabelPlugin.html +0 -284
- package/docs/functions/ModelTVVideoPlugin.html +0 -286
- package/docs/functions/ModelViewPlugin.html +0 -289
- package/docs/functions/Object3DHelperPlugin.html +0 -284
- package/docs/functions/PanoCompassPlugin.html +0 -286
- package/docs/functions/PanoCursorRaycasterPlugin.html +0 -290
- package/docs/functions/PanoDoorLabelPlugin.html +0 -286
- package/docs/functions/PanoFloorplanRadarPlugin.html +0 -286
- package/docs/functions/PanoMeasurePlugin.html +0 -286
- package/docs/functions/PanoRulerPlugin.html +0 -289
- package/docs/functions/PanoRulerProPlugin.html +0 -289
- package/docs/functions/PanoSpatialTagPlugin.html +0 -289
- package/docs/functions/PanoTagPlugin.html +0 -291
- package/docs/functions/PanoVideoPlugin.html +0 -295
- package/docs/functions/PipelinePlugin.html +0 -284
- package/docs/functions/TopviewFloorplanPlugin.html +0 -286
- package/docs/functions/Util.absoluteUrl.html +0 -321
- package/docs/functions/Util.equal.html +0 -333
- package/docs/functions/Util.getCoordsFromClient.html +0 -323
- package/docs/functions/Util.getCoordsFromElement.html +0 -323
- package/docs/functions/Util.getFrameTime.html +0 -315
- package/docs/functions/Util.getIntersectFromRelativePosition.html +0 -323
- package/docs/functions/Util.getRaycasterFromFivePointer.html +0 -323
- package/docs/functions/Util.isAbsoluteURL.html +0 -316
- package/docs/functions/Util.isModelLike.html +0 -316
- package/docs/functions/Util.isNil.html +0 -324
- package/docs/functions/Util.isPanoramaLike.html +0 -316
- package/docs/functions/Util.nextFrame.html +0 -329
- package/docs/functions/Util.notNil.html +0 -324
- package/docs/functions/Util.requestAnimationFrameInterval.html +0 -345
- package/docs/functions/Util.tweenProgress.html +0 -318
- package/docs/functions/Util.uuid.html +0 -314
- package/docs/functions/pluginFlag.html +0 -284
- package/docs/index.html +0 -350
- package/docs/interfaces/AddTagConfig.html +0 -299
- package/docs/interfaces/AreaMakerPluginPluginType.AnimeOptions.html +0 -325
- package/docs/interfaces/AreaMakerPluginPluginType.Config.html +0 -330
- package/docs/interfaces/AreaMakerPluginPluginType.EventMap.html +0 -616
- package/docs/interfaces/AreaMakerPluginPluginType.Params.html +0 -329
- package/docs/interfaces/AreaMakerPluginPluginType.ServerAreaMakerItem.html +0 -379
- package/docs/interfaces/AreaMakerPluginPluginType.ServerAreaMakerItemV1.html +0 -364
- package/docs/interfaces/AreaMakerPluginPluginType.ServerDataV1.html +0 -329
- package/docs/interfaces/AreaMakerPluginPluginType.ServerDataV2.html +0 -322
- package/docs/interfaces/AreaMakerPluginPluginType.ShowHideOptions.html +0 -321
- package/docs/interfaces/AreaMakerPluginPluginType.State.html +0 -350
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +0 -445
- package/docs/interfaces/CSS3DRenderPluginState.html +0 -321
- package/docs/interfaces/CameraMovementPluginExportType.html +0 -354
- package/docs/interfaces/CruisePluginTypes.Config.html +0 -355
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +0 -357
- package/docs/interfaces/CruisePluginTypes.EventMap.html +0 -692
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +0 -381
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +0 -417
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +0 -407
- package/docs/interfaces/CruisePluginTypes.PluginData.html +0 -347
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +0 -315
- package/docs/interfaces/CruisePluginTypes.PluginState.html +0 -404
- package/docs/interfaces/EventMap.html +0 -538
- package/docs/interfaces/FloorplanBounding.html +0 -328
- package/docs/interfaces/FloorplanData.html +0 -331
- package/docs/interfaces/FloorplanEntrance.html +0 -356
- package/docs/interfaces/FloorplanExtraObject.html +0 -346
- package/docs/interfaces/FloorplanExtraObject3D.html +0 -335
- package/docs/interfaces/FloorplanFloorData.html +0 -324
- package/docs/interfaces/FloorplanImagePosition.html +0 -310
- package/docs/interfaces/FloorplanObserver.html +0 -328
- package/docs/interfaces/FloorplanOutlineItem.html +0 -324
- package/docs/interfaces/FloorplanPosition.html +0 -310
- package/docs/interfaces/FloorplanRoomItem.html +0 -375
- package/docs/interfaces/FloorplanRoomLabelItem.html +0 -316
- package/docs/interfaces/FloorplanServerBounding.html +0 -328
- package/docs/interfaces/FloorplanServerComputedData.html +0 -327
- package/docs/interfaces/FloorplanServerData.html +0 -310
- package/docs/interfaces/FloorplanServerDoorItem.html +0 -327
- package/docs/interfaces/FloorplanServerDoorPosition.html +0 -313
- package/docs/interfaces/FloorplanServerEntrance.html +0 -356
- package/docs/interfaces/FloorplanServerFloorData.html +0 -324
- package/docs/interfaces/FloorplanServerImagePosition.html +0 -310
- package/docs/interfaces/FloorplanServerObserver.html +0 -328
- package/docs/interfaces/FloorplanServerOutlineItem.html +0 -324
- package/docs/interfaces/FloorplanServerPosition.html +0 -310
- package/docs/interfaces/FloorplanServerRoomItem.html +0 -387
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +0 -316
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +0 -319
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +0 -357
- package/docs/interfaces/GuideLinePluginType.EventMap.html +0 -521
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +0 -352
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +0 -343
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +0 -410
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +0 -342
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +0 -467
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +0 -339
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +0 -467
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +0 -304
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +0 -325
- package/docs/interfaces/GuideLinePluginType.PluginState.html +0 -350
- package/docs/interfaces/GuideLinePluginType.Route.html +0 -366
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +0 -348
- package/docs/interfaces/HelperOffset.html +0 -328
- package/docs/interfaces/ImagePlaneGroup.html +0 -302
- package/docs/interfaces/ItemLabelPluginData.html +0 -299
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +0 -384
- package/docs/interfaces/ItemLabelPluginParametersType.html +0 -320
- package/docs/interfaces/MinMax.html +0 -306
- package/docs/interfaces/ModelChassisCompassPluginData.html +0 -306
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +0 -342
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +0 -306
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +0 -313
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +0 -350
- package/docs/interfaces/ModelItemLabelPluginData.html +0 -299
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +0 -384
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +0 -306
- package/docs/interfaces/ModelRoomLabelPluginData.html +0 -299
- package/docs/interfaces/ModelTVVideoPluginData.html +0 -320
- package/docs/interfaces/ModelTVVideoPluginExportType.html +0 -344
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +0 -299
- package/docs/interfaces/ModelViewPluginExportType.html +0 -412
- package/docs/interfaces/Object3DHelperState.html +0 -313
- package/docs/interfaces/ObjectHelperControllers.html +0 -320
- package/docs/interfaces/PaintBrushAction.html +0 -359
- package/docs/interfaces/PaintBrushConfigs.html +0 -357
- package/docs/interfaces/PaintBrushState.html +0 -341
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +0 -421
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +0 -278
- package/docs/interfaces/PanoMeasureParameterType.html +0 -445
- package/docs/interfaces/PanoMeasurePluginLineJson.html +0 -313
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +0 -310
- package/docs/interfaces/PanoMeasurePluginPointJson.html +0 -306
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +0 -316
- package/docs/interfaces/PanoRulerPluginExportType.html +0 -373
- package/docs/interfaces/PanoRulerPluginOptions.html +0 -322
- package/docs/interfaces/PanoRulerPluginParameterType.html +0 -313
- package/docs/interfaces/PanoRulerProPluginExportType.html +0 -349
- package/docs/interfaces/PanoRulerProPluginOptions.html +0 -319
- package/docs/interfaces/PanoRulerProPluginParameterType.html +0 -306
- package/docs/interfaces/PanoRulerProPluginState.html +0 -313
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +0 -292
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +0 -281
- package/docs/interfaces/PanoSpatialTagPluginData.html +0 -349
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +0 -331
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +0 -427
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +0 -327
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +0 -348
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +0 -334
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +0 -327
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +0 -319
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +0 -337
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +0 -310
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +0 -416
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +0 -310
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +0 -345
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +0 -364
- package/docs/interfaces/Point.html +0 -313
- package/docs/interfaces/Room.html +0 -320
- package/docs/interfaces/RoomInfo.html +0 -306
- package/docs/interfaces/RoomLabel.html +0 -382
- package/docs/interfaces/RoomRules.html +0 -281
- package/docs/interfaces/Rooms.html +0 -281
- package/docs/interfaces/Scissor.html +0 -340
- package/docs/interfaces/State.html +0 -327
- package/docs/interfaces/TagCacheInterface.html +0 -351
- package/docs/interfaces/TagConfig.html +0 -541
- package/docs/interfaces/TagGLTFObjectGroup.html +0 -302
- package/docs/interfaces/TagIconUrl.html +0 -359
- package/docs/interfaces/TagObjectGroup.html +0 -302
- package/docs/interfaces/TagStyle.html +0 -312
- package/docs/interfaces/Tags.html +0 -542
- package/docs/interfaces/TemporaryState.html +0 -299
- package/docs/interfaces/Util.MagnifierParameter.html +0 -386
- package/docs/interfaces/Util.MouseGroupParameter.html +0 -345
- package/docs/interfaces/Util.PointIntersection.html +0 -360
- package/docs/modules/AreaMakerPluginPluginType.html +0 -319
- package/docs/modules/CruisePluginTypes.html +0 -324
- package/docs/modules/GuideLineItem.html +0 -285
- package/docs/modules/GuideLineModeItem.html +0 -290
- package/docs/modules/GuideLinePluginType.html +0 -344
- package/docs/modules/PanoVideoPluginType.html +0 -297
- package/docs/modules/Util.html +0 -345
- package/docs/modules.html +0 -532
- package/docs/types/AreaMakerPluginPluginType.AreaMakerItemEventMap.html +0 -327
- package/docs/types/AreaMakerPluginPluginType.PluginData.html +0 -297
- package/docs/types/AreaMakerPluginPluginType.ServerData.html +0 -297
- package/docs/types/ArrayPosition.html +0 -275
- package/docs/types/AudioAppearance.html +0 -275
- package/docs/types/AudioTagTypeConfigKey.html +0 -275
- package/docs/types/CSS3DRenderExportType.html +0 -275
- package/docs/types/CSS3DRenderPluginExportType.html +0 -275
- package/docs/types/CSS3DRenderPluginParameterType.html +0 -275
- package/docs/types/ClassFunctionParameters.html +0 -282
- package/docs/types/Color.html +0 -275
- package/docs/types/ContentTypeConfigKey.html +0 -275
- package/docs/types/ContentTypeConfigKeySplit.html +0 -275
- package/docs/types/ContentTypeMap.html +0 -275
- package/docs/types/Create3DDomContainerReturnType.html +0 -275
- package/docs/types/Create3DElementReturnType.html +0 -275
- package/docs/types/CruisePluginExportType.html +0 -275
- package/docs/types/CruisePluginTypes.CruiseData.html +0 -314
- package/docs/types/CruisePluginTypes.MoveEffect.html +0 -291
- package/docs/types/DeprecatedMediaPlaneProperty.html +0 -287
- package/docs/types/DeprecatedTagProperty.html +0 -290
- package/docs/types/Direction-1.html +0 -275
- package/docs/types/Direction4.html +0 -275
- package/docs/types/ElementRenderer.html +0 -299
- package/docs/types/FloorplanRuleLabels.html +0 -278
- package/docs/types/FloorplanServerRuleLabels.html +0 -275
- package/docs/types/GuideLinePluginExportType.html +0 -275
- package/docs/types/GuideLinePluginType.GuideLineItem.html +0 -347
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +0 -368
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +0 -301
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +0 -304
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +0 -304
- package/docs/types/GuideLinePluginType.PathItem.html +0 -304
- package/docs/types/GuideLinePluginType.PluginData.html +0 -313
- package/docs/types/HelperEventMap.html +0 -513
- package/docs/types/LoadTagConfig.html +0 -275
- package/docs/types/MapviewFloorplanPluginParameterType.html +0 -275
- package/docs/types/MapviewFloorplanPluginReturnType.html +0 -275
- package/docs/types/MediaData.html +0 -291
- package/docs/types/MediaStore.html +0 -280
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +0 -282
- package/docs/types/ModelFloorplanPluginParameterType.html +0 -275
- package/docs/types/ModelFloorplanPluginReturnType.html +0 -275
- package/docs/types/ModelRoomLabelPluginParameters.html +0 -275
- package/docs/types/ModelRoomLabelPluginReturnType.html +0 -275
- package/docs/types/MoveArgs.html +0 -285
- package/docs/types/MoveOpts.html +0 -283
- package/docs/types/Object3DHelperEventMap.html +0 -368
- package/docs/types/ObjectFit.html +0 -275
- package/docs/types/PaintBrushEventMap.html +0 -306
- package/docs/types/PanoCompassPluginData.html +0 -275
- package/docs/types/PanoCompassPluginExportType.html +0 -275
- package/docs/types/PanoCompassPluginParameterType.html +0 -275
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +0 -275
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +0 -275
- package/docs/types/PanoIndex.html +0 -275
- package/docs/types/PanoMeasurePluginEvent.html +0 -275
- package/docs/types/PanoMeasureReturnType.html +0 -275
- package/docs/types/PanoSpatialTagPluginId.html +0 -275
- package/docs/types/PanoTagPluginExportInterface.html +0 -275
- package/docs/types/PanoTagPluginParamsInterface.html +0 -275
- package/docs/types/PanoVideoPluginParameterType.html +0 -275
- package/docs/types/PanoVideoPluginReturnType.html +0 -275
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +0 -283
- package/docs/types/PipelinePluginParameterType.html +0 -275
- package/docs/types/PipelinePluginReturnType.html +0 -275
- package/docs/types/PlaneTag.html +0 -283
- package/docs/types/Point2DTag.html +0 -283
- package/docs/types/Point3DTag.html +0 -283
- package/docs/types/PointTag.html +0 -280
- package/docs/types/PointTagInstance.html +0 -280
- package/docs/types/Position.html +0 -275
- package/docs/types/RotateArgs.html +0 -287
- package/docs/types/RotateOpts.html +0 -283
- package/docs/types/RuleLabelsKey.html +0 -275
- package/docs/types/RuleLabelsValue.html +0 -275
- package/docs/types/StickType.html +0 -275
- package/docs/types/Tag.html +0 -341
- package/docs/types/Tag2D.html +0 -283
- package/docs/types/Tag3D.html +0 -283
- package/docs/types/TagConfigByKey.html +0 -280
- package/docs/types/TagContentType.html +0 -275
- package/docs/types/TagDimensionType.html +0 -277
- package/docs/types/TagElement.html +0 -285
- package/docs/types/TagEvents.html +0 -328
- package/docs/types/TagGLTFObject.html +0 -298
- package/docs/types/TagHooks.html +0 -275
- package/docs/types/TagId.html +0 -275
- package/docs/types/TagInstance.html +0 -347
- package/docs/types/TagPointType.html +0 -278
- package/docs/types/TagRendererMap.html +0 -280
- package/docs/types/TopviewFloorplanPluginParameterType.html +0 -275
- package/docs/types/TopviewFloorplanPluginReturnType.html +0 -275
- package/docs/types/WorkCode.html +0 -275
- package/docs/variables/FLOOR_TYPE_MAP.html +0 -285
- package/docs/variables/PLUGIN.html +0 -275
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +0 -278
- package/docs/variables/ROOM_TYPE_MAP.html +0 -285
- package/docs/variables/defaultGlobalConfig.html +0 -275
- package/docs/variables/itemLabelPluginServerParams.html +0 -282
- package/docs/variables/modelItemLabelPluginServerParams.html +0 -282
- package/docs/variables/modelRoomLabelPluginServerParams.html +0 -282
|
@@ -10,8 +10,8 @@ import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
|
10
10
|
import { Object3D as b } from "../../shared-utils/three/core/Object3D.js";
|
|
11
11
|
import { LineSegments as k } from "../../shared-utils/three/objects/LineSegments.js";
|
|
12
12
|
import { BetterTween as y } from "../../shared-utils/animationFrame/BetterTween.js";
|
|
13
|
-
import { LabelItem as
|
|
14
|
-
import { getCenterPointOfPoints as
|
|
13
|
+
import { LabelItem as O } from "../../components/AreaLabel/LabelItem.js";
|
|
14
|
+
import { getCenterPointOfPoints as T } from "../../shared-utils/math/planimetry.js";
|
|
15
15
|
import { Subscribe as C } from "../../shared-utils/Subscribe.js";
|
|
16
16
|
import "../../shared-utils/positionToVector3.js";
|
|
17
17
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
@@ -27,7 +27,7 @@ import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
|
27
27
|
import "../../shared-utils/animationFrame/index.js";
|
|
28
28
|
import "../../vendor/svelte/internal/index.js";
|
|
29
29
|
import "../../components/AreaLabel/Assets/roomLabelBg.js";
|
|
30
|
-
class
|
|
30
|
+
class M extends b {
|
|
31
31
|
constructor(e) {
|
|
32
32
|
super();
|
|
33
33
|
i(this, "areaMakerItem");
|
|
@@ -129,9 +129,6 @@ class q {
|
|
|
129
129
|
i(this, "onPluginConfigChange", (t) => {
|
|
130
130
|
this.makerObject.material.depthTest = t.config.modelDepthTest, this.outline.material.depthTest = t.config.modelDepthTest, this.plugin.five.needsRender = !0;
|
|
131
131
|
});
|
|
132
|
-
i(this, "onPluginStateChange", (t) => {
|
|
133
|
-
this.updateVisible(), this.updateTagVisible();
|
|
134
|
-
});
|
|
135
132
|
/** 更新标注可见性 */
|
|
136
133
|
i(this, "updateVisible", () => {
|
|
137
134
|
const { result: t, msg: e } = this.checkVisible();
|
|
@@ -183,10 +180,10 @@ class q {
|
|
|
183
180
|
});
|
|
184
181
|
var p, c, m;
|
|
185
182
|
const s = e.object_data, o = s.bottom_y, r = s.height, l = new a.Color((p = s.color) != null ? p : "#FFFFFF"), h = (c = s.opacity) != null ? c : 0.4;
|
|
186
|
-
this.id = e.id, this.name = (m = e.name) != null ? m : "", this.plugin = t, this.height = r, this.bottomY = o, this.opacity = h, this.shape = new a.Shape().fromJSON(s.shape), this.floorIndex = e.floor_index, this.makerObject = new a.Mesh(u(this.shape, r),
|
|
183
|
+
this.id = e.id, this.name = (m = e.name) != null ? m : "", this.plugin = t, this.height = r, this.bottomY = o, this.opacity = h, this.shape = new a.Shape().fromJSON(s.shape), this.floorIndex = e.floor_index, this.makerObject = new a.Mesh(u(this.shape, r), v(l, h)), g(this.makerObject, o), this.makerObject.material.depthTest = this.plugin.config.modelDepthTest, this.outline = new k(
|
|
187
184
|
new a.EdgesGeometry(this.makerObject.geometry),
|
|
188
185
|
new a.LineBasicMaterial({ color: l, transparent: !0 })
|
|
189
|
-
), g(this.outline, o), this.outline.material.depthTest = this.plugin.config.modelDepthTest, this.setHeight(r), this.modelGroup = new
|
|
186
|
+
), g(this.outline, o), this.outline.material.depthTest = this.plugin.config.modelDepthTest, this.setHeight(r), this.modelGroup = new M(this);
|
|
190
187
|
}
|
|
191
188
|
/** 挂载标注 */
|
|
192
189
|
mount() {
|
|
@@ -197,14 +194,14 @@ class q {
|
|
|
197
194
|
transform: `translate(${this.tagTransform.left}px, ${this.tagTransform.top}px)`,
|
|
198
195
|
onClick: (o) => this.hooks.emit("tagClick", { target: this, nativeEvent: o })
|
|
199
196
|
};
|
|
200
|
-
this.tagApp = new
|
|
197
|
+
this.tagApp = new O({ target: e, props: s }), this.updateTag();
|
|
201
198
|
}
|
|
202
|
-
this.plugin.five.needsRender = !0, this.plugin.hooks.on("
|
|
199
|
+
this.plugin.five.needsRender = !0, this.plugin.hooks.on("configChange", this.onPluginConfigChange), this.plugin.hooks.on("stateChange", this.updateVisible), this.plugin.five.on("modeChange", this.updateVisible), this.plugin.five.on("modelShownFloorChange", this.updateVisible), this.plugin.five.on("cameraUpdate", this.onFiveCameraUpdate);
|
|
203
200
|
}
|
|
204
201
|
/** 卸载标注 */
|
|
205
202
|
unmount() {
|
|
206
203
|
var t;
|
|
207
|
-
this.mounted = !1, this.modelGroup.remove(...this.modelGroup.children), (t = this.tagApp) == null || t.$destroy(), this.tagApp = null, this.plugin.hooks.off("
|
|
204
|
+
this.mounted = !1, this.modelGroup.remove(...this.modelGroup.children), (t = this.tagApp) == null || t.$destroy(), this.tagApp = null, this.plugin.hooks.off("configChange", this.onPluginConfigChange), this.plugin.hooks.off("stateChange", this.updateVisible), this.plugin.five.off("modeChange", this.updateVisible), this.plugin.five.off("modelShownFloorChange", this.updateVisible), this.plugin.five.off("cameraUpdate", this.onFiveCameraUpdate);
|
|
208
205
|
}
|
|
209
206
|
/** 更改标注透明度
|
|
210
207
|
* @param opacity 标注透明度,范围:0-1
|
|
@@ -228,7 +225,7 @@ class q {
|
|
|
228
225
|
if (t <= 0)
|
|
229
226
|
throw new Error("高度必须大于 0");
|
|
230
227
|
this.height = t, this.makerObject.geometry = u(this.shape, t), this.outline.geometry = new a.EdgesGeometry(this.makerObject.geometry);
|
|
231
|
-
const e = this.shape.extractPoints(10).shape.slice(0, -1), s =
|
|
228
|
+
const e = this.shape.extractPoints(10).shape.slice(0, -1), s = T(e), o = new a.Vector3(s.x, s.y, t);
|
|
232
229
|
g(o, this.bottomY), this.tagPosition.copy(o), this.updateTag(), this.plugin.five.needsRender = !0;
|
|
233
230
|
}
|
|
234
231
|
/** 更改标注标签的显示层级
|
|
@@ -250,7 +247,7 @@ function u(n, t) {
|
|
|
250
247
|
bevelEnabled: !1
|
|
251
248
|
});
|
|
252
249
|
}
|
|
253
|
-
function
|
|
250
|
+
function v(n, t) {
|
|
254
251
|
return new a.MeshBasicMaterial({
|
|
255
252
|
color: n,
|
|
256
253
|
opacity: t,
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
var E = Object.defineProperty;
|
|
2
|
-
var
|
|
3
|
-
var r = (
|
|
4
|
-
var
|
|
5
|
-
var o = (
|
|
2
|
+
var F = (u, d, e) => d in u ? E(u, d, { enumerable: !0, configurable: !0, writable: !0, value: e }) : u[d] = e;
|
|
3
|
+
var r = (u, d, e) => (F(u, typeof d != "symbol" ? d + "" : d, e), e);
|
|
4
|
+
var l = (u, d, e) => new Promise((t, i) => {
|
|
5
|
+
var o = (s) => {
|
|
6
6
|
try {
|
|
7
|
-
n(e.next(
|
|
7
|
+
n(e.next(s));
|
|
8
8
|
} catch (h) {
|
|
9
|
-
|
|
9
|
+
i(h);
|
|
10
10
|
}
|
|
11
|
-
}, a = (
|
|
11
|
+
}, a = (s) => {
|
|
12
12
|
try {
|
|
13
|
-
n(e.throw(
|
|
13
|
+
n(e.throw(s));
|
|
14
14
|
} catch (h) {
|
|
15
|
-
|
|
15
|
+
i(h);
|
|
16
16
|
}
|
|
17
|
-
}, n = (
|
|
18
|
-
n((e = e.apply(
|
|
17
|
+
}, n = (s) => s.done ? t(s.value) : Promise.resolve(s.value).then(o, a);
|
|
18
|
+
n((e = e.apply(u, d)).next());
|
|
19
19
|
});
|
|
20
|
-
import * as
|
|
21
|
-
import { Vector3 as
|
|
22
|
-
import { centerPoint as
|
|
23
|
-
import { loadTexture as
|
|
24
|
-
import { QuadrangleGeometry as
|
|
20
|
+
import * as c from "three";
|
|
21
|
+
import { Vector3 as y } from "three";
|
|
22
|
+
import { centerPoint as T } from "../../../shared-utils/three/centerPoint.js";
|
|
23
|
+
import { loadTexture as x } from "../../../shared-utils/three/loadTexture.js";
|
|
24
|
+
import { QuadrangleGeometry as C, QuadrangleMesh as I } from "../../../shared-utils/three/Quadrangle.js";
|
|
25
25
|
import { getVideoTexture as B } from "../../../shared-utils/three/loadVideoTexture.js";
|
|
26
26
|
import { Image_Play_Icon_With_Text as L, Image_Play_Icon as b } from "../../Assets/Icon.js";
|
|
27
27
|
import { getPositionsByObjectFit as f } from "../../../shared-utils/three/getPositionsByObjectFit.js";
|
|
28
28
|
import { FragmentTransparencyMaterial as H } from "../../../shared-utils/three/FragmentTransparencyMaterial.js";
|
|
29
29
|
import "../../../shared-utils/math/pointIsRectangle.js";
|
|
30
30
|
import "../../../shared-utils/device.js";
|
|
31
|
-
class P extends
|
|
31
|
+
class P extends c.Mesh {
|
|
32
32
|
constructor() {
|
|
33
33
|
super(...arguments);
|
|
34
34
|
r(this, "name", "MediaPlane");
|
|
@@ -49,46 +49,48 @@ class P extends l.Mesh {
|
|
|
49
49
|
});
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
|
-
class
|
|
53
|
-
constructor(e, t,
|
|
52
|
+
class Z extends P {
|
|
53
|
+
constructor(e, t, i) {
|
|
54
54
|
var n;
|
|
55
55
|
super();
|
|
56
56
|
r(this, "name", "PanoTagPluginImagePlane");
|
|
57
57
|
this.src = e;
|
|
58
|
-
const o = (n =
|
|
58
|
+
const o = (n = i == null ? void 0 : i.resolveZFighting) != null ? n : !0;
|
|
59
59
|
let a = t;
|
|
60
60
|
if (o) {
|
|
61
|
-
const
|
|
62
|
-
new
|
|
63
|
-
new
|
|
61
|
+
const s = new c.Vector3().crossVectors(
|
|
62
|
+
new c.Vector3().subVectors(t[0], t[1]),
|
|
63
|
+
new c.Vector3().subVectors(t[0], t[3])
|
|
64
64
|
).normalize().multiplyScalar(5e-4);
|
|
65
|
-
a = t.map((h) => h.clone().add(
|
|
65
|
+
a = t.map((h) => h.clone().add(s));
|
|
66
66
|
}
|
|
67
|
-
|
|
67
|
+
x(e).then((s) => {
|
|
68
68
|
var g;
|
|
69
|
-
const h = new URL(e, location.href).pathname.endsWith(".png")
|
|
70
|
-
|
|
69
|
+
const h = new URL(e, location.href).pathname.toLowerCase().endsWith(".png");
|
|
70
|
+
h && (s.minFilter = c.NearestFilter, s.magFilter = c.NearestFilter);
|
|
71
|
+
const v = new c.MeshBasicMaterial({ map: s, transparent: h }), p = f(
|
|
72
|
+
(g = i == null ? void 0 : i.objectFit) != null ? g : "contain",
|
|
71
73
|
a,
|
|
72
|
-
|
|
73
|
-
), m =
|
|
74
|
-
this.position.copy(m), this.geometry =
|
|
75
|
-
}).catch((
|
|
76
|
-
console.error(`Imageplane error ${
|
|
74
|
+
s.image.width / s.image.height
|
|
75
|
+
), m = T(...p), M = p.map((V) => V.clone().sub(m)), w = new C(M);
|
|
76
|
+
this.position.copy(m), this.geometry = w, this.material = v;
|
|
77
|
+
}).catch((s) => {
|
|
78
|
+
console.error(`Imageplane error ${s == null ? void 0 : s.message}`);
|
|
77
79
|
});
|
|
78
80
|
}
|
|
79
81
|
}
|
|
80
|
-
class
|
|
82
|
+
class G extends P {
|
|
81
83
|
// eslint-disable-next-line max-params
|
|
82
|
-
constructor(e, t,
|
|
84
|
+
constructor(e, t, i) {
|
|
83
85
|
const {
|
|
84
86
|
videoCoverSrc: o,
|
|
85
87
|
objectFit: a = "contain",
|
|
86
88
|
playButton: n = "withText",
|
|
87
|
-
paused:
|
|
89
|
+
paused: s = !0,
|
|
88
90
|
videoTextureMap: h,
|
|
89
|
-
ImageTextureMap:
|
|
91
|
+
ImageTextureMap: v,
|
|
90
92
|
domEvents: p
|
|
91
|
-
} =
|
|
93
|
+
} = i != null ? i : {};
|
|
92
94
|
super();
|
|
93
95
|
r(this, "isVideoPlane", !0);
|
|
94
96
|
r(this, "name", "PanoTagPluginImagePlane");
|
|
@@ -105,8 +107,8 @@ class O extends P {
|
|
|
105
107
|
r(this, "buttonMesh");
|
|
106
108
|
r(this, "videoTextureMap");
|
|
107
109
|
r(this, "ImageTextureMap");
|
|
108
|
-
this.cornerPoints = t, this.src = e, this.buttonSrc = (() => n === "withText" ? L : n === "withoutText" ? b : typeof n == "string" ? n : b)(), this.videoCoverSrc = o, this.objectFit = a, this.videoTextureMap = h, this.ImageTextureMap =
|
|
109
|
-
|
|
110
|
+
this.cornerPoints = t, this.src = e, this.buttonSrc = (() => n === "withText" ? L : n === "withoutText" ? b : typeof n == "string" ? n : b)(), this.videoCoverSrc = o, this.objectFit = a, this.videoTextureMap = h, this.ImageTextureMap = v, this.domEvents = p, this.position.copy(T(...t)), this.videoCoverSrc && s ? this.addCoverMesh().then(() => this.addButtonMesh()) : this.addVideoMesh().then(() => {
|
|
111
|
+
s ? this.addButtonMesh() : this.play(!0);
|
|
110
112
|
}), this.addEventListener("removed", () => {
|
|
111
113
|
this.remove(...this.children);
|
|
112
114
|
}), this.addEventListener("dispose", () => {
|
|
@@ -115,7 +117,7 @@ class O extends P {
|
|
|
115
117
|
});
|
|
116
118
|
}
|
|
117
119
|
play(e = !1) {
|
|
118
|
-
return
|
|
120
|
+
return l(this, null, function* () {
|
|
119
121
|
this.videoMesh || (yield this.addVideoMesh()), this.showPlayUI(), this.videoInstance.paused && this.videoInstance.play().then(() => this.showPlayUI()).catch((t) => {
|
|
120
122
|
this.pause(), console.error("play error", t);
|
|
121
123
|
}), this.videoInstance.muted = e, this.render();
|
|
@@ -125,17 +127,17 @@ class O extends P {
|
|
|
125
127
|
this.videoInstance && (this.videoInstance.pause(), this.showPauseUI().then(() => this.render()));
|
|
126
128
|
}
|
|
127
129
|
initialRenderHooks(e) {
|
|
128
|
-
const
|
|
130
|
+
const i = e(() => {
|
|
129
131
|
var o;
|
|
130
132
|
this.videoMesh && ((o = this.videoInstance) == null ? void 0 : o.paused) === !1 && (this.videoMesh.needsRender = !0);
|
|
131
133
|
});
|
|
132
|
-
this.disposers.push(() =>
|
|
134
|
+
this.disposers.push(() => i);
|
|
133
135
|
}
|
|
134
136
|
showPlayUI() {
|
|
135
137
|
this.coverMesh && (this.coverMesh.visible = !1), this.remove(this.buttonMesh), this.videoMesh.visible = !0;
|
|
136
138
|
}
|
|
137
139
|
showPauseUI() {
|
|
138
|
-
return
|
|
140
|
+
return l(this, null, function* () {
|
|
139
141
|
this.coverMesh ? (this.coverMesh.visible = !0, this.videoMesh && (this.videoMesh.visible = !1)) : (yield this.addCoverMesh(), this.coverMesh && (this.videoMesh.visible = !1)), this.addButtonMesh().then(() => this.render());
|
|
140
142
|
});
|
|
141
143
|
}
|
|
@@ -144,10 +146,10 @@ class O extends P {
|
|
|
144
146
|
this.videoMesh && (this.videoMesh.needsRender = !0), this.coverMesh && (this.coverMesh.needsRender = !0), this.buttonMesh && (this.buttonMesh.needsRender = !0), this.videoMesh && ((e = this.videoInstance) == null ? void 0 : e.paused) === !1 && (this.videoMesh.needsRender = !0);
|
|
145
147
|
}
|
|
146
148
|
addCoverMesh() {
|
|
147
|
-
return
|
|
149
|
+
return l(this, null, function* () {
|
|
148
150
|
if (this.children.includes(this.coverMesh))
|
|
149
151
|
return;
|
|
150
|
-
const e = yield (() =>
|
|
152
|
+
const e = yield (() => l(this, null, function* () {
|
|
151
153
|
if (this.coverMesh)
|
|
152
154
|
return this.coverMesh;
|
|
153
155
|
if (!this.videoCoverSrc)
|
|
@@ -155,28 +157,28 @@ class O extends P {
|
|
|
155
157
|
const t = yield this.getImageTexture(this.videoCoverSrc);
|
|
156
158
|
if (!t)
|
|
157
159
|
return;
|
|
158
|
-
const
|
|
159
|
-
return a.position.copy(new
|
|
160
|
+
const i = new c.MeshBasicMaterial({ transparent: !1, map: t }), o = f(this.objectFit, this.cornerPoints, t.image.width / t.image.height), a = new I(o, i);
|
|
161
|
+
return a.position.copy(new y(0, 0, 0)), a.name = "videoCoverMesh", a;
|
|
160
162
|
}))();
|
|
161
163
|
return e && (this.children.includes(this.coverMesh) || (this.add(e), this.coverMesh = e)), e;
|
|
162
164
|
});
|
|
163
165
|
}
|
|
164
166
|
addVideoMesh() {
|
|
165
|
-
return
|
|
167
|
+
return l(this, null, function* () {
|
|
166
168
|
if (this.children.includes(this.videoMesh))
|
|
167
169
|
return;
|
|
168
|
-
const e = yield (() =>
|
|
170
|
+
const e = yield (() => l(this, null, function* () {
|
|
169
171
|
if (this.videoMesh)
|
|
170
172
|
return this.videoMesh;
|
|
171
173
|
if (!this.src)
|
|
172
174
|
return;
|
|
173
|
-
const
|
|
174
|
-
|
|
175
|
+
const i = this.getVideoTexture(this.src), o = new c.MeshBasicMaterial({ transparent: !1, map: i }), a = yield new Promise((s) => {
|
|
176
|
+
i.metadataLoaded ? s(f(this.objectFit, this.cornerPoints, i.image.videoWidth / i.image.videoHeight)) : i.addEventListener(
|
|
175
177
|
"videoLoaded",
|
|
176
|
-
() =>
|
|
178
|
+
() => s(f(this.objectFit, this.cornerPoints, i.image.videoWidth / i.image.videoHeight))
|
|
177
179
|
);
|
|
178
180
|
}), n = new I(a, o);
|
|
179
|
-
return n.name = "videoMesh", n.position.copy(new
|
|
181
|
+
return n.name = "videoMesh", n.position.copy(new y(0, 0, 0)), n;
|
|
180
182
|
}))();
|
|
181
183
|
if (!e)
|
|
182
184
|
return;
|
|
@@ -192,39 +194,39 @@ class O extends P {
|
|
|
192
194
|
});
|
|
193
195
|
}
|
|
194
196
|
addButtonMesh() {
|
|
195
|
-
return
|
|
197
|
+
return l(this, null, function* () {
|
|
196
198
|
if (this.children.includes(this.buttonMesh))
|
|
197
199
|
return;
|
|
198
|
-
const e = yield (() =>
|
|
199
|
-
var m, M,
|
|
200
|
+
const e = yield (() => l(this, null, function* () {
|
|
201
|
+
var m, M, w, g;
|
|
200
202
|
if (this.buttonMesh)
|
|
201
203
|
return this.buttonMesh;
|
|
202
|
-
const t = (M = (m = this.videoMesh) == null ? void 0 : m.geometry.points[0].distanceTo(this.videoMesh.geometry.points[3])) != null ? M : 1 / 0,
|
|
203
|
-
|
|
204
|
-
const p = new
|
|
205
|
-
return
|
|
204
|
+
const t = (M = (m = this.videoMesh) == null ? void 0 : m.geometry.points[0].distanceTo(this.videoMesh.geometry.points[3])) != null ? M : 1 / 0, i = (g = (w = this.coverMesh) == null ? void 0 : w.geometry.points[0].distanceTo(this.coverMesh.geometry.points[3])) != null ? g : 1 / 0, o = this.cornerPoints[0].distanceTo(this.cornerPoints[3]), n = Math.min(t, i, o) / o * 0.3, s = yield this.getImageTexture(this.buttonSrc), h = f("contain", this.cornerPoints, s.image.width / s.image.height), v = new I(h, new H(s));
|
|
205
|
+
v.position.copy(new y(0, 0, 0)), v.name = "buttonMesh", v.scale.set(n, n, n), this.domEvents.addAutoBindEventListener(v, "click", () => this.play());
|
|
206
|
+
const p = new c.Vector3().crossVectors(new c.Vector3().subVectors(h[0], h[1]), new c.Vector3().subVectors(h[0], h[3])).normalize().multiplyScalar(1e-4);
|
|
207
|
+
return v.position.add(p), v;
|
|
206
208
|
}))();
|
|
207
209
|
return this.children.includes(this.buttonMesh) || (this.add(e), this.buttonMesh = e), e;
|
|
208
210
|
});
|
|
209
211
|
}
|
|
210
212
|
getImageTexture(e) {
|
|
211
|
-
return
|
|
212
|
-
var
|
|
213
|
-
if ((
|
|
213
|
+
return l(this, null, function* () {
|
|
214
|
+
var i, o;
|
|
215
|
+
if ((i = this.ImageTextureMap) != null && i.has(e))
|
|
214
216
|
return this.ImageTextureMap.get(e);
|
|
215
|
-
const t = yield
|
|
217
|
+
const t = yield x(e);
|
|
216
218
|
return (o = this.ImageTextureMap) == null || o.set(e, t), t;
|
|
217
219
|
});
|
|
218
220
|
}
|
|
219
221
|
getVideoTexture(e) {
|
|
220
|
-
var
|
|
221
|
-
if ((
|
|
222
|
+
var i, o;
|
|
223
|
+
if ((i = this.videoTextureMap) != null && i.has(e))
|
|
222
224
|
return this.videoTextureMap.get(e);
|
|
223
225
|
const t = B(e);
|
|
224
226
|
return (o = this.videoTextureMap) == null || o.set(e, t), t;
|
|
225
227
|
}
|
|
226
228
|
}
|
|
227
229
|
export {
|
|
228
|
-
|
|
229
|
-
|
|
230
|
+
Z as ImagePlane,
|
|
231
|
+
G as VideoPlane
|
|
230
232
|
};
|
package/libs/base/BasePlugin.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
function A() {
|
|
2
2
|
console.debug(
|
|
3
|
-
"%c %c@realsee/dnalogel %cv2.28.1
|
|
3
|
+
"%c %c@realsee/dnalogel %cv2.28.1",
|
|
4
4
|
[
|
|
5
5
|
"background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAMCAMAAACHgmeRAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABLFBMVEUAAAAapPoap/oaqvkbrfkbr/gZnfwZoPsaqfnD4v/E4/8Ylv0clPm93/+/4P/B4f8Yj/683/8Wif+33P8Uhv+x2f8ShP+s1v8Pgf+n0/8Nf/+h0f8Lff8Lff8Nf/9dl/+czv8KfP8KfP+Lxf+Uyv+Xy/+Hwv+Jw/+Mxf+Oxv+RyP8aovsapfoap/oZmfwZm/wZnvsYnPsYkf4YlP0NePsDYfgYcfi43f+63v8Xiv8Xjf4EWfwCV/sWZ/qz2v+02/8Vh/8WiP8EUf8CTf4WXv2u1/+v2P8Thf8Thv8ETf8CR/8VV/+o1f+q1f8Qgv8Rg/8DSv8BRf8UVP+j0v+k0v8OgP8Pgf8DR/8DQv9Nhf+dzv+fz/+Kv/+Vyv+Xy/+azf+Oxv+Qx/+SyP////8MUhLdAAAAK3RSTlMACEWQ2bd98uQECPXxqO7c+Pb49vj2+Pb49vj23Oul8fMHA+TwerXXjEIG2P+bHgAAAAFiS0dEY1y+LaoAAAB+SURBVAjXY2BgZGJmYWVgYGBgY9fW0eVg4ORi4NbTNzDk4eXjZxAwMjYxNTO3EGQQsrSytrG1sxdmEHFwdHJ2cXUTZRBz9/D08vbxFWeQ8PMPCAwKDpFkkAoNC4+IjIqWZpCRlZOPiY2LV2BQVGJQTkhMUlEFWaOmrqGpxQAAyg0S9Dq+VPYAAAAASUVORK5CYII=')",
|
|
6
6
|
"background-repeat: no-repeat",
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"repository": "https://github.com/realsee-developer/dnalogel.git",
|
|
8
8
|
"description": "如视 VR 看房插件合集",
|
|
9
9
|
"private": false,
|
|
10
|
-
"version": "2.28.1
|
|
10
|
+
"version": "2.28.1",
|
|
11
11
|
"license": "SEE LICENSE IN TERMS.txt",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"clean": "rm -rf components dist docs libs types ./vite.config.js.timestamp*",
|
package/docs/.nojekyll
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
TypeDoc added this file to prevent GitHub Pages from using Jekyll. You can turn off this behavior by setting the `githubPages` option to false.
|
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
:root {
|
|
2
|
-
--light-hl-0: #795E26;
|
|
3
|
-
--dark-hl-0: #DCDCAA;
|
|
4
|
-
--light-hl-1: #000000;
|
|
5
|
-
--dark-hl-1: #D4D4D4;
|
|
6
|
-
--light-hl-2: #A31515;
|
|
7
|
-
--dark-hl-2: #CE9178;
|
|
8
|
-
--light-hl-3: #AF00DB;
|
|
9
|
-
--dark-hl-3: #C586C0;
|
|
10
|
-
--light-hl-4: #001080;
|
|
11
|
-
--dark-hl-4: #9CDCFE;
|
|
12
|
-
--light-hl-5: #0000FF;
|
|
13
|
-
--dark-hl-5: #569CD6;
|
|
14
|
-
--light-hl-6: #0070C1;
|
|
15
|
-
--dark-hl-6: #4FC1FF;
|
|
16
|
-
--light-hl-7: #008000;
|
|
17
|
-
--dark-hl-7: #6A9955;
|
|
18
|
-
--light-hl-8: #000000;
|
|
19
|
-
--dark-hl-8: #C8C8C8;
|
|
20
|
-
--light-hl-9: #811F3F;
|
|
21
|
-
--dark-hl-9: #D16969;
|
|
22
|
-
--light-hl-10: #EE0000;
|
|
23
|
-
--dark-hl-10: #D7BA7D;
|
|
24
|
-
--light-hl-11: #000000;
|
|
25
|
-
--dark-hl-11: #D7BA7D;
|
|
26
|
-
--light-hl-12: #EE0000;
|
|
27
|
-
--dark-hl-12: #DCDCAA;
|
|
28
|
-
--light-hl-13: #267F99;
|
|
29
|
-
--dark-hl-13: #4EC9B0;
|
|
30
|
-
--light-code-background: #FFFFFF;
|
|
31
|
-
--dark-code-background: #1E1E1E;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
@media (prefers-color-scheme: light) { :root {
|
|
35
|
-
--hl-0: var(--light-hl-0);
|
|
36
|
-
--hl-1: var(--light-hl-1);
|
|
37
|
-
--hl-2: var(--light-hl-2);
|
|
38
|
-
--hl-3: var(--light-hl-3);
|
|
39
|
-
--hl-4: var(--light-hl-4);
|
|
40
|
-
--hl-5: var(--light-hl-5);
|
|
41
|
-
--hl-6: var(--light-hl-6);
|
|
42
|
-
--hl-7: var(--light-hl-7);
|
|
43
|
-
--hl-8: var(--light-hl-8);
|
|
44
|
-
--hl-9: var(--light-hl-9);
|
|
45
|
-
--hl-10: var(--light-hl-10);
|
|
46
|
-
--hl-11: var(--light-hl-11);
|
|
47
|
-
--hl-12: var(--light-hl-12);
|
|
48
|
-
--hl-13: var(--light-hl-13);
|
|
49
|
-
--code-background: var(--light-code-background);
|
|
50
|
-
} }
|
|
51
|
-
|
|
52
|
-
@media (prefers-color-scheme: dark) { :root {
|
|
53
|
-
--hl-0: var(--dark-hl-0);
|
|
54
|
-
--hl-1: var(--dark-hl-1);
|
|
55
|
-
--hl-2: var(--dark-hl-2);
|
|
56
|
-
--hl-3: var(--dark-hl-3);
|
|
57
|
-
--hl-4: var(--dark-hl-4);
|
|
58
|
-
--hl-5: var(--dark-hl-5);
|
|
59
|
-
--hl-6: var(--dark-hl-6);
|
|
60
|
-
--hl-7: var(--dark-hl-7);
|
|
61
|
-
--hl-8: var(--dark-hl-8);
|
|
62
|
-
--hl-9: var(--dark-hl-9);
|
|
63
|
-
--hl-10: var(--dark-hl-10);
|
|
64
|
-
--hl-11: var(--dark-hl-11);
|
|
65
|
-
--hl-12: var(--dark-hl-12);
|
|
66
|
-
--hl-13: var(--dark-hl-13);
|
|
67
|
-
--code-background: var(--dark-code-background);
|
|
68
|
-
} }
|
|
69
|
-
|
|
70
|
-
:root[data-theme='light'] {
|
|
71
|
-
--hl-0: var(--light-hl-0);
|
|
72
|
-
--hl-1: var(--light-hl-1);
|
|
73
|
-
--hl-2: var(--light-hl-2);
|
|
74
|
-
--hl-3: var(--light-hl-3);
|
|
75
|
-
--hl-4: var(--light-hl-4);
|
|
76
|
-
--hl-5: var(--light-hl-5);
|
|
77
|
-
--hl-6: var(--light-hl-6);
|
|
78
|
-
--hl-7: var(--light-hl-7);
|
|
79
|
-
--hl-8: var(--light-hl-8);
|
|
80
|
-
--hl-9: var(--light-hl-9);
|
|
81
|
-
--hl-10: var(--light-hl-10);
|
|
82
|
-
--hl-11: var(--light-hl-11);
|
|
83
|
-
--hl-12: var(--light-hl-12);
|
|
84
|
-
--hl-13: var(--light-hl-13);
|
|
85
|
-
--code-background: var(--light-code-background);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
:root[data-theme='dark'] {
|
|
89
|
-
--hl-0: var(--dark-hl-0);
|
|
90
|
-
--hl-1: var(--dark-hl-1);
|
|
91
|
-
--hl-2: var(--dark-hl-2);
|
|
92
|
-
--hl-3: var(--dark-hl-3);
|
|
93
|
-
--hl-4: var(--dark-hl-4);
|
|
94
|
-
--hl-5: var(--dark-hl-5);
|
|
95
|
-
--hl-6: var(--dark-hl-6);
|
|
96
|
-
--hl-7: var(--dark-hl-7);
|
|
97
|
-
--hl-8: var(--dark-hl-8);
|
|
98
|
-
--hl-9: var(--dark-hl-9);
|
|
99
|
-
--hl-10: var(--dark-hl-10);
|
|
100
|
-
--hl-11: var(--dark-hl-11);
|
|
101
|
-
--hl-12: var(--dark-hl-12);
|
|
102
|
-
--hl-13: var(--dark-hl-13);
|
|
103
|
-
--code-background: var(--dark-code-background);
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
.hl-0 { color: var(--hl-0); }
|
|
107
|
-
.hl-1 { color: var(--hl-1); }
|
|
108
|
-
.hl-2 { color: var(--hl-2); }
|
|
109
|
-
.hl-3 { color: var(--hl-3); }
|
|
110
|
-
.hl-4 { color: var(--hl-4); }
|
|
111
|
-
.hl-5 { color: var(--hl-5); }
|
|
112
|
-
.hl-6 { color: var(--hl-6); }
|
|
113
|
-
.hl-7 { color: var(--hl-7); }
|
|
114
|
-
.hl-8 { color: var(--hl-8); }
|
|
115
|
-
.hl-9 { color: var(--hl-9); }
|
|
116
|
-
.hl-10 { color: var(--hl-10); }
|
|
117
|
-
.hl-11 { color: var(--hl-11); }
|
|
118
|
-
.hl-12 { color: var(--hl-12); }
|
|
119
|
-
.hl-13 { color: var(--hl-13); }
|
|
120
|
-
pre, code { background: var(--code-background); }
|