add tests

This commit is contained in:
Emmanuel Garette 2019-02-14 21:25:00 +01:00
parent 9cc096a7db
commit 25cd9e14ea
121 changed files with 3311 additions and 6 deletions

0
test/__init__.py Normal file
View File

1
test/data/boolean1.dict Normal file
View File

@ -0,0 +1 @@
{"options.boolean": null}

23
test/data/boolean1.json Normal file
View File

@ -0,0 +1,23 @@
{
"schema": {
"options": {
"name": "options",
"properties": {
"options.boolean": {
"name": "options.boolean",
"title": "Boolean 1",
"type": "boolean"
}
},
"type": "object",
"title": "Common configuration"
}
},
"model": [],
"form": [
{
"title": "Configurer",
"type": "submit"
}
]
}

View File

@ -0,0 +1 @@
{"options.boolean": null}

View File

@ -0,0 +1,28 @@
{
"schema": {
"options": {
"name": "options",
"properties": {
"options.boolean": {
"name": "options.boolean",
"type": "boolean",
"title": "Boolean 1 frozen"
}
},
"type": "object",
"title": "Common configuration"
}
},
"model": [
{
"key": "options.boolean",
"readOnly": true
}
],
"form": [
{
"title": "Configurer",
"type": "submit"
}
]
}

1
test/data/choice1.dict Normal file
View File

@ -0,0 +1 @@
{"options.choice": null}

32
test/data/choice1.json Normal file
View File

@ -0,0 +1,32 @@
{
"schema": {
"options": {
"name": "options",
"properties": {
"options.choice": {
"name": "options.choice",
"title": "Choice description",
"type": "choice",
"enum": [
"",
"choice 1",
"choice 2"
]
}
},
"type": "object",
"title": "Common configuration"
}
},
"model": [],
"form": [
{
"type": "choice",
"key": "options.choice"
},
{
"title": "Configurer",
"type": "submit"
}
]
}

View File

@ -0,0 +1 @@
{"options.choice": null}

View File

@ -0,0 +1,37 @@
{
"schema": {
"options": {
"name": "options",
"properties": {
"options.choice": {
"name": "options.choice",
"type": "choice",
"enum": [
"",
"choice 1",
"choice 2"
],
"title": "Choice description frozen"
}
},
"type": "object",
"title": "Common configuration"
}
},
"model": [
{
"key": "options.choice",
"readOnly": true
}
],
"form": [
{
"key": "options.choice",
"type": "choice"
},
{
"title": "Configurer",
"type": "submit"
}
]
}

View File

@ -0,0 +1 @@
{"options.choice1.choice1": [], "options.choice1.choice2": [], "options.choice1.choice3": [], "options.choice1.choice4": []}

View File

@ -0,0 +1,89 @@
{
"schema": {
"options": {
"name": "options",
"properties": {
"options.choice1": {
"name": "options.choice1",
"properties": {
"options.choice1.choice1": {
"name": "options.choice1.choice1",
"title": "Choice description master",
"type": "choice",
"isMulti": true,
"enum": [
"choice 1",
"choice 2"
]
},
"options.choice1.choice2": {
"name": "options.choice1.choice2",
"title": "Choice description slave 1",
"type": "choice",
"isMulti": true,
"enum": [
"",
"choice 3",
"choice 4"
]
},
"options.choice1.choice3": {
"name": "options.choice1.choice3",
"title": "Choice description slave 2",
"type": "choice",
"isMulti": true,
"enum": [
"",
"choice 5",
"choice 6"
]
},
"options.choice1.choice4": {
"name": "options.choice1.choice4",
"title": "Choice description slave 3",
"type": "choice",
"isMulti": true,
"enum": [
"",
"choice 7",
"choice 8"
]
}
},
"type": "array",
"title": "Common configuration 1"
}
},
"type": "object",
"title": "Common configuration 2"
}
},
"model": [
{
"key": "options.choice1.choice1",
"required": true
}
],
"form": [
{
"type": "choice",
"key": "options.choice1.choice1"
},
{
"type": "choice",
"key": "options.choice1.choice2"
},
{
"type": "choice",
"key": "options.choice1.choice3"
},
{
"type": "choice",
"key": "options.choice1.choice4"
},
{
"title": "Configurer",
"type": "submit"
}
]
}

View File

@ -0,0 +1 @@
{"options.choice1.choice1": [], "options.choice1.choice2": [], "options.choice1.choice4": []}

View File

@ -0,0 +1,94 @@
{
"schema": {
"options": {
"name": "options",
"properties": {
"options.choice1": {
"name": "options.choice1",
"properties": {
"options.choice1.choice1": {
"name": "options.choice1.choice1",
"title": "Choice description master",
"type": "choice",
"isMulti": true,
"enum": [
"choice 1",
"choice 2"
]
},
"options.choice1.choice2": {
"name": "options.choice1.choice2",
"title": "Choice description slave 1",
"type": "choice",
"isMulti": true,
"enum": [
"",
"choice 3",
"choice 4"
]
},
"options.choice1.choice3": {
"name": "options.choice1.choice3",
"title": "Choice description slave 2 hidden",
"type": "choice",
"isMulti": true,
"enum": [
"",
"choice 5",
"choice 6"
]
},
"options.choice1.choice4": {
"name": "options.choice1.choice4",
"title": "Choice description slave 3",
"type": "choice",
"isMulti": true,
"enum": [
"",
"choice 7",
"choice 8"
]
}
},
"type": "array",
"title": "Slave 2 is hidden"
}
},
"type": "object",
"title": "Common configuration 2"
}
},
"model": [
{
"key": "options.choice1.choice1",
"required": true
},
{
"key": "options.choice1.choice3",
"hidden": true,
"display": false
}
],
"form": [
{
"type": "choice",
"key": "options.choice1.choice1"
},
{
"type": "choice",
"key": "options.choice1.choice2"
},
{
"type": "choice",
"key": "options.choice1.choice3"
},
{
"type": "choice",
"key": "options.choice1.choice4"
},
{
"title": "Configurer",
"type": "submit"
}
]
}

View File

@ -0,0 +1 @@
{"options.choice1.choice1": ["choice 2"], "options.choice1.choice2": ["choice 4"], "options.choice1.choice3": [null], "options.choice1.choice4": [null]}

View File

