@realsee/dnalogel 2.20.0-dev.1 → 2.20.0-dev.11
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/PanoTagPlugin/controller/TagComputer.d.ts +1 -0
- package/dist/PanoTagPlugin/controller/TagRender.d.ts +11 -1
- package/dist/PanoTagPlugin/typings/controller.d.ts +2 -1
- package/dist/PanoTagPlugin/typings/tag/Tag.d.ts +4 -4
- package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +4 -4
- package/dist/PanoTagPlugin/typings/tag/TagInstance.d.ts +4 -2
- package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +12 -10
- package/dist/index.cjs.js +44 -44
- package/dist/index.js +4083 -4020
- package/dist/index.umd.js +32 -32
- package/docs/assets/search.js +1 -1
- package/docs/classes/CSS3DRender.html +31 -31
- package/docs/classes/CruisePluginController.html +26 -26
- package/docs/classes/GuideLineItem.GuideLineItem.html +20 -20
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +31 -31
- package/docs/classes/Magnifier.html +20 -20
- package/docs/classes/ModelRoomLabelController.html +11 -11
- package/docs/classes/Object3DHelperController.html +25 -25
- package/docs/classes/PaintBrush.html +15 -15
- package/docs/classes/PanoMeasurePluginLine.html +23 -23
- package/docs/classes/PanoMeasurePluginModel.html +22 -22
- package/docs/classes/PanoMeasurePluginPoint.html +14 -14
- package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
- package/docs/classes/PanoTagPluginController.html +74 -48
- package/docs/classes/Util.BetterTween.html +9 -9
- 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 +20 -20
- 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 +4 -4
- package/docs/functions/CameraMovementPlugin.html +4 -4
- package/docs/functions/CruisePlugin.html +4 -4
- package/docs/functions/GuideLinePlugin.html +5 -5
- package/docs/functions/ItemLabelPlugin.html +4 -4
- package/docs/functions/MapviewFloorplanPlugin.html +4 -4
- package/docs/functions/ModelChassisCompassPlugin.html +4 -4
- package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -4
- package/docs/functions/ModelFloorplanPlugin.html +4 -4
- package/docs/functions/ModelItemLabelPlugin.html +4 -4
- package/docs/functions/ModelRoomLabelPlugin.html +4 -4
- package/docs/functions/ModelTVVideoPlugin.html +4 -4
- package/docs/functions/ModelViewPlugin.html +4 -4
- package/docs/functions/Object3DHelperPlugin.html +4 -4
- package/docs/functions/PanoCompassPlugin.html +4 -4
- package/docs/functions/PanoCursorRaycasterPlugin.html +4 -4
- package/docs/functions/PanoDoorLabelPlugin.html +4 -4
- package/docs/functions/PanoFloorplanRadarPlugin.html +4 -4
- package/docs/functions/PanoMeasurePlugin.html +4 -4
- package/docs/functions/PanoRulerPlugin.html +4 -4
- package/docs/functions/PanoRulerProPlugin.html +4 -4
- package/docs/functions/PanoSpatialTagPlugin.html +4 -4
- package/docs/functions/PanoTagPlugin.html +4 -4
- package/docs/functions/PanoVideoPlugin.html +4 -4
- package/docs/functions/TopviewFloorplanPlugin.html +4 -4
- 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.isAbsoluteURL.html +5 -5
- package/docs/functions/Util.isModelLike.html +5 -5
- package/docs/functions/Util.isNil.html +5 -5
- package/docs/functions/Util.isPanoramaLike.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/Util.uuid.html +5 -5
- package/docs/functions/pluginFlag.html +5 -5
- package/docs/index.html +5 -5
- 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/CruisePluginTypes.Config.html +8 -8
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +12 -12
- package/docs/interfaces/CruisePluginTypes.EventMap.html +20 -20
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +12 -12
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +14 -14
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +14 -14
- package/docs/interfaces/CruisePluginTypes.PluginData.html +9 -9
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +7 -7
- package/docs/interfaces/CruisePluginTypes.PluginState.html +11 -11
- 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/GuideLineModeItem.GuideLineTagContainer.html +8 -8
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +10 -10
- package/docs/interfaces/GuideLinePluginType.EventMap.html +13 -13
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +8 -8
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +6 -6
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +13 -13
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +8 -8
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +18 -18
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +7 -7
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +18 -18
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +5 -5
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +7 -7
- package/docs/interfaces/GuideLinePluginType.PluginState.html +8 -8
- package/docs/interfaces/GuideLinePluginType.Route.html +11 -11
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +9 -9
- package/docs/interfaces/HelperOffset.html +8 -8
- package/docs/interfaces/ImagePlaneGroup.html +6 -6
- 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/ObjectHelperControllers.html +9 -9
- 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 +5 -5
- package/docs/interfaces/PanoMeasureParameterType.html +14 -14
- package/docs/interfaces/PanoMeasurePluginLineJson.html +8 -8
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +7 -7
- package/docs/interfaces/PanoMeasurePluginPointJson.html +7 -7
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +8 -8
- 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 +5 -5
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -5
- 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/PanoVideoPluginType.LoadParams.html +6 -6
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +8 -8
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +6 -6
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +9 -9
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +6 -6
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +8 -8
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.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 +5 -5
- package/docs/interfaces/Rooms.html +5 -5
- package/docs/interfaces/Scissor.html +9 -9
- package/docs/interfaces/State.html +8 -8
- package/docs/interfaces/TagCacheInterface.html +12 -12
- package/docs/interfaces/TagConfig.html +15 -15
- package/docs/interfaces/TagGLTFObjectGroup.html +6 -6
- package/docs/interfaces/TagIconUrl.html +12 -12
- package/docs/interfaces/TagObjectGroup.html +6 -6
- package/docs/interfaces/TagStyle.html +7 -7
- 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/CruisePluginTypes.html +5 -5
- package/docs/modules/GuideLineItem.html +5 -5
- package/docs/modules/GuideLineModeItem.html +5 -5
- package/docs/modules/GuideLinePluginType.html +5 -5
- package/docs/modules/PanoVideoPluginType.html +5 -5
- package/docs/modules/Util.html +5 -5
- package/docs/modules.html +6 -6
- package/docs/types/ArrayPosition.html +5 -5
- package/docs/types/AudioAppearance.html +5 -5
- package/docs/types/AudioTagTypeConfigKey.html +5 -5
- package/docs/types/CSS3DRenderExportType.html +5 -5
- package/docs/types/CSS3DRenderPluginExportType.html +5 -5
- package/docs/types/CSS3DRenderPluginParameterType.html +5 -5
- package/docs/types/ClassFunctionParameters.html +5 -5
- package/docs/types/Color.html +5 -5
- package/docs/types/ContentTypeConfigKey.html +6 -6
- package/docs/types/ContentTypeConfigKeySplit.html +6 -6
- package/docs/types/ContentTypeMap.html +5 -5
- package/docs/types/Create3DDomContainerReturnType.html +5 -5
- package/docs/types/Create3DElementReturnType.html +5 -5
- package/docs/types/CruisePluginExportType.html +5 -5
- package/docs/types/CruisePluginTypes.CruiseData.html +5 -5
- package/docs/types/CruisePluginTypes.MoveEffect.html +5 -5
- package/docs/types/DeprecatedMediaPlaneProperty.html +5 -5
- package/docs/types/DeprecatedTagProperty.html +5 -5
- package/docs/types/Direction-1.html +5 -5
- package/docs/types/Direction4.html +5 -5
- package/docs/types/ElementRenderer.html +10 -8
- package/docs/types/FloorplanRuleLabels.html +5 -5
- package/docs/types/FloorplanServerRuleLabels.html +5 -5
- package/docs/types/GuideLinePluginExportType.html +5 -5
- package/docs/types/GuideLinePluginType.GuideLineItem.html +5 -5
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +5 -5
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +5 -5
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +5 -5
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +5 -5
- package/docs/types/GuideLinePluginType.PathItem.html +5 -5
- package/docs/types/GuideLinePluginType.PluginData.html +5 -5
- package/docs/types/HelperEventMap.html +5 -5
- package/docs/types/LoadTagConfig.html +5 -5
- package/docs/types/MapviewFloorplanPluginParameterType.html +5 -5
- package/docs/types/MapviewFloorplanPluginReturnType.html +5 -5
- package/docs/types/MediaData.html +5 -5
- package/docs/types/MediaStore.html +5 -5
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +5 -5
- package/docs/types/ModelFloorplanPluginParameterType.html +5 -5
- package/docs/types/ModelFloorplanPluginReturnType.html +5 -5
- package/docs/types/ModelRoomLabelPluginParameters.html +5 -5
- package/docs/types/ModelRoomLabelPluginReturnType.html +5 -5
- package/docs/types/MoveArgs.html +5 -5
- package/docs/types/MoveOpts.html +5 -5
- package/docs/types/Object3DHelperEventMap.html +5 -5
- package/docs/types/ObjectFit.html +5 -5
- package/docs/types/PaintBrushEventMap.html +5 -5
- package/docs/types/PanoCompassPluginData.html +5 -5
- package/docs/types/PanoCompassPluginExportType.html +5 -5
- package/docs/types/PanoCompassPluginParameterType.html +5 -5
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -5
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -5
- package/docs/types/PanoIndex.html +5 -5
- package/docs/types/PanoMeasurePluginEvent.html +5 -5
- package/docs/types/PanoMeasureReturnType.html +5 -5
- package/docs/types/PanoSpatialTagPluginId.html +5 -5
- package/docs/types/PanoTagPluginExportInterface.html +5 -5
- package/docs/types/PanoTagPluginParamsInterface.html +5 -5
- package/docs/types/PanoVideoPluginParameterType.html +5 -5
- package/docs/types/PanoVideoPluginReturnType.html +5 -5
- package/docs/types/PartialObjectDeep.html +5 -5
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +6 -6
- package/docs/types/PlaneTag.html +5 -5
- package/docs/types/Point2DTag.html +5 -5
- package/docs/types/Point3DTag.html +5 -5
- package/docs/types/PointTag.html +5 -5
- package/docs/types/PointTagInstance.html +5 -5
- package/docs/types/Position.html +5 -5
- package/docs/types/RotateArgs.html +5 -5
- package/docs/types/RotateOpts.html +5 -5
- package/docs/types/RuleLabelsKey.html +5 -5
- package/docs/types/RuleLabelsValue.html +5 -5
- package/docs/types/StickType.html +5 -5
- package/docs/types/Tag.html +6 -6
- package/docs/types/Tag2D.html +5 -5
- package/docs/types/Tag3D.html +5 -5
- package/docs/types/TagContentType.html +5 -5
- package/docs/types/TagDimensionType.html +5 -5
- package/docs/types/TagElement.html +5 -5
- package/docs/types/TagEvents.html +29 -11
- package/docs/types/TagGLTFObject.html +5 -5
- package/docs/types/TagHooks.html +5 -5
- package/docs/types/TagId.html +5 -5
- package/docs/types/TagInstance.html +6 -6
- package/docs/types/TagPointType.html +5 -5
- package/docs/types/{TagIconSize.html → TagRendererMap.html} +8 -11
- package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
- package/docs/types/TopviewFloorplanPluginReturnType.html +5 -5
- package/docs/types/WorkCode.html +5 -5
- package/docs/variables/FLOOR_TYPE_MAP.html +5 -5
- package/docs/variables/PLUGIN.html +5 -5
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -5
- package/docs/variables/ROOM_TYPE_MAP.html +5 -5
- package/docs/variables/itemLabelPluginServerParams.html +5 -5
- package/docs/variables/modelItemLabelPluginServerParams.html +5 -5
- package/docs/variables/modelRoomLabelPluginServerParams.html +5 -5
- package/libs/PanoTagPlugin/Components/Common/Media.js +94 -94
- package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +61 -54
- package/libs/PanoTagPlugin/Components/Tag/index.js +279 -266
- package/libs/PanoTagPlugin/Components/TagContainer.js +90 -83
- package/libs/PanoTagPlugin/Components/TagItem.js +177 -169
- package/libs/PanoTagPlugin/controller/TagComputer.d.ts +1 -0
- package/libs/PanoTagPlugin/controller/TagComputer.js +83 -77
- package/libs/PanoTagPlugin/controller/TagRender.d.ts +11 -1
- package/libs/PanoTagPlugin/controller/TagRender.js +41 -22
- package/libs/PanoTagPlugin/controller/TagUtil.js +4 -4
- package/libs/PanoTagPlugin/controller/index.js +23 -20
- package/libs/PanoTagPlugin/typings/controller.d.ts +2 -1
- package/libs/PanoTagPlugin/typings/tag/Tag.d.ts +4 -4
- package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +4 -4
- package/libs/PanoTagPlugin/typings/tag/TagInstance.d.ts +4 -2
- package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +12 -10
- package/libs/base/BasePlugin.js +1 -1
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { SvelteComponent as
|
|
2
|
-
import
|
|
1
|
+
import { SvelteComponent as W, init as X, safe_not_equal as Y, append_styles as Z, element as A, space as x, attr as u, null_to_empty as E, set_style as h, toggle_class as g, insert as C, append as F, transition_out as v, check_outros as G, transition_in as y, detach as M, getContext as $, group_outros as H, noop as z, create_component as O, mount_component as Q, destroy_component as U } from "../../vendor/svelte/internal/index.js";
|
|
2
|
+
import tt from "./Tag/index.js";
|
|
3
3
|
import "three";
|
|
4
|
-
import { noTypecheck as
|
|
5
|
-
import
|
|
6
|
-
import { classnames as
|
|
4
|
+
import { noTypecheck as J } from "../utils/noTypecheck.js";
|
|
5
|
+
import et from "./Common/TagPoint.js";
|
|
6
|
+
import { classnames as K } from "../../vendor/classnames/index.js";
|
|
7
7
|
import "./Tag/TextTag/index.js";
|
|
8
8
|
import "./Tag/TextTag/TextTag.js";
|
|
9
9
|
import "./Common/Line/Straight.js";
|
|
@@ -90,10 +90,10 @@ import "./Tag/LinkTag.js";
|
|
|
90
90
|
import "./Common/Icon/Icon.js";
|
|
91
91
|
import "../utils/getImageInfo.js";
|
|
92
92
|
import "./Tag/CustomTag.js";
|
|
93
|
-
function
|
|
94
|
-
|
|
93
|
+
function it(i) {
|
|
94
|
+
Z(i, "svelte-pzwdws", ".tag.withAnimation.svelte-pzwdws{transition:opacity 0.3s linear}.tag.hide.svelte-pzwdws{opacity:0;pointer-events:none}.tag.hide.svelte-pzwdws *{pointer-events:none !important}.tag.unClickable.svelte-pzwdws{pointer-events:none !important}.tag.unClickable.svelte-pzwdws *{pointer-events:none !important}.tag.disable.svelte-pzwdws{display:none}.wrapper.svelte-pzwdws{position:absolute;width:0rem;height:0rem;overflow:visible;pointer-events:auto}");
|
|
95
95
|
}
|
|
96
|
-
function
|
|
96
|
+
function ot(i) {
|
|
97
97
|
let e;
|
|
98
98
|
return {
|
|
99
99
|
c() {
|
|
@@ -102,17 +102,17 @@ function et(i) {
|
|
|
102
102
|
m(t, o) {
|
|
103
103
|
C(t, e, o);
|
|
104
104
|
},
|
|
105
|
-
p:
|
|
106
|
-
i:
|
|
107
|
-
o:
|
|
105
|
+
p: z,
|
|
106
|
+
i: z,
|
|
107
|
+
o: z,
|
|
108
108
|
d(t) {
|
|
109
|
-
t &&
|
|
109
|
+
t && M(e);
|
|
110
110
|
}
|
|
111
111
|
};
|
|
112
112
|
}
|
|
113
|
-
function
|
|
113
|
+
function rt(i) {
|
|
114
114
|
let e, t;
|
|
115
|
-
return e = new
|
|
115
|
+
return e = new tt({
|
|
116
116
|
props: {
|
|
117
117
|
mediaStore: (
|
|
118
118
|
/*mediaStore*/
|
|
@@ -122,45 +122,51 @@ function it(i) {
|
|
|
122
122
|
/*withAnimation*/
|
|
123
123
|
i[0]
|
|
124
124
|
),
|
|
125
|
-
tag:
|
|
125
|
+
tag: J(
|
|
126
126
|
/*tag*/
|
|
127
127
|
i[1]
|
|
128
128
|
),
|
|
129
129
|
hooks: (
|
|
130
130
|
/*hooks*/
|
|
131
|
-
i[
|
|
131
|
+
i[15]
|
|
132
132
|
),
|
|
133
133
|
state: (
|
|
134
134
|
/*state*/
|
|
135
|
-
i[
|
|
135
|
+
i[4]
|
|
136
136
|
),
|
|
137
137
|
temporaryState: (
|
|
138
138
|
/*temporaryState*/
|
|
139
|
-
i[
|
|
139
|
+
i[5]
|
|
140
|
+
),
|
|
141
|
+
renderMap: (
|
|
142
|
+
/*renderMap*/
|
|
143
|
+
i[3]
|
|
140
144
|
)
|
|
141
145
|
}
|
|
142
146
|
}), {
|
|
143
147
|
c() {
|
|
144
|
-
|
|
148
|
+
O(e.$$.fragment);
|
|
145
149
|
},
|
|
146
|
-
m(o,
|
|
147
|
-
|
|
150
|
+
m(o, n) {
|
|
151
|
+
Q(e, o, n), t = !0;
|
|
148
152
|
},
|
|
149
|
-
p(o,
|
|
150
|
-
const
|
|
151
|
-
|
|
152
|
-
4 && (
|
|
153
|
-
o[2]),
|
|
154
|
-
1 && (
|
|
155
|
-
o[0]),
|
|
156
|
-
2 && (
|
|
153
|
+
p(o, n) {
|
|
154
|
+
const l = {};
|
|
155
|
+
n & /*mediaStore*/
|
|
156
|
+
4 && (l.mediaStore = /*mediaStore*/
|
|
157
|
+
o[2]), n & /*withAnimation*/
|
|
158
|
+
1 && (l.withAnimation = /*withAnimation*/
|
|
159
|
+
o[0]), n & /*tag*/
|
|
160
|
+
2 && (l.tag = J(
|
|
157
161
|
/*tag*/
|
|
158
162
|
o[1]
|
|
159
|
-
)),
|
|
160
|
-
|
|
161
|
-
o[
|
|
162
|
-
|
|
163
|
-
o[
|
|
163
|
+
)), n & /*state*/
|
|
164
|
+
16 && (l.state = /*state*/
|
|
165
|
+
o[4]), n & /*temporaryState*/
|
|
166
|
+
32 && (l.temporaryState = /*temporaryState*/
|
|
167
|
+
o[5]), n & /*renderMap*/
|
|
168
|
+
8 && (l.renderMap = /*renderMap*/
|
|
169
|
+
o[3]), e.$set(l);
|
|
164
170
|
},
|
|
165
171
|
i(o) {
|
|
166
172
|
t || (y(e.$$.fragment, o), t = !0);
|
|
@@ -169,11 +175,11 @@ function it(i) {
|
|
|
169
175
|
v(e.$$.fragment, o), t = !1;
|
|
170
176
|
},
|
|
171
177
|
d(o) {
|
|
172
|
-
|
|
178
|
+
U(e, o);
|
|
173
179
|
}
|
|
174
180
|
};
|
|
175
181
|
}
|
|
176
|
-
function
|
|
182
|
+
function nt(i) {
|
|
177
183
|
let e;
|
|
178
184
|
return {
|
|
179
185
|
c() {
|
|
@@ -182,31 +188,31 @@ function ot(i) {
|
|
|
182
188
|
m(t, o) {
|
|
183
189
|
C(t, e, o);
|
|
184
190
|
},
|
|
185
|
-
p:
|
|
186
|
-
i:
|
|
187
|
-
o:
|
|
191
|
+
p: z,
|
|
192
|
+
i: z,
|
|
193
|
+
o: z,
|
|
188
194
|
d(t) {
|
|
189
|
-
t &&
|
|
195
|
+
t && M(e);
|
|
190
196
|
}
|
|
191
197
|
};
|
|
192
198
|
}
|
|
193
|
-
function
|
|
199
|
+
function at(i) {
|
|
194
200
|
let e, t;
|
|
195
|
-
return e = new
|
|
201
|
+
return e = new et({ props: { tag: (
|
|
196
202
|
/*tag*/
|
|
197
203
|
i[1]
|
|
198
204
|
) } }), {
|
|
199
205
|
c() {
|
|
200
|
-
|
|
206
|
+
O(e.$$.fragment);
|
|
201
207
|
},
|
|
202
|
-
m(o,
|
|
203
|
-
|
|
208
|
+
m(o, n) {
|
|
209
|
+
Q(e, o, n), t = !0;
|
|
204
210
|
},
|
|
205
|
-
p(o,
|
|
206
|
-
const
|
|
207
|
-
|
|
208
|
-
2 && (
|
|
209
|
-
o[1]), e.$set(
|
|
211
|
+
p(o, n) {
|
|
212
|
+
const l = {};
|
|
213
|
+
n & /*tag*/
|
|
214
|
+
2 && (l.tag = /*tag*/
|
|
215
|
+
o[1]), e.$set(l);
|
|
210
216
|
},
|
|
211
217
|
i(o) {
|
|
212
218
|
t || (y(e.$$.fragment, o), t = !0);
|
|
@@ -215,30 +221,30 @@ function rt(i) {
|
|
|
215
221
|
v(e.$$.fragment, o), t = !1;
|
|
216
222
|
},
|
|
217
223
|
d(o) {
|
|
218
|
-
|
|
224
|
+
U(e, o);
|
|
219
225
|
}
|
|
220
226
|
};
|
|
221
227
|
}
|
|
222
|
-
function
|
|
223
|
-
let e, t, o,
|
|
224
|
-
const
|
|
225
|
-
function
|
|
228
|
+
function pt(i) {
|
|
229
|
+
let e, t, o, n, l, f, d, w, b, s;
|
|
230
|
+
const S = [rt, ot], c = [];
|
|
231
|
+
function a(r, p) {
|
|
226
232
|
return (
|
|
227
233
|
/*haveContent*/
|
|
228
|
-
|
|
234
|
+
r[13] ? 0 : 1
|
|
229
235
|
);
|
|
230
236
|
}
|
|
231
|
-
o =
|
|
232
|
-
const P = [
|
|
233
|
-
function T(
|
|
237
|
+
o = a(i), n = c[o] = S[o](i);
|
|
238
|
+
const P = [at, nt], _ = [];
|
|
239
|
+
function T(r, p) {
|
|
234
240
|
return (
|
|
235
241
|
/*havePoint*/
|
|
236
|
-
|
|
242
|
+
r[14] ? 0 : 1
|
|
237
243
|
);
|
|
238
244
|
}
|
|
239
|
-
return
|
|
245
|
+
return f = T(i), d = _[f] = P[f](i), {
|
|
240
246
|
c() {
|
|
241
|
-
e = A("div"), t = A("div"),
|
|
247
|
+
e = A("div"), t = A("div"), n.c(), l = x(), d.c(), u(t, "class", w = E(K(
|
|
242
248
|
"wrapper",
|
|
243
249
|
/*tag*/
|
|
244
250
|
i[1].className ? `${/*tag*/
|
|
@@ -247,204 +253,206 @@ function nt(i) {
|
|
|
247
253
|
t,
|
|
248
254
|
"data-tag-unfolded",
|
|
249
255
|
/*unfolded*/
|
|
250
|
-
i[
|
|
256
|
+
i[9]
|
|
251
257
|
), u(
|
|
252
258
|
t,
|
|
253
259
|
"data-tag-id",
|
|
254
260
|
/*id*/
|
|
255
|
-
i[
|
|
256
|
-
), u(t, "data-content-type",
|
|
261
|
+
i[12]
|
|
262
|
+
), u(t, "data-content-type", b = /*tag*/
|
|
257
263
|
i[1].contentType), h(
|
|
258
264
|
t,
|
|
259
265
|
"left",
|
|
260
266
|
/*left*/
|
|
261
|
-
i[
|
|
267
|
+
i[8]
|
|
262
268
|
), h(
|
|
263
269
|
t,
|
|
264
270
|
"top",
|
|
265
271
|
/*top*/
|
|
266
|
-
i[
|
|
267
|
-
), h(
|
|
268
|
-
t,
|
|
269
|
-
"z-index",
|
|
270
|
-
/*zIndex*/
|
|
271
|
-
i[5]
|
|
272
|
+
i[7]
|
|
272
273
|
), u(e, "class", "tag svelte-pzwdws"), u(
|
|
273
274
|
e,
|
|
274
275
|
"data-tag-id",
|
|
275
276
|
/*id*/
|
|
276
|
-
i[
|
|
277
|
-
),
|
|
277
|
+
i[12]
|
|
278
|
+
), g(
|
|
278
279
|
e,
|
|
279
280
|
"unClickable",
|
|
280
281
|
/*tag*/
|
|
281
282
|
i[1].config.clickable === !1
|
|
282
|
-
),
|
|
283
|
+
), g(
|
|
283
284
|
e,
|
|
284
285
|
"disable",
|
|
285
286
|
/*disable*/
|
|
286
|
-
i[
|
|
287
|
-
),
|
|
287
|
+
i[11]
|
|
288
|
+
), g(
|
|
288
289
|
e,
|
|
289
290
|
"hide",
|
|
290
291
|
/*hide*/
|
|
291
|
-
i[
|
|
292
|
-
),
|
|
292
|
+
i[10]
|
|
293
|
+
), g(
|
|
293
294
|
e,
|
|
294
295
|
"withAnimation",
|
|
295
296
|
/*withAnimation*/
|
|
296
297
|
i[0]
|
|
298
|
+
), h(
|
|
299
|
+
e,
|
|
300
|
+
"z-index",
|
|
301
|
+
/*zIndex*/
|
|
302
|
+
i[6]
|
|
297
303
|
);
|
|
298
304
|
},
|
|
299
|
-
m(
|
|
300
|
-
C(
|
|
305
|
+
m(r, p) {
|
|
306
|
+
C(r, e, p), F(e, t), c[o].m(t, null), F(t, l), _[f].m(t, null), s = !0;
|
|
301
307
|
},
|
|
302
|
-
p(
|
|
303
|
-
let
|
|
304
|
-
o =
|
|
305
|
-
c[
|
|
306
|
-
}),
|
|
307
|
-
let k =
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
}),
|
|
311
|
-
2 &&
|
|
308
|
+
p(r, [p]) {
|
|
309
|
+
let m = o;
|
|
310
|
+
o = a(r), o === m ? c[o].p(r, p) : (H(), v(c[m], 1, 1, () => {
|
|
311
|
+
c[m] = null;
|
|
312
|
+
}), G(), n = c[o], n ? n.p(r, p) : (n = c[o] = S[o](r), n.c()), y(n, 1), n.m(t, l));
|
|
313
|
+
let k = f;
|
|
314
|
+
f = T(r), f === k ? _[f].p(r, p) : (H(), v(_[k], 1, 1, () => {
|
|
315
|
+
_[k] = null;
|
|
316
|
+
}), G(), d = _[f], d ? d.p(r, p) : (d = _[f] = P[f](r), d.c()), y(d, 1), d.m(t, null)), (!s || p & /*tag*/
|
|
317
|
+
2 && w !== (w = E(K(
|
|
312
318
|
"wrapper",
|
|
313
319
|
/*tag*/
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
)) + " svelte-pzwdws")) && u(t, "class",
|
|
317
|
-
|
|
320
|
+
r[1].className ? `${/*tag*/
|
|
321
|
+
r[1].className}__wrapper` : void 0
|
|
322
|
+
)) + " svelte-pzwdws")) && u(t, "class", w), (!s || p & /*unfolded*/
|
|
323
|
+
512) && u(
|
|
318
324
|
t,
|
|
319
325
|
"data-tag-unfolded",
|
|
320
326
|
/*unfolded*/
|
|
321
|
-
|
|
322
|
-
), (!
|
|
323
|
-
|
|
327
|
+
r[9]
|
|
328
|
+
), (!s || p & /*id*/
|
|
329
|
+
4096) && u(
|
|
324
330
|
t,
|
|
325
331
|
"data-tag-id",
|
|
326
332
|
/*id*/
|
|
327
|
-
|
|
328
|
-
), (!
|
|
329
|
-
2 &&
|
|
330
|
-
|
|
331
|
-
|
|
333
|
+
r[12]
|
|
334
|
+
), (!s || p & /*tag*/
|
|
335
|
+
2 && b !== (b = /*tag*/
|
|
336
|
+
r[1].contentType)) && u(t, "data-content-type", b), p & /*left*/
|
|
337
|
+
256 && h(
|
|
332
338
|
t,
|
|
333
339
|
"left",
|
|
334
340
|
/*left*/
|
|
335
|
-
|
|
336
|
-
),
|
|
337
|
-
|
|
341
|
+
r[8]
|
|
342
|
+
), p & /*top*/
|
|
343
|
+
128 && h(
|
|
338
344
|
t,
|
|
339
345
|
"top",
|
|
340
346
|
/*top*/
|
|
341
|
-
|
|
342
|
-
),
|
|
343
|
-
|
|
344
|
-
t,
|
|
345
|
-
"z-index",
|
|
346
|
-
/*zIndex*/
|
|
347
|
-
n[5]
|
|
348
|
-
), (!l || r & /*id*/
|
|
349
|
-
2048) && u(
|
|
347
|
+
r[7]
|
|
348
|
+
), (!s || p & /*id*/
|
|
349
|
+
4096) && u(
|
|
350
350
|
e,
|
|
351
351
|
"data-tag-id",
|
|
352
352
|
/*id*/
|
|
353
|
-
|
|
354
|
-
), (!
|
|
355
|
-
2) &&
|
|
353
|
+
r[12]
|
|
354
|
+
), (!s || p & /*tag*/
|
|
355
|
+
2) && g(
|
|
356
356
|
e,
|
|
357
357
|
"unClickable",
|
|
358
358
|
/*tag*/
|
|
359
|
-
|
|
360
|
-
), (!
|
|
361
|
-
|
|
359
|
+
r[1].config.clickable === !1
|
|
360
|
+
), (!s || p & /*disable*/
|
|
361
|
+
2048) && g(
|
|
362
362
|
e,
|
|
363
363
|
"disable",
|
|
364
364
|
/*disable*/
|
|
365
|
-
|
|
366
|
-
), (!
|
|
367
|
-
|
|
365
|
+
r[11]
|
|
366
|
+
), (!s || p & /*hide*/
|
|
367
|
+
1024) && g(
|
|
368
368
|
e,
|
|
369
369
|
"hide",
|
|
370
370
|
/*hide*/
|
|
371
|
-
|
|
372
|
-
), (!
|
|
373
|
-
1) &&
|
|
371
|
+
r[10]
|
|
372
|
+
), (!s || p & /*withAnimation*/
|
|
373
|
+
1) && g(
|
|
374
374
|
e,
|
|
375
375
|
"withAnimation",
|
|
376
376
|
/*withAnimation*/
|
|
377
|
-
|
|
377
|
+
r[0]
|
|
378
|
+
), p & /*zIndex*/
|
|
379
|
+
64 && h(
|
|
380
|
+
e,
|
|
381
|
+
"z-index",
|
|
382
|
+
/*zIndex*/
|
|
383
|
+
r[6]
|
|
378
384
|
);
|
|
379
385
|
},
|
|
380
|
-
i(
|
|
381
|
-
|
|
386
|
+
i(r) {
|
|
387
|
+
s || (y(n), y(d), s = !0);
|
|
382
388
|
},
|
|
383
|
-
o(
|
|
384
|
-
v(
|
|
389
|
+
o(r) {
|
|
390
|
+
v(n), v(d), s = !1;
|
|
385
391
|
},
|
|
386
|
-
d(
|
|
387
|
-
|
|
392
|
+
d(r) {
|
|
393
|
+
r && M(e), c[o].d(), _[f].d();
|
|
388
394
|
}
|
|
389
395
|
};
|
|
390
396
|
}
|
|
391
|
-
function
|
|
392
|
-
let o,
|
|
393
|
-
const
|
|
394
|
-
return i.$$set = (
|
|
395
|
-
"withAnimation" in
|
|
397
|
+
function mt(i, e, t) {
|
|
398
|
+
let o, n, l, f, d, w, b, s, S, { withAnimation: c = !1 } = e, { tag: a } = e, { mediaStore: P } = e, { renderMap: _ = /* @__PURE__ */ new Map() } = e, { state: T } = e, { temporaryState: r } = e;
|
|
399
|
+
const p = $("hooks");
|
|
400
|
+
return i.$$set = (m) => {
|
|
401
|
+
"withAnimation" in m && t(0, c = m.withAnimation), "tag" in m && t(1, a = m.tag), "mediaStore" in m && t(2, P = m.mediaStore), "renderMap" in m && t(3, _ = m.renderMap), "state" in m && t(4, T = m.state), "temporaryState" in m && t(5, r = m.temporaryState);
|
|
396
402
|
}, i.$$.update = () => {
|
|
397
|
-
var
|
|
403
|
+
var m, k, N, I, L, q, D, R, V;
|
|
398
404
|
i.$$.dirty & /*tag*/
|
|
399
|
-
2 && t(
|
|
400
|
-
var
|
|
401
|
-
return !(((
|
|
405
|
+
2 && t(14, o = (() => {
|
|
406
|
+
var j, B;
|
|
407
|
+
return !(((B = (j = a.style) == null ? void 0 : j.point) == null ? void 0 : B.enabled) === !1 || a.contentType === "Sticker" || a.contentType === "Link" || a.contentType === "VRLink" || a.contentType === "PanoLink" || a.contentType === "Audio" && a.data.appearance === "plane");
|
|
402
408
|
})()), i.$$.dirty & /*tag*/
|
|
403
|
-
2 && t(
|
|
404
|
-
2 && t(
|
|
405
|
-
2 && t(
|
|
406
|
-
2 && t(
|
|
407
|
-
2 && t(
|
|
408
|
-
2 && t(
|
|
409
|
-
2 && t(
|
|
410
|
-
2 && t(
|
|
409
|
+
2 && t(13, n = (() => a.stickType === "2DPoint")()), i.$$.dirty & /*tag*/
|
|
410
|
+
2 && t(12, l = a.id), i.$$.dirty & /*tag*/
|
|
411
|
+
2 && t(11, f = !((m = a.screenPosition) != null && m.leftPercent) || !((k = a.screenPosition) != null && k.topPercent) || a.enabled === !1 || !a.state), i.$$.dirty & /*tag*/
|
|
412
|
+
2 && t(10, d = !((N = a.state) != null && N.visible) || ((I = a.temporaryState) == null ? void 0 : I.visible) === !1), i.$$.dirty & /*tag*/
|
|
413
|
+
2 && t(9, w = (L = a.state) == null ? void 0 : L.unfolded), i.$$.dirty & /*tag*/
|
|
414
|
+
2 && t(8, b = ((q = a.screenPosition) == null ? void 0 : q.leftPercent) + "%"), i.$$.dirty & /*tag*/
|
|
415
|
+
2 && t(7, s = ((D = a.screenPosition) == null ? void 0 : D.topPercent) + "%"), i.$$.dirty & /*tag*/
|
|
416
|
+
2 && t(6, S = (R = a.state) != null && R.unfolded ? 99999 : (V = a.zIndex) != null ? V : 0);
|
|
411
417
|
}, [
|
|
412
418
|
c,
|
|
413
|
-
|
|
419
|
+
a,
|
|
414
420
|
P,
|
|
415
|
-
|
|
421
|
+
_,
|
|
416
422
|
T,
|
|
417
|
-
|
|
418
|
-
|
|
423
|
+
r,
|
|
424
|
+
S,
|
|
425
|
+
s,
|
|
426
|
+
b,
|
|
419
427
|
w,
|
|
420
|
-
|
|
428
|
+
d,
|
|
421
429
|
f,
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
a,
|
|
430
|
+
l,
|
|
431
|
+
n,
|
|
425
432
|
o,
|
|
426
|
-
|
|
433
|
+
p
|
|
427
434
|
];
|
|
428
435
|
}
|
|
429
|
-
class
|
|
436
|
+
class Ue extends W {
|
|
430
437
|
constructor(e) {
|
|
431
|
-
super(),
|
|
438
|
+
super(), X(
|
|
432
439
|
this,
|
|
433
440
|
e,
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
441
|
+
mt,
|
|
442
|
+
pt,
|
|
443
|
+
Y,
|
|
437
444
|
{
|
|
438
445
|
withAnimation: 0,
|
|
439
446
|
tag: 1,
|
|
440
447
|
mediaStore: 2,
|
|
441
|
-
|
|
442
|
-
|
|
448
|
+
renderMap: 3,
|
|
449
|
+
state: 4,
|
|
450
|
+
temporaryState: 5
|
|
443
451
|
},
|
|
444
|
-
|
|
452
|
+
it
|
|
445
453
|
);
|
|
446
454
|
}
|
|
447
455
|
}
|
|
448
456
|
export {
|
|
449
|
-
|
|
457
|
+
Ue as default
|
|
450
458
|
};
|
|
@@ -28,6 +28,7 @@ export declare abstract class TagComputer extends TagUtil {
|
|
|
28
28
|
*/
|
|
29
29
|
getUnfoldedByCamera(tag: TagInstance): boolean;
|
|
30
30
|
protected sort<T extends TagInstance>(tags: T[]): T[];
|
|
31
|
+
protected setTagZIndex<T extends TagInstance>(tags: T[]): void;
|
|
31
32
|
/**
|
|
32
33
|
* @description: 一个点的标签
|
|
33
34
|
*/
|