@flarehr/workflows-progress-app 0.1.3113 → 0.1.3115
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/LICENSE.md +1 -0
- package/dist/workflows-progress-app.css +3 -1
- package/dist/workflows-progress-app.js +2 -809
- package/dist/workflows-progress-app.js.LICENSE.txt +5 -0
- package/dist/workflows-progress-component.js +2 -796
- package/dist/workflows-progress-component.js.LICENSE.txt +5 -0
- package/package.json +19 -15
- package/dist/index.html +0 -90
- package/dist/support/assets/loading-bar.gif +0 -0
- package/dist/support/external-loading-page.js +0 -29
- package/dist/support/support.html +0 -51
package/package.json
CHANGED
|
@@ -1,32 +1,36 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flarehr/workflows-progress-app",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3115",
|
|
4
4
|
"description": "Flare Workflows Progress App",
|
|
5
|
-
"license": "
|
|
5
|
+
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist/"
|
|
8
8
|
],
|
|
9
9
|
"scripts": {
|
|
10
|
-
"start": "dotnet fable watch
|
|
11
|
-
"build": "dotnet fable
|
|
10
|
+
"start": "dotnet fable watch ./ --run webpack serve --mode development",
|
|
11
|
+
"build": "dotnet fable ./ && webpack --mode production --node-env production",
|
|
12
12
|
"test": ""
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
15
|
"@fortawesome/fontawesome-svg-core": "^6.1.2",
|
|
16
16
|
"@fortawesome/free-solid-svg-icons": "^6.1.2",
|
|
17
17
|
"@fortawesome/react-fontawesome": "^0.2.0",
|
|
18
|
-
"date-fns": "^
|
|
19
|
-
"preact": "^10.
|
|
20
|
-
"preact-custom-element": "^4.
|
|
21
|
-
"
|
|
18
|
+
"date-fns": "^2.29.2",
|
|
19
|
+
"preact": "^10.10.6",
|
|
20
|
+
"preact-custom-element": "^4.2.1",
|
|
21
|
+
"tailwindcss": "^2.2.19"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
24
|
+
"autoprefixer": "^10.4.8",
|
|
25
|
+
"copy-webpack-plugin": "^11.0.0",
|
|
26
|
+
"css-loader": "^6.7.1",
|
|
27
|
+
"cssnano": "^5.1.13",
|
|
28
|
+
"html-webpack-plugin": "^5.5.0",
|
|
29
|
+
"mini-css-extract-plugin": "^2.6.1",
|
|
30
|
+
"postcss": "^8.4.16",
|
|
31
|
+
"postcss-loader": "^7.0.1",
|
|
32
|
+
"webpack": "^5.74.0",
|
|
33
|
+
"webpack-cli": "^4.10.0",
|
|
34
|
+
"webpack-dev-server": "^4.10.0"
|
|
31
35
|
}
|
|
32
36
|
}
|
package/dist/index.html
DELETED
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html>
|
|
3
|
-
<head>
|
|
4
|
-
<script>
|
|
5
|
-
(function () {
|
|
6
|
-
var querystring = window.location.search;
|
|
7
|
-
var containsToken = querystring.indexOf('token=') != -1;
|
|
8
|
-
|
|
9
|
-
if (containsToken) {
|
|
10
|
-
var img = document.createElement('img');
|
|
11
|
-
img.setAttribute(
|
|
12
|
-
'src',
|
|
13
|
-
'/workflows/progress/brand/first-script-executed' + querystring
|
|
14
|
-
);
|
|
15
|
-
}
|
|
16
|
-
})();
|
|
17
|
-
</script>
|
|
18
|
-
<script src="/shell/browser-support.js"></script>
|
|
19
|
-
<title>Workflows Progress</title>
|
|
20
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
21
|
-
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
22
|
-
|
|
23
|
-
<link
|
|
24
|
-
rel="icon"
|
|
25
|
-
type="image/x-icon"
|
|
26
|
-
href="https://www.flarehr.com/wp-content/uploads/2022/03/flare-logo-icon.svg"
|
|
27
|
-
/>
|
|
28
|
-
|
|
29
|
-
<link
|
|
30
|
-
rel="stylesheet"
|
|
31
|
-
href="#{BACKEND_URL}/workflows/cdn/progress/workflows-progress-app.css"
|
|
32
|
-
media="all"
|
|
33
|
-
crossorigin="anonymous"
|
|
34
|
-
/>
|
|
35
|
-
<style>
|
|
36
|
-
.external-loading-page {
|
|
37
|
-
display: block;
|
|
38
|
-
position: fixed;
|
|
39
|
-
top: 0;
|
|
40
|
-
left: 0;
|
|
41
|
-
background: white;
|
|
42
|
-
width: 100%;
|
|
43
|
-
height: 100%;
|
|
44
|
-
text-align: center;
|
|
45
|
-
padding: 20px;
|
|
46
|
-
}
|
|
47
|
-
.loading-img {
|
|
48
|
-
width: 200px;
|
|
49
|
-
height: 8px;
|
|
50
|
-
display: block;
|
|
51
|
-
margin-left: auto;
|
|
52
|
-
margin-right: auto;
|
|
53
|
-
}
|
|
54
|
-
</style>
|
|
55
|
-
</head>
|
|
56
|
-
<body>
|
|
57
|
-
<div id="external-loading-page-container" style="display: block">
|
|
58
|
-
<div id="external-loading-page-1" class="external-loading-page" style="z-index: 300">
|
|
59
|
-
<img class="loading-img" src="/workflows/progress/app/support/assets/loading-bar.gif" />
|
|
60
|
-
<h5 style="margin-top: 20px">Loading...</h5>
|
|
61
|
-
<p>The page is loading, please hold tight.</p>
|
|
62
|
-
</div>
|
|
63
|
-
<div id="external-loading-page-2" class="external-loading-page" style="z-index: 200">
|
|
64
|
-
<img class="loading-img" src="/workflows/progress/app/support/assets/loading-bar.gif" />
|
|
65
|
-
<h5 style="margin-top: 20px">Nearly there...</h5>
|
|
66
|
-
<p>
|
|
67
|
-
Your page will show shortly, almost there.<br />
|
|
68
|
-
It can take up to 30 seconds, so please hold tight.
|
|
69
|
-
</p>
|
|
70
|
-
</div>
|
|
71
|
-
<div id="external-loading-page-3" class="external-loading-page" style="z-index: 100">
|
|
72
|
-
<img class="loading-img" src="/workflows/progress/app/support/assets/loading-bar.gif" />
|
|
73
|
-
<h5 style="margin-top: 20px">Looks like it's taking longer than usual</h5>
|
|
74
|
-
<a
|
|
75
|
-
href="/workflows/progress/app/support/support.html"
|
|
76
|
-
target="_blank"
|
|
77
|
-
rel="noopener noreferrer"
|
|
78
|
-
>Click here for support</a>
|
|
79
|
-
</div>
|
|
80
|
-
</div>
|
|
81
|
-
<div
|
|
82
|
-
id="workflows-progress-app"
|
|
83
|
-
data-identity-url="#{IDENTITY_URL}"
|
|
84
|
-
data-backend-url="#{BACKEND_URL}"
|
|
85
|
-
></div>
|
|
86
|
-
<script src="/workflows/progress/app/support/external-loading-page.js"></script>
|
|
87
|
-
<script src="#{BACKEND_URL}/workflows/cdn/progress/workflows-progress-app.js"></script>
|
|
88
|
-
<!-- CONTENT_LOADED_IMG -->
|
|
89
|
-
</body>
|
|
90
|
-
</html>
|
|
Binary file
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
(function () {
|
|
2
|
-
var container = document.getElementById('external-loading-page-container');
|
|
3
|
-
|
|
4
|
-
setTimeout(function () {
|
|
5
|
-
var loadingPage1 = document.getElementById('external-loading-page-1');
|
|
6
|
-
if (container && loadingPage1) {
|
|
7
|
-
container.removeChild(loadingPage1);
|
|
8
|
-
}
|
|
9
|
-
}, 8000);
|
|
10
|
-
|
|
11
|
-
setTimeout(function () {
|
|
12
|
-
var loadingPage2 = document.getElementById('external-loading-page-2');
|
|
13
|
-
if (container && loadingPage2) {
|
|
14
|
-
container.removeChild(loadingPage2);
|
|
15
|
-
}
|
|
16
|
-
}, 30000);
|
|
17
|
-
|
|
18
|
-
setTimeout(function () {
|
|
19
|
-
window.parent.postMessage(
|
|
20
|
-
{
|
|
21
|
-
type: 'contentResized',
|
|
22
|
-
height: container.offsetHeight,
|
|
23
|
-
width: -1,
|
|
24
|
-
sender: 'flare'
|
|
25
|
-
},
|
|
26
|
-
'*'
|
|
27
|
-
);
|
|
28
|
-
}, 0);
|
|
29
|
-
})();
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html dir="ltr" lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="utf-8" />
|
|
5
|
-
<title>Onboarding Progress</title>
|
|
6
|
-
<meta name="Description" content="Onboarding Progress powered by Flare." />
|
|
7
|
-
<meta
|
|
8
|
-
name="viewport"
|
|
9
|
-
content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=5.0"
|
|
10
|
-
/>
|
|
11
|
-
<meta name="apple-mobile-web-app-capable" content="yes" />
|
|
12
|
-
<meta http-equiv="x-ua-compatible" content="IE=Edge" />
|
|
13
|
-
|
|
14
|
-
<link
|
|
15
|
-
rel="apple-touch-icon"
|
|
16
|
-
href="https://www.flarehr.com/wp-content/uploads/2022/03/flare-logo-icon.svg"
|
|
17
|
-
/>
|
|
18
|
-
<link
|
|
19
|
-
rel="icon"
|
|
20
|
-
type="image/x-icon"
|
|
21
|
-
href="https://www.flarehr.com/wp-content/uploads/2022/03/flare-logo-icon.svg"
|
|
22
|
-
/>
|
|
23
|
-
<link
|
|
24
|
-
rel="stylesheet"
|
|
25
|
-
href="https://npm-cdn.flarehr.com/@flarehr/beacon@dev/dist/beacon/beacon.css"
|
|
26
|
-
media="all"
|
|
27
|
-
crossorigin="anonymous"
|
|
28
|
-
/>
|
|
29
|
-
</head>
|
|
30
|
-
<body class="container mt-5">
|
|
31
|
-
<div>
|
|
32
|
-
<h3>Having trouble loading this screen?</h3>
|
|
33
|
-
<p class="mt-4">
|
|
34
|
-
To ensure you have the best experience, please first try to <b>refresh your page</b>
|
|
35
|
-
and follow the below advice.
|
|
36
|
-
</p>
|
|
37
|
-
<ul>
|
|
38
|
-
<li>
|
|
39
|
-
Use the latest internet browsers, we recommend using one of the following Chrome 90,
|
|
40
|
-
Safari 14.1 or Firefox 88. Note it will not work on Internet Explorer.
|
|
41
|
-
</li>
|
|
42
|
-
<li>Do not load using an incognito or private browser.</li>
|
|
43
|
-
<li>Allow third-party cookies, this can be checked in your browser settings.</li>
|
|
44
|
-
<li>
|
|
45
|
-
Turn off any anti-virus or content blockers, as they could be restricting your ability to
|
|
46
|
-
view the panel.
|
|
47
|
-
</li>
|
|
48
|
-
</ul>
|
|
49
|
-
</div>
|
|
50
|
-
</body>
|
|
51
|
-
</html>
|