vue3-tailwind-components 0.1.4 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
package/README.md
CHANGED
@@ -11869,7 +11869,7 @@ const o4 = {
|
|
11869
11869
|
},
|
11870
11870
|
methods: {
|
11871
11871
|
closeDialog() {
|
11872
|
-
this.showing = !1, this.$emit("update:modelValue", !1);
|
11872
|
+
this.showing = !1, this.$emit("update:modelValue", !1), this.$emit("closed");
|
11873
11873
|
}
|
11874
11874
|
}
|
11875
11875
|
}, BJ = { key: 0 }, FJ = { class: "fixed inset-0 z-50 flex items-center justify-center sm:p-0 animate-in fade-in zoom-in" }, RJ = { class: "relative" }, DJ = /* @__PURE__ */ J("h1", { class: "font-bold" }, " Modal title", -1), EJ = { class: "flex-1 p-4" }, IJ = /* @__PURE__ */ J("div", { class: "mt-2 text-sm text-primary-400" }, "This is the modals default content. Replace this with content in the body slot of the component. ", -1), UJ = { class: "flex justify-end gap-2" };
|
@@ -15842,6 +15842,10 @@ const BZ = /* @__PURE__ */ T2(XJ, [["render", aZ]]), eZ = {
|
|
15842
15842
|
labelPosition: {
|
15843
15843
|
type: String,
|
15844
15844
|
default: "block"
|
15845
|
+
},
|
15846
|
+
accept: {
|
15847
|
+
type: String,
|
15848
|
+
default: ""
|
15845
15849
|
}
|
15846
15850
|
},
|
15847
15851
|
data() {
|
@@ -15892,7 +15896,7 @@ const BZ = /* @__PURE__ */ T2(XJ, [["render", aZ]]), eZ = {
|
|
15892
15896
|
return "text-" + this.color + "-500";
|
15893
15897
|
}
|
15894
15898
|
}
|
15895
|
-
}, rZ = ["for"], nZ = { class: "relative" }, iZ = ["name", "id", "placeholder", "type", "disabled"], sZ = {
|
15899
|
+
}, rZ = ["for"], nZ = { class: "relative" }, iZ = ["name", "id", "placeholder", "type", "disabled", "accept"], sZ = {
|
15896
15900
|
key: 1,
|
15897
15901
|
class: "m-1 text-sm text-danger-500"
|
15898
15902
|
};
|
@@ -15922,7 +15926,8 @@ function fZ(r, s, n, t, m, u) {
|
|
15922
15926
|
placeholder: n.placeholder,
|
15923
15927
|
class: e2([u.inputClass, "w-full border focus:shadow-inner py-1 px-2 rounded outline-none disabled:cursor-not-allowed"]),
|
15924
15928
|
type: n.type,
|
15925
|
-
disabled: n.disabled
|
15929
|
+
disabled: n.disabled,
|
15930
|
+
accept: n.accept
|
15926
15931
|
}, null, 42, iZ), [
|
15927
15932
|
[Tp, m.inputVal]
|
15928
15933
|
]),
|