Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
Breeze
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DeStream-public
Breeze
Commits
41cc4367
Commit
41cc4367
authored
Sep 26, 2017
by
dev0tion
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix production build
parent
b62e58f8
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
42 additions
and
42 deletions
+42
-42
app.component.ts
Breeze.UI/src/app/app.component.ts
+1
-1
login.component.ts
Breeze.UI/src/app/login/login.component.ts
+1
-1
create.component.ts
Breeze.UI/src/app/setup/create/create.component.ts
+4
-4
recover.component.ts
Breeze.UI/src/app/setup/recover/recover.component.ts
+5
-5
setup.component.ts
Breeze.UI/src/app/setup/setup.component.ts
+3
-3
dashboard.component.ts
Breeze.UI/src/app/wallet/dashboard/dashboard.component.ts
+6
-6
history.component.ts
Breeze.UI/src/app/wallet/history/history.component.ts
+1
-1
logout-confirmation.component.ts
...llet/logout-confirmation/logout-confirmation.component.ts
+2
-2
receive.component.ts
Breeze.UI/src/app/wallet/receive/receive.component.ts
+3
-3
send-confirmation.component.ts
...let/send/send-confirmation/send-confirmation.component.ts
+1
-1
send.component.ts
Breeze.UI/src/app/wallet/send/send.component.ts
+4
-4
sidebar.component.ts
Breeze.UI/src/app/wallet/sidebar/sidebar.component.ts
+5
-5
status-bar.component.ts
Breeze.UI/src/app/wallet/status-bar/status-bar.component.ts
+4
-4
transaction-details.component.ts
...llet/transaction-details/transaction-details.component.ts
+2
-2
No files found.
Breeze.UI/src/app/app.component.ts
View file @
41cc4367
...
...
@@ -19,7 +19,7 @@ export class AppComponent implements OnInit {
constructor
(
private
router
:
Router
,
private
apiService
:
ApiService
,
private
titleService
:
Title
)
{}
private
errorMessage
:
any
;
private
responseMessage
:
any
;
p
rivate
loading
:
boolean
=
true
;
p
ublic
loading
:
boolean
=
true
;
ngOnInit
()
{
this
.
setTitle
();
...
...
Breeze.UI/src/app/login/login.component.ts
View file @
41cc4367
...
...
@@ -18,7 +18,7 @@ export class LoginComponent implements OnInit {
}
private
openWalletForm
:
FormGroup
;
p
rivate
hasWallet
:
boolean
=
false
;
p
ublic
hasWallet
:
boolean
=
false
;
private
wallets
:
[
string
];
private
isDecrypting
=
false
;
...
...
Breeze.UI/src/app/setup/create/create.component.ts
View file @
41cc4367
...
...
@@ -21,10 +21,10 @@ export class CreateComponent implements OnInit {
this
.
buildCreateForm
();
}
p
rivate
createWalletForm
:
FormGroup
;
p
ublic
createWalletForm
:
FormGroup
;
private
newWallet
:
WalletCreation
;
private
mnemonic
:
string
;
p
rivate
isCreating
:
B
oolean
=
false
;
p
ublic
isCreating
:
b
oolean
=
false
;
ngOnInit
()
{
this
.
getNewMnemonic
();
...
...
@@ -95,11 +95,11 @@ export class CreateComponent implements OnInit {
}
};
p
rivate
onBackClicked
()
{
p
ublic
onBackClicked
()
{
this
.
router
.
navigate
([
"/setup"
]);
}
p
rivate
onCreateClicked
()
{
p
ublic
onCreateClicked
()
{
this
.
isCreating
=
true
;
if
(
this
.
mnemonic
)
{
this
.
newWallet
=
new
WalletCreation
(
...
...
Breeze.UI/src/app/setup/recover/recover.component.ts
View file @
41cc4367
...
...
@@ -19,10 +19,10 @@ export class RecoverComponent implements OnInit {
}
p
rivate
recoverWalletForm
:
FormGroup
;
p
rivate
creationDate
:
Date
;
p
ublic
recoverWalletForm
:
FormGroup
;
p
ublic
creationDate
:
Date
;
private
walletRecovery
:
WalletRecovery
;
p
rivate
isRecovering
:
B
oolean
=
false
;
p
ublic
isRecovering
:
b
oolean
=
false
;
private
responseMessage
:
string
;
private
errorMessage
:
string
;
...
...
@@ -86,11 +86,11 @@ export class RecoverComponent implements OnInit {
},
};
p
rivate
onBackClicked
()
{
p
ublic
onBackClicked
()
{
this
.
router
.
navigate
([
"/setup"
]);
}
p
rivate
onRecoverClicked
(){
p
ublic
onRecoverClicked
(){
this
.
isRecovering
=
true
;
this
.
walletRecovery
=
new
WalletRecovery
(
this
.
recoverWalletForm
.
get
(
"walletName"
).
value
,
...
...
Breeze.UI/src/app/setup/setup.component.ts
View file @
41cc4367
...
...
@@ -9,15 +9,15 @@ import { Router } from '@angular/router';
})
export
class
SetupComponent
{
constructor
(
private
router
:
Router
,
private
location
:
Location
)
{}
p
rivate
onCreateClicked
()
{
p
ublic
onCreateClicked
()
{
this
.
router
.
navigate
([
'/setup/create'
]);
}
p
rivate
onRecoverClicked
()
{
p
ublic
onRecoverClicked
()
{
this
.
router
.
navigate
([
'/setup/recover'
]);
}
p
rivate
onBackClicked
()
{
p
ublic
onBackClicked
()
{
this
.
router
.
navigate
([
''
]);
}
}
Breeze.UI/src/app/wallet/dashboard/dashboard.component.ts
View file @
41cc4367
...
...
@@ -21,9 +21,9 @@ import { Subscription } from 'rxjs/Subscription';
export
class
DashboardComponent
implements
OnInit
{
constructor
(
private
apiService
:
ApiService
,
private
globalService
:
GlobalService
,
private
modalService
:
NgbModal
)
{}
p
rivate
confirmedBalance
:
number
;
p
rivate
unconfirmedBalance
:
number
;
p
rivate
transactions
:
any
;
p
ublic
confirmedBalance
:
number
;
p
ublic
unconfirmedBalance
:
number
;
p
ublic
transactions
:
any
;
private
walletBalanceSubscription
:
Subscription
;
private
walletHistorySubscription
:
Subscription
;
...
...
@@ -35,15 +35,15 @@ export class DashboardComponent implements OnInit {
this
.
cancelSubscriptions
();
};
p
rivate
openSendDialog
()
{
p
ublic
openSendDialog
()
{
const
modalRef
=
this
.
modalService
.
open
(
SendComponent
);
};
p
rivate
openReceiveDialog
()
{
p
ublic
openReceiveDialog
()
{
const
modalRef
=
this
.
modalService
.
open
(
ReceiveComponent
);
};
p
rivate
openTransactionDetailDialog
(
transaction
:
any
)
{
p
ublic
openTransactionDetailDialog
(
transaction
:
any
)
{
const
modalRef
=
this
.
modalService
.
open
(
TransactionDetailsComponent
);
modalRef
.
componentInstance
.
transaction
=
transaction
;
}
...
...
Breeze.UI/src/app/wallet/history/history.component.ts
View file @
41cc4367
...
...
@@ -20,7 +20,7 @@ import { TransactionDetailsComponent } from '../transaction-details/transaction-
export
class
HistoryComponent
{
constructor
(
private
apiService
:
ApiService
,
private
globalService
:
GlobalService
,
private
modalService
:
NgbModal
)
{}
p
rivate
transactions
:
any
;
p
ublic
transactions
:
any
;
private
errorMessage
:
string
;
private
walletHistorySubscription
:
Subscription
;
...
...
Breeze.UI/src/app/wallet/logout-confirmation/logout-confirmation.component.ts
View file @
41cc4367
...
...
@@ -10,12 +10,12 @@ import {NgbModal, NgbActiveModal} from '@ng-bootstrap/ng-bootstrap';
})
export
class
LogoutConfirmationComponent
implements
OnInit
{
constructor
(
p
rivate
activeModal
:
NgbActiveModal
,
private
router
:
Router
)
{
}
constructor
(
p
ublic
activeModal
:
NgbActiveModal
,
private
router
:
Router
)
{
}
ngOnInit
()
{
}
p
rivate
onLogout
()
{
p
ublic
onLogout
()
{
this
.
activeModal
.
close
();
this
.
router
.
navigate
([
'/login'
]);
}
...
...
Breeze.UI/src/app/wallet/receive/receive.component.ts
View file @
41cc4367
...
...
@@ -16,15 +16,15 @@ import { NgbModal, NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
export
class
ReceiveComponent
{
constructor
(
private
apiService
:
ApiService
,
private
globalService
:
GlobalService
,
public
activeModal
:
NgbActiveModal
)
{}
p
rivate
address
:
any
=
""
;
p
rivate
copied
:
boolean
=
false
;
p
ublic
address
:
any
=
""
;
p
ublic
copied
:
boolean
=
false
;
private
errorMessage
:
string
;
ngOnInit
()
{
this
.
getUnusedReceiveAddresses
();
}
p
rivate
onCopiedClick
()
{
p
ublic
onCopiedClick
()
{
this
.
copied
=
true
;
}
...
...
Breeze.UI/src/app/wallet/send/send-confirmation/send-confirmation.component.ts
View file @
41cc4367
...
...
@@ -14,7 +14,7 @@ export class SendConfirmationComponent implements OnInit {
@
Input
()
transaction
:
any
;
constructor
(
private
globalService
:
GlobalService
,
public
activeModal
:
NgbActiveModal
)
{
}
p
rivate
showDetails
:
boolean
=
false
;
p
ublic
showDetails
:
boolean
=
false
;
private
coinUnit
:
string
;
ngOnInit
()
{
...
...
Breeze.UI/src/app/wallet/send/send.component.ts
View file @
41cc4367
...
...
@@ -21,12 +21,12 @@ export class SendComponent implements OnInit {
this
.
buildSendForm
();
}
p
rivate
sendForm
:
FormGroup
;
p
ublic
sendForm
:
FormGroup
;
private
responseMessage
:
any
;
private
errorMessage
:
string
;
p
rivate
coinUnit
:
string
;
p
ublic
coinUnit
:
string
;
private
transaction
:
TransactionBuilding
;
p
rivate
isSending
:
B
oolean
=
false
;
p
ublic
isSending
:
b
oolean
=
false
;
ngOnInit
()
{
this
.
coinUnit
=
this
.
globalService
.
getCoinUnit
();
...
...
@@ -84,7 +84,7 @@ export class SendComponent implements OnInit {
}
};
p
rivate
send
()
{
p
ublic
send
()
{
this
.
isSending
=
true
;
this
.
transaction
=
new
TransactionBuilding
(
...
...
Breeze.UI/src/app/wallet/sidebar/sidebar.component.ts
View file @
41cc4367
...
...
@@ -13,8 +13,8 @@ import { GlobalService } from '../../shared/services/global.service';
export
class
SidebarComponent
implements
OnInit
{
constructor
(
private
globalService
:
GlobalService
,
private
router
:
Router
,
private
modalService
:
NgbModal
)
{
}
p
rivate
bitcoinActive
:
B
oolean
;
p
rivate
stratisActive
:
B
oolean
;
p
ublic
bitcoinActive
:
b
oolean
;
p
ublic
stratisActive
:
b
oolean
;
ngOnInit
()
{
if
(
this
.
globalService
.
getCoinName
()
===
"Bitcoin"
||
this
.
globalService
.
getCoinName
()
===
"TestBitcoin"
)
{
...
...
@@ -26,7 +26,7 @@ export class SidebarComponent implements OnInit {
}
}
p
rivate
loadBitcoinWallet
()
{
p
ublic
loadBitcoinWallet
()
{
this
.
bitcoinActive
=
true
;
this
.
stratisActive
=
false
;
this
.
globalService
.
setCoinName
(
"TestBitcoin"
);
...
...
@@ -34,7 +34,7 @@ export class SidebarComponent implements OnInit {
this
.
router
.
navigate
([
'/wallet'
]);
}
p
rivate
loadStratisWallet
()
{
p
ublic
loadStratisWallet
()
{
this
.
bitcoinActive
=
false
;
this
.
stratisActive
=
true
;
this
.
globalService
.
setCoinName
(
"TestStratis"
);
...
...
@@ -42,7 +42,7 @@ export class SidebarComponent implements OnInit {
this
.
router
.
navigate
([
'/wallet/stratis-wallet'
]);
}
p
rivate
logOut
()
{
p
ublic
logOut
()
{
const
modalRef
=
this
.
modalService
.
open
(
LogoutConfirmationComponent
);
}
}
Breeze.UI/src/app/wallet/status-bar/status-bar.component.ts
View file @
41cc4367
...
...
@@ -15,12 +15,12 @@ import { Subscription } from 'rxjs/Subscription';
export
class
StatusBarComponent
implements
OnInit
{
private
generalWalletInfoSubscription
:
Subscription
;
p
rivate
lastBlockSyncedHeight
:
number
;
p
rivate
chainTip
:
number
;
p
ublic
lastBlockSyncedHeight
:
number
;
p
ublic
chainTip
:
number
;
private
isChainSynced
:
boolean
;
p
rivate
connectedNodes
:
number
=
0
;
p
ublic
connectedNodes
:
number
=
0
;
private
percentSyncedNumber
:
number
=
0
;
p
rivate
percentSynced
:
string
;
p
ublic
percentSynced
:
string
;
constructor
(
private
apiService
:
ApiService
,
private
globalService
:
GlobalService
)
{
}
...
...
Breeze.UI/src/app/wallet/transaction-details/transaction-details.component.ts
View file @
41cc4367
...
...
@@ -12,12 +12,12 @@ export class TransactionDetailsComponent implements OnInit {
@
Input
()
transaction
;
constructor
(
public
activeModal
:
NgbActiveModal
)
{}
p
rivate
copied
:
boolean
=
false
;
p
ublic
copied
:
boolean
=
false
;
ngOnInit
()
{
}
p
rivate
onCopiedClick
()
{
p
ublic
onCopiedClick
()
{
this
.
copied
=
true
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment