@allthings/structured-ticket-form 5.0.1-dev.0 → 6.0.0-dev.0
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/.coderabbit.yaml
ADDED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { ICustomFormProperties } from "../../models";
|
|
2
|
-
export declare function CustomForm
|
|
2
|
+
export declare function CustomForm(properties: ICustomFormProperties): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CustomForm.js","sourceRoot":"","sources":["../../../src/components/molecules/CustomForm.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AA2EA,gCAsBC;;AAjGD,sCAAsC;AACtC,wCAAyC;AACzC,+CAAiE;AACjE,mCAAsC;AACtC,iCAAoD;AAEpD,+BAA2C;AAG3C,+CAA8C;AAE9C,IAAM,MAAM,GAAG;IACb,aAAa,EAAE,IAAA,WAAG,EAAC;QACjB,OAAO,EAAE,MAAM;QACf,aAAa,EAAE,QAAQ;QACvB,MAAM,EAAE,MAAM;QACd,SAAS,EAAE,MAAM;QACjB,SAAS,EAAE,QAAQ;QACnB,SAAS,EAAE,MAAM;QACjB,OAAO,EAAE,CAAC;QACV,KAAK,EAAE,MAAM;KACd,CAAC;IACF,YAAY,EAAE,IAAA,WAAG,EAAC;QAChB,OAAO,EAAE,CAAC;QACV,UAAU,EAAE,QAAQ;KACrB,CAAC;CACH,CAAA;AAED,IAAM,KAAK,GAAG,IAAA,oBAAW,EAAC;IACxB,UAAU,EAAE;QACV,UAAU,EAAE;YACV,cAAc,EAAE;gBACd,IAAI,EAAE;oBACJ,MAAM,EAAE,CAAC;oBACT,UAAU,EAAE,QAAQ;iBACrB;aACF;SACF;QACD,cAAc,EAAE;YACd,cAAc,EAAE;gBACd,IAAI,EAAE;oBACJ,QAAQ,EAAE,QAAQ;iBACnB;aACF;SACF;QACD,YAAY,EAAE;YACZ,cAAc,EAAE;gBACd,IAAI,EAAE;oBACJ,QAAQ,EAAE,EAAE;iBACb;aACF;SACF;QACD,aAAa,EAAE;YACb,cAAc,EAAE;gBACd,WAAW,EAAE;oBACX,QAAQ,EAAE,QAAQ;iBACnB;aACF;SACF;QACD,YAAY,EAAE;YACZ,YAAY,EAAE;gBACZ,OAAO,EAAE,UAAU;aACpB;SACF;KACF;IACD,UAAU,EAAE;QACV,QAAQ,EAAE,EAAE;QACZ,EAAE,EAAE;YACF,QAAQ,EAAE,EAAE;SACb;KACF;CACF,CAAC,CAAA;AAEF,IAAM,IAAI,GAAG,IAAA,gBAAS,EAAC,WAAe,CAAC,CAAA;AAEvC,SAAgB,UAAU,
|
|
1
|
+
{"version":3,"file":"CustomForm.js","sourceRoot":"","sources":["../../../src/components/molecules/CustomForm.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AA2EA,gCAsBC;;AAjGD,sCAAsC;AACtC,wCAAyC;AACzC,+CAAiE;AACjE,mCAAsC;AACtC,iCAAoD;AAEpD,+BAA2C;AAG3C,+CAA8C;AAE9C,IAAM,MAAM,GAAG;IACb,aAAa,EAAE,IAAA,WAAG,EAAC;QACjB,OAAO,EAAE,MAAM;QACf,aAAa,EAAE,QAAQ;QACvB,MAAM,EAAE,MAAM;QACd,SAAS,EAAE,MAAM;QACjB,SAAS,EAAE,QAAQ;QACnB,SAAS,EAAE,MAAM;QACjB,OAAO,EAAE,CAAC;QACV,KAAK,EAAE,MAAM;KACd,CAAC;IACF,YAAY,EAAE,IAAA,WAAG,EAAC;QAChB,OAAO,EAAE,CAAC;QACV,UAAU,EAAE,QAAQ;KACrB,CAAC;CACH,CAAA;AAED,IAAM,KAAK,GAAG,IAAA,oBAAW,EAAC;IACxB,UAAU,EAAE;QACV,UAAU,EAAE;YACV,cAAc,EAAE;gBACd,IAAI,EAAE;oBACJ,MAAM,EAAE,CAAC;oBACT,UAAU,EAAE,QAAQ;iBACrB;aACF;SACF;QACD,cAAc,EA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Y,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAC,QAAQ,GAAG,IAC7D,GACO,GACZ,CACP,CAAA;AACH,CAAC"}
|
package/lib/models.d.ts
CHANGED
|
@@ -63,7 +63,7 @@ export interface ISchemaContainerProperties extends ISchemaHeaderProperties {
|
|
|
63
63
|
setCurrentEditorSchema: (jsonSchema: IFullFormSchema) => void;
|
|
64
64
|
setCurrentEditorValue: (value: React.SetStateAction<IEditorState>) => void;
|
|
65
65
|
}
|
|
66
|
-
export interface ICustomFormProperties
|
|
66
|
+
export interface ICustomFormProperties extends FormProps {
|
|
67
67
|
currentLanguage: string;
|
|
68
68
|
languageSchema: Record<string, string>;
|
|
69
69
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@allthings/structured-ticket-form",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.0.0-dev.0",
|
|
4
4
|
"description": "Simple component to create and edit jsonSchemaForm with possibility to adding translated fields and custom UISchema.",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"targets": {
|
|
@@ -36,6 +36,7 @@
|
|
|
36
36
|
"prettier": "prettier --write",
|
|
37
37
|
"preversion": "yarn lint",
|
|
38
38
|
"release": "yarn build && yarn publish --new-version $npm_package_version --tag latest --access public && git push --tags origin HEAD",
|
|
39
|
+
"release:dev": "yarn build && yarn publish --new-version $npm_package_version --tag dev --access public",
|
|
39
40
|
"security-check": "yarn audit --groups dependencies --level high || test $? -lt 7",
|
|
40
41
|
"start": "parcel src/index.html --no-cache --open",
|
|
41
42
|
"test": "jest --passWithNoTests",
|
|
@@ -43,44 +44,44 @@
|
|
|
43
44
|
"up": "yarn upgrade-interactive --latest --exact"
|
|
44
45
|
},
|
|
45
46
|
"dependencies": {
|
|
46
|
-
"@emotion/react": "^11.
|
|
47
|
-
"@emotion/styled": "^11.
|
|
48
|
-
"@monaco-editor/react": "^4.
|
|
49
|
-
"@mui/icons-material": "^
|
|
50
|
-
"@mui/material": "^
|
|
51
|
-
"@rjsf/core": "^5.
|
|
52
|
-
"@rjsf/mui": "^5.
|
|
53
|
-
"@rjsf/utils": "^5.
|
|
54
|
-
"@rjsf/validator-ajv8": "^5.
|
|
47
|
+
"@emotion/react": "^11.13.3",
|
|
48
|
+
"@emotion/styled": "^11.13.0",
|
|
49
|
+
"@monaco-editor/react": "^4.6.0",
|
|
50
|
+
"@mui/icons-material": "^6.0.2",
|
|
51
|
+
"@mui/material": "^6.0.2",
|
|
52
|
+
"@rjsf/core": "^5.20.1",
|
|
53
|
+
"@rjsf/mui": "^5.20.1",
|
|
54
|
+
"@rjsf/utils": "^5.20.1",
|
|
55
|
+
"@rjsf/validator-ajv8": "^5.20.1",
|
|
55
56
|
"json-schema": "^0.4.0",
|
|
56
57
|
"lodash": "^4.17.21",
|
|
57
58
|
"react-jsonschema-form": "^1.8.1"
|
|
58
59
|
},
|
|
59
60
|
"devDependencies": {
|
|
60
61
|
"@allthings/eslint-config": "2.1.1",
|
|
61
|
-
"@commitlint/cli": "19.
|
|
62
|
-
"@commitlint/config-conventional": "19.
|
|
62
|
+
"@commitlint/cli": "19.4.1",
|
|
63
|
+
"@commitlint/config-conventional": "19.4.1",
|
|
63
64
|
"@types/jest": "29.5.12",
|
|
64
|
-
"@types/lodash": "4.17.
|
|
65
|
-
"@types/react": "18.3.
|
|
65
|
+
"@types/lodash": "4.17.7",
|
|
66
|
+
"@types/react": "18.3.5",
|
|
66
67
|
"@types/react-dom": "18.3.0",
|
|
67
68
|
"@types/react-jsonschema-form": "1.7.13",
|
|
68
69
|
"eslint": "8.57.0",
|
|
69
70
|
"eslint-import-resolver-alias": "1.1.2",
|
|
70
|
-
"eslint-plugin-import": "2.
|
|
71
|
-
"husky": "9.
|
|
71
|
+
"eslint-plugin-import": "2.30.0",
|
|
72
|
+
"husky": "9.1.5",
|
|
72
73
|
"jest": "29.7.0",
|
|
73
74
|
"jest-environment-jsdom": "29.7.0",
|
|
74
|
-
"lint-staged": "15.2.
|
|
75
|
+
"lint-staged": "15.2.10",
|
|
75
76
|
"parcel": "2.12.0",
|
|
76
|
-
"prettier": "3.3.
|
|
77
|
+
"prettier": "3.3.3",
|
|
77
78
|
"react": "18.3.1",
|
|
78
79
|
"react-dom": "18.3.1",
|
|
79
|
-
"rimraf": "5.0.
|
|
80
|
-
"ts-jest": "29.
|
|
80
|
+
"rimraf": "5.0.10",
|
|
81
|
+
"ts-jest": "29.2.5",
|
|
81
82
|
"ts-patch": "3.2.1",
|
|
82
|
-
"typescript": "5.5.
|
|
83
|
-
"typescript-transform-paths": "3.
|
|
83
|
+
"typescript": "5.5.4",
|
|
84
|
+
"typescript-transform-paths": "3.5.0"
|
|
84
85
|
},
|
|
85
86
|
"alias": {
|
|
86
87
|
"process": {
|