@ -0,0 +1,99 @@
{
"schema": {
"options": {
"name": "options",
"properties": {
"options.choice1": {
"name": "options.choice1",
"properties": {
"options.choice1.choice1": {
"name": "options.choice1.choice1",
"title": "Choice master",
"type": "choice",
"isMulti": true,
"enum": [
"choice 1",
"choice 2"
]
},
"options.choice1.choice2": {
"name": "options.choice1.choice2",
"title": "Choice slave 1",
"type": "choice",
"isMulti": true,
"enum": [
"",
"choice 3",
"choice 4"
]
},
"options.choice1.choice3": {
"name": "options.choice1.choice3",
"title": "Choice slave 2",
"type": "choice",
"isMulti": true,
"enum": [
"",
"choice 5",
"choice 6"
]
},
"options.choice1.choice4": {
"name": "options.choice1.choice4",
"title": "Choice slave 3",
"type": "choice",
"isMulti": true,
"enum": [
"",
"choice 7",
"choice 8"
]
}
},
"type": "array",
"title": "Common configuration 1"
}
},
"type": "object",
"title": "Common configuration 2"
}
},
"model": [
{
"key": "options.choice1.choice1",
"required": true,
"value": [
"choice 2"
],
"owner": "user"
},
{
"key": "options.choice1.choice2",
"index": 0,
"value": "choice 4",
"owner": "user"
}
],
"form": [
{
"type": "choice",
"key": "options.choice1.choice1"
},
{
"type": "choice",
"key": "options.choice1.choice2"
},
{
"type": "choice",
"key": "options.choice1.choice3"
},
{
"type": "choice",
"key": "options.choice1.choice4"
},
{
"title": "Configurer",
"type": "submit"
}
]
}

View File

@ -0,0 +1 @@
{"options.choice": []}

View File

@ -0,0 +1,37 @@
{
"schema": {
"options": {
"name": "options",
"properties": {
"options.choice": {
"name": "options.choice",
"title": "Choice description",
"type": "choice",
"isMulti": true,
"enum": [
"choice 1",
"choice 2"
]
}
},
"type": "object",
"title": "Common configuration"
}
},
"model": [
{
"key": "options.choice",
"required": true
}
],
"form": [
{
"type": "choice",
"key": "options.choice"
},
{
"title": "Configurer",
"type": "submit"
}
]
}

View File

@ -0,0 +1 @@
{"options.choice": null}

View File

@ -0,0 +1,36 @@
{
"schema": {
"options": {
"name": "options",
"properties": {
"options.choice": {
"name": "options.choice",
"title": "Choice description",
"type": "choice",
"enum": [
"",
"choice 1",
"choice 2"
]
}
},
"type": "object",
"title": "Common configuration"
}
},
"model": [],
"form": [
{
"type": "choice",
"key": "options.choice",
"displayed": {
"choice 1": "renamed 1",
"choice 2": "renamed 2"
}
},
{
"title": "Configurer",
"type": "submit"
}
]
}

View File

@ -0,0 +1 @@
{"options.choice": "hide"}

View File

@ -0,0 +1,72 @@
{
"schema": {
"options": {
"name": "options",
"properties": {
"options.choice": {
"name": "options.choice",
"type": "choice",
"value": "hide",
"enum": [
"hide",
"show"
],
"title": "Choice description"
},
"options.unicode2": {
"name": "options.unicode2",
"type": "string",
"title": "Unicode 2"
}
},
"type": "object",
"title": "Common configuration"
}
},
"model": [
{
"key": "options.choice",
"required": true,
"value": "hide",
"owner": "default"
},
{
"key": "options.unicode2",
"hidden": true
}
],
"form": [
{
"key": "options.choice",
"clearable": true,
"type": "choice",
"dependencies": {
"default": {
"show": [
"options.unicode2"
]
},
"expected": {
"hide": {
"hide": [
"options.unicode2"
]
},
"show": {
"show": [
"options.unicode2"
]
}
}
}
},
{
"key": "options.unicode2",
"type": "input"
},
{
"title": "Configurer",
"type": "submit"
}
]
}

1
test/data/date1.dict Normal file
View File

@ -0,0 +1 @@
{"options.date": null}

23
test/data/date1.json Normal file
View File

@ -0,0 +1,23 @@
{
"schema": {
"options": {
"name": "options",
"properties": {
"options.date": {
"name": "options.date",
"title": "Date description",
"type": "date"
}
},
"type": "object",
"title": "Common configuration"
}
},
"model": [],
"form": [
{
"title": "Configurer",
"type": "submit"
}
]
}

View File

@ -0,0 +1 @@
{"options.date": null}

View File

@ -0,0 +1,28 @@
{
"schema": {
"options": {
"name": "options",
"properties": {
"options.date": {
"name": "options.date",
"type": "date",
"title": "Date description frozen"
}
},
"type": "object",
"title": "Common configuration"
}
},
"model": [
{
"key": "options.date",
"readOnly": true
}
],
"form": [
{
"title": "Configurer",
"type": "submit"
}
]
}

1
test/data/filename1.dict Normal file
View File

@ -0,0 +1 @@
{"usbpath": null}

26
test/data/filename1.json Normal file
View File

@ -0,0 +1,26 @@
{
"schema": {
"usbpath": {
"name": "usbpath",
"title": "Chemin d'acc\u00e8s",
"type": "string"
}
},
"model": [
{
"key": "usbpath",
"required": true
}
],
"form": [
{
"type": "input",
"pattern": "^[a-zA-Z0-9\\-\\._~/+]+$",
"key": "usbpath"
},
{
"title": "Configurer",
"type": "submit"
}
]
}

1
test/data/hostname1.dict Normal file
View File

@ -0,0 +1 @@
{"options.hostname1": null, "options.hostname2": null, "options.hostname3": null, "options.hostname4": null}

58
test/data/hostname1.json Normal file
View File

@ -0,0 +1,58 @@
{
"schema": {
"options": {
"name": "options",
"properties": {
"options.hostname1": {
"name": "options.hostname1",
"title": "Domainname Description",
"type": "domain"
},
"options.hostname2": {
"name": "options.hostname2",
"title": "Domainname without dot Description",
"type": "domain"
},
"options.hostname3": {
"name": "options.hostname3",
"title": "Hostname or IP Description",
"type": "domain"
},
"options.hostname4": {
"name": "options.hostname4",
"title": "Netbios Description",
"type": "domain"
}
},
"type": "object",
"title": "Common configuration"
}
},
"model": [],
"form": [
{
"type": "input",
"pattern": "^((?!-)[a-z0-9-]{1,63}\\.){1,}[a-z0-9-]{1,63}$",
"key": "options.hostname1"
},
{
"type": "input",
"pattern": "^((?!-)[a-z0-9-]{0,63}\\.){0,}[a-z0-9-]{1,63}$",
"key": "options.hostname2"
},
{
"type": "input",
"pattern": "^(?:((?!-)[a-z0-9-]{1,63})|(?:(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)))$",
"key": "options.hostname3"
},
{
"type": "input",
"pattern": "^((?!-)[a-z0-9-]{1,15})$",
"key": "options.hostname4"
},
{
"title": "Configurer",
"type": "submit"
}
]
}

1
test/data/ip1.dict Normal file
View File

@ -0,0 +1 @@
{"options.ip": null}

28
test/data/ip1.json Normal file
View File

