@enso-ui/monitored-emails 1.0.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/.eslintrc.js +46 -0
- package/.github/issue_template.md +28 -0
- package/LICENSE +21 -0
- package/README.md +28 -0
- package/package.json +42 -0
- package/src/bulma/pages/monitoredEmails/Create.vue +20 -0
- package/src/bulma/pages/monitoredEmails/Edit.vue +20 -0
- package/src/bulma/pages/monitoredEmails/Index.vue +17 -0
- package/src/bulma/routes/administration/monitoredEmails/create.js +11 -0
- package/src/bulma/routes/administration/monitoredEmails/edit.js +11 -0
- package/src/bulma/routes/administration/monitoredEmails/index.js +11 -0
- package/src/bulma/routes/administration/monitoredEmails.js +14 -0
- package/src/icons.js +4 -0
package/.eslintrc.js
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
module.exports = {
|
|
2
|
+
root: true,
|
|
3
|
+
extends: [
|
|
4
|
+
'airbnb-base',
|
|
5
|
+
'plugin:vue/vue3-recommended',
|
|
6
|
+
],
|
|
7
|
+
plugins: [
|
|
8
|
+
'vue',
|
|
9
|
+
],
|
|
10
|
+
globals: {
|
|
11
|
+
axios: true,
|
|
12
|
+
},
|
|
13
|
+
parserOptions: {
|
|
14
|
+
parser: 'babel-eslint',
|
|
15
|
+
sourceType: 'module',
|
|
16
|
+
ecmaVersion: 2017,
|
|
17
|
+
allowImportExportEverywhere: true,
|
|
18
|
+
},
|
|
19
|
+
rules: {
|
|
20
|
+
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
|
|
21
|
+
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
|
|
22
|
+
indent: ['error', 4],
|
|
23
|
+
'arrow-parens': ['error', 'as-needed'],
|
|
24
|
+
'vue/html-indent': 0,
|
|
25
|
+
'vue/attributes-order': 0,
|
|
26
|
+
'no-plusplus': 0,
|
|
27
|
+
'no-param-reassign': 0,
|
|
28
|
+
'no-mixed-operators': 0,
|
|
29
|
+
'no-underscore-dangle': 0,
|
|
30
|
+
'func-names': 0,
|
|
31
|
+
'no-shadow': 0,
|
|
32
|
+
'vue/multi-word-component-names': 0,
|
|
33
|
+
'vue/max-attributes-per-line': 0,
|
|
34
|
+
'vue/first-attribute-linebreak': 0,
|
|
35
|
+
'no-return-assign': ['error', 'except-parens'],
|
|
36
|
+
'vue/html-closing-bracket-newline': ['error', {
|
|
37
|
+
singleline: 'never',
|
|
38
|
+
multiline: 'never',
|
|
39
|
+
}],
|
|
40
|
+
'vue/html-closing-bracket-spacing': ['error', {
|
|
41
|
+
startTag: 'never',
|
|
42
|
+
endTag: 'never',
|
|
43
|
+
selfClosingTag: 'never',
|
|
44
|
+
}],
|
|
45
|
+
},
|
|
46
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
<!-- Choose one of the following: -->
|
|
2
|
+
This is a **bug | feature request**.
|
|
3
|
+
|
|
4
|
+
<!-- Make sure that everything is checked below: -->
|
|
5
|
+
### Prerequisites
|
|
6
|
+
* [ ] Are you running the latest version?
|
|
7
|
+
* [ ] Are you reporting to the correct repository?
|
|
8
|
+
(enso is made of many specialized packages: https://github.com/laravel-enso)
|
|
9
|
+
* [ ] Did you check the documentation?
|
|
10
|
+
* [ ] Did you perform a cursory search?
|
|
11
|
+
|
|
12
|
+
### Description
|
|
13
|
+
<!-- Description of the bug or feature -->
|
|
14
|
+
|
|
15
|
+
### Steps to Reproduce
|
|
16
|
+
<!--
|
|
17
|
+
1. First Step
|
|
18
|
+
2. Second Step
|
|
19
|
+
3. and so on...
|
|
20
|
+
-->
|
|
21
|
+
|
|
22
|
+
### Expected behavior
|
|
23
|
+
<!-- What you expected to happen -->
|
|
24
|
+
|
|
25
|
+
### Actual behavior
|
|
26
|
+
<!-- What actually happened -->
|
|
27
|
+
|
|
28
|
+
<!-- when the issue is resolved, don't forget to **CLOSE** it -->
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2018 laravel-enso
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# User Groups
|
|
2
|
+
|
|
3
|
+

|
|
4
|
+

|
|
5
|
+

|
|
6
|
+

|
|
7
|
+

|
|
8
|
+
|
|
9
|
+
## 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
|
+
|
|
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!
|
|
25
|
+
|
|
26
|
+
## License
|
|
27
|
+
|
|
28
|
+
[ISC](https://opensource.org/licenses/ISC)
|
package/package.json
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@enso-ui/monitored-emails",
|
|
3
|
+
"version": "1.0.0",
|
|
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
|
+
},
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "git+https://github.com/enso-ui/monitored-emails.git"
|
|
12
|
+
},
|
|
13
|
+
"keywords": [
|
|
14
|
+
"monitored-emails",
|
|
15
|
+
"vue"
|
|
16
|
+
],
|
|
17
|
+
"author": "Adrian Ocneanu <aocneanu@gmail.com>",
|
|
18
|
+
"license": "ISC",
|
|
19
|
+
"bugs": {
|
|
20
|
+
"url": "https://github.com/enso-ui/monitored-emails/issues"
|
|
21
|
+
},
|
|
22
|
+
"homepage": "https://github.com/enso-ui/monitored-emails#readme",
|
|
23
|
+
"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",
|
|
29
|
+
"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
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="columns is-centered">
|
|
3
|
+
<div class="column is-three-quarters-desktop is-full-touch">
|
|
4
|
+
<enso-form class="box form-box has-background-light raises-on-hover"/>
|
|
5
|
+
</div>
|
|
6
|
+
</div>
|
|
7
|
+
</template>
|
|
8
|
+
|
|
9
|
+
<script>
|
|
10
|
+
import { EnsoForm } from '@enso-ui/forms/bulma';
|
|
11
|
+
|
|
12
|
+
export default {
|
|
13
|
+
name: 'Create',
|
|
14
|
+
|
|
15
|
+
components: { EnsoForm },
|
|
16
|
+
};
|
|
17
|
+
</script>
|
|
18
|
+
|
|
19
|
+
<style lang="scss">
|
|
20
|
+
</style>
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="columns is-centered">
|
|
3
|
+
<div class="column is-three-quarters-desktop is-full-touch">
|
|
4
|
+
<enso-form class="box form-box has-background-light raises-on-hover"/>
|
|
5
|
+
</div>
|
|
6
|
+
</div>
|
|
7
|
+
</template>
|
|
8
|
+
|
|
9
|
+
<script>
|
|
10
|
+
import { EnsoForm } from '@enso-ui/forms/bulma';
|
|
11
|
+
|
|
12
|
+
export default {
|
|
13
|
+
name: 'Edit',
|
|
14
|
+
|
|
15
|
+
components: { EnsoForm },
|
|
16
|
+
};
|
|
17
|
+
</script>
|
|
18
|
+
|
|
19
|
+
<style lang="scss">
|
|
20
|
+
</style>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<enso-table class="box is-paddingless raises-on-hover"
|
|
3
|
+
id="monitoredEmails"/>
|
|
4
|
+
</template>
|
|
5
|
+
|
|
6
|
+
<script>
|
|
7
|
+
import { EnsoTable } from '@enso-ui/tables/bulma';
|
|
8
|
+
|
|
9
|
+
export default {
|
|
10
|
+
name: 'Index',
|
|
11
|
+
|
|
12
|
+
components: { EnsoTable },
|
|
13
|
+
};
|
|
14
|
+
</script>
|
|
15
|
+
|
|
16
|
+
<style lang="scss">
|
|
17
|
+
</style>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
const MonitoredEmailCreate = () => import('../../../pages/monitoredEmails/Create.vue');
|
|
2
|
+
|
|
3
|
+
export default {
|
|
4
|
+
name: 'administration.monitoredEmails.create',
|
|
5
|
+
path: 'create',
|
|
6
|
+
component: MonitoredEmailCreate,
|
|
7
|
+
meta: {
|
|
8
|
+
breadcrumb: 'create',
|
|
9
|
+
title: 'Create Monitored Email',
|
|
10
|
+
},
|
|
11
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
const MonitoredEmailEdit = () => import('../../../pages/monitoredEmails/Edit.vue');
|
|
2
|
+
|
|
3
|
+
export default {
|
|
4
|
+
name: 'administration.monitoredEmails.edit',
|
|
5
|
+
path: ':monitoredEmail/edit',
|
|
6
|
+
component: MonitoredEmailEdit,
|
|
7
|
+
meta: {
|
|
8
|
+
breadcrumb: 'edit',
|
|
9
|
+
title: 'Edit Monitored Email',
|
|
10
|
+
},
|
|
11
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
const MonitoredEmailIndex = () => import('../../../pages/monitoredEmails/Index.vue');
|
|
2
|
+
|
|
3
|
+
export default {
|
|
4
|
+
name: 'administration.monitoredEmails.index',
|
|
5
|
+
path: '',
|
|
6
|
+
component: MonitoredEmailIndex,
|
|
7
|
+
meta: {
|
|
8
|
+
breadcrumb: 'index',
|
|
9
|
+
title: 'Monitored Emails',
|
|
10
|
+
},
|
|
11
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import routeImporter from '@enso-ui/ui/src/modules/importers/routeImporter';
|
|
2
|
+
|
|
3
|
+
const routes = routeImporter(require.context('./monitoredEmails', false, /.*\.js$/));
|
|
4
|
+
const RouterView = () => import('@enso-ui/ui/src/bulma/pages/Router.vue');
|
|
5
|
+
|
|
6
|
+
export default {
|
|
7
|
+
path: 'monitoredEmails',
|
|
8
|
+
component: RouterView,
|
|
9
|
+
meta: {
|
|
10
|
+
breadcrumb: 'monitoredEmails',
|
|
11
|
+
route: 'administration.monitoredEmails.index',
|
|
12
|
+
},
|
|
13
|
+
children: routes,
|
|
14
|
+
};
|
package/src/icons.js
ADDED