lilact 0.26.10 → 0.26.11

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.
@@ -589,11 +589,11 @@ var length = 0;
589
589
  var position = 0;
590
590
  var character = 0;
591
591
  var characters = "";
592
- function node2(value, root, parent, type, props2, children, length2) {
593
- return { value, root, parent, type, props: props2, children, line, column, length: length2, return: "" };
592
+ function node2(value, root, parent, type, props, children, length2) {
593
+ return { value, root, parent, type, props, children, line, column, length: length2, return: "" };
594
594
  }
595
- function copy(root, props2) {
596
- return assign(node2("", null, null, "", null, null, 0), root, { length: -root.length }, props2);
595
+ function copy(root, props) {
596
+ return assign(node2("", null, null, "", null, null, 0), root, { length: -root.length }, props);
597
597
  }
598
598
  function char() {
599
599
  return character;
@@ -734,7 +734,7 @@ function parse(value, root, parent, rule, rules, rulesets, pseudo, points, decla
734
734
  var ampersand = 1;
735
735
  var character2 = 0;
736
736
  var type = "";
737
- var props2 = rules;
737
+ var props = rules;
738
738
  var children = rulesets;
739
739
  var reference = rule;
740
740
  var characters2 = type;
@@ -798,10 +798,10 @@ function parse(value, root, parent, rule, rules, rulesets, pseudo, points, decla
798
798
  characters2 += ";";
799
799
  // { rule/at-rule
800
800
  default:
801
- append(reference = ruleset(characters2, root, parent, index2, offset, rules, points, type, props2 = [], children = [], length2), rulesets);
801
+ append(reference = ruleset(characters2, root, parent, index2, offset, rules, points, type, props = [], children = [], length2), rulesets);
802
802
  if (character2 === 123)
803
803
  if (offset === 0)
804
- parse(characters2, root, reference, reference, props2, rulesets, length2, points, children);
804
+ parse(characters2, root, reference, reference, props, rulesets, length2, points, children);
805
805
  else
806
806
  switch (atrule === 99 && charat(characters2, 3) === 110 ? 100 : atrule) {
807
807
  // d l m s
@@ -809,7 +809,7 @@ function parse(value, root, parent, rule, rules, rulesets, pseudo, points, decla
809
809
  case 108:
810
810
  case 109:
811
811
  case 115:
812
- parse(value, reference, reference, rule && append(ruleset(value, reference, reference, 0, 0, rules, points, type, rules, props2 = [], length2), children), rules, children, length2, points, rule ? props2 : children);
812
+ parse(value, reference, reference, rule && append(ruleset(value, reference, reference, 0, 0, rules, points, type, rules, props = [], length2), children), rules, children, length2, points, rule ? props : children);
813
813
  break;
814
814
  default:
815
815
  parse(characters2, reference, reference, reference, [""], children, 0, points, children);
@@ -850,15 +850,15 @@ function parse(value, root, parent, rule, rules, rulesets, pseudo, points, decla
850
850
  }
851
851
  return rulesets;
852
852
  }
853
- function ruleset(value, root, parent, index2, offset, rules, points, type, props2, children, length2) {
853
+ function ruleset(value, root, parent, index2, offset, rules, points, type, props, children, length2) {
854
854
  var post = offset - 1;
855
855
  var rule = offset === 0 ? rules : [""];
856
856
  var size = sizeof(rule);
857
857
  for (var i2 = 0, j = 0, k = 0; i2 < index2; ++i2)
858
858
  for (var x = 0, y = substr(value, post + 1, post = abs(j = points[i2])), z = value; x < size; ++x)
859
859
  if (z = trim(j > 0 ? rule[x] + " " + y : replace(y, /&\f/g, rule[x])))
860
- props2[k++] = z;
861
- return node2(value, root, parent, offset === 0 ? RULESET : type, props2, children, length2);
860
+ props[k++] = z;
861
+ return node2(value, root, parent, offset === 0 ? RULESET : type, props, children, length2);
862
862
  }
863
863
  function comment(value, root, parent) {
864
864
  return node2(value, root, parent, COMMENT, from(char()), substr(value, 2, -2), 0);
@@ -1919,8 +1919,8 @@ var Children = {
1919
1919
  }
1920
1920
  };
1921
1921
  var forwardRef = (render2) => {
1922
- const forwarded = function(props2, ref) {
1923
- return render2({ ...props2, ref: void 0 }, ref);
1922
+ const forwarded = function(props, ref) {
1923
+ return render2({ ...props, ref: void 0 }, ref);
1924
1924
  };
1925
1925
  forwarded.displayName = "Forwarded " + render2.displayName;
1926
1926
  return forwarded;
@@ -2036,8 +2036,8 @@ function isValidElementType(x) {
2036
2036
  return typeof x === "function" || typeof x === "string";
2037
2037
  }
2038
2038
  function createPrimitiveValidator(typeCheck) {
2039
- const validator = function validate(props2, propName, componentName, location, propFullName, secret) {
2040
- const value = props2[propName];
2039
+ const validator = function validate(props, propName, componentName, location, propFullName, secret) {
2040
+ const value = props[propName];
2041
2041
  if (isNullOrUndefined(value)) return null;
2042
2042
  if (typeCheck(value)) return null;
2043
2043
  const expected = typeCheck.expectedType || "the correct type";
@@ -2046,21 +2046,21 @@ function createPrimitiveValidator(typeCheck) {
2046
2046
  `Invalid ${location} \`${propFullName}\` of type \`${actual}\` supplied to \`${formatComponentName(componentName)}\`, expected \`${expected}\`.`
2047
2047
  );
2048
2048
  };
2049
- validator.isRequired = function validateRequired(props2, propName, componentName, location, propFullName) {
2050
- const value = props2[propName];
2049
+ validator.isRequired = function validateRequired(props, propName, componentName, location, propFullName) {
2050
+ const value = props[propName];
2051
2051
  if (isNullOrUndefined(value)) {
2052
2052
  return new Error(
2053
2053
  `The ${location} \`${propFullName}\` is marked as required in \`${formatComponentName(componentName)}\`, but its value is \`${value}\`.`
2054
2054
  );
2055
2055
  }
2056
- return validator(props2, propName, componentName, location, propFullName);
2056
+ return validator(props, propName, componentName, location, propFullName);
2057
2057
  };
2058
2058
  return validator;
2059
2059
  }
2060
2060
  function createPropTypes() {
2061
2061
  const PropTypes2 = {};
2062
2062
  PropTypes2.any = (function() {
2063
- const v = function validateAny(props2, propName, componentName, location, propFullName) {
2063
+ const v = function validateAny(props, propName, componentName, location, propFullName) {
2064
2064
  return null;
2065
2065
  };
2066
2066
  v.isRequired = function validateAnyRequired() {
@@ -2092,8 +2092,8 @@ function createPropTypes() {
2092
2092
  PropTypes2.elementType.expectedType = "elementType";
2093
2093
  PropTypes2.oneOf = function oneOf(values) {
2094
2094
  const allowed = Array.isArray(values) ? values : [];
2095
- const validator = function validateOneOf(props2, propName, componentName, location, propFullName) {
2096
- const value = props2[propName];
2095
+ const validator = function validateOneOf(props, propName, componentName, location, propFullName) {
2096
+ const value = props[propName];
2097
2097
  if (isNullOrUndefined(value)) return null;
2098
2098
  for (let i2 = 0; i2 < allowed.length; i2++) {
2099
2099
  if (value === allowed[i2]) return null;
@@ -2103,43 +2103,43 @@ function createPropTypes() {
2103
2103
  `Invalid ${location} \`${propFullName}\` of value \`${String(value)}\` supplied to \`${formatComponentName(componentName)}\`, expected one of [${allowed.map(String).join(", ")}] (received type \`${actual}\`).`
2104
2104
  );
2105
2105
  };
2106
- validator.isRequired = function validateOneOfRequired(props2, propName, componentName, location, propFullName) {
2107
- if (isNullOrUndefined(props2[propName])) {
2106
+ validator.isRequired = function validateOneOfRequired(props, propName, componentName, location, propFullName) {
2107
+ if (isNullOrUndefined(props[propName])) {
2108
2108
  return new Error(
2109
- `The ${location} \`${propFullName}\` is marked as required in \`${formatComponentName(componentName)}\`, but its value is \`${props2[propName]}\`.`
2109
+ `The ${location} \`${propFullName}\` is marked as required in \`${formatComponentName(componentName)}\`, but its value is \`${props[propName]}\`.`
2110
2110
  );
2111
2111
  }
2112
- return validator(props2, propName, componentName, location, propFullName);
2112
+ return validator(props, propName, componentName, location, propFullName);
2113
2113
  };
2114
2114
  return validator;
2115
2115
  };
2116
2116
  PropTypes2.oneOfType = function oneOfType(validators) {
2117
2117
  const vlist = validators || [];
2118
- const validator = function validateOneOfType(props2, propName, componentName, location, propFullName) {
2119
- const value = props2[propName];
2118
+ const validator = function validateOneOfType(props, propName, componentName, location, propFullName) {
2119
+ const value = props[propName];
2120
2120
  if (isNullOrUndefined(value)) return null;
2121
2121
  for (let i2 = 0; i2 < vlist.length; i2++) {
2122
- const err = vlist[i2](props2, propName, componentName, location, propFullName);
2122
+ const err = vlist[i2](props, propName, componentName, location, propFullName);
2123
2123
  if (err === null) return null;
2124
2124
  }
2125
2125
  return new Error(
2126
2126
  `Invalid ${location} \`${propFullName}\` supplied to \`${formatComponentName(componentName)}\` (none of the allowed types matched).`
2127
2127
  );
2128
2128
  };
2129
- validator.isRequired = function validateOneOfTypeRequired(props2, propName, componentName, location, propFullName) {
2130
- if (isNullOrUndefined(props2[propName])) {
2129
+ validator.isRequired = function validateOneOfTypeRequired(props, propName, componentName, location, propFullName) {
2130
+ if (isNullOrUndefined(props[propName])) {
2131
2131
  return new Error(
2132
- `The ${location} \`${propFullName}\` is marked as required in \`${formatComponentName(componentName)}\`, but its value is \`${props2[propName]}\`.`
2132
+ `The ${location} \`${propFullName}\` is marked as required in \`${formatComponentName(componentName)}\`, but its value is \`${props[propName]}\`.`
2133
2133
  );
2134
2134
  }
2135
- return validator(props2, propName, componentName, location, propFullName);
2135
+ return validator(props, propName, componentName, location, propFullName);
2136
2136
  };
2137
2137
  return validator;
2138
2138
  };
2139
2139
  PropTypes2.arrayOf = function arrayOf(innerValidator) {
2140
2140
  const inner = innerValidator;
2141
- const validator = function validateArrayOf(props2, propName, componentName, location, propFullName) {
2142
- const value = props2[propName];
2141
+ const validator = function validateArrayOf(props, propName, componentName, location, propFullName) {
2142
+ const value = props[propName];
2143
2143
  if (isNullOrUndefined(value)) return null;
2144
2144
  if (!Array.isArray(value)) {
2145
2145
  return new Error(
@@ -2159,20 +2159,20 @@ function createPropTypes() {
2159
2159
  }
2160
2160
  return null;
2161
2161
  };
2162
- validator.isRequired = function validateArrayOfRequired(props2, propName, componentName, location, propFullName) {
2163
- if (isNullOrUndefined(props2[propName])) {
2162
+ validator.isRequired = function validateArrayOfRequired(props, propName, componentName, location, propFullName) {
2163
+ if (isNullOrUndefined(props[propName])) {
2164
2164
  return new Error(
2165
- `The ${location} \`${propFullName}\` is marked as required in \`${formatComponentName(componentName)}\`, but its value is \`${props2[propName]}\`.`
2165
+ `The ${location} \`${propFullName}\` is marked as required in \`${formatComponentName(componentName)}\`, but its value is \`${props[propName]}\`.`
2166
2166
  );
2167
2167
  }
2168
- return validator(props2, propName, componentName, location, propFullName);
2168
+ return validator(props, propName, componentName, location, propFullName);
2169
2169
  };
2170
2170
  return validator;
2171
2171
  };
2172
2172
  PropTypes2.objectOf = function objectOf(innerValidator) {
2173
2173
  const inner = innerValidator;
2174
- const validator = function validateObjectOf(props2, propName, componentName, location, propFullName) {
2175
- const value = props2[propName];
2174
+ const validator = function validateObjectOf(props, propName, componentName, location, propFullName) {
2175
+ const value = props[propName];
2176
2176
  if (isNullOrUndefined(value)) return null;
2177
2177
  if (typeof value !== "object" || value === null || Array.isArray(value)) {
2178
2178
  return new Error(
@@ -2194,20 +2194,20 @@ function createPropTypes() {
2194
2194
  }
2195
2195
  return null;
2196
2196
  };
2197
- validator.isRequired = function validateObjectOfRequired(props2, propName, componentName, location, propFullName) {
2198
- if (isNullOrUndefined(props2[propName])) {
2197
+ validator.isRequired = function validateObjectOfRequired(props, propName, componentName, location, propFullName) {
2198
+ if (isNullOrUndefined(props[propName])) {
2199
2199
  return new Error(
2200
- `The ${location} \`${propFullName}\` is marked as required in \`${formatComponentName(componentName)}\`, but its value is \`${props2[propName]}\`.`
2200
+ `The ${location} \`${propFullName}\` is marked as required in \`${formatComponentName(componentName)}\`, but its value is \`${props[propName]}\`.`
2201
2201
  );
2202
2202
  }
2203
- return validator(props2, propName, componentName, location, propFullName);
2203
+ return validator(props, propName, componentName, location, propFullName);
2204
2204
  };
2205
2205
  return validator;
2206
2206
  };
2207
2207
  function makeShapeValidator(spec, { exact }) {
2208
2208
  const keys = spec ? Object.keys(spec) : [];
2209
- const validator = function validateShapeLike(props2, propName, componentName, location, propFullName) {
2210
- const value = props2[propName];
2209
+ const validator = function validateShapeLike(props, propName, componentName, location, propFullName) {
2210
+ const value = props[propName];
2211
2211
  const propIsMissing = isNullOrUndefined(value);
2212
2212
  if (propIsMissing) return null;
2213
2213
  if (typeof value !== "object" || value === null || Array.isArray(value)) {
@@ -2254,13 +2254,13 @@ function createPropTypes() {
2254
2254
  }
2255
2255
  return null;
2256
2256
  };
2257
- validator.isRequired = function validateShapeLikeRequired(props2, propName, componentName, location, propFullName) {
2258
- if (isNullOrUndefined(props2[propName])) {
2257
+ validator.isRequired = function validateShapeLikeRequired(props, propName, componentName, location, propFullName) {
2258
+ if (isNullOrUndefined(props[propName])) {
2259
2259
  return new Error(
2260
- `The ${location} \`${propFullName}\` is marked as required in \`${formatComponentName(componentName)}\`, but its value is \`${props2[propName]}\`.`
2260
+ `The ${location} \`${propFullName}\` is marked as required in \`${formatComponentName(componentName)}\`, but its value is \`${props[propName]}\`.`
2261
2261
  );
2262
2262
  }
2263
- return validator(props2, propName, componentName, location, propFullName);
2263
+ return validator(props, propName, componentName, location, propFullName);
2264
2264
  };
2265
2265
  return validator;
2266
2266
  }
@@ -2271,21 +2271,21 @@ function createPropTypes() {
2271
2271
  return makeShapeValidator(spec, { exact: true });
2272
2272
  };
2273
2273
  PropTypes2.instanceOf = function instanceOf(ClassOrConstructor) {
2274
- const validator = function validateInstanceOf(props2, propName, componentName, location, propFullName) {
2275
- const value = props2[propName];
2274
+ const validator = function validateInstanceOf(props, propName, componentName, location, propFullName) {
2275
+ const value = props[propName];
2276
2276
  if (isNullOrUndefined(value)) return null;
2277
2277
  if (value instanceof ClassOrConstructor) return null;
2278
2278
  return new Error(
2279
2279
  `Invalid ${location} \`${propFullName}\` supplied to \`${formatComponentName(componentName)}\`: expected instance of \`${defaultGetDisplayName(ClassOrConstructor)}\`.`
2280
2280
  );
2281
2281
  };
2282
- validator.isRequired = function validateInstanceOfRequired(props2, propName, componentName, location, propFullName) {
2283
- if (isNullOrUndefined(props2[propName])) {
2282
+ validator.isRequired = function validateInstanceOfRequired(props, propName, componentName, location, propFullName) {
2283
+ if (isNullOrUndefined(props[propName])) {
2284
2284
  return new Error(
2285
- `The ${location} \`${propFullName}\` is marked as required in \`${formatComponentName(componentName)}\`, but its value is \`${props2[propName]}\`.`
2285
+ `The ${location} \`${propFullName}\` is marked as required in \`${formatComponentName(componentName)}\`, but its value is \`${props[propName]}\`.`
2286
2286
  );
2287
2287
  }
2288
- return validator(props2, propName, componentName, location, propFullName);
2288
+ return validator(props, propName, componentName, location, propFullName);
2289
2289
  };
2290
2290
  return validator;
2291
2291
  };
@@ -2402,7 +2402,7 @@ var ComponentCache = class {
2402
2402
  }
2403
2403
  };
2404
2404
  var ComponentCore = class {
2405
- constructor(comp, props2) {
2405
+ constructor(comp, props) {
2406
2406
  /*
2407
2407
 
2408
2408
  // these are commented so they are not allocated by default. i just wanted to keep a list.
@@ -2431,7 +2431,7 @@ var ComponentCore = class {
2431
2431
  __publicField(this, "component");
2432
2432
  __publicField(this, "props");
2433
2433
  this.component = comp;
2434
- this.props = props2 || {};
2434
+ this.props = props || {};
2435
2435
  }
2436
2436
  /*
2437
2437
  */
@@ -2884,16 +2884,16 @@ function processEffects() {
2884
2884
  for (const pe of _passive_effects) pe();
2885
2885
  });
2886
2886
  }
2887
- var generateComponentKey = (entity, props2) => {
2887
+ var generateComponentKey = (entity, props) => {
2888
2888
  let key;
2889
- if (props2.key !== void 0) {
2889
+ if (props.key !== void 0) {
2890
2890
  key = /*':k:'+*/
2891
- props2.key;
2892
- } else if (props2.id !== void 0) {
2893
- key = ":i:" + props2.id;
2894
- } else if (props2.path !== void 0) {
2895
- key = ":p:" + props2.path;
2896
- } else if (props2[TEXT2] !== void 0) {
2891
+ props.key;
2892
+ } else if (props.id !== void 0) {
2893
+ key = ":i:" + props.id;
2894
+ } else if (props.path !== void 0) {
2895
+ key = ":p:" + props.path;
2896
+ } else if (props[TEXT2] !== void 0) {
2897
2897
  key = ":text:";
2898
2898
  } else {
2899
2899
  if (typeof entity === "string") {
@@ -2903,10 +2903,10 @@ var generateComponentKey = (entity, props2) => {
2903
2903
  } else {
2904
2904
  key = "::";
2905
2905
  }
2906
- if (props2.name !== void 0) {
2907
- key = key + ":" + props2.name;
2908
- } else if (props2.path !== void 0) {
2909
- key = key + ":" + props2.path;
2906
+ if (props.name !== void 0) {
2907
+ key = key + ":" + props.name;
2908
+ } else if (props.path !== void 0) {
2909
+ key = key + ":" + props.path;
2910
2910
  }
2911
2911
  }
2912
2912
  return key;
@@ -2995,8 +2995,8 @@ var Component = class {
2995
2995
  if (typeof this[CORE].entity === "function") return this[CORE].entity.name;
2996
2996
  return "Component";
2997
2997
  }
2998
- constructor(props2) {
2999
- this[CORE] = new ComponentCore(this, props2);
2998
+ constructor(props) {
2999
+ this[CORE] = new ComponentCore(this, props);
3000
3000
  }
3001
3001
  /**
3002
3002
  * Force the component to re-render even if no state/props change.
@@ -3045,8 +3045,8 @@ var Component = class {
3045
3045
  */
3046
3046
  };
3047
3047
  var HTMLComponent = class extends Component {
3048
- constructor(entity, props2) {
3049
- super(props2);
3048
+ constructor(entity, props) {
3049
+ super(props);
3050
3050
  this[CORE].entity = entity;
3051
3051
  if (entity === "svg") {
3052
3052
  this[CORE].is_svg = true;
@@ -3057,20 +3057,20 @@ var HTMLComponent = class extends Component {
3057
3057
  }
3058
3058
  };
3059
3059
  var RootComponent = class extends HTMLComponent {
3060
- constructor(element, props2) {
3061
- super(":root:", props2);
3060
+ constructor(element, props) {
3061
+ super(":root:", props);
3062
3062
  __publicField(this, "displayName", "Root");
3063
3063
  if (typeof this.element === "string") {
3064
3064
  element = document.querySelector(element);
3065
3065
  }
3066
3066
  this[CORE].element = element;
3067
- for (const ch2 of props2.children) {
3067
+ for (const ch2 of props.children) {
3068
3068
  if (ch2[CORE]) ch2[CORE].container = this[CORE];
3069
3069
  else ch2.container = this[CORE];
3070
3070
  }
3071
3071
  }
3072
3072
  };
3073
- function createComponent2(entity, props2 = {}, ...children) {
3073
+ function createComponent2(entity, props = {}, ...children) {
3074
3074
  if (typeof entity !== "string" && typeof entity !== "function") {
3075
3075
  if (typeof entity !== "object" || !entity[MEMOIZED]) {
3076
3076
  throw new Error("Invalid entity for createComponent.");
@@ -3092,9 +3092,9 @@ function createComponent2(entity, props2 = {}, ...children) {
3092
3092
  children[i2] = ch2;
3093
3093
  }
3094
3094
  }
3095
- props2.key = generateComponentKey(entity, props2);
3096
- props2.children = children;
3097
- return { entity, props: props2, [CORE]: null };
3095
+ props.key = generateComponentKey(entity, props);
3096
+ props.children = children;
3097
+ return { entity, props, [CORE]: null };
3098
3098
  }
3099
3099
  function createRoot(element) {
3100
3100
  let root;
@@ -3121,8 +3121,8 @@ function createPortal(children, element) {
3121
3121
  return createComponent2(lilact_default.Portal, { "view": element }, children);
3122
3122
  }
3123
3123
  function cloneComponent(component, propsPatch, ...children) {
3124
- const cc = { entity: component.entity, props: { ...component.props, ...propsPatch, children: children || props.children }, [CORE]: null };
3125
- if (children.length) {
3124
+ const cc = { entity: component.entity, props: { ...component.props, ...propsPatch }, [CORE]: null };
3125
+ if (children == null ? void 0 : children.length) {
3126
3126
  cc.props.children = children;
3127
3127
  }
3128
3128
  return cc;
@@ -3751,11 +3751,11 @@ function lazy(factory) {
3751
3751
  } else {
3752
3752
  status = "success";
3753
3753
  }
3754
- function LazyComponent(props2) {
3754
+ function LazyComponent(props) {
3755
3755
  if (status === "pending") throw result;
3756
3756
  if (status === "error") throw result;
3757
3757
  const Component2 = result;
3758
- return createComponent(Component2, { ...props2 });
3758
+ return createComponent(Component2, { ...props });
3759
3759
  }
3760
3760
  return LazyComponent;
3761
3761
  }
@@ -4396,11 +4396,11 @@ function useSelector(selector, equalityFn = (a, b2) => a === b2) {
4396
4396
  function connect(mapStateToProps, mapDispatchToProps) {
4397
4397
  const shouldSubscribe = Boolean(mapStateToProps);
4398
4398
  return function wrapWithConnect(WrappedComponent) {
4399
- function ConnectedComponent(props2) {
4399
+ function ConnectedComponent(props) {
4400
4400
  const store = useStore();
4401
4401
  let dispatchProps = { dispatch: store.dispatch };
4402
4402
  if (typeof mapDispatchToProps === "function") {
4403
- dispatchProps = mapDispatchToProps(store.dispatch, props2);
4403
+ dispatchProps = mapDispatchToProps(store.dispatch, props);
4404
4404
  } else if (typeof mapDispatchToProps === "object" && mapDispatchToProps !== null) {
4405
4405
  dispatchProps = {};
4406
4406
  const dispatch = store.dispatch;
@@ -4411,10 +4411,10 @@ function connect(mapStateToProps, mapDispatchToProps) {
4411
4411
  }
4412
4412
  let stateProps = {};
4413
4413
  if (mapStateToProps) {
4414
- const selector = (state) => mapStateToProps(state, props2);
4414
+ const selector = (state) => mapStateToProps(state, props);
4415
4415
  stateProps = useSelector(selector, shallowEqual) || {};
4416
4416
  }
4417
- const mergedProps = { ...props2, ...stateProps, ...dispatchProps };
4417
+ const mergedProps = { ...props, ...stateProps, ...dispatchProps };
4418
4418
  return createComponent(WrappedComponent, { ...mergedProps });
4419
4419
  }
4420
4420
  return ConnectedComponent;
@@ -4848,8 +4848,8 @@ var ErrorBoundary = class extends Component {
4848
4848
  }
4849
4849
  };
4850
4850
  var Suspense = class extends Component {
4851
- constructor(props2) {
4852
- super(props2);
4851
+ constructor(props) {
4852
+ super(props);
4853
4853
  __publicField(this, "displayName", "Suspense");
4854
4854
  this.state = { showingFallback: false };
4855
4855
  this._pending = /* @__PURE__ */ new Set();