@comercti/react-components-hmg 0.33.5 → 0.33.8
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
|
@@ -4680,7 +4680,8 @@ const ds = /* @__PURE__ */ St(ls, [["render", is]]), us = ["id", "checked", "dis
|
|
|
4680
4680
|
reserveSpaceFeedback: { type: Boolean, default: !0 },
|
|
4681
4681
|
showUploadedFile: { type: Boolean, default: !0 },
|
|
4682
4682
|
removableFileName: {},
|
|
4683
|
-
showRemoveButton: { type: Boolean, default: !0 }
|
|
4683
|
+
showRemoveButton: { type: Boolean, default: !0 },
|
|
4684
|
+
showRemoveButtonPerFile: { default: () => ({}) }
|
|
4684
4685
|
},
|
|
4685
4686
|
emits: ["updateFiles", "update:modelValue", "delete"],
|
|
4686
4687
|
setup(e, { emit: t }) {
|
|
@@ -4892,7 +4893,7 @@ const ds = /* @__PURE__ */ St(ls, [["render", is]]), us = ["id", "checked", "dis
|
|
|
4892
4893
|
disabled: n(v),
|
|
4893
4894
|
onChange: (B) => n(y)(S, B)
|
|
4894
4895
|
}, null, 8, ["value", "disabled", "onChange"])) : C("", !0),
|
|
4895
|
-
e.showRemoveButton ? (i(), f("button", {
|
|
4896
|
+
e.showRemoveButton || e.showRemoveButtonPerFile[S.file.name] ? (i(), f("button", {
|
|
4896
4897
|
key: 1,
|
|
4897
4898
|
type: "button",
|
|
4898
4899
|
onClick: (B) => n(z)(S, r, B, X),
|