@eyeon/map 2.0.41 → 2.0.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.
Files changed (57) hide show
  1. package/dist/assets/MapViewer.css +1 -1
  2. package/dist/assets/index.css +1 -1
  3. package/dist/chunks/MapViewer.js +2668 -2515
  4. package/dist/chunks/MapViewer.js.map +1 -1
  5. package/dist/chunks/responsive.js +1715 -1579
  6. package/dist/chunks/responsive.js.map +1 -1
  7. package/dist/chunks/wheelZoom.js +160 -160
  8. package/dist/chunks/wheelZoom.js.map +1 -1
  9. package/dist/core/import/index.d.ts +7 -0
  10. package/dist/core/import/index.d.ts.map +1 -1
  11. package/dist/core/index.d.ts +1 -0
  12. package/dist/core/index.d.ts.map +1 -1
  13. package/dist/core/index.js +255 -246
  14. package/dist/core/outdoorDecoration.d.ts +3 -2
  15. package/dist/core/outdoorDecoration.d.ts.map +1 -1
  16. package/dist/core/routing/pathfinding.d.ts +7 -1
  17. package/dist/core/routing/pathfinding.d.ts.map +1 -1
  18. package/dist/core/types.d.ts +5 -0
  19. package/dist/core/types.d.ts.map +1 -1
  20. package/dist/core/verticalTransport.d.ts +37 -0
  21. package/dist/core/verticalTransport.d.ts.map +1 -0
  22. package/dist/core/websiteModal.d.ts +51 -9
  23. package/dist/core/websiteModal.d.ts.map +1 -1
  24. package/dist/editor/MapEditor.d.ts +8 -1
  25. package/dist/editor/MapEditor.d.ts.map +1 -1
  26. package/dist/editor/canvas/EditorCanvas.d.ts.map +1 -1
  27. package/dist/editor/canvas/OutdoorSvgUnderlay.d.ts +3 -1
  28. package/dist/editor/canvas/OutdoorSvgUnderlay.d.ts.map +1 -1
  29. package/dist/editor/connectorAssignments.d.ts +42 -5
  30. package/dist/editor/connectorAssignments.d.ts.map +1 -1
  31. package/dist/editor/index.css +200 -2
  32. package/dist/editor/index.js +4878 -4467
  33. package/dist/editor/index.js.map +1 -1
  34. package/dist/editor/labels.d.ts +21 -5
  35. package/dist/editor/labels.d.ts.map +1 -1
  36. package/dist/editor/panels/ClassicMapFooter.d.ts +8 -4
  37. package/dist/editor/panels/ClassicMapFooter.d.ts.map +1 -1
  38. package/dist/editor/panels/ConnectorAssign.d.ts +3 -1
  39. package/dist/editor/panels/ConnectorAssign.d.ts.map +1 -1
  40. package/dist/editor/panels/FloorsPanel.d.ts.map +1 -1
  41. package/dist/editor/panels/Inspector.d.ts +8 -3
  42. package/dist/editor/panels/Inspector.d.ts.map +1 -1
  43. package/dist/editor/panels/LeftRail.d.ts +2 -1
  44. package/dist/editor/panels/LeftRail.d.ts.map +1 -1
  45. package/dist/editor/panels/PreviewOverlay.d.ts +3 -1
  46. package/dist/editor/panels/PreviewOverlay.d.ts.map +1 -1
  47. package/dist/viewer/MapViewer.d.ts +5 -0
  48. package/dist/viewer/MapViewer.d.ts.map +1 -1
  49. package/dist/viewer/components/MapScene.d.ts +6 -1
  50. package/dist/viewer/components/MapScene.d.ts.map +1 -1
  51. package/dist/viewer/components/SvgVectorLayer.d.ts +6 -1
  52. package/dist/viewer/components/SvgVectorLayer.d.ts.map +1 -1
  53. package/dist/viewer/index.css +81 -2
  54. package/dist/viewer/index.js +4 -4
  55. package/dist/viewer/ui/WebsiteSidebar.d.ts +17 -2
  56. package/dist/viewer/ui/WebsiteSidebar.d.ts.map +1 -1
  57. package/package.json +1 -1
@@ -686,8 +686,8 @@
686
686
  padding: 6px 4px !important;
687
687
  border: 0 !important;
688
688
  border-radius: 0;
