@realsee/dnalogel 2.3.9-alpha.8 → 2.5.0
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/PanoMeasurePlugin/Controller/BaseController.d.ts +5 -5
- package/dist/PanoMeasurePlugin/Controller/EditController.d.ts +5 -6
- package/dist/PanoMeasurePlugin/Controller/MixedController.d.ts +7 -9
- package/dist/PanoMeasurePlugin/Controller/ViewController.d.ts +6 -10
- package/dist/PanoMeasurePlugin/Controller/WatchController.d.ts +3 -3
- package/dist/PanoMeasurePlugin/Controller/index.d.ts +27 -9
- package/dist/PanoMeasurePlugin/Model/index.d.ts +17 -17
- package/dist/PanoMeasurePlugin/Model/line.d.ts +6 -4
- package/dist/PanoMeasurePlugin/Model/point.d.ts +2 -4
- package/dist/PanoMeasurePlugin/Model/polyline.d.ts +37 -12
- package/dist/PanoMeasurePlugin/Modules/GuideController.d.ts +2 -0
- package/dist/PanoMeasurePlugin/Modules/Magnifier.d.ts +29 -16
- package/dist/PanoMeasurePlugin/Modules/UIController/Revoke/index.d.ts +3 -4
- package/dist/PanoMeasurePlugin/Modules/UIController/index.d.ts +1 -2
- package/dist/PanoMeasurePlugin/index.d.ts +6 -2
- package/dist/PanoMeasurePlugin/typings/data.d.ts +6 -16
- package/dist/PanoMeasurePlugin/typings/event.type.d.ts +18 -14
- package/dist/PanoMeasurePlugin/typings/index.d.ts +4 -2
- package/dist/PanoMeasurePlugin/utils/distanceDom.d.ts +5 -3
- package/dist/index.cjs.js +102 -102
- package/dist/index.js +3715 -3594
- package/dist/index.umd.js +91 -91
- package/docs/assets/search.js +1 -1
- package/docs/classes/CSS3DRender.html +31 -31
- package/docs/classes/CruisePluginController.html +24 -24
- package/docs/classes/Magnifier.html +90 -40
- package/docs/classes/ModelRoomLabelController.html +11 -11
- package/docs/classes/Object3DHelperController.html +24 -24
- package/docs/classes/PaintBrush.html +15 -15
- package/docs/classes/PanoMeasurePluginLine.html +318 -0
- package/docs/classes/PanoMeasurePluginModel.html +275 -0
- package/docs/classes/PanoMeasurePluginPoint.html +160 -0
- package/docs/classes/PanoMeasurePluginPolyline.html +306 -0
- package/docs/classes/PanoTagPluginController.html +41 -41
- package/docs/classes/Util.BetterTween.html +8 -8
- package/docs/classes/Util.FivePointSelector.html +12 -12
- package/docs/classes/Util.Interval.html +12 -12
- package/docs/classes/Util.Magnifier.html +17 -17
- package/docs/classes/Util.PointDomHelper.html +11 -11
- package/docs/classes/Util.PointHelper.html +11 -11
- package/docs/classes/Util.Rectangle.html +13 -13
- package/docs/enums/CameraMovementEffect.html +7 -7
- package/docs/enums/ContentType.html +16 -16
- package/docs/enums/DIRECTION.html +9 -9
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/DimensionType.html +7 -7
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/PaintBrushTypeEnum.html +8 -8
- package/docs/enums/PointType.html +7 -7
- package/docs/enums/Rotation.html +8 -8
- package/docs/functions/CSS3DRenderPlugin.html +12 -7
- package/docs/functions/CameraMovementPlugin.html +12 -7
- package/docs/functions/CruisePlugin.html +12 -7
- package/docs/functions/GuideLinePlugin.html +13 -8
- package/docs/functions/ItemLabelPlugin.html +12 -7
- package/docs/functions/MapviewFloorplanPlugin.html +12 -7
- package/docs/functions/ModelChassisCompassPlugin.html +12 -7
- package/docs/functions/ModelEntryDoorGuidePlugin.html +12 -7
- package/docs/functions/ModelFloorplanPlugin.html +12 -7
- package/docs/functions/ModelItemLabelPlugin.html +12 -7
- package/docs/functions/ModelRoomLabelPlugin.html +12 -7
- package/docs/functions/ModelTVVideoPlugin.html +12 -7
- package/docs/functions/ModelViewPlugin.html +12 -7
- package/docs/functions/Object3DHelperPlugin.html +12 -7
- package/docs/functions/PanoCompassPlugin.html +12 -7
- package/docs/functions/PanoCursorRaycasterPlugin.html +12 -7
- package/docs/functions/PanoDoorLabelPlugin.html +12 -7
- package/docs/functions/PanoFloorplanRadarPlugin.html +12 -7
- package/docs/functions/PanoMeasurePlugin.html +12 -7
- package/docs/functions/PanoRulerPlugin.html +12 -7
- package/docs/functions/PanoRulerProPlugin.html +12 -7
- package/docs/functions/PanoSpatialTagPlugin.html +12 -7
- package/docs/functions/PanoTagPlugin.html +12 -7
- package/docs/functions/TopviewFloorplanPlugin.html +12 -7
- package/docs/functions/Util.getCoordsFromClient.html +5 -5
- package/docs/functions/Util.getCoordsFromElement.html +5 -5
- package/docs/functions/Util.getFrameTime.html +5 -5
- package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
- package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
- package/docs/functions/Util.isNil.html +5 -5
- package/docs/functions/Util.nextFrame.html +5 -5
- package/docs/functions/Util.notNil.html +5 -5
- package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
- package/docs/functions/Util.tweenProgress.html +5 -5
- package/docs/functions/pluginFlag.html +13 -8
- package/docs/index.html +12 -7
- package/docs/interfaces/AddTagConfig.html +6 -6
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
- package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
- package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
- package/docs/interfaces/EventMap.html +15 -15
- package/docs/interfaces/FloorplanBounding.html +8 -8
- package/docs/interfaces/FloorplanData.html +10 -10
- package/docs/interfaces/FloorplanEntrance.html +11 -11
- package/docs/interfaces/FloorplanExtraObject.html +10 -10
- package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
- package/docs/interfaces/FloorplanFloorData.html +9 -9
- package/docs/interfaces/FloorplanImagePosition.html +7 -7
- package/docs/interfaces/FloorplanObserver.html +9 -9
- package/docs/interfaces/FloorplanOutlineItem.html +9 -9
- package/docs/interfaces/FloorplanPosition.html +7 -7
- package/docs/interfaces/FloorplanRoomItem.html +13 -13
- package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
- package/docs/interfaces/FloorplanServerBounding.html +8 -8
- package/docs/interfaces/FloorplanServerComputedData.html +10 -10
- package/docs/interfaces/FloorplanServerData.html +7 -7
- package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
- package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
- package/docs/interfaces/FloorplanServerEntrance.html +11 -11
- package/docs/interfaces/FloorplanServerFloorData.html +9 -9
- package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
- package/docs/interfaces/FloorplanServerObserver.html +9 -9
- package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
- package/docs/interfaces/FloorplanServerPosition.html +7 -7
- package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
- package/docs/interfaces/ItemLabelPluginData.html +6 -6
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
- package/docs/interfaces/MinMax.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
- package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
- package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
- package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
- package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
- package/docs/interfaces/ModelViewPluginExportType.html +11 -11
- package/docs/interfaces/Object3DHelperState.html +8 -8
- package/docs/interfaces/PaintBrushAction.html +12 -12
- package/docs/interfaces/PaintBrushConfigs.html +12 -12
- package/docs/interfaces/PaintBrushState.html +10 -10
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +13 -8
- package/docs/interfaces/PanoMeasureParameterType.html +24 -14
- package/docs/interfaces/{PointJson.html → PanoMeasurePluginLineJson.html} +24 -24
- package/docs/interfaces/{OpenParameter.html → PanoMeasurePluginOpenParameter.html} +15 -15
- package/docs/interfaces/{LineJson.html → PanoMeasurePluginPointJson.html} +18 -18
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +80 -0
- package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
- package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
- package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
- package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
- package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
- package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
- package/docs/interfaces/PanoRulerProPluginState.html +8 -8
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +13 -8
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +13 -8
- package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
- package/docs/interfaces/Point.html +8 -8
- package/docs/interfaces/Room.html +9 -9
- package/docs/interfaces/RoomInfo.html +7 -7
- package/docs/interfaces/RoomLabel.html +14 -14
- package/docs/interfaces/RoomRules.html +13 -8
- package/docs/interfaces/Rooms.html +13 -8
- package/docs/interfaces/Scissor.html +9 -9
- package/docs/interfaces/State.html +8 -8
- package/docs/interfaces/TagCache.html +10 -10
- package/docs/interfaces/TagConfig.html +10 -10
- package/docs/interfaces/TagIconUrl.html +9 -9
- package/docs/interfaces/Tags.html +9 -9
- package/docs/interfaces/TemporaryState.html +6 -6
- package/docs/interfaces/Util.MagnifierParameter.html +11 -11
- package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
- package/docs/modules/Util.html +5 -5
- package/docs/modules.html +20 -10
- package/docs/types/ArrayPosition.html +13 -8
- package/docs/types/AudioAppearance.html +13 -8
- package/docs/types/AudioTagTypeConfigKey.html +13 -8
- package/docs/types/CSS3DRenderExportType.html +13 -8
- package/docs/types/CSS3DRenderPluginExportType.html +13 -8
- package/docs/types/CSS3DRenderPluginParameterType.html +13 -8
- package/docs/types/Color.html +13 -8
- package/docs/types/ContentTypeConfigKey.html +13 -8
- package/docs/types/ContentTypeConfigKeySplit.html +13 -8
- package/docs/types/ContentTypeMap.html +13 -8
- package/docs/types/Create3DDomContainerReturnType.html +13 -8
- package/docs/types/Create3DElementReturnType.html +13 -8
- package/docs/types/CruisePluginExportType.html +13 -8
- package/docs/types/Direction-1.html +13 -8
- package/docs/types/Direction4.html +13 -8
- package/docs/types/FloorplanRuleLabels.html +13 -8
- package/docs/types/FloorplanServerRuleLabels.html +13 -8
- package/docs/types/GuideLinePluginExportType.html +13 -8
- package/docs/types/HelperEventMap.html +13 -8
- package/docs/types/LoadTagConfig.html +13 -8
- package/docs/types/MapviewFloorplanPluginParameterType.html +13 -8
- package/docs/types/MapviewFloorplanPluginReturnType.html +13 -8
- package/docs/types/MediaData.html +13 -8
- package/docs/types/MediaStore.html +13 -8
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +13 -8
- package/docs/types/ModelFloorplanPluginParameterType.html +13 -8
- package/docs/types/ModelFloorplanPluginReturnType.html +13 -8
- package/docs/types/ModelRoomLabelPluginParameters.html +13 -8
- package/docs/types/ModelRoomLabelPluginReturnType.html +13 -8
- package/docs/types/MoveArgs.html +13 -8
- package/docs/types/MoveOpts.html +13 -8
- package/docs/types/Object3DHelperEventMap.html +13 -8
- package/docs/types/ObjectFit.html +13 -8
- package/docs/types/PaintBrushEventMap.html +13 -8
- package/docs/types/PanoCompassPluginData.html +13 -8
- package/docs/types/PanoCompassPluginExportType.html +13 -8
- package/docs/types/PanoCompassPluginParameterType.html +13 -8
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +13 -8
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +13 -8
- package/docs/types/PanoIndex.html +13 -8
- package/docs/types/PanoMeasurePluginEvent.html +13 -8
- package/docs/types/PanoMeasureReturnType.html +13 -8
- package/docs/types/PanoSpatialTagPluginId.html +13 -8
- package/docs/types/PanoTagPluginExportInterface.html +13 -8
- package/docs/types/PanoTagPluginParamsInterface.html +13 -8
- package/docs/types/PlaneTag.html +13 -8
- package/docs/types/PlaneTagElement.html +13 -8
- package/docs/types/Point2DElement.html +13 -8
- package/docs/types/Point2DTag.html +13 -8
- package/docs/types/Point3DElement.html +13 -8
- package/docs/types/Point3DTag.html +13 -8
- package/docs/types/PointTag.html +13 -8
- package/docs/types/PointTagElement.html +13 -8
- package/docs/types/Position.html +13 -8
- package/docs/types/RotateArgs.html +13 -8
- package/docs/types/RotateOpts.html +13 -8
- package/docs/types/RuleLabelsKey.html +13 -8
- package/docs/types/RuleLabelsValue.html +13 -8
- package/docs/types/StickType.html +13 -8
- package/docs/types/Tag.html +13 -8
- package/docs/types/Tag2D.html +13 -8
- package/docs/types/Tag3D.html +13 -8
- package/docs/types/TagContentType.html +13 -8
- package/docs/types/TagDimensionType.html +13 -8
- package/docs/types/TagElement.html +13 -8
- package/docs/types/TagEvents.html +13 -8
- package/docs/types/TagHooks.html +13 -8
- package/docs/types/TagIconSize.html +13 -8
- package/docs/types/TagId.html +13 -8
- package/docs/types/TagPointType.html +13 -8
- package/docs/types/TopviewFloorplanPluginParameterType.html +13 -8
- package/docs/types/TopviewFloorplanPluginReturnType.html +13 -8
- package/docs/types/WorkCode.html +13 -8
- package/docs/variables/FLOOR_TYPE_MAP.html +13 -8
- package/docs/variables/PLUGIN.html +13 -8
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +13 -8
- package/docs/variables/ROOM_TYPE_MAP.html +13 -8
- package/docs/variables/VERSION.html +13 -8
- package/docs/variables/itemLabelPluginServerParams.html +13 -8
- package/docs/variables/modelItemLabelPluginServerParams.html +13 -8
- package/docs/variables/modelRoomLabelPluginServerParams.html +13 -8
- package/libs/PanoCompassPlugin/Controller.js +3 -8
- package/libs/PanoMeasurePlugin/Controller/BaseController.d.ts +5 -5
- package/libs/PanoMeasurePlugin/Controller/BaseController.js +17 -18
- package/libs/PanoMeasurePlugin/Controller/EditController.d.ts +5 -6
- package/libs/PanoMeasurePlugin/Controller/EditController.js +59 -61
- package/libs/PanoMeasurePlugin/Controller/MixedController.d.ts +7 -9
- package/libs/PanoMeasurePlugin/Controller/MixedController.js +54 -46
- package/libs/PanoMeasurePlugin/Controller/ViewController.d.ts +6 -10
- package/libs/PanoMeasurePlugin/Controller/ViewController.js +47 -80
- package/libs/PanoMeasurePlugin/Controller/WatchController.d.ts +3 -3
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +48 -54
- package/libs/PanoMeasurePlugin/Controller/index.d.ts +27 -9
- package/libs/PanoMeasurePlugin/Controller/index.js +126 -102
- package/libs/PanoMeasurePlugin/Model/index.d.ts +17 -17
- package/libs/PanoMeasurePlugin/Model/index.js +49 -72
- package/libs/PanoMeasurePlugin/Model/line.d.ts +6 -4
- package/libs/PanoMeasurePlugin/Model/line.js +28 -25
- package/libs/PanoMeasurePlugin/Model/point.d.ts +2 -4
- package/libs/PanoMeasurePlugin/Model/point.js +6 -6
- package/libs/PanoMeasurePlugin/Model/polyline.d.ts +37 -12
- package/libs/PanoMeasurePlugin/Model/polyline.js +97 -37
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/GuideController.d.ts +2 -0
- package/libs/PanoMeasurePlugin/Modules/GuideController.js +16 -11
- package/libs/PanoMeasurePlugin/Modules/Magnifier.d.ts +29 -16
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +113 -62
- package/libs/PanoMeasurePlugin/Modules/UIController/HTML.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/UIController/MainBtnController.js +5 -4
- package/libs/PanoMeasurePlugin/Modules/UIController/Revoke/index.d.ts +3 -4
- package/libs/PanoMeasurePlugin/Modules/UIController/Revoke/index.js +21 -21
- package/libs/PanoMeasurePlugin/Modules/UIController/index.d.ts +1 -2
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +15 -14
- package/libs/PanoMeasurePlugin/Modules/UIController/mobileHTML.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/UIController/mobileMainBtnController.js +5 -4
- package/libs/PanoMeasurePlugin/Modules/UIController/style.js +5 -5
- package/libs/PanoMeasurePlugin/index.d.ts +6 -2
- package/libs/PanoMeasurePlugin/index.js +28 -24
- package/libs/PanoMeasurePlugin/typings/data.d.ts +6 -16
- package/libs/PanoMeasurePlugin/typings/event.type.d.ts +18 -14
- package/libs/PanoMeasurePlugin/typings/event.type.js +4 -1
- package/libs/PanoMeasurePlugin/typings/index.d.ts +4 -2
- package/libs/PanoMeasurePlugin/utils/distanceDom.d.ts +5 -3
- package/libs/PanoMeasurePlugin/utils/distanceDom.js +65 -41
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +83 -55
- package/libs/index.js +108 -104
- package/package.json +1 -1
|
@@ -1,40 +1,47 @@
|
|
|
1
1
|
import t from "./Controller/index.js";
|
|
2
|
-
import { default as
|
|
2
|
+
import { default as ro } from "./Modules/Magnifier.js";
|
|
3
|
+
import { Model as io } from "./Model/index.js";
|
|
4
|
+
import { default as po } from "./Model/point.js";
|
|
5
|
+
import { default as ao } from "./Model/line.js";
|
|
6
|
+
import { Polyline as uo } from "./Model/polyline.js";
|
|
3
7
|
import "./Modules/FiveHelper.js";
|
|
4
8
|
import "three";
|
|
5
9
|
import "./Controller/EditController.js";
|
|
6
10
|
import "hammerjs";
|
|
7
|
-
import "
|
|
8
|
-
import "./
|
|
11
|
+
import "../shared-utils/throttle.js";
|
|
12
|
+
import "./Controller/BaseController.js";
|
|
13
|
+
import "./utils/ironbox.js";
|
|
9
14
|
import "../shared-utils/uuid.js";
|
|
10
|
-
import "
|
|
15
|
+
import "@realsee/five";
|
|
11
16
|
import "./utils/line.js";
|
|
12
17
|
import "@realsee/five/line";
|
|
13
18
|
import "./utils/constants.js";
|
|
14
|
-
import "@realsee/five";
|
|
15
19
|
import "./utils/distanceDom.js";
|
|
16
20
|
import "./utils/isNDCPointInScreen.js";
|
|
17
|
-
import "./Model/point.js";
|
|
18
21
|
import "../shared-utils/removeArrayItem.js";
|
|
19
|
-
import "../shared-utils/throttle.js";
|
|
20
|
-
import "./Controller/BaseController.js";
|
|
21
|
-
import "./utils/ironbox.js";
|
|
22
22
|
import "./utils/getIntersectionFromEvent.js";
|
|
23
23
|
import "./utils/getPointFromHammerEvent.js";
|
|
24
24
|
import "./Controller/ViewController.js";
|
|
25
|
-
import "./utils/math.js";
|
|
26
|
-
import "./utils/findAssociatedLines.js";
|
|
27
25
|
import "./Controller/WatchController.js";
|
|
28
26
|
import "./Modules/DeleteDom/index.js";
|
|
29
27
|
import "./Modules/DeleteDom/_Assets/delete.svg.js";
|
|
30
28
|
import "./Modules/DeleteDom/_Assets/delete_bg.png.js";
|
|
31
29
|
import "./Modules/DeleteDom/_Assets/delete_hover_bg.png.js";
|
|
30
|
+
import "./utils/math.js";
|
|
32
31
|
import "./utils/findClosestPoint.js";
|
|
33
32
|
import "./utils/ndc2Screen.js";
|
|
33
|
+
import "./utils/findAssociatedLines.js";
|
|
34
34
|
import "./Controller/MixedController.js";
|
|
35
|
+
import "./Modules/rangePiece/index.js";
|
|
36
|
+
import "@tweenjs/tween.js";
|
|
37
|
+
import "./Modules/rangePiece/html.js";
|
|
38
|
+
import "../shared-utils/animationFrame/index.js";
|
|
39
|
+
import "../shared-utils/animationFrame/BetterTween.js";
|
|
40
|
+
import "../shared-utils/noop.js";
|
|
41
|
+
import "./utils/calculateThreeMouse.js";
|
|
42
|
+
import "./utils/mouseGroup.js";
|
|
35
43
|
import "../shared-utils/filter.js";
|
|
36
44
|
import "../shared-utils/tap.js";
|
|
37
|
-
import "./utils/mouseGroup.js";
|
|
38
45
|
import "./Modules/UIController/index.js";
|
|
39
46
|
import "./Modules/UIController/HTML.js";
|
|
40
47
|
import "./Modules/UIController/mobileHTML.js";
|
|
@@ -44,18 +51,15 @@ import "./Modules/UIController/mobileMainBtnController.js";
|
|
|
44
51
|
import "./Modules/UIController/Revoke/index.js";
|
|
45
52
|
import "./Modules/GuideController.js";
|
|
46
53
|
import "./Controller/ShortcutKeyController.js";
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
import "./Modules/rangePiece/html.js";
|
|
50
|
-
import "../shared-utils/animationFrame/index.js";
|
|
51
|
-
import "../shared-utils/animationFrame/BetterTween.js";
|
|
52
|
-
import "../shared-utils/noop.js";
|
|
53
|
-
import "./utils/calculateThreeMouse.js";
|
|
54
|
-
const tr = function(r, o) {
|
|
55
|
-
return new t(r, o);
|
|
54
|
+
const _ = function(o, r) {
|
|
55
|
+
return new t(o, r);
|
|
56
56
|
};
|
|
57
57
|
export {
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
58
|
+
ro as Magnifier,
|
|
59
|
+
_ as PanoMeasurePlugin,
|
|
60
|
+
ao as PanoMeasurePluginLine,
|
|
61
|
+
io as PanoMeasurePluginModel,
|
|
62
|
+
po as PanoMeasurePluginPoint,
|
|
63
|
+
uo as PanoMeasurePluginPolyline,
|
|
64
|
+
_ as default
|
|
61
65
|
};
|
|
@@ -1,29 +1,19 @@
|
|
|
1
|
-
export interface
|
|
2
|
-
id: string;
|
|
3
|
-
points: PointJson[];
|
|
4
|
-
}
|
|
5
|
-
export interface PolylineCompletelyJson {
|
|
1
|
+
export interface PolylineJson {
|
|
6
2
|
id: string;
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
lines: LineJson[];
|
|
4
|
+
/** 当前折线在哪个点位上可见,字段不存在时,不做限制 */
|
|
5
|
+
visiblePanoIndexes?: number[];
|
|
9
6
|
}
|
|
10
7
|
export interface LineJson {
|
|
11
8
|
id: string;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
export interface PolylineJson {
|
|
15
|
-
id: string;
|
|
16
|
-
points: string[];
|
|
17
|
-
lines: string[];
|
|
9
|
+
text?: string;
|
|
10
|
+
points: PointJson[];
|
|
18
11
|
}
|
|
19
12
|
export interface PointJson {
|
|
20
13
|
id: string;
|
|
21
|
-
lines: string[];
|
|
22
14
|
position: number[];
|
|
23
15
|
}
|
|
24
16
|
export interface PluginData {
|
|
25
|
-
lines: LineJson[];
|
|
26
|
-
points: PointJson[];
|
|
27
17
|
polylines: PolylineJson[];
|
|
28
18
|
}
|
|
29
19
|
/** 开放可配置参数 */
|
|
@@ -1,37 +1,41 @@
|
|
|
1
|
-
import type { SubscribeEventMap } from '@realsee/five';
|
|
2
1
|
import type { Vector3 } from 'three';
|
|
3
2
|
import type { Mode } from '../Controller';
|
|
4
3
|
import type { State } from '../Controller/MixedController';
|
|
4
|
+
import Line from '../Model/line';
|
|
5
5
|
import type Point from '../Model/point';
|
|
6
|
-
import
|
|
7
|
-
|
|
6
|
+
import { Polyline } from '../Model/polyline';
|
|
7
|
+
declare type ControllerEvent = {
|
|
8
|
+
enable: (userAction: boolean) => void;
|
|
9
|
+
disable: (userAction: boolean) => void;
|
|
8
10
|
/**
|
|
9
11
|
* Mode 变更
|
|
10
12
|
*/
|
|
11
13
|
modeChange: (mode: Mode) => void;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
selectedChange: (lines:
|
|
15
|
-
}
|
|
16
|
-
|
|
14
|
+
};
|
|
15
|
+
declare type WatchEvent = {
|
|
16
|
+
selectedChange: (lines: Line[]) => void;
|
|
17
|
+
};
|
|
18
|
+
declare type EditEvent = {
|
|
17
19
|
/**
|
|
18
20
|
* 编辑线条变更
|
|
19
21
|
*/
|
|
20
|
-
|
|
22
|
+
editedPolylineChange: (polyline: Polyline) => void;
|
|
23
|
+
/** 编辑中的虚线变更 */
|
|
24
|
+
editedDashedLineChange: (line: Line | null) => void;
|
|
21
25
|
anchorChange: (anchor: Vector3 | null) => void;
|
|
22
|
-
}
|
|
23
|
-
|
|
26
|
+
};
|
|
27
|
+
declare type DragEvent = {
|
|
24
28
|
wantsDragLine: (event: {
|
|
25
29
|
point: string;
|
|
26
30
|
lines: string[];
|
|
27
31
|
}) => boolean;
|
|
28
|
-
}
|
|
32
|
+
};
|
|
29
33
|
/** 移动端专用事件 */
|
|
30
|
-
|
|
34
|
+
declare type MobileEvent = {
|
|
31
35
|
getStartPoint: (point: Point) => void;
|
|
32
36
|
getEndPoint: (point: Point) => void;
|
|
33
37
|
willChangeState: (state: State, newState: State) => void;
|
|
34
38
|
nowPointChange: (point: Point) => void;
|
|
35
|
-
}
|
|
39
|
+
};
|
|
36
40
|
export declare type PanoMeasurePluginEvent = ControllerEvent & EditEvent & WatchEvent & DragEvent & MobileEvent;
|
|
37
41
|
export {};
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import type { UserDistanceItem } from '../utils/distanceDom';
|
|
2
2
|
export interface Config {
|
|
3
|
-
userDistanceItemCreator
|
|
3
|
+
userDistanceItemCreator?: undefined | (() => UserDistanceItem);
|
|
4
4
|
/** 展示 distance DOM 时,使用的转换函数
|
|
5
5
|
* @param distance 单位是 m
|
|
6
6
|
*/
|
|
7
|
-
getDistanceText
|
|
7
|
+
getDistanceText?: (distance: number) => string;
|
|
8
|
+
/** 默认的 distance DOM 文本 */
|
|
9
|
+
defaultText?: string | null;
|
|
8
10
|
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import type Line from '../Model/line';
|
|
2
2
|
import type { Five } from '@realsee/five';
|
|
3
|
-
import type { LineCompletelyJson, PolylineCompletelyJson } from '../typings/data';
|
|
4
3
|
import { Vector3 } from 'three';
|
|
4
|
+
import { Polyline } from '../Model/polyline';
|
|
5
5
|
export declare type DistanceItem = ReturnType<typeof createDistanceItem>;
|
|
6
6
|
export interface UserDistanceItem {
|
|
7
7
|
element: Element;
|
|
8
8
|
highlight: () => void;
|
|
9
9
|
unHighlight: () => void;
|
|
10
10
|
update: (params: {
|
|
11
|
-
line:
|
|
12
|
-
polyline:
|
|
11
|
+
line: Line;
|
|
12
|
+
polyline: Polyline;
|
|
13
13
|
}) => void;
|
|
14
14
|
}
|
|
15
15
|
export interface CreateDistanceItemProps {
|
|
@@ -25,4 +25,6 @@ export declare function createDistanceItem(props: CreateDistanceItemProps): {
|
|
|
25
25
|
remove: () => void;
|
|
26
26
|
highlight: () => void;
|
|
27
27
|
unHighlight: () => void;
|
|
28
|
+
getCurrentContent: () => string;
|
|
29
|
+
setItemSelectable: (value: boolean) => void;
|
|
28
30
|
};
|
|
@@ -1,61 +1,85 @@
|
|
|
1
|
-
import { Vector3 as
|
|
2
|
-
import
|
|
3
|
-
|
|
1
|
+
import { Vector3 as _, Vector2 as D } from "three";
|
|
2
|
+
import x from "./isNDCPointInScreen.js";
|
|
3
|
+
import "@realsee/five/line";
|
|
4
|
+
import "./constants.js";
|
|
5
|
+
import "@realsee/five";
|
|
6
|
+
function j() {
|
|
4
7
|
const t = document.createElement("div");
|
|
5
|
-
return t.setAttribute(
|
|
8
|
+
return t.setAttribute(
|
|
9
|
+
"style",
|
|
10
|
+
"backdrop-filter: blur(4px);-webkit-backdrop-filter: blur(4px);-webkit-tap-highlight-color: rgba(0,0,0,0);"
|
|
11
|
+
), t.style.width = "max-content", t.style.padding = "3px 6px", t.style.lineHeight = "1", t.style.textAlign = "center", t.style.transform = "translate(-50%, -50%)", t.style.borderRadius = "100px", t.style.fontSize = "14px", t.style.color = "#fff", t.style.background = "rgba(195,195,195,0.70)", t.style.border = "0.5px solid rgba(255,255,255,0.6)", t.style.cursor = "pointer", t;
|
|
6
12
|
}
|
|
7
|
-
function
|
|
13
|
+
function V(t) {
|
|
8
14
|
const e = document.createElement("div");
|
|
9
|
-
return e.id = "distance_" + t.id, e.classList.add("five-plugin-measure__distance"), e.style.opacity = "0", e.style.position = "absolute", e.style.left = "0", e.style.top = "0", e.style.transform = "translate3d(0, 0, 0)", e.style.transformOrigin = "left top", e;
|
|
15
|
+
return e.id = "distance_" + t.id, e.classList.add("five-plugin-measure__distance"), e.style.opacity = "0", e.style.position = "absolute", e.style.left = "0", e.style.top = "0", e.style.width = "0", e.style.height = "0", e.style.transform = "translate3d(0, 0, 0)", e.style.transformOrigin = "left top", e;
|
|
10
16
|
}
|
|
11
17
|
function J(t) {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
18
|
+
let e = !0;
|
|
19
|
+
const { line: s } = t, C = s.id, r = j(), n = V(s), o = t.userDistanceItem, S = new _(0, 0, 0), E = {
|
|
20
|
+
lineID: C,
|
|
21
|
+
ndcPosition: S,
|
|
22
|
+
update: H,
|
|
23
|
+
appendTo: I,
|
|
24
|
+
remove: T,
|
|
25
|
+
highlight: w,
|
|
26
|
+
unHighlight: F,
|
|
27
|
+
getCurrentContent: P,
|
|
28
|
+
setItemSelectable: A
|
|
29
|
+
};
|
|
30
|
+
n.style.pointerEvents = e ? "all" : "none", o != null && o.element ? n.appendChild(o.element) : n.appendChild(r);
|
|
16
31
|
function v() {
|
|
32
|
+
var i;
|
|
33
|
+
(i = t.clickCallback) == null || i.call(t, E);
|
|
34
|
+
}
|
|
35
|
+
function w() {
|
|
17
36
|
if (o)
|
|
18
37
|
return o.highlight();
|
|
19
|
-
|
|
38
|
+
r.style.border = "0.5px solid #95AEFF", r.style.background = "linear-gradient(90deg, #95AEFF 0%, #6386FF 100%)";
|
|
20
39
|
}
|
|
21
|
-
function
|
|
40
|
+
function F() {
|
|
22
41
|
if (o)
|
|
23
42
|
return o.unHighlight();
|
|
24
|
-
|
|
43
|
+
r.style.border = "0.5px solid rgba(255,255,255,0.6)", r.style.background = "rgba(195,195,195,0.70)";
|
|
25
44
|
}
|
|
26
|
-
function
|
|
27
|
-
|
|
28
|
-
|
|
45
|
+
function H(i) {
|
|
46
|
+
if (s.mesh.visible === !1) {
|
|
47
|
+
n.style.opacity = "0", n.style.pointerEvents = "none";
|
|
48
|
+
return;
|
|
49
|
+
}
|
|
50
|
+
const f = i.getElement();
|
|
51
|
+
if (!f)
|
|
29
52
|
return;
|
|
30
|
-
const
|
|
31
|
-
if (
|
|
53
|
+
const u = f.clientWidth, l = f.clientHeight, p = u / 2, a = l / 2;
|
|
54
|
+
if (s.points.length < 2)
|
|
32
55
|
return;
|
|
33
|
-
const [
|
|
34
|
-
if ((() => !(Math.abs(
|
|
56
|
+
const [g, d] = s.points, c = g.position.clone().project(i.camera), y = d.position.clone().project(i.camera), m = c.clone().lerp(y, 0.5), h = new D(c.x * p, c.y * a), b = new D(y.x * p, y.y * a), k = h.distanceTo(b);
|
|
57
|
+
if ((() => !(Math.abs(c.z) > 1 || Math.abs(y.z) > 1 || !x(c) && !x(y) || !x(m) || k === 0))() === !1) {
|
|
35
58
|
n.style.opacity = "0", n.style.pointerEvents = "none";
|
|
36
59
|
return;
|
|
37
60
|
}
|
|
38
|
-
const
|
|
39
|
-
n.style.transform = `translate(${
|
|
40
|
-
const
|
|
41
|
-
|
|
42
|
-
}
|
|
43
|
-
function
|
|
44
|
-
|
|
45
|
-
}
|
|
46
|
-
function
|
|
47
|
-
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
61
|
+
const L = (m.x + 1) / 2 * u, M = -(m.y - 1) / 2 * l, W = -(Math.atan((h.y - b.y) / (h.x - b.x)) * 180) / Math.PI, $ = n.parentElement && r.clientWidth > k ? -20 : 0;
|
|
62
|
+
n.style.transform = `translate(${L}px, ${M}px) rotate(${W}deg) translateY(${$}px)`, n.style.opacity = "1", n.style.pointerEvents = e ? "all" : "none", o && o.update({ line: s, polyline: s.getPolyline() });
|
|
63
|
+
const z = P();
|
|
64
|
+
r.innerText = z;
|
|
65
|
+
}
|
|
66
|
+
function I(i) {
|
|
67
|
+
i.appendChild(n), n.addEventListener("click", v);
|
|
68
|
+
}
|
|
69
|
+
function T() {
|
|
70
|
+
r.removeEventListener("click", v), n.remove();
|
|
71
|
+
}
|
|
72
|
+
function P() {
|
|
73
|
+
var g, d, c;
|
|
74
|
+
if (s.points.length < 2)
|
|
75
|
+
return "";
|
|
76
|
+
const [i, f] = s.points, u = i.position.clone().distanceTo(f.position), l = (g = t.line.text) != null ? g : t.line.model.config.defaultText, p = (c = (d = t.line.model.config) == null ? void 0 : d.getDistanceText) == null ? void 0 : c.call(d, u), a = l != null ? l : p;
|
|
77
|
+
return a != null ? a : u.toFixed(2) + "m";
|
|
78
|
+
}
|
|
79
|
+
function A(i) {
|
|
80
|
+
e = i;
|
|
81
|
+
}
|
|
82
|
+
return E;
|
|
59
83
|
}
|
|
60
84
|
export {
|
|
61
85
|
J as createDistanceItem
|
|
@@ -1,102 +1,130 @@
|
|
|
1
|
-
import { SvelteComponent as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import { SvelteComponent as A, init as B, safe_not_equal as E, append_styles as F, empty as G, insert as x, transition_in as m, transition_out as c, check_outros as N, detach as w, create_component as h, space as S, element as _, attr as v, set_style as q, toggle_class as k, mount_component as b, append as g, group_outros as P, destroy_component as Y } from "../../../../vendor/svelte/internal/index.js";
|
|
2
|
+
import H from "../../Common/Line/Straight.js";
|
|
3
|
+
import j from "../../Common/Text/MText.js";
|
|
4
4
|
import "../../../../vendor/svelte/transition/index.js";
|
|
5
5
|
import "../../../../vendor/svelte/easing/index.js";
|
|
6
6
|
import "../../../../shared-utils/uuid.js";
|
|
7
7
|
import "../../../utils/px2rem.js";
|
|
8
|
-
function
|
|
9
|
-
|
|
8
|
+
function I(r) {
|
|
9
|
+
F(r, "svelte-1oxrkr1", ".plane__container.svelte-1oxrkr1.svelte-1oxrkr1{position:absolute;left:50%;transform:translate(-50%, -100%);width:-moz-max-content;width:max-content}.plane__wrapper.svelte-1oxrkr1.svelte-1oxrkr1{transition:transform 500ms linear, opacity 200ms linear;padding:0.625rem;background-color:rgba(0, 0, 0, 0.5);border:0.03125rem solid rgba(255, 255, 255, 0.3);border-radius:0.25rem}.unfolded.svelte-1oxrkr1 .plane__wrapper.svelte-1oxrkr1{transition-delay:200ms, 500ms;opacity:1}.folded.svelte-1oxrkr1 .plane__wrapper.svelte-1oxrkr1{opacity:0}.plane.svelte-1oxrkr1.svelte-1oxrkr1{max-width:11.75rem}.title.svelte-1oxrkr1.svelte-1oxrkr1{white-space:pre-wrap;font-weight:bold;font-size:0.75rem;line-height:1.125rem}.description.svelte-1oxrkr1.svelte-1oxrkr1{margin-top:0.25rem;white-space:pre-wrap;font-size:0.6875rem;line-height:1rem}");
|
|
10
10
|
}
|
|
11
|
-
function
|
|
12
|
-
var
|
|
13
|
-
let o,
|
|
14
|
-
|
|
11
|
+
function D(r) {
|
|
12
|
+
var y, z;
|
|
13
|
+
let o, l, e, i, t, d, s, u, p;
|
|
14
|
+
o = new H({
|
|
15
15
|
props: {
|
|
16
|
-
unfolded:
|
|
16
|
+
unfolded: r[1],
|
|
17
17
|
direction: "vertical",
|
|
18
18
|
length: 15,
|
|
19
19
|
duration: 500,
|
|
20
20
|
inDelay: 200,
|
|
21
21
|
useLinearColor: !0
|
|
22
22
|
}
|
|
23
|
-
}),
|
|
23
|
+
}), s = new j({
|
|
24
24
|
props: {
|
|
25
|
-
text:
|
|
26
|
-
edit: (
|
|
25
|
+
text: r[2],
|
|
26
|
+
edit: (y = r[0].data.edit) == null ? void 0 : y.title
|
|
27
27
|
}
|
|
28
|
-
})
|
|
28
|
+
});
|
|
29
|
+
let a = (r[0].data.description || ((z = r[0].data.edit) == null ? void 0 : z.description)) && M(r);
|
|
30
|
+
return {
|
|
31
|
+
c() {
|
|
32
|
+
h(o.$$.fragment), l = S(), e = _("div"), i = _("div"), t = _("div"), d = _("div"), h(s.$$.fragment), u = S(), a && a.c(), v(d, "class", "title svelte-1oxrkr1"), v(t, "class", "plane svelte-1oxrkr1"), v(i, "class", "plane__wrapper svelte-1oxrkr1"), q(i, "transform", r[1] ? "translateY(-15px)" : "translateY(0)"), v(e, "class", "plane__container svelte-1oxrkr1"), k(e, "unfolded", r[1]), k(e, "folded", r[3]);
|
|
33
|
+
},
|
|
34
|
+
m(n, f) {
|
|
35
|
+
b(o, n, f), x(n, l, f), x(n, e, f), g(e, i), g(i, t), g(t, d), b(s, d, null), g(t, u), a && a.m(t, null), p = !0;
|
|
36
|
+
},
|
|
37
|
+
p(n, f) {
|
|
38
|
+
var C, L;
|
|
39
|
+
const T = {};
|
|
40
|
+
f & 2 && (T.unfolded = n[1]), o.$set(T);
|
|
41
|
+
const $ = {};
|
|
42
|
+
f & 4 && ($.text = n[2]), f & 1 && ($.edit = (C = n[0].data.edit) == null ? void 0 : C.title), s.$set($), n[0].data.description || ((L = n[0].data.edit) == null ? void 0 : L.description) ? a ? (a.p(n, f), f & 1 && m(a, 1)) : (a = M(n), a.c(), m(a, 1), a.m(t, null)) : a && (P(), c(a, 1, 1, () => {
|
|
43
|
+
a = null;
|
|
44
|
+
}), N()), f & 2 && q(i, "transform", n[1] ? "translateY(-15px)" : "translateY(0)"), (!p || f & 2) && k(e, "unfolded", n[1]), (!p || f & 8) && k(e, "folded", n[3]);
|
|
45
|
+
},
|
|
46
|
+
i(n) {
|
|
47
|
+
p || (m(o.$$.fragment, n), m(s.$$.fragment, n), m(a), p = !0);
|
|
48
|
+
},
|
|
49
|
+
o(n) {
|
|
50
|
+
c(o.$$.fragment, n), c(s.$$.fragment, n), c(a), p = !1;
|
|
51
|
+
},
|
|
52
|
+
d(n) {
|
|
53
|
+
Y(o, n), n && w(l), n && w(e), Y(s), a && a.d();
|
|
54
|
+
}
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
function M(r) {
|
|
58
|
+
var i;
|
|
59
|
+
let o, l, e;
|
|
60
|
+
return l = new j({
|
|
29
61
|
props: {
|
|
30
|
-
text:
|
|
31
|
-
edit: (
|
|
62
|
+
text: r[0].data.description,
|
|
63
|
+
edit: (i = r[0].data.edit) == null ? void 0 : i.description,
|
|
32
64
|
maxLine: 3
|
|
33
65
|
}
|
|
34
66
|
}), {
|
|
35
67
|
c() {
|
|
36
|
-
|
|
68
|
+
o = _("div"), h(l.$$.fragment), v(o, "class", "description svelte-1oxrkr1");
|
|
37
69
|
},
|
|
38
|
-
m(t,
|
|
39
|
-
|
|
70
|
+
m(t, d) {
|
|
71
|
+
x(t, o, d), b(l, o, null), e = !0;
|
|
40
72
|
},
|
|
41
|
-
p(t,
|
|
42
|
-
var
|
|
43
|
-
const
|
|
44
|
-
s &
|
|
45
|
-
const w = {};
|
|
46
|
-
s & 4 && (w.text = t[2]), s & 1 && (w.edit = (S = t[0].data.edit) == null ? void 0 : S.title), l.$set(w);
|
|
47
|
-
const $ = {};
|
|
48
|
-
s & 1 && ($.text = t[0].data.description), s & 1 && ($.edit = (q = t[0].data.edit) == null ? void 0 : q.description), f.$set($), s & 2 && M(r, "transform", t[1] ? "translateY(-15px)" : "translateY(0)"), (!m || s & 2) && x(e, "unfolded", t[1]), (!m || s & 8) && x(e, "folded", t[3]);
|
|
73
|
+
p(t, d) {
|
|
74
|
+
var u;
|
|
75
|
+
const s = {};
|
|
76
|
+
d & 1 && (s.text = t[0].data.description), d & 1 && (s.edit = (u = t[0].data.edit) == null ? void 0 : u.description), l.$set(s);
|
|
49
77
|
},
|
|
50
78
|
i(t) {
|
|
51
|
-
|
|
79
|
+
e || (m(l.$$.fragment, t), e = !0);
|
|
52
80
|
},
|
|
53
81
|
o(t) {
|
|
54
|
-
|
|
82
|
+
c(l.$$.fragment, t), e = !1;
|
|
55
83
|
},
|
|
56
84
|
d(t) {
|
|
57
|
-
|
|
85
|
+
t && w(o), Y(l);
|
|
58
86
|
}
|
|
59
87
|
};
|
|
60
88
|
}
|
|
61
|
-
function
|
|
62
|
-
let o,
|
|
89
|
+
function J(r) {
|
|
90
|
+
let o, l, e = r[0].state && D(r);
|
|
63
91
|
return {
|
|
64
92
|
c() {
|
|
65
|
-
e && e.c(), o =
|
|
93
|
+
e && e.c(), o = G();
|
|
66
94
|
},
|
|
67
|
-
m(
|
|
68
|
-
e && e.m(
|
|
95
|
+
m(i, t) {
|
|
96
|
+
e && e.m(i, t), x(i, o, t), l = !0;
|
|
69
97
|
},
|
|
70
|
-
p(
|
|
71
|
-
|
|
98
|
+
p(i, [t]) {
|
|
99
|
+
i[0].state ? e ? (e.p(i, t), t & 1 && m(e, 1)) : (e = D(i), e.c(), m(e, 1), e.m(o.parentNode, o)) : e && (P(), c(e, 1, 1, () => {
|
|
72
100
|
e = null;
|
|
73
|
-
}),
|
|
101
|
+
}), N());
|
|
74
102
|
},
|
|
75
|
-
i(
|
|
76
|
-
|
|
103
|
+
i(i) {
|
|
104
|
+
l || (m(e), l = !0);
|
|
77
105
|
},
|
|
78
|
-
o(
|
|
79
|
-
|
|
106
|
+
o(i) {
|
|
107
|
+
c(e), l = !1;
|
|
80
108
|
},
|
|
81
|
-
d(
|
|
82
|
-
e && e.d(
|
|
109
|
+
d(i) {
|
|
110
|
+
e && e.d(i), i && w(o);
|
|
83
111
|
}
|
|
84
112
|
};
|
|
85
113
|
}
|
|
86
|
-
function
|
|
87
|
-
let e,
|
|
88
|
-
return
|
|
89
|
-
"tag" in
|
|
90
|
-
},
|
|
91
|
-
var
|
|
92
|
-
|
|
93
|
-
}, [d, e,
|
|
114
|
+
function K(r, o, l) {
|
|
115
|
+
let e, i, t, { tag: d } = o;
|
|
116
|
+
return r.$$set = (s) => {
|
|
117
|
+
"tag" in s && l(0, d = s.tag);
|
|
118
|
+
}, r.$$.update = () => {
|
|
119
|
+
var s, u, p;
|
|
120
|
+
r.$$.dirty & 1 && l(1, e = !!((s = d.state) != null && s.unfolded)), r.$$.dirty & 2 && l(3, i = !e), r.$$.dirty & 1 && l(2, t = (p = (u = d.data.title) != null ? u : d.data.text) != null ? p : "");
|
|
121
|
+
}, [d, e, t, i];
|
|
94
122
|
}
|
|
95
|
-
class
|
|
123
|
+
class Z extends A {
|
|
96
124
|
constructor(o) {
|
|
97
|
-
super(),
|
|
125
|
+
super(), B(this, o, K, J, E, { tag: 0 }, I);
|
|
98
126
|
}
|
|
99
127
|
}
|
|
100
128
|
export {
|
|
101
|
-
|
|
129
|
+
Z as default
|
|
102
130
|
};
|