@fmidev/smartmet-alert-client 4.7.0-beta.0 → 4.7.0-beta.20
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/.husky/pre-commit +1 -0
- package/Jenkinsfile +2 -0
- package/dist/favicon.ico +0 -0
- package/dist/index.dark.html +20 -0
- package/dist/index.en.html +15 -0
- package/dist/index.fi.html +15 -0
- package/dist/index.html +20 -0
- package/dist/index.js +237 -0
- package/dist/index.mjs +244 -0
- package/dist/index.sv.html +15 -0
- package/dist/locale-en-BZ2vBXZd.js +8 -0
- package/dist/locale-fi-CQc5eA7I.js +8 -0
- package/dist/locale-sv-DcuGS1Aj.js +8 -0
- package/dist/vendor-DlLAhxdV.js +21 -0
- package/dist/vue/AlertClientVue.vue.d.ts +112 -0
- package/dist/vue/index.mjs +15258 -0
- package/dist/vue/style.css +1 -0
- package/dist/vue/vue.d.ts +3 -0
- package/dist/xml-parser-BiNO9kc-.js +13 -0
- package/package.json +10 -5
- package/src/assets/img/ui/ext-link-blue.svg +7 -0
- package/src/assets/img/ui/ext-link-white.svg +7 -0
- package/src/components/AlertClient.vue +16 -9
- package/src/components/DayLarge.vue +1 -1
- package/src/components/DaySmall.vue +5 -4
- package/src/components/DescriptionWarning.vue +27 -3
- package/src/components/GrayScaleToggle.vue +4 -3
- package/src/components/MapLarge.vue +8 -5
- package/src/components/MapSmall.vue +1 -1
- package/src/components/Warning.vue +4 -3
- package/src/composables/useConfig.ts +51 -12
- package/src/composables/useUtils.ts +34 -16
- package/src/composables/useWarningsProcessor.ts +8 -4
- package/src/locales/en.json +50 -0
- package/src/locales/fi.json +53 -3
- package/src/locales/sv.json +50 -0
- package/src/scss/colors.scss +1 -0
- package/src/scss/constants.scss +1 -1
- package/src/scss/themes/dark-gray.scss +1 -0
- package/src/scss/themes/dark.scss +1 -0
- package/src/scss/themes/light-gray.scss +1 -0
- package/src/scss/themes/light.scss +1 -0
- package/tests/unit/components/MapSmall.spec.ts +1 -1
- package/tests/unit/composables/useUtils.spec.ts +27 -4
- package/tsconfig.json +1 -1
- package/vite.config.js +10 -3
- package/src/assets/img/ui/ext-link.gif +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
npm run validate
|
package/Jenkinsfile
CHANGED
|
@@ -83,6 +83,7 @@ pipeline {
|
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
+
/* Disabled npmjs.com deployment for now
|
|
86
87
|
stage('Publish package to npmjs.com') {
|
|
87
88
|
when { environment name: 'BRANCH_NAME', value: 'main' }
|
|
88
89
|
environment {
|
|
@@ -95,6 +96,7 @@ pipeline {
|
|
|
95
96
|
}
|
|
96
97
|
}
|
|
97
98
|
}
|
|
99
|
+
*/
|
|
98
100
|
|
|
99
101
|
post {
|
|
100
102
|
success {
|
package/dist/favicon.ico
ADDED
|
Binary file
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="fi">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8" />
|
|
5
|
+
<meta
|
|
6
|
+
name="viewport"
|
|
7
|
+
content="width=device-width, initial-scale=1.0, maximum-scale=5.0, minimum-scale=1.0, user-scalable=yes" />
|
|
8
|
+
<title>SmartMet Alert Client</title>
|
|
9
|
+
<style>
|
|
10
|
+
body {
|
|
11
|
+
background-color: #191b22;
|
|
12
|
+
}
|
|
13
|
+
</style>
|
|
14
|
+
</head>
|
|
15
|
+
|
|
16
|
+
<body>
|
|
17
|
+
<smartmet-alert-client language="fi" theme="dark"></smartmet-alert-client>
|
|
18
|
+
<script type="module" src="./index.js"></script>
|
|
19
|
+
</body>
|
|
20
|
+
</html>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8" />
|
|
5
|
+
<meta
|
|
6
|
+
name="viewport"
|
|
7
|
+
content="width=device-width, initial-scale=1.0, maximum-scale=5.0, minimum-scale=1.0, user-scalable=yes" />
|
|
8
|
+
<title>SmartMet Alert Client</title>
|
|
9
|
+
</head>
|
|
10
|
+
|
|
11
|
+
<body>
|
|
12
|
+
<smartmet-alert-client language="en"></smartmet-alert-client>
|
|
13
|
+
<script type="module" src="./index.js"></script>
|
|
14
|
+
</body>
|
|
15
|
+
</html>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="fi">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8" />
|
|
5
|
+
<meta
|
|
6
|
+
name="viewport"
|
|
7
|
+
content="width=device-width, initial-scale=1.0, maximum-scale=5.0, minimum-scale=1.0, user-scalable=yes" />
|
|
8
|
+
<title>SmartMet Alert Client</title>
|
|
9
|
+
</head>
|
|
10
|
+
|
|
11
|
+
<body>
|
|
12
|
+
<smartmet-alert-client language="fi"></smartmet-alert-client>
|
|
13
|
+
<script type="module" src="./index.js"></script>
|
|
14
|
+
</body>
|
|
15
|
+
</html>
|
package/dist/index.html
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="fi">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8" />
|
|
5
|
+
<meta
|
|
6
|
+
name="viewport"
|
|
7
|
+
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no" />
|
|
8
|
+
<title>SmartMet Alert Client</title>
|
|
9
|
+
<script type="module" crossorigin src="./index.mjs"></script>
|
|
10
|
+
<link rel="modulepreload" crossorigin href="./vendor-DlLAhxdV.js">
|
|
11
|
+
<link rel="modulepreload" crossorigin href="./xml-parser-BiNO9kc-.js">
|
|
12
|
+
<link rel="modulepreload" crossorigin href="./locale-en-BZ2vBXZd.js">
|
|
13
|
+
<link rel="modulepreload" crossorigin href="./locale-fi-CQc5eA7I.js">
|
|
14
|
+
<link rel="modulepreload" crossorigin href="./locale-sv-DcuGS1Aj.js">
|
|
15
|
+
</head>
|
|
16
|
+
|
|
17
|
+
<body>
|
|
18
|
+
<smartmet-alert-client></smartmet-alert-client>
|
|
19
|
+
</body>
|
|
20
|
+
</html>
|