@realsee/dnalogel 2.20.0-dev.4 → 2.20.0-dev.6
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/controller.d.ts +2 -1
- package/dist/PanoTagPlugin/typings/tag/Tag.d.ts +1 -1
- package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +4 -4
- package/dist/PanoTagPlugin/typings/tag/TagInstance.d.ts +1 -1
- package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +1 -1
- package/dist/index.cjs.js +24 -24
- package/dist/index.js +1970 -1968
- package/dist/index.umd.js +24 -24
- package/docs/assets/search.js +1 -1
- package/docs/classes/CSS3DRender.html +30 -30
- package/docs/classes/CruisePluginController.html +25 -25
- package/docs/classes/GuideLineItem.GuideLineItem.html +19 -19
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +30 -30
- package/docs/classes/Magnifier.html +19 -19
- package/docs/classes/ModelRoomLabelController.html +10 -10
- package/docs/classes/Object3DHelperController.html +24 -24
- package/docs/classes/PaintBrush.html +14 -14
- package/docs/classes/PanoMeasurePluginLine.html +22 -22
- package/docs/classes/PanoMeasurePluginModel.html +21 -21
- package/docs/classes/PanoMeasurePluginPoint.html +13 -13
- package/docs/classes/PanoMeasurePluginPolyline.html +25 -25
- package/docs/classes/PanoTagPluginController.html +48 -48
- package/docs/classes/Util.BetterTween.html +8 -8
- package/docs/classes/Util.FivePointSelector.html +11 -11
- package/docs/classes/Util.Interval.html +11 -11
- package/docs/classes/Util.Magnifier.html +16 -16
- package/docs/classes/Util.PointDomHelper.html +10 -10
- package/docs/classes/Util.PointHelper.html +10 -10
- package/docs/classes/Util.Rectangle.html +12 -12
- package/docs/enums/CameraMovementEffect.html +6 -6
- package/docs/enums/ContentType.html +19 -19
- package/docs/enums/DIRECTION.html +8 -8
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +8 -8
- package/docs/enums/DimensionType.html +6 -6
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +7 -7
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +8 -8
- package/docs/enums/PaintBrushTypeEnum.html +7 -7
- package/docs/enums/PointType.html +6 -6
- package/docs/enums/Rotation.html +7 -7
- package/docs/functions/CSS3DRenderPlugin.html +3 -3
- package/docs/functions/CameraMovementPlugin.html +3 -3
- package/docs/functions/CruisePlugin.html +3 -3
- package/docs/functions/GuideLinePlugin.html +4 -4
- package/docs/functions/ItemLabelPlugin.html +3 -3
- package/docs/functions/MapviewFloorplanPlugin.html +3 -3
- package/docs/functions/ModelChassisCompassPlugin.html +3 -3
- package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
- package/docs/functions/ModelFloorplanPlugin.html +3 -3
- package/docs/functions/ModelItemLabelPlugin.html +3 -3
- package/docs/functions/ModelRoomLabelPlugin.html +3 -3
- package/docs/functions/ModelTVVideoPlugin.html +3 -3
- package/docs/functions/ModelViewPlugin.html +3 -3
- package/docs/functions/Object3DHelperPlugin.html +3 -3
- package/docs/functions/PanoCompassPlugin.html +3 -3
- package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
- package/docs/functions/PanoDoorLabelPlugin.html +3 -3
- package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
- package/docs/functions/PanoMeasurePlugin.html +3 -3
- package/docs/functions/PanoRulerPlugin.html +3 -3
- package/docs/functions/PanoRulerProPlugin.html +3 -3
- package/docs/functions/PanoSpatialTagPlugin.html +3 -3
- package/docs/functions/PanoTagPlugin.html +3 -3
- package/docs/functions/PanoVideoPlugin.html +3 -3
- package/docs/functions/TopviewFloorplanPlugin.html +3 -3
- package/docs/functions/Util.getCoordsFromClient.html +4 -4
- package/docs/functions/Util.getCoordsFromElement.html +4 -4
- package/docs/functions/Util.getFrameTime.html +4 -4
- package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -4
- package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -4
- package/docs/functions/Util.isAbsoluteURL.html +4 -4
- package/docs/functions/Util.isModelLike.html +4 -4
- package/docs/functions/Util.isNil.html +4 -4
- package/docs/functions/Util.isPanoramaLike.html +4 -4
- package/docs/functions/Util.nextFrame.html +4 -4
- package/docs/functions/Util.notNil.html +4 -4
- package/docs/functions/Util.requestAnimationFrameInterval.html +4 -4
- package/docs/functions/Util.tweenProgress.html +4 -4
- package/docs/functions/Util.uuid.html +4 -4
- package/docs/functions/pluginFlag.html +4 -4
- package/docs/index.html +4 -4
- package/docs/interfaces/AddTagConfig.html +5 -5
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +10 -10
- package/docs/interfaces/CSS3DRenderPluginState.html +7 -7
- package/docs/interfaces/CameraMovementPluginExportType.html +6 -6
- package/docs/interfaces/CruisePluginTypes.Config.html +7 -7
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +11 -11
- package/docs/interfaces/CruisePluginTypes.EventMap.html +19 -19
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +11 -11
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +13 -13
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +13 -13
- package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -8
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +6 -6
- package/docs/interfaces/CruisePluginTypes.PluginState.html +10 -10
- package/docs/interfaces/EventMap.html +14 -14
- package/docs/interfaces/FloorplanBounding.html +7 -7
- package/docs/interfaces/FloorplanData.html +9 -9
- package/docs/interfaces/FloorplanEntrance.html +10 -10
- package/docs/interfaces/FloorplanExtraObject.html +9 -9
- package/docs/interfaces/FloorplanExtraObject3D.html +7 -7
- package/docs/interfaces/FloorplanFloorData.html +8 -8
- package/docs/interfaces/FloorplanImagePosition.html +6 -6
- package/docs/interfaces/FloorplanObserver.html +8 -8
- package/docs/interfaces/FloorplanOutlineItem.html +8 -8
- package/docs/interfaces/FloorplanPosition.html +6 -6
- package/docs/interfaces/FloorplanRoomItem.html +12 -12
- package/docs/interfaces/FloorplanRoomLabelItem.html +6 -6
- package/docs/interfaces/FloorplanServerBounding.html +7 -7
- package/docs/interfaces/FloorplanServerComputedData.html +9 -9
- package/docs/interfaces/FloorplanServerData.html +6 -6
- package/docs/interfaces/FloorplanServerDoorItem.html +9 -9
- package/docs/interfaces/FloorplanServerDoorPosition.html +7 -7
- package/docs/interfaces/FloorplanServerEntrance.html +10 -10
- package/docs/interfaces/FloorplanServerFloorData.html +8 -8
- package/docs/interfaces/FloorplanServerImagePosition.html +6 -6
- package/docs/interfaces/FloorplanServerObserver.html +8 -8
- package/docs/interfaces/FloorplanServerOutlineItem.html +8 -8
- package/docs/interfaces/FloorplanServerPosition.html +6 -6
- package/docs/interfaces/FloorplanServerRoomItem.html +13 -13
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -6
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +7 -7
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +9 -9
- package/docs/interfaces/GuideLinePluginType.EventMap.html +12 -12
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +7 -7
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +5 -5
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +7 -7
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +17 -17
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +6 -6
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +17 -17
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +4 -4
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +6 -6
- package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -7
- package/docs/interfaces/GuideLinePluginType.Route.html +10 -10
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +8 -8
- package/docs/interfaces/HelperOffset.html +7 -7
- package/docs/interfaces/ImagePlaneGroup.html +5 -5
- package/docs/interfaces/ItemLabelPluginData.html +5 -5
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +10 -10
- package/docs/interfaces/ItemLabelPluginParametersType.html +8 -8
- package/docs/interfaces/MinMax.html +6 -6
- package/docs/interfaces/ModelChassisCompassPluginData.html +6 -6
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +6 -6
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +7 -7
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +7 -7
- package/docs/interfaces/ModelItemLabelPluginData.html +5 -5
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +10 -10
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +6 -6
- package/docs/interfaces/ModelRoomLabelPluginData.html +5 -5
- package/docs/interfaces/ModelTVVideoPluginData.html +8 -8
- package/docs/interfaces/ModelTVVideoPluginExportType.html +7 -7
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +5 -5
- package/docs/interfaces/ModelViewPluginExportType.html +10 -10
- package/docs/interfaces/Object3DHelperState.html +7 -7
- package/docs/interfaces/ObjectHelperControllers.html +8 -8
- package/docs/interfaces/PaintBrushAction.html +11 -11
- package/docs/interfaces/PaintBrushConfigs.html +11 -11
- package/docs/interfaces/PaintBrushState.html +9 -9
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +9 -9
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -4
- package/docs/interfaces/PanoMeasureParameterType.html +13 -13
- package/docs/interfaces/PanoMeasurePluginLineJson.html +7 -7
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +6 -6
- package/docs/interfaces/PanoMeasurePluginPointJson.html +6 -6
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -7
- package/docs/interfaces/PanoRulerPluginExportType.html +9 -9
- package/docs/interfaces/PanoRulerPluginOptions.html +6 -6
- package/docs/interfaces/PanoRulerPluginParameterType.html +7 -7
- package/docs/interfaces/PanoRulerProPluginExportType.html +8 -8
- package/docs/interfaces/PanoRulerProPluginOptions.html +6 -6
- package/docs/interfaces/PanoRulerProPluginParameterType.html +6 -6
- package/docs/interfaces/PanoRulerProPluginState.html +7 -7
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -4
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -4
- package/docs/interfaces/PanoSpatialTagPluginData.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +9 -9
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +12 -12
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +9 -9
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +12 -12
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +9 -9
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +7 -7
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +7 -7
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +9 -9
- package/docs/interfaces/Point.html +7 -7
- package/docs/interfaces/Room.html +8 -8
- package/docs/interfaces/RoomInfo.html +6 -6
- package/docs/interfaces/RoomLabel.html +13 -13
- package/docs/interfaces/RoomRules.html +4 -4
- package/docs/interfaces/Rooms.html +4 -4
- package/docs/interfaces/Scissor.html +8 -8
- package/docs/interfaces/State.html +7 -7
- package/docs/interfaces/TagCacheInterface.html +11 -11
- package/docs/interfaces/TagConfig.html +14 -14
- package/docs/interfaces/TagGLTFObjectGroup.html +5 -5
- package/docs/interfaces/TagIconUrl.html +11 -11
- package/docs/interfaces/TagObjectGroup.html +5 -5
- package/docs/interfaces/TagStyle.html +5 -5
- package/docs/interfaces/Tags.html +8 -8
- package/docs/interfaces/TemporaryState.html +5 -5
- package/docs/interfaces/Util.MagnifierParameter.html +10 -10
- package/docs/interfaces/Util.MouseGroupParameter.html +7 -7
- package/docs/modules/CruisePluginTypes.html +4 -4
- package/docs/modules/GuideLineItem.html +4 -4
- package/docs/modules/GuideLineModeItem.html +4 -4
- package/docs/modules/GuideLinePluginType.html +4 -4
- package/docs/modules/PanoVideoPluginType.html +4 -4
- package/docs/modules/Util.html +4 -4
- package/docs/modules.html +4 -4
- package/docs/types/ArrayPosition.html +4 -4
- package/docs/types/AudioAppearance.html +4 -4
- package/docs/types/AudioTagTypeConfigKey.html +4 -4
- package/docs/types/CSS3DRenderExportType.html +4 -4
- package/docs/types/CSS3DRenderPluginExportType.html +4 -4
- package/docs/types/CSS3DRenderPluginParameterType.html +4 -4
- package/docs/types/ClassFunctionParameters.html +4 -4
- package/docs/types/Color.html +4 -4
- package/docs/types/ContentTypeConfigKey.html +4 -4
- package/docs/types/ContentTypeConfigKeySplit.html +4 -4
- package/docs/types/ContentTypeMap.html +4 -4
- package/docs/types/Create3DDomContainerReturnType.html +4 -4
- package/docs/types/Create3DElementReturnType.html +4 -4
- package/docs/types/CruisePluginExportType.html +4 -4
- package/docs/types/CruisePluginTypes.CruiseData.html +4 -4
- package/docs/types/CruisePluginTypes.MoveEffect.html +4 -4
- package/docs/types/DeprecatedMediaPlaneProperty.html +4 -4
- package/docs/types/DeprecatedTagProperty.html +4 -4
- package/docs/types/Direction-1.html +4 -4
- package/docs/types/Direction4.html +4 -4
- package/docs/types/ElementRenderer.html +5 -5
- package/docs/types/FloorplanRuleLabels.html +4 -4
- package/docs/types/FloorplanServerRuleLabels.html +4 -4
- package/docs/types/GuideLinePluginExportType.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineItem.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +4 -4
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +4 -4
- package/docs/types/GuideLinePluginType.PathItem.html +4 -4
- package/docs/types/GuideLinePluginType.PluginData.html +4 -4
- package/docs/types/HelperEventMap.html +4 -4
- package/docs/types/LoadTagConfig.html +4 -4
- package/docs/types/MapviewFloorplanPluginParameterType.html +4 -4
- package/docs/types/MapviewFloorplanPluginReturnType.html +4 -4
- package/docs/types/MediaData.html +4 -4
- package/docs/types/MediaStore.html +4 -4
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -4
- package/docs/types/ModelFloorplanPluginParameterType.html +4 -4
- package/docs/types/ModelFloorplanPluginReturnType.html +4 -4
- package/docs/types/ModelRoomLabelPluginParameters.html +4 -4
- package/docs/types/ModelRoomLabelPluginReturnType.html +4 -4
- package/docs/types/MoveArgs.html +4 -4
- package/docs/types/MoveOpts.html +4 -4
- package/docs/types/Object3DHelperEventMap.html +4 -4
- package/docs/types/ObjectFit.html +4 -4
- package/docs/types/PaintBrushEventMap.html +4 -4
- package/docs/types/PanoCompassPluginData.html +4 -4
- package/docs/types/PanoCompassPluginExportType.html +4 -4
- package/docs/types/PanoCompassPluginParameterType.html +4 -4
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -4
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -4
- package/docs/types/PanoIndex.html +4 -4
- package/docs/types/PanoMeasurePluginEvent.html +4 -4
- package/docs/types/PanoMeasureReturnType.html +4 -4
- package/docs/types/PanoSpatialTagPluginId.html +4 -4
- package/docs/types/PanoTagPluginExportInterface.html +4 -4
- package/docs/types/PanoTagPluginParamsInterface.html +4 -4
- package/docs/types/PanoVideoPluginParameterType.html +4 -4
- package/docs/types/PanoVideoPluginReturnType.html +4 -4
- package/docs/types/PartialObjectDeep.html +4 -4
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +4 -4
- package/docs/types/PlaneTag.html +4 -4
- package/docs/types/Point2DTag.html +4 -4
- package/docs/types/Point3DTag.html +4 -4
- package/docs/types/PointTag.html +4 -4
- package/docs/types/PointTagInstance.html +4 -4
- package/docs/types/Position.html +4 -4
- package/docs/types/RotateArgs.html +4 -4
- package/docs/types/RotateOpts.html +4 -4
- package/docs/types/RuleLabelsKey.html +4 -4
- package/docs/types/RuleLabelsValue.html +4 -4
- package/docs/types/StickType.html +4 -4
- package/docs/types/Tag.html +5 -5
- package/docs/types/Tag2D.html +4 -4
- package/docs/types/Tag3D.html +4 -4
- package/docs/types/TagContentType.html +4 -4
- package/docs/types/TagDimensionType.html +4 -4
- package/docs/types/TagElement.html +4 -4
- package/docs/types/TagEvents.html +28 -10
- package/docs/types/TagGLTFObject.html +4 -4
- package/docs/types/TagHooks.html +4 -4
- package/docs/types/TagIconSize.html +4 -4
- package/docs/types/TagId.html +4 -4
- package/docs/types/TagInstance.html +5 -5
- package/docs/types/TagPointType.html +4 -4
- package/docs/types/TagRendererMap.html +4 -4
- package/docs/types/TopviewFloorplanPluginParameterType.html +4 -4
- package/docs/types/TopviewFloorplanPluginReturnType.html +4 -4
- package/docs/types/WorkCode.html +4 -4
- package/docs/variables/FLOOR_TYPE_MAP.html +4 -4
- package/docs/variables/PLUGIN.html +4 -4
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -4
- package/docs/variables/ROOM_TYPE_MAP.html +4 -4
- package/docs/variables/itemLabelPluginServerParams.html +4 -4
- package/docs/variables/modelItemLabelPluginServerParams.html +4 -4
- package/docs/variables/modelRoomLabelPluginServerParams.html +4 -4
- package/libs/PanoTagPlugin/Components/Common/Media.js +94 -94
- package/libs/PanoTagPlugin/controller/index.js +8 -6
- package/libs/PanoTagPlugin/typings/controller.d.ts +2 -1
- package/libs/PanoTagPlugin/typings/tag/Tag.d.ts +1 -1
- package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +4 -4
- package/libs/PanoTagPlugin/typings/tag/TagInstance.d.ts +1 -1
- package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +1 -1
- package/libs/base/BasePlugin.js +1 -1
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SvelteComponent as
|
|
2
|
-
import { Carousel as
|
|
1
|
+
import { SvelteComponent as le, init as oe, safe_not_equal as re, append_styles as me, empty as U, insert as D, transition_in as c, transition_out as p, check_outros as q, detach as w, getContext as F, onMount as se, onDestroy as ue, element as G, attr as H, toggle_class as k, append as fe, group_outros as M, add_render_callback as de, create_in_transition as ce, identity as J, create_out_transition as _e, binding_callbacks as E, assign as W, bind as X, create_component as S, mount_component as N, get_spread_update as Y, get_spread_object as Z, add_flush_callback as x, destroy_component as j, destroy_each as ge } from "../../../vendor/svelte/internal/index.js";
|
|
2
|
+
import { Carousel as pe } from "../../../vendor/svelte-carousel/src/components/Carousel/Carousel.js";
|
|
3
3
|
import { fly as K } from "../../../vendor/svelte/transition/index.js";
|
|
4
4
|
import $ from "./MediaItem.js";
|
|
5
5
|
import "../../../vendor/svelte-carousel/src/components/Dots/Dots.js";
|
|
@@ -33,16 +33,16 @@ import "../../../vendor/svelte-carousel/src/utils/ProgressManager.js";
|
|
|
33
33
|
import "../../../vendor/svelte-carousel/src/utils/interval.js";
|
|
34
34
|
import "../../../vendor/svelte/easing/index.js";
|
|
35
35
|
import "../../Assets/Icon.js";
|
|
36
|
-
function
|
|
37
|
-
|
|
36
|
+
function be(t) {
|
|
37
|
+
me(t, "svelte-1mrbqlg", ".media-list-wrapper.svelte-1mrbqlg.svelte-1mrbqlg{width:100%;height:100%;position:relative;overflow:hidden;border-radius:0.125rem}.media-list-wrapper.svelte-1mrbqlg .media-list.svelte-1mrbqlg{position:relative;pointer-events:auto;height:100%;left:50%;top:50%;transform:translate(-50%, -50%)}.media-list-wrapper.svelte-1mrbqlg .media-list.svelte-1mrbqlg .sc-carousel__carousel-container,.media-list-wrapper.svelte-1mrbqlg .media-list.svelte-1mrbqlg .sc-carousel__content-container{height:100%}");
|
|
38
38
|
}
|
|
39
39
|
function P(t, i, l) {
|
|
40
40
|
const n = t.slice();
|
|
41
|
-
return n[
|
|
41
|
+
return n[28] = i[l], n[29] = i, n[30] = l, n;
|
|
42
42
|
}
|
|
43
43
|
function Q(t) {
|
|
44
|
-
let i, l, n, e,
|
|
45
|
-
const o = [
|
|
44
|
+
let i, l, n, e, s, r, a;
|
|
45
|
+
const o = [Ie, he], u = [];
|
|
46
46
|
function I(f, _) {
|
|
47
47
|
return (
|
|
48
48
|
/*carouselEnabled*/
|
|
@@ -50,14 +50,14 @@ function Q(t) {
|
|
|
50
50
|
f[10].length > 1 ? 0 : 1
|
|
51
51
|
);
|
|
52
52
|
}
|
|
53
|
-
return n = I(t), e =
|
|
53
|
+
return n = I(t), e = u[n] = o[n](t), {
|
|
54
54
|
c() {
|
|
55
|
-
i = G("div"), l = G("div"), e.c(), H(l, "class", "media-list svelte-1mrbqlg"),
|
|
55
|
+
i = G("div"), l = G("div"), e.c(), H(l, "class", "media-list svelte-1mrbqlg"), k(
|
|
56
56
|
l,
|
|
57
57
|
"carouselEnabled",
|
|
58
58
|
/*carouselEnabled*/
|
|
59
59
|
t[13]
|
|
60
|
-
), H(i, "class", "media-list-wrapper svelte-1mrbqlg"),
|
|
60
|
+
), H(i, "class", "media-list-wrapper svelte-1mrbqlg"), k(
|
|
61
61
|
i,
|
|
62
62
|
"unfolded",
|
|
63
63
|
/*unfolded*/
|
|
@@ -65,21 +65,21 @@ function Q(t) {
|
|
|
65
65
|
);
|
|
66
66
|
},
|
|
67
67
|
m(f, _) {
|
|
68
|
-
D(f, i, _),
|
|
68
|
+
D(f, i, _), fe(i, l), u[n].m(l, null), a = !0;
|
|
69
69
|
},
|
|
70
70
|
p(f, _) {
|
|
71
71
|
t = f;
|
|
72
72
|
let b = n;
|
|
73
|
-
n = I(t), n === b ?
|
|
74
|
-
|
|
75
|
-
}), q(), e =
|
|
76
|
-
8192) &&
|
|
73
|
+
n = I(t), n === b ? u[n].p(t, _) : (M(), p(u[b], 1, 1, () => {
|
|
74
|
+
u[b] = null;
|
|
75
|
+
}), q(), e = u[n], e ? e.p(t, _) : (e = u[n] = o[n](t), e.c()), c(e, 1), e.m(l, null)), (!a || _[0] & /*carouselEnabled*/
|
|
76
|
+
8192) && k(
|
|
77
77
|
l,
|
|
78
78
|
"carouselEnabled",
|
|
79
79
|
/*carouselEnabled*/
|
|
80
80
|
t[13]
|
|
81
|
-
), (!a || _ & /*unfolded*/
|
|
82
|
-
32) &&
|
|
81
|
+
), (!a || _[0] & /*unfolded*/
|
|
82
|
+
32) && k(
|
|
83
83
|
i,
|
|
84
84
|
"unfolded",
|
|
85
85
|
/*unfolded*/
|
|
@@ -87,8 +87,8 @@ function Q(t) {
|
|
|
87
87
|
);
|
|
88
88
|
},
|
|
89
89
|
i(f) {
|
|
90
|
-
a || (c(e), f &&
|
|
91
|
-
a && (r && r.end(1),
|
|
90
|
+
a || (c(e), f && de(() => {
|
|
91
|
+
a && (r && r.end(1), s = ce(
|
|
92
92
|
i,
|
|
93
93
|
K,
|
|
94
94
|
/*animation*/
|
|
@@ -104,11 +104,11 @@ function Q(t) {
|
|
|
104
104
|
),
|
|
105
105
|
easing: J
|
|
106
106
|
} : void 0
|
|
107
|
-
),
|
|
107
|
+
), s.start());
|
|
108
108
|
}), a = !0);
|
|
109
109
|
},
|
|
110
110
|
o(f) {
|
|
111
|
-
p(e),
|
|
111
|
+
p(e), s && s.invalidate(), f && (r = _e(
|
|
112
112
|
i,
|
|
113
113
|
K,
|
|
114
114
|
/*animation*/
|
|
@@ -127,11 +127,11 @@ function Q(t) {
|
|
|
127
127
|
)), a = !1;
|
|
128
128
|
},
|
|
129
129
|
d(f) {
|
|
130
|
-
f && w(i),
|
|
130
|
+
f && w(i), u[n].d(), f && r && r.end();
|
|
131
131
|
}
|
|
132
132
|
};
|
|
133
133
|
}
|
|
134
|
-
function
|
|
134
|
+
function he(t) {
|
|
135
135
|
let i, l, n;
|
|
136
136
|
const e = [
|
|
137
137
|
{ media: (
|
|
@@ -145,7 +145,7 @@ function be(t) {
|
|
|
145
145
|
t[0]
|
|
146
146
|
) }
|
|
147
147
|
];
|
|
148
|
-
function
|
|
148
|
+
function s(a) {
|
|
149
149
|
t[20](a);
|
|
150
150
|
}
|
|
151
151
|
let r = {};
|
|
@@ -154,7 +154,7 @@ function be(t) {
|
|
|
154
154
|
return (
|
|
155
155
|
/*mediaInstanceList*/
|
|
156
156
|
t[8][0] !== void 0 && (r.mediaInstance = /*mediaInstanceList*/
|
|
157
|
-
t[8][0]), i = new $({ props: r }), E.push(() => X(i, "mediaInstance",
|
|
157
|
+
t[8][0]), i = new $({ props: r }), E.push(() => X(i, "mediaInstance", s)), {
|
|
158
158
|
c() {
|
|
159
159
|
S(i.$$.fragment);
|
|
160
160
|
},
|
|
@@ -162,27 +162,27 @@ function be(t) {
|
|
|
162
162
|
N(i, a, o), n = !0;
|
|
163
163
|
},
|
|
164
164
|
p(a, o) {
|
|
165
|
-
const
|
|
165
|
+
const u = o[0] & /*mediaData, mediaItemConfig, tag*/
|
|
166
166
|
131 ? Y(e, [
|
|
167
|
-
o & /*mediaData*/
|
|
167
|
+
o[0] & /*mediaData*/
|
|
168
168
|
2 && { media: (
|
|
169
169
|
/*mediaData*/
|
|
170
170
|
a[1][0]
|
|
171
171
|
) },
|
|
172
|
-
o & /*mediaItemConfig*/
|
|
172
|
+
o[0] & /*mediaItemConfig*/
|
|
173
173
|
128 && Z(
|
|
174
174
|
/*mediaItemConfig*/
|
|
175
175
|
a[7]
|
|
176
176
|
),
|
|
177
|
-
o & /*tag*/
|
|
177
|
+
o[0] & /*tag*/
|
|
178
178
|
1 && { tag: (
|
|
179
179
|
/*tag*/
|
|
180
180
|
a[0]
|
|
181
181
|
) }
|
|
182
182
|
]) : {};
|
|
183
|
-
!l && o & /*mediaInstanceList*/
|
|
184
|
-
256 && (l = !0,
|
|
185
|
-
a[8][0], x(() => l = !1)), i.$set(
|
|
183
|
+
!l && o[0] & /*mediaInstanceList*/
|
|
184
|
+
256 && (l = !0, u.mediaInstance = /*mediaInstanceList*/
|
|
185
|
+
a[8][0], x(() => l = !1)), i.$set(u);
|
|
186
186
|
},
|
|
187
187
|
i(a) {
|
|
188
188
|
n || (c(i.$$.fragment, a), n = !0);
|
|
@@ -196,14 +196,14 @@ function be(t) {
|
|
|
196
196
|
}
|
|
197
197
|
);
|
|
198
198
|
}
|
|
199
|
-
function
|
|
199
|
+
function Ie(t) {
|
|
200
200
|
let i, l, n = {
|
|
201
201
|
dots: !1,
|
|
202
202
|
arrows: !1,
|
|
203
|
-
$$slots: { default: [
|
|
203
|
+
$$slots: { default: [ke] },
|
|
204
204
|
$$scope: { ctx: t }
|
|
205
205
|
};
|
|
206
|
-
return i = new
|
|
206
|
+
return i = new pe({ props: n }), t[18](i), i.$on(
|
|
207
207
|
"pageChange",
|
|
208
208
|
/*pageChange_handler*/
|
|
209
209
|
t[19]
|
|
@@ -211,13 +211,14 @@ function he(t) {
|
|
|
211
211
|
c() {
|
|
212
212
|
S(i.$$.fragment);
|
|
213
213
|
},
|
|
214
|
-
m(e,
|
|
215
|
-
N(i, e,
|
|
214
|
+
m(e, s) {
|
|
215
|
+
N(i, e, s), l = !0;
|
|
216
216
|
},
|
|
217
|
-
p(e,
|
|
217
|
+
p(e, s) {
|
|
218
218
|
const r = {};
|
|
219
|
-
|
|
220
|
-
|
|
219
|
+
s[0] & /*mediaDataList, mediaItemConfig, tag, mediaInstanceList*/
|
|
220
|
+
1409 | s[1] & /*$$scope*/
|
|
221
|
+
1 && (r.$$scope = { dirty: s, ctx: e }), i.$set(r);
|
|
221
222
|
},
|
|
222
223
|
i(e) {
|
|
223
224
|
l || (c(i.$$.fragment, e), l = !0);
|
|
@@ -237,18 +238,18 @@ function R(t) {
|
|
|
237
238
|
t[7],
|
|
238
239
|
{ media: (
|
|
239
240
|
/*media*/
|
|
240
|
-
t[
|
|
241
|
+
t[28]
|
|
241
242
|
) },
|
|
242
243
|
{ tag: (
|
|
243
244
|
/*tag*/
|
|
244
245
|
t[0]
|
|
245
246
|
) }
|
|
246
247
|
];
|
|
247
|
-
function
|
|
248
|
+
function s(a) {
|
|
248
249
|
t[17](
|
|
249
250
|
a,
|
|
250
251
|
/*index*/
|
|
251
|
-
t[
|
|
252
|
+
t[30]
|
|
252
253
|
);
|
|
253
254
|
}
|
|
254
255
|
let r = {};
|
|
@@ -258,12 +259,12 @@ function R(t) {
|
|
|
258
259
|
/*mediaInstanceList*/
|
|
259
260
|
t[8][
|
|
260
261
|
/*index*/
|
|
261
|
-
t[
|
|
262
|
+
t[30]
|
|
262
263
|
] !== void 0 && (r.mediaInstance = /*mediaInstanceList*/
|
|
263
264
|
t[8][
|
|
264
265
|
/*index*/
|
|
265
|
-
t[
|
|
266
|
-
]), i = new $({ props: r }), E.push(() => X(i, "mediaInstance",
|
|
266
|
+
t[30]
|
|
267
|
+
]), i = new $({ props: r }), E.push(() => X(i, "mediaInstance", s)), {
|
|
267
268
|
c() {
|
|
268
269
|
S(i.$$.fragment);
|
|
269
270
|
},
|
|
@@ -272,30 +273,30 @@ function R(t) {
|
|
|
272
273
|
},
|
|
273
274
|
p(a, o) {
|
|
274
275
|
t = a;
|
|
275
|
-
const
|
|
276
|
+
const u = o[0] & /*mediaItemConfig, mediaDataList, tag*/
|
|
276
277
|
1153 ? Y(e, [
|
|
277
|
-
o & /*mediaItemConfig*/
|
|
278
|
+
o[0] & /*mediaItemConfig*/
|
|
278
279
|
128 && Z(
|
|
279
280
|
/*mediaItemConfig*/
|
|
280
281
|
t[7]
|
|
281
282
|
),
|
|
282
|
-
o & /*mediaDataList*/
|
|
283
|
+
o[0] & /*mediaDataList*/
|
|
283
284
|
1024 && { media: (
|
|
284
285
|
/*media*/
|
|
285
|
-
t[
|
|
286
|
+
t[28]
|
|
286
287
|
) },
|
|
287
|
-
o & /*tag*/
|
|
288
|
+
o[0] & /*tag*/
|
|
288
289
|
1 && { tag: (
|
|
289
290
|
/*tag*/
|
|
290
291
|
t[0]
|
|
291
292
|
) }
|
|
292
293
|
]) : {};
|
|
293
|
-
!l && o & /*mediaInstanceList*/
|
|
294
|
-
256 && (l = !0,
|
|
294
|
+
!l && o[0] & /*mediaInstanceList*/
|
|
295
|
+
256 && (l = !0, u.mediaInstance = /*mediaInstanceList*/
|
|
295
296
|
t[8][
|
|
296
297
|
/*index*/
|
|
297
|
-
t[
|
|
298
|
-
], x(() => l = !1)), i.$set(
|
|
298
|
+
t[30]
|
|
299
|
+
], x(() => l = !1)), i.$set(u);
|
|
299
300
|
},
|
|
300
301
|
i(a) {
|
|
301
302
|
n || (c(i.$$.fragment, a), n = !0);
|
|
@@ -309,14 +310,14 @@ function R(t) {
|
|
|
309
310
|
}
|
|
310
311
|
);
|
|
311
312
|
}
|
|
312
|
-
function
|
|
313
|
+
function ke(t) {
|
|
313
314
|
let i, l, n = (
|
|
314
315
|
/*mediaDataList*/
|
|
315
316
|
t[10]
|
|
316
317
|
), e = [];
|
|
317
318
|
for (let r = 0; r < n.length; r += 1)
|
|
318
319
|
e[r] = R(P(t, n, r));
|
|
319
|
-
const
|
|
320
|
+
const s = (r) => p(e[r], 1, 1, () => {
|
|
320
321
|
e[r] = null;
|
|
321
322
|
});
|
|
322
323
|
return {
|
|
@@ -331,17 +332,17 @@ function Ie(t) {
|
|
|
331
332
|
D(r, i, a), l = !0;
|
|
332
333
|
},
|
|
333
334
|
p(r, a) {
|
|
334
|
-
if (a & /*mediaItemConfig, mediaDataList, tag, mediaInstanceList*/
|
|
335
|
+
if (a[0] & /*mediaItemConfig, mediaDataList, tag, mediaInstanceList*/
|
|
335
336
|
1409) {
|
|
336
337
|
n = /*mediaDataList*/
|
|
337
338
|
r[10];
|
|
338
339
|
let o;
|
|
339
340
|
for (o = 0; o < n.length; o += 1) {
|
|
340
|
-
const
|
|
341
|
-
e[o] ? (e[o].p(
|
|
341
|
+
const u = P(r, n, o);
|
|
342
|
+
e[o] ? (e[o].p(u, a), c(e[o], 1)) : (e[o] = R(u), e[o].c(), c(e[o], 1), e[o].m(i.parentNode, i));
|
|
342
343
|
}
|
|
343
344
|
for (M(), o = n.length; o < e.length; o += 1)
|
|
344
|
-
|
|
345
|
+
s(o);
|
|
345
346
|
q();
|
|
346
347
|
}
|
|
347
348
|
},
|
|
@@ -359,7 +360,7 @@ function Ie(t) {
|
|
|
359
360
|
l = !1;
|
|
360
361
|
},
|
|
361
362
|
d(r) {
|
|
362
|
-
|
|
363
|
+
ge(e, r), r && w(i);
|
|
363
364
|
}
|
|
364
365
|
};
|
|
365
366
|
}
|
|
@@ -372,12 +373,12 @@ function ye(t) {
|
|
|
372
373
|
c() {
|
|
373
374
|
n && n.c(), i = U();
|
|
374
375
|
},
|
|
375
|
-
m(e,
|
|
376
|
-
n && n.m(e,
|
|
376
|
+
m(e, s) {
|
|
377
|
+
n && n.m(e, s), D(e, i, s), l = !0;
|
|
377
378
|
},
|
|
378
|
-
p(e,
|
|
379
|
+
p(e, s) {
|
|
379
380
|
/*unfolded*/
|
|
380
|
-
e[5] ? n ? (n.p(e,
|
|
381
|
+
e[5] ? n ? (n.p(e, s), s[0] & /*unfolded*/
|
|
381
382
|
32 && c(n, 1)) : (n = Q(e), n.c(), c(n, 1), n.m(i.parentNode, i)) : n && (M(), p(n, 1, 1, () => {
|
|
382
383
|
n = null;
|
|
383
384
|
}), q());
|
|
@@ -393,18 +394,16 @@ function ye(t) {
|
|
|
393
394
|
}
|
|
394
395
|
};
|
|
395
396
|
}
|
|
396
|
-
function
|
|
397
|
-
let n, e,
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
autoplayVideoInCarousel: !1
|
|
401
|
-
} } = i, g = [], v = 0, h, V = null;
|
|
397
|
+
function Ce(t, i, l) {
|
|
398
|
+
let n, e, s, r, { tag: a } = i, { mediaData: o } = i, { inDelay: u = 0 } = i, { outDelay: I = 0 } = i, { duration: f = 0 } = i, { unfolded: _ = !0 } = i, { animation: b = !0 } = i, { mediaItemConfig: L } = i, { enableCarousel: y = !0 } = i, { autoplayConfig: C = {} } = i;
|
|
399
|
+
const { autoplayVideo: ve = !1, autoplayCarousel: ee = !0, autoplayVideoInCarousel: De = !1 } = C;
|
|
400
|
+
let g = [], v = 0, h, V = null;
|
|
402
401
|
const B = F("hooks"), O = F("mediaStore");
|
|
403
402
|
function T() {
|
|
404
403
|
const m = g[v], d = m == null ? void 0 : m.videoInstance;
|
|
405
404
|
d && (d.paused ? (d.muted = !1, d.play()) : d.pause());
|
|
406
405
|
}
|
|
407
|
-
|
|
406
|
+
se(() => {
|
|
408
407
|
B.on("click", (m) => {
|
|
409
408
|
var d, z, A;
|
|
410
409
|
(A = (z = (d = a.tag3DContentSvelte) == null ? void 0 : d.css3DInstance) == null ? void 0 : z.css3DObject) != null && A.opacityMesh && m.tag.id === a.id && T();
|
|
@@ -417,32 +416,32 @@ function ke(t, i, l) {
|
|
|
417
416
|
}), ue(() => {
|
|
418
417
|
clearInterval(V), B.off("click", T);
|
|
419
418
|
});
|
|
420
|
-
function
|
|
419
|
+
function te(m, d) {
|
|
421
420
|
t.$$.not_equal(g[d], m) && (g[d] = m, l(8, g));
|
|
422
421
|
}
|
|
423
|
-
function
|
|
422
|
+
function ie(m) {
|
|
424
423
|
E[m ? "unshift" : "push"](() => {
|
|
425
424
|
h = m, l(12, h);
|
|
426
425
|
});
|
|
427
426
|
}
|
|
428
|
-
const
|
|
427
|
+
const ne = (m) => {
|
|
429
428
|
n || O.set({ currentMediaElement: null }), l(11, v = m.detail);
|
|
430
429
|
};
|
|
431
|
-
function
|
|
430
|
+
function ae(m) {
|
|
432
431
|
t.$$.not_equal(g[0], m) && (g[0] = m, l(8, g));
|
|
433
432
|
}
|
|
434
433
|
return t.$$set = (m) => {
|
|
435
|
-
"tag" in m && l(0, a = m.tag), "mediaData" in m && l(1, o = m.mediaData), "inDelay" in m && l(2,
|
|
434
|
+
"tag" in m && l(0, a = m.tag), "mediaData" in m && l(1, o = m.mediaData), "inDelay" in m && l(2, u = m.inDelay), "outDelay" in m && l(3, I = m.outDelay), "duration" in m && l(4, f = m.duration), "unfolded" in m && l(5, _ = m.unfolded), "animation" in m && l(6, b = m.animation), "mediaItemConfig" in m && l(7, L = m.mediaItemConfig), "enableCarousel" in m && l(15, y = m.enableCarousel), "autoplayConfig" in m && l(16, C = m.autoplayConfig);
|
|
436
435
|
}, t.$$.update = () => {
|
|
437
|
-
t.$$.dirty & /*mediaInstanceList*/
|
|
438
|
-
256 && l(9, n = g.every((m) => m.paused)), t.$$.dirty & /*enableCarousel, mediaData*/
|
|
439
|
-
32770 && l(13, e =
|
|
440
|
-
2 && l(10,
|
|
441
|
-
|
|
436
|
+
t.$$.dirty[0] & /*mediaInstanceList*/
|
|
437
|
+
256 && l(9, n = g.every((m) => m.paused)), t.$$.dirty[0] & /*enableCarousel, mediaData*/
|
|
438
|
+
32770 && l(13, e = y && (o == null ? void 0 : o.length) > 1), t.$$.dirty[0] & /*mediaData*/
|
|
439
|
+
2 && l(10, s = o), t.$$.dirty[0] & /*mediaDataList, paused*/
|
|
440
|
+
1536 && (r = s.length > 1 && ee && n);
|
|
442
441
|
}, [
|
|
443
442
|
a,
|
|
444
443
|
o,
|
|
445
|
-
|
|
444
|
+
u,
|
|
446
445
|
I,
|
|
447
446
|
f,
|
|
448
447
|
_,
|
|
@@ -450,27 +449,27 @@ function ke(t, i, l) {
|
|
|
450
449
|
L,
|
|
451
450
|
g,
|
|
452
451
|
n,
|
|
453
|
-
|
|
452
|
+
s,
|
|
454
453
|
v,
|
|
455
454
|
h,
|
|
456
455
|
e,
|
|
457
456
|
O,
|
|
458
|
-
|
|
457
|
+
y,
|
|
459
458
|
C,
|
|
460
|
-
ee,
|
|
461
459
|
te,
|
|
462
460
|
ie,
|
|
463
|
-
ne
|
|
461
|
+
ne,
|
|
462
|
+
ae
|
|
464
463
|
];
|
|
465
464
|
}
|
|
466
|
-
class
|
|
465
|
+
class ot extends le {
|
|
467
466
|
constructor(i) {
|
|
468
|
-
super(),
|
|
467
|
+
super(), oe(
|
|
469
468
|
this,
|
|
470
469
|
i,
|
|
471
|
-
|
|
470
|
+
Ce,
|
|
472
471
|
ye,
|
|
473
|
-
|
|
472
|
+
re,
|
|
474
473
|
{
|
|
475
474
|
tag: 0,
|
|
476
475
|
mediaData: 1,
|
|
@@ -483,10 +482,11 @@ class nt extends ae {
|
|
|
483
482
|
enableCarousel: 15,
|
|
484
483
|
autoplayConfig: 16
|
|
485
484
|
},
|
|
486
|
-
|
|
485
|
+
be,
|
|
486
|
+
[-1, -1]
|
|
487
487
|
);
|
|
488
488
|
}
|
|
489
489
|
}
|
|
490
490
|
export {
|
|
491
|
-
|
|
491
|
+
ot as default
|
|
492
492
|
};
|
|
@@ -33,9 +33,9 @@ import { objectAssignDeepExports as c } from "../../vendor/object-assign-deep/ob
|
|
|
33
33
|
import { arrayPositionToVector3 as A } from "../../CSS3DRenderPlugin/utils/positionToVector3.js";
|
|
34
34
|
import { addDebugPoints as R } from "../utils/addDebugPoints.js";
|
|
35
35
|
import { isMediaModelTag as y, isModelTag as O } from "../utils/tag/tagCheck.js";
|
|
36
|
-
import { waitFiveModelLoaded as
|
|
36
|
+
import { waitFiveModelLoaded as k } from "../utils/actionAfterFiveModelLoad.js";
|
|
37
37
|
import { debounce as D } from "../utils/debounce.js";
|
|
38
|
-
import { throttle as
|
|
38
|
+
import { throttle as _ } from "../utils/throttle.js";
|
|
39
39
|
import { resizeObserver as S } from "../utils/resizeObserver.js";
|
|
40
40
|
import L from "../utils/tag/format.js";
|
|
41
41
|
import { generateBlankAudio as G, AudioNamespace as V } from "../../shared-utils/audio.js";
|
|
@@ -239,7 +239,7 @@ class ci extends N {
|
|
|
239
239
|
destroy: () => this.destroyTagById(o.id)
|
|
240
240
|
});
|
|
241
241
|
}).filter((o) => o.position);
|
|
242
|
-
return s.forEach(L), this.tags.push(...s),
|
|
242
|
+
return s.forEach(L), this.tags.push(...s), k(this.five).then(() => p(this, null, function* () {
|
|
243
243
|
var o, n, r;
|
|
244
244
|
this.store.eventListenerDisposer && ((n = (o = this.store).eventListenerDisposer) == null || n.call(o)), this.state.enabled && this.handleEnable(), this.addResizeListener(), this.clearUnusedPanelTag(), this.setVisibleAndUnfolded({ withAnimation: (r = t == null ? void 0 : t.withAnimation) != null ? r : !0 }).then(() => this.updateRenderAllTags()), this.updateRenderAllTags(), yield this.addMediaModelTag(s);
|
|
245
245
|
}));
|
|
@@ -336,7 +336,8 @@ class ci extends N {
|
|
|
336
336
|
*/
|
|
337
337
|
changeDataById(e, t, i = !0) {
|
|
338
338
|
const s = this.getTagById(e);
|
|
339
|
-
|
|
339
|
+
let o = !1;
|
|
340
|
+
s && (s.data && (o = !0), i ? s.data = c({}, s.data, t) : s.data = f(f({}, s.data), t), this.clearUnusedPanelTag(), this.updateRenderAllTags(), o && s.hooks.emit("dataChanged", s.data));
|
|
340
341
|
}
|
|
341
342
|
/**
|
|
342
343
|
* @description: 改变tag的stickType
|
|
@@ -349,7 +350,8 @@ class ci extends N {
|
|
|
349
350
|
*/
|
|
350
351
|
changeTagById(e, t, i = !0) {
|
|
351
352
|
const s = this.getTagById(e);
|
|
352
|
-
|
|
353
|
+
let o = !1;
|
|
354
|
+
t && (t.data && (o = !0), i ? c(s, t) : Object.assign(s, t), s != null && s.tag3DContentSvelte && (t != null && t.normal) && (s.tag3DContentSvelte.currentNormal = A(t.normal)), this.updateRenderAllTags(), this.clearUnusedPanelTag(), o && s.hooks.emit("dataChanged", s.data));
|
|
353
355
|
}
|
|
354
356
|
/**
|
|
355
357
|
* @description: 销毁tag
|
|
@@ -417,7 +419,7 @@ class ci extends N {
|
|
|
417
419
|
}, i = () => {
|
|
418
420
|
this.state.enabled && this.hide();
|
|
419
421
|
}, { observe: s, unobserve: o } = S(
|
|
420
|
-
|
|
422
|
+
_(() => {
|
|
421
423
|
this.store.resizeObserverDisposer && i();
|
|
422
424
|
}, 500),
|
|
423
425
|
e
|
|
@@ -56,11 +56,12 @@ export interface EventMap extends BasePlugin.EventMap<State> {
|
|
|
56
56
|
}) => void;
|
|
57
57
|
loadVideoFirstFrame: () => void;
|
|
58
58
|
}
|
|
59
|
-
export type TagEvents = {
|
|
59
|
+
export type TagEvents<C extends TagContentType = TagContentType> = {
|
|
60
60
|
unfolded: () => void;
|
|
61
61
|
folded: () => void;
|
|
62
62
|
show: () => void;
|
|
63
63
|
hide: () => void;
|
|
64
|
+
dataChanged: (data: TagInstance<C>['data']) => void;
|
|
64
65
|
};
|
|
65
66
|
export interface TagCacheInterface {
|
|
66
67
|
visible?: boolean;
|
|
@@ -23,7 +23,7 @@ export type Tag<C extends TagContentType = TagContentType, S extends StickType =
|
|
|
23
23
|
/** @type {StickType} 附着方式 */
|
|
24
24
|
stickType: S;
|
|
25
25
|
/** @type {TagContentType} 内容类型,根据内容类型展示对应UI */
|
|
26
|
-
contentType: C;
|
|
26
|
+
contentType: C extends 'Unknown' ? string : C;
|
|
27
27
|
/** 点 */
|
|
28
28
|
position: S extends 'Plane' ? [Position, Position, Position, Position] : S extends '2DPoint' | '3DPoint' | 'Model' ? Position : Position | [Position, Position, Position, Position];
|
|
29
29
|
/** 法向量 */
|
|
@@ -4,8 +4,8 @@ import type { ContentTypeMap, TagContentType } from './TagData';
|
|
|
4
4
|
import type { MinMax } from './Utils';
|
|
5
5
|
import type { PartialObjectDeep } from './Utils';
|
|
6
6
|
import type { TagInstance } from './TagInstance';
|
|
7
|
-
type ConfigFunction
|
|
8
|
-
tag: TagInstance<
|
|
7
|
+
type ConfigFunction = (five: Five, tagState: {
|
|
8
|
+
tag: TagInstance<any>;
|
|
9
9
|
/** 标签点或中心点的到摄像机的距离 */
|
|
10
10
|
distance: number;
|
|
11
11
|
/** 3D标签中 「标签所在平面或垂直于标签法线的平面」 与 「摄像机到标签点或中心点的向量」 的夹角 */
|
|
@@ -68,7 +68,7 @@ export interface TagConfig<C extends TagContentType = TagContentType> {
|
|
|
68
68
|
* @default undefined
|
|
69
69
|
*/
|
|
70
70
|
angleRange?: MinMax;
|
|
71
|
-
} | ConfigFunction
|
|
71
|
+
} | ConfigFunction;
|
|
72
72
|
/** 展开/收起配置 */
|
|
73
73
|
unfoldedConfig?: {
|
|
74
74
|
/** 保持展开/收起,设置后unfoldedConfig下所有其他配置都不生效 */
|
|
@@ -109,7 +109,7 @@ export interface TagConfig<C extends TagContentType = TagContentType> {
|
|
|
109
109
|
/** 展开的最大距离, 默认为无限制 */
|
|
110
110
|
distance?: MinMax;
|
|
111
111
|
};
|
|
112
|
-
} | ConfigFunction
|
|
112
|
+
} | ConfigFunction;
|
|
113
113
|
/** 初始状态 */
|
|
114
114
|
initialState?: {
|
|
115
115
|
/** 显示/隐藏 */
|
|
@@ -41,7 +41,7 @@ export type TagInstance<C extends TagContentType = TagContentType, S extends Sti
|
|
|
41
41
|
visible?: boolean;
|
|
42
42
|
unfolded: boolean;
|
|
43
43
|
};
|
|
44
|
-
hooks: Subscribe<TagEvents
|
|
44
|
+
hooks: Subscribe<TagEvents<C>>;
|
|
45
45
|
unfold: () => void;
|
|
46
46
|
fold: () => void;
|
|
47
47
|
enable: () => void;
|
|
@@ -46,7 +46,7 @@ export type TagGLTFObject = GLTFObject & {
|
|
|
46
46
|
updateTagCss3DObjectMatrix?: () => void;
|
|
47
47
|
};
|
|
48
48
|
/** 返回一个销毁函数 */
|
|
49
|
-
export type ElementRenderer = (container: HTMLElement, tag: TagInstance) => () => void;
|
|
49
|
+
export type ElementRenderer = (container: HTMLElement, tag: TagInstance<any, any>) => () => void;
|
|
50
50
|
export type TagRendererMap = Map<string, {
|
|
51
51
|
renderer: ElementRenderer;
|
|
52
52
|
}>;
|
package/libs/base/BasePlugin.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
function A() {
|
|
2
2
|
console.info(
|
|
3
|
-
"%c %c@realsee/dnalogel %cv2.20.0-dev.
|
|
3
|
+
"%c %c@realsee/dnalogel %cv2.20.0-dev.6",
|
|
4
4
|
[
|
|
5
5
|
"background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAMCAMAAACHgmeRAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABLFBMVEUAAAAapPoap/oaqvkbrfkbr/gZnfwZoPsaqfnD4v/E4/8Ylv0clPm93/+/4P/B4f8Yj/683/8Wif+33P8Uhv+x2f8ShP+s1v8Pgf+n0/8Nf/+h0f8Lff8Lff8Nf/9dl/+czv8KfP8KfP+Lxf+Uyv+Xy/+Hwv+Jw/+Mxf+Oxv+RyP8aovsapfoap/oZmfwZm/wZnvsYnPsYkf4YlP0NePsDYfgYcfi43f+63v8Xiv8Xjf4EWfwCV/sWZ/qz2v+02/8Vh/8WiP8EUf8CTf4WXv2u1/+v2P8Thf8Thv8ETf8CR/8VV/+o1f+q1f8Qgv8Rg/8DSv8BRf8UVP+j0v+k0v8OgP8Pgf8DR/8DQv9Nhf+dzv+fz/+Kv/+Vyv+Xy/+azf+Oxv+Qx/+SyP////8MUhLdAAAAK3RSTlMACEWQ2bd98uQECPXxqO7c+Pb49vj2+Pb49vj23Oul8fMHA+TwerXXjEIG2P+bHgAAAAFiS0dEY1y+LaoAAAB+SURBVAjXY2BgZGJmYWVgYGBgY9fW0eVg4ORi4NbTNzDk4eXjZxAwMjYxNTO3EGQQsrSytrG1sxdmEHFwdHJ2cXUTZRBz9/D08vbxFWeQ8PMPCAwKDpFkkAoNC4+IjIqWZpCRlZOPiY2LV2BQVGJQTkhMUlEFWaOmrqGpxQAAyg0S9Dq+VPYAAAAASUVORK5CYII=')",
|
|
6
6
|
"background-repeat: no-repeat",
|
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.20.0-dev.
|
|
10
|
+
"version": "2.20.0-dev.6",
|
|
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*",
|