@enso-ui/roles 4.0.2 → 4.0.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@enso-ui/roles",
3
- "version": "4.0.2",
3
+ "version": "4.0.6",
4
4
  "description": "Basic roles package",
5
5
  "main": "src/bulma/pages/roles/Index.vue",
6
6
  "scripts": {
@@ -28,6 +28,7 @@
28
28
  "@enso-ui/ui": "^5.0",
29
29
  "@fortawesome/fontawesome-svg-core": "^1.2.2",
30
30
  "@fortawesome/free-solid-svg-icons": "^5.2.0",
31
+ "@fortawesome/vue-fontawesome": "3.0.0-5",
31
32
  "vue": "^3.0",
32
33
  "vuex": "^4.0.0"
33
34
  },
@@ -38,8 +39,8 @@
38
39
  "autoprefixer": "^9.6.1",
39
40
  "babel-eslint": "^10.0.1",
40
41
  "cross-env": "^6.0.0",
41
- "eslint": "^7.0",
42
+ "eslint": "^7.0.0",
42
43
  "eslint-import-resolver-alias": "^1.1.2",
43
- "eslint-plugin-vue": "^7.0.0-beta.4"
44
+ "eslint-plugin-vue": "^8.0.0"
44
45
  }
45
46
  }
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <div class="columns is-centered">
3
3
  <div class="column is-half is-three-fifths-desktop is-full-touch">
4
- <div class="animated fadeIn"
4
+ <div class="animate__animated animate__fadeIn"
5
5
  v-if="data">
6
6
  <checkbox-manager class="is-rounded mt-3"
7
7
  :title="`${i18n('Permissions')}: ${data.role.display_name}`"
@@ -47,6 +47,7 @@
47
47
  </template>
48
48
 
49
49
  <script>
50
+ import 'animate.css';
50
51
  import { mapState } from 'vuex';
51
52
  import cssClass from '@enso-ui/permissions/src/bulma/modules/permission';
52
53
  import { CheckboxManager } from '@enso-ui/checkbox/bulma';
@@ -40,16 +40,17 @@
40
40
  </template>
41
41
 
42
42
  <script>
43
+ import { FontAwesomeIcon as Fa } from '@fortawesome/vue-fontawesome';
43
44
  import { library } from '@fortawesome/fontawesome-svg-core';
44
45
  import { faSave, faSlidersH } from '@fortawesome/free-solid-svg-icons';
45
46
  import { EnsoForm } from '@enso-ui/forms/bulma';
46
47
 
47
- library.add([faSave, faSlidersH]);
48
+ library.add(faSave, faSlidersH);
48
49
 
49
50
  export default {
50
51
  name: 'Edit',
51
52
 
52
- components: { EnsoForm },
53
+ components: { EnsoForm, Fa },
53
54
 
54
55
  inject: ['errorHandler', 'i18n', 'route', 'routerErrorHandler', 'toastr'],
55
56