ember-tribe 2.4.5 → 2.4.7
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,29 +1,52 @@
|
|
|
1
|
-
<!
|
|
1
|
+
<!doctype html>
|
|
2
2
|
<html>
|
|
3
3
|
<head>
|
|
4
|
-
<meta charset="utf-8"
|
|
4
|
+
<meta charset="utf-8" />
|
|
5
5
|
<title><%= classifiedPackageName %></title>
|
|
6
|
-
<meta name="description" content=""
|
|
7
|
-
<meta name="viewport" content="width=device-width, initial-scale=1"
|
|
6
|
+
<meta name="description" content="" />
|
|
7
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
8
8
|
|
|
9
9
|
{{content-for "head"}}
|
|
10
10
|
|
|
11
|
-
<link rel="manifest" href="{{rootURL}}manifest.webmanifest"
|
|
12
|
-
<meta name="msapplication-config" content="{{rootURL}}browserconfig.xml"
|
|
11
|
+
<link rel="manifest" href="{{rootURL}}manifest.webmanifest" />
|
|
12
|
+
<meta name="msapplication-config" content="{{rootURL}}browserconfig.xml" />
|
|
13
13
|
|
|
14
|
-
<link integrity="" rel="stylesheet" href="{{rootURL}}assets/vendor.css"
|
|
15
|
-
<link
|
|
16
|
-
|
|
14
|
+
<link integrity="" rel="stylesheet" href="{{rootURL}}assets/vendor.css" />
|
|
15
|
+
<link
|
|
16
|
+
integrity=""
|
|
17
|
+
rel="stylesheet"
|
|
18
|
+
href="{{rootURL}}assets/<%= dasherizedPackageName %>.css"
|
|
19
|
+
/>
|
|
20
|
+
<link
|
|
21
|
+
rel="stylesheet"
|
|
22
|
+
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css"
|
|
23
|
+
/>
|
|
17
24
|
|
|
18
25
|
{{content-for "head-footer"}}
|
|
19
26
|
</head>
|
|
20
27
|
<body>
|
|
28
|
+
<div
|
|
29
|
+
class="d-flex align-items-center justify-content-center vh-100 w-100 position-fixed animate__animated animate__fadeIn animate__faster"
|
|
30
|
+
id="loading"
|
|
31
|
+
style="z-index: 11001"
|
|
32
|
+
>
|
|
33
|
+
<div class="position-relative" role="status" style="z-index: 1">
|
|
34
|
+
<div class="spinner-grow text-primary" role="status">
|
|
35
|
+
<span class="visually-hidden">Loading...</span>
|
|
36
|
+
</div>
|
|
37
|
+
</div>
|
|
38
|
+
<div
|
|
39
|
+
style="z-index: 0"
|
|
40
|
+
class="position-absolute vh-100 w-100 bg-light opacity-75"
|
|
41
|
+
></div>
|
|
42
|
+
</div>
|
|
43
|
+
|
|
21
44
|
{{content-for "body"}}
|
|
22
45
|
|
|
23
|
-
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.
|
|
46
|
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/js/all.min.js"></script>
|
|
24
47
|
<script src="{{rootURL}}assets/vendor.js"></script>
|
|
25
48
|
<script src="{{rootURL}}assets/<%= dasherizedPackageName %>.js"></script>
|
|
26
|
-
|
|
49
|
+
|
|
27
50
|
{{content-for "body-footer"}}
|
|
28
51
|
</body>
|
|
29
52
|
</html>
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import Route from '@ember/routing/route';
|
|
2
2
|
import * as bootstrap from 'bootstrap';
|
|
3
3
|
import { service } from '@ember/service';
|
|
4
|
+
import { later } from '@ember/runloop';
|
|
5
|
+
import { action } from '@ember/object';
|
|
4
6
|
|
|
5
7
|
export default class ApplicationRoute extends Route {
|
|
6
8
|
@service types;
|
|
@@ -8,4 +10,20 @@ export default class ApplicationRoute extends Route {
|
|
|
8
10
|
async beforeModel() {
|
|
9
11
|
await this.types.fetchAgain();
|
|
10
12
|
}
|
|
13
|
+
|
|
14
|
+
@action
|
|
15
|
+
didTransition() {
|
|
16
|
+
later(
|
|
17
|
+
this,
|
|
18
|
+
() => {
|
|
19
|
+
document.querySelector('#loading').classList.add('d-none');
|
|
20
|
+
},
|
|
21
|
+
50,
|
|
22
|
+
);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
@action
|
|
26
|
+
willTransition() {
|
|
27
|
+
document.querySelector('#loading').classList.remove('d-none');
|
|
28
|
+
}
|
|
11
29
|
}
|
|
@@ -26,7 +26,6 @@ module.exports = {
|
|
|
26
26
|
{ name: 'ember-web-app' },
|
|
27
27
|
{ name: 'tracked-built-ins' },
|
|
28
28
|
{ name: 'ember-keyboard' },
|
|
29
|
-
{ name: '@ember/string' },
|
|
30
29
|
{ name: 'ember-router-scroll' },
|
|
31
30
|
{ name: 'ember-table' },
|
|
32
31
|
{ name: 'ember-animated' }, ],
|
|
@@ -39,6 +38,7 @@ module.exports = {
|
|
|
39
38
|
{ name: 'swiper' },
|
|
40
39
|
{ name: 'howler' },
|
|
41
40
|
{ name: 'ripplet.js' },
|
|
41
|
+
{ name: '@ember/string' },
|
|
42
42
|
]);
|
|
43
43
|
});
|
|
44
44
|
},
|