sprof 0.0.195 → 0.0.196

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/sprof.js CHANGED
@@ -6919,9 +6919,11 @@ const An = /* @__PURE__ */ new WeakMap(), wm = (t, e) => {
6919
6919
  modelModifiers: {}
6920
6920
  }),
6921
6921
  emits: /* @__PURE__ */ Ae(["blur", "input"], ["update:modelValue"]),
6922
- setup(t) {
6923
- const e = mt(t, "modelValue");
6924
- return (i, n) => (g(), w("div", {
6922
+ setup(t, { emit: e }) {
6923
+ const i = e, n = mt(t, "modelValue"), s = (r) => {
6924
+ r.inputType === "insertText" && (console.log(r.inputType), i("input", n.value));
6925
+ };
6926
+ return (r, o) => (g(), w("div", {
6925
6927
  class: "text-field",
6926
6928
  style: I({ margin: t.margin, padding: t.padding })
6927
6929
  }, [
@@ -6938,26 +6940,26 @@ const An = /* @__PURE__ */ new WeakMap(), wm = (t, e) => {
6938
6940
  })
6939
6941
  }, [
6940
6942
  f("div", Sm, [
6941
- P(i.$slots, "default", {}, void 0, !0)
6943
+ P(r.$slots, "default", {}, void 0, !0)
6942
6944
  ]),
6943
- Xe(f("input", Mt({ ref: "input" }, i.$attrs, {
6944
- "onUpdate:modelValue": n[0] || (n[0] = (s) => e.value = s),
6945
+ Xe(f("input", Mt({ ref: "input" }, r.$attrs, {
6946
+ "onUpdate:modelValue": o[0] || (o[0] = (u) => n.value = u),
6945
6947
  class: "text-field__input",
6946
6948
  style: { color: t.color },
6947
6949
  disabled: t.disabled,
6948
- onBlur: n[1] || (n[1] = (s) => i.$emit("blur", e.value)),
6949
- onInput: n[2] || (n[2] = (s) => i.$emit("input", e.value))
6950
+ onBlur: o[1] || (o[1] = (u) => r.$emit("blur", n.value)),
6951
+ onInput: s
6950
6952
  }), null, 16, Cm), [
6951
- [eu, e.value],
6953
+ [eu, n.value],
6952
6954
  [p(Vo), t.mask]
6953
6955
  ]),
6954
6956
  f("div", xm, [
6955
- P(i.$slots, "right", {}, void 0, !0)
6957
+ P(r.$slots, "right", {}, void 0, !0)
6956
6958
  ])
6957
6959
  ], 4)
6958
6960
  ], 4));
6959
6961
  }
6960
- }), Ms = /* @__PURE__ */ A(Mm, [["__scopeId", "data-v-2a4f6d6e"]]), _o = /* @__PURE__ */ $({
6962
+ }), Ms = /* @__PURE__ */ A(Mm, [["__scopeId", "data-v-cbca4ebc"]]), _o = /* @__PURE__ */ $({
6961
6963
  __name: "PInputDate",
6962
6964
  props: /* @__PURE__ */ Ae({
6963
6965
  placeholder: {