@realsee/dnalogel 2.0.0-alpha.43 → 2.0.0-alpha.44
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/CSS3DRenderPlugin/ItemLabelPlugin/typings.d.ts +1 -0
- package/dist/CameraMovementPlugin/ItemLabelPlugin/typings.d.ts +1 -0
- package/dist/ItemLabelPlugin/ItemLabelPlugin/typings.d.ts +1 -0
- package/dist/ItemLabelPlugin/index.js +138 -73
- package/dist/ItemLabelPlugin/typings.d.ts +1 -0
- package/dist/ModelChassisCompassPlugin/ItemLabelPlugin/typings.d.ts +1 -0
- package/dist/ModelEntryDoorGuidePlugin/ItemLabelPlugin/typings.d.ts +1 -0
- package/dist/ModelItemLabelPlugin/ItemLabelPlugin/typings.d.ts +1 -0
- package/dist/ModelRoomLabelPlugin/ItemLabelPlugin/typings.d.ts +1 -0
- package/dist/ModelTVVideoPlugin/ItemLabelPlugin/typings.d.ts +1 -0
- package/dist/ModelViewPlugin/ItemLabelPlugin/typings.d.ts +1 -0
- package/dist/PanoCompassPlugin/ItemLabelPlugin/typings.d.ts +1 -0
- package/dist/PanoCursorRaycasterPlugin/ItemLabelPlugin/typings.d.ts +1 -0
- package/dist/PanoMeasurePlugin/ItemLabelPlugin/typings.d.ts +1 -0
- package/dist/PanoRulerPlugin/ItemLabelPlugin/typings.d.ts +1 -0
- package/dist/PanoRulerProPlugin/ItemLabelPlugin/typings.d.ts +1 -0
- package/dist/PanoSpatialTagPlugin/ItemLabelPlugin/typings.d.ts +1 -0
- package/dist/floorplan/ModelFloorplanPlugin/ItemLabelPlugin/typings.d.ts +1 -0
- package/dist/floorplan/PanoFloorplanRadarPlugin/ItemLabelPlugin/typings.d.ts +1 -0
- package/dist/floorplan/TopviewFloorplanPlugin/ItemLabelPlugin/typings.d.ts +1 -0
- package/dist/index.es.js +156 -91
- package/dist/index.js +156 -91
- package/dist/index.umd.js +156 -91
- package/docs/classes/Magnifier.html +4 -4
- package/docs/classes/ModelRoomLabelController.html +4 -4
- package/docs/enums/CameraMovementEffect.html +1 -1
- package/docs/enums/DIRECTION.html +1 -1
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +1 -1
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +1 -1
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +1 -1
- package/docs/enums/Rotation.html +1 -1
- package/docs/interfaces/CSS3DRenderPluginExportType.html +2 -2
- package/docs/interfaces/CameraMovementPluginExportType.html +2 -2
- package/docs/interfaces/FloorplanBounding.html +3 -3
- package/docs/interfaces/FloorplanData.html +1 -1
- package/docs/interfaces/FloorplanEntrance.html +6 -6
- package/docs/interfaces/FloorplanExtraObject.html +2 -2
- package/docs/interfaces/FloorplanExtraObject3D.html +1 -1
- package/docs/interfaces/FloorplanFloorData.html +1 -1
- package/docs/interfaces/FloorplanImagePosition.html +1 -1
- package/docs/interfaces/FloorplanObserver.html +1 -1
- package/docs/interfaces/FloorplanOutlineItem.html +1 -1
- package/docs/interfaces/FloorplanPosition.html +1 -1
- package/docs/interfaces/FloorplanRoomItem.html +5 -5
- package/docs/interfaces/FloorplanRoomLabelItem.html +2 -2
- package/docs/interfaces/FloorplanServerBounding.html +3 -3
- package/docs/interfaces/FloorplanServerComputedData.html +1 -1
- package/docs/interfaces/FloorplanServerData.html +1 -1
- package/docs/interfaces/FloorplanServerEntrance.html +6 -6
- package/docs/interfaces/FloorplanServerFloorData.html +1 -1
- package/docs/interfaces/FloorplanServerImagePosition.html +1 -1
- package/docs/interfaces/FloorplanServerObserver.html +1 -1
- package/docs/interfaces/FloorplanServerOutlineItem.html +1 -1
- package/docs/interfaces/FloorplanServerPosition.html +1 -1
- package/docs/interfaces/FloorplanServerRoomItem.html +6 -6
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +2 -2
- package/docs/interfaces/ItemLabelPluginData.html +1 -1
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +1 -1
- package/docs/interfaces/ItemLabelPluginParametersType.html +1 -1
- package/docs/interfaces/LineJson.html +1 -1
- package/docs/interfaces/ModelChassisCompassPluginData.html +1 -1
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +1 -1
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +1 -1
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +1 -1
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +1 -1
- package/docs/interfaces/ModelItemLabelPluginData.html +1 -1
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +1 -1
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +1 -1
- package/docs/interfaces/ModelRoomLabelPluginData.html +1 -1
- package/docs/interfaces/ModelTVVideoPluginData.html +1 -1
- package/docs/interfaces/ModelTVVideoPluginExportType.html +1 -1
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +1 -1
- package/docs/interfaces/ModelViewPluginExportType.html +1 -1
- package/docs/interfaces/OpenParameter.html +1 -1
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +6 -6
- package/docs/interfaces/PanoMeasureParameterType.html +1 -1
- package/docs/interfaces/PanoRulerPluginExportType.html +1 -1
- package/docs/interfaces/PanoRulerPluginOptions.html +1 -1
- package/docs/interfaces/PanoRulerPluginParameterType.html +1 -1
- package/docs/interfaces/PanoRulerProPluginExportType.html +1 -1
- package/docs/interfaces/PanoRulerProPluginOptions.html +1 -1
- package/docs/interfaces/PanoRulerProPluginParameterType.html +1 -1
- package/docs/interfaces/PanoRulerProPluginState.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginData.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +1 -1
- package/docs/interfaces/Point.html +1 -1
- package/docs/interfaces/PointJson.html +1 -1
- package/docs/interfaces/Room.html +1 -1
- package/docs/interfaces/RoomInfo.html +1 -1
- package/docs/interfaces/RoomLabel.html +7 -7
- package/docs/modules.html +18 -18
- package/libs/ItemLabelPlugin/ItemLabelComponent.js +2 -2
- package/libs/ItemLabelPlugin/ItemLabelComponent.svelte +251 -0
- package/libs/ItemLabelPlugin/ItemLabelItem.js +141 -74
- package/libs/ItemLabelPlugin/ItemLabelItem.svelte +180 -0
- package/libs/ItemLabelPlugin/Plugin.js +1 -1
- package/libs/ItemLabelPlugin/typings.d.ts +3 -1
- package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +2 -2
- package/libs/ModelItemLabelPlugin/ItemLabelComponent.svelte +155 -0
- package/libs/ModelItemLabelPlugin/ItemLabelItem.js +6 -6
- package/libs/ModelItemLabelPlugin/ItemLabelItem.svelte +100 -0
- package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +1 -1
- package/libs/ModelItemLabelPlugin/typings.d.ts +1 -1
- package/libs/ModelRoomLabelPlugin/Controller.js +1 -1
- package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +4 -4
- package/libs/ModelRoomLabelPlugin/RoomLabelItem.svelte +63 -0
- package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +2 -2
- package/libs/ModelRoomLabelPlugin/RoomLabelItems.svelte +94 -0
- package/libs/PanoRulerProPlugin/Controller.js +1 -1
- package/libs/PanoRulerProPlugin/RulerItem.js +9 -9
- package/libs/PanoRulerProPlugin/RulerItem.svelte +166 -0
- package/libs/PanoRulerProPlugin/RulerItems.svelte +212 -0
- package/libs/PanoSpatialTagPlugin/Components/origins.js +2 -2
- package/libs/PanoSpatialTagPlugin/Components/origins.svelte +58 -0
- package/libs/PanoSpatialTagPlugin/Components/tag.js +9 -9
- package/libs/PanoSpatialTagPlugin/Components/tag.svelte +292 -0
- package/libs/PanoSpatialTagPlugin/Plugin.js +2 -2
- package/libs/floorplan/Components/BaseImage.js +2 -2
- package/libs/floorplan/Components/BaseImage.svelte +26 -0
- package/libs/floorplan/Components/Camera.js +3 -3
- package/libs/floorplan/Components/Camera.svelte +46 -0
- package/libs/floorplan/Components/Compass.js +4 -4
- package/libs/floorplan/Components/Compass.svelte +51 -0
- package/libs/floorplan/Components/CurrentFloor.js +3 -3
- package/libs/floorplan/Components/CurrentFloor.svelte +46 -0
- package/libs/floorplan/Components/Main.js +2 -2
- package/libs/floorplan/Components/Main.svelte +51 -0
- package/libs/floorplan/Components/Normalmage.js +2 -2
- package/libs/floorplan/Components/Normalmage.svelte +11 -0
- package/libs/floorplan/Components/RoomHighlight/Room.js +2 -2
- package/libs/floorplan/Components/RoomHighlight/Room.svelte +27 -0
- package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +3 -3
- package/libs/floorplan/Components/RoomHighlight/RoomHighlight.svelte +29 -0
- package/libs/floorplan/Components/RoomLabels/RoomLabel.js +3 -3
- package/libs/floorplan/Components/RoomLabels/RoomLabel.svelte +119 -0
- package/libs/floorplan/Components/RoomLabels/RoomLabels.js +2 -2
- package/libs/floorplan/Components/RoomLabels/RoomLabels.svelte +35 -0
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +3 -3
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial.svelte +42 -0
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.svelte +7 -0
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.svelte +24 -0
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.svelte +33 -0
- package/libs/floorplan/Components/RuleLabels/RuleItem.js +9 -9
- package/libs/floorplan/Components/RuleLabels/RuleItem.svelte +174 -0
- package/libs/floorplan/Components/RuleLabels/RuleLabels.js +2 -2
- package/libs/floorplan/Components/RuleLabels/RuleLabels.svelte +32 -0
- package/libs/floorplan/Components/SvgImage.js +3 -4
- package/libs/floorplan/Components/SvgImage.svelte +28 -0
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +1 -1
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +4 -4
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.svelte +85 -0
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.svelte +18 -0
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +4 -4
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.svelte +40 -0
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +3 -3
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.svelte +64 -0
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +1 -1
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +1 -1
- package/package.json +2 -1
package/dist/index.es.js
CHANGED
|
@@ -1435,7 +1435,7 @@ function add_css$j(target) {
|
|
|
1435
1435
|
}
|
|
1436
1436
|
|
|
1437
1437
|
// (13:22)
|
|
1438
|
-
function create_if_block_1$
|
|
1438
|
+
function create_if_block_1$6(ctx) {
|
|
1439
1439
|
let normalimage;
|
|
1440
1440
|
let current;
|
|
1441
1441
|
normalimage = new Normalmage({ props: { url: /*imageData*/ ctx[1].url } });
|
|
@@ -1510,7 +1510,7 @@ function create_fragment$o(ctx) {
|
|
|
1510
1510
|
let current_block_type_index;
|
|
1511
1511
|
let if_block;
|
|
1512
1512
|
let current;
|
|
1513
|
-
const if_block_creators = [create_if_block$a, create_if_block_1$
|
|
1513
|
+
const if_block_creators = [create_if_block$a, create_if_block_1$6];
|
|
1514
1514
|
const if_blocks = [];
|
|
1515
1515
|
|
|
1516
1516
|
function select_block_type(ctx, dirty) {
|
|
@@ -1636,7 +1636,7 @@ function add_css$i(target) {
|
|
|
1636
1636
|
}
|
|
1637
1637
|
|
|
1638
1638
|
// (95:30)
|
|
1639
|
-
function create_if_block_1$
|
|
1639
|
+
function create_if_block_1$5(ctx) {
|
|
1640
1640
|
let html_tag;
|
|
1641
1641
|
let raw_value = /*userConfigElement*/ ctx[4].outerHTML + "";
|
|
1642
1642
|
let html_anchor;
|
|
@@ -1701,7 +1701,7 @@ function create_fragment$n(ctx) {
|
|
|
1701
1701
|
|
|
1702
1702
|
function select_block_type(ctx, dirty) {
|
|
1703
1703
|
if (/*getLabelElement*/ ctx[1] === undefined) return create_if_block$9;
|
|
1704
|
-
if (/*userConfigElement*/ ctx[4]) return create_if_block_1$
|
|
1704
|
+
if (/*userConfigElement*/ ctx[4]) return create_if_block_1$5;
|
|
1705
1705
|
}
|
|
1706
1706
|
|
|
1707
1707
|
let current_block_type = select_block_type(ctx);
|
|
@@ -3049,7 +3049,7 @@ function get_each_context$8(ctx, list, i) {
|
|
|
3049
3049
|
}
|
|
3050
3050
|
|
|
3051
3051
|
// (19:6) {:else}
|
|
3052
|
-
function create_else_block$
|
|
3052
|
+
function create_else_block$2(ctx) {
|
|
3053
3053
|
let roommaterial_1;
|
|
3054
3054
|
let current;
|
|
3055
3055
|
roommaterial_1 = new RoomMaterial_1({ props: { path: /*room*/ ctx[5].path } });
|
|
@@ -3083,7 +3083,7 @@ function create_else_block$1(ctx) {
|
|
|
3083
3083
|
}
|
|
3084
3084
|
|
|
3085
3085
|
// (17:37)
|
|
3086
|
-
function create_if_block_1$
|
|
3086
|
+
function create_if_block_1$4(ctx) {
|
|
3087
3087
|
let roommaterial_2;
|
|
3088
3088
|
let current;
|
|
3089
3089
|
roommaterial_2 = new RoomMaterial_2({ props: { path: /*room*/ ctx[5].path } });
|
|
@@ -3156,7 +3156,7 @@ function create_each_block$8(ctx) {
|
|
|
3156
3156
|
let current_block_type_index;
|
|
3157
3157
|
let if_block;
|
|
3158
3158
|
let current;
|
|
3159
|
-
const if_block_creators = [create_if_block$7, create_if_block_1$
|
|
3159
|
+
const if_block_creators = [create_if_block$7, create_if_block_1$4, create_else_block$2];
|
|
3160
3160
|
const if_blocks = [];
|
|
3161
3161
|
|
|
3162
3162
|
function select_block_type(ctx, dirty) {
|
|
@@ -3683,7 +3683,7 @@ function create_if_block_2(ctx) {
|
|
|
3683
3683
|
}
|
|
3684
3684
|
|
|
3685
3685
|
// (24:2) {#if roomLabelsEnable}
|
|
3686
|
-
function create_if_block_1$
|
|
3686
|
+
function create_if_block_1$3(ctx) {
|
|
3687
3687
|
let roomlabels;
|
|
3688
3688
|
let current;
|
|
3689
3689
|
|
|
@@ -3839,7 +3839,7 @@ function create_fragment$d(ctx) {
|
|
|
3839
3839
|
}
|
|
3840
3840
|
|
|
3841
3841
|
baseimage = new BaseImage({ props: baseimage_props });
|
|
3842
|
-
let if_block1 = /*roomLabelsEnable*/ ctx[3] && create_if_block_1$
|
|
3842
|
+
let if_block1 = /*roomLabelsEnable*/ ctx[3] && create_if_block_1$3(ctx);
|
|
3843
3843
|
let if_block2 = /*ruleLabelsEnable*/ ctx[4] && create_if_block$6(ctx);
|
|
3844
3844
|
|
|
3845
3845
|
return {
|
|
@@ -3926,7 +3926,7 @@ function create_fragment$d(ctx) {
|
|
|
3926
3926
|
transition_in(if_block1, 1);
|
|
3927
3927
|
}
|
|
3928
3928
|
} else {
|
|
3929
|
-
if_block1 = create_if_block_1$
|
|
3929
|
+
if_block1 = create_if_block_1$3(ctx);
|
|
3930
3930
|
if_block1.c();
|
|
3931
3931
|
transition_in(if_block1, 1);
|
|
3932
3932
|
if_block1.m(div, t3);
|
|
@@ -4105,7 +4105,7 @@ function create_if_block$5(ctx) {
|
|
|
4105
4105
|
}
|
|
4106
4106
|
|
|
4107
4107
|
camera = new Camera$1({ props: camera_props });
|
|
4108
|
-
let if_block = /*compassEnable*/ ctx[6] && create_if_block_1$
|
|
4108
|
+
let if_block = /*compassEnable*/ ctx[6] && create_if_block_1$2(ctx);
|
|
4109
4109
|
|
|
4110
4110
|
return {
|
|
4111
4111
|
c() {
|
|
@@ -4185,7 +4185,7 @@ function create_if_block$5(ctx) {
|
|
|
4185
4185
|
transition_in(if_block, 1);
|
|
4186
4186
|
}
|
|
4187
4187
|
} else {
|
|
4188
|
-
if_block = create_if_block_1$
|
|
4188
|
+
if_block = create_if_block_1$2(ctx);
|
|
4189
4189
|
if_block.c();
|
|
4190
4190
|
transition_in(if_block, 1);
|
|
4191
4191
|
if_block.m(div, null);
|
|
@@ -4319,7 +4319,7 @@ function create_each_block$6(ctx) {
|
|
|
4319
4319
|
}
|
|
4320
4320
|
|
|
4321
4321
|
// (39:4) {#if compassEnable}
|
|
4322
|
-
function create_if_block_1$
|
|
4322
|
+
function create_if_block_1$2(ctx) {
|
|
4323
4323
|
let compass;
|
|
4324
4324
|
let current;
|
|
4325
4325
|
|
|
@@ -5777,7 +5777,7 @@ function create_if_block$3(ctx) {
|
|
|
5777
5777
|
let div;
|
|
5778
5778
|
let div_resize_listener;
|
|
5779
5779
|
let current;
|
|
5780
|
-
let if_block = /*clientWidth*/ ctx[6] !== 0 && create_if_block_1(ctx);
|
|
5780
|
+
let if_block = /*clientWidth*/ ctx[6] !== 0 && create_if_block_1$1(ctx);
|
|
5781
5781
|
|
|
5782
5782
|
return {
|
|
5783
5783
|
c() {
|
|
@@ -5801,7 +5801,7 @@ function create_if_block$3(ctx) {
|
|
|
5801
5801
|
transition_in(if_block, 1);
|
|
5802
5802
|
}
|
|
5803
5803
|
} else {
|
|
5804
|
-
if_block = create_if_block_1(ctx);
|
|
5804
|
+
if_block = create_if_block_1$1(ctx);
|
|
5805
5805
|
if_block.c();
|
|
5806
5806
|
transition_in(if_block, 1);
|
|
5807
5807
|
if_block.m(div, null);
|
|
@@ -5834,7 +5834,7 @@ function create_if_block$3(ctx) {
|
|
|
5834
5834
|
}
|
|
5835
5835
|
|
|
5836
5836
|
// (43:4) {#if clientWidth !== 0}
|
|
5837
|
-
function create_if_block_1(ctx) {
|
|
5837
|
+
function create_if_block_1$1(ctx) {
|
|
5838
5838
|
let div;
|
|
5839
5839
|
let currentfloor;
|
|
5840
5840
|
let t;
|
|
@@ -8362,7 +8362,7 @@ function get_each_context$4(ctx, list, i) {
|
|
|
8362
8362
|
}
|
|
8363
8363
|
|
|
8364
8364
|
// (28:2) {:else}
|
|
8365
|
-
function create_else_block(ctx) {
|
|
8365
|
+
function create_else_block$1(ctx) {
|
|
8366
8366
|
let div;
|
|
8367
8367
|
let each_value = /*rulerItemProp*/ ctx[0].children;
|
|
8368
8368
|
let each_blocks = [];
|
|
@@ -8505,7 +8505,7 @@ function create_fragment$7(ctx) {
|
|
|
8505
8505
|
|
|
8506
8506
|
function select_block_type(ctx, dirty) {
|
|
8507
8507
|
if (/*rulerItemProp*/ ctx[0].children.length === 0) return create_if_block$2;
|
|
8508
|
-
return create_else_block;
|
|
8508
|
+
return create_else_block$1;
|
|
8509
8509
|
}
|
|
8510
8510
|
|
|
8511
8511
|
let current_block_type = select_block_type(ctx);
|
|
@@ -15689,11 +15689,99 @@ var ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE;
|
|
|
15689
15689
|
/* src/ItemLabelPlugin/ItemLabelItem.svelte generated by Svelte v3.49.0 */
|
|
15690
15690
|
|
|
15691
15691
|
function add_css$1(target) {
|
|
15692
|
-
append_styles(target, "svelte-
|
|
15692
|
+
append_styles(target, "svelte-fxbyy", ".item-label-item.svelte-fxbyy.svelte-fxbyy{position:absolute;z-index:0;transform:none;cursor:pointer;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-animation:svelte-fxbyy-fadeIn 0.3s ease-in;animation:svelte-fxbyy-fadeIn 0.3s ease-in}.item-label-item.fold.svelte-fxbyy>.item-label-item__text-wrap.svelte-fxbyy{visibility:hidden}.item-label-item.fold.svelte-fxbyy>.item-label-item__bar.anchor.svelte-fxbyy{visibility:hidden}.item-label-item.fold.svelte-fxbyy>.item-label-item__bar.anchor.svelte-fxbyy:after{visibility:visible}.item-label-item__text-wrap.svelte-fxbyy.svelte-fxbyy{height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;padding:0.625rem 1.04167rem 0.625rem 0.625rem;position:absolute;width:-webkit-max-content;width:-moz-max-content;width:max-content;max-width:24.63542rem;min-height:4.79167rem;background-image:linear-gradient(\n 269deg,\n rgba(0, 0, 0, 0.5) 0%,\n rgba(0, 0, 0, 0.6) 49%,\n rgba(31, 38, 46, 0.7) 100%\n );border:1.5px solid rgba(255, 255, 255, 0.65);border-radius:0.15625rem;color:white;transform:translate(-50%, 0);display:flex;justify-content:flex-start;align-items:center;box-sizing:border-box;overflow:hidden;pointer-events:all}.icon-wrap.svelte-fxbyy.svelte-fxbyy{width:3.54167rem;height:100%;display:flex;justify-content:center;align-content:center}.icon.svelte-fxbyy.svelte-fxbyy{width:3.54167rem;height:3.54167rem;background-repeat:no-repeat;background-size:contain;background-position:center}.item-label-text.svelte-fxbyy.svelte-fxbyy{margin-left:0.625rem;padding-left:0.625rem;min-height:3.54167rem;height:auto;display:flex;flex-flow:column;justify-content:space-around;align-content:flex-start;border-left:solid rgba(255, 255, 255, 0.2) 1px;border-top:solid rgba(255, 255, 255, 0.2) 0;border-right:solid rgba(255, 255, 255, 0.2) 0;border-bottom:solid rgba(255, 255, 255, 0.2) 0;pointer-events:auto}.item-model.svelte-fxbyy.svelte-fxbyy{white-space:nowrap;font-size:1.14583rem;font-weight:bold;line-height:1.5625rem}.item-name.svelte-fxbyy.svelte-fxbyy{height:auto;word-wrap:break-word;word-break:break-all;font-size:1.04167rem;line-height:1.45833rem}.item-label-item__bar.svelte-fxbyy.svelte-fxbyy{position:absolute;bottom:0;width:0.15625rem;background-image:linear-gradient(to bottom, white, rgba(255, 255, 255, 0));box-shadow:0 2px 0.41667rem 0 rgba(0, 0, 0, 0.2);pointer-events:none}.item-label-item__bar.anchor.svelte-fxbyy.svelte-fxbyy:after{content:'';position:absolute;bottom:0;width:1.25rem;height:1.25rem;background-image:url('//vrlab-public.ljcdn.com/common/file/web/67e7a198-28c9-47dc-879b-507bd3ae600c.png ');background-position:center;background-size:contain;transform:translate(-0.54688rem, 50%)}@-webkit-keyframes svelte-fxbyy-fadeIn{from{opacity:0}to{opacity:1}}@keyframes svelte-fxbyy-fadeIn{from{opacity:0}to{opacity:1}}");
|
|
15693
15693
|
}
|
|
15694
15694
|
|
|
15695
|
-
// (
|
|
15695
|
+
// (25:4) {:else}
|
|
15696
|
+
function create_else_block(ctx) {
|
|
15697
|
+
let t0;
|
|
15698
|
+
let div;
|
|
15699
|
+
let span0;
|
|
15700
|
+
let t1_value = (/*itemLabel*/ ctx[0].code || /*itemLabel*/ ctx[0].id) + "";
|
|
15701
|
+
let t1;
|
|
15702
|
+
let t2;
|
|
15703
|
+
let span1;
|
|
15704
|
+
let t3_value = /*itemLabel*/ ctx[0].name + "";
|
|
15705
|
+
let t3;
|
|
15706
|
+
let if_block = /*itemLabel*/ ctx[0].icon && create_if_block_1(ctx);
|
|
15707
|
+
|
|
15708
|
+
return {
|
|
15709
|
+
c() {
|
|
15710
|
+
if (if_block) if_block.c();
|
|
15711
|
+
t0 = space();
|
|
15712
|
+
div = element("div");
|
|
15713
|
+
span0 = element("span");
|
|
15714
|
+
t1 = text(t1_value);
|
|
15715
|
+
t2 = space();
|
|
15716
|
+
span1 = element("span");
|
|
15717
|
+
t3 = text(t3_value);
|
|
15718
|
+
attr(span0, "class", "item-model svelte-fxbyy");
|
|
15719
|
+
attr(span1, "class", "item-name svelte-fxbyy");
|
|
15720
|
+
attr(div, "class", "item-label-text svelte-fxbyy");
|
|
15721
|
+
},
|
|
15722
|
+
m(target, anchor) {
|
|
15723
|
+
if (if_block) if_block.m(target, anchor);
|
|
15724
|
+
insert(target, t0, anchor);
|
|
15725
|
+
insert(target, div, anchor);
|
|
15726
|
+
append(div, span0);
|
|
15727
|
+
append(span0, t1);
|
|
15728
|
+
append(div, t2);
|
|
15729
|
+
append(div, span1);
|
|
15730
|
+
append(span1, t3);
|
|
15731
|
+
},
|
|
15732
|
+
p(ctx, dirty) {
|
|
15733
|
+
if (/*itemLabel*/ ctx[0].icon) {
|
|
15734
|
+
if (if_block) {
|
|
15735
|
+
if_block.p(ctx, dirty);
|
|
15736
|
+
} else {
|
|
15737
|
+
if_block = create_if_block_1(ctx);
|
|
15738
|
+
if_block.c();
|
|
15739
|
+
if_block.m(t0.parentNode, t0);
|
|
15740
|
+
}
|
|
15741
|
+
} else if (if_block) {
|
|
15742
|
+
if_block.d(1);
|
|
15743
|
+
if_block = null;
|
|
15744
|
+
}
|
|
15745
|
+
|
|
15746
|
+
if (dirty & /*itemLabel*/ 1 && t1_value !== (t1_value = (/*itemLabel*/ ctx[0].code || /*itemLabel*/ ctx[0].id) + "")) set_data(t1, t1_value);
|
|
15747
|
+
if (dirty & /*itemLabel*/ 1 && t3_value !== (t3_value = /*itemLabel*/ ctx[0].name + "")) set_data(t3, t3_value);
|
|
15748
|
+
},
|
|
15749
|
+
d(detaching) {
|
|
15750
|
+
if (if_block) if_block.d(detaching);
|
|
15751
|
+
if (detaching) detach(t0);
|
|
15752
|
+
if (detaching) detach(div);
|
|
15753
|
+
}
|
|
15754
|
+
};
|
|
15755
|
+
}
|
|
15756
|
+
|
|
15757
|
+
// (23:4) {#if itemLabel.customElement}
|
|
15696
15758
|
function create_if_block$1(ctx) {
|
|
15759
|
+
let html_tag;
|
|
15760
|
+
let raw_value = /*itemLabel*/ ctx[0].customElement + "";
|
|
15761
|
+
let html_anchor;
|
|
15762
|
+
|
|
15763
|
+
return {
|
|
15764
|
+
c() {
|
|
15765
|
+
html_tag = new HtmlTag(false);
|
|
15766
|
+
html_anchor = empty();
|
|
15767
|
+
html_tag.a = html_anchor;
|
|
15768
|
+
},
|
|
15769
|
+
m(target, anchor) {
|
|
15770
|
+
html_tag.m(raw_value, target, anchor);
|
|
15771
|
+
insert(target, html_anchor, anchor);
|
|
15772
|
+
},
|
|
15773
|
+
p(ctx, dirty) {
|
|
15774
|
+
if (dirty & /*itemLabel*/ 1 && raw_value !== (raw_value = /*itemLabel*/ ctx[0].customElement + "")) html_tag.p(raw_value);
|
|
15775
|
+
},
|
|
15776
|
+
d(detaching) {
|
|
15777
|
+
if (detaching) detach(html_anchor);
|
|
15778
|
+
if (detaching) html_tag.d();
|
|
15779
|
+
}
|
|
15780
|
+
};
|
|
15781
|
+
}
|
|
15782
|
+
|
|
15783
|
+
// (26:6) {#if itemLabel.icon}
|
|
15784
|
+
function create_if_block_1(ctx) {
|
|
15697
15785
|
let div1;
|
|
15698
15786
|
let div0;
|
|
15699
15787
|
let div0_style_value;
|
|
@@ -15704,9 +15792,9 @@ function create_if_block$1(ctx) {
|
|
|
15704
15792
|
c() {
|
|
15705
15793
|
div1 = element("div");
|
|
15706
15794
|
div0 = element("div");
|
|
15707
|
-
attr(div0, "class", "icon svelte-
|
|
15795
|
+
attr(div0, "class", "icon svelte-fxbyy");
|
|
15708
15796
|
attr(div0, "style", div0_style_value = `background-image: url(${/*itemLabel*/ ctx[0].icon})`);
|
|
15709
|
-
attr(div1, "class", "icon-wrap svelte-
|
|
15797
|
+
attr(div1, "class", "icon-wrap svelte-fxbyy");
|
|
15710
15798
|
},
|
|
15711
15799
|
m(target, anchor) {
|
|
15712
15800
|
insert(target, div1, anchor);
|
|
@@ -15731,115 +15819,92 @@ function create_if_block$1(ctx) {
|
|
|
15731
15819
|
}
|
|
15732
15820
|
|
|
15733
15821
|
function create_fragment$1(ctx) {
|
|
15734
|
-
let div3;
|
|
15735
|
-
let div1;
|
|
15736
|
-
let t0;
|
|
15737
|
-
let div0;
|
|
15738
|
-
let span0;
|
|
15739
|
-
let t1_value = (/*itemLabel*/ ctx[0].code || /*itemLabel*/ ctx[0].id) + "";
|
|
15740
|
-
let t1;
|
|
15741
|
-
let t2;
|
|
15742
|
-
let span1;
|
|
15743
|
-
let t3_value = /*itemLabel*/ ctx[0].name + "";
|
|
15744
|
-
let t3;
|
|
15745
|
-
let t4;
|
|
15746
15822
|
let div2;
|
|
15823
|
+
let div0;
|
|
15824
|
+
let t;
|
|
15825
|
+
let div1;
|
|
15826
|
+
let div1_class_value;
|
|
15747
15827
|
let div2_class_value;
|
|
15748
|
-
let div3_class_value;
|
|
15749
15828
|
let mounted;
|
|
15750
15829
|
let dispose;
|
|
15751
|
-
|
|
15830
|
+
|
|
15831
|
+
function select_block_type(ctx, dirty) {
|
|
15832
|
+
if (/*itemLabel*/ ctx[0].customElement) return create_if_block$1;
|
|
15833
|
+
return create_else_block;
|
|
15834
|
+
}
|
|
15835
|
+
|
|
15836
|
+
let current_block_type = select_block_type(ctx);
|
|
15837
|
+
let if_block = current_block_type(ctx);
|
|
15752
15838
|
|
|
15753
15839
|
return {
|
|
15754
15840
|
c() {
|
|
15755
|
-
div3 = element("div");
|
|
15756
|
-
div1 = element("div");
|
|
15757
|
-
if (if_block) if_block.c();
|
|
15758
|
-
t0 = space();
|
|
15759
|
-
div0 = element("div");
|
|
15760
|
-
span0 = element("span");
|
|
15761
|
-
t1 = text(t1_value);
|
|
15762
|
-
t2 = space();
|
|
15763
|
-
span1 = element("span");
|
|
15764
|
-
t3 = text(t3_value);
|
|
15765
|
-
t4 = space();
|
|
15766
15841
|
div2 = element("div");
|
|
15767
|
-
|
|
15768
|
-
|
|
15769
|
-
|
|
15770
|
-
|
|
15771
|
-
|
|
15772
|
-
|
|
15773
|
-
|
|
15774
|
-
|
|
15775
|
-
|
|
15776
|
-
set_style(
|
|
15842
|
+
div0 = element("div");
|
|
15843
|
+
if_block.c();
|
|
15844
|
+
t = space();
|
|
15845
|
+
div1 = element("div");
|
|
15846
|
+
attr(div0, "class", "" + (null_to_empty(classNames('item-label-item__text-wrap')) + " svelte-fxbyy"));
|
|
15847
|
+
set_style(div0, "bottom", `${/*itemLabel*/ ctx[0].strokeLength}px`);
|
|
15848
|
+
attr(div1, "class", div1_class_value = "" + (null_to_empty(classNames('item-label-item__bar', { anchor: /*anchorEnabled*/ ctx[1] })) + " svelte-fxbyy"));
|
|
15849
|
+
set_style(div1, "height", `${/*itemLabel*/ ctx[0].strokeLength}px`);
|
|
15850
|
+
attr(div2, "class", div2_class_value = "" + (null_to_empty(classNames('item-label-item', { fold: /*itemLabel*/ ctx[0].isFold })) + " svelte-fxbyy"));
|
|
15851
|
+
set_style(div2, "z-index", /*itemLabel*/ ctx[0].zIndex, false);
|
|
15852
|
+
set_style(div2, "transform", /*itemLabel*/ ctx[0].transform, false);
|
|
15777
15853
|
},
|
|
15778
15854
|
m(target, anchor) {
|
|
15779
|
-
insert(target,
|
|
15780
|
-
append(
|
|
15781
|
-
|
|
15782
|
-
append(
|
|
15783
|
-
append(
|
|
15784
|
-
append(div0, span0);
|
|
15785
|
-
append(span0, t1);
|
|
15786
|
-
append(div0, t2);
|
|
15787
|
-
append(div0, span1);
|
|
15788
|
-
append(span1, t3);
|
|
15789
|
-
append(div3, t4);
|
|
15790
|
-
append(div3, div2);
|
|
15855
|
+
insert(target, div2, anchor);
|
|
15856
|
+
append(div2, div0);
|
|
15857
|
+
if_block.m(div0, null);
|
|
15858
|
+
append(div2, t);
|
|
15859
|
+
append(div2, div1);
|
|
15791
15860
|
|
|
15792
15861
|
if (!mounted) {
|
|
15793
|
-
dispose = listen(
|
|
15862
|
+
dispose = listen(div0, "click", /*onClick*/ ctx[3]);
|
|
15794
15863
|
mounted = true;
|
|
15795
15864
|
}
|
|
15796
15865
|
},
|
|
15797
15866
|
p(ctx, [dirty]) {
|
|
15798
|
-
if (
|
|
15867
|
+
if (current_block_type === (current_block_type = select_block_type(ctx)) && if_block) {
|
|
15868
|
+
if_block.p(ctx, dirty);
|
|
15869
|
+
} else {
|
|
15870
|
+
if_block.d(1);
|
|
15871
|
+
if_block = current_block_type(ctx);
|
|
15872
|
+
|
|
15799
15873
|
if (if_block) {
|
|
15800
|
-
if_block.p(ctx, dirty);
|
|
15801
|
-
} else {
|
|
15802
|
-
if_block = create_if_block$1(ctx);
|
|
15803
15874
|
if_block.c();
|
|
15804
|
-
if_block.m(
|
|
15875
|
+
if_block.m(div0, null);
|
|
15805
15876
|
}
|
|
15806
|
-
} else if (if_block) {
|
|
15807
|
-
if_block.d(1);
|
|
15808
|
-
if_block = null;
|
|
15809
15877
|
}
|
|
15810
15878
|
|
|
15811
|
-
if (dirty & /*itemLabel*/ 1 && t1_value !== (t1_value = (/*itemLabel*/ ctx[0].code || /*itemLabel*/ ctx[0].id) + "")) set_data(t1, t1_value);
|
|
15812
|
-
if (dirty & /*itemLabel*/ 1 && t3_value !== (t3_value = /*itemLabel*/ ctx[0].name + "")) set_data(t3, t3_value);
|
|
15813
|
-
|
|
15814
15879
|
if (dirty & /*itemLabel*/ 1) {
|
|
15815
|
-
set_style(
|
|
15880
|
+
set_style(div0, "bottom", `${/*itemLabel*/ ctx[0].strokeLength}px`);
|
|
15816
15881
|
}
|
|
15817
15882
|
|
|
15818
|
-
if (dirty & /*anchorEnabled*/ 2 &&
|
|
15819
|
-
attr(
|
|
15883
|
+
if (dirty & /*anchorEnabled*/ 2 && div1_class_value !== (div1_class_value = "" + (null_to_empty(classNames('item-label-item__bar', { anchor: /*anchorEnabled*/ ctx[1] })) + " svelte-fxbyy"))) {
|
|
15884
|
+
attr(div1, "class", div1_class_value);
|
|
15820
15885
|
}
|
|
15821
15886
|
|
|
15822
15887
|
if (dirty & /*itemLabel*/ 1) {
|
|
15823
|
-
set_style(
|
|
15888
|
+
set_style(div1, "height", `${/*itemLabel*/ ctx[0].strokeLength}px`);
|
|
15824
15889
|
}
|
|
15825
15890
|
|
|
15826
|
-
if (dirty & /*itemLabel*/ 1 &&
|
|
15827
|
-
attr(
|
|
15891
|
+
if (dirty & /*itemLabel*/ 1 && div2_class_value !== (div2_class_value = "" + (null_to_empty(classNames('item-label-item', { fold: /*itemLabel*/ ctx[0].isFold })) + " svelte-fxbyy"))) {
|
|
15892
|
+
attr(div2, "class", div2_class_value);
|
|
15828
15893
|
}
|
|
15829
15894
|
|
|
15830
15895
|
if (dirty & /*itemLabel*/ 1) {
|
|
15831
|
-
set_style(
|
|
15896
|
+
set_style(div2, "z-index", /*itemLabel*/ ctx[0].zIndex, false);
|
|
15832
15897
|
}
|
|
15833
15898
|
|
|
15834
15899
|
if (dirty & /*itemLabel*/ 1) {
|
|
15835
|
-
set_style(
|
|
15900
|
+
set_style(div2, "transform", /*itemLabel*/ ctx[0].transform, false);
|
|
15836
15901
|
}
|
|
15837
15902
|
},
|
|
15838
15903
|
i: noop$1,
|
|
15839
15904
|
o: noop$1,
|
|
15840
15905
|
d(detaching) {
|
|
15841
|
-
if (detaching) detach(
|
|
15842
|
-
|
|
15906
|
+
if (detaching) detach(div2);
|
|
15907
|
+
if_block.d();
|
|
15843
15908
|
mounted = false;
|
|
15844
15909
|
dispose();
|
|
15845
15910
|
}
|