@factoringplus/pl-components-pack-v3 0.5.78-pre-01 → 0.5.79-pre-01

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.
@@ -19693,134 +19693,7 @@ const uniqid = /* @__PURE__ */ getDefaultExportFromCjs(uniqidExports), plInputPl
19693
19693
  install(g) {
19694
19694
  g.component("PlInputPlus", PlInputPlus);
19695
19695
  }
19696
- }, loading = "", scrollbar = "";
19697
- function unrefElement(g) {
19698
- var y;
19699
- const j = resolveUnref(g);
19700
- return (y = j == null ? void 0 : j.$el) != null ? y : j;
19701
- }
19702
- const defaultWindow = isClient ? window : void 0;
19703
- function useEventListener(...g) {
19704
- let y, j, z, $;
19705
- if (isString$2(g[0]) || Array.isArray(g[0]) ? ([j, z, $] = g, y = defaultWindow) : [y, j, z, $] = g, !y)
19706
- return noop$1;
19707
- Array.isArray(j) || (j = [j]), Array.isArray(z) || (z = [z]);
19708
- const V = [], re = () => {
19709
- V.forEach((ie) => ie()), V.length = 0;
19710
- }, ae = (ie, pe, de, Ne) => (ie.addEventListener(pe, de, Ne), () => ie.removeEventListener(pe, de, Ne)), le = watch(() => [unrefElement(y), resolveUnref($)], ([ie, pe]) => {
19711
- re(), ie && V.push(...j.flatMap((de) => z.map((Ne) => ae(ie, de, Ne, pe))));
19712
- }, { immediate: !0, flush: "post" }), ue = () => {
19713
- le(), re();
19714
- };
19715
- return tryOnScopeDispose(ue), ue;
19716
- }
19717
- let _iOSWorkaround = !1;
19718
- function onClickOutside(g, y, j = {}) {
19719
- const { window: z = defaultWindow, ignore: $ = [], capture: V = !0, detectIframe: re = !1 } = j;
19720
- if (!z)
19721
- return;
19722
- isIOS && !_iOSWorkaround && (_iOSWorkaround = !0, Array.from(z.document.body.children).forEach((de) => de.addEventListener("click", noop$1)));
19723
- let ae = !0;
19724
- const le = (de) => $.some((Ne) => {
19725
- if (typeof Ne == "string")
19726
- return Array.from(z.document.querySelectorAll(Ne)).some((Ie) => Ie === de.target || de.composedPath().includes(Ie));
19727
- {
19728
- const Ie = unrefElement(Ne);
19729
- return Ie && (de.target === Ie || de.composedPath().includes(Ie));
19730
- }
19731
- }), ie = [
19732
- useEventListener(z, "click", (de) => {
19733
- const Ne = unrefElement(g);
19734
- if (!(!Ne || Ne === de.target || de.composedPath().includes(Ne))) {
19735
- if (de.detail === 0 && (ae = !le(de)), !ae) {
19736
- ae = !0;
19737
- return;
19738
- }
19739
- y(de);
19740
- }
19741
- }, { passive: !0, capture: V }),
19742
- useEventListener(z, "pointerdown", (de) => {
19743
- const Ne = unrefElement(g);
19744
- Ne && (ae = !de.composedPath().includes(Ne) && !le(de));
19745
- }, { passive: !0 }),
19746
- re && useEventListener(z, "blur", (de) => {
19747
- var Ne;
19748
- const Ie = unrefElement(g);
19749
- ((Ne = z.document.activeElement) == null ? void 0 : Ne.tagName) === "IFRAME" && !(Ie != null && Ie.contains(z.document.activeElement)) && y(de);
19750
- })
19751
- ].filter(Boolean);
19752
- return () => ie.forEach((de) => de());
19753
- }
19754
- const vOnClickOutside = {
19755
- [directiveHooks.mounted](g, y) {
19756
- const j = !y.modifiers.bubble;
19757
- if (typeof y.value == "function")
19758
- g.__onClickOutside_stop = onClickOutside(g, y.value, { capture: j });
19759
- else {
19760
- const [z, $] = y.value;
19761
- g.__onClickOutside_stop = onClickOutside(g, z, Object.assign({ capture: j }, $));
19762
- }
19763
- },
19764
- [directiveHooks.unmounted](g) {
19765
- g.__onClickOutside_stop();
19766
- }
19767
- }, _global$1 = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, globalKey = "__vueuse_ssr_handlers__";
19768
- _global$1[globalKey] = _global$1[globalKey] || {};
19769
- function checkOverflowScroll(g) {
19770
- const y = window.getComputedStyle(g);
19771
- if (y.overflowX === "scroll" || y.overflowY === "scroll" || y.overflowX === "auto" && g.clientHeight < g.scrollHeight || y.overflowY === "auto" && g.clientWidth < g.scrollWidth)
19772
- return !0;
19773
- {
19774
- const j = g.parentNode;
19775
- return !j || j.tagName === "BODY" ? !1 : checkOverflowScroll(j);
19776
- }
19777
- }
19778
- function preventDefault(g) {
19779
- const y = g || window.event, j = y.target;
19780
- return checkOverflowScroll(j) ? !1 : y.touches.length > 1 ? !0 : (y.preventDefault && y.preventDefault(), !1);
19781
- }
19782
- function useScrollLock(g, y = !1) {
19783
- const j = ref(y);
19784
- let z = null, $;
19785
- watch(resolveRef(g), (ae) => {
19786
- if (ae) {
19787
- const le = ae;
19788
- $ = le.style.overflow, j.value && (le.style.overflow = "hidden");
19789
- }
19790
- }, {
19791
- immediate: !0
19792
- });
19793
- const V = () => {
19794
- const ae = resolveUnref(g);
19795
- !ae || j.value || (isIOS && (z = useEventListener(ae, "touchmove", (le) => {
19796
- preventDefault(le);
19797
- }, { passive: !1 })), ae.style.overflow = "hidden", j.value = !0);
19798
- }, re = () => {
19799
- const ae = resolveUnref(g);
19800
- !ae || !j.value || (isIOS && (z == null || z()), ae.style.overflow = $, j.value = !1);
19801
- };
19802
- return tryOnScopeDispose(re), computed$1({
19803
- get() {
19804
- return j.value;
19805
- },
19806
- set(ae) {
19807
- ae ? V() : re();
19808
- }
19809
- });
19810
- }
19811
- const onScrollLock = () => {
19812
- let g = !1;
19813
- const y = ref(!1);
19814
- return (j, z) => {
19815
- if (y.value = z.value, g)
19816
- return;
19817
- g = !0;
19818
- const $ = useScrollLock(j, z.value);
19819
- watch(y, (V) => $.value = V);
19820
- };
19821
- };
19822
- onScrollLock();
19823
- const formatCurrency = (g, y = 2, j = !1) => {
19696
+ }, formatCurrency = (g, y = 2, j = !1) => {
19824
19697
  try {
19825
19698
  let z = parseFloat(`${g}`);
19826
19699
  Number.isNaN(z) && (z = 0);
@@ -19983,7 +19856,138 @@ const formatCurrency = (g, y = 2, j = !1) => {
19983
19856
  ])) : createCommentVNode("", !0)