689
- background: rgba(0, 0, 0, 0.8) !important;
690
- background-color: rgba(0, 0, 0, 0.8) !important;
689
+ background: rgba(0, 0, 0, 0.7) !important;
690
+ background-color: rgba(0, 0, 0, 0.7) !important;
691
691
  color: #fff !important;
692
692
  cursor: pointer;
693
693
  }
@@ -919,21 +919,100 @@
919
919
  .eyeon-map-sidebar__directions-head {
920
920
  display: flex;
921
921
  align-items: center;
922
+ gap: 10px;
922
923
  min-height: 28px;
923
924
  margin-bottom: 10px;
924
925
  padding-right: 32px;
925
926
  }
926
927
 
927
928
  .eyeon-map-sidebar__directions-title {
929
+ flex: 0 0 auto;
928
930
  font-size: 15px;
929
931
  font-weight: 600;
930
932
  letter-spacing: -0.01em;
931
933
  }
932
934
 
935
+ .eyeon-map-sidebar__directions-using {
936
+ margin-left: 0.35em;
937
+ font-weight: 500;
938
+ }
939
+
940
+ .eyeon-map-sidebar__transport {
941
+ display: inline-flex;
942
+ align-items: stretch;
943
+ flex: 0 1 auto;
944
+ min-width: 0;
945
+ border: 1px solid #c5ced9;
946
+ background: #fff;
947
+ }
948
+
949
+ .eyeon-map-viewer button.eyeon-map-sidebar__transport-option,
950
+ .eyeon-map-viewer button.eyeon-map-sidebar__transport-option:hover,
951
+ .eyeon-map-viewer button.eyeon-map-sidebar__transport-option:focus,
952
+ .eyeon-map-viewer button.eyeon-map-sidebar__transport-option:focus-visible,
953
+ .eyeon-map-viewer button.eyeon-map-sidebar__transport-option:active {
954
+ display: inline-flex;
955
+ align-items: center;
956
+ gap: 4px;
957
+ height: 26px;
958
+ margin: 0;
959
+ padding: 0 8px !important;
960
+ border: 0 !important;
961
+ border-radius: 0 !important;
962
+ background: transparent !important;
963
+ background-color: transparent !important;
964
+ box-shadow: none !important;
965
+ color: #0f172a !important;
966
+ font-size: 11px;
967
+ font-weight: 600;
968
+ line-height: 1;
969
+ letter-spacing: 0;
970
+ text-transform: none;
971
+ white-space: nowrap;
972
+ cursor: pointer;
973
+ }
974
+
975
+ .eyeon-map-viewer button.eyeon-map-sidebar__transport-option + button.eyeon-map-sidebar__transport-option {
976
+ border-left: 1px solid #c5ced9 !important;
977
+ }
978
+
979
+ .eyeon-map-viewer button.eyeon-map-sidebar__transport-option--selected,
980
+ .eyeon-map-viewer button.eyeon-map-sidebar__transport-option--selected:hover,
981
+ .eyeon-map-viewer button.eyeon-map-sidebar__transport-option--selected:focus,
982
+ .eyeon-map-viewer button.eyeon-map-sidebar__transport-option--selected:focus-visible,
983
+ .eyeon-map-viewer button.eyeon-map-sidebar__transport-option--selected:active {
984
+ background: rgba(0, 0, 0, 0.8) !important;
985
+ background-color: rgba(0, 0, 0, 0.8) !important;
986
+ color: #fff !important;
987
+ }
988
+
989
+ .eyeon-map-sidebar__transport-icon {
990
+ display: flex;
991
+ align-items: center;
992
+ justify-content: center;
993
+ width: 14px;
994
+ height: 14px;
995
+ flex: 0 0 14px;
996
+ }
997
+
998
+ .eyeon-map-sidebar__transport-icon svg {
999
+ display: block;
1000
+ width: 14px;
1001
+ height: 14px;
1002
+ }
1003
+
933
1004
  .eyeon-map-sidebar__directions-row {
934
1005
  position: relative;
935
1006
  }
936
1007
 
1008
+ .eyeon-map-sidebar__route-error {
1009
+ margin-top: 8px;
1010
+ color: #b42318;
1011
+ font-size: 12px;
1012
+ font-weight: 600;
1013
+ line-height: 1.35;
1014
+ }
1015
+
937
1016
  .eyeon-map-sidebar__directions-row .eyeon-map-sidebar__swap {
938
1017
  position: absolute;
939
1018
  top: 50%;
@@ -1425,6 +1504,21 @@
1425
1504
  text-align: right;
1426
1505
  }