@ -0,0 +1,28 @@
{
"schema": {
"options": {
"name": "options",
"properties": {
"options.ip": {
"name": "options.ip",
"title": "IP Description",
"type": "string"
}
},
"type": "object",
"title": "Common configuration"
}
},
"model": [],
"form": [
{
"type": "input",
"pattern": "^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$",
"key": "options.ip"
},
{
"title": "Configurer",
"type": "submit"
}
]
}

View File

@ -0,0 +1 @@
{"options.ip": null}

33
test/data/ip1_frozen.json Normal file
View File

@ -0,0 +1,33 @@
{
"schema": {
"options": {
"name": "options",
"properties": {
"options.ip": {
"name": "options.ip",
"type": "string",
"title": "IP Description frozen"
}
},
"type": "object",
"title": "Common configuration"
}
},
"model": [
{
"key": "options.ip",
"readOnly": true
}
],
"form": [
{
"key": "options.ip",
"pattern": "^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$",
"type": "input"
},
{
"title": "Configurer",
"type": "submit"
}
]
}

1
test/data/mail1.dict Normal file
View File

@ -0,0 +1 @@
{"options.mail": null}

28
test/data/mail1.json Normal file
View File

@ -0,0 +1,28 @@
{
"schema": {
"options": {
"name": "options",
"properties": {
"options.mail": {
"name": "options.mail",
"title": "Mail Description",
"type": "string"
}
},
"type": "object",
"title": "Common configuration"
}
},
"model": [],
"form": [
{
"type": "input",
"pattern": "^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\\.[a-zA-Z0-9-]+)*$",
"key": "options.mail"
},
{
"title": "Configurer",
"type": "submit"
}
]
}

1
test/data/number1.dict Normal file
View File

@ -0,0 +1 @@
{"options.integer": null}

28
test/data/number1.json Normal file
View File

@ -0,0 +1,28 @@
{
"schema": {
"options": {
"name": "options",
"properties": {
"options.integer": {
"name": "options.integer",
"title": "integer 1",
"type": "number"
}
},
"type": "object",
"title": "Common configuration"
}
},
"model": [],
"form": [
{
"type": "input",
"allowedpattern": "[0-9]",
"key": "options.integer"
},
{
"title": "Configurer",
"type": "submit"
}
]
}

View File

@ -0,0 +1 @@
{"options.integer": null}

View File

@ -0,0 +1,33 @@
{
"schema": {
"options": {
"name": "options",
"properties": {
"options.integer": {
"name": "options.integer",
"type": "number",
"title": "integer 1 frozen"
}
},
"type": "object",
"title": "Common configuration"
}
},
"model": [
{
"key": "options.integer",
"readOnly": true
}
],
"form": [
{
"key": "options.integer",
"allowedpattern": "[0-9]",
"type": "input"
},
{
"title": "Configurer",
"type": "submit"
}
]
}

View File

@ -0,0 +1 @@
{"options.integer": 3}

View File

@ -0,0 +1,36 @@
{
"schema": {
"options": {
"name": "options",
"properties": {
"options.integer": {
"name": "options.integer",
"title": "integer 1",
"type": "number",
"value": 0
}
},
"type": "object",
"title": "Common configuration"
}
},
"model": [
{
"key": "options.integer",
"value": 3,
"owner": "user"
}
],
"form": [
{
"clearable": true,
"type": "input",
"allowedpattern": "[0-9]",
"key": "options.integer"
},
{
"title": "Configurer",
"type": "submit"
}
]
}

View File

@ -0,0 +1 @@
{"options.integer": 0}

View File

@ -0,0 +1,36 @@
{
"schema": {
"options": {
"name": "options",
"properties": {
"options.integer": {
"name": "options.integer",
"title": "integer 1",
"type": "number",
"value": 0
}
},
"type": "object",
"title": "Common configuration"
}
},
"model": [
{
"key": "options.integer",
"value": 0,
"owner": "default"
}
],
"form": [
{
"clearable": true,
"type": "input",
"allowedpattern": "[0-9]",
"key": "options.integer"
},
{
"title": "Configurer",
"type": "submit"
}
]
}

1
test/data/unicode1.dict Normal file
View File

@ -0,0 +1 @@
{"options.unicode": null}

27
test/data/unicode1.json Normal file
View File

@ -0,0 +1,27 @@
{
"schema": {
"options": {
"name": "options",
"properties": {
"options.unicode": {
"name": "options.unicode",
"title": "Unicode 1",
"type": "string"
}
},
"type": "object",
"title": "Common configuration"
}
},
"model": [],
"form": [
{
"type": "input",
"key": "options.unicode"
},
{
"title": "Configurer",
"type": "submit"
}
]
}

View File

@ -0,0 +1 @@
{"options.unicode": null}

View File

@ -0,0 +1,32 @@
{
"schema": {
"options": {
"name": "options",
"properties": {
"options.unicode": {
"name": "options.unicode",
"type": "string",
"title": "Unicode 1 frozen"
}
},
"type": "object",
"title": "Common configuration"
}
},
"model": [
{
"key": "options.unicode",
"readOnly": true
}
],
"form": [
{
"key": "options.unicode",
"type": "input"
},
{
"title": "Configurer",
"type": "submit"
}
]
}

View File

@ -0,0 +1 @@
{"options.unicode": null}

View File

@ -0,0 +1,32 @@
{
"schema": {
"options": {
"name": "options",
"properties": {
"options.unicode": {
"name": "options.unicode",
"title": "Unicode 1",
"type": "string"
}
},
"type": "object",
"title": "Common configuration"
}
},
"model": [
{
"key": "options.unicode",
"required": true
}
],
"form": [
{
"type": "input",
"key": "options.unicode"
},
{
"title": "Configurer",
"type": "submit"
}
]
}

View File

@ -0,0 +1 @@
{}

View File

@ -0,0 +1,72 @@
{
"schema": {
"options": {
"name": "options",
"properties": {
"options.unicode": {
"name": "options.unicode",
"properties": {
"options.unicode.unicode": {
"name": "options.unicode.unicode",
"type": "string",
"isMulti": true,
"title": "Unicode master"
},
"options.unicode.unicode1": {
"name": "options.unicode.unicode1",
"type": "string",
"isMulti": true,
"title": "Unicode slave 1"
},
"options.unicode.unicode2": {
"name": "options.unicode.unicode2",
"type": "string",
"isMulti": true,
"title": "Unicode slave 2"
},
"options.unicode.unicode3": {
"name": "options.unicode.unicode3",
"type": "string",
"isMulti": true,
"title": "Unicode slave 3"
}
},
"type": "array",
"title": "Common configuration"
}
},
"type": "object",
"title": "Common configuration"
}
},
"model": [
{
"key": "options.unicode.unicode",
"display": false,
"required": true,
"hidden": true
}
],
"form": [
{
"key": "options.unicode.unicode",
"type": "input"
},
{
"key": "options.unicode.unicode1",
"type": "input"
},
{
"key": "options.unicode.unicode2",
"type": "input"
},
{
"key": "options.unicode.unicode3",
"type": "input"
},
{
"title": "Configurer",
"type": "submit"
}
]
}

