@gen-epix/ui-core-form 4.0.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/LICENSE +287 -0
- package/dist/@types/ui-form.d.ts +2 -0
- package/dist/@types/vite-env.d.ts +2 -0
- package/dist/@types/yup.d.ts +30 -0
- package/dist/_chunks/Autocomplete.js +229 -0
- package/dist/_chunks/Autocomplete.js.map +1 -0
- package/dist/_chunks/DatePicker.js +126 -0
- package/dist/_chunks/DatePicker.js.map +1 -0
- package/dist/_chunks/FormUtil.js +1350 -0
- package/dist/_chunks/FormUtil.js.map +1 -0
- package/dist/_chunks/RichTextEditor.js +22721 -0
- package/dist/_chunks/RichTextEditor.js.map +1 -0
- package/dist/_chunks/TransferList.js +453 -0
- package/dist/_chunks/TransferList.js.map +1 -0
- package/dist/_chunks/UploadButton.js +91 -0
- package/dist/_chunks/UploadButton.js.map +1 -0
- package/dist/_chunks/classnames.js +33 -0
- package/dist/_chunks/classnames.js.map +1 -0
- package/dist/_chunks/index.esm.js +348 -0
- package/dist/_chunks/index.esm.js.map +1 -0
- package/dist/_chunks/isEqual.js +348 -0
- package/dist/_chunks/isEqual.js.map +1 -0
- package/dist/_chunks/isObjectLike.js +304 -0
- package/dist/_chunks/isObjectLike.js.map +1 -0
- package/dist/_chunks/isValid.js +28 -0
- package/dist/_chunks/isValid.js.map +1 -0
- package/dist/_chunks/rolldown-runtime.js +13 -0
- package/dist/_chunks/sv.js +434 -0
- package/dist/_chunks/sv.js.map +1 -0
- package/dist/components/fields/Autocomplete/Autocomplete.d.ts +19 -0
- package/dist/components/fields/Autocomplete/AutocompleteSelectAllContext.d.ts +2 -0
- package/dist/components/fields/Autocomplete/AutocompleteSelectAllPaper.d.ts +2 -0
- package/dist/components/fields/Autocomplete/index.d.ts +1 -0
- package/dist/components/fields/Autocomplete/index.js +2 -0
- package/dist/components/fields/CheckboxGroup/CheckboxGroup.d.ts +18 -0
- package/dist/components/fields/CheckboxGroup/index.d.ts +1 -0
- package/dist/components/fields/CheckboxGroup/index.js +114 -0
- package/dist/components/fields/CheckboxGroup/index.js.map +1 -0
- package/dist/components/fields/DatePicker/DatePicker.d.ts +15 -0
- package/dist/components/fields/DatePicker/DatePickerInputAdornment.d.ts +8 -0
- package/dist/components/fields/DatePicker/index.d.ts +1 -0
- package/dist/components/fields/DatePicker/index.js +2 -0
- package/dist/components/fields/DateRangePicker/DateRangePicker.d.ts +17 -0
- package/dist/components/fields/DateRangePicker/index.d.ts +1 -0
- package/dist/components/fields/DateRangePicker/index.js +1648 -0
- package/dist/components/fields/DateRangePicker/index.js.map +1 -0
- package/dist/components/fields/NumberField/NumberField.d.ts +19 -0
- package/dist/components/fields/NumberField/index.d.ts +1 -0
- package/dist/components/fields/NumberField/index.js +180 -0
- package/dist/components/fields/NumberField/index.js.map +1 -0
- package/dist/components/fields/NumberRangeInput/NumberRangeInput.d.ts +15 -0
- package/dist/components/fields/NumberRangeInput/index.d.ts +1 -0
- package/dist/components/fields/NumberRangeInput/index.js +192 -0
- package/dist/components/fields/NumberRangeInput/index.js.map +1 -0
- package/dist/components/fields/RadioGroup/RadioGroup.d.ts +16 -0
- package/dist/components/fields/RadioGroup/index.d.ts +1 -0
- package/dist/components/fields/RadioGroup/index.js +72 -0
- package/dist/components/fields/RadioGroup/index.js.map +1 -0
- package/dist/components/fields/RichTextEditor/RichTextEditor.d.ts +13 -0
- package/dist/components/fields/RichTextEditor/RichTextEditorContent.d.ts +4 -0
- package/dist/components/fields/RichTextEditor/index.d.ts +2 -0
- package/dist/components/fields/RichTextEditor/index.js +2 -0
- package/dist/components/fields/RichTextEditor/useRichTextEditorExtensions.d.ts +10 -0
- package/dist/components/fields/Select/Select.d.ts +16 -0
- package/dist/components/fields/Select/index.d.ts +1 -0
- package/dist/components/fields/Select/index.js +129 -0
- package/dist/components/fields/Select/index.js.map +1 -0
- package/dist/components/fields/Switch/Switch.d.ts +13 -0
- package/dist/components/fields/Switch/index.d.ts +1 -0
- package/dist/components/fields/Switch/index.js +68 -0
- package/dist/components/fields/Switch/index.js.map +1 -0
- package/dist/components/fields/TextField/TextField.d.ts +18 -0
- package/dist/components/fields/TextField/index.d.ts +1 -0
- package/dist/components/fields/TextField/index.js +108 -0
- package/dist/components/fields/TextField/index.js.map +1 -0
- package/dist/components/fields/ToggleButtonGroup/ToggleButtonGroup.d.ts +14 -0
- package/dist/components/fields/ToggleButtonGroup/index.d.ts +1 -0
- package/dist/components/fields/ToggleButtonGroup/index.js +57 -0
- package/dist/components/fields/ToggleButtonGroup/index.js.map +1 -0
- package/dist/components/fields/TransferList/TransferList.d.ts +16 -0
- package/dist/components/fields/TransferList/index.d.ts +1 -0
- package/dist/components/fields/TransferList/index.js +2 -0
- package/dist/components/fields/UploadButton/UploadButton.d.ts +15 -0
- package/dist/components/fields/UploadButton/index.d.ts +1 -0
- package/dist/components/fields/UploadButton/index.js +2 -0
- package/dist/components/helpers/FormFieldHelperText/FormFieldHelperText.d.ts +8 -0
- package/dist/components/helpers/FormFieldHelperText/index.d.ts +1 -0
- package/dist/components/helpers/FormFieldHelperText/index.js +50 -0
- package/dist/components/helpers/FormFieldHelperText/index.js.map +1 -0
- package/dist/components/helpers/FormFieldLoadingIndicator/FormFieldLoadingIndicator.d.ts +4 -0
- package/dist/components/helpers/FormFieldLoadingIndicator/index.d.ts +1 -0
- package/dist/components/helpers/FormFieldLoadingIndicator/index.js +16 -0
- package/dist/components/helpers/FormFieldLoadingIndicator/index.js.map +1 -0
- package/dist/components/helpers/GenericForm/GenericForm.d.ts +18 -0
- package/dist/components/helpers/GenericForm/index.d.ts +1 -0
- package/dist/components/helpers/GenericForm/index.js +156 -0
- package/dist/components/helpers/GenericForm/index.js.map +1 -0
- package/dist/hooks/useIsFormFieldRequiredFromSchema/index.d.ts +1 -0
- package/dist/hooks/useIsFormFieldRequiredFromSchema/index.js +18 -0
- package/dist/hooks/useIsFormFieldRequiredFromSchema/index.js.map +1 -0
- package/dist/hooks/useIsFormFieldRequiredFromSchema/useIsFormFieldRequiredFromSchema.d.ts +4 -0
- package/dist/locale/en.json +97 -0
- package/dist/locale/nl.json +97 -0
- package/dist/models/form.d.ts +112 -0
- package/dist/models/form.js +8 -0
- package/dist/models/form.js.map +1 -0
- package/dist/setup/setup.d.ts +1 -0
- package/dist/setup/setup.js +166 -0
- package/dist/setup/setup.js.map +1 -0
- package/dist/utils/FormUtil/FormUtil.d.ts +19 -0
- package/dist/utils/FormUtil/index.d.ts +1 -0
- package/dist/utils/FormUtil/index.js +2 -0
- package/dist/utils/SchemaUtil/SchemaUtil.d.ts +9 -0
- package/dist/utils/SchemaUtil/index.d.ts +1 -0
- package/dist/utils/SchemaUtil/index.js +30 -0
- package/dist/utils/SchemaUtil/index.js.map +1 -0
- package/package.json +207 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare class SchemaUtil {
|
|
2
|
+
static get code(): import('yup').StringSchema<string, import('yup').AnyObject, undefined, "">;
|
|
3
|
+
static get description(): import('yup').StringSchema<string, import('yup').AnyObject, undefined, "">;
|
|
4
|
+
static get isoString(): import('yup').StringSchema<string, import('yup').AnyObject, undefined, "">;
|
|
5
|
+
static get label(): import('yup').StringSchema<string, import('yup').AnyObject, undefined, "">;
|
|
6
|
+
static get name(): import('yup').StringSchema<string, import('yup').AnyObject, undefined, "">;
|
|
7
|
+
static get number(): import('yup').NumberSchema<number, import('yup').AnyObject, undefined, "">;
|
|
8
|
+
static get rank(): import('yup').NumberSchema<number, import('yup').AnyObject, undefined, "">;
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './SchemaUtil';
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { t as e } from "../../_chunks/isValid.js";
|
|
2
|
+
import { number as t, string as n } from "yup";
|
|
3
|
+
//#region src/utils/SchemaUtil/SchemaUtil.ts
|
|
4
|
+
var r = class r {
|
|
5
|
+
static get code() {
|
|
6
|
+
return n().extendedAlphaNumeric().required().max(100);
|
|
7
|
+
}
|
|
8
|
+
static get description() {
|
|
9
|
+
return n().freeFormText().max(1e3);
|
|
10
|
+
}
|
|
11
|
+
static get isoString() {
|
|
12
|
+
return n().transform((t, n) => e(n) ? n.toISOString() : void 0);
|
|
13
|
+
}
|
|
14
|
+
static get label() {
|
|
15
|
+
return n().extendedAlphaNumeric().required().max(100);
|
|
16
|
+
}
|
|
17
|
+
static get name() {
|
|
18
|
+
return n().extendedAlphaNumeric().required().max(100);
|
|
19
|
+
}
|
|
20
|
+
static get number() {
|
|
21
|
+
return t().nullable();
|
|
22
|
+
}
|
|
23
|
+
static get rank() {
|
|
24
|
+
return r.number.required().min(0).integer();
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
//#endregion
|
|
28
|
+
export { r as SchemaUtil };
|
|
29
|
+
|
|
30
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../../src/utils/SchemaUtil/SchemaUtil.ts"],"sourcesContent":["import { isValid } from 'date-fns/isValid';\nimport {\n number,\n string,\n} from 'yup';\n\nexport class SchemaUtil {\n public static get code() {\n return string().extendedAlphaNumeric().required().max(100);\n }\n\n public static get description() {\n return string().freeFormText().max(1000);\n }\n\n public static get isoString() {\n return string().transform((_val: unknown, orig: Date) => isValid(orig) ? orig.toISOString() : undefined);\n }\n\n public static get label() {\n return string().extendedAlphaNumeric().required().max(100);\n }\n\n public static get name() {\n return string().extendedAlphaNumeric().required().max(100);\n }\n\n public static get number() {\n return number().nullable();\n }\n\n public static get rank() {\n return SchemaUtil.number.required().min(0).integer();\n }\n}\n"],"mappings":";;;AAMA,IAAa,IAAb,MAAa,EAAW;CACtB,WAAkB,OAAO;EACvB,OAAO,EAAO,CAAC,CAAC,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,IAAI,GAAG;CAC3D;CAEA,WAAkB,cAAc;EAC9B,OAAO,EAAO,CAAC,CAAC,aAAa,CAAC,CAAC,IAAI,GAAI;CACzC;CAEA,WAAkB,YAAY;EAC5B,OAAO,EAAO,CAAC,CAAC,WAAW,GAAe,MAAe,EAAQ,CAAI,IAAI,EAAK,YAAY,IAAI,KAAA,CAAS;CACzG;CAEA,WAAkB,QAAQ;EACxB,OAAO,EAAO,CAAC,CAAC,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,IAAI,GAAG;CAC3D;CAEA,WAAkB,OAAO;EACvB,OAAO,EAAO,CAAC,CAAC,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,IAAI,GAAG;CAC3D;CAEA,WAAkB,SAAS;EACzB,OAAO,EAAO,CAAC,CAAC,SAAS;CAC3B;CAEA,WAAkB,OAAO;EACvB,OAAO,EAAW,OAAO,SAAS,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,QAAQ;CACrD;AACF"}
|
package/package.json
ADDED
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@gen-epix/ui-core-form",
|
|
3
|
+
"version": "4.0.0",
|
|
4
|
+
"license": "EUPL-1.2",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "git+https://github.com/RIVM-bioinformatics/gen-epix-ui.git"
|
|
8
|
+
},
|
|
9
|
+
"author": "RIVM-bioinformatics <ids-bioinformatics@rivm.nl>",
|
|
10
|
+
"homepage": "https://github.com/RIVM-bioinformatics/gen-epix",
|
|
11
|
+
"type": "module",
|
|
12
|
+
"files": [
|
|
13
|
+
"dist"
|
|
14
|
+
],
|
|
15
|
+
"publishConfig": {
|
|
16
|
+
"files": [
|
|
17
|
+
"dist"
|
|
18
|
+
],
|
|
19
|
+
"access": "public"
|
|
20
|
+
},
|
|
21
|
+
"exports": {
|
|
22
|
+
"./types": {
|
|
23
|
+
"types": "./dist/@types/ui-core-form.d.ts",
|
|
24
|
+
"import": "./dist/@types/ui-core-form.d.ts"
|
|
25
|
+
},
|
|
26
|
+
"./components/fields/Autocomplete": {
|
|
27
|
+
"types": "./dist/components/fields/Autocomplete/index.d.ts",
|
|
28
|
+
"import": "./dist/components/fields/Autocomplete/index.js"
|
|
29
|
+
},
|
|
30
|
+
"./components/fields/CheckboxGroup": {
|
|
31
|
+
"types": "./dist/components/fields/CheckboxGroup/index.d.ts",
|
|
32
|
+
"import": "./dist/components/fields/CheckboxGroup/index.js"
|
|
33
|
+
},
|
|
34
|
+
"./components/fields/DatePicker": {
|
|
35
|
+
"types": "./dist/components/fields/DatePicker/index.d.ts",
|
|
36
|
+
"import": "./dist/components/fields/DatePicker/index.js"
|
|
37
|
+
},
|
|
38
|
+
"./components/fields/DateRangePicker": {
|
|
39
|
+
"types": "./dist/components/fields/DateRangePicker/index.d.ts",
|
|
40
|
+
"import": "./dist/components/fields/DateRangePicker/index.js"
|
|
41
|
+
},
|
|
42
|
+
"./components/fields/NumberField": {
|
|
43
|
+
"types": "./dist/components/fields/NumberField/index.d.ts",
|
|
44
|
+
"import": "./dist/components/fields/NumberField/index.js"
|
|
45
|
+
},
|
|
46
|
+
"./components/fields/NumberRangeInput": {
|
|
47
|
+
"types": "./dist/components/fields/NumberRangeInput/index.d.ts",
|
|
48
|
+
"import": "./dist/components/fields/NumberRangeInput/index.js"
|
|
49
|
+
},
|
|
50
|
+
"./components/fields/RadioGroup": {
|
|
51
|
+
"types": "./dist/components/fields/RadioGroup/index.d.ts",
|
|
52
|
+
"import": "./dist/components/fields/RadioGroup/index.js"
|
|
53
|
+
},
|
|
54
|
+
"./components/fields/RichTextEditor": {
|
|
55
|
+
"types": "./dist/components/fields/RichTextEditor/index.d.ts",
|
|
56
|
+
"import": "./dist/components/fields/RichTextEditor/index.js"
|
|
57
|
+
},
|
|
58
|
+
"./components/fields/Select": {
|
|
59
|
+
"types": "./dist/components/fields/Select/index.d.ts",
|
|
60
|
+
"import": "./dist/components/fields/Select/index.js"
|
|
61
|
+
},
|
|
62
|
+
"./components/fields/Switch": {
|
|
63
|
+
"types": "./dist/components/fields/Switch/index.d.ts",
|
|
64
|
+
"import": "./dist/components/fields/Switch/index.js"
|
|
65
|
+
},
|
|
66
|
+
"./components/fields/TextField": {
|
|
67
|
+
"types": "./dist/components/fields/TextField/index.d.ts",
|
|
68
|
+
"import": "./dist/components/fields/TextField/index.js"
|
|
69
|
+
},
|
|
70
|
+
"./components/fields/ToggleButtonGroup": {
|
|
71
|
+
"types": "./dist/components/fields/ToggleButtonGroup/index.d.ts",
|
|
72
|
+
"import": "./dist/components/fields/ToggleButtonGroup/index.js"
|
|
73
|
+
},
|
|
74
|
+
"./components/fields/TransferList": {
|
|
75
|
+
"types": "./dist/components/fields/TransferList/index.d.ts",
|
|
76
|
+
"import": "./dist/components/fields/TransferList/index.js"
|
|
77
|
+
},
|
|
78
|
+
"./components/fields/UploadButton": {
|
|
79
|
+
"types": "./dist/components/fields/UploadButton/index.d.ts",
|
|
80
|
+
"import": "./dist/components/fields/UploadButton/index.js"
|
|
81
|
+
},
|
|
82
|
+
"./components/helpers/FormFieldHelperText": {
|
|
83
|
+
"types": "./dist/components/helpers/FormFieldHelperText/index.d.ts",
|
|
84
|
+
"import": "./dist/components/helpers/FormFieldHelperText/index.js"
|
|
85
|
+
},
|
|
86
|
+
"./components/helpers/FormFieldLoadingIndicator": {
|
|
87
|
+
"types": "./dist/components/helpers/FormFieldLoadingIndicator/index.d.ts",
|
|
88
|
+
"import": "./dist/components/helpers/FormFieldLoadingIndicator/index.js"
|
|
89
|
+
},
|
|
90
|
+
"./components/helpers/GenericForm": {
|
|
91
|
+
"types": "./dist/components/helpers/GenericForm/index.d.ts",
|
|
92
|
+
"import": "./dist/components/helpers/GenericForm/index.js"
|
|
93
|
+
},
|
|
94
|
+
"./hooks/useIsFormFieldRequiredFromSchema": {
|
|
95
|
+
"types": "./dist/hooks/useIsFormFieldRequiredFromSchema/index.d.ts",
|
|
96
|
+
"import": "./dist/hooks/useIsFormFieldRequiredFromSchema/index.js"
|
|
97
|
+
},
|
|
98
|
+
"./models/form": {
|
|
99
|
+
"types": "./dist/models/form.d.ts",
|
|
100
|
+
"import": "./dist/models/form.js"
|
|
101
|
+
},
|
|
102
|
+
"./setup/setup": {
|
|
103
|
+
"types": "./dist/setup/setup.d.ts",
|
|
104
|
+
"import": "./dist/setup/setup.js"
|
|
105
|
+
},
|
|
106
|
+
"./utils/FormUtil": {
|
|
107
|
+
"types": "./dist/utils/FormUtil/index.d.ts",
|
|
108
|
+
"import": "./dist/utils/FormUtil/index.js"
|
|
109
|
+
},
|
|
110
|
+
"./utils/SchemaUtil": {
|
|
111
|
+
"types": "./dist/utils/SchemaUtil/index.d.ts",
|
|
112
|
+
"import": "./dist/utils/SchemaUtil/index.js"
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
"peerDependencies": {
|
|
116
|
+
"@gen-epix/ui-core": "^3.0.0",
|
|
117
|
+
"@mui/icons-material": "*",
|
|
118
|
+
"@mui/material": "*",
|
|
119
|
+
"@mui/x-date-pickers": "*",
|
|
120
|
+
"i18next": "*",
|
|
121
|
+
"react": "*",
|
|
122
|
+
"react-i18next": "*",
|
|
123
|
+
"yup": "*"
|
|
124
|
+
},
|
|
125
|
+
"dependencies": {
|
|
126
|
+
"@tiptap/core": "3.31.1",
|
|
127
|
+
"@tiptap/extension-blockquote": "3.31.1",
|
|
128
|
+
"@tiptap/extension-bold": "3.31.1",
|
|
129
|
+
"@tiptap/extension-bullet-list": "3.31.1",
|
|
130
|
+
"@tiptap/extension-code-block": "3.31.1",
|
|
131
|
+
"@tiptap/extension-color": "3.31.1",
|
|
132
|
+
"@tiptap/extension-document": "3.31.1",
|
|
133
|
+
"@tiptap/extension-dropcursor": "3.31.1",
|
|
134
|
+
"@tiptap/extension-font-family": "3.31.1",
|
|
135
|
+
"@tiptap/extension-gapcursor": "3.31.1",
|
|
136
|
+
"@tiptap/extension-hard-break": "3.31.1",
|
|
137
|
+
"@tiptap/extension-heading": "3.31.1",
|
|
138
|
+
"@tiptap/extension-highlight": "3.31.1",
|
|
139
|
+
"@tiptap/extension-history": "3.31.1",
|
|
140
|
+
"@tiptap/extension-horizontal-rule": "3.31.1",
|
|
141
|
+
"@tiptap/extension-image": "3.31.1",
|
|
142
|
+
"@tiptap/extension-italic": "3.31.1",
|
|
143
|
+
"@tiptap/extension-link": "3.31.1",
|
|
144
|
+
"@tiptap/extension-list-item": "3.31.1",
|
|
145
|
+
"@tiptap/extension-ordered-list": "3.31.1",
|
|
146
|
+
"@tiptap/extension-paragraph": "3.31.1",
|
|
147
|
+
"@tiptap/extension-placeholder": "3.31.1",
|
|
148
|
+
"@tiptap/extension-strike": "3.31.1",
|
|
149
|
+
"@tiptap/extension-subscript": "3.31.1",
|
|
150
|
+
"@tiptap/extension-superscript": "3.31.1",
|
|
151
|
+
"@tiptap/extension-table-cell": "3.31.1",
|
|
152
|
+
"@tiptap/extension-table-header": "3.31.1",
|
|
153
|
+
"@tiptap/extension-table-row": "3.31.1",
|
|
154
|
+
"@tiptap/extension-table": "3.31.1",
|
|
155
|
+
"@tiptap/extension-task-item": "3.31.1",
|
|
156
|
+
"@tiptap/extension-task-list": "3.31.1",
|
|
157
|
+
"@tiptap/extension-text-align": "3.31.1",
|
|
158
|
+
"@tiptap/extension-text-style": "3.31.1",
|
|
159
|
+
"@tiptap/extension-text": "3.31.1",
|
|
160
|
+
"@tiptap/extension-underline": "3.31.1",
|
|
161
|
+
"@tiptap/pm": "3.31.1",
|
|
162
|
+
"@tiptap/react": "3.31.1",
|
|
163
|
+
"classnames": "2.5.1",
|
|
164
|
+
"date-fns": "4.4.0",
|
|
165
|
+
"lodash": "4.18.1",
|
|
166
|
+
"mui-tiptap": "1.31.0",
|
|
167
|
+
"react-hook-form": "7.87.0",
|
|
168
|
+
"use-debounce": "10.1.1",
|
|
169
|
+
"uuid": "14.0.2"
|
|
170
|
+
},
|
|
171
|
+
"devDependencies": {
|
|
172
|
+
"@gen-epix/eslint-config": "0.5.0",
|
|
173
|
+
"@gen-epix/ui-core": "^3.0.0",
|
|
174
|
+
"@gen-epix/translation-util": "0.2.0",
|
|
175
|
+
"@mui/icons-material": "9.4.0",
|
|
176
|
+
"@mui/material": "9.4.0",
|
|
177
|
+
"@mui/x-date-pickers": "9.12.0",
|
|
178
|
+
"@types/lodash": "4.17.25",
|
|
179
|
+
"@types/react": "19.2.18",
|
|
180
|
+
"eslint": "10.9.1",
|
|
181
|
+
"i18next": "26.4.1",
|
|
182
|
+
"react": "19.2.8",
|
|
183
|
+
"react-i18next": "17.0.13",
|
|
184
|
+
"typescript": "6.0.3",
|
|
185
|
+
"vite-plugin-dts": "5.1.0",
|
|
186
|
+
"vite-plugin-static-copy": "4.1.1",
|
|
187
|
+
"vite": "8.2.2",
|
|
188
|
+
"vitest": "4.1.11",
|
|
189
|
+
"yup": "1.7.1"
|
|
190
|
+
},
|
|
191
|
+
"browserslist": [
|
|
192
|
+
"last 2 Chrome versions"
|
|
193
|
+
],
|
|
194
|
+
"scripts": {
|
|
195
|
+
"test-missing-translations": "translation-util ./ --dry-run --fail-on-missing --fail-on-stale",
|
|
196
|
+
"add-missing-translations": "translation-util ./",
|
|
197
|
+
"update-exports": "node scripts/update-exports.js",
|
|
198
|
+
"build": "vite build",
|
|
199
|
+
"build-publish": "pnpm build && pnpm publish --access=public",
|
|
200
|
+
"validate": "pnpm run lint && pnpm run check-types && pnpm run test-run",
|
|
201
|
+
"test": "vitest --coverage",
|
|
202
|
+
"test-run": "vitest run --passWithNoTests --coverage",
|
|
203
|
+
"lint": "eslint ./src --report-unused-disable-directives --max-warnings 0",
|
|
204
|
+
"lint-fix": "eslint ./src --report-unused-disable-directives --max-warnings 0 --fix",
|
|
205
|
+
"check-types": "tsc --noemit"
|
|
206
|
+
}
|
|
207
|
+
}
|