1427
1506
 
1507
+ .eyeon-map-version--stack {
1508
+ flex-direction: column;
1509
+ align-items: flex-start;
1510
+ gap: 10px;
1511
+ }
1512
+
1513
+ .eyeon-map-version--stack .eyeon-map-version__delete {
1514
+ margin-left: 0;
1515
+ text-align: left;
1516
+ }
1517
+
1518
+ .eyeon-map-settings-classic .eyeon-map-rail__nav-sep {
1519
+ margin: 16px 0 12px;
1520
+ }
1521
+
1428
1522
  .eyeon-map-version__link:hover:not(:disabled),
1429
1523
  .eyeon-map-version__link:focus-visible:not(:disabled) {
1430
1524
  color: #0763b1;
@@ -1521,6 +1615,110 @@
1521
1615
  gap: 4px;
1522
1616
  }
1523
1617
 
1618
+ .eyeon-map-rail__ride {
1619
+ display: flex;
1620
+ align-items: flex-start;
1621
+ gap: 8px;
1622
+ width: 100%;
1623
+ padding: 7px 8px;
1624
+ border: 0;
1625
+ border-radius: 6px;
1626
+ background: transparent;
1627
+ color: inherit;
1628
+ font: inherit;
1629
+ text-align: left;
1630
+ cursor: pointer;
1631
+ }
1632
+
1633
+ .eyeon-map-rail__ride:hover,
1634
+ .eyeon-map-rail__ride.is-active {
1635
+ background: #f1f5f9;
1636
+ }
1637
+
1638
+ .eyeon-map-rail__ride .eyeon-map-rail__row-icon {
1639
+ margin-top: 2px;
1640
+ }
1641
+
1642
+ .eyeon-map-rail__ride .eyeon-map-rail__row-copy {
1643
+ gap: 2px;
1644
+ }
1645
+
1646
+ .eyeon-map-rail__stop {
1647
+ display: flex;
1648
+ align-items: center;
1649
+ justify-content: space-between;
1650
+ gap: 8px;
1651
+ width: 100%;
1652
+ min-width: 0;
1653
+ padding: 2px 0;
1654
+ }
1655
+
1656
+ .eyeon-map-connector__stops {
1657
+ display: flex;
1658
+ flex-direction: column;
1659
+ gap: 4px;
1660
+ }
1661
+
1662
+ .eyeon-map-connector__stop {
1663
+ display: flex;
1664
+ align-items: center;
1665
+ gap: 8px;
1666
+ min-width: 0;
1667
+ min-height: 28px;
1668
+ border-radius: 6px;
1669
+ }
1670
+
1671
+ .eyeon-map-connector__stop.is-active {
1672
+ background: #f1f5f9;
1673
+ }
1674
+
1675
+ .eyeon-map-connector__stop-hit {
1676
+ display: flex;
1677
+ align-items: center;
1678
+ gap: 8px;
1679
+ flex: 1;
1680
+ min-width: 0;
1681
+ border: 0;
1682
+ background: transparent;
1683
+ color: inherit;
1684
+ font: inherit;
1685
+ text-align: left;
1686
+ cursor: pointer;
1687
+ padding: 2px 4px;
1688
+ border-radius: 6px;
1689
+ }
1690
+
1691
+ .eyeon-map-connector__stop-hit:hover {
1692
+ background: #f1f5f9;
1693
+ }
1694
+
1695
+ .eyeon-map-connector__stop .eyeon-map-rail__row-id {
1696
+ flex: 0 1 auto;
1697
+ }
1698
+
1699
+ .eyeon-map-connector__remove {
1700
+ display: inline-flex;
1701
+ align-items: center;
1702
+ justify-content: center;
1703
+ width: 28px;
1704
+ height: 28px;
1705
+ margin-left: auto;
1706
+ border: 0;
1707
+ border-radius: 6px;
1708
+ background: transparent;
1709
+ color: #dc2626;
1710
+ cursor: pointer;
1711
+ flex-shrink: 0;
1712
+ }
1713
+
1714
+ .eyeon-map-connector__remove:hover {
1715
+ background: rgba(220, 38, 38, 0.1);
1716
+ }
1717
+
1718
+ .eyeon-map-connector__fields {
1719
+ margin-top: 16px;
1720
+ }
1721
+
1524
1722
  .eyeon-map-rail__row.is-active,
1525
1723
  .eyeon-map-rail__row:hover {
1526
1724
  background: #f1f5f9;