View File

@ -0,0 +1 @@
{"options.unicode.unicode": [], "options.unicode.unicode1": [], "options.unicode.unicode2": [], "options.unicode.unicode3": []}

View File

@ -0,0 +1,70 @@
{
"schema": {
"options": {
"name": "options",
"properties": {
"options.unicode": {
"name": "options.unicode",
"properties": {
"options.unicode.unicode": {
"name": "options.unicode.unicode",
"title": "Unicode master",
"type": "string",
"isMulti": true
},
"options.unicode.unicode1": {
"name": "options.unicode.unicode1",
"title": "Unicode slave 1",
"type": "string",
"isMulti": true
},
"options.unicode.unicode2": {
"name": "options.unicode.unicode2",
"title": "Unicode slave 2",
"type": "string",
"isMulti": true
},
"options.unicode.unicode3": {
"name": "options.unicode.unicode3",
"title": "Unicode slave 3",
"type": "string",
"isMulti": true
}
},
"type": "array",
"title": "Common configuration 1"
}
},
"type": "object",
"title": "Common configuration 2"
}
},
"model": [
{
"key": "options.unicode.unicode",
"required": true
}
],
"form": [
{
"type": "input",
"key": "options.unicode.unicode"
},
{
"type": "input",
"key": "options.unicode.unicode1"
},
{
"type": "input",
"key": "options.unicode.unicode2"
},
{
"type": "input",
"key": "options.unicode.unicode3"
},
{
"title": "Configurer",
"type": "submit"
}
]
}

View File

@ -0,0 +1 @@
{"options.unicode.unicode": ["val1", "val2"], "options.unicode.unicode1": [null, null], "options.unicode.unicode2": ["slave2", "slave2"], "options.unicode.unicode3": [null, null]}

View File

@ -0,0 +1,94 @@
{
"schema": {
"options": {
"name": "options",
"properties": {
"options.unicode": {
"name": "options.unicode",
"properties": {
"options.unicode.unicode": {
"name": "options.unicode.unicode",
"title": "Unicode master",
"type": "string",
"value": [
"val1",
"val2"
],
"isMulti": true
},
"options.unicode.unicode1": {
"name": "options.unicode.unicode1",
"title": "Unicode slave 1",
"type": "string",
"isMulti": true
},
"options.unicode.unicode2": {
"name": "options.unicode.unicode2",
"title": "Unicode slave 2 with default multi",
"type": "string",
"isMulti": true,
"default": "slave2"
},
"options.unicode.unicode3": {
"name": "options.unicode.unicode3",
"title": "Unicode slave 3",
"type": "string",
"isMulti": true
}
},
"type": "array",
"title": "Common configuration 1"
}
},
"type": "object",
"title": "Common configuration 2"
}
},
"model": [
{
"key": "options.unicode.unicode",
"required": true,
"value": [
"val1",
"val2"
],
"owner": "default"
},
{
"key": "options.unicode.unicode2",
"index": 0,
"value": "slave2",
"owner": "default"
},
{
"key": "options.unicode.unicode2",
"index": 1,
"value": "slave2",
"owner": "default"
}
],
"form": [
{
"clearable": true,
"type": "input",
"key": "options.unicode.unicode"
},
{
"type": "input",
"key": "options.unicode.unicode1"
},
{
"clearable": true,
"type": "input",
"key": "options.unicode.unicode2"
},
{
"type": "input",
"key": "options.unicode.unicode3"
},
{
"title": "Configurer",
"type": "submit"
}
]
}

View File

@ -0,0 +1 @@
{"options.unicode.unicode": ["val1", "val2"], "options.unicode.unicode1": [null, null], "options.unicode.unicode3": [null, null]}

View File

@ -0,0 +1,94 @@
{
"schema": {
"options": {
"name": "options",
"properties": {
"options.unicode": {
"name": "options.unicode",
"properties": {
"options.unicode.unicode": {
"name": "options.unicode.unicode",
"type": "string",
"isMulti": true,
"title": "Unicode master"
},
"options.unicode.unicode1": {
"name": "options.unicode.unicode1",
"type": "string",
"isMulti": true,
"title": "Unicode slave 1"
},
"options.unicode.unicode2": {
"name": "options.unicode.unicode2",
"type": "string",
"isMulti": true,
"title": "Unicode slave 2 hidden"
},
"options.unicode.unicode3": {
"name": "options.unicode.unicode3",
"type": "string",
"isMulti": true,
"title": "Unicode slave 3"
}
},
"type": "array",
"title": "Common configuration"
}
},
"type": "object",
"title": "Common configuration"
}
},
"model": [
{
"key": "options.unicode.unicode",
"required": true,
"value": [
"val1",
"val2"
],
"owner": "user"
},
{
"key": "options.unicode.unicode2",
"display": false,
"hidden": true,
"index": 0,
"value": "super",
"owner": "user"
},
{
"key": "options.unicode.unicode2",
"display": false,
"hidden": true,
"index": 1
},
{
"key": "options.unicode.unicode2",
"display": false,
"hidden": true
}
],
"form": [
{
"key": "options.unicode.unicode",
"type": "input"
},
{
"key": "options.unicode.unicode1",
"type": "input"
},
{
"key": "options.unicode.unicode2",
"type": "input"
},
{
"key": "options.unicode.unicode3",
"type": "input"
},
{
"title": "Configurer",
"type": "submit"
}
]
}

View File

@ -0,0 +1 @@
{"options.unicode": null, "options.unicode1.unicode1": [], "options.unicode1.unicode2": [], "options.unicode1.unicode3": []}

View File

@ -0,0 +1,69 @@
{
"schema": {
"options": {
"name": "options",
"properties": {
"options.unicode": {
"name": "options.unicode",
"title": "Unicode master",
"type": "string"
},
"options.unicode1": {
"name": "options.unicode1",
"properties": {
"options.unicode1.unicode1": {
"name": "options.unicode1.unicode1",
"title": "Unicode slave 1",
"type": "string",
"isMulti": true
},
"options.unicode1.unicode2": {
"name": "options.unicode1.unicode2",
"title": "Unicode slave 2",
"type": "string",
"isMulti": true
},
"options.unicode1.unicode3": {
"name": "options.unicode1.unicode3",
"title": "Unicode slave 3",
"type": "string",
"isMulti": true
}
},
"type": "array",
"title": "Common configuration"
}
},
"type": "object",
"title": "Common configuration"
}
},
"model": [
{
"key": "options.unicode1.unicode1",
"required": true
}
],
"form": [
{
"type": "input",
"key": "options.unicode"
},
{
"type": "input",
"key": "options.unicode1.unicode1"
},
{
"type": "input",
"key": "options.unicode1.unicode2"
},
{
"type": "input",
"key": "options.unicode1.unicode3"
},
{
"title": "Configurer",
"type": "submit"
}
]
}

