@factoringplus/pl-components-pack-v3 0.5.93-pre-03 → 0.5.93

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.
@@ -19257,26 +19257,29 @@ const plCurrency_vue_vue_type_style_index_0_lang = "", _hoisted_1$M = /* @__PURE
19257
19257
  setup(g, { emit: y }) {
19258
19258
  const j = g, z = useAttrs$1(), $ = computed$1({
19259
19259
  get: () => j.modelValue,
19260
- set: (ae) => {
19261
- y("update:modelValue", ae);
19260
+ set: (le) => {
19261
+ y("update:modelValue", le);
19262
19262
  }
19263
19263
  }), V = ref(!0), re = () => {
19264
19264
  j.disabled || (V.value = !V.value);
19265
+ }, ae = () => {
19266
+ $.value = $.value.trim();
19265
19267
  };
19266
- return (ae, le) => (openBlock(), createElementBlock("div", _hoisted_1$J, [
19268
+ return (le, ue) => (openBlock(), createElementBlock("div", _hoisted_1$J, [
19267
19269
  j.leftIcon ? (openBlock(), createElementBlock("div", _hoisted_2$E, [
19268
19270
  createVNode(_sfc_main$14, {
19269
19271
  name: j.leftIcon
19270
19272
  }, null, 8, ["name"])
19271
19273
  ])) : createCommentVNode("", !0),
19272
19274
  withDirectives(createElementVNode("input", mergeProps({ id: g.id }, unref(z), {
19273
- "onUpdate:modelValue": le[0] || (le[0] = (ue) => $.value = ue),
19275
+ "onUpdate:modelValue": ue[0] || (ue[0] = (ie) => $.value = ie),
19274
19276
  class: "pl-input__inner",
19275
19277
  name: g.id,
19276
19278
  type: V.value ? "password" : "text",
19277
19279
  disabled: j.disabled,
19278
19280
  placeholder: j.placeholder,
19279
- prop: j.prop
19281
+ prop: j.prop,
19282
+ onInput: ae
19280
19283
  }), null, 16, _hoisted_3$x), [
19281
19284
  [vModelDynamic, $.value]
19282
19285
  ]),
@@ -19355,12 +19358,7 @@ const plCurrency_vue_vue_type_style_index_0_lang = "", _hoisted_1$M = /* @__PURE
19355
19358
  placeholder: j.placeholder,
19356
19359
  prop: j.prop
19357
19360
  }), null, 16, _hoisted_2$D), [
19358
- [
19359
- vModelText,
19360
- $.value,
19361
- void 0,
19362
- { trim: !0 }
19363
- ]
19361
+ [vModelText, $.value]
19364
19362
  ]),
19365
19363
  j.showWordLimit && j.maxlength ? (openBlock(), createElementBlock("div", _hoisted_3$w, [
19366
19364
  $.value ? (openBlock(), createElementBlock("span", _hoisted_4$r, toDisplayString($.value.length) + "/" + toDisplayString(j.maxlength), 1)) : (openBlock(), createElementBlock("span", _hoisted_5$m, " 0/" + toDisplayString(j.maxlength), 1))
@@ -19449,12 +19447,7 @@ const plCurrency_vue_vue_type_style_index_0_lang = "", _hoisted_1$M = /* @__PURE
19449
19447
  placeholder: j.placeholder,
19450
19448
  prop: j.prop
19451
19449
  }), null, 16, _hoisted_3$v), [
19452
- [
19453
- vModelDynamic,
19454
- $.value,
19455
- void 0,
19456
- { trim: !0 }
19457
- ]
19450
+ [vModelDynamic, $.value]
19458
19451
  ]),
19459
19452
  j.rightIcon ? (openBlock(), createElementBlock("div", _hoisted_4$q, [
19460
19453
  createVNode(_sfc_main$14, {
@@ -21080,7 +21073,7 @@ const PlButtonPlugin = {
21080
21073
  install(g) {
21081
21074
  g.component("PlIcon", _sfc_main$14);
21082
21075
  }
21083
- }, plLink_vue_vue_type_style_index_0_scoped_49b601cb_lang = "", _hoisted_1$w = ["href"], _sfc_main$P = {
21076
+ }, plLink_vue_vue_type_style_index_0_scoped_5f25a06c_lang = "", _hoisted_1$w = ["href", "target"], _sfc_main$P = {
21084
21077
  __name: "pl-link",
21085
21078
  props: {
21086
21079
  href: {
@@ -21094,6 +21087,10 @@ const PlButtonPlugin = {
21094
21087
  type: {
21095
21088
  type: String,
21096
21089
  default: "default"
21090
+ },
21091
+ target: {
21092
+ type: String,
21093
+ default: "_blank"
21097
21094
  }
21098
21095
  },
21099
21096
  setup(g) {
@@ -21110,13 +21107,14 @@ const PlButtonPlugin = {
21110
21107
  class: normalizeClass(j.value)
21111
21108
  }, [
21112
21109
  createElementVNode("a", {
21113
- href: y.href
21110
+ href: y.href,
21111
+ target: g.target
21114
21112
  }, [
21115
21113
  renderSlot(z.$slots, "default", {}, void 0, !0)
21116
21114
  ], 8, _hoisted_1$w)
21117
21115
  ], 2));
21118
21116
  }
21119
- }, PlLink = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-49b601cb"]]), PlLinkPlugin = {
21117
+ }, PlLink = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-5f25a06c"]]), PlLinkPlugin = {
21120
21118
  install(g) {
21121
21119
  g.component("PlLink", PlLink);
21122
21120
  }