@addsign/moje-agenda-shared-lib 1.0.44 → 1.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.
- package/dist/components/datatable/DataTable.js +1 -1
- package/dist/components/datatable/DataTableServer.js +1 -1
- package/dist/components/datatable/DatatableSettings.js +1 -1
- package/dist/components/form/AutocompleteSearchBar.js +1 -1
- package/dist/components/form/AutocompleteSearchBarServer.js +1 -1
- package/dist/components/form/FileInput.js +5 -2402
- package/dist/components/form/FileInput.js.map +1 -1
- package/dist/components/form/FileInputMultiple.d.ts +19 -0
- package/dist/components/form/FileInputMultiple.js +175 -0
- package/dist/components/form/FileInputMultiple.js.map +1 -0
- package/dist/components/form/FormField.js +1 -1
- package/dist/components/form/InputField.js +1 -1
- package/dist/components/form/PositionsSelectorSingle.js +1 -1
- package/dist/components/form/SelectField.js +1 -1
- package/dist/components/layout/IconInCircle.js +1 -1
- package/dist/index-1qxWyYNc.js +2404 -0
- package/dist/index-1qxWyYNc.js.map +1 -0
- package/dist/index-B4OkVXmW.js +64 -0
- package/dist/index-B4OkVXmW.js.map +1 -0
- package/dist/main.d.ts +1 -0
- package/dist/main.js +24 -22
- package/dist/main.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
+
import { useState, useCallback } from "react";
|
|
3
|
+
import { u as useDropzone } from "../../index-1qxWyYNc.js";
|
|
4
|
+
import { b as MdInsertDriveFile, c as MdDeleteOutline } from "../../index-B4OkVXmW.js";
|
|
5
|
+
import '../../assets/tailwind.css';/* empty css */
|
|
6
|
+
import "../../index.esm-ifS8v9eQ.js";
|
|
7
|
+
import "../../jspdf.plugin.autotable-7hp3hM-a.js";
|
|
8
|
+
import "../../contexts/FederationContext.js";
|
|
9
|
+
import { useFederationContext } from "../../contexts/useFederationContext.js";
|
|
10
|
+
import { handleErrors } from "../../utils/handleErrors.js";
|
|
11
|
+
const FileInputMultiple = ({
|
|
12
|
+
initialFiles = [],
|
|
13
|
+
onFilesChanged,
|
|
14
|
+
label,
|
|
15
|
+
name,
|
|
16
|
+
required,
|
|
17
|
+
description,
|
|
18
|
+
disabled,
|
|
19
|
+
errors = {}
|
|
20
|
+
}) => {
|
|
21
|
+
var _a, _b;
|
|
22
|
+
const [fileDataList, setFileDataList] = useState(
|
|
23
|
+
[...initialFiles].map((file) => ({ ...file, readonly: true }))
|
|
24
|
+
);
|
|
25
|
+
const federationContext = useFederationContext();
|
|
26
|
+
const onDrop = useCallback(
|
|
27
|
+
async (acceptedFiles) => {
|
|
28
|
+
const uploadedFiles = await Promise.all(
|
|
29
|
+
acceptedFiles.map(async (file) => {
|
|
30
|
+
const formData = new FormData();
|
|
31
|
+
formData.append("file", file);
|
|
32
|
+
try {
|
|
33
|
+
const response = await federationContext.apiClient.post(
|
|
34
|
+
"/files/upload",
|
|
35
|
+
formData,
|
|
36
|
+
{
|
|
37
|
+
headers: {
|
|
38
|
+
"Content-Type": "multipart/form-data"
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
);
|
|
42
|
+
return response.data;
|
|
43
|
+
} catch (error) {
|
|
44
|
+
handleErrors(error, federationContext.emitter);
|
|
45
|
+
console.error("There was an error!", error);
|
|
46
|
+
return null;
|
|
47
|
+
}
|
|
48
|
+
})
|
|
49
|
+
);
|
|
50
|
+
const validFiles = uploadedFiles.filter(
|
|
51
|
+
(file) => file !== null
|
|
52
|
+
);
|
|
53
|
+
const updatedFileDataList = [...fileDataList, ...validFiles];
|
|
54
|
+
setFileDataList(updatedFileDataList);
|
|
55
|
+
onFilesChanged({
|
|
56
|
+
target: { name, value: updatedFileDataList.map((file) => file.id) }
|
|
57
|
+
});
|
|
58
|
+
},
|
|
59
|
+
[
|
|
60
|
+
fileDataList,
|
|
61
|
+
federationContext.apiClient,
|
|
62
|
+
onFilesChanged,
|
|
63
|
+
name,
|
|
64
|
+
federationContext.emitter
|
|
65
|
+
]
|
|
66
|
+
);
|
|
67
|
+
const { getRootProps, getInputProps, isDragActive } = useDropzone({
|
|
68
|
+
onDrop,
|
|
69
|
+
disabled
|
|
70
|
+
});
|
|
71
|
+
const handleRemove = (fileId) => {
|
|
72
|
+
const updatedFileDataList = fileDataList.filter(
|
|
73
|
+
(file) => file.id !== fileId
|
|
74
|
+
);
|
|
75
|
+
setFileDataList(updatedFileDataList);
|
|
76
|
+
onFilesChanged({
|
|
77
|
+
target: {
|
|
78
|
+
name,
|
|
79
|
+
value: updatedFileDataList.map((file) => file.id.toString())
|
|
80
|
+
}
|
|
81
|
+
});
|
|
82
|
+
};
|
|
83
|
+
if (disabled === true && fileDataList.length === 0) {
|
|
84
|
+
return null;
|
|
85
|
+
}
|
|
86
|
+
return /* @__PURE__ */ jsxs("div", { className: "w-full min-h-30 flex-col justify-start items-start gap-1.5 inline-flex sharedLibrary", children: [
|
|
87
|
+
/* @__PURE__ */ jsxs("div", { className: "self-stretch flex-col justify-start items-start gap-1.5 flex", children: [
|
|
88
|
+
label && /* @__PURE__ */ jsxs(
|
|
89
|
+
"label",
|
|
90
|
+
{
|
|
91
|
+
className: "text-slate-700 text-sm leading-tight font-medium",
|
|
92
|
+
htmlFor: name,
|
|
93
|
+
children: [
|
|
94
|
+
label,
|
|
95
|
+
" ",
|
|
96
|
+
required ? "*" : ""
|
|
97
|
+
]
|
|
98
|
+
}
|
|
99
|
+
),
|
|
100
|
+
/* @__PURE__ */ jsxs(
|
|
101
|
+
"div",
|
|
102
|
+
{
|
|
103
|
+
className: `self-stretch px-3 py-2 rounded-lg justify-start items-center gap-2 outline-none border bg-transparent ${((_a = errors[name]) == null ? void 0 : _a.message) ? "border-red-200" : "border-gray-300"} `,
|
|
104
|
+
children: [
|
|
105
|
+
!disabled && /* @__PURE__ */ jsxs(
|
|
106
|
+
"div",
|
|
107
|
+
{
|
|
108
|
+
...getRootProps(),
|
|
109
|
+
className: `w-full p-4 border-dashed border-2 rounded-lg text-center ${isDragActive ? "border-indigo-300 bg-indigo-50" : "border-gray-300"}`,
|
|
110
|
+
children: [
|
|
111
|
+
/* @__PURE__ */ jsx("input", { ...getInputProps(), id: name }),
|
|
112
|
+
/* @__PURE__ */ jsx("p", { className: "text-gray-500", children: isDragActive ? "Sem přetáhněte soubory" : "Klikněte pro nahrání, nebo nahrajte přetažením souborů" })
|
|
113
|
+
]
|
|
114
|
+
}
|
|
115
|
+
),
|
|
116
|
+
/* @__PURE__ */ jsx("div", { className: "w-full", children: fileDataList.map((file) => /* @__PURE__ */ jsxs(
|
|
117
|
+
"div",
|
|
118
|
+
{
|
|
119
|
+
className: "w-full flex items-center justify-between p-2 border-b ",
|
|
120
|
+
children: [
|
|
121
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center content-center", children: [
|
|
122
|
+
/* @__PURE__ */ jsx(MdInsertDriveFile, { style: { fontSize: "2rem" } }),
|
|
123
|
+
/* @__PURE__ */ jsx(
|
|
124
|
+
"a",
|
|
125
|
+
{
|
|
126
|
+
href: `/api/files/download/${file.id}`,
|
|
127
|
+
className: "pl-2 text-left underline text-primary",
|
|
128
|
+
target: "_blank",
|
|
129
|
+
children: file.filename
|
|
130
|
+
}
|
|
131
|
+
)
|
|
132
|
+
] }),
|
|
133
|
+
!disabled && file.readonly !== true && /* @__PURE__ */ jsx(
|
|
134
|
+
"div",
|
|
135
|
+
{
|
|
136
|
+
onClick: () => handleRemove(file.id),
|
|
137
|
+
className: "text-gray-600 cursor-pointer hover:text-primary hover:bg-gray-200 rounded-full ml-4",
|
|
138
|
+
children: /* @__PURE__ */ jsx(
|
|
139
|
+
MdDeleteOutline,
|
|
140
|
+
{
|
|
141
|
+
style: { fontSize: "1.5rem", margin: "10px" }
|
|
142
|
+
}
|
|
143
|
+
)
|
|
144
|
+
}
|
|
145
|
+
)
|
|
146
|
+
]
|
|
147
|
+
},
|
|
148
|
+
file.id
|
|
149
|
+
)) })
|
|
150
|
+
]
|
|
151
|
+
}
|
|
152
|
+
)
|
|
153
|
+
] }),
|
|
154
|
+
description && /* @__PURE__ */ jsx(
|
|
155
|
+
"div",
|
|
156
|
+
{
|
|
157
|
+
className: "HintText self-stretch text-slate-600 text-sm font-normal leading-tight",
|
|
158
|
+
id: name + ":description",
|
|
159
|
+
children: description
|
|
160
|
+
}
|
|
161
|
+
),
|
|
162
|
+
errors[name] && /* @__PURE__ */ jsx(
|
|
163
|
+
"div",
|
|
164
|
+
{
|
|
165
|
+
className: "HintText self-stretch text-red-600 text-sm font-normal leading-tight",
|
|
166
|
+
id: name + ":error",
|
|
167
|
+
children: (_b = errors[name]) == null ? void 0 : _b.message
|
|
168
|
+
}
|
|
169
|
+
)
|
|
170
|
+
] });
|
|
171
|
+
};
|
|
172
|
+
export {
|
|
173
|
+
FileInputMultiple as default
|
|
174
|
+
};
|
|
175
|
+
//# sourceMappingURL=FileInputMultiple.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FileInputMultiple.js","sources":["../../../lib/components/form/FileInputMultiple.tsx"],"sourcesContent":["import React, { useState, useCallback } from \"react\";\r\nimport { useDropzone } from \"react-dropzone\";\r\nimport { MdDeleteOutline, MdInsertDriveFile } from \"react-icons/md\";\r\nimport { IAttachment } from \"../../types\";\r\nimport { handleErrors, useFederationContext } from \"../../main\";\r\nimport { AxiosError } from \"axios\";\r\n\r\ninterface FileInputMultipleProps {\r\n name: string;\r\n label?: string;\r\n initialFiles?: IAttachment[];\r\n onFilesChanged: (e: any) => void;\r\n required?: boolean;\r\n description?: string;\r\n disabled?: boolean;\r\n errors?: { [key: string]: { message: string } };\r\n}\r\n\r\ninterface IAttachmentReadOnly extends IAttachment {\r\n readonly?: boolean;\r\n}\r\nconst FileInputMultiple: React.FC<FileInputMultipleProps> = ({\r\n initialFiles = [],\r\n onFilesChanged,\r\n label,\r\n name,\r\n required,\r\n description,\r\n disabled,\r\n errors = {},\r\n}) => {\r\n const [fileDataList, setFileDataList] = useState<IAttachmentReadOnly[]>(\r\n [...initialFiles].map((file) => ({ ...file, readonly: true }))\r\n );\r\n const federationContext = useFederationContext();\r\n\r\n const onDrop = useCallback(\r\n async (acceptedFiles: File[]) => {\r\n const uploadedFiles = await Promise.all(\r\n acceptedFiles.map(async (file) => {\r\n const formData = new FormData();\r\n formData.append(\"file\", file);\r\n\r\n try {\r\n const response =\r\n await federationContext.apiClient.post<IAttachment>(\r\n \"/files/upload\",\r\n formData,\r\n {\r\n headers: {\r\n \"Content-Type\": \"multipart/form-data\",\r\n },\r\n }\r\n );\r\n return response.data;\r\n } catch (error) {\r\n handleErrors(error as AxiosError, federationContext.emitter);\r\n console.error(\"There was an error!\", error);\r\n return null;\r\n }\r\n })\r\n );\r\n\r\n const validFiles = uploadedFiles.filter(\r\n (file) => file !== null\r\n ) as IAttachment[];\r\n const updatedFileDataList = [...fileDataList, ...validFiles];\r\n setFileDataList(updatedFileDataList);\r\n onFilesChanged({\r\n target: { name, value: updatedFileDataList.map((file) => file.id) },\r\n });\r\n },\r\n [\r\n fileDataList,\r\n federationContext.apiClient,\r\n onFilesChanged,\r\n name,\r\n federationContext.emitter,\r\n ]\r\n );\r\n\r\n const { getRootProps, getInputProps, isDragActive } = useDropzone({\r\n onDrop,\r\n disabled,\r\n });\r\n\r\n const handleRemove = (fileId: number) => {\r\n const updatedFileDataList = fileDataList.filter(\r\n (file) => file.id !== fileId\r\n );\r\n setFileDataList(updatedFileDataList);\r\n onFilesChanged({\r\n target: {\r\n name,\r\n value: updatedFileDataList.map((file) => file.id.toString()),\r\n },\r\n });\r\n };\r\n if (disabled === true && fileDataList.length === 0) {\r\n return null;\r\n }\r\n\r\n return (\r\n <div className=\"w-full min-h-30 flex-col justify-start items-start gap-1.5 inline-flex sharedLibrary\">\r\n <div className=\"self-stretch flex-col justify-start items-start gap-1.5 flex\">\r\n {label && (\r\n <label\r\n className=\"text-slate-700 text-sm leading-tight font-medium\"\r\n htmlFor={name}\r\n >\r\n {label} {required ? \"*\" : \"\"}\r\n </label>\r\n )}\r\n <div\r\n className={\r\n `self-stretch px-3 py-2 rounded-lg justify-start items-center gap-2 outline-none border bg-transparent ` +\r\n ` ${errors[name]?.message ? \"border-red-200\" : \"border-gray-300\"} `\r\n }\r\n >\r\n {!disabled && (\r\n <div\r\n {...getRootProps()}\r\n className={`w-full p-4 border-dashed border-2 rounded-lg text-center ${isDragActive ? \"border-indigo-300 bg-indigo-50\" : \"border-gray-300\"}`}\r\n >\r\n <input {...getInputProps()} id={name} />\r\n <p className=\"text-gray-500\">\r\n {isDragActive\r\n ? \"Sem přetáhněte soubory\"\r\n : \"Klikněte pro nahrání, nebo nahrajte přetažením souborů\"}\r\n </p>\r\n </div>\r\n )}\r\n <div className=\"w-full\">\r\n {fileDataList.map((file) => (\r\n <div\r\n key={file.id}\r\n className=\"w-full flex items-center justify-between p-2 border-b \"\r\n >\r\n <div className=\"flex items-center content-center\">\r\n <MdInsertDriveFile style={{ fontSize: \"2rem\" }} />\r\n <a\r\n href={`/api/files/download/${file.id}`}\r\n className=\"pl-2 text-left underline text-primary\"\r\n target=\"_blank\"\r\n >\r\n {file.filename}\r\n </a>\r\n </div>\r\n {!disabled && file.readonly !== true && (\r\n <div\r\n onClick={() => handleRemove(file.id)}\r\n className=\"text-gray-600 cursor-pointer hover:text-primary hover:bg-gray-200 rounded-full ml-4\"\r\n >\r\n <MdDeleteOutline\r\n style={{ fontSize: \"1.5rem\", margin: \"10px\" }}\r\n />\r\n </div>\r\n )}\r\n </div>\r\n ))}\r\n </div>\r\n </div>\r\n </div>\r\n {description && (\r\n <div\r\n className=\"HintText self-stretch text-slate-600 text-sm font-normal leading-tight\"\r\n id={name + \":description\"}\r\n >\r\n {description}\r\n </div>\r\n )}\r\n {errors[name] && (\r\n <div\r\n className=\"HintText self-stretch text-red-600 text-sm font-normal leading-tight\"\r\n id={name + \":error\"}\r\n >\r\n {errors[name]?.message}\r\n </div>\r\n )}\r\n </div>\r\n );\r\n};\r\n\r\nexport default FileInputMultiple;\r\n"],"names":[],"mappings":";;;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AA,OAAA,EAAI,WAAU,oCACb,UAAA;AAAA,oBAAA,oBAAC,mBAAkB,EAAA,OAAO,EAAE,UAAU,UAAU;AAAA,oBAChD;AAAA,sBAAC;AAAA,sBAAA;AAAA,wBACC,MAAM,uBAAuB,KAAK,EAAE;AAAA,wBACpC,WAAU;AAAA,wBACV,QAAO;AAAA,wBAEN,UAAK,KAAA;AAAA,sBAAA;AAAA,oBACR;AAAA,kBAAA,GACF;AAAA,kBACC,CAAC,YAAY,KAAK,aAAa,QAC9B;AAAA,oBAAC;AAAA,oBAAA;AAAA,sBACC,SAAS,MAAM,aAAa,KAAK,EAAE;AAAA,sBACnC,WAAU;AAAA,sBAEV,UAAA;AAAA,wBAAC;AAAA,wBAAA;AAAA,0BACC,OAAO,EAAE,UAAU,UAAU,QAAQ,OAAO;AAAA,wBAAA;AAAA,sBAC9C;AAAA,oBAAA;AAAA,kBACF;AAAA,gBAAA;AAAA,cAAA;AAAA,cArBG,KAAK;AAAA,YAwBb,CAAA,GACH;AAAA,UAAA;AAAA,QAAA;AAAA,MACF;AAAA,IAAA,GACF;AAAA,IACC,eACC;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,WAAU;AAAA,QACV,IAAI,OAAO;AAAA,QAEV,UAAA;AAAA,MAAA;AAAA,IACH;AAAA,IAED,OAAO,IAAI,KACV;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,WAAU;AAAA,QACV,IAAI,OAAO;AAAA,QAEV,WAAA,YAAO,IAAI,MAAX,mBAAc;AAAA,MAAA;AAAA,IACjB;AAAA,EAEJ,EAAA,CAAA;AAEJ;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { useState, useRef, useEffect } from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { f as MdClose } from "../../index-B4OkVXmW.js";
|
|
4
4
|
import '../../assets/tailwind.css';/* empty css */
|
|
5
5
|
import "../../index.esm-ifS8v9eQ.js";
|
|
6
6
|
import "../../jspdf.plugin.autotable-7hp3hM-a.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx, Fragment, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { f as MdClose } from "../../index-B4OkVXmW.js";
|
|
4
4
|
import { c as FaSpinner } from "../../index-DH-TC1O6.js";
|
|
5
5
|
import SpinnerIcon from "../SpinnerIcon.js";
|
|
6
6
|
import { u as useClickAway } from "../../useClickAway-CH9ykBsx.js";
|
|
@@ -3,7 +3,7 @@ import { useState, useEffect } from "react";
|
|
|
3
3
|
import '../../assets/tailwind.css';/* empty css */
|
|
4
4
|
import Button from "../Button.js";
|
|
5
5
|
import AutocompleteSearchBar from "./AutocompleteSearchBar.js";
|
|
6
|
-
import { a as MdCheck } from "../../index-
|
|
6
|
+
import { a as MdCheck } from "../../index-B4OkVXmW.js";
|
|
7
7
|
import FormField from "./FormField.js";
|
|
8
8
|
import SectionTitle from "../layout/SectionTitle.js";
|
|
9
9
|
import "../../index.esm-ifS8v9eQ.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx, Fragment, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { f as MdClose, d as MdExpandLess, e as MdExpandMore, a as MdCheck } from "../../index-B4OkVXmW.js";
|
|
4
4
|
import '../../assets/tailwind.css';/* empty css */
|
|
5
5
|
import { c as FaSpinner } from "../../index-DH-TC1O6.js";
|
|
6
6
|
import SpinnerIcon from "../SpinnerIcon.js";
|