@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.js
CHANGED
|
@@ -1463,7 +1463,7 @@ function add_css$j(target) {
|
|
|
1463
1463
|
}
|
|
1464
1464
|
|
|
1465
1465
|
// (13:22)
|
|
1466
|
-
function create_if_block_1$
|
|
1466
|
+
function create_if_block_1$6(ctx) {
|
|
1467
1467
|
let normalimage;
|
|
1468
1468
|
let current;
|
|
1469
1469
|
normalimage = new Normalmage({ props: { url: /*imageData*/ ctx[1].url } });
|
|
@@ -1538,7 +1538,7 @@ function create_fragment$o(ctx) {
|
|
|
1538
1538
|
let current_block_type_index;
|
|
1539
1539
|
let if_block;
|
|
1540
1540
|
let current;
|
|
1541
|
-
const if_block_creators = [create_if_block$a, create_if_block_1$
|
|
1541
|
+
const if_block_creators = [create_if_block$a, create_if_block_1$6];
|
|
1542
1542
|
const if_blocks = [];
|
|
1543
1543
|
|
|
1544
1544
|
function select_block_type(ctx, dirty) {
|
|
@@ -1664,7 +1664,7 @@ function add_css$i(target) {
|
|
|
1664
1664
|
}
|
|
1665
1665
|
|
|
1666
1666
|
// (95:30)
|
|
1667
|
-
function create_if_block_1$
|
|
1667
|
+
function create_if_block_1$5(ctx) {
|
|
1668
1668
|
let html_tag;
|
|
1669
1669
|
let raw_value = /*userConfigElement*/ ctx[4].outerHTML + "";
|
|
1670
1670
|
let html_anchor;
|
|
@@ -1729,7 +1729,7 @@ function create_fragment$n(ctx) {
|
|
|
1729
1729
|
|
|
1730
1730
|
function select_block_type(ctx, dirty) {
|
|
1731
1731
|
if (/*getLabelElement*/ ctx[1] === undefined) return create_if_block$9;
|
|
1732
|
-
if (/*userConfigElement*/ ctx[4]) return create_if_block_1$
|
|
1732
|
+
if (/*userConfigElement*/ ctx[4]) return create_if_block_1$5;
|
|
1733
1733
|
}
|
|
1734
1734
|
|
|
1735
1735
|
let current_block_type = select_block_type(ctx);
|
|
@@ -3077,7 +3077,7 @@ function get_each_context$8(ctx, list, i) {
|
|
|
3077
3077
|
}
|
|
3078
3078
|
|
|
3079
3079
|
// (19:6) {:else}
|
|
3080
|
-
function create_else_block$
|
|
3080
|
+
function create_else_block$2(ctx) {
|
|
3081
3081
|
let roommaterial_1;
|
|
3082
3082
|
let current;
|
|
3083
3083
|
roommaterial_1 = new RoomMaterial_1({ props: { path: /*room*/ ctx[5].path } });
|
|
@@ -3111,7 +3111,7 @@ function create_else_block$1(ctx) {
|
|
|
3111
3111
|
}
|
|
3112
3112
|
|
|
3113
3113
|
// (17:37)
|
|
3114
|
-
function create_if_block_1$
|
|
3114
|
+
function create_if_block_1$4(ctx) {
|
|
3115
3115
|
let roommaterial_2;
|
|
3116
3116
|
let current;
|
|
3117
3117
|
roommaterial_2 = new RoomMaterial_2({ props: { path: /*room*/ ctx[5].path } });
|
|
@@ -3184,7 +3184,7 @@ function create_each_block$8(ctx) {
|
|
|
3184
3184
|
let current_block_type_index;
|
|
3185
3185
|
let if_block;
|
|
3186
3186
|
let current;
|
|
3187
|
-
const if_block_creators = [create_if_block$7, create_if_block_1$
|
|
3187
|
+
const if_block_creators = [create_if_block$7, create_if_block_1$4, create_else_block$2];
|
|
3188
3188
|
const if_blocks = [];
|
|
3189
3189
|
|
|
3190
3190
|
function select_block_type(ctx, dirty) {
|
|
@@ -3711,7 +3711,7 @@ function create_if_block_2(ctx) {
|
|
|
3711
3711
|
}
|
|
3712
3712
|
|
|
3713
3713
|
// (24:2) {#if roomLabelsEnable}
|
|
3714
|
-
function create_if_block_1$
|
|
3714
|
+
function create_if_block_1$3(ctx) {
|
|
3715
3715
|
let roomlabels;
|
|
3716
3716
|
let current;
|
|
3717
3717
|
|
|
@@ -3867,7 +3867,7 @@ function create_fragment$d(ctx) {
|
|
|
3867
3867
|
}
|
|
3868
3868
|
|
|
3869
3869
|
baseimage = new BaseImage({ props: baseimage_props });
|
|
3870
|
-
let if_block1 = /*roomLabelsEnable*/ ctx[3] && create_if_block_1$
|
|
3870
|
+
let if_block1 = /*roomLabelsEnable*/ ctx[3] && create_if_block_1$3(ctx);
|
|
3871
3871
|
let if_block2 = /*ruleLabelsEnable*/ ctx[4] && create_if_block$6(ctx);
|
|
3872
3872
|
|
|
3873
3873
|
return {
|
|
@@ -3954,7 +3954,7 @@ function create_fragment$d(ctx) {
|
|
|
3954
3954
|
internal.transition_in(if_block1, 1);
|
|
3955
3955
|
}
|
|
3956
3956
|
} else {
|
|
3957
|
-
if_block1 = create_if_block_1$
|
|
3957
|
+
if_block1 = create_if_block_1$3(ctx);
|
|
3958
3958
|
if_block1.c();
|
|
3959
3959
|
internal.transition_in(if_block1, 1);
|
|
3960
3960
|
if_block1.m(div, t3);
|
|
@@ -4133,7 +4133,7 @@ function create_if_block$5(ctx) {
|
|
|
4133
4133
|
}
|
|
4134
4134
|
|
|
4135
4135
|
camera = new Camera$1({ props: camera_props });
|
|
4136
|
-
let if_block = /*compassEnable*/ ctx[6] && create_if_block_1$
|
|
4136
|
+
let if_block = /*compassEnable*/ ctx[6] && create_if_block_1$2(ctx);
|
|
4137
4137
|
|
|
4138
4138
|
return {
|
|
4139
4139
|
c() {
|
|
@@ -4213,7 +4213,7 @@ function create_if_block$5(ctx) {
|
|
|
4213
4213
|
internal.transition_in(if_block, 1);
|
|
4214
4214
|
}
|
|
4215
4215
|
} else {
|
|
4216
|
-
if_block = create_if_block_1$
|
|
4216
|
+
if_block = create_if_block_1$2(ctx);
|
|
4217
4217
|
if_block.c();
|
|
4218
4218
|
internal.transition_in(if_block, 1);
|
|
4219
4219
|
if_block.m(div, null);
|
|
@@ -4347,7 +4347,7 @@ function create_each_block$6(ctx) {
|
|
|
4347
4347
|
}
|
|
4348
4348
|
|
|
4349
4349
|
// (39:4) {#if compassEnable}
|
|
4350
|
-
function create_if_block_1$
|
|
4350
|
+
function create_if_block_1$2(ctx) {
|
|
4351
4351
|
let compass;
|
|
4352
4352
|
let current;
|
|
4353
4353
|
|
|
@@ -5805,7 +5805,7 @@ function create_if_block$3(ctx) {
|
|
|
5805
5805
|
let div;
|
|
5806
5806
|
let div_resize_listener;
|
|
5807
5807
|
let current;
|
|
5808
|
-
let if_block = /*clientWidth*/ ctx[6] !== 0 && create_if_block_1(ctx);
|
|
5808
|
+
let if_block = /*clientWidth*/ ctx[6] !== 0 && create_if_block_1$1(ctx);
|
|
5809
5809
|
|
|
5810
5810
|
return {
|
|
5811
5811
|
c() {
|
|
@@ -5829,7 +5829,7 @@ function create_if_block$3(ctx) {
|
|
|
5829
5829
|
internal.transition_in(if_block, 1);
|
|
5830
5830
|
}
|
|
5831
5831
|
} else {
|
|
5832
|
-
if_block = create_if_block_1(ctx);
|
|
5832
|
+
if_block = create_if_block_1$1(ctx);
|
|
5833
5833
|
if_block.c();
|
|
5834
5834
|
internal.transition_in(if_block, 1);
|
|
5835
5835
|
if_block.m(div, null);
|
|
@@ -5862,7 +5862,7 @@ function create_if_block$3(ctx) {
|
|
|
5862
5862
|
}
|
|
5863
5863
|
|
|
5864
5864
|
// (43:4) {#if clientWidth !== 0}
|
|
5865
|
-
function create_if_block_1(ctx) {
|
|
5865
|
+
function create_if_block_1$1(ctx) {
|
|
5866
5866
|
let div;
|
|
5867
5867
|
let currentfloor;
|
|
5868
5868
|
let t;
|
|
@@ -8390,7 +8390,7 @@ function get_each_context$4(ctx, list, i) {
|
|
|
8390
8390
|
}
|
|
8391
8391
|
|
|
8392
8392
|
// (28:2) {:else}
|
|
8393
|
-
function create_else_block(ctx) {
|
|
8393
|
+
function create_else_block$1(ctx) {
|
|
8394
8394
|
let div;
|
|
8395
8395
|
let each_value = /*rulerItemProp*/ ctx[0].children;
|
|
8396
8396
|
let each_blocks = [];
|
|
@@ -8533,7 +8533,7 @@ function create_fragment$7(ctx) {
|
|
|
8533
8533
|
|
|
8534
8534
|
function select_block_type(ctx, dirty) {
|
|
8535
8535
|
if (/*rulerItemProp*/ ctx[0].children.length === 0) return create_if_block$2;
|
|
8536
|
-
return create_else_block;
|
|
8536
|
+
return create_else_block$1;
|
|
8537
8537
|
}
|
|
8538
8538
|
|
|
8539
8539
|
let current_block_type = select_block_type(ctx);
|
|
@@ -15717,11 +15717,99 @@ exports.ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE = void 0;
|
|
|
15717
15717
|
/* src/ItemLabelPlugin/ItemLabelItem.svelte generated by Svelte v3.49.0 */
|
|
15718
15718
|
|
|
15719
15719
|
function add_css$1(target) {
|
|
15720
|
-
internal.append_styles(target, "svelte-
|
|
15720
|
+
internal.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}}");
|
|
15721
15721
|
}
|
|
15722
15722
|
|
|
15723
|
-
// (
|
|
15723
|
+
// (25:4) {:else}
|
|
15724
|
+
function create_else_block(ctx) {
|
|
15725
|
+
let t0;
|
|
15726
|
+
let div;
|
|
15727
|
+
let span0;
|
|
15728
|
+
let t1_value = (/*itemLabel*/ ctx[0].code || /*itemLabel*/ ctx[0].id) + "";
|
|
15729
|
+
let t1;
|
|
15730
|
+
let t2;
|
|
15731
|
+
let span1;
|
|
15732
|
+
let t3_value = /*itemLabel*/ ctx[0].name + "";
|
|
15733
|
+
let t3;
|
|
15734
|
+
let if_block = /*itemLabel*/ ctx[0].icon && create_if_block_1(ctx);
|
|
15735
|
+
|
|
15736
|
+
return {
|
|
15737
|
+
c() {
|
|
15738
|
+
if (if_block) if_block.c();
|
|
15739
|
+
t0 = internal.space();
|
|
15740
|
+
div = internal.element("div");
|
|
15741
|
+
span0 = internal.element("span");
|
|
15742
|
+
t1 = internal.text(t1_value);
|
|
15743
|
+
t2 = internal.space();
|
|
15744
|
+
span1 = internal.element("span");
|
|
15745
|
+
t3 = internal.text(t3_value);
|
|
15746
|
+
internal.attr(span0, "class", "item-model svelte-fxbyy");
|
|
15747
|
+
internal.attr(span1, "class", "item-name svelte-fxbyy");
|
|
15748
|
+
internal.attr(div, "class", "item-label-text svelte-fxbyy");
|
|
15749
|
+
},
|
|
15750
|
+
m(target, anchor) {
|
|
15751
|
+
if (if_block) if_block.m(target, anchor);
|
|
15752
|
+
internal.insert(target, t0, anchor);
|
|
15753
|
+
internal.insert(target, div, anchor);
|
|
15754
|
+
internal.append(div, span0);
|
|
15755
|
+
internal.append(span0, t1);
|
|
15756
|
+
internal.append(div, t2);
|
|
15757
|
+
internal.append(div, span1);
|
|
15758
|
+
internal.append(span1, t3);
|
|
15759
|
+
},
|
|
15760
|
+
p(ctx, dirty) {
|
|
15761
|
+
if (/*itemLabel*/ ctx[0].icon) {
|
|
15762
|
+
if (if_block) {
|
|
15763
|
+
if_block.p(ctx, dirty);
|
|
15764
|
+
} else {
|
|
15765
|
+
if_block = create_if_block_1(ctx);
|
|
15766
|
+
if_block.c();
|
|
15767
|
+
if_block.m(t0.parentNode, t0);
|
|
15768
|
+
}
|
|
15769
|
+
} else if (if_block) {
|
|
15770
|
+
if_block.d(1);
|
|
15771
|
+
if_block = null;
|
|
15772
|
+
}
|
|
15773
|
+
|
|
15774
|
+
if (dirty & /*itemLabel*/ 1 && t1_value !== (t1_value = (/*itemLabel*/ ctx[0].code || /*itemLabel*/ ctx[0].id) + "")) internal.set_data(t1, t1_value);
|
|
15775
|
+
if (dirty & /*itemLabel*/ 1 && t3_value !== (t3_value = /*itemLabel*/ ctx[0].name + "")) internal.set_data(t3, t3_value);
|
|
15776
|
+
},
|
|
15777
|
+
d(detaching) {
|
|
15778
|
+
if (if_block) if_block.d(detaching);
|
|
15779
|
+
if (detaching) internal.detach(t0);
|
|
15780
|
+
if (detaching) internal.detach(div);
|
|
15781
|
+
}
|
|
15782
|
+
};
|
|
15783
|
+
}
|
|
15784
|
+
|
|
15785
|
+
// (23:4) {#if itemLabel.customElement}
|
|
15724
15786
|
function create_if_block$1(ctx) {
|
|
15787
|
+
let html_tag;
|
|
15788
|
+
let raw_value = /*itemLabel*/ ctx[0].customElement + "";
|
|
15789
|
+
let html_anchor;
|
|
15790
|
+
|
|
15791
|
+
return {
|
|
15792
|
+
c() {
|
|
15793
|
+
html_tag = new internal.HtmlTag(false);
|
|
15794
|
+
html_anchor = internal.empty();
|
|
15795
|
+
html_tag.a = html_anchor;
|
|
15796
|
+
},
|
|
15797
|
+
m(target, anchor) {
|
|
15798
|
+
html_tag.m(raw_value, target, anchor);
|
|
15799
|
+
internal.insert(target, html_anchor, anchor);
|
|
15800
|
+
},
|
|
15801
|
+
p(ctx, dirty) {
|
|
15802
|
+
if (dirty & /*itemLabel*/ 1 && raw_value !== (raw_value = /*itemLabel*/ ctx[0].customElement + "")) html_tag.p(raw_value);
|
|
15803
|
+
},
|
|
15804
|
+
d(detaching) {
|
|
15805
|
+
if (detaching) internal.detach(html_anchor);
|
|
15806
|
+
if (detaching) html_tag.d();
|
|
15807
|
+
}
|
|
15808
|
+
};
|
|
15809
|
+
}
|
|
15810
|
+
|
|
15811
|
+
// (26:6) {#if itemLabel.icon}
|
|
15812
|
+
function create_if_block_1(ctx) {
|
|
15725
15813
|
let div1;
|
|
15726
15814
|
let div0;
|
|
15727
15815
|
let div0_style_value;
|
|
@@ -15732,9 +15820,9 @@ function create_if_block$1(ctx) {
|
|
|
15732
15820
|
c() {
|
|
15733
15821
|
div1 = internal.element("div");
|
|
15734
15822
|
div0 = internal.element("div");
|
|
15735
|
-
internal.attr(div0, "class", "icon svelte-
|
|
15823
|
+
internal.attr(div0, "class", "icon svelte-fxbyy");
|
|
15736
15824
|
internal.attr(div0, "style", div0_style_value = `background-image: url(${/*itemLabel*/ ctx[0].icon})`);
|
|
15737
|
-
internal.attr(div1, "class", "icon-wrap svelte-
|
|
15825
|
+
internal.attr(div1, "class", "icon-wrap svelte-fxbyy");
|
|
15738
15826
|
},
|
|
15739
15827
|
m(target, anchor) {
|
|
15740
15828
|
internal.insert(target, div1, anchor);
|
|
@@ -15759,115 +15847,92 @@ function create_if_block$1(ctx) {
|
|
|
15759
15847
|
}
|
|
15760
15848
|
|
|
15761
15849
|
function create_fragment$1(ctx) {
|
|
15762
|
-
let div3;
|
|
15763
|
-
let div1;
|
|
15764
|
-
let t0;
|
|
15765
|
-
let div0;
|
|
15766
|
-
let span0;
|
|
15767
|
-
let t1_value = (/*itemLabel*/ ctx[0].code || /*itemLabel*/ ctx[0].id) + "";
|
|
15768
|
-
let t1;
|
|
15769
|
-
let t2;
|
|
15770
|
-
let span1;
|
|
15771
|
-
let t3_value = /*itemLabel*/ ctx[0].name + "";
|
|
15772
|
-
let t3;
|
|
15773
|
-
let t4;
|
|
15774
15850
|
let div2;
|
|
15851
|
+
let div0;
|
|
15852
|
+
let t;
|
|
15853
|
+
let div1;
|
|
15854
|
+
let div1_class_value;
|
|
15775
15855
|
let div2_class_value;
|
|
15776
|
-
let div3_class_value;
|
|
15777
15856
|
let mounted;
|
|
15778
15857
|
let dispose;
|
|
15779
|
-
|
|
15858
|
+
|
|
15859
|
+
function select_block_type(ctx, dirty) {
|
|
15860
|
+
if (/*itemLabel*/ ctx[0].customElement) return create_if_block$1;
|
|
15861
|
+
return create_else_block;
|
|
15862
|
+
}
|
|
15863
|
+
|
|
15864
|
+
let current_block_type = select_block_type(ctx);
|
|
15865
|
+
let if_block = current_block_type(ctx);
|
|
15780
15866
|
|
|
15781
15867
|
return {
|
|
15782
15868
|
c() {
|
|
15783
|
-
div3 = internal.element("div");
|
|
15784
|
-
div1 = internal.element("div");
|
|
15785
|
-
if (if_block) if_block.c();
|
|
15786
|
-
t0 = internal.space();
|
|
15787
|
-
div0 = internal.element("div");
|
|
15788
|
-
span0 = internal.element("span");
|
|
15789
|
-
t1 = internal.text(t1_value);
|
|
15790
|
-
t2 = internal.space();
|
|
15791
|
-
span1 = internal.element("span");
|
|
15792
|
-
t3 = internal.text(t3_value);
|
|
15793
|
-
t4 = internal.space();
|
|
15794
15869
|
div2 = internal.element("div");
|
|
15795
|
-
internal.
|
|
15796
|
-
|
|
15797
|
-
internal.
|
|
15798
|
-
|
|
15799
|
-
internal.
|
|
15800
|
-
internal.
|
|
15801
|
-
internal.
|
|
15802
|
-
internal.
|
|
15803
|
-
internal.
|
|
15804
|
-
internal.set_style(
|
|
15870
|
+
div0 = internal.element("div");
|
|
15871
|
+
if_block.c();
|
|
15872
|
+
t = internal.space();
|
|
15873
|
+
div1 = internal.element("div");
|
|
15874
|
+
internal.attr(div0, "class", "" + (internal.null_to_empty(classNames__default["default"]('item-label-item__text-wrap')) + " svelte-fxbyy"));
|
|
15875
|
+
internal.set_style(div0, "bottom", `${/*itemLabel*/ ctx[0].strokeLength}px`);
|
|
15876
|
+
internal.attr(div1, "class", div1_class_value = "" + (internal.null_to_empty(classNames__default["default"]('item-label-item__bar', { anchor: /*anchorEnabled*/ ctx[1] })) + " svelte-fxbyy"));
|
|
15877
|
+
internal.set_style(div1, "height", `${/*itemLabel*/ ctx[0].strokeLength}px`);
|
|
15878
|
+
internal.attr(div2, "class", div2_class_value = "" + (internal.null_to_empty(classNames__default["default"]('item-label-item', { fold: /*itemLabel*/ ctx[0].isFold })) + " svelte-fxbyy"));
|
|
15879
|
+
internal.set_style(div2, "z-index", /*itemLabel*/ ctx[0].zIndex, false);
|
|
15880
|
+
internal.set_style(div2, "transform", /*itemLabel*/ ctx[0].transform, false);
|
|
15805
15881
|
},
|
|
15806
15882
|
m(target, anchor) {
|
|
15807
|
-
internal.insert(target,
|
|
15808
|
-
internal.append(
|
|
15809
|
-
|
|
15810
|
-
internal.append(
|
|
15811
|
-
internal.append(
|
|
15812
|
-
internal.append(div0, span0);
|
|
15813
|
-
internal.append(span0, t1);
|
|
15814
|
-
internal.append(div0, t2);
|
|
15815
|
-
internal.append(div0, span1);
|
|
15816
|
-
internal.append(span1, t3);
|
|
15817
|
-
internal.append(div3, t4);
|
|
15818
|
-
internal.append(div3, div2);
|
|
15883
|
+
internal.insert(target, div2, anchor);
|
|
15884
|
+
internal.append(div2, div0);
|
|
15885
|
+
if_block.m(div0, null);
|
|
15886
|
+
internal.append(div2, t);
|
|
15887
|
+
internal.append(div2, div1);
|
|
15819
15888
|
|
|
15820
15889
|
if (!mounted) {
|
|
15821
|
-
dispose = internal.listen(
|
|
15890
|
+
dispose = internal.listen(div0, "click", /*onClick*/ ctx[3]);
|
|
15822
15891
|
mounted = true;
|
|
15823
15892
|
}
|
|
15824
15893
|
},
|
|
15825
15894
|
p(ctx, [dirty]) {
|
|
15826
|
-
if (
|
|
15895
|
+
if (current_block_type === (current_block_type = select_block_type(ctx)) && if_block) {
|
|
15896
|
+
if_block.p(ctx, dirty);
|
|
15897
|
+
} else {
|
|
15898
|
+
if_block.d(1);
|
|
15899
|
+
if_block = current_block_type(ctx);
|
|
15900
|
+
|
|
15827
15901
|
if (if_block) {
|
|
15828
|
-
if_block.p(ctx, dirty);
|
|
15829
|
-
} else {
|
|
15830
|
-
if_block = create_if_block$1(ctx);
|
|
15831
15902
|
if_block.c();
|
|
15832
|
-
if_block.m(
|
|
15903
|
+
if_block.m(div0, null);
|
|
15833
15904
|
}
|
|
15834
|
-
} else if (if_block) {
|
|
15835
|
-
if_block.d(1);
|
|
15836
|
-
if_block = null;
|
|
15837
15905
|
}
|
|
15838
15906
|
|
|
15839
|
-
if (dirty & /*itemLabel*/ 1 && t1_value !== (t1_value = (/*itemLabel*/ ctx[0].code || /*itemLabel*/ ctx[0].id) + "")) internal.set_data(t1, t1_value);
|
|
15840
|
-
if (dirty & /*itemLabel*/ 1 && t3_value !== (t3_value = /*itemLabel*/ ctx[0].name + "")) internal.set_data(t3, t3_value);
|
|
15841
|
-
|
|
15842
15907
|
if (dirty & /*itemLabel*/ 1) {
|
|
15843
|
-
internal.set_style(
|
|
15908
|
+
internal.set_style(div0, "bottom", `${/*itemLabel*/ ctx[0].strokeLength}px`);
|
|
15844
15909
|
}
|
|
15845
15910
|
|
|
15846
|
-
if (dirty & /*anchorEnabled*/ 2 &&
|
|
15847
|
-
internal.attr(
|
|
15911
|
+
if (dirty & /*anchorEnabled*/ 2 && div1_class_value !== (div1_class_value = "" + (internal.null_to_empty(classNames__default["default"]('item-label-item__bar', { anchor: /*anchorEnabled*/ ctx[1] })) + " svelte-fxbyy"))) {
|
|
15912
|
+
internal.attr(div1, "class", div1_class_value);
|
|
15848
15913
|
}
|
|
15849
15914
|
|
|
15850
15915
|
if (dirty & /*itemLabel*/ 1) {
|
|
15851
|
-
internal.set_style(
|
|
15916
|
+
internal.set_style(div1, "height", `${/*itemLabel*/ ctx[0].strokeLength}px`);
|
|
15852
15917
|
}
|
|
15853
15918
|
|
|
15854
|
-
if (dirty & /*itemLabel*/ 1 &&
|
|
15855
|
-
internal.attr(
|
|
15919
|
+
if (dirty & /*itemLabel*/ 1 && div2_class_value !== (div2_class_value = "" + (internal.null_to_empty(classNames__default["default"]('item-label-item', { fold: /*itemLabel*/ ctx[0].isFold })) + " svelte-fxbyy"))) {
|
|
15920
|
+
internal.attr(div2, "class", div2_class_value);
|
|
15856
15921
|
}
|
|
15857
15922
|
|
|
15858
15923
|
if (dirty & /*itemLabel*/ 1) {
|
|
15859
|
-
internal.set_style(
|
|
15924
|
+
internal.set_style(div2, "z-index", /*itemLabel*/ ctx[0].zIndex, false);
|
|
15860
15925
|
}
|
|
15861
15926
|
|
|
15862
15927
|
if (dirty & /*itemLabel*/ 1) {
|
|
15863
|
-
internal.set_style(
|
|
15928
|
+
internal.set_style(div2, "transform", /*itemLabel*/ ctx[0].transform, false);
|
|
15864
15929
|
}
|
|
15865
15930
|
},
|
|
15866
15931
|
i: internal.noop,
|
|
15867
15932
|
o: internal.noop,
|
|
15868
15933
|
d(detaching) {
|
|
15869
|
-
if (detaching) internal.detach(
|
|
15870
|
-
|
|
15934
|
+
if (detaching) internal.detach(div2);
|
|
15935
|
+
if_block.d();
|
|
15871
15936
|
mounted = false;
|
|
15872
15937
|
dispose();
|
|
15873
15938
|
}
|