Compare commits
No commits in common. "11199f5e0d1e4ff646aea08a4b38f335b1fa0ff4" and "159bce4f12b87573f5bd6c20287b22e01a05beda" have entirely different histories.
11199f5e0d
...
159bce4f12
1
.vscode/settings.json
vendored
1
.vscode/settings.json
vendored
@ -1,7 +1,6 @@
|
|||||||
{
|
{
|
||||||
"cSpell.words": [
|
"cSpell.words": [
|
||||||
"Dadido",
|
"Dadido",
|
||||||
"datetime",
|
|
||||||
"domrender",
|
"domrender",
|
||||||
"Fullscreen",
|
"Fullscreen",
|
||||||
"ldflags",
|
"ldflags",
|
||||||
|
@ -39,7 +39,6 @@
|
|||||||
<icons:LHourglass></icons:LHourglass>
|
<icons:LHourglass></icons:LHourglass>
|
||||||
<icons:LInfoCircle></icons:LInfoCircle>
|
<icons:LInfoCircle></icons:LInfoCircle>
|
||||||
<icons:LInputField></icons:LInputField>
|
<icons:LInputField></icons:LInputField>
|
||||||
<icons:LKey></icons:LKey>
|
|
||||||
<icons:LLoadingCircle></icons:LLoadingCircle>
|
<icons:LLoadingCircle></icons:LLoadingCircle>
|
||||||
<icons:LLockClosed></icons:LLockClosed>
|
<icons:LLockClosed></icons:LLockClosed>
|
||||||
<icons:LLockDisabled></icons:LLockDisabled>
|
<icons:LLockDisabled></icons:LLockDisabled>
|
||||||
@ -49,15 +48,10 @@
|
|||||||
<icons:LMailOpened></icons:LMailOpened>
|
<icons:LMailOpened></icons:LMailOpened>
|
||||||
<icons:LMinus></icons:LMinus>
|
<icons:LMinus></icons:LMinus>
|
||||||
<icons:LMore></icons:LMore>
|
<icons:LMore></icons:LMore>
|
||||||
<icons:LParcelClosed></icons:LParcelClosed>
|
|
||||||
<icons:LParcelInsert></icons:LParcelInsert>
|
|
||||||
<icons:LParcelOpened></icons:LParcelOpened>
|
|
||||||
<icons:LParcelTakeOut></icons:LParcelTakeOut>
|
|
||||||
<icons:LPaste></icons:LPaste>
|
<icons:LPaste></icons:LPaste>
|
||||||
<icons:LPause></icons:LPause>
|
<icons:LPause></icons:LPause>
|
||||||
<icons:LPlus></icons:LPlus>
|
<icons:LPlus></icons:LPlus>
|
||||||
<icons:LPowerButton></icons:LPowerButton>
|
<icons:LPowerButton></icons:LPowerButton>
|
||||||
<icons:LPrinter></icons:LPrinter>
|
|
||||||
<icons:LQuestionMark></icons:LQuestionMark>
|
<icons:LQuestionMark></icons:LQuestionMark>
|
||||||
<icons:LRedo></icons:LRedo>
|
<icons:LRedo></icons:LRedo>
|
||||||
<icons:LReload></icons:LReload>
|
<icons:LReload></icons:LReload>
|
||||||
|
@ -33,7 +33,7 @@ func (c *ComponentIcons) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0x80CC1B9900ABE9F5^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0x8FF424DB2F0C46BB^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LAccept)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LAccept)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -49,7 +49,7 @@ func (c *ComponentIcons) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0xBA9F23D0D264AF93^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0x90C516ACB6DDA61C^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LArrowDown)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LArrowDown)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -65,7 +65,7 @@ func (c *ComponentIcons) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0xCD0E0ED629310F0^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0x14F78FBDFB9042ED^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LArrowLeft)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LArrowLeft)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -81,7 +81,7 @@ func (c *ComponentIcons) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0x603F9C906AA8A01^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0xD88841CE73703CAB^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LArrowRight)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LArrowRight)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -97,7 +97,7 @@ func (c *ComponentIcons) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0x9FA0A52C1E7AC883^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0x49FDD62998AECCEA^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LArrowUp)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LArrowUp)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -113,7 +113,7 @@ func (c *ComponentIcons) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0x45662F0E61A5875^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0x6AF110954C9792B7^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LBackToWindow)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LBackToWindow)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -129,7 +129,7 @@ func (c *ComponentIcons) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0x8A16FD31A79A7D9C^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0xBB3FC9736B82DECC^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LBell)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LBell)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -145,7 +145,7 @@ func (c *ComponentIcons) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0x98F529D3A406EEB0^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0x6FCCD211B8FD4994^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LBellDisabled)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LBellDisabled)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -161,7 +161,7 @@ func (c *ComponentIcons) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0x510C5234E1289500^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0x44094042F62DFBBF^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LCancel)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LCancel)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -177,7 +177,7 @@ func (c *ComponentIcons) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0x3CD44FA97105491B^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0xB35F3B4173A610AD^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LChevronDown)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LChevronDown)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -193,7 +193,7 @@ func (c *ComponentIcons) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0xBC8A3D0C07384A94^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0xEB1AA557C5EAD3BD^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LChevronLeft)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LChevronLeft)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -209,7 +209,7 @@ func (c *ComponentIcons) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0x74C795C142CF3D37^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0x8B2122DD323E5241^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LChevronRight)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LChevronRight)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -225,7 +225,7 @@ func (c *ComponentIcons) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0x19949A80E6DCC7A^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0x47A735533A03E2E3^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LChevronUp)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LChevronUp)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -241,7 +241,7 @@ func (c *ComponentIcons) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0x6543BBFCA904282B^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0x2D598D184D024ECF^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LCircleMinus)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LCircleMinus)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -257,7 +257,7 @@ func (c *ComponentIcons) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0x5D4B19FE6919225F^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0x5D88A3DCB2029449^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LCirclePlus)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LCirclePlus)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -273,7 +273,7 @@ func (c *ComponentIcons) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0x95E069556F4696C8^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0x157DB4B0F920B503^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LClock)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LClock)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -289,7 +289,7 @@ func (c *ComponentIcons) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0xD460BCEEBF0960F3^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0x1F09739880E5907E^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LCodeTags)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LCodeTags)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -305,7 +305,7 @@ func (c *ComponentIcons) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0x7BD66CE0C36BD9B7^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0x339407D3033946B7^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LCodeTagsClosing)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LCodeTagsClosing)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -321,7 +321,7 @@ func (c *ComponentIcons) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0xA924C1D0029E0520^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0x40BABB6C62D8FFE9^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LCopy)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LCopy)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -337,7 +337,7 @@ func (c *ComponentIcons) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0xE12AED2205EEE039^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0x4BA3E2C443FEAAE8^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LCustomize)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LCustomize)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -353,7 +353,7 @@ func (c *ComponentIcons) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0x4743D79C2A013663^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0x2734B5814EBEC4B^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LCut)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LCut)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -369,7 +369,7 @@ func (c *ComponentIcons) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0x7316442260BF2457^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0x323735CEBB1D8C87^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LDelete)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LDelete)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -385,7 +385,7 @@ func (c *ComponentIcons) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0xFA246C802A0901A5^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0x99F56FD4CBC44761^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LDeliver)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LDeliver)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -401,7 +401,7 @@ func (c *ComponentIcons) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0x7E9F8C56CF785A81^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0x5060D65AD778681^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LDocument)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LDocument)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -417,7 +417,7 @@ func (c *ComponentIcons) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0x3B4CED8E883C6687^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0x56185F683428594E^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LDocumentBulletList)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LDocumentBulletList)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -433,7 +433,7 @@ func (c *ComponentIcons) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0xE0AC4DA0656C7E34^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0x312BD48EBA3FB99F^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LDocumentCheckboxes)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LDocumentCheckboxes)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -449,7 +449,7 @@ func (c *ComponentIcons) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0x1F0B5AA0F9ADC813^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0x611EE6CEBD7A60BA^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LDocumentRichText)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LDocumentRichText)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -465,7 +465,7 @@ func (c *ComponentIcons) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0x92608E43FF185736^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0x830C0AB93D6D2B06^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LDocumentText)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LDocumentText)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -481,7 +481,7 @@ func (c *ComponentIcons) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0xC5682704CBA38B6^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0x5E5C2113873B6B2B^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LDownload)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LDownload)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -497,7 +497,7 @@ func (c *ComponentIcons) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0x7E002F433C3CA25E^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0x49615A9CBA530872^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LEdit)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LEdit)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -513,7 +513,7 @@ func (c *ComponentIcons) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0xA9CFBFE09CADF4E4^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0xE771045A415684BE^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LEllipsis)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LEllipsis)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -529,7 +529,7 @@ func (c *ComponentIcons) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0xED6BDEB9DA69E9E3^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0xEBFEF2B4A44E61A6^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LFilter)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LFilter)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -545,7 +545,7 @@ func (c *ComponentIcons) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0x427B681AB72D9383^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0x7CE7AFBE4A60D728^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LFullScreen)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LFullScreen)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -561,7 +561,7 @@ func (c *ComponentIcons) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0xCABEDCC84ECE6BBE^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0xAFF84AF5C6E3F7FE^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LGlobalNav)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LGlobalNav)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -577,7 +577,7 @@ func (c *ComponentIcons) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0xD79CD9F636CEFF90^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0xE908D2D2F5D2F11^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LGlobe)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LGlobe)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -593,7 +593,7 @@ func (c *ComponentIcons) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0x52608509479EDC30^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0x7E67B4B909B7B963^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LGroup)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LGroup)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -609,7 +609,7 @@ func (c *ComponentIcons) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0xF2981D554E008733^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0x9324D76724730F52^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LHome)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LHome)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -625,7 +625,7 @@ func (c *ComponentIcons) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0x96C2703EE6F547DF^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0x374908F1B9AC9D25^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LHourglass)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LHourglass)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -641,7 +641,7 @@ func (c *ComponentIcons) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0xEA30845BE6112438^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0xA4576154163D7980^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LInfoCircle)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LInfoCircle)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -657,7 +657,7 @@ func (c *ComponentIcons) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0x8BBA2D5AA113A2F0^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0x4BA902BD83CD8272^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LInputField)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LInputField)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -673,23 +673,7 @@ func (c *ComponentIcons) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0x8D280FD39B85BC9^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0xEB635C7119FCEEB9^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LKey)
|
|
||||||
if vgcomp == nil {
|
|
||||||
// create new one if needed
|
|
||||||
vgcomp = new(icons.LKey)
|
|
||||||
vgin.BuildEnv.WireComponent(vgcomp)
|
|
||||||
}
|
|
||||||
vgin.BuildEnv.UseComponent(vgcompKey, vgcomp) // ensure we can use this in the cache next time around
|
|
||||||
vgout.Components = append(vgout.Components, vgcomp)
|
|
||||||
vgn = &vugu.VGNode{Component: vgcomp}
|
|
||||||
vgparent.AppendChild(vgn)
|
|
||||||
}
|
|
||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
|
||||||
vgparent.AppendChild(vgn)
|
|
||||||
{
|
|
||||||
vgcompKey := vugu.MakeCompKey(0x565D20EBDF01A5B1^vgin.CurrentPositionHash(), vgiterkey)
|
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LLoadingCircle)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LLoadingCircle)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -705,7 +689,7 @@ func (c *ComponentIcons) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0x940FF330353C4E07^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0x36CF2E05FB6C1465^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LLockClosed)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LLockClosed)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -721,7 +705,7 @@ func (c *ComponentIcons) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0xF859D9A9FB7EA4A2^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0xD85DE4CF9513E955^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LLockDisabled)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LLockDisabled)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -737,7 +721,7 @@ func (c *ComponentIcons) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0xC13544A5E0F7F290^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0x8AC09F046553A095^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LLockOpened)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LLockOpened)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -753,7 +737,7 @@ func (c *ComponentIcons) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0x5E5C2343A6D2A462^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0x4C68CBE1F611B29D^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LLogout)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LLogout)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -769,7 +753,7 @@ func (c *ComponentIcons) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0x2553B7742EEFDA1C^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0xB567120E91CE80AD^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LMail)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LMail)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -785,7 +769,7 @@ func (c *ComponentIcons) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0x98FF6B4EF004BDFB^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0xEF1AB3367C23E0E8^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LMailOpened)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LMailOpened)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -801,7 +785,7 @@ func (c *ComponentIcons) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0xE08DF559A4746FC6^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0xE32AFEB83F4384CC^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LMinus)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LMinus)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -817,7 +801,7 @@ func (c *ComponentIcons) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0x84E5FC5F24462CB5^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0xD26F8A6C7F668739^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LMore)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LMore)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -833,71 +817,7 @@ func (c *ComponentIcons) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0xE92A208A667D5952^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0x75E36D429904EE4C^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LParcelClosed)
|
|
||||||
if vgcomp == nil {
|
|
||||||
// create new one if needed
|
|
||||||
vgcomp = new(icons.LParcelClosed)
|
|
||||||
vgin.BuildEnv.WireComponent(vgcomp)
|
|
||||||
}
|
|
||||||
vgin.BuildEnv.UseComponent(vgcompKey, vgcomp) // ensure we can use this in the cache next time around
|
|
||||||
vgout.Components = append(vgout.Components, vgcomp)
|
|
||||||
vgn = &vugu.VGNode{Component: vgcomp}
|
|
||||||
vgparent.AppendChild(vgn)
|
|
||||||
}
|
|
||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
|
||||||
vgparent.AppendChild(vgn)
|
|
||||||
{
|
|
||||||
vgcompKey := vugu.MakeCompKey(0xDE858A1C37D06B59^vgin.CurrentPositionHash(), vgiterkey)
|
|
||||||
// ask BuildEnv for prior instance of this specific component
|
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LParcelInsert)
|
|
||||||
if vgcomp == nil {
|
|
||||||
// create new one if needed
|
|
||||||
vgcomp = new(icons.LParcelInsert)
|
|
||||||
vgin.BuildEnv.WireComponent(vgcomp)
|
|
||||||
}
|
|
||||||
vgin.BuildEnv.UseComponent(vgcompKey, vgcomp) // ensure we can use this in the cache next time around
|
|
||||||
vgout.Components = append(vgout.Components, vgcomp)
|
|
||||||
vgn = &vugu.VGNode{Component: vgcomp}
|
|
||||||
vgparent.AppendChild(vgn)
|
|
||||||
}
|
|
||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
|
||||||
vgparent.AppendChild(vgn)
|
|
||||||
{
|
|
||||||
vgcompKey := vugu.MakeCompKey(0x8C6454016F3E3E6C^vgin.CurrentPositionHash(), vgiterkey)
|
|
||||||
// ask BuildEnv for prior instance of this specific component
|
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LParcelOpened)
|
|
||||||
if vgcomp == nil {
|
|
||||||
// create new one if needed
|
|
||||||
vgcomp = new(icons.LParcelOpened)
|
|
||||||
vgin.BuildEnv.WireComponent(vgcomp)
|
|
||||||
}
|
|
||||||
vgin.BuildEnv.UseComponent(vgcompKey, vgcomp) // ensure we can use this in the cache next time around
|
|
||||||
vgout.Components = append(vgout.Components, vgcomp)
|
|
||||||
vgn = &vugu.VGNode{Component: vgcomp}
|
|
||||||
vgparent.AppendChild(vgn)
|
|
||||||
}
|
|
||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
|
||||||
vgparent.AppendChild(vgn)
|
|
||||||
{
|
|
||||||
vgcompKey := vugu.MakeCompKey(0xC23F6E239E30E993^vgin.CurrentPositionHash(), vgiterkey)
|
|
||||||
// ask BuildEnv for prior instance of this specific component
|
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LParcelTakeOut)
|
|
||||||
if vgcomp == nil {
|
|
||||||
// create new one if needed
|
|
||||||
vgcomp = new(icons.LParcelTakeOut)
|
|
||||||
vgin.BuildEnv.WireComponent(vgcomp)
|
|
||||||
}
|
|
||||||
vgin.BuildEnv.UseComponent(vgcompKey, vgcomp) // ensure we can use this in the cache next time around
|
|
||||||
vgout.Components = append(vgout.Components, vgcomp)
|
|
||||||
vgn = &vugu.VGNode{Component: vgcomp}
|
|
||||||
vgparent.AppendChild(vgn)
|
|
||||||
}
|
|
||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
|
||||||
vgparent.AppendChild(vgn)
|
|
||||||
{
|
|
||||||
vgcompKey := vugu.MakeCompKey(0x133CB2E14854EF2B^vgin.CurrentPositionHash(), vgiterkey)
|
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LPaste)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LPaste)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -913,7 +833,7 @@ func (c *ComponentIcons) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0xEAD2C7AF86D02673^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0xFE5814064690368F^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LPause)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LPause)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -929,7 +849,7 @@ func (c *ComponentIcons) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0x1BE54899E5AAF196^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0xF8A4812D85FF1168^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LPlus)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LPlus)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -945,7 +865,7 @@ func (c *ComponentIcons) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0xB59FBD037345BFAD^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0xEA789921DB2238A2^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LPowerButton)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LPowerButton)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -961,23 +881,7 @@ func (c *ComponentIcons) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0x310576BD147961F^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0x922DB6F54818295A^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LPrinter)
|
|
||||||
if vgcomp == nil {
|
|
||||||
// create new one if needed
|
|
||||||
vgcomp = new(icons.LPrinter)
|
|
||||||
vgin.BuildEnv.WireComponent(vgcomp)
|
|
||||||
}
|
|
||||||
vgin.BuildEnv.UseComponent(vgcompKey, vgcomp) // ensure we can use this in the cache next time around
|
|
||||||
vgout.Components = append(vgout.Components, vgcomp)
|
|
||||||
vgn = &vugu.VGNode{Component: vgcomp}
|
|
||||||
vgparent.AppendChild(vgn)
|
|
||||||
}
|
|
||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
|
||||||
vgparent.AppendChild(vgn)
|
|
||||||
{
|
|
||||||
vgcompKey := vugu.MakeCompKey(0x26918460D62FC^vgin.CurrentPositionHash(), vgiterkey)
|
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LQuestionMark)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LQuestionMark)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -993,7 +897,7 @@ func (c *ComponentIcons) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0x6A819FB16CE64CFD^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0xEE04E0BE672227A^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LRedo)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LRedo)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -1009,7 +913,7 @@ func (c *ComponentIcons) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0x44BFB74CC9C308C8^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0x1833F05405BAE373^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LReload)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LReload)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -1025,7 +929,7 @@ func (c *ComponentIcons) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0xF2A4F6C01BCF3B3A^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0x9E83C15A6E6A4B3F^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LSave)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LSave)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -1041,7 +945,7 @@ func (c *ComponentIcons) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0x1EA2D972DDE4DDF0^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0x8DBD3D7C504C17C8^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LSearch)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LSearch)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -1057,7 +961,7 @@ func (c *ComponentIcons) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0xB0354CEA90D75E56^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0xFD914D59C0A94BCE^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LSettings)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LSettings)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -1073,7 +977,7 @@ func (c *ComponentIcons) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0x1B804C26C62C8305^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0xBB0F7EF0A139AD11^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LSort)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LSort)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -1089,7 +993,7 @@ func (c *ComponentIcons) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0xFA7DF366AE519AD2^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0x5E16F884676D7F22^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LStar)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LStar)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -1105,7 +1009,7 @@ func (c *ComponentIcons) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0xD84C599AF4554B2D^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0x8DB3F27A836B9865^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LStart)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LStart)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -1121,7 +1025,7 @@ func (c *ComponentIcons) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0x607FB79ABDF83915^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0xDC1BEAFB2DEA8E08^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LStop)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LStop)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -1137,7 +1041,7 @@ func (c *ComponentIcons) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0xBDAB09D48A196FED^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0x68F193DBDE9DD45E^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LStopWatch)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LStopWatch)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -1153,7 +1057,7 @@ func (c *ComponentIcons) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0xFB19B6AD1EC539C3^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0xF706125900B5A6E2^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LTodoList)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LTodoList)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -1169,7 +1073,7 @@ func (c *ComponentIcons) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0x6746C1F2B8353059^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0xFA4674A767E3EEDA^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LUndo)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LUndo)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -1185,7 +1089,7 @@ func (c *ComponentIcons) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0xC1290CD216114A70^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0xD4ABDA410D7ED874^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LUpload)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LUpload)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -1201,7 +1105,7 @@ func (c *ComponentIcons) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0xF527C879F1E67B10^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0xEB8D8E67B1B3DBC6^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LUser)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LUser)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -1217,7 +1121,7 @@ func (c *ComponentIcons) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0xB62495BE58931D95^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0x6BFBD028E075B399^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LWarehouse)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LWarehouse)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -1233,7 +1137,7 @@ func (c *ComponentIcons) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0xEBB7AB54026464A4^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0x495E4EA7748C9B98^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LWarning)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LWarning)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -1249,7 +1153,7 @@ func (c *ComponentIcons) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0xDA98E10FA4CD05EA^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0x46BF577C4FD050EA^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LWarningCircle)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LWarningCircle)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -1265,7 +1169,7 @@ func (c *ComponentIcons) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0x6ECB3748B4EA69CC^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0x97341A89797954F8^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LZoom)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LZoom)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -1281,7 +1185,7 @@ func (c *ComponentIcons) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0x94CC303A9922F1B7^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0x61EB9A9777AA8063^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LZoomIn)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LZoomIn)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -1297,7 +1201,7 @@ func (c *ComponentIcons) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0xB2F5807855782E9A^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0xEB26097D06C827AD^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LZoomOut)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LZoomOut)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
|
@ -1,27 +0,0 @@
|
|||||||
package input
|
|
||||||
|
|
||||||
import (
|
|
||||||
"github.com/vugu/vugu"
|
|
||||||
)
|
|
||||||
|
|
||||||
// CheckBox is a boolean type input component.
|
|
||||||
// Similar to a button that can be toggled.
|
|
||||||
type CheckBox struct {
|
|
||||||
AttrMap vugu.AttrMap
|
|
||||||
|
|
||||||
Bind *bool
|
|
||||||
}
|
|
||||||
|
|
||||||
func (c *CheckBox) isChecked() bool {
|
|
||||||
if c.Bind != nil {
|
|
||||||
return *c.Bind
|
|
||||||
}
|
|
||||||
|
|
||||||
return false
|
|
||||||
}
|
|
||||||
|
|
||||||
func (c *CheckBox) handleChange(event vugu.DOMEvent) {
|
|
||||||
if c.Bind != nil {
|
|
||||||
*c.Bind = event.PropBool("target", "checked")
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,14 +0,0 @@
|
|||||||
<input type="checkbox" .checked="c.isChecked()" vg-attr='utils.AttributesAppend{AttrMap: c.AttrMap, Classes: "d3c-1687533177"}' @click="c.handleChange(event)">
|
|
||||||
|
|
||||||
<style>
|
|
||||||
.d3c-1687533177 {
|
|
||||||
accent-color: var(--d3c-color-accent);
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<script type="application/x-go">
|
|
||||||
import (
|
|
||||||
//"git.d3nexus.de/Dadido3/D3vugu-components/icons"
|
|
||||||
"git.d3nexus.de/Dadido3/D3vugu-components/utils"
|
|
||||||
)
|
|
||||||
</script>
|
|
@ -1,50 +0,0 @@
|
|||||||
package input
|
|
||||||
|
|
||||||
// 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"
|
|
||||||
|
|
||||||
import (
|
|
||||||
//"git.d3nexus.de/Dadido3/D3vugu-components/icons"
|
|
||||||
"git.d3nexus.de/Dadido3/D3vugu-components/utils"
|
|
||||||
)
|
|
||||||
|
|
||||||
func (c *CheckBox) 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: "", Data: "input", Attr: []vugu.VGAttribute{vugu.VGAttribute{Namespace: "", Key: "type", Val: "checkbox"}}}
|
|
||||||
vgout.Out = append(vgout.Out, vgn) // root for output
|
|
||||||
vgn.AddAttrList(utils.AttributesAppend{AttrMap: c.AttrMap, Classes: "d3c-1687533177"})
|
|
||||||
{
|
|
||||||
b, err := vjson.Marshal(c.isChecked())
|
|
||||||
if err != nil {
|
|
||||||
panic(err)
|
|
||||||
}
|
|
||||||
vgn.Prop = append(vgn.Prop, vugu.VGProperty{Key: "checked", JSONVal: vjson.RawMessage(b)})
|
|
||||||
}
|
|
||||||
vgn.DOMEventHandlerSpecList = append(vgn.DOMEventHandlerSpecList, vugu.DOMEventHandlerSpec{
|
|
||||||
EventType: "click",
|
|
||||||
Func: func(event vugu.DOMEvent) { c.handleChange(event) },
|
|
||||||
// TODO: implement capture, etc. mostly need to decide syntax
|
|
||||||
})
|
|
||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(3), Data: "style", Attr: []vugu.VGAttribute(nil)}
|
|
||||||
{
|
|
||||||
vgn.AppendChild(&vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t.d3c-1687533177 {\n\t\taccent-color: var(--d3c-color-accent);\n\t}\n", Attr: []vugu.VGAttribute(nil)})
|
|
||||||
}
|
|
||||||
vgout.AppendCSS(vgn)
|
|
||||||
return vgout
|
|
||||||
}
|
|
||||||
|
|
||||||
// 'fix' unused imports
|
|
||||||
var _ fmt.Stringer
|
|
||||||
var _ reflect.Type
|
|
||||||
var _ vjson.RawMessage
|
|
||||||
var _ js.Value
|
|
@ -1,10 +1,8 @@
|
|||||||
package input
|
package input
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"encoding"
|
|
||||||
"fmt"
|
"fmt"
|
||||||
"strconv"
|
"strconv"
|
||||||
"time"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
// FieldBinder is an interface that everything that every type that wants to bind to an input field must implement.
|
// FieldBinder is an interface that everything that every type that wants to bind to an input field must implement.
|
||||||
@ -14,13 +12,11 @@ type FieldBinder interface {
|
|||||||
HTMLInputType() string // HTMLInputType returns the to be used type parameter for the HTML input element.
|
HTMLInputType() string // HTMLInputType returns the to be used type parameter for the HTML input element.
|
||||||
}
|
}
|
||||||
|
|
||||||
// FieldBindAny implements the FieldBinder interface for all basic types and the encoding.TextMarshaler, encoding.TextUnmarshaler interfaces.
|
// FieldBindAny implements the FieldBinder interface for all basic types.
|
||||||
type FieldBindAny struct{ Value any }
|
type FieldBindAny struct{ Value any }
|
||||||
|
|
||||||
func (f FieldBindAny) String() string {
|
func (f FieldBindAny) String() string {
|
||||||
switch v := f.Value.(type) {
|
switch v := f.Value.(type) {
|
||||||
case *bool:
|
|
||||||
return strconv.FormatBool(*v)
|
|
||||||
case *string:
|
case *string:
|
||||||
return *v
|
return *v
|
||||||
case *int:
|
case *int:
|
||||||
@ -47,11 +43,6 @@ func (f FieldBindAny) String() string {
|
|||||||
return strconv.FormatFloat(float64(*v), 'f', -1, 32) // TODO: Format number in current user's locale
|
return strconv.FormatFloat(float64(*v), 'f', -1, 32) // TODO: Format number in current user's locale
|
||||||
case *float64:
|
case *float64:
|
||||||
return strconv.FormatFloat(float64(*v), 'f', -1, 64)
|
return strconv.FormatFloat(float64(*v), 'f', -1, 64)
|
||||||
case *time.Time:
|
|
||||||
return v.Local().Format("2006-01-02T15:04")
|
|
||||||
case encoding.TextMarshaler:
|
|
||||||
data, _ := v.MarshalText() // Ignore any errors, as we can't handle them here.
|
|
||||||
return string(data)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return ""
|
return ""
|
||||||
@ -59,12 +50,6 @@ func (f FieldBindAny) String() string {
|
|||||||
|
|
||||||
func (f FieldBindAny) SetString(value string) error {
|
func (f FieldBindAny) SetString(value string) error {
|
||||||
switch v := f.Value.(type) {
|
switch v := f.Value.(type) {
|
||||||
case *bool:
|
|
||||||
val, err := strconv.ParseBool(value)
|
|
||||||
if err != nil {
|
|
||||||
return err
|
|
||||||
}
|
|
||||||
*v = val
|
|
||||||
case *string:
|
case *string:
|
||||||
*v = value
|
*v = value
|
||||||
case *int:
|
case *int:
|
||||||
@ -139,14 +124,6 @@ func (f FieldBindAny) SetString(value string) error {
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
*v = float64(val)
|
*v = float64(val)
|
||||||
case *time.Time:
|
|
||||||
val, err := time.ParseInLocation("2006-01-02T15:04", value, time.Local)
|
|
||||||
if err != nil {
|
|
||||||
return err
|
|
||||||
}
|
|
||||||
*v = val
|
|
||||||
case encoding.TextUnmarshaler:
|
|
||||||
return v.UnmarshalText([]byte(value))
|
|
||||||
default:
|
default:
|
||||||
return fmt.Errorf("bound type %T is not supported", f.Value)
|
return fmt.Errorf("bound type %T is not supported", f.Value)
|
||||||
}
|
}
|
||||||
@ -156,19 +133,37 @@ func (f FieldBindAny) SetString(value string) error {
|
|||||||
|
|
||||||
func (f FieldBindAny) HTMLInputType() string {
|
func (f FieldBindAny) HTMLInputType() string {
|
||||||
switch f.Value.(type) {
|
switch f.Value.(type) {
|
||||||
case *bool:
|
|
||||||
return "text" // We will render the boolean as text, as this is an input field, not a checkbox.
|
|
||||||
case *string:
|
case *string:
|
||||||
return "text"
|
return "text"
|
||||||
case *int, *int8, *int16, *int32, *int64, *uint, *uint8, *uint16, *uint32, *uint64:
|
case *int, *int8, *int16, *int32, *int64, *uint, *uint8, *uint16, *uint32, *uint64:
|
||||||
return "number"
|
return "number"
|
||||||
case *float32, *float64:
|
case *float32, *float64:
|
||||||
return "number"
|
return "number"
|
||||||
case *time.Time:
|
|
||||||
return "datetime-local"
|
|
||||||
case encoding.TextMarshaler, encoding.TextUnmarshaler:
|
|
||||||
return "text"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return "text"
|
return "text"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// FieldBindPassword implements the FieldBinder interface for strings.
|
||||||
|
type FieldBindPassword struct{ Value *string }
|
||||||
|
|
||||||
|
func (f FieldBindPassword) String() string {
|
||||||
|
if f.Value != nil {
|
||||||
|
return *f.Value
|
||||||
|
}
|
||||||
|
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
|
func (f FieldBindPassword) SetString(value string) error {
|
||||||
|
if f.Value != nil {
|
||||||
|
*f.Value = value
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
return fmt.Errorf("no value is bound to this component")
|
||||||
|
}
|
||||||
|
|
||||||
|
func (f FieldBindPassword) HTMLInputType() string {
|
||||||
|
return "password"
|
||||||
|
}
|
||||||
|
@ -14,8 +14,6 @@ type Field struct {
|
|||||||
|
|
||||||
DefaultSlot vugu.Builder
|
DefaultSlot vugu.Builder
|
||||||
|
|
||||||
Type string // Overrides the type of the input component.
|
|
||||||
|
|
||||||
err error // Current error caused by any invalid input.
|
err error // Current error caused by any invalid input.
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -28,10 +26,6 @@ func (c *Field) content() string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (c *Field) inputType() string {
|
func (c *Field) inputType() string {
|
||||||
if c.Type != "" {
|
|
||||||
return c.Type
|
|
||||||
}
|
|
||||||
|
|
||||||
if c.Bind != nil {
|
if c.Bind != nil {
|
||||||
return c.Bind.HTMLInputType()
|
return c.Bind.HTMLInputType()
|
||||||
}
|
}
|
||||||
|
@ -1,32 +0,0 @@
|
|||||||
package input
|
|
||||||
|
|
||||||
import (
|
|
||||||
"github.com/vugu/vugu"
|
|
||||||
)
|
|
||||||
|
|
||||||
// RadioButton provides an option that the user can select.
|
|
||||||
// A group of RadioButtons is defined when they share a data binding.
|
|
||||||
type RadioButton struct {
|
|
||||||
AttrMap vugu.AttrMap
|
|
||||||
|
|
||||||
Bind FieldBinder // Binds the current selected key to some variable.
|
|
||||||
Key string // The key that this RadioButton represents as a string.
|
|
||||||
}
|
|
||||||
|
|
||||||
func (c *RadioButton) isChecked() bool {
|
|
||||||
if c.Bind != nil {
|
|
||||||
return c.Bind.String() == c.Key
|
|
||||||
}
|
|
||||||
|
|
||||||
return false
|
|
||||||
}
|
|
||||||
|
|
||||||
func (c *RadioButton) handleChange(event vugu.DOMEvent) {
|
|
||||||
if c.Bind == nil {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
if event.PropBool("target", "checked") {
|
|
||||||
c.Bind.SetString(c.Key)
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,14 +0,0 @@
|
|||||||
<input type="radio" .checked="c.isChecked()" vg-attr='utils.AttributesAppend{AttrMap: c.AttrMap, Classes: "d3c-1687535513"}' @click="c.handleChange(event)">
|
|
||||||
|
|
||||||
<style>
|
|
||||||
.d3c-1687535513 {
|
|
||||||
accent-color: var(--d3c-color-accent);
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<script type="application/x-go">
|
|
||||||
import (
|
|
||||||
//"git.d3nexus.de/Dadido3/D3vugu-components/icons"
|
|
||||||
"git.d3nexus.de/Dadido3/D3vugu-components/utils"
|
|
||||||
)
|
|
||||||
</script>
|
|
@ -1,50 +0,0 @@
|
|||||||
package input
|
|
||||||
|
|
||||||
// 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"
|
|
||||||
|
|
||||||
import (
|
|
||||||
//"git.d3nexus.de/Dadido3/D3vugu-components/icons"
|
|
||||||
"git.d3nexus.de/Dadido3/D3vugu-components/utils"
|
|
||||||
)
|
|
||||||
|
|
||||||
func (c *RadioButton) 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: "", Data: "input", Attr: []vugu.VGAttribute{vugu.VGAttribute{Namespace: "", Key: "type", Val: "radio"}}}
|
|
||||||
vgout.Out = append(vgout.Out, vgn) // root for output
|
|
||||||
vgn.AddAttrList(utils.AttributesAppend{AttrMap: c.AttrMap, Classes: "d3c-1687535513"})
|
|
||||||
{
|
|
||||||
b, err := vjson.Marshal(c.isChecked())
|
|
||||||
if err != nil {
|
|
||||||
panic(err)
|
|
||||||
}
|
|
||||||
vgn.Prop = append(vgn.Prop, vugu.VGProperty{Key: "checked", JSONVal: vjson.RawMessage(b)})
|
|
||||||
}
|
|
||||||
vgn.DOMEventHandlerSpecList = append(vgn.DOMEventHandlerSpecList, vugu.DOMEventHandlerSpec{
|
|
||||||
EventType: "click",
|
|
||||||
Func: func(event vugu.DOMEvent) { c.handleChange(event) },
|
|
||||||
// TODO: implement capture, etc. mostly need to decide syntax
|
|
||||||
})
|
|
||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(3), Data: "style", Attr: []vugu.VGAttribute(nil)}
|
|
||||||
{
|
|
||||||
vgn.AppendChild(&vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t.d3c-1687535513 {\n\t\taccent-color: var(--d3c-color-accent);\n\t}\n", Attr: []vugu.VGAttribute(nil)})
|
|
||||||
}
|
|
||||||
vgout.AppendCSS(vgn)
|
|
||||||
return vgout
|
|
||||||
}
|
|
||||||
|
|
||||||
// 'fix' unused imports
|
|
||||||
var _ fmt.Stringer
|
|
||||||
var _ reflect.Type
|
|
||||||
var _ vjson.RawMessage
|
|
||||||
var _ js.Value
|
|
@ -1,36 +0,0 @@
|
|||||||
<svg viewBox="0 0 16 16" vg-attr='utils.AttributesAppend{AttrMap: c.AttrMap, Classes: "d3c-icon d3-lineicon"}'>
|
|
||||||
<path class="d3c-icon-stroke" d="M2.5 13.5l5 -5m2.21 0.79c0.4,0.14 0.84,0.21 1.29,0.21 2.21,0 4,-1.79 4,-4 0,-2.21 -1.79,-4 -4,-4 -2.21,0 -4,1.79 -4,4 0,0.45 0.08,0.88 0.21,1.29l-6.71 6.71 0 1c0,0.55 0.45,1 1,1l2 0 0 -1 1 0 0 -1 1 -1 1 0 0 -1 1 -1 1 0 1.21 -1.21z" stroke-width="1" stroke-linejoin="round" stroke-linecap="round" fill="none"/>
|
|
||||||
<circle class="d3c-icon-stroke" cx="11.5" cy="4.5" r="1" stroke-width="1" stroke-linejoin="round" stroke-linecap="round" fill="none"/>
|
|
||||||
</svg>
|
|
||||||
|
|
||||||
<style>
|
|
||||||
.d3c-icon {
|
|
||||||
height: 1em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.d3c-icon-stroke {
|
|
||||||
stroke: var(--d3c-color-text);
|
|
||||||
}
|
|
||||||
|
|
||||||
.d3c-icon-fill {
|
|
||||||
fill: var(--d3c-color-text);
|
|
||||||
}
|
|
||||||
|
|
||||||
.d3c-icon-use-color .d3c-icon-stroke {
|
|
||||||
stroke: var(--d3c-color-background);
|
|
||||||
}
|
|
||||||
|
|
||||||
.d3c-icon-use-color .d3c-icon-fill {
|
|
||||||
fill: var(--d3c-color-background);
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<script type="application/x-go">
|
|
||||||
import (
|
|
||||||
"git.d3nexus.de/Dadido3/D3vugu-components/utils"
|
|
||||||
)
|
|
||||||
|
|
||||||
type LKey struct{
|
|
||||||
AttrMap vugu.AttrMap
|
|
||||||
}
|
|
||||||
</script>
|
|
Before Width: | Height: | Size: 1.0 KiB |
@ -1,55 +0,0 @@
|
|||||||
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"
|
|
||||||
|
|
||||||
import (
|
|
||||||
"git.d3nexus.de/Dadido3/D3vugu-components/utils"
|
|
||||||
)
|
|
||||||
|
|
||||||
type LKey struct {
|
|
||||||
AttrMap vugu.AttrMap
|
|
||||||
}
|
|
||||||
|
|
||||||
func (c *LKey) 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(utils.AttributesAppend{AttrMap: c.AttrMap, Classes: "d3c-icon d3-lineicon"})
|
|
||||||
{
|
|
||||||
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: "M2.5 13.5l5 -5m2.21 0.79c0.4,0.14 0.84,0.21 1.29,0.21 2.21,0 4,-1.79 4,-4 0,-2.21 -1.79,-4 -4,-4 -2.21,0 -4,1.79 -4,4 0,0.45 0.08,0.88 0.21,1.29l-6.71 6.71 0 1c0,0.55 0.45,1 1,1l2 0 0 -1 1 0 0 -1 1 -1 1 0 0 -1 1 -1 1 0 1.21 -1.21z"}, 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: "circle", Attr: []vugu.VGAttribute{vugu.VGAttribute{Namespace: "", Key: "class", Val: "d3c-icon-stroke"}, vugu.VGAttribute{Namespace: "", Key: "cx", Val: "11.5"}, vugu.VGAttribute{Namespace: "", Key: "cy", Val: "4.5"}, vugu.VGAttribute{Namespace: "", Key: "r", Val: "1"}, 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)
|
|
||||||
}
|
|
||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(3), Data: "style", Attr: []vugu.VGAttribute(nil)}
|
|
||||||
{
|
|
||||||
vgn.AppendChild(&vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t.d3c-icon {\n\t\theight: 1em;\n\t}\n\n\t.d3c-icon-stroke {\n\t\tstroke: var(--d3c-color-text);\n\t}\n\n\t.d3c-icon-fill {\n\t\tfill: var(--d3c-color-text);\n\t}\n\n\t.d3c-icon-use-color .d3c-icon-stroke {\n\t\tstroke: var(--d3c-color-background);\n\t}\n\n\t.d3c-icon-use-color .d3c-icon-fill {\n\t\tfill: var(--d3c-color-background);\n\t}\n", Attr: []vugu.VGAttribute(nil)})
|
|
||||||
}
|
|
||||||
vgout.AppendCSS(vgn)
|
|
||||||
return vgout
|
|
||||||
}
|
|
||||||
|
|
||||||
// 'fix' unused imports
|
|
||||||
var _ fmt.Stringer
|
|
||||||
var _ reflect.Type
|
|
||||||
var _ vjson.RawMessage
|
|
||||||
var _ js.Value
|
|
@ -1,35 +0,0 @@
|
|||||||
<svg viewBox="0 0 16 16" vg-attr='utils.AttributesAppend{AttrMap: c.AttrMap, Classes: "d3c-icon d3-lineicon"}'>
|
|
||||||
<path class="d3c-icon-stroke" d="M7.5 14.5l-6 -3 0 -6 6 3m0 0l0 6 6 -3 0 -6 -6 3zm-6 -3l6 -3 6 3m-9 1.5l6 -3" stroke-width="1" stroke-linejoin="round" stroke-linecap="round" fill="none"/>
|
|
||||||
</svg>
|
|
||||||
|
|
||||||
<style>
|
|
||||||
.d3c-icon {
|
|
||||||
height: 1em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.d3c-icon-stroke {
|
|
||||||
stroke: var(--d3c-color-text);
|
|
||||||
}
|
|
||||||
|
|
||||||
.d3c-icon-fill {
|
|
||||||
fill: var(--d3c-color-text);
|
|
||||||
}
|
|
||||||
|
|
||||||
.d3c-icon-use-color .d3c-icon-stroke {
|
|
||||||
stroke: var(--d3c-color-background);
|
|
||||||
}
|
|
||||||
|
|
||||||
.d3c-icon-use-color .d3c-icon-fill {
|
|
||||||
fill: var(--d3c-color-background);
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<script type="application/x-go">
|
|
||||||
import (
|
|
||||||
"git.d3nexus.de/Dadido3/D3vugu-components/utils"
|
|
||||||
)
|
|
||||||
|
|
||||||
type LParcelClosed struct{
|
|
||||||
AttrMap vugu.AttrMap
|
|
||||||
}
|
|
||||||
</script>
|
|
Before Width: | Height: | Size: 792 B |
@ -1,51 +0,0 @@
|
|||||||
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"
|
|
||||||
|
|
||||||
import (
|
|
||||||
"git.d3nexus.de/Dadido3/D3vugu-components/utils"
|
|
||||||
)
|
|
||||||
|
|
||||||
type LParcelClosed struct {
|
|
||||||
AttrMap vugu.AttrMap
|
|
||||||
}
|
|
||||||
|
|
||||||
func (c *LParcelClosed) 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(utils.AttributesAppend{AttrMap: c.AttrMap, Classes: "d3c-icon d3-lineicon"})
|
|
||||||
{
|
|
||||||
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: "M7.5 14.5l-6 -3 0 -6 6 3m0 0l0 6 6 -3 0 -6 -6 3zm-6 -3l6 -3 6 3m-9 1.5l6 -3"}, 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)
|
|
||||||
}
|
|
||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(3), Data: "style", Attr: []vugu.VGAttribute(nil)}
|
|
||||||
{
|
|
||||||
vgn.AppendChild(&vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t.d3c-icon {\n\t\theight: 1em;\n\t}\n\n\t.d3c-icon-stroke {\n\t\tstroke: var(--d3c-color-text);\n\t}\n\n\t.d3c-icon-fill {\n\t\tfill: var(--d3c-color-text);\n\t}\n\n\t.d3c-icon-use-color .d3c-icon-stroke {\n\t\tstroke: var(--d3c-color-background);\n\t}\n\n\t.d3c-icon-use-color .d3c-icon-fill {\n\t\tfill: var(--d3c-color-background);\n\t}\n", Attr: []vugu.VGAttribute(nil)})
|
|
||||||
}
|
|
||||||
vgout.AppendCSS(vgn)
|
|
||||||
return vgout
|
|
||||||
}
|
|
||||||
|
|
||||||
// 'fix' unused imports
|
|
||||||
var _ fmt.Stringer
|
|
||||||
var _ reflect.Type
|
|
||||||
var _ vjson.RawMessage
|
|
||||||
var _ js.Value
|
|
@ -1,35 +0,0 @@
|
|||||||
<svg viewBox="0 0 16 16" vg-attr='utils.AttributesAppend{AttrMap: c.AttrMap, Classes: "d3c-icon d3-lineicon"}'>
|
|
||||||
<path class="d3c-icon-stroke" d="M7.5 9.5l0 6 -6 -3 0 -6 6 3zm0 0l0 6 6 -3 0 -6 -6 3zm-6 -3l2 -1m6 -1l-2 2 -2 -2m2 -4l0 6m6 0l-2 -1" stroke-width="1" stroke-linejoin="round" stroke-linecap="round" fill="none"/>
|
|
||||||
</svg>
|
|
||||||
|
|
||||||
<style>
|
|
||||||
.d3c-icon {
|
|
||||||
height: 1em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.d3c-icon-stroke {
|
|
||||||
stroke: var(--d3c-color-text);
|
|
||||||
}
|
|
||||||
|
|
||||||
.d3c-icon-fill {
|
|
||||||
fill: var(--d3c-color-text);
|
|
||||||
}
|
|
||||||
|
|
||||||
.d3c-icon-use-color .d3c-icon-stroke {
|
|
||||||
stroke: var(--d3c-color-background);
|
|
||||||
}
|
|
||||||
|
|
||||||
.d3c-icon-use-color .d3c-icon-fill {
|
|
||||||
fill: var(--d3c-color-background);
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<script type="application/x-go">
|
|
||||||
import (
|
|
||||||
"git.d3nexus.de/Dadido3/D3vugu-components/utils"
|
|
||||||
)
|
|
||||||
|
|
||||||
type LParcelInsert struct{
|
|
||||||
AttrMap vugu.AttrMap
|
|
||||||
}
|
|
||||||
</script>
|
|
Before Width: | Height: | Size: 815 B |
@ -1,51 +0,0 @@
|
|||||||
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"
|
|
||||||
|
|
||||||
import (
|
|
||||||
"git.d3nexus.de/Dadido3/D3vugu-components/utils"
|
|
||||||
)
|
|
||||||
|
|
||||||
type LParcelInsert struct {
|
|
||||||
AttrMap vugu.AttrMap
|
|
||||||
}
|
|
||||||
|
|
||||||
func (c *LParcelInsert) 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(utils.AttributesAppend{AttrMap: c.AttrMap, Classes: "d3c-icon d3-lineicon"})
|
|
||||||
{
|
|
||||||
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: "M7.5 9.5l0 6 -6 -3 0 -6 6 3zm0 0l0 6 6 -3 0 -6 -6 3zm-6 -3l2 -1m6 -1l-2 2 -2 -2m2 -4l0 6m6 0l-2 -1"}, 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)
|
|
||||||
}
|
|
||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(3), Data: "style", Attr: []vugu.VGAttribute(nil)}
|
|
||||||
{
|
|
||||||
vgn.AppendChild(&vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t.d3c-icon {\n\t\theight: 1em;\n\t}\n\n\t.d3c-icon-stroke {\n\t\tstroke: var(--d3c-color-text);\n\t}\n\n\t.d3c-icon-fill {\n\t\tfill: var(--d3c-color-text);\n\t}\n\n\t.d3c-icon-use-color .d3c-icon-stroke {\n\t\tstroke: var(--d3c-color-background);\n\t}\n\n\t.d3c-icon-use-color .d3c-icon-fill {\n\t\tfill: var(--d3c-color-background);\n\t}\n", Attr: []vugu.VGAttribute(nil)})
|
|
||||||
}
|
|
||||||
vgout.AppendCSS(vgn)
|
|
||||||
return vgout
|
|
||||||
}
|
|
||||||
|
|
||||||
// 'fix' unused imports
|
|
||||||
var _ fmt.Stringer
|
|
||||||
var _ reflect.Type
|
|
||||||
var _ vjson.RawMessage
|
|
||||||
var _ js.Value
|
|
@ -1,35 +0,0 @@
|
|||||||
<svg viewBox="0 0 16 16" vg-attr='utils.AttributesAppend{AttrMap: c.AttrMap, Classes: "d3c-icon d3-lineicon"}'>
|
|
||||||
<path class="d3c-icon-stroke" d="M7.5 9.5l0 6 -6 -3 0 -6 6 3zm0 0l0 6 6 -3 0 -6 -6 3zm-6 -3l6 -3 6 3 2.03 -1.99 -6.03 -3.01 -2 2 -1 -3 -6 3 1 3z" stroke-width="1" stroke-linejoin="round" stroke-linecap="round" fill="none"/>
|
|
||||||
</svg>
|
|
||||||
|
|
||||||
<style>
|
|
||||||
.d3c-icon {
|
|
||||||
height: 1em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.d3c-icon-stroke {
|
|
||||||
stroke: var(--d3c-color-text);
|
|
||||||
}
|
|
||||||
|
|
||||||
.d3c-icon-fill {
|
|
||||||
fill: var(--d3c-color-text);
|
|
||||||
}
|
|
||||||
|
|
||||||
.d3c-icon-use-color .d3c-icon-stroke {
|
|
||||||
stroke: var(--d3c-color-background);
|
|
||||||
}
|
|
||||||
|
|
||||||
.d3c-icon-use-color .d3c-icon-fill {
|
|
||||||
fill: var(--d3c-color-background);
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<script type="application/x-go">
|
|
||||||
import (
|
|
||||||
"git.d3nexus.de/Dadido3/D3vugu-components/utils"
|
|
||||||
)
|
|
||||||
|
|
||||||
type LParcelOpened struct{
|
|
||||||
AttrMap vugu.AttrMap
|
|
||||||
}
|
|
||||||
</script>
|
|
Before Width: | Height: | Size: 828 B |
@ -1,51 +0,0 @@
|
|||||||
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"
|
|
||||||
|
|
||||||
import (
|
|
||||||
"git.d3nexus.de/Dadido3/D3vugu-components/utils"
|
|
||||||
)
|
|
||||||
|
|
||||||
type LParcelOpened struct {
|
|
||||||
AttrMap vugu.AttrMap
|
|
||||||
}
|
|
||||||
|
|
||||||
func (c *LParcelOpened) 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(utils.AttributesAppend{AttrMap: c.AttrMap, Classes: "d3c-icon d3-lineicon"})
|
|
||||||
{
|
|
||||||
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: "M7.5 9.5l0 6 -6 -3 0 -6 6 3zm0 0l0 6 6 -3 0 -6 -6 3zm-6 -3l6 -3 6 3 2.03 -1.99 -6.03 -3.01 -2 2 -1 -3 -6 3 1 3z"}, 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)
|
|
||||||
}
|
|
||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(3), Data: "style", Attr: []vugu.VGAttribute(nil)}
|
|
||||||
{
|
|
||||||
vgn.AppendChild(&vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t.d3c-icon {\n\t\theight: 1em;\n\t}\n\n\t.d3c-icon-stroke {\n\t\tstroke: var(--d3c-color-text);\n\t}\n\n\t.d3c-icon-fill {\n\t\tfill: var(--d3c-color-text);\n\t}\n\n\t.d3c-icon-use-color .d3c-icon-stroke {\n\t\tstroke: var(--d3c-color-background);\n\t}\n\n\t.d3c-icon-use-color .d3c-icon-fill {\n\t\tfill: var(--d3c-color-background);\n\t}\n", Attr: []vugu.VGAttribute(nil)})
|
|
||||||
}
|
|
||||||
vgout.AppendCSS(vgn)
|
|
||||||
return vgout
|
|
||||||
}
|
|
||||||
|
|
||||||
// 'fix' unused imports
|
|
||||||
var _ fmt.Stringer
|
|
||||||
var _ reflect.Type
|
|
||||||
var _ vjson.RawMessage
|
|
||||||
var _ js.Value
|
|
@ -1,35 +0,0 @@
|
|||||||
<svg viewBox="0 0 16 16" vg-attr='utils.AttributesAppend{AttrMap: c.AttrMap, Classes: "d3c-icon d3-lineicon"}'>
|
|
||||||
<path class="d3c-icon-stroke" d="M7.5 9.5l0 6 -6 -3 0 -6 6 3zm0 0l0 6 6 -3 0 -6 -6 3zm-6 -3l4 -2m2 2l0 -6m-2 2l2 -2 2 2m4 4l-4 -2" stroke-width="1" stroke-linejoin="round" stroke-linecap="round" fill="none"/>
|
|
||||||
</svg>
|
|
||||||
|
|
||||||
<style>
|
|
||||||
.d3c-icon {
|
|
||||||
height: 1em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.d3c-icon-stroke {
|
|
||||||
stroke: var(--d3c-color-text);
|
|
||||||
}
|
|
||||||
|
|
||||||
.d3c-icon-fill {
|
|
||||||
fill: var(--d3c-color-text);
|
|
||||||
}
|
|
||||||
|
|
||||||
.d3c-icon-use-color .d3c-icon-stroke {
|
|
||||||
stroke: var(--d3c-color-background);
|
|
||||||
}
|
|
||||||
|
|
||||||
.d3c-icon-use-color .d3c-icon-fill {
|
|
||||||
fill: var(--d3c-color-background);
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<script type="application/x-go">
|
|
||||||
import (
|
|
||||||
"git.d3nexus.de/Dadido3/D3vugu-components/utils"
|
|
||||||
)
|
|
||||||
|
|
||||||
type LParcelTakeOut struct{
|
|
||||||
AttrMap vugu.AttrMap
|
|
||||||
}
|
|
||||||
</script>
|
|
Before Width: | Height: | Size: 814 B |
@ -1,51 +0,0 @@
|
|||||||
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"
|
|
||||||
|
|
||||||
import (
|
|
||||||
"git.d3nexus.de/Dadido3/D3vugu-components/utils"
|
|
||||||
)
|
|
||||||
|
|
||||||
type LParcelTakeOut struct {
|
|
||||||
AttrMap vugu.AttrMap
|
|
||||||
}
|
|
||||||
|
|
||||||
func (c *LParcelTakeOut) 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(utils.AttributesAppend{AttrMap: c.AttrMap, Classes: "d3c-icon d3-lineicon"})
|
|
||||||
{
|
|
||||||
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: "M7.5 9.5l0 6 -6 -3 0 -6 6 3zm0 0l0 6 6 -3 0 -6 -6 3zm-6 -3l4 -2m2 2l0 -6m-2 2l2 -2 2 2m4 4l-4 -2"}, 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)
|
|
||||||
}
|
|
||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(3), Data: "style", Attr: []vugu.VGAttribute(nil)}
|
|
||||||
{
|
|
||||||
vgn.AppendChild(&vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t.d3c-icon {\n\t\theight: 1em;\n\t}\n\n\t.d3c-icon-stroke {\n\t\tstroke: var(--d3c-color-text);\n\t}\n\n\t.d3c-icon-fill {\n\t\tfill: var(--d3c-color-text);\n\t}\n\n\t.d3c-icon-use-color .d3c-icon-stroke {\n\t\tstroke: var(--d3c-color-background);\n\t}\n\n\t.d3c-icon-use-color .d3c-icon-fill {\n\t\tfill: var(--d3c-color-background);\n\t}\n", Attr: []vugu.VGAttribute(nil)})
|
|
||||||
}
|
|
||||||
vgout.AppendCSS(vgn)
|
|
||||||
return vgout
|
|
||||||
}
|
|
||||||
|
|
||||||
// 'fix' unused imports
|
|
||||||
var _ fmt.Stringer
|
|
||||||
var _ reflect.Type
|
|
||||||
var _ vjson.RawMessage
|
|
||||||
var _ js.Value
|
|
@ -1,36 +0,0 @@
|
|||||||
<svg viewBox="0 0 16 16" vg-attr='utils.AttributesAppend{AttrMap: c.AttrMap, Classes: "d3c-icon d3-lineicon"}'>
|
|
||||||
<path class="d3c-icon-stroke" d="M4.5 7.5l7 0 0 -6 -7 0 0 6zm0 6l-3 0c-0.55,0 -1,-0.45 -1,-1l0 -4c0,-0.55 0.45,-1 1,-1l13 0c0.55,0 1,0.45 1,1l0 4c0,0.55 -0.45,1 -1,1l-3 0m-7 -2l7 0 0 4 -7 0 0 -4z" stroke-width="1" stroke-linejoin="round" stroke-linecap="round" fill="none"/>
|
|
||||||
<circle class="d3c-icon-fill" cx="13.5" cy="9.5" r="0.5" stroke="none"/>
|
|
||||||
</svg>
|
|
||||||
|
|
||||||
<style>
|
|
||||||
.d3c-icon {
|
|
||||||
height: 1em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.d3c-icon-stroke {
|
|
||||||
stroke: var(--d3c-color-text);
|
|
||||||
}
|
|
||||||
|
|
||||||
.d3c-icon-fill {
|
|
||||||
fill: var(--d3c-color-text);
|
|
||||||
}
|
|
||||||
|
|
||||||
.d3c-icon-use-color .d3c-icon-stroke {
|
|
||||||
stroke: var(--d3c-color-background);
|
|
||||||
}
|
|
||||||
|
|
||||||
.d3c-icon-use-color .d3c-icon-fill {
|
|
||||||
fill: var(--d3c-color-background);
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<script type="application/x-go">
|
|
||||||
import (
|
|
||||||
"git.d3nexus.de/Dadido3/D3vugu-components/utils"
|
|
||||||
)
|
|
||||||
|
|
||||||
type LPrinter struct{
|
|
||||||
AttrMap vugu.AttrMap
|
|
||||||
}
|
|
||||||
</script>
|
|
Before Width: | Height: | Size: 948 B |
@ -1,55 +0,0 @@
|
|||||||
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"
|
|
||||||
|
|
||||||
import (
|
|
||||||
"git.d3nexus.de/Dadido3/D3vugu-components/utils"
|
|
||||||
)
|
|
||||||
|
|
||||||
type LPrinter struct {
|
|
||||||
AttrMap vugu.AttrMap
|
|
||||||
}
|
|
||||||
|
|
||||||
func (c *LPrinter) 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(utils.AttributesAppend{AttrMap: c.AttrMap, Classes: "d3c-icon d3-lineicon"})
|
|
||||||
{
|
|
||||||
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: "M4.5 7.5l7 0 0 -6 -7 0 0 6zm0 6l-3 0c-0.55,0 -1,-0.45 -1,-1l0 -4c0,-0.55 0.45,-1 1,-1l13 0c0.55,0 1,0.45 1,1l0 4c0,0.55 -0.45,1 -1,1l-3 0m-7 -2l7 0 0 4 -7 0 0 -4z"}, 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: "circle", Attr: []vugu.VGAttribute{vugu.VGAttribute{Namespace: "", Key: "class", Val: "d3c-icon-fill"}, vugu.VGAttribute{Namespace: "", Key: "cx", Val: "13.5"}, vugu.VGAttribute{Namespace: "", Key: "cy", Val: "9.5"}, vugu.VGAttribute{Namespace: "", Key: "r", Val: "0.5"}, vugu.VGAttribute{Namespace: "", Key: "stroke", Val: "none"}}}
|
|
||||||
vgparent.AppendChild(vgn)
|
|
||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n"}
|
|
||||||
vgparent.AppendChild(vgn)
|
|
||||||
}
|
|
||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(3), Data: "style", Attr: []vugu.VGAttribute(nil)}
|
|
||||||
{
|
|
||||||
vgn.AppendChild(&vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t.d3c-icon {\n\t\theight: 1em;\n\t}\n\n\t.d3c-icon-stroke {\n\t\tstroke: var(--d3c-color-text);\n\t}\n\n\t.d3c-icon-fill {\n\t\tfill: var(--d3c-color-text);\n\t}\n\n\t.d3c-icon-use-color .d3c-icon-stroke {\n\t\tstroke: var(--d3c-color-background);\n\t}\n\n\t.d3c-icon-use-color .d3c-icon-fill {\n\t\tfill: var(--d3c-color-background);\n\t}\n", Attr: []vugu.VGAttribute(nil)})
|
|
||||||
}
|
|
||||||
vgout.AppendCSS(vgn)
|
|
||||||
return vgout
|
|
||||||
}
|
|
||||||
|
|
||||||
// 'fix' unused imports
|
|
||||||
var _ fmt.Stringer
|
|
||||||
var _ reflect.Type
|
|
||||||
var _ vjson.RawMessage
|
|
||||||
var _ js.Value
|
|
Binary file not shown.
@ -1,28 +1,17 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import "github.com/vugu/vugu"
|
||||||
"time"
|
|
||||||
|
|
||||||
"github.com/vugu/vugu"
|
|
||||||
)
|
|
||||||
|
|
||||||
type PageInput struct {
|
type PageInput struct {
|
||||||
button1Counter int `vugu:"data"`
|
button1Counter int `vugu:"data"`
|
||||||
button4Bool bool `vugu:"data"`
|
button4Bool bool `vugu:"data"`
|
||||||
|
|
||||||
radioButton1 string `vugu:"data"`
|
inputField1String string `vugu:"data"`
|
||||||
|
inputField2Int int `vugu:"data"`
|
||||||
checkBox1 bool `vugu:"data"`
|
inputField3Float float64 `vugu:"data"`
|
||||||
checkBox2 bool `vugu:"data"`
|
inputField4String string `vugu:"data"`
|
||||||
|
inputField5String string `vugu:"data"`
|
||||||
inputField1String string `vugu:"data"`
|
inputField5Bool bool `vugu:"data"`
|
||||||
inputField2Int int `vugu:"data"`
|
|
||||||
inputField3Float float64 `vugu:"data"`
|
|
||||||
inputField4String string `vugu:"data"`
|
|
||||||
inputField5String string `vugu:"data"`
|
|
||||||
inputField5Bool bool `vugu:"data"`
|
|
||||||
inputField6Bool bool `vugu:"data"`
|
|
||||||
inputField7Time time.Time `vugu:"data"`
|
|
||||||
|
|
||||||
dropdown1Slice []string `vugu:"data"`
|
dropdown1Slice []string `vugu:"data"`
|
||||||
dropdown1Index int `vugu:"data"`
|
dropdown1Index int `vugu:"data"`
|
||||||
@ -31,9 +20,6 @@ type PageInput struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (c *PageInput) Init(ctx vugu.InitCtx) {
|
func (c *PageInput) Init(ctx vugu.InitCtx) {
|
||||||
c.radioButton1 = "B"
|
|
||||||
c.checkBox2 = true
|
|
||||||
c.inputField7Time = time.Now()
|
|
||||||
c.dropdown1Slice = []string{"This", "is", "a", "list", "of", "things!"}
|
c.dropdown1Slice = []string{"This", "is", "a", "list", "of", "things!"}
|
||||||
c.tags1Slice = []string{"some", "tags"}
|
c.tags1Slice = []string{"some", "tags"}
|
||||||
}
|
}
|
||||||
|
@ -44,32 +44,6 @@
|
|||||||
<input:Button :Bind="&c.button4Bool">Toggle me!</input:Button>
|
<input:Button :Bind="&c.button4Bool">Toggle me!</input:Button>
|
||||||
<span vg-content="fmt.Sprintf(`Boolean is set to %v.`, c.button4Bool)"></span>
|
<span vg-content="fmt.Sprintf(`Boolean is set to %v.`, c.button4Bool)"></span>
|
||||||
|
|
||||||
<h2>Radio buttons</h2>
|
|
||||||
<view:Code>
|
|
||||||
<pre vg-content='"<input:RadioButton id=\"page-radio-button-1-a\" :Bind=\"input.FieldBindAny{&c.radioButton1}\" Key=\"A\"></input:RadioButton>\n" +
|
|
||||||
"<label for=\"page-radio-button-1-a\">Option A</label>"' style="margin: 0;"></pre>
|
|
||||||
</view:Code>
|
|
||||||
<input:RadioButton id="page-radio-button-1-a" :Bind="input.FieldBindAny{&c.radioButton1}" Key="A"></input:RadioButton>
|
|
||||||
<label for="page-radio-button-1-a">Option A</label>
|
|
||||||
<br>
|
|
||||||
<input:RadioButton id="page-radio-button-1-b" :Bind="input.FieldBindAny{&c.radioButton1}" Key="B"></input:RadioButton>
|
|
||||||
<label for="page-radio-button-1-b">Option B</label>
|
|
||||||
<br>
|
|
||||||
<input:RadioButton id="page-radio-button-1-c" :Bind="input.FieldBindAny{&c.radioButton1}" Key="C"></input:RadioButton>
|
|
||||||
<label for="page-radio-button-1-c">Option C</label>
|
|
||||||
<div vg-content="fmt.Sprintf(`Selected option is %q.`, c.radioButton1)"></div>
|
|
||||||
|
|
||||||
<h2>Checkboxes</h2>
|
|
||||||
<view:Code>
|
|
||||||
<pre vg-content='"<input:CheckBox id=\"page-checkBox-1\" :Bind=\"&c.checkBox1\"></input:CheckBox>\n" +
|
|
||||||
"<label for=\"page-checkBox-1\">Click this to toggle the checkBox</label>"' style="margin: 0;"></pre>
|
|
||||||
</view:Code>
|
|
||||||
<input:CheckBox id="page-checkBox-1" :Bind="&c.checkBox1"></input:CheckBox>
|
|
||||||
<label for="page-checkBox-1">Click this to toggle the checkbox</label>
|
|
||||||
<div vg-content="fmt.Sprintf(`Boolean is set to %v.`, c.checkBox1)"></div>
|
|
||||||
<input:CheckBox id="page-checkBox-2" :Bind="&c.checkBox2"></input:CheckBox>
|
|
||||||
<label for="page-checkBox-2">Click this to toggle the pre-checked checkbox</label>
|
|
||||||
|
|
||||||
<h2>Input fields</h2>
|
<h2>Input fields</h2>
|
||||||
<p>Input fields can be bound to data. They will automatically change their type based on the bound data type.</p>
|
<p>Input fields can be bound to data. They will automatically change their type based on the bound data type.</p>
|
||||||
<p>To make labels work correctly, you have to use the <view:CodeInline>ID="some-id"</view:CodeInline> tag (uppercase ID), which will set the ID of the embedded input element!</p>
|
<p>To make labels work correctly, you have to use the <view:CodeInline>ID="some-id"</view:CodeInline> tag (uppercase ID), which will set the ID of the embedded input element!</p>
|
||||||
@ -88,13 +62,9 @@
|
|||||||
<label for="page-input-3">Some input field bound to float value</label>
|
<label for="page-input-3">Some input field bound to float value</label>
|
||||||
<input:Field ID="page-input-3" :Bind="input.FieldBindAny{&c.inputField3Float}"></input:Field>
|
<input:Field ID="page-input-3" :Bind="input.FieldBindAny{&c.inputField3Float}"></input:Field>
|
||||||
<span vg-content='fmt.Sprintf("Current value is %v.", c.inputField3Float)'></span>
|
<span vg-content='fmt.Sprintf("Current value is %v.", c.inputField3Float)'></span>
|
||||||
<br>
|
<p>For passwords you have to use the <view:CodeInline>input.FieldBindPassword</view:CodeInline> binder:</p>
|
||||||
<label for="page-input-6">Some input field bound to bool value</label>
|
|
||||||
<input:Field ID="page-input-6" :Bind="input.FieldBindAny{&c.inputField6Bool}"></input:Field>
|
|
||||||
<span vg-content='fmt.Sprintf("Current state is %v.", c.inputField6Bool)'></span>
|
|
||||||
<p>For passwords you have to set the <view:CodeInline>Type="password"</view:CodeInline> field of the component:</p>
|
|
||||||
<label for="page-input-4">Some input field bound to password string</label>
|
<label for="page-input-4">Some input field bound to password string</label>
|
||||||
<input:Field ID="page-input-4" :Bind="input.FieldBindAny{&c.inputField4String}" Type="password"></input:Field>
|
<input:Field ID="page-input-4" :Bind="input.FieldBindPassword{&c.inputField4String}"></input:Field>
|
||||||
<span vg-content='fmt.Sprintf("Secret password is %q.", c.inputField4String)'></span>
|
<span vg-content='fmt.Sprintf("Secret password is %q.", c.inputField4String)'></span>
|
||||||
<p>You can add additional buttons to the input field:</p>
|
<p>You can add additional buttons to the input field:</p>
|
||||||
<label for="page-input-5">Some input field with some extra button</label>
|
<label for="page-input-5">Some input field with some extra button</label>
|
||||||
@ -107,10 +77,6 @@
|
|||||||
<icons:LGlobe></icons:LGlobe>
|
<icons:LGlobe></icons:LGlobe>
|
||||||
</input:Button>
|
</input:Button>
|
||||||
</input:Field>
|
</input:Field>
|
||||||
<p>time.Time is also supported:</p>
|
|
||||||
<label for="page-input-7">Some input field bound to a time.Time value</label>
|
|
||||||
<input:Field ID="page-input-7" :Bind="input.FieldBindAny{&c.inputField7Time}"></input:Field>
|
|
||||||
<span vg-content='fmt.Sprintf("Selected date and time is %v.", c.inputField7Time)'></span>
|
|
||||||
|
|
||||||
<h2>Drop-down</h2>
|
<h2>Drop-down</h2>
|
||||||
<label for="page-dropdown-1">Select a slice entry</label>
|
<label for="page-dropdown-1">Select a slice entry</label>
|
||||||
|
@ -31,7 +31,7 @@ func (c *PageInput) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0xA7BF38F7A4F15FB1^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0x20AFF4661A9DBAD9^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*layout.Container)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*layout.Container)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -62,7 +62,7 @@ func (c *PageInput) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "Clickable components support the "}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "Clickable components support the "}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0x1BBFCEE5ECF27786^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0x2E6D6C403988153C^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*view.CodeInline)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*view.CodeInline)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -89,7 +89,7 @@ func (c *PageInput) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: " event that handlers can be registered to with "}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: " event that handlers can be registered to with "}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0x76DA5A4D7ABA2079^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0x8E897D05FF62A33^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*view.CodeInline)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*view.CodeInline)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -117,7 +117,7 @@ func (c *PageInput) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0x2E1D3AB39AD10144^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0xC1C3CCC0AF55B34A^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*view.Code)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*view.Code)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -166,7 +166,7 @@ func (c *PageInput) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0x9726746926D8210F^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0x736F807B47B17752^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*view.Code)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*view.Code)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -198,7 +198,7 @@ func (c *PageInput) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0xCBD014406ABD8E7F^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0xCBC9DEE03A1E26A2^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*input.Button)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*input.Button)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -232,7 +232,7 @@ func (c *PageInput) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0x138295FF6DF1D969^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0x5F232F759A4B73AE^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*view.Code)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*view.Code)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -267,7 +267,7 @@ func (c *PageInput) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0xAE9BFD565BC46B08^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0xEB082BAAB0ABC376^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*input.Button)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*input.Button)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -284,7 +284,7 @@ func (c *PageInput) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
_ = vgparent
|
_ = vgparent
|
||||||
|
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0x52BE6DBBEDC24298^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0xE26F025C754B71B6^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LDocument)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LDocument)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -330,7 +330,7 @@ func (c *PageInput) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "Use the "}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "Use the "}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0xA5E3450E097417E6^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0x67ED61626DC06036^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*view.CodeInline)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*view.CodeInline)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -360,7 +360,7 @@ func (c *PageInput) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0x16924E989032F15B^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0x1B4AC4970673A406^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*view.Code)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*view.Code)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -395,7 +395,7 @@ func (c *PageInput) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0xD97E450127BB784C^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0x793CBD2C6ACD6913^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*input.Button)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*input.Button)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -414,7 +414,7 @@ func (c *PageInput) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
_ = vgparent
|
_ = vgparent
|
||||||
|
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0x33BAEA5D3DC63B9E^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0xD464CB7D5C84AD3E^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LGlobe)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LGlobe)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -454,7 +454,7 @@ func (c *PageInput) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0x31C77D55E912FB04^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0x96B6DA51AAF049CA^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*view.Code)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*view.Code)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -486,7 +486,7 @@ func (c *PageInput) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0x9E08C767F104F536^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0x3F74EE4F364D7546^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*input.Button)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*input.Button)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -520,225 +520,6 @@ func (c *PageInput) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(3), Namespace: "", Data: "h2", Attr: []vugu.VGAttribute(nil)}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(3), Namespace: "", Data: "h2", Attr: []vugu.VGAttribute(nil)}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
vgn.SetInnerHTML(vugu.HTML("Radio buttons"))
|
|
||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t\t"}
|
|
||||||
vgparent.AppendChild(vgn)
|
|
||||||
{
|
|
||||||
vgcompKey := vugu.MakeCompKey(0xF3FCB1DBB43CD672^vgin.CurrentPositionHash(), vgiterkey)
|
|
||||||
// ask BuildEnv for prior instance of this specific component
|
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*view.Code)
|
|
||||||
if vgcomp == nil {
|
|
||||||
// create new one if needed
|
|
||||||
vgcomp = new(view.Code)
|
|
||||||
vgin.BuildEnv.WireComponent(vgcomp)
|
|
||||||
}
|
|
||||||
vgin.BuildEnv.UseComponent(vgcompKey, vgcomp) // ensure we can use this in the cache next time around
|
|
||||||
vgcomp.DefaultSlot = vugu.NewBuilderFunc(func(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|
||||||
vgn := &vugu.VGNode{Type: vugu.VGNodeType(3)}
|
|
||||||
vgout = &vugu.BuildOut{}
|
|
||||||
vgout.Out = append(vgout.Out, vgn)
|
|
||||||
vgparent := vgn
|
|
||||||
_ = vgparent
|
|
||||||
|
|
||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t\t\t"}
|
|
||||||
vgparent.AppendChild(vgn)
|
|
||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(3), Namespace: "", Data: "pre", Attr: []vugu.VGAttribute{vugu.VGAttribute{Namespace: "", Key: "style", Val: "margin: 0;"}}}
|
|
||||||
vgparent.AppendChild(vgn)
|
|
||||||
vgn.SetInnerHTML("<input:RadioButton id=\"page-radio-button-1-a\" :Bind=\"input.FieldBindAny{&c.radioButton1}\" Key=\"A\"></input:RadioButton>\n" +
|
|
||||||
"<label for=\"page-radio-button-1-a\">Option A</label>")
|
|
||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t\t"}
|
|
||||||
vgparent.AppendChild(vgn)
|
|
||||||
return
|
|
||||||
})
|
|
||||||
vgout.Components = append(vgout.Components, vgcomp)
|
|
||||||
vgn = &vugu.VGNode{Component: vgcomp}
|
|
||||||
vgparent.AppendChild(vgn)
|
|
||||||
}
|
|
||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t\t"}
|
|
||||||
vgparent.AppendChild(vgn)
|
|
||||||
{
|
|
||||||
vgcompKey := vugu.MakeCompKey(0xF602BFD925DBEE69^vgin.CurrentPositionHash(), vgiterkey)
|
|
||||||
// ask BuildEnv for prior instance of this specific component
|
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*input.RadioButton)
|
|
||||||
if vgcomp == nil {
|
|
||||||
// create new one if needed
|
|
||||||
vgcomp = new(input.RadioButton)
|
|
||||||
vgin.BuildEnv.WireComponent(vgcomp)
|
|
||||||
}
|
|
||||||
vgin.BuildEnv.UseComponent(vgcompKey, vgcomp) // ensure we can use this in the cache next time around
|
|
||||||
vgcomp.Bind = input.FieldBindAny{&c.radioButton1}
|
|
||||||
vgcomp.AttrMap = make(map[string]interface{}, 8)
|
|
||||||
vgcomp.AttrMap["id"] = "page-radio-button-1-a"
|
|
||||||
vgcomp.Key = "A"
|
|
||||||
vgout.Components = append(vgout.Components, vgcomp)
|
|
||||||
vgn = &vugu.VGNode{Component: vgcomp}
|
|
||||||
vgparent.AppendChild(vgn)
|
|
||||||
}
|
|
||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t\t"}
|
|
||||||
vgparent.AppendChild(vgn)
|
|
||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(3), Namespace: "", Data: "label", Attr: []vugu.VGAttribute{vugu.VGAttribute{Namespace: "", Key: "for", Val: "page-radio-button-1-a"}}}
|
|
||||||
vgparent.AppendChild(vgn)
|
|
||||||
vgn.SetInnerHTML(vugu.HTML("Option A"))
|
|
||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t\t"}
|
|
||||||
vgparent.AppendChild(vgn)
|
|
||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(3), Namespace: "", Data: "br", Attr: []vugu.VGAttribute(nil)}
|
|
||||||
vgparent.AppendChild(vgn)
|
|
||||||
vgn.SetInnerHTML(vugu.HTML(""))
|
|
||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t\t"}
|
|
||||||
vgparent.AppendChild(vgn)
|
|
||||||
{
|
|
||||||
vgcompKey := vugu.MakeCompKey(0x862E0DFB092D8EFC^vgin.CurrentPositionHash(), vgiterkey)
|
|
||||||
// ask BuildEnv for prior instance of this specific component
|
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*input.RadioButton)
|
|
||||||
if vgcomp == nil {
|
|
||||||
// create new one if needed
|
|
||||||
vgcomp = new(input.RadioButton)
|
|
||||||
vgin.BuildEnv.WireComponent(vgcomp)
|
|
||||||
}
|
|
||||||
vgin.BuildEnv.UseComponent(vgcompKey, vgcomp) // ensure we can use this in the cache next time around
|
|
||||||
vgcomp.Bind = input.FieldBindAny{&c.radioButton1}
|
|
||||||
vgcomp.AttrMap = make(map[string]interface{}, 8)
|
|
||||||
vgcomp.AttrMap["id"] = "page-radio-button-1-b"
|
|
||||||
vgcomp.Key = "B"
|
|
||||||
vgout.Components = append(vgout.Components, vgcomp)
|
|
||||||
vgn = &vugu.VGNode{Component: vgcomp}
|
|
||||||
vgparent.AppendChild(vgn)
|
|
||||||
}
|
|
||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t\t"}
|
|
||||||
vgparent.AppendChild(vgn)
|
|
||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(3), Namespace: "", Data: "label", Attr: []vugu.VGAttribute{vugu.VGAttribute{Namespace: "", Key: "for", Val: "page-radio-button-1-b"}}}
|
|
||||||
vgparent.AppendChild(vgn)
|
|
||||||
vgn.SetInnerHTML(vugu.HTML("Option B"))
|
|
||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t\t"}
|
|
||||||
vgparent.AppendChild(vgn)
|
|
||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(3), Namespace: "", Data: "br", Attr: []vugu.VGAttribute(nil)}
|
|
||||||
vgparent.AppendChild(vgn)
|
|
||||||
vgn.SetInnerHTML(vugu.HTML(""))
|
|
||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t\t"}
|
|
||||||
vgparent.AppendChild(vgn)
|
|
||||||
{
|
|
||||||
vgcompKey := vugu.MakeCompKey(0x8ED0FBD0D48EC151^vgin.CurrentPositionHash(), vgiterkey)
|
|
||||||
// ask BuildEnv for prior instance of this specific component
|
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*input.RadioButton)
|
|
||||||
if vgcomp == nil {
|
|
||||||
// create new one if needed
|
|
||||||
vgcomp = new(input.RadioButton)
|
|
||||||
vgin.BuildEnv.WireComponent(vgcomp)
|
|
||||||
}
|
|
||||||
vgin.BuildEnv.UseComponent(vgcompKey, vgcomp) // ensure we can use this in the cache next time around
|
|
||||||
vgcomp.Bind = input.FieldBindAny{&c.radioButton1}
|
|
||||||
vgcomp.AttrMap = make(map[string]interface{}, 8)
|
|
||||||
vgcomp.AttrMap["id"] = "page-radio-button-1-c"
|
|
||||||
vgcomp.Key = "C"
|
|
||||||
vgout.Components = append(vgout.Components, vgcomp)
|
|
||||||
vgn = &vugu.VGNode{Component: vgcomp}
|
|
||||||
vgparent.AppendChild(vgn)
|
|
||||||
}
|
|
||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t\t"}
|
|
||||||
vgparent.AppendChild(vgn)
|
|
||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(3), Namespace: "", Data: "label", Attr: []vugu.VGAttribute{vugu.VGAttribute{Namespace: "", Key: "for", Val: "page-radio-button-1-c"}}}
|
|
||||||
vgparent.AppendChild(vgn)
|
|
||||||
vgn.SetInnerHTML(vugu.HTML("Option C"))
|
|
||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t\t"}
|
|
||||||
vgparent.AppendChild(vgn)
|
|
||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(3), Namespace: "", Data: "div", Attr: []vugu.VGAttribute(nil)}
|
|
||||||
vgparent.AppendChild(vgn)
|
|
||||||
vgn.SetInnerHTML(fmt.Sprintf(`Selected option is %q.`, c.radioButton1))
|
|
||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\n\t\t"}
|
|
||||||
vgparent.AppendChild(vgn)
|
|
||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(3), Namespace: "", Data: "h2", Attr: []vugu.VGAttribute(nil)}
|
|
||||||
vgparent.AppendChild(vgn)
|
|
||||||
vgn.SetInnerHTML(vugu.HTML("Checkboxes"))
|
|
||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t\t"}
|
|
||||||
vgparent.AppendChild(vgn)
|
|
||||||
{
|
|
||||||
vgcompKey := vugu.MakeCompKey(0x25B165A3AE4838B5^vgin.CurrentPositionHash(), vgiterkey)
|
|
||||||
// ask BuildEnv for prior instance of this specific component
|
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*view.Code)
|
|
||||||
if vgcomp == nil {
|
|
||||||
// create new one if needed
|
|
||||||
vgcomp = new(view.Code)
|
|
||||||
vgin.BuildEnv.WireComponent(vgcomp)
|
|
||||||
}
|
|
||||||
vgin.BuildEnv.UseComponent(vgcompKey, vgcomp) // ensure we can use this in the cache next time around
|
|
||||||
vgcomp.DefaultSlot = vugu.NewBuilderFunc(func(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|
||||||
vgn := &vugu.VGNode{Type: vugu.VGNodeType(3)}
|
|
||||||
vgout = &vugu.BuildOut{}
|
|
||||||
vgout.Out = append(vgout.Out, vgn)
|
|
||||||
vgparent := vgn
|
|
||||||
_ = vgparent
|
|
||||||
|
|
||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t\t\t"}
|
|
||||||
vgparent.AppendChild(vgn)
|
|
||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(3), Namespace: "", Data: "pre", Attr: []vugu.VGAttribute{vugu.VGAttribute{Namespace: "", Key: "style", Val: "margin: 0;"}}}
|
|
||||||
vgparent.AppendChild(vgn)
|
|
||||||
vgn.SetInnerHTML("<input:CheckBox id=\"page-checkBox-1\" :Bind=\"&c.checkBox1\"></input:CheckBox>\n" +
|
|
||||||
"<label for=\"page-checkBox-1\">Click this to toggle the checkBox</label>")
|
|
||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t\t"}
|
|
||||||
vgparent.AppendChild(vgn)
|
|
||||||
return
|
|
||||||
})
|
|
||||||
vgout.Components = append(vgout.Components, vgcomp)
|
|
||||||
vgn = &vugu.VGNode{Component: vgcomp}
|
|
||||||
vgparent.AppendChild(vgn)
|
|
||||||
}
|
|
||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t\t"}
|
|
||||||
vgparent.AppendChild(vgn)
|
|
||||||
{
|
|
||||||
vgcompKey := vugu.MakeCompKey(0x12B9256A2CAB3523^vgin.CurrentPositionHash(), vgiterkey)
|
|
||||||
// ask BuildEnv for prior instance of this specific component
|
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*input.CheckBox)
|
|
||||||
if vgcomp == nil {
|
|
||||||
// create new one if needed
|
|
||||||
vgcomp = new(input.CheckBox)
|
|
||||||
vgin.BuildEnv.WireComponent(vgcomp)
|
|
||||||
}
|
|
||||||
vgin.BuildEnv.UseComponent(vgcompKey, vgcomp) // ensure we can use this in the cache next time around
|
|
||||||
vgcomp.Bind = &c.checkBox1
|
|
||||||
vgcomp.AttrMap = make(map[string]interface{}, 8)
|
|
||||||
vgcomp.AttrMap["id"] = "page-checkBox-1"
|
|
||||||
vgout.Components = append(vgout.Components, vgcomp)
|
|
||||||
vgn = &vugu.VGNode{Component: vgcomp}
|
|
||||||
vgparent.AppendChild(vgn)
|
|
||||||
}
|
|
||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t\t"}
|
|
||||||
vgparent.AppendChild(vgn)
|
|
||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(3), Namespace: "", Data: "label", Attr: []vugu.VGAttribute{vugu.VGAttribute{Namespace: "", Key: "for", Val: "page-checkBox-1"}}}
|
|
||||||
vgparent.AppendChild(vgn)
|
|
||||||
vgn.SetInnerHTML(vugu.HTML("Click this to toggle the checkbox"))
|
|
||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t\t"}
|
|
||||||
vgparent.AppendChild(vgn)
|
|
||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(3), Namespace: "", Data: "div", Attr: []vugu.VGAttribute(nil)}
|
|
||||||
vgparent.AppendChild(vgn)
|
|
||||||
vgn.SetInnerHTML(fmt.Sprintf(`Boolean is set to %v.`, c.checkBox1))
|
|
||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t\t"}
|
|
||||||
vgparent.AppendChild(vgn)
|
|
||||||
{
|
|
||||||
vgcompKey := vugu.MakeCompKey(0x2898350697073FE9^vgin.CurrentPositionHash(), vgiterkey)
|
|
||||||
// ask BuildEnv for prior instance of this specific component
|
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*input.CheckBox)
|
|
||||||
if vgcomp == nil {
|
|
||||||
// create new one if needed
|
|
||||||
vgcomp = new(input.CheckBox)
|
|
||||||
vgin.BuildEnv.WireComponent(vgcomp)
|
|
||||||
}
|
|
||||||
vgin.BuildEnv.UseComponent(vgcompKey, vgcomp) // ensure we can use this in the cache next time around
|
|
||||||
vgcomp.Bind = &c.checkBox2
|
|
||||||
vgcomp.AttrMap = make(map[string]interface{}, 8)
|
|
||||||
vgcomp.AttrMap["id"] = "page-checkBox-2"
|
|
||||||
vgout.Components = append(vgout.Components, vgcomp)
|
|
||||||
vgn = &vugu.VGNode{Component: vgcomp}
|
|
||||||
vgparent.AppendChild(vgn)
|
|
||||||
}
|
|
||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t\t"}
|
|
||||||
vgparent.AppendChild(vgn)
|
|
||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(3), Namespace: "", Data: "label", Attr: []vugu.VGAttribute{vugu.VGAttribute{Namespace: "", Key: "for", Val: "page-checkBox-2"}}}
|
|
||||||
vgparent.AppendChild(vgn)
|
|
||||||
vgn.SetInnerHTML(vugu.HTML("Click this to toggle the pre-checked checkbox"))
|
|
||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\n\t\t"}
|
|
||||||
vgparent.AppendChild(vgn)
|
|
||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(3), Namespace: "", Data: "h2", Attr: []vugu.VGAttribute(nil)}
|
|
||||||
vgparent.AppendChild(vgn)
|
|
||||||
vgn.SetInnerHTML(vugu.HTML("Input fields"))
|
vgn.SetInnerHTML(vugu.HTML("Input fields"))
|
||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
@ -755,7 +536,7 @@ func (c *PageInput) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "To make labels work correctly, you have to use the "}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "To make labels work correctly, you have to use the "}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0xC90AD44CF5169056^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0x5A116BC94CF63768^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*view.CodeInline)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*view.CodeInline)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -785,7 +566,7 @@ func (c *PageInput) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0x309EA081BB038019^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0xE85FB93B618818E8^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*view.Code)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*view.Code)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -823,7 +604,7 @@ func (c *PageInput) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0xD2B67FE044D91FCE^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0x89C59B48EFCFE8B2^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*input.Field)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*input.Field)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -856,7 +637,7 @@ func (c *PageInput) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0x255F990C3224E008^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0x4E2591ABE6D3FA81^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*input.Field)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*input.Field)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -889,7 +670,7 @@ func (c *PageInput) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0xEF716BA24AC432D4^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0x551A134858275AB5^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*input.Field)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*input.Field)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -911,48 +692,15 @@ func (c *PageInput) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn.SetInnerHTML(fmt.Sprintf("Current value is %v.", c.inputField3Float))
|
vgn.SetInnerHTML(fmt.Sprintf("Current value is %v.", c.inputField3Float))
|
||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(3), Namespace: "", Data: "br", Attr: []vugu.VGAttribute(nil)}
|
|
||||||
vgparent.AppendChild(vgn)
|
|
||||||
vgn.SetInnerHTML(vugu.HTML(""))
|
|
||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t\t"}
|
|
||||||
vgparent.AppendChild(vgn)
|
|
||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(3), Namespace: "", Data: "label", Attr: []vugu.VGAttribute{vugu.VGAttribute{Namespace: "", Key: "for", Val: "page-input-6"}}}
|
|
||||||
vgparent.AppendChild(vgn)
|
|
||||||
vgn.SetInnerHTML(vugu.HTML("Some input field bound to bool value"))
|
|
||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t\t"}
|
|
||||||
vgparent.AppendChild(vgn)
|
|
||||||
{
|
|
||||||
vgcompKey := vugu.MakeCompKey(0xDBF4B9CBAE332106^vgin.CurrentPositionHash(), vgiterkey)
|
|
||||||
// ask BuildEnv for prior instance of this specific component
|
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*input.Field)
|
|
||||||
if vgcomp == nil {
|
|
||||||
// create new one if needed
|
|
||||||
vgcomp = new(input.Field)
|
|
||||||
vgin.BuildEnv.WireComponent(vgcomp)
|
|
||||||
}
|
|
||||||
vgin.BuildEnv.UseComponent(vgcompKey, vgcomp) // ensure we can use this in the cache next time around
|
|
||||||
vgcomp.Bind = input.FieldBindAny{&c.inputField6Bool}
|
|
||||||
vgcomp.ID = "page-input-6"
|
|
||||||
vgout.Components = append(vgout.Components, vgcomp)
|
|
||||||
vgn = &vugu.VGNode{Component: vgcomp}
|
|
||||||
vgparent.AppendChild(vgn)
|
|
||||||
}
|
|
||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t\t"}
|
|
||||||
vgparent.AppendChild(vgn)
|
|
||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(3), Namespace: "", Data: "span", Attr: []vugu.VGAttribute(nil)}
|
|
||||||
vgparent.AppendChild(vgn)
|
|
||||||
vgn.SetInnerHTML(fmt.Sprintf("Current state is %v.", c.inputField6Bool))
|
|
||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t\t"}
|
|
||||||
vgparent.AppendChild(vgn)
|
|
||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(3), Namespace: "", Data: "p", Attr: []vugu.VGAttribute(nil)}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(3), Namespace: "", Data: "p", Attr: []vugu.VGAttribute(nil)}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgparent := vgn
|
vgparent := vgn
|
||||||
_ = vgparent
|
_ = vgparent
|
||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "For passwords you have to set the "}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "For passwords you have to use the "}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0x9380782AB9F0496F^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0x7D75A607D172A648^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*view.CodeInline)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*view.CodeInline)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -968,7 +716,7 @@ func (c *PageInput) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgparent := vgn
|
vgparent := vgn
|
||||||
_ = vgparent
|
_ = vgparent
|
||||||
|
|
||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "Type=\"password\""}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "input.FieldBindPassword"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
return
|
return
|
||||||
})
|
})
|
||||||
@ -976,7 +724,7 @@ func (c *PageInput) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Component: vgcomp}
|
vgn = &vugu.VGNode{Component: vgcomp}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
}
|
}
|
||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: " field of the component:"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: " binder:"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
}
|
}
|
||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t\t"}
|
||||||
@ -987,7 +735,7 @@ func (c *PageInput) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0xAE94EFCAA96C7B2B^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0x60E1D908E511559^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*input.Field)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*input.Field)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -996,9 +744,8 @@ func (c *PageInput) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgin.BuildEnv.WireComponent(vgcomp)
|
vgin.BuildEnv.WireComponent(vgcomp)
|
||||||
}
|
}
|
||||||
vgin.BuildEnv.UseComponent(vgcompKey, vgcomp) // ensure we can use this in the cache next time around
|
vgin.BuildEnv.UseComponent(vgcompKey, vgcomp) // ensure we can use this in the cache next time around
|
||||||
vgcomp.Bind = input.FieldBindAny{&c.inputField4String}
|
vgcomp.Bind = input.FieldBindPassword{&c.inputField4String}
|
||||||
vgcomp.ID = "page-input-4"
|
vgcomp.ID = "page-input-4"
|
||||||
vgcomp.Type = "password"
|
|
||||||
vgout.Components = append(vgout.Components, vgcomp)
|
vgout.Components = append(vgout.Components, vgcomp)
|
||||||
vgn = &vugu.VGNode{Component: vgcomp}
|
vgn = &vugu.VGNode{Component: vgcomp}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
@ -1021,7 +768,7 @@ func (c *PageInput) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0xCEB9FF384528CCBB^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0x9CE0F544EC27FBEB^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*input.Field)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*input.Field)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -1042,7 +789,7 @@ func (c *PageInput) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t\t\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t\t\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0x151D017F3E93F8EA^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0xE80EA74D367F5D16^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*input.Button)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*input.Button)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -1063,7 +810,7 @@ func (c *PageInput) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
if !c.inputField5Bool {
|
if !c.inputField5Bool {
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0x564011B2B94AAA09^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0xA5DA8A9DBDB90700^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LLockOpened)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LLockOpened)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -1083,7 +830,7 @@ func (c *PageInput) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
if c.inputField5Bool {
|
if c.inputField5Bool {
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0x208118A20A66CA35^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0xDD2A63E717759625^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LLockClosed)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LLockClosed)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -1110,7 +857,7 @@ func (c *PageInput) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t\t\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t\t\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0x2D48A2E1FE429FE5^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0x1F20F757A0BF686B^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*input.Button)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*input.Button)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -1129,7 +876,7 @@ func (c *PageInput) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t\t\t\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t\t\t\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0xF2109FFEEC226E2F^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0x70D6A89A66CE9BBA^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LGlobe)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*icons.LGlobe)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -1158,39 +905,6 @@ func (c *PageInput) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Component: vgcomp}
|
vgn = &vugu.VGNode{Component: vgcomp}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
}
|
}
|
||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t\t"}
|
|
||||||
vgparent.AppendChild(vgn)
|
|
||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(3), Namespace: "", Data: "p", Attr: []vugu.VGAttribute(nil)}
|
|
||||||
vgparent.AppendChild(vgn)
|
|
||||||
vgn.SetInnerHTML(vugu.HTML("time.Time is also supported:"))
|
|
||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t\t"}
|
|
||||||
vgparent.AppendChild(vgn)
|
|
||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(3), Namespace: "", Data: "label", Attr: []vugu.VGAttribute{vugu.VGAttribute{Namespace: "", Key: "for", Val: "page-input-7"}}}
|
|
||||||
vgparent.AppendChild(vgn)
|
|
||||||
vgn.SetInnerHTML(vugu.HTML("Some input field bound to a time.Time value"))
|
|
||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t\t"}
|
|
||||||
vgparent.AppendChild(vgn)
|
|
||||||
{
|
|
||||||
vgcompKey := vugu.MakeCompKey(0x53FBACB92BF2833B^vgin.CurrentPositionHash(), vgiterkey)
|
|
||||||
// ask BuildEnv for prior instance of this specific component
|
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*input.Field)
|
|
||||||
if vgcomp == nil {
|
|
||||||
// create new one if needed
|
|
||||||
vgcomp = new(input.Field)
|
|
||||||
vgin.BuildEnv.WireComponent(vgcomp)
|
|
||||||
}
|
|
||||||
vgin.BuildEnv.UseComponent(vgcompKey, vgcomp) // ensure we can use this in the cache next time around
|
|
||||||
vgcomp.Bind = input.FieldBindAny{&c.inputField7Time}
|
|
||||||
vgcomp.ID = "page-input-7"
|
|
||||||
vgout.Components = append(vgout.Components, vgcomp)
|
|
||||||
vgn = &vugu.VGNode{Component: vgcomp}
|
|
||||||
vgparent.AppendChild(vgn)
|
|
||||||
}
|
|
||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t\t"}
|
|
||||||
vgparent.AppendChild(vgn)
|
|
||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(3), Namespace: "", Data: "span", Attr: []vugu.VGAttribute(nil)}
|
|
||||||
vgparent.AppendChild(vgn)
|
|
||||||
vgn.SetInnerHTML(fmt.Sprintf("Selected date and time is %v.", c.inputField7Time))
|
|
||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\n\t\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\n\t\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(3), Namespace: "", Data: "h2", Attr: []vugu.VGAttribute(nil)}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(3), Namespace: "", Data: "h2", Attr: []vugu.VGAttribute(nil)}
|
||||||
@ -1204,7 +918,7 @@ func (c *PageInput) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0xDE6670421206A893^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0x454363DE2B487242^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*input.Dropdown)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*input.Dropdown)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
@ -1239,7 +953,7 @@ func (c *PageInput) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut) {
|
|||||||
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t\t"}
|
vgn = &vugu.VGNode{Type: vugu.VGNodeType(1), Data: "\n\t\t"}
|
||||||
vgparent.AppendChild(vgn)
|
vgparent.AppendChild(vgn)
|
||||||
{
|
{
|
||||||
vgcompKey := vugu.MakeCompKey(0xA5223E429AA7432^vgin.CurrentPositionHash(), vgiterkey)
|
vgcompKey := vugu.MakeCompKey(0xD0C3C4E61B43E42F^vgin.CurrentPositionHash(), vgiterkey)
|
||||||
// ask BuildEnv for prior instance of this specific component
|
// ask BuildEnv for prior instance of this specific component
|
||||||
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*input.Tags)
|
vgcomp, _ := vgin.BuildEnv.CachedComponent(vgcompKey).(*input.Tags)
|
||||||
if vgcomp == nil {
|
if vgcomp == nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user