@enso-ui/users 2.0.9 → 2.0.13
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 +1 -1
- package/src/bulma/pages/users/Create.vue +1 -1
- package/src/bulma/pages/users/Edit.vue +6 -4
- package/src/bulma/pages/users/components/DeleteModal.vue +2 -0
- package/src/bulma/pages/users/components/Session.vue +2 -0
- package/src/bulma/pages/users/components/Sessions.vue +2 -0
- package/src/bulma/pages/users/components/Token.vue +2 -0
- package/src/bulma/pages/users/components/TokenForm.vue +1 -1
- package/src/bulma/pages/users/components/Tokens.vue +3 -1
- package/src/bulma/pages/users/components/UserProfile.vue +2 -0
- package/src/bulma/register.js +1 -3
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<enso-form class="box has-background-light raises-on-hover">
|
|
5
5
|
<template #group_id="props">
|
|
6
6
|
<form-field v-bind="props"
|
|
7
|
-
@
|
|
7
|
+
@update:modelValue="pivotParams.userGroups.id = $event"/>
|
|
8
8
|
</template>
|
|
9
9
|
<template #role_id="props">
|
|
10
10
|
<form-field v-bind="props"
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
">
|
|
10
10
|
<template #group_id="props">
|
|
11
11
|
<form-field v-bind="props"
|
|
12
|
-
@
|
|
12
|
+
@update:modelValue="pivotParams.userGroups.id = $event"/>
|
|
13
13
|
</template>
|
|
14
14
|
<template #role_id="props">
|
|
15
15
|
<form-field v-bind="props"
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
<div class="columns is-centered">
|
|
88
88
|
<div class="column is-half">
|
|
89
89
|
<tokens :id="$route.params.user"
|
|
90
|
-
@update="
|
|
90
|
+
@update="count.Tokens = $refs.tokens.count"
|
|
91
91
|
ref="tokens"/>
|
|
92
92
|
</div>
|
|
93
93
|
</div>
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
<div class="columns is-centered">
|
|
99
99
|
<div class="column is-half">
|
|
100
100
|
<sessions :id="$route.params.user"
|
|
101
|
-
@update="
|
|
101
|
+
@update="count.Sessions = $refs.sessions.count"
|
|
102
102
|
ref="sessions"/>
|
|
103
103
|
</div>
|
|
104
104
|
</div>
|
|
@@ -123,7 +123,7 @@ import { EnsoForm, FormField } from '@enso-ui/forms/bulma';
|
|
|
123
123
|
import Accessories from '@enso-ui/accessories/bulma';
|
|
124
124
|
import { Tab } from '@enso-ui/tabs/bulma';
|
|
125
125
|
import { mapState } from 'vuex';
|
|
126
|
-
import PasswordStrength from '@enso-ui/auth
|
|
126
|
+
import { PasswordStrength } from '@enso-ui/auth';
|
|
127
127
|
import DeleteModal from './components/DeleteModal.vue';
|
|
128
128
|
import Tokens from './components/Tokens.vue';
|
|
129
129
|
import Sessions from './components/Sessions.vue';
|
|
@@ -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,
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
import { FontAwesomeIcon as Fa } from '@fortawesome/vue-fontawesome';
|
|
63
63
|
import { library } from '@fortawesome/fontawesome-svg-core';
|
|
64
64
|
import { faPlus, faSync, faSearch } from '@fortawesome/free-solid-svg-icons';
|
|
65
|
-
import Url from '@enso-ui/files
|
|
65
|
+
import { Url } from '@enso-ui/files'; // TODO:: refactor to a package
|
|
66
66
|
import Token from './Token.vue';
|
|
67
67
|
import TokenForm from './TokenForm.vue';
|
|
68
68
|
|
|
@@ -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: '',
|
package/src/bulma/register.js
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import Vue from 'vue';
|
|
2
1
|
import App from '@enso-ui/ui/src/core/app';
|
|
3
2
|
import ProfileController from './components/navbar/ProfileControl.vue';
|
|
4
3
|
|
|
5
|
-
|
|
6
|
-
App.registerNavbarItem('navbar-profile-controller', 400);
|
|
4
|
+
App.registerNavbarItem('navbar-profile-controller', ProfileController, 400);
|