@fctc/sme-widget-ui 1.9.3 → 1.9.4
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/index.js +5 -4
- package/dist/index.mjs +5 -4
- package/dist/utils.js +2 -2
- package/dist/utils.mjs +2 -2
- package/dist/widgets.js +5 -4
- package/dist/widgets.mjs +5 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -10132,8 +10132,8 @@ var en_default = {
|
|
|
10132
10132
|
download_file: "Download this file",
|
|
10133
10133
|
upload_success: "Upload file success",
|
|
10134
10134
|
upload_failure: "Upload file failure",
|
|
10135
|
-
file_accept_single: "Only JPEG, PNG, PDF, MP4, XLS, XLXS, ZIP formats are allowed, and each file should be up to 10MB.",
|
|
10136
|
-
file_accept_total: "Only JPEG, PNG, PDF, MP4, XLS, XLXS, ZIP formats are allowed, and total should be up to 50MB.",
|
|
10135
|
+
file_accept_single: "Only JPEG, PNG, PDF, MP4, XLS, XLXS, ZIP, JSON formats are allowed, and each file should be up to 10MB.",
|
|
10136
|
+
file_accept_total: "Only JPEG, PNG, PDF, MP4, XLS, XLXS, ZIP, JSON formats are allowed, and total should be up to 50MB.",
|
|
10137
10137
|
must_required: "is required",
|
|
10138
10138
|
invalid_number: "Invalid number",
|
|
10139
10139
|
active: "Active",
|
|
@@ -16984,7 +16984,8 @@ var ButtonSelectFiles = ({
|
|
|
16984
16984
|
"application/zip",
|
|
16985
16985
|
"application/x-zip-compressed",
|
|
16986
16986
|
"application/vnd.ms-excel",
|
|
16987
|
-
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
|
|
16987
|
+
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
|
|
16988
|
+
"application/json"
|
|
16988
16989
|
];
|
|
16989
16990
|
const MAX_FILE_SIZE = 10 * 1024 * 1024;
|
|
16990
16991
|
const MAX_TOTAL_SIZE = 50 * 1024 * 1024;
|
|
@@ -17085,7 +17086,7 @@ var ButtonSelectFiles = ({
|
|
|
17085
17086
|
style: { display: "none" },
|
|
17086
17087
|
onChange: handleOnChange,
|
|
17087
17088
|
multiple: true,
|
|
17088
|
-
accept: ".jpeg,.jpg,.png,.pdf,.mp4,.zip,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel"
|
|
17089
|
+
accept: ".jpeg,.jpg,.png,.pdf,.json,.mp4,.zip,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel"
|
|
17089
17090
|
}
|
|
17090
17091
|
)
|
|
17091
17092
|
] });
|
package/dist/index.mjs
CHANGED
|
@@ -10009,8 +10009,8 @@ var en_default = {
|
|
|
10009
10009
|
download_file: "Download this file",
|
|
10010
10010
|
upload_success: "Upload file success",
|
|
10011
10011
|
upload_failure: "Upload file failure",
|
|
10012
|
-
file_accept_single: "Only JPEG, PNG, PDF, MP4, XLS, XLXS, ZIP formats are allowed, and each file should be up to 10MB.",
|
|
10013
|
-
file_accept_total: "Only JPEG, PNG, PDF, MP4, XLS, XLXS, ZIP formats are allowed, and total should be up to 50MB.",
|
|
10012
|
+
file_accept_single: "Only JPEG, PNG, PDF, MP4, XLS, XLXS, ZIP, JSON formats are allowed, and each file should be up to 10MB.",
|
|
10013
|
+
file_accept_total: "Only JPEG, PNG, PDF, MP4, XLS, XLXS, ZIP, JSON formats are allowed, and total should be up to 50MB.",
|
|
10014
10014
|
must_required: "is required",
|
|
10015
10015
|
invalid_number: "Invalid number",
|
|
10016
10016
|
active: "Active",
|
|
@@ -16861,7 +16861,8 @@ var ButtonSelectFiles = ({
|
|
|
16861
16861
|
"application/zip",
|
|
16862
16862
|
"application/x-zip-compressed",
|
|
16863
16863
|
"application/vnd.ms-excel",
|
|
16864
|
-
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
|
|
16864
|
+
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
|
|
16865
|
+
"application/json"
|
|
16865
16866
|
];
|
|
16866
16867
|
const MAX_FILE_SIZE = 10 * 1024 * 1024;
|
|
16867
16868
|
const MAX_TOTAL_SIZE = 50 * 1024 * 1024;
|
|
@@ -16962,7 +16963,7 @@ var ButtonSelectFiles = ({
|
|
|
16962
16963
|
style: { display: "none" },
|
|
16963
16964
|
onChange: handleOnChange,
|
|
16964
16965
|
multiple: true,
|
|
16965
|
-
accept: ".jpeg,.jpg,.png,.pdf,.mp4,.zip,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel"
|
|
16966
|
+
accept: ".jpeg,.jpg,.png,.pdf,.json,.mp4,.zip,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel"
|
|
16966
16967
|
}
|
|
16967
16968
|
)
|
|
16968
16969
|
] });
|
package/dist/utils.js
CHANGED
|
@@ -6894,8 +6894,8 @@ var en_default = {
|
|
|
6894
6894
|
download_file: "Download this file",
|
|
6895
6895
|
upload_success: "Upload file success",
|
|
6896
6896
|
upload_failure: "Upload file failure",
|
|
6897
|
-
file_accept_single: "Only JPEG, PNG, PDF, MP4, XLS, XLXS, ZIP formats are allowed, and each file should be up to 10MB.",
|
|
6898
|
-
file_accept_total: "Only JPEG, PNG, PDF, MP4, XLS, XLXS, ZIP formats are allowed, and total should be up to 50MB.",
|
|
6897
|
+
file_accept_single: "Only JPEG, PNG, PDF, MP4, XLS, XLXS, ZIP, JSON formats are allowed, and each file should be up to 10MB.",
|
|
6898
|
+
file_accept_total: "Only JPEG, PNG, PDF, MP4, XLS, XLXS, ZIP, JSON formats are allowed, and total should be up to 50MB.",
|
|
6899
6899
|
must_required: "is required",
|
|
6900
6900
|
invalid_number: "Invalid number",
|
|
6901
6901
|
active: "Active",
|
package/dist/utils.mjs
CHANGED
|
@@ -6871,8 +6871,8 @@ var en_default = {
|
|
|
6871
6871
|
download_file: "Download this file",
|
|
6872
6872
|
upload_success: "Upload file success",
|
|
6873
6873
|
upload_failure: "Upload file failure",
|
|
6874
|
-
file_accept_single: "Only JPEG, PNG, PDF, MP4, XLS, XLXS, ZIP formats are allowed, and each file should be up to 10MB.",
|
|
6875
|
-
file_accept_total: "Only JPEG, PNG, PDF, MP4, XLS, XLXS, ZIP formats are allowed, and total should be up to 50MB.",
|
|
6874
|
+
file_accept_single: "Only JPEG, PNG, PDF, MP4, XLS, XLXS, ZIP, JSON formats are allowed, and each file should be up to 10MB.",
|
|
6875
|
+
file_accept_total: "Only JPEG, PNG, PDF, MP4, XLS, XLXS, ZIP, JSON formats are allowed, and total should be up to 50MB.",
|
|
6876
6876
|
must_required: "is required",
|
|
6877
6877
|
invalid_number: "Invalid number",
|
|
6878
6878
|
active: "Active",
|
package/dist/widgets.js
CHANGED
|
@@ -7818,8 +7818,8 @@ var en_default = {
|
|
|
7818
7818
|
download_file: "Download this file",
|
|
7819
7819
|
upload_success: "Upload file success",
|
|
7820
7820
|
upload_failure: "Upload file failure",
|
|
7821
|
-
file_accept_single: "Only JPEG, PNG, PDF, MP4, XLS, XLXS, ZIP formats are allowed, and each file should be up to 10MB.",
|
|
7822
|
-
file_accept_total: "Only JPEG, PNG, PDF, MP4, XLS, XLXS, ZIP formats are allowed, and total should be up to 50MB.",
|
|
7821
|
+
file_accept_single: "Only JPEG, PNG, PDF, MP4, XLS, XLXS, ZIP, JSON formats are allowed, and each file should be up to 10MB.",
|
|
7822
|
+
file_accept_total: "Only JPEG, PNG, PDF, MP4, XLS, XLXS, ZIP, JSON formats are allowed, and total should be up to 50MB.",
|
|
7823
7823
|
must_required: "is required",
|
|
7824
7824
|
invalid_number: "Invalid number",
|
|
7825
7825
|
active: "Active",
|
|
@@ -16389,7 +16389,8 @@ var ButtonSelectFiles = ({
|
|
|
16389
16389
|
"application/zip",
|
|
16390
16390
|
"application/x-zip-compressed",
|
|
16391
16391
|
"application/vnd.ms-excel",
|
|
16392
|
-
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
|
|
16392
|
+
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
|
|
16393
|
+
"application/json"
|
|
16393
16394
|
];
|
|
16394
16395
|
const MAX_FILE_SIZE = 10 * 1024 * 1024;
|
|
16395
16396
|
const MAX_TOTAL_SIZE = 50 * 1024 * 1024;
|
|
@@ -16490,7 +16491,7 @@ var ButtonSelectFiles = ({
|
|
|
16490
16491
|
style: { display: "none" },
|
|
16491
16492
|
onChange: handleOnChange,
|
|
16492
16493
|
multiple: true,
|
|
16493
|
-
accept: ".jpeg,.jpg,.png,.pdf,.mp4,.zip,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel"
|
|
16494
|
+
accept: ".jpeg,.jpg,.png,.pdf,.json,.mp4,.zip,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel"
|
|
16494
16495
|
}
|
|
16495
16496
|
)
|
|
16496
16497
|
] });
|
package/dist/widgets.mjs
CHANGED
|
@@ -7755,8 +7755,8 @@ var en_default = {
|
|
|
7755
7755
|
download_file: "Download this file",
|
|
7756
7756
|
upload_success: "Upload file success",
|
|
7757
7757
|
upload_failure: "Upload file failure",
|
|
7758
|
-
file_accept_single: "Only JPEG, PNG, PDF, MP4, XLS, XLXS, ZIP formats are allowed, and each file should be up to 10MB.",
|
|
7759
|
-
file_accept_total: "Only JPEG, PNG, PDF, MP4, XLS, XLXS, ZIP formats are allowed, and total should be up to 50MB.",
|
|
7758
|
+
file_accept_single: "Only JPEG, PNG, PDF, MP4, XLS, XLXS, ZIP, JSON formats are allowed, and each file should be up to 10MB.",
|
|
7759
|
+
file_accept_total: "Only JPEG, PNG, PDF, MP4, XLS, XLXS, ZIP, JSON formats are allowed, and total should be up to 50MB.",
|
|
7760
7760
|
must_required: "is required",
|
|
7761
7761
|
invalid_number: "Invalid number",
|
|
7762
7762
|
active: "Active",
|
|
@@ -16326,7 +16326,8 @@ var ButtonSelectFiles = ({
|
|
|
16326
16326
|
"application/zip",
|
|
16327
16327
|
"application/x-zip-compressed",
|
|
16328
16328
|
"application/vnd.ms-excel",
|
|
16329
|
-
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
|
|
16329
|
+
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
|
|
16330
|
+
"application/json"
|
|
16330
16331
|
];
|
|
16331
16332
|
const MAX_FILE_SIZE = 10 * 1024 * 1024;
|
|
16332
16333
|
const MAX_TOTAL_SIZE = 50 * 1024 * 1024;
|
|
@@ -16427,7 +16428,7 @@ var ButtonSelectFiles = ({
|
|
|
16427
16428
|
style: { display: "none" },
|
|
16428
16429
|
onChange: handleOnChange,
|
|
16429
16430
|
multiple: true,
|
|
16430
|
-
accept: ".jpeg,.jpg,.png,.pdf,.mp4,.zip,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel"
|
|
16431
|
+
accept: ".jpeg,.jpg,.png,.pdf,.json,.mp4,.zip,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel"
|
|
16431
16432
|
}
|
|
16432
16433
|
)
|
|
16433
16434
|
] });
|