Noelia 6a023443ac feat(Desktop/Password): New password view design
Created new PasswordView.qml component.

Added logic in new component:
- Type of characters introduced.
- Length of strength indicator bar depending on characters length.
- Show/hide icons.
- Error messages.
- Added algorithm for password categorisation.

Added Onboarding screens and modified flow.

Replaced ChangePasswordModal content.

Closes #4785
2022-03-15 12:49:52 +01:00

34 lines
709 B
QML

import QtQuick 2.13
import "../popups"
import "../stores"
import "../shared"
Item {
property var onClosed: function () {}
signal showCreatePasswordView()
id: genKeyView
anchors.fill: parent
Component.onCompleted: {
genKeyModal.open()
}
GenKeyModal {
property bool wentNext: false
id: genKeyModal
onNextClick: function (selectedIndex, displayName) {
wentNext = true
OnboardingStore.setCurrentAccountAndDisplayName(selectedIndex, displayName)
showCreatePasswordView()
}
onClosed: function () {
if (!wentNext) {
genKeyView.onClosed()
}
}
}
}