@point-hub/papp 0.0.48 → 0.0.50

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.
@@ -10,6 +10,7 @@ export interface Props {
10
10
  type?: BaseInputType;
11
11
  border?: BaseInputBorderType;
12
12
  layout?: BaseFormLayoutType;
13
+ maxlength?: number;
13
14
  autofocus?: boolean;
14
15
  required?: boolean;
15
16
  disabled?: boolean;
package/dist/index.js CHANGED
@@ -7637,11 +7637,7 @@ const Hv = /* @__PURE__ */ _({
7637
7637
  r.disabled || (i.value = { label: "" });
7638
7638
  }, d = E(null), u = () => {
7639
7639
  d.value && d.value.el.click();
7640
- };
7641
- le(o, (c) => {
7642
- c.length === 0 && (i.value = { label: "" });
7643
- });
7644
- const p = E();
7640
+ }, p = E();
7645
7641
  return t({
7646
7642
  inputRef: p
7647
7643
  }), (c, m) => {
@@ -7751,7 +7747,7 @@ const Hv = /* @__PURE__ */ _({
7751
7747
  }, 8, ["label", "layout", "description", "required", "helpers", "errors"]);
7752
7748
  };
7753
7749
  }
7754
- }), lm = /* @__PURE__ */ se(im, [["__scopeId", "data-v-ee80e0bd"]]), sm = { class: "flex gap-2 items-center" }, um = ["id", "required", "disabled"], dm = ["for"], cm = { key: 0 }, pm = /* @__PURE__ */ _({
7750
+ }), lm = /* @__PURE__ */ se(im, [["__scopeId", "data-v-28f5906a"]]), sm = { class: "flex gap-2 items-center" }, um = ["id", "required", "disabled"], dm = ["for"], cm = { key: 0 }, pm = /* @__PURE__ */ _({
7755
7751
  __name: "base-checkbox",
7756
7752
  props: {
7757
7753
  modelValue: { type: Boolean, default: !1 },
@@ -9212,7 +9208,7 @@ const wh = ["autofocus", "required", "disabled"], xh = /* @__PURE__ */ _({
9212
9208
  _: 3
9213
9209
  }, 8, ["label", "layout", "description", "required", "helpers", "errors"]));
9214
9210
  }
9215
- }), Eh = /* @__PURE__ */ se(Ch, [["__scopeId", "data-v-94a08e7a"]]), Ph = ["type", "placeholder", "autofocus", "required", "disabled"], Th = /* @__PURE__ */ _({
9211
+ }), Eh = /* @__PURE__ */ se(Ch, [["__scopeId", "data-v-94a08e7a"]]), Ph = ["type", "maxlength", "placeholder", "autofocus", "required", "disabled"], Th = /* @__PURE__ */ _({
9216
9212
  __name: "base-input",
9217
9213
  props: {
9218
9214
  modelValue: {},
@@ -9223,6 +9219,7 @@ const wh = ["autofocus", "required", "disabled"], xh = /* @__PURE__ */ _({
9223
9219
  type: { default: "text" },
9224
9220
  border: { default: "simple" },
9225
9221
  layout: { default: "vertical" },
9222
+ maxlength: {},
9226
9223
  autofocus: { type: Boolean, default: !1 },
9227
9224
  required: { type: Boolean, default: !1 },
9228
9225
  disabled: { type: Boolean, default: !1 },
@@ -9264,6 +9261,7 @@ const wh = ["autofocus", "required", "disabled"], xh = /* @__PURE__ */ _({
9264
9261
  }]),
9265
9262
  "onUpdate:modelValue": c[0] || (c[0] = (m) => i.value = m),
9266
9263
  type: r.type,
9264
+ maxlength: r.maxlength,
9267
9265
  placeholder: r.placeholder,
9268
9266
  autofocus: r.autofocus,
9269
9267
  required: r.required,
@@ -9298,7 +9296,7 @@ const wh = ["autofocus", "required", "disabled"], xh = /* @__PURE__ */ _({
9298
9296
  _: 3
9299
9297
  }, 8, ["label", "layout", "description", "required", "helpers", "errors"]));
9300
9298
  }
9301
- }), Dh = /* @__PURE__ */ se(Th, [["__scopeId", "data-v-25cbaa09"]]), Ih = ["placeholder", "autofocus", "required", "disabled"], Bh = /* @__PURE__ */ _({
9299
+ }), Dh = /* @__PURE__ */ se(Th, [["__scopeId", "data-v-4893757a"]]), Ih = ["placeholder", "autofocus", "required", "disabled"], Bh = /* @__PURE__ */ _({
9302
9300
  __name: "base-input-mask",
9303
9301
  props: {
9304
9302
  modelValue: { type: [String, Number, Boolean, null] },