19984
19857
  ], 2));
19985
19858
  }
19986
- }), plOption_vue_vue_type_style_index_0_scoped_92b2d385_lang = "", PlOption = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["__scopeId", "data-v-92b2d385"]]), _hoisted_1$D = {
19859
+ }), plOption_vue_vue_type_style_index_0_scoped_92b2d385_lang = "", PlOption = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["__scopeId", "data-v-92b2d385"]]), PlOptionPlugin = {
19860
+ install(g) {
19861
+ g.component("PlOption", PlOption);
19862
+ }
19863
+ }, loading = "", scrollbar = "";
19864
+ function unrefElement(g) {
19865
+ var y;
19866
+ const j = resolveUnref(g);
19867
+ return (y = j == null ? void 0 : j.$el) != null ? y : j;
19868
+ }
19869
+ const defaultWindow = isClient ? window : void 0;
19870
+ function useEventListener(...g) {
19871
+ let y, j, z, $;
19872
+ if (isString$2(g[0]) || Array.isArray(g[0]) ? ([j, z, $] = g, y = defaultWindow) : [y, j, z, $] = g, !y)
19873
+ return noop$1;
19874
+ Array.isArray(j) || (j = [j]), Array.isArray(z) || (z = [z]);
19875
+ const V = [], re = () => {
19876
+ V.forEach((ie) => ie()), V.length = 0;
19877
+ }, ae = (ie, pe, de, Ne) => (ie.addEventListener(pe, de, Ne), () => ie.removeEventListener(pe, de, Ne)), le = watch(() => [unrefElement(y), resolveUnref($)], ([ie, pe]) => {
19878
+ re(), ie && V.push(...j.flatMap((de) => z.map((Ne) => ae(ie, de, Ne, pe))));
19879
+ }, { immediate: !0, flush: "post" }), ue = () => {
19880
+ le(), re();
19881
+ };
19882
+ return tryOnScopeDispose(ue), ue;
19883
+ }
19884
+ let _iOSWorkaround = !1;
19885
+ function onClickOutside(g, y, j = {}) {
19886
+ const { window: z = defaultWindow, ignore: $ = [], capture: V = !0, detectIframe: re = !1 } = j;
19887
+ if (!z)
19888
+ return;
19889
+ isIOS && !_iOSWorkaround && (_iOSWorkaround = !0, Array.from(z.document.body.children).forEach((de) => de.addEventListener("click", noop$1)));
19890
+ let ae = !0;
19891
+ const le = (de) => $.some((Ne) => {
19892
+ if (typeof Ne == "string")
19893
+ return Array.from(z.document.querySelectorAll(Ne)).some((Ie) => Ie === de.target || de.composedPath().includes(Ie));
19894
+ {
19895
+ const Ie = unrefElement(Ne);
19896
+ return Ie && (de.target === Ie || de.composedPath().includes(Ie));
19897
+ }
19898
+ }), ie = [
19899
+ useEventListener(z, "click", (de) => {
19900
+ const Ne = unrefElement(g);
19901
+ if (!(!Ne || Ne === de.target || de.composedPath().includes(Ne))) {
19902
+ if (de.detail === 0 && (ae = !le(de)), !ae) {
19903
+ ae = !0;
19904
+ return;
19905
+ }
19906
+ y(de);
19907
+ }
19908
+ }, { passive: !0, capture: V }),
19909
+ useEventListener(z, "pointerdown", (de) => {
19910
+ const Ne = unrefElement(g);
19911
+ Ne && (ae = !de.composedPath().includes(Ne) && !le(de));
19912
+ }, { passive: !0 }),
19913
+ re && useEventListener(z, "blur", (de) => {
19914
+ var Ne;
19915
+ const Ie = unrefElement(g);
19916
+ ((Ne = z.document.activeElement) == null ? void 0 : Ne.tagName) === "IFRAME" && !(Ie != null && Ie.contains(z.document.activeElement)) && y(de);
19917
+ })
19918
+ ].filter(Boolean);
19919
+ return () => ie.forEach((de) => de());
19920
+ }
19921
+ const vOnClickOutside = {
19922
+ [directiveHooks.mounted](g, y) {
19923
+ const j = !y.modifiers.bubble;
19924
+ if (typeof y.value == "function")
19925
+ g.__onClickOutside_stop = onClickOutside(g, y.value, { capture: j });
19926
+ else {
19927
+ const [z, $] = y.value;
19928
+ g.__onClickOutside_stop = onClickOutside(g, z, Object.assign({ capture: j }, $));
19929
+ }
19930
+ },
19931
+ [directiveHooks.unmounted](g) {
19932
+ g.__onClickOutside_stop();
19933
+ }
19934
+ }, _global$1 = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, globalKey = "__vueuse_ssr_handlers__";
19935
+ _global$1[globalKey] = _global$1[globalKey] || {};
19936
+ function checkOverflowScroll(g) {
19937
+ const y = window.getComputedStyle(g);
19938
+ if (y.overflowX === "scroll" || y.overflowY === "scroll" || y.overflowX === "auto" && g.clientHeight < g.scrollHeight || y.overflowY === "auto" && g.clientWidth < g.scrollWidth)
19939
+ return !0;
19940
+ {
19941
+ const j = g.parentNode;
19942
+ return !j || j.tagName === "BODY" ? !1 : checkOverflowScroll(j);
19943
+ }
19944
+ }
19945
+ function preventDefault(g) {
19946
+ const y = g || window.event, j = y.target;
19947
+ return checkOverflowScroll(j) ? !1 : y.touches.length > 1 ? !0 : (y.preventDefault && y.preventDefault(), !1);
19948
+ }
19949
+ function useScrollLock(g, y = !1) {
19950
+ const j = ref(y);
19951
+ let z = null, $;
19952
+ watch(resolveRef(g), (ae) => {
19953
+ if (ae) {
19954
+ const le = ae;
19955
+ $ = le.style.overflow, j.value && (le.style.overflow = "hidden");
19956
+ }
19957
+ }, {
19958
+ immediate: !0
19959
+ });
19960
+ const V = () => {
19961
+ const ae = resolveUnref(g);
19962
+ !ae || j.value || (isIOS && (z = useEventListener(ae, "touchmove", (le) => {
19963
+ preventDefault(le);
19964
+ }, { passive: !1 })), ae.style.overflow = "hidden", j.value = !0);
19965
+ }, re = () => {
19966
+ const ae = resolveUnref(g);
19967
+ !ae || !j.value || (isIOS && (z == null || z()), ae.style.overflow = $, j.value = !1);
19968
+ };
19969
+ return tryOnScopeDispose(re), computed$1({
19970
+ get() {
19971
+ return j.value;
19972
+ },
19973
+ set(ae) {
19974
+ ae ? V() : re();
19975
+ }
19976
+ });
19977
+ }
19978
+ const onScrollLock = () => {
19979
+ let g = !1;
19980
+ const y = ref(!1);
19981
+ return (j, z) => {
19982
+ if (y.value = z.value, g)
19983
+ return;
19984
+ g = !0;
19985
+ const $ = useScrollLock(j, z.value);
19986
+ watch(y, (V) => $.value = V);
19987
+ };
19988
+ };
19989
+ onScrollLock();
19990
+ const _hoisted_1$D = {
19987
19991
  key: 0,
19988
19992
  class: "pl-autocomplete__prefix-container"
19989
19993
  }, _hoisted_2$y = { class: "pl-autocomplete__inner-container" }, _hoisted_3$s = ["id", "prop", "placeholder", "value", "onKeydown", "disabled"], _hoisted_4$n = { class: "pl-autocomplete__suffix-container" }, _sfc_main$Y = {
@@ -20379,7 +20383,7 @@ const plAutocompete_vue_vue_type_style_index_0_scoped_8df6e90f_lang = "", _hoist
20379
20383
  }
