@simpleform/render 4.1.31 → 4.1.33

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/lib/typings.d.ts CHANGED
@@ -20,9 +20,11 @@ export type WithExpression<T> = {
20
20
  [P in keyof T]: T[P] | string;
21
21
  };
22
22
  export type FRNode = WithExpression<WithGenerateNode<FRGenerateNode, 'inside' | 'outside'>>;
23
- export type FROptions = Partial<FRGenerateNode> & Pick<FormChildrenProps, 'formrender'> & Pick<FormProps, 'form'>;
23
+ export type FROptions = Partial<FRGenerateNode> & {
24
+ [key in string]: any;
25
+ };
24
26
  export type FRContext = {
25
- _options: FROptions & {
27
+ _options: FROptions & Pick<FormChildrenProps, 'formrender'> & Pick<FormProps, 'form'> & {
26
28
  index?: number;
27
29
  path?: Array<string | number>;
28
30
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simpleform/render",
3
- "version": "4.1.31",
3
+ "version": "4.1.33",
4
4
  "description": "dynamic rendering core of simple form",
5
5
  "author": "mezhanglei <496623925@qq.com>",
6
6
  "homepage": "https://github.com/mezhanglei/simpleform#readme",
@@ -45,8 +45,8 @@
45
45
  "react-router-dom": "^6.19.0"
46
46
  },
47
47
  "dependencies": {
48
- "@simpleform/form": "^2.2.6",
49
- "@simpleform/evaluator": "^0.0.1",
48
+ "@simpleform/form": "^2.2.7",
49
+ "@simpleform/evaluator": "^0.0.2",
50
50
  "classnames": "^2.3.2",
51
51
  "copy-anything": "^3.0.5",
52
52
  "serialize-javascript": "^6.0.2"