diff --git a/web/dist/dist_gen.go b/web/dist/dist_gen.go
index 189dd0b48..c81a66eed 100644
--- a/web/dist/dist_gen.go
+++ b/web/dist/dist_gen.go
@@ -136,36 +136,36 @@ func MustLookup(path string) []byte {
// Index of all files
var files = map[string]file{
- "/static/bundle.808a5c44050d60e33a59.js": {
+ "/favicon.svg": {
data: file0,
FileInfo: &fileInfo{
- name: "bundle.808a5c44050d60e33a59.js",
- size: 374585,
- modTime: time.Unix(1573591236, 0),
- },
- },
- "/static/vendor.7f216335d46eed670011.js": {
- data: file1,
- FileInfo: &fileInfo{
- name: "vendor.7f216335d46eed670011.js",
- size: 272277,
- modTime: time.Unix(1573591236, 0),
- },
- },
- "/favicon.png": {
- data: file2,
- FileInfo: &fileInfo{
- name: "favicon.png",
- size: 1374,
- modTime: time.Unix(1573591236, 0),
+ name: "favicon.svg",
+ size: 1728,
+ modTime: time.Unix(1615794884, 0),
},
},
"/index.html": {
- data: file3,
+ data: file1,
FileInfo: &fileInfo{
name: "index.html",
size: 388,
- modTime: time.Unix(1573591236, 0),
+ modTime: time.Unix(1615794884, 0),
+ },
+ },
+ "/static/bundle.14b3605fca845fd47915.js": {
+ data: file2,
+ FileInfo: &fileInfo{
+ name: "bundle.14b3605fca845fd47915.js",
+ size: 386504,
+ modTime: time.Unix(1615794884, 0),
+ },
+ },
+ "/static/vendor.497f1f486226ce834442.js": {
+ data: file3,
+ FileInfo: &fileInfo{
+ name: "vendor.497f1f486226ce834442.js",
+ size: 272277,
+ modTime: time.Unix(1615794884, 0),
},
},
}
@@ -174,8 +174,171 @@ var files = map[string]file{
// embedded files.
//
-// /static/bundle.808a5c44050d60e33a59.js
-var file0 = []byte(`webpackJsonp([0],[
+// /favicon.svg
+var file0 = []byte{
+ 0x3c, 0x73, 0x76, 0x67, 0x20, 0x78, 0x6d, 0x6c, 0x6e, 0x73, 0x3d, 0x22,
+ 0x68, 0x74, 0x74, 0x70, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x77,
+ 0x33, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x32, 0x30, 0x30, 0x30, 0x2f, 0x73,
+ 0x76, 0x67, 0x22, 0x20, 0x77, 0x69, 0x64, 0x74, 0x68, 0x3d, 0x22, 0x32,
+ 0x32, 0x22, 0x20, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x3d, 0x22, 0x32,
+ 0x32, 0x22, 0x3e, 0x3c, 0x70, 0x61, 0x74, 0x68, 0x20, 0x64, 0x3d, 0x22,
+ 0x4d, 0x31, 0x2e, 0x32, 0x36, 0x33, 0x20, 0x32, 0x2e, 0x37, 0x34, 0x34,
+ 0x43, 0x32, 0x2e, 0x34, 0x31, 0x20, 0x33, 0x2e, 0x38, 0x33, 0x32, 0x20,
+ 0x32, 0x2e, 0x38, 0x34, 0x35, 0x20, 0x34, 0x2e, 0x39, 0x33, 0x32, 0x20,
+ 0x34, 0x2e, 0x31, 0x31, 0x38, 0x20, 0x35, 0x2e, 0x30, 0x38, 0x6c, 0x2e,
+ 0x30, 0x33, 0x36, 0x2e, 0x30, 0x30, 0x37, 0x63, 0x2d, 0x2e, 0x35, 0x38,
+ 0x38, 0x2e, 0x36, 0x30, 0x36, 0x2d, 0x31, 0x2e, 0x30, 0x39, 0x20, 0x31,
+ 0x2e, 0x34, 0x30, 0x32, 0x2d, 0x31, 0x2e, 0x34, 0x34, 0x33, 0x20, 0x32,
+ 0x2e, 0x34, 0x32, 0x33, 0x2d, 0x2e, 0x33, 0x38, 0x20, 0x31, 0x2e, 0x30,
+ 0x39, 0x36, 0x2d, 0x2e, 0x34, 0x38, 0x38, 0x20, 0x32, 0x2e, 0x32, 0x38,
+ 0x35, 0x2d, 0x2e, 0x36, 0x31, 0x34, 0x20, 0x33, 0x2e, 0x36, 0x35, 0x39,
+ 0x2d, 0x2e, 0x31, 0x39, 0x20, 0x32, 0x2e, 0x30, 0x34, 0x36, 0x2d, 0x2e,
+ 0x34, 0x30, 0x31, 0x20, 0x34, 0x2e, 0x33, 0x36, 0x34, 0x2d, 0x31, 0x2e,
+ 0x35, 0x35, 0x36, 0x20, 0x37, 0x2e, 0x32, 0x36, 0x39, 0x2d, 0x32, 0x2e,
+ 0x34, 0x38, 0x36, 0x20, 0x36, 0x2e, 0x32, 0x35, 0x38, 0x2d, 0x31, 0x2e,
+ 0x31, 0x32, 0x20, 0x31, 0x31, 0x2e, 0x36, 0x33, 0x2e, 0x33, 0x33, 0x32,
+ 0x20, 0x31, 0x37, 0x2e, 0x33, 0x31, 0x37, 0x2e, 0x36, 0x36, 0x34, 0x20,
+ 0x32, 0x2e, 0x36, 0x30, 0x34, 0x20, 0x31, 0x2e, 0x33, 0x34, 0x38, 0x20,
+ 0x35, 0x2e, 0x32, 0x39, 0x37, 0x20, 0x31, 0x2e, 0x36, 0x34, 0x32, 0x20,
+ 0x38, 0x2e, 0x31, 0x30, 0x37, 0x61, 0x2e, 0x38, 0x35, 0x37, 0x2e, 0x38,
+ 0x35, 0x37, 0x20, 0x30, 0x20, 0x30, 0x30, 0x2e, 0x36, 0x33, 0x33, 0x2e,
+ 0x37, 0x34, 0x34, 0x2e, 0x38, 0x36, 0x2e, 0x38, 0x36, 0x20, 0x30, 0x20,
+ 0x30, 0x30, 0x2e, 0x39, 0x32, 0x32, 0x2d, 0x2e, 0x33, 0x32, 0x33, 0x63,
+ 0x2e, 0x32, 0x32, 0x37, 0x2d, 0x2e, 0x33, 0x31, 0x33, 0x2e, 0x35, 0x32,
+ 0x34, 0x2d, 0x2e, 0x37, 0x39, 0x37, 0x2e, 0x38, 0x36, 0x2d, 0x31, 0x2e,
+ 0x34, 0x32, 0x34, 0x2e, 0x38, 0x34, 0x20, 0x33, 0x2e, 0x33, 0x32, 0x33,
+ 0x20, 0x31, 0x2e, 0x33, 0x35, 0x35, 0x20, 0x36, 0x2e, 0x31, 0x33, 0x20,
+ 0x31, 0x2e, 0x37, 0x38, 0x33, 0x20, 0x38, 0x2e, 0x36, 0x39, 0x37, 0x61,
+ 0x2e, 0x38, 0x36, 0x36, 0x2e, 0x38, 0x36, 0x36, 0x20, 0x30, 0x20, 0x30,
+ 0x30, 0x31, 0x2e, 0x35, 0x31, 0x37, 0x2e, 0x34, 0x31, 0x63, 0x32, 0x2e,
+ 0x38, 0x38, 0x2d, 0x33, 0x2e, 0x34, 0x36, 0x33, 0x20, 0x33, 0x2e, 0x37,
+ 0x36, 0x33, 0x2d, 0x38, 0x2e, 0x36, 0x33, 0x36, 0x20, 0x32, 0x2e, 0x31,
+ 0x38, 0x34, 0x2d, 0x31, 0x32, 0x2e, 0x36, 0x37, 0x34, 0x2e, 0x34, 0x35,
+ 0x39, 0x2d, 0x32, 0x2e, 0x34, 0x33, 0x33, 0x20, 0x31, 0x2e, 0x34, 0x30,
+ 0x32, 0x2d, 0x34, 0x2e, 0x34, 0x35, 0x20, 0x32, 0x2e, 0x33, 0x39, 0x38,
+ 0x2d, 0x36, 0x2e, 0x35, 0x38, 0x33, 0x2e, 0x35, 0x33, 0x36, 0x2d, 0x31,
+ 0x2e, 0x31, 0x35, 0x20, 0x31, 0x2e, 0x30, 0x38, 0x2d, 0x32, 0x2e, 0x33,
+ 0x31, 0x38, 0x20, 0x31, 0x2e, 0x35, 0x35, 0x2d, 0x33, 0x2e, 0x35, 0x36,
+ 0x36, 0x2e, 0x32, 0x32, 0x38, 0x2d, 0x2e, 0x30, 0x38, 0x34, 0x2e, 0x35,
+ 0x36, 0x39, 0x2d, 0x2e, 0x33, 0x31, 0x34, 0x2e, 0x37, 0x39, 0x2d, 0x2e,
+ 0x34, 0x34, 0x31, 0x6c, 0x31, 0x2e, 0x37, 0x30, 0x37, 0x2d, 0x2e, 0x39,
+ 0x38, 0x31, 0x2d, 0x2e, 0x32, 0x35, 0x36, 0x20, 0x31, 0x2e, 0x30, 0x35,
+ 0x32, 0x61, 0x2e, 0x38, 0x36, 0x34, 0x2e, 0x38, 0x36, 0x34, 0x20, 0x30,
+ 0x20, 0x30, 0x30, 0x31, 0x2e, 0x36, 0x37, 0x38, 0x2e, 0x34, 0x30, 0x38,
+ 0x6c, 0x2e, 0x36, 0x38, 0x2d, 0x32, 0x2e, 0x38, 0x35, 0x38, 0x20, 0x31,
+ 0x2e, 0x32, 0x38, 0x35, 0x2d, 0x32, 0x2e, 0x39, 0x35, 0x61, 0x2e, 0x38,
+ 0x36, 0x33, 0x2e, 0x38, 0x36, 0x33, 0x20, 0x30, 0x20, 0x31, 0x30, 0x2d,
+ 0x31, 0x2e, 0x35, 0x38, 0x31, 0x2d, 0x2e, 0x36, 0x38, 0x37, 0x6c, 0x2d,
+ 0x31, 0x2e, 0x31, 0x35, 0x32, 0x20, 0x32, 0x2e, 0x36, 0x36, 0x39, 0x2d,
+ 0x32, 0x2e, 0x33, 0x38, 0x33, 0x20, 0x31, 0x2e, 0x33, 0x37, 0x32, 0x61,
+ 0x31, 0x38, 0x2e, 0x39, 0x37, 0x20, 0x31, 0x38, 0x2e, 0x39, 0x37, 0x20,
+ 0x30, 0x20, 0x30, 0x30, 0x2e, 0x35, 0x30, 0x38, 0x2d, 0x32, 0x2e, 0x39,
+ 0x38, 0x31, 0x63, 0x2e, 0x34, 0x33, 0x32, 0x2d, 0x34, 0x2e, 0x38, 0x36,
+ 0x2d, 0x2e, 0x37, 0x31, 0x38, 0x2d, 0x39, 0x2e, 0x30, 0x37, 0x34, 0x2d,
+ 0x33, 0x2e, 0x30, 0x36, 0x36, 0x2d, 0x31, 0x31, 0x2e, 0x32, 0x36, 0x36,
+ 0x2d, 0x2e, 0x31, 0x36, 0x33, 0x2d, 0x2e, 0x31, 0x35, 0x37, 0x2d, 0x2e,
+ 0x32, 0x30, 0x38, 0x2d, 0x2e, 0x32, 0x38, 0x31, 0x2d, 0x2e, 0x32, 0x34,
+ 0x37, 0x2d, 0x2e, 0x32, 0x36, 0x2e, 0x30, 0x39, 0x35, 0x2d, 0x2e, 0x31,
+ 0x32, 0x2e, 0x32, 0x34, 0x39, 0x2d, 0x2e, 0x32, 0x36, 0x2e, 0x33, 0x35,
+ 0x38, 0x2d, 0x2e, 0x33, 0x37, 0x34, 0x20, 0x32, 0x2e, 0x32, 0x38, 0x33,
+ 0x2d, 0x31, 0x2e, 0x36, 0x39, 0x33, 0x20, 0x36, 0x2e, 0x30, 0x34, 0x37,
+ 0x2d, 0x2e, 0x31, 0x34, 0x37, 0x20, 0x38, 0x2e, 0x33, 0x31, 0x39, 0x2e,
+ 0x37, 0x35, 0x2e, 0x35, 0x38, 0x39, 0x2e, 0x32, 0x33, 0x32, 0x2e, 0x38,
+ 0x37, 0x36, 0x2d, 0x2e, 0x33, 0x33, 0x37, 0x2e, 0x33, 0x31, 0x36, 0x2d,
+ 0x2e, 0x36, 0x37, 0x2d, 0x31, 0x2e, 0x39, 0x35, 0x2d, 0x31, 0x2e, 0x31,
+ 0x35, 0x33, 0x2d, 0x35, 0x2e, 0x39, 0x34, 0x38, 0x2d, 0x34, 0x2e, 0x31,
+ 0x39, 0x36, 0x2d, 0x38, 0x2e, 0x31, 0x38, 0x38, 0x2d, 0x36, 0x2e, 0x31,
+ 0x39, 0x33, 0x2d, 0x2e, 0x33, 0x31, 0x33, 0x2d, 0x2e, 0x32, 0x37, 0x35,
+ 0x2d, 0x2e, 0x35, 0x32, 0x37, 0x2d, 0x2e, 0x36, 0x30, 0x37, 0x2d, 0x2e,
+ 0x38, 0x39, 0x2d, 0x2e, 0x39, 0x31, 0x33, 0x43, 0x39, 0x2e, 0x38, 0x32,
+ 0x35, 0x2e, 0x35, 0x35, 0x35, 0x20, 0x34, 0x2e, 0x30, 0x37, 0x32, 0x20,
+ 0x33, 0x2e, 0x30, 0x35, 0x37, 0x20, 0x31, 0x2e, 0x33, 0x35, 0x35, 0x20,
+ 0x32, 0x2e, 0x35, 0x36, 0x39, 0x63, 0x2d, 0x2e, 0x31, 0x30, 0x32, 0x2d,
+ 0x2e, 0x30, 0x31, 0x38, 0x2d, 0x2e, 0x31, 0x36, 0x36, 0x2e, 0x31, 0x30,
+ 0x33, 0x2d, 0x2e, 0x30, 0x39, 0x32, 0x2e, 0x31, 0x37, 0x35, 0x6d, 0x31,
+ 0x30, 0x2e, 0x39, 0x38, 0x20, 0x35, 0x2e, 0x38, 0x39, 0x39, 0x63, 0x2d,
+ 0x2e, 0x30, 0x36, 0x20, 0x31, 0x2e, 0x32, 0x34, 0x32, 0x2d, 0x2e, 0x36,
+ 0x30, 0x33, 0x20, 0x31, 0x2e, 0x38, 0x2d, 0x31, 0x20, 0x32, 0x2e, 0x32,
+ 0x30, 0x38, 0x2d, 0x2e, 0x32, 0x31, 0x37, 0x2e, 0x32, 0x32, 0x34, 0x2d,
+ 0x2e, 0x34, 0x32, 0x36, 0x2e, 0x34, 0x33, 0x36, 0x2d, 0x2e, 0x35, 0x32,
+ 0x34, 0x2e, 0x37, 0x33, 0x38, 0x2d, 0x2e, 0x32, 0x33, 0x36, 0x2e, 0x37,
+ 0x31, 0x34, 0x2e, 0x30, 0x30, 0x38, 0x20, 0x31, 0x2e, 0x35, 0x31, 0x2e,
+ 0x36, 0x36, 0x20, 0x32, 0x2e, 0x31, 0x34, 0x33, 0x20, 0x31, 0x2e, 0x39,
+ 0x37, 0x34, 0x20, 0x31, 0x2e, 0x38, 0x34, 0x20, 0x32, 0x2e, 0x39, 0x32,
+ 0x35, 0x20, 0x35, 0x2e, 0x35, 0x32, 0x37, 0x20, 0x32, 0x2e, 0x35, 0x33,
+ 0x38, 0x20, 0x39, 0x2e, 0x38, 0x36, 0x2d, 0x2e, 0x32, 0x39, 0x31, 0x20,
+ 0x33, 0x2e, 0x32, 0x38, 0x38, 0x2d, 0x31, 0x2e, 0x34, 0x34, 0x38, 0x20,
+ 0x35, 0x2e, 0x37, 0x36, 0x33, 0x2d, 0x32, 0x2e, 0x36, 0x37, 0x31, 0x20,
+ 0x38, 0x2e, 0x33, 0x38, 0x35, 0x2d, 0x31, 0x2e, 0x30, 0x33, 0x31, 0x20,
+ 0x32, 0x2e, 0x32, 0x30, 0x37, 0x2d, 0x32, 0x2e, 0x30, 0x39, 0x36, 0x20,
+ 0x34, 0x2e, 0x34, 0x38, 0x39, 0x2d, 0x32, 0x2e, 0x35, 0x37, 0x37, 0x20,
+ 0x37, 0x2e, 0x32, 0x35, 0x39, 0x61, 0x2e, 0x38, 0x35, 0x33, 0x2e, 0x38,
+ 0x35, 0x33, 0x20, 0x30, 0x20, 0x30, 0x30, 0x2e, 0x30, 0x35, 0x36, 0x2e,
+ 0x34, 0x38, 0x63, 0x31, 0x2e, 0x30, 0x32, 0x20, 0x32, 0x2e, 0x34, 0x33,
+ 0x34, 0x20, 0x31, 0x2e, 0x31, 0x33, 0x35, 0x20, 0x36, 0x2e, 0x31, 0x39,
+ 0x37, 0x2d, 0x2e, 0x36, 0x37, 0x32, 0x20, 0x39, 0x2e, 0x34, 0x36, 0x61,
+ 0x39, 0x36, 0x2e, 0x35, 0x38, 0x36, 0x20, 0x39, 0x36, 0x2e, 0x35, 0x38,
+ 0x36, 0x20, 0x30, 0x20, 0x30, 0x30, 0x2d, 0x31, 0x2e, 0x39, 0x37, 0x2d,
+ 0x38, 0x2e, 0x37, 0x31, 0x31, 0x63, 0x31, 0x2e, 0x39, 0x36, 0x34, 0x2d,
+ 0x34, 0x2e, 0x34, 0x38, 0x38, 0x20, 0x34, 0x2e, 0x32, 0x30, 0x33, 0x2d,
+ 0x31, 0x31, 0x2e, 0x37, 0x35, 0x20, 0x32, 0x2e, 0x39, 0x31, 0x39, 0x2d,
+ 0x31, 0x37, 0x2e, 0x36, 0x36, 0x38, 0x2d, 0x2e, 0x33, 0x32, 0x35, 0x2d,
+ 0x31, 0x2e, 0x34, 0x39, 0x37, 0x2d, 0x31, 0x2e, 0x33, 0x30, 0x34, 0x2d,
+ 0x33, 0x2e, 0x32, 0x37, 0x36, 0x2d, 0x32, 0x2e, 0x33, 0x38, 0x37, 0x2d,
+ 0x34, 0x2e, 0x32, 0x30, 0x37, 0x2d, 0x2e, 0x32, 0x30, 0x38, 0x2d, 0x2e,
+ 0x31, 0x38, 0x2d, 0x2e, 0x34, 0x30, 0x32, 0x2d, 0x2e, 0x32, 0x33, 0x37,
+ 0x2d, 0x2e, 0x34, 0x39, 0x35, 0x2d, 0x2e, 0x31, 0x36, 0x37, 0x2d, 0x2e,
+ 0x30, 0x38, 0x34, 0x2e, 0x30, 0x36, 0x2d, 0x2e, 0x31, 0x35, 0x31, 0x2e,
+ 0x32, 0x33, 0x38, 0x2d, 0x2e, 0x30, 0x36, 0x32, 0x2e, 0x34, 0x34, 0x34,
+ 0x2e, 0x35, 0x35, 0x20, 0x31, 0x2e, 0x32, 0x36, 0x36, 0x2e, 0x38, 0x37,
+ 0x39, 0x20, 0x32, 0x2e, 0x35, 0x39, 0x39, 0x20, 0x31, 0x2e, 0x32, 0x32,
+ 0x36, 0x20, 0x34, 0x2e, 0x32, 0x37, 0x36, 0x20, 0x31, 0x2e, 0x31, 0x32,
+ 0x35, 0x20, 0x35, 0x2e, 0x34, 0x34, 0x33, 0x2d, 0x2e, 0x39, 0x35, 0x36,
+ 0x20, 0x31, 0x32, 0x2e, 0x34, 0x39, 0x2d, 0x32, 0x2e, 0x38, 0x33, 0x35,
+ 0x20, 0x31, 0x36, 0x2e, 0x37, 0x38, 0x32, 0x6c, 0x2d, 0x2e, 0x31, 0x31,
+ 0x36, 0x2e, 0x32, 0x35, 0x39, 0x2d, 0x2e, 0x34, 0x35, 0x37, 0x2e, 0x39,
+ 0x38, 0x32, 0x63, 0x2d, 0x2e, 0x33, 0x35, 0x36, 0x2d, 0x32, 0x2e, 0x30,
+ 0x31, 0x34, 0x2d, 0x2e, 0x38, 0x35, 0x2d, 0x33, 0x2e, 0x39, 0x35, 0x2d,
+ 0x31, 0x2e, 0x33, 0x33, 0x2d, 0x35, 0x2e, 0x38, 0x34, 0x2d, 0x31, 0x2e,
+ 0x33, 0x38, 0x2d, 0x35, 0x2e, 0x34, 0x30, 0x36, 0x2d, 0x32, 0x2e, 0x36,
+ 0x38, 0x2d, 0x31, 0x30, 0x2e, 0x35, 0x31, 0x35, 0x2d, 0x2e, 0x34, 0x30,
+ 0x31, 0x2d, 0x31, 0x36, 0x2e, 0x32, 0x35, 0x34, 0x20, 0x31, 0x2e, 0x32,
+ 0x34, 0x37, 0x2d, 0x33, 0x2e, 0x31, 0x33, 0x37, 0x20, 0x31, 0x2e, 0x34,
+ 0x38, 0x33, 0x2d, 0x35, 0x2e, 0x36, 0x39, 0x32, 0x20, 0x31, 0x2e, 0x36,
+ 0x37, 0x32, 0x2d, 0x37, 0x2e, 0x37, 0x34, 0x36, 0x2e, 0x31, 0x31, 0x36,
+ 0x2d, 0x31, 0x2e, 0x32, 0x36, 0x33, 0x2e, 0x32, 0x31, 0x36, 0x2d, 0x32,
+ 0x2e, 0x33, 0x35, 0x35, 0x2e, 0x35, 0x32, 0x36, 0x2d, 0x33, 0x2e, 0x32,
+ 0x35, 0x32, 0x2e, 0x39, 0x30, 0x35, 0x2d, 0x32, 0x2e, 0x36, 0x30, 0x35,
+ 0x20, 0x33, 0x2e, 0x30, 0x36, 0x32, 0x2d, 0x33, 0x2e, 0x31, 0x37, 0x38,
+ 0x20, 0x34, 0x2e, 0x37, 0x34, 0x34, 0x2d, 0x32, 0x2e, 0x38, 0x35, 0x32,
+ 0x20, 0x31, 0x2e, 0x36, 0x33, 0x32, 0x2e, 0x33, 0x31, 0x36, 0x20, 0x33,
+ 0x2e, 0x32, 0x34, 0x20, 0x31, 0x2e, 0x35, 0x39, 0x33, 0x20, 0x33, 0x2e,
+ 0x31, 0x35, 0x36, 0x20, 0x33, 0x2e, 0x34, 0x32, 0x7a, 0x6d, 0x2d, 0x32,
+ 0x2e, 0x38, 0x36, 0x38, 0x2e, 0x36, 0x32, 0x61, 0x31, 0x2e, 0x31, 0x37,
+ 0x37, 0x20, 0x31, 0x2e, 0x31, 0x37, 0x37, 0x20, 0x30, 0x20, 0x31, 0x30,
+ 0x2e, 0x37, 0x33, 0x36, 0x2d, 0x32, 0x2e, 0x32, 0x33, 0x36, 0x20, 0x31,
+ 0x2e, 0x31, 0x37, 0x38, 0x20, 0x31, 0x2e, 0x31, 0x37, 0x38, 0x20, 0x30,
+ 0x20, 0x31, 0x30, 0x2d, 0x2e, 0x37, 0x33, 0x36, 0x20, 0x32, 0x2e, 0x32,
+ 0x33, 0x37, 0x7a, 0x22, 0x2f, 0x3e, 0x3c, 0x2f, 0x73, 0x76, 0x67, 0x3e,
+}
+
+// /index.html
+var file1 = []byte(`
+
+
+
+
+
+
+
+
+
+
+
+`)
+
+// /static/bundle.14b3605fca845fd47915.js
+var file2 = []byte(`webpackJsonp([0],[
/* 0 */,
/* 1 */,
/* 2 */,
@@ -661,58 +824,58 @@ function _possibleConstructorReturn(self, call) { if (!self) { throw new Referen
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
var drone = exports.drone = function drone(client, Component) {
- // @see https://github.com/yannickcr/eslint-plugin-react/issues/512
- // eslint-disable-next-line react/display-name
- var component = function (_React$Component) {
- _inherits(component, _React$Component);
+ // @see https://github.com/yannickcr/eslint-plugin-react/issues/512
+ // eslint-disable-next-line react/display-name
+ var component = function (_React$Component) {
+ _inherits(component, _React$Component);
- function component() {
- _classCallCheck(this, component);
+ function component() {
+ _classCallCheck(this, component);
- return _possibleConstructorReturn(this, _React$Component.apply(this, arguments));
- }
+ return _possibleConstructorReturn(this, _React$Component.apply(this, arguments));
+ }
- component.prototype.getChildContext = function getChildContext() {
- return {
- drone: client
- };
- };
+ component.prototype.getChildContext = function getChildContext() {
+ return {
+ drone: client
+ };
+ };
- component.prototype.render = function render() {
- return _react2["default"].createElement(Component, _extends({}, this.state, this.props));
- };
+ component.prototype.render = function render() {
+ return _react2["default"].createElement(Component, _extends({}, this.state, this.props));
+ };
- return component;
- }(_react2["default"].Component);
+ return component;
+ }(_react2["default"].Component);
- component.childContextTypes = {
- drone: function drone(props, propName) {}
- };
+ component.childContextTypes = {
+ drone: function drone(props, propName) {}
+ };
- return component;
+ return component;
};
var inject = exports.inject = function inject(Component) {
- // @see https://github.com/yannickcr/eslint-plugin-react/issues/512
- // eslint-disable-next-line react/display-name
- var component = function (_React$Component2) {
- _inherits(component, _React$Component2);
+ // @see https://github.com/yannickcr/eslint-plugin-react/issues/512
+ // eslint-disable-next-line react/display-name
+ var component = function (_React$Component2) {
+ _inherits(component, _React$Component2);
- function component() {
- _classCallCheck(this, component);
+ function component() {
+ _classCallCheck(this, component);
- return _possibleConstructorReturn(this, _React$Component2.apply(this, arguments));
- }
+ return _possibleConstructorReturn(this, _React$Component2.apply(this, arguments));
+ }
- component.prototype.render = function render() {
- this.props.drone = this.context.drone;
- return _react2["default"].createElement(Component, _extends({}, this.state, this.props));
- };
+ component.prototype.render = function render() {
+ this.props.drone = this.context.drone;
+ return _react2["default"].createElement(Component, _extends({}, this.state, this.props));
+ };
- return component;
- }(_react2["default"].Component);
+ return component;
+ }(_react2["default"].Component);
- return component;
+ return component;
};
/***/ }),
@@ -740,16 +903,16 @@ var _feed = __webpack_require__(126);
* @param {string} name - The repository name.
*/
var fetchRepository = exports.fetchRepository = function fetchRepository(tree, client, owner, name) {
- tree.unset(["repo", "error"]);
- tree.unset(["repo", "loaded"]);
+ tree.unset(["repo", "error"]);
+ tree.unset(["repo", "loaded"]);
- client.getRepo(owner, name).then(function (repo) {
- tree.set(["repos", "data", repo.full_name], repo);
- tree.set(["repo", "loaded"], true);
- })["catch"](function (error) {
- tree.set(["repo", "error"], error);
- tree.set(["repo", "loaded"], true);
- });
+ client.getRepo(owner, name).then(function (repo) {
+ tree.set(["repos", "data", repo.full_name], repo);
+ tree.set(["repo", "loaded"], true);
+ })["catch"](function (error) {
+ tree.set(["repo", "error"], error);
+ tree.set(["repo", "loaded"], true);
+ });
};
/**
@@ -760,27 +923,27 @@ var fetchRepository = exports.fetchRepository = function fetchRepository(tree, c
* @param {Object} client - The drone client.
*/
var fetchRepostoryList = exports.fetchRepostoryList = function fetchRepostoryList(tree, client) {
- tree.unset(["repos", "loaded"]);
- tree.unset(["repos", "error"]);
+ tree.unset(["repos", "loaded"]);
+ tree.unset(["repos", "error"]);
- client.getRepoList({ all: true }).then(function (results) {
- var list = {};
- results.map(function (repo) {
- list[repo.full_name] = repo;
- });
+ client.getRepoList({ all: true }).then(function (results) {
+ var list = {};
+ results.map(function (repo) {
+ list[repo.full_name] = repo;
+ });
- var path = ["repos", "data"];
- if (tree.exists(path)) {
- tree.deepMerge(path, list);
- } else {
- tree.set(path, list);
- }
+ var path = ["repos", "data"];
+ if (tree.exists(path)) {
+ tree.deepMerge(path, list);
+ } else {
+ tree.set(path, list);
+ }
- tree.set(["repos", "loaded"], true);
- })["catch"](function (error) {
- tree.set(["repos", "loaded"], true);
- tree.set(["repos", "error"], error);
- });
+ tree.set(["repos", "loaded"], true);
+ })["catch"](function (error) {
+ tree.set(["repos", "loaded"], true);
+ tree.set(["repos", "error"], error);
+ });
};
/**
@@ -791,29 +954,29 @@ var fetchRepostoryList = exports.fetchRepostoryList = function fetchRepostoryLis
* @param {Object} client - The drone client.
*/
var syncRepostoryList = exports.syncRepostoryList = function syncRepostoryList(tree, client) {
- tree.unset(["repos", "loaded"]);
- tree.unset(["repos", "error"]);
+ tree.unset(["repos", "loaded"]);
+ tree.unset(["repos", "error"]);
- client.getRepoList({ all: true, flush: true }).then(function (results) {
- var list = {};
- results.map(function (repo) {
- list[repo.full_name] = repo;
- });
+ client.getRepoList({ all: true, flush: true }).then(function (results) {
+ var list = {};
+ results.map(function (repo) {
+ list[repo.full_name] = repo;
+ });
- var path = ["repos", "data"];
- if (tree.exists(path)) {
- tree.deepMerge(path, list);
- } else {
- tree.set(path, list);
- }
+ var path = ["repos", "data"];
+ if (tree.exists(path)) {
+ tree.deepMerge(path, list);
+ } else {
+ tree.set(path, list);
+ }
- (0, _message.displayMessage)(tree, "Successfully synchronized your repository list");
- tree.set(["repos", "loaded"], true);
- })["catch"](function (error) {
- (0, _message.displayMessage)(tree, "Failed to synchronize your repository list");
- tree.set(["repos", "loaded"], true);
- tree.set(["repos", "error"], error);
- });
+ (0, _message.displayMessage)(tree, "Successfully synchronized your repository list");
+ tree.set(["repos", "loaded"], true);
+ })["catch"](function (error) {
+ (0, _message.displayMessage)(tree, "Failed to synchronize your repository list");
+ tree.set(["repos", "loaded"], true);
+ tree.set(["repos", "error"], error);
+ });
};
/**
@@ -827,12 +990,12 @@ var syncRepostoryList = exports.syncRepostoryList = function syncRepostoryList(t
* @param {Object} data - The repository updates.
*/
var updateRepository = exports.updateRepository = function updateRepository(tree, client, owner, name, data) {
- client.updateRepo(owner, name, data).then(function (repo) {
- tree.set(["repos", "data", repo.full_name], repo);
- (0, _message.displayMessage)(tree, "Successfully updated the repository settings");
- })["catch"](function () {
- (0, _message.displayMessage)(tree, "Failed to update the repository settings");
- });
+ client.updateRepo(owner, name, data).then(function (repo) {
+ tree.set(["repos", "data", repo.full_name], repo);
+ (0, _message.displayMessage)(tree, "Successfully updated the repository settings");
+ })["catch"](function () {
+ (0, _message.displayMessage)(tree, "Failed to update the repository settings");
+ });
};
/**
@@ -845,13 +1008,13 @@ var updateRepository = exports.updateRepository = function updateRepository(tree
* @param {string} name - The repository name.
*/
var enableRepository = exports.enableRepository = function enableRepository(tree, client, owner, name) {
- client.activateRepo(owner, name).then(function (result) {
- (0, _message.displayMessage)(tree, "Successfully activated your repository");
- tree.set(["repos", "data", result.full_name, "active"], true);
- (0, _feed.fetchFeed)(tree, client);
- })["catch"](function () {
- (0, _message.displayMessage)(tree, "Failed to activate your repository");
- });
+ client.activateRepo(owner, name).then(function (result) {
+ (0, _message.displayMessage)(tree, "Successfully activated your repository");
+ tree.set(["repos", "data", result.full_name, "active"], true);
+ (0, _feed.fetchFeed)(tree, client);
+ })["catch"](function () {
+ (0, _message.displayMessage)(tree, "Failed to activate your repository");
+ });
};
/**
@@ -864,13 +1027,13 @@ var enableRepository = exports.enableRepository = function enableRepository(tree
* @param {string} name - The repository name.
*/
var disableRepository = exports.disableRepository = function disableRepository(tree, client, owner, name) {
- client.deleteRepo(owner, name).then(function (result) {
- (0, _message.displayMessage)(tree, "Successfully disabled your repository");
- tree.set(["repos", "data", result.full_name, "active"], false);
- (0, _feed.fetchFeed)(tree, client);
- })["catch"](function () {
- (0, _message.displayMessage)(tree, "Failed to disabled your repository");
- });
+ client.deleteRepo(owner, name).then(function (result) {
+ (0, _message.displayMessage)(tree, "Successfully disabled your repository");
+ tree.set(["repos", "data", result.full_name, "active"], false);
+ (0, _feed.fetchFeed)(tree, client);
+ })["catch"](function () {
+ (0, _message.displayMessage)(tree, "Failed to disabled your repository");
+ });
};
/**
@@ -881,9 +1044,9 @@ var disableRepository = exports.disableRepository = function disableRepository(t
* @returns {number}
*/
var compareRepository = exports.compareRepository = function compareRepository(a, b) {
- if (a.full_name < b.full_name) return -1;
- if (a.full_name > b.full_name) return 1;
- return 0;
+ if (a.full_name < b.full_name) return -1;
+ if (a.full_name > b.full_name) return 1;
+ return 0;
};
/**
@@ -893,7 +1056,7 @@ var compareRepository = exports.compareRepository = function compareRepository(a
* @param {string} name - The process name.
*/
var repositorySlug = exports.repositorySlug = function repositorySlug(owner, name) {
- return owner + "/" + name;
+ return owner + "/" + name;
};
/***/ }),
@@ -1141,107 +1304,107 @@ function _inherits(subClass, superClass) { if (typeof superClass !== "function"
var defaultIconSize = 15;
var statusLabel = function statusLabel(status) {
- switch (status) {
- case _status.STATUS_BLOCKED:
- return "Pending Approval";
- case _status.STATUS_DECLINED:
- return "Declined";
- case _status.STATUS_ERROR:
- return "Error";
- case _status.STATUS_FAILURE:
- return "Failure";
- case _status.STATUS_KILLED:
- return "Cancelled";
- case _status.STATUS_PENDING:
- return "Pending";
- case _status.STATUS_RUNNING:
- return "Running";
- case _status.STATUS_SKIPPED:
- return "Skipped";
- case _status.STATUS_STARTED:
- return "Running";
- case _status.STATUS_SUCCESS:
- return "Successful";
- default:
- return "";
- }
+ switch (status) {
+ case _status.STATUS_BLOCKED:
+ return "Pending Approval";
+ case _status.STATUS_DECLINED:
+ return "Declined";
+ case _status.STATUS_ERROR:
+ return "Error";
+ case _status.STATUS_FAILURE:
+ return "Failure";
+ case _status.STATUS_KILLED:
+ return "Cancelled";
+ case _status.STATUS_PENDING:
+ return "Pending";
+ case _status.STATUS_RUNNING:
+ return "Running";
+ case _status.STATUS_SKIPPED:
+ return "Skipped";
+ case _status.STATUS_STARTED:
+ return "Running";
+ case _status.STATUS_SUCCESS:
+ return "Successful";
+ default:
+ return "";
+ }
};
var renderIcon = function renderIcon(status, size) {
- switch (status) {
- case _status.STATUS_SKIPPED:
- return _react2["default"].createElement(_index.RemoveIcon, { size: size });
- case _status.STATUS_PENDING:
- return _react2["default"].createElement(_index.ClockIcon, { size: size });
- case _status.STATUS_RUNNING:
- case _status.STATUS_STARTED:
- return _react2["default"].createElement(_index.RefreshIcon, { size: size });
- case _status.STATUS_SUCCESS:
- return _react2["default"].createElement(_index.CheckIcon, { size: size });
- default:
- return _react2["default"].createElement(_index.CloseIcon, { size: size });
- }
+ switch (status) {
+ case _status.STATUS_SKIPPED:
+ return _react2["default"].createElement(_index.RemoveIcon, { size: size });
+ case _status.STATUS_PENDING:
+ return _react2["default"].createElement(_index.ClockIcon, { size: size });
+ case _status.STATUS_RUNNING:
+ case _status.STATUS_STARTED:
+ return _react2["default"].createElement(_index.RefreshIcon, { size: size });
+ case _status.STATUS_SUCCESS:
+ return _react2["default"].createElement(_index.CheckIcon, { size: size });
+ default:
+ return _react2["default"].createElement(_index.CloseIcon, { size: size });
+ }
};
var Status = function (_Component) {
- _inherits(Status, _Component);
+ _inherits(Status, _Component);
- function Status() {
- _classCallCheck(this, Status);
+ function Status() {
+ _classCallCheck(this, Status);
- return _possibleConstructorReturn(this, _Component.apply(this, arguments));
- }
+ return _possibleConstructorReturn(this, _Component.apply(this, arguments));
+ }
- Status.prototype.shouldComponentUpdate = function shouldComponentUpdate(nextProps, nextState) {
- return this.props.status !== nextProps.status;
- };
+ Status.prototype.shouldComponentUpdate = function shouldComponentUpdate(nextProps, nextState) {
+ return this.props.status !== nextProps.status;
+ };
- Status.prototype.render = function render() {
- var status = this.props.status;
+ Status.prototype.render = function render() {
+ var status = this.props.status;
- var icon = renderIcon(status, defaultIconSize);
- var classes = (0, _classnames2["default"])(_status3["default"].root, _status3["default"][status]);
- return _react2["default"].createElement(
- "div",
- { className: classes },
- icon
- );
- };
+ var icon = renderIcon(status, defaultIconSize);
+ var classes = (0, _classnames2["default"])(_status3["default"].root, _status3["default"][status]);
+ return _react2["default"].createElement(
+ "div",
+ { className: classes },
+ icon
+ );
+ };
- return Status;
+ return Status;
}(_react.Component);
exports["default"] = Status;
var StatusLabel = exports.StatusLabel = function StatusLabel(_ref) {
- var status = _ref.status;
+ var status = _ref.status;
- return _react2["default"].createElement(
- "div",
- { className: (0, _classnames2["default"])(_status3["default"].label, _status3["default"][status]) },
- _react2["default"].createElement(
- "div",
- null,
- statusLabel(status)
- )
- );
+ return _react2["default"].createElement(
+ "div",
+ { className: (0, _classnames2["default"])(_status3["default"].label, _status3["default"][status]) },
+ _react2["default"].createElement(
+ "div",
+ null,
+ statusLabel(status)
+ )
+ );
};
var StatusText = exports.StatusText = function StatusText(_ref2) {
- var status = _ref2.status,
- text = _ref2.text;
+ var status = _ref2.status,
+ text = _ref2.text;
- return _react2["default"].createElement(
- "div",
- {
- className: (0, _classnames2["default"])(_status3["default"].label, _status3["default"][status]),
- style: "text-transform: capitalize;padding: 5px 10px;"
- },
- _react2["default"].createElement(
- "div",
- null,
- text
- )
- );
+ return _react2["default"].createElement(
+ "div",
+ {
+ className: (0, _classnames2["default"])(_status3["default"].label, _status3["default"][status]),
+ style: "padding: 5px 10px;"
+ },
+ _react2["default"].createElement(
+ "div",
+ null,
+ text
+ )
+ );
};
/***/ }),
@@ -1330,21 +1493,21 @@ exports.subscribeToFeedOnce = subscribeToFeedOnce;
* @param {Object} client - The drone client.
*/
var fetchFeed = exports.fetchFeed = function fetchFeed(tree, client) {
- client.getBuildFeed({ latest: true }).then(function (results) {
- var list = {};
- var sorted = results.sort(compareFeedItem);
- sorted.map(function (repo) {
- list[repo.full_name] = repo;
- });
- if (sorted && sorted.length > 0) {
- tree.set(["feed", "latest"], sorted[0]);
- }
- tree.set(["feed", "loaded"], true);
- tree.set(["feed", "data"], list);
- })["catch"](function (error) {
- tree.set(["feed", "loaded"], true);
- tree.set(["feed", "error"], error);
- });
+ client.getBuildFeed({ latest: true }).then(function (results) {
+ var list = {};
+ var sorted = results.sort(compareFeedItem);
+ sorted.map(function (repo) {
+ list[repo.full_name] = repo;
+ });
+ if (sorted && sorted.length > 0) {
+ tree.set(["feed", "latest"], sorted[0]);
+ }
+ tree.set(["feed", "loaded"], true);
+ tree.set(["feed", "data"], list);
+ })["catch"](function (error) {
+ tree.set(["feed", "loaded"], true);
+ tree.set(["feed", "error"], error);
+ });
};
/**
@@ -1355,11 +1518,11 @@ var fetchFeed = exports.fetchFeed = function fetchFeed(tree, client) {
* @param {Object} client - The drone client.
*/
function fetchFeedOnce(tree, client) {
- if (fetchFeedOnce.fired) {
- return;
- }
- fetchFeedOnce.fired = true;
- return fetchFeed(tree, client);
+ if (fetchFeedOnce.fired) {
+ return;
+ }
+ fetchFeedOnce.fired = true;
+ return fetchFeed(tree, client);
}
/**
@@ -1370,20 +1533,20 @@ function fetchFeedOnce(tree, client) {
* @param {Object} client - The drone client.
*/
var subscribeToFeed = exports.subscribeToFeed = function subscribeToFeed(tree, client) {
- return client.on(function (data) {
- var repo = data.repo,
- build = data.build;
+ return client.on(function (data) {
+ var repo = data.repo,
+ build = data.build;
- if (tree.exists("feed", "data", repo.full_name)) {
- var cursor = tree.select(["feed", "data", repo.full_name]);
- cursor.merge(build);
- }
+ if (tree.exists("feed", "data", repo.full_name)) {
+ var cursor = tree.select(["feed", "data", repo.full_name]);
+ cursor.merge(build);
+ }
- if (tree.exists("builds", "data", repo.full_name)) {
- tree.set(["builds", "data", repo.full_name, build.number], build);
- }
- });
+ if (tree.exists("builds", "data", repo.full_name)) {
+ tree.set(["builds", "data", repo.full_name, build.number], build);
+ }
+ });
};
/**
@@ -1394,11 +1557,11 @@ var subscribeToFeed = exports.subscribeToFeed = function subscribeToFeed(tree, c
* @param {Object} client - The drone client.
*/
function subscribeToFeedOnce(tree, client) {
- if (subscribeToFeedOnce.fired) {
- return;
- }
- subscribeToFeedOnce.fired = true;
- return subscribeToFeed(tree, client);
+ if (subscribeToFeedOnce.fired) {
+ return;
+ }
+ subscribeToFeedOnce.fired = true;
+ return subscribeToFeed(tree, client);
}
/**
@@ -1408,7 +1571,7 @@ function subscribeToFeedOnce(tree, client) {
* @returns {number}
*/
var compareFeedItem = exports.compareFeedItem = function compareFeedItem(a, b) {
- return (b.started_at || b.created_at || -1) - (a.started_at || a.created_at || -1);
+ return (b.started_at || b.created_at || -1) - (a.started_at || a.created_at || -1);
};
/***/ }),
@@ -1434,29 +1597,29 @@ function _possibleConstructorReturn(self, call) { if (!self) { throw new Referen
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
var CloseIcon = function (_Component) {
- _inherits(CloseIcon, _Component);
+ _inherits(CloseIcon, _Component);
- function CloseIcon() {
- _classCallCheck(this, CloseIcon);
+ function CloseIcon() {
+ _classCallCheck(this, CloseIcon);
- return _possibleConstructorReturn(this, _Component.apply(this, arguments));
- }
+ return _possibleConstructorReturn(this, _Component.apply(this, arguments));
+ }
- CloseIcon.prototype.render = function render() {
- return _react2["default"].createElement(
- "svg",
- {
- className: this.props.className,
- width: this.props.size || 24,
- height: this.props.size || 24,
- viewBox: "0 0 24 24"
- },
- _react2["default"].createElement("path", { d: "M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" }),
- _react2["default"].createElement("path", { d: "M0 0h24v24H0z", fill: "none" })
- );
- };
+ CloseIcon.prototype.render = function render() {
+ return _react2["default"].createElement(
+ "svg",
+ {
+ className: this.props.className,
+ width: this.props.size || 24,
+ height: this.props.size || 24,
+ viewBox: "0 0 24 24"
+ },
+ _react2["default"].createElement("path", { d: "M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" }),
+ _react2["default"].createElement("path", { d: "M0 0h24v24H0z", fill: "none" })
+ );
+ };
- return CloseIcon;
+ return CloseIcon;
}(_react.Component);
exports["default"] = CloseIcon;
@@ -1498,62 +1661,62 @@ function _possibleConstructorReturn(self, call) { if (!self) { throw new Referen
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
var Runtime = function (_Component) {
- _inherits(Runtime, _Component);
+ _inherits(Runtime, _Component);
- function Runtime() {
- _classCallCheck(this, Runtime);
+ function Runtime() {
+ _classCallCheck(this, Runtime);
- return _possibleConstructorReturn(this, _Component.apply(this, arguments));
- }
+ return _possibleConstructorReturn(this, _Component.apply(this, arguments));
+ }
- Runtime.prototype.render = function render() {
- var _props = this.props,
- start = _props.start,
- finish = _props.finish;
+ Runtime.prototype.render = function render() {
+ var _props = this.props,
+ start = _props.start,
+ finish = _props.finish;
- return _react2["default"].createElement(
- "div",
- { className: _build_time2["default"].host },
- _react2["default"].createElement(
- "div",
- { className: _build_time2["default"].row },
- _react2["default"].createElement(
- "div",
- null,
- _react2["default"].createElement(_index.ScheduleIcon, null)
- ),
- _react2["default"].createElement(
- "div",
- null,
- start ? _react2["default"].createElement(_reactTimeago2["default"], { date: start * 1000 }) : _react2["default"].createElement(
- "span",
- null,
- "--"
- )
- )
- ),
- _react2["default"].createElement(
- "div",
- { className: _build_time2["default"].row },
- _react2["default"].createElement(
- "div",
- null,
- _react2["default"].createElement(_index.TimelapseIcon, null)
- ),
- _react2["default"].createElement(
- "div",
- null,
- finish ? _react2["default"].createElement(_duration2["default"], { start: start, finished: finish }) : start ? _react2["default"].createElement(_reactTimeago2["default"], { date: start * 1000 }) : _react2["default"].createElement(
- "span",
- null,
- "--"
- )
- )
- )
- );
- };
+ return _react2["default"].createElement(
+ "div",
+ { className: _build_time2["default"].host },
+ _react2["default"].createElement(
+ "div",
+ { className: _build_time2["default"].row },
+ _react2["default"].createElement(
+ "div",
+ null,
+ _react2["default"].createElement(_index.ScheduleIcon, null)
+ ),
+ _react2["default"].createElement(
+ "div",
+ null,
+ start ? _react2["default"].createElement(_reactTimeago2["default"], { date: start * 1000 }) : _react2["default"].createElement(
+ "span",
+ null,
+ "--"
+ )
+ )
+ ),
+ _react2["default"].createElement(
+ "div",
+ { className: _build_time2["default"].row },
+ _react2["default"].createElement(
+ "div",
+ null,
+ _react2["default"].createElement(_index.TimelapseIcon, null)
+ ),
+ _react2["default"].createElement(
+ "div",
+ null,
+ finish ? _react2["default"].createElement(_duration2["default"], { start: start, finished: finish }) : start ? _react2["default"].createElement(_reactTimeago2["default"], { date: start * 1000 }) : _react2["default"].createElement(
+ "span",
+ null,
+ "--"
+ )
+ )
+ )
+ );
+ };
- return Runtime;
+ return Runtime;
}(_react.Component);
exports["default"] = Runtime;
@@ -1585,23 +1748,23 @@ var _status = __webpack_require__(87);
* @param {number|string} number - The build number.
*/
var fetchBuild = exports.fetchBuild = function fetchBuild(tree, client, owner, name, number) {
- var slug = (0, _repository.repositorySlug)(owner, name);
+ var slug = (0, _repository.repositorySlug)(owner, name);
- tree.unset(["builds", "loaded"]);
- client.getBuild(owner, name, number).then(function (build) {
- var path = ["builds", "data", slug, build.number];
+ tree.unset(["builds", "loaded"]);
+ client.getBuild(owner, name, number).then(function (build) {
+ var path = ["builds", "data", slug, build.number];
- if (tree.exists(path)) {
- tree.deepMerge(path, build);
- } else {
- tree.set(path, build);
- }
+ if (tree.exists(path)) {
+ tree.deepMerge(path, build);
+ } else {
+ tree.set(path, build);
+ }
- tree.set(["builds", "loaded"], true);
- })["catch"](function (error) {
- tree.set(["builds", "loaded"], true);
- tree.set(["builds", "error"], error);
- });
+ tree.set(["builds", "loaded"], true);
+ })["catch"](function (error) {
+ tree.set(["builds", "loaded"], true);
+ tree.set(["builds", "error"], error);
+ });
};
/**
@@ -1614,32 +1777,32 @@ var fetchBuild = exports.fetchBuild = function fetchBuild(tree, client, owner, n
* @param {string} name - The repository name.
*/
var fetchBuildList = exports.fetchBuildList = function fetchBuildList(tree, client, owner, name) {
- var page = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 1;
+ var page = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 1;
- var slug = (0, _repository.repositorySlug)(owner, name);
+ var slug = (0, _repository.repositorySlug)(owner, name);
- tree.unset(["builds", "loaded"]);
- tree.unset(["builds", "error"]);
+ tree.unset(["builds", "loaded"]);
+ tree.unset(["builds", "error"]);
- client.getBuildList(owner, name, { page: page }).then(function (results) {
- var list = {};
- results.map(function (build) {
- list[build.number] = build;
- });
+ client.getBuildList(owner, name, { page: page }).then(function (results) {
+ var list = {};
+ results.map(function (build) {
+ list[build.number] = build;
+ });
- var path = ["builds", "data", slug];
- if (tree.exists(path)) {
- tree.deepMerge(path, list);
- } else {
- tree.set(path, list);
- }
+ var path = ["builds", "data", slug];
+ if (tree.exists(path)) {
+ tree.deepMerge(path, list);
+ } else {
+ tree.set(path, list);
+ }
- tree.unset(["builds", "error"]);
- tree.set(["builds", "loaded"], true);
- })["catch"](function (error) {
- tree.set(["builds", "error"], error);
- tree.set(["builds", "loaded"], true);
- });
+ tree.unset(["builds", "error"]);
+ tree.set(["builds", "loaded"], true);
+ })["catch"](function (error) {
+ tree.set(["builds", "error"], error);
+ tree.set(["builds", "loaded"], true);
+ });
};
/**
@@ -1653,11 +1816,11 @@ var fetchBuildList = exports.fetchBuildList = function fetchBuildList(tree, clie
* @param {number} proc - The process number.
*/
var cancelBuild = exports.cancelBuild = function cancelBuild(tree, client, owner, repo, build, proc) {
- client.cancelBuild(owner, repo, build, proc).then(function (result) {
- (0, _message.displayMessage)(tree, "Successfully cancelled your build");
- })["catch"](function () {
- (0, _message.displayMessage)(tree, "Failed to cancel your build");
- });
+ client.cancelBuild(owner, repo, build, proc).then(function (result) {
+ (0, _message.displayMessage)(tree, "Successfully cancelled your build");
+ })["catch"](function () {
+ (0, _message.displayMessage)(tree, "Failed to cancel your build");
+ });
};
/**
@@ -1670,11 +1833,11 @@ var cancelBuild = exports.cancelBuild = function cancelBuild(tree, client, owner
* @param {number} build - The build number.
*/
var restartBuild = exports.restartBuild = function restartBuild(tree, client, owner, repo, build) {
- client.restartBuild(owner, repo, build, { fork: true }).then(function (result) {
- (0, _message.displayMessage)(tree, "Successfully restarted your build");
- })["catch"](function () {
- (0, _message.displayMessage)(tree, "Failed to restart your build");
- });
+ client.restartBuild(owner, repo, build, { fork: true }).then(function (result) {
+ (0, _message.displayMessage)(tree, "Successfully restarted your build");
+ })["catch"](function () {
+ (0, _message.displayMessage)(tree, "Failed to restart your build");
+ });
};
/**
@@ -1687,11 +1850,11 @@ var restartBuild = exports.restartBuild = function restartBuild(tree, client, ow
* @param {number} build - The build number.
*/
var approveBuild = exports.approveBuild = function approveBuild(tree, client, owner, repo, build) {
- client.approveBuild(owner, repo, build).then(function (result) {
- (0, _message.displayMessage)(tree, "Successfully processed your approval decision");
- })["catch"](function () {
- (0, _message.displayMessage)(tree, "Failed to process your approval decision");
- });
+ client.approveBuild(owner, repo, build).then(function (result) {
+ (0, _message.displayMessage)(tree, "Successfully processed your approval decision");
+ })["catch"](function () {
+ (0, _message.displayMessage)(tree, "Failed to process your approval decision");
+ });
};
/**
@@ -1704,11 +1867,11 @@ var approveBuild = exports.approveBuild = function approveBuild(tree, client, ow
* @param {number} build - The build number.
*/
var declineBuild = exports.declineBuild = function declineBuild(tree, client, owner, repo, build) {
- client.declineBuild(owner, repo, build).then(function (result) {
- (0, _message.displayMessage)(tree, "Successfully processed your decline decision");
- })["catch"](function () {
- (0, _message.displayMessage)(tree, "Failed to process your decline decision");
- });
+ client.declineBuild(owner, repo, build).then(function (result) {
+ (0, _message.displayMessage)(tree, "Successfully processed your decline decision");
+ })["catch"](function () {
+ (0, _message.displayMessage)(tree, "Failed to process your decline decision");
+ });
};
/**
@@ -1719,7 +1882,7 @@ var declineBuild = exports.declineBuild = function declineBuild(tree, client, ow
* @returns {number}
*/
var compareBuild = exports.compareBuild = function compareBuild(a, b) {
- return b.number - a.number;
+ return b.number - a.number;
};
/**
@@ -1729,7 +1892,7 @@ var compareBuild = exports.compareBuild = function compareBuild(a, b) {
* @returns {boolean}
*/
var assertBuildFinished = exports.assertBuildFinished = function assertBuildFinished(build) {
- return build.status !== _status.STATUS_RUNNING && build.status !== _status.STATUS_PENDING;
+ return build.status !== _status.STATUS_RUNNING && build.status !== _status.STATUS_PENDING;
};
/**
@@ -1739,7 +1902,7 @@ var assertBuildFinished = exports.assertBuildFinished = function assertBuildFini
* @returns {boolean}
*/
var assertBuildMatrix = exports.assertBuildMatrix = function assertBuildMatrix(build) {
- return build && build.procs && build.procs.length > 1;
+ return build && build.procs && build.procs.length > 1;
};
/***/ }),
@@ -1778,33 +1941,33 @@ var BACK_BUTTON = exports.BACK_BUTTON = _react2["default"].createElement(_index.
// helper function to render a list item.
var renderItem = function renderItem(element, index) {
- return _react2["default"].createElement(
- "li",
- { key: index },
- element
- );
+ return _react2["default"].createElement(
+ "li",
+ { key: index },
+ element
+ );
};
var Breadcrumb = function (_Component) {
- _inherits(Breadcrumb, _Component);
+ _inherits(Breadcrumb, _Component);
- function Breadcrumb() {
- _classCallCheck(this, Breadcrumb);
+ function Breadcrumb() {
+ _classCallCheck(this, Breadcrumb);
- return _possibleConstructorReturn(this, _Component.apply(this, arguments));
- }
+ return _possibleConstructorReturn(this, _Component.apply(this, arguments));
+ }
- Breadcrumb.prototype.render = function render() {
- var elements = this.props.elements;
+ Breadcrumb.prototype.render = function render() {
+ var elements = this.props.elements;
- return _react2["default"].createElement(
- "ol",
- { className: _breadcrumb2["default"].breadcrumb },
- elements.map(renderItem)
- );
- };
+ return _react2["default"].createElement(
+ "ol",
+ { className: _breadcrumb2["default"].breadcrumb },
+ elements.map(renderItem)
+ );
+ };
- return Breadcrumb;
+ return Breadcrumb;
}(_react.Component);
exports["default"] = Breadcrumb;
@@ -1945,29 +2108,29 @@ function _possibleConstructorReturn(self, call) { if (!self) { throw new Referen
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
var MenuIcon = function (_Component) {
- _inherits(MenuIcon, _Component);
+ _inherits(MenuIcon, _Component);
- function MenuIcon() {
- _classCallCheck(this, MenuIcon);
+ function MenuIcon() {
+ _classCallCheck(this, MenuIcon);
- return _possibleConstructorReturn(this, _Component.apply(this, arguments));
- }
+ return _possibleConstructorReturn(this, _Component.apply(this, arguments));
+ }
- MenuIcon.prototype.render = function render() {
- return _react2["default"].createElement(
- "svg",
- {
- className: this.props.className,
- width: this.props.size || 24,
- height: this.props.size || 24,
- viewBox: "0 0 24 24"
- },
- _react2["default"].createElement("path", { d: "M0 0h24v24H0z", fill: "none" }),
- _react2["default"].createElement("path", { d: "M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z" })
- );
- };
+ MenuIcon.prototype.render = function render() {
+ return _react2["default"].createElement(
+ "svg",
+ {
+ className: this.props.className,
+ width: this.props.size || 24,
+ height: this.props.size || 24,
+ viewBox: "0 0 24 24"
+ },
+ _react2["default"].createElement("path", { d: "M0 0h24v24H0z", fill: "none" }),
+ _react2["default"].createElement("path", { d: "M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z" })
+ );
+ };
- return MenuIcon;
+ return MenuIcon;
}(_react.Component);
exports["default"] = MenuIcon;
@@ -1995,29 +2158,29 @@ function _possibleConstructorReturn(self, call) { if (!self) { throw new Referen
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
var RefreshIcon = function (_Component) {
- _inherits(RefreshIcon, _Component);
+ _inherits(RefreshIcon, _Component);
- function RefreshIcon() {
- _classCallCheck(this, RefreshIcon);
+ function RefreshIcon() {
+ _classCallCheck(this, RefreshIcon);
- return _possibleConstructorReturn(this, _Component.apply(this, arguments));
- }
+ return _possibleConstructorReturn(this, _Component.apply(this, arguments));
+ }
- RefreshIcon.prototype.render = function render() {
- return _react2["default"].createElement(
- "svg",
- {
- className: this.props.className,
- width: this.props.size || 24,
- height: this.props.size || 24,
- viewBox: "0 0 24 24"
- },
- _react2["default"].createElement("path", { d: "M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z" }),
- _react2["default"].createElement("path", { d: "M0 0h24v24H0z", fill: "none" })
- );
- };
+ RefreshIcon.prototype.render = function render() {
+ return _react2["default"].createElement(
+ "svg",
+ {
+ className: this.props.className,
+ width: this.props.size || 24,
+ height: this.props.size || 24,
+ viewBox: "0 0 24 24"
+ },
+ _react2["default"].createElement("path", { d: "M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z" }),
+ _react2["default"].createElement("path", { d: "M0 0h24v24H0z", fill: "none" })
+ );
+ };
- return RefreshIcon;
+ return RefreshIcon;
}(_react.Component);
exports["default"] = RefreshIcon;
@@ -2073,76 +2236,76 @@ function _possibleConstructorReturn(self, call) { if (!self) { throw new Referen
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
var BuildEvent = function (_Component) {
- _inherits(BuildEvent, _Component);
+ _inherits(BuildEvent, _Component);
- function BuildEvent() {
- _classCallCheck(this, BuildEvent);
+ function BuildEvent() {
+ _classCallCheck(this, BuildEvent);
- return _possibleConstructorReturn(this, _Component.apply(this, arguments));
- }
+ return _possibleConstructorReturn(this, _Component.apply(this, arguments));
+ }
- BuildEvent.prototype.render = function render() {
- var _props = this.props,
- event = _props.event,
- branch = _props.branch,
- commit = _props.commit,
- refs = _props.refs,
- refspec = _props.refspec,
- link = _props.link,
- target = _props.target;
+ BuildEvent.prototype.render = function render() {
+ var _props = this.props,
+ event = _props.event,
+ branch = _props.branch,
+ commit = _props.commit,
+ refs = _props.refs,
+ refspec = _props.refspec,
+ link = _props.link,
+ target = _props.target;
- return _react2["default"].createElement(
- "div",
- { className: _build_event2["default"].host },
- _react2["default"].createElement(
- "div",
- { className: _build_event2["default"].row },
- _react2["default"].createElement(
- "div",
- null,
- _react2["default"].createElement(_index.CommitIcon, null)
- ),
- _react2["default"].createElement(
- "div",
- null,
- commit && commit.substr(0, 10)
- )
- ),
- _react2["default"].createElement(
- "div",
- { className: _build_event2["default"].row },
- _react2["default"].createElement(
- "div",
- null,
- event === _events.EVENT_TAG ? _react2["default"].createElement(_index.TagIcon, null) : event === _events.EVENT_PULL_REQUEST ? _react2["default"].createElement(_index.MergeIcon, null) : event === _events.EVENT_DEPLOY ? _react2["default"].createElement(_index.DeployIcon, null) : _react2["default"].createElement(_index.BranchIcon, null)
- ),
- _react2["default"].createElement(
- "div",
- null,
- event === _events.EVENT_TAG && refs ? trimTagRef(refs) : event === _events.EVENT_PULL_REQUEST && refspec ? trimMergeRef(refs) : event === _events.EVENT_DEPLOY && target ? target : branch
- )
- ),
- _react2["default"].createElement(
- "a",
- { href: link, target: "_blank" },
- _react2["default"].createElement(_index.LaunchIcon, null)
- )
- );
- };
+ return _react2["default"].createElement(
+ "div",
+ { className: _build_event2["default"].host },
+ _react2["default"].createElement(
+ "div",
+ { className: _build_event2["default"].row },
+ _react2["default"].createElement(
+ "div",
+ null,
+ _react2["default"].createElement(_index.CommitIcon, null)
+ ),
+ _react2["default"].createElement(
+ "div",
+ null,
+ commit && commit.substr(0, 10)
+ )
+ ),
+ _react2["default"].createElement(
+ "div",
+ { className: _build_event2["default"].row },
+ _react2["default"].createElement(
+ "div",
+ null,
+ event === _events.EVENT_TAG ? _react2["default"].createElement(_index.TagIcon, null) : event === _events.EVENT_PULL_REQUEST ? _react2["default"].createElement(_index.MergeIcon, null) : event === _events.EVENT_DEPLOY ? _react2["default"].createElement(_index.DeployIcon, null) : _react2["default"].createElement(_index.BranchIcon, null)
+ ),
+ _react2["default"].createElement(
+ "div",
+ null,
+ event === _events.EVENT_TAG && refs ? trimTagRef(refs) : event === _events.EVENT_PULL_REQUEST && refspec ? trimMergeRef(refs) : event === _events.EVENT_DEPLOY && target ? target : branch
+ )
+ ),
+ _react2["default"].createElement(
+ "a",
+ { href: link, target: "_blank" },
+ _react2["default"].createElement(_index.LaunchIcon, null)
+ )
+ );
+ };
- return BuildEvent;
+ return BuildEvent;
}(_react.Component);
exports["default"] = BuildEvent;
var trimMergeRef = function trimMergeRef(ref) {
- return ref.match(/\d/g) || ref;
+ return ref.match(/\d/g) || ref;
};
var trimTagRef = function trimTagRef(ref) {
- return ref.startsWith("refs/tags/") ? ref.substr(10) : ref;
+ return ref.startsWith("refs/tags/") ? ref.substr(10) : ref;
};
// push
@@ -2181,43 +2344,43 @@ function _possibleConstructorReturn(self, call) { if (!self) { throw new Referen
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
var binding = function binding(props, context) {
- return {
- feed: ["feed"],
- user: ["user", "data"],
- syncing: ["user", "syncing"]
- };
+ return {
+ feed: ["feed"],
+ user: ["user", "data"],
+ syncing: ["user", "syncing"]
+ };
};
var RedirectRoot = (_dec = (0, _higherOrder.branch)(binding), _dec(_class = function (_Component) {
- _inherits(RedirectRoot, _Component);
+ _inherits(RedirectRoot, _Component);
- function RedirectRoot() {
- _classCallCheck(this, RedirectRoot);
+ function RedirectRoot() {
+ _classCallCheck(this, RedirectRoot);
- return _possibleConstructorReturn(this, _Component.apply(this, arguments));
- }
+ return _possibleConstructorReturn(this, _Component.apply(this, arguments));
+ }
- RedirectRoot.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {
- var user = nextProps.user;
+ RedirectRoot.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {
+ var user = nextProps.user;
- if (!user && window) {
- window.location.href = "/login?url=" + window.location.href;
- }
- };
+ if (!user && window) {
+ window.location.href = "/login?url=" + window.location.href;
+ }
+ };
- RedirectRoot.prototype.render = function render() {
- var _props = this.props,
- user = _props.user,
- syncing = _props.syncing;
- var _props$feed = this.props.feed,
- latest = _props$feed.latest,
- loaded = _props$feed.loaded;
+ RedirectRoot.prototype.render = function render() {
+ var _props = this.props,
+ user = _props.user,
+ syncing = _props.syncing;
+ var _props$feed = this.props.feed,
+ latest = _props$feed.latest,
+ loaded = _props$feed.loaded;
- return !loaded && syncing ? _react2["default"].createElement(_sync.Message, null) : !loaded ? undefined : !user ? undefined : !latest ? _react2["default"].createElement(_reactRouterDom.Redirect, { to: "/account/repos" }) : !latest.number ? _react2["default"].createElement(_reactRouterDom.Redirect, { to: "/" + latest.full_name }) : _react2["default"].createElement(_reactRouterDom.Redirect, { to: "/" + latest.full_name + "/" + latest.number });
- };
+ return !loaded && syncing ? _react2["default"].createElement(_sync.Message, null) : !loaded ? undefined : !user ? undefined : !latest ? _react2["default"].createElement(_reactRouterDom.Redirect, { to: "/account/repos" }) : !latest.number ? _react2["default"].createElement(_reactRouterDom.Redirect, { to: "/" + latest.full_name }) : _react2["default"].createElement(_reactRouterDom.Redirect, { to: "/" + latest.full_name + "/" + latest.number });
+ };
- return RedirectRoot;
+ return RedirectRoot;
}(_react.Component)) || _class);
exports["default"] = RedirectRoot;
@@ -2254,51 +2417,51 @@ function _possibleConstructorReturn(self, call) { if (!self) { throw new Referen
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
var Menu = function (_Component) {
- _inherits(Menu, _Component);
+ _inherits(Menu, _Component);
- function Menu() {
- var _temp, _this, _ret;
+ function Menu() {
+ var _temp, _this, _ret;
- _classCallCheck(this, Menu);
+ _classCallCheck(this, Menu);
- for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
- args[_key] = arguments[_key];
- }
+ for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
+ args[_key] = arguments[_key];
+ }
- return _ret = (_temp = (_this = _possibleConstructorReturn(this, _Component.call.apply(_Component, [this].concat(args))), _this), _this.propTypes = { items: _propTypes2["default"].array, right: _propTypes2["default"].any }, _temp), _possibleConstructorReturn(_this, _ret);
- }
+ return _ret = (_temp = (_this = _possibleConstructorReturn(this, _Component.call.apply(_Component, [this].concat(args))), _this), _this.propTypes = { items: _propTypes2["default"].array, right: _propTypes2["default"].any }, _temp), _possibleConstructorReturn(_this, _ret);
+ }
- Menu.prototype.render = function render() {
- var items = this.props.items;
- var right = this.props.right ? _react2["default"].createElement(
- "div",
- { className: _menu2["default"].right },
- this.props.right
- ) : null;
- return _react2["default"].createElement(
- "section",
- { className: _menu2["default"].root },
- _react2["default"].createElement(
- "div",
- { className: _menu2["default"].left },
- items.map(function (i) {
- return _react2["default"].createElement(
- _reactRouterDom.NavLink,
- {
- key: i.to + i.label,
- to: i.to,
- exact: true,
- activeClassName: _menu2["default"]["link-active"]
- },
- i.label
- );
- })
- ),
- right
- );
- };
+ Menu.prototype.render = function render() {
+ var items = this.props.items;
+ var right = this.props.right ? _react2["default"].createElement(
+ "div",
+ { className: _menu2["default"].right },
+ this.props.right
+ ) : null;
+ return _react2["default"].createElement(
+ "section",
+ { className: _menu2["default"].root },
+ _react2["default"].createElement(
+ "div",
+ { className: _menu2["default"].left },
+ items.map(function (i) {
+ return _react2["default"].createElement(
+ _reactRouterDom.NavLink,
+ {
+ key: i.to + i.label,
+ to: i.to,
+ exact: true,
+ activeClassName: _menu2["default"]["link-active"]
+ },
+ i.label
+ );
+ })
+ ),
+ right
+ );
+ };
- return Menu;
+ return Menu;
}(_react.Component);
exports["default"] = Menu;
@@ -2333,24 +2496,24 @@ function _possibleConstructorReturn(self, call) { if (!self) { throw new Referen
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
var RepoMenu = function (_Component) {
- _inherits(RepoMenu, _Component);
+ _inherits(RepoMenu, _Component);
- function RepoMenu() {
- _classCallCheck(this, RepoMenu);
+ function RepoMenu() {
+ _classCallCheck(this, RepoMenu);
- return _possibleConstructorReturn(this, _Component.apply(this, arguments));
- }
+ return _possibleConstructorReturn(this, _Component.apply(this, arguments));
+ }
- RepoMenu.prototype.render = function render() {
- var _props$match$params = this.props.match.params,
- owner = _props$match$params.owner,
- repo = _props$match$params.repo;
+ RepoMenu.prototype.render = function render() {
+ var _props$match$params = this.props.match.params,
+ owner = _props$match$params.owner,
+ repo = _props$match$params.repo;
- var menu = [{ to: "/" + owner + "/" + repo, label: "Builds" }, { to: "/" + owner + "/" + repo + "/settings/secrets", label: "Secrets" }, { to: "/" + owner + "/" + repo + "/settings/registry", label: "Registry" }, { to: "/" + owner + "/" + repo + "/settings", label: "Settings" }];
- return _react2["default"].createElement(_menu2["default"], _extends({ items: menu }, this.props));
- };
+ var menu = [{ to: "/" + owner + "/" + repo, label: "Builds" }, { to: "/" + owner + "/" + repo + "/settings/secrets", label: "Secrets" }, { to: "/" + owner + "/" + repo + "/settings/registry", label: "Registry" }, { to: "/" + owner + "/" + repo + "/settings", label: "Settings" }];
+ return _react2["default"].createElement(_menu2["default"], _extends({ items: menu }, this.props));
+ };
- return RepoMenu;
+ return RepoMenu;
}(_react.Component);
exports["default"] = RepoMenu;
@@ -2378,8 +2541,8 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "d
var root = void 0;
function init() {
- var App = __webpack_require__(406)["default"];
- root = (0, _reactDom.render)(_react2["default"].createElement(App, null), document.body, root);
+ var App = __webpack_require__(406)["default"];
+ root = (0, _reactDom.render)(_react2["default"].createElement(App, null), document.body, root);
}
init();
@@ -2649,51 +2812,51 @@ function _inherits(subClass, superClass) { if (typeof superClass !== "function"
if (false) {
- require("preact/devtools");
+ require("preact/devtools");
}
var App = function (_Component) {
- _inherits(App, _Component);
+ _inherits(App, _Component);
- function App() {
- _classCallCheck(this, App);
+ function App() {
+ _classCallCheck(this, App);
- return _possibleConstructorReturn(this, _Component.apply(this, arguments));
- }
+ return _possibleConstructorReturn(this, _Component.apply(this, arguments));
+ }
- App.prototype.render = function render() {
- return _react2["default"].createElement(
- _reactRouterDom.BrowserRouter,
- null,
- _react2["default"].createElement(
- "div",
- null,
- _react2["default"].createElement(_titles2["default"], null),
- _react2["default"].createElement(
- _reactRouterDom.Switch,
- null,
- _react2["default"].createElement(_reactRouterDom.Route, { path: "/", exact: true, component: _redirect2["default"] }),
- _react2["default"].createElement(_reactRouterDom.Route, { path: "/login/form", exact: true, component: _screens.LoginForm }),
- _react2["default"].createElement(_reactRouterDom.Route, { path: "/login/error", exact: true, component: _screens.LoginError }),
- _react2["default"].createElement(_reactRouterDom.Route, { path: "/", exact: false, component: _layout2["default"] })
- )
- )
- );
- };
+ App.prototype.render = function render() {
+ return _react2["default"].createElement(
+ _reactRouterDom.BrowserRouter,
+ null,
+ _react2["default"].createElement(
+ "div",
+ null,
+ _react2["default"].createElement(_titles2["default"], null),
+ _react2["default"].createElement(
+ _reactRouterDom.Switch,
+ null,
+ _react2["default"].createElement(_reactRouterDom.Route, { path: "/", exact: true, component: _redirect2["default"] }),
+ _react2["default"].createElement(_reactRouterDom.Route, { path: "/login/form", exact: true, component: _screens.LoginForm }),
+ _react2["default"].createElement(_reactRouterDom.Route, { path: "/login/error", exact: true, component: _screens.LoginError }),
+ _react2["default"].createElement(_reactRouterDom.Route, { path: "/", exact: false, component: _layout2["default"] })
+ )
+ )
+ );
+ };
- return App;
+ return App;
}(_react.Component);
if (_state2["default"].exists(["user", "data"])) {
- (0, _feed.fetchFeedOnce)(_state2["default"], _client2["default"]);
- (0, _feed.subscribeToFeedOnce)(_state2["default"], _client2["default"]);
+ (0, _feed.fetchFeedOnce)(_state2["default"], _client2["default"]);
+ (0, _feed.subscribeToFeedOnce)(_state2["default"], _client2["default"]);
}
_client2["default"].onerror = function (error) {
- console.error(error);
- if (error.status === 401) {
- _state2["default"].unset(["user", "data"]);
- }
+ console.error(error);
+ if (error.status === 401) {
+ _state2["default"].unset(["user", "data"]);
+ }
};
exports["default"] = (0, _higherOrder.root)(_state2["default"], (0, _inject.drone)(_client2["default"], App));
@@ -2719,75 +2882,75 @@ var user = window.DRONE_USER;
var sync = window.DRONE_SYNC;
var state = {
- follow: false,
- language: "en-US",
+ follow: false,
+ language: "en-US",
- user: {
- data: user,
- error: undefined,
- loaded: true,
- syncing: sync
- },
+ user: {
+ data: user,
+ error: undefined,
+ loaded: true,
+ syncing: sync
+ },
- feed: {
- loaded: false,
- error: undefined,
- data: {}
- },
+ feed: {
+ loaded: false,
+ error: undefined,
+ data: {}
+ },
- repos: {
- loaded: false,
- error: undefined,
- data: {}
- },
+ repos: {
+ loaded: false,
+ error: undefined,
+ data: {}
+ },
- secrets: {
- loaded: false,
- error: undefined,
- data: {}
- },
+ secrets: {
+ loaded: false,
+ error: undefined,
+ data: {}
+ },
- registry: {
- error: undefined,
- loaded: false,
- data: {}
- },
+ registry: {
+ error: undefined,
+ loaded: false,
+ data: {}
+ },
- builds: {
- loaded: false,
- error: undefined,
- data: {}
- },
+ builds: {
+ loaded: false,
+ error: undefined,
+ data: {}
+ },
- logs: {
- follow: false,
- loading: true,
- error: false,
- data: {}
- },
+ logs: {
+ follow: false,
+ loading: true,
+ error: false,
+ data: {}
+ },
- token: {
- value: undefined,
- error: undefined,
- loading: false
- },
+ token: {
+ value: undefined,
+ error: undefined,
+ loading: false
+ },
- message: {
- show: false,
- text: undefined,
- error: false
- },
+ message: {
+ show: false,
+ text: undefined,
+ error: false
+ },
- location: {
- protocol: window.location.protocol,
- host: window.location.host
- }
+ location: {
+ protocol: window.location.protocol,
+ host: window.location.host
+ }
};
var tree = new _baobab2["default"](state);
if (window) {
- window.tree = tree;
+ window.tree = tree;
}
exports["default"] = tree;
@@ -2852,27 +3015,27 @@ var _index2 = _interopRequireDefault(_index);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
var LoginForm = function LoginForm(props) {
- return _react2["default"].createElement(
- "div",
- { className: _index2["default"].login },
- _react2["default"].createElement(
- "form",
- { method: "post", action: "/authorize" },
- _react2["default"].createElement(
- "p",
- null,
- "Login with your version control system username and password."
- ),
- _react2["default"].createElement("input", {
- placeholder: "Username",
- name: "username",
- type: "text",
- spellCheck: "false"
- }),
- _react2["default"].createElement("input", { placeholder: "Password", name: "password", type: "password" }),
- _react2["default"].createElement("input", { value: "Login", type: "submit" })
- )
- );
+ return _react2["default"].createElement(
+ "div",
+ { className: _index2["default"].login },
+ _react2["default"].createElement(
+ "form",
+ { method: "post", action: "/authorize" },
+ _react2["default"].createElement(
+ "p",
+ null,
+ "Login with your version control system username and password."
+ ),
+ _react2["default"].createElement("input", {
+ placeholder: "Username",
+ name: "username",
+ type: "text",
+ spellCheck: "false"
+ }),
+ _react2["default"].createElement("input", { placeholder: "Password", name: "password", type: "password" }),
+ _react2["default"].createElement("input", { value: "Login", type: "submit" })
+ )
+ );
};
exports["default"] = LoginForm;
@@ -3055,46 +3218,46 @@ function _inherits(subClass, superClass) { if (typeof superClass !== "function"
var DEFAULT_ERROR = "The system failed to process your Login request.";
var Error = function (_Component) {
- _inherits(Error, _Component);
+ _inherits(Error, _Component);
- function Error() {
- _classCallCheck(this, Error);
+ function Error() {
+ _classCallCheck(this, Error);
- return _possibleConstructorReturn(this, _Component.apply(this, arguments));
- }
+ return _possibleConstructorReturn(this, _Component.apply(this, arguments));
+ }
- Error.prototype.render = function render() {
- var parsed = _queryString2["default"].parse(window.location.search);
- var error = DEFAULT_ERROR;
+ Error.prototype.render = function render() {
+ var parsed = _queryString2["default"].parse(window.location.search);
+ var error = DEFAULT_ERROR;
- switch (parsed.code || parsed.error) {
- case "oauth_error":
- break;
- case "access_denied":
- break;
- }
+ switch (parsed.code || parsed.error) {
+ case "oauth_error":
+ break;
+ case "access_denied":
+ break;
+ }
- return _react2["default"].createElement(
- "div",
- { className: _index2["default"].root },
- _react2["default"].createElement(
- "div",
- { className: _index2["default"].alert },
- _react2["default"].createElement(
- "div",
- null,
- _react2["default"].createElement(_report2["default"], null)
- ),
- _react2["default"].createElement(
- "div",
- null,
- error
- )
- )
- );
- };
+ return _react2["default"].createElement(
+ "div",
+ { className: _index2["default"].root },
+ _react2["default"].createElement(
+ "div",
+ { className: _index2["default"].alert },
+ _react2["default"].createElement(
+ "div",
+ null,
+ _react2["default"].createElement(_report2["default"], null)
+ ),
+ _react2["default"].createElement(
+ "div",
+ null,
+ error
+ )
+ )
+ );
+ };
- return Error;
+ return Error;
}(_react.Component);
exports["default"] = Error;
@@ -3125,24 +3288,24 @@ function _possibleConstructorReturn(self, call) { if (!self) { throw new Referen
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
var ReportIcon = function (_Component) {
- _inherits(ReportIcon, _Component);
+ _inherits(ReportIcon, _Component);
- function ReportIcon() {
- _classCallCheck(this, ReportIcon);
+ function ReportIcon() {
+ _classCallCheck(this, ReportIcon);
- return _possibleConstructorReturn(this, _Component.apply(this, arguments));
- }
+ return _possibleConstructorReturn(this, _Component.apply(this, arguments));
+ }
- ReportIcon.prototype.render = function render() {
- return _react2["default"].createElement(
- "svg",
- { className: this.props.className, viewBox: "0 0 24 24" },
- _react2["default"].createElement("path", { d: "M15.73 3H8.27L3 8.27v7.46L8.27 21h7.46L21 15.73V8.27L15.73 3zM12 17.3c-.72 0-1.3-.58-1.3-1.3 0-.72.58-1.3 1.3-1.3.72 0 1.3.58 1.3 1.3 0 .72-.58 1.3-1.3 1.3zm1-4.3h-2V7h2v6z" }),
- _react2["default"].createElement("path", { d: "M0 0h24v24H0z", fill: "none" })
- );
- };
+ ReportIcon.prototype.render = function render() {
+ return _react2["default"].createElement(
+ "svg",
+ { className: this.props.className, viewBox: "0 0 24 24" },
+ _react2["default"].createElement("path", { d: "M15.73 3H8.27L3 8.27v7.46L8.27 21h7.46L21 15.73V8.27L15.73 3zM12 17.3c-.72 0-1.3-.58-1.3-1.3 0-.72.58-1.3 1.3-1.3.72 0 1.3.58 1.3 1.3 0 .72-.58 1.3-1.3 1.3zm1-4.3h-2V7h2v6z" }),
+ _react2["default"].createElement("path", { d: "M0 0h24v24H0z", fill: "none" })
+ );
+ };
- return ReportIcon;
+ return ReportIcon;
}(_react.Component);
exports["default"] = ReportIcon;
@@ -3205,15 +3368,15 @@ exports.locals = {
exports.__esModule = true;
exports["default"] = function () {
- return _react2["default"].createElement(
- _reactRouterDom.Switch,
- null,
- _react2["default"].createElement(_reactRouterDom.Route, { path: "/account/tokens", exact: true, component: accountTitle }),
- _react2["default"].createElement(_reactRouterDom.Route, { path: "/account/repos", exact: true, component: accountRepos }),
- _react2["default"].createElement(_reactRouterDom.Route, { path: "/login", exact: false, component: loginTitle }),
- _react2["default"].createElement(_reactRouterDom.Route, { path: "/:owner/:repo", exact: false, component: repoTitle }),
- _react2["default"].createElement(_reactRouterDom.Route, { path: "/", exact: false, component: defautTitle })
- );
+ return _react2["default"].createElement(
+ _reactRouterDom.Switch,
+ null,
+ _react2["default"].createElement(_reactRouterDom.Route, { path: "/account/tokens", exact: true, component: accountTitle }),
+ _react2["default"].createElement(_reactRouterDom.Route, { path: "/account/repos", exact: true, component: accountRepos }),
+ _react2["default"].createElement(_reactRouterDom.Route, { path: "/login", exact: false, component: loginTitle }),
+ _react2["default"].createElement(_reactRouterDom.Route, { path: "/:owner/:repo", exact: false, component: repoTitle }),
+ _react2["default"].createElement(_reactRouterDom.Route, { path: "/", exact: false, component: defautTitle })
+ );
};
var _react = __webpack_require__(1);
@@ -3229,7 +3392,7 @@ var _reactTitleComponent2 = _interopRequireDefault(_reactTitleComponent);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
var accountTitle = function accountTitle() {
- return _react2["default"].createElement(_reactTitleComponent2["default"], { render: "Tokens | drone" });
+ return _react2["default"].createElement(_reactTitleComponent2["default"], { render: "Tokens | woodpecker" });
};
// @see https://github.com/yannickcr/eslint-plugin-react/issues/512
@@ -3237,20 +3400,20 @@ var accountTitle = function accountTitle() {
var accountRepos = function accountRepos() {
- return _react2["default"].createElement(_reactTitleComponent2["default"], { render: "Repositories | drone" });
+ return _react2["default"].createElement(_reactTitleComponent2["default"], { render: "Repositories | woodpecker" });
};
var loginTitle = function loginTitle() {
- return _react2["default"].createElement(_reactTitleComponent2["default"], { render: "Login | drone" });
+ return _react2["default"].createElement(_reactTitleComponent2["default"], { render: "Login | woodpecker" });
};
var repoTitle = function repoTitle(_ref) {
- var match = _ref.match;
- return _react2["default"].createElement(_reactTitleComponent2["default"], { render: match.params.owner + "/" + match.params.repo + " | drone" });
+ var match = _ref.match;
+ return _react2["default"].createElement(_reactTitleComponent2["default"], { render: match.params.owner + "/" + match.params.repo + " | woodpecker" });
};
var defautTitle = function defautTitle() {
- return _react2["default"].createElement(_reactTitleComponent2["default"], { render: "Welcome | drone" });
+ return _react2["default"].createElement(_reactTitleComponent2["default"], { render: "Welcome | woodpecker" });
};
/***/ }),
@@ -3374,242 +3537,238 @@ function _possibleConstructorReturn(self, call) { if (!self) { throw new Referen
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
var binding = function binding(props, context) {
- return {
- user: ["user"],
- message: ["message"],
- sidebar: ["sidebar"],
- menu: ["menu"]
- };
+ return {
+ user: ["user"],
+ message: ["message"],
+ sidebar: ["sidebar"],
+ menu: ["menu"]
+ };
};
var mapScreenSizeToProps = function mapScreenSizeToProps(screenSize) {
- return {
- isTablet: screenSize["small"],
- isMobile: screenSize["mobile"],
- isDesktop: screenSize["> small"]
- };
+ return {
+ isTablet: screenSize["small"],
+ isMobile: screenSize["mobile"],
+ isDesktop: screenSize["> small"]
+ };
};
var Default = (_dec = (0, _higherOrder.branch)(binding), _dec2 = (0, _reactScreenSize.connectScreenSize)(mapScreenSizeToProps), (0, _inject.inject)(_class = _dec(_class = _dec2(_class = function (_Component) {
- _inherits(Default, _Component);
+ _inherits(Default, _Component);
- function Default(props, context) {
- _classCallCheck(this, Default);
+ function Default(props, context) {
+ _classCallCheck(this, Default);
- var _this = _possibleConstructorReturn(this, _Component.call(this, props, context));
+ var _this = _possibleConstructorReturn(this, _Component.call(this, props, context));
- _this.state = {
- menu: false,
- feed: false
- };
+ _this.state = {
+ menu: false,
+ feed: false
+ };
- _this.openMenu = _this.openMenu.bind(_this);
- _this.closeMenu = _this.closeMenu.bind(_this);
- _this.closeSnackbar = _this.closeSnackbar.bind(_this);
- return _this;
- }
+ _this.openMenu = _this.openMenu.bind(_this);
+ _this.closeMenu = _this.closeMenu.bind(_this);
+ _this.closeSnackbar = _this.closeSnackbar.bind(_this);
+ return _this;
+ }
- Default.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {
- if (nextProps.location !== this.props.location) {
- this.closeMenu(true);
- }
- };
+ Default.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {
+ if (nextProps.location !== this.props.location) {
+ this.closeMenu(true);
+ }
+ };
- Default.prototype.openMenu = function openMenu() {
- this.props.dispatch(function (tree) {
- tree.set(["menu"], true);
- });
- };
+ Default.prototype.openMenu = function openMenu() {
+ this.props.dispatch(function (tree) {
+ tree.set(["menu"], true);
+ });
+ };
- Default.prototype.closeMenu = function closeMenu() {
- this.props.dispatch(function (tree) {
- tree.set(["menu"], false);
- });
- };
+ Default.prototype.closeMenu = function closeMenu() {
+ this.props.dispatch(function (tree) {
+ tree.set(["menu"], false);
+ });
+ };
- Default.prototype.render = function render() {
- var _props = this.props,
- user = _props.user,
- message = _props.message,
- menu = _props.menu;
+ Default.prototype.render = function render() {
+ var _props = this.props,
+ user = _props.user,
+ message = _props.message,
+ menu = _props.menu;
- var classes = (0, _classnames2["default"])(!user || !user.data ? _layout2["default"].guest : null);
- return _react2["default"].createElement(
- "div",
- { className: classes },
- _react2["default"].createElement(
- "div",
- { className: _layout2["default"].left },
- _react2["default"].createElement(
- _reactRouterDom.Switch,
- null,
- _react2["default"].createElement(_reactRouterDom.Route, { path: "/", component: _feed2["default"] })
- )
- ),
- _react2["default"].createElement(
- "div",
- { className: _layout2["default"].center },
- !user || !user.data ? _react2["default"].createElement(
- "a",
- {
- href: "/login?url=" + window.location.href,
- target: "_self",
- className: _layout2["default"].login
- },
- "Click to Login"
- ) : _react2["default"].createElement("noscript", null),
- _react2["default"].createElement(
- "div",
- { className: _layout2["default"].title },
- _react2["default"].createElement(
- _reactRouterDom.Switch,
- null,
- _react2["default"].createElement(_reactRouterDom.Route, { path: "/account/repos", component: _repos.UserRepoTitle }),
- _react2["default"].createElement(_reactRouterDom.Route, {
- path: "/:owner/:repo/:build(\\d*)/:proc(\\d*)",
- exact: true,
- component: _build.BuildLogsTitle
- }),
- _react2["default"].createElement(_reactRouterDom.Route, {
- path: "/:owner/:repo/:build(\\d*)",
- component: _build.BuildLogsTitle
- }),
- _react2["default"].createElement(_reactRouterDom.Route, { path: "/:owner/:repo", component: _header2["default"] })
- ),
- user && user.data ? _react2["default"].createElement(
- "div",
- { className: _layout2["default"].avatar },
- _react2["default"].createElement("img", { src: user.data.avatar_url })
- ) : undefined,
- user && user.data ? _react2["default"].createElement(
- "button",
- { onClick: this.openMenu },
- _react2["default"].createElement(_menu2["default"], null)
- ) : _react2["default"].createElement("noscript", null)
- ),
- _react2["default"].createElement(
- "div",
- { className: _layout2["default"].menu },
- _react2["default"].createElement(
- _reactRouterDom.Switch,
- null,
- _react2["default"].createElement(_reactRouterDom.Route, {
- path: "/account/repos",
- exact: true,
- component: _menu4["default"]
- }),
- _react2["default"].createElement(_reactRouterDom.Route, {
- path: "/account/",
- exact: false,
- component: undefined
- }),
- "BuildMenu",
- _react2["default"].createElement(_reactRouterDom.Route, {
- path: "/:owner/:repo/:build(\\d*)/:proc(\\d*)",
- exact: true,
- component: _menu6["default"]
- }),
- _react2["default"].createElement(_reactRouterDom.Route, {
- path: "/:owner/:repo/:build(\\d*)",
- exact: true,
- component: _menu6["default"]
- }),
- _react2["default"].createElement(_reactRouterDom.Route, { path: "/:owner/:repo", exact: false, component: _menu8["default"] })
- )
- ),
- _react2["default"].createElement(
- _reactRouterDom.Switch,
- null,
- _react2["default"].createElement(_reactRouterDom.Route, { path: "/account/token", exact: true, component: _tokens2["default"] }),
- _react2["default"].createElement(_reactRouterDom.Route, { path: "/account/repos", exact: true, component: _repos2["default"] }),
- _react2["default"].createElement(_reactRouterDom.Route, {
- path: "/:owner/:repo/settings/secrets",
- exact: true,
- component: _secrets2["default"]
- }),
- _react2["default"].createElement(_reactRouterDom.Route, {
- path: "/:owner/:repo/settings/registry",
- exact: true,
- component: _registry2["default"]
- }),
- _react2["default"].createElement(_reactRouterDom.Route, {
- path: "/:owner/:repo/settings",
- exact: true,
- component: _settings2["default"]
- }),
- _react2["default"].createElement(_reactRouterDom.Route, {
- path: "/:owner/:repo/:build(\\d*)",
- exact: true,
- component: _build2["default"]
- }),
- _react2["default"].createElement(_reactRouterDom.Route, {
- path: "/:owner/:repo/:build(\\d*)/:proc(\\d*)",
- exact: true,
- component: _build2["default"]
- }),
- _react2["default"].createElement(_reactRouterDom.Route, { path: "/:owner/:repo", exact: true, component: _builds2["default"] }),
- _react2["default"].createElement(_reactRouterDom.Route, { path: "/", exact: true, component: _redirect2["default"] })
- )
- ),
- _react2["default"].createElement(_snackbar.Snackbar, { message: message.text, onClose: this.closeSnackbar }),
- _react2["default"].createElement(
- _drawer.Drawer,
- { onClick: this.closeMenu, position: _drawer.DOCK_RIGHT, open: menu },
- _react2["default"].createElement(
- "section",
- null,
- _react2["default"].createElement(
- "ul",
- null,
- _react2["default"].createElement(
- "li",
- null,
- _react2["default"].createElement(
- _reactRouterDom.Link,
- { to: "/account/repos" },
- "Repositories"
- )
- ),
- _react2["default"].createElement(
- "li",
- null,
- _react2["default"].createElement(
- _reactRouterDom.Link,
- { to: "/account/token" },
- "Token"
- )
- )
- )
- ),
- _react2["default"].createElement(
- "section",
- null,
- _react2["default"].createElement(
- "ul",
- null,
- _react2["default"].createElement(
- "li",
- null,
- _react2["default"].createElement(
- "a",
- { href: "/logout", target: "_self" },
- "Logout"
- )
- )
- )
- )
- )
- );
- };
+ var classes = (0, _classnames2["default"])(!user || !user.data ? _layout2["default"].guest : null);
+ return _react2["default"].createElement(
+ "div",
+ { className: classes },
+ _react2["default"].createElement(
+ "div",
+ { className: _layout2["default"].left },
+ _react2["default"].createElement(
+ _reactRouterDom.Switch,
+ null,
+ _react2["default"].createElement(_reactRouterDom.Route, { path: "/", component: _feed2["default"] })
+ )
+ ),
+ _react2["default"].createElement(
+ "div",
+ { className: _layout2["default"].center },
+ !user || !user.data ? _react2["default"].createElement(
+ "a",
+ {
+ href: "/login?url=" + window.location.href,
+ target: "_self",
+ className: _layout2["default"].login
+ },
+ "Click to Login"
+ ) : _react2["default"].createElement("noscript", null),
+ _react2["default"].createElement(
+ "div",
+ { className: _layout2["default"].title },
+ _react2["default"].createElement(
+ _reactRouterDom.Switch,
+ null,
+ _react2["default"].createElement(_reactRouterDom.Route, { path: "/account/repos", component: _repos.UserRepoTitle }),
+ _react2["default"].createElement(_reactRouterDom.Route, {
+ path: "/:owner/:repo/:build(\\d*)/:proc(\\d*)",
+ exact: true,
+ component: _build.BuildLogsTitle
+ }),
+ _react2["default"].createElement(_reactRouterDom.Route, {
+ path: "/:owner/:repo/:build(\\d*)",
+ component: _build.BuildLogsTitle
+ }),
+ _react2["default"].createElement(_reactRouterDom.Route, { path: "/:owner/:repo", component: _header2["default"] })
+ ),
+ user && user.data ? _react2["default"].createElement(
+ "div",
+ { className: _layout2["default"].avatar },
+ _react2["default"].createElement("img", { src: user.data.avatar_url })
+ ) : undefined,
+ user && user.data ? _react2["default"].createElement(
+ "button",
+ { onClick: this.openMenu },
+ _react2["default"].createElement(_menu2["default"], null)
+ ) : _react2["default"].createElement("noscript", null)
+ ),
+ _react2["default"].createElement(
+ "div",
+ { className: _layout2["default"].menu },
+ _react2["default"].createElement(
+ _reactRouterDom.Switch,
+ null,
+ _react2["default"].createElement(_reactRouterDom.Route, {
+ path: "/account/repos",
+ exact: true,
+ component: _menu4["default"]
+ }),
+ _react2["default"].createElement(_reactRouterDom.Route, { path: "/account/", exact: false, component: undefined }),
+ "BuildMenu",
+ _react2["default"].createElement(_reactRouterDom.Route, {
+ path: "/:owner/:repo/:build(\\d*)/:proc(\\d*)",
+ exact: true,
+ component: _menu6["default"]
+ }),
+ _react2["default"].createElement(_reactRouterDom.Route, {
+ path: "/:owner/:repo/:build(\\d*)",
+ exact: true,
+ component: _menu6["default"]
+ }),
+ _react2["default"].createElement(_reactRouterDom.Route, { path: "/:owner/:repo", exact: false, component: _menu8["default"] })
+ )
+ ),
+ _react2["default"].createElement(
+ _reactRouterDom.Switch,
+ null,
+ _react2["default"].createElement(_reactRouterDom.Route, { path: "/account/token", exact: true, component: _tokens2["default"] }),
+ _react2["default"].createElement(_reactRouterDom.Route, { path: "/account/repos", exact: true, component: _repos2["default"] }),
+ _react2["default"].createElement(_reactRouterDom.Route, {
+ path: "/:owner/:repo/settings/secrets",
+ exact: true,
+ component: _secrets2["default"]
+ }),
+ _react2["default"].createElement(_reactRouterDom.Route, {
+ path: "/:owner/:repo/settings/registry",
+ exact: true,
+ component: _registry2["default"]
+ }),
+ _react2["default"].createElement(_reactRouterDom.Route, {
+ path: "/:owner/:repo/settings",
+ exact: true,
+ component: _settings2["default"]
+ }),
+ _react2["default"].createElement(_reactRouterDom.Route, {
+ path: "/:owner/:repo/:build(\\d*)",
+ exact: true,
+ component: _build2["default"]
+ }),
+ _react2["default"].createElement(_reactRouterDom.Route, {
+ path: "/:owner/:repo/:build(\\d*)/:proc(\\d*)",
+ exact: true,
+ component: _build2["default"]
+ }),
+ _react2["default"].createElement(_reactRouterDom.Route, { path: "/:owner/:repo", exact: true, component: _builds2["default"] }),
+ _react2["default"].createElement(_reactRouterDom.Route, { path: "/", exact: true, component: _redirect2["default"] })
+ )
+ ),
+ _react2["default"].createElement(_snackbar.Snackbar, { message: message.text, onClose: this.closeSnackbar }),
+ _react2["default"].createElement(
+ _drawer.Drawer,
+ { onClick: this.closeMenu, position: _drawer.DOCK_RIGHT, open: menu },
+ _react2["default"].createElement(
+ "section",
+ null,
+ _react2["default"].createElement(
+ "ul",
+ null,
+ _react2["default"].createElement(
+ "li",
+ null,
+ _react2["default"].createElement(
+ _reactRouterDom.Link,
+ { to: "/account/repos" },
+ "Repositories"
+ )
+ ),
+ _react2["default"].createElement(
+ "li",
+ null,
+ _react2["default"].createElement(
+ _reactRouterDom.Link,
+ { to: "/account/token" },
+ "Token"
+ )
+ )
+ )
+ ),
+ _react2["default"].createElement(
+ "section",
+ null,
+ _react2["default"].createElement(
+ "ul",
+ null,
+ _react2["default"].createElement(
+ "li",
+ null,
+ _react2["default"].createElement(
+ "a",
+ { href: "/logout", target: "_self" },
+ "Logout"
+ )
+ )
+ )
+ )
+ )
+ );
+ };
- Default.prototype.closeSnackbar = function closeSnackbar() {
- this.props.dispatch(function (tree) {
- tree.unset(["message", "text"]);
- });
- };
+ Default.prototype.closeSnackbar = function closeSnackbar() {
+ this.props.dispatch(function (tree) {
+ tree.unset(["message", "text"]);
+ });
+ };
- return Default;
+ return Default;
}(_react.Component)) || _class) || _class) || _class);
exports["default"] = Default;
@@ -3660,208 +3819,208 @@ function _possibleConstructorReturn(self, call) { if (!self) { throw new Referen
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
var binding = function binding(props, context) {
- return { feed: ["feed"] };
+ return { feed: ["feed"] };
};
var Sidebar = (_dec = (0, _higherOrder.branch)(binding), (0, _inject.inject)(_class = _dec(_class = function (_Component) {
- _inherits(Sidebar, _Component);
+ _inherits(Sidebar, _Component);
- function Sidebar(props, context) {
- _classCallCheck(this, Sidebar);
+ function Sidebar(props, context) {
+ _classCallCheck(this, Sidebar);
- var _this = _possibleConstructorReturn(this, _Component.call(this, props, context));
+ var _this = _possibleConstructorReturn(this, _Component.call(this, props, context));
- _this.toggleItem = function (item) {
- _this.setState(function (state) {
- var _ref;
+ _this.toggleItem = function (item) {
+ _this.setState(function (state) {
+ var _ref;
- return _ref = {}, _ref[item] = !state[item], _ref;
- });
+ return _ref = {}, _ref[item] = !state[item], _ref;
+ });
- localStorage.setItem(item, _this.state[item]);
- };
+ localStorage.setItem(item, _this.state[item]);
+ };
- _this.renderFeed = function (list, renderStarred) {
- return _react2["default"].createElement(
- "div",
- null,
- _react2["default"].createElement(
- _components.List,
- null,
- list.map(function (item) {
- return _this.renderItem(item, renderStarred);
- })
- )
- );
- };
+ _this.renderFeed = function (list, renderStarred) {
+ return _react2["default"].createElement(
+ "div",
+ null,
+ _react2["default"].createElement(
+ _components.List,
+ null,
+ list.map(function (item) {
+ return _this.renderItem(item, renderStarred);
+ })
+ )
+ );
+ };
- _this.renderItem = function (item, renderStarred) {
- var starred = _this.state.starred;
- if (renderStarred && !starred.includes(item.full_name)) {
- return null;
- }
- return _react2["default"].createElement(
- _reactRouterDom.Link,
- { to: "/" + item.full_name, key: item.full_name },
- _react2["default"].createElement(_components.Item, {
- item: item,
- onFave: _this.onFave,
- faved: starred.includes(item.full_name)
- })
- );
- };
+ _this.renderItem = function (item, renderStarred) {
+ var starred = _this.state.starred;
+ if (renderStarred && !starred.includes(item.full_name)) {
+ return null;
+ }
+ return _react2["default"].createElement(
+ _reactRouterDom.Link,
+ { to: "/" + item.full_name, key: item.full_name },
+ _react2["default"].createElement(_components.Item, {
+ item: item,
+ onFave: _this.onFave,
+ faved: starred.includes(item.full_name)
+ })
+ );
+ };
- _this.onFave = function (fullName) {
- if (!_this.state.starred.includes(fullName)) {
- _this.setState(function (state) {
- var list = state.starred.concat(fullName);
- return { starred: list };
- });
- } else {
- _this.setState(function (state) {
- var list = state.starred.filter(function (v) {
- return v !== fullName;
- });
- return { starred: list };
- });
- }
+ _this.onFave = function (fullName) {
+ if (!_this.state.starred.includes(fullName)) {
+ _this.setState(function (state) {
+ var list = state.starred.concat(fullName);
+ return { starred: list };
+ });
+ } else {
+ _this.setState(function (state) {
+ var list = state.starred.filter(function (v) {
+ return v !== fullName;
+ });
+ return { starred: list };
+ });
+ }
- localStorage.setItem("starred", JSON.stringify(_this.state.starred));
- };
+ localStorage.setItem("starred", JSON.stringify(_this.state.starred));
+ };
- _this.setState({
- starred: JSON.parse(localStorage.getItem("starred") || "[]"),
- starredOpen: (localStorage.getItem("starredOpen") || "true") === "true",
- reposOpen: (localStorage.getItem("reposOpen") || "true") === "true"
- });
+ _this.setState({
+ starred: JSON.parse(localStorage.getItem("starred") || "[]"),
+ starredOpen: (localStorage.getItem("starredOpen") || "true") === "true",
+ reposOpen: (localStorage.getItem("reposOpen") || "true") === "true"
+ });
- _this.handleFilter = _this.handleFilter.bind(_this);
- _this.toggleStarred = _this.toggleItem.bind(_this, "starredOpen");
- _this.toggleAll = _this.toggleItem.bind(_this, "reposOpen");
- return _this;
- }
+ _this.handleFilter = _this.handleFilter.bind(_this);
+ _this.toggleStarred = _this.toggleItem.bind(_this, "starredOpen");
+ _this.toggleAll = _this.toggleItem.bind(_this, "reposOpen");
+ return _this;
+ }
- Sidebar.prototype.shouldComponentUpdate = function shouldComponentUpdate(nextProps, nextState) {
- return this.props.feed !== nextProps.feed || this.state.filter !== nextState.filter || this.state.starred.length !== nextState.starred.length;
- };
+ Sidebar.prototype.shouldComponentUpdate = function shouldComponentUpdate(nextProps, nextState) {
+ return this.props.feed !== nextProps.feed || this.state.filter !== nextState.filter || this.state.starred.length !== nextState.starred.length;
+ };
- Sidebar.prototype.handleFilter = function handleFilter(e) {
- this.setState({
- filter: e.target.value
- });
- };
+ Sidebar.prototype.handleFilter = function handleFilter(e) {
+ this.setState({
+ filter: e.target.value
+ });
+ };
- Sidebar.prototype.render = function render() {
- var feed = this.props.feed;
- var filter = this.state.filter;
+ Sidebar.prototype.render = function render() {
+ var feed = this.props.feed;
+ var filter = this.state.filter;
- var list = feed.data ? Object.values(feed.data) : [];
+ var list = feed.data ? Object.values(feed.data) : [];
- var filterFunc = function filterFunc(item) {
- return !filter || item.full_name.indexOf(filter) !== -1;
- };
+ var filterFunc = function filterFunc(item) {
+ return !filter || item.full_name.indexOf(filter) !== -1;
+ };
- var filtered = list.filter(filterFunc).sort(_feed.compareFeedItem);
- var starredOpen = this.state.starredOpen;
- var reposOpen = this.state.reposOpen;
- return _react2["default"].createElement(
- "div",
- { className: _index2["default"].feed },
- LOGO,
- _react2["default"].createElement(
- _reactCollapsible2["default"],
- {
- trigger: "Starred",
- triggerTagName: "div",
- transitionTime: 200,
- open: starredOpen,
- onOpen: this.toggleStarred,
- onClose: this.toggleStarred,
- triggerOpenedClassName: _index2["default"].Collapsible__trigger,
- triggerClassName: _index2["default"].Collapsible__trigger
- },
- feed.loaded === false ? LOADING : feed.error ? ERROR : list.length === 0 ? EMPTY : this.renderFeed(list, true)
- ),
- _react2["default"].createElement(
- _reactCollapsible2["default"],
- {
- trigger: "Repos",
- triggerTagName: "div",
- transitionTime: 200,
- open: reposOpen,
- onOpen: this.toggleAll,
- onClose: this.toggleAll,
- triggerOpenedClassName: _index2["default"].Collapsible__trigger,
- triggerClassName: _index2["default"].Collapsible__trigger
- },
- _react2["default"].createElement("input", {
- type: "text",
- placeholder: "Search \u2026",
- onChange: this.handleFilter
- }),
- feed.loaded === false ? LOADING : feed.error ? ERROR : list.length === 0 ? EMPTY : filtered.length > 0 ? this.renderFeed(filtered.sort(_feed.compareFeedItem), false) : NO_MATCHES
- )
- );
- };
+ var filtered = list.filter(filterFunc).sort(_feed.compareFeedItem);
+ var starredOpen = this.state.starredOpen;
+ var reposOpen = this.state.reposOpen;
+ return _react2["default"].createElement(
+ "div",
+ { className: _index2["default"].feed },
+ LOGO,
+ _react2["default"].createElement(
+ _reactCollapsible2["default"],
+ {
+ trigger: "Starred",
+ triggerTagName: "div",
+ transitionTime: 200,
+ open: starredOpen,
+ onOpen: this.toggleStarred,
+ onClose: this.toggleStarred,
+ triggerOpenedClassName: _index2["default"].Collapsible__trigger,
+ triggerClassName: _index2["default"].Collapsible__trigger
+ },
+ feed.loaded === false ? LOADING : feed.error ? ERROR : list.length === 0 ? EMPTY : this.renderFeed(list, true)
+ ),
+ _react2["default"].createElement(
+ _reactCollapsible2["default"],
+ {
+ trigger: "Repos",
+ triggerTagName: "div",
+ transitionTime: 200,
+ open: reposOpen,
+ onOpen: this.toggleAll,
+ onClose: this.toggleAll,
+ triggerOpenedClassName: _index2["default"].Collapsible__trigger,
+ triggerClassName: _index2["default"].Collapsible__trigger
+ },
+ _react2["default"].createElement("input", {
+ type: "text",
+ placeholder: "Search \u2026",
+ onChange: this.handleFilter
+ }),
+ feed.loaded === false ? LOADING : feed.error ? ERROR : list.length === 0 ? EMPTY : filtered.length > 0 ? this.renderFeed(filtered.sort(_feed.compareFeedItem), false) : NO_MATCHES
+ )
+ );
+ };
- return Sidebar;
+ return Sidebar;
}(_react.Component)) || _class) || _class);
exports["default"] = Sidebar;
var LOGO = _react2["default"].createElement(
- "div",
- { className: _index2["default"].brand },
- _react2["default"].createElement(_logo2["default"], null),
- _react2["default"].createElement(
- "p",
- null,
- "Woodpecker",
- _react2["default"].createElement(
- "span",
- { style: "margin-left: 4px;" },
- window.DRONE_VERSION
- ),
- _react2["default"].createElement("br", null),
- _react2["default"].createElement(
- "span",
- null,
- _react2["default"].createElement(
- "a",
- {
- href: "https://github.com/laszlocph/woodpecker/blob/master/docs/usage/pipeline.md",
- target: "_blank",
- rel: "noopener noreferrer"
- },
- "Docs"
- )
- )
- )
+ "div",
+ { className: _index2["default"].brand },
+ _react2["default"].createElement(_logo2["default"], null),
+ _react2["default"].createElement(
+ "p",
+ null,
+ "Woodpecker",
+ _react2["default"].createElement(
+ "span",
+ { style: "margin-left: 4px;" },
+ window.DRONE_VERSION
+ ),
+ _react2["default"].createElement("br", null),
+ _react2["default"].createElement(
+ "span",
+ null,
+ _react2["default"].createElement(
+ "a",
+ {
+ href: "https://woodpecker.laszlo.cloud",
+ target: "_blank",
+ rel: "noopener noreferrer"
+ },
+ "Docs"
+ )
+ )
+ )
);
var LOADING = _react2["default"].createElement(
- "div",
- { className: _index2["default"].message },
- "Loading"
+ "div",
+ { className: _index2["default"].message },
+ "Loading"
);
var EMPTY = _react2["default"].createElement(
- "div",
- { className: _index2["default"].message },
- "Your build feed is empty"
+ "div",
+ { className: _index2["default"].message },
+ "Your build feed is empty"
);
var NO_MATCHES = _react2["default"].createElement(
- "div",
- { className: _index2["default"].message },
- "No results found"
+ "div",
+ { className: _index2["default"].message },
+ "No results found"
);
var ERROR = _react2["default"].createElement(
- "div",
- { className: _index2["default"].message },
- "Oops. It looks like there was a problem loading your feed"
+ "div",
+ { className: _index2["default"].message },
+ "Oops. It looks like there was a problem loading your feed"
);
/***/ }),
@@ -3887,31 +4046,31 @@ function _possibleConstructorReturn(self, call) { if (!self) { throw new Referen
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
var Logo = function (_Component) {
- _inherits(Logo, _Component);
+ _inherits(Logo, _Component);
- function Logo() {
- _classCallCheck(this, Logo);
+ function Logo() {
+ _classCallCheck(this, Logo);
- return _possibleConstructorReturn(this, _Component.apply(this, arguments));
- }
+ return _possibleConstructorReturn(this, _Component.apply(this, arguments));
+ }
- Logo.prototype.render = function render() {
- return _react2["default"].createElement(
- "svg",
- { viewBox: "0 0 50 62.5", preserveAspectRatio: "xMidYMid" },
- _react2["default"].createElement(
- "g",
- null,
- _react2["default"].createElement("path", {
- fillRule: "evenodd",
- clipRule: "evenodd",
- d: "M15.872,0.468c1.148,1.088,1.582,2.188,2.855,2.337l0.036,0.007c-0.588,0.606-1.089,1.402-1.443,2.423c-0.379,1.096-0.488,2.285-0.614,3.659c-0.189,2.046-0.401,4.364-1.556,7.269 c-2.486,6.258-1.119,11.631,0.332,17.317c0.664,2.604,1.348,5.297,1.642,8.107c0.035,0.355,0.287,0.652,0.633,0.744 c0.346,0.095,0.709-0.035,0.922-0.323c0.227-0.313,0.524-0.797,0.86-1.424c0.84,3.323,1.355,6.131,1.783,8.697 c0.126,0.73,1.048,0.973,1.517,0.41c2.881-3.463,3.763-8.636,2.184-12.674c0.459-2.433,1.402-4.45,2.398-6.583 c0.536-1.15,1.08-2.318,1.55-3.566c0.228-0.084,0.569-0.314,0.791-0.441l1.706-0.981l-0.256,1.052 c-0.112,0.461,0.171,0.929,0.635,1.04c0.457,0.118,0.93-0.173,1.043-0.632l0.68-2.858l1.285-2.95 c0.19-0.436-0.009-0.943-0.446-1.135c-0.44-0.189-0.947,0.01-1.135,0.448l-1.152,2.669l-2.383,1.372 c0.235-0.932,0.414-1.919,0.508-2.981c0.432-4.859-0.718-9.074-3.066-11.266c-0.163-0.157-0.208-0.281-0.247-0.26 c0.095-0.119,0.249-0.26,0.358-0.374c2.283-1.693,6.047-0.147,8.319,0.751c0.589,0.231,0.876-0.338,0.316-0.67 c-1.949-1.154-5.948-4.197-8.188-6.194c-0.313-0.275-0.527-0.607-0.89-0.913c-2.415-4.266-8.168-1.764-10.885-2.252 C15.862,0.275,15.798,0.396,15.872,0.468 M26.852,6.367c-0.059,1.242-0.603,1.8-0.999,2.208c-0.218,0.224-0.427,0.436-0.525,0.738 c-0.236,0.714,0.008,1.51,0.66,2.143c1.974,1.84,2.925,5.527,2.538,9.861c-0.291,3.287-1.448,5.762-2.671,8.384 c-1.031,2.207-2.096,4.489-2.577,7.259c-0.027,0.161-0.01,0.33,0.056,0.481c1.021,2.433,1.135,6.196-0.672,9.46 c-0.461-2.553-1.053-5.385-1.97-8.712c1.964-4.488,4.203-11.75,2.919-17.668c-0.325-1.497-1.304-3.276-2.387-4.207 c-0.208-0.179-0.402-0.237-0.495-0.167c-0.084,0.061-0.151,0.238-0.062,0.444c0.55,1.266,0.879,2.599,1.226,4.276 c1.125,5.443-0.956,12.49-2.835,16.782l-0.116,0.259l-0.457,0.982c-0.356-2.014-0.849-3.95-1.33-5.839 c-1.379-5.407-2.679-10.516-0.401-16.255c1.247-3.137,1.483-5.692,1.672-7.746c0.116-1.263,0.216-2.355,0.526-3.252 c0.905-2.605,3.062-3.178,4.744-2.852C25.328,3.262,26.936,4.539,26.852,6.367z M23.984,6.988c0.617,0.204,1.283-0.131,1.487-0.75 c0.202-0.617-0.134-1.283-0.751-1.487c-0.618-0.204-1.285,0.134-1.487,0.751C23.029,6.12,23.366,6.786,23.984,6.988z"
- })
- )
- );
- };
+ Logo.prototype.render = function render() {
+ return _react2["default"].createElement(
+ "svg",
+ { viewBox: "0 0 50 62.5", preserveAspectRatio: "xMidYMid" },
+ _react2["default"].createElement(
+ "g",
+ null,
+ _react2["default"].createElement("path", {
+ fillRule: "evenodd",
+ clipRule: "evenodd",
+ d: "M15.872,0.468c1.148,1.088,1.582,2.188,2.855,2.337l0.036,0.007c-0.588,0.606-1.089,1.402-1.443,2.423c-0.379,1.096-0.488,2.285-0.614,3.659c-0.189,2.046-0.401,4.364-1.556,7.269 c-2.486,6.258-1.119,11.631,0.332,17.317c0.664,2.604,1.348,5.297,1.642,8.107c0.035,0.355,0.287,0.652,0.633,0.744 c0.346,0.095,0.709-0.035,0.922-0.323c0.227-0.313,0.524-0.797,0.86-1.424c0.84,3.323,1.355,6.131,1.783,8.697 c0.126,0.73,1.048,0.973,1.517,0.41c2.881-3.463,3.763-8.636,2.184-12.674c0.459-2.433,1.402-4.45,2.398-6.583 c0.536-1.15,1.08-2.318,1.55-3.566c0.228-0.084,0.569-0.314,0.791-0.441l1.706-0.981l-0.256,1.052 c-0.112,0.461,0.171,0.929,0.635,1.04c0.457,0.118,0.93-0.173,1.043-0.632l0.68-2.858l1.285-2.95 c0.19-0.436-0.009-0.943-0.446-1.135c-0.44-0.189-0.947,0.01-1.135,0.448l-1.152,2.669l-2.383,1.372 c0.235-0.932,0.414-1.919,0.508-2.981c0.432-4.859-0.718-9.074-3.066-11.266c-0.163-0.157-0.208-0.281-0.247-0.26 c0.095-0.119,0.249-0.26,0.358-0.374c2.283-1.693,6.047-0.147,8.319,0.751c0.589,0.231,0.876-0.338,0.316-0.67 c-1.949-1.154-5.948-4.197-8.188-6.194c-0.313-0.275-0.527-0.607-0.89-0.913c-2.415-4.266-8.168-1.764-10.885-2.252 C15.862,0.275,15.798,0.396,15.872,0.468 M26.852,6.367c-0.059,1.242-0.603,1.8-0.999,2.208c-0.218,0.224-0.427,0.436-0.525,0.738 c-0.236,0.714,0.008,1.51,0.66,2.143c1.974,1.84,2.925,5.527,2.538,9.861c-0.291,3.287-1.448,5.762-2.671,8.384 c-1.031,2.207-2.096,4.489-2.577,7.259c-0.027,0.161-0.01,0.33,0.056,0.481c1.021,2.433,1.135,6.196-0.672,9.46 c-0.461-2.553-1.053-5.385-1.97-8.712c1.964-4.488,4.203-11.75,2.919-17.668c-0.325-1.497-1.304-3.276-2.387-4.207 c-0.208-0.179-0.402-0.237-0.495-0.167c-0.084,0.061-0.151,0.238-0.062,0.444c0.55,1.266,0.879,2.599,1.226,4.276 c1.125,5.443-0.956,12.49-2.835,16.782l-0.116,0.259l-0.457,0.982c-0.356-2.014-0.849-3.95-1.33-5.839 c-1.379-5.407-2.679-10.516-0.401-16.255c1.247-3.137,1.483-5.692,1.672-7.746c0.116-1.263,0.216-2.355,0.526-3.252 c0.905-2.605,3.062-3.178,4.744-2.852C25.328,3.262,26.936,4.539,26.852,6.367z M23.984,6.988c0.617,0.204,1.283-0.131,1.487-0.75 c0.202-0.617-0.134-1.283-0.751-1.487c-0.618-0.204-1.285,0.134-1.487,0.751C23.029,6.12,23.366,6.786,23.984,6.988z"
+ })
+ )
+ );
+ };
- return Logo;
+ return Logo;
}(_react.Component);
exports["default"] = Logo;
@@ -3968,74 +4127,74 @@ function _possibleConstructorReturn(self, call) { if (!self) { throw new Referen
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
var List = exports.List = function List(_ref) {
- var children = _ref.children;
- return _react2["default"].createElement(
- "div",
- { className: _list2["default"].list },
- children
- );
+ var children = _ref.children;
+ return _react2["default"].createElement(
+ "div",
+ { className: _list2["default"].list },
+ children
+ );
};
var Item = exports.Item = function (_Component) {
- _inherits(Item, _Component);
+ _inherits(Item, _Component);
- function Item(props) {
- _classCallCheck(this, Item);
+ function Item(props) {
+ _classCallCheck(this, Item);
- var _this = _possibleConstructorReturn(this, _Component.call(this, props));
+ var _this = _possibleConstructorReturn(this, _Component.call(this, props));
- _this.handleFave = _this.handleFave.bind(_this);
- return _this;
- }
+ _this.handleFave = _this.handleFave.bind(_this);
+ return _this;
+ }
- Item.prototype.handleFave = function handleFave(e) {
- e.preventDefault();
- this.props.onFave(this.props.item.full_name);
- };
+ Item.prototype.handleFave = function handleFave(e) {
+ e.preventDefault();
+ this.props.onFave(this.props.item.full_name);
+ };
- Item.prototype.render = function render() {
- var _props = this.props,
- item = _props.item,
- faved = _props.faved;
+ Item.prototype.render = function render() {
+ var _props = this.props,
+ item = _props.item,
+ faved = _props.faved;
- return _react2["default"].createElement(
- "div",
- { className: _list2["default"].item },
- _react2["default"].createElement(
- "div",
- { onClick: this.handleFave },
- _react2["default"].createElement(_index.StarIcon, { filled: faved, size: 16, className: _list2["default"].star })
- ),
- _react2["default"].createElement(
- "div",
- { className: _list2["default"].header },
- _react2["default"].createElement(
- "div",
- { className: _list2["default"].title },
- item.full_name
- ),
- _react2["default"].createElement(
- "div",
- { className: _list2["default"].icon },
- item.status ? _react2["default"].createElement(_status2["default"], { status: item.status }) : _react2["default"].createElement("noscript", null)
- )
- ),
- _react2["default"].createElement(
- "div",
- { className: _list2["default"].body },
- _react2["default"].createElement(_build_time2["default"], {
- start: item.started_at || item.created_at,
- finish: item.finished_at
- })
- )
- );
- };
+ return _react2["default"].createElement(
+ "div",
+ { className: _list2["default"].item },
+ _react2["default"].createElement(
+ "div",
+ { onClick: this.handleFave },
+ _react2["default"].createElement(_index.StarIcon, { filled: faved, size: 16, className: _list2["default"].star })
+ ),
+ _react2["default"].createElement(
+ "div",
+ { className: _list2["default"].header },
+ _react2["default"].createElement(
+ "div",
+ { className: _list2["default"].title },
+ item.full_name
+ ),
+ _react2["default"].createElement(
+ "div",
+ { className: _list2["default"].icon },
+ item.status ? _react2["default"].createElement(_status2["default"], { status: item.status }) : _react2["default"].createElement("noscript", null)
+ )
+ ),
+ _react2["default"].createElement(
+ "div",
+ { className: _list2["default"].body },
+ _react2["default"].createElement(_build_time2["default"], {
+ start: item.started_at || item.created_at,
+ finish: item.finished_at
+ })
+ )
+ );
+ };
- Item.prototype.shouldComponentUpdate = function shouldComponentUpdate(nextProps, nextState) {
- return this.props.item !== nextProps.item || this.props.faved !== nextProps.faved;
- };
+ Item.prototype.shouldComponentUpdate = function shouldComponentUpdate(nextProps, nextState) {
+ return this.props.item !== nextProps.item || this.props.faved !== nextProps.faved;
+ };
- return Item;
+ return Item;
}(_react.Component);
/***/ }),
@@ -4121,29 +4280,29 @@ function _possibleConstructorReturn(self, call) { if (!self) { throw new Referen
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
var BackIcon = function (_Component) {
- _inherits(BackIcon, _Component);
+ _inherits(BackIcon, _Component);
- function BackIcon() {
- _classCallCheck(this, BackIcon);
+ function BackIcon() {
+ _classCallCheck(this, BackIcon);
- return _possibleConstructorReturn(this, _Component.apply(this, arguments));
- }
+ return _possibleConstructorReturn(this, _Component.apply(this, arguments));
+ }
- BackIcon.prototype.render = function render() {
- return _react2["default"].createElement(
- "svg",
- {
- className: this.props.className,
- width: this.props.size || 24,
- height: this.props.size || 24,
- viewBox: "0 0 24 24"
- },
- _react2["default"].createElement("path", { d: "M0 0h24v24H0z", fill: "none" }),
- _react2["default"].createElement("path", { d: "M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z" })
- );
- };
+ BackIcon.prototype.render = function render() {
+ return _react2["default"].createElement(
+ "svg",
+ {
+ className: this.props.className,
+ width: this.props.size || 24,
+ height: this.props.size || 24,
+ viewBox: "0 0 24 24"
+ },
+ _react2["default"].createElement("path", { d: "M0 0h24v24H0z", fill: "none" }),
+ _react2["default"].createElement("path", { d: "M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z" })
+ );
+ };
- return BackIcon;
+ return BackIcon;
}(_react.Component);
exports["default"] = BackIcon;
@@ -4171,23 +4330,23 @@ function _possibleConstructorReturn(self, call) { if (!self) { throw new Referen
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
var BranchIcon = function (_Component) {
- _inherits(BranchIcon, _Component);
+ _inherits(BranchIcon, _Component);
- function BranchIcon() {
- _classCallCheck(this, BranchIcon);
+ function BranchIcon() {
+ _classCallCheck(this, BranchIcon);
- return _possibleConstructorReturn(this, _Component.apply(this, arguments));
- }
+ return _possibleConstructorReturn(this, _Component.apply(this, arguments));
+ }
- BranchIcon.prototype.render = function render() {
- return _react2["default"].createElement(
- "svg",
- { viewBox: "0 0 24 24" },
- _react2["default"].createElement("path", { d: "M6,2A3,3 0 0,1 9,5C9,6.28 8.19,7.38 7.06,7.81C7.15,8.27 7.39,8.83 8,9.63C9,10.92 11,12.83 12,14.17C13,12.83 15,10.92 16,9.63C16.61,8.83 16.85,8.27 16.94,7.81C15.81,7.38 15,6.28 15,5A3,3 0 0,1 18,2A3,3 0 0,1 21,5C21,6.32 20.14,7.45 18.95,7.85C18.87,8.37 18.64,9 18,9.83C17,11.17 15,13.08 14,14.38C13.39,15.17 13.15,15.73 13.06,16.19C14.19,16.62 15,17.72 15,19A3,3 0 0,1 12,22A3,3 0 0,1 9,19C9,17.72 9.81,16.62 10.94,16.19C10.85,15.73 10.61,15.17 10,14.38C9,13.08 7,11.17 6,9.83C5.36,9 5.13,8.37 5.05,7.85C3.86,7.45 3,6.32 3,5A3,3 0 0,1 6,2M6,4A1,1 0 0,0 5,5A1,1 0 0,0 6,6A1,1 0 0,0 7,5A1,1 0 0,0 6,4M18,4A1,1 0 0,0 17,5A1,1 0 0,0 18,6A1,1 0 0,0 19,5A1,1 0 0,0 18,4M12,18A1,1 0 0,0 11,19A1,1 0 0,0 12,20A1,1 0 0,0 13,19A1,1 0 0,0 12,18Z" })
- );
- };
+ BranchIcon.prototype.render = function render() {
+ return _react2["default"].createElement(
+ "svg",
+ { viewBox: "0 0 24 24" },
+ _react2["default"].createElement("path", { d: "M6,2A3,3 0 0,1 9,5C9,6.28 8.19,7.38 7.06,7.81C7.15,8.27 7.39,8.83 8,9.63C9,10.92 11,12.83 12,14.17C13,12.83 15,10.92 16,9.63C16.61,8.83 16.85,8.27 16.94,7.81C15.81,7.38 15,6.28 15,5A3,3 0 0,1 18,2A3,3 0 0,1 21,5C21,6.32 20.14,7.45 18.95,7.85C18.87,8.37 18.64,9 18,9.83C17,11.17 15,13.08 14,14.38C13.39,15.17 13.15,15.73 13.06,16.19C14.19,16.62 15,17.72 15,19A3,3 0 0,1 12,22A3,3 0 0,1 9,19C9,17.72 9.81,16.62 10.94,16.19C10.85,15.73 10.61,15.17 10,14.38C9,13.08 7,11.17 6,9.83C5.36,9 5.13,8.37 5.05,7.85C3.86,7.45 3,6.32 3,5A3,3 0 0,1 6,2M6,4A1,1 0 0,0 5,5A1,1 0 0,0 6,6A1,1 0 0,0 7,5A1,1 0 0,0 6,4M18,4A1,1 0 0,0 17,5A1,1 0 0,0 18,6A1,1 0 0,0 19,5A1,1 0 0,0 18,4M12,18A1,1 0 0,0 11,19A1,1 0 0,0 12,20A1,1 0 0,0 13,19A1,1 0 0,0 12,18Z" })
+ );
+ };
- return BranchIcon;
+ return BranchIcon;
}(_react.Component);
exports["default"] = BranchIcon;
@@ -4215,29 +4374,29 @@ function _possibleConstructorReturn(self, call) { if (!self) { throw new Referen
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
var CheckIcon = function (_Component) {
- _inherits(CheckIcon, _Component);
+ _inherits(CheckIcon, _Component);
- function CheckIcon() {
- _classCallCheck(this, CheckIcon);
+ function CheckIcon() {
+ _classCallCheck(this, CheckIcon);
- return _possibleConstructorReturn(this, _Component.apply(this, arguments));
- }
+ return _possibleConstructorReturn(this, _Component.apply(this, arguments));
+ }
- CheckIcon.prototype.render = function render() {
- return _react2["default"].createElement(
- "svg",
- {
- className: this.props.className,
- width: this.props.size || 24,
- height: this.props.size || 24,
- viewBox: "0 0 24 24"
- },
- _react2["default"].createElement("path", { d: "M0 0h24v24H0z", fill: "none" }),
- _react2["default"].createElement("path", { d: "M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z" })
- );
- };
+ CheckIcon.prototype.render = function render() {
+ return _react2["default"].createElement(
+ "svg",
+ {
+ className: this.props.className,
+ width: this.props.size || 24,
+ height: this.props.size || 24,
+ viewBox: "0 0 24 24"
+ },
+ _react2["default"].createElement("path", { d: "M0 0h24v24H0z", fill: "none" }),
+ _react2["default"].createElement("path", { d: "M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z" })
+ );
+ };
- return CheckIcon;
+ return CheckIcon;
}(_react.Component);
exports["default"] = CheckIcon;
@@ -4265,29 +4424,29 @@ function _possibleConstructorReturn(self, call) { if (!self) { throw new Referen
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
var ClockIcon = function (_Component) {
- _inherits(ClockIcon, _Component);
+ _inherits(ClockIcon, _Component);
- function ClockIcon() {
- _classCallCheck(this, ClockIcon);
+ function ClockIcon() {
+ _classCallCheck(this, ClockIcon);
- return _possibleConstructorReturn(this, _Component.apply(this, arguments));
- }
+ return _possibleConstructorReturn(this, _Component.apply(this, arguments));
+ }
- ClockIcon.prototype.render = function render() {
- return _react2["default"].createElement(
- "svg",
- {
- className: this.props.className,
- width: this.props.size || 24,
- height: this.props.size || 24,
- viewBox: "0 0 24 24"
- },
- _react2["default"].createElement("path", { d: "M0 0h24v24H0z", fill: "none" }),
- _react2["default"].createElement("path", { d: "M22 5.72l-4.6-3.86-1.29 1.53 4.6 3.86L22 5.72zM7.88 3.39L6.6 1.86 2 5.71l1.29 1.53 4.59-3.85zM12.5 8H11v6l4.75 2.85.75-1.23-4-2.37V8zM12 4c-4.97 0-9 4.03-9 9s4.02 9 9 9c4.97 0 9-4.03 9-9s-4.03-9-9-9zm0 16c-3.87 0-7-3.13-7-7s3.13-7 7-7 7 3.13 7 7-3.13 7-7 7z" })
- );
- };
+ ClockIcon.prototype.render = function render() {
+ return _react2["default"].createElement(
+ "svg",
+ {
+ className: this.props.className,
+ width: this.props.size || 24,
+ height: this.props.size || 24,
+ viewBox: "0 0 24 24"
+ },
+ _react2["default"].createElement("path", { d: "M0 0h24v24H0z", fill: "none" }),
+ _react2["default"].createElement("path", { d: "M22 5.72l-4.6-3.86-1.29 1.53 4.6 3.86L22 5.72zM7.88 3.39L6.6 1.86 2 5.71l1.29 1.53 4.59-3.85zM12.5 8H11v6l4.75 2.85.75-1.23-4-2.37V8zM12 4c-4.97 0-9 4.03-9 9s4.02 9 9 9c4.97 0 9-4.03 9-9s-4.03-9-9-9zm0 16c-3.87 0-7-3.13-7-7s3.13-7 7-7 7 3.13 7 7-3.13 7-7 7z" })
+ );
+ };
- return ClockIcon;
+ return ClockIcon;
}(_react.Component);
exports["default"] = ClockIcon;
@@ -4315,28 +4474,28 @@ function _possibleConstructorReturn(self, call) { if (!self) { throw new Referen
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
var CommitIcon = function (_Component) {
- _inherits(CommitIcon, _Component);
+ _inherits(CommitIcon, _Component);
- function CommitIcon() {
- _classCallCheck(this, CommitIcon);
+ function CommitIcon() {
+ _classCallCheck(this, CommitIcon);
- return _possibleConstructorReturn(this, _Component.apply(this, arguments));
- }
+ return _possibleConstructorReturn(this, _Component.apply(this, arguments));
+ }
- CommitIcon.prototype.render = function render() {
- return _react2["default"].createElement(
- "svg",
- {
- className: this.props.className,
- width: this.props.size || 24,
- height: this.props.size || 24,
- viewBox: "0 0 24 24"
- },
- _react2["default"].createElement("path", { d: "M17,12C17,14.42 15.28,16.44 13,16.9V21H11V16.9C8.72,16.44 7,14.42 7,12C7,9.58 8.72,7.56 11,7.1V3H13V7.1C15.28,7.56 17,9.58 17,12M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9Z" })
- );
- };
+ CommitIcon.prototype.render = function render() {
+ return _react2["default"].createElement(
+ "svg",
+ {
+ className: this.props.className,
+ width: this.props.size || 24,
+ height: this.props.size || 24,
+ viewBox: "0 0 24 24"
+ },
+ _react2["default"].createElement("path", { d: "M17,12C17,14.42 15.28,16.44 13,16.9V21H11V16.9C8.72,16.44 7,14.42 7,12C7,9.58 8.72,7.56 11,7.1V3H13V7.1C15.28,7.56 17,9.58 17,12M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9Z" })
+ );
+ };
- return CommitIcon;
+ return CommitIcon;
}(_react.Component);
exports["default"] = CommitIcon;
@@ -4364,23 +4523,23 @@ function _possibleConstructorReturn(self, call) { if (!self) { throw new Referen
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
var DeployIcon = function (_Component) {
- _inherits(DeployIcon, _Component);
+ _inherits(DeployIcon, _Component);
- function DeployIcon() {
- _classCallCheck(this, DeployIcon);
+ function DeployIcon() {
+ _classCallCheck(this, DeployIcon);
- return _possibleConstructorReturn(this, _Component.apply(this, arguments));
- }
+ return _possibleConstructorReturn(this, _Component.apply(this, arguments));
+ }
- DeployIcon.prototype.render = function render() {
- return _react2["default"].createElement(
- "svg",
- { className: this.props.className, viewBox: "0 0 24 24" },
- _react2["default"].createElement("path", { d: "M19,18H6A4,4 0 0,1 2,14A4,4 0 0,1 6,10H6.71C7.37,7.69 9.5,6 12,6A5.5,5.5 0 0,1 17.5,11.5V12H19A3,3 0 0,1 22,15A3,3 0 0,1 19,18M19.35,10.03C18.67,6.59 15.64,4 12,4C9.11,4 6.6,5.64 5.35,8.03C2.34,8.36 0,10.9 0,14A6,6 0 0,0 6,20H19A5,5 0 0,0 24,15C24,12.36 21.95,10.22 19.35,10.03Z" })
- );
- };
+ DeployIcon.prototype.render = function render() {
+ return _react2["default"].createElement(
+ "svg",
+ { className: this.props.className, viewBox: "0 0 24 24" },
+ _react2["default"].createElement("path", { d: "M19,18H6A4,4 0 0,1 2,14A4,4 0 0,1 6,10H6.71C7.37,7.69 9.5,6 12,6A5.5,5.5 0 0,1 17.5,11.5V12H19A3,3 0 0,1 22,15A3,3 0 0,1 19,18M19.35,10.03C18.67,6.59 15.64,4 12,4C9.11,4 6.6,5.64 5.35,8.03C2.34,8.36 0,10.9 0,14A6,6 0 0,0 6,20H19A5,5 0 0,0 24,15C24,12.36 21.95,10.22 19.35,10.03Z" })
+ );
+ };
- return DeployIcon;
+ return DeployIcon;
}(_react.Component);
exports["default"] = DeployIcon;
@@ -4408,29 +4567,29 @@ function _possibleConstructorReturn(self, call) { if (!self) { throw new Referen
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
var ExpandIcon = function (_Component) {
- _inherits(ExpandIcon, _Component);
+ _inherits(ExpandIcon, _Component);
- function ExpandIcon() {
- _classCallCheck(this, ExpandIcon);
+ function ExpandIcon() {
+ _classCallCheck(this, ExpandIcon);
- return _possibleConstructorReturn(this, _Component.apply(this, arguments));
- }
+ return _possibleConstructorReturn(this, _Component.apply(this, arguments));
+ }
- ExpandIcon.prototype.render = function render() {
- return _react2["default"].createElement(
- "svg",
- {
- className: this.props.className,
- width: this.props.size || 24,
- height: this.props.size || 24,
- viewBox: "0 0 24 24"
- },
- _react2["default"].createElement("path", { d: "M7.41 7.84L12 12.42l4.59-4.58L18 9.25l-6 6-6-6z" }),
- _react2["default"].createElement("path", { d: "M0-.75h24v24H0z", fill: "none" })
- );
- };
+ ExpandIcon.prototype.render = function render() {
+ return _react2["default"].createElement(
+ "svg",
+ {
+ className: this.props.className,
+ width: this.props.size || 24,
+ height: this.props.size || 24,
+ viewBox: "0 0 24 24"
+ },
+ _react2["default"].createElement("path", { d: "M7.41 7.84L12 12.42l4.59-4.58L18 9.25l-6 6-6-6z" }),
+ _react2["default"].createElement("path", { d: "M0-.75h24v24H0z", fill: "none" })
+ );
+ };
- return ExpandIcon;
+ return ExpandIcon;
}(_react.Component);
exports["default"] = ExpandIcon;
@@ -4458,24 +4617,24 @@ function _possibleConstructorReturn(self, call) { if (!self) { throw new Referen
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
var LaunchIcon = function (_Component) {
- _inherits(LaunchIcon, _Component);
+ _inherits(LaunchIcon, _Component);
- function LaunchIcon() {
- _classCallCheck(this, LaunchIcon);
+ function LaunchIcon() {
+ _classCallCheck(this, LaunchIcon);
- return _possibleConstructorReturn(this, _Component.apply(this, arguments));
- }
+ return _possibleConstructorReturn(this, _Component.apply(this, arguments));
+ }
- LaunchIcon.prototype.render = function render() {
- return _react2["default"].createElement(
- "svg",
- { className: this.props.className, viewBox: "0 0 24 24" },
- _react2["default"].createElement("path", { d: "M0 0h24v24H0z", fill: "none" }),
- _react2["default"].createElement("path", { d: "M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z" })
- );
- };
+ LaunchIcon.prototype.render = function render() {
+ return _react2["default"].createElement(
+ "svg",
+ { className: this.props.className, viewBox: "0 0 24 24" },
+ _react2["default"].createElement("path", { d: "M0 0h24v24H0z", fill: "none" }),
+ _react2["default"].createElement("path", { d: "M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z" })
+ );
+ };
- return LaunchIcon;
+ return LaunchIcon;
}(_react.Component);
exports["default"] = LaunchIcon;
@@ -4503,29 +4662,29 @@ function _possibleConstructorReturn(self, call) { if (!self) { throw new Referen
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
var LinkIcon = function (_Component) {
- _inherits(LinkIcon, _Component);
+ _inherits(LinkIcon, _Component);
- function LinkIcon() {
- _classCallCheck(this, LinkIcon);
+ function LinkIcon() {
+ _classCallCheck(this, LinkIcon);
- return _possibleConstructorReturn(this, _Component.apply(this, arguments));
- }
+ return _possibleConstructorReturn(this, _Component.apply(this, arguments));
+ }
- LinkIcon.prototype.render = function render() {
- return _react2["default"].createElement(
- "svg",
- {
- className: this.props.className,
- width: this.props.size || 24,
- height: this.props.size || 24,
- viewBox: "0 0 24 24"
- },
- _react2["default"].createElement("path", { d: "M0 0h24v24H0z", fill: "none" }),
- _react2["default"].createElement("path", { d: "M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z" })
- );
- };
+ LinkIcon.prototype.render = function render() {
+ return _react2["default"].createElement(
+ "svg",
+ {
+ className: this.props.className,
+ width: this.props.size || 24,
+ height: this.props.size || 24,
+ viewBox: "0 0 24 24"
+ },
+ _react2["default"].createElement("path", { d: "M0 0h24v24H0z", fill: "none" }),
+ _react2["default"].createElement("path", { d: "M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z" })
+ );
+ };
- return LinkIcon;
+ return LinkIcon;
}(_react.Component);
exports["default"] = LinkIcon;
@@ -4553,23 +4712,23 @@ function _possibleConstructorReturn(self, call) { if (!self) { throw new Referen
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
var MergeIcon = function (_Component) {
- _inherits(MergeIcon, _Component);
+ _inherits(MergeIcon, _Component);
- function MergeIcon() {
- _classCallCheck(this, MergeIcon);
+ function MergeIcon() {
+ _classCallCheck(this, MergeIcon);
- return _possibleConstructorReturn(this, _Component.apply(this, arguments));
- }
+ return _possibleConstructorReturn(this, _Component.apply(this, arguments));
+ }
- MergeIcon.prototype.render = function render() {
- return _react2["default"].createElement(
- "svg",
- { className: this.props.className, viewBox: "0 0 24 24" },
- _react2["default"].createElement("path", { d: "M5.41,21L6.12,17H2.12L2.47,15H6.47L7.53,9H3.53L3.88,7H7.88L8.59,3H10.59L9.88,7H15.88L16.59,3H18.59L17.88,7H21.88L21.53,9H17.53L16.47,15H20.47L20.12,17H16.12L15.41,21H13.41L14.12,17H8.12L7.41,21H5.41M9.53,9L8.47,15H14.47L15.53,9H9.53Z" })
- );
- };
+ MergeIcon.prototype.render = function render() {
+ return _react2["default"].createElement(
+ "svg",
+ { className: this.props.className, viewBox: "0 0 24 24" },
+ _react2["default"].createElement("path", { d: "M5.41,21L6.12,17H2.12L2.47,15H6.47L7.53,9H3.53L3.88,7H7.88L8.59,3H10.59L9.88,7H15.88L16.59,3H18.59L17.88,7H21.88L21.53,9H17.53L16.47,15H20.47L20.12,17H16.12L15.41,21H13.41L14.12,17H8.12L7.41,21H5.41M9.53,9L8.47,15H14.47L15.53,9H9.53Z" })
+ );
+ };
- return MergeIcon;
+ return MergeIcon;
}(_react.Component);
//