View File

@ -0,0 +1 @@
{"options.unicode.unicode": [], "options.unicode.unicode1": [], "options.unicode.unicode2": [], "options.unicode.unicode3": []}

View File

@ -0,0 +1,76 @@
{
"schema": {
"options": {
"name": "options",
"properties": {
"options.unicode": {
"name": "options.unicode",
"properties": {
"options.unicode.unicode": {
"name": "options.unicode.unicode",
"title": "Unicode master",
"type": "string",
"isMulti": true
},
"options.unicode.unicode1": {
"name": "options.unicode.unicode1",
"title": "Unicode slave 1",
"type": "string",
"isMulti": true
},
"options.unicode.unicode2": {
"name": "options.unicode.unicode2",
"title": "Unicode slave 2 not equal",
"type": "string",
"isMulti": true
},
"options.unicode.unicode3": {
"name": "options.unicode.unicode3",
"title": "Unicode slave 3 not equal",
"type": "string",
"isMulti": true
}
},
"type": "array",
"title": "Common configuration 1"
}
},
"type": "object",
"title": "Common configuration 2"
}
},
"model": [
{
"key": "options.unicode.unicode",
"required": true
}
],
"form": [
{
"type": "input",
"key": "options.unicode.unicode"
},
{
"type": "input",
"key": "options.unicode.unicode1"
},
{
"type": "input",
"not_equal": {"options": [
"options.unicode.unicode3"
]},
"key": "options.unicode.unicode2"
},
{
"type": "input",
"not_equal": {"options": [
"options.unicode.unicode2"
]},
"key": "options.unicode.unicode3"
},
{
"title": "Configurer",
"type": "submit"
}
]
}

View File

@ -0,0 +1 @@
{"options.unicode.unicode": [], "options.unicode.unicode1": [], "options.unicode.unicode2": []}

View File

@ -0,0 +1,84 @@
{
"schema": {
"options": {
"name": "options",
"properties": {
"options.unicode": {
"name": "options.unicode",
"properties": {
"options.unicode.unicode": {
"name": "options.unicode.unicode",
"title": "Unicode master",
"type": "string",
"isMulti": true
},
"options.unicode.unicode1": {
"name": "options.unicode.unicode1",
"title": "Unicode slave 1",
"type": "string",
"isMulti": true
},
"options.unicode.unicode2": {
"name": "options.unicode.unicode2",
"title": "Values 'test' must show 'Unicode slave 3'",
"type": "string",
"isMulti": true
},
"options.unicode.unicode3": {
"name": "options.unicode.unicode3",
"title": "Unicode slave 3",
"type": "string",
"isMulti": true
}
},
"type": "array",
"title": "Common configuration 1"
}
},
"type": "object",
"title": "Common configuration 2"
}
},
"model": [
{
"key": "options.unicode.unicode",
"required": true
}
],
"form": [
{
"type": "input",
"key": "options.unicode.unicode"
},
{
"type": "input",
"key": "options.unicode.unicode1"
},
{
"type": "input",
"dependencies": {
"default": {
"hide": [
"options.unicode.unicode3"
]
},
"expected": {
"test": {
"show": [
"options.unicode.unicode3"
]
}
}
},
"key": "options.unicode.unicode2"
},
{
"type": "input",
"key": "options.unicode.unicode3"
},
{
"title": "Configurer",
"type": "submit"
}
]
}

View File

@ -0,0 +1 @@
{"options.unicode": null}

View File

@ -0,0 +1,90 @@
{
"schema": {
"options": {
"name": "options",
"properties": {
"options.unicode": {
"name": "options.unicode",
"type": "string",
"title": "Value 'test' must show MasterSlaves"
},
"options.unicode1": {
"name": "options.unicode1",
"properties": {
"options.unicode1.unicode1": {
"name": "options.unicode1.unicode1",
"type": "string",
"isMulti": true,
"title": "Unicode master"
},
"options.unicode1.unicode2": {
"name": "options.unicode1.unicode2",
"type": "string",
"isMulti": true,
"title": "Unicode slave 1"
},
"options.unicode1.unicode3": {
"name": "options.unicode1.unicode3",
"type": "string",
"isMulti": true,
"title": "Unicode slave 2"
}
},
"type": "array",
"title": "Common configuration"
}
},
"type": "object",
"title": "Common configuration"
}
},
"model": [
{
"key": "options.unicode1",
"properties": [
"hidden"
],
"hidden": true
},
{
"key": "options.unicode1.unicode1",
"required": true
}
],
"form": [
{
"key": "options.unicode",
"type": "input",
"dependencies": {
"default": {
"hide": [
"options.unicode1"
]
},
"expected": {
"test": {
"show": [
"options.unicode1"
]
}
}
}
},
{
"key": "options.unicode1.unicode1",
"type": "input"
},
{
"key": "options.unicode1.unicode2",
"type": "input"
},
{
"key": "options.unicode1.unicode3",
"type": "input"
},
{
"title": "Configurer",
"type": "submit"
}
]
}

View File

@ -0,0 +1 @@
{"options.unicode": null}

View File

@ -0,0 +1,90 @@
{
"schema": {
"options": {
"name": "options",
"properties": {
"options.unicode": {
"name": "options.unicode",
"type": "string",
"title": "Value 'test' must show master"
},
"options.unicode1": {
"name": "options.unicode1",
"properties": {
"options.unicode1.unicode1": {
"name": "options.unicode1.unicode1",
"type": "string",
"isMulti": true,
"title": "Unicode master"
},
"options.unicode1.unicode2": {
"name": "options.unicode1.unicode2",
"type": "string",
"isMulti": true,
"title": "Unicode slave 1"
},
"options.unicode1.unicode3": {
"name": "options.unicode1.unicode3",
"type": "string",
"isMulti": true,
"title": "Unicode slave 2"
}
},
"type": "array",
"title": "Common configuration"
}
},
"type": "object",
"title": "Common configuration"
}
},
"model": [
{
"key": "options.unicode1",
"properties": [
"hidden"
],
"hidden": true
},
{
"key": "options.unicode1.unicode1",
"required": true
}
],
"form": [
{
"key": "options.unicode",
"type": "input",
"dependencies": {
"default": {
"hide": [
"options.unicode1"
]
},
"expected": {
"test": {
"show": [
"options.unicode1"
]
}
}
}
},
{
"key": "options.unicode1.unicode1",
"type": "input"
},
{
"key": "options.unicode1.unicode2",
"type": "input"
},
{
"key": "options.unicode1.unicode3",
"type": "input"
},
{
"title": "Configurer",
"type": "submit"
}
]
}

View File

@ -0,0 +1 @@
{"options.unicode1.unicode1": [], "options.unicode1.unicode2": []}

View File

