@enso-ui/users 2.0.9 → 2.0.10

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/users",
3
- "version": "2.0.9",
3
+ "version": "2.0.10",
4
4
  "description": "Basic users package",
5
5
  "main": "bulma/index.js",
6
6
  "scripts": {
@@ -147,6 +147,8 @@ export default {
147
147
 
148
148
  inject: ['i18n', 'canAccess', 'errorHandler', 'route', 'routerErrorHandler', 'toastr'],
149
149
 
150
+ emits: ['update'],
151
+
150
152
  data: () => ({
151
153
  deletableUser: null,
152
154
  ready: false,
@@ -50,6 +50,8 @@ export default {
50
50
  },
51
51
  },
52
52
 
53
+ emits: ['close', 'destroyed'],
54
+
53
55
  methods: {
54
56
  destroy(person = false) {
55
57
  axios.delete(this.route('administration.users.destroy', this.userId),
@@ -80,6 +80,8 @@ export default {
80
80
  },
81
81
  },
82
82
 
83
+ emits: ['delete'],
84
+
83
85
  data: () => ({
84
86
  confirmation: false,
85
87
  }),
@@ -60,6 +60,8 @@ export default {
60
60
  },
61
61
  },
62
62
 
63
+ emits: ['remove', 'update'],
64
+
63
65
  data: () => ({
64
66
  sessions: [],
65
67
  query: '',
@@ -63,6 +63,8 @@ export default {
63
63
  },
64
64
  },
65
65
 
66
+ emits: ['delete'],
67
+
66
68
  data: () => ({
67
69
  confirmation: false,
68
70
  }),
@@ -87,6 +87,8 @@ export default {
87
87
  },
88
88
  },
89
89
 
90
+ emits: ['remove', 'update'],
91
+
90
92
  data: () => ({
91
93
  tokens: [],
92
94
  query: '',
@@ -171,6 +171,8 @@ export default {
171
171
 
172
172
  inject: ['canAccess', 'errorHandler', 'i18n', 'route', 'routerErrorHandler'],
173
173
 
174
+ emits: ['start-impersonating'],
175
+
174
176
  data: () => ({
175
177
  profile: null,
176
178
  }),