@factoringplus/pl-components-pack-v3 0.5.69 → 0.5.70-pre-02

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.
@@ -19479,7 +19479,7 @@ function now$1() {
19479
19479
  return now$1.last = g > y ? g : y + 1;
19480
19480
  }
19481
19481
  var uniqidExports = uniqid$1.exports;
19482
- const uniqid = /* @__PURE__ */ getDefaultExportFromCjs(uniqidExports), plInputPlus_vue_vue_type_style_index_0_scoped_84ca17b9_lang = "", _export_sfc = (g, y) => {
19482
+ const uniqid = /* @__PURE__ */ getDefaultExportFromCjs(uniqidExports), plInputPlus_vue_vue_type_style_index_0_scoped_da5ee9d9_lang = "", _export_sfc = (g, y) => {
19483
19483
  const j = g.__vccOpts || g;
19484
19484
  for (const [z, $] of y)
19485
19485
  j[z] = $;
@@ -19585,7 +19585,7 @@ const uniqid = /* @__PURE__ */ getDefaultExportFromCjs(uniqidExports), plInputPl
19585
19585
  setup(g, { emit: y }) {
19586
19586
  const j = g;
19587
19587
  useCssVars((ae) => ({
19588
- "1f4e50ca": j.width
19588
+ "7f49a608": j.width
19589
19589
  }));
19590
19590
  const z = useAttrs$1(), $ = `id-${uniqid()}`, V = ref([]);
19591
19591
  if (j.prop) {
@@ -19608,7 +19608,14 @@ const uniqid = /* @__PURE__ */ getDefaultExportFromCjs(uniqidExports), plInputPl
19608
19608
  y("update:modelValue", ae);
19609
19609
  }
19610
19610
  });
19611
- return (ae, le) => (openBlock(), createElementBlock("div", _hoisted_1$G, [
19611
+ return watch(re, () => {
19612
+ const ae = document.getElementById($);
19613
+ if ("createEvent" in document) {
19614
+ const le = document.createEvent("HTMLEvents");
19615
+ le.initEvent("change", !1, !0), ae.dispatchEvent(le);
19616
+ } else
19617
+ ae.fireEvent("onchange");
19618
+ }), (ae, le) => (openBlock(), createElementBlock("div", _hoisted_1$G, [
19612
19619
  j.label || j.tooltip ? (openBlock(), createElementBlock("label", {
19613
19620
  key: 0,
19614
19621
  class: "pl-input__label-container",
@@ -19682,7 +19689,7 @@ const uniqid = /* @__PURE__ */ getDefaultExportFromCjs(uniqidExports), plInputPl
19682
19689
  ])) : createCommentVNode("", !0)
19683
19690
  ]));
19684
19691
  }
19685
- }, PlInputPlus = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-84ca17b9"]]), PlInputPlusPlugin = {
19692
+ }, PlInputPlus = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-da5ee9d9"]]), PlInputPlusPlugin = {
19686
19693
  install(g) {
19687
19694
  g.component("PlInputPlus", PlInputPlus);
19688
19695
  }
@@ -20072,7 +20079,7 @@ function declOfNum(g, y) {
20072
20079
  const z = g % 10;
20073
20080
  return z > 1 && z < 5 ? y[1] : z == 1 ? y[0] : y[2];
20074
20081
  }
20075
- const plAutocompete_vue_vue_type_style_index_0_scoped_ae51ce21_lang = "", _hoisted_1$C = { class: "pl-autocomplete__wrapper" }, _hoisted_2$x = {
20082
+ const plAutocompete_vue_vue_type_style_index_0_scoped_5b007444_lang = "", _hoisted_1$C = { class: "pl-autocomplete__wrapper" }, _hoisted_2$x = {
20076
20083
  key: 0,
20077
20084
  class: "pl-autocomplete__label-container"
20078
20085
  }, _hoisted_3$r = { class: "pl-autocomplete__label-container-text" }, _hoisted_4$m = {
@@ -20160,6 +20167,10 @@ const plAutocompete_vue_vue_type_style_index_0_scoped_ae51ce21_lang = "", _hoist
20160
20167
  type: String,
20161
20168
  default: "Нет данных"
20162
20169
  },
20170
+ defaultDropText: {
20171
+ type: String,
20172
+ default: ""
20173
+ },
20163
20174
  memoryBlur: {
20164
20175
  type: Boolean,
20165
20176
  default: !1
@@ -20173,7 +20184,7 @@ const plAutocompete_vue_vue_type_style_index_0_scoped_ae51ce21_lang = "", _hoist
20173
20184
  setup(g, { emit: y }) {
20174
20185
  const j = g;
20175
20186
  useCssVars((qe) => ({
20176
- "39743cde": j.width
20187
+ "0e555ca8": j.width
20177
20188
  }));
20178
20189
  const z = `id-${uniqid()}`, $ = ref([]);
20179
20190
  if (j.prop) {
@@ -20239,20 +20250,22 @@ const plAutocompete_vue_vue_type_style_index_0_scoped_ae51ce21_lang = "", _hoist
20239
20250
  const Oe = (qe) => {
20240
20251
  qe.disabled || (de(), _e.value = qe, Ie.value = qe.value, y("changeValue", qe));
20241
20252
  }, Ce = () => {
20242
- _e.value = {}, Ie.value = "";
20253
+ _e.value = {}, Ie.value = "", y("changeValue", {});
20243
20254
  };
20244
20255
  computed$1(() => j.options.filter(
20245
20256
  (qe) => qe.value === _e.value.value
20246
20257
  )[0]);
20247
20258
  const Ue = (qe) => qe.value === _e.value.value && qe.bottomText === _e.value.bottomText, ze = () => {
20248
20259
  var qe, At;
20260
+ if (!Ie.value && j.defaultDropText)
20261
+ return j.defaultDropText;
20249
20262
  if (!Ie.value || ((qe = Ie.value) == null ? void 0 : qe.length) < j.symbolsCountSearch)
20250
20263
  return `Введите минимум ${j.symbolsCountSearch} ${declOfNum(
20251
20264
  j.symbolsCountSearch,
20252
20265
  ["символ", "символа", "символов"]
20253
20266
  )} `;
20254
20267
  if (!j.suggestionList || Ne.value)
20255
- return " в";
20268
+ return;
20256
20269
  if (((At = j.suggestionList) == null ? void 0 : At.length) === 0)
20257
20270
  return j.noData;
20258
20271
  }, xe = () => {
@@ -20346,7 +20359,7 @@ const plAutocompete_vue_vue_type_style_index_0_scoped_ae51ce21_lang = "", _hoist
20346
20359
  ]);
20347
20360
  };
20348
20361
  }
20349
- }, PlAutocomplete = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["__scopeId", "data-v-ae51ce21"]]), PlAutocompletePlugin = {
20362
+ }, PlAutocomplete = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["__scopeId", "data-v-5b007444"]]), PlAutocompletePlugin = {
20350
20363
  install(g) {
20351
20364
  g.component("PlAutocomplete", PlAutocomplete), g.component("PlOption", PlOption);
20352
20365
  }
@@ -34671,7 +34684,7 @@ function _sfc_render$9(g, y) {
34671
34684
  renderSlot(g.$slots, "default", {}, void 0, !0)
34672
34685
  ]);
