Merge pull request #1979 from owncloud/ocis-settings-use-oc-select

Use oc-select in settings
This commit is contained in:
Jan Ackermann authored and GitHub committed 2021-04-28 17:23:51 +02:00
commit 7405812ad9
4 files changed
+41 -124

No files matched your search

@@ -0,0 +1,5 @@
Enhancement: Use oc-select
Replace oc-drop with oc select in settings
https://github.com/owncloud/ocis/pull/1979
+3 -32
View File
@@ -1,5 +1,5 @@
// Code generated by fileb0x at "2021-04-21 17:32:36.682645 +0100 WEST m=+0.061013293" from config file "embed.yml" DO NOT EDIT.
// modification hash(0a86646eed11daf7a9249d8ea80973f5.8058aec596c5fb73022d09bb97af796e)
// Code generated by fileb0x at "2021-04-28 16:13:06.2629635 +0200 CEST m=+0.007927975" from config file "embed.yml" DO NOT EDIT.
// modification hash(a13cf066f43a3470681651845a401ae6.8058aec596c5fb73022d09bb97af796e)
package assets
@@ -36,10 +36,7 @@ type HTTPFS struct {
}
// FileSettingsJs is "settings.js"
var FileSettingsJs = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\xfd\xff\x76\x1b\x37\xb2\x28\x0a\xff\x6d\x3f\x05\xa4\xf1\x31\x49\x9b\x6a\x4a\x76\x26\xc9\x50\x61\x14\xc7\x96\x3d\xde\xb1\x2d\x1f\xc9\xf1\xec\xf9\x34\xda\x12\xc8\x06\xc9\x8e\x9a\xdd\xdc\x8d\xa6\x28\x8e\xa5\xf3\x3e\xdf\x6b\xdc\x27\xbb\x0b\x55\x05\xa0\xd0\xdd\xa4\xe4\x4c\xf6\x3e\xe7\xac\x75\x3d\x6b\x4d\x44\x34\x50\x00\x0a\x85\x42\xfd\x42\x21\x56\xe3\x24\x53\xed\xf1\x22\x1b\x95\x49\x9e\x89\x76\x47\x7c\x11\xad\x85\x56\x42\x97\x45\x32\x2a\x5b\xfb\x0f\x1f\x3e\xb8\x92\x85\x18\xe5\xb3\x59\x9e\xfd\xa6\xdf\xa4\xf9\x50\xa6\x62\x20\xca\xd5\x5c\xe5\x63\x31\x81\xdf\x9f\xa6\x89\x16\x5b\x83\x81\x68\x2d\x32\x04\x19\xb7\xc4\x01\xff\xd8\xb7\x0d\x96\x49\x16\xe7\xcb\x86\xca\xf4\xa1\x1f\x42\x5e\x0b\xd5\x57\xd4\x2a\x1d\x37\x54\x83\xe2\xbe\xf8\x72\x6b\xa6\xe0\x26\x38\x51\xe5\x2b\x35\x96\x8b\xb4\x3c\xbc\x9e\xe7\x45\xf9\xba\xc8\x67\x2f\x7f\xd3\xa2\x7d\xdd\x11\x5f\x1e\x3e\x78\x50\xa8\x72\x51\x64\xe2\x5a\x3c\x7e\x2c\xae\xa3\xf3\x73\xa5\xdf\xe7\xf1\x22\x55\xe6\xf7\xd1\xf0\x37\x35\x2a\xa3\x79\x91\x97\xb9\xe9\x3b\x9a\x4a\x7d\xb4\xcc\x3e\x16\xf9\x5c\x15\xe5\x2a\x1a\xc9\x34\x6d\x5f\x77\x45\x2b\xc6\x1e\x5a\x1d\x71\x20\xae\x4f\xdd\xcf\x33\xd1\x17\xd7\xfb\x0f\x1f\xdc\x56\x06\xf4\x62\x31\x99\xa9\xac\x54\xf1\x07\x39\x53\x7a\x2e\x47\xaa\x9d\xe1\x68\x92\xb1\x68\x67\x6c\x14\x1d\x41\xe3\xcb\xf6\x1f\x3e\x80\x75\x91\x62\x60\xc7\x85\x73\xb7\xa3\x69\x7f\xb9\xed\x8a\x96\x6f\xda\xea\x8a\x2f\x57\x32\x5d\xa8\xbe\x28\x8b\x85\xba\xed\x18\x08\xd4\xf2\x52\xad\x74\x3b\xeb\x44\xe3\xbc\x38\x94\xa3\x29\x23\x87\x4b\x1c\x07\x74\x15\xfb\xae\x26\xaa\x64\x13\x7f\xa5\xf4\xa8\x48\xe6\x65\x5e\xb4\xb3\xae\xb8\x04\xc8\x0f\x9a\x07\x25\xbb\xe2\xb2\x2b\x62\x03\x40\x1c\x88\xd8\xac\x8f\xa9\xfc\x40\x65\x8b\x99\x2a\xe4\x30\xa5\xe1\x75\xa1\x74\xa2\xca\xbe\x08\x68\x13\x8a\xed\x22\x65\xa7\x97\x67\xd0\xd7\x83\x5b\xf3\xff\x38\x25\xfc\x7f\xaa\x21\xab\xd8\x1e\x15\x4a\x96\xea\x25\x11\x33\x62\xa6\x3d\x46\x6c\x0b\x61\x66\x39\xc3\xe5\x1e\x88\x2f\x42\x01\x85\x68\x43\x43\xe2\x96\x41\x1d\x67\x6d\xac\xd5\xa5\xda\x11\xd5\xec\x54\x0b\xa8\xfb\xde\x93\x27\x0f\x1f\x88\x27\xe2\x65\x3e\x5f\x15\xc9\x64\x5a\x8a\xf6\xa8\x23\x9e\xed\xee\x7d\xb3\x33\x2f\x94\x56\x59\xd9\x15\xaf\xe5\x48\x0d\xf3\xfc\xb2\x2b\xde\x66\xa3\xc8\x54\x87\x26\xb0\x79\x74\xbe\x28\x46\x4a\x8c\xf2\x58\x89\x44\x8b\x34\x19\xa9\x4c\xab\x58\x18\x7a\x2f\x44\x39\x55\xe2\xfd\xdb\x4f\xb6\x58\x8c\xf3\x45\x16\x8b\x24\x33\x1f\x00\xc6\xbb\xb7\x2f\x0f\x3f\x9c\x1c\x8a\x71\x92\x2a\x2a\x17\x45\x9e\x97\x22\x4e\x0a\x35\x2a\xf3\x62\x25\xf2\xb1\x28\x59\x4f\x65\xa1\x14\x8c\xa1\xf7\xf0\xe1\x83\x66\x9c\xb9\x55\x99\x11\x65\x7e\x41\x46\x51\x2c\xb2\x32\x99\x19\x04\xb2\x3a\x16\x3f\xe2\xcb\x43\x8b\xe7\xa3\xb9\x27\x27\xb7\xa3\xf6\xed\x57\xdc\x59\xa6\xc6\xbc\xb2\xcb\x5c\x15\xb7\xd9\x1f\xed\xed\x8b\x5e\x4f\xbc\xcf\x0b\x83\xa2\x99\xc1\xa8\x4e\x86\xa9\x12\xe5\x54\x66\xe2\x2a\x4f\x62\xb1\x1b\xd9\x56\x8f\x4e\x56\xb3\x61\xce\x18\x98\xfd\x3d\x18\x88\x6d\x3b\xe0\x6d\x71\x60\xcb\x91\x81\x50\xe3\xa4\x54\x85\x2c\xf3\xc2\xc1\x20\x68\x91\xfd\x20\x6e\x6e\xc4\xf6\x4f\x3f\xd9\x9f\xdb\xae\xa5\xd4\xab\x6c\xf4\x76\x5d\xf3\xe0\x2b\xc1\x08\xca\x3c\xa0\x32\x3f\x29\x8b\x24\x9b\x7c\x92\x93\x1a\x18\xf6\x8d\x80\xb0\x92\xed\x7d\x40\xbd\x5b\x13\xe2\xfc\xf9\xf0\xb7\xae\xb8\x54\xab\xae\x00\xe6\x40\x1b\x41\xac\xe1\x29\xbe\x36\x55\x13\x82\x78\x0a\xfc\xa7\x6b\x0b\x1b\xb6\x33\x7e\x18\xe5\xd9\x38\x99\x2c\x9a\x3e\x2d\x8b\xa4\xf4\xc5\x58\x0a\x9b\xd9\xfc\x41\x3b\x2f\x1f\xfe\x76\x7a\xa9\x56\x67\x50\x7a\x6b\xfe\xaf\x2c\x56\x76\x2c\xbd\x9e\x78\x7b\x28\xbe\x37\xb4\x23\xa4\x18\x16\xf9\xa5\xca\x9a\xe7\x61\x28\xa3\x14\x79\x96\xae\xc4\x32\x2f\x2e\xb5\xc8\x33\xf1\xea\xe8\xbd\x01\xaf\x46\xa5\x8e\x10\x1e\x61\xc8\xf0\xd1\xed\x6d\x1c\xc8\xad\x18\xc9\x72\x34\x15\x6d\x55\x14\x0e\x55\x58\x4f\x0c\x1c\x6e\xd7\x22\xb5\x36\x0f\x31\xc0\x1a\x34\xcb\x5b\x9a\x57\xb0\x50\xcb\x42\xce\xdb\x49\x96\xa9\xe2\x75\xd6\x15\xf9\xa2\xc4\x3f\xcc\xf1\xd6\x35\xd3\x7f\x97\x8f\xf4\xbb\x44\x97\x1d\x8e\x87\xb1\xad\x28\xe6\x45\x7e\x95\xc4\x2a\x16\x32\x8b\x6d\xa1\xdf\x70\x86\x9d\x48\xf1\x46\x65\x48\x67\x5d\xc3\x1b\xb2\xa6\x6a\x99\x2e\x65\x36\x32\x1b\xc6\x55\x26\x34\x19\xaa\x84\x8a\xee\x83\x18\xb8\xde\x1f\x3f\xbe\x27\x30\x71\xe0\xda\xf4\x7d\xe9\xbe\xef\x62\xc2\xa0\xd3\xa2\x22\x63\x6a\x87\x9d\xfb\x7e\x3a\xac\xf5\x28\xcf\x4a\x75\x5d\x8a\x81\xc8\xd4\x52\xbc\xc4\x5f\x6d\x86\x3d\xb3\x61\x4e\xcf\x3a\xb8\x49\x00\x87\x9f\xa6\x4a\x44\xe7\x49\x76\x95\x5f\x2a\x31\x53\xe5\x34\x37\x0c\x37\x19\x27\x4a\x03\x07\x4d\x66\xf3\x54\x99\x73\x5b\x9a\x65\xd2\xc8\x42\x95\x88\x32\x75\x5d\x76\x1d\x94\xa8\x9c\x16\xf9\xb2\x0b\xd8\x8f\x68\xf5\x11\x98\x25\x33\x37\x31\xd7\xd9\x40\xcc\xe4\xa5\x7a\x0b\x3f\xde\x43\x5d\xbf\xfe\xb8\xec\x34\x1d\x37\x5c\x02\x3c\x09\xf0\x06\xfb\x83\x38\x6f\x64\xa8\x48\x0c\x80\x98\xb0\x91\x99\x61\xb1\xea\x21\x3d\x4f\x55\x3a\x37\x27\x49\x2e\x66\x49\x96\xcc\x92\x7f\x2a\x11\xab\x7c\x5e\x9a\x3f\x71\x7a\x91\x38\x86\x3e\x0c\xb9\x18\x26\x9b\x2a\x53\x4c\x80\x0a\x35\xca\x8b\x58\xa4\xc9\xa5\xb2\x43\x8b\xca\x62\x75\x98\x95\x45\xa2\xf4\x69\x72\x16\xf9\x26\x11\x1e\x69\x49\x56\xaa\x62\x2c\xe1\x54\xLine truncated
// FileSettingsJsMap is "settings.js.map"
var FileSettingsJsMap = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xd4\xbd\x8b\x76\x1b\x37\xb2\x28\xfa\x2b\xb0\x26\xc7\x24\x63\x3e\x2c\x27\x93\x78\xa8\x30\x8a\x22\xcb\x8e\x26\xb6\xe5\x23\x29\xce\x9e\x2b\x6a\xcb\x20\x1b\x24\x11\x35\xbb\x39\x8d\xa6\x24\x8e\xad\xf3\x3f\xf7\x37\xee\x97\xdd\x85\xaa\xc2\xab\x1f\x24\x65\x67\xf6\xde\x27\xb3\xd6\x58\x44\x03\x05\xa0\x50\x28\xd4\x0b\x85\x8f\x3b\x37\x22\x53\x32\x4d\x76\xfa\xdf\xb4\x77\x26\x32\x16\x3b\xfd\x1d\x25\xf2\x5c\x26\x53\xd5\xfd\x43\xed\xb4\x77\x54\xba\xcc\xc6\x42\xed\xf4\x2f\x76\xba\xdd\x5e\x92\x46\xe2\x6a\x9e\x46\xcb\x58\xa8\x5e\x26\xa6\x22\x11\x19\xcf\xd3\xac\x93\x2d\x93\x5c\xce\x45\x8f\xfe\xc5\xb6\xc5\x06\x3f\x8d\xf8\x48\xc4\xa6\x4e\x6f\x26\xe2\x85\xc8\x54\x2f\x12\x13\x99\x88\x77\x59\xba\x10\x59\xbe\xaa\x6e\x3a\x4e\x33\xd1\xf9\x43\xf5\x64\x92\x8b\x2c\xe1\xb1\xea\x4d\xe3\x74\xc4\xe3\x6d\x6b\x4f\xb8\x8c\xd5\xb6\x95\x23\xa1\xc6\x99\x5c\xe4\x69\xb6\x75\x93\x74\xf4\x87\x18\xe7\x9d\x05\x4d\xa2\x23\x55\x47\x24\xcb\xb9\xc8\xf8\x28\xae\xc1\x46\x19\xc8\x38\x13\x3c\x17\x0e\x88\x1b\xc7\xd6\x10\x62\xae\x54\x3a\xe9\x64\xfc\x76\xdb\x26\x32\x89\xc4\x9d\x88\x3a\x38\x83\x6d\x5b\x65\xe2\x9f\x4b\x99\x09\x6a\xd5\x19\xa7\x22\x1b\xcb\x07\x4c\x35\x4f\x3b\x9f\xd7\xb1\x54\x0f\x6c\x90\xa7\x9d\x45\x26\xe7\x32\x97\x37\x5b\x8f\x6e\xc6\xb7\xa7\x95\x74\xbc\x9c\x8b\x24\xef\xd0\xe2\x89\x58\xe8\x9f\x5b\x4f\x47\x3c\xef\x44\xe9\xbc\x83\x7b\xe0\x81\xd4\x36\x15\x79\x27\xbd\x4d\xbe\x84\x60\x78\xf2\x40\x74\x52\xd7\x38\x5e\xdb\xf3\x03\x29\x3c\x49\x13\x6f\x7b\x3c\x18\x8a\x12\x79\xe7\x61\xdb\x5f\xcd\x78\x26\xa2\x8e\xca\xd3\x6c\x6b\x24\xcb\x44\x2d\xf4\x54\x91\x03\x6e\xdb\x2a\xe1\x9a\xd0\x3a\xb7\x82\x5f\x77\xe6\x7c\xf1\xb0\x01\x6e\x5b\x7b\x29\xb7\xae\x4a\x33\xbf\x16\x5b\x63\x77\x26\xa3\x48\x24\xba\xc5\xd6\x9b\xc0\xfc\xd5\x51\x39\xcf\xb7\x46\x55\x26\x1e\x46\xf5\x0b\x9e\xcf\xb6\x3e\x1d\x44\xde\x19\x2d\x65\x9c\x77\x64\xf2\x20\x9e\x94\x8b\xa9\xd8\x7a\xf7\xe4\x69\x27\x16\xc9\x74\xfb\x61\xe5\x69\x87\x8f\x54\x1a\x2f\x73\x81\xfc\x6f\xeb\x7d\x9a\x65\x7c\xd5\x91\xc9\x38\x5e\x46\xe2\xa1\xa7\x92\x5e\xca\x8e\x29\xdd\xb6\xad\xde\x9f\x9d\xd1\x72\xfa\x20\x42\xa8\x63\x4c\x09\x9f\x3f\x78\xd4\x25\x20\x6a\x35\x1f\xa5\xdb\x9f\xe2\xba\xed\x43\xc6\x3e\x4e\x17\xab\xce\x38\x4d\x54\x9e\x2d\xc7\x5a\xa6\xa1\x8e\xe5\xf6\x23\x97\xaa\x33\x49\xb3\xf1\xf6\x1b\x59\xdc\x2d\xd2\xec\x01\x87\xee\x54\xdc\x2d\x3a\x93\x98\x4f\xb7\x1e\x12\xb5\x51\xb9\x1c\x5f\xaf\x3a\x24\x72\x3d\xb0\xb1\xb8\x13\xe3\xf5\x4d\xcc\x6f\xa1\xba\xd8\xa6\xbb\xb9\x8d\x4f\x6a\x53\x7d\x98\x48\xd5\xd1\x15\x1f\xd8\x6a\xa9\x44\xd6\xe1\xd3\x07\x9c\xb9\xd4\xf0\xe6\x79\x87\xa4\xdf\x07\xf2\x76\xa4\xc3\xad\x79\xb5\x32\x2d\x3a\x5c\x75\x1e\xc0\xb9\x6f\x45\x1c\x77\xae\x13\x4d\xc6\x0f\xeb\x71\x22\xef\x3a\xb4\x72\x25\x18\x9d\x38\x9d\xca\xad\x17\x46\xe5\x99\x4c\xa6\x9d\xf9\x32\xce\xe5\x68\xb5\x3d\x67\xe7\xd1\x0d\x4f\xc6\xa2\x43\xed\x1f\xc4\xe9\xf2\xf4\x81\x12\x89\xe6\x13\x6a\x39\x52\xb9\xcc\x97\xf9\x03\x56\xd3\x23\x6e\xcd\x94\xf3\x8c\x6f\xea\xd3\xa3\x72\x9c\x59\x37\x13\x8b\x98\xd7\x09\x07\x59\x1a\xc7\xcb\x45\x67\x11\x2f\xa7\x32\x01\xd2\x26\xa9\x45\xf5\x54\x36\x5e\xab\xc0\xdc\x2c\xc5\x5d\x2f\x92\x2a\x87\xbf\xba\x42\xcd\xab\xeb\xc5\x69\xc4\xd5\xac\x77\x35\xc9\x84\x78\xb5\x06\x9e\xa9\x97\xa5\x69\xcd\x1c\x4d\x8d\xb3\x35\xa4\x66\xea\x4c\x45\x7e\xca\x6f\xcf\xf9\x74\x7d\x35\x5c\xc6\xf3\xf4\x0c\x71\xb5\xb6\xee\x88\x2b\xf1\x4a\xe4\x9b\x60\x4a\x75\xb2\x86\x36\x6c\xa5\x97\xcb\x64\x5c\x4f\x0a\xa6\x4f\xbd\xac\x7f\x57\x2f\x78\xce\xd7\xd7\x93\xea\x0d\x57\xd7\x75\x4c\xdd\xd4\xca\xd3\xb3\x35\x82\xa2\x3f\xcf\x63\xf5\x96\xd7\x6b\x23\x1e\x92\xdf\xf3\x78\xb9\xb9\xd6\x36\xc0\xb6\x51\xb1\xfd\x21\x1e\x28\x25\xa7\xc9\xe6\xfe\xc5\x3f\xd7\xc3\xe2\x5b\xc2\xb9\xd2\x87\xef\x36\x4b\x1b\x89\x24\x97\x9b\x66\xc0\x17\x8b\x78\x43\x95\xf4\x46\x64\xa7\x42\xad\xef\x0d\x84\x01\x5e\x77\xb0\xf8\xf8\x3a\x13\x5b\xd2\xb9\x9a\xa5\x59\x7e\xb2\xdc\x00\x52\x6d\x0b\x4e\xf7\xbd\x71\x1a\x52\xbd\x5e\x23\xa4\xda\x4a\x07\x5a\xc4\x7c\x2d\xaf\x37\xac\x94\x54\xc7\xf5\xec\xdc\xab\x94\x8b\x8c\xe7\x42\x1c\xf2\x78\x03\x37\x41\x9d\x10\x29\xae\x4e\xf4\x76\x70\xdf\x65\x69\x9e\xe6\xab\xc5\x16\xfb\xec\x5c\xd6\x0a\x9d\x05\x76\xb2\x79\xd6\xb8\x6f\x0f\xb2\x29\x28\xfb\x9b\xa0\x6e\x5f\x2f\xe3\xeb\x09\x55\xe5\xcb\xd1\x4b\x1e\xab\xf5\xc3\x93\xea\xe7\xe5\x64\xb2\x09\x79\x38\x87\xf3\xd5\x42\x44\x9b\x3b\x86\xda\xbf\x25\x3c\xdb\x50\x4d\x17\xfe\x96\xcb\xf5\x6b\x2c\xb7\xee\x95\x1b\x22\xfc\xb5\x56\x72\xf7\xb7\xf0\x41\xb6\x61\x83\xa0\xc8\xb6\x19\x98\x9e\xed\xc6\x5a\xf5\xda\x04\x55\x40\x76\xb7\x01\x15\x6f\x3d\x64\x2d\x65\x6f\x9c\xce\x17\x69\xa2\x89\xa5\x67\x2c\xaf\xbd\x33\xfc\xe3\xe7\x34\x8d\x05\x4f\xba\x37\x4b\x51\x2d\x23\x18\xb3\x6b\xc7\x9a\x52\xb5\xc8\x90\xa4\xd9\x9c\xc7\xf2\x5f\xa2\x63\x61\x77\xe7\xdb\xf5\xf8\x46\x4b\x7a\x87\xb3\x54\x8e\x85\xeb\x75\x7d\x93\xb7\xcb\xf9\x48\x64\xdb\xd6\x3e\x93\xc9\x34\x16\x0f\xeb\x81\x18\xe1\x96\xb5\x7f\x4b\x40\xde\xad\xab\x4e\xb5\xd4\xcf\xcb\x24\x8a\x6b\x87\x60\x6a\x1d\x2c\x16\x35\xd8\xe7\x77\x32\x55\xbd\x58\x8e\xac\x19\x7b\x24\x93\x1a\x11\xc1\xd5\x5d\xe6\xb5\x66\xe8\x0a\x80\x4b\x19\x47\xbf\x9d\xbe\xde\x54\x5f\xcb\x31\xbd\x6Line truncated
var FileSettingsJs = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\xbd\xfb\x7e\xdb\x36\xd6\x28\xfa\xf7\xd9\x4f\x21\xe1\x73\x39\x40\x05\xd3\x72\xda\x69\xa7\x54\x10\x8d\x93\x38\x69\xda\xc4\x4e\xe3\x24\xbd\x28\x1a\x7f\xb4\x04\xc9\x88\x25\x40\x05\x21\x5f\x2a\xf2\xbc\xcf\x79\x8d\xf3\x64\xe7\x87\x1b\x09\x52\x94\x93\xb9\xed\xef\xdb\xfb\xec\xf9\x75\x62\x11\xd7\x05\x60\x61\xdd\xb0\xb0\x30\xa5\x33\xc6\x29\x84\xb3\x35\x9f\x28\x26\x38\x44\x1b\xb0\xce\x68\x27\x53\x92\x4d\x14\x18\x5c\xa7\xb2\xa3\x08\x58\x73\x5b\x70\x0a\xba\x44\xdd\xad\xa8\x98\x75\xe6\x0b\x71\x91\x2e\xde\x5e\xb2\x6c\x58\xfd\x4c\xda\x4a\xde\x30\x3e\x15\x37\x43\xfb\xa7\xb5\x84\x6d\xc0\xb5\xd3\x5a\x22\xa3\x8b\xd9\x50\xff\x93\x6c\x8a\x81\x07\xb6\x43\xa1\x42\x1b\x49\xd5\x5a\xf2\x8e\x8a\x22\x15\x9f\x9f\xd3\xec\x95\x98\xae\x17\x34\x8a\x4e\x2f\x3e\xd2\x89\x8a\x57\x52\x28\xa1\x5b\x89\x2f\xd3\xec\xf4\x86\xbf\x96\x62\x45\xa5\xba\x8b\x27\xe9\x62\x01\x15\x06\x53\x3a\x4b\xd7\x0b\x05\xd0\x50\xc5\xee\x77\xa2\x8a\xb2\x0f\xa9\xfb\x60\x33\x18\x36\x8e\x7c\x9f\x66\x7e\x28\x71\x5d\x59\xa8\x7d\x07\x70\x53\x60\x50\xd5\x01\x78\x73\x9d\x2e\xd6\x34\xe9\xf6\x0b\x34\x70\x0d\xb8\x8a\x57\xf4\x2e\x83\x0a\xc5\x33\x21\x8f\xd3\xc9\x65\xb0\x1c\x12\x6d\x74\x17\xdc\x77\x31\xa7\x2a\x18\xc3\x53\x9a\x4d\x24\x5b\x29\x21\xa1\xc2\x12\x0d\xda\xe1\xa0\x58\x62\xae\x6b\x0e\x79\xb2\xa1\x7c\xbd\xa4\x32\xbd\x58\x68\x40\xf0\x9c\xaa\x24\x58\x7a\x3f\xac\x91\x1c\x17\x05\x2a\x10\xc2\xb4\x9a\x08\xae\x27\xc2\x8e\x77\x43\x6f\x57\x42\xaa\x2c\xd9\x14\x85\x1f\x8a\x82\x14\xd3\xd8\x65\xa0\xea\x67\xc1\x83\xe1\x94\x2d\x6c\xa5\x60\x49\x9a\x0b\x86\x39\x91\x8d\x45\xc3\x82\x00\x5f\x15\x10\x8f\x1c\x67\x77\xcb\x0b\xb1\x18\xda\x3f\xc9\xa6\xc0\x8c\x88\x98\x29\x2a\x53\x25\x64\x9e\x83\xbf\xfe\xd5\x7f\x00\x9c\x12\x11\xa7\xd9\x1d\x9f\xbc\x08\xf3\x6b\x29\x00\xaf\x89\x88\x95\x38\x53\x92\xf1\xf9\xdb\x74\x6e\x8a\x04\xdf\xa0\xc2\xc0\x0c\x2a\x4c\xb1\x2c\xa7\xae\x7d\x05\x74\x19\xb7\xfa\x12\xd7\x57\x60\x22\xf8\x8c\xcd\xd7\xe5\xf7\x8d\x64\xca\xfd\x2e\x10\x56\x23\x3a\x2e\x94\xbc\xdb\x64\x06\x9b\x00\x2a\x26\xa9\x9a\x5c\xea\x59\xcb\x82\x39\xac\x81\xa0\xeb\x10\x59\x54\x0b\x37\xb1\x05\x30\xb7\x53\x2d\x08\x8d\x22\x5a\x4d\x73\x87\xf1\x4c\xa5\x7c\xa2\x67\xf2\x7a\x48\x93\x6b\xcc\xfc\x52\x4c\x24\x4d\x15\x85\xa2\x2a\x8c\x70\x4a\x38\xbd\xe9\xbc\x86\x3c\xcf\x47\xe3\x12\x91\x59\x7c\xce\xf8\xb5\xb8\xa2\x5b\x50\x59\xf4\x9d\xf9\x82\x65\xb6\xc0\xcc\xec\x2b\x4e\x08\x99\x22\x75\x29\xc5\x4d\x47\xb7\x7c\x2c\xa5\x90\x10\x3c\xa7\xdc\xae\x46\x87\x65\x9d\x74\x21\x69\x3a\xbd\xeb\xc8\x35\xe7\x8c\xcf\x01\x1a\xb8\x8a\x97\xa6\x09\x60\x6a\x03\x42\x88\x70\x0d\x31\xdf\xdd\x15\x44\xc5\x4c\x48\x28\xe3\x25\x55\x97\x62\x4a\x04\x96\x71\x2a\xe7\x84\x0d\x06\x16\xb6\x94\xc8\x78\x4a\x17\x74\x9e\x2a\xaa\x9b\x4d\x6d\xf2\x9a\x1c\xc3\x54\xef\x29\x36\x83\x6b\xd3\xcb\x9a\x10\x72\x87\x26\x82\x2b\xc6\xd7\xd4\x77\xb0\x2e\x0a\x0d\x01\xa7\xb7\x4a\x03\xe0\xfb\x41\x32\xce\x28\x57\x44\xc6\xe7\xee\x6f\x2a\xe7\x03\xba\xc8\x68\xa7\x06\x70\x59\xde\x4f\xc5\xcc\x4f\x05\xb9\xb4\x90\x0e\x64\x3c\x65\xd9\x4a\x2f\xfb\xf1\xed\x84\xae\x2c\x59\xd0\x39\xa8\xd0\xed\x01\x0b\x48\xd8\x58\x14\xc9\x38\xbd\x90\xeb\x95\x82\x3e\xd7\xb6\x85\x06\x9c\x4c\x0d\xcd\xca\xc8\xc2\x2d\xd0\xc0\x80\x2f\xe4\x32\x5d\xe8\x36\xb2\xd8\x2c\xb3\x05\x47\xc6\x53\xc1\xe9\xf0\x32\x59\xe1\xcc\xcc\x5a\xcb\x0c\x38\xbc\x36\xf9\x58\x17\x4f\x6c\xad\xa2\xa8\x46\x69\x1b\x8d\x22\x68\x47\xe5\x96\xc2\xe5\xbb\x05\xc9\xec\x90\x8a\x42\x93\x32\x9c\x22\xcc\x2a\x0c\xf6\xb0\x6e\xf4\x56\x70\xdd\xea\x16\x13\x0f\x38\x4e\xe5\x3c\x51\x96\xa4\xeb\x82\x45\xb5\x4f\x6a\xc5\x5d\x8f\xa6\x74\x51\x14\x2a\xbe\x91\xe9\x8a\x4c\xcc\x94\xcc\x08\xc8\xd6\xd9\x8a\xf2\x29\x9d\x9e\xa9\x54\x2a\x80\x57\x41\xd2\xaf\x8c\x2e\xa6\x00\x4f\x09\xa0\xb7\x74\xb2\x56\x1a\x0f\xf1\x25\x01\x13\xb1\x5c\x2d\xa8\xa2\x53\x80\xef\x48\xc8\x9c\xae\x21\xda\x54\x43\x98\xd7\xbe\x96\xfa\x4b\x77\x7a\xa1\xab\x5c\x8c\xd8\x98\xb4\x90\xe1\x4b\x96\x15\x06\xb4\x9b\x80\xfc\xbf\xf6\x5b\xf1\x74\x86\xcf\xc9\x4d\x14\xdd\xc0\x1b\xf8\x04\x8e\xc6\x08\xa1\xc1\x79\x14\x9d\x77\x09\x91\x51\xc4\xed\x64\x9c\x63\x86\xa2\x08\x5e\x90\x73\x64\x5a\x3a\x25\xcb\x6a\x33\x93\xeb\xe0\x77\x7d\xcb\x5f\xa0\x6a\x20\x1f\xf5\x34\x8e\x2c\x8a\x63\x3f\x85\x1e\xb1\xc6\x2d\x4c\x8b\xa2\x8d\xa5\x8b\x35\xc2\x1f\x8c\xca\x13\x0b\x48\xb1\xd2\x6c\x46\xff\x57\x76\x77\xa6\xab\xa2\x4d\xc0\x80\x05\x66\x38\xc5\x6b\xbb\x31\x0d\xe6\x8e\xc4\x18\x2b\xcc\x2c\xf2\x5a\x88\xba\x15\xee\xea\x62\x13\x8b\x50\x78\x46\x26\xb1\xc1\xd0\x92\x00\x45\x11\x10\x66\xac\x15\x03\x99\x95\xf3\x35\xd3\x2c\x3b\xbd\x49\x99\x96\x07\x68\x2c\x69\x26\x16\xd7\x14\xce\x62\x97\x8a\x62\x75\x49\x1b\x1c\x4d\xba\xed\x8f\x95\x81\xb2\x40\xb8\x99\xed\xe6\xcc\xe7\xa3\x24\x68\xb9\xad\x45\x07\x32\x51\x38\x85\x93\xed\x06\xed\x40\x5a\xda\x2d\xd6\xd0\x6d\x23\x43\xe8\x07\xe1\x5c\x87\x84\x99\x07\xd3\xcb\x2a\x84\xd3\xe4\x37\x94\x05\x29\x16\x1a\x7c\x85\x39\xd6\x3f\x75\x07\xae\xa4\x20\x62\x28\x2c\xe0\x0c\x33\x94\x30\x88\x02\x86\x73\x6c\xa4\x11\x47\xf9\x55\xc9\x89\x47\x7e\xe7\x8f\x3d\xf9\xb6\x74\xa6\xa2\xbf\x84\xaf\x17\x0b\xbc\x83\x3a\x56\x0d\xc5\x16\x8a\x28\xaa\xc8\x7a\x9d\xce\x11\x8a\x2d\x0c\x6d\x6d\x79\xLine truncated
func init() {
err := CTX.Err()
@@ -78,32 +75,6 @@ func init() {
panic(err)
}
rb = bytes.NewReader(FileSettingsJsMap)
r, err = gzip.NewReader(rb)
if err != nil {
panic(err)
}
err = r.Close()
if err != nil {
panic(err)
}
f, err = FS.OpenFile(CTX, "settings.js.map", os.O_RDWR|os.O_CREATE|os.O_TRUNC, 0777)
if err != nil {
panic(err)
}
_, err = io.Copy(f, r)
if err != nil {
panic(err)
}
err = f.Close()
if err != nil {
panic(err)
}
Handler = &webdav.Handler{
FileSystem: FS,
LockSystem: webdav.NewMemLS(),
@@ -1,36 +1,11 @@
<template>
<div>
<oc-button :id="buttonElementId" class="uk-width-expand" justify-content="space-between">
<span v-if="selectedOptions !== null && selectedOptions.length > 0">
{{ selectedOptionsDisplayValues }}
</span>
<span v-else>
{{ setting.placeholder || $gettext('Please select') }}
</span>
<oc-icon name="expand_more" />
</oc-button>
<oc-drop
:drop-id="dropElementId"
:toggle="`#${buttonElementId}`"
mode="click"
position="bottom-justify"
:options="{ offset: 0, delayHide: 200, flip: false }"
>
<ul class="uk-list">
<li
v-for="(option, index) in setting.multiChoiceValue.options"
:key="getOptionElementId(index)"
>
<oc-checkbox
v-model="selectedOptions"
:option="option"
@input="onSelectedOption"
:label="option.displayValue"
/>
</li>
</ul>
</oc-drop>
</div>
<oc-select
v-model="selectedOptions"
:clearable="false"
:options="displayOptions"
@input="onSelectedOption"
multiple
/>
</template>
<script>
@@ -53,28 +28,21 @@ export default {
},
data () {
return {
selectedOptions: null
selectedOptions: []
}
},
computed: {
selectedOptionsDisplayValues () {
return Array.from(this.selectedOptions).map(option => option.displayValue).join(', ')
},
dropElementId () {
return `multi-choice-drop-${this.setting.id}`
},
buttonElementId () {
return `multi-choice-toggle-${this.setting.id}`
displayOptions () {
return this.setting.multiChoiceValue.options.map(val => val.displayValue)
}
},
methods: {
getOptionElementId (index) {
return `${this.setting.id}-${index}`
},
async onSelectedOption () {
const values = []
if (!isNil(this.selectedOptions)) {
this.selectedOptions.forEach(option => {
this.selectedOptions.forEach(displayValue => {
const option = this.setting.multiChoiceValue.options.find(val => val.displayValue === displayValue)
if (option.value.intValue) {
values.push({ intValue: option.value.intValue })
}
@@ -123,13 +91,15 @@ export default {
return selectedValues.includes(option.value.stringValue)
}
return false
})
}).map(val => val.displayValue)
}
}
// 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)
this.selectedOptions = this.setting.multiChoiceValue.options
.filter(option => option.default)
.map(val => val.displayValue)
}
}
}
@@ -1,36 +1,11 @@
<template>
<div>
<oc-button :id="buttonElementId" class="uk-width-expand" justify-content="space-between">
<span v-if="selectedOption">
{{ selectedOption.displayValue }}
</span>
<span v-else>
{{ setting.placeholder || $gettext('Please select') }}
</span>
<oc-icon name="expand_more" />
</oc-button>
<oc-drop
:drop-id="dropElementId"
:toggle="`#${buttonElementId}`"
mode="click"
close-on-click
position="bottom-justify"
:options="{ offset: 0, delayHide: 200, flip: false }"
>
<ul class="uk-list">
<li
v-for="(option, index) in setting.singleChoiceValue.options"
:key="getOptionElementId(index)"
>
<oc-radio
v-model="selectedOption"
:option="option"
@input="onSelectedOption"
:label="option.displayValue"
/>
</li>
</ul>
</oc-drop>
<oc-select
v-model="selectedOption"
:clearable="false"
:options="displayOptions"
@input="onSelectedOption"
/>
</div>
</template>
@@ -58,25 +33,21 @@ export default {
}
},
computed: {
dropElementId () {
return `single-choice-drop-${this.setting.id}`
},
buttonElementId () {
return `single-choice-toggle-${this.setting.id}`
displayOptions () {
return this.setting.singleChoiceValue.options.map(val => val.displayValue)
}
},
methods: {
getOptionElementId (index) {
return `${this.setting.id}-${index}`
},
async onSelectedOption () {
const values = []
if (!isNil(this.selectedOption)) {
if (this.selectedOption.value.intValue) {
values.push({ intValue: this.selectedOption.value.intValue })
const option = this.setting.singleChoiceValue.options.find(val => val.displayValue === this.selectedOption)
if (option.value.intValue) {
values.push({ intValue: option.value.intValue })
}
if (this.selectedOption.value.stringValue) {
values.push({ stringValue: this.selectedOption.value.stringValue })
if (option.value.stringValue) {
values.push({ stringValue: option.value.stringValue })
}
}
const payload = {
@@ -106,14 +77,14 @@ export default {
}
})
if (filtered.length > 0) {
this.selectedOption = filtered[0]
this.selectedOption = filtered[0].displayValue
}
}
// if not set, yet, apply default from settings bundle definition
if (isNil(this.selectedOption)) {
const defaults = this.setting.singleChoiceValue.options.filter(option => option.default)
if (defaults.length === 1) {
this.selectedOption = defaults[0]
this.selectedOption = defaults[0].displayValue
}
}
}