@enso-ui/monitored-emails 1.1.0 → 1.3.0
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 +1 -1
- package/README.md +4 -21
- package/package.json +9 -22
- package/src/bulma/pages/monitoredEmails/Create.vue +1 -4
- package/src/bulma/pages/monitoredEmails/Edit.vue +5 -12
- package/src/bulma/pages/monitoredEmails/Index.vue +1 -4
- package/src/bulma/routes/administration/monitoredEmails.js +1 -1
- package/src/bulma/routes/administration.js +1 -1
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -1,28 +1,11 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Monitored Emails
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-

|
|
5
|
-

|
|
6
|
-

|
|
7
|
-

|
|
3
|
+
Frontend package for monitoring emails.
|
|
8
4
|
|
|
9
5
|
## Usage
|
|
10
|
-
The component cannot be used outside of the Enso ecosystem.
|
|
11
|
-
|
|
12
|
-
### Demo
|
|
13
|
-
|
|
14
|
-
For live examples and demos, you may visit [laravel-enso.com](https://www.laravel-enso.com)
|
|
15
|
-
|
|
16
|
-
### Installation, Configuration & Usage
|
|
17
6
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
## Contributions
|
|
21
|
-
|
|
22
|
-
are welcome. Pull requests are great, but issues are good too.
|
|
23
|
-
|
|
24
|
-
Thank you to all the users who already contributed to Enso!
|
|
7
|
+
The component cannot be used outside of the Enso ecosystem.
|
|
25
8
|
|
|
26
9
|
## License
|
|
27
10
|
|
|
28
|
-
[
|
|
11
|
+
[MIT](LICENSE)
|
package/package.json
CHANGED
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@enso-ui/monitored-emails",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"description": "Frontend package for monitoring emails",
|
|
5
|
-
"main": "src/bulma/pages/
|
|
6
|
-
"scripts": {
|
|
7
|
-
"test": "echo \"Error: no test specified\" && exit 1"
|
|
8
|
-
},
|
|
5
|
+
"main": "src/bulma/pages/monitoredEmails/Index.vue",
|
|
9
6
|
"repository": {
|
|
10
7
|
"type": "git",
|
|
11
8
|
"url": "git+https://github.com/enso-ui/monitored-emails.git"
|
|
@@ -15,28 +12,18 @@
|
|
|
15
12
|
"vue"
|
|
16
13
|
],
|
|
17
14
|
"author": "Adrian Ocneanu <aocneanu@gmail.com>",
|
|
18
|
-
"license": "
|
|
15
|
+
"license": "MIT",
|
|
19
16
|
"bugs": {
|
|
20
17
|
"url": "https://github.com/enso-ui/monitored-emails/issues"
|
|
21
18
|
},
|
|
22
19
|
"homepage": "https://github.com/enso-ui/monitored-emails#readme",
|
|
23
20
|
"dependencies": {
|
|
24
|
-
"@enso-ui/forms": "^
|
|
25
|
-
"@enso-ui/tables": "^
|
|
26
|
-
"@enso-ui/ui": "^
|
|
27
|
-
"@fortawesome/fontawesome-svg-core": "^
|
|
28
|
-
"@fortawesome/free-solid-svg-icons": "^
|
|
21
|
+
"@enso-ui/forms": "^4.0.0",
|
|
22
|
+
"@enso-ui/tables": "^4.0.0",
|
|
23
|
+
"@enso-ui/ui": "^7.0.0",
|
|
24
|
+
"@fortawesome/fontawesome-svg-core": "^7.2.0",
|
|
25
|
+
"@fortawesome/free-solid-svg-icons": "^7.2.0",
|
|
26
|
+
"@fortawesome/vue-fontawesome": "3.1.3",
|
|
29
27
|
"vue": "^3.0"
|
|
30
|
-
},
|
|
31
|
-
"devDependencies": {
|
|
32
|
-
"@vue/cli-plugin-babel": "5.0.0-beta.6",
|
|
33
|
-
"@vue/cli-plugin-eslint": "5.0.0-beta.6",
|
|
34
|
-
"@vue/eslint-config-airbnb": "^5.0.0",
|
|
35
|
-
"autoprefixer": "^9.6.1",
|
|
36
|
-
"babel-eslint": "^10.0.1",
|
|
37
|
-
"cross-env": "^6.0.0",
|
|
38
|
-
"eslint": "^7.0.0",
|
|
39
|
-
"eslint-import-resolver-alias": "^1.1.2",
|
|
40
|
-
"eslint-plugin-vue": "^8.0.3"
|
|
41
28
|
}
|
|
42
29
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="columns is-centered">
|
|
3
3
|
<div class="column is-three-quarters-desktop is-full-touch">
|
|
4
|
-
<enso-form class="box form-box
|
|
4
|
+
<enso-form class="box form-box"/>
|
|
5
5
|
</div>
|
|
6
6
|
</div>
|
|
7
7
|
</template>
|
|
@@ -9,6 +9,3 @@
|
|
|
9
9
|
<script setup>
|
|
10
10
|
import { EnsoForm } from '@enso-ui/forms/bulma';
|
|
11
11
|
</script>
|
|
12
|
-
|
|
13
|
-
<style lang="scss">
|
|
14
|
-
</style>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="columns is-centered">
|
|
3
3
|
<div class="column is-three-quarters-desktop is-full-touch">
|
|
4
|
-
<enso-form class="box form-box
|
|
4
|
+
<enso-form class="box form-box">
|
|
5
5
|
<template #actions-left>
|
|
6
6
|
<div class="level-item">
|
|
7
7
|
<a class="button is-primary"
|
|
@@ -26,11 +26,8 @@ import { inject } from 'vue';
|
|
|
26
26
|
import { useRoute } from 'vue-router';
|
|
27
27
|
import { EnsoForm } from '@enso-ui/forms/bulma';
|
|
28
28
|
import { FontAwesomeIcon as Fa } from '@fortawesome/vue-fontawesome';
|
|
29
|
-
import { library } from '@fortawesome/fontawesome-svg-core';
|
|
30
29
|
import { faCheckDouble } from '@fortawesome/free-solid-svg-icons';
|
|
31
30
|
|
|
32
|
-
library.add(faCheckDouble);
|
|
33
|
-
|
|
34
31
|
const http = inject('http');
|
|
35
32
|
const i18n = inject('i18n');
|
|
36
33
|
const errorHandler = inject('errorHandler');
|
|
@@ -38,19 +35,15 @@ const route = inject('route');
|
|
|
38
35
|
const toastr = inject('toastr');
|
|
39
36
|
|
|
40
37
|
const currentRoute = useRoute();
|
|
41
|
-
|
|
42
|
-
console.log(currentRoute.params.monitoredEmail);
|
|
43
38
|
const testRoute = route('administration.monitoredEmails.testEmail', { monitoredEmail: currentRoute.params.monitoredEmail });
|
|
44
39
|
|
|
45
40
|
const testMail = () => http.get(testRoute)
|
|
46
41
|
.then(({ data }) => {
|
|
47
|
-
if(data.status)
|
|
42
|
+
if (data.status) {
|
|
48
43
|
toastr.success(data.message);
|
|
49
|
-
else
|
|
44
|
+
} else {
|
|
45
|
+
toastr.error(data.message);
|
|
46
|
+
}
|
|
50
47
|
})
|
|
51
48
|
.catch(errorHandler);
|
|
52
|
-
|
|
53
49
|
</script>
|
|
54
|
-
|
|
55
|
-
<style lang="scss">
|
|
56
|
-
</style>
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<enso-table class="box
|
|
2
|
+
<enso-table class="box p-0"
|
|
3
3
|
id="monitoredEmails"/>
|
|
4
4
|
</template>
|
|
5
5
|
|
|
6
6
|
<script setup>
|
|
7
7
|
import { EnsoTable } from '@enso-ui/tables/bulma';
|
|
8
8
|
</script>
|
|
9
|
-
|
|
10
|
-
<style lang="scss">
|
|
11
|
-
</style>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import routeImporter from '@enso-ui/ui/src/modules/importers/routeImporter';
|
|
2
2
|
|
|
3
|
-
const routes = routeImporter(
|
|
3
|
+
const routes = routeImporter.fromGlob(import.meta.glob('./monitoredEmails/*.js', { eager: true }));
|
|
4
4
|
const RouterView = () => import('@enso-ui/ui/src/bulma/pages/Router.vue');
|
|
5
5
|
|
|
6
6
|
export default {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import routeImporter from '@enso-ui/ui/src/modules/importers/routeImporter';
|
|
2
2
|
|
|
3
|
-
const routes = routeImporter(
|
|
3
|
+
const routes = routeImporter.fromGlob(import.meta.glob('./administration/*.js', { eager: true }));
|
|
4
4
|
|
|
5
5
|
export default {
|
|
6
6
|
path: '/administration',
|