@ -0,0 +1,74 @@
{
"schema": {
"options": {
"name": "options",
"properties": {
"options.unicode1": {
"name": "options.unicode1",
"properties": {
"options.unicode1.unicode1": {
"name": "options.unicode1.unicode1",
"title": "Values 'test' must show 'Unicode slave 2'",
"type": "string",
"isMulti": true
},
"options.unicode1.unicode2": {
"name": "options.unicode1.unicode2",
"title": "Unicode slave 1",
"type": "string",
"isMulti": true
},
"options.unicode1.unicode3": {
"name": "options.unicode1.unicode3",
"title": "Unicode slave 2",
"type": "string",
"isMulti": true
}
},
"type": "array",
"title": "Common configuration"
}
},
"type": "object",
"title": "Common configuration"
}
},
"model": [
{
"key": "options.unicode1.unicode1",
"required": true
}
],
"form": [
{
"type": "input",
"dependencies": {
"default": {
"hide": [
"options.unicode1.unicode3"
]
},
"expected": {
"test": {
"show": [
"options.unicode1.unicode3"
]
}
}
},
"key": "options.unicode1.unicode1"
},
{
"type": "input",
"key": "options.unicode1.unicode2"
},
{
"type": "input",
"key": "options.unicode1.unicode3"
},
{
"title": "Configurer",
"type": "submit"
}
]
}

View File

@ -0,0 +1 @@
{"options.unicode1.unicode1": ["test", "pas test"], "options.unicode1.unicode2": ["super1", null]}

View File

@ -0,0 +1,96 @@
{
"schema": {
"options": {
"name": "options",
"properties": {
"options.unicode1": {
"name": "options.unicode1",
"properties": {
"options.unicode1.unicode1": {
"name": "options.unicode1.unicode1",
"type": "string",
"isMulti": true,
"title": "Values 'test' must show 'Unicode slave 2'"
},
"options.unicode1.unicode2": {
"name": "options.unicode1.unicode2",
"type": "string",
"isMulti": true,
"title": "Unicode slave 1"
},
"options.unicode1.unicode3": {
"name": "options.unicode1.unicode3",
"type": "string",
"isMulti": true,
"title": "Unicode slave 2"
}
},
"type": "array",
"title": "Common configuration"
}
},
"type": "object",
"title": "Common configuration"
}
},
"model": [
{
"key": "options.unicode1.unicode1",
"required": true,
"value": [
"test",
"pas test"
],
"owner": "user"
},
{
"key": "options.unicode1.unicode2",
"index": 0,
"value": "super1",
"owner": "user"
},
{
"key": "options.unicode1.unicode3",
"index": 0,
"value": "super1",
"owner": "user"
},
{
"key": "options.unicode1.unicode3",
"hidden": true,
"index": 1
}
],
"form": [
{
"key": "options.unicode1.unicode1",
"type": "input",
"dependencies": {
"default": {
"hide": [
"options.unicode1.unicode3"
]
},
"expected": {
"test": {
"show": [
"options.unicode1.unicode3"
]
}
}
}
},
{
"key": "options.unicode1.unicode2",
"type": "input"
},
{
"key": "options.unicode1.unicode3",
"type": "input"
},
{
"title": "Configurer",
"type": "submit"
}
]
}

View File

@ -0,0 +1 @@
{"options.unicode1.unicode1": [], "options.unicode1.unicode2": []}

View File

@ -0,0 +1,74 @@
{
"schema": {
"options": {
"name": "options",
"properties": {
"options.unicode1": {
"name": "options.unicode1",
"properties": {
"options.unicode1.unicode1": {
"name": "options.unicode1.unicode1",
"title": "Unicode master",
"type": "string",
"isMulti": true
},
"options.unicode1.unicode2": {
"name": "options.unicode1.unicode2",
"title": "Values 'test' must show 'Unicode slave 2'",
"type": "string",
"isMulti": true
},
"options.unicode1.unicode3": {
"name": "options.unicode1.unicode3",
"title": "Unicode slave 2",
"type": "string",
"isMulti": true
}
},
"type": "array",
"title": "Common configuration"
}
},
"type": "object",
"title": "Common configuration"
}
},
"model": [
{
"key": "options.unicode1.unicode1",
"required": true
}
],
"form": [
{
"type": "input",
"key": "options.unicode1.unicode1"
},
{
"type": "input",
"dependencies": {
"default": {
"hide": [
"options.unicode1.unicode3"
]
},
"expected": {
"test": {
"show": [
"options.unicode1.unicode3"
]
}
}
},
"key": "options.unicode1.unicode2"
},
{
"type": "input",
"key": "options.unicode1.unicode3"
},
{
"title": "Configurer",
"type": "submit"
}
]
}

View File

@ -0,0 +1 @@
{"options.unicode.unicode": ["test", "val2"], "options.unicode.unicode1": ["super1", "super2"], "options.unicode.unicode2": ["pas test", "test"]}

View File

@ -0,0 +1,120 @@
{
"schema": {
"options": {
"name": "options",
"properties": {
"options.unicode": {
"name": "options.unicode",
"properties": {
"options.unicode.unicode": {
"name": "options.unicode.unicode",
"type": "string",
"isMulti": true,
"title": "Values 'test' must show 'Unicode slave 3'"
},
"options.unicode.unicode1": {
"name": "options.unicode.unicode1",
"type": "string",
"isMulti": true,
"title": "Unicode slave 1"
},
"options.unicode.unicode2": {
"name": "options.unicode.unicode2",
"type": "string",
"isMulti": true,
"title": "Unicode slave 2"
},
"options.unicode.unicode3": {
"name": "options.unicode.unicode3",
"type": "string",
"isMulti": true,
"title": "Unicode slave 3"
}
},
"type": "array",
"title": "Common configuration 1"
}
},
"type": "object",
"title": "Common configuration 2"
}
},
"model": [
{
"key": "options.unicode.unicode",
"required": true,
"value": [
"test",
"val2"
],
"owner": "user"
},
{
"key": "options.unicode.unicode1",
"index": 0,
"value": "super1",
"owner": "user"
},
{
"key": "options.unicode.unicode1",
"index": 1,
"value": "super2",
"owner": "user"
},
{
"key": "options.unicode.unicode2",
"index": 0,
"value": "pas test",
"owner": "user"
},
{
"key": "options.unicode.unicode2",
"index": 1,
"value": "test",
"owner": "user"
},
{
"key": "options.unicode.unicode3",
"hidden": true,
"index": 1,
"value": "super",
"owner": "user"
}
],
"form": [
{
"key": "options.unicode.unicode",
"type": "input",
"dependencies": {
"default": {
"hide": [
"options.unicode.unicode3"
]
},
"expected": {
"test": {
"show": [
"options.unicode.unicode3"
]
}
}
}
},
{
"key": "options.unicode.unicode1",
"type": "input"
},
{
"key": "options.unicode.unicode2",
"type": "input"
},
{
"key": "options.unicode.unicode3",
"type": "input"
},
{
"title": "Configurer",
"type": "submit"
}
]
}

View File

