@fctc/sme-widget-ui 1.9.8 → 2.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/dist/icons.d.mts +5 -1
- package/dist/icons.d.ts +5 -1
- package/dist/icons.js +69 -15
- package/dist/icons.mjs +67 -15
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1218 -1031
- package/dist/index.mjs +999 -814
- package/dist/types.d.mts +1 -0
- package/dist/types.d.ts +1 -0
- package/dist/utils.js +2 -2
- package/dist/utils.mjs +2 -2
- package/dist/widgets.d.mts +8 -10
- package/dist/widgets.d.ts +8 -10
- package/dist/widgets.js +1188 -1005
- package/dist/widgets.mjs +971 -788
- package/package.json +1 -1
package/dist/types.d.mts
CHANGED
package/dist/types.d.ts
CHANGED
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.d.mts
CHANGED
|
@@ -158,16 +158,14 @@ interface IAvatarProps extends IInputFieldProps {
|
|
|
158
158
|
declare const AvatarField: (props: IAvatarProps) => JSX.Element;
|
|
159
159
|
|
|
160
160
|
interface IBinaryFieldProps extends IInputFieldProps {
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
getImageBase64WithMimeType: any;
|
|
170
|
-
image: any;
|
|
161
|
+
placeHolderImage?: any;
|
|
162
|
+
inputId?: any;
|
|
163
|
+
initialFile?: any;
|
|
164
|
+
binaryRef?: any;
|
|
165
|
+
handleFileChange?: any;
|
|
166
|
+
handleRemoveFile?: any;
|
|
167
|
+
checkIsImageLink?: any;
|
|
168
|
+
onDownload?: any;
|
|
171
169
|
}
|
|
172
170
|
|
|
173
171
|
declare const BinaryField: (props: IBinaryFieldProps) => JSX.Element;
|
package/dist/widgets.d.ts
CHANGED
|
@@ -158,16 +158,14 @@ interface IAvatarProps extends IInputFieldProps {
|
|
|
158
158
|
declare const AvatarField: (props: IAvatarProps) => JSX.Element;
|
|
159
159
|
|
|
160
160
|
interface IBinaryFieldProps extends IInputFieldProps {
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
getImageBase64WithMimeType: any;
|
|
170
|
-
image: any;
|
|
161
|
+
placeHolderImage?: any;
|
|
162
|
+
inputId?: any;
|
|
163
|
+
initialFile?: any;
|
|
164
|
+
binaryRef?: any;
|
|
165
|
+
handleFileChange?: any;
|
|
166
|
+
handleRemoveFile?: any;
|
|
167
|
+
checkIsImageLink?: any;
|
|
168
|
+
onDownload?: any;
|
|
171
169
|
}
|
|
172
170
|
|
|
173
171
|
declare const BinaryField: (props: IBinaryFieldProps) => JSX.Element;
|