20380
20384
  }, PlAutocomplete = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["__scopeId", "data-v-8df6e90f"]]), PlAutocompletePlugin = {
20381
20385
  install(g) {
20382
- g.component("PlAutocomplete", PlAutocomplete), g.component("PlOption", PlOption);
20386
+ g.component("PlAutocomplete", PlAutocomplete);
20383
20387
  }
20384
20388
  }, _sfc_main$W = {
20385
20389
  __name: "pl-input-native",
@@ -21080,7 +21084,7 @@ const PlButtonPlugin = {
21080
21084
  }
21081
21085
  }, PlSelectPlus = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-8a288b26"]]), PlSelectPlusPlugin = {
21082
21086
  install(g) {
21083
- g.component("PlSelectPlus", PlSelectPlus), g.component("PlOption", PlOption);
21087
+ g.component("PlSelectPlus", PlSelectPlus);
21084
21088
  }
21085
21089
  }, PlIconPlugin = {
21086
21090
  install(g) {
@@ -34798,8 +34802,8 @@ const PlTag = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], [
34798
34802
  }
34799
34803
  }, customBootstrap = "", root = "", inter = "", color = "", resetElement = "", pinia = createPinia(), PlPlugin = {
34800
34804
  install(g) {
34801
- var y, j, z, $, V, re, ae, le, ue, ie, pe, de, Ne, Ie, he, Oe, Ce, Ue, ze, xe, qe, Et, Dt, Pt, _n, kt, vn;
34802
- g.use(pinia), (y = PlCurrencyPlugin.install) == null || y.call(PlCurrencyPlugin, g), (j = PlFormItemPlugin.install) == null || j.call(PlFormItemPlugin, g), (z = PlFormPlugin.install) == null || z.call(PlFormPlugin, g), ($ = TestViteNpmComponentPlugin.install) == null || $.call(TestViteNpmComponentPlugin, g), (V = PlButtonPlugin.install) == null || V.call(PlButtonPlugin, g), (re = PlSelectPlusPlugin.install) == null || re.call(PlSelectPlusPlugin, g), (ae = PlIconPlugin.install) == null || ae.call(PlIconPlugin, g), (le = PlLinkPlugin.install) == null || le.call(PlLinkPlugin, g), (ue = PlDatePickerPlugin.install) == null || ue.call(PlDatePickerPlugin, g), (ie = PlCertDialogPlugin.install) == null || ie.call(PlCertDialogPlugin, g), (pe = PlTablePlugin.install) == null || pe.call(PlTablePlugin, g), (de = PlUploadPlugin.install) == null || de.call(PlUploadPlugin, g), (Ne = PlUploadPlusPlugin.install) == null || Ne.call(PlUploadPlusPlugin, g), (Ie = PlSuggestionsPlugin.install) == null || Ie.call(PlSuggestionsPlugin, g), (he = PlQuestionnairePlugin.install) == null || he.call(PlQuestionnairePlugin, g), (Oe = PlStepperPlugin.install) == null || Oe.call(PlStepperPlugin, g), (Ce = PlGroupTablePlugin.install) == null || Ce.call(PlGroupTablePlugin, g), (Ue = PlInputPlugin.install) == null || Ue.call(PlInputPlugin, g), (ze = PlInputPlusPlugin.install) == null || ze.call(PlInputPlusPlugin, g), (xe = PlAutocompletePlugin.install) == null || xe.call(PlAutocompletePlugin, g), (qe = PlInputNativePlugin.install) == null || qe.call(PlInputNativePlugin, g), (Et = PlSelectPlugin.install) == null || Et.call(PlSelectPlugin, g), (Dt = PlDatePickerPlusPlugin.install) == null || Dt.call(PlDatePickerPlusPlugin, g), (Pt = PlCardPlugin.install) == null || Pt.call(PlCardPlugin, g), (_n = PlCheckboxPlugin.install) == null || _n.call(PlCheckboxPlugin, g), (kt = PlTooltipPlugin.install) == null || kt.call(PlTooltipPlugin, g), (vn = PlTextPlugin.install) == null || vn.call(PlTextPlugin, g);
34805
+ var y, j, z, $, V, re, ae, le, ue, ie, pe, de, Ne, Ie, he, Oe, Ce, Ue, ze, xe, qe, Et, Dt, Pt, _n, kt, vn, bn;
34806
+ g.use(pinia), (y = PlCurrencyPlugin.install) == null || y.call(PlCurrencyPlugin, g), (j = PlFormItemPlugin.install) == null || j.call(PlFormItemPlugin, g), (z = PlFormPlugin.install) == null || z.call(PlFormPlugin, g), ($ = TestViteNpmComponentPlugin.install) == null || $.call(TestViteNpmComponentPlugin, g), (V = PlButtonPlugin.install) == null || V.call(PlButtonPlugin, g), (re = PlSelectPlusPlugin.install) == null || re.call(PlSelectPlusPlugin, g), (ae = PlIconPlugin.install) == null || ae.call(PlIconPlugin, g), (le = PlOptionPlugin.install) == null || le.call(PlOptionPlugin, g), (ue = PlLinkPlugin.install) == null || ue.call(PlLinkPlugin, g), (ie = PlDatePickerPlugin.install) == null || ie.call(PlDatePickerPlugin, g), (pe = PlCertDialogPlugin.install) == null || pe.call(PlCertDialogPlugin, g), (de = PlTablePlugin.install) == null || de.call(PlTablePlugin, g), (Ne = PlUploadPlugin.install) == null || Ne.call(PlUploadPlugin, g), (Ie = PlUploadPlusPlugin.install) == null || Ie.call(PlUploadPlusPlugin, g), (he = PlSuggestionsPlugin.install) == null || he.call(PlSuggestionsPlugin, g), (Oe = PlQuestionnairePlugin.install) == null || Oe.call(PlQuestionnairePlugin, g), (Ce = PlStepperPlugin.install) == null || Ce.call(PlStepperPlugin, g), (Ue = PlGroupTablePlugin.install) == null || Ue.call(PlGroupTablePlugin, g), (ze = PlInputPlugin.install) == null || ze.call(PlInputPlugin, g), (xe = PlInputPlusPlugin.install) == null || xe.call(PlInputPlusPlugin, g), (qe = PlAutocompletePlugin.install) == null || qe.call(PlAutocompletePlugin, g), (Et = PlInputNativePlugin.install) == null || Et.call(PlInputNativePlugin, g), (Dt = PlSelectPlugin.install) == null || Dt.call(PlSelectPlugin, g), (Pt = PlDatePickerPlusPlugin.install) == null || Pt.call(PlDatePickerPlusPlugin, g), (_n = PlCardPlugin.install) == null || _n.call(PlCardPlugin, g), (kt = PlCheckboxPlugin.install) == null || kt.call(PlCheckboxPlugin, g), (vn = PlTooltipPlugin.install) == null || vn.call(PlTooltipPlugin, g), (bn = PlTextPlugin.install) == null || bn.call(PlTextPlugin, g);
34803
34807
  },
34804
34808
  apiJs: ApiJs,
34805
34809
  loader: loadingAndSetup