@eyeon/map 2.0.14 → 2.0.17
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/assets/MapViewer.css +1 -1
- package/dist/assets/index.css +1 -1
- package/dist/chunks/MapViewer.js +2335 -1997
- package/dist/chunks/MapViewer.js.map +1 -1
- package/dist/chunks/responsive.js +2534 -0
- package/dist/chunks/responsive.js.map +1 -0
- package/dist/chunks/wheelZoom.js +163 -177
- package/dist/chunks/wheelZoom.js.map +1 -1
- package/dist/core/assignment.d.ts +19 -2
- package/dist/core/assignment.d.ts.map +1 -1
- package/dist/core/entranceIcon.d.ts +17 -3
- package/dist/core/entranceIcon.d.ts.map +1 -1
- package/dist/core/hostChrome.d.ts +13 -2
- package/dist/core/hostChrome.d.ts.map +1 -1
- package/dist/core/hoverTooltip.d.ts +37 -0
- package/dist/core/hoverTooltip.d.ts.map +1 -0
- package/dist/core/import/index.d.ts +10 -1
- package/dist/core/import/index.d.ts.map +1 -1
- package/dist/core/index.d.ts +4 -0
- package/dist/core/index.d.ts.map +1 -1
- package/dist/core/index.js +227 -169
- package/dist/core/layerStyles.d.ts +32 -0
- package/dist/core/layerStyles.d.ts.map +1 -1
- package/dist/core/outdoorDecoration.d.ts.map +1 -1
- package/dist/core/publicShapes.d.ts +14 -0
- package/dist/core/publicShapes.d.ts.map +1 -1
- package/dist/core/responsive.d.ts +57 -0
- package/dist/core/responsive.d.ts.map +1 -0
- package/dist/core/routing/graph-tools.d.ts +6 -5
- package/dist/core/routing/graph-tools.d.ts.map +1 -1
- package/dist/core/routing/pathfinding.d.ts +36 -0
- package/dist/core/routing/pathfinding.d.ts.map +1 -1
- package/dist/core/shapeFill.d.ts +40 -0
- package/dist/core/shapeFill.d.ts.map +1 -0
- package/dist/core/stacking.d.ts +4 -0
- package/dist/core/stacking.d.ts.map +1 -1
- package/dist/core/types.d.ts +20 -5
- package/dist/core/types.d.ts.map +1 -1
- package/dist/core/viewerReset.d.ts +24 -0
- package/dist/core/viewerReset.d.ts.map +1 -0
- package/dist/editor/MapEditor.d.ts +10 -2
- package/dist/editor/MapEditor.d.ts.map +1 -1
- package/dist/editor/assignmentOverlay.d.ts +37 -0
- package/dist/editor/assignmentOverlay.d.ts.map +1 -0
- package/dist/editor/canvas/AssignedShapeOverlay.d.ts +8 -0
- package/dist/editor/canvas/AssignedShapeOverlay.d.ts.map +1 -0
- package/dist/editor/canvas/EditorCanvas.d.ts +6 -1
- package/dist/editor/canvas/EditorCanvas.d.ts.map +1 -1
- package/dist/editor/canvas/coords.d.ts +9 -0
- package/dist/editor/canvas/coords.d.ts.map +1 -1
- package/dist/editor/canvas/editorFill.d.ts.map +1 -1
- package/dist/editor/draftOps.d.ts +2 -1
- package/dist/editor/draftOps.d.ts.map +1 -1
- package/dist/editor/editorSectionReturn.d.ts +4 -2
- package/dist/editor/editorSectionReturn.d.ts.map +1 -1
- package/dist/editor/entranceIcon.d.ts +2 -2
- package/dist/editor/entranceIcon.d.ts.map +1 -1
- package/dist/editor/index.css +289 -29
- package/dist/editor/index.d.ts +1 -1
- package/dist/editor/index.d.ts.map +1 -1
- package/dist/editor/index.js +4963 -4450
- package/dist/editor/index.js.map +1 -1
- package/dist/editor/panels/AssignForm.d.ts +3 -1
- package/dist/editor/panels/AssignForm.d.ts.map +1 -1
- package/dist/editor/panels/BulkAssignForm.d.ts +3 -1
- package/dist/editor/panels/BulkAssignForm.d.ts.map +1 -1
- package/dist/editor/panels/ConnectorAssign.d.ts.map +1 -1
- package/dist/editor/panels/FloorsPanel.d.ts.map +1 -1
- package/dist/editor/panels/Inspector.d.ts +3 -1
- package/dist/editor/panels/Inspector.d.ts.map +1 -1
- package/dist/editor/panels/LeftRail.d.ts +4 -2
- package/dist/editor/panels/LeftRail.d.ts.map +1 -1
- package/dist/editor/panels/PreviewOverlay.d.ts +8 -3
- package/dist/editor/panels/PreviewOverlay.d.ts.map +1 -1
- package/dist/editor/previewDocument.d.ts +2 -1
- package/dist/editor/previewDocument.d.ts.map +1 -1
- package/dist/editor/routeStubs.d.ts +11 -0
- package/dist/editor/routeStubs.d.ts.map +1 -1
- package/dist/test-maps/LF - Shops At South Town.ai +4468 -1
- package/dist/test-maps/LF - Shops At South Town.svg +245 -0
- package/dist/viewer/MapViewer.d.ts +8 -1
- package/dist/viewer/MapViewer.d.ts.map +1 -1
- package/dist/viewer/camera.d.ts +19 -0
- package/dist/viewer/camera.d.ts.map +1 -1
- package/dist/viewer/components/CameraRig.d.ts +12 -1
- package/dist/viewer/components/CameraRig.d.ts.map +1 -1
- package/dist/viewer/components/LevelMeshes.d.ts +10 -2
- package/dist/viewer/components/LevelMeshes.d.ts.map +1 -1
- package/dist/viewer/components/MapScene.d.ts +14 -3
- package/dist/viewer/components/MapScene.d.ts.map +1 -1
- package/dist/viewer/components/RouteLine.d.ts +1 -8
- package/dist/viewer/components/RouteLine.d.ts.map +1 -1
- package/dist/viewer/components/SvgVectorLayer.d.ts +1 -1
- package/dist/viewer/components/SvgVectorLayer.d.ts.map +1 -1
- package/dist/viewer/index.css +242 -29
- package/dist/viewer/index.d.ts +1 -1
- package/dist/viewer/index.d.ts.map +1 -1
- package/dist/viewer/index.js +1 -1
- package/dist/viewer/pointer.d.ts +40 -4
- package/dist/viewer/pointer.d.ts.map +1 -1
- package/dist/viewer/routeFloorChanges.d.ts +35 -0
- package/dist/viewer/routeFloorChanges.d.ts.map +1 -0
- package/dist/viewer/ui/HoverTooltip.d.ts +6 -0
- package/dist/viewer/ui/HoverTooltip.d.ts.map +1 -0
- package/dist/viewer/ui/MapControls.d.ts.map +1 -1
- package/dist/viewer/ui/RuntimeChrome.d.ts +2 -1
- package/dist/viewer/ui/RuntimeChrome.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/chunks/stacking.js +0 -2118
- package/dist/chunks/stacking.js.map +0 -1
package/dist/viewer/index.css
CHANGED
|
@@ -52,6 +52,76 @@
|
|
|
52
52
|
cursor: pointer;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
+
/* Store / amenity hover pop-out — follows the pointer, arrow on the bottom. */
|
|
56
|
+
.eyeon-map-hover-tooltip {
|
|
57
|
+
position: absolute;
|
|
58
|
+
left: 0;
|
|
59
|
+
top: 0;
|
|
60
|
+
z-index: 4;
|
|
61
|
+
pointer-events: none;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.eyeon-map-hover-tooltip__pop {
|
|
65
|
+
position: relative;
|
|
66
|
+
display: flex;
|
|
67
|
+
flex-direction: column;
|
|
68
|
+
align-items: center;
|
|
69
|
+
padding-bottom: 6px;
|
|
70
|
+
transform: translate(-50%, calc(-100% - 10px));
|
|
71
|
+
transform-origin: 50% 100%;
|
|
72
|
+
filter:
|
|
73
|
+
drop-shadow(0 10px 24px rgba(15, 23, 42, 0.18))
|
|
74
|
+
drop-shadow(0 2px 6px rgba(15, 23, 42, 0.12));
|
|
75
|
+
animation: eyeon-map-tooltip-pop 160ms cubic-bezier(0.22, 1, 0.36, 1);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.eyeon-map-hover-tooltip__label {
|
|
79
|
+
position: relative;
|
|
80
|
+
z-index: 1;
|
|
81
|
+
display: block;
|
|
82
|
+
max-width: min(280px, 70vw);
|
|
83
|
+
padding: 8px 12px;
|
|
84
|
+
overflow: hidden;
|
|
85
|
+
border-radius: 10px;
|
|
86
|
+
background: #fff;
|
|
87
|
+
color: #0f172a;
|
|
88
|
+
font-size: 13px;
|
|
89
|
+
font-weight: 600;
|
|
90
|
+
letter-spacing: 0.01em;
|
|
91
|
+
line-height: 1.3;
|
|
92
|
+
text-overflow: ellipsis;
|
|
93
|
+
white-space: nowrap;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.eyeon-map-hover-tooltip__arrow {
|
|
97
|
+
position: absolute;
|
|
98
|
+
z-index: 0;
|
|
99
|
+
left: 50%;
|
|
100
|
+
bottom: 1px;
|
|
101
|
+
width: 12px;
|
|
102
|
+
height: 12px;
|
|
103
|
+
border-radius: 2px;
|
|
104
|
+
background: #fff;
|
|
105
|
+
transform: translateX(-50%) rotate(45deg);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
@keyframes eyeon-map-tooltip-pop {
|
|
109
|
+
from {
|
|
110
|
+
opacity: 0;
|
|
111
|
+
transform: translate(-50%, calc(-100% - 2px)) scale(0.94);
|
|
112
|
+
}
|
|
113
|
+
to {
|
|
114
|
+
opacity: 1;
|
|
115
|
+
transform: translate(-50%, calc(-100% - 10px)) scale(1);
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
@media (prefers-reduced-motion: reduce) {
|
|
120
|
+
.eyeon-map-hover-tooltip__pop {
|
|
121
|
+
animation: none;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
55
125
|
@keyframes eyeon-map-current-location-pulse {
|
|
56
126
|
0% {
|
|
57
127
|
transform: scale(0.8);
|
|
@@ -428,24 +498,62 @@
|
|
|
428
498
|
box-shadow: 0 16px 40px rgba(15, 23, 42, 0.24);
|
|
429
499
|
}
|
|
430
500
|
|
|
431
|
-
|
|
501
|
+
/*
|
|
502
|
+
The store/amenity modal is portaled to document.body, so the
|
|
503
|
+
.eyeon-map-viewer button reset does not apply. Hello Elementor and
|
|
504
|
+
Elementor kit rules (`button:hover`, `button:focus`) would otherwise
|
|
505
|
+
paint the close control with the site accent color.
|
|
506
|
+
*/
|
|
507
|
+
.eyeon-map-info-modal button,
|
|
508
|
+
.eyeon-map-info-modal button:hover,
|
|
509
|
+
.eyeon-map-info-modal button:focus,
|
|
510
|
+
.eyeon-map-info-modal button:focus-visible,
|
|
511
|
+
.eyeon-map-info-modal button:active {
|
|
512
|
+
outline: none !important;
|
|
513
|
+
box-shadow: none !important;
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
.eyeon-map-info-modal button.eyeon-map-info-modal__close,
|
|
517
|
+
.eyeon-map-info-modal button.eyeon-map-info-modal__close:hover,
|
|
518
|
+
.eyeon-map-info-modal button.eyeon-map-info-modal__close:focus,
|
|
519
|
+
.eyeon-map-info-modal button.eyeon-map-info-modal__close:focus-visible,
|
|
520
|
+
.eyeon-map-info-modal button.eyeon-map-info-modal__close:active {
|
|
432
521
|
position: absolute;
|
|
433
522
|
top: 0;
|
|
434
523
|
right: 0;
|
|
435
524
|
width: 24px;
|
|
436
525
|
height: 24px;
|
|
437
526
|
padding: 0;
|
|
438
|
-
border: 0;
|
|
439
|
-
background: transparent;
|
|
527
|
+
border: 0 !important;
|
|
528
|
+
background: transparent !important;
|
|
529
|
+
background-color: transparent !important;
|
|
530
|
+
color: #000 !important;
|
|
440
531
|
transform: translate(50%, -50%);
|
|
441
532
|
cursor: pointer;
|
|
442
533
|
z-index: 2;
|
|
534
|
+
filter: none !important;
|
|
443
535
|
}
|
|
444
536
|
|
|
445
537
|
.eyeon-map-info-modal__close svg {
|
|
446
538
|
display: block;
|
|
447
539
|
}
|
|
448
540
|
|
|
541
|
+
.eyeon-map-info-modal__close svg,
|
|
542
|
+
.eyeon-map-info-modal button.eyeon-map-info-modal__close:hover svg,
|
|
543
|
+
.eyeon-map-info-modal button.eyeon-map-info-modal__close:focus svg {
|
|
544
|
+
color: #000 !important;
|
|
545
|
+
fill: #000 !important;
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
.eyeon-map-info-modal__close circle {
|
|
549
|
+
fill: #000 !important;
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
.eyeon-map-info-modal__close path {
|
|
553
|
+
stroke: #fff !important;
|
|
554
|
+
fill: none !important;
|
|
555
|
+
}
|
|
556
|
+
|
|
449
557
|
.eyeon-map-info-modal__body {
|
|
450
558
|
display: flex;
|
|
451
559
|
flex-direction: column;
|
|
@@ -509,21 +617,29 @@
|
|
|
509
617
|
font-size: 13px;
|
|
510
618
|
}
|
|
511
619
|
|
|
512
|
-
.eyeon-map-info-modal__map-it
|
|
620
|
+
.eyeon-map-info-modal button.eyeon-map-info-modal__map-it,
|
|
621
|
+
.eyeon-map-info-modal button.eyeon-map-info-modal__map-it:hover,
|
|
622
|
+
.eyeon-map-info-modal button.eyeon-map-info-modal__map-it:focus,
|
|
623
|
+
.eyeon-map-info-modal button.eyeon-map-info-modal__map-it:focus-visible,
|
|
624
|
+
.eyeon-map-info-modal button.eyeon-map-info-modal__map-it:active {
|
|
513
625
|
flex-shrink: 0;
|
|
514
|
-
background: #0763b1;
|
|
515
|
-
color: #
|
|
516
|
-
|
|
626
|
+
background: #0763b1 !important;
|
|
627
|
+
background-color: #0763b1 !important;
|
|
628
|
+
color: #fff !important;
|
|
629
|
+
border: 0 !important;
|
|
517
630
|
padding: 8px 16px;
|
|
518
631
|
border-radius: 4px;
|
|
519
632
|
cursor: pointer;
|
|
520
633
|
font-size: 16px;
|
|
521
634
|
font-weight: 500;
|
|
522
635
|
white-space: nowrap;
|
|
636
|
+
opacity: 1 !important;
|
|
523
637
|
}
|
|
524
638
|
|
|
525
|
-
.eyeon-map-info-modal__map-it:disabled
|
|
526
|
-
|
|
639
|
+
.eyeon-map-info-modal button.eyeon-map-info-modal__map-it:disabled,
|
|
640
|
+
.eyeon-map-info-modal button.eyeon-map-info-modal__map-it:disabled:hover,
|
|
641
|
+
.eyeon-map-info-modal button.eyeon-map-info-modal__map-it:disabled:focus {
|
|
642
|
+
opacity: 0.45 !important;
|
|
527
643
|
cursor: default;
|
|
528
644
|
}
|
|
529
645
|
|
|
@@ -541,6 +657,39 @@
|
|
|
541
657
|
font: inherit;
|
|
542
658
|
}
|
|
543
659
|
|
|
660
|
+
.eyeon-map-route-change--forward {
|
|
661
|
+
z-index: 2;
|
|
662
|
+
border-color: #fff;
|
|
663
|
+
box-shadow: 0 0 0 3px #0763b1, 2px 2px 8px rgba(0, 0, 0, 0.25);
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
.eyeon-map-route-change--back {
|
|
667
|
+
background: #7aa8d4;
|
|
668
|
+
border-color: #e2e8f0;
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
.eyeon-map-route-change__intent {
|
|
672
|
+
position: absolute;
|
|
673
|
+
right: -4px;
|
|
674
|
+
bottom: -4px;
|
|
675
|
+
display: flex;
|
|
676
|
+
width: 18px;
|
|
677
|
+
height: 18px;
|
|
678
|
+
align-items: center;
|
|
679
|
+
justify-content: center;
|
|
680
|
+
border-radius: 50%;
|
|
681
|
+
background: #0763b1;
|
|
682
|
+
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
|
|
683
|
+
color: #fff;
|
|
684
|
+
font-size: 12px;
|
|
685
|
+
font-weight: 700;
|
|
686
|
+
line-height: 1;
|
|
687
|
+
}
|
|
688
|
+
|
|
689
|
+
.eyeon-map-route-change--back .eyeon-map-route-change__intent {
|
|
690
|
+
background: #475569;
|
|
691
|
+
}
|
|
692
|
+
|
|
544
693
|
.eyeon-map-route-change__icon {
|
|
545
694
|
display: flex;
|
|
546
695
|
width: 100%;
|
|
@@ -639,6 +788,18 @@
|
|
|
639
788
|
border-color: #cbd5e1;
|
|
640
789
|
}
|
|
641
790
|
|
|
791
|
+
.eyeon-map-select button.eyeon-map-select__trigger,
|
|
792
|
+
.eyeon-map-select button.eyeon-map-select__trigger:hover,
|
|
793
|
+
.eyeon-map-select button.eyeon-map-select__trigger:focus,
|
|
794
|
+
.eyeon-map-select button.eyeon-map-select__trigger:focus-visible,
|
|
795
|
+
.eyeon-map-select button.eyeon-map-select__trigger:active {
|
|
796
|
+
background: #fff !important;
|
|
797
|
+
background-color: #fff !important;
|
|
798
|
+
color: #0f172a !important;
|
|
799
|
+
box-shadow: none !important;
|
|
800
|
+
outline: none !important;
|
|
801
|
+
}
|
|
802
|
+
|
|
642
803
|
.eyeon-map-select__trigger.is-open {
|
|
643
804
|
border-color: #0763b1;
|
|
644
805
|
}
|
|
@@ -678,7 +839,15 @@
|
|
|
678
839
|
font-weight: 400;
|
|
679
840
|
}
|
|
680
841
|
|
|
681
|
-
|
|
842
|
+
/*
|
|
843
|
+
Hello Elementor / Elementor kit `button:hover|focus` would otherwise
|
|
844
|
+
recolor this chevron to the site accent. Keep the arrow slate.
|
|
845
|
+
*/
|
|
846
|
+
.eyeon-map-select button.eyeon-map-select__chevron-btn,
|
|
847
|
+
.eyeon-map-select button.eyeon-map-select__chevron-btn:hover,
|
|
848
|
+
.eyeon-map-select button.eyeon-map-select__chevron-btn:focus,
|
|
849
|
+
.eyeon-map-select button.eyeon-map-select__chevron-btn:focus-visible,
|
|
850
|
+
.eyeon-map-select button.eyeon-map-select__chevron-btn:active {
|
|
682
851
|
position: absolute;
|
|
683
852
|
top: 0;
|
|
684
853
|
right: 0;
|
|
@@ -690,9 +859,12 @@
|
|
|
690
859
|
width: 28px;
|
|
691
860
|
margin: 0;
|
|
692
861
|
padding: 0;
|
|
693
|
-
border: 0;
|
|
694
|
-
background: transparent;
|
|
695
|
-
color:
|
|
862
|
+
border: 0 !important;
|
|
863
|
+
background: transparent !important;
|
|
864
|
+
background-color: transparent !important;
|
|
865
|
+
color: #64748b !important;
|
|
866
|
+
box-shadow: none !important;
|
|
867
|
+
outline: none !important;
|
|
696
868
|
cursor: pointer;
|
|
697
869
|
}
|
|
698
870
|
|
|
@@ -701,12 +873,22 @@
|
|
|
701
873
|
font-weight: 400;
|
|
702
874
|
}
|
|
703
875
|
|
|
704
|
-
.eyeon-map-select__chevron
|
|
876
|
+
.eyeon-map-select__chevron,
|
|
877
|
+
.eyeon-map-select button.eyeon-map-select__chevron-btn:hover .eyeon-map-select__chevron,
|
|
878
|
+
.eyeon-map-select button.eyeon-map-select__chevron-btn:focus .eyeon-map-select__chevron,
|
|
879
|
+
.eyeon-map-select__trigger:hover .eyeon-map-select__chevron {
|
|
705
880
|
flex-shrink: 0;
|
|
706
|
-
color: #64748b;
|
|
881
|
+
color: #64748b !important;
|
|
882
|
+
fill: none !important;
|
|
883
|
+
stroke: currentColor !important;
|
|
707
884
|
opacity: 0.7;
|
|
708
885
|
}
|
|
709
886
|
|
|
887
|
+
.eyeon-map-select__chevron path {
|
|
888
|
+
stroke: currentColor !important;
|
|
889
|
+
fill: none !important;
|
|
890
|
+
}
|
|
891
|
+
|
|
710
892
|
.eyeon-map-select__trigger[aria-expanded='true'] .eyeon-map-select__chevron,
|
|
711
893
|
.eyeon-map-select__trigger.is-open .eyeon-map-select__chevron {
|
|
712
894
|
transform: rotate(180deg);
|
|
@@ -738,19 +920,36 @@
|
|
|
738
920
|
min-width: 0;
|
|
739
921
|
}
|
|
740
922
|
|
|
741
|
-
|
|
923
|
+
/*
|
|
924
|
+
Option rows are <button>s portaled to document.body. Host themes restyle
|
|
925
|
+
`button:hover` to white/gray text (hard to read). Keep labels black and
|
|
926
|
+
use only a light-gray background on hover.
|
|
927
|
+
*/
|
|
928
|
+
.eyeon-map-select__menu button.eyeon-map-select__option,
|
|
929
|
+
.eyeon-map-select__menu button.eyeon-map-select__option:hover,
|
|
930
|
+
.eyeon-map-select__menu button.eyeon-map-select__option:focus,
|
|
931
|
+
.eyeon-map-select__menu button.eyeon-map-select__option:focus-visible,
|
|
932
|
+
.eyeon-map-select__menu button.eyeon-map-select__option:active,
|
|
933
|
+
.eyeon-map-select button.eyeon-map-select__option,
|
|
934
|
+
.eyeon-map-select button.eyeon-map-select__option:hover,
|
|
935
|
+
.eyeon-map-select button.eyeon-map-select__option:focus,
|
|
936
|
+
.eyeon-map-select button.eyeon-map-select__option:focus-visible,
|
|
937
|
+
.eyeon-map-select button.eyeon-map-select__option:active {
|
|
742
938
|
display: flex;
|
|
743
939
|
align-items: center;
|
|
744
940
|
gap: 8px;
|
|
745
941
|
width: 100%;
|
|
746
942
|
padding: 7px 10px;
|
|
747
|
-
border: 0;
|
|
943
|
+
border: 0 !important;
|
|
748
944
|
border-radius: 6px;
|
|
749
|
-
background: transparent;
|
|
750
|
-
color:
|
|
945
|
+
background: transparent !important;
|
|
946
|
+
background-color: transparent !important;
|
|
947
|
+
color: #000 !important;
|
|
751
948
|
font: inherit;
|
|
752
949
|
font-size: 12px;
|
|
753
950
|
text-align: left;
|
|
951
|
+
box-shadow: none !important;
|
|
952
|
+
outline: none !important;
|
|
754
953
|
cursor: pointer;
|
|
755
954
|
}
|
|
756
955
|
|
|
@@ -772,28 +971,42 @@
|
|
|
772
971
|
gap: 8px;
|
|
773
972
|
min-width: 0;
|
|
774
973
|
flex: 1;
|
|
974
|
+
color: #000 !important;
|
|
775
975
|
}
|
|
776
976
|
|
|
777
|
-
.eyeon-map-select__option-
|
|
778
|
-
|
|
977
|
+
.eyeon-map-select__menu button.eyeon-map-select__option:hover .eyeon-map-select__option-copy,
|
|
978
|
+
.eyeon-map-select__menu button.eyeon-map-select__option:hover .eyeon-map-select__option-copy > span:not(.eyeon-map-select__option-hint) {
|
|
979
|
+
color: #000 !important;
|
|
980
|
+
}
|
|
981
|
+
|
|
982
|
+
.eyeon-map-select__option-hint,
|
|
983
|
+
.eyeon-map-select__menu button.eyeon-map-select__option:hover .eyeon-map-select__option-hint,
|
|
984
|
+
.eyeon-map-select__menu button.eyeon-map-select__option:focus .eyeon-map-select__option-hint {
|
|
985
|
+
color: #334155 !important;
|
|
779
986
|
font-size: 11px;
|
|
780
987
|
font-weight: 600;
|
|
781
988
|
flex-shrink: 0;
|
|
782
989
|
}
|
|
783
990
|
|
|
784
|
-
.eyeon-map-select__option:hover
|
|
785
|
-
|
|
991
|
+
.eyeon-map-select__menu button.eyeon-map-select__option:hover,
|
|
992
|
+
.eyeon-map-select__menu button.eyeon-map-select__option.is-highlight:not(.is-active),
|
|
993
|
+
.eyeon-map-select button.eyeon-map-select__option:hover,
|
|
994
|
+
.eyeon-map-select button.eyeon-map-select__option.is-highlight:not(.is-active) {
|
|
995
|
+
background: #f1f5f9 !important;
|
|
996
|
+
background-color: #f1f5f9 !important;
|
|
997
|
+
color: #000 !important;
|
|
786
998
|
}
|
|
787
999
|
|
|
788
|
-
.eyeon-map-select__option.is-active
|
|
789
|
-
|
|
1000
|
+
.eyeon-map-select__menu button.eyeon-map-select__option.is-active,
|
|
1001
|
+
.eyeon-map-select__menu button.eyeon-map-select__option.is-active:hover,
|
|
1002
|
+
.eyeon-map-select button.eyeon-map-select__option.is-active,
|
|
1003
|
+
.eyeon-map-select button.eyeon-map-select__option.is-active:hover {
|
|
1004
|
+
background: #f1f5f9 !important;
|
|
1005
|
+
background-color: #f1f5f9 !important;
|
|
1006
|
+
color: #000 !important;
|
|
790
1007
|
font-weight: 600;
|
|
791
1008
|
}
|
|
792
1009
|
|
|
793
|
-
.eyeon-map-select__option.is-highlight:not(.is-active) {
|
|
794
|
-
background: #f1f5f9;
|
|
795
|
-
}
|
|
796
|
-
|
|
797
1010
|
.eyeon-map-select__empty {
|
|
798
1011
|
padding: 8px 10px;
|
|
799
1012
|
color: #94a3b8;
|
package/dist/viewer/index.d.ts
CHANGED
|
@@ -4,5 +4,5 @@ export { mapSurface, viewerChrome, isMapViewerHost } from '../core';
|
|
|
4
4
|
export { MapScene } from './components/MapScene';
|
|
5
5
|
export { RuntimeChrome } from './ui/RuntimeChrome';
|
|
6
6
|
export { MapControls, type MapControlsProps, type MapControlLevel } from './ui/MapControls';
|
|
7
|
-
export type { MapCameraHandle } from './components/CameraRig';
|
|
7
|
+
export type { MapCameraHandle, CameraViewSnapshot } from './components/CameraRig';
|
|
8
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/viewer/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,aAAa,CAAC;AAC7D,YAAY,EAAE,aAAa,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACpE,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AACpE,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,KAAK,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAC5F,YAAY,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/viewer/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,aAAa,CAAC;AAC7D,YAAY,EAAE,aAAa,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACpE,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AACpE,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,KAAK,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAC5F,YAAY,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAClF,OAAO,cAAc,CAAC"}
|
package/dist/viewer/index.js
CHANGED
package/dist/viewer/pointer.d.ts
CHANGED
|
@@ -1,20 +1,56 @@
|
|
|
1
|
-
import { ShapeKind } from '../core';
|
|
1
|
+
import { MapViewerHost, PublicServiceShape, ShapeKind } from '../core';
|
|
2
2
|
/** Kinds that select (or Shift-add) on the assign / public map. */
|
|
3
3
|
export declare const VIEWER_SELECTABLE_KINDS: ShapeKind[];
|
|
4
4
|
export declare function isViewerSelectableKind(kind: string): boolean;
|
|
5
|
+
/** Assign map: any selectable kind. Public hosts: only assigned items. */
|
|
6
|
+
export declare function isViewerInteractiveShape(kind: string, host?: MapViewerHost, assignment?: PublicServiceShape['assignment'] | null): boolean;
|
|
5
7
|
/** Hover and the current selection share the same assign-map highlight. */
|
|
6
8
|
export declare function viewerShapeHighlighted(shapeId: number, hoveredShapeId: number | null, selectedShapeIds: readonly number[]): boolean;
|
|
7
9
|
/** Map pointer hover wins over a leftover list hover. */
|
|
8
10
|
export declare function resolvedViewerHoverId(listHoverId: number | null | undefined, pointerHoverId: number | null): number | null;
|
|
9
|
-
export declare function viewerHoverCursor(kind: string): 'pointer' | '';
|
|
11
|
+
export declare function viewerHoverCursor(kind: string, host?: MapViewerHost, assignment?: PublicServiceShape['assignment'] | null): 'pointer' | '';
|
|
10
12
|
/** R3F `eventSource` hosts the cursor — the WebGL canvas has pointer-events: none. */
|
|
11
13
|
export declare function applyViewerHoverCursor(host: HTMLElement | null | undefined, cursor: 'pointer' | ''): void;
|
|
12
|
-
/**
|
|
14
|
+
/** Near-invisible fills (legacy amenity 0.01) still need a readable hover. */
|
|
13
15
|
export declare function viewerHoverFillOpacity(kind: string, base: number, hovered: boolean): number;
|
|
14
16
|
/** Tint a store fill toward the accent so hover matches Edit Map. */
|
|
15
17
|
export declare function viewerHoverFillColor(fill: string, accent: string, hovered: boolean, amount?: number): string;
|
|
16
|
-
/**
|
|
18
|
+
/** Canvas-host coordinates — MapScene uses `eventPrefix="offset"`. */
|
|
19
|
+
export declare function viewerPointerOffset(event: {
|
|
20
|
+
offsetX?: number;
|
|
21
|
+
offsetY?: number;
|
|
22
|
+
nativeEvent?: {
|
|
23
|
+
offsetX?: number;
|
|
24
|
+
offsetY?: number;
|
|
25
|
+
};
|
|
26
|
+
}): {
|
|
27
|
+
x: number;
|
|
28
|
+
y: number;
|
|
29
|
+
} | null;
|
|
30
|
+
/** Pan farther than this and a pointer-up is not a click/tap. */
|
|
17
31
|
export declare const VIEWER_CLICK_DRAG_PX = 5;
|
|
32
|
+
export type ViewerPointerGesture = {
|
|
33
|
+
pointerId: number | null;
|
|
34
|
+
x: number;
|
|
35
|
+
y: number;
|
|
36
|
+
maxDist: number;
|
|
37
|
+
active: boolean;
|
|
38
|
+
};
|
|
39
|
+
export declare function createViewerPointerGesture(): ViewerPointerGesture;
|
|
40
|
+
export declare function viewerPointerClientXY(e: {
|
|
41
|
+
clientX?: number;
|
|
42
|
+
clientY?: number;
|
|
43
|
+
pointerId?: number;
|
|
44
|
+
}): {
|
|
45
|
+
x: number;
|
|
46
|
+
y: number;
|
|
47
|
+
pointerId: number | null;
|
|
48
|
+
} | null;
|
|
49
|
+
export declare function beginViewerPointerGesture(gesture: ViewerPointerGesture, x: number, y: number, pointerId?: number | null): void;
|
|
50
|
+
export declare function moveViewerPointerGesture(gesture: ViewerPointerGesture, x: number, y: number, pointerId?: number | null): void;
|
|
51
|
+
export declare function endViewerPointerGesture(gesture: ViewerPointerGesture, x: number, y: number, pointerId?: number | null): void;
|
|
52
|
+
/** True when the pointer barely moved — R3F delta alone is unreliable on touch. */
|
|
53
|
+
export declare function viewerPointerClickIsTap(maxDist: number, r3fDelta?: number): boolean;
|
|
18
54
|
export declare function pointerMissClearsSelection(down: {
|
|
19
55
|
x: number;
|
|
20
56
|
y: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pointer.d.ts","sourceRoot":"","sources":["../../src/viewer/pointer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"pointer.d.ts","sourceRoot":"","sources":["../../src/viewer/pointer.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { PathResult, Vec2 } from '../core';
|
|
2
|
+
export type RouteChangeIntent = 'forward' | 'back';
|
|
3
|
+
export interface RouteLevelChangeMarker {
|
|
4
|
+
x: number;
|
|
5
|
+
y: number;
|
|
6
|
+
displayX: number;
|
|
7
|
+
displayY: number;
|
|
8
|
+
connectorId: number | null;
|
|
9
|
+
targetLevelId: number;
|
|
10
|
+
/** v1 label: To = continue toward the destination, From = go back. */
|
|
11
|
+
direction: 'To' | 'From';
|
|
12
|
+
intent: RouteChangeIntent;
|
|
13
|
+
}
|
|
14
|
+
export declare const ROUTE_CHANGE_MARKER_GAP = 44;
|
|
15
|
+
export declare const ROUTE_CHANGE_MARKER_NUDGE_X = 28;
|
|
16
|
+
export declare const ROUTE_CHANGE_MARKER_NUDGE_Y = -16;
|
|
17
|
+
export declare const ROUTE_CHANGE_MARKER_CLUSTER = 8;
|
|
18
|
+
export declare function routeOriginLevelId(route: PathResult | null | undefined): number | null;
|
|
19
|
+
/** Pin the camera to the start floor only when the trip itself changes. */
|
|
20
|
+
export declare function shouldPinViewToRouteOrigin(previousFrom: number | null, previousTo: number | null, nextFrom: number | null, nextTo: number | null): boolean;
|
|
21
|
+
export declare function routeVisitedLevelIds(route: PathResult): number[];
|
|
22
|
+
export declare function routeChangeLabel(intent: RouteChangeIntent, floorName: string): string;
|
|
23
|
+
export declare function routePointsOnLevel(route: PathResult, levelId: number): Vec2[];
|
|
24
|
+
/** Contiguous walks on one floor — a later revisit starts a new segment. */
|
|
25
|
+
export declare function routeSegmentsForLevel(route: PathResult, levelId: number): Vec2[][];
|
|
26
|
+
export declare function layoutRouteLevelChangeMarkers<T extends {
|
|
27
|
+
x: number;
|
|
28
|
+
y: number;
|
|
29
|
+
intent: RouteChangeIntent;
|
|
30
|
+
}>(markers: T[]): Array<T & {
|
|
31
|
+
displayX: number;
|
|
32
|
+
displayY: number;
|
|
33
|
+
}>;
|
|
34
|
+
export declare function routeLevelChangeMarkers(route: PathResult, levelId: number): RouteLevelChangeMarker[];
|
|
35
|
+
//# sourceMappingURL=routeFloorChanges.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"routeFloorChanges.d.ts","sourceRoot":"","sources":["../../src/viewer/routeFloorChanges.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAEhD,MAAM,MAAM,iBAAiB,GAAG,SAAS,GAAG,MAAM,CAAC;AAEnD,MAAM,WAAW,sBAAsB;IACrC,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,aAAa,EAAE,MAAM,CAAC;IACtB,sEAAsE;IACtE,SAAS,EAAE,IAAI,GAAG,MAAM,CAAC;IACzB,MAAM,EAAE,iBAAiB,CAAC;CAC3B;AAED,eAAO,MAAM,uBAAuB,KAAK,CAAC;AAC1C,eAAO,MAAM,2BAA2B,KAAK,CAAC;AAC9C,eAAO,MAAM,2BAA2B,MAAM,CAAC;AAC/C,eAAO,MAAM,2BAA2B,IAAI,CAAC;AAE7C,wBAAgB,kBAAkB,CAChC,KAAK,EAAE,UAAU,GAAG,IAAI,GAAG,SAAS,GACnC,MAAM,GAAG,IAAI,CAEf;AAED,2EAA2E;AAC3E,wBAAgB,0BAA0B,CACxC,YAAY,EAAE,MAAM,GAAG,IAAI,EAC3B,UAAU,EAAE,MAAM,GAAG,IAAI,EACzB,QAAQ,EAAE,MAAM,GAAG,IAAI,EACvB,MAAM,EAAE,MAAM,GAAG,IAAI,GACpB,OAAO,CAGT;AAED,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,UAAU,GAAG,MAAM,EAAE,CAMhE;AAED,wBAAgB,gBAAgB,CAC9B,MAAM,EAAE,iBAAiB,EACzB,SAAS,EAAE,MAAM,GAChB,MAAM,CAER;AAED,wBAAgB,kBAAkB,CAChC,KAAK,EAAE,UAAU,EACjB,OAAO,EAAE,MAAM,GACd,IAAI,EAAE,CAIR;AAED,4EAA4E;AAC5E,wBAAgB,qBAAqB,CACnC,KAAK,EAAE,UAAU,EACjB,OAAO,EAAE,MAAM,GACd,IAAI,EAAE,EAAE,CAeV;AAMD,wBAAgB,6BAA6B,CAC3C,CAAC,SAAS;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,iBAAiB,CAAA;CAAE,EAC7D,OAAO,EAAE,CAAC,EAAE,GAAG,KAAK,CAAC,CAAC,GAAG;IAAE,QAAQ,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,CAAC,CAsCjE;AAED,wBAAgB,uBAAuB,CACrC,KAAK,EAAE,UAAU,EACjB,OAAO,EAAE,MAAM,GACd,sBAAsB,EAAE,CA8B1B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HoverTooltip.d.ts","sourceRoot":"","sources":["../../../src/viewer/ui/HoverTooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAErD,wBAAgB,YAAY,CAAC,EAC3B,OAAO,GACR,EAAE;IACD,OAAO,EAAE,kBAAkB,GAAG,IAAI,CAAC;CACpC,4BAcA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MapControls.d.ts","sourceRoot":"","sources":["../../../src/viewer/ui/MapControls.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"MapControls.d.ts","sourceRoot":"","sources":["../../../src/viewer/ui/MapControls.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAQ7C,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,gBAAgB;IAC/B,MAAM,EAAE,KAAK,CAAC,eAAe,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC;IACrD,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,mBAAmB,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,yEAAyE;IACzE,YAAY,CAAC,EAAE,eAAe,EAAE,CAAC;IACjC,6DAA6D;IAC7D,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED,wBAAgB,WAAW,CAAC,EAC1B,MAAM,EACN,aAAa,EACb,mBAAmB,EACnB,QAAQ,EACR,SAAS,EACT,OAAO,EACP,UAAiB,EACjB,aAAoB,EACpB,YAAY,EACZ,gBAAwB,GACzB,EAAE,gBAAgB,4BA+ElB"}
|
|
@@ -14,6 +14,7 @@ export interface RuntimeChromeProps {
|
|
|
14
14
|
route: PathResult | null;
|
|
15
15
|
showSearch?: boolean;
|
|
16
16
|
showAmenities?: boolean;
|
|
17
|
+
amenityIconColor?: string;
|
|
17
18
|
}
|
|
18
|
-
export declare function RuntimeChrome({ doc, amenities,
|
|
19
|
+
export declare function RuntimeChrome({ doc, amenities, fromAnchorId, toAnchorId, onFromChange, onToChange, accessibleOnly, onAccessibleOnlyChange, route, showSearch, showAmenities, amenityIconColor, }: RuntimeChromeProps): React.JSX.Element | null;
|
|
19
20
|
//# sourceMappingURL=RuntimeChrome.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RuntimeChrome.d.ts","sourceRoot":"","sources":["../../../src/viewer/ui/RuntimeChrome.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AACjD,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"RuntimeChrome.d.ts","sourceRoot":"","sources":["../../../src/viewer/ui/RuntimeChrome.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AACjD,OAAO,EAEL,KAAK,oBAAoB,EACzB,KAAK,UAAU,EACf,KAAK,iBAAiB,EACvB,MAAM,YAAY,CAAC;AAIpB,MAAM,WAAW,kBAAkB;IACjC,GAAG,EAAE,iBAAiB,CAAC;IACvB,SAAS,EAAE,oBAAoB,EAAE,CAAC;IAClC,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,mBAAmB,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,YAAY,EAAE,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IAC1C,UAAU,EAAE,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IACxC,cAAc,EAAE,OAAO,CAAC;IACxB,sBAAsB,EAAE,CAAC,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IAC7C,KAAK,EAAE,UAAU,GAAG,IAAI,CAAC;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAyBD,wBAAgB,aAAa,CAAC,EAC5B,GAAG,EACH,SAAS,EACT,YAAY,EACZ,UAAU,EACV,YAAY,EACZ,UAAU,EACV,cAAc,EACd,sBAAsB,EACtB,KAAK,EACL,UAAiB,EACjB,aAAoB,EACpB,gBAA6C,GAC9C,EAAE,kBAAkB,4BA4MpB"}
|