@realsee/dnalogel 2.3.2 → 2.3.4
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/index.d.ts +4 -2
- package/dist/PanoMeasurePlugin/Modules/GuideController.d.ts +5 -0
- package/dist/PanoMeasurePlugin/Modules/UIController/MainBtnController.d.ts +5 -1
- package/dist/PanoMeasurePlugin/Modules/UIController/index.d.ts +5 -0
- package/dist/PanoMeasurePlugin/Modules/UIController/mobileMainBtnController.d.ts +5 -2
- package/dist/index.cjs.js +36 -36
- package/dist/index.js +263 -197
- package/dist/index.umd.js +21 -21
- 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 +39 -39
- 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 +12 -12
- 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/LinkType.html +7 -7
- 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/CSS3DRenderPluginEventMap.html +11 -11
- package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
- package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
- package/docs/interfaces/ContentTypeMap.html +12 -12
- 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/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 +8 -8
- 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 +13 -13
- 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/TagConfig.html +10 -10
- package/docs/interfaces/Tags.html +9 -9
- 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/ContentTypeConfigKeyArray.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/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/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/PointTag.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/Tag.html +5 -5
- package/docs/types/Tag2D.html +5 -5
- package/docs/types/Tag3D.html +5 -5
- package/docs/types/TagId.html +5 -5
- package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
- package/docs/types/TopviewFloorplanPluginReturnType.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/PanoMeasurePlugin/Controller/index.d.ts +4 -2
- package/libs/PanoMeasurePlugin/Controller/index.js +63 -44
- package/libs/PanoMeasurePlugin/Modules/GuideController.d.ts +5 -0
- package/libs/PanoMeasurePlugin/Modules/GuideController.js +15 -10
- package/libs/PanoMeasurePlugin/Modules/UIController/HTML.js +3 -3
- package/libs/PanoMeasurePlugin/Modules/UIController/MainBtnController.d.ts +5 -1
- package/libs/PanoMeasurePlugin/Modules/UIController/MainBtnController.js +38 -15
- package/libs/PanoMeasurePlugin/Modules/UIController/index.d.ts +5 -0
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +20 -15
- package/libs/PanoMeasurePlugin/Modules/UIController/mobileHTML.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/UIController/mobileMainBtnController.d.ts +5 -2
- package/libs/PanoMeasurePlugin/Modules/UIController/mobileMainBtnController.js +36 -22
- package/libs/PanoTagPlugin/Components/Common/Text.js +33 -33
- package/package.json +15 -14
|
@@ -1,39 +1,53 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
import { mainIconStyle as
|
|
5
|
-
class
|
|
6
|
-
constructor(e,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
var _ = Object.defineProperty;
|
|
2
|
+
var r = (i, t, e) => t in i ? _(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e;
|
|
3
|
+
var n = (i, t, e) => (r(i, typeof t != "symbol" ? t + "" : t, e), e);
|
|
4
|
+
import { mainIconStyle as l, mainItemStyle as c } from "./style.js";
|
|
5
|
+
class d {
|
|
6
|
+
constructor(t, e, s) {
|
|
7
|
+
n(this, "container");
|
|
8
|
+
n(this, "measureController");
|
|
9
|
+
n(this, "mainElement");
|
|
10
|
+
n(this, "_params");
|
|
11
|
+
n(this, "_btnTexts", {
|
|
12
|
+
start: "\u5F00\u59CB",
|
|
13
|
+
end: "\u7ED3\u675F"
|
|
12
14
|
});
|
|
13
|
-
|
|
15
|
+
n(this, "onClick", () => {
|
|
16
|
+
var t;
|
|
17
|
+
this.mainElement.mainTextDom.innerText === ((t = this._params.startButtonText) != null ? t : "\u5F00\u59CB") ? (this.measureController.hook.emit("willChangeState", "watching", "editing"), this.change2Done()) : (this.measureController.hook.emit("willChangeState", "editing", "watching"), this.change2Add());
|
|
18
|
+
});
|
|
19
|
+
var a, m;
|
|
20
|
+
this._params = s, this._btnTexts = {
|
|
21
|
+
start: (a = this._params.startButtonText) != null ? a : this._btnTexts.start,
|
|
22
|
+
end: (m = this._params.endButtonText) != null ? m : this._btnTexts.end
|
|
23
|
+
}, this.measureController = t, this.container = e, this.mainElement = this.getMainElement(), Object.assign(this.mainElement.mainIcon.style, l), Object.assign(this.mainElement.mainItem.style, c), this.change2Add(), this.mainElement.mainItem.addEventListener("click", this.onClick);
|
|
14
24
|
}
|
|
15
25
|
dispose() {
|
|
16
26
|
this.mainElement.mainItem.removeEventListener("click", this.onClick);
|
|
17
27
|
}
|
|
18
28
|
getMainElement() {
|
|
19
|
-
const
|
|
20
|
-
if (!
|
|
29
|
+
const t = this.container.querySelector(".fpm__main-text"), e = this.container.querySelector(".fpm__main"), s = this.container.querySelector(".fpm__main-icon");
|
|
30
|
+
if (!e || !t || !s)
|
|
21
31
|
throw new Error("cannot find dom");
|
|
22
|
-
return { mainTextDom:
|
|
32
|
+
return { mainTextDom: t, mainItem: e, mainIcon: s };
|
|
23
33
|
}
|
|
24
34
|
change2Add() {
|
|
25
|
-
const { mainIcon:
|
|
26
|
-
|
|
27
|
-
e.
|
|
35
|
+
const { mainIcon: t, mainTextDom: e } = this.mainElement;
|
|
36
|
+
if (t.className.includes("fpm__main__start")) {
|
|
37
|
+
e.innerText = this._btnTexts.start;
|
|
38
|
+
return;
|
|
39
|
+
}
|
|
40
|
+
t.className.includes("fpm__main__end") && (t.style.transform = "scale(0.8)", e.className.includes("fpm__main-text__show") ? e.classList.replace("fpm__main-text__show", "fpm__main-text__hide") : e.classList.add("fpm__main-text__hide"), setTimeout(() => {
|
|
41
|
+
t.classList.replace("fpm__main__end", "fpm__main__start"), t.style.transform = "scale(1)", e.innerText = this._btnTexts.start, e.classList.replace("fpm__main-text__hide", "fpm__main-text__show");
|
|
28
42
|
}, 200));
|
|
29
43
|
}
|
|
30
44
|
change2Done() {
|
|
31
|
-
const { mainTextDom:
|
|
32
|
-
|
|
33
|
-
|
|
45
|
+
const { mainTextDom: t, mainIcon: e } = this.mainElement;
|
|
46
|
+
t.innerText !== this._btnTexts.end && (e.className.includes("fpm__main__end") || e.className.includes("fpm__main__start") && (e.style.transform = "scale(0.8)", t.className.includes("fpm__main-text__show") ? t.classList.replace("fpm__main-text__show", "fpm__main-text__hide") : t.classList.add("fpm__main-text__hide"), setTimeout(() => {
|
|
47
|
+
e.classList.replace("fpm__main__start", "fpm__main__end"), e.style.transform = "scale(1)", t.innerText = this._btnTexts.end, t.classList.replace("fpm__main-text__hide", "fpm__main-text__show");
|
|
34
48
|
}, 200)));
|
|
35
49
|
}
|
|
36
50
|
}
|
|
37
51
|
export {
|
|
38
|
-
|
|
52
|
+
d as MobileMainBtnController
|
|
39
53
|
};
|
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
import { SvelteComponent as
|
|
2
|
-
import
|
|
3
|
-
import { notNil as
|
|
1
|
+
import { SvelteComponent as b, init as k, safe_not_equal as x, append_styles as R, empty as L, insert as D, noop as g, destroy_each as T, detach as F, onMount as N, element as S, text as O, attr as v, append as z, set_data as C, binding_callbacks as w } from "../../../vendor/svelte/internal/index.js";
|
|
2
|
+
import p from "animejs";
|
|
3
|
+
import { notNil as A } from "../../../shared-utils/isNil.js";
|
|
4
4
|
import "three";
|
|
5
5
|
import { searchFirstValueSmallThanLastValue as J } from "../../utils/search.js";
|
|
6
6
|
import { RANDON_STRING as E } from "../../utils/constants.js";
|
|
7
7
|
function P(o) {
|
|
8
|
-
|
|
8
|
+
R(o, "svelte-zgfkts", ".text-char.svelte-zgfkts{text-shadow:0.125rem 0rem 0.5rem rgba(0, 0, 0, 0.15)}");
|
|
9
9
|
}
|
|
10
10
|
function y(o, i, l) {
|
|
11
11
|
const e = o.slice();
|
|
12
12
|
return e[10] = i[l], e[11] = i, e[12] = l, e;
|
|
13
13
|
}
|
|
14
|
-
function
|
|
14
|
+
function j(o) {
|
|
15
15
|
let i, l = o[10] + "", e, t = o[12];
|
|
16
16
|
const s = () => o[6](i, t), n = () => o[6](null, t);
|
|
17
17
|
return {
|
|
18
18
|
c() {
|
|
19
|
-
i =
|
|
19
|
+
i = S("span"), e = O(l), v(i, "class", "text-char svelte-zgfkts");
|
|
20
20
|
},
|
|
21
21
|
m(r, f) {
|
|
22
|
-
|
|
22
|
+
D(r, i, f), z(i, e), s();
|
|
23
23
|
},
|
|
24
24
|
p(r, f) {
|
|
25
25
|
o = r, f & 2 && l !== (l = o[10] + "") && C(e, l), t !== o[12] && (n(), t = o[12], s());
|
|
26
26
|
},
|
|
27
27
|
d(r) {
|
|
28
|
-
r &&
|
|
28
|
+
r && F(i), n();
|
|
29
29
|
}
|
|
30
30
|
};
|
|
31
31
|
}
|
|
32
32
|
function U(o) {
|
|
33
33
|
let i, l = o[1], e = [];
|
|
34
34
|
for (let t = 0; t < l.length; t += 1)
|
|
35
|
-
e[t] =
|
|
35
|
+
e[t] = j(y(o, l, t));
|
|
36
36
|
return {
|
|
37
37
|
c() {
|
|
38
38
|
for (let t = 0; t < e.length; t += 1)
|
|
39
39
|
e[t].c();
|
|
40
|
-
i =
|
|
40
|
+
i = L();
|
|
41
41
|
},
|
|
42
42
|
m(t, s) {
|
|
43
43
|
for (let n = 0; n < e.length; n += 1)
|
|
44
44
|
e[n].m(t, s);
|
|
45
|
-
|
|
45
|
+
D(t, i, s);
|
|
46
46
|
},
|
|
47
47
|
p(t, [s]) {
|
|
48
48
|
if (s & 3) {
|
|
@@ -50,38 +50,38 @@ function U(o) {
|
|
|
50
50
|
let n;
|
|
51
51
|
for (n = 0; n < l.length; n += 1) {
|
|
52
52
|
const r = y(t, l, n);
|
|
53
|
-
e[n] ? e[n].p(r, s) : (e[n] =
|
|
53
|
+
e[n] ? e[n].p(r, s) : (e[n] = j(r), e[n].c(), e[n].m(i.parentNode, i));
|
|
54
54
|
}
|
|
55
55
|
for (; n < e.length; n += 1)
|
|
56
56
|
e[n].d(1);
|
|
57
57
|
e.length = l.length;
|
|
58
58
|
}
|
|
59
59
|
},
|
|
60
|
-
i:
|
|
61
|
-
o:
|
|
60
|
+
i: g,
|
|
61
|
+
o: g,
|
|
62
62
|
d(t) {
|
|
63
|
-
|
|
63
|
+
T(e, t), t && F(i);
|
|
64
64
|
}
|
|
65
65
|
};
|
|
66
66
|
}
|
|
67
67
|
function V(o, i, l) {
|
|
68
|
-
let e, { inDelay: t = 0 } = i, { outDelay: s = 0 } = i, { content: n } = i, { unfolded: r } = i, f,
|
|
69
|
-
function
|
|
68
|
+
let e, { inDelay: t = 0 } = i, { outDelay: s = 0 } = i, { content: n } = i, { unfolded: r } = i, f, c = [], u;
|
|
69
|
+
function I(a) {
|
|
70
70
|
clearTimeout(f), f = setTimeout(
|
|
71
71
|
function() {
|
|
72
|
-
!
|
|
72
|
+
!u || (a && u.reversed || !a && !u.reversed) && (u.reverse(), u.play());
|
|
73
73
|
},
|
|
74
74
|
a ? t : s
|
|
75
75
|
);
|
|
76
76
|
}
|
|
77
|
-
|
|
77
|
+
N(function() {
|
|
78
78
|
const a = (() => {
|
|
79
|
-
const _ = J((m) =>
|
|
79
|
+
const _ = J((m) => c[m].getBoundingClientRect().x, [Math.min(c.length - 1, 10), Math.min(c.length - 1, 30)]);
|
|
80
80
|
if (_ > 0)
|
|
81
81
|
return _;
|
|
82
82
|
})();
|
|
83
|
-
|
|
84
|
-
targets:
|
|
83
|
+
u = p({
|
|
84
|
+
targets: c.slice(0, a).filter(A),
|
|
85
85
|
autoplay: !1,
|
|
86
86
|
duration: 400,
|
|
87
87
|
scale: [0.7, 1],
|
|
@@ -89,13 +89,13 @@ function V(o, i, l) {
|
|
|
89
89
|
opacity: [0, 1],
|
|
90
90
|
translateX: [4, 0],
|
|
91
91
|
translateY: [10, 0],
|
|
92
|
-
delay:
|
|
92
|
+
delay: p.stagger(50),
|
|
93
93
|
easing: "easeInOutCubic"
|
|
94
|
-
}), r &&
|
|
94
|
+
}), r && u.seek(u.duration);
|
|
95
95
|
});
|
|
96
|
-
function
|
|
97
|
-
|
|
98
|
-
|
|
96
|
+
function M(a, _) {
|
|
97
|
+
w[a ? "unshift" : "push"](() => {
|
|
98
|
+
c[_] = a, l(0, c);
|
|
99
99
|
});
|
|
100
100
|
}
|
|
101
101
|
return o.$$set = (a) => {
|
|
@@ -103,18 +103,18 @@ function V(o, i, l) {
|
|
|
103
103
|
}, o.$$.update = () => {
|
|
104
104
|
o.$$.dirty & 16 && l(1, e = (() => {
|
|
105
105
|
const a = [], _ = new RegExp(new RegExp("\\p{Regional_Indicator}\\p{Regional_Indicator}|\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?(\\u200D\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?)+|\\p{Emoji_Presentation}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?|\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)", "gu")), m = `__EMOJI_SPLIT_${E}__`, h = `__EMOJI_${E}__`;
|
|
106
|
-
return n.slice().replace(_, (d) => `${m}${h}${d}${m}`).split(m).forEach((d) => d.startsWith(h) ? a.push(d.slice(h.length)) : a.push(...d.split(""))), a
|
|
107
|
-
})()), o.$$.dirty & 32 &&
|
|
108
|
-
}, [
|
|
106
|
+
return n.slice().replace(_, (d) => `${m}${h}${d}${m}`).split(m).forEach((d) => d.startsWith(h) ? a.push(d.slice(h.length)) : a.push(...d.split(""))), a;
|
|
107
|
+
})()), o.$$.dirty & 32 && I(r);
|
|
108
|
+
}, [c, e, t, s, n, r, M];
|
|
109
109
|
}
|
|
110
|
-
class H extends
|
|
110
|
+
class H extends b {
|
|
111
111
|
constructor(i) {
|
|
112
|
-
super(),
|
|
112
|
+
super(), k(
|
|
113
113
|
this,
|
|
114
114
|
i,
|
|
115
115
|
V,
|
|
116
116
|
U,
|
|
117
|
-
|
|
117
|
+
x,
|
|
118
118
|
{
|
|
119
119
|
inDelay: 2,
|
|
120
120
|
outDelay: 3,
|
package/package.json
CHANGED
|
@@ -7,8 +7,21 @@
|
|
|
7
7
|
"repository": "https://github.com/realsee-developer/dnalogel.git",
|
|
8
8
|
"description": "如视 VR 看房插件合集",
|
|
9
9
|
"private": false,
|
|
10
|
-
"version": "2.3.
|
|
10
|
+
"version": "2.3.4",
|
|
11
11
|
"license": "SEE LICENSE IN TERMS.txt",
|
|
12
|
+
"scripts": {
|
|
13
|
+
"clean": "rm -rf components dist docs libs types ./vite.config.js.timestamp*",
|
|
14
|
+
"dev": "run-p dev:*",
|
|
15
|
+
"dev:libs": "NODE_ENV=development BUILD_MODULE=libs vite build -m development",
|
|
16
|
+
"dev:dist": "NODE_ENV=development BUILD_MODULE=dist vite build -m development",
|
|
17
|
+
"dev:components": "NODE_ENV=development BUILD_MODULE=components vite build -m development",
|
|
18
|
+
"build": "run-p build:*",
|
|
19
|
+
"build:libs": "NODE_ENV=production BUILD_MODULE=libs vite build -m production",
|
|
20
|
+
"build:dist": "NODE_ENV=production BUILD_MODULE=dist vite build -m production",
|
|
21
|
+
"build:components": "NODE_ENV=production BUILD_MODULE=components vite build -m production",
|
|
22
|
+
"docs": "typedoc --options ./typedoc.json",
|
|
23
|
+
"prepublishOnly": "run-p build docs"
|
|
24
|
+
},
|
|
12
25
|
"files": [
|
|
13
26
|
"libs",
|
|
14
27
|
"dist",
|
|
@@ -69,17 +82,5 @@
|
|
|
69
82
|
"peerDependencies": {
|
|
70
83
|
"@realsee/five": "^5.0.0",
|
|
71
84
|
"three": ">=0.115.0 <=0.117.1"
|
|
72
|
-
},
|
|
73
|
-
"scripts": {
|
|
74
|
-
"clean": "rm -rf components dist docs libs types ./vite.config.js.timestamp*",
|
|
75
|
-
"dev": "run-p dev:*",
|
|
76
|
-
"dev:libs": "NODE_ENV=development BUILD_MODULE=libs vite build -m development",
|
|
77
|
-
"dev:dist": "NODE_ENV=development BUILD_MODULE=dist vite build -m development",
|
|
78
|
-
"dev:components": "NODE_ENV=development BUILD_MODULE=components vite build -m development",
|
|
79
|
-
"build": "run-p build:*",
|
|
80
|
-
"build:libs": "NODE_ENV=production BUILD_MODULE=libs vite build -m production",
|
|
81
|
-
"build:dist": "NODE_ENV=production BUILD_MODULE=dist vite build -m production",
|
|
82
|
-
"build:components": "NODE_ENV=production BUILD_MODULE=components vite build -m production",
|
|
83
|
-
"docs": "typedoc --options ./typedoc.json"
|
|
84
85
|
}
|
|
85
|
-
}
|
|
86
|
+
}
|