2022-08-16 09:19:15 +00:00
|
|
|
import QtQuick 2.13
|
|
|
|
import utils 1.0
|
|
|
|
|
|
|
|
QtObject {
|
|
|
|
id: root
|
|
|
|
|
|
|
|
property var keycardModule
|
|
|
|
|
2023-08-25 09:05:05 +00:00
|
|
|
function runSetupKeycardPopup(keyUid) {
|
|
|
|
root.keycardModule.runSetupKeycardPopup(keyUid)
|
2022-08-31 17:09:07 +00:00
|
|
|
}
|
2022-09-20 14:05:02 +00:00
|
|
|
|
2023-08-29 14:22:41 +00:00
|
|
|
function runStopUsingKeycardPopup(keyUid) {
|
|
|
|
root.keycardModule.runStopUsingKeycardPopup(keyUid)
|
|
|
|
}
|
|
|
|
|
2022-12-16 09:37:08 +00:00
|
|
|
function runCreateNewKeycardWithNewSeedPhrasePopup() {
|
|
|
|
root.keycardModule.runCreateNewKeycardWithNewSeedPhrasePopup()
|
2022-09-21 13:11:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
function runImportOrRestoreViaSeedPhrasePopup() {
|
|
|
|
root.keycardModule.runImportOrRestoreViaSeedPhrasePopup()
|
|
|
|
}
|
|
|
|
|
|
|
|
function runImportFromKeycardToAppPopup() {
|
|
|
|
root.keycardModule.runImportFromKeycardToAppPopup()
|
|
|
|
}
|
|
|
|
|
2022-12-09 19:43:36 +00:00
|
|
|
function runUnlockKeycardPopupForKeycardWithUid(keyUid) {
|
|
|
|
root.keycardModule.runUnlockKeycardPopupForKeycardWithUid(keyUid)
|
2022-09-20 14:05:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
function runDisplayKeycardContentPopup() {
|
|
|
|
root.keycardModule.runDisplayKeycardContentPopup()
|
|
|
|
}
|
|
|
|
|
|
|
|
function runFactoryResetPopup() {
|
|
|
|
root.keycardModule.runFactoryResetPopup()
|
|
|
|
}
|
2022-10-11 12:15:33 +00:00
|
|
|
|
2022-12-09 19:43:36 +00:00
|
|
|
function runRenameKeycardPopup(keyUid) {
|
|
|
|
root.keycardModule.runRenameKeycardPopup(keyUid)
|
2022-10-11 12:15:33 +00:00
|
|
|
}
|
|
|
|
|
2022-12-09 19:43:36 +00:00
|
|
|
function runChangePinPopup(keyUid) {
|
|
|
|
root.keycardModule.runChangePinPopup(keyUid)
|
2022-10-11 12:15:33 +00:00
|
|
|
}
|
|
|
|
|
2022-12-09 19:43:36 +00:00
|
|
|
function runCreateBackupCopyOfAKeycardPopup(keyUid) {
|
|
|
|
root.keycardModule.runCreateBackupCopyOfAKeycardPopup(keyUid)
|
2022-10-11 12:15:33 +00:00
|
|
|
}
|
|
|
|
|
2022-12-09 19:43:36 +00:00
|
|
|
function runCreatePukPopup(keyUid) {
|
|
|
|
root.keycardModule.runCreatePukPopup(keyUid)
|
2022-10-11 12:15:33 +00:00
|
|
|
}
|
|
|
|
|
2022-12-09 19:43:36 +00:00
|
|
|
function runCreateNewPairingCodePopup(keyUid) {
|
|
|
|
root.keycardModule.runCreateNewPairingCodePopup(keyUid)
|
2022-10-11 12:15:33 +00:00
|
|
|
}
|
|
|
|
|
2022-12-09 19:43:36 +00:00
|
|
|
function prepareKeycardDetailsModel(keyUid) {
|
|
|
|
root.keycardModule.prepareKeycardDetailsModel(keyUid)
|
2022-10-11 12:15:33 +00:00
|
|
|
}
|
2024-08-05 13:44:32 +00:00
|
|
|
|
|
|
|
function remainingKeypairCapacity() {
|
|
|
|
return root.keycardModule.remainingKeypairCapacity()
|
|
|
|
}
|
|
|
|
|
|
|
|
function remainingAccountCapacity() {
|
|
|
|
return root.keycardModule.remainingAccountCapacity()
|
|
|
|
}
|
2022-08-16 09:19:15 +00:00
|
|
|
}
|