@realsee/dnalogel 2.13.1 → 2.13.2-dev.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +51 -51
- package/dist/index.js +5485 -5179
- package/dist/index.umd.js +46 -46
- package/dist/shared-utils/svelte/resizeObserver.d.ts +10 -0
- package/docs/classes/CSS3DRender.html +31 -31
- package/docs/classes/CruisePluginController.html +25 -25
- 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 +45 -45
- 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 +19 -19
- 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 +5 -5
- package/docs/functions/CameraMovementPlugin.html +5 -5
- package/docs/functions/CruisePlugin.html +5 -5
- package/docs/functions/GuideLinePlugin.html +5 -5
- package/docs/functions/ItemLabelPlugin.html +5 -5
- package/docs/functions/MapviewFloorplanPlugin.html +5 -5
- package/docs/functions/ModelChassisCompassPlugin.html +5 -5
- package/docs/functions/ModelEntryDoorGuidePlugin.html +5 -5
- package/docs/functions/ModelFloorplanPlugin.html +5 -5
- package/docs/functions/ModelItemLabelPlugin.html +5 -5
- package/docs/functions/ModelRoomLabelPlugin.html +5 -5
- package/docs/functions/ModelTVVideoPlugin.html +5 -5
- package/docs/functions/ModelViewPlugin.html +5 -5
- package/docs/functions/Object3DHelperPlugin.html +5 -5
- package/docs/functions/PanoCompassPlugin.html +5 -5
- package/docs/functions/PanoCursorRaycasterPlugin.html +5 -5
- package/docs/functions/PanoDoorLabelPlugin.html +5 -5
- package/docs/functions/PanoFloorplanRadarPlugin.html +5 -5
- package/docs/functions/PanoMeasurePlugin.html +5 -5
- package/docs/functions/PanoRulerPlugin.html +5 -5
- package/docs/functions/PanoRulerProPlugin.html +5 -5
- package/docs/functions/PanoSpatialTagPlugin.html +5 -5
- package/docs/functions/PanoTagPlugin.html +5 -5
- package/docs/functions/PanoVideoPlugin.html +5 -5
- package/docs/functions/TopviewFloorplanPlugin.html +5 -5
- 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/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 +11 -11
- package/docs/interfaces/TagGLTFObjectGroup.html +6 -6
- package/docs/interfaces/TagIconUrl.html +11 -11
- package/docs/interfaces/TagObjectGroup.html +6 -6
- package/docs/interfaces/TagStyle.html +6 -6
- 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/PanoVideoPluginType.html +5 -5
- package/docs/modules/Util.html +5 -5
- package/docs/modules.html +4 -4
- 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 +5 -5
- package/docs/types/ContentTypeConfigKeySplit.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/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/ModelElement.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/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/TagGLTFObject.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/ModelRoomLabelPlugin/Controller.js +4 -2
- package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +118 -109
- package/libs/ModelRoomLabelPlugin/index.js +7 -5
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +99 -93
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +4 -2
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +72 -66
- package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +4 -2
- package/libs/PanoTagPlugin/Components/Tag/index.js +4 -2
- package/libs/PanoTagPlugin/Components/TagContainer.js +4 -2
- package/libs/PanoTagPlugin/Components/TagItem.js +4 -2
- package/libs/PanoTagPlugin/controller/TagRender.js +4 -2
- package/libs/PanoTagPlugin/controller/index.js +7 -5
- package/libs/PanoTagPlugin/index.js +13 -11
- package/libs/base/BasePlugin.js +1 -1
- package/libs/floorplan/Components/RoomLabels/RoomLabel.js +108 -100
- package/libs/floorplan/Components/RoomLabels/RoomLabels.js +96 -92
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +33 -31
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +5 -3
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +4 -2
- package/libs/floorplan/ModelFloorplanPlugin/index.js +5 -3
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +109 -100
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +4 -2
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +5 -3
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +4 -2
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +5 -3
- package/libs/floorplan/index.js +1 -0
- package/libs/index.js +106 -104
- package/libs/shared-utils/svelte/resizeObserver.d.ts +10 -0
- package/libs/shared-utils/svelte/resizeObserver.js +12 -0
- package/libs/vendor/resize-observer-polyfill/dist/ResizeObserver.es.js +269 -0
- package/package.json +2 -1
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { index as s } from "../../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
|
|
2
|
+
function l(e) {
|
|
3
|
+
new s((i, d) => {
|
|
4
|
+
for (const n of i) {
|
|
5
|
+
const { borderBoxSize: t } = n, o = t[0].inlineSize, r = t[0].blockSize;
|
|
6
|
+
e.dispatchEvent(new CustomEvent("clientWidth", { detail: o })), e.dispatchEvent(new CustomEvent("clientHeight", { detail: r }));
|
|
7
|
+
}
|
|
8
|
+
}).observe(e);
|
|
9
|
+
}
|
|
10
|
+
export {
|
|
11
|
+
l as svelteResizeObserver
|
|
12
|
+
};
|
|
@@ -0,0 +1,269 @@
|
|
|
1
|
+
var _ = function() {
|
|
2
|
+
if (typeof Map != "undefined")
|
|
3
|
+
return Map;
|
|
4
|
+
function e(t, n) {
|
|
5
|
+
var r = -1;
|
|
6
|
+
return t.some(function(i, o) {
|
|
7
|
+
return i[0] === n ? (r = o, !0) : !1;
|
|
8
|
+
}), r;
|
|
9
|
+
}
|
|
10
|
+
return function() {
|
|
11
|
+
function t() {
|
|
12
|
+
this.__entries__ = [];
|
|
13
|
+
}
|
|
14
|
+
return Object.defineProperty(t.prototype, "size", {
|
|
15
|
+
get: function() {
|
|
16
|
+
return this.__entries__.length;
|
|
17
|
+
},
|
|
18
|
+
enumerable: !0,
|
|
19
|
+
configurable: !0
|
|
20
|
+
}), t.prototype.get = function(n) {
|
|
21
|
+
var r = e(this.__entries__, n), i = this.__entries__[r];
|
|
22
|
+
return i && i[1];
|
|
23
|
+
}, t.prototype.set = function(n, r) {
|
|
24
|
+
var i = e(this.__entries__, n);
|
|
25
|
+
~i ? this.__entries__[i][1] = r : this.__entries__.push([n, r]);
|
|
26
|
+
}, t.prototype.delete = function(n) {
|
|
27
|
+
var r = this.__entries__, i = e(r, n);
|
|
28
|
+
~i && r.splice(i, 1);
|
|
29
|
+
}, t.prototype.has = function(n) {
|
|
30
|
+
return !!~e(this.__entries__, n);
|
|
31
|
+
}, t.prototype.clear = function() {
|
|
32
|
+
this.__entries__.splice(0);
|
|
33
|
+
}, t.prototype.forEach = function(n, r) {
|
|
34
|
+
r === void 0 && (r = null);
|
|
35
|
+
for (var i = 0, o = this.__entries__; i < o.length; i++) {
|
|
36
|
+
var s = o[i];
|
|
37
|
+
n.call(r, s[1], s[0]);
|
|
38
|
+
}
|
|
39
|
+
}, t;
|
|
40
|
+
}();
|
|
41
|
+
}(), v = typeof window != "undefined" && typeof document != "undefined" && window.document === document, f = function() {
|
|
42
|
+
return typeof global != "undefined" && global.Math === Math ? global : typeof self != "undefined" && self.Math === Math ? self : typeof window != "undefined" && window.Math === Math ? window : Function("return this")();
|
|
43
|
+
}(), O = function() {
|
|
44
|
+
return typeof requestAnimationFrame == "function" ? requestAnimationFrame.bind(f) : function(e) {
|
|
45
|
+
return setTimeout(function() {
|
|
46
|
+
return e(Date.now());
|
|
47
|
+
}, 1e3 / 60);
|
|
48
|
+
};
|
|
49
|
+
}(), E = 2;
|
|
50
|
+
function R(e, t) {
|
|
51
|
+
var n = !1, r = !1, i = 0;
|
|
52
|
+
function o() {
|
|
53
|
+
n && (n = !1, e()), r && a();
|
|
54
|
+
}
|
|
55
|
+
function s() {
|
|
56
|
+
O(o);
|
|
57
|
+
}
|
|
58
|
+
function a() {
|
|
59
|
+
var u = Date.now();
|
|
60
|
+
if (n) {
|
|
61
|
+
if (u - i < E)
|
|
62
|
+
return;
|
|
63
|
+
r = !0;
|
|
64
|
+
} else
|
|
65
|
+
n = !0, r = !1, setTimeout(s, t);
|
|
66
|
+
i = u;
|
|
67
|
+
}
|
|
68
|
+
return a;
|
|
69
|
+
}
|
|
70
|
+
var M = 20, x = ["top", "right", "bottom", "left", "width", "height", "size", "weight"], A = typeof MutationObserver != "undefined", z = function() {
|
|
71
|
+
function e() {
|
|
72
|
+
this.connected_ = !1, this.mutationEventsAdded_ = !1, this.mutationsObserver_ = null, this.observers_ = [], this.onTransitionEnd_ = this.onTransitionEnd_.bind(this), this.refresh = R(this.refresh.bind(this), M);
|
|
73
|
+
}
|
|
74
|
+
return e.prototype.addObserver = function(t) {
|
|
75
|
+
~this.observers_.indexOf(t) || this.observers_.push(t), this.connected_ || this.connect_();
|
|
76
|
+
}, e.prototype.removeObserver = function(t) {
|
|
77
|
+
var n = this.observers_, r = n.indexOf(t);
|
|
78
|
+
~r && n.splice(r, 1), !n.length && this.connected_ && this.disconnect_();
|
|
79
|
+
}, e.prototype.refresh = function() {
|
|
80
|
+
var t = this.updateObservers_();
|
|
81
|
+
t && this.refresh();
|
|
82
|
+
}, e.prototype.updateObservers_ = function() {
|
|
83
|
+
var t = this.observers_.filter(function(n) {
|
|
84
|
+
return n.gatherActive(), n.hasActive();
|
|
85
|
+
});
|
|
86
|
+
return t.forEach(function(n) {
|
|
87
|
+
return n.broadcastActive();
|
|
88
|
+
}), t.length > 0;
|
|
89
|
+
}, e.prototype.connect_ = function() {
|
|
90
|
+
!v || this.connected_ || (document.addEventListener("transitionend", this.onTransitionEnd_), window.addEventListener("resize", this.refresh), A ? (this.mutationsObserver_ = new MutationObserver(this.refresh), this.mutationsObserver_.observe(document, {
|
|
91
|
+
attributes: !0,
|
|
92
|
+
childList: !0,
|
|
93
|
+
characterData: !0,
|
|
94
|
+
subtree: !0
|
|
95
|
+
})) : (document.addEventListener("DOMSubtreeModified", this.refresh), this.mutationEventsAdded_ = !0), this.connected_ = !0);
|
|
96
|
+
}, e.prototype.disconnect_ = function() {
|
|
97
|
+
!v || !this.connected_ || (document.removeEventListener("transitionend", this.onTransitionEnd_), window.removeEventListener("resize", this.refresh), this.mutationsObserver_ && this.mutationsObserver_.disconnect(), this.mutationEventsAdded_ && document.removeEventListener("DOMSubtreeModified", this.refresh), this.mutationsObserver_ = null, this.mutationEventsAdded_ = !1, this.connected_ = !1);
|
|
98
|
+
}, e.prototype.onTransitionEnd_ = function(t) {
|
|
99
|
+
var n = t.propertyName, r = n === void 0 ? "" : n, i = x.some(function(o) {
|
|
100
|
+
return !!~r.indexOf(o);
|
|
101
|
+
});
|
|
102
|
+
i && this.refresh();
|
|
103
|
+
}, e.getInstance = function() {
|
|
104
|
+
return this.instance_ || (this.instance_ = new e()), this.instance_;
|
|
105
|
+
}, e.instance_ = null, e;
|
|
106
|
+
}(), m = function(e, t) {
|
|
107
|
+
for (var n = 0, r = Object.keys(t); n < r.length; n++) {
|
|
108
|
+
var i = r[n];
|
|
109
|
+
Object.defineProperty(e, i, {
|
|
110
|
+
value: t[i],
|
|
111
|
+
enumerable: !1,
|
|
112
|
+
writable: !1,
|
|
113
|
+
configurable: !0
|
|
114
|
+
});
|
|
115
|
+
}
|
|
116
|
+
return e;
|
|
117
|
+
}, c = function(e) {
|
|
118
|
+
var t = e && e.ownerDocument && e.ownerDocument.defaultView;
|
|
119
|
+
return t || f;
|
|
120
|
+
}, y = d(0, 0, 0, 0);
|
|
121
|
+
function h(e) {
|
|
122
|
+
return parseFloat(e) || 0;
|
|
123
|
+
}
|
|
124
|
+
function b(e) {
|
|
125
|
+
for (var t = [], n = 1; n < arguments.length; n++)
|
|
126
|
+
t[n - 1] = arguments[n];
|
|
127
|
+
return t.reduce(function(r, i) {
|
|
128
|
+
var o = e["border-" + i + "-width"];
|
|
129
|
+
return r + h(o);
|
|
130
|
+
}, 0);
|
|
131
|
+
}
|
|
132
|
+
function T(e) {
|
|
133
|
+
for (var t = ["top", "right", "bottom", "left"], n = {}, r = 0, i = t; r < i.length; r++) {
|
|
134
|
+
var o = i[r], s = e["padding-" + o];
|
|
135
|
+
n[o] = h(s);
|
|
136
|
+
}
|
|
137
|
+
return n;
|
|
138
|
+
}
|
|
139
|
+
function C(e) {
|
|
140
|
+
var t = e.getBBox();
|
|
141
|
+
return d(0, 0, t.width, t.height);
|
|
142
|
+
}
|
|
143
|
+
function S(e) {
|
|
144
|
+
var t = e.clientWidth, n = e.clientHeight;
|
|
145
|
+
if (!t && !n)
|
|
146
|
+
return y;
|
|
147
|
+
var r = c(e).getComputedStyle(e), i = T(r), o = i.left + i.right, s = i.top + i.bottom, a = h(r.width), u = h(r.height);
|
|
148
|
+
if (r.boxSizing === "border-box" && (Math.round(a + o) !== t && (a -= b(r, "left", "right") + o), Math.round(u + s) !== n && (u -= b(r, "top", "bottom") + s)), !G(e)) {
|
|
149
|
+
var l = Math.round(a + o) - t, p = Math.round(u + s) - n;
|
|
150
|
+
Math.abs(l) !== 1 && (a -= l), Math.abs(p) !== 1 && (u -= p);
|
|
151
|
+
}
|
|
152
|
+
return d(i.left, i.top, a, u);
|
|
153
|
+
}
|
|
154
|
+
var D = function() {
|
|
155
|
+
return typeof SVGGraphicsElement != "undefined" ? function(e) {
|
|
156
|
+
return e instanceof c(e).SVGGraphicsElement;
|
|
157
|
+
} : function(e) {
|
|
158
|
+
return e instanceof c(e).SVGElement && typeof e.getBBox == "function";
|
|
159
|
+
};
|
|
160
|
+
}();
|
|
161
|
+
function G(e) {
|
|
162
|
+
return e === c(e).document.documentElement;
|
|
163
|
+
}
|
|
164
|
+
function L(e) {
|
|
165
|
+
return v ? D(e) ? C(e) : S(e) : y;
|
|
166
|
+
}
|
|
167
|
+
function P(e) {
|
|
168
|
+
var t = e.x, n = e.y, r = e.width, i = e.height, o = typeof DOMRectReadOnly != "undefined" ? DOMRectReadOnly : Object, s = Object.create(o.prototype);
|
|
169
|
+
return m(s, {
|
|
170
|
+
x: t,
|
|
171
|
+
y: n,
|
|
172
|
+
width: r,
|
|
173
|
+
height: i,
|
|
174
|
+
top: n,
|
|
175
|
+
right: t + r,
|
|
176
|
+
bottom: i + n,
|
|
177
|
+
left: t
|
|
178
|
+
}), s;
|
|
179
|
+
}
|
|
180
|
+
function d(e, t, n, r) {
|
|
181
|
+
return { x: e, y: t, width: n, height: r };
|
|
182
|
+
}
|
|
183
|
+
var W = function() {
|
|
184
|
+
function e(t) {
|
|
185
|
+
this.broadcastWidth = 0, this.broadcastHeight = 0, this.contentRect_ = d(0, 0, 0, 0), this.target = t;
|
|
186
|
+
}
|
|
187
|
+
return e.prototype.isActive = function() {
|
|
188
|
+
var t = L(this.target);
|
|
189
|
+
return this.contentRect_ = t, t.width !== this.broadcastWidth || t.height !== this.broadcastHeight;
|
|
190
|
+
}, e.prototype.broadcastRect = function() {
|
|
191
|
+
var t = this.contentRect_;
|
|
192
|
+
return this.broadcastWidth = t.width, this.broadcastHeight = t.height, t;
|
|
193
|
+
}, e;
|
|
194
|
+
}(), j = function() {
|
|
195
|
+
function e(t, n) {
|
|
196
|
+
var r = P(n);
|
|
197
|
+
m(this, { target: t, contentRect: r });
|
|
198
|
+
}
|
|
199
|
+
return e;
|
|
200
|
+
}(), F = function() {
|
|
201
|
+
function e(t, n, r) {
|
|
202
|
+
if (this.activeObservations_ = [], this.observations_ = new _(), typeof t != "function")
|
|
203
|
+
throw new TypeError("The callback provided as parameter 1 is not a function.");
|
|
204
|
+
this.callback_ = t, this.controller_ = n, this.callbackCtx_ = r;
|
|
205
|
+
}
|
|
206
|
+
return e.prototype.observe = function(t) {
|
|
207
|
+
if (!arguments.length)
|
|
208
|
+
throw new TypeError("1 argument required, but only 0 present.");
|
|
209
|
+
if (!(typeof Element == "undefined" || !(Element instanceof Object))) {
|
|
210
|
+
if (!(t instanceof c(t).Element))
|
|
211
|
+
throw new TypeError('parameter 1 is not of type "Element".');
|
|
212
|
+
var n = this.observations_;
|
|
213
|
+
n.has(t) || (n.set(t, new W(t)), this.controller_.addObserver(this), this.controller_.refresh());
|
|
214
|
+
}
|
|
215
|
+
}, e.prototype.unobserve = function(t) {
|
|
216
|
+
if (!arguments.length)
|
|
217
|
+
throw new TypeError("1 argument required, but only 0 present.");
|
|
218
|
+
if (!(typeof Element == "undefined" || !(Element instanceof Object))) {
|
|
219
|
+
if (!(t instanceof c(t).Element))
|
|
220
|
+
throw new TypeError('parameter 1 is not of type "Element".');
|
|
221
|
+
var n = this.observations_;
|
|
222
|
+
!n.has(t) || (n.delete(t), n.size || this.controller_.removeObserver(this));
|
|
223
|
+
}
|
|
224
|
+
}, e.prototype.disconnect = function() {
|
|
225
|
+
this.clearActive(), this.observations_.clear(), this.controller_.removeObserver(this);
|
|
226
|
+
}, e.prototype.gatherActive = function() {
|
|
227
|
+
var t = this;
|
|
228
|
+
this.clearActive(), this.observations_.forEach(function(n) {
|
|
229
|
+
n.isActive() && t.activeObservations_.push(n);
|
|
230
|
+
});
|
|
231
|
+
}, e.prototype.broadcastActive = function() {
|
|
232
|
+
if (!!this.hasActive()) {
|
|
233
|
+
var t = this.callbackCtx_, n = this.activeObservations_.map(function(r) {
|
|
234
|
+
return new j(r.target, r.broadcastRect());
|
|
235
|
+
});
|
|
236
|
+
this.callback_.call(t, n, t), this.clearActive();
|
|
237
|
+
}
|
|
238
|
+
}, e.prototype.clearActive = function() {
|
|
239
|
+
this.activeObservations_.splice(0);
|
|
240
|
+
}, e.prototype.hasActive = function() {
|
|
241
|
+
return this.activeObservations_.length > 0;
|
|
242
|
+
}, e;
|
|
243
|
+
}(), g = typeof WeakMap != "undefined" ? /* @__PURE__ */ new WeakMap() : new _(), w = function() {
|
|
244
|
+
function e(t) {
|
|
245
|
+
if (!(this instanceof e))
|
|
246
|
+
throw new TypeError("Cannot call a class as a function.");
|
|
247
|
+
if (!arguments.length)
|
|
248
|
+
throw new TypeError("1 argument required, but only 0 present.");
|
|
249
|
+
var n = z.getInstance(), r = new F(t, n, this);
|
|
250
|
+
g.set(this, r);
|
|
251
|
+
}
|
|
252
|
+
return e;
|
|
253
|
+
}();
|
|
254
|
+
[
|
|
255
|
+
"observe",
|
|
256
|
+
"unobserve",
|
|
257
|
+
"disconnect"
|
|
258
|
+
].forEach(function(e) {
|
|
259
|
+
w.prototype[e] = function() {
|
|
260
|
+
var t;
|
|
261
|
+
return (t = g.get(this))[e].apply(t, arguments);
|
|
262
|
+
};
|
|
263
|
+
});
|
|
264
|
+
var H = function() {
|
|
265
|
+
return typeof f.ResizeObserver != "undefined" ? f.ResizeObserver : w;
|
|
266
|
+
}();
|
|
267
|
+
export {
|
|
268
|
+
H as index
|
|
269
|
+
};
|
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.13.
|
|
10
|
+
"version": "2.13.2-dev.0",
|
|
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*",
|
|
@@ -60,6 +60,7 @@
|
|
|
60
60
|
"postcss-plugin-px2rem": "^0.8.1",
|
|
61
61
|
"prettier": "^2.8.0",
|
|
62
62
|
"prettier-plugin-svelte": "^2.9.0",
|
|
63
|
+
"resize-observer-polyfill": "^1.5.1",
|
|
63
64
|
"sass": "^1.56.1",
|
|
64
65
|
"stylelint": "^14.15.0",
|
|
65
66
|
"stylelint-config-prettier": "^9.0.4",
|