Implement single choice value load/save

This commit is contained in:
Benedikt Kulmann committed 2020-05-07 11:29:51 +02:00
1 parent e44654dc9d
commit d6cd343b62
9 files changed
+188 -93

No files matched your search

+3 -3
View File
@@ -1,5 +1,5 @@
// Code generated by fileb0x at "2020-05-07 07:41:49.870614 +0200 CEST m=+0.029906397" from config file "embed.yml" DO NOT EDIT.
// modification hash(f581be4e25115df708e6336a84874270.8058aec596c5fb73022d09bb97af796e)
// Code generated by fileb0x at "2020-05-07 11:29:47.878208 +0200 CEST m=+0.030460800" from config file "embed.yml" DO NOT EDIT.
// modification hash(228ccc34c847c53c8dbe6d8a82a1eabc.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\x6b\x77\x1b\xb9\x92\x20\xf8\x79\xe7\x57\x90\x39\x9e\x6c\xa0\x15\xca\xa2\x5c\xb7\x6e\xcf\x4d\x16\x8a\xd7\xef\x72\xf9\x59\x96\xec\x2a\x17\x9b\x47\x27\x45\x82\x22\x2c\x12\xa0\x91\xa0\x64\x99\xcc\xf9\x3f\xfb\x37\xf6\x97\xed\x41\x00\xc8\x17\x93\xb6\xab\xfb\xce\xce\xdd\xdd\xf1\x39\x16\x33\x91\x78\x06\x80\x78\x21\x10\x31\xe3\x73\x21\x39\x21\xf3\x8d\x9c\x1a\xa1\x24\xa1\xdb\x68\x93\xf3\x5e\x6e\xb4\x98\x9a\x68\x78\x9d\xe9\x9e\x61\xd1\x46\xba\x8c\xb3\xa8\xcf\xcc\xed\x9a\xab\x79\xef\x72\xa9\x2e\xb2\xe5\xd9\x42\xe4\xa3\xea\x31\xed\xca\x79\x23\xe4\x4c\xdd\x8c\xdc\x4f\x67\x0e\x57\x81\xaf\xa7\x33\x47\xce\x97\xf3\x91\xfd\x93\x6e\x8b\x61\xe8\x6c\x8f\x13\x03\x9c\x6e\x35\x37\x1b\x2d\x7b\x86\x70\xb6\xe5\x9f\xd6\x4a\x9b\x3c\xdd\x16\x05\xf0\xc4\xbf\xd1\xea\xb1\xb0\x23\x92\xac\x3e\x64\x43\xb7\x36\x91\xb3\xfd\x94\x57\x17\x1f\xf8\xd4\x24\x6b\xad\x8c\xb2\x3d\x01\xc9\x78\xb2\xc8\xf2\x57\x37\xf2\xb5\x56\x6b\xae\xcd\x2d\x68\x16\x85\x82\x11\x0b\xfd\x3d\xbd\x5d\x5d\xa8\xe5\xc8\xfd\xa4\xdb\x02\x14\xd3\x89\x30\x5c\x67\x46\xe9\xdd\x2e\xfa\xfb\xdf\xc3\x4b\x04\x82\xe9\x24\xcb\x6f\xe5\xf4\x69\xfd\x7b\x23\x25\x82\x8c\xe9\xc4\xa8\x53\xa3\x85\xbc\x3c\xcb\x2e\x31\x4b\xed\x3d\xaa\x80\x92\x5b\xa0\x80\x04\xed\x06\xa1\x18\x8f\x63\x5e\x0d\xa1\x27\x64\x6e\x32\x39\xb5\xbd\x5c\x8e\x78\xba\x04\x11\x86\x39\xd5\x3c\x33\x9c\xa8\x2a\x33\x85\x8c\x49\x7e\xd3\x3b\x25\x7a\xb7\x1b\x4f\xe8\xd0\x83\x5a\x24\xe7\x42\x5e\xab\xab\x3a\xcc\x6c\xa3\xae\x49\xcd\xa2\x7c\x93\xaf\xb9\x9c\xf1\xd9\xa9\xc9\xb4\x89\x42\xb9\x32\xb7\x02\x41\xb7\x62\x4e\x22\xfe\x89\x4f\x37\x46\xc8\xcb\x88\x31\xa6\xa9\x59\x68\x75\xd3\xb3\x4d\x3e\xd2\x5a\x69\x12\x3d\xe1\xd2\x81\xa0\x27\xf2\x5e\xb6\xd4\x3c\x9b\xdd\xf6\xf4\x46\x4a\x5b\x84\x0e\x6d\x15\x53\xb5\x5a\x2f\xb9\xe1\x33\x57\x05\x56\x8b\xf5\xd8\x77\xe5\xab\x14\xa1\x0b\x8f\x08\x2d\xe6\x4a\x13\x99\xac\xb8\x59\xa8\x19\x53\x20\x93\x4c\x5f\x32\x31\x1c\xba\xee\x67\x4c\x26\x33\xbe\xe4\x97\x99\xe1\xb6\x81\xcc\x25\xe7\xec\x82\x64\x20\xb1\xcd\x1c\x5b\xc9\x19\x63\x53\x3a\x55\xd2\x08\xb9\xe1\xa1\x81\xbc\x28\x6c\x0f\x24\xff\x64\x6c\x07\x42\x3b\x54\x26\x39\x97\x86\xc9\xe4\xdc\xff\x66\xfa\x72\xc8\x97\x39\xef\x35\x3a\x5c\xe6\xc7\x71\xb4\xe0\x58\x83\x91\x66\xb5\x81\xbb\x21\x0c\x65\x32\x13\xf9\x3a\x33\xd3\xc5\xa3\x4f\x53\xbe\x46\x48\xe3\x17\x5a\xd8\x86\x22\xd7\xc3\x7a\x2b\x71\x2c\x93\xec\x42\x6f\xd6\x86\x84\xaf\xae\x2e\x3a\xd4\xac\x36\x39\x88\x08\x96\x6c\xe3\xa7\x19\xe1\x2e\x95\x5e\x65\x4b\x5b\xdb\x32\xc1\xc5\x62\x7b\xac\x2d\xf0\x94\xe4\xa3\x5a\xef\xd2\x6a\x18\xef\x05\x5f\xce\x22\x58\x22\xc4\x3b\xa0\xb7\xbd\xce\x96\x1b\x9e\xe2\x77\xb0\xf5\xa4\xae\xba\xa2\xa8\x20\xe4\x5a\x8b\x63\xd2\x06\x81\x9f\x50\x9f\xd3\x4f\xeb\xd2\x8d\xbf\x28\x88\x01\x09\x19\x05\x51\x94\x5b\x25\x0c\x67\x6b\xf4\xad\xc7\x22\x5b\x5b\x77\x1a\xc6\x06\x99\xbe\x4c\x4d\x32\xcd\x96\x4b\x62\x33\x16\xc5\xd4\x42\xd7\x22\x88\x46\x76\xdf\x22\xe6\x2e\x8a\xc2\x24\x37\x3a\x5b\xb3\x1c\xa1\x36\x65\x75\x94\xb5\x24\x74\x5b\x75\x60\xde\x78\x9b\xd9\x37\x5b\x64\x6d\x8b\xac\xc7\x6a\xc2\x6a\x78\x39\x60\xb9\x85\xc8\x0b\xac\x78\x11\xf6\xed\x25\x37\xaf\xc3\x8e\x7d\x35\x87\x6b\xb6\x88\xe3\x05\x59\x90\x73\x32\x9e\x50\x4a\x87\xd7\x71\x7c\xdd\x67\x16\x0f\x48\x37\x94\x6b\x50\x34\x8e\xc9\x9a\x5d\x53\xac\xe9\x96\xcd\xaa\x3d\xcf\x96\xb5\xe7\x26\x66\x58\xd3\x6a\x20\x97\x16\x08\x63\xb7\xcc\x21\x00\x20\xac\xa1\x49\x32\x57\xfa\x51\x36\x5d\xd4\xd0\x2c\xa7\x5b\x33\xe6\x93\x06\x96\xad\x8d\x29\x60\x14\xc2\xc1\xd0\xa2\xa0\xb4\x82\xcb\xca\xa1\x79\x44\x2d\xc3\x7a\x5e\xd6\xc4\x27\x65\x81\xac\x02\x97\x45\x25\x75\x64\xaf\x21\xa3\xdb\x7e\x99\x53\xdb\x92\x90\x41\xee\xaa\x9f\xda\x15\x3e\x56\x13\x30\x20\xdc\x22\x77\x03\xeb\x33\x36\xf5\x6b\xdc\x6d\x84\x29\x2e\xd0\x39\x5b\x26\xb8\x60\x4b\xfc\x16\xc7\x91\x42\x90\x55\xa4\x60\x5e\x82\x7d\x0e\xd1\xf9\x79\x76\x93\x09\x13\xd1\x11\x4f\x34\xcf\xd5\xf2\x9a\x93\x79\xe2\x53\x69\x62\x16\x5c\x36\x29\x93\xf6\x98\x04\x0c\xf6\xb2\xa0\xd0\xfe\xec\x41\x1f\xbe\xd3\xb4\x56\x73\x57\x8d\xbe\xcb\xcc\x40\x46\x96\xfb\x15\xba\x81\x74\xd4\x5b\xe4\x64\xea\xf6\x12\xc2\xcc\x02\xd2\xa6\x86\x02\x4c\x8f\xb4\x6b\x2d\x83\x8c\xa6\x19\xa1\x45\x35\x83\x17\xd5\x0c\x4a\x66\x4a\x42\x38\xe6\x7e\xcf\x4e\x2c\xac\xaf\x95\x98\xf5\x06\x16\x39\x21\x26\xe1\x25\x12\x66\x72\xb3\x5c\x42\x85\x00\x78\x1d\x45\x56\xb5\x25\xae\x2b\x71\x4c\x78\x89\x0a\x02\x4e\xe3\x88\x0b\x5c\x0b\xe0\x7a\xd3\x55\x21\xf5\xa3\x99\x0e\x79\x1b\x9b\xb8\x1a\xec\x72\x3a\xbb\x5d\x73\x4f\x9d\xce\x16\xbc\x17\x9a\xef\xcd\x14\xcf\x7b\x52\x99\xde\x5a\xab\x6b\x31\xe3\xbd\xac\xf7\x2f\x58\xf8\x5f\x7a\xae\xae\xa8\x84\xd6\xb4\x70\x74\x72\x43\x24\x54\x03\x70\x6d\xd4\xd7\x9d\xc5\xf7\x6e\xdd\xf9\x82\x07\xba\xa5\x71\x39\xb6\x21\x36\x1d\x3a\x06\x00\xbf\x86\x25\xaa\x46\xca\x21\x68\xc2\xc7\xc6\xae\x94\xcd\xd2\xbc\xcc\x56\x7c\xc2\x94\x5b\x18\xc0\x13\xbb\xe2\x98\xc1\x9f\xe7\x6a\x5a\xee\xea\x7e\x05\xa9\x06\x90\xdd\x02\xad\x83\x98\xee\xf7\x85\xa6\x2a\x25\xdf\x06\xd5\x12\xa2\xae\x77\x96\xf2\x5b\xb0\x66\xb2\xe7\xf7\x56\x57\xf5\xd5\x62\xbb\xa9\xf8\x37\x8b\xd8\x9f\xab\x69\x6a\xc6\x83\x49\x31\x3c\xe9\x09\xd9\x33\xd8\x75\x44\xe3\xcf\xLine truncated
var FileSettingsJs = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\xfd\xe9\x96\xdb\x38\xb2\x28\x0a\xff\xfe\xf6\x53\x48\xdc\x3e\xdc\xc0\xce\x48\x96\xe4\xea\xaa\x3e\x4d\x15\xac\xb6\xd3\x43\xb9\x3c\xa5\x33\x6d\xd7\xa0\xd6\xca\xc5\x94\xa0\x14\x9c\x14\x20\x83\x50\x0e\x16\x79\xde\xe7\x7b\x8d\xfb\x64\x77\x61\xe2\x24\x2a\xed\xea\xae\xbe\xdd\xf7\xdc\x53\x6b\x95\x53\x24\x31\x06\x02\x31\x21\x10\x31\xa7\x0b\xc6\x29\x42\x8b\x0d\x9f\x29\x26\x38\xc2\xdb\x60\x93\xd1\x5e\xa6\x24\x9b\xa9\x60\x74\x95\xc8\x9e\x22\xc1\x86\xdb\x82\xf3\xa0\x4f\xd4\xed\x9a\x8a\x45\xef\x22\x15\xe7\x49\xfa\x6e\xc9\xb2\x71\xf5\x33\xee\x2a\x79\xcd\xf8\x5c\x5c\x8f\xed\x9f\xce\x12\xb6\x01\xd7\x4e\x67\x89\x8c\xa6\x8b\xb1\xfe\x27\xde\x16\x23\x3f\xd8\x1e\x45\x0a\x28\xde\x4a\xaa\x36\x92\xf7\x14\xa2\x64\x4b\x6f\xd6\x42\xaa\x2c\xde\x16\x05\xd0\xc8\x3d\xe1\xea\x67\xa1\x67\xc4\x49\x7d\xca\x0a\x6f\xf5\x4b\x4a\x76\xdf\xbc\x39\xff\x48\x67\x2a\x5a\x4b\xa1\x84\x1e\x09\x70\x42\xa3\x65\x92\xbd\xb9\xe6\xc7\x52\xac\xa9\x54\xb7\x20\x49\xe0\x2b\x06\xc4\x8f\xf7\xf4\x76\x75\x2e\xd2\xb1\xfd\x13\x6f\x0b\x10\x44\x46\x4c\x51\x99\x28\x21\xf3\x3c\xf8\xeb\x5f\xfd\x43\x00\x8c\xc8\x28\xc9\x6e\xf9\xec\x79\xfd\x7b\xe3\x4d\x00\x09\x91\x91\x12\xa7\x4a\x32\x7e\xf1\x2e\xb9\x30\x45\x6a\xcf\x41\x05\x94\x4c\x03\x05\x38\x48\x3b\x09\x41\x68\x18\xd2\x6a\x0a\x3d\xc6\x33\x95\xf0\x99\x1e\x65\x3a\xa6\x71\x0a\xcc\x4f\x73\x26\x69\xa2\x28\x12\x55\x61\x0c\x09\xe1\xf4\xba\x77\x8a\x64\x9e\x4f\xa6\x78\xe4\x40\xcd\xa2\x33\xc6\xaf\xc4\x65\x1d\x66\xba\x53\xdb\xa5\x24\x41\xb6\xc9\xd6\x94\xcf\xe9\xfc\x54\x25\x52\x05\xbe\x5e\x59\x5a\x00\xc3\x5b\xb6\x40\x01\xbd\xa1\xb3\x8d\x62\xfc\x22\x20\x84\x48\xac\x96\x52\x5c\xf7\x74\x97\x4f\xa4\x14\x12\x05\xcf\x28\xb7\x20\xe8\xb1\xac\x97\xa4\x92\x26\xf3\xdb\x9e\xdc\x70\xae\xab\xe0\x91\x6e\x62\x26\x56\xeb\x94\x2a\x3a\xb7\x4d\x98\x66\x4d\x3b\xfa\x59\xb8\x26\x99\x1f\xc2\x0d\xc2\xc5\x42\x48\xc4\xa3\x15\x55\x4b\x31\x27\x02\x78\x94\xc8\x0b\xc2\x46\x23\x3b\xfc\x84\xf0\x68\x4e\x53\x7a\x91\x28\xaa\x3b\x48\xec\xeb\x8c\x9c\xa3\x04\xb8\xe9\x33\x33\xbd\x64\x84\x90\x19\x9e\x09\xae\x18\xdf\x50\xdf\x41\x56\x14\x7a\x04\x9c\xde\x28\x3d\x00\xdf\x0f\xe6\x51\x46\xb9\x22\x3c\x3a\x73\x7f\x13\x79\x31\xa2\x69\x46\x7b\x8d\x01\x97\xe5\xcd\x3c\x5a\x70\xac\xc1\x48\x92\xda\xc4\xed\x14\x46\x3c\x9a\xb3\x6c\x9d\xa8\xd9\xf2\xc9\xcd\x8c\xae\x0d\xa4\xcd\x17\x5c\xe8\x8e\x02\x3b\xc2\x7a\x2f\x61\xc8\xa3\xe4\x5c\x6e\xd6\x0a\xf9\xaf\xb6\x2d\x3c\x92\xa4\xb6\x38\x86\x10\xa4\x64\xe3\x96\xd9\xc0\x9d\x0b\xb9\x4a\x52\xdd\x5a\x1a\x19\x64\xd1\x23\x96\x1a\x78\x82\xd3\x71\x6d\x74\x71\x35\x8d\x5f\x19\x4d\xe7\x01\xa4\x06\xe2\x1d\xd0\xdb\x5e\x25\xe9\x86\xc6\xe6\x3b\xe8\x76\x62\xdb\x5c\x51\x54\x10\xb2\xbd\x85\x21\x6a\x83\xc0\x2d\xa8\x2b\xe9\x96\x35\xb5\xf3\x2f\x0a\xa4\x80\x43\x82\x81\x15\xe5\x56\xf1\xd3\xd9\x2a\x79\xeb\xa8\xc8\x56\xb7\x1d\xfb\xb9\x41\x22\x2f\x62\x15\xcd\x92\x34\x45\xba\x60\x51\xcc\x34\x74\x35\x81\x68\x14\x77\x3d\x9a\xd2\x45\x51\xa8\xe8\x5a\x26\x6b\x92\x19\xa8\xcd\x48\x9d\x64\xa5\x08\x6f\xab\x01\x2c\x1a\x4f\x73\xfd\xa4\xab\xac\x75\x95\xf5\x44\x4c\x49\x8d\x2e\x7b\x2a\xb7\x64\x59\x61\x1a\x5e\xfa\x7d\x7b\x41\xd5\xb1\xdf\xb1\x6f\x16\x70\x45\x96\x61\xb8\x44\x4b\xf4\x04\x4d\xa6\x18\xe3\xd1\x55\x18\x5e\xf5\x89\xa6\x03\xdc\x4e\xe5\x0a\x04\x0e\x43\xb4\x26\x57\xd8\xb4\x74\x4b\xe6\xd5\x9e\x27\x69\xed\x77\x93\x32\xac\x71\x35\x91\x0b\x0d\x84\x89\x45\x73\xf0\x00\xf0\x38\x34\x8d\x16\x42\x3e\x49\x66\xcb\x1a\x99\xa5\x78\xab\x26\x74\xda\xa0\xb2\xb5\x39\x79\x8a\x82\x28\x28\x5c\x14\x18\x57\x70\x59\x59\x32\x6f\x48\xcb\xa8\x5e\x96\x34\xe9\x49\x59\x21\xa9\xc0\xa5\x49\x49\x9d\xd8\x4b\x48\xf0\xb6\x5f\x96\x94\xba\x26\x24\x90\xd9\xe6\x67\x1a\xc3\x27\x62\x0a\x0a\x98\x45\x72\x3b\xb1\x3e\x21\x33\x87\xe3\x76\x23\xcc\x0c\x82\x2e\x48\x1a\x19\x84\x2d\xe9\x5b\x18\x06\xc2\x80\xac\x62\x05\x8b\x12\xec\x0b\x08\xce\xce\x92\xeb\x84\xa9\x00\x8f\x69\x24\x69\x26\xd2\x2b\x8a\x16\x91\x7b\x8b\x23\xb5\xa4\xbc\xc9\x99\xa4\xa3\x24\xa0\xcc\x28\x0b\x0c\xed\xcf\x0e\xf4\xfe\x3b\x8e\x6b\x2d\x77\xb5\xe8\x86\x4c\x14\x24\x28\xdd\x6d\xd0\x4e\xa4\xa3\xdd\x22\x43\x33\xbb\x97\x0c\xcc\x34\x20\xf5\x5b\x5f\x81\xc8\xb1\xb4\xbd\x25\x90\xe0\x38\x41\xb8\xa8\x56\xf0\xbc\x5a\x41\x4e\x54\xc9\x08\x27\xd4\xed\xd9\xa9\x86\xf5\x95\x60\xf3\xde\x40\x13\x27\x43\x49\x68\x49\x84\x09\xdf\xa4\x29\x54\x04\x80\xd6\x49\x64\xd5\x5a\x64\x87\x12\x86\x88\x96\xa4\xc0\xd3\x34\x6a\x68\x81\xed\x01\xec\x68\xba\x1a\xc4\x6e\x36\xb3\x11\x6d\x53\x13\xdb\x82\x46\xa7\x77\xb7\x6b\xea\xb8\xd3\xbb\x25\xed\xf9\xee\x7b\x73\x41\xb3\x1e\x17\xaa\xb7\x96\xe2\x8a\xcd\x69\x2f\xe9\xfd\x97\xa9\xfc\x5f\x3d\xdb\x56\x50\x42\x6b\x56\x58\x3e\xb9\x41\x1c\xaa\x09\xd8\x3e\xea\x78\xa7\xe9\xbd\xc5\x3b\x57\x71\xcf\xb0\xa4\x41\xc7\x36\xc4\x66\x23\x2b\x00\x98\xaf\x1e\x45\xc5\x58\x58\x02\x8d\xe8\x44\x69\x4c\xd9\xa4\xea\x75\xb2\xa2\x53\x22\x2c\x62\x00\x8d\x34\xc6\x11\x65\xfe\xbc\x14\xb3\x72\x57\xf7\x2b\x48\x35\x80\x6c\x11\xb4\x0e\x62\xbc\x3b\x16\x1c\x8b\x18\x7d\x1d\x54\x4b\x88\xda\xd1\x69\xce\xaf\xc1\x9a\xf0\x9e\xdb\x5b\x5d\xcd\x57\xc8\x76\x5d\xc9\x6f\x9a\xb0\xbf\x14\xb3\x58\x4d\x06\xd3\x62\x34\xec\x31\xde\x53\x66\xe8\x86\x8c\xbf\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\x33\x9f\xe8\xb6\xa3\x07\x3a\x1f\xaf\x55\x7c\x5c\x2d\xc5\xa7\x41\x22\x75\x01\x7f\xf5\x85\x9e\xbb\x7a\x4b\x39\x18\xab\xf9\x42\x65\x22\x2b\xf4\xe0\x98\x34\x35\xcf\x16\x8b\xfe\xd5\x52\xd4\x83\xb2\xaa\x99\x9e\x1b\xbd\x81\x9c\xa9\x7c\xce\x53\xf9\x6f\xd1\x73\xf0\xfa\xf3\x4d\x89\x94\xa7\x69\xef\x5a\x16\xb3\x9e\xe6\x13\xe1\x79\x67\x6f\x9c\x2a\x2d\xb3\x8d\x4f\x09\x6c\xb8\x85\x7e\xc6\x0a\x33\x3d\xdb\x92\xf8\xc3\x16\xc2\x8d\x3f\xcb\xb6\x65\x84\xa4\x95\xd9\xe6\xee\x72\xc7\x61\x12\xf3\xca\xd5\x7c\xe3\xb1\xcd\xc4\xf8\xb2\x37\x56\x79\x2e\xc6\x45\x26\xb4\xee\xa9\xc9\x1d\xce\x34\x62\x7f\x5b\x74\xcc\x93\xc4\x9c\x07\xcb\x4c\x8f\xd5\x62\x83\xdd\x1f\x0a\xea\x30\x58\xc3\xaa\x0a\x55\xac\x16\xc2\x88\x5b\x5b\x9c\x0f\x81\x8c\xe6\x41\x6c\xbe\x3c\x8e\xf6\x0c\xd6\xb6\xd5\xed\xb9\x75\x0d\x2e\x1a\x9b\x8b\x46\x0b\xa5\xb5\x24\x8d\x09\x8e\x7b\xcb\x39\xeb\x3b\xce\x99\xc4\x41\x3b\xfa\x2d\xc9\xe2\x8e\xcd\xb6\x50\x9f\xd0\xf4\xdc\x2e\xdd\xf6\xc4\xda\xb0\x61\x20\x74\xe6\x42\xfc\x7b\x1b\x86\x65\x35\x24\x73\x51\xf0\x84\x17\x7c\x3b\x6a\xdb\x5c\x26\xcd\x7a\x32\xd3\x05\xcf\x36\xd7\x58\xc9\x6c\x26\x72\x59\xf4\xe4\xa4\x47\x5a\xdd\x8d\xd9\x8d\x3f\x81\xb7\xd5\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
+2
View File
@@ -24,6 +24,7 @@ func NewService(cfg *config.Config) Service {
}
func (g Service) SaveSettingsBundle(c context.Context, req *proto.SaveSettingsBundleRequest, res *proto.SaveSettingsBundleResponse) error {
req.SettingsBundle.Identifier = getFailsafeIdentifier(req.SettingsBundle.Identifier)
r, err := g.manager.WriteBundle(req.SettingsBundle)
if err != nil {
return err
@@ -51,6 +52,7 @@ func (g Service) ListSettingsBundles(c context.Context, req *proto.ListSettingsB
}
func (g Service) SaveSettingsValue(c context.Context, req *proto.SaveSettingsValueRequest, res *proto.SaveSettingsValueResponse) error {
req.SettingsValue.Identifier = getFailsafeIdentifier(req.SettingsValue.Identifier)
r, err := g.manager.WriteValue(req.SettingsValue)
if err != nil {
return err
+8 -8
View File
@@ -30,10 +30,10 @@
<script>
import { mapActions, mapGetters } from 'vuex'
import SettingsBundle from "./SettingsBundle.vue";
import SettingsBundle from './SettingsBundle.vue'
export default {
name: 'SettingsApp',
components: {SettingsBundle},
components: { SettingsBundle },
data () {
return {
loading: true,
@@ -46,10 +46,10 @@ export default {
'initialized',
'getSettingsBundlesByExtension'
]),
extensionRouteParam() {
extensionRouteParam () {
return this.$route.params.extension
},
selectedExtensionName() {
selectedExtensionName () {
// TODO: extensions need to be registered with display names, separate from the settings bundles. until then: hardcoded translation
if (this.selectedExtension === 'ocis-accounts') {
return 'Account'
@@ -58,7 +58,7 @@ export default {
}
return this.selectedExtension
},
selectedSettingsBundles() {
selectedSettingsBundles () {
if (this.selectedExtension) {
return this.getSettingsBundlesByExtension(this.selectedExtension)
}
@@ -67,7 +67,7 @@ export default {
},
methods: {
...mapActions('Settings', ['initialize']),
resetSelectedExtension() {
resetSelectedExtension () {
if (this.extensions.length > 0) {
if (this.extensionRouteParam && this.extensions.includes(this.extensionRouteParam)) {
this.selectedExtension = this.extensionRouteParam
@@ -82,10 +82,10 @@ export default {
this.resetSelectedExtension()
},
watch: {
initialized() {
initialized () {
this.resetSelectedExtension()
},
extensionRouteParam() {
extensionRouteParam () {
this.resetSelectedExtension()
}
}
+25 -11
View File
@@ -12,6 +12,7 @@
:bundle="bundle"
:setting="setting"
:persisted-value="getSettingsValue(bundle, setting)"
@onSave="onSaveSettingsValue"
/>
</div>
</oc-grid>
@@ -19,13 +20,13 @@
</template>
<script>
import { mapGetters } from 'vuex'
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";
import SettingUnknown from "./settings/SettingUnknown.vue";
import { mapGetters, mapActions } from 'vuex'
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'
import SettingUnknown from './settings/SettingUnknown.vue'
export default {
name: 'SettingsBundle',
@@ -37,19 +38,32 @@ export default {
},
computed: mapGetters('Settings', ['getSettingsValueByIdentifier']),
methods: {
getElementId(bundle, setting) {
...mapActions('Settings', ['saveSettingsValue']),
getElementId (bundle, setting) {
return `setting-${bundle.identifier.bundleKey}-${setting.settingKey}`
},
getSettingComponent(setting) {
getSettingComponent (setting) {
return 'Setting' + setting.type[0].toUpperCase() + setting.type.substr(1)
},
getSettingsValue(bundle, setting) {
getSettingsValue (bundle, setting) {
const identifier = {
extension: bundle.identifier.extension,
bundleKey: bundle.identifier.bundleKey,
settingKey: setting.settingKey,
settingKey: setting.settingKey
}
return this.getSettingsValueByIdentifier(identifier)
},
async onSaveSettingsValue ({ bundle, setting, value }) {
const payload = {
identifier: {
accountUuid: 'me',
extension: bundle.identifier.extension,
bundleKey: bundle.identifier.bundleKey,
settingKey: setting.settingKey
},
...value
}
await this.saveSettingsValue(payload)
}
},
components: {
+13 -13
View File
@@ -1,11 +1,11 @@
<template>
<div>
<oc-checkbox v-model="value" :label="setting.boolValue.label" />
<oc-checkbox v-model="value" :label="setting.boolValue.label" @change="applyValue" />
</div>
</template>
<script>
import isNil from "lodash/isNil"
import isNil from 'lodash/isNil'
export default {
name: 'SettingBoolean',
props: {
@@ -22,31 +22,31 @@ export default {
required: false
}
},
data() {
data () {
return {
initialValue: null,
value: null
}
},
computed: {
isChanged() {
return this.initialValue !== this.value
}
},
methods: {
applyValue() {
// TODO: propagate value to parent
async applyValue () {
const value = {
boolValue: this.value
}
await this.$emit('onSave', {
bundle: this.bundle,
setting: this.setting,
value
})
// TODO: show a spinner while the request for saving the value is running!
}
},
mounted() {
mounted () {
if (!isNil(this.persistedValue)) {
this.value = this.persistedValue.boolValue
}
if (isNil(this.value) && !isNil(this.setting.boolValue.default)) {
this.value = this.setting.boolValue.default
}
this.initialValue = this.value
}
}
</script>
+16 -8
View File
@@ -8,6 +8,7 @@
:placeholder="setting.intValue.placeholder"
:label="setting.description"
@keydown.enter="applyValue"
@keydown.esc="cancel"
/>
</div>
<div v-if="isChanged">
@@ -22,7 +23,7 @@
</template>
<script>
import isNil from "lodash/isNil"
import isNil from 'lodash/isNil'
export default {
name: 'SettingNumber',
props: {
@@ -39,17 +40,17 @@ export default {
required: false
}
},
data() {
data () {
return {
initialValue: null,
value: null
}
},
computed: {
isChanged() {
isChanged () {
return this.initialValue !== this.value
},
inputAttributes() {
inputAttributes () {
const attributes = {}
if (!isNil(this.setting.intValue.min)) {
attributes.min = this.setting.intValue.min
@@ -64,16 +65,23 @@ export default {
}
},
methods: {
cancel() {
cancel () {
this.value = this.initialValue
},
applyValue() {
// TODO: propagate value to parent
async applyValue () {
const value = {
intValue: this.value
}
await this.$emit('onSave', {
bundle: this.bundle,
setting: this.setting,
value
})
// TODO: show a spinner while the request for saving the value is running!
this.initialValue = this.value
}
},
mounted() {
mounted () {
if (!isNil(this.persistedValue)) {
this.value = this.persistedValue.intValue
}
+42 -12
View File
@@ -28,7 +28,7 @@
class="oc-radiobutton"
v-model="selectedOption"
:value="option"
@input="onSelectedOption"
@change="onSelectedOption"
/>
{{ option.displayValue }}
</label>
@@ -39,6 +39,7 @@
</template>
<script>
import isNil from 'lodash/isNil'
export default {
name: 'SettingSingleChoice',
props: {
@@ -55,33 +56,62 @@ export default {
required: false
}
},
data() {
data () {
return {
selectedOption: null
}
},
computed: {
dropElementId() {
dropElementId () {
return `single-choice-drop-${this.bundle.identifier.bundleKey}-${this.setting.settingKey}`
},
buttonElementId() {
buttonElementId () {
return `single-choice-toggle-${this.bundle.identifier.bundleKey}-${this.setting.settingKey}`
},
}
},
methods: {
getOptionElementId(index) {
getOptionElementId (index) {
return `${this.bundle.identifier.bundleKey}-${this.setting.settingKey}-${index}`
},
onSelectedOption() {
// TODO: propagate selection to parent
async onSelectedOption () {
const value = {}
if (this.selectedOption) {
if (!isNil(this.selectedOption.intValue)) {
value.intListValue = {
value: [this.selectedOption ? this.selectedOption.intValue : null]
}
} else {
value.stringListValue = {
value: [this.selectedOption ? this.selectedOption.stringValue : null]
}
}
}
await this.$emit('onSave', {
bundle: this.bundle,
setting: this.setting,
value
})
// TODO: show a spinner while the request for saving the value is running!
}
},
mounted() {
this.selectedOption = null
// TODO: load the settings value of the authenticated user and set it in `selectedOption`
mounted () {
if (!isNil(this.persistedValue)) {
if (!isNil(this.persistedValue.intListValue)) {
const selected = this.persistedValue.intListValue.value[0]
const filtered = this.setting.singleChoiceValue.options.filter(option => option.intValue === selected)
if (filtered.length > 0) {
this.selectedOption = filtered[0]
}
} else {
const selected = this.persistedValue.stringListValue.value[0]
const filtered = this.setting.singleChoiceValue.options.filter(option => option.stringValue === selected)
if (filtered.length > 0) {
this.selectedOption = filtered[0]
}
}
}
// if not set, yet, apply default from settings bundle definition
if (this.selectedOption === null) {
if (isNil(this.selectedOption)) {
const defaults = this.setting.singleChoiceValue.options.filter(option => option.default)
if (defaults.length === 1) {
this.selectedOption = defaults[0]
+15 -7
View File
@@ -6,6 +6,7 @@
:placeholder="setting.stringValue.placeholder"
:label="setting.description"
@keydown.enter="applyValue"
@keydown.esc="cancel"
/>
</div>
<div v-if="isChanged">
@@ -20,7 +21,7 @@
</template>
<script>
import isNil from "lodash/isNil"
import isNil from 'lodash/isNil'
export default {
name: 'SettingString',
props: {
@@ -37,28 +38,35 @@ export default {
required: false
}
},
data() {
data () {
return {
initialValue: null,
value: null
}
},
computed: {
isChanged() {
isChanged () {
return this.initialValue !== this.value
}
},
methods: {
applyValue() {
// TODO: propagate value to parent
async applyValue () {
const value = {
stringValue: this.value
}
await this.$emit('onSave', {
bundle: this.bundle,
setting: this.setting,
value
})
// TODO: show a spinner while the request for saving the value is running!
this.initialValue = this.value
},
cancel() {
cancel () {
this.value = this.initialValue
}
},
mounted() {
mounted () {
if (!isNil(this.persistedValue)) {
this.value = this.persistedValue.stringValue
}
+64 -31
View File
@@ -1,4 +1,11 @@
import {BundleService_ListSettingsBundles, ValueService_ListSettingsValues} from '../client/settings'
import {
// eslint-disable-next-line camelcase
BundleService_ListSettingsBundles,
// eslint-disable-next-line camelcase
ValueService_ListSettingsValues,
// eslint-disable-next-line camelcase
ValueService_SaveSettingsValue
} from '../client/settings'
const state = {
config: null,
@@ -21,10 +28,10 @@ const getters = {
}
return []
},
getSettingsValueByIdentifier: state => ({extension, bundleKey, settingKey}) => {
if (state.settingsValues.has(extension)
&& state.settingsValues.get(extension).has(bundleKey)
&& state.settingsValues.get(extension).get(bundleKey).has(settingKey)) {
getSettingsValueByIdentifier: state => ({ extension, bundleKey, settingKey }) => {
if (state.settingsValues.has(extension) &&
state.settingsValues.get(extension).has(bundleKey) &&
state.settingsValues.get(extension).get(bundleKey).has(settingKey)) {
return state.settingsValues.get(extension).get(bundleKey).get(settingKey)
}
return null
@@ -32,12 +39,12 @@ const getters = {
}
const mutations = {
SET_INITIALIZED(state, value) {
SET_INITIALIZED (state, value) {
state.initialized = value
},
SET_SETTINGS_BUNDLES(state, payload) {
SET_SETTINGS_BUNDLES (state, settingsBundles) {
const map = new Map()
Array.from(payload).forEach(bundle => {
Array.from(settingsBundles).forEach(bundle => {
if (!map.has(bundle.identifier.extension)) {
map.set(bundle.identifier.extension, new Map())
}
@@ -45,30 +52,25 @@ const mutations = {
})
state.settingsBundles = map
},
SET_SETTINGS_VALUES(state, payload) {
SET_SETTINGS_VALUES (state, settingsValues) {
const map = new Map()
Array.from(payload).forEach(value => {
if (!map.has(value.identifier.extension)) {
map.set(value.identifier.extension, new Map())
}
if (!map.get(value.identifier.extension).has(value.identifier.bundleKey)) {
map.get(value.identifier.extension).set(value.identifier.bundleKey, new Map())
}
map.get(value.identifier.extension).get(value.identifier.bundleKey).set(value.identifier.settingKey, value)
})
Array.from(settingsValues).forEach(value => applySettingsValueToMap(value, map))
state.settingsValues = map
},
LOAD_CONFIG(state, config) {
SET_SETTINGS_VALUE (state, settingsValue) {
applySettingsValueToMap(settingsValue, state.settingsValues)
},
LOAD_CONFIG (state, config) {
state.config = config
}
}
const actions = {
loadConfig({commit}, config) {
loadConfig ({ commit }, config) {
commit('LOAD_CONFIG', config)
},
async initialize({commit, dispatch}) {
async initialize ({ commit, dispatch }) {
await Promise.all([
dispatch('fetchSettingsBundles'),
dispatch('fetchSettingsValues')
@@ -76,7 +78,7 @@ const actions = {
commit('SET_INITIALIZED', true)
},
async fetchSettingsBundles({commit, dispatch, getters}) {
async fetchSettingsBundles ({ commit, dispatch, getters }) {
const response = await BundleService_ListSettingsBundles({
$domain: getters.config.url,
body: {}
@@ -87,15 +89,15 @@ const actions = {
if (settingsBundles) {
settingsBundles.forEach(bundle => {
bundle.settings.forEach(setting => {
if (setting['intValue']) {
if (setting.intValue) {
setting.type = 'number'
} else if (setting['stringValue']) {
} else if (setting.stringValue) {
setting.type = 'string'
} else if (setting['boolValue']) {
} else if (setting.boolValue) {
setting.type = 'boolean'
} else if (setting['singleChoiceValue']) {
} else if (setting.singleChoiceValue) {
setting.type = 'singleChoice'
} else if (setting['multiChoiceValue']) {
} else if (setting.multiChoiceValue) {
setting.type = 'multiChoice'
} else {
setting.type = 'unknown'
@@ -111,16 +113,16 @@ const actions = {
title: 'Failed to fetch settings bundles.',
desc: response.statusText,
status: 'danger'
}, {root: true})
}, { root: true })
}
},
async fetchSettingsValues({commit, dispatch, getters}) {
async fetchSettingsValues ({ commit, dispatch, getters }) {
const response = await ValueService_ListSettingsValues({
$domain: getters.config.url,
body: {
identifier: {
account_uuid: "me"
account_uuid: 'me'
}
}
})
@@ -136,7 +138,27 @@ const actions = {
title: 'Failed to fetch settings values.',
desc: response.statusText,
status: 'danger'
}, {root: true})
}, { root: true })
}
},
async saveSettingsValue ({ commit, dispatch, getters }, payload) {
const response = await ValueService_SaveSettingsValue({
$domain: getters.config.url,
body: {
settingsValue: payload
}
})
if (response.status === 201) {
if (response.data.settingsValue) {
commit('SET_SETTINGS_VALUE', response.data.settingsValue)
}
} else {
dispatch('showMessage', {
title: 'Failed to save settings value.',
desc: response.statusText,
status: 'danger'
}, { root: true })
}
}
}
@@ -148,3 +170,14 @@ export default {
actions,
mutations
}
function applySettingsValueToMap (settingsValue, map) {
if (!map.has(settingsValue.identifier.extension)) {
map.set(settingsValue.identifier.extension, new Map())
}
if (!map.get(settingsValue.identifier.extension).has(settingsValue.identifier.bundleKey)) {
map.get(settingsValue.identifier.extension).set(settingsValue.identifier.bundleKey, new Map())
}
map.get(settingsValue.identifier.extension).get(settingsValue.identifier.bundleKey).set(settingsValue.identifier.settingKey, settingsValue)
return map
}