iticket-seatingplan-dev 1.5.1 → 1.5.3

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.
@@ -14,33 +14,6 @@ var _utils = require("../utils");
14
14
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
15
15
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
16
16
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
17
- const fitIcon = {
18
- pathname: "\\src\\lib\\components\\assets\\fit-icon.jpg",
19
- src: "\\src\\lib\\components\\assets\\fit-icon.jpg",
20
- type: "vnd.microsoft.icon",
21
- width: 0,
22
- height: 0,
23
- aspectRatio: NaN,
24
- heightToWidthRatio: NaN
25
- };
26
- const refreshIcon = {
27
- pathname: "\\src\\lib\\components\\assets\\refresh.png",
28
- src: "\\src\\lib\\components\\assets\\refresh.png",
29
- type: "png",
30
- width: 512,
31
- height: 512,
32
- aspectRatio: 1,
33
- heightToWidthRatio: 1
34
- };
35
- const rippleload = {
36
- pathname: "\\src\\lib\\components\\assets\\rippleload.gif",
37
- src: "\\src\\lib\\components\\assets\\rippleload.gif",
38
- type: "gif",
39
- width: 200,
40
- height: 200,
41
- aspectRatio: 1,
42
- heightToWidthRatio: 1
43
- };
44
17
  function Map(_ref) {
45
18
  let {
46
19
  seats,
@@ -140,7 +113,7 @@ function Map(_ref) {
140
113
  onClick: () => map.fitBounds(bounds),
141
114
  className: "leaflet-control-zoom-in"
142
115
  }, /*#__PURE__*/_react.default.createElement("img", {
143
- src: fitIcon,
116
+ src: "https://au-iticket-shop-legacy.azurewebsites.net/assets/images/fit-icon.jpg",
144
117
  style: {
145
118
  height: "17px"
146
119
  }
@@ -157,7 +130,7 @@ function Map(_ref) {
157
130
  }
158
131
  }, /*#__PURE__*/_react.default.createElement("img", {
159
132
  className: isReloading ? "rotate" : "",
160
- src: refreshIcon,
133
+ src: "https://au-iticket-shop-legacy.azurewebsites.net/assets/images/refresh.png",
161
134
  style: {
162
135
  height: "17px"
163
136
  }
@@ -196,7 +169,7 @@ function Map(_ref) {
196
169
  return /*#__PURE__*/_react.default.createElement("div", {
197
170
  key: i
198
171
  }, /*#__PURE__*/_react.default.createElement(_reactLeaflet.ImageOverlay, {
199
- url: rippleload,
172
+ url: "https://iticketseatingplan.blob.core.windows.net/embed/static/media/rippleload.08e6a08dd832819226ef.gif",
200
173
  bounds: [[(s.r.includes("NORTH") ? height / 33.33 - height / 33.33 * s.y * 0.0105 + 1.4 : height * 0.05 - s.y / (height > 800 ? height > 999 ? 3.45 : 3.3 : 3.35) - (height > 800 ? height > 999 ? height * 0.0201 : height * 0.0198 : height > 587 ? height * 0.0201 : height > 399 ? height * 0.02035 : height * 0.0207)) - 0.11, s.x * 0.3 + 0.15 - 0.11], [(s.r.includes("NORTH") ? height / 33.33 - height / 33.33 * s.y * 0.0105 + 1.4 : height * 0.05 - s.y / (height > 800 ? height > 999 ? 3.45 : 3.3 : 3.35) - (height > 800 ? height > 999 ? height * 0.0201 : height * 0.0198 : height > 587 ? height * 0.0201 : height > 399 ? height * 0.02035 : height * 0.0207)) + 0.11, s.x * 0.3 + 0.15 + 0.11]
201
174
  // [height * 0.0302 - s.y * 0.602 - 0.3, s.x * 0.61 - 0.3],
202
175
  // [height * 0.0302 - s.y * 0.602 + 0.3, s.x * 0.61 + 0.3],
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "iticket-seatingplan-dev",
3
3
  "description": "Seating plan with FLEXi pricing",
4
4
  "author": "gedwyne",
5
- "version": "1.5.1",
5
+ "version": "1.5.3",
6
6
  "private": false,
7
7
  "keywords": [
8
8
  "iticket",
@@ -16,7 +16,6 @@
16
16
  ],
17
17
  "dependencies": {
18
18
  "@babel/polyfill": "^7.12.1",
19
- "babel-plugin-transform-media-imports": "^1.4.8",
20
19
  "leaflet": "^1.9.3",
21
20
  "leaflet-gesture-handling": "^1.2.2",
22
21
  "react": "^18.3.1",