@realsee/dnalogel 2.3.5-dev.0 → 2.3.5-dev.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +1 -1
- package/dist/index.cjs.js +37 -37
- package/dist/index.js +1774 -1751
- package/dist/index.umd.js +25 -25
- package/docs/classes/CSS3DRender.html +31 -31
- package/docs/classes/CruisePluginController.html +24 -24
- package/docs/classes/Magnifier.html +16 -16
- package/docs/classes/ModelRoomLabelController.html +11 -11
- package/docs/classes/Object3DHelperController.html +24 -24
- package/docs/classes/PaintBrush.html +15 -15
- package/docs/classes/PanoTagPluginController.html +48 -48
- 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 +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/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.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 +5 -5
- package/docs/index.html +4 -4
- 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/LineJson.html +7 -7
- 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/OpenParameter.html +7 -7
- 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 +11 -11
- 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/Point.html +8 -8
- package/docs/interfaces/PointJson.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/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 +4 -4
- package/docs/types/ArrayPosition.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/Color.html +5 -5
- package/docs/types/ContentTypeConfigKey.html +5 -5
- 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/Direction-1.html +5 -5
- package/docs/types/Direction4.html +5 -5
- package/docs/types/FloorplanRuleLabels.html +5 -5
- package/docs/types/FloorplanServerRuleLabels.html +5 -5
- package/docs/types/GuideLinePluginExportType.html +5 -5
- package/docs/types/HelperEventMap.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/PlaneTag.html +5 -5
- package/docs/types/PlaneTagElement.html +5 -5
- package/docs/types/Point2DElement.html +5 -5
- package/docs/types/Point2DTag.html +5 -5
- package/docs/types/Point3DElement.html +5 -5
- package/docs/types/Point3DTag.html +5 -5
- package/docs/types/PointTag.html +5 -5
- package/docs/types/PointTagElement.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 +5 -5
- 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 +5 -5
- package/docs/types/TagHooks.html +5 -5
- package/docs/types/TagIconSize.html +5 -5
- package/docs/types/TagId.html +5 -5
- package/docs/types/TagPointType.html +5 -5
- 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/VERSION.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/Object3DHelperPlugin/Controller.js +36 -34
- package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +66 -53
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +32 -32
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +26 -26
- package/libs/PanoTagPlugin/Components/TagItem.js +1 -1
- package/libs/PanoTagPlugin/controller/index.js +1 -1
- package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +1 -1
- package/libs/PanoTagPlugin/utils/tag/format.js +10 -2
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
var
|
|
1
|
+
var g = Object.defineProperty;
|
|
2
2
|
var w = Object.getOwnPropertySymbols;
|
|
3
3
|
var M = Object.prototype.hasOwnProperty, E = Object.prototype.propertyIsEnumerable;
|
|
4
|
-
var b = (i, s, e) => s in i ?
|
|
4
|
+
var b = (i, s, e) => s in i ? g(i, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[s] = e, f = (i, s) => {
|
|
5
5
|
for (var e in s || (s = {}))
|
|
6
6
|
M.call(s, e) && b(i, e, s[e]);
|
|
7
7
|
if (w)
|
|
@@ -11,25 +11,25 @@ var b = (i, s, e) => s in i ? O(i, s, { enumerable: !0, configurable: !0, writab
|
|
|
11
11
|
};
|
|
12
12
|
var p = (i, s, e) => (b(i, typeof s != "symbol" ? s + "" : s, e), e);
|
|
13
13
|
var u = (i, s, e) => new Promise((r, t) => {
|
|
14
|
-
var
|
|
14
|
+
var o = (l) => {
|
|
15
15
|
try {
|
|
16
|
-
|
|
17
|
-
} catch (
|
|
18
|
-
t(
|
|
16
|
+
h(e.next(l));
|
|
17
|
+
} catch (c) {
|
|
18
|
+
t(c);
|
|
19
19
|
}
|
|
20
|
-
},
|
|
20
|
+
}, m = (l) => {
|
|
21
21
|
try {
|
|
22
|
-
|
|
23
|
-
} catch (
|
|
24
|
-
t(
|
|
22
|
+
h(e.throw(l));
|
|
23
|
+
} catch (c) {
|
|
24
|
+
t(c);
|
|
25
25
|
}
|
|
26
|
-
},
|
|
27
|
-
|
|
26
|
+
}, h = (l) => l.done ? r(l.value) : Promise.resolve(l.value).then(o, m);
|
|
27
|
+
h((e = e.apply(i, s)).next());
|
|
28
28
|
});
|
|
29
29
|
import { Controller as R } from "../base/BasePlugin.js";
|
|
30
30
|
import "three";
|
|
31
|
-
import { MoveHelper as
|
|
32
|
-
import { RotateHelper as
|
|
31
|
+
import { MoveHelper as P } from "../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
32
|
+
import { RotateHelper as j } from "../shared-utils/Object3DHelper/Helper/RotateHelper.js";
|
|
33
33
|
import { RectangleScaleHelper as y } from "../shared-utils/Object3DHelper/Helper/RectangleScaleHelper.js";
|
|
34
34
|
import "../shared-utils/Object3DHelper/Helper/OutlineHelper.js";
|
|
35
35
|
import { MoveController as F } from "../shared-utils/Object3DHelper/Controller/MoveController.js";
|
|
@@ -66,17 +66,17 @@ import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
|
66
66
|
import "../CSS3DRenderPlugin/utils/positionToVector3.js";
|
|
67
67
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
68
68
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
69
|
-
const
|
|
69
|
+
const O = "v1.0.0", H = "Object3DHelperPlugin", C = `${H}@${O}`, _ = () => {
|
|
70
70
|
console.error(`${C} is disposed`);
|
|
71
71
|
}, G = () => {
|
|
72
72
|
console.warn(`${C} is disabled`);
|
|
73
73
|
}, N = () => {
|
|
74
74
|
console.error(`${C} is disabled`);
|
|
75
75
|
};
|
|
76
|
-
class
|
|
76
|
+
class Pe extends R {
|
|
77
77
|
constructor(e) {
|
|
78
78
|
super(e);
|
|
79
|
-
p(this, "version",
|
|
79
|
+
p(this, "version", O);
|
|
80
80
|
p(this, "name", H);
|
|
81
81
|
p(this, "state", {
|
|
82
82
|
visible: !0,
|
|
@@ -128,33 +128,35 @@ class je extends R {
|
|
|
128
128
|
}
|
|
129
129
|
const t = new I();
|
|
130
130
|
this.objectHelperMap.set(e, t);
|
|
131
|
-
const
|
|
132
|
-
if (
|
|
133
|
-
const
|
|
131
|
+
const o = (S = this.five.getElement()) == null ? void 0 : S.parentElement, m = this.five.camera, { moveHelper: h = !0, rotateHelper: l = !0, scaleHelper: c = !0 } = r;
|
|
132
|
+
if (h) {
|
|
133
|
+
const n = new P(e), a = new v(this.five, F, e, n);
|
|
134
134
|
t.addControllers({ moveController: a.helperController });
|
|
135
135
|
}
|
|
136
|
-
if (
|
|
137
|
-
let
|
|
138
|
-
|
|
139
|
-
const a = new
|
|
140
|
-
t.addControllers({ rotateController:
|
|
136
|
+
if (l) {
|
|
137
|
+
let n;
|
|
138
|
+
o && m && (n = { container: o });
|
|
139
|
+
const a = new j(e, n), d = new v(this.five, k, e, a);
|
|
140
|
+
t.addControllers({ rotateController: d.helperController });
|
|
141
141
|
}
|
|
142
|
-
if (
|
|
143
|
-
const
|
|
142
|
+
if (c && o) {
|
|
143
|
+
const n = new y(e, o, m, this.five.scene), a = new v(this.five, B, e, n);
|
|
144
144
|
t.addControllers({ scaleController: a.helperController });
|
|
145
145
|
}
|
|
146
146
|
e.isCSS3DObjectPlus && $(this.five).then(() => {
|
|
147
|
-
var
|
|
148
|
-
|
|
149
|
-
|
|
147
|
+
var n, a;
|
|
148
|
+
if (e.isCSS3DObjectPlus) {
|
|
149
|
+
const d = e, D = (n = this.css3DRender.behindModeCSS3DRenderer.wrapper) != null ? n : W(this.five);
|
|
150
|
+
D && e && (this.css3DObjectParentMap.set(d, d.parent), d.removeFromParent(), this.css3DRender.behindModeCSS3DRenderer.setWrapper(D), (a = this.css3DRender.getBehindCSS3DObjectGroup()) == null || a.add(d), this.css3DRender.render(this.five.camera));
|
|
151
|
+
}
|
|
150
152
|
});
|
|
151
153
|
}
|
|
152
154
|
removeObject3DHelper(e) {
|
|
153
155
|
const r = this.objectHelperMap.get(e);
|
|
154
156
|
if (!!r) {
|
|
155
157
|
if (e.isCSS3DObjectPlus) {
|
|
156
|
-
const t = e,
|
|
157
|
-
|
|
158
|
+
const t = e, o = this.css3DObjectParentMap.get(t);
|
|
159
|
+
o == null || o.add(t), this.css3DRender.render(this.five.camera);
|
|
158
160
|
}
|
|
159
161
|
this.objectHelperMap.delete(e), r.dispose();
|
|
160
162
|
}
|
|
@@ -180,7 +182,7 @@ class je extends R {
|
|
|
180
182
|
}
|
|
181
183
|
}
|
|
182
184
|
export {
|
|
183
|
-
|
|
185
|
+
Pe as Object3DHelperController,
|
|
184
186
|
C as PLUGIN,
|
|
185
|
-
|
|
187
|
+
O as VERSION
|
|
186
188
|
};
|
|
@@ -1,97 +1,110 @@
|
|
|
1
|
-
import { SvelteComponent as G, init as U, safe_not_equal as q, append_styles as A,
|
|
2
|
-
import { draw as
|
|
3
|
-
import { uuid as
|
|
4
|
-
function
|
|
1
|
+
import { SvelteComponent as G, init as U, safe_not_equal as q, append_styles as A, empty as H, insert as y, noop as j, detach as w, element as I, svg_element as h, attr as l, toggle_class as g, set_style as v, append as m, transition_in as C, group_outros as M, transition_out as N, check_outros as O, add_render_callback as R, create_in_transition as V, identity as p, create_out_transition as E } from "../../../../vendor/svelte/internal/index.js";
|
|
2
|
+
import { draw as z } from "../../../../vendor/svelte/transition/index.js";
|
|
3
|
+
import { uuid as F } from "../../../../shared-utils/uuid.js";
|
|
4
|
+
function J(t) {
|
|
5
5
|
A(t, "svelte-xuejcm", ".line.svelte-xuejcm{position:absolute;pointer-events:none}.line.vertical.svelte-xuejcm{transform:rotate(-90deg) translate3d(0.03125rem, 0, 0.625rem);transform-origin:0 0}.line.horizontal.svelte-xuejcm{transform:translate3d(0, -0.03125rem, 0.625rem)}.straight-line.svelte-xuejcm{display:block;width:100%;height:100%;overflow:visible}");
|
|
6
6
|
}
|
|
7
|
-
function
|
|
8
|
-
let e, i,
|
|
7
|
+
function L(t) {
|
|
8
|
+
let e, i, o, n, s, r, _, f = t[3] && B(t);
|
|
9
9
|
return {
|
|
10
10
|
c() {
|
|
11
|
-
e =
|
|
11
|
+
e = I("div"), i = h("svg"), o = h("defs"), n = h("linearGradient"), s = h("stop"), r = h("stop"), f && f.c(), l(s, "offset", "25%"), l(s, "stop-color", t[5]), l(s, "stop-opacity", "1"), l(r, "offset", "100%"), l(r, "stop-color", t[5]), l(r, "stop-opacity", "0.5"), l(n, "x1", 0.5), l(n, "y1", 0.5), l(n, "x2", t[8]), l(n, "y2", 0.5), l(n, "id", t[10]), l(n, "gradientUnits", "userSpaceOnUse"), l(i, "class", "straight-line svelte-xuejcm"), l(i, "viewBox", _ = "0 0 " + t[8] + " " + t[7]), l(i, "preserveAspectRatio", "none"), l(e, "class", "line svelte-xuejcm"), g(e, "vertical", t[9]), g(e, "horizontal", !t[9]), v(e, "width", t[8] + "px"), v(e, "height", t[7] + "px");
|
|
12
12
|
},
|
|
13
13
|
m(a, d) {
|
|
14
|
-
|
|
14
|
+
y(a, e, d), m(e, i), m(i, o), m(o, n), m(n, s), m(n, r), f && f.m(i, null);
|
|
15
15
|
},
|
|
16
16
|
p(a, d) {
|
|
17
|
-
|
|
17
|
+
d & 32 && l(s, "stop-color", a[5]), d & 32 && l(r, "stop-color", a[5]), d & 256 && l(n, "x2", a[8]), a[3] ? f ? (f.p(a, d), d & 8 && C(f, 1)) : (f = B(a), f.c(), C(f, 1), f.m(i, null)) : f && (M(), N(f, 1, 1, () => {
|
|
18
|
+
f = null;
|
|
19
|
+
}), O()), d & 384 && _ !== (_ = "0 0 " + a[8] + " " + a[7]) && l(i, "viewBox", _), d & 512 && g(e, "vertical", a[9]), d & 512 && g(e, "horizontal", !a[9]), d & 256 && v(e, "width", a[8] + "px"), d & 128 && v(e, "height", a[7] + "px");
|
|
18
20
|
},
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
21
|
+
d(a) {
|
|
22
|
+
a && w(e), f && f.d();
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
function B(t) {
|
|
27
|
+
let e, i, o, n, s;
|
|
28
|
+
return {
|
|
29
|
+
c() {
|
|
30
|
+
e = h("path"), l(e, "fill", "none"), l(e, "stroke", i = t[4] ? `url(#${t[10]})` : t[5]), l(e, "stroke-width", 1), l(e, "d", t[6]);
|
|
31
|
+
},
|
|
32
|
+
m(r, _) {
|
|
33
|
+
y(r, e, _), s = !0;
|
|
34
|
+
},
|
|
35
|
+
p(r, _) {
|
|
36
|
+
t = r, (!s || _ & 48 && i !== (i = t[4] ? `url(#${t[10]})` : t[5])) && l(e, "stroke", i), (!s || _ & 64) && l(e, "d", t[6]);
|
|
37
|
+
},
|
|
38
|
+
i(r) {
|
|
39
|
+
s || (r && R(() => {
|
|
40
|
+
n && n.end(1), o = V(e, z, {
|
|
22
41
|
duration: t[2],
|
|
23
42
|
delay: t[0],
|
|
24
|
-
easing:
|
|
25
|
-
}),
|
|
43
|
+
easing: p
|
|
44
|
+
}), o.start();
|
|
26
45
|
}), s = !0);
|
|
27
46
|
},
|
|
28
|
-
o(
|
|
29
|
-
|
|
47
|
+
o(r) {
|
|
48
|
+
o && o.invalidate(), r && (n = E(e, z, {
|
|
30
49
|
duration: t[2],
|
|
31
50
|
delay: t[1],
|
|
32
|
-
easing:
|
|
51
|
+
easing: p
|
|
33
52
|
})), s = !1;
|
|
34
53
|
},
|
|
35
|
-
d(
|
|
36
|
-
|
|
54
|
+
d(r) {
|
|
55
|
+
r && w(e), r && n && n.end();
|
|
37
56
|
}
|
|
38
57
|
};
|
|
39
58
|
}
|
|
40
|
-
function
|
|
41
|
-
let e, i
|
|
59
|
+
function K(t) {
|
|
60
|
+
let e, i = t[8] && L(t);
|
|
42
61
|
return {
|
|
43
62
|
c() {
|
|
44
|
-
|
|
45
|
-
},
|
|
46
|
-
m(o, u) {
|
|
47
|
-
L(o, e, u), m(e, i), m(i, h), m(h, r), m(r, s), m(r, a), n && n.m(i, null);
|
|
48
|
-
},
|
|
49
|
-
p(o, [u]) {
|
|
50
|
-
u & 32 && l(s, "stop-color", o[5]), u & 32 && l(a, "stop-color", o[5]), u & 256 && l(r, "x2", o[8]), o[3] ? n ? (n.p(o, u), u & 8 && y(n, 1)) : (n = z(o), n.c(), y(n, 1), n.m(i, null)) : n && (I(), j(n, 1, 1, () => {
|
|
51
|
-
n = null;
|
|
52
|
-
}), M()), u & 384 && d !== (d = "0 0 " + o[8] + " " + o[7]) && l(i, "viewBox", d), u & 512 && g(e, "vertical", o[9]), u & 512 && g(e, "horizontal", !o[9]), u & 256 && v(e, "width", o[8] + "px"), u & 128 && v(e, "height", o[7] + "px");
|
|
63
|
+
i && i.c(), e = H();
|
|
53
64
|
},
|
|
54
|
-
|
|
55
|
-
y(n);
|
|
65
|
+
m(o, n) {
|
|
66
|
+
i && i.m(o, n), y(o, e, n);
|
|
56
67
|
},
|
|
57
|
-
|
|
58
|
-
|
|
68
|
+
p(o, [n]) {
|
|
69
|
+
o[8] ? i ? i.p(o, n) : (i = L(o), i.c(), i.m(e.parentNode, e)) : i && (i.d(1), i = null);
|
|
59
70
|
},
|
|
71
|
+
i: j,
|
|
72
|
+
o: j,
|
|
60
73
|
d(o) {
|
|
61
|
-
|
|
74
|
+
i && i.d(o), o && w(e);
|
|
62
75
|
}
|
|
63
76
|
};
|
|
64
77
|
}
|
|
65
|
-
function
|
|
66
|
-
let
|
|
67
|
-
const S =
|
|
68
|
-
return t.$$set = (
|
|
69
|
-
"inDelay" in
|
|
78
|
+
function P(t, e, i) {
|
|
79
|
+
let o, n, s, r, { inDelay: _ = 0 } = e, { outDelay: f = 0 } = e, { duration: a = 1e3 } = e, { unfolded: d } = e, { length: c } = e, { direction: k = "horizontal" } = e, { useLinearColor: b = !1 } = e, { color: D = "white" } = e;
|
|
80
|
+
const S = F();
|
|
81
|
+
return t.$$set = (u) => {
|
|
82
|
+
"inDelay" in u && i(0, _ = u.inDelay), "outDelay" in u && i(1, f = u.outDelay), "duration" in u && i(2, a = u.duration), "unfolded" in u && i(3, d = u.unfolded), "length" in u && i(11, c = u.length), "direction" in u && i(12, k = u.direction), "useLinearColor" in u && i(4, b = u.useLinearColor), "color" in u && i(5, D = u.color);
|
|
70
83
|
}, t.$$.update = () => {
|
|
71
|
-
t.$$.dirty & 4096 && i(9,
|
|
84
|
+
t.$$.dirty & 4096 && i(9, o = k === "vertical"), t.$$.dirty & 2048 && i(8, n = c), t.$$.dirty & 2048 && i(6, r = `M0.5 0.5 H ${c}`);
|
|
72
85
|
}, i(7, s = 1), [
|
|
86
|
+
_,
|
|
87
|
+
f,
|
|
88
|
+
a,
|
|
73
89
|
d,
|
|
74
|
-
|
|
75
|
-
o,
|
|
76
|
-
u,
|
|
77
|
-
k,
|
|
90
|
+
b,
|
|
78
91
|
D,
|
|
79
|
-
a,
|
|
80
|
-
s,
|
|
81
92
|
r,
|
|
82
|
-
|
|
93
|
+
s,
|
|
94
|
+
n,
|
|
95
|
+
o,
|
|
83
96
|
S,
|
|
84
97
|
c,
|
|
85
|
-
|
|
98
|
+
k
|
|
86
99
|
];
|
|
87
100
|
}
|
|
88
|
-
class
|
|
101
|
+
class X extends G {
|
|
89
102
|
constructor(e) {
|
|
90
103
|
super(), U(
|
|
91
104
|
this,
|
|
92
105
|
e,
|
|
106
|
+
P,
|
|
93
107
|
K,
|
|
94
|
-
J,
|
|
95
108
|
q,
|
|
96
109
|
{
|
|
97
110
|
inDelay: 0,
|
|
@@ -103,10 +116,10 @@ class T extends G {
|
|
|
103
116
|
useLinearColor: 4,
|
|
104
117
|
color: 5
|
|
105
118
|
},
|
|
106
|
-
|
|
119
|
+
J
|
|
107
120
|
);
|
|
108
121
|
}
|
|
109
122
|
}
|
|
110
123
|
export {
|
|
111
|
-
|
|
124
|
+
X as Straight
|
|
112
125
|
};
|
|
@@ -1,78 +1,78 @@
|
|
|
1
|
-
import { SvelteComponent as
|
|
2
|
-
import { Shadow as
|
|
3
|
-
import { Icon as
|
|
4
|
-
import { Image_Default_Point as
|
|
5
|
-
import { px2rem as
|
|
6
|
-
function L(o) {
|
|
7
|
-
M(o, "svelte-u8kmhd", '@charset "UTF-8";.click-helper.svelte-u8kmhd.svelte-u8kmhd{position:absolute;pointer-events:auto;cursor:pointer;width:2.5rem;height:2.5rem;left:50%;top:50%;transform:translate(-50%, -50%)}.tag-point-wrapper.svelte-u8kmhd.svelte-u8kmhd{pointer-events:none;position:absolute;left:50%;top:50%;transform:translate(-50%, -50%);z-index:-1}.tag-folded-point.svelte-u8kmhd.svelte-u8kmhd,.tag-unfolded-point.svelte-u8kmhd.svelte-u8kmhd{transition:all 0.5s}.tag-point-wrapper.svelte-u8kmhd .tag-unfolded-point.svelte-u8kmhd{display:flex;justify-content:center;align-items:center;position:absolute;width:100%;height:100%;border-radius:50%}.tag-point-wrapper.svelte-u8kmhd .tag-unfolded-point.svelte-u8kmhd:after{content:"";position:absolute;width:0.3125rem;height:0.3125rem;border-radius:50%;background-color:white}.tag-point-wrapper.svelte-u8kmhd .tag-unfolded-point.svelte-u8kmhd:before{content:"";position:absolute;width:0.875rem;height:0.875rem;border-radius:50%;background-color:rgba(0, 0, 0, 0.2)}.tag-point-wrapper.folded.svelte-u8kmhd .tag-folded-point.svelte-u8kmhd{opacity:1}.tag-point-wrapper.folded.svelte-u8kmhd .tag-unfolded-point.svelte-u8kmhd{opacity:0}.tag-point-wrapper.unfolded.svelte-u8kmhd .tag-folded-point.svelte-u8kmhd{opacity:0;scale:0.2}.tag-point-wrapper.unfolded.svelte-u8kmhd .tag-unfolded-point.svelte-u8kmhd{opacity:1;scale:1}');
|
|
8
|
-
}
|
|
1
|
+
import { SvelteComponent as A, init as F, safe_not_equal as M, append_styles as U, element as w, space as $, create_component as D, attr as y, set_style as u, toggle_class as _, insert as B, append as f, mount_component as I, listen as E, transition_in as R, transition_out as j, detach as G, destroy_component as q, getContext as H } from "../../../vendor/svelte/internal/index.js";
|
|
2
|
+
import { Shadow as J } from "./Shadow.js";
|
|
3
|
+
import { Icon as K } from "./Icon/Icon.js";
|
|
4
|
+
import { Image_Default_Point as L } from "../../Assets/Icon.js";
|
|
5
|
+
import { px2rem as b } from "../../utils/px2rem.js";
|
|
9
6
|
function N(o) {
|
|
10
|
-
|
|
11
|
-
|
|
7
|
+
U(o, "svelte-u8kmhd", '@charset "UTF-8";.click-helper.svelte-u8kmhd.svelte-u8kmhd{position:absolute;pointer-events:auto;cursor:pointer;width:2.5rem;height:2.5rem;left:50%;top:50%;transform:translate(-50%, -50%)}.tag-point-wrapper.svelte-u8kmhd.svelte-u8kmhd{pointer-events:none;position:absolute;left:50%;top:50%;transform:translate(-50%, -50%);z-index:-1}.tag-folded-point.svelte-u8kmhd.svelte-u8kmhd,.tag-unfolded-point.svelte-u8kmhd.svelte-u8kmhd{transition:all 0.5s}.tag-point-wrapper.svelte-u8kmhd .tag-unfolded-point.svelte-u8kmhd{display:flex;justify-content:center;align-items:center;position:absolute;width:100%;height:100%;border-radius:50%}.tag-point-wrapper.svelte-u8kmhd .tag-unfolded-point.svelte-u8kmhd:after{content:"";position:absolute;width:0.3125rem;height:0.3125rem;border-radius:50%;background-color:white}.tag-point-wrapper.svelte-u8kmhd .tag-unfolded-point.svelte-u8kmhd:before{content:"";position:absolute;width:0.875rem;height:0.875rem;border-radius:50%;background-color:rgba(0, 0, 0, 0.2)}.tag-point-wrapper.folded.svelte-u8kmhd .tag-folded-point.svelte-u8kmhd{opacity:1}.tag-point-wrapper.folded.svelte-u8kmhd .tag-unfolded-point.svelte-u8kmhd{opacity:0}.tag-point-wrapper.unfolded.svelte-u8kmhd .tag-folded-point.svelte-u8kmhd{opacity:0;scale:0.2}.tag-point-wrapper.unfolded.svelte-u8kmhd .tag-unfolded-point.svelte-u8kmhd{opacity:1;scale:1}');
|
|
8
|
+
}
|
|
9
|
+
function O(o) {
|
|
10
|
+
let t, s, p, d, h, a, c, n, r, l, g, k;
|
|
11
|
+
return d = new J({
|
|
12
12
|
props: {
|
|
13
13
|
center: !0,
|
|
14
14
|
blurRadius: 12,
|
|
15
15
|
spreadRadius: 5
|
|
16
16
|
}
|
|
17
|
-
}), r = new
|
|
17
|
+
}), r = new K({
|
|
18
18
|
props: {
|
|
19
19
|
icon: o[2],
|
|
20
20
|
width: o[1]
|
|
21
21
|
}
|
|
22
22
|
}), {
|
|
23
23
|
c() {
|
|
24
|
-
t = w("div"), s = w("div"), p = $(),
|
|
24
|
+
t = w("div"), s = w("div"), p = $(), D(d.$$.fragment), h = $(), a = w("div"), c = $(), n = w("div"), D(r.$$.fragment), y(s, "class", "click-helper svelte-u8kmhd"), y(a, "class", "tag-unfolded-point svelte-u8kmhd"), u(a, "transition-delay", (o[3] ? T : 0) + "ms"), y(n, "class", "tag-folded-point svelte-u8kmhd"), u(n, "transition-delay", (o[3] ? T : 0) + "ms"), y(t, "class", "tag-point-wrapper svelte-u8kmhd"), _(t, "unfolded", o[0]), _(t, "folded", o[3]), u(t, "width", b(o[1])), u(t, "height", b(o[1]));
|
|
25
25
|
},
|
|
26
26
|
m(e, i) {
|
|
27
|
-
|
|
27
|
+
B(e, t, i), f(t, s), f(t, p), I(d, t, null), f(t, h), f(t, a), f(t, c), f(t, n), I(r, n, null), l = !0, g || (k = E(s, "click", o[4]), g = !0);
|
|
28
28
|
},
|
|
29
29
|
p(e, [i]) {
|
|
30
30
|
i & 8 && u(a, "transition-delay", (e[3] ? T : 0) + "ms");
|
|
31
31
|
const m = {};
|
|
32
|
-
i & 4 && (m.icon = e[2]), i & 2 && (m.width = e[1]), r.$set(m), i & 8 && u(n, "transition-delay", (e[3] ? T : 0) + "ms"), (!
|
|
32
|
+
i & 4 && (m.icon = e[2]), i & 2 && (m.width = e[1]), r.$set(m), i & 8 && u(n, "transition-delay", (e[3] ? T : 0) + "ms"), (!l || i & 1) && _(t, "unfolded", e[0]), (!l || i & 8) && _(t, "folded", e[3]), i & 2 && u(t, "width", b(e[1])), i & 2 && u(t, "height", b(e[1]));
|
|
33
33
|
},
|
|
34
34
|
i(e) {
|
|
35
|
-
|
|
35
|
+
l || (R(d.$$.fragment, e), R(r.$$.fragment, e), l = !0);
|
|
36
36
|
},
|
|
37
37
|
o(e) {
|
|
38
|
-
|
|
38
|
+
j(d.$$.fragment, e), j(r.$$.fragment, e), l = !1;
|
|
39
39
|
},
|
|
40
40
|
d(e) {
|
|
41
|
-
e &&
|
|
41
|
+
e && G(t), q(d), q(r), g = !1, k();
|
|
42
42
|
}
|
|
43
43
|
};
|
|
44
44
|
}
|
|
45
45
|
const T = 800;
|
|
46
|
-
function
|
|
47
|
-
let p,
|
|
48
|
-
const c =
|
|
49
|
-
let { tag: n } = t, r,
|
|
46
|
+
function Q(o, t, s) {
|
|
47
|
+
let p, d, h, a;
|
|
48
|
+
const c = H("hooks");
|
|
49
|
+
let { tag: n } = t, r, l = !1;
|
|
50
50
|
const g = () => {
|
|
51
|
-
r !== void 0 && clearTimeout(r),
|
|
51
|
+
r !== void 0 && clearTimeout(r), l = !0, r = setTimeout(
|
|
52
52
|
() => {
|
|
53
|
-
|
|
53
|
+
l = !1;
|
|
54
54
|
},
|
|
55
55
|
800
|
|
56
56
|
);
|
|
57
57
|
}, k = (e) => {
|
|
58
|
-
|
|
58
|
+
l || c.emit("click", { event: e, target: "TagPoint", tag: n });
|
|
59
59
|
};
|
|
60
60
|
return o.$$set = (e) => {
|
|
61
61
|
"tag" in e && s(5, n = e.tag);
|
|
62
62
|
}, o.$$.update = () => {
|
|
63
|
-
var e, i, m;
|
|
64
|
-
o.$$.dirty & 32 && s(0, p = (e = n.state) == null ? void 0 : e.unfolded), o.$$.dirty & 1 && s(3,
|
|
65
|
-
var
|
|
66
|
-
const v = (
|
|
63
|
+
var e, i, m, P;
|
|
64
|
+
o.$$.dirty & 32 && s(0, p = (e = n.state) == null ? void 0 : e.unfolded), o.$$.dirty & 1 && s(3, d = !p), o.$$.dirty & 32 && s(2, h = (m = (i = n.style) == null ? void 0 : i.point) != null && m.url ? (P = n.style) == null ? void 0 : P.point : { url: L }), o.$$.dirty & 32 && s(1, a = (() => {
|
|
65
|
+
var S, z, C;
|
|
66
|
+
const v = (C = (z = (S = n.style) == null ? void 0 : S.point) == null ? void 0 : z.size) != null ? C : "S";
|
|
67
67
|
return typeof v == "number" ? v : v === "S" ? 20 : v === "M" ? 24 : 20;
|
|
68
68
|
})());
|
|
69
|
-
}, g(), [p, a, h,
|
|
69
|
+
}, g(), [p, a, h, d, k, n];
|
|
70
70
|
}
|
|
71
|
-
class
|
|
71
|
+
class x extends A {
|
|
72
72
|
constructor(t) {
|
|
73
|
-
super(),
|
|
73
|
+
super(), F(this, t, Q, O, M, { tag: 5 }, N);
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
76
|
export {
|
|
77
|
-
|
|
77
|
+
x as TagPoint
|
|
78
78
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { SvelteComponent as v, init as
|
|
2
|
-
import { Shadow as
|
|
3
|
-
import { Icon as
|
|
4
|
-
function j(a) {
|
|
5
|
-
$(a, "svelte-1lmyni6", ".wrapper.svelte-1lmyni6{font-weight:600;cursor:pointer;width:-moz-max-content;width:max-content;height:-moz-max-content;height:max-content;position:absolute;left:50%;top:50%;transform:translate(-50%, -50%);display:flex;align-items:center;justify-content:center;flex-direction:column;pointer-events:auto}.text-wrapper.svelte-1lmyni6{position:relative;display:flex;align-items:center;justify-content:center}.text.svelte-1lmyni6{position:absolute;top:0;font-size:0.875rem;color:#ffffff;letter-spacing:0;text-align:center;max-width:8.75rem;width:-moz-max-content;width:max-content;word-break:break-all;line-height:1.125rem;text-shadow:0.125rem 0rem 0.5rem rgba(0, 0, 0, 0.15)}");
|
|
6
|
-
}
|
|
1
|
+
import { SvelteComponent as v, init as _, safe_not_equal as $, append_styles as b, element as s, create_component as u, space as g, attr as c, insert as h, mount_component as w, append as m, transition_in as f, transition_out as p, detach as x, destroy_component as y, noop as k } from "../../../vendor/svelte/internal/index.js";
|
|
2
|
+
import { Shadow as z } from "../Common/Shadow.js";
|
|
3
|
+
import { Icon as j } from "../Common/Icon/Icon.js";
|
|
7
4
|
function C(a) {
|
|
5
|
+
b(a, "svelte-1lmyni6", ".wrapper.svelte-1lmyni6{font-weight:600;cursor:pointer;width:-moz-max-content;width:max-content;height:-moz-max-content;height:max-content;position:absolute;left:50%;top:50%;transform:translate(-50%, -50%);display:flex;align-items:center;justify-content:center;flex-direction:column;pointer-events:auto}.text-wrapper.svelte-1lmyni6{position:relative;display:flex;align-items:center;justify-content:center}.text.svelte-1lmyni6{position:absolute;top:0;font-size:0.875rem;color:#ffffff;letter-spacing:0;text-align:center;max-width:8.75rem;width:-moz-max-content;width:max-content;word-break:break-all;line-height:1.125rem;text-shadow:0.125rem 0rem 0.5rem rgba(0, 0, 0, 0.15)}");
|
|
6
|
+
}
|
|
7
|
+
function D(a) {
|
|
8
8
|
let e, i, r, o, n;
|
|
9
|
-
return i = new
|
|
9
|
+
return i = new z({
|
|
10
10
|
props: {
|
|
11
11
|
outDelay: 0,
|
|
12
12
|
inDelay: 0,
|
|
@@ -18,12 +18,12 @@ function C(a) {
|
|
|
18
18
|
}
|
|
19
19
|
}), {
|
|
20
20
|
c() {
|
|
21
|
-
e = s("div"),
|
|
21
|
+
e = s("div"), u(i.$$.fragment), r = g(), o = s("div"), o.textContent = `${a[1]}`, c(o, "class", "text svelte-1lmyni6"), c(e, "class", "text-wrapper svelte-1lmyni6");
|
|
22
22
|
},
|
|
23
23
|
m(t, l) {
|
|
24
|
-
|
|
24
|
+
h(t, e, l), w(i, e, null), m(e, r), m(e, o), n = !0;
|
|
25
25
|
},
|
|
26
|
-
p:
|
|
26
|
+
p: k,
|
|
27
27
|
i(t) {
|
|
28
28
|
n || (f(i.$$.fragment, t), n = !0);
|
|
29
29
|
},
|
|
@@ -31,23 +31,23 @@ function C(a) {
|
|
|
31
31
|
p(i.$$.fragment, t), n = !1;
|
|
32
32
|
},
|
|
33
33
|
d(t) {
|
|
34
|
-
t &&
|
|
34
|
+
t && x(e), y(i);
|
|
35
35
|
}
|
|
36
36
|
};
|
|
37
37
|
}
|
|
38
|
-
function
|
|
38
|
+
function R(a) {
|
|
39
39
|
let e, i, r, o;
|
|
40
|
-
i = new
|
|
41
|
-
let n = a[
|
|
40
|
+
i = new j({ props: { icon: a[0] } });
|
|
41
|
+
let n = a[1] && D(a);
|
|
42
42
|
return {
|
|
43
43
|
c() {
|
|
44
|
-
e = s("div"),
|
|
44
|
+
e = s("div"), u(i.$$.fragment), r = g(), n && n.c(), c(e, "class", "wrapper svelte-1lmyni6");
|
|
45
45
|
},
|
|
46
46
|
m(t, l) {
|
|
47
|
-
|
|
47
|
+
h(t, e, l), w(i, e, null), m(e, r), n && n.m(e, null), o = !0;
|
|
48
48
|
},
|
|
49
49
|
p(t, [l]) {
|
|
50
|
-
t[
|
|
50
|
+
t[1] && n.p(t, l);
|
|
51
51
|
},
|
|
52
52
|
i(t) {
|
|
53
53
|
o || (f(i.$$.fragment, t), f(n), o = !0);
|
|
@@ -56,22 +56,22 @@ function D(a) {
|
|
|
56
56
|
p(i.$$.fragment, t), p(n), o = !1;
|
|
57
57
|
},
|
|
58
58
|
d(t) {
|
|
59
|
-
t &&
|
|
59
|
+
t && x(e), y(i), n && n.d();
|
|
60
60
|
}
|
|
61
61
|
};
|
|
62
62
|
}
|
|
63
|
-
function
|
|
64
|
-
var t;
|
|
65
|
-
let { tag: r } = e, o = (t = r.data.
|
|
66
|
-
return a.$$set = (
|
|
67
|
-
"tag" in
|
|
63
|
+
function S(a, e, i) {
|
|
64
|
+
var t, l;
|
|
65
|
+
let { tag: r } = e, o = (t = r.data.icon) != null ? t : r.style.point, n = (l = r.data.title) != null ? l : r.data.text;
|
|
66
|
+
return a.$$set = (d) => {
|
|
67
|
+
"tag" in d && i(2, r = d.tag);
|
|
68
68
|
}, [o, n, r];
|
|
69
69
|
}
|
|
70
|
-
class
|
|
70
|
+
class T extends v {
|
|
71
71
|
constructor(e) {
|
|
72
|
-
super(),
|
|
72
|
+
super(), _(this, e, S, R, $, { tag: 2 }, C);
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
export {
|
|
76
|
-
|
|
76
|
+
T as LinkTag
|
|
77
77
|
};
|
|
@@ -97,7 +97,7 @@ function x(i, t, e) {
|
|
|
97
97
|
"withAnimation" in m && e(0, _ = m.withAnimation), "tag" in m && e(1, s = m.tag), "mediaStore" in m && e(2, S = m.mediaStore), "state" in m && e(3, w = m.state), "temporaryState" in m && e(4, v = m.temporaryState);
|
|
98
98
|
}, i.$$.update = () => {
|
|
99
99
|
var m, y, k, T, A, P, z, C;
|
|
100
|
-
i.$$.dirty & 2 && e(12, a = (() => !(s.contentType === "Link" || s.contentType === "Audio" && s.data.appearance === "plane"))()), i.$$.dirty & 2 && e(11, o = s.id), i.$$.dirty & 2 && e(10, n = !((m = s.pointTagStyle) != null && m.leftPercent) || !((y = s.pointTagStyle) != null && y.topPercent) || s.enabled === !1 || !s.state), i.$$.dirty & 2 && e(9, f = !((k = s.state) != null && k.visible) ||
|
|
100
|
+
i.$$.dirty & 2 && e(12, a = (() => !(s.contentType === "Link" || s.contentType === "Audio" && s.data.appearance === "plane"))()), i.$$.dirty & 2 && e(11, o = s.id), i.$$.dirty & 2 && e(10, n = !((m = s.pointTagStyle) != null && m.leftPercent) || !((y = s.pointTagStyle) != null && y.topPercent) || s.enabled === !1 || !s.state), i.$$.dirty & 2 && e(9, f = !((k = s.state) != null && k.visible) || ((T = s.temporaryState) == null ? void 0 : T.visible) === !1), i.$$.dirty & 2 && e(8, r = (A = s.state) == null ? void 0 : A.unfolded), i.$$.dirty & 2 && e(7, l = ((P = s.pointTagStyle) == null ? void 0 : P.leftPercent) + "%"), i.$$.dirty & 2 && e(6, b = ((z = s.pointTagStyle) == null ? void 0 : z.topPercent) + "%"), i.$$.dirty & 2 && e(5, h = (C = s.state) != null && C.unfolded ? 1 : 0);
|
|
101
101
|
}, [
|
|
102
102
|
_,
|
|
103
103
|
s,
|
|
@@ -44,7 +44,7 @@ import { resizeObserver as D } from "../utils/resizeObserver.js";
|
|
|
44
44
|
import { TagComputer as z } from "./TagComputer.js";
|
|
45
45
|
import { CSS3DRenderPlugin as N } from "../../CSS3DRenderPlugin/index.js";
|
|
46
46
|
import { formatTag as W } from "../utils/tag/format.js";
|
|
47
|
-
const A = "2.0.0-dev.
|
|
47
|
+
const A = "2.0.0-dev.7", m = `DnalogelPlugin-PanoTagPlugin@${A}`, $ = !1, re = (h) => `${m}--${h}`;
|
|
48
48
|
class ae extends z {
|
|
49
49
|
constructor(e, t) {
|
|
50
50
|
super(e);
|
|
@@ -1,10 +1,18 @@
|
|
|
1
|
-
function
|
|
1
|
+
function o(n) {
|
|
2
|
+
var i, t;
|
|
2
3
|
if (!n.stickType) {
|
|
3
4
|
const e = (() => n.pointType === "PointTag" && n.dimensionType === "3D" ? "3DPoint" : n.pointType === "PlaneTag" ? "Plane" : "2DPoint")();
|
|
4
5
|
n.stickType = e;
|
|
5
6
|
}
|
|
7
|
+
if (n.contentType === "VRLink" || n.contentType === "PanoLink" || n.contentType === "Link") {
|
|
8
|
+
const e = n;
|
|
9
|
+
!((i = e.data) != null && i.icon) && !((t = e.style) != null && t.point) && (e.data.icon = {
|
|
10
|
+
url: "//vrlab-static.ljcdn.com/release/web/test.09dee741.png",
|
|
11
|
+
steps: 28
|
|
12
|
+
});
|
|
13
|
+
}
|
|
6
14
|
return n;
|
|
7
15
|
}
|
|
8
16
|
export {
|
|
9
|
-
|
|
17
|
+
o as formatTag
|
|
10
18
|
};
|
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.3.5-dev.
|
|
10
|
+
"version": "2.3.5-dev.2",
|
|
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*",
|