@comercti/vue-components-hmg 0.33.5 → 0.33.6
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
|
@@ -4670,7 +4670,8 @@ const u2 = /* @__PURE__ */ Bt($s, [["render", Vs]]), Es = "data:image/svg+xml,%3
|
|
|
4670
4670
|
reserveSpaceFeedback: { type: Boolean, default: !0 },
|
|
4671
4671
|
showUploadedFile: { type: Boolean, default: !0 },
|
|
4672
4672
|
removableFileName: {},
|
|
4673
|
-
showRemoveButton: { type: Boolean, default: !0 }
|
|
4673
|
+
showRemoveButton: { type: Boolean, default: !0 },
|
|
4674
|
+
showRemoveButtonPerFile: { default: () => ({}) }
|
|
4674
4675
|
},
|
|
4675
4676
|
emits: ["updateFiles", "update:modelValue", "delete"],
|
|
4676
4677
|
setup(e, { emit: t }) {
|
|
@@ -4882,7 +4883,7 @@ const u2 = /* @__PURE__ */ Bt($s, [["render", Vs]]), Es = "data:image/svg+xml,%3
|
|
|
4882
4883
|
disabled: n(v),
|
|
4883
4884
|
onChange: (B) => n(y)(S, B)
|
|
4884
4885
|
}, null, 8, ["value", "disabled", "onChange"])) : C("", !0),
|
|
4885
|
-
e.showRemoveButton ? (i(), f("button", {
|
|
4886
|
+
e.showRemoveButton || e.showRemoveButtonPerFile[S.file.name] ? (i(), f("button", {
|
|
4886
4887
|
key: 1,
|
|
4887
4888
|
type: "button",
|
|
4888
4889
|
onClick: (B) => n(z)(S, o, B, X),
|