@mapxus/mapxus-map-jp 10.0.1 → 10.1.0

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.
@@ -1,8 +1,8 @@
1
1
  import { dispatch as a } from "d3-dispatch";
2
- import { HTTPSession as c, SDKName as o, base64Encode as I, reportLog as l } from "@mapxus/mapxus-auth-jp";
3
- const S = "10.0.1", E = {
4
- version: S
5
- }, h = E.version, p = "https://map-api.mapxus.co.jp/bms", K = 10, L = 1, G = "api/v5/venues", $ = "api/v5/buildings", B = "api/v5/pois", P = "api/v5/categories/group", U = "api/v4/route/query", z = "api/v3/tiles/styles";
2
+ import { HTTPSession as c, SDKName as o, base64Encode as I, reportLog as E } from "@mapxus/mapxus-auth-jp";
3
+ const l = "10.1.0", S = {
4
+ version: l
5
+ }, h = S.version, p = "https://map-api.mapxus.co.jp/bms", K = 10, G = 1, L = "api/v5/venues", P = "api/v5/buildings", $ = "api/v5/pois", B = "api/v4/route/query", C = "api/v3/tiles/styles", U = "api/v5/categories/group", z = "api/v1/categories/tree";
6
6
  class e {
7
7
  static instance;
8
8
  _globalDispatcher;
@@ -27,7 +27,7 @@ class e {
27
27
  ), this._httpSession.setBaseURL(p), this._httpSession.setRetryConfig(3)), this._httpSession;
28
28
  }
29
29
  registerSDK() {
30
- this._isSDKInitialized || (this._isSDKInitialized = !0, l(`${o.MapSDK} initialized`));
30
+ this._isSDKInitialized || (this._isSDKInitialized = !0, E(`${o.MapSDK} initialized`));
31
31
  }
32
32
  get theme() {
33
33
  return this._theme;
@@ -45,11 +45,11 @@ n.MapxusMapEvents = n.MapxusMapEvents || {};
45
45
  n.MapxusMapEvents.on = function(s, t) {
46
46
  return r.on(s, t), { off: () => r.on(s, null) };
47
47
  };
48
- const C = "reserve_mapxus-level-fill", F = "reserve_mapxus-shared-level-fill", V = "reserve_mapxus-building-fill";
48
+ const F = "reserve_mapxus-level-fill", Y = "reserve_mapxus-shared-level-fill", V = "reserve_mapxus-building-fill";
49
49
  var i = /* @__PURE__ */ ((s) => (s.ENGLISH = "en", s.CHINESE_SIMPLIFIED = "zh-Hans", s.CHINESE_TRADITIONAL = "zh-Hant", s.CHINESE_TRADITIONAL_TW = "zh-Hant-TW", s.JAPANESE = "ja", s.KOREAN = "ko", s.FILIPINO = "fil", s.INDONESIAN = "id", s.PORTUGUESE = "pt", s.THAI = "th", s.VIETNAMESE = "vi", s.ARABIC = "ar", s))(i || {});
50
- function Y(s) {
50
+ function W(s) {
51
51
  let t = null;
52
- return f(s) ? t = i.ENGLISH : T(s) ? t = i.CHINESE_SIMPLIFIED : _(s) ? t = i.CHINESE_TRADITIONAL : N(s) ? t = i.CHINESE_TRADITIONAL_TW : u(s) ? t = i.JAPANESE : D(s) ? t = i.KOREAN : O(s) ? t = i.FILIPINO : R(s) ? t = i.INDONESIAN : H(s) ? t = i.PORTUGUESE : v(s) ? t = i.THAI : d(s) ? t = i.VIETNAMESE : m(s) && (t = i.ARABIC), t;
52
+ return f(s) ? t = i.ENGLISH : T(s) ? t = i.CHINESE_SIMPLIFIED : _(s) ? t = i.CHINESE_TRADITIONAL : N(s) ? t = i.CHINESE_TRADITIONAL_TW : u(s) ? t = i.JAPANESE : R(s) ? t = i.KOREAN : O(s) ? t = i.FILIPINO : D(s) ? t = i.INDONESIAN : v(s) ? t = i.PORTUGUESE : H(s) ? t = i.THAI : d(s) ? t = i.VIETNAMESE : m(s) && (t = i.ARABIC), t;
53
53
  }
54
54
  function f(s) {
55
55
  return /^en(-(US|GB|AU))?$/.test(s);
@@ -66,19 +66,19 @@ function N(s) {
66
66
  function u(s) {
67
67
  return /^ja(-JP)?$/.test(s);
68
68
  }
69
- function D(s) {
69
+ function R(s) {
70
70
  return /^ko(-KR)?$/.test(s);
71
71
  }
72
72
  function O(s) {
73
73
  return /^(fil|tl)(-PH)?$/.test(s);
74
74
  }
75
- function R(s) {
75
+ function D(s) {
76
76
  return /^id(-ID)?$/.test(s);
77
77
  }
78
- function H(s) {
78
+ function v(s) {
79
79
  return /^pt(-(BR|PT))?$/.test(s);
80
80
  }
81
- function v(s) {
81
+ function H(s) {
82
82
  return /^th(-TH)?$/.test(s);
83
83
  }
84
84
  function d(s) {
@@ -90,21 +90,22 @@ function m(s) {
90
90
  );
91
91
  }
92
92
  export {
93
- C as A,
94
- $ as B,
93
+ F as A,
94
+ P as B,
95
95
  e as C,
96
96
  A as E,
97
97
  K as O,
98
98
  i as P,
99
- U as R,
100
- z as S,
101
- G as V,
102
- B as a,
103
- L as b,
104
- Y as c,
105
- P as d,
106
- F as e,
99
+ B as R,
100
+ C as S,
101
+ L as V,
102
+ $ as a,
103
+ G as b,
104
+ W as c,
105
+ U as d,
106
+ Y as e,
107
107
  V as f,
108
108
  p as g,
109
- h
109
+ h,
110
+ z as i
110
111
  };
@@ -1,4 +1,4 @@
1
- import { e as s, A as a, E as S, b as O, O as R, h as A, c as E } from "../languages-D7yV3lDz.mjs";
1
+ import { e as s, A as a, E as S, b as O, O as R, h as A, c as E } from "../languages-D139G_8L.mjs";
2
2
  const o = {
3
3
  convertBrowserLangToPresetLang: E,
4
4
  VERSION: A,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mapxus/mapxus-map-jp",
3
- "version": "10.0.1",
3
+ "version": "10.1.0",
4
4
  "description": "mapxus map web sdk - kawasaki-prod",
5
5
  "main": "dist/utils.cjs",
6
6
  "unpkg": "dist/index.umd.js",
Binary file