diff --git a/icons/l-info.vugu b/icons/l-error-circle.vugu similarity index 94% rename from icons/l-info.vugu rename to icons/l-error-circle.vugu index 3bd2758..15a533d 100644 --- a/icons/l-info.vugu +++ b/icons/l-error-circle.vugu @@ -5,7 +5,7 @@ diff --git a/icons/l-info_vgen.go b/icons/l-error-circle_vgen.go similarity index 96% rename from icons/l-info_vgen.go rename to icons/l-error-circle_vgen.go index fb729fb..48a0b3e 100644 --- a/icons/l-info_vgen.go +++ b/icons/l-error-circle_vgen.go @@ -8,11 +8,11 @@ import "github.com/vugu/vjson" import "github.com/vugu/vugu" import js "github.com/vugu/vugu/js" -type LInfo struct { +type LErrorCircle struct { AttrMap vugu.AttrMap } -func (c *LInfo) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) { +func (c *LErrorCircle) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) { vgout = &vugu.BuildOut{} diff --git a/icons/l-globe.vugu b/icons/l-globe.vugu new file mode 100644 index 0000000..9e67726 --- /dev/null +++ b/icons/l-globe.vugu @@ -0,0 +1,10 @@ + + + + + + diff --git a/icons/l-globe_vgen.go b/icons/l-globe_vgen.go new file mode 100644 index 0000000..f6dbea6 --- /dev/null +++ b/icons/l-globe_vgen.go @@ -0,0 +1,46 @@ +package icons + +// Code generated by vugu via vugugen. Please regenerate instead of editing or add additional code in a separate file. DO NOT EDIT. + +import "fmt" +import "reflect" +import "github.com/vugu/vjson" +import "github.com/vugu/vugu" +import js "github.com/vugu/vugu/js" + +type LGlobe struct { + AttrMap vugu.AttrMap +} + +func (c *LGlobe) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) { + + vgout = &vugu.BuildOut{} + + var vgiterkey interface{} + _ = vgiterkey + var vgn *vugu.VGNode + vgn = &vugu.VGNode{Type: vugu.VGNodeType(3), Namespace: "svg", Data: "svg", Attr: []vugu.VGAttribute{vugu.VGAttribute{Namespace: "", Key: "viewBox", Val: "0 0 16 16"}}} + vgout.Out = append(vgout.Out, vgn) // root for output + vgn.AddAttrList(c.AttrMap) + { + vgparent := vgn + _ = vgparent + vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"} + vgparent.AppendChild(vgn) + vgn = &vugu.VGNode{Type: vugu.VGNodeType(3), Namespace: "svg", Data: "circle", Attr: []vugu.VGAttribute{vugu.VGAttribute{Namespace: "", Key: "class", Val: "d3c-icon-stroke"}, vugu.VGAttribute{Namespace: "", Key: "cx", Val: "7.5"}, vugu.VGAttribute{Namespace: "", Key: "cy", Val: "8.5"}, vugu.VGAttribute{Namespace: "", Key: "r", Val: "7"}, vugu.VGAttribute{Namespace: "", Key: "stroke", Val: "black"}, vugu.VGAttribute{Namespace: "", Key: "stroke-width", Val: "1"}, vugu.VGAttribute{Namespace: "", Key: "stroke-linejoin", Val: "round"}, vugu.VGAttribute{Namespace: "", Key: "stroke-linecap", Val: "round"}, vugu.VGAttribute{Namespace: "", Key: "fill", Val: "none"}}} + vgparent.AppendChild(vgn) + vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"} + vgparent.AppendChild(vgn) + vgn = &vugu.VGNode{Type: vugu.VGNodeType(3), Namespace: "svg", Data: "path", Attr: []vugu.VGAttribute{vugu.VGAttribute{Namespace: "", Key: "class", Val: "d3c-icon-stroke"}, vugu.VGAttribute{Namespace: "", Key: "d", Val: "M0.79 6.5l13.42 0m-13.42 4l13.42 0m-6.21 -8.98c3.5,3 3.5,10.96 0,13.96m-1.02 -13.96c-3.5,3 -3.5,10.96 0,13.96"}, vugu.VGAttribute{Namespace: "", Key: "stroke", Val: "black"}, vugu.VGAttribute{Namespace: "", Key: "stroke-width", Val: "1"}, vugu.VGAttribute{Namespace: "", Key: "stroke-linejoin", Val: "round"}, vugu.VGAttribute{Namespace: "", Key: "stroke-linecap", Val: "round"}, vugu.VGAttribute{Namespace: "", Key: "fill", Val: "none"}}} + vgparent.AppendChild(vgn) + vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n"} + vgparent.AppendChild(vgn) + } + return vgout +} + +// 'fix' unused imports +var _ fmt.Stringer +var _ reflect.Type +var _ vjson.RawMessage +var _ js.Value diff --git a/icons/l-notice.vugu b/icons/l-info-circle.vugu similarity index 95% rename from icons/l-notice.vugu rename to icons/l-info-circle.vugu index 5f2c9a2..5dfb0eb 100644 --- a/icons/l-notice.vugu +++ b/icons/l-info-circle.vugu @@ -5,7 +5,7 @@ diff --git a/icons/l-notice_vgen.go b/icons/l-info-circle_vgen.go similarity index 96% rename from icons/l-notice_vgen.go rename to icons/l-info-circle_vgen.go index 1c910c9..d0e0bf9 100644 --- a/icons/l-notice_vgen.go +++ b/icons/l-info-circle_vgen.go @@ -8,11 +8,11 @@ import "github.com/vugu/vjson" import "github.com/vugu/vugu" import js "github.com/vugu/vugu/js" -type LNotice struct { +type LInfoCircle struct { AttrMap vugu.AttrMap } -func (c *LNotice) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) { +func (c *LInfoCircle) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) { vgout = &vugu.BuildOut{} diff --git a/icons/l-lock.vugu b/icons/l-lock-closed.vugu similarity index 94% rename from icons/l-lock.vugu rename to icons/l-lock-closed.vugu index dfe1a5b..99ed9e0 100644 --- a/icons/l-lock.vugu +++ b/icons/l-lock-closed.vugu @@ -3,7 +3,7 @@ diff --git a/icons/l-lock_vgen.go b/icons/l-lock-closed_vgen.go similarity index 94% rename from icons/l-lock_vgen.go rename to icons/l-lock-closed_vgen.go index 045edaa..49c8d6e 100644 --- a/icons/l-lock_vgen.go +++ b/icons/l-lock-closed_vgen.go @@ -8,11 +8,11 @@ import "github.com/vugu/vjson" import "github.com/vugu/vugu" import js "github.com/vugu/vugu/js" -type LLock struct { +type LLockClosed struct { AttrMap vugu.AttrMap } -func (c *LLock) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) { +func (c *LLockClosed) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) { vgout = &vugu.BuildOut{} diff --git a/icons/l-unlock.vugu b/icons/l-lock-opened.vugu similarity index 94% rename from icons/l-unlock.vugu rename to icons/l-lock-opened.vugu index c4e3958..2d5a5e4 100644 --- a/icons/l-unlock.vugu +++ b/icons/l-lock-opened.vugu @@ -3,7 +3,7 @@ diff --git a/icons/l-unlock_vgen.go b/icons/l-lock-opened_vgen.go similarity index 94% rename from icons/l-unlock_vgen.go rename to icons/l-lock-opened_vgen.go index d2c6c02..a940e3c 100644 --- a/icons/l-unlock_vgen.go +++ b/icons/l-lock-opened_vgen.go @@ -8,11 +8,11 @@ import "github.com/vugu/vjson" import "github.com/vugu/vugu" import js "github.com/vugu/vugu/js" -type LUnlock struct { +type LLockOpened struct { AttrMap vugu.AttrMap } -func (c *LUnlock) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) { +func (c *LLockOpened) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) { vgout = &vugu.BuildOut{} diff --git a/icons/l-mail-opened.vugu b/icons/l-mail-opened.vugu new file mode 100644 index 0000000..ba1f897 --- /dev/null +++ b/icons/l-mail-opened.vugu @@ -0,0 +1,9 @@ + + + + + diff --git a/icons/l-mail-opened_vgen.go b/icons/l-mail-opened_vgen.go new file mode 100644 index 0000000..5850b01 --- /dev/null +++ b/icons/l-mail-opened_vgen.go @@ -0,0 +1,42 @@ +package icons + +// Code generated by vugu via vugugen. Please regenerate instead of editing or add additional code in a separate file. DO NOT EDIT. + +import "fmt" +import "reflect" +import "github.com/vugu/vjson" +import "github.com/vugu/vugu" +import js "github.com/vugu/vugu/js" + +type LMailOpened struct { + AttrMap vugu.AttrMap +} + +func (c *LMailOpened) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) { + + vgout = &vugu.BuildOut{} + + var vgiterkey interface{} + _ = vgiterkey + var vgn *vugu.VGNode + vgn = &vugu.VGNode{Type: vugu.VGNodeType(3), Namespace: "svg", Data: "svg", Attr: []vugu.VGAttribute{vugu.VGAttribute{Namespace: "", Key: "viewBox", Val: "0 0 16 16"}}} + vgout.Out = append(vgout.Out, vgn) // root for output + vgn.AddAttrList(c.AttrMap) + { + vgparent := vgn + _ = vgparent + vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"} + vgparent.AppendChild(vgn) + vgn = &vugu.VGNode{Type: vugu.VGNodeType(3), Namespace: "svg", Data: "path", Attr: []vugu.VGAttribute{vugu.VGAttribute{Namespace: "", Key: "class", Val: "d3c-icon-stroke"}, vugu.VGAttribute{Namespace: "", Key: "d", Val: "M0.5 6.5l3 2 9 0 3 -2m0 -1l-6.21 -3.73c-0.81,-0.49 -1.76,-0.49 -2.57,0l-6.21 3.73 0 9 15 0 0 -9z"}, vugu.VGAttribute{Namespace: "", Key: "stroke", Val: "black"}, vugu.VGAttribute{Namespace: "", Key: "stroke-width", Val: "1"}, vugu.VGAttribute{Namespace: "", Key: "stroke-linejoin", Val: "round"}, vugu.VGAttribute{Namespace: "", Key: "stroke-linecap", Val: "round"}, vugu.VGAttribute{Namespace: "", Key: "fill", Val: "none"}}} + vgparent.AppendChild(vgn) + vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n"} + vgparent.AppendChild(vgn) + } + return vgout +} + +// 'fix' unused imports +var _ fmt.Stringer +var _ reflect.Type +var _ vjson.RawMessage +var _ js.Value diff --git a/icons/l-mail.vugu b/icons/l-mail.vugu new file mode 100644 index 0000000..3052eae --- /dev/null +++ b/icons/l-mail.vugu @@ -0,0 +1,9 @@ + + + + + diff --git a/icons/l-mail_vgen.go b/icons/l-mail_vgen.go new file mode 100644 index 0000000..5303049 --- /dev/null +++ b/icons/l-mail_vgen.go @@ -0,0 +1,42 @@ +package icons + +// Code generated by vugu via vugugen. Please regenerate instead of editing or add additional code in a separate file. DO NOT EDIT. + +import "fmt" +import "reflect" +import "github.com/vugu/vjson" +import "github.com/vugu/vugu" +import js "github.com/vugu/vugu/js" + +type LMail struct { + AttrMap vugu.AttrMap +} + +func (c *LMail) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) { + + vgout = &vugu.BuildOut{} + + var vgiterkey interface{} + _ = vgiterkey + var vgn *vugu.VGNode + vgn = &vugu.VGNode{Type: vugu.VGNodeType(3), Namespace: "svg", Data: "svg", Attr: []vugu.VGAttribute{vugu.VGAttribute{Namespace: "", Key: "viewBox", Val: "0 0 16 16"}}} + vgout.Out = append(vgout.Out, vgn) // root for output + vgn.AddAttrList(c.AttrMap) + { + vgparent := vgn + _ = vgparent + vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"} + vgparent.AppendChild(vgn) + vgn = &vugu.VGNode{Type: vugu.VGNodeType(3), Namespace: "svg", Data: "path", Attr: []vugu.VGAttribute{vugu.VGAttribute{Namespace: "", Key: "class", Val: "d3c-icon-stroke"}, vugu.VGAttribute{Namespace: "", Key: "d", Val: "M0.5 4.5l6.21 3.73c0.81,0.49 1.76,0.49 2.57,0l6.21 -3.73m0 -1l-15 0 0 10 15 0 0 -10z"}, vugu.VGAttribute{Namespace: "", Key: "stroke", Val: "black"}, vugu.VGAttribute{Namespace: "", Key: "stroke-width", Val: "1"}, vugu.VGAttribute{Namespace: "", Key: "stroke-linejoin", Val: "round"}, vugu.VGAttribute{Namespace: "", Key: "stroke-linecap", Val: "round"}, vugu.VGAttribute{Namespace: "", Key: "fill", Val: "none"}}} + vgparent.AppendChild(vgn) + vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n"} + vgparent.AppendChild(vgn) + } + return vgout +} + +// 'fix' unused imports +var _ fmt.Stringer +var _ reflect.Type +var _ vjson.RawMessage +var _ js.Value diff --git a/icons/l-pause.vugu b/icons/l-pause.vugu index d35a8c6..37996e0 100644 --- a/icons/l-pause.vugu +++ b/icons/l-pause.vugu @@ -1,5 +1,5 @@ - +