added busy indicator component

- replaced the image of the connect button with native rendering
This commit is contained in:
vladimir.kuznetsov 2023-07-04 09:58:19 +09:00
parent b32935dd97
commit 43261f8469
10 changed files with 197 additions and 42 deletions

View file

@ -20,11 +20,21 @@ PageType {
target: ExportController
function onGenerateConfig(isFullAccess) {
shareConnectionDrawer.open()
shareConnectionDrawer.contentVisible = false
PageController.showBusyIndicator(true)
if (isFullAccess) {
ExportController.generateFullAccessConfig()
} else {
ExportController.generateConnectionConfig()
}
PageController.showBusyIndicator(false)
shareConnectionDrawer.contentVisible = true
}
function onExportErrorOccurred(errorMessage) {
shareConnectionDrawer.close()
PageController.showErrorMessage(errorMessage)
}
}
@ -328,7 +338,6 @@ PageType {
} else {
ExportController.generateConfig(true)
}
shareConnectionDrawer.visible = true
}
}
}