34673
34686
  }
34674
- const plSub2 = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["render", _sfc_render$9], ["__scopeId", "data-v-c5b75078"]]), plBtn1_vue_vue_type_style_index_0_scoped_661e14e6_lang = "", _sfc_main$8 = {};
34687
+ const PlSub2 = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["render", _sfc_render$9], ["__scopeId", "data-v-c5b75078"]]), plBtn1_vue_vue_type_style_index_0_scoped_661e14e6_lang = "", _sfc_main$8 = {};
34675
34688
  function _sfc_render$8(g, y) {
34676
34689
  return openBlock(), createElementBlock("span", null, [
34677
34690
  renderSlot(g.$slots, "default", {}, void 0, !0)
@@ -34727,7 +34740,7 @@ function _sfc_render(g, y) {
34727
34740
  }
34728
34741
  const PlTag = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-cb8003d9"]]), PlTextPlugin = {
34729
34742
  install(g) {
34730
- g.component("PlH1", PlH1), g.component("PlH2", PlH2), g.component("PlH3", PlH3), g.component("PlH4", PlH4), g.component("PlTitle1", PlTitle1), g.component("PlTitle2", PlTitle2), g.component("PlTitle3", PlTitle3), g.component("PlSub1", PlSub1), g.component("PlSub2", PlSub12), g.component("PlBtn1", PlBtn1), g.component("PlBtn2", PlBtn2), g.component("PlBtn3", PlBtn3), g.component("PlBody1", PlBody1), g.component("PlBody2", PlBody2), g.component("PlBody3", PlBody3), g.component("PlBodyU", PlBodyU), g.component("PlCap", PlCap), g.component("PlTag", PlTag);
34743
+ g.component("PlH1", PlH1), g.component("PlH2", PlH2), g.component("PlH3", PlH3), g.component("PlH4", PlH4), g.component("PlTitle1", PlTitle1), g.component("PlTitle2", PlTitle2), g.component("PlTitle3", PlTitle3), g.component("PlSub1", PlSub1), g.component("PlSub2", PlSub2), g.component("PlBtn1", PlBtn1), g.component("PlBtn2", PlBtn2), g.component("PlBtn3", PlBtn3), g.component("PlBody1", PlBody1), g.component("PlBody2", PlBody2), g.component("PlBody3", PlBody3), g.component("PlBodyU", PlBodyU), g.component("PlCap", PlCap), g.component("PlTag", PlTag);
34731
34744
  }
34732
34745
  }, customBootstrap = "", root = "", inter = "", color = "", resetElement = "", pinia = createPinia(), PlPlugin = {
34733
34746
  install(g) {
@@ -34782,7 +34795,7 @@ export {
34782
34795
  _sfc_main$m as PlStepper,
34783
34796
  PlStepperPlugin,
34784
34797
  PlSub1,
34785
- plSub2 as PlSub2,
34798
+ PlSub2,
34786
34799
  _sfc_main$K as PlTable,
34787
34800
  _sfc_main$J as PlTableColumn,
34788
34801
  PlTablePlugin,