@eyeon/map 2.0.15 → 2.0.19

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.
Files changed (106) hide show
  1. package/dist/assets/MapViewer.css +1 -1
  2. package/dist/assets/index.css +1 -1
  3. package/dist/chunks/MapViewer.js +2566 -2161
  4. package/dist/chunks/MapViewer.js.map +1 -1
  5. package/dist/chunks/responsive.js +2590 -0
  6. package/dist/chunks/responsive.js.map +1 -0
  7. package/dist/chunks/wheelZoom.js +163 -177
  8. package/dist/chunks/wheelZoom.js.map +1 -1
  9. package/dist/core/assignment.d.ts +19 -2
  10. package/dist/core/assignment.d.ts.map +1 -1
  11. package/dist/core/color.d.ts +7 -0
  12. package/dist/core/color.d.ts.map +1 -1
  13. package/dist/core/entranceIcon.d.ts +17 -3
  14. package/dist/core/entranceIcon.d.ts.map +1 -1
  15. package/dist/core/hostChrome.d.ts +13 -2
  16. package/dist/core/hostChrome.d.ts.map +1 -1
  17. package/dist/core/hoverTooltip.d.ts +37 -0
  18. package/dist/core/hoverTooltip.d.ts.map +1 -0
  19. package/dist/core/import/index.d.ts +10 -1
  20. package/dist/core/import/index.d.ts.map +1 -1
  21. package/dist/core/index.d.ts +3 -0
  22. package/dist/core/index.d.ts.map +1 -1
  23. package/dist/core/index.js +237 -189
  24. package/dist/core/layerStyles.d.ts +31 -0
  25. package/dist/core/layerStyles.d.ts.map +1 -1
  26. package/dist/core/outdoorDecoration.d.ts.map +1 -1
  27. package/dist/core/publicShapes.d.ts +14 -0
  28. package/dist/core/publicShapes.d.ts.map +1 -1
  29. package/dist/core/responsive.d.ts +6 -0
  30. package/dist/core/responsive.d.ts.map +1 -1
  31. package/dist/core/routing/graph-tools.d.ts +6 -5
  32. package/dist/core/routing/graph-tools.d.ts.map +1 -1
  33. package/dist/core/routing/pathfinding.d.ts +36 -0
  34. package/dist/core/routing/pathfinding.d.ts.map +1 -1
  35. package/dist/core/shapeFill.d.ts +40 -0
  36. package/dist/core/shapeFill.d.ts.map +1 -0
  37. package/dist/core/stacking.d.ts +4 -0
  38. package/dist/core/stacking.d.ts.map +1 -1
  39. package/dist/core/types.d.ts +21 -3
  40. package/dist/core/types.d.ts.map +1 -1
  41. package/dist/core/viewerReset.d.ts +24 -0
  42. package/dist/core/viewerReset.d.ts.map +1 -0
  43. package/dist/core/websiteModal.d.ts +15 -0
  44. package/dist/core/websiteModal.d.ts.map +1 -1
  45. package/dist/editor/MapEditor.d.ts.map +1 -1
  46. package/dist/editor/assignmentOverlay.d.ts +37 -0
  47. package/dist/editor/assignmentOverlay.d.ts.map +1 -0
  48. package/dist/editor/canvas/AssignedShapeOverlay.d.ts +8 -0
  49. package/dist/editor/canvas/AssignedShapeOverlay.d.ts.map +1 -0
  50. package/dist/editor/canvas/EditorCanvas.d.ts +6 -1
  51. package/dist/editor/canvas/EditorCanvas.d.ts.map +1 -1
  52. package/dist/editor/canvas/coords.d.ts +9 -0
  53. package/dist/editor/canvas/coords.d.ts.map +1 -1
  54. package/dist/editor/canvas/editorFill.d.ts.map +1 -1
  55. package/dist/editor/canvas/editorHover.d.ts +4 -0
  56. package/dist/editor/canvas/editorHover.d.ts.map +1 -1
  57. package/dist/editor/draftOps.d.ts.map +1 -1
  58. package/dist/editor/entranceIcon.d.ts +2 -2
  59. package/dist/editor/entranceIcon.d.ts.map +1 -1
  60. package/dist/editor/index.css +369 -87
  61. package/dist/editor/index.js +4735 -4328
  62. package/dist/editor/index.js.map +1 -1
  63. package/dist/editor/panels/AssignForm.d.ts +4 -3
  64. package/dist/editor/panels/AssignForm.d.ts.map +1 -1
  65. package/dist/editor/panels/BulkAssignForm.d.ts +3 -1
  66. package/dist/editor/panels/BulkAssignForm.d.ts.map +1 -1
  67. package/dist/editor/panels/ConnectorAssign.d.ts.map +1 -1
  68. package/dist/editor/panels/FloorsPanel.d.ts.map +1 -1
  69. package/dist/editor/panels/Inspector.d.ts +4 -2
  70. package/dist/editor/panels/Inspector.d.ts.map +1 -1
  71. package/dist/editor/panels/LeftRail.d.ts.map +1 -1
  72. package/dist/editor/routeStubs.d.ts +11 -0
  73. package/dist/editor/routeStubs.d.ts.map +1 -1
  74. package/dist/specialIcons.d.ts +22 -1
  75. package/dist/specialIcons.d.ts.map +1 -1
  76. package/dist/test-maps/LF - Shops At South Town.ai +4468 -1
  77. package/dist/test-maps/LF - Shops At South Town.svg +245 -0
  78. package/dist/test-maps/shops-at-south-town/SVG/escalator.svg +13 -0
  79. package/dist/viewer/MapViewer.d.ts.map +1 -1
  80. package/dist/viewer/camera.d.ts +10 -0
  81. package/dist/viewer/camera.d.ts.map +1 -1
  82. package/dist/viewer/components/CameraRig.d.ts.map +1 -1
  83. package/dist/viewer/components/LevelMeshes.d.ts +12 -2
  84. package/dist/viewer/components/LevelMeshes.d.ts.map +1 -1
  85. package/dist/viewer/components/MapScene.d.ts +5 -2
  86. package/dist/viewer/components/MapScene.d.ts.map +1 -1
  87. package/dist/viewer/components/RouteLine.d.ts +28 -9
  88. package/dist/viewer/components/RouteLine.d.ts.map +1 -1
  89. package/dist/viewer/components/SvgVectorLayer.d.ts +1 -1
  90. package/dist/viewer/components/SvgVectorLayer.d.ts.map +1 -1
  91. package/dist/viewer/index.css +319 -62
  92. package/dist/viewer/index.js +1 -1
  93. package/dist/viewer/pointer.d.ts +42 -6
  94. package/dist/viewer/pointer.d.ts.map +1 -1
  95. package/dist/viewer/routeFloorChanges.d.ts +33 -0
  96. package/dist/viewer/routeFloorChanges.d.ts.map +1 -0
  97. package/dist/viewer/ui/HoverTooltip.d.ts +6 -0
  98. package/dist/viewer/ui/HoverTooltip.d.ts.map +1 -0
  99. package/dist/viewer/ui/MapControls.d.ts.map +1 -1
  100. package/dist/viewer/ui/RuntimeChrome.d.ts +2 -1
  101. package/dist/viewer/ui/RuntimeChrome.d.ts.map +1 -1
  102. package/dist/viewer/ui/WebsiteInfoModal.d.ts +3 -2
  103. package/dist/viewer/ui/WebsiteInfoModal.d.ts.map +1 -1
  104. package/package.json +1 -1
  105. package/dist/chunks/stacking.js +0 -2243
  106. package/dist/chunks/stacking.js.map +0 -1
