@micromerce/formbuilder-react 1.0.594 → 1.0.596
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/formbuilder.js +660 -0
- package/dist/formbuilder.js.LICENSE.txt +60 -0
- package/dist/formbuilder.js.map +1 -0
- package/package.json +51 -44
- package/dist/esm/index.js +0 -128984
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/types/assets/icons/error/Error.d.ts +0 -2
- package/dist/esm/types/components/Checkbox/Checkbox.d.ts +0 -10
- package/dist/esm/types/components/Checkbox/index.d.ts +0 -1
- package/dist/esm/types/components/ControlWrapper/ControlWrapper.d.ts +0 -11
- package/dist/esm/types/components/ControlWrapper/index.d.ts +0 -1
- package/dist/esm/types/components/DateRangeGroup/DateRangeGroup.d.ts +0 -10
- package/dist/esm/types/components/DateRangeGroup/DateRangeGroup.styles.d.ts +0 -3
- package/dist/esm/types/components/DateRangeGroup/components/CalendarModal.d.ts +0 -14
- package/dist/esm/types/components/DateRangeGroup/index.d.ts +0 -1
- package/dist/esm/types/components/ErrorBoundary/ErrorBoundary.d.ts +0 -14
- package/dist/esm/types/components/FileUploader/FileUploader.d.ts +0 -9
- package/dist/esm/types/components/FileUploader/index.d.ts +0 -1
- package/dist/esm/types/components/FormBuilder/FormBuilder.d.ts +0 -25
- package/dist/esm/types/components/FormBuilder/index.d.ts +0 -1
- package/dist/esm/types/components/FormBuilder/utils/extractFormControlValues/extractFormControlValues.d.ts +0 -6
- package/dist/esm/types/components/FormBuilder/utils/extractFormControlValues/index.d.ts +0 -1
- package/dist/esm/types/components/FormBuilder/utils/jsonToUrlEncoded/index.d.ts +0 -1
- package/dist/esm/types/components/FormBuilder/utils/jsonToUrlEncoded/jsonToUrlEncoded.d.ts +0 -5
- package/dist/esm/types/components/FormFooter/FormFooter.d.ts +0 -15
- package/dist/esm/types/components/FormFooter/components/Switch.d.ts +0 -1
- package/dist/esm/types/components/FormFooter/index.d.ts +0 -1
- package/dist/esm/types/components/FormGroup/FormGroup.d.ts +0 -15
- package/dist/esm/types/components/FormGroup/index.d.ts +0 -1
- package/dist/esm/types/components/FormList/FormList.d.ts +0 -11
- package/dist/esm/types/components/FormList/index.d.ts +0 -1
- package/dist/esm/types/components/GeneralFormGroup/GeneralFormGroup.d.ts +0 -5
- package/dist/esm/types/components/GeneralFormGroup/index.d.ts +0 -1
- package/dist/esm/types/components/Group/Group.d.ts +0 -12
- package/dist/esm/types/components/Group/index.d.ts +0 -1
- package/dist/esm/types/components/Input/Input.d.ts +0 -14
- package/dist/esm/types/components/Input/index.d.ts +0 -1
- package/dist/esm/types/components/Input/input.styles.d.ts +0 -9
- package/dist/esm/types/components/InputFreeSolo/InputFreeSolo.d.ts +0 -10
- package/dist/esm/types/components/InputFreeSolo/index.d.ts +0 -1
- package/dist/esm/types/components/MrnInput/MrnInput.d.ts +0 -11
- package/dist/esm/types/components/MrnInput/hooks/useMrn.d.ts +0 -22
- package/dist/esm/types/components/MrnInput/index.d.ts +0 -1
- package/dist/esm/types/components/MrnInput/services/fetchMrn.d.ts +0 -3
- package/dist/esm/types/components/MrnInput/ui-helper/Link/Link.d.ts +0 -3
- package/dist/esm/types/components/MrnInput/utils/mrnUtils/mrnUtils.d.ts +0 -8
- package/dist/esm/types/components/MrnInput/utils/resolveMrnLinks/resolveMrnLink.d.ts +0 -2
- package/dist/esm/types/components/MrnInput/utils/resolveNestedQueryLink/resolveNestedQueryLink.d.ts +0 -2
- package/dist/esm/types/components/MrnInput/utils/urlSearchParam/urlSearchParam.d.ts +0 -1
- package/dist/esm/types/components/MultiSelect/MultiSelect.d.ts +0 -17
- package/dist/esm/types/components/MultiSelect/index.d.ts +0 -1
- package/dist/esm/types/components/MultiSelect/utils/extractSelectedOptionValues/extractSelectedOptionValues.d.ts +0 -24
- package/dist/esm/types/components/MultiSelect/utils/extractSelectedOptionValues/index.d.ts +0 -1
- package/dist/esm/types/components/PasswordInput/PasswordInput.d.ts +0 -12
- package/dist/esm/types/components/PasswordInput/index.d.ts +0 -1
- package/dist/esm/types/components/QueryControl/QueryControl.d.ts +0 -13
- package/dist/esm/types/components/QueryControl/data/defaultControls.d.ts +0 -9
- package/dist/esm/types/components/QueryControl/index.d.ts +0 -1
- package/dist/esm/types/components/QueryControl/ui-helper/Wrapper/QueryControlWrapper.d.ts +0 -8
- package/dist/esm/types/components/QueryControl/ui-helper/Wrapper/QueryControlWrapper.styles.d.ts +0 -6
- package/dist/esm/types/components/QueryControl/ui-helper/Wrapper/index.d.ts +0 -1
- package/dist/esm/types/components/QueryControl/utils/allControlsHidden/allControlsHidden.d.ts +0 -3
- package/dist/esm/types/components/QueryControl/utils/allControlsHidden/index.d.ts +0 -1
- package/dist/esm/types/components/QueryControl/utils/getMatchingControls.d.ts +0 -9
- package/dist/esm/types/components/QueryControl/utils/hasExpertControl/hasExpertControl.d.ts +0 -3
- package/dist/esm/types/components/QueryControl/utils/hasExpertControl/index.d.ts +0 -1
- package/dist/esm/types/components/QueryControl/utils/hideGroup/hideGroup.d.ts +0 -3
- package/dist/esm/types/components/QueryControl/utils/hideGroup/index.d.ts +0 -1
- package/dist/esm/types/components/Select/Select.d.ts +0 -12
- package/dist/esm/types/components/Select/index.d.ts +0 -1
- package/dist/esm/types/components/Select/utils/getSelectedOption.d.ts +0 -3
- package/dist/esm/types/components/Textarea/Textarea.d.ts +0 -10
- package/dist/esm/types/components/Textarea/Textarea.types.d.ts +0 -12
- package/dist/esm/types/components/Textarea/aiWrapper/aiAction.d.ts +0 -12
- package/dist/esm/types/components/Textarea/aiWrapper/aiLayout.d.ts +0 -10
- package/dist/esm/types/components/Textarea/aiWrapper/index.d.ts +0 -11
- package/dist/esm/types/components/Textarea/aiWrapper/useAi.d.ts +0 -21
- package/dist/esm/types/components/Textarea/editors/Default.d.ts +0 -13
- package/dist/esm/types/components/Textarea/editors/Html.d.ts +0 -10
- package/dist/esm/types/components/Textarea/editors/Json.d.ts +0 -10
- package/dist/esm/types/components/Textarea/editors/Markdown.d.ts +0 -10
- package/dist/esm/types/components/Textarea/editors/Richtext.d.ts +0 -12
- package/dist/esm/types/components/Textarea/index.d.ts +0 -1
- package/dist/esm/types/components/addressGroup/AddressGroup.d.ts +0 -12
- package/dist/esm/types/components/addressGroup/index.d.ts +0 -1
- package/dist/esm/types/components/addressGroup/utils/Countries.d.ts +0 -3
- package/dist/esm/types/components/states/error/index.d.ts +0 -5
- package/dist/esm/types/context/FormData.d.ts +0 -33
- package/dist/esm/types/hooks/useDependent/enhanced/useInputDependent/useInputDependent.d.ts +0 -12
- package/dist/esm/types/hooks/useDependent/enhanced/useOptionsGenerator/useOptionsGenerator.d.ts +0 -15
- package/dist/esm/types/hooks/useDependent/useDependent.d.ts +0 -11
- package/dist/esm/types/hooks/useValueGenerator/useValueGenerator.d.ts +0 -18
- package/dist/esm/types/index.d.ts +0 -2
- package/dist/esm/types/styles/Hidden.styles.d.ts +0 -7
- package/dist/esm/types/styles/Skeleton.d.ts +0 -7
- package/dist/esm/types/styles/Textfield.styles.d.ts +0 -5
- package/dist/esm/types/testutils.d.ts +0 -14
- package/dist/esm/types/types/controlProps.d.ts +0 -70
- package/dist/esm/types/types/index.d.ts +0 -166
- package/dist/esm/types/ui/menu/hooks/useMenu.d.ts +0 -14
- package/dist/esm/types/ui/menu/index.d.ts +0 -13
- package/dist/esm/types/ui/menu/test/createControl.d.ts +0 -15
- package/dist/esm/types/ui/menu/utils/detemineSubmenuTabs/index.d.ts +0 -14
- package/dist/esm/types/ui-helper/HeaderCollapseButton/index.d.ts +0 -7
- package/dist/esm/types/ui-helper/notifications/Error.d.ts +0 -6
- package/dist/esm/types/ui-helper/notifications/images/background.d.ts +0 -2
- package/dist/esm/types/ui-helper/notifications/images/spinner.d.ts +0 -2
- package/dist/esm/types/ui-helper/notifications/images/under-improvement.d.ts +0 -2
- package/dist/esm/types/utils/findFormControlError/index.d.ts +0 -3
- package/dist/esm/types/utils/hasGroupRequiredFieldsWithValues/index.d.ts +0 -6
- package/dist/types/index.d.ts +0 -244
package/package.json
CHANGED
@@ -1,21 +1,23 @@
|
|
1
1
|
{
|
2
2
|
"name": "@micromerce/formbuilder-react",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.596",
|
4
4
|
"description": "creates a form based on configuration",
|
5
|
-
"
|
5
|
+
"main": "dist/formbuilder.js",
|
6
|
+
"types": "dist/index.d.ts",
|
7
|
+
"directories": {
|
8
|
+
"lib": "dist"
|
9
|
+
},
|
6
10
|
"files": [
|
7
11
|
"dist"
|
8
12
|
],
|
9
|
-
"types": "dist/index.d.ts",
|
10
13
|
"scripts": {
|
11
14
|
"test": "jest --runInBand --no-cache",
|
12
15
|
"storybook": "npm run lint; start-storybook -p 6006",
|
13
16
|
"build-storybook": "npm run lint; build-storybook -o ./docs/storybook",
|
14
|
-
"
|
15
|
-
"
|
16
|
-
"
|
17
|
-
"
|
18
|
-
"lint": "eslint src/**.*",
|
17
|
+
"watch": "npm run lint && webpack watch --config webpack.dev.js",
|
18
|
+
"build": "npm run lint && npm run test && webpack build --config webpack.prod.js",
|
19
|
+
"build:analyze": "webpack build --analyze --config webpack.prod.js",
|
20
|
+
"lint": "eslint src/",
|
19
21
|
"clean": "rimraf dist",
|
20
22
|
"copy-component-styles": "copyfiles -u 1 ./src/components/**/*.module.scss ./dist",
|
21
23
|
"copy-global-styles": "copyfiles -u 1 ./src/styles/**/*.module.scss ./dist",
|
@@ -25,48 +27,60 @@
|
|
25
27
|
"author": "",
|
26
28
|
"license": "ISC",
|
27
29
|
"dependencies": {
|
30
|
+
"@ariakit/react": "^0.4.13",
|
28
31
|
"@codemirror/lang-html": "^6.4.3",
|
29
32
|
"@codemirror/lang-json": "^6.0.1",
|
30
33
|
"@codemirror/lang-markdown": "^6.1.0",
|
31
34
|
"@codemirror/language": "^6.8.0",
|
35
|
+
"@emotion/react": "^11.11.1",
|
36
|
+
"@emotion/styled": "^11.11.0",
|
32
37
|
"@lezer/highlight": "^1.1.6",
|
33
38
|
"@micromerce/media-fileuploader": "^1.0.1068",
|
39
|
+
"@mui/icons-material": "^5.14.19",
|
40
|
+
"@mui/material": "^5.14.20",
|
41
|
+
"@radix-ui/react-avatar": "^1.1.1",
|
42
|
+
"@radix-ui/react-checkbox": "^1.1.2",
|
43
|
+
"@radix-ui/react-dialog": "^1.1.2",
|
44
|
+
"@radix-ui/react-dropdown-menu": "^2.1.2",
|
45
|
+
"@radix-ui/react-popover": "^1.1.2",
|
46
|
+
"@radix-ui/react-scroll-area": "^1.2.0",
|
47
|
+
"@radix-ui/react-separator": "^1.1.0",
|
48
|
+
"@radix-ui/react-slot": "^1.1.0",
|
49
|
+
"@radix-ui/react-toggle": "^1.1.0",
|
50
|
+
"@radix-ui/react-toolbar": "^1.1.0",
|
51
|
+
"@radix-ui/react-tooltip": "^1.1.3",
|
34
52
|
"@react-icons/all-files": "^4.1.0",
|
35
53
|
"@uiw/react-codemirror": "^4.19.16",
|
54
|
+
"autoprefixer": "^10.4.20",
|
36
55
|
"classnames": "^2.3.1",
|
56
|
+
"cmdk": "^1.0.0",
|
37
57
|
"html-to-text": "^9.0.5",
|
38
58
|
"lodash": "^4.17.21",
|
59
|
+
"lucide-react": "^0.451.0",
|
60
|
+
"prismjs": "^1.29.0",
|
39
61
|
"qs": "^6.10.3",
|
40
62
|
"react-date-range": "2.0.1",
|
63
|
+
"react-dnd": "^16.0.1",
|
64
|
+
"react-lite-youtube-embed": "^2.4.0",
|
41
65
|
"react-quill": "^2.0.0",
|
42
66
|
"showdown": "^2.1.0",
|
67
|
+
"styled-components": "^5.3.5",
|
43
68
|
"turndown": "^7.1.2",
|
44
69
|
"usehooks-ts": "^2.5.1",
|
45
70
|
"uuid": "^8.3.2"
|
46
71
|
},
|
72
|
+
"peerDependencies": {
|
73
|
+
"react": "^18.0.0",
|
74
|
+
"react-dom": "^18.0.0"
|
75
|
+
},
|
47
76
|
"devDependencies": {
|
48
77
|
"@babel/core": "^7.17.5",
|
49
|
-
"@babel/plugin-transform-react-jsx": "^7.25.7",
|
50
|
-
"@babel/plugin-transform-runtime": "^7.25.7",
|
51
|
-
"@babel/preset-env": "^7.25.8",
|
52
|
-
"@babel/preset-react": "^7.25.7",
|
53
|
-
"@babel/preset-typescript": "^7.25.7",
|
54
|
-
"@emotion/react": "^11.13.3",
|
55
|
-
"@emotion/styled": "^11.13.0",
|
56
|
-
"@mui/icons-material": "^5.14.19",
|
57
|
-
"@mui/material": "^5.14.20",
|
58
|
-
"@rollup/plugin-alias": "^5.1.1",
|
59
|
-
"@rollup/plugin-babel": "^6.0.4",
|
60
|
-
"@rollup/plugin-commonjs": "^28.0.0",
|
61
|
-
"@rollup/plugin-inject": "^5.0.5",
|
62
|
-
"@rollup/plugin-json": "^6.1.0",
|
63
|
-
"@rollup/plugin-node-resolve": "^15.3.0",
|
64
|
-
"@rollup/plugin-replace": "^6.0.1",
|
65
|
-
"@rollup/plugin-typescript": "^11.1.6",
|
66
78
|
"@storybook/addon-actions": "^6.4.19",
|
67
79
|
"@storybook/addon-essentials": "^6.4.19",
|
68
80
|
"@storybook/addon-interactions": "^6.4.19",
|
69
81
|
"@storybook/addon-links": "^6.4.19",
|
82
|
+
"@storybook/builder-webpack5": "^6.4.19",
|
83
|
+
"@storybook/manager-webpack5": "^6.4.19",
|
70
84
|
"@storybook/preset-scss": "^1.0.3",
|
71
85
|
"@storybook/react": "^6.4.19",
|
72
86
|
"@storybook/testing-library": "^0.0.9",
|
@@ -74,7 +88,6 @@
|
|
74
88
|
"@testing-library/react": "^16.0.1",
|
75
89
|
"@types/jest": "^29.5.13",
|
76
90
|
"@types/lodash": "^4.14.191",
|
77
|
-
"@types/node": "^22.7.6",
|
78
91
|
"@types/react": "^18.3.11",
|
79
92
|
"@types/react-date-range": "^1.4.9",
|
80
93
|
"@types/react-dom": "^18.3.0",
|
@@ -93,30 +106,24 @@
|
|
93
106
|
"eslint-plugin-standard": "^4.1.0",
|
94
107
|
"eslint-plugin-storybook": "^0.5.11",
|
95
108
|
"eslint-plugin-testing-library": "^5.1.0",
|
109
|
+
"eslint-webpack-plugin": "^3.1.1",
|
96
110
|
"identity-obj-proxy": "^3.0.0",
|
97
111
|
"jest": "^29.7.0",
|
98
112
|
"jest-environment-jsdom": "^29.7.0",
|
99
113
|
"postcss": "^8.4.47",
|
100
|
-
"
|
101
|
-
"
|
102
|
-
"
|
103
|
-
"
|
104
|
-
"rollup-plugin-delete": "^2.1.0",
|
105
|
-
"rollup-plugin-dts": "^6.1.1",
|
106
|
-
"rollup-plugin-livereload": "^2.0.5",
|
107
|
-
"rollup-plugin-peer-deps-external": "^2.2.4",
|
108
|
-
"rollup-plugin-polyfill-node": "^0.13.0",
|
109
|
-
"rollup-plugin-postcss": "^4.0.2",
|
110
|
-
"rollup-plugin-sass": "^1.13.2",
|
111
|
-
"rollup-plugin-serve": "^1.1.1",
|
112
|
-
"rollup-plugin-visualizer": "^5.12.0",
|
113
|
-
"sass": "^1.79.5",
|
114
|
+
"react": "^18.3.1",
|
115
|
+
"react-dom": "^18.3.1",
|
116
|
+
"sass": "^1.79.4",
|
117
|
+
"sass-loader": "^16.0.2",
|
114
118
|
"storybook-css-modules-preset": "^1.1.1",
|
115
|
-
"
|
119
|
+
"tailwindcss": "^3.4.13",
|
116
120
|
"ts-jest": "^29.2.5",
|
121
|
+
"ts-loader": "^9.2.6",
|
117
122
|
"ts-node": "^10.7.0",
|
118
|
-
"
|
119
|
-
"
|
120
|
-
"
|
123
|
+
"typescript": "^5.6.2",
|
124
|
+
"webpack": "^5.69.1",
|
125
|
+
"webpack-bundle-analyzer": "^4.8.0",
|
126
|
+
"webpack-cli": "^4.9.2",
|
127
|
+
"webpack-merge": "^5.8.0"
|
121
128
|
}
|
122
129
|
}
|