@fctc/sme-widget-ui 3.10.0 → 3.10.2
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 +3 -8
- package/dist/index.mjs +3 -8
- package/dist/widgets.js +3 -8
- package/dist/widgets.mjs +3 -8
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -17038,13 +17038,7 @@ var BinaryField = (props) => {
|
|
|
17038
17038
|
name: name ?? "",
|
|
17039
17039
|
control: methods?.control,
|
|
17040
17040
|
rules: {
|
|
17041
|
-
required: required && !invisible ? { value: true, message: `${string} ${t3("must_required")}` } : false
|
|
17042
|
-
validate: {
|
|
17043
|
-
fileValidate: (value2) => {
|
|
17044
|
-
if (!value2) return true;
|
|
17045
|
-
return validateFile(value2);
|
|
17046
|
-
}
|
|
17047
|
-
}
|
|
17041
|
+
required: required && !invisible ? { value: true, message: `${string} ${t3("must_required")}` } : false
|
|
17048
17042
|
},
|
|
17049
17043
|
render: ({ fieldState: { error: error2 } }) => {
|
|
17050
17044
|
console.log("error", error2);
|
|
@@ -17162,7 +17156,8 @@ var BinaryField = (props) => {
|
|
|
17162
17156
|
"p",
|
|
17163
17157
|
{
|
|
17164
17158
|
style: {
|
|
17165
|
-
maxWidth: "180px"
|
|
17159
|
+
maxWidth: "180px",
|
|
17160
|
+
textWrap: "wrap"
|
|
17166
17161
|
},
|
|
17167
17162
|
className: "text-[#de4747] text-sm mt-1",
|
|
17168
17163
|
children: error2.message
|
package/dist/index.mjs
CHANGED
|
@@ -16911,13 +16911,7 @@ var BinaryField = (props) => {
|
|
|
16911
16911
|
name: name ?? "",
|
|
16912
16912
|
control: methods?.control,
|
|
16913
16913
|
rules: {
|
|
16914
|
-
required: required && !invisible ? { value: true, message: `${string} ${t3("must_required")}` } : false
|
|
16915
|
-
validate: {
|
|
16916
|
-
fileValidate: (value2) => {
|
|
16917
|
-
if (!value2) return true;
|
|
16918
|
-
return validateFile(value2);
|
|
16919
|
-
}
|
|
16920
|
-
}
|
|
16914
|
+
required: required && !invisible ? { value: true, message: `${string} ${t3("must_required")}` } : false
|
|
16921
16915
|
},
|
|
16922
16916
|
render: ({ fieldState: { error: error2 } }) => {
|
|
16923
16917
|
console.log("error", error2);
|
|
@@ -17035,7 +17029,8 @@ var BinaryField = (props) => {
|
|
|
17035
17029
|
"p",
|
|
17036
17030
|
{
|
|
17037
17031
|
style: {
|
|
17038
|
-
maxWidth: "180px"
|
|
17032
|
+
maxWidth: "180px",
|
|
17033
|
+
textWrap: "wrap"
|
|
17039
17034
|
},
|
|
17040
17035
|
className: "text-[#de4747] text-sm mt-1",
|
|
17041
17036
|
children: error2.message
|
package/dist/widgets.js
CHANGED
|
@@ -16266,13 +16266,7 @@ var BinaryField = (props) => {
|
|
|
16266
16266
|
name: name ?? "",
|
|
16267
16267
|
control: methods?.control,
|
|
16268
16268
|
rules: {
|
|
16269
|
-
required: required && !invisible ? { value: true, message: `${string} ${t3("must_required")}` } : false
|
|
16270
|
-
validate: {
|
|
16271
|
-
fileValidate: (value2) => {
|
|
16272
|
-
if (!value2) return true;
|
|
16273
|
-
return validateFile(value2);
|
|
16274
|
-
}
|
|
16275
|
-
}
|
|
16269
|
+
required: required && !invisible ? { value: true, message: `${string} ${t3("must_required")}` } : false
|
|
16276
16270
|
},
|
|
16277
16271
|
render: ({ fieldState: { error: error2 } }) => {
|
|
16278
16272
|
console.log("error", error2);
|
|
@@ -16390,7 +16384,8 @@ var BinaryField = (props) => {
|
|
|
16390
16384
|
"p",
|
|
16391
16385
|
{
|
|
16392
16386
|
style: {
|
|
16393
|
-
maxWidth: "180px"
|
|
16387
|
+
maxWidth: "180px",
|
|
16388
|
+
textWrap: "wrap"
|
|
16394
16389
|
},
|
|
16395
16390
|
className: "text-[#de4747] text-sm mt-1",
|
|
16396
16391
|
children: error2.message
|
package/dist/widgets.mjs
CHANGED
|
@@ -16203,13 +16203,7 @@ var BinaryField = (props) => {
|
|
|
16203
16203
|
name: name ?? "",
|
|
16204
16204
|
control: methods?.control,
|
|
16205
16205
|
rules: {
|
|
16206
|
-
required: required && !invisible ? { value: true, message: `${string} ${t3("must_required")}` } : false
|
|
16207
|
-
validate: {
|
|
16208
|
-
fileValidate: (value2) => {
|
|
16209
|
-
if (!value2) return true;
|
|
16210
|
-
return validateFile(value2);
|
|
16211
|
-
}
|
|
16212
|
-
}
|
|
16206
|
+
required: required && !invisible ? { value: true, message: `${string} ${t3("must_required")}` } : false
|
|
16213
16207
|
},
|
|
16214
16208
|
render: ({ fieldState: { error: error2 } }) => {
|
|
16215
16209
|
console.log("error", error2);
|
|
@@ -16327,7 +16321,8 @@ var BinaryField = (props) => {
|
|
|
16327
16321
|
"p",
|
|
16328
16322
|
{
|
|
16329
16323
|
style: {
|
|
16330
|
-
maxWidth: "180px"
|
|
16324
|
+
maxWidth: "180px",
|
|
16325
|
+
textWrap: "wrap"
|
|
16331
16326
|
},
|
|
16332
16327
|
className: "text-[#de4747] text-sm mt-1",
|
|
16333
16328
|
children: error2.message
|