@@ -41,6 +41,8 @@
41
41
  cursor: grab;
42
42
  touch-action: none;
43
43
  overscroll-behavior: none;
44
+ -webkit-user-select: none;
45
+ user-select: none;
44
46
  }
45
47
 
46
48
  .eyeon-map-viewer__canvas:active {
@@ -52,6 +54,86 @@
52
54
  cursor: pointer;
53
55
  }
54
56
 
57
+ /* Store / amenity hover pop-out — follows the pointer, arrow on the bottom. */
58
+ .eyeon-map-hover-tooltip {
59
+ position: absolute;
60
+ left: 0;
61
+ top: 0;
62
+ z-index: 4;
63
+ pointer-events: none;
64
+ -webkit-user-select: none;
65
+ user-select: none;
66
+ -webkit-touch-callout: none;
67
+ }
68
+
69
+ .eyeon-map-hover-tooltip ::selection,
70
+ .eyeon-map-hover-tooltip *::selection {
71
+ background: transparent;
72
+ }
73
+
74
+ .eyeon-map-hover-tooltip__pop {
75
+ position: relative;
76
+ display: flex;
77
+ flex-direction: column;
78
+ align-items: center;
79
+ padding-bottom: 6px;
80
+ transform: translate(-50%, calc(-100% - 10px));
81
+ transform-origin: 50% 100%;
82
+ filter:
83
+ drop-shadow(0 10px 24px rgba(15, 23, 42, 0.18))
84
+ drop-shadow(0 2px 6px rgba(15, 23, 42, 0.12));
85
+ animation: eyeon-map-tooltip-pop 160ms cubic-bezier(0.22, 1, 0.36, 1);
86
+ }
87
+
88
+ .eyeon-map-hover-tooltip__label {
89
+ position: relative;
90
+ z-index: 1;
91
+ display: block;
92
+ max-width: min(280px, 70vw);
93
+ padding: 8px 12px;
94
+ overflow: hidden;
95
+ border-radius: 10px;
96
+ background: #fff;
97
+ color: #0f172a;
98
+ font-size: 13px;
99
+ font-weight: 600;
100
+ letter-spacing: 0.01em;
101
+ line-height: 1.3;
102
+ text-overflow: ellipsis;
103
+ white-space: nowrap;
104
+ -webkit-user-select: none;
105
+ user-select: none;
106
+ }
107
+
108
+ .eyeon-map-hover-tooltip__arrow {
109
+ position: absolute;
110
+ z-index: 0;
111
+ left: 50%;
112
+ bottom: 1px;
113
+ width: 12px;
114
+ height: 12px;
115
+ border-radius: 2px;
116
+ background: #fff;
117
+ transform: translateX(-50%) rotate(45deg);
118
+ }
119
+
120
+ @keyframes eyeon-map-tooltip-pop {
121
+ from {
122
+ opacity: 0;
123
+ transform: translate(-50%, calc(-100% - 2px)) scale(0.94);
124
+ }
125
+ to {
126
+ opacity: 1;
127
+ transform: translate(-50%, calc(-100% - 10px)) scale(1);
128
+ }
129
+ }
130
+
131
+ @media (prefers-reduced-motion: reduce) {
132
+ .eyeon-map-hover-tooltip__pop {
133
+ animation: none;
134
+ }
135
+ }
136
+
55
137
  @keyframes eyeon-map-current-location-pulse {
56
138
  0% {
57
139
  transform: scale(0.8);
@@ -423,29 +505,68 @@
423
505
  position: relative;
424
506
  width: min(600px, calc(100vw - 32px));
425
507
  min-width: min(360px, calc(100vw - 32px));
508
+ overflow: visible;
426
509
  background: #fff;
427
510
  border-radius: 8px;
428
511
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.24);
429
512
  }
