Skip to content

Commit 848d4bb

Browse files
committed
fix: bundle working
1 parent 37b61f9 commit 848d4bb

File tree

4 files changed

+47
-47
lines changed

4 files changed

+47
-47
lines changed

scripts/installer/frameworks/react/src/ui-framework/types/mui-framework.type.ts

Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -10,32 +10,32 @@ interface Components {
1010
Input: (props: any) => ReactElement<any, string | JSXElementConstructor<any>>;
1111

1212
// Optional Components
13-
select?: Function;
14-
radioGroup?: Function;
15-
autoComplete?: Function;
16-
picker?: Function;
17-
upload?: Function;
18-
richTextEditor?: Function;
19-
ratings?: Function;
13+
select?: any;
14+
radioGroup?: any;
15+
autoComplete?: any;
16+
picker?: any;
17+
upload?: any;
18+
richTextEditor?: any;
19+
ratings?: any;
2020
},
2121
null: {
22-
EmptyDiv: Function;
22+
EmptyDiv: any;
2323
},
2424
array: {
25-
Select: Function;
25+
Select: any;
2626

2727
// Optional Components
28-
autoComplete?: Function;
28+
autoComplete?: any;
2929

3030
// React Specific Components
31-
creatableSelect?: Function;
32-
reactSelect?: Function;
31+
creatableSelect?: any;
32+
reactSelect?: any;
3333
},
3434
boolean: {
35-
Checkbox: Function;
35+
Checkbox: any;
3636

3737
// Optional Components
38-
switch?: Function;
38+
switch?: any;
3939
},
4040
}
4141

@@ -71,39 +71,39 @@ export interface UIFramework {
7171
ValidationMessages: any;
7272
};
7373
wrapperComponents: {
74-
InputLabel: Function;
75-
FormLabel: Function;
76-
AppBar: Function;
77-
Tabs: Function;
78-
Tab: Function;
79-
Box: Function;
80-
CircularProgress: Function;
81-
Typography: Function;
82-
Divider: Function;
83-
IconButton: Function;
84-
AddCircle: Function;
85-
Stepper: Function;
86-
Step: Function;
87-
StepLabel: Function;
88-
Button: Function;
89-
ArrowUpward: Function;
90-
ArrowDownward: Function;
91-
RemoveCircle: Function;
92-
FormControl: Function;
93-
FormGroup: Function;
94-
FormHelperText: Function;
95-
ActiveComp: Function;
74+
InputLabel: any;
75+
FormLabel: any;
76+
AppBar: any;
77+
Tabs: any;
78+
Tab: any;
79+
Box: any;
80+
CircularProgress: any;
81+
Typography: any;
82+
Divider: any;
83+
IconButton: any;
84+
AddCircle: any;
85+
Stepper: any;
86+
Step: any;
87+
StepLabel: any;
88+
Button: any;
89+
ArrowUpward: any;
90+
ArrowDownward: any;
91+
RemoveCircle: any;
92+
FormControl: any;
93+
FormGroup: any;
94+
FormHelperText: any;
95+
ActiveComp: any;
9696
Div: FunctionComponent<{ className?: any; style?: React.CSSProperties; }>;
9797
Span: FunctionComponent<{ className?: any; style?: React.CSSProperties; }>;
9898
FieldsetHTML: FunctionComponent<{ className: any; }>;
9999
Para: FunctionComponent<{ className: any; }>;
100100
};
101101
styles: {
102102
FieldSetStyles: any;
103-
FormFieldStyles: Function;
104-
FormStyles: Function;
103+
FormFieldStyles: any;
104+
FormStyles: any;
105105
defaultTheme: any;
106-
FieldStyles: Function;
107-
FormStepperStyles: Function;
106+
FieldStyles: any;
107+
FormStepperStyles: any;
108108
};
109109
}

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
import Form from './framework/Form';
1+
import Form from './framework';
22

33
export default Form;

src/types/ConfiguredField.type.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ export type ConfiguredFieldProps = {
55
data?: any;
66
type?: string;
77
descriptionText?: string;
8-
activeCompColor: string;
8+
activeCompColor?: string;
99
helpText?: string;
1010
Component?: (props: any) => ReactElement;
11-
LabelComponent?: (props: any) => any;
11+
LabelComponent?: any;
1212
labelComponentProps?: any;
1313
title?: string;
1414
className?: string;
15-
componentProps: any;
15+
componentProps?: any;
1616
id?: string;
1717
htmlid?: string;
1818
isHidden?: boolean;

tsconfig.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"@framework/*": ["./src/framework/*"],
1313
},
1414
"forceConsistentCasingInFileNames": true,
15-
"module": "es6",
15+
"module": "esnext",
1616
"moduleResolution": "node",
1717
"preserveConstEnums": true,
1818
"declaration": true,
@@ -21,7 +21,7 @@
2121
"noLib": false,
2222
"emitDecoratorMetadata": true,
2323
"experimentalDecorators": true,
24-
"target": "es6",
24+
"target": "esnext",
2525
"resolveJsonModule": true,
2626
"sourceMap": true,
2727
"allowJs": true,
@@ -53,4 +53,4 @@
5353
"src/**/*",
5454
"node_modules/selection-is-backward/*"
5555
]
56-
}
56+
}

0 commit comments

Comments
 (0)