@json-layout/vocabulary 0.3.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@json-layout/vocabulary",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "Main JSON Layout vocabulary as JSON schemas and Typescript types. Also contains some small utility functions to validate and normalize annotations.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import
|
|
1
|
+
import ajvFormats from "ajv-formats/dist/formats.js";
|
|
2
2
|
// @ts-ignore
|
|
3
|
-
export const validate = validate56;export default validate56;const schema53 = {"$id":"https://json-layout.github.io/normalized-layout-keyword","title":"normalized layout","oneOf":[{"$ref":"#/$defs/switch-struct"},{"$ref":"#/$defs/comp-object"}],"$defs":{"switch-struct":{"type":"object","required":["switch"],"additionalProperties":false,"properties":{"switch":{"type":"array","items":{"$ref":"#/$defs/comp-object"}}}},"comp-object":{"type":"object","required":["comp"],"unevaluatedProperties":false,"allOf":[{"properties":{"if":{"$ref":"#/$defs/expression"},"defaultData":{"$ref":"#/$defs/expression"},"constData":{"$ref":"#/$defs/expression"},"nullable":{"type":"boolean"},"help":{"type":"string"},"cols":{"$ref":"#/$defs/cols-obj"},"props":{"$ref":"#/$defs/state-node-props-lib"},"slots":{"type":"object","allOf":[{"$ref":"#/$defs/state-node-slots-lib"},{"properties":{"before":{"$ref":"#/$defs/slot"},"after":{"$ref":"#/$defs/slot"},"component":{"$ref":"#/$defs/slot"}}}]},"options":{"$ref":"#/$defs/state-node-options"}}},{"discriminator":{"propertyName":"comp"},"oneOf":[{"$ref":"#/$defs/none"},{"$ref":"#/$defs/list"},{"$ref":"#/$defs/text-field"},{"$ref":"#/$defs/number-field"},{"$ref":"#/$defs/textarea"},{"$ref":"#/$defs/markdown"},{"$ref":"#/$defs/checkbox"},{"$ref":"#/$defs/switch"},{"$ref":"#/$defs/slider"},{"$ref":"#/$defs/date-picker"},{"$ref":"#/$defs/date-time-picker"},{"$ref":"#/$defs/time-picker"},{"$ref":"#/$defs/color-picker"},{"$ref":"#/$defs/combobox"},{"$ref":"#/$defs/number-combobox"},{"$ref":"#/$defs/select"},{"$ref":"#/$defs/autocomplete"},{"$ref":"#/$defs/one-of-select"},{"$ref":"#/$defs/section"},{"$ref":"#/$defs/tabs"},{"$ref":"#/$defs/vertical-tabs"},{"$ref":"#/$defs/expansion-panels"},{"$ref":"#/$defs/stepper"}]}]},"composite-comp-object":{"type":"object","discriminator":{"propertyName":"comp"},"oneOf":[{"$ref":"#/$defs/section"},{"$ref":"#/$defs/tabs"},{"$ref":"#/$defs/vertical-tabs"},{"$ref":"#/$defs/expansion-panels"}]},"none":{"type":"object","required":["comp"],"properties":{"comp":{"const":"none"}}},"section":{"type":"object","required":["comp","children"],"properties":{"comp":{"const":"section"},"title":{"type":["string","null"]},"subtitle":{"type":["string","null"]},"children":{"$ref":"#/$defs/children"}}},"tabs":{"type":"object","required":["comp","children"],"properties":{"comp":{"const":"tabs"},"title":{"type":["string","null"]},"subtitle":{"type":["string","null"]},"children":{"$ref":"#/$defs/children"}}},"vertical-tabs":{"type":"object","required":["comp","children"],"properties":{"comp":{"const":"vertical-tabs"},"title":{"type":["string","null"]},"subtitle":{"type":["string","null"]},"children":{"$ref":"#/$defs/children"}}},"expansion-panels":{"type":"object","required":["comp","children"],"properties":{"comp":{"const":"expansion-panels"},"title":{"type":["string","null"]},"subtitle":{"type":["string","null"]},"children":{"$ref":"#/$defs/children"}}},"stepper":{"type":"object","required":["comp","children"],"properties":{"comp":{"const":"stepper"},"title":{"type":["string","null"]},"subtitle":{"type":["string","null"]},"children":{"$ref":"#/$defs/children"}}},"child":{"type":"object","unevaluatedProperties":false,"required":["key"],"properties":{"key":{"type":["string","integer"]},"cols":{"$ref":"#/$defs/cols-obj"}},"anyOf":[{},{"$ref":"#/$defs/composite-comp-object"}]},"children":{"type":"array","items":{"$ref":"#/$defs/child"}},"list":{"type":"object","required":["comp","listEditMode","listActions"],"properties":{"comp":{"const":"list"},"title":{"type":"string"},"listEditMode":{"type":"string","enum":["inline","inline-single","menu","dialog"]},"listActions":{"type":"array","items":{"type":"string","enum":["add","edit","delete","sort","duplicate"]}},"itemTitle":{"$ref":"#/$defs/expression"},"itemSubtitle":{"$ref":"#/$defs/expression"},"messages":{"type":"object","additionalProperties":false,"properties":{"addItem":{"type":"string"},"delete":{"type":"string"},"edit":{"type":"string"},"duplicate":{"type":"string"},"sort":{"type":"string"}}}}},"text-field":{"type":"object","required":["comp","label"],"properties":{"comp":{"const":"text-field"},"label":{"type":"string"},"autofocus":{"type":"boolean"}}},"number-field":{"type":"object","required":["comp","label"],"properties":{"comp":{"const":"number-field"},"label":{"type":"string"},"autofocus":{"type":"boolean"},"step":{"type":"number"},"min":{"type":"number"},"max":{"type":"number"}}},"textarea":{"type":"object","required":["comp","label"],"properties":{"comp":{"const":"textarea"},"label":{"type":"string"},"autofocus":{"type":"boolean"}}},"markdown":{"type":"object","required":["comp","label"],"properties":{"comp":{"const":"markdown"},"label":{"type":"string"},"autofocus":{"type":"boolean"}}},"checkbox":{"type":"object","required":["comp","label"],"properties":{"comp":{"const":"checkbox"},"label":{"type":"string"}}},"switch":{"type":"object","required":["comp","label"],"properties":{"comp":{"const":"switch"},"label":{"type":"string"}}},"slider":{"type":"object","required":["comp","label","min","max"],"properties":{"comp":{"const":"slider"},"label":{"type":"string"},"step":{"type":"number"},"min":{"type":"number"},"max":{"type":"number"}}},"date-picker":{"type":"object","required":["comp","label"],"properties":{"comp":{"const":"date-picker"},"label":{"type":"string"},"min":{"type":"string","format":"date"},"max":{"type":"string","format":"date"},"format":{"type":"string","enum":["date","date-time"],"default":"date"}}},"date-time-picker":{"type":"object","required":["comp","label"],"properties":{"comp":{"const":"date-time-picker"},"label":{"type":"string"},"min":{"type":"string","format":"date-time"},"max":{"type":"string","format":"date-time"}}},"time-picker":{"type":"object","required":["comp","label"],"properties":{"comp":{"const":"time-picker"},"label":{"type":"string"},"min":{"type":"string","format":"time"},"max":{"type":"string","format":"time"}}},"color-picker":{"type":"object","required":["comp","label"],"properties":{"comp":{"const":"color-picker"},"label":{"type":"string"}}},"combobox":{"type":"object","required":["comp","label"],"properties":{"comp":{"const":"combobox"},"label":{"type":"string"},"autofocus":{"type":"boolean"},"items":{"$ref":"#/$defs/select-items"},"getItems":{"$ref":"#/$defs/get-items"},"multiple":{"type":"boolean"}}},"number-combobox":{"type":"object","required":["comp","label"],"properties":{"comp":{"const":"number-combobox"},"label":{"type":"string"},"autofocus":{"type":"boolean"},"items":{"$ref":"#/$defs/select-items"},"getItems":{"$ref":"#/$defs/get-items"},"multiple":{"type":"boolean"},"step":{"type":"number"},"min":{"type":"number"},"max":{"type":"number"}}},"select":{"type":"object","required":["comp","label"],"properties":{"comp":{"const":"select"},"label":{"type":"string"},"autofocus":{"type":"boolean"},"items":{"$ref":"#/$defs/select-items"},"getItems":{"$ref":"#/$defs/get-items"},"multiple":{"type":"boolean"}}},"autocomplete":{"type":"object","required":["comp","label"],"properties":{"comp":{"const":"autocomplete"},"label":{"type":"string"},"autofocus":{"type":"boolean"},"items":{"$ref":"#/$defs/select-items"},"getItems":{"$ref":"#/$defs/get-items"},"multiple":{"type":"boolean"}}},"select-items":{"type":"array","items":{"$ref":"#/$defs/select-item"}},"select-item":{"type":"object","required":["title","key","value"],"properties":{"title":{"type":"string"},"key":{"type":"string"},"value":{},"icon":{"type":"string"}}},"get-items":{"type":"object","allOf":[{"properties":{"returnObjects":{"type":"boolean","readOnly":true},"itemsResults":{"$ref":"#/$defs/expression"},"itemTitle":{"$ref":"#/$defs/expression"},"itemKey":{"$ref":"#/$defs/expression"},"itemValue":{"$ref":"#/$defs/expression"},"itemIcon":{"$ref":"#/$defs/expression"}}},{"oneOf":[{"$ref":"#/$defs/expression"},{"$ref":"#/$defs/get-items-fetch"}]}]},"get-items-fetch":{"type":"object","required":["url"],"properties":{"url":{"$ref":"#/$defs/expression"},"qSearchParam":{"type":"string"},"searchParams":{"type":"object","patternProperties":{".*":{"$ref":"#/$defs/expression"}}}}},"one-of-select":{"type":"object","required":["comp"],"properties":{"comp":{"const":"one-of-select"}}},"expression":{"type":"object","required":["type","expr"],"properties":{"type":{"type":"string","enum":["js-fn","js-eval","js-tpl"]},"expr":{"type":"string"},"ref":{"type":"integer","readOnly":true}}},"cols-obj":{"type":"object","additionalProperties":false,"required":["xs"],"properties":{"xs":{"$ref":"#/$defs/cols","default":12},"sm":{"$ref":"#/$defs/cols"},"md":{"$ref":"#/$defs/cols"},"lg":{"$ref":"#/$defs/cols"},"xl":{"$ref":"#/$defs/cols"},"xxl":{"$ref":"#/$defs/cols"}}},"cols":{"type":"integer","minimum":0,"maximum":12},"slot":{"oneOf":[{"type":"object","additionalProperties":false,"required":["text"],"properties":{"text":{"type":"string"}}},{"type":"object","additionalProperties":false,"required":["markdown"],"properties":{"markdown":{"type":"string"}}},{"type":"object","additionalProperties":false,"required":["name"],"properties":{"name":{"type":"string"}}}]},"state-node-options":{"type":"object","allOf":[{"$ref":"#/$defs/state-node-options-lib"},{"properties":{"readOnly":{"type":"boolean","default":false},"summary":{"type":"boolean","default":false},"titleDepth":{"type":"integer","minimum":1,"maximum":6,"default":2}}}]},"state-node-options-lib":{"type":"object","patternProperties":{".*":{}}},"state-node-props-lib":{"type":"object","patternProperties":{".*":{}}},"state-node-slots-lib":{"type":"object","patternProperties":{".*":{"$ref":"#/$defs/slot"}}}}};const schema54 = {"type":"object","required":["switch"],"additionalProperties":false,"properties":{"switch":{"type":"array","items":{"$ref":"#/$defs/comp-object"}}}};const schema55 = {"type":"object","required":["comp"],"unevaluatedProperties":false,"allOf":[{"properties":{"if":{"$ref":"#/$defs/expression"},"defaultData":{"$ref":"#/$defs/expression"},"constData":{"$ref":"#/$defs/expression"},"nullable":{"type":"boolean"},"help":{"type":"string"},"cols":{"$ref":"#/$defs/cols-obj"},"props":{"$ref":"#/$defs/state-node-props-lib"},"slots":{"type":"object","allOf":[{"$ref":"#/$defs/state-node-slots-lib"},{"properties":{"before":{"$ref":"#/$defs/slot"},"after":{"$ref":"#/$defs/slot"},"component":{"$ref":"#/$defs/slot"}}}]},"options":{"$ref":"#/$defs/state-node-options"}}},{"discriminator":{"propertyName":"comp"},"oneOf":[{"$ref":"#/$defs/none"},{"$ref":"#/$defs/list"},{"$ref":"#/$defs/text-field"},{"$ref":"#/$defs/number-field"},{"$ref":"#/$defs/textarea"},{"$ref":"#/$defs/markdown"},{"$ref":"#/$defs/checkbox"},{"$ref":"#/$defs/switch"},{"$ref":"#/$defs/slider"},{"$ref":"#/$defs/date-picker"},{"$ref":"#/$defs/date-time-picker"},{"$ref":"#/$defs/time-picker"},{"$ref":"#/$defs/color-picker"},{"$ref":"#/$defs/combobox"},{"$ref":"#/$defs/number-combobox"},{"$ref":"#/$defs/select"},{"$ref":"#/$defs/autocomplete"},{"$ref":"#/$defs/one-of-select"},{"$ref":"#/$defs/section"},{"$ref":"#/$defs/tabs"},{"$ref":"#/$defs/vertical-tabs"},{"$ref":"#/$defs/expansion-panels"},{"$ref":"#/$defs/stepper"}]}]};const schema56 = {"type":"object","required":["type","expr"],"properties":{"type":{"type":"string","enum":["js-fn","js-eval","js-tpl"]},"expr":{"type":"string"},"ref":{"type":"integer","readOnly":true}}};const schema66 = {"type":"object","patternProperties":{".*":{}}};const schema68 = {"oneOf":[{"type":"object","additionalProperties":false,"required":["text"],"properties":{"text":{"type":"string"}}},{"type":"object","additionalProperties":false,"required":["markdown"],"properties":{"markdown":{"type":"string"}}},{"type":"object","additionalProperties":false,"required":["name"],"properties":{"name":{"type":"string"}}}]};const schema101 = {"type":"object","required":["comp"],"properties":{"comp":{"const":"none"}}};const schema102 = {"type":"object","required":["comp","label"],"properties":{"comp":{"const":"text-field"},"label":{"type":"string"},"autofocus":{"type":"boolean"}}};const schema103 = {"type":"object","required":["comp","label"],"properties":{"comp":{"const":"number-field"},"label":{"type":"string"},"autofocus":{"type":"boolean"},"step":{"type":"number"},"min":{"type":"number"},"max":{"type":"number"}}};const schema104 = {"type":"object","required":["comp","label"],"properties":{"comp":{"const":"textarea"},"label":{"type":"string"},"autofocus":{"type":"boolean"}}};const schema105 = {"type":"object","required":["comp","label"],"properties":{"comp":{"const":"markdown"},"label":{"type":"string"},"autofocus":{"type":"boolean"}}};const schema106 = {"type":"object","required":["comp","label"],"properties":{"comp":{"const":"checkbox"},"label":{"type":"string"}}};const schema107 = {"type":"object","required":["comp","label"],"properties":{"comp":{"const":"switch"},"label":{"type":"string"}}};const schema108 = {"type":"object","required":["comp","label","min","max"],"properties":{"comp":{"const":"slider"},"label":{"type":"string"},"step":{"type":"number"},"min":{"type":"number"},"max":{"type":"number"}}};const schema109 = {"type":"object","required":["comp","label"],"properties":{"comp":{"const":"date-picker"},"label":{"type":"string"},"min":{"type":"string","format":"date"},"max":{"type":"string","format":"date"},"format":{"type":"string","enum":["date","date-time"],"default":"date"}}};const schema110 = {"type":"object","required":["comp","label"],"properties":{"comp":{"const":"date-time-picker"},"label":{"type":"string"},"min":{"type":"string","format":"date-time"},"max":{"type":"string","format":"date-time"}}};const schema111 = {"type":"object","required":["comp","label"],"properties":{"comp":{"const":"time-picker"},"label":{"type":"string"},"min":{"type":"string","format":"time"},"max":{"type":"string","format":"time"}}};const schema112 = {"type":"object","required":["comp","label"],"properties":{"comp":{"const":"color-picker"},"label":{"type":"string"}}};const schema113 = {"type":"object","required":["comp"],"properties":{"comp":{"const":"one-of-select"}}};const schema59 = {"type":"object","additionalProperties":false,"required":["xs"],"properties":{"xs":{"$ref":"#/$defs/cols","default":12},"sm":{"$ref":"#/$defs/cols"},"md":{"$ref":"#/$defs/cols"},"lg":{"$ref":"#/$defs/cols"},"xl":{"$ref":"#/$defs/cols"},"xxl":{"$ref":"#/$defs/cols"}}};const schema60 = {"type":"integer","minimum":0,"maximum":12};function validate59(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate59.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(data && typeof data == "object" && !Array.isArray(data)){if(data.xs === undefined){const err0 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "xs"},message:"must have required property '"+"xs"+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}for(const key0 in data){if(!((((((key0 === "xs") || (key0 === "sm")) || (key0 === "md")) || (key0 === "lg")) || (key0 === "xl")) || (key0 === "xxl"))){const err1 = {instancePath,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}}if(data.xs !== undefined){let data0 = data.xs;if(!(((typeof data0 == "number") && (!(data0 % 1) && !isNaN(data0))) && (isFinite(data0)))){const err2 = {instancePath:instancePath+"/xs",schemaPath:"#/$defs/cols/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}if((typeof data0 == "number") && (isFinite(data0))){if(data0 > 12 || isNaN(data0)){const err3 = {instancePath:instancePath+"/xs",schemaPath:"#/$defs/cols/maximum",keyword:"maximum",params:{comparison: "<=", limit: 12},message:"must be <= 12"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}if(data0 < 0 || isNaN(data0)){const err4 = {instancePath:instancePath+"/xs",schemaPath:"#/$defs/cols/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}}if(data.sm !== undefined){let data1 = data.sm;if(!(((typeof data1 == "number") && (!(data1 % 1) && !isNaN(data1))) && (isFinite(data1)))){const err5 = {instancePath:instancePath+"/sm",schemaPath:"#/$defs/cols/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}if((typeof data1 == "number") && (isFinite(data1))){if(data1 > 12 || isNaN(data1)){const err6 = {instancePath:instancePath+"/sm",schemaPath:"#/$defs/cols/maximum",keyword:"maximum",params:{comparison: "<=", limit: 12},message:"must be <= 12"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}if(data1 < 0 || isNaN(data1)){const err7 = {instancePath:instancePath+"/sm",schemaPath:"#/$defs/cols/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}}}if(data.md !== undefined){let data2 = data.md;if(!(((typeof data2 == "number") && (!(data2 % 1) && !isNaN(data2))) && (isFinite(data2)))){const err8 = {instancePath:instancePath+"/md",schemaPath:"#/$defs/cols/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}if((typeof data2 == "number") && (isFinite(data2))){if(data2 > 12 || isNaN(data2)){const err9 = {instancePath:instancePath+"/md",schemaPath:"#/$defs/cols/maximum",keyword:"maximum",params:{comparison: "<=", limit: 12},message:"must be <= 12"};if(vErrors === null){vErrors = [err9];}else {vErrors.push(err9);}errors++;}if(data2 < 0 || isNaN(data2)){const err10 = {instancePath:instancePath+"/md",schemaPath:"#/$defs/cols/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err10];}else {vErrors.push(err10);}errors++;}}}if(data.lg !== undefined){let data3 = data.lg;if(!(((typeof data3 == "number") && (!(data3 % 1) && !isNaN(data3))) && (isFinite(data3)))){const err11 = {instancePath:instancePath+"/lg",schemaPath:"#/$defs/cols/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err11];}else {vErrors.push(err11);}errors++;}if((typeof data3 == "number") && (isFinite(data3))){if(data3 > 12 || isNaN(data3)){const err12 = {instancePath:instancePath+"/lg",schemaPath:"#/$defs/cols/maximum",keyword:"maximum",params:{comparison: "<=", limit: 12},message:"must be <= 12"};if(vErrors === null){vErrors = [err12];}else {vErrors.push(err12);}errors++;}if(data3 < 0 || isNaN(data3)){const err13 = {instancePath:instancePath+"/lg",schemaPath:"#/$defs/cols/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err13];}else {vErrors.push(err13);}errors++;}}}if(data.xl !== undefined){let data4 = data.xl;if(!(((typeof data4 == "number") && (!(data4 % 1) && !isNaN(data4))) && (isFinite(data4)))){const err14 = {instancePath:instancePath+"/xl",schemaPath:"#/$defs/cols/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err14];}else {vErrors.push(err14);}errors++;}if((typeof data4 == "number") && (isFinite(data4))){if(data4 > 12 || isNaN(data4)){const err15 = {instancePath:instancePath+"/xl",schemaPath:"#/$defs/cols/maximum",keyword:"maximum",params:{comparison: "<=", limit: 12},message:"must be <= 12"};if(vErrors === null){vErrors = [err15];}else {vErrors.push(err15);}errors++;}if(data4 < 0 || isNaN(data4)){const err16 = {instancePath:instancePath+"/xl",schemaPath:"#/$defs/cols/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err16];}else {vErrors.push(err16);}errors++;}}}if(data.xxl !== undefined){let data5 = data.xxl;if(!(((typeof data5 == "number") && (!(data5 % 1) && !isNaN(data5))) && (isFinite(data5)))){const err17 = {instancePath:instancePath+"/xxl",schemaPath:"#/$defs/cols/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err17];}else {vErrors.push(err17);}errors++;}if((typeof data5 == "number") && (isFinite(data5))){if(data5 > 12 || isNaN(data5)){const err18 = {instancePath:instancePath+"/xxl",schemaPath:"#/$defs/cols/maximum",keyword:"maximum",params:{comparison: "<=", limit: 12},message:"must be <= 12"};if(vErrors === null){vErrors = [err18];}else {vErrors.push(err18);}errors++;}if(data5 < 0 || isNaN(data5)){const err19 = {instancePath:instancePath+"/xxl",schemaPath:"#/$defs/cols/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err19];}else {vErrors.push(err19);}errors++;}}}}else {const err20 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err20];}else {vErrors.push(err20);}errors++;}validate59.errors = vErrors;return errors === 0;}validate59.evaluated = {"props":true,"dynamicProps":false,"dynamicItems":false};const schema67 = {"type":"object","patternProperties":{".*":{"$ref":"#/$defs/slot"}}};const pattern2 = new RegExp(".*", "u");function validate61(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate61.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(data && typeof data == "object" && !Array.isArray(data)){var props0 = {};for(const key0 in data){if(pattern2.test(key0)){let data0 = data[key0];const _errs3 = errors;let valid2 = false;let passing0 = null;const _errs4 = errors;if(data0 && typeof data0 == "object" && !Array.isArray(data0)){if(data0.text === undefined){const err0 = {instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/$defs/slot/oneOf/0/required",keyword:"required",params:{missingProperty: "text"},message:"must have required property '"+"text"+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}for(const key1 in data0){if(!(key1 === "text")){const err1 = {instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/$defs/slot/oneOf/0/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key1},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}}if(data0.text !== undefined){if(typeof data0.text !== "string"){const err2 = {instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/text",schemaPath:"#/$defs/slot/oneOf/0/properties/text/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}}}else {const err3 = {instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/$defs/slot/oneOf/0/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}var _valid0 = _errs4 === errors;if(_valid0){valid2 = true;passing0 = 0;var props1 = true;}const _errs9 = errors;if(data0 && typeof data0 == "object" && !Array.isArray(data0)){if(data0.markdown === undefined){const err4 = {instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/$defs/slot/oneOf/1/required",keyword:"required",params:{missingProperty: "markdown"},message:"must have required property '"+"markdown"+"'"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}for(const key2 in data0){if(!(key2 === "markdown")){const err5 = {instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/$defs/slot/oneOf/1/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key2},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}}if(data0.markdown !== undefined){if(typeof data0.markdown !== "string"){const err6 = {instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/markdown",schemaPath:"#/$defs/slot/oneOf/1/properties/markdown/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}}}else {const err7 = {instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/$defs/slot/oneOf/1/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}var _valid0 = _errs9 === errors;if(_valid0 && valid2){valid2 = false;passing0 = [passing0, 1];}else {if(_valid0){valid2 = true;passing0 = 1;if(props1 !== true){props1 = true;}}const _errs14 = errors;if(data0 && typeof data0 == "object" && !Array.isArray(data0)){if(data0.name === undefined){const err8 = {instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/$defs/slot/oneOf/2/required",keyword:"required",params:{missingProperty: "name"},message:"must have required property '"+"name"+"'"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}for(const key3 in data0){if(!(key3 === "name")){const err9 = {instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/$defs/slot/oneOf/2/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key3},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err9];}else {vErrors.push(err9);}errors++;}}if(data0.name !== undefined){if(typeof data0.name !== "string"){const err10 = {instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/name",schemaPath:"#/$defs/slot/oneOf/2/properties/name/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err10];}else {vErrors.push(err10);}errors++;}}}else {const err11 = {instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/$defs/slot/oneOf/2/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err11];}else {vErrors.push(err11);}errors++;}var _valid0 = _errs14 === errors;if(_valid0 && valid2){valid2 = false;passing0 = [passing0, 2];}else {if(_valid0){valid2 = true;passing0 = 2;if(props1 !== true){props1 = true;}}}}if(!valid2){const err12 = {instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/$defs/slot/oneOf",keyword:"oneOf",params:{passingSchemas: passing0},message:"must match exactly one schema in oneOf"};if(vErrors === null){vErrors = [err12];}else {vErrors.push(err12);}errors++;}else {errors = _errs3;if(vErrors !== null){if(_errs3){vErrors.length = _errs3;}else {vErrors = null;}}}props0[key0] = true;}}}else {const err13 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err13];}else {vErrors.push(err13);}errors++;}validate61.errors = vErrors;evaluated0.props = props0;return errors === 0;}validate61.evaluated = {"dynamicProps":true,"dynamicItems":false};const schema72 = {"type":"object","allOf":[{"$ref":"#/$defs/state-node-options-lib"},{"properties":{"readOnly":{"type":"boolean","default":false},"summary":{"type":"boolean","default":false},"titleDepth":{"type":"integer","minimum":1,"maximum":6,"default":2}}}]};const schema73 = {"type":"object","patternProperties":{".*":{}}};function validate63(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate63.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(!(data && typeof data == "object" && !Array.isArray(data))){const err0 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}if(data && typeof data == "object" && !Array.isArray(data)){var props0 = {};for(const key0 in data){if(pattern2.test(key0)){props0[key0] = true;}}}else {const err1 = {instancePath,schemaPath:"#/$defs/state-node-options-lib/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data && typeof data == "object" && !Array.isArray(data)){if(data.readOnly !== undefined){if(typeof data.readOnly !== "boolean"){const err2 = {instancePath:instancePath+"/readOnly",schemaPath:"#/allOf/1/properties/readOnly/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}}if(data.summary !== undefined){if(typeof data.summary !== "boolean"){const err3 = {instancePath:instancePath+"/summary",schemaPath:"#/allOf/1/properties/summary/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}}if(data.titleDepth !== undefined){let data2 = data.titleDepth;if(!(((typeof data2 == "number") && (!(data2 % 1) && !isNaN(data2))) && (isFinite(data2)))){const err4 = {instancePath:instancePath+"/titleDepth",schemaPath:"#/allOf/1/properties/titleDepth/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}if((typeof data2 == "number") && (isFinite(data2))){if(data2 > 6 || isNaN(data2)){const err5 = {instancePath:instancePath+"/titleDepth",schemaPath:"#/allOf/1/properties/titleDepth/maximum",keyword:"maximum",params:{comparison: "<=", limit: 6},message:"must be <= 6"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}if(data2 < 1 || isNaN(data2)){const err6 = {instancePath:instancePath+"/titleDepth",schemaPath:"#/allOf/1/properties/titleDepth/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}}}}if(props0 !== true){props0 = props0 || {};props0.readOnly = true;props0.summary = true;props0.titleDepth = true;}validate63.errors = vErrors;evaluated0.props = props0;return errors === 0;}validate63.evaluated = {"dynamicProps":true,"dynamicItems":false};const schema74 = {"type":"object","required":["comp","listEditMode","listActions"],"properties":{"comp":{"const":"list"},"title":{"type":"string"},"listEditMode":{"type":"string","enum":["inline","inline-single","menu","dialog"]},"listActions":{"type":"array","items":{"type":"string","enum":["add","edit","delete","sort","duplicate"]}},"itemTitle":{"$ref":"#/$defs/expression"},"itemSubtitle":{"$ref":"#/$defs/expression"},"messages":{"type":"object","additionalProperties":false,"properties":{"addItem":{"type":"string"},"delete":{"type":"string"},"edit":{"type":"string"},"duplicate":{"type":"string"},"sort":{"type":"string"}}}}};function validate65(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate65.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(data && typeof data == "object" && !Array.isArray(data)){if(data.comp === undefined){const err0 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "comp"},message:"must have required property '"+"comp"+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}if(data.listEditMode === undefined){const err1 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "listEditMode"},message:"must have required property '"+"listEditMode"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data.listActions === undefined){const err2 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "listActions"},message:"must have required property '"+"listActions"+"'"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}if(data.comp !== undefined){if("list" !== data.comp){const err3 = {instancePath:instancePath+"/comp",schemaPath:"#/properties/comp/const",keyword:"const",params:{allowedValue: "list"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}}if(data.title !== undefined){if(typeof data.title !== "string"){const err4 = {instancePath:instancePath+"/title",schemaPath:"#/properties/title/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}if(data.listEditMode !== undefined){let data2 = data.listEditMode;if(typeof data2 !== "string"){const err5 = {instancePath:instancePath+"/listEditMode",schemaPath:"#/properties/listEditMode/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}if(!((((data2 === "inline") || (data2 === "inline-single")) || (data2 === "menu")) || (data2 === "dialog"))){const err6 = {instancePath:instancePath+"/listEditMode",schemaPath:"#/properties/listEditMode/enum",keyword:"enum",params:{allowedValues: schema74.properties.listEditMode.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}}if(data.listActions !== undefined){let data3 = data.listActions;if(Array.isArray(data3)){const len0 = data3.length;for(let i0=0; i0<len0; i0++){let data4 = data3[i0];if(typeof data4 !== "string"){const err7 = {instancePath:instancePath+"/listActions/" + i0,schemaPath:"#/properties/listActions/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}if(!(((((data4 === "add") || (data4 === "edit")) || (data4 === "delete")) || (data4 === "sort")) || (data4 === "duplicate"))){const err8 = {instancePath:instancePath+"/listActions/" + i0,schemaPath:"#/properties/listActions/items/enum",keyword:"enum",params:{allowedValues: schema74.properties.listActions.items.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}}}else {const err9 = {instancePath:instancePath+"/listActions",schemaPath:"#/properties/listActions/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err9];}else {vErrors.push(err9);}errors++;}}if(data.itemTitle !== undefined){let data5 = data.itemTitle;if(data5 && typeof data5 == "object" && !Array.isArray(data5)){if(data5.type === undefined){const err10 = {instancePath:instancePath+"/itemTitle",schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: "type"},message:"must have required property '"+"type"+"'"};if(vErrors === null){vErrors = [err10];}else {vErrors.push(err10);}errors++;}if(data5.expr === undefined){const err11 = {instancePath:instancePath+"/itemTitle",schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: "expr"},message:"must have required property '"+"expr"+"'"};if(vErrors === null){vErrors = [err11];}else {vErrors.push(err11);}errors++;}if(data5.type !== undefined){let data6 = data5.type;if(typeof data6 !== "string"){const err12 = {instancePath:instancePath+"/itemTitle/type",schemaPath:"#/$defs/expression/properties/type/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err12];}else {vErrors.push(err12);}errors++;}if(!(((data6 === "js-fn") || (data6 === "js-eval")) || (data6 === "js-tpl"))){const err13 = {instancePath:instancePath+"/itemTitle/type",schemaPath:"#/$defs/expression/properties/type/enum",keyword:"enum",params:{allowedValues: schema56.properties.type.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err13];}else {vErrors.push(err13);}errors++;}}if(data5.expr !== undefined){if(typeof data5.expr !== "string"){const err14 = {instancePath:instancePath+"/itemTitle/expr",schemaPath:"#/$defs/expression/properties/expr/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err14];}else {vErrors.push(err14);}errors++;}}if(data5.ref !== undefined){let data8 = data5.ref;if(!(((typeof data8 == "number") && (!(data8 % 1) && !isNaN(data8))) && (isFinite(data8)))){const err15 = {instancePath:instancePath+"/itemTitle/ref",schemaPath:"#/$defs/expression/properties/ref/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err15];}else {vErrors.push(err15);}errors++;}}}else {const err16 = {instancePath:instancePath+"/itemTitle",schemaPath:"#/$defs/expression/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err16];}else {vErrors.push(err16);}errors++;}}if(data.itemSubtitle !== undefined){let data9 = data.itemSubtitle;if(data9 && typeof data9 == "object" && !Array.isArray(data9)){if(data9.type === undefined){const err17 = {instancePath:instancePath+"/itemSubtitle",schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: "type"},message:"must have required property '"+"type"+"'"};if(vErrors === null){vErrors = [err17];}else {vErrors.push(err17);}errors++;}if(data9.expr === undefined){const err18 = {instancePath:instancePath+"/itemSubtitle",schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: "expr"},message:"must have required property '"+"expr"+"'"};if(vErrors === null){vErrors = [err18];}else {vErrors.push(err18);}errors++;}if(data9.type !== undefined){let data10 = data9.type;if(typeof data10 !== "string"){const err19 = {instancePath:instancePath+"/itemSubtitle/type",schemaPath:"#/$defs/expression/properties/type/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err19];}else {vErrors.push(err19);}errors++;}if(!(((data10 === "js-fn") || (data10 === "js-eval")) || (data10 === "js-tpl"))){const err20 = {instancePath:instancePath+"/itemSubtitle/type",schemaPath:"#/$defs/expression/properties/type/enum",keyword:"enum",params:{allowedValues: schema56.properties.type.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err20];}else {vErrors.push(err20);}errors++;}}if(data9.expr !== undefined){if(typeof data9.expr !== "string"){const err21 = {instancePath:instancePath+"/itemSubtitle/expr",schemaPath:"#/$defs/expression/properties/expr/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err21];}else {vErrors.push(err21);}errors++;}}if(data9.ref !== undefined){let data12 = data9.ref;if(!(((typeof data12 == "number") && (!(data12 % 1) && !isNaN(data12))) && (isFinite(data12)))){const err22 = {instancePath:instancePath+"/itemSubtitle/ref",schemaPath:"#/$defs/expression/properties/ref/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err22];}else {vErrors.push(err22);}errors++;}}}else {const err23 = {instancePath:instancePath+"/itemSubtitle",schemaPath:"#/$defs/expression/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err23];}else {vErrors.push(err23);}errors++;}}if(data.messages !== undefined){let data13 = data.messages;if(data13 && typeof data13 == "object" && !Array.isArray(data13)){for(const key0 in data13){if(!(((((key0 === "addItem") || (key0 === "delete")) || (key0 === "edit")) || (key0 === "duplicate")) || (key0 === "sort"))){const err24 = {instancePath:instancePath+"/messages",schemaPath:"#/properties/messages/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err24];}else {vErrors.push(err24);}errors++;}}if(data13.addItem !== undefined){if(typeof data13.addItem !== "string"){const err25 = {instancePath:instancePath+"/messages/addItem",schemaPath:"#/properties/messages/properties/addItem/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err25];}else {vErrors.push(err25);}errors++;}}if(data13.delete !== undefined){if(typeof data13.delete !== "string"){const err26 = {instancePath:instancePath+"/messages/delete",schemaPath:"#/properties/messages/properties/delete/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err26];}else {vErrors.push(err26);}errors++;}}if(data13.edit !== undefined){if(typeof data13.edit !== "string"){const err27 = {instancePath:instancePath+"/messages/edit",schemaPath:"#/properties/messages/properties/edit/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err27];}else {vErrors.push(err27);}errors++;}}if(data13.duplicate !== undefined){if(typeof data13.duplicate !== "string"){const err28 = {instancePath:instancePath+"/messages/duplicate",schemaPath:"#/properties/messages/properties/duplicate/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err28];}else {vErrors.push(err28);}errors++;}}if(data13.sort !== undefined){if(typeof data13.sort !== "string"){const err29 = {instancePath:instancePath+"/messages/sort",schemaPath:"#/properties/messages/properties/sort/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err29];}else {vErrors.push(err29);}errors++;}}}else {const err30 = {instancePath:instancePath+"/messages",schemaPath:"#/properties/messages/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err30];}else {vErrors.push(err30);}errors++;}}}else {const err31 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err31];}else {vErrors.push(err31);}errors++;}validate65.errors = vErrors;return errors === 0;}validate65.evaluated = {"props":{"comp":true,"title":true,"listEditMode":true,"listActions":true,"itemTitle":true,"itemSubtitle":true,"messages":true},"dynamicProps":false,"dynamicItems":false};const schema77 = {"type":"object","required":["comp","label"],"properties":{"comp":{"const":"combobox"},"label":{"type":"string"},"autofocus":{"type":"boolean"},"items":{"$ref":"#/$defs/select-items"},"getItems":{"$ref":"#/$defs/get-items"},"multiple":{"type":"boolean"}}};const schema78 = {"type":"array","items":{"$ref":"#/$defs/select-item"}};const schema79 = {"type":"object","required":["title","key","value"],"properties":{"title":{"type":"string"},"key":{"type":"string"},"value":{},"icon":{"type":"string"}}};function validate67(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate67.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(Array.isArray(data)){const len0 = data.length;for(let i0=0; i0<len0; i0++){let data0 = data[i0];if(data0 && typeof data0 == "object" && !Array.isArray(data0)){if(data0.title === undefined){const err0 = {instancePath:instancePath+"/" + i0,schemaPath:"#/$defs/select-item/required",keyword:"required",params:{missingProperty: "title"},message:"must have required property '"+"title"+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}if(data0.key === undefined){const err1 = {instancePath:instancePath+"/" + i0,schemaPath:"#/$defs/select-item/required",keyword:"required",params:{missingProperty: "key"},message:"must have required property '"+"key"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data0.value === undefined){const err2 = {instancePath:instancePath+"/" + i0,schemaPath:"#/$defs/select-item/required",keyword:"required",params:{missingProperty: "value"},message:"must have required property '"+"value"+"'"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}if(data0.title !== undefined){if(typeof data0.title !== "string"){const err3 = {instancePath:instancePath+"/" + i0+"/title",schemaPath:"#/$defs/select-item/properties/title/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}}if(data0.key !== undefined){if(typeof data0.key !== "string"){const err4 = {instancePath:instancePath+"/" + i0+"/key",schemaPath:"#/$defs/select-item/properties/key/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}if(data0.icon !== undefined){if(typeof data0.icon !== "string"){const err5 = {instancePath:instancePath+"/" + i0+"/icon",schemaPath:"#/$defs/select-item/properties/icon/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}}}else {const err6 = {instancePath:instancePath+"/" + i0,schemaPath:"#/$defs/select-item/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}}}else {const err7 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}validate67.errors = vErrors;return errors === 0;}validate67.evaluated = {"items":true,"dynamicProps":false,"dynamicItems":false};const schema80 = {"type":"object","allOf":[{"properties":{"returnObjects":{"type":"boolean","readOnly":true},"itemsResults":{"$ref":"#/$defs/expression"},"itemTitle":{"$ref":"#/$defs/expression"},"itemKey":{"$ref":"#/$defs/expression"},"itemValue":{"$ref":"#/$defs/expression"},"itemIcon":{"$ref":"#/$defs/expression"}}},{"oneOf":[{"$ref":"#/$defs/expression"},{"$ref":"#/$defs/get-items-fetch"}]}]};const schema87 = {"type":"object","required":["url"],"properties":{"url":{"$ref":"#/$defs/expression"},"qSearchParam":{"type":"string"},"searchParams":{"type":"object","patternProperties":{".*":{"$ref":"#/$defs/expression"}}}}};function validate70(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate70.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(data && typeof data == "object" && !Array.isArray(data)){if(data.url === undefined){const err0 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "url"},message:"must have required property '"+"url"+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}if(data.url !== undefined){let data0 = data.url;if(data0 && typeof data0 == "object" && !Array.isArray(data0)){if(data0.type === undefined){const err1 = {instancePath:instancePath+"/url",schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: "type"},message:"must have required property '"+"type"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data0.expr === undefined){const err2 = {instancePath:instancePath+"/url",schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: "expr"},message:"must have required property '"+"expr"+"'"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}if(data0.type !== undefined){let data1 = data0.type;if(typeof data1 !== "string"){const err3 = {instancePath:instancePath+"/url/type",schemaPath:"#/$defs/expression/properties/type/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}if(!(((data1 === "js-fn") || (data1 === "js-eval")) || (data1 === "js-tpl"))){const err4 = {instancePath:instancePath+"/url/type",schemaPath:"#/$defs/expression/properties/type/enum",keyword:"enum",params:{allowedValues: schema56.properties.type.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}if(data0.expr !== undefined){if(typeof data0.expr !== "string"){const err5 = {instancePath:instancePath+"/url/expr",schemaPath:"#/$defs/expression/properties/expr/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}}if(data0.ref !== undefined){let data3 = data0.ref;if(!(((typeof data3 == "number") && (!(data3 % 1) && !isNaN(data3))) && (isFinite(data3)))){const err6 = {instancePath:instancePath+"/url/ref",schemaPath:"#/$defs/expression/properties/ref/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}}}else {const err7 = {instancePath:instancePath+"/url",schemaPath:"#/$defs/expression/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}}if(data.qSearchParam !== undefined){if(typeof data.qSearchParam !== "string"){const err8 = {instancePath:instancePath+"/qSearchParam",schemaPath:"#/properties/qSearchParam/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}}if(data.searchParams !== undefined){let data5 = data.searchParams;if(data5 && typeof data5 == "object" && !Array.isArray(data5)){var props0 = {};for(const key0 in data5){if(pattern2.test(key0)){let data6 = data5[key0];if(data6 && typeof data6 == "object" && !Array.isArray(data6)){if(data6.type === undefined){const err9 = {instancePath:instancePath+"/searchParams/" + key0.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: "type"},message:"must have required property '"+"type"+"'"};if(vErrors === null){vErrors = [err9];}else {vErrors.push(err9);}errors++;}if(data6.expr === undefined){const err10 = {instancePath:instancePath+"/searchParams/" + key0.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: "expr"},message:"must have required property '"+"expr"+"'"};if(vErrors === null){vErrors = [err10];}else {vErrors.push(err10);}errors++;}if(data6.type !== undefined){let data7 = data6.type;if(typeof data7 !== "string"){const err11 = {instancePath:instancePath+"/searchParams/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/type",schemaPath:"#/$defs/expression/properties/type/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err11];}else {vErrors.push(err11);}errors++;}if(!(((data7 === "js-fn") || (data7 === "js-eval")) || (data7 === "js-tpl"))){const err12 = {instancePath:instancePath+"/searchParams/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/type",schemaPath:"#/$defs/expression/properties/type/enum",keyword:"enum",params:{allowedValues: schema56.properties.type.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err12];}else {vErrors.push(err12);}errors++;}}if(data6.expr !== undefined){if(typeof data6.expr !== "string"){const err13 = {instancePath:instancePath+"/searchParams/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/expr",schemaPath:"#/$defs/expression/properties/expr/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err13];}else {vErrors.push(err13);}errors++;}}if(data6.ref !== undefined){let data9 = data6.ref;if(!(((typeof data9 == "number") && (!(data9 % 1) && !isNaN(data9))) && (isFinite(data9)))){const err14 = {instancePath:instancePath+"/searchParams/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/ref",schemaPath:"#/$defs/expression/properties/ref/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err14];}else {vErrors.push(err14);}errors++;}}}else {const err15 = {instancePath:instancePath+"/searchParams/" + key0.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/$defs/expression/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err15];}else {vErrors.push(err15);}errors++;}props0[key0] = true;}}}else {const err16 = {instancePath:instancePath+"/searchParams",schemaPath:"#/properties/searchParams/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err16];}else {vErrors.push(err16);}errors++;}}}else {const err17 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err17];}else {vErrors.push(err17);}errors++;}validate70.errors = vErrors;return errors === 0;}validate70.evaluated = {"props":{"url":true,"qSearchParam":true,"searchParams":true},"dynamicProps":false,"dynamicItems":false};function validate69(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate69.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(!(data && typeof data == "object" && !Array.isArray(data))){const err0 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}if(data && typeof data == "object" && !Array.isArray(data)){if(data.returnObjects !== undefined){if(typeof data.returnObjects !== "boolean"){const err1 = {instancePath:instancePath+"/returnObjects",schemaPath:"#/allOf/0/properties/returnObjects/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}}if(data.itemsResults !== undefined){let data1 = data.itemsResults;if(data1 && typeof data1 == "object" && !Array.isArray(data1)){if(data1.type === undefined){const err2 = {instancePath:instancePath+"/itemsResults",schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: "type"},message:"must have required property '"+"type"+"'"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}if(data1.expr === undefined){const err3 = {instancePath:instancePath+"/itemsResults",schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: "expr"},message:"must have required property '"+"expr"+"'"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}if(data1.type !== undefined){let data2 = data1.type;if(typeof data2 !== "string"){const err4 = {instancePath:instancePath+"/itemsResults/type",schemaPath:"#/$defs/expression/properties/type/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}if(!(((data2 === "js-fn") || (data2 === "js-eval")) || (data2 === "js-tpl"))){const err5 = {instancePath:instancePath+"/itemsResults/type",schemaPath:"#/$defs/expression/properties/type/enum",keyword:"enum",params:{allowedValues: schema56.properties.type.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}}if(data1.expr !== undefined){if(typeof data1.expr !== "string"){const err6 = {instancePath:instancePath+"/itemsResults/expr",schemaPath:"#/$defs/expression/properties/expr/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}}if(data1.ref !== undefined){let data4 = data1.ref;if(!(((typeof data4 == "number") && (!(data4 % 1) && !isNaN(data4))) && (isFinite(data4)))){const err7 = {instancePath:instancePath+"/itemsResults/ref",schemaPath:"#/$defs/expression/properties/ref/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}}}else {const err8 = {instancePath:instancePath+"/itemsResults",schemaPath:"#/$defs/expression/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}}if(data.itemTitle !== undefined){let data5 = data.itemTitle;if(data5 && typeof data5 == "object" && !Array.isArray(data5)){if(data5.type === undefined){const err9 = {instancePath:instancePath+"/itemTitle",schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: "type"},message:"must have required property '"+"type"+"'"};if(vErrors === null){vErrors = [err9];}else {vErrors.push(err9);}errors++;}if(data5.expr === undefined){const err10 = {instancePath:instancePath+"/itemTitle",schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: "expr"},message:"must have required property '"+"expr"+"'"};if(vErrors === null){vErrors = [err10];}else {vErrors.push(err10);}errors++;}if(data5.type !== undefined){let data6 = data5.type;if(typeof data6 !== "string"){const err11 = {instancePath:instancePath+"/itemTitle/type",schemaPath:"#/$defs/expression/properties/type/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err11];}else {vErrors.push(err11);}errors++;}if(!(((data6 === "js-fn") || (data6 === "js-eval")) || (data6 === "js-tpl"))){const err12 = {instancePath:instancePath+"/itemTitle/type",schemaPath:"#/$defs/expression/properties/type/enum",keyword:"enum",params:{allowedValues: schema56.properties.type.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err12];}else {vErrors.push(err12);}errors++;}}if(data5.expr !== undefined){if(typeof data5.expr !== "string"){const err13 = {instancePath:instancePath+"/itemTitle/expr",schemaPath:"#/$defs/expression/properties/expr/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err13];}else {vErrors.push(err13);}errors++;}}if(data5.ref !== undefined){let data8 = data5.ref;if(!(((typeof data8 == "number") && (!(data8 % 1) && !isNaN(data8))) && (isFinite(data8)))){const err14 = {instancePath:instancePath+"/itemTitle/ref",schemaPath:"#/$defs/expression/properties/ref/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err14];}else {vErrors.push(err14);}errors++;}}}else {const err15 = {instancePath:instancePath+"/itemTitle",schemaPath:"#/$defs/expression/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err15];}else {vErrors.push(err15);}errors++;}}if(data.itemKey !== undefined){let data9 = data.itemKey;if(data9 && typeof data9 == "object" && !Array.isArray(data9)){if(data9.type === undefined){const err16 = {instancePath:instancePath+"/itemKey",schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: "type"},message:"must have required property '"+"type"+"'"};if(vErrors === null){vErrors = [err16];}else {vErrors.push(err16);}errors++;}if(data9.expr === undefined){const err17 = {instancePath:instancePath+"/itemKey",schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: "expr"},message:"must have required property '"+"expr"+"'"};if(vErrors === null){vErrors = [err17];}else {vErrors.push(err17);}errors++;}if(data9.type !== undefined){let data10 = data9.type;if(typeof data10 !== "string"){const err18 = {instancePath:instancePath+"/itemKey/type",schemaPath:"#/$defs/expression/properties/type/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err18];}else {vErrors.push(err18);}errors++;}if(!(((data10 === "js-fn") || (data10 === "js-eval")) || (data10 === "js-tpl"))){const err19 = {instancePath:instancePath+"/itemKey/type",schemaPath:"#/$defs/expression/properties/type/enum",keyword:"enum",params:{allowedValues: schema56.properties.type.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err19];}else {vErrors.push(err19);}errors++;}}if(data9.expr !== undefined){if(typeof data9.expr !== "string"){const err20 = {instancePath:instancePath+"/itemKey/expr",schemaPath:"#/$defs/expression/properties/expr/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err20];}else {vErrors.push(err20);}errors++;}}if(data9.ref !== undefined){let data12 = data9.ref;if(!(((typeof data12 == "number") && (!(data12 % 1) && !isNaN(data12))) && (isFinite(data12)))){const err21 = {instancePath:instancePath+"/itemKey/ref",schemaPath:"#/$defs/expression/properties/ref/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err21];}else {vErrors.push(err21);}errors++;}}}else {const err22 = {instancePath:instancePath+"/itemKey",schemaPath:"#/$defs/expression/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err22];}else {vErrors.push(err22);}errors++;}}if(data.itemValue !== undefined){let data13 = data.itemValue;if(data13 && typeof data13 == "object" && !Array.isArray(data13)){if(data13.type === undefined){const err23 = {instancePath:instancePath+"/itemValue",schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: "type"},message:"must have required property '"+"type"+"'"};if(vErrors === null){vErrors = [err23];}else {vErrors.push(err23);}errors++;}if(data13.expr === undefined){const err24 = {instancePath:instancePath+"/itemValue",schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: "expr"},message:"must have required property '"+"expr"+"'"};if(vErrors === null){vErrors = [err24];}else {vErrors.push(err24);}errors++;}if(data13.type !== undefined){let data14 = data13.type;if(typeof data14 !== "string"){const err25 = {instancePath:instancePath+"/itemValue/type",schemaPath:"#/$defs/expression/properties/type/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err25];}else {vErrors.push(err25);}errors++;}if(!(((data14 === "js-fn") || (data14 === "js-eval")) || (data14 === "js-tpl"))){const err26 = {instancePath:instancePath+"/itemValue/type",schemaPath:"#/$defs/expression/properties/type/enum",keyword:"enum",params:{allowedValues: schema56.properties.type.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err26];}else {vErrors.push(err26);}errors++;}}if(data13.expr !== undefined){if(typeof data13.expr !== "string"){const err27 = {instancePath:instancePath+"/itemValue/expr",schemaPath:"#/$defs/expression/properties/expr/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err27];}else {vErrors.push(err27);}errors++;}}if(data13.ref !== undefined){let data16 = data13.ref;if(!(((typeof data16 == "number") && (!(data16 % 1) && !isNaN(data16))) && (isFinite(data16)))){const err28 = {instancePath:instancePath+"/itemValue/ref",schemaPath:"#/$defs/expression/properties/ref/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err28];}else {vErrors.push(err28);}errors++;}}}else {const err29 = {instancePath:instancePath+"/itemValue",schemaPath:"#/$defs/expression/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err29];}else {vErrors.push(err29);}errors++;}}if(data.itemIcon !== undefined){let data17 = data.itemIcon;if(data17 && typeof data17 == "object" && !Array.isArray(data17)){if(data17.type === undefined){const err30 = {instancePath:instancePath+"/itemIcon",schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: "type"},message:"must have required property '"+"type"+"'"};if(vErrors === null){vErrors = [err30];}else {vErrors.push(err30);}errors++;}if(data17.expr === undefined){const err31 = {instancePath:instancePath+"/itemIcon",schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: "expr"},message:"must have required property '"+"expr"+"'"};if(vErrors === null){vErrors = [err31];}else {vErrors.push(err31);}errors++;}if(data17.type !== undefined){let data18 = data17.type;if(typeof data18 !== "string"){const err32 = {instancePath:instancePath+"/itemIcon/type",schemaPath:"#/$defs/expression/properties/type/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err32];}else {vErrors.push(err32);}errors++;}if(!(((data18 === "js-fn") || (data18 === "js-eval")) || (data18 === "js-tpl"))){const err33 = {instancePath:instancePath+"/itemIcon/type",schemaPath:"#/$defs/expression/properties/type/enum",keyword:"enum",params:{allowedValues: schema56.properties.type.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err33];}else {vErrors.push(err33);}errors++;}}if(data17.expr !== undefined){if(typeof data17.expr !== "string"){const err34 = {instancePath:instancePath+"/itemIcon/expr",schemaPath:"#/$defs/expression/properties/expr/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err34];}else {vErrors.push(err34);}errors++;}}if(data17.ref !== undefined){let data20 = data17.ref;if(!(((typeof data20 == "number") && (!(data20 % 1) && !isNaN(data20))) && (isFinite(data20)))){const err35 = {instancePath:instancePath+"/itemIcon/ref",schemaPath:"#/$defs/expression/properties/ref/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err35];}else {vErrors.push(err35);}errors++;}}}else {const err36 = {instancePath:instancePath+"/itemIcon",schemaPath:"#/$defs/expression/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err36];}else {vErrors.push(err36);}errors++;}}}const _errs50 = errors;let valid12 = false;let passing0 = null;const _errs51 = errors;if(data && typeof data == "object" && !Array.isArray(data)){if(data.type === undefined){const err37 = {instancePath,schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: "type"},message:"must have required property '"+"type"+"'"};if(vErrors === null){vErrors = [err37];}else {vErrors.push(err37);}errors++;}if(data.expr === undefined){const err38 = {instancePath,schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: "expr"},message:"must have required property '"+"expr"+"'"};if(vErrors === null){vErrors = [err38];}else {vErrors.push(err38);}errors++;}if(data.type !== undefined){let data21 = data.type;if(typeof data21 !== "string"){const err39 = {instancePath:instancePath+"/type",schemaPath:"#/$defs/expression/properties/type/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err39];}else {vErrors.push(err39);}errors++;}if(!(((data21 === "js-fn") || (data21 === "js-eval")) || (data21 === "js-tpl"))){const err40 = {instancePath:instancePath+"/type",schemaPath:"#/$defs/expression/properties/type/enum",keyword:"enum",params:{allowedValues: schema56.properties.type.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err40];}else {vErrors.push(err40);}errors++;}}if(data.expr !== undefined){if(typeof data.expr !== "string"){const err41 = {instancePath:instancePath+"/expr",schemaPath:"#/$defs/expression/properties/expr/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err41];}else {vErrors.push(err41);}errors++;}}if(data.ref !== undefined){let data23 = data.ref;if(!(((typeof data23 == "number") && (!(data23 % 1) && !isNaN(data23))) && (isFinite(data23)))){const err42 = {instancePath:instancePath+"/ref",schemaPath:"#/$defs/expression/properties/ref/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err42];}else {vErrors.push(err42);}errors++;}}}else {const err43 = {instancePath,schemaPath:"#/$defs/expression/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err43];}else {vErrors.push(err43);}errors++;}var _valid0 = _errs51 === errors;if(_valid0){valid12 = true;passing0 = 0;var props0 = {};props0.type = true;props0.expr = true;props0.ref = true;}const _errs60 = errors;if(!(validate70(data, {instancePath,parentData,parentDataProperty,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate70.errors : vErrors.concat(validate70.errors);errors = vErrors.length;}var _valid0 = _errs60 === errors;if(_valid0 && valid12){valid12 = false;passing0 = [passing0, 1];}else {if(_valid0){valid12 = true;passing0 = 1;if(props0 !== true){props0 = props0 || {};props0.url = true;props0.qSearchParam = true;props0.searchParams = true;}}}if(!valid12){const err44 = {instancePath,schemaPath:"#/allOf/1/oneOf",keyword:"oneOf",params:{passingSchemas: passing0},message:"must match exactly one schema in oneOf"};if(vErrors === null){vErrors = [err44];}else {vErrors.push(err44);}errors++;}else {errors = _errs50;if(vErrors !== null){if(_errs50){vErrors.length = _errs50;}else {vErrors = null;}}}if(props0 !== true){props0 = props0 || {};props0.returnObjects = true;props0.itemsResults = true;props0.itemTitle = true;props0.itemKey = true;props0.itemValue = true;props0.itemIcon = true;}validate69.errors = vErrors;evaluated0.props = props0;return errors === 0;}validate69.evaluated = {"dynamicProps":true,"dynamicItems":false};function validate66(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate66.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(data && typeof data == "object" && !Array.isArray(data)){if(data.comp === undefined){const err0 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "comp"},message:"must have required property '"+"comp"+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}if(data.label === undefined){const err1 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data.comp !== undefined){if("combobox" !== data.comp){const err2 = {instancePath:instancePath+"/comp",schemaPath:"#/properties/comp/const",keyword:"const",params:{allowedValue: "combobox"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}}if(data.label !== undefined){if(typeof data.label !== "string"){const err3 = {instancePath:instancePath+"/label",schemaPath:"#/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}}if(data.autofocus !== undefined){if(typeof data.autofocus !== "boolean"){const err4 = {instancePath:instancePath+"/autofocus",schemaPath:"#/properties/autofocus/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}if(data.items !== undefined){if(!(validate67(data.items, {instancePath:instancePath+"/items",parentData:data,parentDataProperty:"items",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate67.errors : vErrors.concat(validate67.errors);errors = vErrors.length;}}if(data.getItems !== undefined){if(!(validate69(data.getItems, {instancePath:instancePath+"/getItems",parentData:data,parentDataProperty:"getItems",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate69.errors : vErrors.concat(validate69.errors);errors = vErrors.length;}}if(data.multiple !== undefined){if(typeof data.multiple !== "boolean"){const err5 = {instancePath:instancePath+"/multiple",schemaPath:"#/properties/multiple/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}}}else {const err6 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}validate66.errors = vErrors;return errors === 0;}validate66.evaluated = {"props":{"comp":true,"label":true,"autofocus":true,"items":true,"getItems":true,"multiple":true},"dynamicProps":false,"dynamicItems":false};const schema90 = {"type":"object","required":["comp","label"],"properties":{"comp":{"const":"number-combobox"},"label":{"type":"string"},"autofocus":{"type":"boolean"},"items":{"$ref":"#/$defs/select-items"},"getItems":{"$ref":"#/$defs/get-items"},"multiple":{"type":"boolean"},"step":{"type":"number"},"min":{"type":"number"},"max":{"type":"number"}}};function validate73(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate73.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(data && typeof data == "object" && !Array.isArray(data)){if(data.comp === undefined){const err0 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "comp"},message:"must have required property '"+"comp"+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}if(data.label === undefined){const err1 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data.comp !== undefined){if("number-combobox" !== data.comp){const err2 = {instancePath:instancePath+"/comp",schemaPath:"#/properties/comp/const",keyword:"const",params:{allowedValue: "number-combobox"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}}if(data.label !== undefined){if(typeof data.label !== "string"){const err3 = {instancePath:instancePath+"/label",schemaPath:"#/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}}if(data.autofocus !== undefined){if(typeof data.autofocus !== "boolean"){const err4 = {instancePath:instancePath+"/autofocus",schemaPath:"#/properties/autofocus/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}if(data.items !== undefined){if(!(validate67(data.items, {instancePath:instancePath+"/items",parentData:data,parentDataProperty:"items",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate67.errors : vErrors.concat(validate67.errors);errors = vErrors.length;}}if(data.getItems !== undefined){if(!(validate69(data.getItems, {instancePath:instancePath+"/getItems",parentData:data,parentDataProperty:"getItems",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate69.errors : vErrors.concat(validate69.errors);errors = vErrors.length;}}if(data.multiple !== undefined){if(typeof data.multiple !== "boolean"){const err5 = {instancePath:instancePath+"/multiple",schemaPath:"#/properties/multiple/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}}if(data.step !== undefined){let data6 = data.step;if(!((typeof data6 == "number") && (isFinite(data6)))){const err6 = {instancePath:instancePath+"/step",schemaPath:"#/properties/step/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}}if(data.min !== undefined){let data7 = data.min;if(!((typeof data7 == "number") && (isFinite(data7)))){const err7 = {instancePath:instancePath+"/min",schemaPath:"#/properties/min/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}}if(data.max !== undefined){let data8 = data.max;if(!((typeof data8 == "number") && (isFinite(data8)))){const err8 = {instancePath:instancePath+"/max",schemaPath:"#/properties/max/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}}}else {const err9 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err9];}else {vErrors.push(err9);}errors++;}validate73.errors = vErrors;return errors === 0;}validate73.evaluated = {"props":{"comp":true,"label":true,"autofocus":true,"items":true,"getItems":true,"multiple":true,"step":true,"min":true,"max":true},"dynamicProps":false,"dynamicItems":false};const schema91 = {"type":"object","required":["comp","label"],"properties":{"comp":{"const":"select"},"label":{"type":"string"},"autofocus":{"type":"boolean"},"items":{"$ref":"#/$defs/select-items"},"getItems":{"$ref":"#/$defs/get-items"},"multiple":{"type":"boolean"}}};function validate76(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate76.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(data && typeof data == "object" && !Array.isArray(data)){if(data.comp === undefined){const err0 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "comp"},message:"must have required property '"+"comp"+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}if(data.label === undefined){const err1 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data.comp !== undefined){if("select" !== data.comp){const err2 = {instancePath:instancePath+"/comp",schemaPath:"#/properties/comp/const",keyword:"const",params:{allowedValue: "select"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}}if(data.label !== undefined){if(typeof data.label !== "string"){const err3 = {instancePath:instancePath+"/label",schemaPath:"#/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}}if(data.autofocus !== undefined){if(typeof data.autofocus !== "boolean"){const err4 = {instancePath:instancePath+"/autofocus",schemaPath:"#/properties/autofocus/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}if(data.items !== undefined){if(!(validate67(data.items, {instancePath:instancePath+"/items",parentData:data,parentDataProperty:"items",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate67.errors : vErrors.concat(validate67.errors);errors = vErrors.length;}}if(data.getItems !== undefined){if(!(validate69(data.getItems, {instancePath:instancePath+"/getItems",parentData:data,parentDataProperty:"getItems",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate69.errors : vErrors.concat(validate69.errors);errors = vErrors.length;}}if(data.multiple !== undefined){if(typeof data.multiple !== "boolean"){const err5 = {instancePath:instancePath+"/multiple",schemaPath:"#/properties/multiple/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}}}else {const err6 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}validate76.errors = vErrors;return errors === 0;}validate76.evaluated = {"props":{"comp":true,"label":true,"autofocus":true,"items":true,"getItems":true,"multiple":true},"dynamicProps":false,"dynamicItems":false};const schema92 = {"type":"object","required":["comp","label"],"properties":{"comp":{"const":"autocomplete"},"label":{"type":"string"},"autofocus":{"type":"boolean"},"items":{"$ref":"#/$defs/select-items"},"getItems":{"$ref":"#/$defs/get-items"},"multiple":{"type":"boolean"}}};function validate79(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate79.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(data && typeof data == "object" && !Array.isArray(data)){if(data.comp === undefined){const err0 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "comp"},message:"must have required property '"+"comp"+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}if(data.label === undefined){const err1 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data.comp !== undefined){if("autocomplete" !== data.comp){const err2 = {instancePath:instancePath+"/comp",schemaPath:"#/properties/comp/const",keyword:"const",params:{allowedValue: "autocomplete"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}}if(data.label !== undefined){if(typeof data.label !== "string"){const err3 = {instancePath:instancePath+"/label",schemaPath:"#/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}}if(data.autofocus !== undefined){if(typeof data.autofocus !== "boolean"){const err4 = {instancePath:instancePath+"/autofocus",schemaPath:"#/properties/autofocus/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}if(data.items !== undefined){if(!(validate67(data.items, {instancePath:instancePath+"/items",parentData:data,parentDataProperty:"items",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate67.errors : vErrors.concat(validate67.errors);errors = vErrors.length;}}if(data.getItems !== undefined){if(!(validate69(data.getItems, {instancePath:instancePath+"/getItems",parentData:data,parentDataProperty:"getItems",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate69.errors : vErrors.concat(validate69.errors);errors = vErrors.length;}}if(data.multiple !== undefined){if(typeof data.multiple !== "boolean"){const err5 = {instancePath:instancePath+"/multiple",schemaPath:"#/properties/multiple/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}}}else {const err6 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}validate79.errors = vErrors;return errors === 0;}validate79.evaluated = {"props":{"comp":true,"label":true,"autofocus":true,"items":true,"getItems":true,"multiple":true},"dynamicProps":false,"dynamicItems":false};const schema93 = {"type":"object","required":["comp","children"],"properties":{"comp":{"const":"section"},"title":{"type":["string","null"]},"subtitle":{"type":["string","null"]},"children":{"$ref":"#/$defs/children"}}};const schema94 = {"type":"array","items":{"$ref":"#/$defs/child"}};const schema95 = {"type":"object","unevaluatedProperties":false,"required":["key"],"properties":{"key":{"type":["string","integer"]},"cols":{"$ref":"#/$defs/cols-obj"}},"anyOf":[{},{"$ref":"#/$defs/composite-comp-object"}]};const schema96 = {"type":"object","discriminator":{"propertyName":"comp"},"oneOf":[{"$ref":"#/$defs/section"},{"$ref":"#/$defs/tabs"},{"$ref":"#/$defs/vertical-tabs"},{"$ref":"#/$defs/expansion-panels"}]};const wrapper4 = {validate: validate82};const schema97 = {"type":"object","required":["comp","children"],"properties":{"comp":{"const":"tabs"},"title":{"type":["string","null"]},"subtitle":{"type":["string","null"]},"children":{"$ref":"#/$defs/children"}}};const wrapper1 = {validate: validate83};function validate86(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate86.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(data && typeof data == "object" && !Array.isArray(data)){if(data.comp === undefined){const err0 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "comp"},message:"must have required property '"+"comp"+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}if(data.children === undefined){const err1 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "children"},message:"must have required property '"+"children"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data.comp !== undefined){if("tabs" !== data.comp){const err2 = {instancePath:instancePath+"/comp",schemaPath:"#/properties/comp/const",keyword:"const",params:{allowedValue: "tabs"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}}if(data.title !== undefined){let data1 = data.title;if((typeof data1 !== "string") && (data1 !== null)){const err3 = {instancePath:instancePath+"/title",schemaPath:"#/properties/title/type",keyword:"type",params:{type: schema97.properties.title.type},message:"must be string,null"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}}if(data.subtitle !== undefined){let data2 = data.subtitle;if((typeof data2 !== "string") && (data2 !== null)){const err4 = {instancePath:instancePath+"/subtitle",schemaPath:"#/properties/subtitle/type",keyword:"type",params:{type: schema97.properties.subtitle.type},message:"must be string,null"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}if(data.children !== undefined){if(!(wrapper1.validate(data.children, {instancePath:instancePath+"/children",parentData:data,parentDataProperty:"children",rootData,dynamicAnchors}))){vErrors = vErrors === null ? wrapper1.validate.errors : vErrors.concat(wrapper1.validate.errors);errors = vErrors.length;}}}else {const err5 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}validate86.errors = vErrors;return errors === 0;}validate86.evaluated = {"props":{"comp":true,"title":true,"subtitle":true,"children":true},"dynamicProps":false,"dynamicItems":false};const schema98 = {"type":"object","required":["comp","children"],"properties":{"comp":{"const":"vertical-tabs"},"title":{"type":["string","null"]},"subtitle":{"type":["string","null"]},"children":{"$ref":"#/$defs/children"}}};function validate87(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate87.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(data && typeof data == "object" && !Array.isArray(data)){if(data.comp === undefined){const err0 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "comp"},message:"must have required property '"+"comp"+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}if(data.children === undefined){const err1 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "children"},message:"must have required property '"+"children"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data.comp !== undefined){if("vertical-tabs" !== data.comp){const err2 = {instancePath:instancePath+"/comp",schemaPath:"#/properties/comp/const",keyword:"const",params:{allowedValue: "vertical-tabs"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}}if(data.title !== undefined){let data1 = data.title;if((typeof data1 !== "string") && (data1 !== null)){const err3 = {instancePath:instancePath+"/title",schemaPath:"#/properties/title/type",keyword:"type",params:{type: schema98.properties.title.type},message:"must be string,null"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}}if(data.subtitle !== undefined){let data2 = data.subtitle;if((typeof data2 !== "string") && (data2 !== null)){const err4 = {instancePath:instancePath+"/subtitle",schemaPath:"#/properties/subtitle/type",keyword:"type",params:{type: schema98.properties.subtitle.type},message:"must be string,null"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}if(data.children !== undefined){if(!(wrapper1.validate(data.children, {instancePath:instancePath+"/children",parentData:data,parentDataProperty:"children",rootData,dynamicAnchors}))){vErrors = vErrors === null ? wrapper1.validate.errors : vErrors.concat(wrapper1.validate.errors);errors = vErrors.length;}}}else {const err5 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}validate87.errors = vErrors;return errors === 0;}validate87.evaluated = {"props":{"comp":true,"title":true,"subtitle":true,"children":true},"dynamicProps":false,"dynamicItems":false};const schema99 = {"type":"object","required":["comp","children"],"properties":{"comp":{"const":"expansion-panels"},"title":{"type":["string","null"]},"subtitle":{"type":["string","null"]},"children":{"$ref":"#/$defs/children"}}};function validate88(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate88.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(data && typeof data == "object" && !Array.isArray(data)){if(data.comp === undefined){const err0 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "comp"},message:"must have required property '"+"comp"+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}if(data.children === undefined){const err1 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "children"},message:"must have required property '"+"children"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data.comp !== undefined){if("expansion-panels" !== data.comp){const err2 = {instancePath:instancePath+"/comp",schemaPath:"#/properties/comp/const",keyword:"const",params:{allowedValue: "expansion-panels"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}}if(data.title !== undefined){let data1 = data.title;if((typeof data1 !== "string") && (data1 !== null)){const err3 = {instancePath:instancePath+"/title",schemaPath:"#/properties/title/type",keyword:"type",params:{type: schema99.properties.title.type},message:"must be string,null"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}}if(data.subtitle !== undefined){let data2 = data.subtitle;if((typeof data2 !== "string") && (data2 !== null)){const err4 = {instancePath:instancePath+"/subtitle",schemaPath:"#/properties/subtitle/type",keyword:"type",params:{type: schema99.properties.subtitle.type},message:"must be string,null"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}if(data.children !== undefined){if(!(wrapper1.validate(data.children, {instancePath:instancePath+"/children",parentData:data,parentDataProperty:"children",rootData,dynamicAnchors}))){vErrors = vErrors === null ? wrapper1.validate.errors : vErrors.concat(wrapper1.validate.errors);errors = vErrors.length;}}}else {const err5 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}validate88.errors = vErrors;return errors === 0;}validate88.evaluated = {"props":{"comp":true,"title":true,"subtitle":true,"children":true},"dynamicProps":false,"dynamicItems":false};function validate85(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate85.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(data && typeof data == "object" && !Array.isArray(data)){const tag0 = data.comp;if(typeof tag0 == "string"){if(tag0 === "section"){if(!(wrapper4.validate(data, {instancePath,parentData,parentDataProperty,rootData,dynamicAnchors}))){vErrors = vErrors === null ? wrapper4.validate.errors : vErrors.concat(wrapper4.validate.errors);errors = vErrors.length;}else {var props0 = wrapper4.validate.evaluated.props;var items0 = wrapper4.validate.evaluated.items;}}else if(tag0 === "tabs"){if(!(validate86(data, {instancePath,parentData,parentDataProperty,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate86.errors : vErrors.concat(validate86.errors);errors = vErrors.length;}if(props0 !== true){props0 = props0 || {};props0.comp = true;props0.title = true;props0.subtitle = true;props0.children = true;}}else if(tag0 === "vertical-tabs"){if(!(validate87(data, {instancePath,parentData,parentDataProperty,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate87.errors : vErrors.concat(validate87.errors);errors = vErrors.length;}if(props0 !== true){props0 = props0 || {};props0.comp = true;props0.title = true;props0.subtitle = true;props0.children = true;}}else if(tag0 === "expansion-panels"){if(!(validate88(data, {instancePath,parentData,parentDataProperty,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate88.errors : vErrors.concat(validate88.errors);errors = vErrors.length;}if(props0 !== true){props0 = props0 || {};props0.comp = true;props0.title = true;props0.subtitle = true;props0.children = true;}}else {const err0 = {instancePath,schemaPath:"#/discriminator",keyword:"discriminator",params:{error: "mapping", tag: "comp", tagValue: tag0},message:"value of tag \"comp\" must be in oneOf"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}}else {const err1 = {instancePath,schemaPath:"#/discriminator",keyword:"discriminator",params:{error: "tag", tag: "comp", tagValue: tag0},message:"tag \"comp\" must be string"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}}else {const err2 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}validate85.errors = vErrors;evaluated0.props = props0;evaluated0.items = items0;return errors === 0;}validate85.evaluated = {"dynamicProps":true,"dynamicItems":true};function validate84(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate84.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}const _errs1 = errors;let valid0 = false;var _valid0 = true;valid0 = valid0 || _valid0;const _errs2 = errors;if(!(validate85(data, {instancePath,parentData,parentDataProperty,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate85.errors : vErrors.concat(validate85.errors);errors = vErrors.length;}else {var props0 = validate85.evaluated.props;var items0 = validate85.evaluated.items;}var _valid0 = _errs2 === errors;valid0 = valid0 || _valid0;if(!valid0){const err0 = {instancePath,schemaPath:"#/anyOf",keyword:"anyOf",params:{},message:"must match a schema in anyOf"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}else {errors = _errs1;if(vErrors !== null){if(_errs1){vErrors.length = _errs1;}else {vErrors = null;}}}if(data && typeof data == "object" && !Array.isArray(data)){if(data.key === undefined){const err1 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "key"},message:"must have required property '"+"key"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(props0 !== true){props0 = props0 || {};props0.key = true;props0.cols = true;}if(data.key !== undefined){let data0 = data.key;if((typeof data0 !== "string") && (!(((typeof data0 == "number") && (!(data0 % 1) && !isNaN(data0))) && (isFinite(data0))))){const err2 = {instancePath:instancePath+"/key",schemaPath:"#/properties/key/type",keyword:"type",params:{type: schema95.properties.key.type},message:"must be string,integer"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}}if(data.cols !== undefined){if(!(validate59(data.cols, {instancePath:instancePath+"/cols",parentData:data,parentDataProperty:"cols",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate59.errors : vErrors.concat(validate59.errors);errors = vErrors.length;}}if(props0 !== true){for(const key0 in data){if(!props0 || !props0[key0]){const err3 = {instancePath,schemaPath:"#/unevaluatedProperties",keyword:"unevaluatedProperties",params:{unevaluatedProperty: key0},message:"must NOT have unevaluated properties"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}}}}else {const err4 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}validate84.errors = vErrors;evaluated0.items = items0;return errors === 0;}validate84.evaluated = {"props":true,"dynamicProps":false,"dynamicItems":true};function validate83(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate83.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(Array.isArray(data)){const len0 = data.length;for(let i0=0; i0<len0; i0++){if(!(validate84(data[i0], {instancePath:instancePath+"/" + i0,parentData:data,parentDataProperty:i0,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate84.errors : vErrors.concat(validate84.errors);errors = vErrors.length;}}}else {const err0 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}validate83.errors = vErrors;return errors === 0;}validate83.evaluated = {"items":true,"dynamicProps":false,"dynamicItems":false};function validate82(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate82.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(data && typeof data == "object" && !Array.isArray(data)){if(data.comp === undefined){const err0 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "comp"},message:"must have required property '"+"comp"+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}if(data.children === undefined){const err1 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "children"},message:"must have required property '"+"children"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data.comp !== undefined){if("section" !== data.comp){const err2 = {instancePath:instancePath+"/comp",schemaPath:"#/properties/comp/const",keyword:"const",params:{allowedValue: "section"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}}if(data.title !== undefined){let data1 = data.title;if((typeof data1 !== "string") && (data1 !== null)){const err3 = {instancePath:instancePath+"/title",schemaPath:"#/properties/title/type",keyword:"type",params:{type: schema93.properties.title.type},message:"must be string,null"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}}if(data.subtitle !== undefined){let data2 = data.subtitle;if((typeof data2 !== "string") && (data2 !== null)){const err4 = {instancePath:instancePath+"/subtitle",schemaPath:"#/properties/subtitle/type",keyword:"type",params:{type: schema93.properties.subtitle.type},message:"must be string,null"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}if(data.children !== undefined){if(!(validate83(data.children, {instancePath:instancePath+"/children",parentData:data,parentDataProperty:"children",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate83.errors : vErrors.concat(validate83.errors);errors = vErrors.length;}}}else {const err5 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}validate82.errors = vErrors;return errors === 0;}validate82.evaluated = {"props":{"comp":true,"title":true,"subtitle":true,"children":true},"dynamicProps":false,"dynamicItems":false};const schema100 = {"type":"object","required":["comp","children"],"properties":{"comp":{"const":"stepper"},"title":{"type":["string","null"]},"subtitle":{"type":["string","null"]},"children":{"$ref":"#/$defs/children"}}};function validate96(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate96.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(data && typeof data == "object" && !Array.isArray(data)){if(data.comp === undefined){const err0 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "comp"},message:"must have required property '"+"comp"+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}if(data.children === undefined){const err1 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "children"},message:"must have required property '"+"children"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data.comp !== undefined){if("stepper" !== data.comp){const err2 = {instancePath:instancePath+"/comp",schemaPath:"#/properties/comp/const",keyword:"const",params:{allowedValue: "stepper"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}}if(data.title !== undefined){let data1 = data.title;if((typeof data1 !== "string") && (data1 !== null)){const err3 = {instancePath:instancePath+"/title",schemaPath:"#/properties/title/type",keyword:"type",params:{type: schema100.properties.title.type},message:"must be string,null"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}}if(data.subtitle !== undefined){let data2 = data.subtitle;if((typeof data2 !== "string") && (data2 !== null)){const err4 = {instancePath:instancePath+"/subtitle",schemaPath:"#/properties/subtitle/type",keyword:"type",params:{type: schema100.properties.subtitle.type},message:"must be string,null"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}if(data.children !== undefined){if(!(validate83(data.children, {instancePath:instancePath+"/children",parentData:data,parentDataProperty:"children",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate83.errors : vErrors.concat(validate83.errors);errors = vErrors.length;}}}else {const err5 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}validate96.errors = vErrors;return errors === 0;}validate96.evaluated = {"props":{"comp":true,"title":true,"subtitle":true,"children":true},"dynamicProps":false,"dynamicItems":false};const formats0 = fullFormats.date;const formats4 = fullFormats["date-time"];const formats8 = fullFormats.time;function validate58(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate58.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(data && typeof data == "object" && !Array.isArray(data)){if(data.if !== undefined){let data0 = data.if;if(data0 && typeof data0 == "object" && !Array.isArray(data0)){if(data0.type === undefined){const err0 = {instancePath:instancePath+"/if",schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: "type"},message:"must have required property '"+"type"+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}if(data0.expr === undefined){const err1 = {instancePath:instancePath+"/if",schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: "expr"},message:"must have required property '"+"expr"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data0.type !== undefined){let data1 = data0.type;if(typeof data1 !== "string"){const err2 = {instancePath:instancePath+"/if/type",schemaPath:"#/$defs/expression/properties/type/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}if(!(((data1 === "js-fn") || (data1 === "js-eval")) || (data1 === "js-tpl"))){const err3 = {instancePath:instancePath+"/if/type",schemaPath:"#/$defs/expression/properties/type/enum",keyword:"enum",params:{allowedValues: schema56.properties.type.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}}if(data0.expr !== undefined){if(typeof data0.expr !== "string"){const err4 = {instancePath:instancePath+"/if/expr",schemaPath:"#/$defs/expression/properties/expr/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}if(data0.ref !== undefined){let data3 = data0.ref;if(!(((typeof data3 == "number") && (!(data3 % 1) && !isNaN(data3))) && (isFinite(data3)))){const err5 = {instancePath:instancePath+"/if/ref",schemaPath:"#/$defs/expression/properties/ref/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}}}else {const err6 = {instancePath:instancePath+"/if",schemaPath:"#/$defs/expression/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}}if(data.defaultData !== undefined){let data4 = data.defaultData;if(data4 && typeof data4 == "object" && !Array.isArray(data4)){if(data4.type === undefined){const err7 = {instancePath:instancePath+"/defaultData",schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: "type"},message:"must have required property '"+"type"+"'"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}if(data4.expr === undefined){const err8 = {instancePath:instancePath+"/defaultData",schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: "expr"},message:"must have required property '"+"expr"+"'"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}if(data4.type !== undefined){let data5 = data4.type;if(typeof data5 !== "string"){const err9 = {instancePath:instancePath+"/defaultData/type",schemaPath:"#/$defs/expression/properties/type/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err9];}else {vErrors.push(err9);}errors++;}if(!(((data5 === "js-fn") || (data5 === "js-eval")) || (data5 === "js-tpl"))){const err10 = {instancePath:instancePath+"/defaultData/type",schemaPath:"#/$defs/expression/properties/type/enum",keyword:"enum",params:{allowedValues: schema56.properties.type.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err10];}else {vErrors.push(err10);}errors++;}}if(data4.expr !== undefined){if(typeof data4.expr !== "string"){const err11 = {instancePath:instancePath+"/defaultData/expr",schemaPath:"#/$defs/expression/properties/expr/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err11];}else {vErrors.push(err11);}errors++;}}if(data4.ref !== undefined){let data7 = data4.ref;if(!(((typeof data7 == "number") && (!(data7 % 1) && !isNaN(data7))) && (isFinite(data7)))){const err12 = {instancePath:instancePath+"/defaultData/ref",schemaPath:"#/$defs/expression/properties/ref/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err12];}else {vErrors.push(err12);}errors++;}}}else {const err13 = {instancePath:instancePath+"/defaultData",schemaPath:"#/$defs/expression/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err13];}else {vErrors.push(err13);}errors++;}}if(data.constData !== undefined){let data8 = data.constData;if(data8 && typeof data8 == "object" && !Array.isArray(data8)){if(data8.type === undefined){const err14 = {instancePath:instancePath+"/constData",schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: "type"},message:"must have required property '"+"type"+"'"};if(vErrors === null){vErrors = [err14];}else {vErrors.push(err14);}errors++;}if(data8.expr === undefined){const err15 = {instancePath:instancePath+"/constData",schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: "expr"},message:"must have required property '"+"expr"+"'"};if(vErrors === null){vErrors = [err15];}else {vErrors.push(err15);}errors++;}if(data8.type !== undefined){let data9 = data8.type;if(typeof data9 !== "string"){const err16 = {instancePath:instancePath+"/constData/type",schemaPath:"#/$defs/expression/properties/type/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err16];}else {vErrors.push(err16);}errors++;}if(!(((data9 === "js-fn") || (data9 === "js-eval")) || (data9 === "js-tpl"))){const err17 = {instancePath:instancePath+"/constData/type",schemaPath:"#/$defs/expression/properties/type/enum",keyword:"enum",params:{allowedValues: schema56.properties.type.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err17];}else {vErrors.push(err17);}errors++;}}if(data8.expr !== undefined){if(typeof data8.expr !== "string"){const err18 = {instancePath:instancePath+"/constData/expr",schemaPath:"#/$defs/expression/properties/expr/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err18];}else {vErrors.push(err18);}errors++;}}if(data8.ref !== undefined){let data11 = data8.ref;if(!(((typeof data11 == "number") && (!(data11 % 1) && !isNaN(data11))) && (isFinite(data11)))){const err19 = {instancePath:instancePath+"/constData/ref",schemaPath:"#/$defs/expression/properties/ref/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err19];}else {vErrors.push(err19);}errors++;}}}else {const err20 = {instancePath:instancePath+"/constData",schemaPath:"#/$defs/expression/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err20];}else {vErrors.push(err20);}errors++;}}if(data.nullable !== undefined){if(typeof data.nullable !== "boolean"){const err21 = {instancePath:instancePath+"/nullable",schemaPath:"#/allOf/0/properties/nullable/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err21];}else {vErrors.push(err21);}errors++;}}if(data.help !== undefined){if(typeof data.help !== "string"){const err22 = {instancePath:instancePath+"/help",schemaPath:"#/allOf/0/properties/help/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err22];}else {vErrors.push(err22);}errors++;}}if(data.cols !== undefined){if(!(validate59(data.cols, {instancePath:instancePath+"/cols",parentData:data,parentDataProperty:"cols",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate59.errors : vErrors.concat(validate59.errors);errors = vErrors.length;}}if(data.props !== undefined){let data15 = data.props;if(data15 && typeof data15 == "object" && !Array.isArray(data15)){var props0 = {};for(const key0 in data15){if(pattern2.test(key0)){props0[key0] = true;}}}else {const err23 = {instancePath:instancePath+"/props",schemaPath:"#/$defs/state-node-props-lib/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err23];}else {vErrors.push(err23);}errors++;}}if(data.slots !== undefined){let data16 = data.slots;if(!(data16 && typeof data16 == "object" && !Array.isArray(data16))){const err24 = {instancePath:instancePath+"/slots",schemaPath:"#/allOf/0/properties/slots/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err24];}else {vErrors.push(err24);}errors++;}if(!(validate61(data16, {instancePath:instancePath+"/slots",parentData:data,parentDataProperty:"slots",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate61.errors : vErrors.concat(validate61.errors);errors = vErrors.length;}else {var props1 = validate61.evaluated.props;}if(data16 && typeof data16 == "object" && !Array.isArray(data16)){if(data16.before !== undefined){let data17 = data16.before;const _errs43 = errors;let valid13 = false;let passing0 = null;const _errs44 = errors;if(data17 && typeof data17 == "object" && !Array.isArray(data17)){if(data17.text === undefined){const err25 = {instancePath:instancePath+"/slots/before",schemaPath:"#/$defs/slot/oneOf/0/required",keyword:"required",params:{missingProperty: "text"},message:"must have required property '"+"text"+"'"};if(vErrors === null){vErrors = [err25];}else {vErrors.push(err25);}errors++;}for(const key1 in data17){if(!(key1 === "text")){const err26 = {instancePath:instancePath+"/slots/before",schemaPath:"#/$defs/slot/oneOf/0/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key1},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err26];}else {vErrors.push(err26);}errors++;}}if(data17.text !== undefined){if(typeof data17.text !== "string"){const err27 = {instancePath:instancePath+"/slots/before/text",schemaPath:"#/$defs/slot/oneOf/0/properties/text/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err27];}else {vErrors.push(err27);}errors++;}}}else {const err28 = {instancePath:instancePath+"/slots/before",schemaPath:"#/$defs/slot/oneOf/0/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err28];}else {vErrors.push(err28);}errors++;}var _valid0 = _errs44 === errors;if(_valid0){valid13 = true;passing0 = 0;var props2 = true;}const _errs49 = errors;if(data17 && typeof data17 == "object" && !Array.isArray(data17)){if(data17.markdown === undefined){const err29 = {instancePath:instancePath+"/slots/before",schemaPath:"#/$defs/slot/oneOf/1/required",keyword:"required",params:{missingProperty: "markdown"},message:"must have required property '"+"markdown"+"'"};if(vErrors === null){vErrors = [err29];}else {vErrors.push(err29);}errors++;}for(const key2 in data17){if(!(key2 === "markdown")){const err30 = {instancePath:instancePath+"/slots/before",schemaPath:"#/$defs/slot/oneOf/1/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key2},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err30];}else {vErrors.push(err30);}errors++;}}if(data17.markdown !== undefined){if(typeof data17.markdown !== "string"){const err31 = {instancePath:instancePath+"/slots/before/markdown",schemaPath:"#/$defs/slot/oneOf/1/properties/markdown/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err31];}else {vErrors.push(err31);}errors++;}}}else {const err32 = {instancePath:instancePath+"/slots/before",schemaPath:"#/$defs/slot/oneOf/1/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err32];}else {vErrors.push(err32);}errors++;}var _valid0 = _errs49 === errors;if(_valid0 && valid13){valid13 = false;passing0 = [passing0, 1];}else {if(_valid0){valid13 = true;passing0 = 1;if(props2 !== true){props2 = true;}}const _errs54 = errors;if(data17 && typeof data17 == "object" && !Array.isArray(data17)){if(data17.name === undefined){const err33 = {instancePath:instancePath+"/slots/before",schemaPath:"#/$defs/slot/oneOf/2/required",keyword:"required",params:{missingProperty: "name"},message:"must have required property '"+"name"+"'"};if(vErrors === null){vErrors = [err33];}else {vErrors.push(err33);}errors++;}for(const key3 in data17){if(!(key3 === "name")){const err34 = {instancePath:instancePath+"/slots/before",schemaPath:"#/$defs/slot/oneOf/2/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key3},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err34];}else {vErrors.push(err34);}errors++;}}if(data17.name !== undefined){if(typeof data17.name !== "string"){const err35 = {instancePath:instancePath+"/slots/before/name",schemaPath:"#/$defs/slot/oneOf/2/properties/name/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err35];}else {vErrors.push(err35);}errors++;}}}else {const err36 = {instancePath:instancePath+"/slots/before",schemaPath:"#/$defs/slot/oneOf/2/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err36];}else {vErrors.push(err36);}errors++;}var _valid0 = _errs54 === errors;if(_valid0 && valid13){valid13 = false;passing0 = [passing0, 2];}else {if(_valid0){valid13 = true;passing0 = 2;if(props2 !== true){props2 = true;}}}}if(!valid13){const err37 = {instancePath:instancePath+"/slots/before",schemaPath:"#/$defs/slot/oneOf",keyword:"oneOf",params:{passingSchemas: passing0},message:"must match exactly one schema in oneOf"};if(vErrors === null){vErrors = [err37];}else {vErrors.push(err37);}errors++;}else {errors = _errs43;if(vErrors !== null){if(_errs43){vErrors.length = _errs43;}else {vErrors = null;}}}}if(data16.after !== undefined){let data21 = data16.after;const _errs61 = errors;let valid18 = false;let passing1 = null;const _errs62 = errors;if(data21 && typeof data21 == "object" && !Array.isArray(data21)){if(data21.text === undefined){const err38 = {instancePath:instancePath+"/slots/after",schemaPath:"#/$defs/slot/oneOf/0/required",keyword:"required",params:{missingProperty: "text"},message:"must have required property '"+"text"+"'"};if(vErrors === null){vErrors = [err38];}else {vErrors.push(err38);}errors++;}for(const key4 in data21){if(!(key4 === "text")){const err39 = {instancePath:instancePath+"/slots/after",schemaPath:"#/$defs/slot/oneOf/0/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key4},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err39];}else {vErrors.push(err39);}errors++;}}if(data21.text !== undefined){if(typeof data21.text !== "string"){const err40 = {instancePath:instancePath+"/slots/after/text",schemaPath:"#/$defs/slot/oneOf/0/properties/text/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err40];}else {vErrors.push(err40);}errors++;}}}else {const err41 = {instancePath:instancePath+"/slots/after",schemaPath:"#/$defs/slot/oneOf/0/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err41];}else {vErrors.push(err41);}errors++;}var _valid1 = _errs62 === errors;if(_valid1){valid18 = true;passing1 = 0;var props3 = true;}const _errs67 = errors;if(data21 && typeof data21 == "object" && !Array.isArray(data21)){if(data21.markdown === undefined){const err42 = {instancePath:instancePath+"/slots/after",schemaPath:"#/$defs/slot/oneOf/1/required",keyword:"required",params:{missingProperty: "markdown"},message:"must have required property '"+"markdown"+"'"};if(vErrors === null){vErrors = [err42];}else {vErrors.push(err42);}errors++;}for(const key5 in data21){if(!(key5 === "markdown")){const err43 = {instancePath:instancePath+"/slots/after",schemaPath:"#/$defs/slot/oneOf/1/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key5},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err43];}else {vErrors.push(err43);}errors++;}}if(data21.markdown !== undefined){if(typeof data21.markdown !== "string"){const err44 = {instancePath:instancePath+"/slots/after/markdown",schemaPath:"#/$defs/slot/oneOf/1/properties/markdown/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err44];}else {vErrors.push(err44);}errors++;}}}else {const err45 = {instancePath:instancePath+"/slots/after",schemaPath:"#/$defs/slot/oneOf/1/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err45];}else {vErrors.push(err45);}errors++;}var _valid1 = _errs67 === errors;if(_valid1 && valid18){valid18 = false;passing1 = [passing1, 1];}else {if(_valid1){valid18 = true;passing1 = 1;if(props3 !== true){props3 = true;}}const _errs72 = errors;if(data21 && typeof data21 == "object" && !Array.isArray(data21)){if(data21.name === undefined){const err46 = {instancePath:instancePath+"/slots/after",schemaPath:"#/$defs/slot/oneOf/2/required",keyword:"required",params:{missingProperty: "name"},message:"must have required property '"+"name"+"'"};if(vErrors === null){vErrors = [err46];}else {vErrors.push(err46);}errors++;}for(const key6 in data21){if(!(key6 === "name")){const err47 = {instancePath:instancePath+"/slots/after",schemaPath:"#/$defs/slot/oneOf/2/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key6},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err47];}else {vErrors.push(err47);}errors++;}}if(data21.name !== undefined){if(typeof data21.name !== "string"){const err48 = {instancePath:instancePath+"/slots/after/name",schemaPath:"#/$defs/slot/oneOf/2/properties/name/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err48];}else {vErrors.push(err48);}errors++;}}}else {const err49 = {instancePath:instancePath+"/slots/after",schemaPath:"#/$defs/slot/oneOf/2/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err49];}else {vErrors.push(err49);}errors++;}var _valid1 = _errs72 === errors;if(_valid1 && valid18){valid18 = false;passing1 = [passing1, 2];}else {if(_valid1){valid18 = true;passing1 = 2;if(props3 !== true){props3 = true;}}}}if(!valid18){const err50 = {instancePath:instancePath+"/slots/after",schemaPath:"#/$defs/slot/oneOf",keyword:"oneOf",params:{passingSchemas: passing1},message:"must match exactly one schema in oneOf"};if(vErrors === null){vErrors = [err50];}else {vErrors.push(err50);}errors++;}else {errors = _errs61;if(vErrors !== null){if(_errs61){vErrors.length = _errs61;}else {vErrors = null;}}}}if(data16.component !== undefined){let data25 = data16.component;const _errs79 = errors;let valid23 = false;let passing2 = null;const _errs80 = errors;if(data25 && typeof data25 == "object" && !Array.isArray(data25)){if(data25.text === undefined){const err51 = {instancePath:instancePath+"/slots/component",schemaPath:"#/$defs/slot/oneOf/0/required",keyword:"required",params:{missingProperty: "text"},message:"must have required property '"+"text"+"'"};if(vErrors === null){vErrors = [err51];}else {vErrors.push(err51);}errors++;}for(const key7 in data25){if(!(key7 === "text")){const err52 = {instancePath:instancePath+"/slots/component",schemaPath:"#/$defs/slot/oneOf/0/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key7},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err52];}else {vErrors.push(err52);}errors++;}}if(data25.text !== undefined){if(typeof data25.text !== "string"){const err53 = {instancePath:instancePath+"/slots/component/text",schemaPath:"#/$defs/slot/oneOf/0/properties/text/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err53];}else {vErrors.push(err53);}errors++;}}}else {const err54 = {instancePath:instancePath+"/slots/component",schemaPath:"#/$defs/slot/oneOf/0/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err54];}else {vErrors.push(err54);}errors++;}var _valid2 = _errs80 === errors;if(_valid2){valid23 = true;passing2 = 0;var props4 = true;}const _errs85 = errors;if(data25 && typeof data25 == "object" && !Array.isArray(data25)){if(data25.markdown === undefined){const err55 = {instancePath:instancePath+"/slots/component",schemaPath:"#/$defs/slot/oneOf/1/required",keyword:"required",params:{missingProperty: "markdown"},message:"must have required property '"+"markdown"+"'"};if(vErrors === null){vErrors = [err55];}else {vErrors.push(err55);}errors++;}for(const key8 in data25){if(!(key8 === "markdown")){const err56 = {instancePath:instancePath+"/slots/component",schemaPath:"#/$defs/slot/oneOf/1/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key8},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err56];}else {vErrors.push(err56);}errors++;}}if(data25.markdown !== undefined){if(typeof data25.markdown !== "string"){const err57 = {instancePath:instancePath+"/slots/component/markdown",schemaPath:"#/$defs/slot/oneOf/1/properties/markdown/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err57];}else {vErrors.push(err57);}errors++;}}}else {const err58 = {instancePath:instancePath+"/slots/component",schemaPath:"#/$defs/slot/oneOf/1/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err58];}else {vErrors.push(err58);}errors++;}var _valid2 = _errs85 === errors;if(_valid2 && valid23){valid23 = false;passing2 = [passing2, 1];}else {if(_valid2){valid23 = true;passing2 = 1;if(props4 !== true){props4 = true;}}const _errs90 = errors;if(data25 && typeof data25 == "object" && !Array.isArray(data25)){if(data25.name === undefined){const err59 = {instancePath:instancePath+"/slots/component",schemaPath:"#/$defs/slot/oneOf/2/required",keyword:"required",params:{missingProperty: "name"},message:"must have required property '"+"name"+"'"};if(vErrors === null){vErrors = [err59];}else {vErrors.push(err59);}errors++;}for(const key9 in data25){if(!(key9 === "name")){const err60 = {instancePath:instancePath+"/slots/component",schemaPath:"#/$defs/slot/oneOf/2/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key9},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err60];}else {vErrors.push(err60);}errors++;}}if(data25.name !== undefined){if(typeof data25.name !== "string"){const err61 = {instancePath:instancePath+"/slots/component/name",schemaPath:"#/$defs/slot/oneOf/2/properties/name/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err61];}else {vErrors.push(err61);}errors++;}}}else {const err62 = {instancePath:instancePath+"/slots/component",schemaPath:"#/$defs/slot/oneOf/2/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err62];}else {vErrors.push(err62);}errors++;}var _valid2 = _errs90 === errors;if(_valid2 && valid23){valid23 = false;passing2 = [passing2, 2];}else {if(_valid2){valid23 = true;passing2 = 2;if(props4 !== true){props4 = true;}}}}if(!valid23){const err63 = {instancePath:instancePath+"/slots/component",schemaPath:"#/$defs/slot/oneOf",keyword:"oneOf",params:{passingSchemas: passing2},message:"must match exactly one schema in oneOf"};if(vErrors === null){vErrors = [err63];}else {vErrors.push(err63);}errors++;}else {errors = _errs79;if(vErrors !== null){if(_errs79){vErrors.length = _errs79;}else {vErrors = null;}}}}}if(props1 !== true){props1 = props1 || {};props1.before = true;props1.after = true;props1.component = true;}}if(data.options !== undefined){if(!(validate63(data.options, {instancePath:instancePath+"/options",parentData:data,parentDataProperty:"options",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate63.errors : vErrors.concat(validate63.errors);errors = vErrors.length;}}}if(data && typeof data == "object" && !Array.isArray(data)){const tag0 = data.comp;if(typeof tag0 == "string"){if(tag0 === "none"){if(data && typeof data == "object" && !Array.isArray(data)){if(data.comp === undefined){const err64 = {instancePath,schemaPath:"#/$defs/none/required",keyword:"required",params:{missingProperty: "comp"},message:"must have required property '"+"comp"+"'"};if(vErrors === null){vErrors = [err64];}else {vErrors.push(err64);}errors++;}if(data.comp !== undefined){if("none" !== data.comp){const err65 = {instancePath:instancePath+"/comp",schemaPath:"#/$defs/none/properties/comp/const",keyword:"const",params:{allowedValue: "none"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err65];}else {vErrors.push(err65);}errors++;}}}else {const err66 = {instancePath,schemaPath:"#/$defs/none/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err66];}else {vErrors.push(err66);}errors++;}var props6 = {};props6.comp = true;}else if(tag0 === "list"){if(!(validate65(data, {instancePath,parentData,parentDataProperty,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate65.errors : vErrors.concat(validate65.errors);errors = vErrors.length;}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.title = true;props6.listEditMode = true;props6.listActions = true;props6.itemTitle = true;props6.itemSubtitle = true;props6.messages = true;}}else if(tag0 === "text-field"){if(data && typeof data == "object" && !Array.isArray(data)){if(data.comp === undefined){const err67 = {instancePath,schemaPath:"#/$defs/text-field/required",keyword:"required",params:{missingProperty: "comp"},message:"must have required property '"+"comp"+"'"};if(vErrors === null){vErrors = [err67];}else {vErrors.push(err67);}errors++;}if(data.label === undefined){const err68 = {instancePath,schemaPath:"#/$defs/text-field/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err68];}else {vErrors.push(err68);}errors++;}if(data.comp !== undefined){if("text-field" !== data.comp){const err69 = {instancePath:instancePath+"/comp",schemaPath:"#/$defs/text-field/properties/comp/const",keyword:"const",params:{allowedValue: "text-field"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err69];}else {vErrors.push(err69);}errors++;}}if(data.label !== undefined){if(typeof data.label !== "string"){const err70 = {instancePath:instancePath+"/label",schemaPath:"#/$defs/text-field/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err70];}else {vErrors.push(err70);}errors++;}}if(data.autofocus !== undefined){if(typeof data.autofocus !== "boolean"){const err71 = {instancePath:instancePath+"/autofocus",schemaPath:"#/$defs/text-field/properties/autofocus/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err71];}else {vErrors.push(err71);}errors++;}}}else {const err72 = {instancePath,schemaPath:"#/$defs/text-field/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err72];}else {vErrors.push(err72);}errors++;}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.label = true;props6.autofocus = true;}}else if(tag0 === "number-field"){if(data && typeof data == "object" && !Array.isArray(data)){if(data.comp === undefined){const err73 = {instancePath,schemaPath:"#/$defs/number-field/required",keyword:"required",params:{missingProperty: "comp"},message:"must have required property '"+"comp"+"'"};if(vErrors === null){vErrors = [err73];}else {vErrors.push(err73);}errors++;}if(data.label === undefined){const err74 = {instancePath,schemaPath:"#/$defs/number-field/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err74];}else {vErrors.push(err74);}errors++;}if(data.comp !== undefined){if("number-field" !== data.comp){const err75 = {instancePath:instancePath+"/comp",schemaPath:"#/$defs/number-field/properties/comp/const",keyword:"const",params:{allowedValue: "number-field"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err75];}else {vErrors.push(err75);}errors++;}}if(data.label !== undefined){if(typeof data.label !== "string"){const err76 = {instancePath:instancePath+"/label",schemaPath:"#/$defs/number-field/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err76];}else {vErrors.push(err76);}errors++;}}if(data.autofocus !== undefined){if(typeof data.autofocus !== "boolean"){const err77 = {instancePath:instancePath+"/autofocus",schemaPath:"#/$defs/number-field/properties/autofocus/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err77];}else {vErrors.push(err77);}errors++;}}if(data.step !== undefined){let data37 = data.step;if(!((typeof data37 == "number") && (isFinite(data37)))){const err78 = {instancePath:instancePath+"/step",schemaPath:"#/$defs/number-field/properties/step/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err78];}else {vErrors.push(err78);}errors++;}}if(data.min !== undefined){let data38 = data.min;if(!((typeof data38 == "number") && (isFinite(data38)))){const err79 = {instancePath:instancePath+"/min",schemaPath:"#/$defs/number-field/properties/min/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err79];}else {vErrors.push(err79);}errors++;}}if(data.max !== undefined){let data39 = data.max;if(!((typeof data39 == "number") && (isFinite(data39)))){const err80 = {instancePath:instancePath+"/max",schemaPath:"#/$defs/number-field/properties/max/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err80];}else {vErrors.push(err80);}errors++;}}}else {const err81 = {instancePath,schemaPath:"#/$defs/number-field/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err81];}else {vErrors.push(err81);}errors++;}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.label = true;props6.autofocus = true;props6.step = true;props6.min = true;props6.max = true;}}else if(tag0 === "textarea"){if(data && typeof data == "object" && !Array.isArray(data)){if(data.comp === undefined){const err82 = {instancePath,schemaPath:"#/$defs/textarea/required",keyword:"required",params:{missingProperty: "comp"},message:"must have required property '"+"comp"+"'"};if(vErrors === null){vErrors = [err82];}else {vErrors.push(err82);}errors++;}if(data.label === undefined){const err83 = {instancePath,schemaPath:"#/$defs/textarea/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err83];}else {vErrors.push(err83);}errors++;}if(data.comp !== undefined){if("textarea" !== data.comp){const err84 = {instancePath:instancePath+"/comp",schemaPath:"#/$defs/textarea/properties/comp/const",keyword:"const",params:{allowedValue: "textarea"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err84];}else {vErrors.push(err84);}errors++;}}if(data.label !== undefined){if(typeof data.label !== "string"){const err85 = {instancePath:instancePath+"/label",schemaPath:"#/$defs/textarea/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err85];}else {vErrors.push(err85);}errors++;}}if(data.autofocus !== undefined){if(typeof data.autofocus !== "boolean"){const err86 = {instancePath:instancePath+"/autofocus",schemaPath:"#/$defs/textarea/properties/autofocus/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err86];}else {vErrors.push(err86);}errors++;}}}else {const err87 = {instancePath,schemaPath:"#/$defs/textarea/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err87];}else {vErrors.push(err87);}errors++;}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.label = true;props6.autofocus = true;}}else if(tag0 === "markdown"){if(data && typeof data == "object" && !Array.isArray(data)){if(data.comp === undefined){const err88 = {instancePath,schemaPath:"#/$defs/markdown/required",keyword:"required",params:{missingProperty: "comp"},message:"must have required property '"+"comp"+"'"};if(vErrors === null){vErrors = [err88];}else {vErrors.push(err88);}errors++;}if(data.label === undefined){const err89 = {instancePath,schemaPath:"#/$defs/markdown/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err89];}else {vErrors.push(err89);}errors++;}if(data.comp !== undefined){if("markdown" !== data.comp){const err90 = {instancePath:instancePath+"/comp",schemaPath:"#/$defs/markdown/properties/comp/const",keyword:"const",params:{allowedValue: "markdown"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err90];}else {vErrors.push(err90);}errors++;}}if(data.label !== undefined){if(typeof data.label !== "string"){const err91 = {instancePath:instancePath+"/label",schemaPath:"#/$defs/markdown/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err91];}else {vErrors.push(err91);}errors++;}}if(data.autofocus !== undefined){if(typeof data.autofocus !== "boolean"){const err92 = {instancePath:instancePath+"/autofocus",schemaPath:"#/$defs/markdown/properties/autofocus/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err92];}else {vErrors.push(err92);}errors++;}}}else {const err93 = {instancePath,schemaPath:"#/$defs/markdown/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err93];}else {vErrors.push(err93);}errors++;}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.label = true;props6.autofocus = true;}}else if(tag0 === "checkbox"){if(data && typeof data == "object" && !Array.isArray(data)){if(data.comp === undefined){const err94 = {instancePath,schemaPath:"#/$defs/checkbox/required",keyword:"required",params:{missingProperty: "comp"},message:"must have required property '"+"comp"+"'"};if(vErrors === null){vErrors = [err94];}else {vErrors.push(err94);}errors++;}if(data.label === undefined){const err95 = {instancePath,schemaPath:"#/$defs/checkbox/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err95];}else {vErrors.push(err95);}errors++;}if(data.comp !== undefined){if("checkbox" !== data.comp){const err96 = {instancePath:instancePath+"/comp",schemaPath:"#/$defs/checkbox/properties/comp/const",keyword:"const",params:{allowedValue: "checkbox"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err96];}else {vErrors.push(err96);}errors++;}}if(data.label !== undefined){if(typeof data.label !== "string"){const err97 = {instancePath:instancePath+"/label",schemaPath:"#/$defs/checkbox/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err97];}else {vErrors.push(err97);}errors++;}}}else {const err98 = {instancePath,schemaPath:"#/$defs/checkbox/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err98];}else {vErrors.push(err98);}errors++;}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.label = true;}}else if(tag0 === "switch"){if(data && typeof data == "object" && !Array.isArray(data)){if(data.comp === undefined){const err99 = {instancePath,schemaPath:"#/$defs/switch/required",keyword:"required",params:{missingProperty: "comp"},message:"must have required property '"+"comp"+"'"};if(vErrors === null){vErrors = [err99];}else {vErrors.push(err99);}errors++;}if(data.label === undefined){const err100 = {instancePath,schemaPath:"#/$defs/switch/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err100];}else {vErrors.push(err100);}errors++;}if(data.comp !== undefined){if("switch" !== data.comp){const err101 = {instancePath:instancePath+"/comp",schemaPath:"#/$defs/switch/properties/comp/const",keyword:"const",params:{allowedValue: "switch"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err101];}else {vErrors.push(err101);}errors++;}}if(data.label !== undefined){if(typeof data.label !== "string"){const err102 = {instancePath:instancePath+"/label",schemaPath:"#/$defs/switch/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err102];}else {vErrors.push(err102);}errors++;}}}else {const err103 = {instancePath,schemaPath:"#/$defs/switch/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err103];}else {vErrors.push(err103);}errors++;}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.label = true;}}else if(tag0 === "slider"){if(data && typeof data == "object" && !Array.isArray(data)){if(data.comp === undefined){const err104 = {instancePath,schemaPath:"#/$defs/slider/required",keyword:"required",params:{missingProperty: "comp"},message:"must have required property '"+"comp"+"'"};if(vErrors === null){vErrors = [err104];}else {vErrors.push(err104);}errors++;}if(data.label === undefined){const err105 = {instancePath,schemaPath:"#/$defs/slider/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err105];}else {vErrors.push(err105);}errors++;}if(data.min === undefined){const err106 = {instancePath,schemaPath:"#/$defs/slider/required",keyword:"required",params:{missingProperty: "min"},message:"must have required property '"+"min"+"'"};if(vErrors === null){vErrors = [err106];}else {vErrors.push(err106);}errors++;}if(data.max === undefined){const err107 = {instancePath,schemaPath:"#/$defs/slider/required",keyword:"required",params:{missingProperty: "max"},message:"must have required property '"+"max"+"'"};if(vErrors === null){vErrors = [err107];}else {vErrors.push(err107);}errors++;}if(data.comp !== undefined){if("slider" !== data.comp){const err108 = {instancePath:instancePath+"/comp",schemaPath:"#/$defs/slider/properties/comp/const",keyword:"const",params:{allowedValue: "slider"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err108];}else {vErrors.push(err108);}errors++;}}if(data.label !== undefined){if(typeof data.label !== "string"){const err109 = {instancePath:instancePath+"/label",schemaPath:"#/$defs/slider/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err109];}else {vErrors.push(err109);}errors++;}}if(data.step !== undefined){let data52 = data.step;if(!((typeof data52 == "number") && (isFinite(data52)))){const err110 = {instancePath:instancePath+"/step",schemaPath:"#/$defs/slider/properties/step/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err110];}else {vErrors.push(err110);}errors++;}}if(data.min !== undefined){let data53 = data.min;if(!((typeof data53 == "number") && (isFinite(data53)))){const err111 = {instancePath:instancePath+"/min",schemaPath:"#/$defs/slider/properties/min/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err111];}else {vErrors.push(err111);}errors++;}}if(data.max !== undefined){let data54 = data.max;if(!((typeof data54 == "number") && (isFinite(data54)))){const err112 = {instancePath:instancePath+"/max",schemaPath:"#/$defs/slider/properties/max/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err112];}else {vErrors.push(err112);}errors++;}}}else {const err113 = {instancePath,schemaPath:"#/$defs/slider/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err113];}else {vErrors.push(err113);}errors++;}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.label = true;props6.step = true;props6.min = true;props6.max = true;}}else if(tag0 === "date-picker"){if(data && typeof data == "object" && !Array.isArray(data)){if(data.comp === undefined){const err114 = {instancePath,schemaPath:"#/$defs/date-picker/required",keyword:"required",params:{missingProperty: "comp"},message:"must have required property '"+"comp"+"'"};if(vErrors === null){vErrors = [err114];}else {vErrors.push(err114);}errors++;}if(data.label === undefined){const err115 = {instancePath,schemaPath:"#/$defs/date-picker/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err115];}else {vErrors.push(err115);}errors++;}if(data.comp !== undefined){if("date-picker" !== data.comp){const err116 = {instancePath:instancePath+"/comp",schemaPath:"#/$defs/date-picker/properties/comp/const",keyword:"const",params:{allowedValue: "date-picker"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err116];}else {vErrors.push(err116);}errors++;}}if(data.label !== undefined){if(typeof data.label !== "string"){const err117 = {instancePath:instancePath+"/label",schemaPath:"#/$defs/date-picker/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err117];}else {vErrors.push(err117);}errors++;}}if(data.min !== undefined){let data57 = data.min;if(typeof data57 === "string"){if(!(formats0.validate(data57))){const err118 = {instancePath:instancePath+"/min",schemaPath:"#/$defs/date-picker/properties/min/format",keyword:"format",params:{format: "date"},message:"must match format \""+"date"+"\""};if(vErrors === null){vErrors = [err118];}else {vErrors.push(err118);}errors++;}}else {const err119 = {instancePath:instancePath+"/min",schemaPath:"#/$defs/date-picker/properties/min/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err119];}else {vErrors.push(err119);}errors++;}}if(data.max !== undefined){let data58 = data.max;if(typeof data58 === "string"){if(!(formats0.validate(data58))){const err120 = {instancePath:instancePath+"/max",schemaPath:"#/$defs/date-picker/properties/max/format",keyword:"format",params:{format: "date"},message:"must match format \""+"date"+"\""};if(vErrors === null){vErrors = [err120];}else {vErrors.push(err120);}errors++;}}else {const err121 = {instancePath:instancePath+"/max",schemaPath:"#/$defs/date-picker/properties/max/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err121];}else {vErrors.push(err121);}errors++;}}if(data.format !== undefined){let data59 = data.format;if(typeof data59 !== "string"){const err122 = {instancePath:instancePath+"/format",schemaPath:"#/$defs/date-picker/properties/format/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err122];}else {vErrors.push(err122);}errors++;}if(!((data59 === "date") || (data59 === "date-time"))){const err123 = {instancePath:instancePath+"/format",schemaPath:"#/$defs/date-picker/properties/format/enum",keyword:"enum",params:{allowedValues: schema109.properties.format.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err123];}else {vErrors.push(err123);}errors++;}}}else {const err124 = {instancePath,schemaPath:"#/$defs/date-picker/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err124];}else {vErrors.push(err124);}errors++;}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.label = true;props6.min = true;props6.max = true;props6.format = true;}}else if(tag0 === "date-time-picker"){if(data && typeof data == "object" && !Array.isArray(data)){if(data.comp === undefined){const err125 = {instancePath,schemaPath:"#/$defs/date-time-picker/required",keyword:"required",params:{missingProperty: "comp"},message:"must have required property '"+"comp"+"'"};if(vErrors === null){vErrors = [err125];}else {vErrors.push(err125);}errors++;}if(data.label === undefined){const err126 = {instancePath,schemaPath:"#/$defs/date-time-picker/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err126];}else {vErrors.push(err126);}errors++;}if(data.comp !== undefined){if("date-time-picker" !== data.comp){const err127 = {instancePath:instancePath+"/comp",schemaPath:"#/$defs/date-time-picker/properties/comp/const",keyword:"const",params:{allowedValue: "date-time-picker"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err127];}else {vErrors.push(err127);}errors++;}}if(data.label !== undefined){if(typeof data.label !== "string"){const err128 = {instancePath:instancePath+"/label",schemaPath:"#/$defs/date-time-picker/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err128];}else {vErrors.push(err128);}errors++;}}if(data.min !== undefined){let data62 = data.min;if(typeof data62 === "string"){if(!(formats4.validate(data62))){const err129 = {instancePath:instancePath+"/min",schemaPath:"#/$defs/date-time-picker/properties/min/format",keyword:"format",params:{format: "date-time"},message:"must match format \""+"date-time"+"\""};if(vErrors === null){vErrors = [err129];}else {vErrors.push(err129);}errors++;}}else {const err130 = {instancePath:instancePath+"/min",schemaPath:"#/$defs/date-time-picker/properties/min/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err130];}else {vErrors.push(err130);}errors++;}}if(data.max !== undefined){let data63 = data.max;if(typeof data63 === "string"){if(!(formats4.validate(data63))){const err131 = {instancePath:instancePath+"/max",schemaPath:"#/$defs/date-time-picker/properties/max/format",keyword:"format",params:{format: "date-time"},message:"must match format \""+"date-time"+"\""};if(vErrors === null){vErrors = [err131];}else {vErrors.push(err131);}errors++;}}else {const err132 = {instancePath:instancePath+"/max",schemaPath:"#/$defs/date-time-picker/properties/max/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err132];}else {vErrors.push(err132);}errors++;}}}else {const err133 = {instancePath,schemaPath:"#/$defs/date-time-picker/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err133];}else {vErrors.push(err133);}errors++;}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.label = true;props6.min = true;props6.max = true;}}else if(tag0 === "time-picker"){if(data && typeof data == "object" && !Array.isArray(data)){if(data.comp === undefined){const err134 = {instancePath,schemaPath:"#/$defs/time-picker/required",keyword:"required",params:{missingProperty: "comp"},message:"must have required property '"+"comp"+"'"};if(vErrors === null){vErrors = [err134];}else {vErrors.push(err134);}errors++;}if(data.label === undefined){const err135 = {instancePath,schemaPath:"#/$defs/time-picker/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err135];}else {vErrors.push(err135);}errors++;}if(data.comp !== undefined){if("time-picker" !== data.comp){const err136 = {instancePath:instancePath+"/comp",schemaPath:"#/$defs/time-picker/properties/comp/const",keyword:"const",params:{allowedValue: "time-picker"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err136];}else {vErrors.push(err136);}errors++;}}if(data.label !== undefined){if(typeof data.label !== "string"){const err137 = {instancePath:instancePath+"/label",schemaPath:"#/$defs/time-picker/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err137];}else {vErrors.push(err137);}errors++;}}if(data.min !== undefined){let data66 = data.min;if(typeof data66 === "string"){if(!(formats8.validate(data66))){const err138 = {instancePath:instancePath+"/min",schemaPath:"#/$defs/time-picker/properties/min/format",keyword:"format",params:{format: "time"},message:"must match format \""+"time"+"\""};if(vErrors === null){vErrors = [err138];}else {vErrors.push(err138);}errors++;}}else {const err139 = {instancePath:instancePath+"/min",schemaPath:"#/$defs/time-picker/properties/min/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err139];}else {vErrors.push(err139);}errors++;}}if(data.max !== undefined){let data67 = data.max;if(typeof data67 === "string"){if(!(formats8.validate(data67))){const err140 = {instancePath:instancePath+"/max",schemaPath:"#/$defs/time-picker/properties/max/format",keyword:"format",params:{format: "time"},message:"must match format \""+"time"+"\""};if(vErrors === null){vErrors = [err140];}else {vErrors.push(err140);}errors++;}}else {const err141 = {instancePath:instancePath+"/max",schemaPath:"#/$defs/time-picker/properties/max/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err141];}else {vErrors.push(err141);}errors++;}}}else {const err142 = {instancePath,schemaPath:"#/$defs/time-picker/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err142];}else {vErrors.push(err142);}errors++;}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.label = true;props6.min = true;props6.max = true;}}else if(tag0 === "color-picker"){if(data && typeof data == "object" && !Array.isArray(data)){if(data.comp === undefined){const err143 = {instancePath,schemaPath:"#/$defs/color-picker/required",keyword:"required",params:{missingProperty: "comp"},message:"must have required property '"+"comp"+"'"};if(vErrors === null){vErrors = [err143];}else {vErrors.push(err143);}errors++;}if(data.label === undefined){const err144 = {instancePath,schemaPath:"#/$defs/color-picker/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err144];}else {vErrors.push(err144);}errors++;}if(data.comp !== undefined){if("color-picker" !== data.comp){const err145 = {instancePath:instancePath+"/comp",schemaPath:"#/$defs/color-picker/properties/comp/const",keyword:"const",params:{allowedValue: "color-picker"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err145];}else {vErrors.push(err145);}errors++;}}if(data.label !== undefined){if(typeof data.label !== "string"){const err146 = {instancePath:instancePath+"/label",schemaPath:"#/$defs/color-picker/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err146];}else {vErrors.push(err146);}errors++;}}}else {const err147 = {instancePath,schemaPath:"#/$defs/color-picker/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err147];}else {vErrors.push(err147);}errors++;}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.label = true;}}else if(tag0 === "combobox"){if(!(validate66(data, {instancePath,parentData,parentDataProperty,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate66.errors : vErrors.concat(validate66.errors);errors = vErrors.length;}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.label = true;props6.autofocus = true;props6.items = true;props6.getItems = true;props6.multiple = true;}}else if(tag0 === "number-combobox"){if(!(validate73(data, {instancePath,parentData,parentDataProperty,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate73.errors : vErrors.concat(validate73.errors);errors = vErrors.length;}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.label = true;props6.autofocus = true;props6.items = true;props6.getItems = true;props6.multiple = true;props6.step = true;props6.min = true;props6.max = true;}}else if(tag0 === "select"){if(!(validate76(data, {instancePath,parentData,parentDataProperty,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate76.errors : vErrors.concat(validate76.errors);errors = vErrors.length;}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.label = true;props6.autofocus = true;props6.items = true;props6.getItems = true;props6.multiple = true;}}else if(tag0 === "autocomplete"){if(!(validate79(data, {instancePath,parentData,parentDataProperty,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate79.errors : vErrors.concat(validate79.errors);errors = vErrors.length;}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.label = true;props6.autofocus = true;props6.items = true;props6.getItems = true;props6.multiple = true;}}else if(tag0 === "one-of-select"){if(data && typeof data == "object" && !Array.isArray(data)){if(data.comp === undefined){const err148 = {instancePath,schemaPath:"#/$defs/one-of-select/required",keyword:"required",params:{missingProperty: "comp"},message:"must have required property '"+"comp"+"'"};if(vErrors === null){vErrors = [err148];}else {vErrors.push(err148);}errors++;}if(data.comp !== undefined){if("one-of-select" !== data.comp){const err149 = {instancePath:instancePath+"/comp",schemaPath:"#/$defs/one-of-select/properties/comp/const",keyword:"const",params:{allowedValue: "one-of-select"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err149];}else {vErrors.push(err149);}errors++;}}}else {const err150 = {instancePath,schemaPath:"#/$defs/one-of-select/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err150];}else {vErrors.push(err150);}errors++;}if(props6 !== true){props6 = props6 || {};props6.comp = true;}}else if(tag0 === "section"){if(!(validate82(data, {instancePath,parentData,parentDataProperty,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate82.errors : vErrors.concat(validate82.errors);errors = vErrors.length;}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.title = true;props6.subtitle = true;props6.children = true;}}else if(tag0 === "tabs"){if(!(validate86(data, {instancePath,parentData,parentDataProperty,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate86.errors : vErrors.concat(validate86.errors);errors = vErrors.length;}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.title = true;props6.subtitle = true;props6.children = true;}}else if(tag0 === "vertical-tabs"){if(!(validate87(data, {instancePath,parentData,parentDataProperty,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate87.errors : vErrors.concat(validate87.errors);errors = vErrors.length;}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.title = true;props6.subtitle = true;props6.children = true;}}else if(tag0 === "expansion-panels"){if(!(validate88(data, {instancePath,parentData,parentDataProperty,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate88.errors : vErrors.concat(validate88.errors);errors = vErrors.length;}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.title = true;props6.subtitle = true;props6.children = true;}}else if(tag0 === "stepper"){if(!(validate96(data, {instancePath,parentData,parentDataProperty,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate96.errors : vErrors.concat(validate96.errors);errors = vErrors.length;}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.title = true;props6.subtitle = true;props6.children = true;}}else {const err151 = {instancePath,schemaPath:"#/allOf/1/discriminator",keyword:"discriminator",params:{error: "mapping", tag: "comp", tagValue: tag0},message:"value of tag \"comp\" must be in oneOf"};if(vErrors === null){vErrors = [err151];}else {vErrors.push(err151);}errors++;}}else {const err152 = {instancePath,schemaPath:"#/allOf/1/discriminator",keyword:"discriminator",params:{error: "tag", tag: "comp", tagValue: tag0},message:"tag \"comp\" must be string"};if(vErrors === null){vErrors = [err152];}else {vErrors.push(err152);}errors++;}}if(props6 !== true){props6 = props6 || {};props6.if = true;props6.defaultData = true;props6.constData = true;props6.nullable = true;props6.help = true;props6.cols = true;props6.props = true;props6.slots = true;props6.options = true;}if(data && typeof data == "object" && !Array.isArray(data)){if(data.comp === undefined){const err153 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "comp"},message:"must have required property '"+"comp"+"'"};if(vErrors === null){vErrors = [err153];}else {vErrors.push(err153);}errors++;}if(props6 !== true){for(const key10 in data){if(!props6 || !props6[key10]){const err154 = {instancePath,schemaPath:"#/unevaluatedProperties",keyword:"unevaluatedProperties",params:{unevaluatedProperty: key10},message:"must NOT have unevaluated properties"};if(vErrors === null){vErrors = [err154];}else {vErrors.push(err154);}errors++;}}}}else {const err155 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err155];}else {vErrors.push(err155);}errors++;}validate58.errors = vErrors;return errors === 0;}validate58.evaluated = {"props":true,"dynamicProps":false,"dynamicItems":false};function validate57(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate57.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(data && typeof data == "object" && !Array.isArray(data)){if(data.switch === undefined){const err0 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "switch"},message:"must have required property '"+"switch"+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}for(const key0 in data){if(!(key0 === "switch")){const err1 = {instancePath,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}}if(data.switch !== undefined){let data0 = data.switch;if(Array.isArray(data0)){const len0 = data0.length;for(let i0=0; i0<len0; i0++){if(!(validate58(data0[i0], {instancePath:instancePath+"/switch/" + i0,parentData:data0,parentDataProperty:i0,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate58.errors : vErrors.concat(validate58.errors);errors = vErrors.length;}}}else {const err2 = {instancePath:instancePath+"/switch",schemaPath:"#/properties/switch/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}}}else {const err3 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}validate57.errors = vErrors;return errors === 0;}validate57.evaluated = {"props":true,"dynamicProps":false,"dynamicItems":false};function validate56(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){/*# sourceURL="https://json-layout.github.io/normalized-layout-keyword" */;let vErrors = null;let errors = 0;const evaluated0 = validate56.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}const _errs0 = errors;let valid0 = false;let passing0 = null;const _errs1 = errors;if(!(validate57(data, {instancePath,parentData,parentDataProperty,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate57.errors : vErrors.concat(validate57.errors);errors = vErrors.length;}var _valid0 = _errs1 === errors;if(_valid0){valid0 = true;passing0 = 0;var props0 = true;}const _errs2 = errors;if(!(validate58(data, {instancePath,parentData,parentDataProperty,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate58.errors : vErrors.concat(validate58.errors);errors = vErrors.length;}var _valid0 = _errs2 === errors;if(_valid0 && valid0){valid0 = false;passing0 = [passing0, 1];}else {if(_valid0){valid0 = true;passing0 = 1;if(props0 !== true){props0 = true;}}}if(!valid0){const err0 = {instancePath,schemaPath:"#/oneOf",keyword:"oneOf",params:{passingSchemas: passing0},message:"must match exactly one schema in oneOf"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}else {errors = _errs0;if(vErrors !== null){if(_errs0){vErrors.length = _errs0;}else {vErrors = null;}}}validate56.errors = vErrors;evaluated0.props = props0;return errors === 0;}validate56.evaluated = {"dynamicProps":true,"dynamicItems":false};
|
|
3
|
+
export const validate = validate56;export default validate56;const schema53 = {"$id":"https://json-layout.github.io/normalized-layout-keyword","title":"normalized layout","oneOf":[{"$ref":"#/$defs/switch-struct"},{"$ref":"#/$defs/comp-object"}],"$defs":{"switch-struct":{"type":"object","required":["switch"],"additionalProperties":false,"properties":{"switch":{"type":"array","items":{"$ref":"#/$defs/comp-object"}}}},"comp-object":{"type":"object","required":["comp"],"unevaluatedProperties":false,"allOf":[{"properties":{"if":{"$ref":"#/$defs/expression"},"defaultData":{"$ref":"#/$defs/expression"},"constData":{"$ref":"#/$defs/expression"},"nullable":{"type":"boolean"},"help":{"type":"string"},"cols":{"$ref":"#/$defs/cols-obj"},"props":{"$ref":"#/$defs/state-node-props-lib"},"slots":{"type":"object","allOf":[{"$ref":"#/$defs/state-node-slots-lib"},{"properties":{"before":{"$ref":"#/$defs/slot"},"after":{"$ref":"#/$defs/slot"},"component":{"$ref":"#/$defs/slot"}}}]},"options":{"$ref":"#/$defs/state-node-options"}}},{"discriminator":{"propertyName":"comp"},"oneOf":[{"$ref":"#/$defs/none"},{"$ref":"#/$defs/list"},{"$ref":"#/$defs/text-field"},{"$ref":"#/$defs/number-field"},{"$ref":"#/$defs/textarea"},{"$ref":"#/$defs/markdown"},{"$ref":"#/$defs/checkbox"},{"$ref":"#/$defs/switch"},{"$ref":"#/$defs/slider"},{"$ref":"#/$defs/date-picker"},{"$ref":"#/$defs/date-time-picker"},{"$ref":"#/$defs/time-picker"},{"$ref":"#/$defs/color-picker"},{"$ref":"#/$defs/combobox"},{"$ref":"#/$defs/number-combobox"},{"$ref":"#/$defs/select"},{"$ref":"#/$defs/autocomplete"},{"$ref":"#/$defs/one-of-select"},{"$ref":"#/$defs/section"},{"$ref":"#/$defs/tabs"},{"$ref":"#/$defs/vertical-tabs"},{"$ref":"#/$defs/expansion-panels"},{"$ref":"#/$defs/stepper"}]}]},"composite-comp-object":{"type":"object","discriminator":{"propertyName":"comp"},"oneOf":[{"$ref":"#/$defs/section"},{"$ref":"#/$defs/tabs"},{"$ref":"#/$defs/vertical-tabs"},{"$ref":"#/$defs/expansion-panels"}]},"none":{"type":"object","required":["comp"],"properties":{"comp":{"const":"none"}}},"section":{"type":"object","required":["comp","children"],"properties":{"comp":{"const":"section"},"title":{"type":["string","null"]},"subtitle":{"type":["string","null"]},"children":{"$ref":"#/$defs/children"}}},"tabs":{"type":"object","required":["comp","children"],"properties":{"comp":{"const":"tabs"},"title":{"type":["string","null"]},"subtitle":{"type":["string","null"]},"children":{"$ref":"#/$defs/children"}}},"vertical-tabs":{"type":"object","required":["comp","children"],"properties":{"comp":{"const":"vertical-tabs"},"title":{"type":["string","null"]},"subtitle":{"type":["string","null"]},"children":{"$ref":"#/$defs/children"}}},"expansion-panels":{"type":"object","required":["comp","children"],"properties":{"comp":{"const":"expansion-panels"},"title":{"type":["string","null"]},"subtitle":{"type":["string","null"]},"children":{"$ref":"#/$defs/children"}}},"stepper":{"type":"object","required":["comp","children"],"properties":{"comp":{"const":"stepper"},"title":{"type":["string","null"]},"subtitle":{"type":["string","null"]},"children":{"$ref":"#/$defs/children"}}},"child":{"type":"object","unevaluatedProperties":false,"required":["key"],"properties":{"key":{"type":["string","integer"]},"cols":{"$ref":"#/$defs/cols-obj"}},"anyOf":[{},{"$ref":"#/$defs/composite-comp-object"}]},"children":{"type":"array","items":{"$ref":"#/$defs/child"}},"list":{"type":"object","required":["comp","listEditMode","listActions"],"properties":{"comp":{"const":"list"},"title":{"type":"string"},"listEditMode":{"type":"string","enum":["inline","inline-single","menu","dialog"]},"listActions":{"type":"array","items":{"type":"string","enum":["add","edit","delete","sort","duplicate"]}},"itemTitle":{"$ref":"#/$defs/expression"},"itemSubtitle":{"$ref":"#/$defs/expression"},"messages":{"type":"object","additionalProperties":false,"properties":{"addItem":{"type":"string"},"delete":{"type":"string"},"edit":{"type":"string"},"duplicate":{"type":"string"},"sort":{"type":"string"}}}}},"text-field":{"type":"object","required":["comp","label"],"properties":{"comp":{"const":"text-field"},"label":{"type":"string"},"autofocus":{"type":"boolean"}}},"number-field":{"type":"object","required":["comp","label"],"properties":{"comp":{"const":"number-field"},"label":{"type":"string"},"autofocus":{"type":"boolean"},"step":{"type":"number"},"min":{"type":"number"},"max":{"type":"number"}}},"textarea":{"type":"object","required":["comp","label"],"properties":{"comp":{"const":"textarea"},"label":{"type":"string"},"autofocus":{"type":"boolean"}}},"markdown":{"type":"object","required":["comp","label"],"properties":{"comp":{"const":"markdown"},"label":{"type":"string"},"autofocus":{"type":"boolean"}}},"checkbox":{"type":"object","required":["comp","label"],"properties":{"comp":{"const":"checkbox"},"label":{"type":"string"}}},"switch":{"type":"object","required":["comp","label"],"properties":{"comp":{"const":"switch"},"label":{"type":"string"}}},"slider":{"type":"object","required":["comp","label","min","max"],"properties":{"comp":{"const":"slider"},"label":{"type":"string"},"step":{"type":"number"},"min":{"type":"number"},"max":{"type":"number"}}},"date-picker":{"type":"object","required":["comp","label"],"properties":{"comp":{"const":"date-picker"},"label":{"type":"string"},"min":{"type":"string","format":"date"},"max":{"type":"string","format":"date"},"format":{"type":"string","enum":["date","date-time"],"default":"date"}}},"date-time-picker":{"type":"object","required":["comp","label"],"properties":{"comp":{"const":"date-time-picker"},"label":{"type":"string"},"min":{"type":"string","format":"date-time"},"max":{"type":"string","format":"date-time"}}},"time-picker":{"type":"object","required":["comp","label"],"properties":{"comp":{"const":"time-picker"},"label":{"type":"string"},"min":{"type":"string","format":"time"},"max":{"type":"string","format":"time"}}},"color-picker":{"type":"object","required":["comp","label"],"properties":{"comp":{"const":"color-picker"},"label":{"type":"string"}}},"combobox":{"type":"object","required":["comp","label"],"properties":{"comp":{"const":"combobox"},"label":{"type":"string"},"autofocus":{"type":"boolean"},"items":{"$ref":"#/$defs/select-items"},"getItems":{"$ref":"#/$defs/get-items"},"multiple":{"type":"boolean"}}},"number-combobox":{"type":"object","required":["comp","label"],"properties":{"comp":{"const":"number-combobox"},"label":{"type":"string"},"autofocus":{"type":"boolean"},"items":{"$ref":"#/$defs/select-items"},"getItems":{"$ref":"#/$defs/get-items"},"multiple":{"type":"boolean"},"step":{"type":"number"},"min":{"type":"number"},"max":{"type":"number"}}},"select":{"type":"object","required":["comp","label"],"properties":{"comp":{"const":"select"},"label":{"type":"string"},"autofocus":{"type":"boolean"},"items":{"$ref":"#/$defs/select-items"},"getItems":{"$ref":"#/$defs/get-items"},"multiple":{"type":"boolean"}}},"autocomplete":{"type":"object","required":["comp","label"],"properties":{"comp":{"const":"autocomplete"},"label":{"type":"string"},"autofocus":{"type":"boolean"},"items":{"$ref":"#/$defs/select-items"},"getItems":{"$ref":"#/$defs/get-items"},"multiple":{"type":"boolean"}}},"select-items":{"type":"array","items":{"$ref":"#/$defs/select-item"}},"select-item":{"type":"object","required":["title","key","value"],"properties":{"title":{"type":"string"},"key":{"type":"string"},"value":{},"icon":{"type":"string"}}},"get-items":{"type":"object","allOf":[{"properties":{"returnObjects":{"type":"boolean","readOnly":true},"itemsResults":{"$ref":"#/$defs/expression"},"itemTitle":{"$ref":"#/$defs/expression"},"itemKey":{"$ref":"#/$defs/expression"},"itemValue":{"$ref":"#/$defs/expression"},"itemIcon":{"$ref":"#/$defs/expression"}}},{"oneOf":[{"$ref":"#/$defs/expression"},{"$ref":"#/$defs/get-items-fetch"}]}]},"get-items-fetch":{"type":"object","required":["url"],"properties":{"url":{"$ref":"#/$defs/expression"},"qSearchParam":{"type":"string"},"searchParams":{"type":"object","patternProperties":{".*":{"$ref":"#/$defs/expression"}}}}},"one-of-select":{"type":"object","required":["comp"],"properties":{"comp":{"const":"one-of-select"}}},"expression":{"type":"object","required":["type","expr"],"properties":{"type":{"type":"string","enum":["js-fn","js-eval","js-tpl"]},"expr":{"type":"string"},"ref":{"type":"integer","readOnly":true}}},"cols-obj":{"type":"object","additionalProperties":false,"required":["xs"],"properties":{"xs":{"$ref":"#/$defs/cols","default":12},"sm":{"$ref":"#/$defs/cols"},"md":{"$ref":"#/$defs/cols"},"lg":{"$ref":"#/$defs/cols"},"xl":{"$ref":"#/$defs/cols"},"xxl":{"$ref":"#/$defs/cols"}}},"cols":{"type":"integer","minimum":0,"maximum":12},"slot":{"oneOf":[{"type":"object","additionalProperties":false,"required":["text"],"properties":{"text":{"type":"string"}}},{"type":"object","additionalProperties":false,"required":["markdown"],"properties":{"markdown":{"type":"string"}}},{"type":"object","additionalProperties":false,"required":["name"],"properties":{"name":{"type":"string"}}}]},"state-node-options":{"type":"object","allOf":[{"$ref":"#/$defs/state-node-options-lib"},{"properties":{"readOnly":{"type":"boolean","default":false},"summary":{"type":"boolean","default":false},"titleDepth":{"type":"integer","minimum":1,"maximum":6,"default":2}}}]},"state-node-options-lib":{"type":"object","patternProperties":{".*":{}}},"state-node-props-lib":{"type":"object","patternProperties":{".*":{}}},"state-node-slots-lib":{"type":"object","patternProperties":{".*":{"$ref":"#/$defs/slot"}}}}};const schema54 = {"type":"object","required":["switch"],"additionalProperties":false,"properties":{"switch":{"type":"array","items":{"$ref":"#/$defs/comp-object"}}}};const schema55 = {"type":"object","required":["comp"],"unevaluatedProperties":false,"allOf":[{"properties":{"if":{"$ref":"#/$defs/expression"},"defaultData":{"$ref":"#/$defs/expression"},"constData":{"$ref":"#/$defs/expression"},"nullable":{"type":"boolean"},"help":{"type":"string"},"cols":{"$ref":"#/$defs/cols-obj"},"props":{"$ref":"#/$defs/state-node-props-lib"},"slots":{"type":"object","allOf":[{"$ref":"#/$defs/state-node-slots-lib"},{"properties":{"before":{"$ref":"#/$defs/slot"},"after":{"$ref":"#/$defs/slot"},"component":{"$ref":"#/$defs/slot"}}}]},"options":{"$ref":"#/$defs/state-node-options"}}},{"discriminator":{"propertyName":"comp"},"oneOf":[{"$ref":"#/$defs/none"},{"$ref":"#/$defs/list"},{"$ref":"#/$defs/text-field"},{"$ref":"#/$defs/number-field"},{"$ref":"#/$defs/textarea"},{"$ref":"#/$defs/markdown"},{"$ref":"#/$defs/checkbox"},{"$ref":"#/$defs/switch"},{"$ref":"#/$defs/slider"},{"$ref":"#/$defs/date-picker"},{"$ref":"#/$defs/date-time-picker"},{"$ref":"#/$defs/time-picker"},{"$ref":"#/$defs/color-picker"},{"$ref":"#/$defs/combobox"},{"$ref":"#/$defs/number-combobox"},{"$ref":"#/$defs/select"},{"$ref":"#/$defs/autocomplete"},{"$ref":"#/$defs/one-of-select"},{"$ref":"#/$defs/section"},{"$ref":"#/$defs/tabs"},{"$ref":"#/$defs/vertical-tabs"},{"$ref":"#/$defs/expansion-panels"},{"$ref":"#/$defs/stepper"}]}]};const schema56 = {"type":"object","required":["type","expr"],"properties":{"type":{"type":"string","enum":["js-fn","js-eval","js-tpl"]},"expr":{"type":"string"},"ref":{"type":"integer","readOnly":true}}};const schema66 = {"type":"object","patternProperties":{".*":{}}};const schema68 = {"oneOf":[{"type":"object","additionalProperties":false,"required":["text"],"properties":{"text":{"type":"string"}}},{"type":"object","additionalProperties":false,"required":["markdown"],"properties":{"markdown":{"type":"string"}}},{"type":"object","additionalProperties":false,"required":["name"],"properties":{"name":{"type":"string"}}}]};const schema101 = {"type":"object","required":["comp"],"properties":{"comp":{"const":"none"}}};const schema102 = {"type":"object","required":["comp","label"],"properties":{"comp":{"const":"text-field"},"label":{"type":"string"},"autofocus":{"type":"boolean"}}};const schema103 = {"type":"object","required":["comp","label"],"properties":{"comp":{"const":"number-field"},"label":{"type":"string"},"autofocus":{"type":"boolean"},"step":{"type":"number"},"min":{"type":"number"},"max":{"type":"number"}}};const schema104 = {"type":"object","required":["comp","label"],"properties":{"comp":{"const":"textarea"},"label":{"type":"string"},"autofocus":{"type":"boolean"}}};const schema105 = {"type":"object","required":["comp","label"],"properties":{"comp":{"const":"markdown"},"label":{"type":"string"},"autofocus":{"type":"boolean"}}};const schema106 = {"type":"object","required":["comp","label"],"properties":{"comp":{"const":"checkbox"},"label":{"type":"string"}}};const schema107 = {"type":"object","required":["comp","label"],"properties":{"comp":{"const":"switch"},"label":{"type":"string"}}};const schema108 = {"type":"object","required":["comp","label","min","max"],"properties":{"comp":{"const":"slider"},"label":{"type":"string"},"step":{"type":"number"},"min":{"type":"number"},"max":{"type":"number"}}};const schema109 = {"type":"object","required":["comp","label"],"properties":{"comp":{"const":"date-picker"},"label":{"type":"string"},"min":{"type":"string","format":"date"},"max":{"type":"string","format":"date"},"format":{"type":"string","enum":["date","date-time"],"default":"date"}}};const schema110 = {"type":"object","required":["comp","label"],"properties":{"comp":{"const":"date-time-picker"},"label":{"type":"string"},"min":{"type":"string","format":"date-time"},"max":{"type":"string","format":"date-time"}}};const schema111 = {"type":"object","required":["comp","label"],"properties":{"comp":{"const":"time-picker"},"label":{"type":"string"},"min":{"type":"string","format":"time"},"max":{"type":"string","format":"time"}}};const schema112 = {"type":"object","required":["comp","label"],"properties":{"comp":{"const":"color-picker"},"label":{"type":"string"}}};const schema113 = {"type":"object","required":["comp"],"properties":{"comp":{"const":"one-of-select"}}};const schema59 = {"type":"object","additionalProperties":false,"required":["xs"],"properties":{"xs":{"$ref":"#/$defs/cols","default":12},"sm":{"$ref":"#/$defs/cols"},"md":{"$ref":"#/$defs/cols"},"lg":{"$ref":"#/$defs/cols"},"xl":{"$ref":"#/$defs/cols"},"xxl":{"$ref":"#/$defs/cols"}}};const schema60 = {"type":"integer","minimum":0,"maximum":12};function validate59(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate59.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(data && typeof data == "object" && !Array.isArray(data)){if(data.xs === undefined){const err0 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "xs"},message:"must have required property '"+"xs"+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}for(const key0 in data){if(!((((((key0 === "xs") || (key0 === "sm")) || (key0 === "md")) || (key0 === "lg")) || (key0 === "xl")) || (key0 === "xxl"))){const err1 = {instancePath,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}}if(data.xs !== undefined){let data0 = data.xs;if(!(((typeof data0 == "number") && (!(data0 % 1) && !isNaN(data0))) && (isFinite(data0)))){const err2 = {instancePath:instancePath+"/xs",schemaPath:"#/$defs/cols/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}if((typeof data0 == "number") && (isFinite(data0))){if(data0 > 12 || isNaN(data0)){const err3 = {instancePath:instancePath+"/xs",schemaPath:"#/$defs/cols/maximum",keyword:"maximum",params:{comparison: "<=", limit: 12},message:"must be <= 12"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}if(data0 < 0 || isNaN(data0)){const err4 = {instancePath:instancePath+"/xs",schemaPath:"#/$defs/cols/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}}if(data.sm !== undefined){let data1 = data.sm;if(!(((typeof data1 == "number") && (!(data1 % 1) && !isNaN(data1))) && (isFinite(data1)))){const err5 = {instancePath:instancePath+"/sm",schemaPath:"#/$defs/cols/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}if((typeof data1 == "number") && (isFinite(data1))){if(data1 > 12 || isNaN(data1)){const err6 = {instancePath:instancePath+"/sm",schemaPath:"#/$defs/cols/maximum",keyword:"maximum",params:{comparison: "<=", limit: 12},message:"must be <= 12"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}if(data1 < 0 || isNaN(data1)){const err7 = {instancePath:instancePath+"/sm",schemaPath:"#/$defs/cols/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}}}if(data.md !== undefined){let data2 = data.md;if(!(((typeof data2 == "number") && (!(data2 % 1) && !isNaN(data2))) && (isFinite(data2)))){const err8 = {instancePath:instancePath+"/md",schemaPath:"#/$defs/cols/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}if((typeof data2 == "number") && (isFinite(data2))){if(data2 > 12 || isNaN(data2)){const err9 = {instancePath:instancePath+"/md",schemaPath:"#/$defs/cols/maximum",keyword:"maximum",params:{comparison: "<=", limit: 12},message:"must be <= 12"};if(vErrors === null){vErrors = [err9];}else {vErrors.push(err9);}errors++;}if(data2 < 0 || isNaN(data2)){const err10 = {instancePath:instancePath+"/md",schemaPath:"#/$defs/cols/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err10];}else {vErrors.push(err10);}errors++;}}}if(data.lg !== undefined){let data3 = data.lg;if(!(((typeof data3 == "number") && (!(data3 % 1) && !isNaN(data3))) && (isFinite(data3)))){const err11 = {instancePath:instancePath+"/lg",schemaPath:"#/$defs/cols/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err11];}else {vErrors.push(err11);}errors++;}if((typeof data3 == "number") && (isFinite(data3))){if(data3 > 12 || isNaN(data3)){const err12 = {instancePath:instancePath+"/lg",schemaPath:"#/$defs/cols/maximum",keyword:"maximum",params:{comparison: "<=", limit: 12},message:"must be <= 12"};if(vErrors === null){vErrors = [err12];}else {vErrors.push(err12);}errors++;}if(data3 < 0 || isNaN(data3)){const err13 = {instancePath:instancePath+"/lg",schemaPath:"#/$defs/cols/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err13];}else {vErrors.push(err13);}errors++;}}}if(data.xl !== undefined){let data4 = data.xl;if(!(((typeof data4 == "number") && (!(data4 % 1) && !isNaN(data4))) && (isFinite(data4)))){const err14 = {instancePath:instancePath+"/xl",schemaPath:"#/$defs/cols/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err14];}else {vErrors.push(err14);}errors++;}if((typeof data4 == "number") && (isFinite(data4))){if(data4 > 12 || isNaN(data4)){const err15 = {instancePath:instancePath+"/xl",schemaPath:"#/$defs/cols/maximum",keyword:"maximum",params:{comparison: "<=", limit: 12},message:"must be <= 12"};if(vErrors === null){vErrors = [err15];}else {vErrors.push(err15);}errors++;}if(data4 < 0 || isNaN(data4)){const err16 = {instancePath:instancePath+"/xl",schemaPath:"#/$defs/cols/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err16];}else {vErrors.push(err16);}errors++;}}}if(data.xxl !== undefined){let data5 = data.xxl;if(!(((typeof data5 == "number") && (!(data5 % 1) && !isNaN(data5))) && (isFinite(data5)))){const err17 = {instancePath:instancePath+"/xxl",schemaPath:"#/$defs/cols/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err17];}else {vErrors.push(err17);}errors++;}if((typeof data5 == "number") && (isFinite(data5))){if(data5 > 12 || isNaN(data5)){const err18 = {instancePath:instancePath+"/xxl",schemaPath:"#/$defs/cols/maximum",keyword:"maximum",params:{comparison: "<=", limit: 12},message:"must be <= 12"};if(vErrors === null){vErrors = [err18];}else {vErrors.push(err18);}errors++;}if(data5 < 0 || isNaN(data5)){const err19 = {instancePath:instancePath+"/xxl",schemaPath:"#/$defs/cols/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"};if(vErrors === null){vErrors = [err19];}else {vErrors.push(err19);}errors++;}}}}else {const err20 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err20];}else {vErrors.push(err20);}errors++;}validate59.errors = vErrors;return errors === 0;}validate59.evaluated = {"props":true,"dynamicProps":false,"dynamicItems":false};const schema67 = {"type":"object","patternProperties":{".*":{"$ref":"#/$defs/slot"}}};const pattern2 = new RegExp(".*", "u");function validate61(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate61.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(data && typeof data == "object" && !Array.isArray(data)){var props0 = {};for(const key0 in data){if(pattern2.test(key0)){let data0 = data[key0];const _errs3 = errors;let valid2 = false;let passing0 = null;const _errs4 = errors;if(data0 && typeof data0 == "object" && !Array.isArray(data0)){if(data0.text === undefined){const err0 = {instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/$defs/slot/oneOf/0/required",keyword:"required",params:{missingProperty: "text"},message:"must have required property '"+"text"+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}for(const key1 in data0){if(!(key1 === "text")){const err1 = {instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/$defs/slot/oneOf/0/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key1},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}}if(data0.text !== undefined){if(typeof data0.text !== "string"){const err2 = {instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/text",schemaPath:"#/$defs/slot/oneOf/0/properties/text/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}}}else {const err3 = {instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/$defs/slot/oneOf/0/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}var _valid0 = _errs4 === errors;if(_valid0){valid2 = true;passing0 = 0;var props1 = true;}const _errs9 = errors;if(data0 && typeof data0 == "object" && !Array.isArray(data0)){if(data0.markdown === undefined){const err4 = {instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/$defs/slot/oneOf/1/required",keyword:"required",params:{missingProperty: "markdown"},message:"must have required property '"+"markdown"+"'"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}for(const key2 in data0){if(!(key2 === "markdown")){const err5 = {instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/$defs/slot/oneOf/1/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key2},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}}if(data0.markdown !== undefined){if(typeof data0.markdown !== "string"){const err6 = {instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/markdown",schemaPath:"#/$defs/slot/oneOf/1/properties/markdown/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}}}else {const err7 = {instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/$defs/slot/oneOf/1/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}var _valid0 = _errs9 === errors;if(_valid0 && valid2){valid2 = false;passing0 = [passing0, 1];}else {if(_valid0){valid2 = true;passing0 = 1;if(props1 !== true){props1 = true;}}const _errs14 = errors;if(data0 && typeof data0 == "object" && !Array.isArray(data0)){if(data0.name === undefined){const err8 = {instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/$defs/slot/oneOf/2/required",keyword:"required",params:{missingProperty: "name"},message:"must have required property '"+"name"+"'"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}for(const key3 in data0){if(!(key3 === "name")){const err9 = {instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/$defs/slot/oneOf/2/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key3},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err9];}else {vErrors.push(err9);}errors++;}}if(data0.name !== undefined){if(typeof data0.name !== "string"){const err10 = {instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/name",schemaPath:"#/$defs/slot/oneOf/2/properties/name/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err10];}else {vErrors.push(err10);}errors++;}}}else {const err11 = {instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/$defs/slot/oneOf/2/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err11];}else {vErrors.push(err11);}errors++;}var _valid0 = _errs14 === errors;if(_valid0 && valid2){valid2 = false;passing0 = [passing0, 2];}else {if(_valid0){valid2 = true;passing0 = 2;if(props1 !== true){props1 = true;}}}}if(!valid2){const err12 = {instancePath:instancePath+"/" + key0.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/$defs/slot/oneOf",keyword:"oneOf",params:{passingSchemas: passing0},message:"must match exactly one schema in oneOf"};if(vErrors === null){vErrors = [err12];}else {vErrors.push(err12);}errors++;}else {errors = _errs3;if(vErrors !== null){if(_errs3){vErrors.length = _errs3;}else {vErrors = null;}}}props0[key0] = true;}}}else {const err13 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err13];}else {vErrors.push(err13);}errors++;}validate61.errors = vErrors;evaluated0.props = props0;return errors === 0;}validate61.evaluated = {"dynamicProps":true,"dynamicItems":false};const schema72 = {"type":"object","allOf":[{"$ref":"#/$defs/state-node-options-lib"},{"properties":{"readOnly":{"type":"boolean","default":false},"summary":{"type":"boolean","default":false},"titleDepth":{"type":"integer","minimum":1,"maximum":6,"default":2}}}]};const schema73 = {"type":"object","patternProperties":{".*":{}}};function validate63(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate63.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(!(data && typeof data == "object" && !Array.isArray(data))){const err0 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}if(data && typeof data == "object" && !Array.isArray(data)){var props0 = {};for(const key0 in data){if(pattern2.test(key0)){props0[key0] = true;}}}else {const err1 = {instancePath,schemaPath:"#/$defs/state-node-options-lib/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data && typeof data == "object" && !Array.isArray(data)){if(data.readOnly !== undefined){if(typeof data.readOnly !== "boolean"){const err2 = {instancePath:instancePath+"/readOnly",schemaPath:"#/allOf/1/properties/readOnly/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}}if(data.summary !== undefined){if(typeof data.summary !== "boolean"){const err3 = {instancePath:instancePath+"/summary",schemaPath:"#/allOf/1/properties/summary/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}}if(data.titleDepth !== undefined){let data2 = data.titleDepth;if(!(((typeof data2 == "number") && (!(data2 % 1) && !isNaN(data2))) && (isFinite(data2)))){const err4 = {instancePath:instancePath+"/titleDepth",schemaPath:"#/allOf/1/properties/titleDepth/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}if((typeof data2 == "number") && (isFinite(data2))){if(data2 > 6 || isNaN(data2)){const err5 = {instancePath:instancePath+"/titleDepth",schemaPath:"#/allOf/1/properties/titleDepth/maximum",keyword:"maximum",params:{comparison: "<=", limit: 6},message:"must be <= 6"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}if(data2 < 1 || isNaN(data2)){const err6 = {instancePath:instancePath+"/titleDepth",schemaPath:"#/allOf/1/properties/titleDepth/minimum",keyword:"minimum",params:{comparison: ">=", limit: 1},message:"must be >= 1"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}}}}if(props0 !== true){props0 = props0 || {};props0.readOnly = true;props0.summary = true;props0.titleDepth = true;}validate63.errors = vErrors;evaluated0.props = props0;return errors === 0;}validate63.evaluated = {"dynamicProps":true,"dynamicItems":false};const schema74 = {"type":"object","required":["comp","listEditMode","listActions"],"properties":{"comp":{"const":"list"},"title":{"type":"string"},"listEditMode":{"type":"string","enum":["inline","inline-single","menu","dialog"]},"listActions":{"type":"array","items":{"type":"string","enum":["add","edit","delete","sort","duplicate"]}},"itemTitle":{"$ref":"#/$defs/expression"},"itemSubtitle":{"$ref":"#/$defs/expression"},"messages":{"type":"object","additionalProperties":false,"properties":{"addItem":{"type":"string"},"delete":{"type":"string"},"edit":{"type":"string"},"duplicate":{"type":"string"},"sort":{"type":"string"}}}}};function validate65(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate65.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(data && typeof data == "object" && !Array.isArray(data)){if(data.comp === undefined){const err0 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "comp"},message:"must have required property '"+"comp"+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}if(data.listEditMode === undefined){const err1 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "listEditMode"},message:"must have required property '"+"listEditMode"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data.listActions === undefined){const err2 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "listActions"},message:"must have required property '"+"listActions"+"'"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}if(data.comp !== undefined){if("list" !== data.comp){const err3 = {instancePath:instancePath+"/comp",schemaPath:"#/properties/comp/const",keyword:"const",params:{allowedValue: "list"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}}if(data.title !== undefined){if(typeof data.title !== "string"){const err4 = {instancePath:instancePath+"/title",schemaPath:"#/properties/title/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}if(data.listEditMode !== undefined){let data2 = data.listEditMode;if(typeof data2 !== "string"){const err5 = {instancePath:instancePath+"/listEditMode",schemaPath:"#/properties/listEditMode/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}if(!((((data2 === "inline") || (data2 === "inline-single")) || (data2 === "menu")) || (data2 === "dialog"))){const err6 = {instancePath:instancePath+"/listEditMode",schemaPath:"#/properties/listEditMode/enum",keyword:"enum",params:{allowedValues: schema74.properties.listEditMode.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}}if(data.listActions !== undefined){let data3 = data.listActions;if(Array.isArray(data3)){const len0 = data3.length;for(let i0=0; i0<len0; i0++){let data4 = data3[i0];if(typeof data4 !== "string"){const err7 = {instancePath:instancePath+"/listActions/" + i0,schemaPath:"#/properties/listActions/items/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}if(!(((((data4 === "add") || (data4 === "edit")) || (data4 === "delete")) || (data4 === "sort")) || (data4 === "duplicate"))){const err8 = {instancePath:instancePath+"/listActions/" + i0,schemaPath:"#/properties/listActions/items/enum",keyword:"enum",params:{allowedValues: schema74.properties.listActions.items.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}}}else {const err9 = {instancePath:instancePath+"/listActions",schemaPath:"#/properties/listActions/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err9];}else {vErrors.push(err9);}errors++;}}if(data.itemTitle !== undefined){let data5 = data.itemTitle;if(data5 && typeof data5 == "object" && !Array.isArray(data5)){if(data5.type === undefined){const err10 = {instancePath:instancePath+"/itemTitle",schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: "type"},message:"must have required property '"+"type"+"'"};if(vErrors === null){vErrors = [err10];}else {vErrors.push(err10);}errors++;}if(data5.expr === undefined){const err11 = {instancePath:instancePath+"/itemTitle",schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: "expr"},message:"must have required property '"+"expr"+"'"};if(vErrors === null){vErrors = [err11];}else {vErrors.push(err11);}errors++;}if(data5.type !== undefined){let data6 = data5.type;if(typeof data6 !== "string"){const err12 = {instancePath:instancePath+"/itemTitle/type",schemaPath:"#/$defs/expression/properties/type/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err12];}else {vErrors.push(err12);}errors++;}if(!(((data6 === "js-fn") || (data6 === "js-eval")) || (data6 === "js-tpl"))){const err13 = {instancePath:instancePath+"/itemTitle/type",schemaPath:"#/$defs/expression/properties/type/enum",keyword:"enum",params:{allowedValues: schema56.properties.type.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err13];}else {vErrors.push(err13);}errors++;}}if(data5.expr !== undefined){if(typeof data5.expr !== "string"){const err14 = {instancePath:instancePath+"/itemTitle/expr",schemaPath:"#/$defs/expression/properties/expr/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err14];}else {vErrors.push(err14);}errors++;}}if(data5.ref !== undefined){let data8 = data5.ref;if(!(((typeof data8 == "number") && (!(data8 % 1) && !isNaN(data8))) && (isFinite(data8)))){const err15 = {instancePath:instancePath+"/itemTitle/ref",schemaPath:"#/$defs/expression/properties/ref/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err15];}else {vErrors.push(err15);}errors++;}}}else {const err16 = {instancePath:instancePath+"/itemTitle",schemaPath:"#/$defs/expression/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err16];}else {vErrors.push(err16);}errors++;}}if(data.itemSubtitle !== undefined){let data9 = data.itemSubtitle;if(data9 && typeof data9 == "object" && !Array.isArray(data9)){if(data9.type === undefined){const err17 = {instancePath:instancePath+"/itemSubtitle",schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: "type"},message:"must have required property '"+"type"+"'"};if(vErrors === null){vErrors = [err17];}else {vErrors.push(err17);}errors++;}if(data9.expr === undefined){const err18 = {instancePath:instancePath+"/itemSubtitle",schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: "expr"},message:"must have required property '"+"expr"+"'"};if(vErrors === null){vErrors = [err18];}else {vErrors.push(err18);}errors++;}if(data9.type !== undefined){let data10 = data9.type;if(typeof data10 !== "string"){const err19 = {instancePath:instancePath+"/itemSubtitle/type",schemaPath:"#/$defs/expression/properties/type/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err19];}else {vErrors.push(err19);}errors++;}if(!(((data10 === "js-fn") || (data10 === "js-eval")) || (data10 === "js-tpl"))){const err20 = {instancePath:instancePath+"/itemSubtitle/type",schemaPath:"#/$defs/expression/properties/type/enum",keyword:"enum",params:{allowedValues: schema56.properties.type.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err20];}else {vErrors.push(err20);}errors++;}}if(data9.expr !== undefined){if(typeof data9.expr !== "string"){const err21 = {instancePath:instancePath+"/itemSubtitle/expr",schemaPath:"#/$defs/expression/properties/expr/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err21];}else {vErrors.push(err21);}errors++;}}if(data9.ref !== undefined){let data12 = data9.ref;if(!(((typeof data12 == "number") && (!(data12 % 1) && !isNaN(data12))) && (isFinite(data12)))){const err22 = {instancePath:instancePath+"/itemSubtitle/ref",schemaPath:"#/$defs/expression/properties/ref/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err22];}else {vErrors.push(err22);}errors++;}}}else {const err23 = {instancePath:instancePath+"/itemSubtitle",schemaPath:"#/$defs/expression/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err23];}else {vErrors.push(err23);}errors++;}}if(data.messages !== undefined){let data13 = data.messages;if(data13 && typeof data13 == "object" && !Array.isArray(data13)){for(const key0 in data13){if(!(((((key0 === "addItem") || (key0 === "delete")) || (key0 === "edit")) || (key0 === "duplicate")) || (key0 === "sort"))){const err24 = {instancePath:instancePath+"/messages",schemaPath:"#/properties/messages/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err24];}else {vErrors.push(err24);}errors++;}}if(data13.addItem !== undefined){if(typeof data13.addItem !== "string"){const err25 = {instancePath:instancePath+"/messages/addItem",schemaPath:"#/properties/messages/properties/addItem/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err25];}else {vErrors.push(err25);}errors++;}}if(data13.delete !== undefined){if(typeof data13.delete !== "string"){const err26 = {instancePath:instancePath+"/messages/delete",schemaPath:"#/properties/messages/properties/delete/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err26];}else {vErrors.push(err26);}errors++;}}if(data13.edit !== undefined){if(typeof data13.edit !== "string"){const err27 = {instancePath:instancePath+"/messages/edit",schemaPath:"#/properties/messages/properties/edit/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err27];}else {vErrors.push(err27);}errors++;}}if(data13.duplicate !== undefined){if(typeof data13.duplicate !== "string"){const err28 = {instancePath:instancePath+"/messages/duplicate",schemaPath:"#/properties/messages/properties/duplicate/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err28];}else {vErrors.push(err28);}errors++;}}if(data13.sort !== undefined){if(typeof data13.sort !== "string"){const err29 = {instancePath:instancePath+"/messages/sort",schemaPath:"#/properties/messages/properties/sort/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err29];}else {vErrors.push(err29);}errors++;}}}else {const err30 = {instancePath:instancePath+"/messages",schemaPath:"#/properties/messages/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err30];}else {vErrors.push(err30);}errors++;}}}else {const err31 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err31];}else {vErrors.push(err31);}errors++;}validate65.errors = vErrors;return errors === 0;}validate65.evaluated = {"props":{"comp":true,"title":true,"listEditMode":true,"listActions":true,"itemTitle":true,"itemSubtitle":true,"messages":true},"dynamicProps":false,"dynamicItems":false};const schema77 = {"type":"object","required":["comp","label"],"properties":{"comp":{"const":"combobox"},"label":{"type":"string"},"autofocus":{"type":"boolean"},"items":{"$ref":"#/$defs/select-items"},"getItems":{"$ref":"#/$defs/get-items"},"multiple":{"type":"boolean"}}};const schema78 = {"type":"array","items":{"$ref":"#/$defs/select-item"}};const schema79 = {"type":"object","required":["title","key","value"],"properties":{"title":{"type":"string"},"key":{"type":"string"},"value":{},"icon":{"type":"string"}}};function validate67(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate67.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(Array.isArray(data)){const len0 = data.length;for(let i0=0; i0<len0; i0++){let data0 = data[i0];if(data0 && typeof data0 == "object" && !Array.isArray(data0)){if(data0.title === undefined){const err0 = {instancePath:instancePath+"/" + i0,schemaPath:"#/$defs/select-item/required",keyword:"required",params:{missingProperty: "title"},message:"must have required property '"+"title"+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}if(data0.key === undefined){const err1 = {instancePath:instancePath+"/" + i0,schemaPath:"#/$defs/select-item/required",keyword:"required",params:{missingProperty: "key"},message:"must have required property '"+"key"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data0.value === undefined){const err2 = {instancePath:instancePath+"/" + i0,schemaPath:"#/$defs/select-item/required",keyword:"required",params:{missingProperty: "value"},message:"must have required property '"+"value"+"'"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}if(data0.title !== undefined){if(typeof data0.title !== "string"){const err3 = {instancePath:instancePath+"/" + i0+"/title",schemaPath:"#/$defs/select-item/properties/title/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}}if(data0.key !== undefined){if(typeof data0.key !== "string"){const err4 = {instancePath:instancePath+"/" + i0+"/key",schemaPath:"#/$defs/select-item/properties/key/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}if(data0.icon !== undefined){if(typeof data0.icon !== "string"){const err5 = {instancePath:instancePath+"/" + i0+"/icon",schemaPath:"#/$defs/select-item/properties/icon/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}}}else {const err6 = {instancePath:instancePath+"/" + i0,schemaPath:"#/$defs/select-item/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}}}else {const err7 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}validate67.errors = vErrors;return errors === 0;}validate67.evaluated = {"items":true,"dynamicProps":false,"dynamicItems":false};const schema80 = {"type":"object","allOf":[{"properties":{"returnObjects":{"type":"boolean","readOnly":true},"itemsResults":{"$ref":"#/$defs/expression"},"itemTitle":{"$ref":"#/$defs/expression"},"itemKey":{"$ref":"#/$defs/expression"},"itemValue":{"$ref":"#/$defs/expression"},"itemIcon":{"$ref":"#/$defs/expression"}}},{"oneOf":[{"$ref":"#/$defs/expression"},{"$ref":"#/$defs/get-items-fetch"}]}]};const schema87 = {"type":"object","required":["url"],"properties":{"url":{"$ref":"#/$defs/expression"},"qSearchParam":{"type":"string"},"searchParams":{"type":"object","patternProperties":{".*":{"$ref":"#/$defs/expression"}}}}};function validate70(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate70.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(data && typeof data == "object" && !Array.isArray(data)){if(data.url === undefined){const err0 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "url"},message:"must have required property '"+"url"+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}if(data.url !== undefined){let data0 = data.url;if(data0 && typeof data0 == "object" && !Array.isArray(data0)){if(data0.type === undefined){const err1 = {instancePath:instancePath+"/url",schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: "type"},message:"must have required property '"+"type"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data0.expr === undefined){const err2 = {instancePath:instancePath+"/url",schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: "expr"},message:"must have required property '"+"expr"+"'"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}if(data0.type !== undefined){let data1 = data0.type;if(typeof data1 !== "string"){const err3 = {instancePath:instancePath+"/url/type",schemaPath:"#/$defs/expression/properties/type/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}if(!(((data1 === "js-fn") || (data1 === "js-eval")) || (data1 === "js-tpl"))){const err4 = {instancePath:instancePath+"/url/type",schemaPath:"#/$defs/expression/properties/type/enum",keyword:"enum",params:{allowedValues: schema56.properties.type.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}if(data0.expr !== undefined){if(typeof data0.expr !== "string"){const err5 = {instancePath:instancePath+"/url/expr",schemaPath:"#/$defs/expression/properties/expr/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}}if(data0.ref !== undefined){let data3 = data0.ref;if(!(((typeof data3 == "number") && (!(data3 % 1) && !isNaN(data3))) && (isFinite(data3)))){const err6 = {instancePath:instancePath+"/url/ref",schemaPath:"#/$defs/expression/properties/ref/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}}}else {const err7 = {instancePath:instancePath+"/url",schemaPath:"#/$defs/expression/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}}if(data.qSearchParam !== undefined){if(typeof data.qSearchParam !== "string"){const err8 = {instancePath:instancePath+"/qSearchParam",schemaPath:"#/properties/qSearchParam/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}}if(data.searchParams !== undefined){let data5 = data.searchParams;if(data5 && typeof data5 == "object" && !Array.isArray(data5)){var props0 = {};for(const key0 in data5){if(pattern2.test(key0)){let data6 = data5[key0];if(data6 && typeof data6 == "object" && !Array.isArray(data6)){if(data6.type === undefined){const err9 = {instancePath:instancePath+"/searchParams/" + key0.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: "type"},message:"must have required property '"+"type"+"'"};if(vErrors === null){vErrors = [err9];}else {vErrors.push(err9);}errors++;}if(data6.expr === undefined){const err10 = {instancePath:instancePath+"/searchParams/" + key0.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: "expr"},message:"must have required property '"+"expr"+"'"};if(vErrors === null){vErrors = [err10];}else {vErrors.push(err10);}errors++;}if(data6.type !== undefined){let data7 = data6.type;if(typeof data7 !== "string"){const err11 = {instancePath:instancePath+"/searchParams/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/type",schemaPath:"#/$defs/expression/properties/type/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err11];}else {vErrors.push(err11);}errors++;}if(!(((data7 === "js-fn") || (data7 === "js-eval")) || (data7 === "js-tpl"))){const err12 = {instancePath:instancePath+"/searchParams/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/type",schemaPath:"#/$defs/expression/properties/type/enum",keyword:"enum",params:{allowedValues: schema56.properties.type.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err12];}else {vErrors.push(err12);}errors++;}}if(data6.expr !== undefined){if(typeof data6.expr !== "string"){const err13 = {instancePath:instancePath+"/searchParams/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/expr",schemaPath:"#/$defs/expression/properties/expr/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err13];}else {vErrors.push(err13);}errors++;}}if(data6.ref !== undefined){let data9 = data6.ref;if(!(((typeof data9 == "number") && (!(data9 % 1) && !isNaN(data9))) && (isFinite(data9)))){const err14 = {instancePath:instancePath+"/searchParams/" + key0.replace(/~/g, "~0").replace(/\//g, "~1")+"/ref",schemaPath:"#/$defs/expression/properties/ref/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err14];}else {vErrors.push(err14);}errors++;}}}else {const err15 = {instancePath:instancePath+"/searchParams/" + key0.replace(/~/g, "~0").replace(/\//g, "~1"),schemaPath:"#/$defs/expression/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err15];}else {vErrors.push(err15);}errors++;}props0[key0] = true;}}}else {const err16 = {instancePath:instancePath+"/searchParams",schemaPath:"#/properties/searchParams/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err16];}else {vErrors.push(err16);}errors++;}}}else {const err17 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err17];}else {vErrors.push(err17);}errors++;}validate70.errors = vErrors;return errors === 0;}validate70.evaluated = {"props":{"url":true,"qSearchParam":true,"searchParams":true},"dynamicProps":false,"dynamicItems":false};function validate69(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate69.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(!(data && typeof data == "object" && !Array.isArray(data))){const err0 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}if(data && typeof data == "object" && !Array.isArray(data)){if(data.returnObjects !== undefined){if(typeof data.returnObjects !== "boolean"){const err1 = {instancePath:instancePath+"/returnObjects",schemaPath:"#/allOf/0/properties/returnObjects/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}}if(data.itemsResults !== undefined){let data1 = data.itemsResults;if(data1 && typeof data1 == "object" && !Array.isArray(data1)){if(data1.type === undefined){const err2 = {instancePath:instancePath+"/itemsResults",schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: "type"},message:"must have required property '"+"type"+"'"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}if(data1.expr === undefined){const err3 = {instancePath:instancePath+"/itemsResults",schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: "expr"},message:"must have required property '"+"expr"+"'"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}if(data1.type !== undefined){let data2 = data1.type;if(typeof data2 !== "string"){const err4 = {instancePath:instancePath+"/itemsResults/type",schemaPath:"#/$defs/expression/properties/type/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}if(!(((data2 === "js-fn") || (data2 === "js-eval")) || (data2 === "js-tpl"))){const err5 = {instancePath:instancePath+"/itemsResults/type",schemaPath:"#/$defs/expression/properties/type/enum",keyword:"enum",params:{allowedValues: schema56.properties.type.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}}if(data1.expr !== undefined){if(typeof data1.expr !== "string"){const err6 = {instancePath:instancePath+"/itemsResults/expr",schemaPath:"#/$defs/expression/properties/expr/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}}if(data1.ref !== undefined){let data4 = data1.ref;if(!(((typeof data4 == "number") && (!(data4 % 1) && !isNaN(data4))) && (isFinite(data4)))){const err7 = {instancePath:instancePath+"/itemsResults/ref",schemaPath:"#/$defs/expression/properties/ref/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}}}else {const err8 = {instancePath:instancePath+"/itemsResults",schemaPath:"#/$defs/expression/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}}if(data.itemTitle !== undefined){let data5 = data.itemTitle;if(data5 && typeof data5 == "object" && !Array.isArray(data5)){if(data5.type === undefined){const err9 = {instancePath:instancePath+"/itemTitle",schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: "type"},message:"must have required property '"+"type"+"'"};if(vErrors === null){vErrors = [err9];}else {vErrors.push(err9);}errors++;}if(data5.expr === undefined){const err10 = {instancePath:instancePath+"/itemTitle",schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: "expr"},message:"must have required property '"+"expr"+"'"};if(vErrors === null){vErrors = [err10];}else {vErrors.push(err10);}errors++;}if(data5.type !== undefined){let data6 = data5.type;if(typeof data6 !== "string"){const err11 = {instancePath:instancePath+"/itemTitle/type",schemaPath:"#/$defs/expression/properties/type/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err11];}else {vErrors.push(err11);}errors++;}if(!(((data6 === "js-fn") || (data6 === "js-eval")) || (data6 === "js-tpl"))){const err12 = {instancePath:instancePath+"/itemTitle/type",schemaPath:"#/$defs/expression/properties/type/enum",keyword:"enum",params:{allowedValues: schema56.properties.type.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err12];}else {vErrors.push(err12);}errors++;}}if(data5.expr !== undefined){if(typeof data5.expr !== "string"){const err13 = {instancePath:instancePath+"/itemTitle/expr",schemaPath:"#/$defs/expression/properties/expr/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err13];}else {vErrors.push(err13);}errors++;}}if(data5.ref !== undefined){let data8 = data5.ref;if(!(((typeof data8 == "number") && (!(data8 % 1) && !isNaN(data8))) && (isFinite(data8)))){const err14 = {instancePath:instancePath+"/itemTitle/ref",schemaPath:"#/$defs/expression/properties/ref/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err14];}else {vErrors.push(err14);}errors++;}}}else {const err15 = {instancePath:instancePath+"/itemTitle",schemaPath:"#/$defs/expression/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err15];}else {vErrors.push(err15);}errors++;}}if(data.itemKey !== undefined){let data9 = data.itemKey;if(data9 && typeof data9 == "object" && !Array.isArray(data9)){if(data9.type === undefined){const err16 = {instancePath:instancePath+"/itemKey",schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: "type"},message:"must have required property '"+"type"+"'"};if(vErrors === null){vErrors = [err16];}else {vErrors.push(err16);}errors++;}if(data9.expr === undefined){const err17 = {instancePath:instancePath+"/itemKey",schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: "expr"},message:"must have required property '"+"expr"+"'"};if(vErrors === null){vErrors = [err17];}else {vErrors.push(err17);}errors++;}if(data9.type !== undefined){let data10 = data9.type;if(typeof data10 !== "string"){const err18 = {instancePath:instancePath+"/itemKey/type",schemaPath:"#/$defs/expression/properties/type/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err18];}else {vErrors.push(err18);}errors++;}if(!(((data10 === "js-fn") || (data10 === "js-eval")) || (data10 === "js-tpl"))){const err19 = {instancePath:instancePath+"/itemKey/type",schemaPath:"#/$defs/expression/properties/type/enum",keyword:"enum",params:{allowedValues: schema56.properties.type.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err19];}else {vErrors.push(err19);}errors++;}}if(data9.expr !== undefined){if(typeof data9.expr !== "string"){const err20 = {instancePath:instancePath+"/itemKey/expr",schemaPath:"#/$defs/expression/properties/expr/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err20];}else {vErrors.push(err20);}errors++;}}if(data9.ref !== undefined){let data12 = data9.ref;if(!(((typeof data12 == "number") && (!(data12 % 1) && !isNaN(data12))) && (isFinite(data12)))){const err21 = {instancePath:instancePath+"/itemKey/ref",schemaPath:"#/$defs/expression/properties/ref/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err21];}else {vErrors.push(err21);}errors++;}}}else {const err22 = {instancePath:instancePath+"/itemKey",schemaPath:"#/$defs/expression/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err22];}else {vErrors.push(err22);}errors++;}}if(data.itemValue !== undefined){let data13 = data.itemValue;if(data13 && typeof data13 == "object" && !Array.isArray(data13)){if(data13.type === undefined){const err23 = {instancePath:instancePath+"/itemValue",schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: "type"},message:"must have required property '"+"type"+"'"};if(vErrors === null){vErrors = [err23];}else {vErrors.push(err23);}errors++;}if(data13.expr === undefined){const err24 = {instancePath:instancePath+"/itemValue",schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: "expr"},message:"must have required property '"+"expr"+"'"};if(vErrors === null){vErrors = [err24];}else {vErrors.push(err24);}errors++;}if(data13.type !== undefined){let data14 = data13.type;if(typeof data14 !== "string"){const err25 = {instancePath:instancePath+"/itemValue/type",schemaPath:"#/$defs/expression/properties/type/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err25];}else {vErrors.push(err25);}errors++;}if(!(((data14 === "js-fn") || (data14 === "js-eval")) || (data14 === "js-tpl"))){const err26 = {instancePath:instancePath+"/itemValue/type",schemaPath:"#/$defs/expression/properties/type/enum",keyword:"enum",params:{allowedValues: schema56.properties.type.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err26];}else {vErrors.push(err26);}errors++;}}if(data13.expr !== undefined){if(typeof data13.expr !== "string"){const err27 = {instancePath:instancePath+"/itemValue/expr",schemaPath:"#/$defs/expression/properties/expr/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err27];}else {vErrors.push(err27);}errors++;}}if(data13.ref !== undefined){let data16 = data13.ref;if(!(((typeof data16 == "number") && (!(data16 % 1) && !isNaN(data16))) && (isFinite(data16)))){const err28 = {instancePath:instancePath+"/itemValue/ref",schemaPath:"#/$defs/expression/properties/ref/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err28];}else {vErrors.push(err28);}errors++;}}}else {const err29 = {instancePath:instancePath+"/itemValue",schemaPath:"#/$defs/expression/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err29];}else {vErrors.push(err29);}errors++;}}if(data.itemIcon !== undefined){let data17 = data.itemIcon;if(data17 && typeof data17 == "object" && !Array.isArray(data17)){if(data17.type === undefined){const err30 = {instancePath:instancePath+"/itemIcon",schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: "type"},message:"must have required property '"+"type"+"'"};if(vErrors === null){vErrors = [err30];}else {vErrors.push(err30);}errors++;}if(data17.expr === undefined){const err31 = {instancePath:instancePath+"/itemIcon",schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: "expr"},message:"must have required property '"+"expr"+"'"};if(vErrors === null){vErrors = [err31];}else {vErrors.push(err31);}errors++;}if(data17.type !== undefined){let data18 = data17.type;if(typeof data18 !== "string"){const err32 = {instancePath:instancePath+"/itemIcon/type",schemaPath:"#/$defs/expression/properties/type/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err32];}else {vErrors.push(err32);}errors++;}if(!(((data18 === "js-fn") || (data18 === "js-eval")) || (data18 === "js-tpl"))){const err33 = {instancePath:instancePath+"/itemIcon/type",schemaPath:"#/$defs/expression/properties/type/enum",keyword:"enum",params:{allowedValues: schema56.properties.type.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err33];}else {vErrors.push(err33);}errors++;}}if(data17.expr !== undefined){if(typeof data17.expr !== "string"){const err34 = {instancePath:instancePath+"/itemIcon/expr",schemaPath:"#/$defs/expression/properties/expr/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err34];}else {vErrors.push(err34);}errors++;}}if(data17.ref !== undefined){let data20 = data17.ref;if(!(((typeof data20 == "number") && (!(data20 % 1) && !isNaN(data20))) && (isFinite(data20)))){const err35 = {instancePath:instancePath+"/itemIcon/ref",schemaPath:"#/$defs/expression/properties/ref/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err35];}else {vErrors.push(err35);}errors++;}}}else {const err36 = {instancePath:instancePath+"/itemIcon",schemaPath:"#/$defs/expression/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err36];}else {vErrors.push(err36);}errors++;}}}const _errs50 = errors;let valid12 = false;let passing0 = null;const _errs51 = errors;if(data && typeof data == "object" && !Array.isArray(data)){if(data.type === undefined){const err37 = {instancePath,schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: "type"},message:"must have required property '"+"type"+"'"};if(vErrors === null){vErrors = [err37];}else {vErrors.push(err37);}errors++;}if(data.expr === undefined){const err38 = {instancePath,schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: "expr"},message:"must have required property '"+"expr"+"'"};if(vErrors === null){vErrors = [err38];}else {vErrors.push(err38);}errors++;}if(data.type !== undefined){let data21 = data.type;if(typeof data21 !== "string"){const err39 = {instancePath:instancePath+"/type",schemaPath:"#/$defs/expression/properties/type/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err39];}else {vErrors.push(err39);}errors++;}if(!(((data21 === "js-fn") || (data21 === "js-eval")) || (data21 === "js-tpl"))){const err40 = {instancePath:instancePath+"/type",schemaPath:"#/$defs/expression/properties/type/enum",keyword:"enum",params:{allowedValues: schema56.properties.type.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err40];}else {vErrors.push(err40);}errors++;}}if(data.expr !== undefined){if(typeof data.expr !== "string"){const err41 = {instancePath:instancePath+"/expr",schemaPath:"#/$defs/expression/properties/expr/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err41];}else {vErrors.push(err41);}errors++;}}if(data.ref !== undefined){let data23 = data.ref;if(!(((typeof data23 == "number") && (!(data23 % 1) && !isNaN(data23))) && (isFinite(data23)))){const err42 = {instancePath:instancePath+"/ref",schemaPath:"#/$defs/expression/properties/ref/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err42];}else {vErrors.push(err42);}errors++;}}}else {const err43 = {instancePath,schemaPath:"#/$defs/expression/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err43];}else {vErrors.push(err43);}errors++;}var _valid0 = _errs51 === errors;if(_valid0){valid12 = true;passing0 = 0;var props0 = {};props0.type = true;props0.expr = true;props0.ref = true;}const _errs60 = errors;if(!(validate70(data, {instancePath,parentData,parentDataProperty,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate70.errors : vErrors.concat(validate70.errors);errors = vErrors.length;}var _valid0 = _errs60 === errors;if(_valid0 && valid12){valid12 = false;passing0 = [passing0, 1];}else {if(_valid0){valid12 = true;passing0 = 1;if(props0 !== true){props0 = props0 || {};props0.url = true;props0.qSearchParam = true;props0.searchParams = true;}}}if(!valid12){const err44 = {instancePath,schemaPath:"#/allOf/1/oneOf",keyword:"oneOf",params:{passingSchemas: passing0},message:"must match exactly one schema in oneOf"};if(vErrors === null){vErrors = [err44];}else {vErrors.push(err44);}errors++;}else {errors = _errs50;if(vErrors !== null){if(_errs50){vErrors.length = _errs50;}else {vErrors = null;}}}if(props0 !== true){props0 = props0 || {};props0.returnObjects = true;props0.itemsResults = true;props0.itemTitle = true;props0.itemKey = true;props0.itemValue = true;props0.itemIcon = true;}validate69.errors = vErrors;evaluated0.props = props0;return errors === 0;}validate69.evaluated = {"dynamicProps":true,"dynamicItems":false};function validate66(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate66.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(data && typeof data == "object" && !Array.isArray(data)){if(data.comp === undefined){const err0 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "comp"},message:"must have required property '"+"comp"+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}if(data.label === undefined){const err1 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data.comp !== undefined){if("combobox" !== data.comp){const err2 = {instancePath:instancePath+"/comp",schemaPath:"#/properties/comp/const",keyword:"const",params:{allowedValue: "combobox"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}}if(data.label !== undefined){if(typeof data.label !== "string"){const err3 = {instancePath:instancePath+"/label",schemaPath:"#/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}}if(data.autofocus !== undefined){if(typeof data.autofocus !== "boolean"){const err4 = {instancePath:instancePath+"/autofocus",schemaPath:"#/properties/autofocus/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}if(data.items !== undefined){if(!(validate67(data.items, {instancePath:instancePath+"/items",parentData:data,parentDataProperty:"items",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate67.errors : vErrors.concat(validate67.errors);errors = vErrors.length;}}if(data.getItems !== undefined){if(!(validate69(data.getItems, {instancePath:instancePath+"/getItems",parentData:data,parentDataProperty:"getItems",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate69.errors : vErrors.concat(validate69.errors);errors = vErrors.length;}}if(data.multiple !== undefined){if(typeof data.multiple !== "boolean"){const err5 = {instancePath:instancePath+"/multiple",schemaPath:"#/properties/multiple/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}}}else {const err6 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}validate66.errors = vErrors;return errors === 0;}validate66.evaluated = {"props":{"comp":true,"label":true,"autofocus":true,"items":true,"getItems":true,"multiple":true},"dynamicProps":false,"dynamicItems":false};const schema90 = {"type":"object","required":["comp","label"],"properties":{"comp":{"const":"number-combobox"},"label":{"type":"string"},"autofocus":{"type":"boolean"},"items":{"$ref":"#/$defs/select-items"},"getItems":{"$ref":"#/$defs/get-items"},"multiple":{"type":"boolean"},"step":{"type":"number"},"min":{"type":"number"},"max":{"type":"number"}}};function validate73(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate73.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(data && typeof data == "object" && !Array.isArray(data)){if(data.comp === undefined){const err0 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "comp"},message:"must have required property '"+"comp"+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}if(data.label === undefined){const err1 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data.comp !== undefined){if("number-combobox" !== data.comp){const err2 = {instancePath:instancePath+"/comp",schemaPath:"#/properties/comp/const",keyword:"const",params:{allowedValue: "number-combobox"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}}if(data.label !== undefined){if(typeof data.label !== "string"){const err3 = {instancePath:instancePath+"/label",schemaPath:"#/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}}if(data.autofocus !== undefined){if(typeof data.autofocus !== "boolean"){const err4 = {instancePath:instancePath+"/autofocus",schemaPath:"#/properties/autofocus/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}if(data.items !== undefined){if(!(validate67(data.items, {instancePath:instancePath+"/items",parentData:data,parentDataProperty:"items",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate67.errors : vErrors.concat(validate67.errors);errors = vErrors.length;}}if(data.getItems !== undefined){if(!(validate69(data.getItems, {instancePath:instancePath+"/getItems",parentData:data,parentDataProperty:"getItems",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate69.errors : vErrors.concat(validate69.errors);errors = vErrors.length;}}if(data.multiple !== undefined){if(typeof data.multiple !== "boolean"){const err5 = {instancePath:instancePath+"/multiple",schemaPath:"#/properties/multiple/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}}if(data.step !== undefined){let data6 = data.step;if(!((typeof data6 == "number") && (isFinite(data6)))){const err6 = {instancePath:instancePath+"/step",schemaPath:"#/properties/step/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}}if(data.min !== undefined){let data7 = data.min;if(!((typeof data7 == "number") && (isFinite(data7)))){const err7 = {instancePath:instancePath+"/min",schemaPath:"#/properties/min/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}}if(data.max !== undefined){let data8 = data.max;if(!((typeof data8 == "number") && (isFinite(data8)))){const err8 = {instancePath:instancePath+"/max",schemaPath:"#/properties/max/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}}}else {const err9 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err9];}else {vErrors.push(err9);}errors++;}validate73.errors = vErrors;return errors === 0;}validate73.evaluated = {"props":{"comp":true,"label":true,"autofocus":true,"items":true,"getItems":true,"multiple":true,"step":true,"min":true,"max":true},"dynamicProps":false,"dynamicItems":false};const schema91 = {"type":"object","required":["comp","label"],"properties":{"comp":{"const":"select"},"label":{"type":"string"},"autofocus":{"type":"boolean"},"items":{"$ref":"#/$defs/select-items"},"getItems":{"$ref":"#/$defs/get-items"},"multiple":{"type":"boolean"}}};function validate76(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate76.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(data && typeof data == "object" && !Array.isArray(data)){if(data.comp === undefined){const err0 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "comp"},message:"must have required property '"+"comp"+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}if(data.label === undefined){const err1 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data.comp !== undefined){if("select" !== data.comp){const err2 = {instancePath:instancePath+"/comp",schemaPath:"#/properties/comp/const",keyword:"const",params:{allowedValue: "select"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}}if(data.label !== undefined){if(typeof data.label !== "string"){const err3 = {instancePath:instancePath+"/label",schemaPath:"#/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}}if(data.autofocus !== undefined){if(typeof data.autofocus !== "boolean"){const err4 = {instancePath:instancePath+"/autofocus",schemaPath:"#/properties/autofocus/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}if(data.items !== undefined){if(!(validate67(data.items, {instancePath:instancePath+"/items",parentData:data,parentDataProperty:"items",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate67.errors : vErrors.concat(validate67.errors);errors = vErrors.length;}}if(data.getItems !== undefined){if(!(validate69(data.getItems, {instancePath:instancePath+"/getItems",parentData:data,parentDataProperty:"getItems",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate69.errors : vErrors.concat(validate69.errors);errors = vErrors.length;}}if(data.multiple !== undefined){if(typeof data.multiple !== "boolean"){const err5 = {instancePath:instancePath+"/multiple",schemaPath:"#/properties/multiple/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}}}else {const err6 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}validate76.errors = vErrors;return errors === 0;}validate76.evaluated = {"props":{"comp":true,"label":true,"autofocus":true,"items":true,"getItems":true,"multiple":true},"dynamicProps":false,"dynamicItems":false};const schema92 = {"type":"object","required":["comp","label"],"properties":{"comp":{"const":"autocomplete"},"label":{"type":"string"},"autofocus":{"type":"boolean"},"items":{"$ref":"#/$defs/select-items"},"getItems":{"$ref":"#/$defs/get-items"},"multiple":{"type":"boolean"}}};function validate79(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate79.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(data && typeof data == "object" && !Array.isArray(data)){if(data.comp === undefined){const err0 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "comp"},message:"must have required property '"+"comp"+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}if(data.label === undefined){const err1 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data.comp !== undefined){if("autocomplete" !== data.comp){const err2 = {instancePath:instancePath+"/comp",schemaPath:"#/properties/comp/const",keyword:"const",params:{allowedValue: "autocomplete"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}}if(data.label !== undefined){if(typeof data.label !== "string"){const err3 = {instancePath:instancePath+"/label",schemaPath:"#/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}}if(data.autofocus !== undefined){if(typeof data.autofocus !== "boolean"){const err4 = {instancePath:instancePath+"/autofocus",schemaPath:"#/properties/autofocus/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}if(data.items !== undefined){if(!(validate67(data.items, {instancePath:instancePath+"/items",parentData:data,parentDataProperty:"items",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate67.errors : vErrors.concat(validate67.errors);errors = vErrors.length;}}if(data.getItems !== undefined){if(!(validate69(data.getItems, {instancePath:instancePath+"/getItems",parentData:data,parentDataProperty:"getItems",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate69.errors : vErrors.concat(validate69.errors);errors = vErrors.length;}}if(data.multiple !== undefined){if(typeof data.multiple !== "boolean"){const err5 = {instancePath:instancePath+"/multiple",schemaPath:"#/properties/multiple/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}}}else {const err6 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}validate79.errors = vErrors;return errors === 0;}validate79.evaluated = {"props":{"comp":true,"label":true,"autofocus":true,"items":true,"getItems":true,"multiple":true},"dynamicProps":false,"dynamicItems":false};const schema93 = {"type":"object","required":["comp","children"],"properties":{"comp":{"const":"section"},"title":{"type":["string","null"]},"subtitle":{"type":["string","null"]},"children":{"$ref":"#/$defs/children"}}};const schema94 = {"type":"array","items":{"$ref":"#/$defs/child"}};const schema95 = {"type":"object","unevaluatedProperties":false,"required":["key"],"properties":{"key":{"type":["string","integer"]},"cols":{"$ref":"#/$defs/cols-obj"}},"anyOf":[{},{"$ref":"#/$defs/composite-comp-object"}]};const schema96 = {"type":"object","discriminator":{"propertyName":"comp"},"oneOf":[{"$ref":"#/$defs/section"},{"$ref":"#/$defs/tabs"},{"$ref":"#/$defs/vertical-tabs"},{"$ref":"#/$defs/expansion-panels"}]};const wrapper4 = {validate: validate82};const schema97 = {"type":"object","required":["comp","children"],"properties":{"comp":{"const":"tabs"},"title":{"type":["string","null"]},"subtitle":{"type":["string","null"]},"children":{"$ref":"#/$defs/children"}}};const wrapper1 = {validate: validate83};function validate86(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate86.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(data && typeof data == "object" && !Array.isArray(data)){if(data.comp === undefined){const err0 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "comp"},message:"must have required property '"+"comp"+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}if(data.children === undefined){const err1 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "children"},message:"must have required property '"+"children"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data.comp !== undefined){if("tabs" !== data.comp){const err2 = {instancePath:instancePath+"/comp",schemaPath:"#/properties/comp/const",keyword:"const",params:{allowedValue: "tabs"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}}if(data.title !== undefined){let data1 = data.title;if((typeof data1 !== "string") && (data1 !== null)){const err3 = {instancePath:instancePath+"/title",schemaPath:"#/properties/title/type",keyword:"type",params:{type: schema97.properties.title.type},message:"must be string,null"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}}if(data.subtitle !== undefined){let data2 = data.subtitle;if((typeof data2 !== "string") && (data2 !== null)){const err4 = {instancePath:instancePath+"/subtitle",schemaPath:"#/properties/subtitle/type",keyword:"type",params:{type: schema97.properties.subtitle.type},message:"must be string,null"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}if(data.children !== undefined){if(!(wrapper1.validate(data.children, {instancePath:instancePath+"/children",parentData:data,parentDataProperty:"children",rootData,dynamicAnchors}))){vErrors = vErrors === null ? wrapper1.validate.errors : vErrors.concat(wrapper1.validate.errors);errors = vErrors.length;}}}else {const err5 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}validate86.errors = vErrors;return errors === 0;}validate86.evaluated = {"props":{"comp":true,"title":true,"subtitle":true,"children":true},"dynamicProps":false,"dynamicItems":false};const schema98 = {"type":"object","required":["comp","children"],"properties":{"comp":{"const":"vertical-tabs"},"title":{"type":["string","null"]},"subtitle":{"type":["string","null"]},"children":{"$ref":"#/$defs/children"}}};function validate87(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate87.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(data && typeof data == "object" && !Array.isArray(data)){if(data.comp === undefined){const err0 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "comp"},message:"must have required property '"+"comp"+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}if(data.children === undefined){const err1 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "children"},message:"must have required property '"+"children"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data.comp !== undefined){if("vertical-tabs" !== data.comp){const err2 = {instancePath:instancePath+"/comp",schemaPath:"#/properties/comp/const",keyword:"const",params:{allowedValue: "vertical-tabs"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}}if(data.title !== undefined){let data1 = data.title;if((typeof data1 !== "string") && (data1 !== null)){const err3 = {instancePath:instancePath+"/title",schemaPath:"#/properties/title/type",keyword:"type",params:{type: schema98.properties.title.type},message:"must be string,null"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}}if(data.subtitle !== undefined){let data2 = data.subtitle;if((typeof data2 !== "string") && (data2 !== null)){const err4 = {instancePath:instancePath+"/subtitle",schemaPath:"#/properties/subtitle/type",keyword:"type",params:{type: schema98.properties.subtitle.type},message:"must be string,null"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}if(data.children !== undefined){if(!(wrapper1.validate(data.children, {instancePath:instancePath+"/children",parentData:data,parentDataProperty:"children",rootData,dynamicAnchors}))){vErrors = vErrors === null ? wrapper1.validate.errors : vErrors.concat(wrapper1.validate.errors);errors = vErrors.length;}}}else {const err5 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}validate87.errors = vErrors;return errors === 0;}validate87.evaluated = {"props":{"comp":true,"title":true,"subtitle":true,"children":true},"dynamicProps":false,"dynamicItems":false};const schema99 = {"type":"object","required":["comp","children"],"properties":{"comp":{"const":"expansion-panels"},"title":{"type":["string","null"]},"subtitle":{"type":["string","null"]},"children":{"$ref":"#/$defs/children"}}};function validate88(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate88.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(data && typeof data == "object" && !Array.isArray(data)){if(data.comp === undefined){const err0 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "comp"},message:"must have required property '"+"comp"+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}if(data.children === undefined){const err1 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "children"},message:"must have required property '"+"children"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data.comp !== undefined){if("expansion-panels" !== data.comp){const err2 = {instancePath:instancePath+"/comp",schemaPath:"#/properties/comp/const",keyword:"const",params:{allowedValue: "expansion-panels"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}}if(data.title !== undefined){let data1 = data.title;if((typeof data1 !== "string") && (data1 !== null)){const err3 = {instancePath:instancePath+"/title",schemaPath:"#/properties/title/type",keyword:"type",params:{type: schema99.properties.title.type},message:"must be string,null"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}}if(data.subtitle !== undefined){let data2 = data.subtitle;if((typeof data2 !== "string") && (data2 !== null)){const err4 = {instancePath:instancePath+"/subtitle",schemaPath:"#/properties/subtitle/type",keyword:"type",params:{type: schema99.properties.subtitle.type},message:"must be string,null"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}if(data.children !== undefined){if(!(wrapper1.validate(data.children, {instancePath:instancePath+"/children",parentData:data,parentDataProperty:"children",rootData,dynamicAnchors}))){vErrors = vErrors === null ? wrapper1.validate.errors : vErrors.concat(wrapper1.validate.errors);errors = vErrors.length;}}}else {const err5 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}validate88.errors = vErrors;return errors === 0;}validate88.evaluated = {"props":{"comp":true,"title":true,"subtitle":true,"children":true},"dynamicProps":false,"dynamicItems":false};function validate85(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate85.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(data && typeof data == "object" && !Array.isArray(data)){const tag0 = data.comp;if(typeof tag0 == "string"){if(tag0 === "section"){if(!(wrapper4.validate(data, {instancePath,parentData,parentDataProperty,rootData,dynamicAnchors}))){vErrors = vErrors === null ? wrapper4.validate.errors : vErrors.concat(wrapper4.validate.errors);errors = vErrors.length;}else {var props0 = wrapper4.validate.evaluated.props;var items0 = wrapper4.validate.evaluated.items;}}else if(tag0 === "tabs"){if(!(validate86(data, {instancePath,parentData,parentDataProperty,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate86.errors : vErrors.concat(validate86.errors);errors = vErrors.length;}if(props0 !== true){props0 = props0 || {};props0.comp = true;props0.title = true;props0.subtitle = true;props0.children = true;}}else if(tag0 === "vertical-tabs"){if(!(validate87(data, {instancePath,parentData,parentDataProperty,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate87.errors : vErrors.concat(validate87.errors);errors = vErrors.length;}if(props0 !== true){props0 = props0 || {};props0.comp = true;props0.title = true;props0.subtitle = true;props0.children = true;}}else if(tag0 === "expansion-panels"){if(!(validate88(data, {instancePath,parentData,parentDataProperty,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate88.errors : vErrors.concat(validate88.errors);errors = vErrors.length;}if(props0 !== true){props0 = props0 || {};props0.comp = true;props0.title = true;props0.subtitle = true;props0.children = true;}}else {const err0 = {instancePath,schemaPath:"#/discriminator",keyword:"discriminator",params:{error: "mapping", tag: "comp", tagValue: tag0},message:"value of tag \"comp\" must be in oneOf"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}}else {const err1 = {instancePath,schemaPath:"#/discriminator",keyword:"discriminator",params:{error: "tag", tag: "comp", tagValue: tag0},message:"tag \"comp\" must be string"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}}else {const err2 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}validate85.errors = vErrors;evaluated0.props = props0;evaluated0.items = items0;return errors === 0;}validate85.evaluated = {"dynamicProps":true,"dynamicItems":true};function validate84(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate84.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}const _errs1 = errors;let valid0 = false;var _valid0 = true;valid0 = valid0 || _valid0;const _errs2 = errors;if(!(validate85(data, {instancePath,parentData,parentDataProperty,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate85.errors : vErrors.concat(validate85.errors);errors = vErrors.length;}else {var props0 = validate85.evaluated.props;var items0 = validate85.evaluated.items;}var _valid0 = _errs2 === errors;valid0 = valid0 || _valid0;if(!valid0){const err0 = {instancePath,schemaPath:"#/anyOf",keyword:"anyOf",params:{},message:"must match a schema in anyOf"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}else {errors = _errs1;if(vErrors !== null){if(_errs1){vErrors.length = _errs1;}else {vErrors = null;}}}if(data && typeof data == "object" && !Array.isArray(data)){if(data.key === undefined){const err1 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "key"},message:"must have required property '"+"key"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(props0 !== true){props0 = props0 || {};props0.key = true;props0.cols = true;}if(data.key !== undefined){let data0 = data.key;if((typeof data0 !== "string") && (!(((typeof data0 == "number") && (!(data0 % 1) && !isNaN(data0))) && (isFinite(data0))))){const err2 = {instancePath:instancePath+"/key",schemaPath:"#/properties/key/type",keyword:"type",params:{type: schema95.properties.key.type},message:"must be string,integer"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}}if(data.cols !== undefined){if(!(validate59(data.cols, {instancePath:instancePath+"/cols",parentData:data,parentDataProperty:"cols",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate59.errors : vErrors.concat(validate59.errors);errors = vErrors.length;}}if(props0 !== true){for(const key0 in data){if(!props0 || !props0[key0]){const err3 = {instancePath,schemaPath:"#/unevaluatedProperties",keyword:"unevaluatedProperties",params:{unevaluatedProperty: key0},message:"must NOT have unevaluated properties"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}}}}else {const err4 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}validate84.errors = vErrors;evaluated0.items = items0;return errors === 0;}validate84.evaluated = {"props":true,"dynamicProps":false,"dynamicItems":true};function validate83(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate83.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(Array.isArray(data)){const len0 = data.length;for(let i0=0; i0<len0; i0++){if(!(validate84(data[i0], {instancePath:instancePath+"/" + i0,parentData:data,parentDataProperty:i0,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate84.errors : vErrors.concat(validate84.errors);errors = vErrors.length;}}}else {const err0 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}validate83.errors = vErrors;return errors === 0;}validate83.evaluated = {"items":true,"dynamicProps":false,"dynamicItems":false};function validate82(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate82.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(data && typeof data == "object" && !Array.isArray(data)){if(data.comp === undefined){const err0 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "comp"},message:"must have required property '"+"comp"+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}if(data.children === undefined){const err1 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "children"},message:"must have required property '"+"children"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data.comp !== undefined){if("section" !== data.comp){const err2 = {instancePath:instancePath+"/comp",schemaPath:"#/properties/comp/const",keyword:"const",params:{allowedValue: "section"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}}if(data.title !== undefined){let data1 = data.title;if((typeof data1 !== "string") && (data1 !== null)){const err3 = {instancePath:instancePath+"/title",schemaPath:"#/properties/title/type",keyword:"type",params:{type: schema93.properties.title.type},message:"must be string,null"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}}if(data.subtitle !== undefined){let data2 = data.subtitle;if((typeof data2 !== "string") && (data2 !== null)){const err4 = {instancePath:instancePath+"/subtitle",schemaPath:"#/properties/subtitle/type",keyword:"type",params:{type: schema93.properties.subtitle.type},message:"must be string,null"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}if(data.children !== undefined){if(!(validate83(data.children, {instancePath:instancePath+"/children",parentData:data,parentDataProperty:"children",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate83.errors : vErrors.concat(validate83.errors);errors = vErrors.length;}}}else {const err5 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}validate82.errors = vErrors;return errors === 0;}validate82.evaluated = {"props":{"comp":true,"title":true,"subtitle":true,"children":true},"dynamicProps":false,"dynamicItems":false};const schema100 = {"type":"object","required":["comp","children"],"properties":{"comp":{"const":"stepper"},"title":{"type":["string","null"]},"subtitle":{"type":["string","null"]},"children":{"$ref":"#/$defs/children"}}};function validate96(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate96.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(data && typeof data == "object" && !Array.isArray(data)){if(data.comp === undefined){const err0 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "comp"},message:"must have required property '"+"comp"+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}if(data.children === undefined){const err1 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "children"},message:"must have required property '"+"children"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data.comp !== undefined){if("stepper" !== data.comp){const err2 = {instancePath:instancePath+"/comp",schemaPath:"#/properties/comp/const",keyword:"const",params:{allowedValue: "stepper"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}}if(data.title !== undefined){let data1 = data.title;if((typeof data1 !== "string") && (data1 !== null)){const err3 = {instancePath:instancePath+"/title",schemaPath:"#/properties/title/type",keyword:"type",params:{type: schema100.properties.title.type},message:"must be string,null"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}}if(data.subtitle !== undefined){let data2 = data.subtitle;if((typeof data2 !== "string") && (data2 !== null)){const err4 = {instancePath:instancePath+"/subtitle",schemaPath:"#/properties/subtitle/type",keyword:"type",params:{type: schema100.properties.subtitle.type},message:"must be string,null"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}if(data.children !== undefined){if(!(validate83(data.children, {instancePath:instancePath+"/children",parentData:data,parentDataProperty:"children",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate83.errors : vErrors.concat(validate83.errors);errors = vErrors.length;}}}else {const err5 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}validate96.errors = vErrors;return errors === 0;}validate96.evaluated = {"props":{"comp":true,"title":true,"subtitle":true,"children":true},"dynamicProps":false,"dynamicItems":false};const formats0 = ajvFormats.fullFormats.date;const formats4 = ajvFormats.fullFormats["date-time"];const formats8 = ajvFormats.fullFormats.time;function validate58(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate58.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(data && typeof data == "object" && !Array.isArray(data)){if(data.if !== undefined){let data0 = data.if;if(data0 && typeof data0 == "object" && !Array.isArray(data0)){if(data0.type === undefined){const err0 = {instancePath:instancePath+"/if",schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: "type"},message:"must have required property '"+"type"+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}if(data0.expr === undefined){const err1 = {instancePath:instancePath+"/if",schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: "expr"},message:"must have required property '"+"expr"+"'"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}if(data0.type !== undefined){let data1 = data0.type;if(typeof data1 !== "string"){const err2 = {instancePath:instancePath+"/if/type",schemaPath:"#/$defs/expression/properties/type/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}if(!(((data1 === "js-fn") || (data1 === "js-eval")) || (data1 === "js-tpl"))){const err3 = {instancePath:instancePath+"/if/type",schemaPath:"#/$defs/expression/properties/type/enum",keyword:"enum",params:{allowedValues: schema56.properties.type.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}}if(data0.expr !== undefined){if(typeof data0.expr !== "string"){const err4 = {instancePath:instancePath+"/if/expr",schemaPath:"#/$defs/expression/properties/expr/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err4];}else {vErrors.push(err4);}errors++;}}if(data0.ref !== undefined){let data3 = data0.ref;if(!(((typeof data3 == "number") && (!(data3 % 1) && !isNaN(data3))) && (isFinite(data3)))){const err5 = {instancePath:instancePath+"/if/ref",schemaPath:"#/$defs/expression/properties/ref/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err5];}else {vErrors.push(err5);}errors++;}}}else {const err6 = {instancePath:instancePath+"/if",schemaPath:"#/$defs/expression/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err6];}else {vErrors.push(err6);}errors++;}}if(data.defaultData !== undefined){let data4 = data.defaultData;if(data4 && typeof data4 == "object" && !Array.isArray(data4)){if(data4.type === undefined){const err7 = {instancePath:instancePath+"/defaultData",schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: "type"},message:"must have required property '"+"type"+"'"};if(vErrors === null){vErrors = [err7];}else {vErrors.push(err7);}errors++;}if(data4.expr === undefined){const err8 = {instancePath:instancePath+"/defaultData",schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: "expr"},message:"must have required property '"+"expr"+"'"};if(vErrors === null){vErrors = [err8];}else {vErrors.push(err8);}errors++;}if(data4.type !== undefined){let data5 = data4.type;if(typeof data5 !== "string"){const err9 = {instancePath:instancePath+"/defaultData/type",schemaPath:"#/$defs/expression/properties/type/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err9];}else {vErrors.push(err9);}errors++;}if(!(((data5 === "js-fn") || (data5 === "js-eval")) || (data5 === "js-tpl"))){const err10 = {instancePath:instancePath+"/defaultData/type",schemaPath:"#/$defs/expression/properties/type/enum",keyword:"enum",params:{allowedValues: schema56.properties.type.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err10];}else {vErrors.push(err10);}errors++;}}if(data4.expr !== undefined){if(typeof data4.expr !== "string"){const err11 = {instancePath:instancePath+"/defaultData/expr",schemaPath:"#/$defs/expression/properties/expr/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err11];}else {vErrors.push(err11);}errors++;}}if(data4.ref !== undefined){let data7 = data4.ref;if(!(((typeof data7 == "number") && (!(data7 % 1) && !isNaN(data7))) && (isFinite(data7)))){const err12 = {instancePath:instancePath+"/defaultData/ref",schemaPath:"#/$defs/expression/properties/ref/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err12];}else {vErrors.push(err12);}errors++;}}}else {const err13 = {instancePath:instancePath+"/defaultData",schemaPath:"#/$defs/expression/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err13];}else {vErrors.push(err13);}errors++;}}if(data.constData !== undefined){let data8 = data.constData;if(data8 && typeof data8 == "object" && !Array.isArray(data8)){if(data8.type === undefined){const err14 = {instancePath:instancePath+"/constData",schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: "type"},message:"must have required property '"+"type"+"'"};if(vErrors === null){vErrors = [err14];}else {vErrors.push(err14);}errors++;}if(data8.expr === undefined){const err15 = {instancePath:instancePath+"/constData",schemaPath:"#/$defs/expression/required",keyword:"required",params:{missingProperty: "expr"},message:"must have required property '"+"expr"+"'"};if(vErrors === null){vErrors = [err15];}else {vErrors.push(err15);}errors++;}if(data8.type !== undefined){let data9 = data8.type;if(typeof data9 !== "string"){const err16 = {instancePath:instancePath+"/constData/type",schemaPath:"#/$defs/expression/properties/type/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err16];}else {vErrors.push(err16);}errors++;}if(!(((data9 === "js-fn") || (data9 === "js-eval")) || (data9 === "js-tpl"))){const err17 = {instancePath:instancePath+"/constData/type",schemaPath:"#/$defs/expression/properties/type/enum",keyword:"enum",params:{allowedValues: schema56.properties.type.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err17];}else {vErrors.push(err17);}errors++;}}if(data8.expr !== undefined){if(typeof data8.expr !== "string"){const err18 = {instancePath:instancePath+"/constData/expr",schemaPath:"#/$defs/expression/properties/expr/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err18];}else {vErrors.push(err18);}errors++;}}if(data8.ref !== undefined){let data11 = data8.ref;if(!(((typeof data11 == "number") && (!(data11 % 1) && !isNaN(data11))) && (isFinite(data11)))){const err19 = {instancePath:instancePath+"/constData/ref",schemaPath:"#/$defs/expression/properties/ref/type",keyword:"type",params:{type: "integer"},message:"must be integer"};if(vErrors === null){vErrors = [err19];}else {vErrors.push(err19);}errors++;}}}else {const err20 = {instancePath:instancePath+"/constData",schemaPath:"#/$defs/expression/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err20];}else {vErrors.push(err20);}errors++;}}if(data.nullable !== undefined){if(typeof data.nullable !== "boolean"){const err21 = {instancePath:instancePath+"/nullable",schemaPath:"#/allOf/0/properties/nullable/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err21];}else {vErrors.push(err21);}errors++;}}if(data.help !== undefined){if(typeof data.help !== "string"){const err22 = {instancePath:instancePath+"/help",schemaPath:"#/allOf/0/properties/help/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err22];}else {vErrors.push(err22);}errors++;}}if(data.cols !== undefined){if(!(validate59(data.cols, {instancePath:instancePath+"/cols",parentData:data,parentDataProperty:"cols",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate59.errors : vErrors.concat(validate59.errors);errors = vErrors.length;}}if(data.props !== undefined){let data15 = data.props;if(data15 && typeof data15 == "object" && !Array.isArray(data15)){var props0 = {};for(const key0 in data15){if(pattern2.test(key0)){props0[key0] = true;}}}else {const err23 = {instancePath:instancePath+"/props",schemaPath:"#/$defs/state-node-props-lib/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err23];}else {vErrors.push(err23);}errors++;}}if(data.slots !== undefined){let data16 = data.slots;if(!(data16 && typeof data16 == "object" && !Array.isArray(data16))){const err24 = {instancePath:instancePath+"/slots",schemaPath:"#/allOf/0/properties/slots/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err24];}else {vErrors.push(err24);}errors++;}if(!(validate61(data16, {instancePath:instancePath+"/slots",parentData:data,parentDataProperty:"slots",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate61.errors : vErrors.concat(validate61.errors);errors = vErrors.length;}else {var props1 = validate61.evaluated.props;}if(data16 && typeof data16 == "object" && !Array.isArray(data16)){if(data16.before !== undefined){let data17 = data16.before;const _errs43 = errors;let valid13 = false;let passing0 = null;const _errs44 = errors;if(data17 && typeof data17 == "object" && !Array.isArray(data17)){if(data17.text === undefined){const err25 = {instancePath:instancePath+"/slots/before",schemaPath:"#/$defs/slot/oneOf/0/required",keyword:"required",params:{missingProperty: "text"},message:"must have required property '"+"text"+"'"};if(vErrors === null){vErrors = [err25];}else {vErrors.push(err25);}errors++;}for(const key1 in data17){if(!(key1 === "text")){const err26 = {instancePath:instancePath+"/slots/before",schemaPath:"#/$defs/slot/oneOf/0/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key1},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err26];}else {vErrors.push(err26);}errors++;}}if(data17.text !== undefined){if(typeof data17.text !== "string"){const err27 = {instancePath:instancePath+"/slots/before/text",schemaPath:"#/$defs/slot/oneOf/0/properties/text/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err27];}else {vErrors.push(err27);}errors++;}}}else {const err28 = {instancePath:instancePath+"/slots/before",schemaPath:"#/$defs/slot/oneOf/0/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err28];}else {vErrors.push(err28);}errors++;}var _valid0 = _errs44 === errors;if(_valid0){valid13 = true;passing0 = 0;var props2 = true;}const _errs49 = errors;if(data17 && typeof data17 == "object" && !Array.isArray(data17)){if(data17.markdown === undefined){const err29 = {instancePath:instancePath+"/slots/before",schemaPath:"#/$defs/slot/oneOf/1/required",keyword:"required",params:{missingProperty: "markdown"},message:"must have required property '"+"markdown"+"'"};if(vErrors === null){vErrors = [err29];}else {vErrors.push(err29);}errors++;}for(const key2 in data17){if(!(key2 === "markdown")){const err30 = {instancePath:instancePath+"/slots/before",schemaPath:"#/$defs/slot/oneOf/1/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key2},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err30];}else {vErrors.push(err30);}errors++;}}if(data17.markdown !== undefined){if(typeof data17.markdown !== "string"){const err31 = {instancePath:instancePath+"/slots/before/markdown",schemaPath:"#/$defs/slot/oneOf/1/properties/markdown/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err31];}else {vErrors.push(err31);}errors++;}}}else {const err32 = {instancePath:instancePath+"/slots/before",schemaPath:"#/$defs/slot/oneOf/1/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err32];}else {vErrors.push(err32);}errors++;}var _valid0 = _errs49 === errors;if(_valid0 && valid13){valid13 = false;passing0 = [passing0, 1];}else {if(_valid0){valid13 = true;passing0 = 1;if(props2 !== true){props2 = true;}}const _errs54 = errors;if(data17 && typeof data17 == "object" && !Array.isArray(data17)){if(data17.name === undefined){const err33 = {instancePath:instancePath+"/slots/before",schemaPath:"#/$defs/slot/oneOf/2/required",keyword:"required",params:{missingProperty: "name"},message:"must have required property '"+"name"+"'"};if(vErrors === null){vErrors = [err33];}else {vErrors.push(err33);}errors++;}for(const key3 in data17){if(!(key3 === "name")){const err34 = {instancePath:instancePath+"/slots/before",schemaPath:"#/$defs/slot/oneOf/2/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key3},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err34];}else {vErrors.push(err34);}errors++;}}if(data17.name !== undefined){if(typeof data17.name !== "string"){const err35 = {instancePath:instancePath+"/slots/before/name",schemaPath:"#/$defs/slot/oneOf/2/properties/name/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err35];}else {vErrors.push(err35);}errors++;}}}else {const err36 = {instancePath:instancePath+"/slots/before",schemaPath:"#/$defs/slot/oneOf/2/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err36];}else {vErrors.push(err36);}errors++;}var _valid0 = _errs54 === errors;if(_valid0 && valid13){valid13 = false;passing0 = [passing0, 2];}else {if(_valid0){valid13 = true;passing0 = 2;if(props2 !== true){props2 = true;}}}}if(!valid13){const err37 = {instancePath:instancePath+"/slots/before",schemaPath:"#/$defs/slot/oneOf",keyword:"oneOf",params:{passingSchemas: passing0},message:"must match exactly one schema in oneOf"};if(vErrors === null){vErrors = [err37];}else {vErrors.push(err37);}errors++;}else {errors = _errs43;if(vErrors !== null){if(_errs43){vErrors.length = _errs43;}else {vErrors = null;}}}}if(data16.after !== undefined){let data21 = data16.after;const _errs61 = errors;let valid18 = false;let passing1 = null;const _errs62 = errors;if(data21 && typeof data21 == "object" && !Array.isArray(data21)){if(data21.text === undefined){const err38 = {instancePath:instancePath+"/slots/after",schemaPath:"#/$defs/slot/oneOf/0/required",keyword:"required",params:{missingProperty: "text"},message:"must have required property '"+"text"+"'"};if(vErrors === null){vErrors = [err38];}else {vErrors.push(err38);}errors++;}for(const key4 in data21){if(!(key4 === "text")){const err39 = {instancePath:instancePath+"/slots/after",schemaPath:"#/$defs/slot/oneOf/0/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key4},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err39];}else {vErrors.push(err39);}errors++;}}if(data21.text !== undefined){if(typeof data21.text !== "string"){const err40 = {instancePath:instancePath+"/slots/after/text",schemaPath:"#/$defs/slot/oneOf/0/properties/text/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err40];}else {vErrors.push(err40);}errors++;}}}else {const err41 = {instancePath:instancePath+"/slots/after",schemaPath:"#/$defs/slot/oneOf/0/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err41];}else {vErrors.push(err41);}errors++;}var _valid1 = _errs62 === errors;if(_valid1){valid18 = true;passing1 = 0;var props3 = true;}const _errs67 = errors;if(data21 && typeof data21 == "object" && !Array.isArray(data21)){if(data21.markdown === undefined){const err42 = {instancePath:instancePath+"/slots/after",schemaPath:"#/$defs/slot/oneOf/1/required",keyword:"required",params:{missingProperty: "markdown"},message:"must have required property '"+"markdown"+"'"};if(vErrors === null){vErrors = [err42];}else {vErrors.push(err42);}errors++;}for(const key5 in data21){if(!(key5 === "markdown")){const err43 = {instancePath:instancePath+"/slots/after",schemaPath:"#/$defs/slot/oneOf/1/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key5},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err43];}else {vErrors.push(err43);}errors++;}}if(data21.markdown !== undefined){if(typeof data21.markdown !== "string"){const err44 = {instancePath:instancePath+"/slots/after/markdown",schemaPath:"#/$defs/slot/oneOf/1/properties/markdown/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err44];}else {vErrors.push(err44);}errors++;}}}else {const err45 = {instancePath:instancePath+"/slots/after",schemaPath:"#/$defs/slot/oneOf/1/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err45];}else {vErrors.push(err45);}errors++;}var _valid1 = _errs67 === errors;if(_valid1 && valid18){valid18 = false;passing1 = [passing1, 1];}else {if(_valid1){valid18 = true;passing1 = 1;if(props3 !== true){props3 = true;}}const _errs72 = errors;if(data21 && typeof data21 == "object" && !Array.isArray(data21)){if(data21.name === undefined){const err46 = {instancePath:instancePath+"/slots/after",schemaPath:"#/$defs/slot/oneOf/2/required",keyword:"required",params:{missingProperty: "name"},message:"must have required property '"+"name"+"'"};if(vErrors === null){vErrors = [err46];}else {vErrors.push(err46);}errors++;}for(const key6 in data21){if(!(key6 === "name")){const err47 = {instancePath:instancePath+"/slots/after",schemaPath:"#/$defs/slot/oneOf/2/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key6},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err47];}else {vErrors.push(err47);}errors++;}}if(data21.name !== undefined){if(typeof data21.name !== "string"){const err48 = {instancePath:instancePath+"/slots/after/name",schemaPath:"#/$defs/slot/oneOf/2/properties/name/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err48];}else {vErrors.push(err48);}errors++;}}}else {const err49 = {instancePath:instancePath+"/slots/after",schemaPath:"#/$defs/slot/oneOf/2/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err49];}else {vErrors.push(err49);}errors++;}var _valid1 = _errs72 === errors;if(_valid1 && valid18){valid18 = false;passing1 = [passing1, 2];}else {if(_valid1){valid18 = true;passing1 = 2;if(props3 !== true){props3 = true;}}}}if(!valid18){const err50 = {instancePath:instancePath+"/slots/after",schemaPath:"#/$defs/slot/oneOf",keyword:"oneOf",params:{passingSchemas: passing1},message:"must match exactly one schema in oneOf"};if(vErrors === null){vErrors = [err50];}else {vErrors.push(err50);}errors++;}else {errors = _errs61;if(vErrors !== null){if(_errs61){vErrors.length = _errs61;}else {vErrors = null;}}}}if(data16.component !== undefined){let data25 = data16.component;const _errs79 = errors;let valid23 = false;let passing2 = null;const _errs80 = errors;if(data25 && typeof data25 == "object" && !Array.isArray(data25)){if(data25.text === undefined){const err51 = {instancePath:instancePath+"/slots/component",schemaPath:"#/$defs/slot/oneOf/0/required",keyword:"required",params:{missingProperty: "text"},message:"must have required property '"+"text"+"'"};if(vErrors === null){vErrors = [err51];}else {vErrors.push(err51);}errors++;}for(const key7 in data25){if(!(key7 === "text")){const err52 = {instancePath:instancePath+"/slots/component",schemaPath:"#/$defs/slot/oneOf/0/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key7},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err52];}else {vErrors.push(err52);}errors++;}}if(data25.text !== undefined){if(typeof data25.text !== "string"){const err53 = {instancePath:instancePath+"/slots/component/text",schemaPath:"#/$defs/slot/oneOf/0/properties/text/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err53];}else {vErrors.push(err53);}errors++;}}}else {const err54 = {instancePath:instancePath+"/slots/component",schemaPath:"#/$defs/slot/oneOf/0/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err54];}else {vErrors.push(err54);}errors++;}var _valid2 = _errs80 === errors;if(_valid2){valid23 = true;passing2 = 0;var props4 = true;}const _errs85 = errors;if(data25 && typeof data25 == "object" && !Array.isArray(data25)){if(data25.markdown === undefined){const err55 = {instancePath:instancePath+"/slots/component",schemaPath:"#/$defs/slot/oneOf/1/required",keyword:"required",params:{missingProperty: "markdown"},message:"must have required property '"+"markdown"+"'"};if(vErrors === null){vErrors = [err55];}else {vErrors.push(err55);}errors++;}for(const key8 in data25){if(!(key8 === "markdown")){const err56 = {instancePath:instancePath+"/slots/component",schemaPath:"#/$defs/slot/oneOf/1/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key8},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err56];}else {vErrors.push(err56);}errors++;}}if(data25.markdown !== undefined){if(typeof data25.markdown !== "string"){const err57 = {instancePath:instancePath+"/slots/component/markdown",schemaPath:"#/$defs/slot/oneOf/1/properties/markdown/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err57];}else {vErrors.push(err57);}errors++;}}}else {const err58 = {instancePath:instancePath+"/slots/component",schemaPath:"#/$defs/slot/oneOf/1/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err58];}else {vErrors.push(err58);}errors++;}var _valid2 = _errs85 === errors;if(_valid2 && valid23){valid23 = false;passing2 = [passing2, 1];}else {if(_valid2){valid23 = true;passing2 = 1;if(props4 !== true){props4 = true;}}const _errs90 = errors;if(data25 && typeof data25 == "object" && !Array.isArray(data25)){if(data25.name === undefined){const err59 = {instancePath:instancePath+"/slots/component",schemaPath:"#/$defs/slot/oneOf/2/required",keyword:"required",params:{missingProperty: "name"},message:"must have required property '"+"name"+"'"};if(vErrors === null){vErrors = [err59];}else {vErrors.push(err59);}errors++;}for(const key9 in data25){if(!(key9 === "name")){const err60 = {instancePath:instancePath+"/slots/component",schemaPath:"#/$defs/slot/oneOf/2/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key9},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err60];}else {vErrors.push(err60);}errors++;}}if(data25.name !== undefined){if(typeof data25.name !== "string"){const err61 = {instancePath:instancePath+"/slots/component/name",schemaPath:"#/$defs/slot/oneOf/2/properties/name/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err61];}else {vErrors.push(err61);}errors++;}}}else {const err62 = {instancePath:instancePath+"/slots/component",schemaPath:"#/$defs/slot/oneOf/2/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err62];}else {vErrors.push(err62);}errors++;}var _valid2 = _errs90 === errors;if(_valid2 && valid23){valid23 = false;passing2 = [passing2, 2];}else {if(_valid2){valid23 = true;passing2 = 2;if(props4 !== true){props4 = true;}}}}if(!valid23){const err63 = {instancePath:instancePath+"/slots/component",schemaPath:"#/$defs/slot/oneOf",keyword:"oneOf",params:{passingSchemas: passing2},message:"must match exactly one schema in oneOf"};if(vErrors === null){vErrors = [err63];}else {vErrors.push(err63);}errors++;}else {errors = _errs79;if(vErrors !== null){if(_errs79){vErrors.length = _errs79;}else {vErrors = null;}}}}}if(props1 !== true){props1 = props1 || {};props1.before = true;props1.after = true;props1.component = true;}}if(data.options !== undefined){if(!(validate63(data.options, {instancePath:instancePath+"/options",parentData:data,parentDataProperty:"options",rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate63.errors : vErrors.concat(validate63.errors);errors = vErrors.length;}}}if(data && typeof data == "object" && !Array.isArray(data)){const tag0 = data.comp;if(typeof tag0 == "string"){if(tag0 === "none"){if(data && typeof data == "object" && !Array.isArray(data)){if(data.comp === undefined){const err64 = {instancePath,schemaPath:"#/$defs/none/required",keyword:"required",params:{missingProperty: "comp"},message:"must have required property '"+"comp"+"'"};if(vErrors === null){vErrors = [err64];}else {vErrors.push(err64);}errors++;}if(data.comp !== undefined){if("none" !== data.comp){const err65 = {instancePath:instancePath+"/comp",schemaPath:"#/$defs/none/properties/comp/const",keyword:"const",params:{allowedValue: "none"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err65];}else {vErrors.push(err65);}errors++;}}}else {const err66 = {instancePath,schemaPath:"#/$defs/none/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err66];}else {vErrors.push(err66);}errors++;}var props6 = {};props6.comp = true;}else if(tag0 === "list"){if(!(validate65(data, {instancePath,parentData,parentDataProperty,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate65.errors : vErrors.concat(validate65.errors);errors = vErrors.length;}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.title = true;props6.listEditMode = true;props6.listActions = true;props6.itemTitle = true;props6.itemSubtitle = true;props6.messages = true;}}else if(tag0 === "text-field"){if(data && typeof data == "object" && !Array.isArray(data)){if(data.comp === undefined){const err67 = {instancePath,schemaPath:"#/$defs/text-field/required",keyword:"required",params:{missingProperty: "comp"},message:"must have required property '"+"comp"+"'"};if(vErrors === null){vErrors = [err67];}else {vErrors.push(err67);}errors++;}if(data.label === undefined){const err68 = {instancePath,schemaPath:"#/$defs/text-field/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err68];}else {vErrors.push(err68);}errors++;}if(data.comp !== undefined){if("text-field" !== data.comp){const err69 = {instancePath:instancePath+"/comp",schemaPath:"#/$defs/text-field/properties/comp/const",keyword:"const",params:{allowedValue: "text-field"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err69];}else {vErrors.push(err69);}errors++;}}if(data.label !== undefined){if(typeof data.label !== "string"){const err70 = {instancePath:instancePath+"/label",schemaPath:"#/$defs/text-field/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err70];}else {vErrors.push(err70);}errors++;}}if(data.autofocus !== undefined){if(typeof data.autofocus !== "boolean"){const err71 = {instancePath:instancePath+"/autofocus",schemaPath:"#/$defs/text-field/properties/autofocus/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err71];}else {vErrors.push(err71);}errors++;}}}else {const err72 = {instancePath,schemaPath:"#/$defs/text-field/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err72];}else {vErrors.push(err72);}errors++;}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.label = true;props6.autofocus = true;}}else if(tag0 === "number-field"){if(data && typeof data == "object" && !Array.isArray(data)){if(data.comp === undefined){const err73 = {instancePath,schemaPath:"#/$defs/number-field/required",keyword:"required",params:{missingProperty: "comp"},message:"must have required property '"+"comp"+"'"};if(vErrors === null){vErrors = [err73];}else {vErrors.push(err73);}errors++;}if(data.label === undefined){const err74 = {instancePath,schemaPath:"#/$defs/number-field/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err74];}else {vErrors.push(err74);}errors++;}if(data.comp !== undefined){if("number-field" !== data.comp){const err75 = {instancePath:instancePath+"/comp",schemaPath:"#/$defs/number-field/properties/comp/const",keyword:"const",params:{allowedValue: "number-field"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err75];}else {vErrors.push(err75);}errors++;}}if(data.label !== undefined){if(typeof data.label !== "string"){const err76 = {instancePath:instancePath+"/label",schemaPath:"#/$defs/number-field/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err76];}else {vErrors.push(err76);}errors++;}}if(data.autofocus !== undefined){if(typeof data.autofocus !== "boolean"){const err77 = {instancePath:instancePath+"/autofocus",schemaPath:"#/$defs/number-field/properties/autofocus/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err77];}else {vErrors.push(err77);}errors++;}}if(data.step !== undefined){let data37 = data.step;if(!((typeof data37 == "number") && (isFinite(data37)))){const err78 = {instancePath:instancePath+"/step",schemaPath:"#/$defs/number-field/properties/step/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err78];}else {vErrors.push(err78);}errors++;}}if(data.min !== undefined){let data38 = data.min;if(!((typeof data38 == "number") && (isFinite(data38)))){const err79 = {instancePath:instancePath+"/min",schemaPath:"#/$defs/number-field/properties/min/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err79];}else {vErrors.push(err79);}errors++;}}if(data.max !== undefined){let data39 = data.max;if(!((typeof data39 == "number") && (isFinite(data39)))){const err80 = {instancePath:instancePath+"/max",schemaPath:"#/$defs/number-field/properties/max/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err80];}else {vErrors.push(err80);}errors++;}}}else {const err81 = {instancePath,schemaPath:"#/$defs/number-field/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err81];}else {vErrors.push(err81);}errors++;}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.label = true;props6.autofocus = true;props6.step = true;props6.min = true;props6.max = true;}}else if(tag0 === "textarea"){if(data && typeof data == "object" && !Array.isArray(data)){if(data.comp === undefined){const err82 = {instancePath,schemaPath:"#/$defs/textarea/required",keyword:"required",params:{missingProperty: "comp"},message:"must have required property '"+"comp"+"'"};if(vErrors === null){vErrors = [err82];}else {vErrors.push(err82);}errors++;}if(data.label === undefined){const err83 = {instancePath,schemaPath:"#/$defs/textarea/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err83];}else {vErrors.push(err83);}errors++;}if(data.comp !== undefined){if("textarea" !== data.comp){const err84 = {instancePath:instancePath+"/comp",schemaPath:"#/$defs/textarea/properties/comp/const",keyword:"const",params:{allowedValue: "textarea"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err84];}else {vErrors.push(err84);}errors++;}}if(data.label !== undefined){if(typeof data.label !== "string"){const err85 = {instancePath:instancePath+"/label",schemaPath:"#/$defs/textarea/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err85];}else {vErrors.push(err85);}errors++;}}if(data.autofocus !== undefined){if(typeof data.autofocus !== "boolean"){const err86 = {instancePath:instancePath+"/autofocus",schemaPath:"#/$defs/textarea/properties/autofocus/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err86];}else {vErrors.push(err86);}errors++;}}}else {const err87 = {instancePath,schemaPath:"#/$defs/textarea/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err87];}else {vErrors.push(err87);}errors++;}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.label = true;props6.autofocus = true;}}else if(tag0 === "markdown"){if(data && typeof data == "object" && !Array.isArray(data)){if(data.comp === undefined){const err88 = {instancePath,schemaPath:"#/$defs/markdown/required",keyword:"required",params:{missingProperty: "comp"},message:"must have required property '"+"comp"+"'"};if(vErrors === null){vErrors = [err88];}else {vErrors.push(err88);}errors++;}if(data.label === undefined){const err89 = {instancePath,schemaPath:"#/$defs/markdown/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err89];}else {vErrors.push(err89);}errors++;}if(data.comp !== undefined){if("markdown" !== data.comp){const err90 = {instancePath:instancePath+"/comp",schemaPath:"#/$defs/markdown/properties/comp/const",keyword:"const",params:{allowedValue: "markdown"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err90];}else {vErrors.push(err90);}errors++;}}if(data.label !== undefined){if(typeof data.label !== "string"){const err91 = {instancePath:instancePath+"/label",schemaPath:"#/$defs/markdown/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err91];}else {vErrors.push(err91);}errors++;}}if(data.autofocus !== undefined){if(typeof data.autofocus !== "boolean"){const err92 = {instancePath:instancePath+"/autofocus",schemaPath:"#/$defs/markdown/properties/autofocus/type",keyword:"type",params:{type: "boolean"},message:"must be boolean"};if(vErrors === null){vErrors = [err92];}else {vErrors.push(err92);}errors++;}}}else {const err93 = {instancePath,schemaPath:"#/$defs/markdown/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err93];}else {vErrors.push(err93);}errors++;}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.label = true;props6.autofocus = true;}}else if(tag0 === "checkbox"){if(data && typeof data == "object" && !Array.isArray(data)){if(data.comp === undefined){const err94 = {instancePath,schemaPath:"#/$defs/checkbox/required",keyword:"required",params:{missingProperty: "comp"},message:"must have required property '"+"comp"+"'"};if(vErrors === null){vErrors = [err94];}else {vErrors.push(err94);}errors++;}if(data.label === undefined){const err95 = {instancePath,schemaPath:"#/$defs/checkbox/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err95];}else {vErrors.push(err95);}errors++;}if(data.comp !== undefined){if("checkbox" !== data.comp){const err96 = {instancePath:instancePath+"/comp",schemaPath:"#/$defs/checkbox/properties/comp/const",keyword:"const",params:{allowedValue: "checkbox"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err96];}else {vErrors.push(err96);}errors++;}}if(data.label !== undefined){if(typeof data.label !== "string"){const err97 = {instancePath:instancePath+"/label",schemaPath:"#/$defs/checkbox/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err97];}else {vErrors.push(err97);}errors++;}}}else {const err98 = {instancePath,schemaPath:"#/$defs/checkbox/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err98];}else {vErrors.push(err98);}errors++;}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.label = true;}}else if(tag0 === "switch"){if(data && typeof data == "object" && !Array.isArray(data)){if(data.comp === undefined){const err99 = {instancePath,schemaPath:"#/$defs/switch/required",keyword:"required",params:{missingProperty: "comp"},message:"must have required property '"+"comp"+"'"};if(vErrors === null){vErrors = [err99];}else {vErrors.push(err99);}errors++;}if(data.label === undefined){const err100 = {instancePath,schemaPath:"#/$defs/switch/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err100];}else {vErrors.push(err100);}errors++;}if(data.comp !== undefined){if("switch" !== data.comp){const err101 = {instancePath:instancePath+"/comp",schemaPath:"#/$defs/switch/properties/comp/const",keyword:"const",params:{allowedValue: "switch"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err101];}else {vErrors.push(err101);}errors++;}}if(data.label !== undefined){if(typeof data.label !== "string"){const err102 = {instancePath:instancePath+"/label",schemaPath:"#/$defs/switch/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err102];}else {vErrors.push(err102);}errors++;}}}else {const err103 = {instancePath,schemaPath:"#/$defs/switch/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err103];}else {vErrors.push(err103);}errors++;}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.label = true;}}else if(tag0 === "slider"){if(data && typeof data == "object" && !Array.isArray(data)){if(data.comp === undefined){const err104 = {instancePath,schemaPath:"#/$defs/slider/required",keyword:"required",params:{missingProperty: "comp"},message:"must have required property '"+"comp"+"'"};if(vErrors === null){vErrors = [err104];}else {vErrors.push(err104);}errors++;}if(data.label === undefined){const err105 = {instancePath,schemaPath:"#/$defs/slider/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err105];}else {vErrors.push(err105);}errors++;}if(data.min === undefined){const err106 = {instancePath,schemaPath:"#/$defs/slider/required",keyword:"required",params:{missingProperty: "min"},message:"must have required property '"+"min"+"'"};if(vErrors === null){vErrors = [err106];}else {vErrors.push(err106);}errors++;}if(data.max === undefined){const err107 = {instancePath,schemaPath:"#/$defs/slider/required",keyword:"required",params:{missingProperty: "max"},message:"must have required property '"+"max"+"'"};if(vErrors === null){vErrors = [err107];}else {vErrors.push(err107);}errors++;}if(data.comp !== undefined){if("slider" !== data.comp){const err108 = {instancePath:instancePath+"/comp",schemaPath:"#/$defs/slider/properties/comp/const",keyword:"const",params:{allowedValue: "slider"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err108];}else {vErrors.push(err108);}errors++;}}if(data.label !== undefined){if(typeof data.label !== "string"){const err109 = {instancePath:instancePath+"/label",schemaPath:"#/$defs/slider/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err109];}else {vErrors.push(err109);}errors++;}}if(data.step !== undefined){let data52 = data.step;if(!((typeof data52 == "number") && (isFinite(data52)))){const err110 = {instancePath:instancePath+"/step",schemaPath:"#/$defs/slider/properties/step/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err110];}else {vErrors.push(err110);}errors++;}}if(data.min !== undefined){let data53 = data.min;if(!((typeof data53 == "number") && (isFinite(data53)))){const err111 = {instancePath:instancePath+"/min",schemaPath:"#/$defs/slider/properties/min/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err111];}else {vErrors.push(err111);}errors++;}}if(data.max !== undefined){let data54 = data.max;if(!((typeof data54 == "number") && (isFinite(data54)))){const err112 = {instancePath:instancePath+"/max",schemaPath:"#/$defs/slider/properties/max/type",keyword:"type",params:{type: "number"},message:"must be number"};if(vErrors === null){vErrors = [err112];}else {vErrors.push(err112);}errors++;}}}else {const err113 = {instancePath,schemaPath:"#/$defs/slider/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err113];}else {vErrors.push(err113);}errors++;}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.label = true;props6.step = true;props6.min = true;props6.max = true;}}else if(tag0 === "date-picker"){if(data && typeof data == "object" && !Array.isArray(data)){if(data.comp === undefined){const err114 = {instancePath,schemaPath:"#/$defs/date-picker/required",keyword:"required",params:{missingProperty: "comp"},message:"must have required property '"+"comp"+"'"};if(vErrors === null){vErrors = [err114];}else {vErrors.push(err114);}errors++;}if(data.label === undefined){const err115 = {instancePath,schemaPath:"#/$defs/date-picker/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err115];}else {vErrors.push(err115);}errors++;}if(data.comp !== undefined){if("date-picker" !== data.comp){const err116 = {instancePath:instancePath+"/comp",schemaPath:"#/$defs/date-picker/properties/comp/const",keyword:"const",params:{allowedValue: "date-picker"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err116];}else {vErrors.push(err116);}errors++;}}if(data.label !== undefined){if(typeof data.label !== "string"){const err117 = {instancePath:instancePath+"/label",schemaPath:"#/$defs/date-picker/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err117];}else {vErrors.push(err117);}errors++;}}if(data.min !== undefined){let data57 = data.min;if(typeof data57 === "string"){if(!(formats0.validate(data57))){const err118 = {instancePath:instancePath+"/min",schemaPath:"#/$defs/date-picker/properties/min/format",keyword:"format",params:{format: "date"},message:"must match format \""+"date"+"\""};if(vErrors === null){vErrors = [err118];}else {vErrors.push(err118);}errors++;}}else {const err119 = {instancePath:instancePath+"/min",schemaPath:"#/$defs/date-picker/properties/min/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err119];}else {vErrors.push(err119);}errors++;}}if(data.max !== undefined){let data58 = data.max;if(typeof data58 === "string"){if(!(formats0.validate(data58))){const err120 = {instancePath:instancePath+"/max",schemaPath:"#/$defs/date-picker/properties/max/format",keyword:"format",params:{format: "date"},message:"must match format \""+"date"+"\""};if(vErrors === null){vErrors = [err120];}else {vErrors.push(err120);}errors++;}}else {const err121 = {instancePath:instancePath+"/max",schemaPath:"#/$defs/date-picker/properties/max/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err121];}else {vErrors.push(err121);}errors++;}}if(data.format !== undefined){let data59 = data.format;if(typeof data59 !== "string"){const err122 = {instancePath:instancePath+"/format",schemaPath:"#/$defs/date-picker/properties/format/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err122];}else {vErrors.push(err122);}errors++;}if(!((data59 === "date") || (data59 === "date-time"))){const err123 = {instancePath:instancePath+"/format",schemaPath:"#/$defs/date-picker/properties/format/enum",keyword:"enum",params:{allowedValues: schema109.properties.format.enum},message:"must be equal to one of the allowed values"};if(vErrors === null){vErrors = [err123];}else {vErrors.push(err123);}errors++;}}}else {const err124 = {instancePath,schemaPath:"#/$defs/date-picker/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err124];}else {vErrors.push(err124);}errors++;}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.label = true;props6.min = true;props6.max = true;props6.format = true;}}else if(tag0 === "date-time-picker"){if(data && typeof data == "object" && !Array.isArray(data)){if(data.comp === undefined){const err125 = {instancePath,schemaPath:"#/$defs/date-time-picker/required",keyword:"required",params:{missingProperty: "comp"},message:"must have required property '"+"comp"+"'"};if(vErrors === null){vErrors = [err125];}else {vErrors.push(err125);}errors++;}if(data.label === undefined){const err126 = {instancePath,schemaPath:"#/$defs/date-time-picker/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err126];}else {vErrors.push(err126);}errors++;}if(data.comp !== undefined){if("date-time-picker" !== data.comp){const err127 = {instancePath:instancePath+"/comp",schemaPath:"#/$defs/date-time-picker/properties/comp/const",keyword:"const",params:{allowedValue: "date-time-picker"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err127];}else {vErrors.push(err127);}errors++;}}if(data.label !== undefined){if(typeof data.label !== "string"){const err128 = {instancePath:instancePath+"/label",schemaPath:"#/$defs/date-time-picker/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err128];}else {vErrors.push(err128);}errors++;}}if(data.min !== undefined){let data62 = data.min;if(typeof data62 === "string"){if(!(formats4.validate(data62))){const err129 = {instancePath:instancePath+"/min",schemaPath:"#/$defs/date-time-picker/properties/min/format",keyword:"format",params:{format: "date-time"},message:"must match format \""+"date-time"+"\""};if(vErrors === null){vErrors = [err129];}else {vErrors.push(err129);}errors++;}}else {const err130 = {instancePath:instancePath+"/min",schemaPath:"#/$defs/date-time-picker/properties/min/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err130];}else {vErrors.push(err130);}errors++;}}if(data.max !== undefined){let data63 = data.max;if(typeof data63 === "string"){if(!(formats4.validate(data63))){const err131 = {instancePath:instancePath+"/max",schemaPath:"#/$defs/date-time-picker/properties/max/format",keyword:"format",params:{format: "date-time"},message:"must match format \""+"date-time"+"\""};if(vErrors === null){vErrors = [err131];}else {vErrors.push(err131);}errors++;}}else {const err132 = {instancePath:instancePath+"/max",schemaPath:"#/$defs/date-time-picker/properties/max/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err132];}else {vErrors.push(err132);}errors++;}}}else {const err133 = {instancePath,schemaPath:"#/$defs/date-time-picker/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err133];}else {vErrors.push(err133);}errors++;}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.label = true;props6.min = true;props6.max = true;}}else if(tag0 === "time-picker"){if(data && typeof data == "object" && !Array.isArray(data)){if(data.comp === undefined){const err134 = {instancePath,schemaPath:"#/$defs/time-picker/required",keyword:"required",params:{missingProperty: "comp"},message:"must have required property '"+"comp"+"'"};if(vErrors === null){vErrors = [err134];}else {vErrors.push(err134);}errors++;}if(data.label === undefined){const err135 = {instancePath,schemaPath:"#/$defs/time-picker/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err135];}else {vErrors.push(err135);}errors++;}if(data.comp !== undefined){if("time-picker" !== data.comp){const err136 = {instancePath:instancePath+"/comp",schemaPath:"#/$defs/time-picker/properties/comp/const",keyword:"const",params:{allowedValue: "time-picker"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err136];}else {vErrors.push(err136);}errors++;}}if(data.label !== undefined){if(typeof data.label !== "string"){const err137 = {instancePath:instancePath+"/label",schemaPath:"#/$defs/time-picker/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err137];}else {vErrors.push(err137);}errors++;}}if(data.min !== undefined){let data66 = data.min;if(typeof data66 === "string"){if(!(formats8.validate(data66))){const err138 = {instancePath:instancePath+"/min",schemaPath:"#/$defs/time-picker/properties/min/format",keyword:"format",params:{format: "time"},message:"must match format \""+"time"+"\""};if(vErrors === null){vErrors = [err138];}else {vErrors.push(err138);}errors++;}}else {const err139 = {instancePath:instancePath+"/min",schemaPath:"#/$defs/time-picker/properties/min/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err139];}else {vErrors.push(err139);}errors++;}}if(data.max !== undefined){let data67 = data.max;if(typeof data67 === "string"){if(!(formats8.validate(data67))){const err140 = {instancePath:instancePath+"/max",schemaPath:"#/$defs/time-picker/properties/max/format",keyword:"format",params:{format: "time"},message:"must match format \""+"time"+"\""};if(vErrors === null){vErrors = [err140];}else {vErrors.push(err140);}errors++;}}else {const err141 = {instancePath:instancePath+"/max",schemaPath:"#/$defs/time-picker/properties/max/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err141];}else {vErrors.push(err141);}errors++;}}}else {const err142 = {instancePath,schemaPath:"#/$defs/time-picker/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err142];}else {vErrors.push(err142);}errors++;}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.label = true;props6.min = true;props6.max = true;}}else if(tag0 === "color-picker"){if(data && typeof data == "object" && !Array.isArray(data)){if(data.comp === undefined){const err143 = {instancePath,schemaPath:"#/$defs/color-picker/required",keyword:"required",params:{missingProperty: "comp"},message:"must have required property '"+"comp"+"'"};if(vErrors === null){vErrors = [err143];}else {vErrors.push(err143);}errors++;}if(data.label === undefined){const err144 = {instancePath,schemaPath:"#/$defs/color-picker/required",keyword:"required",params:{missingProperty: "label"},message:"must have required property '"+"label"+"'"};if(vErrors === null){vErrors = [err144];}else {vErrors.push(err144);}errors++;}if(data.comp !== undefined){if("color-picker" !== data.comp){const err145 = {instancePath:instancePath+"/comp",schemaPath:"#/$defs/color-picker/properties/comp/const",keyword:"const",params:{allowedValue: "color-picker"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err145];}else {vErrors.push(err145);}errors++;}}if(data.label !== undefined){if(typeof data.label !== "string"){const err146 = {instancePath:instancePath+"/label",schemaPath:"#/$defs/color-picker/properties/label/type",keyword:"type",params:{type: "string"},message:"must be string"};if(vErrors === null){vErrors = [err146];}else {vErrors.push(err146);}errors++;}}}else {const err147 = {instancePath,schemaPath:"#/$defs/color-picker/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err147];}else {vErrors.push(err147);}errors++;}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.label = true;}}else if(tag0 === "combobox"){if(!(validate66(data, {instancePath,parentData,parentDataProperty,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate66.errors : vErrors.concat(validate66.errors);errors = vErrors.length;}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.label = true;props6.autofocus = true;props6.items = true;props6.getItems = true;props6.multiple = true;}}else if(tag0 === "number-combobox"){if(!(validate73(data, {instancePath,parentData,parentDataProperty,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate73.errors : vErrors.concat(validate73.errors);errors = vErrors.length;}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.label = true;props6.autofocus = true;props6.items = true;props6.getItems = true;props6.multiple = true;props6.step = true;props6.min = true;props6.max = true;}}else if(tag0 === "select"){if(!(validate76(data, {instancePath,parentData,parentDataProperty,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate76.errors : vErrors.concat(validate76.errors);errors = vErrors.length;}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.label = true;props6.autofocus = true;props6.items = true;props6.getItems = true;props6.multiple = true;}}else if(tag0 === "autocomplete"){if(!(validate79(data, {instancePath,parentData,parentDataProperty,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate79.errors : vErrors.concat(validate79.errors);errors = vErrors.length;}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.label = true;props6.autofocus = true;props6.items = true;props6.getItems = true;props6.multiple = true;}}else if(tag0 === "one-of-select"){if(data && typeof data == "object" && !Array.isArray(data)){if(data.comp === undefined){const err148 = {instancePath,schemaPath:"#/$defs/one-of-select/required",keyword:"required",params:{missingProperty: "comp"},message:"must have required property '"+"comp"+"'"};if(vErrors === null){vErrors = [err148];}else {vErrors.push(err148);}errors++;}if(data.comp !== undefined){if("one-of-select" !== data.comp){const err149 = {instancePath:instancePath+"/comp",schemaPath:"#/$defs/one-of-select/properties/comp/const",keyword:"const",params:{allowedValue: "one-of-select"},message:"must be equal to constant"};if(vErrors === null){vErrors = [err149];}else {vErrors.push(err149);}errors++;}}}else {const err150 = {instancePath,schemaPath:"#/$defs/one-of-select/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err150];}else {vErrors.push(err150);}errors++;}if(props6 !== true){props6 = props6 || {};props6.comp = true;}}else if(tag0 === "section"){if(!(validate82(data, {instancePath,parentData,parentDataProperty,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate82.errors : vErrors.concat(validate82.errors);errors = vErrors.length;}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.title = true;props6.subtitle = true;props6.children = true;}}else if(tag0 === "tabs"){if(!(validate86(data, {instancePath,parentData,parentDataProperty,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate86.errors : vErrors.concat(validate86.errors);errors = vErrors.length;}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.title = true;props6.subtitle = true;props6.children = true;}}else if(tag0 === "vertical-tabs"){if(!(validate87(data, {instancePath,parentData,parentDataProperty,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate87.errors : vErrors.concat(validate87.errors);errors = vErrors.length;}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.title = true;props6.subtitle = true;props6.children = true;}}else if(tag0 === "expansion-panels"){if(!(validate88(data, {instancePath,parentData,parentDataProperty,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate88.errors : vErrors.concat(validate88.errors);errors = vErrors.length;}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.title = true;props6.subtitle = true;props6.children = true;}}else if(tag0 === "stepper"){if(!(validate96(data, {instancePath,parentData,parentDataProperty,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate96.errors : vErrors.concat(validate96.errors);errors = vErrors.length;}if(props6 !== true){props6 = props6 || {};props6.comp = true;props6.title = true;props6.subtitle = true;props6.children = true;}}else {const err151 = {instancePath,schemaPath:"#/allOf/1/discriminator",keyword:"discriminator",params:{error: "mapping", tag: "comp", tagValue: tag0},message:"value of tag \"comp\" must be in oneOf"};if(vErrors === null){vErrors = [err151];}else {vErrors.push(err151);}errors++;}}else {const err152 = {instancePath,schemaPath:"#/allOf/1/discriminator",keyword:"discriminator",params:{error: "tag", tag: "comp", tagValue: tag0},message:"tag \"comp\" must be string"};if(vErrors === null){vErrors = [err152];}else {vErrors.push(err152);}errors++;}}if(props6 !== true){props6 = props6 || {};props6.if = true;props6.defaultData = true;props6.constData = true;props6.nullable = true;props6.help = true;props6.cols = true;props6.props = true;props6.slots = true;props6.options = true;}if(data && typeof data == "object" && !Array.isArray(data)){if(data.comp === undefined){const err153 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "comp"},message:"must have required property '"+"comp"+"'"};if(vErrors === null){vErrors = [err153];}else {vErrors.push(err153);}errors++;}if(props6 !== true){for(const key10 in data){if(!props6 || !props6[key10]){const err154 = {instancePath,schemaPath:"#/unevaluatedProperties",keyword:"unevaluatedProperties",params:{unevaluatedProperty: key10},message:"must NOT have unevaluated properties"};if(vErrors === null){vErrors = [err154];}else {vErrors.push(err154);}errors++;}}}}else {const err155 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err155];}else {vErrors.push(err155);}errors++;}validate58.errors = vErrors;return errors === 0;}validate58.evaluated = {"props":true,"dynamicProps":false,"dynamicItems":false};function validate57(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){let vErrors = null;let errors = 0;const evaluated0 = validate57.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}if(data && typeof data == "object" && !Array.isArray(data)){if(data.switch === undefined){const err0 = {instancePath,schemaPath:"#/required",keyword:"required",params:{missingProperty: "switch"},message:"must have required property '"+"switch"+"'"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}for(const key0 in data){if(!(key0 === "switch")){const err1 = {instancePath,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"};if(vErrors === null){vErrors = [err1];}else {vErrors.push(err1);}errors++;}}if(data.switch !== undefined){let data0 = data.switch;if(Array.isArray(data0)){const len0 = data0.length;for(let i0=0; i0<len0; i0++){if(!(validate58(data0[i0], {instancePath:instancePath+"/switch/" + i0,parentData:data0,parentDataProperty:i0,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate58.errors : vErrors.concat(validate58.errors);errors = vErrors.length;}}}else {const err2 = {instancePath:instancePath+"/switch",schemaPath:"#/properties/switch/type",keyword:"type",params:{type: "array"},message:"must be array"};if(vErrors === null){vErrors = [err2];}else {vErrors.push(err2);}errors++;}}}else {const err3 = {instancePath,schemaPath:"#/type",keyword:"type",params:{type: "object"},message:"must be object"};if(vErrors === null){vErrors = [err3];}else {vErrors.push(err3);}errors++;}validate57.errors = vErrors;return errors === 0;}validate57.evaluated = {"props":true,"dynamicProps":false,"dynamicItems":false};function validate56(data, {instancePath="", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){/*# sourceURL="https://json-layout.github.io/normalized-layout-keyword" */;let vErrors = null;let errors = 0;const evaluated0 = validate56.evaluated;if(evaluated0.dynamicProps){evaluated0.props = undefined;}if(evaluated0.dynamicItems){evaluated0.items = undefined;}const _errs0 = errors;let valid0 = false;let passing0 = null;const _errs1 = errors;if(!(validate57(data, {instancePath,parentData,parentDataProperty,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate57.errors : vErrors.concat(validate57.errors);errors = vErrors.length;}var _valid0 = _errs1 === errors;if(_valid0){valid0 = true;passing0 = 0;var props0 = true;}const _errs2 = errors;if(!(validate58(data, {instancePath,parentData,parentDataProperty,rootData,dynamicAnchors}))){vErrors = vErrors === null ? validate58.errors : vErrors.concat(validate58.errors);errors = vErrors.length;}var _valid0 = _errs2 === errors;if(_valid0 && valid0){valid0 = false;passing0 = [passing0, 1];}else {if(_valid0){valid0 = true;passing0 = 1;if(props0 !== true){props0 = true;}}}if(!valid0){const err0 = {instancePath,schemaPath:"#/oneOf",keyword:"oneOf",params:{passingSchemas: passing0},message:"must match exactly one schema in oneOf"};if(vErrors === null){vErrors = [err0];}else {vErrors.push(err0);}errors++;}else {errors = _errs0;if(vErrors !== null){if(_errs0){vErrors.length = _errs0;}else {vErrors = null;}}}validate56.errors = vErrors;evaluated0.props = props0;return errors === 0;}validate56.evaluated = {"dynamicProps":true,"dynamicItems":false};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validate.d.ts","sourceRoot":"","sources":["../../src/normalized-layout/validate.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"validate.d.ts","sourceRoot":"","sources":["../../src/normalized-layout/validate.js"],"names":[],"mappings":"AAE8/lK;;;;;;YAAgiD;;;;;;;;AAAhiD;;;;;;YAAgiD"}
|