430
513
 
431
- .eyeon-map-info-modal__close {
514
+ /*
515
+ The store/amenity modal is portaled to document.body, so the
516
+ .eyeon-map-viewer button reset does not apply. Hello Elementor and
517
+ Elementor kit rules (`button:hover`, `button:focus`) would otherwise
518
+ paint the close control with the site accent color.
519
+ */
520
+ .eyeon-map-info-modal button,
521
+ .eyeon-map-info-modal button:hover,
522
+ .eyeon-map-info-modal button:focus,
523
+ .eyeon-map-info-modal button:focus-visible,
524
+ .eyeon-map-info-modal button:active {
525
+ outline: none !important;
526
+ box-shadow: none !important;
527
+ }
528
+
529
+ .eyeon-map-info-modal button.eyeon-map-info-modal__close,
530
+ .eyeon-map-info-modal button.eyeon-map-info-modal__close:hover,
531
+ .eyeon-map-info-modal button.eyeon-map-info-modal__close:focus,
532
+ .eyeon-map-info-modal button.eyeon-map-info-modal__close:focus-visible,
533
+ .eyeon-map-info-modal button.eyeon-map-info-modal__close:active {
432
534
  position: absolute;
433
535
  top: 0;
434
536
  right: 0;
435
537
  width: 24px;
436
538
  height: 24px;
437
539
  padding: 0;
438
- border: 0;
439
- background: transparent;
540
+ border: 0 !important;
541
+ background: transparent !important;
542
+ background-color: transparent !important;
543
+ color: #000 !important;
440
544
  transform: translate(50%, -50%);
441
545
  cursor: pointer;
442
546
  z-index: 2;
547
+ filter: none !important;
443
548
  }
444
549
 
445
550
  .eyeon-map-info-modal__close svg {
446
551
  display: block;
447
552
  }
448
553
 
554
+ .eyeon-map-info-modal__close svg,
555
+ .eyeon-map-info-modal button.eyeon-map-info-modal__close:hover svg,
556
+ .eyeon-map-info-modal button.eyeon-map-info-modal__close:focus svg {
557
+ color: #000 !important;
558
+ fill: #000 !important;
559
+ }
560
+
561
+ .eyeon-map-info-modal__close circle {
562
+ fill: #000 !important;
563
+ }
564
+
565
+ .eyeon-map-info-modal__close path {
566
+ stroke: #fff !important;
567
+ fill: none !important;
568
+ }
569
+
449
570
  .eyeon-map-info-modal__body {
450
571
  display: flex;
451
572
  flex-direction: column;
@@ -493,6 +614,7 @@
493
614
 
494
615
  .eyeon-map-info-modal__form {
495
616
  display: flex;
617
+ align-items: stretch;
496
618
  gap: 16px;
497
619
  padding: 16px;
498
620
  box-shadow: 0 0 10px 4px rgba(0, 0, 0, 0.1);
@@ -503,50 +625,144 @@
503
625
  min-width: 0;
504
626
  }
505
627
 
506
- .eyeon-map-info-modal__route-unavailable {
507
- align-self: center;
508
- color: #b42318;
509
- font-size: 13px;
628
+ .eyeon-map-info-modal__sr-only {
629
+ position: absolute;
630
+ width: 1px;
631
+ height: 1px;
632
+ padding: 0;
633
+ margin: -1px;
634
+ overflow: hidden;
635
+ clip: rect(0, 0, 0, 0);
636
+ white-space: nowrap;
637
+ border: 0;
510
638
  }
511
639
 
512
- .eyeon-map-info-modal__map-it {
640
+ .eyeon-map-info-modal__map-it-tooltip {
641
+ position: relative;
642
+ display: flex;
643
+ align-self: stretch;
513
644
  flex-shrink: 0;
514
- background: #0763b1;
645
+ margin-left: auto;
646
+ }
647
+
648
+ .eyeon-map-info-modal__map-it-tooltip:focus {
649
+ outline: none;
650
+ }
651
+
652
+ .eyeon-map-info-modal__map-it-tooltip .eyeon-map-info-modal__map-it:disabled {
653
+ pointer-events: none;
654
+ }
655
+
656
+ .eyeon-map-info-modal__map-it-tooltip[data-tooltip]::after {
657
+ content: attr(data-tooltip);
658
+ position: absolute;
659
+ z-index: 2;
660
+ left: 50%;
661
+ bottom: calc(100% + 8px);
662
+ transform: translateX(-50%);
663
+ padding: 6px 10px;
664
+ border-radius: 6px;
665
+ background: #0f172a;
515
666
  color: #fff;
516
- border: 0;
517
- padding: 8px 16px;
667
+ font-size: 12px;
668
+ font-weight: 600;
669
+ line-height: 1.3;
670
+ letter-spacing: 0.01em;
671
+ white-space: nowrap;
672
+ box-shadow: 0 4px 12px rgba(15, 23, 42, 0.22);
673
+ opacity: 0;
674
+ visibility: hidden;
675
+ pointer-events: none;
676
+ }
677
+
678
+ .eyeon-map-info-modal__map-it-tooltip[data-tooltip]:hover::after,
679
+ .eyeon-map-info-modal__map-it-tooltip[data-tooltip]:focus-within::after {
680
+ opacity: 1;
681
+ visibility: visible;
682
+ }
683
+
684
+ .eyeon-map-info-modal button.eyeon-map-info-modal__map-it,
685
+ .eyeon-map-info-modal button.eyeon-map-info-modal__map-it:hover,
686
+ .eyeon-map-info-modal button.eyeon-map-info-modal__map-it:focus,
687
+ .eyeon-map-info-modal button.eyeon-map-info-modal__map-it:focus-visible,
688
+ .eyeon-map-info-modal button.eyeon-map-info-modal__map-it:active {
689
+ box-sizing: border-box !important;
690
+ flex-shrink: 0;
691
+ align-self: stretch;
692
+ min-height: 34px !important;
693
+ height: 100% !important;
694
+ background: #0763b1 !important;
695
+ background-color: #0763b1 !important;
696
+ color: #fff !important;
697
+ border: 0 !important;
698
+ padding: 0 16px !important;
518
699
  border-radius: 4px;
519
700
  cursor: pointer;
520
701
  font-size: 16px;
521
702
  font-weight: 500;
703
+ line-height: 34px;
522
704
  white-space: nowrap;
705
+ opacity: 1 !important;
523
706
  }
524
707
 
525
- .eyeon-map-info-modal__map-it:disabled {
526
- opacity: 0.45;
708
+ .eyeon-map-info-modal button.eyeon-map-info-modal__map-it:disabled,
709
+ .eyeon-map-info-modal button.eyeon-map-info-modal__map-it:disabled:hover,
710
+ .eyeon-map-info-modal button.eyeon-map-info-modal__map-it:disabled:focus {
711
+ opacity: 0.45 !important;
527
712
  cursor: default;
528
713
  }
529
714
 
530
715
  .eyeon-map-route-change {
531
- position: relative;
716
+ position: absolute;
717
+ top: -21px;
718
+ left: -21px;
532
719
  width: 42px;
533
720
  height: 42px;
534
721
  padding: 0;
535
722
  box-sizing: border-box;
536
- border: 4px solid #ccc;
723
+ border: 3px solid #444444;
537
724
  border-radius: 50%;
538
725
  background: #4ea5ff;
726
+ box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.25);
539
727
  color: #fff;
540
728
  cursor: pointer;
541
729
  font: inherit;
542
730
  }
543
731
 
732
+ .eyeon-map-route-change--forward {
733
+ z-index: 2;
734
+ }
735
+
736
+ .eyeon-map-route-change--back {
737
+ z-index: 1;
738
+ }
739
+
740
+ .eyeon-map-route-change__intent {
741
+ position: absolute;
742
+ right: -4px;
743
+ bottom: -4px;
744
+ display: flex;
745
+ width: 18px;
746
+ height: 18px;
747
+ align-items: center;
748
+ justify-content: center;
749
+ border-radius: 50%;
750
+ background: var(--eyeon-route-change-intent, #444444);
751
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
752
+ color: #fff;
753
+ font-size: 12px;
754
+ font-weight: 700;
755
+ line-height: 1;
756
+ }
757
+
544
758
  .eyeon-map-route-change__icon {
545
759
  display: flex;
546
760
  width: 100%;
547
761
  height: 100%;
548
762
  align-items: center;
549
763
  justify-content: center;
764
+ padding: 4px;
765
+ box-sizing: border-box;
550
766
  font-size: 24px;
551
767
  font-weight: 700;
552
768
  line-height: 1;
@@ -554,36 +770,13 @@
554
770
 
555
771
  .eyeon-map-route-change__icon img {
556
772
  display: block;
557
- width: 75%;
558
- height: 75%;
559
- }
560
-
561
- .eyeon-map-route-change__label {
562
- position: absolute;
563
- top: -12px;
564
- left: 50%;
565
- display: flex;
566
- align-items: center;
567
- padding: 4px 12px;
568
- transform: translate(-50%, -100%);
569
- border-radius: 999px;
570
- background: #fff;
571
- box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
572
- color: #444;
573
- font-size: 14px;
574
- font-weight: 600;
575
- white-space: nowrap;
773
+ width: 100%;
774
+ height: 100%;
576
775
  }
577
776
 
578
- .eyeon-map-route-change__label::before {
579
- position: absolute;
580
- top: calc(100% - 8px);
777
+ .eyeon-map-route-change__tooltip {
581
778
  left: 50%;
582
- width: 12px;
583
- height: 12px;
584
- transform: translateX(-50%) rotate(45deg);
585
- background: #fff;
586
- content: '';
779
+ top: 0;
587
780
  }
588
781
 
589
782
  .eyeon-map-select {
@@ -639,6 +832,18 @@
639
832
  border-color: #cbd5e1;
640
833
  }
641
834
 
835
+ .eyeon-map-select button.eyeon-map-select__trigger,
836
+ .eyeon-map-select button.eyeon-map-select__trigger:hover,
837
+ .eyeon-map-select button.eyeon-map-select__trigger:focus,
838
+ .eyeon-map-select button.eyeon-map-select__trigger:focus-visible,
839
+ .eyeon-map-select button.eyeon-map-select__trigger:active {
840
+ background: #fff !important;
841
+ background-color: #fff !important;
842
+ color: #0f172a !important;
843
+ box-shadow: none !important;
844
+ outline: none !important;
845
+ }
846
+
642
847
  .eyeon-map-select__trigger.is-open {
643
848
  border-color: #0763b1;
644
849
  }
@@ -678,7 +883,15 @@
678
883
  font-weight: 400;
679
884
  }
680
885
 
681
- .eyeon-map-select__chevron-btn {
886
+ /*
887
+ Hello Elementor / Elementor kit `button:hover|focus` would otherwise
888
+ recolor this chevron to the site accent. Keep the arrow slate.
889
+ */
890
+ .eyeon-map-select button.eyeon-map-select__chevron-btn,
891
+ .eyeon-map-select button.eyeon-map-select__chevron-btn:hover,
892
+ .eyeon-map-select button.eyeon-map-select__chevron-btn:focus,
893
+ .eyeon-map-select button.eyeon-map-select__chevron-btn:focus-visible,
894
+ .eyeon-map-select button.eyeon-map-select__chevron-btn:active {
682
895
  position: absolute;
683
896
  top: 0;
684
897
  right: 0;
@@ -690,9 +903,12 @@
690
903
  width: 28px;
691
904
  margin: 0;
692
905
  padding: 0;
693
- border: 0;
694
- background: transparent;
695
- color: inherit;
906
+ border: 0 !important;
907
+ background: transparent !important;
908
+ background-color: transparent !important;
909
+ color: #64748b !important;
910
+ box-shadow: none !important;
911
+ outline: none !important;
696
912
  cursor: pointer;
697
913
  }
698
914
 
@@ -701,12 +917,22 @@
701
917
  font-weight: 400;
702
918
  }
703
919
 
704
- .eyeon-map-select__chevron {
920
+ .eyeon-map-select__chevron,
921
+ .eyeon-map-select button.eyeon-map-select__chevron-btn:hover .eyeon-map-select__chevron,
922
+ .eyeon-map-select button.eyeon-map-select__chevron-btn:focus .eyeon-map-select__chevron,
923
+ .eyeon-map-select__trigger:hover .eyeon-map-select__chevron {
705
924
  flex-shrink: 0;
706
- color: #64748b;
925
+ color: #64748b !important;
926
+ fill: none !important;
927
+ stroke: currentColor !important;
707
928
  opacity: 0.7;
708
929
  }
709
930
 
931
+ .eyeon-map-select__chevron path {
932
+ stroke: currentColor !important;
933
+ fill: none !important;
934
+ }
935
+
710
936
  .eyeon-map-select__trigger[aria-expanded='true'] .eyeon-map-select__chevron,
711
937
  .eyeon-map-select__trigger.is-open .eyeon-map-select__chevron {
712
938
  transform: rotate(180deg);
@@ -738,19 +964,36 @@
738
964
  min-width: 0;
739
965
  }
740
966
 
741
- .eyeon-map-select__option {
967
+ /*
968
+ Option rows are <button>s portaled to document.body. Host themes restyle
969
+ `button:hover` to white/gray text (hard to read). Keep labels black and
970
+ use only a light-gray background on hover.
971
+ */
972
+ .eyeon-map-select__menu button.eyeon-map-select__option,
973
+ .eyeon-map-select__menu button.eyeon-map-select__option:hover,
974
+ .eyeon-map-select__menu button.eyeon-map-select__option:focus,
975
+ .eyeon-map-select__menu button.eyeon-map-select__option:focus-visible,
976
+ .eyeon-map-select__menu button.eyeon-map-select__option:active,
977
+ .eyeon-map-select button.eyeon-map-select__option,
978
+ .eyeon-map-select button.eyeon-map-select__option:hover,
979
+ .eyeon-map-select button.eyeon-map-select__option:focus,
980
+ .eyeon-map-select button.eyeon-map-select__option:focus-visible,
981
+ .eyeon-map-select button.eyeon-map-select__option:active {
742
982
  display: flex;
743
983
  align-items: center;
744
984
  gap: 8px;
745
985
  width: 100%;
746
986
  padding: 7px 10px;
747
- border: 0;
987
+ border: 0 !important;
748
988
  border-radius: 6px;
749
- background: transparent;
750
- color: #0f172a;
989
+ background: transparent !important;
990
+ background-color: transparent !important;
991
+ color: #000 !important;
751
992
  font: inherit;
752
993
  font-size: 12px;
753
994
  text-align: left;
995
+ box-shadow: none !important;
996
+ outline: none !important;
754
997
  cursor: pointer;
755
998
  }
756
999
 
@@ -772,28 +1015,42 @@
772
1015
  gap: 8px;
773
1016
  min-width: 0;
774
1017
  flex: 1;
1018
+ color: #000 !important;
775
1019
  }
776
1020
 
777
- .eyeon-map-select__option-hint {
778
- color: #64748b;
1021
+ .eyeon-map-select__menu button.eyeon-map-select__option:hover .eyeon-map-select__option-copy,
1022
+ .eyeon-map-select__menu button.eyeon-map-select__option:hover .eyeon-map-select__option-copy > span:not(.eyeon-map-select__option-hint) {
1023
+ color: #000 !important;
1024
+ }
1025
+
1026
+ .eyeon-map-select__option-hint,
1027
+ .eyeon-map-select__menu button.eyeon-map-select__option:hover .eyeon-map-select__option-hint,
1028
+ .eyeon-map-select__menu button.eyeon-map-select__option:focus .eyeon-map-select__option-hint {
1029
+ color: #334155 !important;
779
1030
  font-size: 11px;
780
1031
  font-weight: 600;
781
1032
  flex-shrink: 0;
782
1033
  }
783
1034
 
784
- .eyeon-map-select__option:hover {
785
- background: #f1f5f9;
1035
+ .eyeon-map-select__menu button.eyeon-map-select__option:hover,
1036
+ .eyeon-map-select__menu button.eyeon-map-select__option.is-highlight:not(.is-active),
1037
+ .eyeon-map-select button.eyeon-map-select__option:hover,
1038
+ .eyeon-map-select button.eyeon-map-select__option.is-highlight:not(.is-active) {
1039
+ background: #f1f5f9 !important;
1040
+ background-color: #f1f5f9 !important;
1041
+ color: #000 !important;
786
1042
  }
787
1043
 
788
- .eyeon-map-select__option.is-active {
789
- background: #e0f2fe;
1044
+ .eyeon-map-select__menu button.eyeon-map-select__option.is-active,
1045
+ .eyeon-map-select__menu button.eyeon-map-select__option.is-active:hover,
1046
+ .eyeon-map-select button.eyeon-map-select__option.is-active,
1047
+ .eyeon-map-select button.eyeon-map-select__option.is-active:hover {
1048
+ background: #f1f5f9 !important;
1049
+ background-color: #f1f5f9 !important;
1050
+ color: #000 !important;
790
1051
  font-weight: 600;
791
1052
  }
792
1053
 
793
- .eyeon-map-select__option.is-highlight:not(.is-active) {
794
- background: #f1f5f9;
795
- }
796
-
797
1054
  .eyeon-map-select__empty {
798
1055
  padding: 8px 10px;
799
1056
  color: #94a3b8;
@@ -1,5 +1,5 @@
1
1
  import { M as r, a as s, b as o, R as p } from "../chunks/MapViewer.js";
2
- import { aI as i, aW as t, bL as M } from "../chunks/stacking.js";
2
+ import { a$ as i, bg as t, cl as M } from "../chunks/responsive.js";
3
3
  export {
4
4
  r as MapControls,
5
5
  s as MapScene,
@@ -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
- /** Amenities are almost invisible; hover must still read. */
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
- /** Tint a store fill toward the accent so hover matches Edit Map. */
15
- export declare function viewerHoverFillColor(fill: string, accent: string, hovered: boolean, amount?: number): string;
16
- /** Pan farther than this and a pointer-up on empty space is not a clear. */
16
+ /** Hover and the current selection use the same darker shade of this fill. */
17
+ export declare function viewerHoverFillColor(fill: string, hovered: boolean): string;
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,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEzC,mEAAmE;AACnE,eAAO,MAAM,uBAAuB,EAAE,SAAS,EAO9C,CAAC;AAEF,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAE5D;AAED,2EAA2E;AAC3E,wBAAgB,sBAAsB,CACpC,OAAO,EAAE,MAAM,EACf,cAAc,EAAE,MAAM,GAAG,IAAI,EAC7B,gBAAgB,EAAE,SAAS,MAAM,EAAE,GAClC,OAAO,CAET;AAED,yDAAyD;AACzD,wBAAgB,qBAAqB,CACnC,WAAW,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EACtC,cAAc,EAAE,MAAM,GAAG,IAAI,GAC5B,MAAM,GAAG,IAAI,CAEf;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,GAAG,EAAE,CAE9D;AAED,sFAAsF;AACtF,wBAAgB,sBAAsB,CACpC,IAAI,EAAE,WAAW,GAAG,IAAI,GAAG,SAAS,EACpC,MAAM,EAAE,SAAS,GAAG,EAAE,GACrB,IAAI,CAGN;AAED,6DAA6D;AAC7D,wBAAgB,sBAAsB,CACpC,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,OAAO,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OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,GAAG;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;CAAE,GAAG,IAAI,CAO5D;AAED,wBAAgB,yBAAyB,CACvC,OAAO,EAAE,oBAAoB,EAC7B,CAAC,EAAE,MAAM,EACT,CAAC,EAAE,MAAM,EACT,SAAS,GAAE,MAAM,GAAG,IAAW,GAC9B,IAAI,CAON;AAED,wBAAgB,wBAAwB,CACtC,OAAO,EAAE,oBAAoB,EAC7B,CAAC,EAAE,MAAM,EACT,CAAC,EAAE,MAAM,EACT,SAAS,GAAE,MAAM,GAAG,IAAW,GAC9B,IAAI,CAKN;AAED,wBAAgB,uBAAuB,CACrC,OAAO,EAAE,oBAAoB,EAC7B,CAAC,EAAE,MAAM,EACT,CAAC,EAAE,MAAM,EACT,SAAS,GAAE,MAAM,GAAG,IAAW,GAC9B,IAAI,CAMN;AAED,mFAAmF;AACnF,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,OAAO,CAGnF;AAED,wBAAgB,0BAA0B,CACxC,IAAI,EAAE;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,IAAI,EACrC,EAAE,EAAE;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,GAC5C,OAAO,CAMT"}
@@ -0,0 +1,33 @@
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_CLUSTER = 8;
16
+ export declare function routeOriginLevelId(route: PathResult | null | undefined): number | null;
17
+ /** Pin the camera to the start floor only when the trip itself changes. */
18
+ export declare function shouldPinViewToRouteOrigin(previousFrom: number | null, previousTo: number | null, nextFrom: number | null, nextTo: number | null): boolean;
19
+ export declare function routeVisitedLevelIds(route: PathResult): number[];
20
+ export declare function routeChangeLabel(intent: RouteChangeIntent, floorName: string): string;
21
+ export declare function routePointsOnLevel(route: PathResult, levelId: number): Vec2[];
22
+ /** Contiguous walks on one floor — a later revisit starts a new segment. */
23
+ export declare function routeSegmentsForLevel(route: PathResult, levelId: number): Vec2[][];
24
+ export declare function layoutRouteLevelChangeMarkers<T extends {
25
+ x: number;
26
+ y: number;
27
+ intent: RouteChangeIntent;
28
+ }>(markers: T[]): Array<T & {
29
+ displayX: number;
30
+ displayY: number;
31
+ }>;
32
+ export declare function routeLevelChangeMarkers(route: PathResult, levelId: number): RouteLevelChangeMarker[];
33
+ //# 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,EAA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E,CA8B1B"}
@@ -0,0 +1,6 @@
1
+ import { default as React } from 'react';
2
+ import { ViewerHoverTooltip } from '../../core';
3
+ export declare function HoverTooltip({ tooltip, }: {
4
+ tooltip: ViewerHoverTooltip | null;
5
+ }): React.JSX.Element | null;
6
+ //# sourceMappingURL=HoverTooltip.d.ts.map
@@ -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;AAO7C,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,EAA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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, onActiveLevelChange, fromAnchorId, toAnchorId, onFromChange, onToChange, accessibleOnly, onAccessibleOnlyChange, route, showSearch, showAmenities, }: RuntimeChromeProps): React.JSX.Element | null;
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