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
f34e4484
Commit
f34e4484
authored
Apr 11, 2017
by
dev0tion
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Group services and classes, add global service
parent
9d290484
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
35 additions
and
18 deletions
+35
-18
app.component.ts
Breeze.UI/src/app/app.component.ts
+1
-1
app.module.ts
Breeze.UI/src/app/app.module.ts
+3
-2
login.component.ts
Breeze.UI/src/app/login/login.component.ts
+2
-2
create.component.ts
Breeze.UI/src/app/setup/create/create.component.ts
+3
-3
recover.component.ts
Breeze.UI/src/app/setup/recover/recover.component.ts
+2
-2
mnemonic.ts
Breeze.UI/src/app/shared/classes/mnemonic.ts
+0
-0
wallet-creation.ts
Breeze.UI/src/app/shared/classes/wallet-creation.ts
+0
-0
wallet-load.ts
Breeze.UI/src/app/shared/classes/wallet-load.ts
+0
-0
wallet-recovery.ts
Breeze.UI/src/app/shared/classes/wallet-recovery.ts
+0
-0
api.service.ts
Breeze.UI/src/app/shared/services/api.service.ts
+4
-4
global.service.ts
Breeze.UI/src/app/shared/services/global.service.ts
+16
-0
history.component.ts
Breeze.UI/src/app/wallet/history/history.component.ts
+1
-1
dashboard.component.ts
Breeze.UI/src/app/wallet/menu/dashboard.component.ts
+1
-1
receive.component.ts
Breeze.UI/src/app/wallet/receive/receive.component.ts
+1
-1
send.component.ts
Breeze.UI/src/app/wallet/send/send.component.ts
+1
-1
No files found.
Breeze.UI/src/app/app.component.ts
View file @
f34e4484
import
{
Component
,
OnInit
}
from
'@angular/core'
;
import
{
Router
}
from
'@angular/router'
;
import
{
ApiService
}
from
'./shared/
api
/api.service'
;
import
{
ApiService
}
from
'./shared/
services
/api.service'
;
@
Component
({
selector
:
'app-root'
,
...
...
Breeze.UI/src/app/app.module.ts
View file @
f34e4484
...
...
@@ -11,7 +11,8 @@ import { AppRoutingModule } from './app-routing.module';
import
{
AppComponent
}
from
'./app.component'
;
import
{
LoginComponent
}
from
'./login/login.component'
;
import
{
ApiService
}
from
'./shared/api/api.service'
;
import
{
ApiService
}
from
'./shared/services/api.service'
;
import
{
GlobalService
}
from
'./shared/services/global.service'
;
@
NgModule
({
...
...
@@ -28,7 +29,7 @@ import { ApiService } from './shared/api/api.service';
AppComponent
,
LoginComponent
],
providers
:
[
ApiService
],
providers
:
[
ApiService
,
GlobalService
],
bootstrap
:
[
AppComponent
]
})
...
...
Breeze.UI/src/app/login/login.component.ts
View file @
f34e4484
import
{
Component
,
OnInit
}
from
'@angular/core'
;
import
{
Router
}
from
'@angular/router'
;
import
{
ApiService
}
from
'../shared/
api
/api.service'
;
import
{
WalletLoad
}
from
'../shared/wallet-load'
;
import
{
ApiService
}
from
'../shared/
services
/api.service'
;
import
{
WalletLoad
}
from
'../shared/
classes/
wallet-load'
;
@
Component
({
selector
:
'app-login'
,
...
...
Breeze.UI/src/app/setup/create/create.component.ts
View file @
f34e4484
import
{
Component
,
Injectable
}
from
'@angular/core'
;
import
{
ApiService
}
from
'../../shared/
api
/api.service'
;
import
{
ApiService
}
from
'../../shared/
services
/api.service'
;
import
{
WalletCreation
}
from
'../../shared/wallet-creation'
;
import
{
Mnemonic
}
from
'../../shared/mnemonic'
;
import
{
WalletCreation
}
from
'../../shared/
classes/
wallet-creation'
;
import
{
Mnemonic
}
from
'../../shared/
classes/
mnemonic'
;
@
Component
({
selector
:
'create-component'
,
...
...
Breeze.UI/src/app/setup/recover/recover.component.ts
View file @
f34e4484
import
{
Component
,
OnInit
}
from
'@angular/core'
;
import
{
ApiService
}
from
'../../shared/
api
/api.service'
import
{
WalletRecovery
}
from
'../../shared/wallet-recovery'
import
{
ApiService
}
from
'../../shared/
services
/api.service'
import
{
WalletRecovery
}
from
'../../shared/
classes/
wallet-recovery'
@
Component
({
selector
:
'app-recover'
,
...
...
Breeze.UI/src/app/shared/mnemonic.ts
→
Breeze.UI/src/app/shared/
classes/
mnemonic.ts
View file @
f34e4484
File moved
Breeze.UI/src/app/shared/wallet-creation.ts
→
Breeze.UI/src/app/shared/
classes/
wallet-creation.ts
View file @
f34e4484
File moved
Breeze.UI/src/app/shared/wallet-load.ts
→
Breeze.UI/src/app/shared/
classes/
wallet-load.ts
View file @
f34e4484
File moved
Breeze.UI/src/app/shared/wallet-recovery.ts
→
Breeze.UI/src/app/shared/
classes/
wallet-recovery.ts
View file @
f34e4484
File moved
Breeze.UI/src/app/shared/
api
/api.service.ts
→
Breeze.UI/src/app/shared/
services
/api.service.ts
View file @
f34e4484
...
...
@@ -4,10 +4,10 @@ import { Observable } from 'rxjs/Observable';
import
'rxjs/add/operator/map'
;
import
'rxjs/add/operator/catch'
;
import
{
WalletCreation
}
from
'../wallet-creation'
;
import
{
WalletRecovery
}
from
'../wallet-recovery'
;
import
{
WalletLoad
}
from
'../wallet-load'
;
import
{
Mnemonic
}
from
'../mnemonic'
;
import
{
WalletCreation
}
from
'../
classes/
wallet-creation'
;
import
{
WalletRecovery
}
from
'../
classes/
wallet-recovery'
;
import
{
WalletLoad
}
from
'../
classes/
wallet-load'
;
import
{
Mnemonic
}
from
'../
classes/
mnemonic'
;
/**
* For information on the API specification have a look at our Github:
...
...
Breeze.UI/src/app/shared/services/global.service.ts
0 → 100644
View file @
f34e4484
import
{
Injectable
}
from
"@angular/core"
;
@
Injectable
()
export
class
GlobalService
{
constructor
()
{}
private
walletPath
:
string
;
getWalletPath
(
walletPath
:
string
)
{
return
this
.
walletPath
=
walletPath
;
}
setWalletPath
(
walletPath
:
string
)
{
this
.
walletPath
=
walletPath
;
}
}
\ No newline at end of file
Breeze.UI/src/app/wallet/history/history.component.ts
View file @
f34e4484
import
{
Component
,
OnInit
}
from
'@angular/core'
;
import
{
ApiService
}
from
'../../shared/
api
/api.service'
import
{
ApiService
}
from
'../../shared/
services
/api.service'
@
Component
({
selector
:
'history-component'
,
...
...
Breeze.UI/src/app/wallet/menu/dashboard.component.ts
View file @
f34e4484
import
{
Component
,
OnInit
}
from
'@angular/core'
;
import
{
ApiService
}
from
'../../shared/
api
/api.service'
;
import
{
ApiService
}
from
'../../shared/
services
/api.service'
;
@
Component
({
selector
:
'dashboard-component'
,
...
...
Breeze.UI/src/app/wallet/receive/receive.component.ts
View file @
f34e4484
import
{
Component
,
OnInit
}
from
'@angular/core'
;
import
{
ApiService
}
from
'../../shared/
api
/api.service'
import
{
ApiService
}
from
'../../shared/
services
/api.service'
@
Component
({
selector
:
'receive-component'
,
...
...
Breeze.UI/src/app/wallet/send/send.component.ts
View file @
f34e4484
import
{
Component
}
from
'@angular/core'
;
import
{
ApiService
}
from
'../../shared/
api
/api.service'
;
import
{
ApiService
}
from
'../../shared/
services
/api.service'
;
@
Component
({
selector
:
'send-component'
,
...
...
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