|
|
|
@@ -8,7 +8,7 @@ exports[`default props a default prop cannot be defined on a mandatory prop 1`]
|
|
|
|
|
|
|
|
|
|
return function template(ctx, node, key = \\"\\") {
|
|
|
|
|
const props1 = {};
|
|
|
|
|
helpers.validateProps(\`Child\`, props1, ctx);
|
|
|
|
|
helpers.validateProps(\`Child\`, props1, node);
|
|
|
|
|
return comp1(props1, key + \`__1\`, node, this, null);
|
|
|
|
|
}
|
|
|
|
|
}"
|
|
|
|
@@ -24,7 +24,7 @@ exports[`default props can set default boolean values 1`] = `
|
|
|
|
|
|
|
|
|
|
return function template(ctx, node, key = \\"\\") {
|
|
|
|
|
const props1 = {};
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, ctx);
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, node);
|
|
|
|
|
const b2 = comp1(props1, key + \`__1\`, node, this, null);
|
|
|
|
|
return block1([], [b2]);
|
|
|
|
|
}
|
|
|
|
@@ -61,7 +61,7 @@ exports[`default props can set default values 1`] = `
|
|
|
|
|
|
|
|
|
|
return function template(ctx, node, key = \\"\\") {
|
|
|
|
|
const props1 = {};
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, ctx);
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, node);
|
|
|
|
|
const b2 = comp1(props1, key + \`__1\`, node, this, null);
|
|
|
|
|
return block1([], [b2]);
|
|
|
|
|
}
|
|
|
|
@@ -92,7 +92,7 @@ exports[`default props default values are also set whenever component is updated
|
|
|
|
|
|
|
|
|
|
return function template(ctx, node, key = \\"\\") {
|
|
|
|
|
const props1 = {p: ctx['state'].p};
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, ctx);
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, node);
|
|
|
|
|
const b2 = comp1(props1, key + \`__1\`, node, this, null);
|
|
|
|
|
return block1([], [b2]);
|
|
|
|
|
}
|
|
|
|
@@ -121,7 +121,7 @@ exports[`props validation can specify that additional props are allowed (array)
|
|
|
|
|
|
|
|
|
|
return function template(ctx, node, key = \\"\\") {
|
|
|
|
|
const props1 = {message: 'm',otherProp: 'o'};
|
|
|
|
|
helpers.validateProps(\`Child\`, props1, ctx);
|
|
|
|
|
helpers.validateProps(\`Child\`, props1, node);
|
|
|
|
|
return comp1(props1, key + \`__1\`, node, this, null);
|
|
|
|
|
}
|
|
|
|
|
}"
|
|
|
|
@@ -148,7 +148,7 @@ exports[`props validation can specify that additional props are allowed (object)
|
|
|
|
|
|
|
|
|
|
return function template(ctx, node, key = \\"\\") {
|
|
|
|
|
const props1 = {message: 'm',otherProp: 'o'};
|
|
|
|
|
helpers.validateProps(\`Child\`, props1, ctx);
|
|
|
|
|
helpers.validateProps(\`Child\`, props1, node);
|
|
|
|
|
return comp1(props1, key + \`__1\`, node, this, null);
|
|
|
|
|
}
|
|
|
|
|
}"
|
|
|
|
@@ -177,7 +177,7 @@ exports[`props validation can validate a prop with multiple types 1`] = `
|
|
|
|
|
|
|
|
|
|
return function template(ctx, node, key = \\"\\") {
|
|
|
|
|
const props1 = {p: ctx['p']};
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, ctx);
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, node);
|
|
|
|
|
const b2 = comp1(props1, key + \`__1\`, node, this, null);
|
|
|
|
|
return block1([], [b2]);
|
|
|
|
|
}
|
|
|
|
@@ -207,7 +207,7 @@ exports[`props validation can validate a prop with multiple types 3`] = `
|
|
|
|
|
|
|
|
|
|
return function template(ctx, node, key = \\"\\") {
|
|
|
|
|
const props1 = {p: ctx['p']};
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, ctx);
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, node);
|
|
|
|
|
const b2 = comp1(props1, key + \`__1\`, node, this, null);
|
|
|
|
|
return block1([], [b2]);
|
|
|
|
|
}
|
|
|
|
@@ -237,7 +237,7 @@ exports[`props validation can validate a prop with multiple types 5`] = `
|
|
|
|
|
|
|
|
|
|
return function template(ctx, node, key = \\"\\") {
|
|
|
|
|
const props1 = {p: ctx['p']};
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, ctx);
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, node);
|
|
|
|
|
const b2 = comp1(props1, key + \`__1\`, node, this, null);
|
|
|
|
|
return block1([], [b2]);
|
|
|
|
|
}
|
|
|
|
@@ -254,7 +254,7 @@ exports[`props validation can validate an array with given primitive type 1`] =
|
|
|
|
|
|
|
|
|
|
return function template(ctx, node, key = \\"\\") {
|
|
|
|
|
const props1 = {p: ctx['p']};
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, ctx);
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, node);
|
|
|
|
|
const b2 = comp1(props1, key + \`__1\`, node, this, null);
|
|
|
|
|
return block1([], [b2]);
|
|
|
|
|
}
|
|
|
|
@@ -284,7 +284,7 @@ exports[`props validation can validate an array with given primitive type 3`] =
|
|
|
|
|
|
|
|
|
|
return function template(ctx, node, key = \\"\\") {
|
|
|
|
|
const props1 = {p: ctx['p']};
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, ctx);
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, node);
|
|
|
|
|
const b2 = comp1(props1, key + \`__1\`, node, this, null);
|
|
|
|
|
return block1([], [b2]);
|
|
|
|
|
}
|
|
|
|
@@ -314,7 +314,7 @@ exports[`props validation can validate an array with given primitive type 5`] =
|
|
|
|
|
|
|
|
|
|
return function template(ctx, node, key = \\"\\") {
|
|
|
|
|
const props1 = {p: ctx['p']};
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, ctx);
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, node);
|
|
|
|
|
const b2 = comp1(props1, key + \`__1\`, node, this, null);
|
|
|
|
|
return block1([], [b2]);
|
|
|
|
|
}
|
|
|
|
@@ -331,7 +331,7 @@ exports[`props validation can validate an array with given primitive type 6`] =
|
|
|
|
|
|
|
|
|
|
return function template(ctx, node, key = \\"\\") {
|
|
|
|
|
const props1 = {p: ctx['p']};
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, ctx);
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, node);
|
|
|
|
|
const b2 = comp1(props1, key + \`__1\`, node, this, null);
|
|
|
|
|
return block1([], [b2]);
|
|
|
|
|
}
|
|
|
|
@@ -348,7 +348,7 @@ exports[`props validation can validate an array with multiple sub element types
|
|
|
|
|
|
|
|
|
|
return function template(ctx, node, key = \\"\\") {
|
|
|
|
|
const props1 = {p: ctx['p']};
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, ctx);
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, node);
|
|
|
|
|
const b2 = comp1(props1, key + \`__1\`, node, this, null);
|
|
|
|
|
return block1([], [b2]);
|
|
|
|
|
}
|
|
|
|
@@ -378,7 +378,7 @@ exports[`props validation can validate an array with multiple sub element types
|
|
|
|
|
|
|
|
|
|
return function template(ctx, node, key = \\"\\") {
|
|
|
|
|
const props1 = {p: ctx['p']};
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, ctx);
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, node);
|
|
|
|
|
const b2 = comp1(props1, key + \`__1\`, node, this, null);
|
|
|
|
|
return block1([], [b2]);
|
|
|
|
|
}
|
|
|
|
@@ -408,7 +408,7 @@ exports[`props validation can validate an array with multiple sub element types
|
|
|
|
|
|
|
|
|
|
return function template(ctx, node, key = \\"\\") {
|
|
|
|
|
const props1 = {p: ctx['p']};
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, ctx);
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, node);
|
|
|
|
|
const b2 = comp1(props1, key + \`__1\`, node, this, null);
|
|
|
|
|
return block1([], [b2]);
|
|
|
|
|
}
|
|
|
|
@@ -438,7 +438,7 @@ exports[`props validation can validate an array with multiple sub element types
|
|
|
|
|
|
|
|
|
|
return function template(ctx, node, key = \\"\\") {
|
|
|
|
|
const props1 = {p: ctx['p']};
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, ctx);
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, node);
|
|
|
|
|
const b2 = comp1(props1, key + \`__1\`, node, this, null);
|
|
|
|
|
return block1([], [b2]);
|
|
|
|
|
}
|
|
|
|
@@ -455,7 +455,7 @@ exports[`props validation can validate an object with simple shape 1`] = `
|
|
|
|
|
|
|
|
|
|
return function template(ctx, node, key = \\"\\") {
|
|
|
|
|
const props1 = {p: ctx['p']};
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, ctx);
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, node);
|
|
|
|
|
const b2 = comp1(props1, key + \`__1\`, node, this, null);
|
|
|
|
|
return block1([], [b2]);
|
|
|
|
|
}
|
|
|
|
@@ -485,7 +485,7 @@ exports[`props validation can validate an object with simple shape 3`] = `
|
|
|
|
|
|
|
|
|
|
return function template(ctx, node, key = \\"\\") {
|
|
|
|
|
const props1 = {p: ctx['p']};
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, ctx);
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, node);
|
|
|
|
|
const b2 = comp1(props1, key + \`__1\`, node, this, null);
|
|
|
|
|
return block1([], [b2]);
|
|
|
|
|
}
|
|
|
|
@@ -502,7 +502,7 @@ exports[`props validation can validate an object with simple shape 4`] = `
|
|
|
|
|
|
|
|
|
|
return function template(ctx, node, key = \\"\\") {
|
|
|
|
|
const props1 = {p: ctx['p']};
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, ctx);
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, node);
|
|
|
|
|
const b2 = comp1(props1, key + \`__1\`, node, this, null);
|
|
|
|
|
return block1([], [b2]);
|
|
|
|
|
}
|
|
|
|
@@ -519,7 +519,7 @@ exports[`props validation can validate an object with simple shape 5`] = `
|
|
|
|
|
|
|
|
|
|
return function template(ctx, node, key = \\"\\") {
|
|
|
|
|
const props1 = {p: ctx['p']};
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, ctx);
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, node);
|
|
|
|
|
const b2 = comp1(props1, key + \`__1\`, node, this, null);
|
|
|
|
|
return block1([], [b2]);
|
|
|
|
|
}
|
|
|
|
@@ -536,7 +536,7 @@ exports[`props validation can validate an optional props 1`] = `
|
|
|
|
|
|
|
|
|
|
return function template(ctx, node, key = \\"\\") {
|
|
|
|
|
const props1 = {p: ctx['p']};
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, ctx);
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, node);
|
|
|
|
|
const b2 = comp1(props1, key + \`__1\`, node, this, null);
|
|
|
|
|
return block1([], [b2]);
|
|
|
|
|
}
|
|
|
|
@@ -566,7 +566,7 @@ exports[`props validation can validate an optional props 3`] = `
|
|
|
|
|
|
|
|
|
|
return function template(ctx, node, key = \\"\\") {
|
|
|
|
|
const props1 = {p: ctx['p']};
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, ctx);
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, node);
|
|
|
|
|
const b2 = comp1(props1, key + \`__1\`, node, this, null);
|
|
|
|
|
return block1([], [b2]);
|
|
|
|
|
}
|
|
|
|
@@ -596,7 +596,7 @@ exports[`props validation can validate an optional props 5`] = `
|
|
|
|
|
|
|
|
|
|
return function template(ctx, node, key = \\"\\") {
|
|
|
|
|
const props1 = {p: ctx['p']};
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, ctx);
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, node);
|
|
|
|
|
const b2 = comp1(props1, key + \`__1\`, node, this, null);
|
|
|
|
|
return block1([], [b2]);
|
|
|
|
|
}
|
|
|
|
@@ -613,7 +613,7 @@ exports[`props validation can validate recursively complicated prop def 1`] = `
|
|
|
|
|
|
|
|
|
|
return function template(ctx, node, key = \\"\\") {
|
|
|
|
|
const props1 = {p: ctx['p']};
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, ctx);
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, node);
|
|
|
|
|
const b2 = comp1(props1, key + \`__1\`, node, this, null);
|
|
|
|
|
return block1([], [b2]);
|
|
|
|
|
}
|
|
|
|
@@ -643,7 +643,7 @@ exports[`props validation can validate recursively complicated prop def 3`] = `
|
|
|
|
|
|
|
|
|
|
return function template(ctx, node, key = \\"\\") {
|
|
|
|
|
const props1 = {p: ctx['p']};
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, ctx);
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, node);
|
|
|
|
|
const b2 = comp1(props1, key + \`__1\`, node, this, null);
|
|
|
|
|
return block1([], [b2]);
|
|
|
|
|
}
|
|
|
|
@@ -673,7 +673,7 @@ exports[`props validation can validate recursively complicated prop def 5`] = `
|
|
|
|
|
|
|
|
|
|
return function template(ctx, node, key = \\"\\") {
|
|
|
|
|
const props1 = {p: ctx['p']};
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, ctx);
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, node);
|
|
|
|
|
const b2 = comp1(props1, key + \`__1\`, node, this, null);
|
|
|
|
|
return block1([], [b2]);
|
|
|
|
|
}
|
|
|
|
@@ -690,7 +690,7 @@ exports[`props validation default values are applied before validating props at
|
|
|
|
|
|
|
|
|
|
return function template(ctx, node, key = \\"\\") {
|
|
|
|
|
const props1 = {p: ctx['state'].p};
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, ctx);
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, node);
|
|
|
|
|
const b2 = comp1(props1, key + \`__1\`, node, this, null);
|
|
|
|
|
return block1([], [b2]);
|
|
|
|
|
}
|
|
|
|
@@ -721,7 +721,7 @@ exports[`props validation missing required boolean prop causes an error 1`] = `
|
|
|
|
|
|
|
|
|
|
return function template(ctx, node, key = \\"\\") {
|
|
|
|
|
const props1 = {};
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, ctx);
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, node);
|
|
|
|
|
const b2 = comp1(props1, key + \`__1\`, node, this, null);
|
|
|
|
|
return block1([], [b2]);
|
|
|
|
|
}
|
|
|
|
@@ -738,7 +738,7 @@ exports[`props validation mix of optional and mandatory 1`] = `
|
|
|
|
|
|
|
|
|
|
return function template(ctx, node, key = \\"\\") {
|
|
|
|
|
const props1 = {};
|
|
|
|
|
helpers.validateProps(\`Child\`, props1, ctx);
|
|
|
|
|
helpers.validateProps(\`Child\`, props1, node);
|
|
|
|
|
const b2 = comp1(props1, key + \`__1\`, node, this, null);
|
|
|
|
|
return block1([], [b2]);
|
|
|
|
|
}
|
|
|
|
@@ -755,7 +755,7 @@ exports[`props validation props are validated in dev mode (code snapshot) 1`] =
|
|
|
|
|
|
|
|
|
|
return function template(ctx, node, key = \\"\\") {
|
|
|
|
|
const props1 = {message: 1};
|
|
|
|
|
helpers.validateProps(\`Child\`, props1, ctx);
|
|
|
|
|
helpers.validateProps(\`Child\`, props1, node);
|
|
|
|
|
const b2 = comp1(props1, key + \`__1\`, node, this, null);
|
|
|
|
|
return block1([], [b2]);
|
|
|
|
|
}
|
|
|
|
@@ -786,7 +786,7 @@ exports[`props validation props are validated whenever component is updated 1`]
|
|
|
|
|
|
|
|
|
|
return function template(ctx, node, key = \\"\\") {
|
|
|
|
|
const props1 = {p: ctx['state'].p};
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, ctx);
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, node);
|
|
|
|
|
const b2 = comp1(props1, key + \`__1\`, node, this, null);
|
|
|
|
|
return block1([], [b2]);
|
|
|
|
|
}
|
|
|
|
@@ -817,7 +817,7 @@ exports[`props validation props: list of strings 1`] = `
|
|
|
|
|
|
|
|
|
|
return function template(ctx, node, key = \\"\\") {
|
|
|
|
|
const props1 = {};
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, ctx);
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, node);
|
|
|
|
|
const b2 = comp1(props1, key + \`__1\`, node, this, null);
|
|
|
|
|
return block1([], [b2]);
|
|
|
|
|
}
|
|
|
|
@@ -834,7 +834,7 @@ exports[`props validation validate simple types 1`] = `
|
|
|
|
|
|
|
|
|
|
return function template(ctx, node, key = \\"\\") {
|
|
|
|
|
const props1 = {p: ctx['p']};
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, ctx);
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, node);
|
|
|
|
|
const b2 = comp1(props1, key + \`__1\`, node, this, null);
|
|
|
|
|
return block1([], [b2]);
|
|
|
|
|
}
|
|
|
|
@@ -851,7 +851,7 @@ exports[`props validation validate simple types 2`] = `
|
|
|
|
|
|
|
|
|
|
return function template(ctx, node, key = \\"\\") {
|
|
|
|
|
const props1 = {p: ctx['p']};
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, ctx);
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, node);
|
|
|
|
|
const b2 = comp1(props1, key + \`__1\`, node, this, null);
|
|
|
|
|
return block1([], [b2]);
|
|
|
|
|
}
|
|
|
|
@@ -881,7 +881,7 @@ exports[`props validation validate simple types 4`] = `
|
|
|
|
|
|
|
|
|
|
return function template(ctx, node, key = \\"\\") {
|
|
|
|
|
const props1 = {p: ctx['p']};
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, ctx);
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, node);
|
|
|
|
|
const b2 = comp1(props1, key + \`__1\`, node, this, null);
|
|
|
|
|
return block1([], [b2]);
|
|
|
|
|
}
|
|
|
|
@@ -898,7 +898,7 @@ exports[`props validation validate simple types 5`] = `
|
|
|
|
|
|
|
|
|
|
return function template(ctx, node, key = \\"\\") {
|
|
|
|
|
const props1 = {p: ctx['p']};
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, ctx);
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, node);
|
|
|
|
|
const b2 = comp1(props1, key + \`__1\`, node, this, null);
|
|
|
|
|
return block1([], [b2]);
|
|
|
|
|
}
|
|
|
|
@@ -915,7 +915,7 @@ exports[`props validation validate simple types 6`] = `
|
|
|
|
|
|
|
|
|
|
return function template(ctx, node, key = \\"\\") {
|
|
|
|
|
const props1 = {p: ctx['p']};
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, ctx);
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, node);
|
|
|
|
|
const b2 = comp1(props1, key + \`__1\`, node, this, null);
|
|
|
|
|
return block1([], [b2]);
|
|
|
|
|
}
|
|
|
|
@@ -945,7 +945,7 @@ exports[`props validation validate simple types 8`] = `
|
|
|
|
|
|
|
|
|
|
return function template(ctx, node, key = \\"\\") {
|
|
|
|
|
const props1 = {p: ctx['p']};
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, ctx);
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, node);
|
|
|
|
|
const b2 = comp1(props1, key + \`__1\`, node, this, null);
|
|
|
|
|
return block1([], [b2]);
|
|
|
|
|
}
|
|
|
|
@@ -962,7 +962,7 @@ exports[`props validation validate simple types 9`] = `
|
|
|
|
|
|
|
|
|
|
return function template(ctx, node, key = \\"\\") {
|
|
|
|
|
const props1 = {p: ctx['p']};
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, ctx);
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, node);
|
|
|
|
|
const b2 = comp1(props1, key + \`__1\`, node, this, null);
|
|
|
|
|
return block1([], [b2]);
|
|
|
|
|
}
|
|
|
|
@@ -979,7 +979,7 @@ exports[`props validation validate simple types 10`] = `
|
|
|
|
|
|
|
|
|
|
return function template(ctx, node, key = \\"\\") {
|
|
|
|
|
const props1 = {p: ctx['p']};
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, ctx);
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, node);
|
|
|
|
|
const b2 = comp1(props1, key + \`__1\`, node, this, null);
|
|
|
|
|
return block1([], [b2]);
|
|
|
|
|
}
|
|
|
|
@@ -1009,7 +1009,7 @@ exports[`props validation validate simple types 12`] = `
|
|
|
|
|
|
|
|
|
|
return function template(ctx, node, key = \\"\\") {
|
|
|
|
|
const props1 = {p: ctx['p']};
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, ctx);
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, node);
|
|
|
|
|
const b2 = comp1(props1, key + \`__1\`, node, this, null);
|
|
|
|
|
return block1([], [b2]);
|
|
|
|
|
}
|
|
|
|
@@ -1026,7 +1026,7 @@ exports[`props validation validate simple types 13`] = `
|
|
|
|
|
|
|
|
|
|
return function template(ctx, node, key = \\"\\") {
|
|
|
|
|
const props1 = {p: ctx['p']};
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, ctx);
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, node);
|
|
|
|
|
const b2 = comp1(props1, key + \`__1\`, node, this, null);
|
|
|
|
|
return block1([], [b2]);
|
|
|
|
|
}
|
|
|
|
@@ -1043,7 +1043,7 @@ exports[`props validation validate simple types 14`] = `
|
|
|
|
|
|
|
|
|
|
return function template(ctx, node, key = \\"\\") {
|
|
|
|
|
const props1 = {p: ctx['p']};
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, ctx);
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, node);
|
|
|
|
|
const b2 = comp1(props1, key + \`__1\`, node, this, null);
|
|
|
|
|
return block1([], [b2]);
|
|
|
|
|
}
|
|
|
|
@@ -1073,7 +1073,7 @@ exports[`props validation validate simple types 16`] = `
|
|
|
|
|
|
|
|
|
|
return function template(ctx, node, key = \\"\\") {
|
|
|
|
|
const props1 = {p: ctx['p']};
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, ctx);
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, node);
|
|
|
|
|
const b2 = comp1(props1, key + \`__1\`, node, this, null);
|
|
|
|
|
return block1([], [b2]);
|
|
|
|
|
}
|
|
|
|
@@ -1090,7 +1090,7 @@ exports[`props validation validate simple types 17`] = `
|
|
|
|
|
|
|
|
|
|
return function template(ctx, node, key = \\"\\") {
|
|
|
|
|
const props1 = {p: ctx['p']};
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, ctx);
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, node);
|
|
|
|
|
const b2 = comp1(props1, key + \`__1\`, node, this, null);
|
|
|
|
|
return block1([], [b2]);
|
|
|
|
|
}
|
|
|
|
@@ -1107,7 +1107,7 @@ exports[`props validation validate simple types 18`] = `
|
|
|
|
|
|
|
|
|
|
return function template(ctx, node, key = \\"\\") {
|
|
|
|
|
const props1 = {p: ctx['p']};
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, ctx);
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, node);
|
|
|
|
|
const b2 = comp1(props1, key + \`__1\`, node, this, null);
|
|
|
|
|
return block1([], [b2]);
|
|
|
|
|
}
|
|
|
|
@@ -1137,7 +1137,7 @@ exports[`props validation validate simple types 20`] = `
|
|
|
|
|
|
|
|
|
|
return function template(ctx, node, key = \\"\\") {
|
|
|
|
|
const props1 = {p: ctx['p']};
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, ctx);
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, node);
|
|
|
|
|
const b2 = comp1(props1, key + \`__1\`, node, this, null);
|
|
|
|
|
return block1([], [b2]);
|
|
|
|
|
}
|
|
|
|
@@ -1154,7 +1154,7 @@ exports[`props validation validate simple types 21`] = `
|
|
|
|
|
|
|
|
|
|
return function template(ctx, node, key = \\"\\") {
|
|
|
|
|
const props1 = {p: ctx['p']};
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, ctx);
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, node);
|
|
|
|
|
const b2 = comp1(props1, key + \`__1\`, node, this, null);
|
|
|
|
|
return block1([], [b2]);
|
|
|
|
|
}
|
|
|
|
@@ -1171,7 +1171,7 @@ exports[`props validation validate simple types 22`] = `
|
|
|
|
|
|
|
|
|
|
return function template(ctx, node, key = \\"\\") {
|
|
|
|
|
const props1 = {p: ctx['p']};
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, ctx);
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, node);
|
|
|
|
|
const b2 = comp1(props1, key + \`__1\`, node, this, null);
|
|
|
|
|
return block1([], [b2]);
|
|
|
|
|
}
|
|
|
|
@@ -1201,7 +1201,7 @@ exports[`props validation validate simple types 24`] = `
|
|
|
|
|
|
|
|
|
|
return function template(ctx, node, key = \\"\\") {
|
|
|
|
|
const props1 = {p: ctx['p']};
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, ctx);
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, node);
|
|
|
|
|
const b2 = comp1(props1, key + \`__1\`, node, this, null);
|
|
|
|
|
return block1([], [b2]);
|
|
|
|
|
}
|
|
|
|
@@ -1218,7 +1218,7 @@ exports[`props validation validate simple types, alternate form 1`] = `
|
|
|
|
|
|
|
|
|
|
return function template(ctx, node, key = \\"\\") {
|
|
|
|
|
const props1 = {p: ctx['p']};
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, ctx);
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, node);
|
|
|
|
|
const b2 = comp1(props1, key + \`__1\`, node, this, null);
|
|
|
|
|
return block1([], [b2]);
|
|
|
|
|
}
|
|
|
|
@@ -1235,7 +1235,7 @@ exports[`props validation validate simple types, alternate form 2`] = `
|
|
|
|
|
|
|
|
|
|
return function template(ctx, node, key = \\"\\") {
|
|
|
|
|
const props1 = {p: ctx['p']};
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, ctx);
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, node);
|
|
|
|
|
const b2 = comp1(props1, key + \`__1\`, node, this, null);
|
|
|
|
|
return block1([], [b2]);
|
|
|
|
|
}
|
|
|
|
@@ -1265,7 +1265,7 @@ exports[`props validation validate simple types, alternate form 4`] = `
|
|
|
|
|
|
|
|
|
|
return function template(ctx, node, key = \\"\\") {
|
|
|
|
|
const props1 = {p: ctx['p']};
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, ctx);
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, node);
|
|
|
|
|
const b2 = comp1(props1, key + \`__1\`, node, this, null);
|
|
|
|
|
return block1([], [b2]);
|
|
|
|
|
}
|
|
|
|
@@ -1282,7 +1282,7 @@ exports[`props validation validate simple types, alternate form 5`] = `
|
|
|
|
|
|
|
|
|
|
return function template(ctx, node, key = \\"\\") {
|
|
|
|
|
const props1 = {p: ctx['p']};
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, ctx);
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, node);
|
|
|
|
|
const b2 = comp1(props1, key + \`__1\`, node, this, null);
|
|
|
|
|
return block1([], [b2]);
|
|
|
|
|
}
|
|
|
|
@@ -1299,7 +1299,7 @@ exports[`props validation validate simple types, alternate form 6`] = `
|
|
|
|
|
|
|
|
|
|
return function template(ctx, node, key = \\"\\") {
|
|
|
|
|
const props1 = {p: ctx['p']};
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, ctx);
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, node);
|
|
|
|
|
const b2 = comp1(props1, key + \`__1\`, node, this, null);
|
|
|
|
|
return block1([], [b2]);
|
|
|
|
|
}
|
|
|
|
@@ -1329,7 +1329,7 @@ exports[`props validation validate simple types, alternate form 8`] = `
|
|
|
|
|
|
|
|
|
|
return function template(ctx, node, key = \\"\\") {
|
|
|
|
|
const props1 = {p: ctx['p']};
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, ctx);
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, node);
|
|
|
|
|
const b2 = comp1(props1, key + \`__1\`, node, this, null);
|
|
|
|
|
return block1([], [b2]);
|
|
|
|
|
}
|
|
|
|
@@ -1346,7 +1346,7 @@ exports[`props validation validate simple types, alternate form 9`] = `
|
|
|
|
|
|
|
|
|
|
return function template(ctx, node, key = \\"\\") {
|
|
|
|
|
const props1 = {p: ctx['p']};
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, ctx);
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, node);
|
|
|
|
|
const b2 = comp1(props1, key + \`__1\`, node, this, null);
|
|
|
|
|
return block1([], [b2]);
|
|
|
|
|
}
|
|
|
|
@@ -1363,7 +1363,7 @@ exports[`props validation validate simple types, alternate form 10`] = `
|
|
|
|
|
|
|
|
|
|
return function template(ctx, node, key = \\"\\") {
|
|
|
|
|
const props1 = {p: ctx['p']};
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, ctx);
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, node);
|
|
|
|
|
const b2 = comp1(props1, key + \`__1\`, node, this, null);
|
|
|
|
|
return block1([], [b2]);
|
|
|
|
|
}
|
|
|
|
@@ -1393,7 +1393,7 @@ exports[`props validation validate simple types, alternate form 12`] = `
|
|
|
|
|
|
|
|
|
|
return function template(ctx, node, key = \\"\\") {
|
|
|
|
|
const props1 = {p: ctx['p']};
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, ctx);
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, node);
|
|
|
|
|
const b2 = comp1(props1, key + \`__1\`, node, this, null);
|
|
|
|
|
return block1([], [b2]);
|
|
|
|
|
}
|
|
|
|
@@ -1410,7 +1410,7 @@ exports[`props validation validate simple types, alternate form 13`] = `
|
|
|
|
|
|
|
|
|
|
return function template(ctx, node, key = \\"\\") {
|
|
|
|
|
const props1 = {p: ctx['p']};
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, ctx);
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, node);
|
|
|
|
|
const b2 = comp1(props1, key + \`__1\`, node, this, null);
|
|
|
|
|
return block1([], [b2]);
|
|
|
|
|
}
|
|
|
|
@@ -1427,7 +1427,7 @@ exports[`props validation validate simple types, alternate form 14`] = `
|
|
|
|
|
|
|
|
|
|
return function template(ctx, node, key = \\"\\") {
|
|
|
|
|
const props1 = {p: ctx['p']};
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, ctx);
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, node);
|
|
|
|
|
const b2 = comp1(props1, key + \`__1\`, node, this, null);
|
|
|
|
|
return block1([], [b2]);
|
|
|
|
|
}
|
|
|
|
@@ -1457,7 +1457,7 @@ exports[`props validation validate simple types, alternate form 16`] = `
|
|
|
|
|
|
|
|
|
|
return function template(ctx, node, key = \\"\\") {
|
|
|
|
|
const props1 = {p: ctx['p']};
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, ctx);
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, node);
|
|
|
|
|
const b2 = comp1(props1, key + \`__1\`, node, this, null);
|
|
|
|
|
return block1([], [b2]);
|
|
|
|
|
}
|
|
|
|
@@ -1474,7 +1474,7 @@ exports[`props validation validate simple types, alternate form 17`] = `
|
|
|
|
|
|
|
|
|
|
return function template(ctx, node, key = \\"\\") {
|
|
|
|
|
const props1 = {p: ctx['p']};
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, ctx);
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, node);
|
|
|
|
|
const b2 = comp1(props1, key + \`__1\`, node, this, null);
|
|
|
|
|
return block1([], [b2]);
|
|
|
|
|
}
|
|
|
|
@@ -1491,7 +1491,7 @@ exports[`props validation validate simple types, alternate form 18`] = `
|
|
|
|
|
|
|
|
|
|
return function template(ctx, node, key = \\"\\") {
|
|
|
|
|
const props1 = {p: ctx['p']};
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, ctx);
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, node);
|
|
|
|
|
const b2 = comp1(props1, key + \`__1\`, node, this, null);
|
|
|
|
|
return block1([], [b2]);
|
|
|
|
|
}
|
|
|
|
@@ -1521,7 +1521,7 @@ exports[`props validation validate simple types, alternate form 20`] = `
|
|
|
|
|
|
|
|
|
|
return function template(ctx, node, key = \\"\\") {
|
|
|
|
|
const props1 = {p: ctx['p']};
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, ctx);
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, node);
|
|
|
|
|
const b2 = comp1(props1, key + \`__1\`, node, this, null);
|
|
|
|
|
return block1([], [b2]);
|
|
|
|
|
}
|
|
|
|
@@ -1538,7 +1538,7 @@ exports[`props validation validate simple types, alternate form 21`] = `
|
|
|
|
|
|
|
|
|
|
return function template(ctx, node, key = \\"\\") {
|
|
|
|
|
const props1 = {p: ctx['p']};
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, ctx);
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, node);
|
|
|
|
|
const b2 = comp1(props1, key + \`__1\`, node, this, null);
|
|
|
|
|
return block1([], [b2]);
|
|
|
|
|
}
|
|
|
|
@@ -1555,7 +1555,7 @@ exports[`props validation validate simple types, alternate form 22`] = `
|
|
|
|
|
|
|
|
|
|
return function template(ctx, node, key = \\"\\") {
|
|
|
|
|
const props1 = {p: ctx['p']};
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, ctx);
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, node);
|
|
|
|
|
const b2 = comp1(props1, key + \`__1\`, node, this, null);
|
|
|
|
|
return block1([], [b2]);
|
|
|
|
|
}
|
|
|
|
@@ -1585,7 +1585,7 @@ exports[`props validation validate simple types, alternate form 24`] = `
|
|
|
|
|
|
|
|
|
|
return function template(ctx, node, key = \\"\\") {
|
|
|
|
|
const props1 = {p: ctx['p']};
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, ctx);
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, node);
|
|
|
|
|
const b2 = comp1(props1, key + \`__1\`, node, this, null);
|
|
|
|
|
return block1([], [b2]);
|
|
|
|
|
}
|
|
|
|
@@ -1602,7 +1602,7 @@ exports[`props validation validation is only done in dev mode 1`] = `
|
|
|
|
|
|
|
|
|
|
return function template(ctx, node, key = \\"\\") {
|
|
|
|
|
const props1 = {};
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, ctx);
|
|
|
|
|
helpers.validateProps(\`SubComp\`, props1, node);
|
|
|
|
|
const b2 = comp1(props1, key + \`__1\`, node, this, null);
|
|
|
|
|
return block1([], [b2]);
|
|
|
|
|
}
|
|
|
|
|