diff --git a/data/bindata.go b/data/bindata.go index 5417f8f0ce..8d558d2176 100644 --- a/data/bindata.go +++ b/data/bindata.go @@ -216,7 +216,7 @@ func uiIndexHtml() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "ui/index.html", size: 11, mode: os.FileMode(420), modTime: time.Unix(1666102858, 0)} + info := bindataFileInfo{name: "ui/index.html", size: 11, mode: os.FileMode(420), modTime: time.Unix(1666415327, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -236,7 +236,7 @@ func xgenV09IndexHtml() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "xgen/v0.9/index.html", size: 14, mode: os.FileMode(420), modTime: time.Unix(1666102858, 0)} + info := bindataFileInfo{name: "xgen/v0.9/index.html", size: 14, mode: os.FileMode(420), modTime: time.Unix(1666415327, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -256,7 +256,7 @@ func xgenV10IndexHtml() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "xgen/v1.0/index.html", size: 50, mode: os.FileMode(420), modTime: time.Unix(1666102858, 0)} + info := bindataFileInfo{name: "xgen/v1.0/index.html", size: 50, mode: os.FileMode(420), modTime: time.Unix(1666415327, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -276,7 +276,7 @@ func xgenV10Layouts__indexAsyncJs() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "xgen/v1.0/layouts__index.async.js", size: 71, mode: os.FileMode(420), modTime: time.Unix(1666102858, 0)} + info := bindataFileInfo{name: "xgen/v1.0/layouts__index.async.js", size: 71, mode: os.FileMode(420), modTime: time.Unix(1666415327, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -296,7 +296,7 @@ func xgenV10UmiJs() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "xgen/v1.0/umi.js", size: 71, mode: os.FileMode(420), modTime: time.Unix(1666102858, 0)} + info := bindataFileInfo{name: "xgen/v1.0/umi.js", size: 71, mode: os.FileMode(420), modTime: time.Unix(1666415327, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -316,7 +316,7 @@ func yaoApisReadmeMd() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "yao/apis/README.md", size: 13, mode: os.FileMode(420), modTime: time.Unix(1666102858, 0)} + info := bindataFileInfo{name: "yao/apis/README.md", size: 13, mode: os.FileMode(420), modTime: time.Unix(1666415327, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -336,7 +336,7 @@ func yaoApisChartHttpJson() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "yao/apis/chart.http.json", size: 624, mode: os.FileMode(420), modTime: time.Unix(1666102858, 0)} + info := bindataFileInfo{name: "yao/apis/chart.http.json", size: 624, mode: os.FileMode(420), modTime: time.Unix(1666415327, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -356,7 +356,7 @@ func yaoApisImportHttpJson() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "yao/apis/import.http.json", size: 1676, mode: os.FileMode(420), modTime: time.Unix(1666102858, 0)} + info := bindataFileInfo{name: "yao/apis/import.http.json", size: 1676, mode: os.FileMode(420), modTime: time.Unix(1666415327, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -376,7 +376,7 @@ func yaoApisPageHttpJson() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "yao/apis/page.http.json", size: 609, mode: os.FileMode(420), modTime: time.Unix(1666102858, 0)} + info := bindataFileInfo{name: "yao/apis/page.http.json", size: 609, mode: os.FileMode(420), modTime: time.Unix(1666415327, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -396,7 +396,7 @@ func yaoApisStorageHttpJson() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "yao/apis/storage.http.json", size: 1026, mode: os.FileMode(420), modTime: time.Unix(1666102858, 0)} + info := bindataFileInfo{name: "yao/apis/storage.http.json", size: 1026, mode: os.FileMode(420), modTime: time.Unix(1666415327, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -416,7 +416,7 @@ func yaoApisTableHttpJson() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "yao/apis/table.http.json", size: 3213, mode: os.FileMode(420), modTime: time.Unix(1666102858, 0)} + info := bindataFileInfo{name: "yao/apis/table.http.json", size: 3213, mode: os.FileMode(420), modTime: time.Unix(1666415327, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -436,7 +436,7 @@ func yaoApisUserHttpJson() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "yao/apis/user.http.json", size: 1453, mode: os.FileMode(420), modTime: time.Unix(1666102858, 0)} + info := bindataFileInfo{name: "yao/apis/user.http.json", size: 1453, mode: os.FileMode(420), modTime: time.Unix(1666415327, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -456,7 +456,7 @@ func yaoApisXiangHttpJson() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "yao/apis/xiang.http.json", size: 1239, mode: os.FileMode(420), modTime: time.Unix(1666102858, 0)} + info := bindataFileInfo{name: "yao/apis/xiang.http.json", size: 1239, mode: os.FileMode(420), modTime: time.Unix(1666415327, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -476,7 +476,7 @@ func yaoDataAppJson() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "yao/data/app.json", size: 277, mode: os.FileMode(420), modTime: time.Unix(1666102858, 0)} + info := bindataFileInfo{name: "yao/data/app.json", size: 277, mode: os.FileMode(420), modTime: time.Unix(1666415327, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -496,7 +496,7 @@ func yaoDataIcons404Png() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "yao/data/icons/404.png", size: 9342, mode: os.FileMode(420), modTime: time.Unix(1666102858, 0)} + info := bindataFileInfo{name: "yao/data/icons/404.png", size: 9342, mode: os.FileMode(420), modTime: time.Unix(1666415327, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -516,7 +516,7 @@ func yaoDataIconsIconIcns() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "yao/data/icons/icon.icns", size: 67465, mode: os.FileMode(420), modTime: time.Unix(1666102858, 0)} + info := bindataFileInfo{name: "yao/data/icons/icon.icns", size: 67465, mode: os.FileMode(420), modTime: time.Unix(1666415327, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -536,7 +536,7 @@ func yaoDataIconsIconIco() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "yao/data/icons/icon.ico", size: 54993, mode: os.FileMode(420), modTime: time.Unix(1666102858, 0)} + info := bindataFileInfo{name: "yao/data/icons/icon.ico", size: 54993, mode: os.FileMode(420), modTime: time.Unix(1666415327, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -556,7 +556,7 @@ func yaoDataIconsIconPng() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "yao/data/icons/icon.png", size: 34558, mode: os.FileMode(420), modTime: time.Unix(1666102858, 0)} + info := bindataFileInfo{name: "yao/data/icons/icon.png", size: 34558, mode: os.FileMode(420), modTime: time.Unix(1666415327, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -576,12 +576,12 @@ func yaoDataIndexHtml() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "yao/data/index.html", size: 282, mode: os.FileMode(420), modTime: time.Unix(1666102858, 0)} + info := bindataFileInfo{name: "yao/data/index.html", size: 282, mode: os.FileMode(420), modTime: time.Unix(1666415327, 0)} a := &asset{bytes: bytes, info: info} return a, nil } -var _yaoFieldsModelTransJson = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x5b\x4f\x6f\xdb\x36\x14\xbf\xfb\x53\x10\x5a\x0e\x1b\xe0\x06\xd9\x0e\x3b\xf8\xd6\xd6\xc9\x9a\x61\x6d\x87\xda\x18\x10\x0c\x3b\xd0\xe2\x8b\xcd\x85\x7f\x34\x91\x8a\x9b\xba\xfe\xee\x03\x29\xd1\x12\x15\xc9\x55\x1b\xc7\x96\x5d\xe6\x90\x88\xef\x3d\x92\x8f\x3f\xbe\xdf\x23\x25\x32\xab\x01\x42\xd1\x3d\x4e\x29\x9e\x31\x50\xd1\x08\x19\x01\x42\x51\x2c\x99\x4c\x4d\x11\x45\x49\x4a\x39\x4e\x1f\xa2\x11\x8a\x7e\xb8\xba\xba\xbc\xbc\xb8\x88\xd0\x7a\x80\xd0\x7a\x38\x30\x95\x31\xa3\x58\x55\xab\x2a\x9d\x52\x31\x37\xe6\x04\x6e\x71\xc6\x74\x34\x2c\xda\x5c\xe0\xb4\x41\xcc\x81\xd0\x8c\x4f\xe1\xa3\x36\x4a\x6d\xfe\x16\x1a\x26\xc5\xbc\x49\x3e\xa3\xa2\x70\xa8\x2a\x25\x58\x83\xa6\x1c\xa6\x9f\x6c\x27\x45\xc9\x69\x4b\x4d\x5d\xaa\x34\xe6\x49\xa9\xb2\xc5\x52\x2f\x1e\xae\x85\x86\x39\x58\xcf\x69\xf1\xe8\x69\xe3\x14\x38\x08\xad\x1a\x0c\x32\xa1\xe8\x5c\x00\x99\x6e\x6d\x46\x71\xcc\xd8\x17\xd5\x5b\xba\x99\xd1\x79\x7b\x75\xab\xec\xe0\xe3\x2b\xaf\x11\x27\xbd\x6e\x36\x9e\xd4\x5c\x6e\x31\xbf\x1e\xdb\x0e\x89\x2b\x53\xdf\x91\x8d\x9c\x40\x4c\x39\x66\x46\x78\xcb\x24\x2e\xa7\x54\x66\x33\x06\x8f\xc4\xae\xb7\x71\x59\xcd\x89\xae\x1a\xed\x36\xcd\x34\x9a\xfd\x3e\x79\xff\xce\x28\xff\x55\x52\x38\x99\x79\x9e\xd5\x85\xc6\xf0\x55\x5d\x98\x65\x94\x34\x44\x35\x4d\x5e\x12\x92\x82\x52\x4d\x11\x8f\xe3\x06\x65\x49\xa9\x5b\x0a\x8c\x54\x18\xe5\x2c\x9c\xc0\x9a\x30\x6d\xa1\x77\x12\x84\xa2\x3b\xb0\x9c\x38\x5b\x31\x3c\x03\x86\x3e\x7f\x46\xb1\xe4\x06\x6d\xf3\x28\x30\x87\x75\xe1\x80\x23\x91\xf5\x7b\xb9\x80\x14\xce\xcf\x56\xd6\xe0\x9c\x63\x1d\x2f\xaa\x66\x40\xa8\xf6\xba\x31\x71\xff\x90\x58\x34\xaf\x45\x92\xe9\x8a\x31\x32\xc9\x42\x26\xaa\xc8\x1b\x0c\xc7\xb0\x90\x8c\xe4\x21\x72\xf6\xc7\x8f\x09\x03\xac\x00\x51\x53\xed\x27\xf4\xd8\xcf\x75\x9e\x58\xf2\x1f\xf7\xb4\x1e\x6e\xc6\x2c\x53\xbe\x8b\x11\x17\x63\xed\xe9\x28\x35\xce\x63\xf5\x39\x86\x79\x4f\x61\xd9\x36\xcc\x69\x99\x4a\xeb\xa3\xac\xb8\xdb\x2b\xcc\x06\x85\x4b\x39\x4b\x40\x64\x7c\x1f\x14\x81\xff\xba\x46\xce\x04\x18\xc4\x6d\x30\x54\x84\x68\x0b\x24\xca\xb6\xd1\x8c\xc9\xd0\x6f\x43\x26\x9a\x4a\x61\x73\xca\xd9\x79\xde\xf7\x7b\x2b\x5a\xe5\x9a\x75\x54\xb1\xef\x21\xd1\x8e\x15\xae\x7d\x30\xb6\xce\xd3\x2a\x3b\x3b\xb3\xf2\xc8\x00\xf6\xe9\xad\xf3\x8d\xe0\xea\xc0\x41\x6a\xe0\x7f\x99\x02\x7e\x1a\x8a\x5b\x12\x5d\x0d\x44\x9c\x69\x39\xa1\x9f\x20\x0f\x02\x4e\xc5\x07\xb9\x34\x3d\xfd\x32\x34\xfb\x88\x8f\x45\xe9\xd7\x0a\x7e\x87\x0f\xd6\x46\xdc\xa4\x64\x9a\x26\xad\x6b\x82\xa6\x3a\xdf\xa2\x7d\x29\xf9\x9f\xf6\x3c\xd5\x62\xde\xbc\xaa\xf4\x6a\x49\x1b\x63\x0d\x7f\xd2\xf8\x6e\xb3\xc7\xff\x46\x60\xbf\x22\x8d\x24\x79\x77\xee\xcd\xad\xdf\x6b\xd8\xd1\xe0\x73\x34\x8b\x56\xdf\x11\x1d\x54\x70\x8d\x1e\x00\xa7\x81\xb0\x1b\xf8\x2c\x1c\x81\xb0\x3b\xc1\x27\x10\x76\x47\x88\x7a\x84\x25\x58\x87\x15\xb6\x84\xcf\xc2\x11\x08\xbb\x13\x7c\x0e\x4c\xd8\x7c\x82\xb0\xfd\x78\x7e\x73\x73\x73\xf3\xe2\xed\xdb\x17\xe3\x71\x84\x8e\x84\xc8\x1d\x90\x7e\x44\xe4\xb0\x5d\x46\x28\x52\x0b\xb9\x9c\x16\x40\x54\x63\xe0\xcd\x9b\x11\xe7\x23\xa5\xa2\xce\xaf\x8a\xdf\x0f\xc1\x77\x87\x59\x0f\xbf\xde\x36\x27\x02\xd4\x34\xb6\x1e\x67\x86\x27\x4f\x91\x97\x2d\xca\x83\xbe\x90\x2e\x42\xba\x08\xe9\x22\xa4\x8b\xfa\x14\xb9\x74\x91\xe7\x0b\xba\x39\xea\xee\xe1\x09\xec\xbb\x8c\xcf\x5a\xa1\x3d\xb1\x73\xd8\x7d\x8f\xb5\x87\x04\xfd\xc6\xd3\xd8\x3d\x21\xe7\x2d\xb3\xf5\x6b\x21\x81\x3e\x81\x3e\x81\x3e\xdd\xaf\x34\xd8\x9b\x45\x81\x32\xfd\xa5\x4c\xc7\x8d\x4b\xf7\x63\x44\x42\x95\xa1\x8c\xf1\x56\xa7\x19\x1c\xef\x36\xf2\x39\x68\x76\x58\xb4\x7d\x6a\xe6\x17\x12\x03\x3b\x4f\x9b\x9d\x81\x7f\xfb\xc4\xd3\x67\x98\x7f\x57\x37\x30\x2d\x30\x2d\x30\xed\x79\x98\x36\x93\x92\x01\x16\xbd\xe3\xd8\x07\x4c\xa8\xfc\x2d\x95\x59\xdb\xb5\x31\x1f\xa6\xf2\xbe\xe1\xdf\x9e\x02\x19\x2e\x5a\x9f\x4d\xa3\xa3\xd1\xa5\xb0\x41\x34\x44\xd1\x3d\x66\x99\xe9\xe9\xe7\xea\xd4\x35\x55\x19\xe7\x1b\x85\x6a\x9d\x0b\xef\x0b\x12\x42\xff\x74\x8c\xe0\x03\x71\xf8\x24\xb1\x3c\x54\x36\x98\x2c\xa9\x1f\xc6\xed\x40\xc6\x0b\x88\xef\x80\xfc\xe5\xd0\xa9\xed\x40\x33\xf1\xda\x37\xb8\x18\x36\xd6\x7f\xbd\xa0\x8c\xa4\x20\x7c\xd4\x5b\xda\xf2\x8d\x1d\xde\x5f\x93\x11\xec\x3f\xb8\x84\xcb\xb6\xe1\xb2\xed\x49\xcf\xd3\xc0\xfd\x5e\x0f\xd6\x83\xff\x03\x00\x00\xff\xff\x6d\x0c\xa9\xf5\x0a\x39\x00\x00") +var _yaoFieldsModelTransJson = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x5b\xcf\x6f\xdb\x36\x14\xbe\xeb\xaf\x20\xb4\x1c\x36\xc0\x0d\x8a\x1d\x76\xf0\xad\xad\x93\x35\xc3\xda\x0e\xb5\x31\x20\x18\x76\xa0\xc4\x17\x9b\x0b\x7f\x68\x22\x15\x37\x75\xf5\xbf\x0f\xa4\x24\x4b\x54\xa4\x54\x6d\x1c\x5b\xf6\x98\x43\x22\xbd\xf7\x48\x3e\x7e\xe4\xf7\x91\x92\x98\x4d\x80\x50\x78\x87\x53\x8a\x23\x06\x2a\x9c\x22\x63\x40\x28\x8c\x25\x93\xa9\xb9\x45\x61\x92\x52\x8e\xd3\xfb\x70\x8a\xc2\x1f\x2e\x2f\x2f\x2e\x5e\xbe\x0c\x51\x1e\x20\x94\x4f\x02\x53\x18\x33\x8a\x55\xb3\xa8\xd2\x29\x15\x4b\x13\x4e\xe0\x06\x67\x4c\x87\x93\xb2\xce\x15\x4e\x3b\xcc\x1c\x08\xcd\xf8\x02\x3e\x69\xe3\xd4\xe6\x6f\xe9\x61\x52\x2c\xbb\xec\x11\x15\x65\x42\x4d\x2b\xc1\x1a\x34\xe5\xb0\xf8\x6c\x1b\x29\xef\x2a\x6f\xed\x69\x5b\x95\xc6\x3c\xa9\x5d\xf6\xb6\xf6\x8b\xfb\x2b\xa1\x61\x09\x36\x73\x5a\x5e\x3a\xde\x38\x05\x0e\x42\xab\x8e\x80\x4c\x28\xba\x14\x40\x16\x8f\x56\xa3\x38\x66\xec\xab\xee\x47\x9a\x89\xe8\xb2\xbf\xb8\x75\x0e\xc8\xf1\xb5\x53\x49\x65\xbd\xea\x0e\x9e\xb7\x52\xee\x09\xbf\x9a\xd9\x06\x49\x75\x4f\xdd\x44\xb6\x76\x02\x31\xe5\x98\x19\xe3\x0d\x93\xb8\x1e\x52\x99\x45\x0c\x1e\x98\xab\xd6\x66\x75\xb1\xca\x74\xd9\x19\xb7\xad\xa6\x33\xec\xb7\xf9\x87\xf7\xc6\xf9\x8f\x92\xa2\xb2\x99\xeb\xa8\x6d\x34\x81\xaf\xdb\xc6\x2c\xa3\xa4\x63\x56\xd3\xe4\x15\x21\x29\x28\xd5\x35\xe3\x71\xdc\xe1\xac\x29\x75\x43\x81\x91\x06\xa3\xaa\x88\xca\x60\x43\x98\xb6\xd0\x57\x16\x84\xc2\x5b\xb0\x9c\x38\xdb\x30\x1c\x01\x43\x5f\xbe\xa0\x58\x72\x83\xb6\xb9\x14\x98\x43\x5e\x26\x50\x91\xc8\xe6\xbd\x5e\x41\x0a\xe7\x67\x1b\x1b\x70\xce\xb1\x8e\x57\xcd\x30\x20\x54\x3b\xcd\x98\x79\x7f\x9f\x58\x34\xaf\x44\x92\xe9\x46\x30\x32\x62\x21\x13\x55\xea\x06\xc3\x31\xac\x24\x23\xc5\x14\x39\xfb\xfd\xc7\x84\x01\x56\x80\xa8\x29\xf6\x13\x7a\x98\x67\x5e\x08\x4b\xf1\x53\x5d\xe5\x93\x6d\x9f\x65\xca\x77\xd1\xe3\xb2\xaf\x23\xed\xa5\xc6\xc5\x5c\x7d\x8e\x6e\xde\x51\x58\xf7\x75\x73\x51\x4b\x69\xbb\x97\x8d\x74\x47\x85\x59\x50\xa6\x54\xb0\x04\x44\xc6\xf7\x41\x11\xf8\x77\xe8\xcc\x99\x03\x83\xb8\x0f\x86\x86\x11\x3d\x02\x89\xb2\x75\x74\x63\x32\x71\xeb\x90\x89\xa6\x52\x58\x4d\x39\x3b\x2f\xda\xfe\x60\x4d\x9b\xc2\x93\x87\x8d\xf8\x11\x12\xed\x58\xe1\x3a\x18\x63\xf1\x72\xf4\x60\x9d\xe6\xd0\xbb\xc2\xa3\x8b\x2d\xea\xe6\xc0\xf4\x31\x02\xfe\x2a\x05\xfc\x34\x14\x1f\x91\xe0\x16\x88\x38\xd3\x72\x4e\x3f\x43\xa1\xe9\x9c\x8a\x8f\x72\x6d\x5a\xfa\x79\x62\x76\x38\x9f\xca\xbb\x5f\x1a\xf8\x8d\x94\x46\x52\x32\x4d\x93\xde\xd5\x4a\x53\x5d\x6c\x1e\xbf\xb6\x2c\x9d\xf6\x38\xb5\xe6\xbc\x79\x88\x1a\xd5\x62\x3b\xc3\x1a\xfe\xa0\xf1\xed\xf6\xe9\xe3\x3b\x81\xfd\x06\x19\x49\x8a\xe6\xaa\x67\xca\x71\xaf\xae\x47\x83\xcf\x3e\x74\xa0\xbd\xed\x6d\x6e\x76\x07\x13\x79\xec\x88\x06\x0d\x5c\xc3\x7b\xc0\xa9\x27\xec\x16\x3e\x0b\x87\x27\xec\x4e\xf0\xf1\x84\xdd\x11\xa2\x0e\x61\x09\xd6\x7e\x85\xad\xe1\xb3\x70\x78\xc2\xee\x04\x9f\x03\x13\xb6\x18\x20\x6c\x5f\xeb\x5f\x5f\x5f\x5f\xbf\x78\xf7\xee\xc5\x6c\x16\xa2\x23\x21\xf2\x00\xa4\x1f\x10\xd9\x6f\x97\x11\x0a\xd5\x4a\xae\x17\x25\x10\xcd\x39\xf0\xf6\xed\x94\xf3\xa9\x52\xe1\xe0\x47\xc5\xff\x0f\xc1\x77\x87\xd9\x08\xdf\x2b\x77\x0b\x01\xea\xea\xdb\x88\x95\xe1\xc9\x43\xe4\xa8\x45\xfd\x09\xd2\xcb\x85\x97\x0b\x2f\x17\x5e\x2e\xda\x43\x54\xc9\x45\xa1\x17\x74\xfb\x11\x7e\x84\xdf\x86\xdf\x67\x3c\xea\x85\xf6\xc4\xbe\x10\xef\xbb\xaf\x23\x24\xe8\x77\x7e\x27\xde\x13\x72\xce\x32\xdb\x3e\xb0\xe2\xe9\xe3\xe9\xe3\xe9\x33\xfc\xb0\x85\x3d\xf3\xe4\x29\x33\x5e\xca\x0c\xdc\xb8\x0c\xff\x8c\x48\xa8\x32\x94\x31\xd9\xea\x34\x83\xe3\xdd\x46\x3e\x07\xcd\x0e\x8b\xb6\x4b\xcd\xe2\xa8\xa4\x67\xe7\x69\xb3\xd3\xf3\x6f\x9f\x78\xba\x0c\x73\x4f\x11\x7b\xa6\x79\xa6\x79\xa6\x3d\x0f\xd3\x22\x29\x19\x60\x31\x3a\x8e\x7d\xc4\x84\xca\x5f\x53\x99\xf5\x1d\x1b\x73\x61\xaa\xcf\x1b\xfe\xe5\x38\x90\xe1\xa2\xcd\xd9\x54\x3a\x9d\x5e\x08\x3b\x89\x26\x28\xbc\xc3\x2c\x83\x72\xf1\x6f\x8e\x5e\x57\xa9\x59\xb1\x57\x68\x16\xbb\xc1\x4c\x81\xf3\x22\x09\xa1\xbf\x07\x4e\xe4\x03\x51\xf9\x94\x21\x3d\x94\x36\xcc\xd7\xd4\x9d\xd4\xfd\x78\xc6\x2b\x88\x6f\x81\xfc\xd9\x00\xa9\xb5\x25\xcd\xc4\x1b\x37\xc6\x22\x32\xe9\xac\xe6\xcd\x8a\x32\x92\x82\x70\xc7\xa0\xa7\x3e\x37\xb8\x82\xfe\x5b\x64\xc2\xfe\x3f\x8e\x3f\x81\xeb\x4f\xe0\x9e\xf4\x38\x05\xd5\xef\x3c\xc8\x83\xff\x02\x00\x00\xff\xff\xe4\x28\x2e\xc4\xb9\x39\x00\x00") func yaoFieldsModelTransJsonBytes() ([]byte, error) { return bindataRead( @@ -596,7 +596,7 @@ func yaoFieldsModelTransJson() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "yao/fields/model.trans.json", size: 14602, mode: os.FileMode(420), modTime: time.Unix(1666102858, 0)} + info := bindataFileInfo{name: "yao/fields/model.trans.json", size: 14777, mode: os.FileMode(420), modTime: time.Unix(1666415327, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -616,7 +616,7 @@ func yaoFlowsReadmeMd() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "yao/flows/README.md", size: 12, mode: os.FileMode(420), modTime: time.Unix(1666102858, 0)} + info := bindataFileInfo{name: "yao/flows/README.md", size: 12, mode: os.FileMode(420), modTime: time.Unix(1666415327, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -636,7 +636,7 @@ func yaoFlowsAdminGuardFlowJson() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "yao/flows/admin/guard.flow.json", size: 559, mode: os.FileMode(420), modTime: time.Unix(1666102858, 0)} + info := bindataFileInfo{name: "yao/flows/admin/guard.flow.json", size: 559, mode: os.FileMode(420), modTime: time.Unix(1666415327, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -656,7 +656,7 @@ func yaoFlowsMenuFlowJson() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "yao/flows/menu.flow.json", size: 1045, mode: os.FileMode(420), modTime: time.Unix(1666102858, 0)} + info := bindataFileInfo{name: "yao/flows/menu.flow.json", size: 1045, mode: os.FileMode(420), modTime: time.Unix(1666415327, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -676,7 +676,7 @@ func yaoFlowsUserFindFlowJson() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "yao/flows/user/find.flow.json", size: 328, mode: os.FileMode(420), modTime: time.Unix(1666102858, 0)} + info := bindataFileInfo{name: "yao/flows/user/find.flow.json", size: 328, mode: os.FileMode(420), modTime: time.Unix(1666415327, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -696,12 +696,12 @@ func yaoLangsEnUsJson() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "yao/langs/en-US.json", size: 66, mode: os.FileMode(420), modTime: time.Unix(1666102858, 0)} + info := bindataFileInfo{name: "yao/langs/en-US.json", size: 66, mode: os.FileMode(420), modTime: time.Unix(1666415327, 0)} a := &asset{bytes: bytes, info: info} return a, nil } -var _yaoLangsZhCnGlobalYml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x74\x54\x5d\x4f\xe3\x46\x14\x7d\x9f\x5f\x71\x35\x12\x52\xfb\xd2\x1f\xe0\x37\x54\xb2\x6d\xa4\x5d\x88\x08\xad\xfa\x6a\x92\x21\xb8\x4a\x66\x2c\xdb\x81\x6e\x9f\xd8\xb2\x40\x20\x84\x04\xf1\xb1\x1f\x18\xa8\x17\x10\x5e\x75\x89\xb3\xed\x76\xa1\x21\x81\xff\x82\x72\xc7\xce\xbf\xa8\x66\xcc\x87\x4a\xb5\x6f\x9e\xf1\x99\x33\x77\xce\x39\xf7\xe6\x3d\xd3\xf1\x20\xc3\x4b\x16\x67\x06\x50\x6c\x45\xb8\x16\x26\x1f\x83\x41\xef\x77\xec\x6e\xc7\xdb\x21\xf6\x76\xe4\xd6\x06\x25\x13\x9c\x81\x70\xa0\x22\x1c\x06\xa6\x53\xaa\x56\x18\xf7\x5c\x30\x1d\x06\x5c\x78\x50\x10\x8e\xc3\x0a\x9e\x62\x68\xfe\x26\x77\x3a\xc3\xed\x37\x49\x14\x51\x32\x6a\xdb\x65\xab\x60\x7a\x96\xe0\x50\xb4\x14\x44\x38\xcf\x0d\xa0\x72\x7d\x05\xdb\x6f\xd3\x1b\x92\xf3\x08\xaf\x5e\x52\x92\xe1\x73\x96\x23\xb8\x22\x86\x19\xab\xcc\xee\x61\xf1\x46\x84\xef\x16\xb1\xf9\x7a\xb8\xd2\x94\xbb\x2b\x83\xcb\xcf\x94\x7c\xcf\xca\x36\xcc\x08\x07\x9e\x9b\x42\x01\x5f\x5f\xc5\xc7\x5d\xdc\xec\x0f\x2e\x8f\xf1\xa2\x8d\x6b\xef\xe5\xee\x8a\x0c\x8e\x28\xc9\xcf\x8a\x79\x30\x6d\x1b\x0a\x82\xcf\x58\xa5\xaa\xc3\x1e\xe0\xfa\xfa\xe1\x52\x23\xee\xb7\x07\xd7\x81\x7c\x11\x51\xf2\x83\x5d\x34\x3d\x06\x45\xd3\x33\xa7\x4d\x97\x81\x5b\x98\x65\x15\x53\x1d\xd9\xfb\x24\x77\x3b\x72\xa7\x23\x1b\xed\x24\x08\xe3\xcb\x2d\x79\xa0\x8a\xfe\x85\x15\xaa\x1e\x03\xdb\x11\x05\xe6\xba\x06\xd0\xe4\xba\x95\x04\xeb\x78\xfc\x32\x6e\x2d\xe3\x9b\xf0\xb6\x82\x39\xe6\xb8\x96\xe0\x0f\x77\xf7\xb7\x70\xb5\x11\xaf\xd6\xa4\xff\x01\x9b\xe7\x94\x8c\xb1\x39\x56\x16\xb6\x7e\x7d\x45\x14\x55\x95\x83\xfe\xb5\x36\x60\x01\x9b\x9b\x32\x0c\xb0\xd7\x4c\xed\x51\x52\x99\xd3\x65\x56\x84\x2a\x77\x3d\xf5\x05\x33\xcc\xf4\xaa\x0e\x73\x53\x0b\xd5\xa9\xe5\x25\xf9\x77\x1d\xd7\x0e\x93\xc5\x3e\x25\xf4\x89\xe9\x99\x65\x03\x46\x5c\xaa\x10\xc7\x1f\x93\x4f\x27\x7a\x45\xf2\xcc\x99\xb3\x0a\x0c\x5c\x4f\xd8\x36\x2b\xaa\xfa\xfc\x06\xae\x05\x78\xfe\x27\x2e\xfd\x35\x7c\x75\x46\xc9\x68\x2e\x6b\x00\x85\xd1\x5c\x56\x6e\x9c\x60\xf3\x48\xef\xc0\x53\xcb\x55\x76\x8f\xe6\xb2\x58\x7b\x95\x04\x21\x25\x93\x42\xe8\x00\x68\x55\xe3\xbd\x36\xf6\x77\x28\x79\xe2\x08\xee\x31\xae\x88\x71\xb5\x81\xcd\x0e\xfa\x1d\xdc\x5f\xa0\x64\xcc\x74\x67\xa7\x85\xe9\xa8\x3f\x71\x3b\x50\x62\xb5\x36\xb0\xd9\xa1\x64\x5c\x78\xc0\xb8\xa8\x96\x66\x1f\x82\xf6\x28\x58\x06\xc4\xbd\x2e\x76\x36\xd3\x3d\x4a\xe8\x64\x95\xdf\xbd\x2e\xd5\x3f\x7d\x1d\x1d\x7d\x20\xb8\x7d\xfb\x7f\x58\x34\x66\xc4\x85\x49\xe6\xda\x82\xbb\x4c\x21\x46\x5c\x48\xae\xb7\x71\xef\x40\x5b\xec\x53\x42\x6f\x33\x91\x46\x41\x9b\xa3\xa5\x84\xaf\x46\xdc\xaf\x81\xde\x67\xe3\x3e\x15\x8f\x20\x94\x3c\x53\x6b\xe0\x66\x45\x67\x2f\x0c\xf0\xa0\x8e\xad\x46\x7c\xda\xa1\x24\xcb\x2d\xcf\x32\xcb\xd6\xaf\x3a\x42\x3f\xa7\x3d\x34\x0c\xfe\x51\xfa\xd5\xf6\xf1\xb4\x8e\xeb\xbb\x94\xdc\xf8\xe1\xd8\xc4\x78\xe6\xc6\x0f\x0d\xa0\x37\x7e\x88\xed\x75\x59\x6b\xdd\xf8\x21\x25\x74\x3c\xf3\xd3\x94\xa1\xaa\x18\x5c\xd4\x07\x17\x0b\xf2\xec\xc4\xa0\x44\xb9\xc3\xb8\xc5\x4b\xca\x39\x00\x88\xf7\x36\xb1\xf5\x41\x13\x3d\xcd\xe6\xa7\x32\xe3\xd9\xf1\xef\xee\xd9\x52\xc7\xe5\xd9\x11\xfa\x61\xaa\x9e\x66\xbe\xf1\xc3\xfc\xd4\x44\x2e\x97\x19\x7b\x84\x54\xd9\x78\xe1\xcb\xb3\x77\x1a\x96\x67\xae\x4a\x76\x4e\x38\xaa\xf4\x41\xef\x6d\x12\xed\xa7\xb8\xf8\x8f\x48\xc7\xe5\x89\x70\x0a\x0c\x2a\x56\xc9\x31\x3d\x3d\x64\x7a\x5d\xac\x7d\xfe\x42\x43\x3d\x4b\x61\x60\xb9\x7a\xb0\x98\xe5\xb2\x98\x67\x45\x10\x5c\xe9\x53\xac\x16\xf4\x28\x51\x02\x7f\x63\x00\xbd\x03\x0f\x2e\x1a\xc9\x62\x1f\x97\x1b\xf1\xf6\xe1\xa0\x7b\x9a\x0e\x0c\xa5\x87\xee\x20\x4a\xbe\x75\x98\xbe\x1a\x6b\x7b\x78\xd9\x25\x99\xa2\xe5\xa9\x08\xed\x26\x57\x9b\xe4\x47\x8b\xcd\x1b\x20\x0f\x4f\x62\xbf\x4e\xec\x32\x53\x5d\x6f\x71\xbb\xea\x19\x90\x44\xe7\xc9\xd5\x16\x2e\x9d\x90\xdc\x17\xf6\x6f\xf1\x2e\x2b\x6b\xe7\x92\xe8\x7c\xb8\xb0\x2a\xeb\xef\xef\x0e\xfc\xff\x47\xda\xba\x06\xa8\xb6\x6e\x45\x64\xcc\x72\x6f\xd7\xba\xdb\xc8\xbf\x01\x00\x00\xff\xff\x5f\x71\xee\xbf\x90\x05\x00\x00") +var _yaoLangsZhCnGlobalYml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x74\x54\xdd\x4e\x1b\x47\x14\xbe\x9f\xa7\x38\x1a\x09\xa9\x95\xaa\x3e\xc0\xde\xa1\xe0\xb4\x96\x12\x62\xc5\xb4\xea\xed\xb2\x3b\x98\xad\xec\x9d\xd5\xec\x1a\x9a\x5e\x41\x09\x60\x30\xc6\x46\xfc\x85\xb0\xfc\x2c\x18\xb1\x51\x83\xed\x34\x69\xa0\xc6\x86\x77\x41\x9e\xd9\xf5\x55\x5f\xa1\x9a\x59\x03\x8a\xa3\xde\xed\xce\x7c\xf3\x9d\x73\xbe\xf3\x9d\x93\xf5\x74\xe6\x41\xca\xce\x59\x36\xd1\x00\xf3\x5a\x93\xaf\x86\xf1\x87\xa0\xd7\x39\xe6\xed\xad\x68\x2b\xe4\x9d\x6d\xb1\xb9\x8e\xd1\x0b\x9b\x00\x65\x50\xa0\x8c\x80\xce\x72\xc5\x02\xb1\x3d\x17\x74\x46\xc0\xa6\x1e\x18\x94\x31\x62\x78\x92\xa1\xfa\x87\xd8\x6e\xf5\xb7\xf6\xe2\x66\x13\xa3\x51\xc7\xc9\x5b\x86\xee\x59\xd4\x06\xd3\x92\x10\xca\x5e\x69\x80\xc5\xda\x32\x6f\xbc\x4d\x22\xc4\x97\x4d\x7e\xf3\x1a\xa3\x94\x3d\x63\x31\x6a\x4b\x62\x98\xb2\xf2\xe4\x01\x16\xad\x37\xf9\xc9\x02\xaf\xbe\xe9\x2f\x57\xc5\xce\x72\xef\xfa\x33\x46\x3f\x92\xbc\x03\x53\x94\xc1\x2b\x9d\x4a\xe0\x9b\x9b\xa8\xde\xe6\x1b\xdd\xde\x75\x9d\x5f\x35\xf8\xea\x3b\xb1\xb3\x2c\x82\x53\x8c\xb2\xd3\x74\x16\x74\xc7\x01\x83\xda\x53\x56\xae\xc8\xc8\x23\x5c\x85\xef\x2f\x56\xa2\x6e\xa3\x77\x1b\x88\xf9\x26\x46\x3f\x39\xa6\xee\x11\x30\x75\x4f\x9f\xd4\x5d\x02\xae\x31\x4d\x0a\xba\x7c\xb2\xff\x49\xec\xb4\xc4\x76\x4b\x54\x1a\x71\x10\x46\xd7\x9b\xe2\x50\x26\xfd\x1b\x31\x8a\x1e\x01\x87\x51\x83\xb8\xae\x06\x38\xbe\xad\xc5\xc1\x1a\xaf\xbf\x8e\x6a\x4b\x7c\x2f\x1c\x64\x30\x43\x98\x6b\x51\xfb\x31\x76\x77\x93\xaf\x54\xa2\x95\x92\xf0\xdf\xf3\xea\x25\x46\x63\x64\x86\xe4\xa9\xa3\xaa\x2f\x50\x53\x66\xd9\xeb\xde\xaa\x06\xcc\xf1\xea\x86\x08\x03\xde\xa9\x26\xed\x91\x52\xe9\x93\x79\x62\x42\xd1\x76\x3d\xf9\x05\x53\x44\xf7\x8a\x8c\xb8\x49\x0b\xe5\xab\xa5\x45\xf1\x77\x99\xaf\x1e\xc5\x0b\x5d\x8c\xf0\x53\xdd\xd3\xf3\x1a\x8c\xb8\x58\x22\xea\x1f\xe2\x4f\x67\xea\x0f\x65\x09\x9b\xb1\x0c\x02\xae\x47\x1d\x87\x98\x32\x3f\xbf\xc2\x57\x03\x7e\xf9\x17\x5f\xfc\xd8\xdf\xbd\xc0\x68\x34\x93\xd6\x00\xc3\x68\x26\x2d\xd6\xcf\x78\xf5\x54\x9d\xc0\x33\xcb\x95\xed\x1e\xcd\xa4\x79\x69\x37\x0e\x42\x8c\x5e\x52\xaa\x0c\xa0\x54\x8d\xf6\x1b\xbc\xbb\x8d\xd1\x53\x46\x6d\x8f\xd8\x92\x98\xaf\x54\x78\xb5\xc5\xfd\x16\x3f\x98\xc3\x68\x4c\x77\xa7\x27\xa9\xce\xe4\x4d\xd4\x08\xa4\x58\xb5\x75\x5e\x6d\x61\x34\x4e\x3d\x20\x36\x2d\xe6\xa6\x1f\x8d\x36\x64\x2c\x0d\xa2\x4e\x9b\xb7\x36\x92\x33\x8c\xf0\xcb\xa2\x7d\x5f\x5d\xa2\x7f\x52\x1d\x1e\x7d\x24\x18\xd4\xfe\x05\x8b\xc2\x8c\xb8\xf0\x92\xb8\x0e\xb5\x5d\x22\x11\x23\x2e\xc4\xb7\x5b\x7c\xff\x50\xb5\xd8\xc7\x08\x0f\x3c\x91\x58\x41\x35\x47\x49\x09\xdf\x8c\xb8\xdf\x02\x7e\xf0\xc6\x83\x2b\x86\x20\x18\x3d\x97\xff\x60\xeb\x05\xe5\xbd\x30\xe0\x87\x65\x5e\xab\x44\xe7\x2d\x8c\xd2\xb6\xe5\x59\x7a\xde\xfa\x5d\x59\xe8\xd7\x64\x86\xfa\xc1\x3f\x52\xbf\xd2\x01\x3f\x2f\xf3\xb5\x1d\x8c\xee\xfc\x70\xec\xc5\x78\xea\xce\x0f\x35\xc0\x77\x7e\xc8\x1b\x6b\xa2\x54\xbb\xf3\x43\x8c\xf0\x78\xea\x97\x09\x4d\x66\xd1\xbb\x2a\xf7\xae\xe6\xc4\xc5\x99\x86\x91\xec\x0e\xb1\x2d\x3b\x27\x3b\x07\x00\xd1\xfe\x06\xaf\xbd\x57\x44\xcf\xd2\xd9\x89\xd4\x78\x7a\xfc\x87\x07\xb6\xa4\xe3\xe2\xe2\x94\xfb\x61\xa2\x9e\x62\xbe\xf3\xc3\xec\xc4\x8b\x4c\x26\x35\x36\x84\x94\xde\x98\xf7\xc5\xc5\x89\x82\x65\x89\x2b\x9d\x9d\xa1\x4c\xa6\xde\xeb\xbc\x8d\x9b\x07\x09\x2e\xfa\xb3\xa9\xec\xf2\x94\x32\x83\x40\xc1\xca\x31\xdd\x53\x4b\xa6\xd3\xe6\xa5\xcf\xff\x33\x50\xcf\x13\x18\x58\xae\x5a\x2c\x7a\x3e\x4f\x67\x89\x09\xd4\x96\xfa\x98\x45\x43\xad\x12\x29\xf0\xf7\x1a\xe0\x7b\x70\xef\xaa\x12\x2f\x74\xf9\x52\x25\xda\x3a\xea\xb5\xcf\x93\x85\x21\xf5\x50\x13\x84\x51\x26\x4f\xe4\x30\xab\x15\xc0\x0a\xdf\x81\x37\x9d\x8c\x38\x18\xba\x2d\xa3\x4c\x12\x60\xc4\xa0\x33\x84\xc9\x11\x88\x9b\x97\x51\xd0\x88\x1b\x75\x5e\x3a\xee\xef\xd5\xff\xed\xac\x25\x1f\xbc\xb6\x9e\xa4\x2b\x76\x8f\xc5\xc7\x6d\x31\x7f\xc2\xeb\x15\xf4\x84\x11\x55\x16\x2f\xed\xf3\xeb\x36\x4a\x99\x96\x27\xed\xb9\x13\xdf\x6c\xa0\x9f\x2d\x32\xab\x81\x38\x3a\x8b\xfc\x32\x7a\x92\x44\xd7\x20\x21\x47\x4e\x92\x94\x65\x3b\x45\x4f\x05\x8d\x6f\x36\xf9\xe2\xd9\x7d\xb2\x5f\x9d\x0f\xf0\x2e\xc9\x2b\x97\xc4\xcd\xcb\xfe\xdc\x8a\x28\xbf\xbb\x7f\xf0\xf5\x45\xb2\x26\x34\x90\x2b\xa4\xd6\x44\x63\x96\x3b\xf8\x57\x93\x8d\xc8\x97\xd7\xe6\xd0\xf5\x60\xc9\x0c\x3f\x37\x87\xde\x9b\xc3\x04\x8f\x80\xff\x02\x00\x00\xff\xff\xd3\x5c\x6c\xe9\x5d\x06\x00\x00") func yaoLangsZhCnGlobalYmlBytes() ([]byte, error) { return bindataRead( @@ -716,7 +716,7 @@ func yaoLangsZhCnGlobalYml() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "yao/langs/zh-cn/global.yml", size: 1424, mode: os.FileMode(420), modTime: time.Unix(1666102858, 0)} + info := bindataFileInfo{name: "yao/langs/zh-cn/global.yml", size: 1629, mode: os.FileMode(420), modTime: time.Unix(1666415327, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -736,7 +736,7 @@ func yaoLangsZhCnLoginsAdminLoginYml() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "yao/langs/zh-cn/logins/admin.login.yml", size: 94, mode: os.FileMode(420), modTime: time.Unix(1666102858, 0)} + info := bindataFileInfo{name: "yao/langs/zh-cn/logins/admin.login.yml", size: 94, mode: os.FileMode(420), modTime: time.Unix(1666415327, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -756,12 +756,12 @@ func yaoLangsZhCnLoginsUserLoginYml() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "yao/langs/zh-cn/logins/user.login.yml", size: 90, mode: os.FileMode(420), modTime: time.Unix(1666102858, 0)} + info := bindataFileInfo{name: "yao/langs/zh-cn/logins/user.login.yml", size: 90, mode: os.FileMode(420), modTime: time.Unix(1666415327, 0)} a := &asset{bytes: bytes, info: info} return a, nil } -var _yaoLangsZhHkGlobalYml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x74\x54\x5d\x4f\x1b\x47\x14\x7d\x9f\x5f\x71\x35\x12\x52\xfb\xd2\x1f\xb0\x6f\xa8\x38\xad\xa5\x04\x2c\x4c\xab\xbe\x2e\xf6\x60\xb6\x5a\xcf\xac\x76\xd6\xd0\xf4\x29\xd4\x25\xc6\xac\x1d\x43\xc1\x46\x84\x0d\xae\xf9\x10\x9b\x10\x6c\x93\x36\xe0\x82\x1d\xfe\x0b\xf2\xcc\xae\xff\x45\x35\xbb\xc6\x51\xa9\xf2\xe6\x99\x3d\x3e\x73\xef\x39\xe7\xde\xb4\xa3\xdb\x0e\x24\x68\xce\xa0\x44\x03\x2c\xea\x4d\xe1\xd6\x45\xb1\x26\x7e\xfb\x4b\x96\xca\xc1\xae\x2f\xfa\x75\xb9\xf3\x0a\xa3\x39\x4a\x80\xd9\x90\x67\x36\x01\xdd\xce\x15\xf2\x84\x3a\x1c\x74\x9b\x00\x65\x0e\x64\x98\x6d\x93\x8c\xa3\x18\x6a\x45\x59\xef\x8d\x2a\x9d\xf0\xdd\x09\x46\xd3\x96\x65\x1a\x19\xdd\x31\x18\x85\xac\xa1\x20\xcc\x7e\xae\x01\x96\x95\x92\x68\xbf\x8e\x5f\x08\xaf\x3b\xe2\xd3\x36\x46\x09\xba\x62\xd8\x8c\x2a\x62\x58\x32\x4c\x32\x81\x05\x7f\x74\xc5\x51\x31\x6c\x6f\x8e\x4a\x35\xd9\x28\x0d\x6f\xaf\x30\xfa\x9e\x98\x16\x2c\x31\x1b\x9e\xeb\x4c\x03\x3c\x6a\x75\x82\x93\x1b\xb1\x3d\x18\xde\x9e\x88\x7f\xce\xc5\xe6\x5b\xd9\x28\xc9\x77\xbb\x18\xa5\x97\xd9\x2a\xe8\x96\x05\x19\x46\x97\x8c\x5c\xc1\x26\x13\x78\xfc\xfc\x68\xbd\x1a\x0c\xda\xc3\xbb\x96\x5c\xeb\x60\xf4\x83\x95\xd5\x1d\x02\x59\xdd\xd1\x17\x75\x4e\x80\x67\x96\x49\x5e\x57\xa5\x1c\xfc\x2d\x1b\x5d\x59\xef\xc9\x9d\xd7\x61\xcb\x0f\x3e\x6e\xc9\x33\x17\xa3\xc4\x2f\x24\x53\x70\x08\x58\x36\xcb\x10\xce\x15\xf7\x9a\x1b\xb6\x2a\xe1\x7e\x3d\xd8\x7a\x29\xf6\xfd\x71\x05\x2b\xc4\xe6\x06\xa3\x93\xb7\x83\xfa\x95\x28\x57\x83\xf2\x86\xf4\xde\x87\xfb\x4d\x8c\x66\xc8\x0a\x31\x99\x15\x75\x9f\x67\x59\x55\xe5\x70\x70\xa7\xea\x6b\xb8\xc1\x7e\x5f\xfa\x2d\xd1\xaf\xc5\xf6\x28\xa9\xf4\x45\x93\x64\xa1\x40\xb9\xa3\x7e\xc1\x12\xd1\x9d\x82\x4d\x78\x6c\xa1\xb2\x6d\xfd\x4c\xf6\xde\x8b\xcd\x66\x58\x1c\x60\x84\x9f\xe8\x8e\x6e\x6a\x30\xc5\xb1\x42\x9c\x5c\xca\xfa\x5e\x74\x42\x69\x62\xaf\x18\x19\x02\xdc\x61\x96\x45\xb2\xaa\x51\xaf\x2a\xdc\x7d\x71\xfd\x61\xb4\xe7\x8d\x1a\x65\x8c\xa6\x53\x49\x0d\x30\x4c\xa7\x92\xf2\xd5\xa9\xa8\x1d\x47\x37\xf0\xd4\xe0\xca\xee\xe9\x54\x52\x6c\xec\x85\x2d\x1f\xa3\x79\xc6\xd4\x4d\xac\x6a\x70\xd0\x1e\x55\x7e\xc7\xe8\x89\xcd\xa8\x43\xa8\x22\x16\xe5\xaa\xa8\x75\x85\xd7\x15\x6f\x5e\x60\x34\xa3\xf3\xe5\x45\xa6\xdb\xea\x4b\xd0\x6e\x29\xb1\x3e\x55\x44\xad\x8b\xd1\x2c\x73\x80\x50\x56\xc8\x2d\x7f\x0e\xda\xa3\x60\x69\x10\xf4\x6f\x44\x77\x3b\xbe\xc3\x08\xcf\x17\xe8\x43\x77\xb1\xfe\x71\x77\x78\xfa\x33\xc1\xb8\xf7\xff\xb0\x44\x98\x29\x0e\xf3\x84\x5b\x8c\x72\xa2\x10\x53\x1c\xc2\xbb\x5d\x71\x70\xa8\x2c\x3e\xf4\x30\xc2\xe3\x4c\xc4\x51\x88\xcc\x89\xa4\x84\xaf\xa6\xf8\xd7\x80\x27\xd9\x98\xa4\xe2\x11\x04\xa3\x67\xea\x0c\x54\xcf\x47\x99\xf6\x5b\xe2\xd0\x15\x5b\xd5\xc0\xbf\xc4\x28\x49\x0d\xc7\xd0\x4d\xe3\xd7\x28\x42\x3f\xc7\x33\x34\xfa\x73\x3d\x38\x68\x8b\x8d\x37\xe2\xcc\x15\x95\x06\x46\xf7\x9e\x3f\x33\x37\x9b\xb8\xf7\x7c\x0d\xf0\xbd\xe7\x8b\x76\x45\x6e\x6c\xdd\x7b\x3e\x46\x78\x36\xf1\xd3\x82\xa6\xaa\x18\xf6\xdc\x61\xef\x85\xbc\x38\xd5\x30\x52\xee\x10\x6a\xd0\x9c\x72\x0e\x00\x82\x83\xe3\x70\x6d\x10\x11\x3d\x4d\xa6\x17\x12\xb3\xc9\xd9\xef\x26\x6c\xb1\xe3\xf2\xe2\x58\x78\x7e\xac\x5e\xc4\x7c\xef\xf9\xe9\x85\xb9\x54\x2a\x31\xf3\x08\x29\xae\x3f\x88\x35\x4f\x5e\x1c\x45\xb0\x34\xe1\x2a\xd9\x29\x66\x47\xee\x7b\xc5\xf0\xed\x65\x8c\x0b\xce\x3b\x51\x5c\x9e\x30\x3b\x43\x20\x6f\xe4\x6c\xdd\x89\x96\x4c\xff\x5a\x6c\x5c\x7d\x61\xa0\x9e\xc5\x30\x30\x78\xb4\x58\x74\xd3\x64\xab\x24\x0b\x8c\x2a\x7d\xb2\x85\x4c\xb4\x4a\x94\xc0\xdf\x68\x80\x1f\xc0\xc3\x5e\x35\x2c\x0e\xc4\xcb\x6a\xb0\xdb\x0c\x76\x8f\xe2\x85\xa1\xf4\x88\x26\x08\xa3\x6f\x6d\x12\x3d\x2d\xca\x1f\xc5\xed\x0d\x4a\x64\x0d\x47\x83\xe0\xda\x0f\xfb\x1d\xf4\xa3\x41\x56\x35\x90\xcd\xd3\xc0\x73\x91\x65\x12\x35\xf5\x06\xb5\x0a\x8e\x06\xe1\xb9\x1b\xf6\x7b\x62\xfd\x14\xa5\xbe\x70\x3f\xc6\x73\x62\x46\xce\x85\xe7\xee\x68\xad\x27\x77\x4a\x0f\x7f\xf8\xff\x87\x78\x74\x35\x18\x35\x5c\x51\x6f\xa2\x19\x83\x8f\xcf\xd1\xb4\xa1\x7f\x03\x00\x00\xff\xff\xf5\x50\xf4\x7f\x90\x05\x00\x00") +var _yaoLangsZhHkGlobalYml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x74\x54\xdd\x6e\x1a\x47\x14\xbe\x9f\xa7\x38\x1a\xc9\x52\x2b\x55\x7d\x80\xbd\xb3\x62\xd2\x22\x25\x0e\x0a\x69\xd5\xdb\xf5\xee\x18\x6f\x05\x3b\xab\xd9\xc5\x69\x7a\x15\x4a\x1c\x20\x0b\xc1\x69\x0c\x11\xf1\x26\x14\xc7\x56\xd6\x76\x0c\x38\x69\x6c\x6a\x83\xfd\x2e\x16\x33\xbb\x5c\xf5\x15\xaa\xd9\xc5\x58\x21\xea\xdd\xee\xcc\x37\xdf\xf9\xf9\xbe\x73\xd2\x8e\xca\x1c\x48\x98\x19\xc3\x24\x0a\x60\xde\x68\x73\xb7\xc1\x8b\x75\xfe\xc7\x27\x51\xaa\x04\x5b\x3e\x1f\x36\xc4\xcb\xe7\x18\xdd\x33\x09\x50\x06\x39\xca\x08\xa8\x2c\x93\xcf\x11\xd3\xb1\x41\x65\x04\x4c\xea\x80\x46\x19\x23\x9a\x23\x19\xea\x45\xd1\x18\x4c\xaa\xbd\xf0\x60\x17\xa3\x45\xcb\xca\x1a\x9a\xea\x18\xd4\x04\xdd\x90\x10\xca\x1e\x29\x80\x45\xb5\xc4\xbb\xaf\xe3\x08\xe1\x69\x8f\x5f\xbc\xc0\x28\x61\xae\x1b\x8c\x9a\x92\x18\x56\x8d\x2c\x99\xc1\x82\x3f\xfb\x7c\xa7\x18\x76\x9f\x4d\x4a\x75\xd1\x2c\x8d\xcf\x4f\x30\xfa\x91\x64\x2d\x58\xa5\x0c\x1e\xa9\x54\x01\x3c\xe9\xf4\x82\xdd\x33\xfe\x62\x34\x3e\xdf\xe5\xff\x1c\xf2\x67\xfb\xa2\x59\x12\x07\x5b\x18\xa5\xd7\xe8\x43\x50\x2d\x0b\x34\x6a\xae\x1a\x99\x3c\x23\x33\x78\x1c\x7e\xb2\x51\x0b\x46\xdd\xf1\x65\x47\x14\x7a\x18\xfd\x64\xe9\xaa\x43\x40\x57\x1d\x75\x45\xb5\x09\xd8\xda\x1a\xc9\xa9\x32\x95\xed\xbf\x45\xb3\x2f\x1a\x03\xf1\xf2\x75\xd8\xf1\x83\xcf\x9b\xe2\xbd\x8b\x51\xe2\x37\xa2\xe5\x1d\x02\x16\xa3\x1a\xb1\x6d\xc9\x5d\x70\xc3\x4e\x35\x6c\x35\x82\xcd\xa7\xbc\xe5\x4f\x33\x58\x27\xcc\x36\xa8\x39\x8b\x1d\x34\x4e\x78\xa5\x16\x54\xca\xc2\xfb\x10\xb6\xda\x18\x2d\x91\x75\x92\xa5\x56\x54\x7d\x8e\xea\x32\xcb\xf1\xe8\x52\xe6\xd7\x74\x83\xd6\x50\xf8\x1d\x3e\xac\xc7\xf2\xc8\x56\xa9\x2b\x59\xa2\x43\xde\xb4\x1d\xf9\x05\xab\x44\x75\xf2\x8c\xd8\xb1\x84\x52\xb6\x8d\xf7\x62\xf0\x81\x3f\x6b\x87\xc5\x11\x46\xf8\xb6\xea\xa8\x59\x05\x16\x6c\x2c\x11\xbb\xc7\xa2\xf1\x2a\xfa\x43\x69\xc2\xd6\x0d\x8d\x80\xed\x50\xcb\x22\xba\x2c\xd4\xab\x71\xb7\xc5\x4f\x3f\x4e\x5e\x79\x93\x66\x05\xa3\xc5\x54\x52\x01\x0c\x8b\xa9\xa4\x78\xbe\xc7\xeb\xef\xa2\x13\xb8\x63\xd8\x52\xee\xc5\x54\x92\x97\x5f\x85\x1d\x1f\xa3\xfb\x94\xca\x93\xb8\xab\xc1\x76\x77\x52\x7d\x82\xd1\x6d\x46\x4d\x87\x98\x92\x98\x57\x6a\xbc\xde\xe7\x5e\x9f\xbf\x79\x8c\xd1\x92\x6a\xaf\xad\x50\x95\xc9\x9b\xa0\xdb\x91\xcd\xba\xa8\xf2\x7a\x1f\xa3\x65\xea\x00\x31\x69\x3e\xb3\x76\x63\xb4\x39\x63\x29\x10\x0c\xcf\x78\xff\x45\x7c\x86\x11\xbe\x9f\x37\xaf\xab\x8b\xfb\x1f\x57\x87\x17\x6f\x08\xa6\xb5\x7f\xc1\x12\x61\x16\x6c\xb8\x4f\x6c\x8b\x9a\x36\x91\x88\x05\x1b\xc2\xcb\x2d\xbe\xfd\x56\x4a\xfc\xd6\xc3\x08\x4f\x3d\x11\x5b\x21\x12\x27\x6a\x25\x7c\xb3\x60\x7f\x0b\x78\xe6\x8d\x99\x2b\xe6\x20\x18\xdd\x95\xff\x60\xaa\xb9\xc8\xd3\x7e\x87\xbf\x75\xf9\x66\x2d\xf0\x8f\x31\x4a\x9a\x86\x63\xa8\x59\xe3\xf7\xc8\x42\xbf\xc6\x33\x34\xf9\x6b\x23\xd8\xee\xf2\xf2\x1b\xfe\xde\xe5\xd5\x26\x46\x57\x9e\xbf\x74\x6f\x39\x71\xe5\xf9\x0a\xe0\x2b\xcf\xe7\xdd\xaa\x28\x6f\x5e\x79\x3e\x46\x78\x39\xf1\xcb\x03\x45\x66\x31\x1e\xb8\xe3\xc1\x63\x71\xb4\xa7\x60\x24\xd5\x21\xa6\x61\x66\xa4\x72\x00\x10\x6c\xbf\x0b\x0b\xa3\x88\xe8\x4e\x32\xfd\x20\xb1\x9c\x5c\xfe\x61\xc6\x16\x2b\x2e\x8e\xde\x71\xcf\x8f\xbb\x17\x31\x5f\x79\x7e\xfa\xc1\xbd\x54\x2a\xb1\x34\x87\xe4\xa7\x1f\x79\xc1\x13\x47\x3b\x11\x2c\x4d\x6c\xe9\xec\x14\x65\x91\xfa\x5e\x31\xdc\x3f\x8e\x71\xc1\x61\x2f\xb2\xcb\x6d\xca\x34\x02\x39\x23\xc3\x54\x27\x5a\x32\xc3\x53\x5e\x3e\xf9\x9f\x81\xba\x1b\xc3\xc0\xb0\xa3\xc5\xa2\x66\xb3\xf4\x21\xd1\x81\x9a\xb2\x3f\x7a\x5e\x8b\x56\x89\x6c\xf0\xf7\x0a\xe0\x6b\xf0\x78\x50\x0b\x8b\x23\xfe\xb4\x16\x6c\xb5\x83\xad\x9d\x78\x61\xc8\x7e\x44\x13\x84\x51\x2a\x4b\xe4\x30\x47\x2b\x80\xe5\xbe\x03\x67\x2d\x1e\x71\xd0\x54\x53\x46\x59\x21\xc0\x88\x46\xd7\x09\x93\x23\x10\x1e\xba\xc1\xce\x59\x78\x50\xe3\xe5\x83\x49\x6b\xf7\xdf\x61\x35\xfe\xe0\x17\xd5\x38\xdd\xe0\x49\x47\x7c\x6a\x88\xc2\x0e\xbf\xd8\x47\xb7\x18\x89\xca\xe2\x95\xcf\xfc\xfc\x0c\x25\x74\xc3\x51\x20\x38\xf5\xc3\x61\x0f\xfd\x6c\x90\x87\x0a\x88\xf6\x5e\xe0\xb9\xe8\x56\x1c\x5d\x81\x98\x1c\x59\x71\x52\x86\x69\xe5\x9d\x28\x68\x38\x1c\xf0\x8d\xbd\xeb\x64\xbf\x3a\x9f\xe2\x6d\x92\x8d\x5c\x12\x1e\xba\x93\xc2\x40\xbc\x2c\x5d\x3f\xf8\xfa\x22\x5e\x13\x0a\x4c\x9a\x2e\x6f\xb4\xd1\x92\x61\x4f\xff\xa3\xc9\x46\xe4\xcb\x6b\x7d\xee\x7a\xba\x64\xe6\x9f\xeb\x73\xef\xf5\x79\x82\x1b\xc0\x7f\x01\x00\x00\xff\xff\x1f\xac\x05\xcc\x5d\x06\x00\x00") func yaoLangsZhHkGlobalYmlBytes() ([]byte, error) { return bindataRead( @@ -776,7 +776,7 @@ func yaoLangsZhHkGlobalYml() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "yao/langs/zh-hk/global.yml", size: 1424, mode: os.FileMode(420), modTime: time.Unix(1666102858, 0)} + info := bindataFileInfo{name: "yao/langs/zh-hk/global.yml", size: 1629, mode: os.FileMode(420), modTime: time.Unix(1666415327, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -796,7 +796,7 @@ func yaoLangsZhHkLoginsAdminLoginYml() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "yao/langs/zh-hk/logins/admin.login.yml", size: 94, mode: os.FileMode(420), modTime: time.Unix(1666102858, 0)} + info := bindataFileInfo{name: "yao/langs/zh-hk/logins/admin.login.yml", size: 94, mode: os.FileMode(420), modTime: time.Unix(1666415327, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -816,7 +816,7 @@ func yaoLangsZhHkLoginsUserLoginYml() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "yao/langs/zh-hk/logins/user.login.yml", size: 90, mode: os.FileMode(420), modTime: time.Unix(1666102858, 0)} + info := bindataFileInfo{name: "yao/langs/zh-hk/logins/user.login.yml", size: 90, mode: os.FileMode(420), modTime: time.Unix(1666415327, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -836,7 +836,7 @@ func yaoModelsReadmeMd() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "yao/models/README.md", size: 15, mode: os.FileMode(420), modTime: time.Unix(1666102858, 0)} + info := bindataFileInfo{name: "yao/models/README.md", size: 15, mode: os.FileMode(420), modTime: time.Unix(1666415327, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -856,7 +856,7 @@ func yaoModelsMenuModJson() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "yao/models/menu.mod.json", size: 2378, mode: os.FileMode(420), modTime: time.Unix(1666102858, 0)} + info := bindataFileInfo{name: "yao/models/menu.mod.json", size: 2378, mode: os.FileMode(420), modTime: time.Unix(1666415327, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -876,7 +876,7 @@ func yaoModelsUserModJson() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "yao/models/user.mod.json", size: 8826, mode: os.FileMode(420), modTime: time.Unix(1666102858, 0)} + info := bindataFileInfo{name: "yao/models/user.mod.json", size: 8826, mode: os.FileMode(420), modTime: time.Unix(1666415327, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -896,7 +896,7 @@ func yaoModelsWorkflowModJson() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "yao/models/workflow.mod.json", size: 3333, mode: os.FileMode(420), modTime: time.Unix(1666102858, 0)} + info := bindataFileInfo{name: "yao/models/workflow.mod.json", size: 3333, mode: os.FileMode(420), modTime: time.Unix(1666415327, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -916,7 +916,7 @@ func yaoTablesReadmeMd() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "yao/tables/README.md", size: 15, mode: os.FileMode(420), modTime: time.Unix(1666102858, 0)} + info := bindataFileInfo{name: "yao/tables/README.md", size: 15, mode: os.FileMode(420), modTime: time.Unix(1666415327, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -936,7 +936,7 @@ func yaoTablesMenuTabJson() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "yao/tables/menu.tab.json", size: 10471, mode: os.FileMode(420), modTime: time.Unix(1666102858, 0)} + info := bindataFileInfo{name: "yao/tables/menu.tab.json", size: 10471, mode: os.FileMode(420), modTime: time.Unix(1666415327, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -956,7 +956,7 @@ func yaoTablesUserTabJson() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "yao/tables/user.tab.json", size: 2357, mode: os.FileMode(420), modTime: time.Unix(1666102858, 0)} + info := bindataFileInfo{name: "yao/tables/user.tab.json", size: 2357, mode: os.FileMode(420), modTime: time.Unix(1666415327, 0)} a := &asset{bytes: bytes, info: info} return a, nil } diff --git a/widgets/app/types.go b/widgets/app/types.go index 54ae6ce545..4c6ab30f77 100644 --- a/widgets/app/types.go +++ b/widgets/app/types.go @@ -15,6 +15,7 @@ type DSL struct { AdminRoot string `json:"adminRoot,omitempty"` Optional OptionalDSL `json:"optional,omitempty"` Setting string `json:"setting,omitempty"` // custom setting process + Setup string `json:"setup,omitempty"` // setup process } // MenuDSL the menu DSL diff --git a/widgets/expression/expression_test.go b/widgets/expression/expression_test.go index 6fc7e5de9f..40da72c2b8 100644 --- a/widgets/expression/expression_test.go +++ b/widgets/expression/expression_test.go @@ -135,9 +135,9 @@ func TestReplaceMap(t *testing.T) { err := Replace(&mapv, data) assert.Nil(t, err) assert.Equal(t, "::please select Bar", mapv["placeholder"]) - assert.Equal(t, "Hello", mapv["options"].([]map[string]interface{})[0]["label"]) + assert.Equal(t, "::Hello", mapv["options"].([]map[string]interface{})[0]["label"]) assert.Equal(t, "Hello", mapv["options"].([]map[string]interface{})[0]["value"]) - assert.Equal(t, "World", mapv["options"].([]map[string]interface{})[1]["label"]) + assert.Equal(t, "::World", mapv["options"].([]map[string]interface{})[1]["label"]) assert.Equal(t, "World", mapv["options"].([]map[string]interface{})[1]["value"]) } @@ -149,9 +149,9 @@ func TestReplaceSlice(t *testing.T) { assert.Nil(t, err) assert.Equal(t, 2, len(arrv)) assert.Equal(t, "::please select Bar", arrv[0]) - assert.Equal(t, "Hello", arrv[1].([]map[string]interface{})[0]["label"]) + assert.Equal(t, "::Hello", arrv[1].([]map[string]interface{})[0]["label"]) assert.Equal(t, "Hello", arrv[1].([]map[string]interface{})[0]["value"]) - assert.Equal(t, "World", arrv[1].([]map[string]interface{})[1]["label"]) + assert.Equal(t, "::World", arrv[1].([]map[string]interface{})[1]["label"]) assert.Equal(t, "World", arrv[1].([]map[string]interface{})[1]["value"]) } @@ -162,17 +162,17 @@ func TestReplaceNest(t *testing.T) { err := Replace(&nestv, data) assert.Nil(t, err) assert.Equal(t, "::please select Bar", nestv["placeholder"]) - assert.Equal(t, "Hello", nestv["options"].([]map[string]interface{})[0]["label"]) + assert.Equal(t, "::Hello", nestv["options"].([]map[string]interface{})[0]["label"]) assert.Equal(t, "Hello", nestv["options"].([]map[string]interface{})[0]["value"]) - assert.Equal(t, "World", nestv["options"].([]map[string]interface{})[1]["label"]) + assert.Equal(t, "::World", nestv["options"].([]map[string]interface{})[1]["label"]) assert.Equal(t, "World", nestv["options"].([]map[string]interface{})[1]["value"]) arrv := nestv["data"].([]interface{}) assert.Equal(t, 2, len(arrv)) assert.Equal(t, "::please select Bar", arrv[0]) - assert.Equal(t, "Hello", arrv[1].([]map[string]interface{})[0]["label"]) + assert.Equal(t, "::Hello", arrv[1].([]map[string]interface{})[0]["label"]) assert.Equal(t, "Hello", arrv[1].([]map[string]interface{})[0]["value"]) - assert.Equal(t, "World", arrv[1].([]map[string]interface{})[1]["label"]) + assert.Equal(t, "::World", arrv[1].([]map[string]interface{})[1]["label"]) assert.Equal(t, "World", arrv[1].([]map[string]interface{})[1]["value"]) } @@ -184,17 +184,17 @@ func TestReplaceStruct(t *testing.T) { assert.Nil(t, err) assert.Equal(t, "Bar", structv.Name) - assert.Equal(t, "Hello", structv.Map["options"].([]map[string]interface{})[0]["label"]) + assert.Equal(t, "::Hello", structv.Map["options"].([]map[string]interface{})[0]["label"]) assert.Equal(t, "Hello", structv.Map["options"].([]map[string]interface{})[0]["value"]) - assert.Equal(t, "World", structv.Map["options"].([]map[string]interface{})[1]["label"]) + assert.Equal(t, "::World", structv.Map["options"].([]map[string]interface{})[1]["label"]) assert.Equal(t, "World", structv.Map["options"].([]map[string]interface{})[1]["value"]) arrv := structv.Slice assert.Equal(t, 2, len(arrv)) assert.Equal(t, "::please select Bar", arrv[0]) - assert.Equal(t, "Hello", arrv[1].([]map[string]interface{})[0]["label"]) + assert.Equal(t, "::Hello", arrv[1].([]map[string]interface{})[0]["label"]) assert.Equal(t, "Hello", arrv[1].([]map[string]interface{})[0]["value"]) - assert.Equal(t, "World", arrv[1].([]map[string]interface{})[1]["label"]) + assert.Equal(t, "::World", arrv[1].([]map[string]interface{})[1]["label"]) assert.Equal(t, "World", arrv[1].([]map[string]interface{})[1]["value"]) } @@ -276,9 +276,9 @@ func TestReplaceAny(t *testing.T) { res, ok := anyv.([]map[string]interface{}) assert.True(t, ok) assert.Equal(t, 2, len(res)) - assert.Equal(t, "Hello", res[0]["label"]) + assert.Equal(t, "::Hello", res[0]["label"]) assert.Equal(t, "Hello", res[0]["value"]) - assert.Equal(t, "World", res[1]["label"]) + assert.Equal(t, "::World", res[1]["label"]) assert.Equal(t, "World", res[1]["value"]) anyv = 1024 @@ -293,9 +293,9 @@ func TestReplaceAny(t *testing.T) { err = Replace(&anyv, data) assert.Nil(t, err) assert.Equal(t, "::please select Bar", anyv.(TestMap)["placeholder"]) - assert.Equal(t, "Hello", anyv.(TestMap)["options"].([]map[string]interface{})[0]["label"]) + assert.Equal(t, "::Hello", anyv.(TestMap)["options"].([]map[string]interface{})[0]["label"]) assert.Equal(t, "Hello", anyv.(TestMap)["options"].([]map[string]interface{})[0]["value"]) - assert.Equal(t, "World", anyv.(TestMap)["options"].([]map[string]interface{})[1]["label"]) + assert.Equal(t, "::World", anyv.(TestMap)["options"].([]map[string]interface{})[1]["label"]) assert.Equal(t, "World", anyv.(TestMap)["options"].([]map[string]interface{})[1]["value"]) anyv = testSlice() @@ -303,26 +303,26 @@ func TestReplaceAny(t *testing.T) { assert.Nil(t, err) assert.Equal(t, 2, len(anyv.([]interface{}))) assert.Equal(t, "::please select Bar", anyv.([]interface{})[0]) - assert.Equal(t, "Hello", anyv.([]interface{})[1].([]map[string]interface{})[0]["label"]) + assert.Equal(t, "::Hello", anyv.([]interface{})[1].([]map[string]interface{})[0]["label"]) assert.Equal(t, "Hello", anyv.([]interface{})[1].([]map[string]interface{})[0]["value"]) - assert.Equal(t, "World", anyv.([]interface{})[1].([]map[string]interface{})[1]["label"]) + assert.Equal(t, "::World", anyv.([]interface{})[1].([]map[string]interface{})[1]["label"]) assert.Equal(t, "World", anyv.([]interface{})[1].([]map[string]interface{})[1]["value"]) anyv = testNest() err = Replace(&anyv, data) assert.Nil(t, err) assert.Equal(t, "::please select Bar", anyv.(TestMap)["placeholder"]) - assert.Equal(t, "Hello", anyv.(TestMap)["options"].([]map[string]interface{})[0]["label"]) + assert.Equal(t, "::Hello", anyv.(TestMap)["options"].([]map[string]interface{})[0]["label"]) assert.Equal(t, "Hello", anyv.(TestMap)["options"].([]map[string]interface{})[0]["value"]) - assert.Equal(t, "World", anyv.(TestMap)["options"].([]map[string]interface{})[1]["label"]) + assert.Equal(t, "::World", anyv.(TestMap)["options"].([]map[string]interface{})[1]["label"]) assert.Equal(t, "World", anyv.(TestMap)["options"].([]map[string]interface{})[1]["value"]) arrv := anyv.(TestMap)["data"].([]interface{}) assert.Equal(t, 2, len(arrv)) assert.Equal(t, "::please select Bar", arrv[0]) - assert.Equal(t, "Hello", arrv[1].([]map[string]interface{})[0]["label"]) + assert.Equal(t, "::Hello", arrv[1].([]map[string]interface{})[0]["label"]) assert.Equal(t, "Hello", arrv[1].([]map[string]interface{})[0]["value"]) - assert.Equal(t, "World", arrv[1].([]map[string]interface{})[1]["label"]) + assert.Equal(t, "::World", arrv[1].([]map[string]interface{})[1]["label"]) assert.Equal(t, "World", arrv[1].([]map[string]interface{})[1]["value"]) } diff --git a/widgets/expression/process.go b/widgets/expression/process.go index f4f8751121..db221ea4f2 100644 --- a/widgets/expression/process.go +++ b/widgets/expression/process.go @@ -25,7 +25,7 @@ func processSelectOption(process *gou.Process) interface{} { opts := strings.Split(input.(string), ",") for _, opt := range opts { options = append(options, map[string]interface{}{ - "label": strings.TrimSpace(opt), + "label": fmt.Sprintf("::%s", strings.TrimSpace(opt)), "value": strings.TrimSpace(opt), }) } @@ -38,7 +38,7 @@ func processSelectOption(process *gou.Process) interface{} { switch opt.(type) { case string, int, int64, int32, int8, float32, float64: options = append(options, map[string]interface{}{ - "label": strings.TrimSpace(fmt.Sprintf("%v", opt)), + "label": fmt.Sprintf("::%s", strings.TrimSpace(fmt.Sprintf("%v", opt))), "value": strings.TrimSpace(fmt.Sprintf("%v", opt)), }) break @@ -57,7 +57,7 @@ func processSelectOption(process *gou.Process) interface{} { row := any.Of(opt).MapStr() options = append(options, map[string]interface{}{ - "label": row.Get(key), + "label": fmt.Sprintf("::%s", row.Get(key)), "value": row.Get(value), }) break diff --git a/widgets/field/column_test.go b/widgets/field/column_test.go index 521ee3b1b4..fc41ca153f 100644 --- a/widgets/field/column_test.go +++ b/widgets/field/column_test.go @@ -20,9 +20,9 @@ func TestColumnReplace(t *testing.T) { assert.Equal(t, "Bar", new.Key) assert.Equal(t, "Foo", new.Bind) assert.Equal(t, "::please select Bar", new.Edit.Props["placeholder"]) - assert.Equal(t, "Hello", new.Edit.Props["options"].([]map[string]interface{})[0]["label"]) + assert.Equal(t, "::Hello", new.Edit.Props["options"].([]map[string]interface{})[0]["label"]) assert.Equal(t, "Hello", new.Edit.Props["options"].([]map[string]interface{})[0]["value"]) - assert.Equal(t, "World", new.Edit.Props["options"].([]map[string]interface{})[1]["label"]) + assert.Equal(t, "::World", new.Edit.Props["options"].([]map[string]interface{})[1]["label"]) assert.Equal(t, "World", new.Edit.Props["options"].([]map[string]interface{})[1]["value"]) } diff --git a/widgets/field/filter_test.go b/widgets/field/filter_test.go index 8d31bbac7e..f2c72da281 100644 --- a/widgets/field/filter_test.go +++ b/widgets/field/filter_test.go @@ -20,9 +20,9 @@ func TestFilterReplace(t *testing.T) { assert.Equal(t, "Bar", new.Key) assert.Equal(t, "Foo", new.Bind) assert.Equal(t, "::please select Bar", new.Edit.Props["placeholder"]) - assert.Equal(t, "Hello", new.Edit.Props["options"].([]map[string]interface{})[0]["label"]) + assert.Equal(t, "::Hello", new.Edit.Props["options"].([]map[string]interface{})[0]["label"]) assert.Equal(t, "Hello", new.Edit.Props["options"].([]map[string]interface{})[0]["value"]) - assert.Equal(t, "World", new.Edit.Props["options"].([]map[string]interface{})[1]["label"]) + assert.Equal(t, "::World", new.Edit.Props["options"].([]map[string]interface{})[1]["label"]) assert.Equal(t, "World", new.Edit.Props["options"].([]map[string]interface{})[1]["value"]) } diff --git a/widgets/table/layout.go b/widgets/table/layout.go index d66908f425..32aab55631 100644 --- a/widgets/table/layout.go +++ b/widgets/table/layout.go @@ -70,43 +70,41 @@ func (layout *LayoutDSL) BindModel(m *gou.Model, fields *FieldsDSL, option map[s } if hasForm { - layout.Table.Operation.Width = 160 + layout.Table.Operation.Width = 140 layout.Table.Operation.Hide = false layout.Table.Operation.Actions = append( layout.Table.Operation.Actions, component.ActionDSL{ - Title: "查看", + Title: "::View", Icon: "icon-eye", Action: map[string]component.ParamsDSL{ "Common.openModal": { - "width": 640, - "Form": map[string]interface{}{"type": "view", "model": formName}, + "Form": map[string]interface{}{"type": "view", "model": formName}, }, }, }, component.ActionDSL{ - Title: "编辑", + Title: "::Edit", Icon: "icon-edit-2", Action: map[string]component.ParamsDSL{ "Common.openModal": { - "width": 640, - "Form": map[string]interface{}{"type": "edit", "model": formName}, + "Form": map[string]interface{}{"type": "edit", "model": formName}, }, }, }, component.ActionDSL{ - Title: "删除", + Title: "::Delete", Icon: "icon-trash-2", Style: "danger", Action: map[string]component.ParamsDSL{ "Table.delete": {"model": formName}, }, Confirm: &component.ConfirmActionDSL{ - Title: "提示", - Desc: "确认删除,删除后数据无法恢复?", + Title: "::Confirm", + Desc: "::Please confirm, the data cannot be recovered", }, }, ) @@ -159,6 +157,17 @@ func (layout *LayoutDSL) BindTable(tab *DSL, fields *FieldsDSL) error { // Xgen trans to Xgen setting func (layout *LayoutDSL) Xgen() (map[string]interface{}, error) { res := map[string]interface{}{} + + if layout.Table != nil { + if layout.Table.Props == nil { + layout.Table.Props = component.PropsDSL{} + } + + if _, has := layout.Table.Props["scroll"]; !has { + layout.Table.Props["scroll"] = map[string]interface{}{"x": "max-content"} + } + } + data, err := jsoniter.Marshal(layout) if err != nil { return nil, err diff --git a/widgets/table/table.go b/widgets/table/table.go index fe817c88c2..8685460aea 100644 --- a/widgets/table/table.go +++ b/widgets/table/table.go @@ -80,11 +80,10 @@ var Tables map[string]*DSL = map[string]*DSL{} // New create a new DSL func New(id string) *DSL { return &DSL{ - ID: id, - Fields: &FieldsDSL{Filter: field.Filters{}, Table: field.Columns{}}, - CProps: field.CloudProps{}, - ComputesIn: field.ComputeFields{}, - ComputesOut: field.ComputeFields{}, + ID: id, + Fields: &FieldsDSL{Filter: field.Filters{}, Table: field.Columns{}}, + CProps: field.CloudProps{}, + Config: map[string]interface{}{}, } } @@ -262,6 +261,11 @@ func (dsl *DSL) Xgen() (map[string]interface{}, error) { return nil, err } + // full width default value + if _, has := dsl.Config["full"]; !has { + dsl.Config["full"] = true + } + setting["fields"] = fields setting["config"] = dsl.Config for _, cProp := range dsl.CProps { diff --git a/widgets/table/types.go b/widgets/table/types.go index 3bcee85734..f0b6deae2a 100644 --- a/widgets/table/types.go +++ b/widgets/table/types.go @@ -18,17 +18,15 @@ const ( // DSL the table DSL type DSL struct { - Root string `json:"-"` - ID string `json:"id,omitempty"` - Name string `json:"name,omitempty"` - Action *ActionDSL `json:"action"` - Layout *LayoutDSL `json:"layout"` - Fields *FieldsDSL `json:"fields"` - Config map[string]interface{} `json:"config,omitempty"` - ComputesIn field.ComputeFields `json:"-"` - ComputesOut field.ComputeFields `json:"-"` - CProps field.CloudProps `json:"-"` - computes *computeMaps + Root string `json:"-"` + ID string `json:"id,omitempty"` + Name string `json:"name,omitempty"` + Action *ActionDSL `json:"action"` + Layout *LayoutDSL `json:"layout"` + Fields *FieldsDSL `json:"fields"` + Config map[string]interface{} `json:"config,omitempty"` + CProps field.CloudProps `json:"-"` + computes *computeMaps } type computeMaps struct { diff --git a/yao/fields/model.trans.json b/yao/fields/model.trans.json index 5c84fab4a6..cc8d9efeff 100644 --- a/yao/fields/model.trans.json +++ b/yao/fields/model.trans.json @@ -93,7 +93,13 @@ "table": { "key": "${label || comment || name}", "bind": "${name}", - "view": { "type": "Text", "props": {} }, + "view": { + "type": "Tag", + "props": { + "placeholder": "$L(please select) ${label || comment}", + "options": "$.SelectOption{option}" + } + }, "edit": { "type": "Select", "props": { @@ -496,8 +502,8 @@ "type": "RadioGroup", "props": { "options": [ - { "label": "::Enable", "value": 1 }, - { "label": "::Disable", "value": 0 } + { "label": "::Enable", "value": true }, + { "label": "::Disable", "value": false } ] } } @@ -509,8 +515,8 @@ "type": "RadioGroup", "props": { "options": [ - { "label": "::Enable", "value": 1 }, - { "label": "::Disable", "value": 0 } + { "label": "::Enable", "value": true }, + { "label": "::Disable", "value": false } ] } } @@ -521,8 +527,8 @@ "view": { "type": "Switch", "props": { - "checkedValue": 1, - "unCheckedValue": 0, + "checkedValue": true, + "unCheckedValue": false, "checkedChildren": "::Enable", "unCheckedChildren": "::Disable" } diff --git a/yao/langs/zh-cn/global.yml b/yao/langs/zh-cn/global.yml index 296cfb1f2a..6f33072b2a 100644 --- a/yao/langs/zh-cn/global.yml +++ b/yao/langs/zh-cn/global.yml @@ -31,12 +31,20 @@ Listening: " 监听" SessionPort: "会话服务端口" Force migrate: "强制更新数据表结构" Migrate is not allowed on production mode.: "Migrate 不能再生产环境下使用" +Please confirm, the data cannot be recovered: 请确认删除,删除后数据无法恢复 Create: 创建 Edit: 编辑 View: 查看 +Confirm: 确认 please input: 请输入 Please input: 请输入 please select: 请选择 Please select: 请选择 Enable: 开启 Disable: 关闭 +enable: 开启 +disable: 关闭 +Enabled: 开启 +Disabled: 关闭 +enabled: 开启 +disabled: 关闭 diff --git a/yao/langs/zh-hk/global.yml b/yao/langs/zh-hk/global.yml index 544065c252..2b1c79cc90 100644 --- a/yao/langs/zh-hk/global.yml +++ b/yao/langs/zh-hk/global.yml @@ -31,12 +31,20 @@ Listening: " 監聽" SessionPort: "會話服務端口" Force migrate: "強制更新數據表結構" Migrate is not allowed on production mode.: "Migrate 不能再生產環境下使用" +Please confirm, the data cannot be recovered: 請確認刪除,刪除後數據無法恢復 Create: 創建 Edit: 編輯 View: 查看 +Confirm: 確認 please input: 請輸入 Please input: 請輸入 please select: 請選擇 Please select: 請選擇 Enable: 開啟 Disable: 關閉 +enable: 開啟 +disable: 關閉 +Enabled: 開啟 +Disabled: 關閉 +enabled: 開啟 +disabled: 關閉