@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.
@@ -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 N } from "primevue";
3
- const D = ["for"], E = {
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
- }, F = { class: "text-danger" }, C = /* @__PURE__ */ b({
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
- classInput: {},
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(N), {
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.classInput,
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", E, " *")) : v("", !0)
70
- ], 8, D)
69
+ e.required ? (i(), d("span", D, " *")) : v("", !0)
70
+ ], 8, N)
71
71
  ]),
72
72
  _: 1
73
73
  })),
74
- p("small", F, f(r.value), 1)
74
+ p("small", E, f(r.value), 1)
75
75
  ], 2));
76
76
  }
77
- }), S = C;
77
+ }), q = F;
78
78
  export {
79
- S as default
79
+ q as default
80
80
  };
@@ -14,7 +14,7 @@ export default interface EspriInputNumberProps {
14
14
  /**
15
15
  * Optional CSS class applied to the input element.
16
16
  */
17
- classInput?: string;
17
+ inputClass?: string;
18
18
  /**
19
19
  * Disables the input when true.
20
20
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@espri/vue-components",
3
- "version": "2.0.2",
3
+ "version": "2.0.3",
4
4
  "description": "ESPRI Digital - Vue components library",
5
5
  "author": "ESPRI Digital",
6
6
  "homepage": "https://github.com/ESPRI-Digital/vue-select#readme",