@comercti/react-components-hmg 0.23.9 → 0.23.10
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/comerc-style-guide.cjs.js +1 -1
- package/comerc-style-guide.es.js +3 -2
- package/comerc-style-guide.umd.js +1 -1
- package/index.d.ts +3 -0
- package/package.json +1 -1
package/comerc-style-guide.es.js
CHANGED
|
@@ -4285,7 +4285,8 @@ const Ul = /* @__PURE__ */ pt(Il, [["render", ql]]), Zl = ["id", "checked", "dis
|
|
|
4285
4285
|
invalid: { type: Boolean, default: !1 },
|
|
4286
4286
|
reserveSpaceFeedback: { type: Boolean, default: !0 },
|
|
4287
4287
|
showUploadedFile: { type: Boolean, default: !0 },
|
|
4288
|
-
canRemoveFile: { type: Boolean }
|
|
4288
|
+
canRemoveFile: { type: Boolean },
|
|
4289
|
+
showRemoveButton: { type: Boolean, default: !0 }
|
|
4289
4290
|
},
|
|
4290
4291
|
emits: ["updateFiles", "update:modelValue", "delete"],
|
|
4291
4292
|
setup(e, { emit: t }) {
|
|
@@ -4522,7 +4523,7 @@ const Ul = /* @__PURE__ */ pt(Il, [["render", ql]]), Zl = ["id", "checked", "dis
|
|
|
4522
4523
|
disabled: r(h),
|
|
4523
4524
|
onChange: (V) => r(M)(S, V)
|
|
4524
4525
|
}, null, 8, ["value", "disabled", "onChange"])) : A("", !0),
|
|
4525
|
-
|
|
4526
|
+
e.showRemoveButton ? (u(), m("button", {
|
|
4526
4527
|
key: 1,
|
|
4527
4528
|
type: "button",
|
|
4528
4529
|
onClick: (V) => r(T)(z, n, V),
|