@factoringplus/pl-components-pack-v3 0.8.28-pre-02 → 0.8.28-pre-04

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.
@@ -18792,21 +18792,21 @@ const plCurrency_vue_vue_type_style_index_0_lang = "", _hoisted_1$U = /* @__PURE
18792
18792
  typeof z.value[Oe] == "string" ? z.value[Oe] = "" : (typeof z.value[Oe] == "number" || typeof z.value[Oe] == "object") && (z.value[Oe] = null);
18793
18793
  }
18794
18794
  }, ie = ref(null), pe = ref([]), de = () => {
18795
- var Oe;
18795
+ var Oe, Ce;
18796
18796
  const he = ie.value;
18797
- for (let Ce = 0; Ce < he.length; Ce++) {
18798
- const Ue = he[Ce], $e = (Oe = Ue.attributes.prop) == null ? void 0 : Oe.value, xe = () => {
18797
+ for (let Ue = 0; Ue < he.length; Ue++) {
18798
+ const $e = he[Ue], xe = (Oe = $e.attributes.prop) == null ? void 0 : Oe.value, Et = () => {
18799
18799
  nextTick(() => {
18800
- ae($e);
18800
+ ae(xe);
18801
18801
  });
18802
18802
  };
18803
- $e && L.value[$e].forEach((Et) => {
18804
- Et.trigger ? Et.trigger.replace(/\s/g, "").split(",").forEach((Dt) => {
18805
- Ue.addEventListener(Dt, xe), pe.value.push({ element: Ue, trigger: Dt, callBack: xe });
18806
- }) : ["blur", "change", "input"].forEach((Dt) => {
18807
- Ue.addEventListener(Dt, xe), pe.value.push({ element: Ue, trigger: Dt, callBack: xe });
18803
+ xe && ((Ce = L.value[xe]) == null || Ce.forEach((qe) => {
18804
+ qe.trigger ? qe.trigger.replace(/\s/g, "").split(",").forEach((kt) => {
18805
+ $e.addEventListener(kt, Et), pe.value.push({ element: $e, trigger: kt, callBack: Et });
18806
+ }) : ["blur", "change", "input"].forEach((kt) => {
18807
+ $e.addEventListener(kt, Et), pe.value.push({ element: $e, trigger: kt, callBack: Et });
18808
18808
  });
18809
- });
18809
+ }));
18810
18810
  }
18811
18811
  }, Ne = () => {
18812
18812
  pe.value.forEach((he) => {
@@ -20178,7 +20178,7 @@ const uniqid = /* @__PURE__ */ getDefaultExportFromCjs(uniqidExports), plInputPl
20178
20178
  createElementVNode("span", null, toDisplayString(y.label), 1)
20179
20179
  ], 2)) : createCommentVNode("", !0);
20180
20180
  }
20181
- }), plTabCard_vue_vue_type_style_index_0_scoped_5d0a6b4e_lang = "", PlTabCard = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-5d0a6b4e"]]), plMultitab_vue_vue_type_style_index_0_scoped_49a7a073_lang = "", _hoisted_1$H = { class: "pl-multitab-container" }, _sfc_main$12 = {
20181
+ }), plTabCard_vue_vue_type_style_index_0_scoped_5d0a6b4e_lang = "", PlTabCard = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-5d0a6b4e"]]), plMultitab_vue_vue_type_style_index_0_scoped_b000d762_lang = "", _hoisted_1$H = { class: "pl-multitab-container" }, _sfc_main$12 = {
20182
20182
  __name: "pl-multitab",
20183
20183
  props: {
20184
20184
  modelValue: {
@@ -20210,22 +20210,25 @@ const uniqid = /* @__PURE__ */ getDefaultExportFromCjs(uniqidExports), plInputPl
20210
20210
  const ie = resolveDirective("tap");
20211
20211
  return openBlock(), createElementBlock("div", _hoisted_1$H, [
20212
20212
  createElementVNode("div", {
20213
- class: normalizeClass([
20214
- "pl-multitab-nav el-scrollbar__wrap el-scrollbar__wrap--hidden-default scrollbar-flex-content el-scrollbar__view",
20215
- ae.value,
20216
- j.navClass
20217
- ])
20213
+ class: normalizeClass(j.navClass)
20218
20214
  }, [
20219
- (openBlock(!0), createElementBlock(Fragment, null, renderList(L.value, (pe) => withDirectives((openBlock(), createBlock(PlTabCard, {
20220
- key: pe == null ? void 0 : pe.name,
20221
- label: pe == null ? void 0 : pe.label,
20222
- width: j.tabWidth,
20223
- active: j.modelValue === (pe == null ? void 0 : pe.name),
20224
- icon: pe == null ? void 0 : pe.icon,
20225
- disabled: pe == null ? void 0 : pe.disabled
20226
- }, null, 8, ["label", "width", "active", "icon", "disabled"])), [
20227
- [ie, () => re(pe)]
20228
- ])), 128))
20215
+ createElementVNode("div", {
20216
+ class: normalizeClass([
20217
+ "pl-multitab-nav el-scrollbar__wrap el-scrollbar__wrap--hidden-default scrollbar-flex-content el-scrollbar__view",
20218
+ ae.value
20219
+ ])
20220
+ }, [
20221
+ (openBlock(!0), createElementBlock(Fragment, null, renderList(L.value, (pe) => withDirectives((openBlock(), createBlock(PlTabCard, {
20222
+ key: pe == null ? void 0 : pe.name,
20223
+ label: pe == null ? void 0 : pe.label,
20224
+ width: j.tabWidth,
20225
+ active: j.modelValue === (pe == null ? void 0 : pe.name),
20226
+ icon: pe == null ? void 0 : pe.icon,
20227
+ disabled: pe == null ? void 0 : pe.disabled
20228
+ }, null, 8, ["label", "width", "active", "icon", "disabled"])), [
20229
+ [ie, () => re(pe)]
20230
+ ])), 128))
20231
+ ], 2)
20229
20232
  ], 2),
20230
20233
  createElementVNode("div", {
20231
20234
  class: normalizeClass(j.contentClass)
@@ -20235,7 +20238,7 @@ const uniqid = /* @__PURE__ */ getDefaultExportFromCjs(uniqidExports), plInputPl
20235
20238
  ]);
20236
20239
  };
20237
20240
  }
20238
- }, PlMultitab = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["__scopeId", "data-v-49a7a073"]]), PlMultitabPlugin = {
20241
+ }, PlMultitab = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["__scopeId", "data-v-b000d762"]]), PlMultitabPlugin = {
20239
20242
  install(g) {
20240
20243
  g.component("PlMultitab", PlMultitab);
20241
20244
  }
@@ -20454,12 +20457,7 @@ const _hoisted_1$G = {
20454
20457
  y("update:modelValue", ae);
20455
20458
  }
20456
20459
  });
