@usssa/component-library 1.0.0-alpha.36 → 1.0.0-alpha.37
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.
- package/README.md +1 -1
- package/package.json +5 -1
- package/src/assets/maps.js +0 -40
package/README.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@usssa/component-library",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.37",
|
|
4
4
|
"description": "A Quasar component library project",
|
|
5
5
|
"productName": "Quasar component library App",
|
|
6
6
|
"author": "Troy Moreland <troy.moreland@usssa.com>",
|
|
@@ -22,6 +22,10 @@
|
|
|
22
22
|
"build": "quasar build",
|
|
23
23
|
"start": "node --experimental-detect-module index.js"
|
|
24
24
|
},
|
|
25
|
+
"repository": {
|
|
26
|
+
"type": "git",
|
|
27
|
+
"url": "git+https://github.com/usssa-org/component-library.git"
|
|
28
|
+
},
|
|
25
29
|
"dependencies": {
|
|
26
30
|
"@fawmi/vue-google-maps": "^0.9.79",
|
|
27
31
|
"@quasar/extras": "^1.16.4",
|
package/src/assets/maps.js
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
;((g) => {
|
|
2
|
-
let h,
|
|
3
|
-
a,
|
|
4
|
-
k,
|
|
5
|
-
p = 'The Google Maps JavaScript API',
|
|
6
|
-
c = 'google',
|
|
7
|
-
l = 'importLibrary',
|
|
8
|
-
q = '__ib__',
|
|
9
|
-
m = document,
|
|
10
|
-
b = window
|
|
11
|
-
b = b[c] || (b[c] = {})
|
|
12
|
-
var d = b.maps || (b.maps = {}),
|
|
13
|
-
r = new Set(),
|
|
14
|
-
e = new URLSearchParams(),
|
|
15
|
-
u = () =>
|
|
16
|
-
h ||
|
|
17
|
-
(h = new Promise(async (f, n) => {
|
|
18
|
-
await (a = m.createElement('script'))
|
|
19
|
-
e.set('libraries', [...r] + '')
|
|
20
|
-
for (k in g)
|
|
21
|
-
e.set(
|
|
22
|
-
k.replace(/[A-Z]/g, (t) => '_' + t[0].toLowerCase()),
|
|
23
|
-
g[k]
|
|
24
|
-
)
|
|
25
|
-
e.set('callback', c + '.maps.' + q)
|
|
26
|
-
a.src = `https://maps.${c}apis.com/maps/api/js?` + e
|
|
27
|
-
d[q] = f
|
|
28
|
-
a.onerror = () => (h = n(Error(p + ' could not load.')))
|
|
29
|
-
a.nonce = m.querySelector('script[nonce]')?.nonce || ''
|
|
30
|
-
m.head.append(a)
|
|
31
|
-
}))
|
|
32
|
-
d[l]
|
|
33
|
-
? console.warn(p + ' only loads once. Ignoring:', g)
|
|
34
|
-
: (d[l] = (f, ...n) => r.add(f) && u().then(() => d[l](f, ...n)))
|
|
35
|
-
})({
|
|
36
|
-
key: 'AIzaSyCUda4H5O67XNdBnIwRi3jiYrj41zTRbUk',
|
|
37
|
-
v: 'weekly',
|
|
38
|
-
// Use the 'v' parameter to indicate the version to use (weekly, beta, alpha, etc.).
|
|
39
|
-
// Add other bootstrap parameters as needed, using camel case.
|
|
40
|
-
})
|