@kiva/kv-shop 3.7.76 → 3.7.78
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.
|
@@ -39,7 +39,12 @@ const x = {
|
|
|
39
39
|
cx: 1116.78,
|
|
40
40
|
cy: 451.16,
|
|
41
41
|
xMax: 1190.78,
|
|
42
|
-
yMax: 521.76
|
|
42
|
+
yMax: 521.76,
|
|
43
|
+
// Main continent — tighter than full bbox with remote islands
|
|
44
|
+
popupCx: 1120,
|
|
45
|
+
popupCy: 450,
|
|
46
|
+
popupXMax: 1170,
|
|
47
|
+
popupYMax: 500
|
|
43
48
|
},
|
|
44
49
|
AT: {
|
|
45
50
|
cx: 682.12,
|
|
@@ -147,7 +152,12 @@ const x = {
|
|
|
147
152
|
cx: 361.59,
|
|
148
153
|
cy: 78.04,
|
|
149
154
|
xMax: 502.28,
|
|
150
|
-
yMax: 154.65
|
|
155
|
+
yMax: 154.65,
|
|
156
|
+
// Southern populated mainland — excludes Arctic archipelago
|
|
157
|
+
popupCx: 330,
|
|
158
|
+
popupCy: 105,
|
|
159
|
+
popupXMax: 420,
|
|
160
|
+
popupYMax: 140
|
|
151
161
|
},
|
|
152
162
|
CH: {
|
|
153
163
|
cx: 665.97,
|
|
@@ -159,7 +169,12 @@ const x = {
|
|
|
159
169
|
cx: 406.26,
|
|
160
170
|
cy: 490.74,
|
|
161
171
|
xMax: 431.06,
|
|
162
|
-
yMax: 571.28
|
|
172
|
+
yMax: 571.28,
|
|
173
|
+
// Central Chile (Santiago region) — avoids extreme N-S elongation
|
|
174
|
+
popupCx: 410,
|
|
175
|
+
popupCy: 475,
|
|
176
|
+
popupXMax: 425,
|
|
177
|
+
popupYMax: 500
|
|
163
178
|
},
|
|
164
179
|
CN: {
|
|
165
180
|
cx: 986.5,
|
|
@@ -387,13 +402,23 @@ const x = {
|
|
|
387
402
|
cx: 1077.13,
|
|
388
403
|
cy: 345.31,
|
|
389
404
|
xMax: 1162.16,
|
|
390
|
-
yMax: 379.27
|
|
405
|
+
yMax: 379.27,
|
|
406
|
+
// Java/Bali region — most populated; avoids geometric center in open sea
|
|
407
|
+
popupCx: 1065,
|
|
408
|
+
popupCy: 360,
|
|
409
|
+
popupXMax: 1095,
|
|
410
|
+
popupYMax: 378
|
|
391
411
|
},
|
|
392
412
|
IN: {
|
|
393
413
|
cx: 937.01,
|
|
394
414
|
cy: 241.69,
|
|
395
415
|
xMax: 988.21,
|
|
396
|
-
yMax: 300.71
|
|
416
|
+
yMax: 300.71,
|
|
417
|
+
// Indian peninsula — excludes Andaman/Nicobar and Lakshadweep
|
|
418
|
+
popupCx: 942,
|
|
419
|
+
popupCy: 240,
|
|
420
|
+
popupXMax: 975,
|
|
421
|
+
popupYMax: 280
|
|
397
422
|
},
|
|
398
423
|
IE: {
|
|
399
424
|
cx: 613.51,
|
|
@@ -615,7 +640,12 @@ const x = {
|
|
|
615
640
|
cx: 1045.2,
|
|
616
641
|
cy: 318.33,
|
|
617
642
|
xMax: 1080.71,
|
|
618
|
-
yMax: 331.5
|
|
643
|
+
yMax: 331.5,
|
|
644
|
+
// Peninsular Malaysia — avoids centroid falling in sea between halves
|
|
645
|
+
popupCx: 1018,
|
|
646
|
+
popupCy: 318,
|
|
647
|
+
popupXMax: 1027,
|
|
648
|
+
popupYMax: 330
|
|
619
649
|
},
|
|
620
650
|
NA: {
|
|
621
651
|
cx: 706.27,
|
|
@@ -651,7 +681,12 @@ const x = {
|
|
|
651
681
|
cx: 687.84,
|
|
652
682
|
cy: 48.37,
|
|
653
683
|
xMax: 722.29,
|
|
654
|
-
yMax: 88.49
|
|
684
|
+
yMax: 88.49,
|
|
685
|
+
// Southern mainland — excludes Svalbard/Arctic pulling centroid far north
|
|
686
|
+
popupCx: 680,
|
|
687
|
+
popupCy: 75,
|
|
688
|
+
popupXMax: 700,
|
|
689
|
+
popupYMax: 89
|
|
655
690
|
},
|
|
656
691
|
NP: {
|
|
657
692
|
cx: 940.71,
|
|
@@ -663,7 +698,12 @@ const x = {
|
|
|
663
698
|
cx: 1222.95,
|
|
664
699
|
cy: 508.39,
|
|
665
700
|
xMax: 1256.51,
|
|
666
|
-
yMax: 534.29
|
|
701
|
+
yMax: 534.29,
|
|
702
|
+
// North + South Island — excludes distant Chatham Islands inflating west
|
|
703
|
+
popupCx: 1242,
|
|
704
|
+
popupCy: 510,
|
|
705
|
+
popupXMax: 1257,
|
|
706
|
+
popupYMax: 535
|
|
667
707
|
},
|
|
668
708
|
OM: {
|
|
669
709
|
cx: 842.43,
|
|
@@ -747,7 +787,12 @@ const x = {
|
|
|
747
787
|
cx: 929.32,
|
|
748
788
|
cy: 82.39,
|
|
749
789
|
xMax: 1158.54,
|
|
750
|
-
yMax: 158.22
|
|
790
|
+
yMax: 158.22,
|
|
791
|
+
// Central Russia — avoids extreme east-west spread
|
|
792
|
+
popupCx: 900,
|
|
793
|
+
popupCy: 95,
|
|
794
|
+
popupXMax: 1e3,
|
|
795
|
+
popupYMax: 135
|
|
751
796
|
},
|
|
752
797
|
RW: {
|
|
753
798
|
cx: 749.91,
|
|
@@ -921,7 +966,12 @@ const x = {
|
|
|
921
966
|
cx: 237.09,
|
|
922
967
|
cy: 146.09,
|
|
923
968
|
xMax: 416.07,
|
|
924
|
-
yMax: 253.75
|
|
969
|
+
yMax: 253.75,
|
|
970
|
+
// Continental US mainland — excludes Alaska/Hawaii bbox inflation
|
|
971
|
+
popupCx: 275,
|
|
972
|
+
popupCy: 175,
|
|
973
|
+
popupXMax: 340,
|
|
974
|
+
popupYMax: 210
|
|
925
975
|
},
|
|
926
976
|
UZ: {
|
|
927
977
|
cx: 856.34,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.kv-simple-map__pan-layer[data-v-
|
|
1
|
+
.kv-simple-map__pan-layer[data-v-0abc47d3]{transform-origin:0 0}.kv-simple-map__control-btn[data-v-0abc47d3]{display:flex;height:2rem;width:2rem;cursor:pointer;align-items:center;justify-content:center;border-radius:.25rem;border-width:.0625rem;--tw-border-opacity: 1;border-color:rgba(var(--border-tertiary),var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));--tw-shadow: 0 1px 4px 0 rgb(0 0 0 / .08);--tw-shadow-colored: 0 1px 4px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.kv-simple-map__control-btn[data-v-0abc47d3]:disabled{cursor:default;opacity:.3}.kv-simple-map__control-btn[data-v-0abc47d3]:hover:not(:disabled){--tw-bg-opacity: 1;background-color:rgba(var(--bg-secondary),var(--tw-bg-opacity, 1))}.kv-simple-map__play-btn[data-v-0abc47d3]{border-radius:500rem}.kv-simple-map__default-popup[data-v-0abc47d3]{white-space:nowrap;border-radius:.5rem;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding:.5rem 1.5rem;text-align:center;--tw-shadow: 0 1px 4px 0 rgb(0 0 0 / .08);--tw-shadow-colored: 0 1px 4px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);min-width:80px}.kv-simple-map__popup[data-v-0abc47d3]{height:0;width:0}.kv-simple-map__popup-content[data-v-0abc47d3]{position:absolute;white-space:nowrap}.kv-simple-map__popup--top>.kv-simple-map__popup-content[data-v-0abc47d3]{bottom:var(--kv-simple-map-popup-offset, 4px);left:0;transform:translate(-50%)}.kv-simple-map__popup--bottom>.kv-simple-map__popup-content[data-v-0abc47d3]{top:var(--kv-simple-map-popup-offset, 4px);left:0;transform:translate(-50%)}.kv-simple-map__popup--bottom-right>.kv-simple-map__popup-content[data-v-0abc47d3]{top:var(--kv-simple-map-popup-offset, 4px);left:var(--kv-simple-map-popup-offset, 4px)}.kv-simple-map-popup-enter-active[data-v-0abc47d3],.kv-simple-map-popup-leave-active[data-v-0abc47d3]{transition:opacity .18s ease-out}.kv-simple-map-popup-enter-from[data-v-0abc47d3],.kv-simple-map-popup-leave-to[data-v-0abc47d3]{opacity:0}.kv-simple-map-popup-enter-to[data-v-0abc47d3],.kv-simple-map-popup-leave-from[data-v-0abc47d3]{opacity:1}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { mdiPlus as
|
|
1
|
+
import { defineComponent as Xe, useSlots as Ye, computed as n, ref as x, watch as Y, createElementBlock as h, onMounted as qe, onBeforeUnmount as je, openBlock as w, normalizeStyle as N, createElementVNode as M, createCommentVNode as D, Fragment as Ke, renderList as We, unref as _, createVNode as L, Transition as Ge, withCtx as Je, normalizeClass as Qe, renderSlot as et, toDisplayString as re } from "vue";
|
|
2
|
+
import { mdiPlus as tt, mdiMinus as lt, mdiPlay as at } from "@mdi/js";
|
|
3
3
|
import S from "@kiva/kv-tokens";
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import { ALL_COUNTRIES_ISO_MAP as
|
|
8
|
-
import { useMapTourCycle as
|
|
4
|
+
import ot from "../data/simpleMapPaths.js";
|
|
5
|
+
import nt from "../data/simpleMapCountryPaths.js";
|
|
6
|
+
import F from "../data/simpleMapCentroids.js";
|
|
7
|
+
import { ALL_COUNTRIES_ISO_MAP as ie } from "../data/allCountriesISOMap.js";
|
|
8
|
+
import { useMapTourCycle as ut } from "../utils/useMapTourCycle.js";
|
|
9
9
|
import q from "./KvMaterialIcon.js";
|
|
10
|
-
const
|
|
10
|
+
const rt = ["viewBox"], it = ["d", "fill", "onPointerenter", "onPointerleave"], st = {
|
|
11
11
|
key: 0,
|
|
12
12
|
class: "kv-simple-map__zoom-controls tw-absolute tw-top-2 tw-right-2 tw-flex tw-flex-col tw-gap-1"
|
|
13
|
-
},
|
|
13
|
+
}, ct = ["disabled"], pt = ["disabled"], vt = { class: "kv-simple-map__popup-layer tw-absolute tw-inset-0 tw-pointer-events-none" }, mt = { class: "kv-simple-map__popup-content" }, ft = { class: "kv-simple-map__default-popup" }, dt = {
|
|
14
14
|
key: 0,
|
|
15
15
|
class: "tw-text-label"
|
|
16
|
-
},
|
|
16
|
+
}, yt = {
|
|
17
17
|
key: 1,
|
|
18
18
|
class: "tw-text-caption"
|
|
19
|
-
}, P = 1300.02, B = 571.784,
|
|
19
|
+
}, P = 1300.02, B = 571.784, xt = "cubic-bezier(0.76, 0, 0.24, 1)", ht = 60;
|
|
20
20
|
P / B, S.colors["eco-green"].DEFAULT, S.colors.gray[200];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kiva/kv-shop",
|
|
3
|
-
"version": "3.7.
|
|
3
|
+
"version": "3.7.78",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@apollo/client": "^3.13.1",
|
|
36
36
|
"@kiva/kv-analytics": "^1.3.1",
|
|
37
|
-
"@kiva/kv-components": "^8.13.
|
|
37
|
+
"@kiva/kv-components": "^8.13.3",
|
|
38
38
|
"@kiva/vite-plugin-vue-lib-css": "^2.0.0",
|
|
39
39
|
"@types/braintree-web-drop-in": "^1.39.3",
|
|
40
40
|
"@types/jest": "^29.5.14",
|
|
@@ -63,5 +63,5 @@
|
|
|
63
63
|
"numeral": "2.x",
|
|
64
64
|
"vue": "3.x"
|
|
65
65
|
},
|
|
66
|
-
"gitHead": "
|
|
66
|
+
"gitHead": "351df7e5ef5fcaff1a4f99394321c549da15a435"
|
|
67
67
|
}
|