20457
- return watch(
20458
- () => re.value,
20459
- (ae) => {
20460
- console.log("query", ae);
20461
- }
20462
- ), (ae, le) => {
20460
+ return (ae, le) => {
20463
20461
  const ue = _sfc_main$1f, ie = resolveDirective("tap");
20464
20462
  return openBlock(), createElementBlock("div", {
20465
20463
  class: normalizeClass([
@@ -20510,7 +20508,7 @@ function declOfNum(g, y) {
20510
20508
  const z = g % 10;
20511
20509
  return z > 1 && z < 5 ? y[1] : z == 1 ? y[0] : y[2];
20512
20510
  }
20513
- const plAutocompete_vue_vue_type_style_index_0_scoped_5cc02701_lang = "", _hoisted_1$F = { class: "pl-autocomplete__wrapper" }, _hoisted_2$z = { class: "pl-autocomplete__select-container" }, _hoisted_3$t = {
20511
+ const plAutocompete_vue_vue_type_style_index_0_scoped_f3094ae1_lang = "", _hoisted_1$F = { class: "pl-autocomplete__wrapper" }, _hoisted_2$z = { class: "pl-autocomplete__select-container" }, _hoisted_3$t = {
20514
20512
  key: 0,
20515
20513
  class: "pl-autocomplete__label-container"
20516
20514
  }, _hoisted_4$n = { class: "pl-autocomplete__label-container-text" }, _hoisted_5$h = {
@@ -20622,7 +20620,7 @@ const plAutocompete_vue_vue_type_style_index_0_scoped_5cc02701_lang = "", _hoist
20622
20620
  setup(g, { emit: y }) {
20623
20621
  const j = g;
20624
20622
  useCssVars((qe) => ({
20625
- "10248f1e": j.width
20623
+ "79b3dc83": j.width
20626
20624
  }));
20627
20625
  const z = `id-${uniqid()}`, L = ref([]);
20628
20626
  if (j.prop) {
@@ -20680,21 +20678,15 @@ const plAutocompete_vue_vue_type_style_index_0_scoped_5cc02701_lang = "", _hoist
20680
20678
  y("update:modelValue", qe);
20681
20679
  }
20682
20680
  });
20683
- watch(
20684
- () => Ie.value,
20685
- (qe) => {
20686
- console.log("watch selected value", qe), Ne.value = qe.value;
20687
- const Dt = document.getElementById(z);
20688
- if ("createEvent" in document) {
20689
- const kt = document.createEvent("HTMLEvents");
20690
- kt.initEvent("change", !1, !0), Dt.dispatchEvent(kt);
20691
- } else
20692
- Dt.fireEvent("onchange");
20693
- },
20694
- {
20695
- deep: !0
20696
- }
20697
- ), j.default && (Ie.value = JSON.parse(JSON.stringify(j.default)));
20681
+ watch(Ie, (qe) => {
20682
+ Ne.value = qe.value;
20683
+ const Dt = document.getElementById(z);
20684
+ if ("createEvent" in document) {
20685
+ const kt = document.createEvent("HTMLEvents");
20686
+ kt.initEvent("change", !1, !0), Dt.dispatchEvent(kt);
20687
+ } else
20688
+ Dt.fireEvent("onchange");
20689
+ }), j.default && (Ie.value = JSON.parse(JSON.stringify(j.default)));
20698
20690
  const he = ref(!1), Oe = (qe) => {
20699
20691
  qe.disabled || (he.value = !0, Ie.value = qe, Ne.value = qe.value, pe(), y("changeValue", qe));
20700
20692
  }, Ce = () => {
@@ -20813,7 +20805,7 @@ const plAutocompete_vue_vue_type_style_index_0_scoped_5cc02701_lang = "", _hoist
20813
20805
  ]);
20814
20806
  };
20815
20807
  }
20816
- }, PlAutocomplete = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-5cc02701"]]), PlAutocompletePlugin = {
20808
+ }, PlAutocomplete = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-f3094ae1"]]), PlAutocompletePlugin = {
20817
20809
  install(g) {
20818
20810
  g.component("PlAutocomplete", PlAutocomplete);
20819
20811
  }