@espri/vue-components 2.0.2 → 2.0.3
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/input-number.es.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineComponent as b, computed as m, openBlock as i, createElementBlock as d, normalizeClass as u, createBlock as c, unref as a, withCtx as V, createVNode as _, createElementVNode as p, createTextVNode as h, toDisplayString as f, createCommentVNode as v } from "vue";
|
|
2
|
-
import { Skeleton as k, FloatLabel as B, InputNumber as
|
|
3
|
-
const
|
|
2
|
+
import { Skeleton as k, FloatLabel as B, InputNumber as C } from "primevue";
|
|
3
|
+
const N = ["for"], D = {
|
|
4
4
|
key: 0,
|
|
5
5
|
class: "text-danger"
|
|
6
|
-
},
|
|
6
|
+
}, E = { class: "text-danger" }, F = /* @__PURE__ */ b({
|
|
7
7
|
__name: "input-number",
|
|
8
8
|
props: {
|
|
9
9
|
label: {},
|
|
10
10
|
modelValue: {},
|
|
11
11
|
class: {},
|
|
12
|
-
|
|
12
|
+
inputClass: {},
|
|
13
13
|
disabled: { type: Boolean },
|
|
14
14
|
required: { type: Boolean },
|
|
15
15
|
step: {},
|
|
@@ -46,7 +46,7 @@ const D = ["for"], E = {
|
|
|
46
46
|
class: "mt-3"
|
|
47
47
|
}, {
|
|
48
48
|
default: V(() => [
|
|
49
|
-
_(a(
|
|
49
|
+
_(a(C), {
|
|
50
50
|
modelValue: s.value,
|
|
51
51
|
"onUpdate:modelValue": l[0] || (l[0] = (y) => s.value = y),
|
|
52
52
|
class: u(["w-full", e.class]),
|
|
@@ -59,22 +59,22 @@ const D = ["for"], E = {
|
|
|
59
59
|
currency: e.currency,
|
|
60
60
|
suffix: e.suffix,
|
|
61
61
|
invalid: !!r.value,
|
|
62
|
-
"input-class": e.
|
|
62
|
+
"input-class": e.inputClass,
|
|
63
63
|
disabled: e.disabled,
|
|
64
64
|
placeholder: e.placeholder,
|
|
65
65
|
"input-id": a(n)
|
|
66
66
|
}, null, 8, ["modelValue", "min", "max", "mode", "step", "min-fraction-digits", "max-fraction-digits", "currency", "suffix", "invalid", "class", "input-class", "disabled", "placeholder", "input-id"]),
|
|
67
67
|
p("label", { for: a(n) }, [
|
|
68
68
|
h(f(e.label), 1),
|
|
69
|
-
e.required ? (i(), d("span",
|
|
70
|
-
], 8,
|
|
69
|
+
e.required ? (i(), d("span", D, " *")) : v("", !0)
|
|
70
|
+
], 8, N)
|
|
71
71
|
]),
|
|
72
72
|
_: 1
|
|
73
73
|
})),
|
|
74
|
-
p("small",
|
|
74
|
+
p("small", E, f(r.value), 1)
|
|
75
75
|
], 2));
|
|
76
76
|
}
|
|
77
|
-
}),
|
|
77
|
+
}), q = F;
|
|
78
78
|
export {
|
|
79
|
-
|
|
79
|
+
q as default
|
|
80
80
|
};
|