@symbo.ls/create 2.11.469 → 2.11.471

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.
@@ -13848,15 +13848,24 @@ var init_Collection = __esm({
13848
13848
  if (childrenAs)
13849
13849
  param = param.map((v) => ({ extend: childExtends, [childrenAs]: v }));
13850
13850
  } else if ((0, import_utils8.isObject)(childrenExec)) {
13851
- param = (0, import_utils8.deepCloneWithExtend)(childrenExec.$$typeof ? { key: childrenExec.key, props: childrenExec.props } : childrenExec);
13851
+ if (!childrenExec.$$typeof)
13852
+ return;
13852
13853
  param = Object.keys(param).map((v) => {
13853
13854
  const val = param[v];
13854
13855
  return (0, import_utils8.addAdditionalExtend)(v, val);
13855
13856
  });
13856
- if (childrenAs)
13857
- param = param.map((v) => ({ extend: childExtends, [childrenAs]: v }));
13857
+ el.removeContent();
13858
+ el.content = {
13859
+ extend: childExtends,
13860
+ props: {
13861
+ childProps: el.props && el.props.childProps
13862
+ }
13863
+ };
13864
+ return;
13858
13865
  } else if (childrenExec) {
13859
- param = [{ text: param }];
13866
+ el.removeContent();
13867
+ el.content = { text: param };
13868
+ return;
13860
13869
  }
13861
13870
  if (!param)
13862
13871
  return;
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@symbo.ls/create",
3
- "version": "2.11.469",
3
+ "version": "2.11.471",
4
4
  "license": "MIT",
5
- "gitHead": "711b668d5e97cf07bdc3ecec069a89c4eddee826",
5
+ "gitHead": "593a54d6bdc013b6546ef7f2a7ccfb5838cec7fe",
6
6
  "files": [
7
7
  "src",
8
8
  "dist"
@@ -34,12 +34,12 @@
34
34
  "@domql/emotion": "^2.5.0",
35
35
  "@domql/report": "^2.5.0",
36
36
  "@domql/router": "^2.5.0",
37
- "@symbo.ls/fetch": "^2.11.469",
38
- "@symbo.ls/init": "^2.11.469",
39
- "@symbo.ls/scratch": "^2.11.469",
40
- "@symbo.ls/sync": "^2.11.469",
41
- "@symbo.ls/uikit": "^2.11.469",
42
- "@symbo.ls/utils": "^2.11.469",
37
+ "@symbo.ls/fetch": "^2.11.470",
38
+ "@symbo.ls/init": "^2.11.470",
39
+ "@symbo.ls/scratch": "^2.11.470",
40
+ "@symbo.ls/sync": "^2.11.471",
41
+ "@symbo.ls/uikit": "^2.11.471",
42
+ "@symbo.ls/utils": "^2.11.470",
43
43
  "domql": "^2.5.158"
44
44
  },
45
45
  "devDependencies": {