@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2018 laravel-enso
3
+ Copyright (c) 2026 laravel-enso
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -1,28 +1,11 @@
1
- # User Groups
1
+ # Monitored Emails
2
2
 
3
- ![npm license](https://img.shields.io/npm/l/@enso-ui/user-groups.svg)
4
- ![npm download](https://img.shields.io/npm/dm/@enso-ui/user-groups.svg)
5
- ![GitHub top language](https://img.shields.io/github/languages/top/enso-ui/user-groups.svg)
6
- ![GitHub issues](https://img.shields.io/github/issues/enso-ui/user-groups.svg)
7
- ![npm version](https://img.shields.io/npm/v/@enso-ui/user-groups.svg)
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
- Be sure to check out the full documentation for this package available at [docs.laravel-enso.com](https://docs.laravel-enso.com/frontend/user-groups.html)
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
- [ISC](https://opensource.org/licenses/ISC)
11
+ [MIT](LICENSE)
package/package.json CHANGED
@@ -1,11 +1,8 @@
1
1
  {
2
2
  "name": "@enso-ui/monitored-emails",
3
- "version": "1.1.0",
3
+ "version": "1.3.0",
4
4
  "description": "Frontend package for monitoring emails",
5
- "main": "src/bulma/pages/userGroups/Index.vue",
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": "ISC",
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": "^3.0",
25
- "@enso-ui/tables": "^3.0",
26
- "@enso-ui/ui": "^6.0",
27
- "@fortawesome/fontawesome-svg-core": "^1.2.2",
28
- "@fortawesome/free-solid-svg-icons": "^5.11.2",
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 has-background-light raises-on-hover"/>
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 has-background-light raises-on-hover">
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 toastr.error(data.message);
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 is-paddingless raises-on-hover"
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(require.context('./monitoredEmails', false, /.*\.js$/));
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(require.context('./administration', false, /.*\.js$/));
3
+ const routes = routeImporter.fromGlob(import.meta.glob('./administration/*.js', { eager: true }));
4
4
 
5
5
  export default {
6
6
  path: '/administration',