@nethserver/ns8-ui-lib 0.0.75 → 0.0.78
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/dist/ns8-ui-lib.esm.js +412 -353
- package/dist/ns8-ui-lib.min.js +1 -1
- package/dist/ns8-ui-lib.ssr.js +408 -353
- package/package.json +1 -1
- package/src/lib-components/NsPasswordInput.vue +11 -4
- package/src/lib-components/NsTextInput.vue +1 -1
- package/src/lib-components/NsToastNotification.vue +5 -1
- package/src/lib-components/pictograms/UserPictogram.vue +11 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="ns-password-input">
|
|
3
3
|
<div class="new-password-container">
|
|
4
|
-
<
|
|
4
|
+
<NsTextInput
|
|
5
5
|
:value="value"
|
|
6
6
|
@input="onInput"
|
|
7
7
|
type="password"
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
class="new-password"
|
|
17
17
|
ref="newPassword"
|
|
18
18
|
>
|
|
19
|
-
</
|
|
19
|
+
</NsTextInput>
|
|
20
20
|
<div class="password-meter">
|
|
21
21
|
<span
|
|
22
22
|
:class="[
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
</div>
|
|
77
77
|
</div>
|
|
78
78
|
<div class="confirm-password-container">
|
|
79
|
-
<
|
|
79
|
+
<NsTextInput
|
|
80
80
|
v-model="confirmPassword"
|
|
81
81
|
type="password"
|
|
82
82
|
:helperText="confirmPaswordHelperText"
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
class="confirm-password"
|
|
91
91
|
ref="confirmPassword"
|
|
92
92
|
>
|
|
93
|
-
</
|
|
93
|
+
</NsTextInput>
|
|
94
94
|
<div class="password-meter">
|
|
95
95
|
<span
|
|
96
96
|
:class="[
|
|
@@ -138,6 +138,10 @@ export default {
|
|
|
138
138
|
type: Number,
|
|
139
139
|
default: 8,
|
|
140
140
|
},
|
|
141
|
+
clearConfirmPasswordCommand: {
|
|
142
|
+
type: Number,
|
|
143
|
+
default: 0,
|
|
144
|
+
},
|
|
141
145
|
lengthLabel: {
|
|
142
146
|
type: String,
|
|
143
147
|
default: "Long enough",
|
|
@@ -213,6 +217,9 @@ export default {
|
|
|
213
217
|
this.focusElement(this.focus.element);
|
|
214
218
|
}
|
|
215
219
|
},
|
|
220
|
+
clearConfirmPasswordCommand: function () {
|
|
221
|
+
this.confirmPassword = "";
|
|
222
|
+
},
|
|
216
223
|
},
|
|
217
224
|
methods: {
|
|
218
225
|
onInput(event) {
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
`${carbonPrefix}--tooltip__trigger`,
|
|
89
89
|
`${carbonPrefix}--tooltip--a11y`,
|
|
90
90
|
`${carbonPrefix}--tooltip--bottom`,
|
|
91
|
-
`${carbonPrefix}--tooltip--align-
|
|
91
|
+
`${carbonPrefix}--tooltip--align-end`,
|
|
92
92
|
]"
|
|
93
93
|
@click="togglePasswordVisibility"
|
|
94
94
|
type="button"
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
|
|
41
41
|
<!-- cancel button -->
|
|
42
42
|
<div
|
|
43
|
-
v-if="isProgressShown"
|
|
43
|
+
v-if="isCancelShown && isProgressShown"
|
|
44
44
|
:class="[
|
|
45
45
|
`${carbonPrefix}--toast-notification__caption`,
|
|
46
46
|
`action`,
|
|
@@ -143,6 +143,10 @@ export default {
|
|
|
143
143
|
type: Boolean,
|
|
144
144
|
default: false,
|
|
145
145
|
},
|
|
146
|
+
isCancelShown: {
|
|
147
|
+
type: Boolean,
|
|
148
|
+
default: false,
|
|
149
|
+
},
|
|
146
150
|
cancelLabel: { type: String, default: "Abort" },
|
|
147
151
|
confirmCancelLabel: { type: String, default: "Confirm abort" },
|
|
148
152
|
closeAriaLabel: { type: String, default: "Dismiss notification" },
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<path
|
|
3
|
+
id="user_1_"
|
|
4
|
+
d="M31.36,31h-0.72c0-6.432-4.777-12.232-11.359-13.792c-0.15-0.036-0.261-0.163-0.275-0.317
|
|
5
|
+
c-0.015-0.153,0.071-0.299,0.212-0.362c2.861-1.273,4.71-4.116,4.71-7.241c0-4.371-3.556-7.927-7.927-7.927
|
|
6
|
+
c-4.372,0-7.928,3.556-7.928,7.927c0,3.125,1.849,5.968,4.711,7.241c0.141,0.063,0.226,0.209,0.212,0.362
|
|
7
|
+
c-0.014,0.154-0.125,0.281-0.275,0.317C6.137,18.768,1.36,24.568,1.36,31H0.64c0-6.46,4.574-12.312,11.002-14.248
|
|
8
|
+
c-2.634-1.539-4.291-4.375-4.291-7.465c0-4.768,3.879-8.647,8.648-8.647c4.768,0,8.647,3.879,8.647,8.647
|
|
9
|
+
c0,3.09-1.656,5.926-4.29,7.465C26.786,18.688,31.36,24.54,31.36,31z"
|
|
10
|
+
/>
|
|
11
|
+
</template>
|