@gopowerteam/form-render 0.0.43 → 0.0.45

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.
@@ -8,6 +8,7 @@ export interface FormItemOptions<T = Record<string, any>> {
8
8
  title: string;
9
9
  default?: any | (() => any) | (() => Promise<any>);
10
10
  collapsed?: boolean;
11
+ group?: string | string[];
11
12
  visiable?: boolean | ((record: T) => boolean);
12
13
  span?: number;
13
14
  rule?: FieldRule | FieldRule[];
@@ -1,4 +1,6 @@
1
- export declare function FormRenderResolver(): {
1
+ export declare function FormRenderResolver({ importStyle }: {
2
+ importStyle: boolean;
3
+ }): {
2
4
  type: "component";
3
5
  resolve: (name: string) => {
4
6
  name: string;
@@ -1,4 +1,6 @@
1
- function o() {
1
+ function n({
2
+ importStyle: o
3
+ }) {
2
4
  return {
3
5
  type: "component",
4
6
  resolve: (e) => {
@@ -7,11 +9,11 @@ function o() {
7
9
  return {
8
10
  name: "FormRender",
9
11
  from: r,
10
- sideEffects: [`${r}/dist/style.css`]
12
+ sideEffects: o ? [`${r}/dist/style.css`] : []
11
13
  };
12
14
  }
13
15
  };
14
16
  }
15
17
  export {
16
- o as FormRenderResolver
18
+ n as FormRenderResolver
17
19
  };