Add multi choice list support and fix single choice list

single choice list now
- uses raw radio input instead of the one from ODS because it's broken
- implements default value selection if no value is set
This commit is contained in:
Benedikt Kulmann committed 2020-04-23 19:49:40 +02:00
1 parent 48f79ad03f
commit ac67fee09a
11 files changed
+210 -80

No files matched your search

+3 -3
View File
@@ -1,5 +1,5 @@
// Code generated by fileb0x at "2020-04-23 15:16:41.460519 +0200 CEST m=+0.044329474" from config file "embed.yml" DO NOT EDIT.
// modification hash(ead9bdbe18aa1a0c3ea32a3851d33cf9.8058aec596c5fb73022d09bb97af796e)
// Code generated by fileb0x at "2020-04-23 19:47:01.111545 +0200 CEST m=+0.041653705" from config file "embed.yml" DO NOT EDIT.
// modification hash(86df939b8893c402a3db7d988f1b3096.8058aec596c5fb73022d09bb97af796e)
package assets
@@ -36,7 +36,7 @@ type HTTPFS struct {
}
// FileSettingsJs is "settings.js"
var FileSettingsJs = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\xbd\xe9\x92\xdb\x38\xb6\x30\xf8\x7b\xbe\xa7\x90\x78\xfd\xf1\x02\x57\x27\x69\xc9\xd5\x55\x7d\x9b\x2a\x58\x9d\x4e\xa7\x97\xf2\x5a\x99\xb6\x6b\x51\xeb\x66\x30\x29\x28\x05\xa7\x04\xa8\x40\x28\x97\x12\x39\xef\x33\xaf\x31\x4f\x36\x81\x8d\x9b\x28\x97\xab\x6f\x7f\x11\xf3\xc5\x8c\x23\x9c\x22\x41\xec\x38\x38\x1b\x0e\xce\x99\xd3\x05\xe3\x14\xa1\xc5\x96\xa7\x8a\x09\x8e\xf0\x2e\xd8\x66\xb4\x97\x29\xc9\x52\x15\x8c\x6f\x12\xd9\x53\x24\xd8\x72\x9b\x71\x1e\xf4\x89\xba\xdf\x50\xb1\xe8\x5d\xad\xc4\x65\xb2\xfa\xb0\x64\xd9\xa4\x7a\x8c\xbb\x72\xde\x32\x3e\x17\xb7\x13\xfb\xd3\x99\xc3\x56\xe0\xea\xe9\xcc\x91\xd1\xd5\x62\xa2\xff\xc4\xbb\x62\xec\x3b\xdb\xa3\x48\x01\xc5\x3b\x49\xd5\x56\xf2\x9e\x42\x94\xec\xe8\xdd\x46\x48\x95\xc5\xbb\xa2\x00\x1a\xb9\x37\x5c\x3d\x16\x7a\x44\x9c\xd4\x87\xac\xf0\x4e\x27\x52\xb2\x9f\xf2\xee\xf2\x33\x4d\x55\xb4\x91\x42\x09\xdd\x13\xe0\x84\x46\xcb\x24\x7b\x77\xcb\xdf\x4b\xb1\xa1\x52\xdd\x83\x24\x81\x2f\x18\x10\xdf\xdf\xf3\xfb\xf5\xa5\x58\x4d\xec\x4f\xbc\x2b\x40\x10\x19\x31\x45\x65\xa2\x84\xcc\xf3\xe0\xef\x7f\xf7\x2f\x01\x30\x22\xa3\x24\xbb\xe7\xe9\xcb\xfa\xf7\x46\x4a\x00\x09\x91\x91\x12\xe7\x4a\x32\x7e\xf5\x21\xb9\x32\x59\x6a\xef\x41\x35\x29\xa9\x9e\x14\xe0\x20\xed\x20\x04\xa1\x61\x48\xab\x21\xf4\x18\xcf\x54\xc2\x53\xdd\xcb\xc5\x84\xc6\x0b\x60\x7e\x98\xa9\xa4\x89\xa2\x48\x54\x99\x31\x24\x84\xd3\xdb\xde\x1d\x92\x79\x3e\x9d\xe1\xb1\x9b\x6a\x16\x5d\x30\x7e\x23\xae\xeb\x73\xa6\x1b\xb5\x4d\x4a\x12\x64\xdb\x6c\x43\xf9\x9c\xce\xcf\x55\x22\x55\xe0\xcb\x95\xb9\x05\x30\xbc\x63\x0b\x14\xd0\x3b\x9a\x6e\x15\xe3\x57\x01\x21\x44\x62\xb5\x94\xe2\xb6\xa7\x9b\x3c\x95\x52\x48\x14\x3c\xa7\xdc\x4e\x41\x8f\x65\xbd\x64\x25\x69\x32\xbf\xef\xc9\x2d\xe7\xba\x08\x1e\xeb\x2a\x52\xb1\xde\xac\xa8\xa2\x73\x5b\x85\xa9\xd6\xd4\xa3\xdf\x85\xab\x92\xf9\x2e\x5c\x20\x5c\x2c\x84\x44\x3c\x5a\x53\xb5\x14\x73\x22\x80\x47\x89\xbc\x22\x6c\x3c\xb6\xdd\x4f\x08\x8f\xe6\x74\x45\xaf\x12\x45\x75\x03\x89\x4d\x4e\xc9\x25\x4a\x80\x9b\x36\x53\xd3\x4a\x4a\x08\xc9\x70\x2a\xb8\x62\x7c\x4b\x7d\x03\x69\x51\xe8\x1e\x70\x7a\xa7\x74\x07\x7c\x3b\x98\x47\x19\xe5\x8a\xf0\xe8\xc2\xfd\x26\xf2\x6a\x4c\x57\x19\xed\x35\x3a\x5c\xe6\x37\xe3\x68\xcd\x63\x6d\x8e\x24\xa9\x0d\xdc\x0e\x61\xcc\xa3\x39\xcb\x36\x89\x4a\x97\xa7\x77\x29\xdd\x98\x99\x36\x5f\x70\xa1\x1b\x0a\x6c\x0f\xeb\xad\x84\x21\x8f\x92\x4b\xb9\xdd\x28\xe4\xbf\xda\xba\xf0\x58\x92\xda\xe2\x18\x44\xb0\x20\x5b\xb7\xcc\x66\xde\xb9\x90\xeb\x64\xa5\x6b\x5b\x44\x06\x58\x74\x8f\xa5\x9e\x3c\xc1\xe9\xa4\xd6\xbb\xb8\x1a\xc6\x2f\x8c\xae\xe6\x01\x2c\xcc\x8c\x77\xcc\xde\xee\x26\x59\x6d\x69\x6c\xbe\x83\xae\x27\xb6\xd5\x15\x45\x35\x43\xb6\xb5\x30\x44\xed\x29\x70\x0b\xea\x72\xba\x65\x5d\xd8\xf1\x17\x05\x52\xc0\x21\xc1\xc0\x8a\x72\xab\xf8\xe1\xec\x94\xbc\x77\x58\x64\xa7\xeb\x8e\xfd\xd8\x20\x91\x57\xb1\x8a\xd2\x64\xb5\x42\x3a\x63\x51\xa4\x7a\x76\x35\x82\x68\x64\x77\x2d\x9a\xdc\x45\x51\xa8\xe8\x56\x26\x1b\x92\x9a\x59\xcb\x48\x1d\x65\x2d\x10\xde\x55\x1d\x58\x35\xde\x36\xfa\x4d\x17\x99\xeb\x22\xf3\xa9\x98\x91\x1a\x5e\xf6\x58\x6e\xc9\xb2\xc2\x54\xbc\xf4\xfb\xf6\x8a\xaa\xf7\x7e\xc7\xbe\x5b\xc0\x0d\x59\x86\xe1\x12\x2d\xd1\x29\x9a\xce\x30\xc6\xe3\x9b\x30\xbc\xe9\x13\x8d\x07\xb8\x1d\xca\x0d\x08\x1c\x86\x68\x4e\x6e\xb0\xa9\xe9\x9e\x6c\xaa\x3d\x4f\x16\xb5\xe7\x26\x66\x98\xe3\x6a\x20\x57\x7a\x12\xa6\x16\xcc\xc1\x4f\x80\x87\xa1\x59\xb4\x10\xf2\x34\x49\x97\x35\x34\x4b\xf1\x4e\x4d\xe9\xac\x81\x65\x6b\x63\xf2\x18\x05\x51\x50\xb8\x28\x30\xae\xe6\x65\x6d\xd1\xbc\x41\x2d\xe3\x7a\x5e\xd2\xc4\x27\x65\x81\xa4\x9a\x2e\x8d\x4a\xea\xc8\x5e\x42\x82\x77\xfd\x32\xa7\xd4\x25\x21\x81\xd4\x56\x9f\x69\x08\x9f\x8a\x19\x28\x60\x16\xc8\xed\xc0\xfa\x84\x64\x0e\xc6\xed\x46\xc8\x0c\x80\xae\xc8\x22\x32\x00\xeb\xf7\xfe\x2a\x0c\x03\x61\xa6\xac\x22\x05\xab\x72\xda\x57\x10\x5c\x5c\x24\xb7\x09\x53\x01\x9e\xd0\x48\xd2\x4c\xac\x6e\x28\x5a\x45\x2e\x15\x47\x6a\x49\x79\x93\x32\x49\x87\x49\x40\x99\x5e\x16\x18\xda\x9f\xdd\xd4\xfb\xef\x38\xae\xd5\xdc\x55\xa3\xeb\x32\x51\x90\xa0\xc5\x7e\x85\x76\x20\x1d\xf5\x16\x29\xca\xec\x5e\x32\x73\xa6\x27\x52\xa7\xfa\x02\x44\x4e\xa4\x6d\x2d\x81\x04\xc7\x09\xc2\x45\xb5\x82\x97\xd5\x0a\x72\xa2\x4a\x42\x38\xa5\x6e\xcf\xce\xf4\x5c\xdf\x08\x36\xef\x0d\x35\x72\x32\x98\x84\x96\x48\x98\xf0\xed\x6a\x05\x15\x02\xa0\x75\x14\x59\xd5\x16\xd9\xae\x84\x21\xa2\x25\x2a\xf0\x38\x8d\x1a\x5c\x60\x5b\x00\xdb\x9b\xae\x0a\xb1\x1b\x4d\x36\xa6\x6d\x6c\x62\x6b\xd0\xe0\xf4\xe1\x7e\x43\x1d\x75\xfa\xb0\xa4\x3d\xdf\x7c\x6f\x2e\x68\xd6\xe3\x42\xf5\x36\x52\xdc\xb0\x39\xed\x25\xbd\x7f\x37\x85\xff\xbd\x67\xeb\x0a\xca\xd9\xb2\x6c\x88\x24\x5b\xc4\xa1\x1a\x80\x6d\xa3\x0e\x77\x1a\xdf\x5b\xb8\x73\x05\x0f\x74\x4b\x1a\x70\x6c\xcf\x58\x36\xb6\x0c\x80\xf9\xea\x41\x54\x4c\x84\x45\xd0\x88\x4e\x95\x86\x94\xed\x4a\xbd\x4d\xd6\x74\x46\x84\x05\x0c\xa0\x91\x86\x38\xa2\xcc\xcf\x6b\x91\x96\xbb\xba\x5f\xcd\x54\x63\x92\x2d\x80\xd6\xa7\x18\xef\xf7\x05\xc7\x22\x46\x5f\x37\xab\xe5\x8c\xda\xde\x69\xca\xaf\xa7\x35\xe1\x3d\xb7\xb7\xba\xaa\xaf\x80\xed\xb6\xe2\xdf\x34\x62\x7f\x2d\xd2\x58\x4d\x87\xb3\x62\x3c\xea\x31\xde\x53\xa6\xeb\x06\x8d\xLine truncated
var FileSettingsJs = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\xfd\xfb\x76\xdb\x38\xd6\x20\x8a\xff\xfd\x9b\xa7\x90\x38\x19\x0e\xf0\x79\x9b\x91\x53\x5d\xd5\x5f\x53\x85\xa8\x13\xc7\x49\x5c\xb9\x38\x15\x3b\xa9\x8b\x5a\xe3\x45\x53\x90\x85\x32\x05\xa8\x40\xc8\x8e\x4b\xe4\xef\x7d\xce\x6b\x9c\x27\x3b\x0b\x37\xde\x44\x25\xa9\xfe\x7a\xe6\xcc\x99\x99\xac\x15\x8b\x04\x71\xdd\x00\xf6\x1d\x1b\x73\xba\x60\x9c\x22\xb4\xd8\xf0\x54\x31\xc1\x11\xde\x06\x9b\x9c\x0e\x72\x25\x59\xaa\x82\xf1\x6d\x22\x07\x8a\x04\x1b\x6e\x33\xce\x83\x21\x51\xf7\x6b\x2a\x16\x83\xeb\x4c\x5c\x25\xd9\xc5\x92\xe5\x93\xfa\x31\xee\xcb\x79\xc7\xf8\x5c\xdc\x4d\xec\x4f\x6f\x0e\x5b\x81\xab\xa7\x37\x47\x4e\xb3\xc5\x44\xff\x89\xb7\xe5\xd8\x77\x76\x40\x91\x02\x8a\xb7\x92\xaa\x8d\xe4\x03\x85\x28\xd9\xd2\x4f\x6b\x21\x55\x1e\x6f\xcb\x12\x68\xe4\xde\x70\xfd\x58\xea\x11\x71\xd2\x1c\xb2\xc2\x5b\x9d\x48\xc9\x6e\xca\xd9\xd5\x6f\x34\x55\xd1\x5a\x0a\x25\x74\x4f\x80\x13\x1a\x2d\x93\xfc\xec\x8e\xbf\x93\x62\x4d\xa5\xba\x07\x49\x02\x5f\x30\x20\xbe\xbf\xe7\xf7\xab\x2b\x91\x4d\xec\x4f\xbc\x2d\x41\x10\x19\x31\x45\x65\xa2\x84\x2c\x8a\xe0\xef\x7f\xf7\x2f\x01\x30\x22\xa3\x24\xbf\xe7\xe9\x69\xf3\x7b\x2b\x25\x80\x84\xc8\x48\x89\x73\x25\x19\xbf\xbe\x48\xae\x4d\x96\xc6\x7b\x50\x03\x25\xd5\x40\x01\x0e\xd2\x0e\x42\x10\x1a\x86\xb4\x1e\xc2\x80\xf1\x5c\x25\x3c\xd5\xbd\xcc\x26\x34\xce\x80\xf9\x61\xa6\x92\x26\x8a\x22\x51\x67\xc6\x90\x10\x4e\xef\x06\xe7\x48\x16\xc5\x74\x86\xc7\x0e\xd4\x2c\xba\x64\xfc\x56\xdc\x34\x61\xa6\x1b\xb5\x4d\x4a\x12\xe4\x9b\x7c\x4d\xf9\x9c\xce\xcf\x55\x22\x55\xe0\xcb\x55\xb9\x05\x30\xbc\x65\x0b\x14\xd0\x4f\x34\xdd\x28\xc6\xaf\x03\x42\x88\xc4\x6a\x29\xc5\xdd\x40\x37\x79\x22\xa5\x90\x28\x78\x41\xb9\x05\xc1\x80\xe5\x83\x24\x93\x34\x99\xdf\x0f\xe4\x86\x73\x5d\x04\x8f\x75\x15\xa9\x58\xad\x33\xaa\xe8\xdc\x56\x61\xaa\x35\xf5\xe8\x77\xe1\xaa\x64\xbe\x0b\x97\x08\x97\x0b\x21\x11\x8f\x56\x54\x2d\xc5\x9c\x08\xe0\x51\x22\xaf\x09\x1b\x8f\x6d\xf7\x13\xc2\xa3\x39\xcd\xe8\x75\xa2\xa8\x6e\x20\xb1\xc9\x29\xb9\x42\x09\x70\xd3\x66\x6a\x5a\x49\x09\x21\x39\x4e\x05\x57\x8c\x6f\xa8\x6f\x20\x2d\x4b\xdd\x03\x4e\x3f\x29\xdd\x01\xdf\x0e\xe6\x51\x4e\xb9\x22\x3c\xba\x74\xbf\x89\xbc\x1e\xd3\x2c\xa7\x83\x56\x87\xab\xfc\x66\x1c\x1d\x38\x36\x60\x24\x49\x63\xe0\x76\x08\x63\x1e\xcd\x59\xbe\x4e\x54\xba\x3c\xf9\x94\xd2\xb5\x81\xb4\xf9\x82\x4b\xdd\x50\x60\x7b\xd8\x6c\x25\x0c\x79\x94\x5c\xc9\xcd\x5a\x21\xff\xd5\xd6\x85\xc7\x92\x34\x26\xc7\x20\x82\x8c\x6c\xdc\x34\x1b\xb8\x73\x21\x57\x49\xa6\x6b\xcb\x22\xb3\x58\x74\x8f\xa5\x06\x9e\xe0\x74\xd2\xe8\x5d\x5c\x0f\xe3\x17\x46\xb3\x79\x00\x99\x81\x78\x0f\xf4\xb6\xb7\x49\xb6\xa1\xb1\xf9\x0e\xba\x9e\xd8\x56\x57\x96\x35\x84\x6c\x6b\x61\x88\xba\x20\x70\x13\xea\x72\xba\x69\xcd\xec\xf8\xcb\x12\x29\xe0\x90\x60\x60\x65\xb5\x55\xfc\x70\xb6\x4a\xde\x3b\x2c\xb2\xd5\x75\xc7\x7e\x6c\x90\xc8\xeb\x58\x45\x69\x92\x65\x48\x67\x2c\xcb\x54\x43\x57\x23\x88\x56\x76\xd7\xa2\xc9\x5d\x96\xa5\x8a\xee\x64\xb2\x26\xa9\x81\x5a\x4e\x9a\x28\x2b\x43\x78\x5b\x77\x60\xd1\x7a\x5b\xeb\x37\x5d\x64\xae\x8b\xcc\xa7\x62\x46\x1a\x78\xd9\x63\xb9\x25\xcb\x4b\x53\xf1\xd2\xef\xdb\x6b\xaa\xde\xf9\x1d\x7b\xb6\x80\x5b\xb2\x0c\xc3\x25\x5a\xa2\x13\x34\x9d\x61\x8c\xc7\xb7\x61\x78\x3b\x24\x1a\x0f\x70\x3b\x94\x5b\x10\x38\x0c\xd1\x9c\xdc\x62\x53\xd3\x3d\x59\xd7\x7b\x9e\x64\x8d\xe7\x36\x66\x98\xe3\x7a\x20\xd7\x1a\x08\x53\xbb\xcc\xc1\x03\xc0\xaf\xa1\x59\xb4\x10\xf2\x24\x49\x97\x0d\x34\x4b\xf1\x56\x4d\xe9\xac\x85\x65\x1b\x63\xf2\x18\x05\x51\x50\xb8\x2c\x31\xae\xe1\xb2\xb2\x68\xde\xa0\x96\x71\x33\x2f\x69\xe3\x93\xaa\x40\x52\x83\x4b\xa3\x92\x26\xb2\x97\x90\xe0\xed\xb0\xca\x29\x75\x49\x48\x20\xb5\xd5\xe7\x7a\x85\x4f\xc5\x0c\x14\x30\xbb\xc8\xed\xc0\x86\x84\xe4\x6e\x8d\xdb\x8d\x90\x9b\x05\xba\x20\x59\x64\x16\x6c\x85\xdf\xc2\x30\x10\x06\x64\x35\x29\x58\x54\x60\x5f\x40\x70\x79\x99\xdc\x25\x4c\x05\x78\x42\x23\x49\x73\x91\xdd\x52\xb4\x88\x5c\x2a\x8e\xd4\x92\xf2\x36\x65\x92\x0e\x93\x80\x32\xbd\x2c\x31\x74\x3f\x3b\xd0\xfb\xef\x38\x6e\xd4\xdc\x57\xa3\xeb\x32\x51\x90\xa0\x6c\xb7\x42\x3b\x90\x9e\x7a\xcb\x14\xe5\x76\x2f\x19\x98\x69\x40\xea\x54\x5f\x80\xc8\x89\xb4\xad\x25\x90\xe0\x38\x41\xb8\xac\x67\xf0\xaa\x9e\x41\x4e\x54\x45\x08\xa7\xd4\xed\xd9\x99\x86\xf5\xad\x60\xf3\xc1\x48\x23\x27\x83\x49\x68\x85\x84\x09\xdf\x64\x19\xd4\x08\x80\x36\x51\x64\x5d\x5b\x64\xbb\x12\x86\x88\x56\xa8\xc0\xe3\x34\x6a\x70\x81\x6d\x01\x6c\x6f\xfa\x2a\xc4\x6e\x34\xf9\x98\x76\xb1\x89\xad\x41\x2f\xa7\x8b\xfb\x35\x75\xd4\xe9\x62\x49\x07\xbe\xf9\xc1\x5c\xd0\x7c\xc0\x85\x1a\xac\xa5\xb8\x65\x73\x3a\x48\x06\xff\xd5\x14\xfe\xaf\x03\x5b\x57\x50\x41\xcb\xb2\x21\x92\x6c\x10\x87\x7a\x00\xb6\x8d\xe6\xba\xd3\xf8\xde\xae\x3b\x57\x70\x4f\xb7\xa4\x59\x8e\x5d\x88\xe5\x63\xcb\x00\x98\xaf\x7e\x89\x8a\x89\xb0\x08\x1a\xd1\xa9\xd2\x2b\x65\x93\xa9\xb7\xc9\x8a\xce\x88\xb0\x0b\x03\x68\xa4\x57\x1c\x51\xe6\xe7\xb5\x48\xab\x5d\x3d\xac\x21\xd5\x02\xb2\x5d\xa0\x4d\x10\xe3\xdd\xbe\xe0\x58\xc4\xe8\xeb\xa0\x5a\x41\xd4\xf6\x4e\x53\x7e\x0d\xd6\x84\x0f\xdc\xde\xea\xab\xbe\x5e\x6c\x77\x35\xff\xa6\x11\xfb\x6b\x91\xc6\x6a\x3a\x9a\x95\xe3\xa3\x01\xe3\x03\x65\xba\x6e\xd0\xf8\x6b\x91\x12\x35\xLine truncated
// FileSettingsJsMap is "settings.js.map"
var FileSettingsJsMap = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xd4\xbd\x89\x76\x1b\xb9\xd1\x30\xfa\x2a\xb0\x32\xbf\x49\x8e\xb9\x58\xe3\xd9\x42\x45\x71\x1c\x5b\xf6\x28\xb1\x2d\xff\x96\xc6\xf9\x72\x25\x1d\x19\x64\x83\x24\x46\xcd\x06\xd3\x68\x4a\x66\x6c\x7d\xef\x73\x5f\xe3\x3e\xd9\x3d\xa8\x2a\x6c\xbd\x50\xa4\xe4\xf9\x96\xc9\x39\xb1\x88\x06\x0a\x40\xa1\x50\x28\xd4\x86\xcf\x3b\x57\x22\xd7\x52\x65\x3b\xc3\x27\xdd\x9d\x89\x4c\xc5\xce\x70\x47\x8b\xa2\x90\xd9\x54\xf7\x7f\xd3\x3b\xdd\x1d\xad\x96\xf9\x58\xe8\x9d\xe1\xe9\x4e\xbf\x3f\xc8\x54\x22\x2e\xe6\x2a\x59\xa6\x42\x0f\x72\x31\x15\x99\xc8\x79\xa1\xf2\x5e\xbe\xcc\x0a\x39\x17\x03\xfa\x17\xdb\x96\x1b\x8c\x55\x2e\x7a\xbf\xe9\x81\xcc\x0a\x91\x67\x3c\xd5\x83\x69\xaa\x46\x3c\xdd\xb4\xf6\x84\xcb\x54\x6f\x5a\x39\x11\x7a\x9c\xcb\x45\xa1\xf2\x8d\x9b\xa8\xd1\x6f\x62\x5c\xf4\x16\xb9\x5a\x88\xbc\x58\xf5\xa4\xee\x89\x6c\x39\x17\x39\x1f\xa5\x1b\x4f\x69\x9c\x0b\x5e\x08\x0f\xc4\x8f\x63\x63\x08\x29\xd7\x5a\x4d\x7a\x39\xbf\xde\xb4\x89\xcc\x12\xf1\x49\x24\x3d\x9c\xc1\xa6\xad\x72\xf1\xaf\xa5\xcc\x05\xb5\xea\x8d\x95\xc8\xc7\x72\x8b\xa9\x16\xaa\x77\xb7\x8e\xa5\xde\xb2\x41\xa1\x7a\x8b\x5c\xce\x65\x21\xaf\x36\x1e\xdd\x8c\x6f\x4e\x2b\x6a\xbc\x9c\x8b\xac\xe8\xd1\xe2\x89\x54\x98\x9f\x1b\x4f\x47\xfc\xdc\x4b\xd4\xbc\x97\x88\x89\xcc\x36\x1e\x1f\x61\x7d\x2a\x8a\x9e\xba\xce\xee\x43\x30\x3c\xdb\x12\x9d\xd4\x35\x8e\xd7\xf5\xbc\x25\x85\x67\x2a\x0b\xb6\xc7\xd6\x50\xb4\x28\x7a\xdb\x6d\x7f\x3d\xe3\xb9\x48\x7a\xba\x50\xf9\xc6\x48\x96\x99\x5e\x98\xa9\x22\x1b\xdb\xb4\x55\xc6\x0d\xa1\xf5\xae\x05\xbf\xec\xcd\xf9\x62\xbb\x01\x6e\x5a\x7b\x29\x37\xae\x4a\x33\xbf\x14\x1b\x63\x77\x26\x93\x44\x64\xa6\xc5\xc6\x9b\xc0\xfe\xd5\xd3\x05\x2f\x36\x46\x55\x2e\xb6\xa3\xfa\x05\x2f\x66\x1b\x9f\x0e\xa2\xe8\x8d\x96\x32\x2d\x7a\x32\xdb\x8a\x27\x15\x62\x2a\x36\xde\x3d\x85\xea\xa5\x22\x9b\x6e\x3e\xac\x42\xf5\xf8\x48\xab\x74\x59\x08\xe4\x7f\x1b\xef\xd3\x3c\xe7\xab\x9e\xcc\xc6\xe9\x32\x11\xdb\x9e\x4a\x66\x29\x7b\xb6\x74\xd3\xb6\x66\x7f\xf6\x46\xcb\xe9\x56\x84\xd0\xc4\x98\x32\x3e\xdf\x7a\xd4\x15\x20\x7a\x35\x1f\xa9\xcd\x4f\x71\xd3\x76\x9b\xb1\x8f\xd5\x62\xd5\x1b\xab\x4c\x17\xf9\x72\x6c\x04\x13\xea\x58\x6e\x3e\x72\xa9\x7b\x13\x95\x8f\x37\xdf\xc8\xe2\xd3\x42\xe5\x1b\xf3\x5e\xe2\x2d\x88\x87\x8d\x79\x85\xb6\x2d\x7a\x5c\xf7\xb6\xe0\x1c\x52\xf7\x80\xea\xb6\xa0\xed\x3b\x1d\x25\x77\xa0\xaf\xf8\xf4\xd9\x62\x81\x66\xc5\x7c\x63\xc4\x59\xd1\x06\x8e\xac\xaf\xb2\x01\x7a\xe2\xd3\x76\x7b\xf0\x5a\xa4\x69\xef\x32\x33\x90\xb6\x5b\xf4\x4a\xc3\xde\x75\xce\x17\x8b\xcd\x09\x93\x30\x7c\xe7\x01\x98\x23\xba\x50\x3d\x5d\xe4\x32\x9b\xf6\x0a\x3e\xdd\x98\xd1\xf5\x26\xcb\x6c\x5c\x48\xb5\x31\xdb\xb6\xf5\x7b\x23\x99\x25\x66\x03\x17\xe2\xd3\xc6\x34\x88\x7c\xd5\x1c\xf4\x52\xe8\x2d\xd7\x9a\x78\x72\x61\xee\x31\xb7\x8e\xd7\xfe\x16\xba\xbf\x1d\x26\x45\x36\x35\x2b\xb1\xd4\x22\xef\xf1\xe9\x16\xa2\x25\x35\xbc\xfa\xb9\x47\x37\xb5\xed\xe6\x35\x17\xc5\x4c\x25\xbd\x19\xd7\x0e\x3d\x7a\xb9\xd8\x86\x5d\x45\x70\x96\x5a\xe8\xde\x86\xe7\x65\x80\x2b\xe4\x40\x13\x99\x16\x9b\x9f\xca\x51\xbf\x52\x03\x11\x6e\xce\x95\xb0\xf5\x44\xe5\x3d\xc1\xc7\x5b\x0f\x74\xdb\x66\xc4\x31\xbf\x82\x24\x5f\xba\x3c\x7e\xc5\x11\xdc\xc2\x5d\xab\xb0\xb6\xe1\xe8\xe6\xf2\x03\x5b\x68\x94\xde\xc6\xc6\xed\xef\x6b\x31\xea\x9b\x66\x63\x95\xa6\x02\xb6\xbe\xbe\x05\xf1\x7f\x19\xf1\x91\x48\x07\x4e\xd3\xe0\xb5\x0f\x83\x35\x52\x58\xa9\xd5\x4c\xa4\x0b\x91\xeb\x01\xd7\xab\x6c\x7c\xa2\x5e\x59\x10\x5b\x35\x46\xbe\xfa\x6e\xed\x22\xe5\x2a\x4d\x97\x8b\xde\x22\x5d\x4e\x65\xd6\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5\xf9\xf4\x78\xba\xd5\x5d\x82\x44\xd0\xed\x07\x66\xd6\x55\x6d\x41\x10\x5a\x6c\xcc\xd6\xe9\x40\x98\x2f\xd3\x42\x8e\x56\xb7\xad\x51\xd8\x07\x92\xda\x76\xdb\xa2\x4e\xea\x59\x0f\xa1\x49\x7e\x31\x9b\xeb\xb5\xbc\x14\x27\xea\x59\xf3\xfd\x7e\x5d\xe3\x7f\xc8\x62\xa6\x96\xc5\x2f\xaa\x91\x69\x37\xb4\xb6\x82\xde\x5d\x7a\x5e\x66\x74\xea\x8a\xe4\xf0\x1e\x60\x32\x95\xd9\xe6\xc7\x8b\x5c\xf0\x06\x5a\x6f\x68\x5d\xa8\xe7\x2a\xd3\xcb\xb9\x69\xbe\xa6\xef\x46\x96\xf6\x9Line truncated
+66 -67
View File
@@ -750,7 +750,7 @@ type ListOption struct {
// *ListOption_StringValue
// *ListOption_IntValue
Option isListOption_Option `protobuf_oneof:"option"`
Selected bool `protobuf:"varint,3,opt,name=selected,proto3" json:"selected,omitempty"`
Default bool `protobuf:"varint,3,opt,name=default,proto3" json:"default,omitempty"`
DisplayValue string `protobuf:"bytes,4,opt,name=display_value,json=displayValue,proto3" json:"display_value,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
@@ -819,9 +819,9 @@ func (m *ListOption) GetIntValue() int64 {
return 0
}
func (m *ListOption) GetSelected() bool {
func (m *ListOption) GetDefault() bool {
if m != nil {
return m.Selected
return m.Default
}
return false
}
@@ -863,68 +863,67 @@ func init() {
}
var fileDescriptor_6c7cab62fa432213 = []byte{
// 994 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0x5b, 0x6f, 0x1b, 0x45,
0x14, 0xee, 0xda, 0xb9, 0xd8, 0x27, 0xcd, 0x6d, 0x1a, 0xa8, 0x71, 0x13, 0x70, 0x36, 0x2f, 0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 0x76, 0x5a, 0x7f, 0xc7, 0xeb, 0xd7, 0x6c,
0x5a, 0x1f, 0x5c, 0x79, 0xfd, 0xb6, 0x68, 0x34, 0xd2, 0xea, 0x1b, 0xf9, 0x3c, 0xfb, 0xc5, 0x6b,
0x4f, 0xe1, 0x63, 0xfb, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x72, 0x3a, 0x43, 0x7f, 0x02, 0x0a,
0x00, 0x00,
// 986 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0xcf, 0x6f, 0xe3, 0x44,
0x14, 0x5e, 0xc7, 0x6d, 0x93, 0xbc, 0x6c, 0xdb, 0x74, 0x36, 0xb0, 0x21, 0xdb, 0x42, 0xea, 0x5e,
0xd8, 0x42, 0xe3, 0x92, 0x9e, 0x88, 0xb4, 0x68, 0xb7, 0xa5, 0xb4, 0x0b, 0xed, 0xb2, 0x72, 0x25,
0x0e, 0x20, 0x88, 0x26, 0xce, 0xe0, 0x0c, 0x6b, 0xcf, 0x78, 0x3d, 0xe3, 0x36, 0x55, 0xb5, 0x12,
0x70, 0xe1, 0x88, 0x04, 0x27, 0xae, 0x48, 0xdc, 0x80, 0x7f, 0x86, 0x7f, 0x81, 0x3f, 0x04, 0x79,
0x3c, 0x8e, 0x93, 0x34, 0x29, 0xbb, 0x82, 0x93, 0x3d, 0xef, 0x7d, 0xdf, 0xf7, 0x3e, 0xcf, 0x9b,
0x1f, 0x86, 0x15, 0x41, 0xa4, 0xa4, 0xcc, 0x13, 0xad, 0x30, 0xe2, 0x92, 0xa3, 0x45, 0xf5, 0x68,
0xac, 0x7b, 0x9c, 0x7b, 0x3e, 0xb1, 0x71, 0x48, 0x6d, 0xcc, 0x18, 0x97, 0x58, 0x52, 0xce, 0x34,
0xa8, 0xf1, 0xae, 0x7a, 0xb8, 0x3b, 0x1e, 0x61, 0x3b, 0xe2, 0x02, 0x7b, 0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x00, 0x1e, 0x85, 0xd8, 0x1d,
0x90, 0x9d, 0x76, 0x6b, 0x17, 0x3d, 0x78, 0x69, 0x39, 0xbb, 0xe7, 0xf3, 0x9e, 0x1d, 0x60, 0x21,
0x49, 0x64, 0x9f, 0x3c, 0x3e, 0x38, 0x7c, 0x72, 0x76, 0xd8, 0x36, 0xdf, 0x6b, 0xed, 0x6e, 0x17,
0x8c, 0x42, 0xbb, 0x8a, 0xc3, 0xd0, 0xa7, 0xae, 0xfa, 0x69, 0xb2, 0xbf, 0x11, 0x9c, 0x75, 0xae,
0x45, 0xa2, 0x23, 0xa8, 0x7e, 0x48, 0xce, 0x89, 0xcf, 0x43, 0x12, 0x35, 0x4f, 0x31, 0x8b, 0xb1,
0x8f, 0xf6, 0x92, 0xfa, 0x1d, 0x7b, 0x54, 0xb3, 0xa5, 0x7d, 0x50, 0x6e, 0x8f, 0xda, 0x22, 0x94,
0x91, 0xee, 0xc8, 0xc8, 0xe7, 0xe9, 0x0f, 0x5e, 0x6f, 0x49, 0x3d, 0xf6, 0xfe, 0x09, 0x00, 0x00,
0xff, 0xff, 0xc7, 0xed, 0x58, 0x58, 0x00, 0x0a, 0x00, 0x00,
}
+1 -1
View File
@@ -130,6 +130,6 @@ message ListOption {
string string_value = 1;
int64 int_value = 2;
}
bool selected = 3;
bool default = 3;
string display_value = 4;
}
+1 -1
View File
@@ -193,7 +193,7 @@
"type": "string",
"format": "int64"
},
"selected": {
"default": {
"type": "boolean",
"format": "boolean"
},
+3
View File
@@ -9,6 +9,7 @@
<div class="uk-position-relative"
:is="getSettingComponent(setting)"
:id="getElementId(bundle, setting)"
:bundle="bundle"
:setting="setting"
/>
</div>
@@ -18,6 +19,7 @@
<script>
import SettingBoolean from "./settings/SettingBoolean.vue";
import SettingMultiChoice from "./settings/SettingMultiChoice.vue";
import SettingNumber from "./settings/SettingNumber.vue";
import SettingSingleChoice from "./settings/SettingSingleChoice.vue";
import SettingString from "./settings/SettingString.vue";
@@ -41,6 +43,7 @@ export default {
},
components: {
SettingBoolean,
SettingMultiChoice,
SettingNumber,
SettingSingleChoice,
SettingString,
@@ -8,6 +8,10 @@
export default {
name: 'SettingBoolean',
props: {
bundle: {
type: Object,
required: true
},
setting: {
type: Object,
required: true
@@ -0,0 +1,86 @@
<template>
<div>
<oc-button :id="buttonElementId" class="uk-width-expand">
<span v-if="selectedOptions !== null && selectedOptions.length > 0">
{{ selectedOptionsDisplayValues }}
</span>
<span v-else>
{{ setting.placeholder || $gettext('Please select') }}
</span>
</oc-button>
<oc-drop
:drop-id="dropElementId"
:toggle="`#${buttonElementId}`"
mode="click"
:options="{ offset: 0, delayHide: 0, flip: false }"
>
<ul class="uk-list">
<li
v-for="(option, index) in setting.multiChoiceValue.options"
:key="getOptionElementId(index)"
>
<label :for="getOptionElementId(index)">
<input
:id="getOptionElementId(index)"
type="checkbox"
class="oc-checkbox"
:value="option"
v-model="selectedOptions"
@input="onSelectedOption"
/>
{{ option.displayValue }}
</label>
</li>
</ul>
</oc-drop>
</div>
</template>
<script>
export default {
name: 'SettingMultiChoice',
props: {
bundle: {
type: Object,
required: true
},
setting: {
type: Object,
required: true
}
},
data() {
return {
selectedOptions: null
}
},
computed: {
selectedOptionsDisplayValues() {
return Array.from(this.selectedOptions).map(option => option.displayValue).join(', ')
},
dropElementId() {
return `multi-choice-drop-${this.bundle.key}-${this.setting.key}`
},
buttonElementId() {
return `multi-choice-toggle-${this.bundle.key}-${this.setting.key}`
},
},
methods: {
getOptionElementId(index) {
return `${this.bundle.key}-${this.setting.key}-${index}`
},
onSelectedOption() {
// TODO: propagate selection to parent
// TODO: show a spinner while the request for saving the value is running!
}
},
mounted() {
this.selectedOptions = null
// TODO: load the settings value of the authenticated user and set it in `selectedOptions`
// if not set, yet, apply defaults from settings bundle definition
if (this.selectedOptions === null) {
this.selectedOptions = this.setting.multiChoiceValue.options.filter(option => option.default)
}
}
}
</script>
+4
View File
@@ -25,6 +25,10 @@
export default {
name: 'SettingNumber',
props: {
bundle: {
type: Object,
required: true
},
setting: {
type: Object,
required: true
+34 -8
View File
@@ -9,15 +9,27 @@
</span>
</oc-button>
<oc-drop
close-on-click
:drop-id="dropElementId"
:toggle="`#${buttonElementId}`"
mode="click"
:options="{ offset: 0, delayHide: 0, flip: false }"
>
<ul class="uk-list">
<li v-for="(option, index) in setting.singleChoiceValue.options" :key="`${setting.key}-${index}`">
<oc-radio :label="option.displayValue" :value="selectedOption" @input="setSelectedOption(option)" />
<li
v-for="(option, index) in setting.singleChoiceValue.options"
:key="getOptionElementId(index)"
>
<label :for="getOptionElementId(index)">
<input
:id="getOptionElementId(index)"
type="radio"
class="oc-radiobutton"
v-model="selectedOption"
:value="option"
@input="onSelectedOption"
/>
{{ option.displayValue }}
</label>
</li>
</ul>
</oc-drop>
@@ -28,6 +40,10 @@
export default {
name: 'SettingSingleChoice',
props: {
bundle: {
type: Object,
required: true
},
setting: {
type: Object,
required: true
@@ -40,21 +56,31 @@ export default {
},
computed: {
dropElementId() {
return `single-choice-drop-${this.setting.key}`
return `single-choice-drop-${this.bundle.key}-${this.setting.key}`
},
buttonElementId() {
return `single-choice-toggle-${this.setting.key}`
return `single-choice-toggle-${this.bundle.key}-${this.setting.key}`
},
},
methods: {
setSelectedOption(option) {
this.selectedOption = option
getOptionElementId(index) {
return `${this.bundle.key}-${this.setting.key}-${index}`
},
onSelectedOption() {
// TODO: propagate selection to parent
// TODO: show a spinner while the request for saving the value is running!
}
},
mounted() {
// TODO: load the settings value of the authenticated user and set it in `selected`
this.selectedOption = null
// TODO: load the settings value of the authenticated user and set it in `selectedOption`
// if not set, yet, apply default from settings bundle definition
if (this.selectedOption === null) {
const defaults = this.setting.singleChoiceValue.options.filter(option => option.default)
if (defaults.length === 1) {
this.selectedOption = defaults[0]
}
}
}
}
</script>
+4
View File
@@ -23,6 +23,10 @@
export default {
name: 'SettingString',
props: {
bundle: {
type: Object,
required: true
},
setting: {
type: Object,
required: true
@@ -8,6 +8,10 @@
export default {
name: 'SettingUnknown',
props: {
bundle: {
type: Object,
required: true
},
setting: {
type: Object,
required: true