@ -0,0 +1 @@
{"options.unicode.unicode": [], "options.unicode.unicode1": [], "options.unicode.unicode2": [], "options.unicode.unicode3": []}

View File

@ -0,0 +1,71 @@
{
"schema": {
"options": {
"name": "options",
"properties": {
"options.unicode": {
"name": "options.unicode",
"properties": {
"options.unicode.unicode": {
"name": "options.unicode.unicode",
"title": "Unicode master",
"type": "string",
"isMulti": true
},
"options.unicode.unicode1": {
"name": "options.unicode.unicode1",
"title": "Unicode slave 1",
"type": "string",
"isMulti": true
},
"options.unicode.unicode2": {
"name": "options.unicode.unicode2",
"title": "Unicode slave 2 submulti",
"type": "string",
"isMulti": true,
"isSubMulti": true
},
"options.unicode.unicode3": {
"name": "options.unicode.unicode3",
"title": "Unicode slave 3",
"type": "string",
"isMulti": true
}
},
"type": "array",
"title": "Common configuration 1"
}
},
"type": "object",
"title": "Common configuration 2"
}
},
"model": [
{
"key": "options.unicode.unicode",
"required": true
}
],
"form": [
{
"type": "input",
"key": "options.unicode.unicode"
},
{
"type": "input",
"key": "options.unicode.unicode1"
},
{
"type": "input",
"key": "options.unicode.unicode2"
},
{
"type": "input",
"key": "options.unicode.unicode3"
},
{
"title": "Configurer",
"type": "submit"
}
]
}

View File

@ -0,0 +1 @@
{"options.unicode.unicode": ["val3", "val4"], "options.unicode.unicode1": ["super1", "super2"], "options.unicode.unicode2": ["pas test", "test"], "options.unicode.unicode3": [null, "super"]}

View File

@ -0,0 +1,112 @@
{
"schema": {
"options": {
"name": "options",
"properties": {
"options.unicode": {
"name": "options.unicode",
"properties": {
"options.unicode.unicode": {
"name": "options.unicode.unicode",
"title": "Unicode master",
"type": "string",
"value": [
"val1",
"val2"
],
"isMulti": true
},
"options.unicode.unicode1": {
"name": "options.unicode.unicode1",
"title": "Unicode slave 1",
"type": "string",
"isMulti": true
},
"options.unicode.unicode2": {
"name": "options.unicode.unicode2",
"title": "Unicode slave 2 with default multi",
"type": "string",
"isMulti": true,
"default": "slave2"
},
"options.unicode.unicode3": {
"name": "options.unicode.unicode3",
"title": "Unicode slave 3",
"type": "string",
"isMulti": true
}
},
"type": "array",
"title": "Common configuration 1"
}
},
"type": "object",
"title": "Common configuration 2"
}
},
"model": [
{
"key": "options.unicode.unicode",
"required": true,
"value": [
"val3",
"val4"
],
"owner": "user"
},
{
"key": "options.unicode.unicode1",
"index": 0,
"value": "super1",
"owner": "user"
},
{
"key": "options.unicode.unicode1",
"index": 1,
"value": "super2",
"owner": "user"
},
{
"key": "options.unicode.unicode2",
"index": 0,
"value": "pas test",
"owner": "user"
},
{
"key": "options.unicode.unicode2",
"index": 1,
"value": "test",
"owner": "user"
},
{
"key": "options.unicode.unicode3",
"index": 1,
"value": "super",
"owner": "user"
}
],
"form": [
{
"clearable": true,
"type": "input",
"key": "options.unicode.unicode"
},
{
"type": "input",
"key": "options.unicode.unicode1"
},
{
"clearable": true,
"type": "input",
"key": "options.unicode.unicode2"
},
{
"type": "input",
"key": "options.unicode.unicode3"
},
{
"title": "Configurer",
"type": "submit"
}
]
}

View File

@ -0,0 +1 @@
{"options.unicode": "a"}

View File

@ -0,0 +1,33 @@
{
"schema": {
"options": {
"name": "options",
"properties": {
"options.unicode": {
"name": "options.unicode",
"title": "Unicode 1",
"type": "string"
}
},
"type": "object",
"title": "Common configuration"
}
},
"model": [
{
"key": "options.unicode",
"value": "a",
"owner": "user"
}
],
"form": [
{
"type": "input",
"key": "options.unicode"
},
{
"title": "Configurer",
"type": "submit"
}
]
}

View File

@ -0,0 +1 @@
{"options.unicode": []}

View File

@ -0,0 +1,33 @@
{
"schema": {
"options": {
"name": "options",
"properties": {
"options.unicode": {
"name": "options.unicode",
"title": "String 1",
"type": "string",
"isMulti": true
}
},
"type": "object",
"title": "Common configuration"
}
},
"model": [
{
"key": "options.unicode",
"required": true
}
],
"form": [
{
"type": "input",
"key": "options.unicode"
},
{
"title": "Configurer",
"type": "submit"
}
]
}

View File

@ -0,0 +1 @@
{}

View File

@ -0,0 +1,35 @@
{
"schema": {
"options": {
"name": "options",
"properties": {
"options.unicode": {
"name": "options.unicode",
"type": "string",
"isMulti": true,
"title": "Unicode 1"
}
},
"type": "object",
"title": "Common configuration"
}
},
"model": [
{
"key": "options.unicode",
"display": false,
"required": true,
"hidden": true
}
],
"form": [
{
"key": "options.unicode",
"type": "input"
},
{
"title": "Configurer",
"type": "submit"
}
]
}

View File

@ -0,0 +1 @@
{"options.unicode": []}

View File

@ -0,0 +1,34 @@
{
"schema": {
"options": {
"name": "options",
"properties": {
"options.unicode": {
"name": "options.unicode",
"title": "Unicode 1",
"type": "string",
"isMulti": true
}
},
"type": "object",
"title": "Common configuration"
}
},
"model": [
{
"key": "options.unicode",
"required": true,
"needs_len": true
}
],
"form": [
{
"type": "input",
"key": "options.unicode"
},
{
"title": "Configurer",
"type": "submit"
}
]
}

View File

@ -0,0 +1 @@
{"options.unicode": ["c", "d", "e"]}

View File

@ -0,0 +1,44 @@
{
"schema": {
"options": {
"name": "options",
"properties": {
"options.unicode": {
"name": "options.unicode",
"title": "String 1",
"type": "string",
"value": [
"a",
"b"
],
"isMulti": true
}
},
"type": "object",
"title": "Common configuration"
}
},
"model": [
{
"key": "options.unicode",
"required": true,
"value": [
"c",
"d",
"e"
],
"owner": "user"
}
],
"form": [
{
"clearable": true,
"type": "input",
"key": "options.unicode"
},
{
"title": "Configurer",
"type": "submit"
}
]
}

View File

@ -0,0 +1 @@
{"descr1.unicode1": null, "descr1.unicode1_multi": [], "descr2.unicode2": "a", "descr2.unicode2_multi": ["a", "b"], "descr3.unicode3": null, "descr3.unicode3_multi": []}

