@point-hub/papp 0.0.86 → 0.0.87

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.
@@ -32,6 +32,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
32
32
  inputRef: import("vue").Ref<any, any>;
33
33
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
34
34
  "update:modelValue": (value: number) => void;
35
+ update: () => void;
35
36
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
36
37
  decimalLength: number;
37
38
  align: string;
@@ -42,6 +43,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
42
43
  disabled: boolean;
43
44
  }>>> & Readonly<{
44
45
  "onUpdate:modelValue"?: (value: number) => any;
46
+ onUpdate?: () => any;
45
47
  }>, {
46
48
  required: boolean;
47
49
  disabled: boolean;
package/dist/index.js CHANGED
@@ -10228,24 +10228,24 @@ const Ag = ["placeholder", "autofocus", "required", "disabled"], wg = /* @__PURE
10228
10228
  helpers: {},
10229
10229
  errors: {}
10230
10230
  },
10231
- emits: ["update:modelValue"],
10231
+ emits: ["update:modelValue", "update"],
10232
10232
  setup(e, { expose: t, emit: n }) {
10233
- const r = e, a = E(), o = E(), i = (p) => {
10234
- f("update:modelValue", Number(p.target.rawValue));
10235
- }, l = () => {
10233
+ const r = e, a = E(), o = E(), i = () => {
10236
10234
  o.value.select();
10237
- }, s = E(), d = E(), u = E(0), c = E(0);
10235
+ }, l = E(), s = E(), d = E(0), u = E(0);
10238
10236
  te(() => {
10239
10237
  a.value = new Cl(o.value, {
10240
10238
  numeral: !0,
10241
10239
  numeralThousandsGroupStyle: "thousand",
10242
10240
  numeralDecimalScale: r.decimalLength,
10243
- onValueChanged: i
10244
- }), (r.border === "full" || s.value.clientWidth) && (u.value = s.value.clientWidth === 0 ? 10 : s.value.clientWidth), (r.border === "full" || d.value.clientWidth) && (c.value = d.value.clientWidth === 0 ? 10 : d.value.clientWidth), setTimeout(() => {
10245
- (r.border === "full" || s.value.clientWidth) && (u.value = s.value.clientWidth === 0 ? 10 : s.value.clientWidth), (r.border === "full" || d.value.clientWidth) && (c.value = d.value.clientWidth === 0 ? 10 : d.value.clientWidth);
10241
+ onValueChanged: f
10242
+ }), (r.border === "full" || l.value.clientWidth) && (d.value = l.value.clientWidth === 0 ? 10 : l.value.clientWidth), (r.border === "full" || s.value.clientWidth) && (u.value = s.value.clientWidth === 0 ? 10 : s.value.clientWidth), setTimeout(() => {
10243
+ (r.border === "full" || l.value.clientWidth) && (d.value = l.value.clientWidth === 0 ? 10 : l.value.clientWidth), (r.border === "full" || s.value.clientWidth) && (u.value = s.value.clientWidth === 0 ? 10 : s.value.clientWidth);
10246
10244
  }, 1e3);
10247
10245
  });
10248
- const f = n, h = P({
10246
+ const c = n, f = (p) => {
10247
+ c("update:modelValue", Number(p.target.rawValue)), c("update");
10248
+ }, h = P({
10249
10249
  set: () => {
10250
10250
  },
10251
10251
  get: () => new Intl.NumberFormat("en-US", {
@@ -10277,24 +10277,24 @@ const Ag = ["placeholder", "autofocus", "required", "disabled"], wg = /* @__PURE
10277
10277
  autofocus: r.autofocus,
10278
10278
  required: r.required,
10279
10279
  disabled: r.disabled,
10280
- onClick: l,
10280
+ onClick: i,
10281
10281
  style: At({
10282
- paddingLeft: `${u.value}px`,
10283
- paddingRight: `${c.value}px`
10282
+ paddingLeft: `${d.value}px`,
10283
+ paddingRight: `${u.value}px`
10284
10284
  })
10285
10285
  }, null, 14, Ag), [
10286
10286
  [on, h.value]
10287
10287
  ]),
10288
10288
  C("div", {
10289
10289
  ref_key: "suffixRef",
10290
- ref: d,
10290
+ ref: s,
10291
10291
  class: "absolute right-0 h-full flex items-center justify-center text-slate-400 dark:text-slate-300"
10292
10292
  }, [
10293
10293
  K(p.$slots, "suffix", {}, void 0, !0)
10294
10294
  ], 512),
10295
10295
  C("div", {
10296
10296
  ref_key: "prefixRef",
10297
- ref: s,
10297
+ ref: l,
10298
10298
  class: "absolute h-full flex items-center justify-center text-slate-400 dark:text-slate-300"
10299
10299
  }, [
10300
10300
  K(p.$slots, "prefix", {}, void 0, !0)
@@ -10303,7 +10303,7 @@ const Ag = ["placeholder", "autofocus", "required", "disabled"], wg = /* @__PURE
10303
10303
  _: 3
10304
10304
  }, 8, ["label", "layout", "description", "required", "helpers", "errors"]));
10305
10305
  }
10306
- }), xg = /* @__PURE__ */ le(wg, [["__scopeId", "data-v-0e2858d0"]]), Sg = { class: "cursor-pointer" }, Og = { class: "flex items-center justify-between gap-2" }, kg = {
10306
+ }), xg = /* @__PURE__ */ le(wg, [["__scopeId", "data-v-dfe23f19"]]), Sg = { class: "cursor-pointer" }, Og = { class: "flex items-center justify-between gap-2" }, kg = {
10307
10307
  key: 0,
10308
10308
  class: "shrink-0 text-white"
10309
10309
  }, Cg = {