View File

@ -0,0 +1,155 @@
{
"schema": {
"descr1": {
"name": "descr1",
"properties": {
"descr1.unicode1": {
"name": "descr1.unicode1",
"type": "string",
"title": "Unicode 1, not equal to 'a'"
},
"descr1.unicode1_multi": {
"name": "descr1.unicode1_multi",
"type": "string",
"isMulti": true,
"title": "Multi unicode 1, not equal to 'a' or 'b'"
}
},
"type": "object",
"title": "Common configuration 1"
},
"descr2": {
"name": "descr2",
"properties": {
"descr2.unicode2": {
"name": "descr2.unicode2",
"type": "string",
"value": "a",
"title": "Unicode 2"
},
"descr2.unicode2_multi": {
"name": "descr2.unicode2_multi",
"type": "string",
"value": [
"a",
"b"
],
"isMulti": true,
"title": "Multi unicode 2"
}
},
"type": "object",
"title": "Common configuration 2"
},
"descr3": {
"name": "descr3",
"properties": {
"descr3.unicode3": {
"name": "descr3.unicode3",
"type": "string",
"title": "Unicode 3"
},
"descr3.unicode3_multi": {
"name": "descr3.unicode3_multi",
"type": "string",
"isMulti": true,
"title": "Multi unicode 3"
}
},
"type": "object",
"title": "Common configuration 3"
}
},
"model": [
{
"key": "descr1.unicode1_multi",
"required": true
},
{
"key": "descr2.unicode2",
"value": "a",
"owner": "default"
},
{
"key": "descr2.unicode2_multi",
"required": true,
"value": [
"a",
"b"
],
"owner": "default"
},
{
"key": "descr3.unicode3_multi",
"required": true
}
],
"form": [
{
"key": "descr1.unicode1",
"type": "input",
"not_equal": {"options": [
"descr2.unicode2",
"descr3.unicode3"
]}
},
{
"key": "descr1.unicode1_multi",
"type": "input",
"not_equal": {"options": [
"descr2.unicode2_multi",
"descr3.unicode3_multi"
]}
},
{
"key": "descr2.unicode2",
"clearable": true,
"type": "input",
"not_equal": {"options": [
"descr1.unicode1",
"descr3.unicode3"
]}
},
{
"key": "descr2.unicode2_multi",
"clearable": true,
"type": "input",
"not_equal": {"options": [
"descr1.unicode1_multi",
"descr3.unicode3_multi"
]}
},
{
"key": "descr3.unicode3",
"type": "input",
"not_equal": {"options": [
"descr1.unicode1",
"descr2.unicode2"
]}
},
{
"key": "descr3.unicode3_multi",
"type": "input",
"not_equal": {"options": [
"descr1.unicode1_multi",
"descr2.unicode2_multi"
]}
},
{
"key": "descr1",
"collapse": true
},
{
"key": "descr2",
"collapse": true
},
{
"key": "descr3",
"collapse": true
},
{
"title": "Configurer",
"type": "submit"
}
]
}

View File

@ -0,0 +1 @@
{"options.unicode1": null}

View File

@ -0,0 +1,57 @@
{
"schema": {
"options": {
"name": "options",
"properties": {
"options.unicode1": {
"name": "options.unicode1",
"type": "string",
"title": "Value 'test' must show Unicode 2"
},
"options.unicode2": {
"name": "options.unicode2",
"type": "string",
"isMulti": true,
"title": "Unicode 2"
}
},
"type": "object",
"title": "Common configuration"
}
},
"model": [
{
"key": "options.unicode2",
"required": true,
"hidden": true
}
],
"form": [
{
"key": "options.unicode1",
"type": "input",
"dependencies": {
"default": {
"hide": [
"options.unicode2"
]
},
"expected": {
"test": {
"show": [
"options.unicode2"
]
}
}
}
},
{
"key": "options.unicode2",
"type": "input"
},
{
"title": "Configurer",
"type": "submit"
}
]
}

View File

@ -0,0 +1 @@
{"options.unicode": ["a", "b"]}

View File

@ -0,0 +1,43 @@
{
"schema": {
"options": {
"name": "options",
"properties": {
"options.unicode": {
"name": "options.unicode",
"title": "String 1",
"type": "string",
"value": [
"a",
"b"
],
"isMulti": true
}
},
"type": "object",
"title": "Common configuration"
}
},
"model": [
{
"key": "options.unicode",
"required": true,
"value": [
"a",
"b"
],
"owner": "default"
}
],
"form": [
{
"clearable": true,
"type": "input",
"key": "options.unicode"
},
{
"title": "Configurer",
"type": "submit"
}
]
}

View File

@ -0,0 +1 @@
{"options.unicode1": null, "options.unicode2": null}

View File

@ -0,0 +1,42 @@
{
"schema": {
"options": {
"name": "options",
"properties": {
"options.unicode1": {
"name": "options.unicode1",
"title": "Unicode 1",
"type": "string"
},
"options.unicode2": {
"name": "options.unicode2",
"title": "Unicode 2",
"type": "string"
}
},
"type": "object",
"title": "Common configuration"
}
},
"model": [],
"form": [
{
"type": "input",
"not_equal": {"options": [
"options.unicode2"
]},
"key": "options.unicode1"
},
{
"type": "input",
"not_equal": {"options": [
"options.unicode1"
]},
"key": "options.unicode2"
},
{
"title": "Configurer",
"type": "submit"
}
]
}

View File

@ -0,0 +1 @@
{"options.unicode1": null}

View File

@ -0,0 +1,74 @@
{
"schema": {
"options": {
"name": "options",
"properties": {
"options.unicode1": {
"name": "options.unicode1",
"type": "string",
"title": "Value 'test' must show OptionDescription"
}
},
"type": "object",
"title": "Common configuration"
},
"unicode1": {
"name": "unicode1",
"properties": {
"unicode1.unicode2": {
"name": "unicode1.unicode2",
"type": "string",
"title": "Unicode 2"
},
"unicode1.unicode3": {
"name": "unicode1.unicode3",
"type": "string",
"title": "Unicode 3"
}
},
"type": "object",
"title": "OptionDescription with 2 options"
}
},
"model": [
{
"key": "unicode1",
"properties": [
"hidden"
],
"hidden": true
}
],
"form": [
{
"key": "options.unicode1",
"type": "input",
"dependencies": {
"default": {
"hide": [
"unicode1"
]
},
"expected": {
"test": {
"show": [
"unicode1"
]
}
}
}
},
{
"key": "unicode1.unicode2",
"type": "input"
},
{
"key": "unicode1.unicode3",
"type": "input"
},
{
"title": "Configurer",
"type": "submit"
}
]
}

View File

@ -0,0 +1 @@
{"options.unicode1": null}

Some files were not shown because too many files have changed in this diff Show More