@factoringplus/pl-components-pack-v3 0.8.5-pre-01 → 0.8.6-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.
|
@@ -19572,7 +19572,7 @@ function now$1() {
|
|
|
19572
19572
|
return now$1.last = g > y ? g : y + 1;
|
|
19573
19573
|
}
|
|
19574
19574
|
var uniqidExports = uniqid$1.exports;
|
|
19575
|
-
const uniqid = /* @__PURE__ */ getDefaultExportFromCjs(uniqidExports),
|
|
19575
|
+
const uniqid = /* @__PURE__ */ getDefaultExportFromCjs(uniqidExports), plInputPlus_vue_vue_type_style_index_0_scoped_eb4f776b_lang = "", _export_sfc = (g, y) => {
|
|
19576
19576
|
const j = g.__vccOpts || g;
|
|
19577
19577
|
for (const [z, L] of y)
|
|
19578
19578
|
j[z] = L;
|
|
@@ -19681,111 +19681,118 @@ const uniqid = /* @__PURE__ */ getDefaultExportFromCjs(uniqidExports), plInputPl
|
|
|
19681
19681
|
emits: ["update:modelValue"],
|
|
19682
19682
|
setup(g, { emit: y }) {
|
|
19683
19683
|
const j = g;
|
|
19684
|
-
useCssVars((
|
|
19685
|
-
|
|
19684
|
+
useCssVars((le) => ({
|
|
19685
|
+
"5a3f16d7": j.width
|
|
19686
19686
|
}));
|
|
19687
|
-
const z = useAttrs$1(), L = `id-${uniqid()}`, V =
|
|
19687
|
+
const z = useAttrs$1(), L = `id-${uniqid()}`, V = () => {
|
|
19688
|
+
document.getElementById(L).blur();
|
|
19689
|
+
}, re = ref([]);
|
|
19688
19690
|
if (j.prop) {
|
|
19689
|
-
const
|
|
19691
|
+
const le = inject("errorsState");
|
|
19690
19692
|
watch(
|
|
19691
|
-
|
|
19693
|
+
le,
|
|
19692
19694
|
() => {
|
|
19693
|
-
|
|
19694
|
-
const
|
|
19695
|
-
|
|
19695
|
+
re.value = le.value.filter((ie) => ie.field === j.prop);
|
|
19696
|
+
const ue = document.getElementById(L).parentElement;
|
|
19697
|
+
re.value.length ? ue.classList.add("is-error") : ue.classList.remove("is-error");
|
|
19696
19698
|
},
|
|
19697
19699
|
{ deep: !0 }
|
|
19698
19700
|
);
|
|
19699
19701
|
}
|
|
19700
|
-
const
|
|
19702
|
+
const ae = computed$1({
|
|
19701
19703
|
get: () => j.modelValue,
|
|
19702
|
-
set: (
|
|
19703
|
-
y("update:modelValue",
|
|
19704
|
+
set: (le) => {
|
|
19705
|
+
y("update:modelValue", le);
|
|
19704
19706
|
}
|
|
19705
19707
|
});
|
|
19706
|
-
return watch(
|
|
19707
|
-
const
|
|
19708
|
+
return watch(ae, () => {
|
|
19709
|
+
const le = document.getElementById(L);
|
|
19708
19710
|
if ("createEvent" in document) {
|
|
19709
|
-
const
|
|
19710
|
-
|
|
19711
|
+
const ue = document.createEvent("HTMLEvents");
|
|
19712
|
+
ue.initEvent("change", !1, !0), le.dispatchEvent(ue);
|
|
19711
19713
|
} else
|
|
19712
|
-
|
|
19713
|
-
}), (
|
|
19714
|
-
|
|
19715
|
-
|
|
19716
|
-
|
|
19717
|
-
for: L
|
|
19718
|
-
}, [
|
|
19719
|
-
createElementVNode("div", null, [
|
|
19720
|
-
j.label ? (openBlock(), createElementBlock("span", _hoisted_2$E, toDisplayString(j.label), 1)) : createCommentVNode("", !0),
|
|
19721
|
-
j.optional ? (openBlock(), createElementBlock("span", _hoisted_3$w, toDisplayString(j.optional), 1)) : createCommentVNode("", !0)
|
|
19722
|
-
]),
|
|
19723
|
-
j.tooltip ? (openBlock(), createBlock(_sfc_main$1e, {
|
|
19714
|
+
le.fireEvent("onchange");
|
|
19715
|
+
}), (le, ue) => {
|
|
19716
|
+
const ie = resolveDirective("touch-outside");
|
|
19717
|
+
return openBlock(), createElementBlock("div", _hoisted_1$M, [
|
|
19718
|
+
j.label || j.tooltip ? (openBlock(), createElementBlock("label", {
|
|
19724
19719
|
key: 0,
|
|
19725
|
-
"
|
|
19726
|
-
|
|
19727
|
-
},
|
|
19728
|
-
|
|
19729
|
-
|
|
19720
|
+
class: "pl-input__label-container",
|
|
19721
|
+
for: L
|
|
19722
|
+
}, [
|
|
19723
|
+
createElementVNode("div", null, [
|
|
19724
|
+
j.label ? (openBlock(), createElementBlock("span", _hoisted_2$E, toDisplayString(j.label), 1)) : createCommentVNode("", !0),
|
|
19725
|
+
j.optional ? (openBlock(), createElementBlock("span", _hoisted_3$w, toDisplayString(j.optional), 1)) : createCommentVNode("", !0)
|
|
19730
19726
|
]),
|
|
19731
|
-
|
|
19732
|
-
|
|
19733
|
-
|
|
19734
|
-
|
|
19735
|
-
|
|
19736
|
-
|
|
19737
|
-
|
|
19738
|
-
|
|
19739
|
-
|
|
19740
|
-
|
|
19741
|
-
|
|
19742
|
-
|
|
19743
|
-
|
|
19744
|
-
|
|
19745
|
-
|
|
19746
|
-
|
|
19747
|
-
|
|
19748
|
-
|
|
19749
|
-
|
|
19750
|
-
|
|
19751
|
-
|
|
19752
|
-
|
|
19753
|
-
|
|
19754
|
-
|
|
19755
|
-
|
|
19756
|
-
|
|
19757
|
-
prop: j.
|
|
19758
|
-
|
|
19759
|
-
|
|
19760
|
-
|
|
19761
|
-
|
|
19762
|
-
|
|
19763
|
-
|
|
19764
|
-
|
|
19765
|
-
|
|
19766
|
-
|
|
19767
|
-
|
|
19768
|
-
|
|
19769
|
-
|
|
19770
|
-
|
|
19771
|
-
|
|
19772
|
-
|
|
19773
|
-
|
|
19774
|
-
|
|
19775
|
-
|
|
19776
|
-
|
|
19777
|
-
"
|
|
19778
|
-
|
|
19779
|
-
|
|
19780
|
-
|
|
19781
|
-
|
|
19782
|
-
|
|
19783
|
-
|
|
19784
|
-
|
|
19785
|
-
|
|
19786
|
-
|
|
19727
|
+
j.tooltip ? (openBlock(), createBlock(_sfc_main$1e, {
|
|
19728
|
+
key: 0,
|
|
19729
|
+
"model-value": j.tooltip,
|
|
19730
|
+
position: "top"
|
|
19731
|
+
}, {
|
|
19732
|
+
default: withCtx(() => [
|
|
19733
|
+
createVNode(_sfc_main$1d, { name: "Question20" })
|
|
19734
|
+
]),
|
|
19735
|
+
_: 1
|
|
19736
|
+
}, 8, ["model-value"])) : createCommentVNode("", !0)
|
|
19737
|
+
])) : createCommentVNode("", !0),
|
|
19738
|
+
withDirectives((openBlock(), createElementBlock("div", {
|
|
19739
|
+
class: normalizeClass(["pl-input", { "is-disabled": j.disabled }])
|
|
19740
|
+
}, [
|
|
19741
|
+
j.currency ? (openBlock(), createBlock(_sfc_main$1c, mergeProps({ key: 0 }, unref(z), {
|
|
19742
|
+
id: L,
|
|
19743
|
+
modelValue: ae.value,
|
|
19744
|
+
"onUpdate:modelValue": ue[0] || (ue[0] = (pe) => ae.value = pe),
|
|
19745
|
+
placeholder: j.placeholder,
|
|
19746
|
+
disabled: j.disabled,
|
|
19747
|
+
round: j.round,
|
|
19748
|
+
"value-range": j.valueRange,
|
|
19749
|
+
"currency-input-options": j.currencyInputOptions,
|
|
19750
|
+
"left-icon": j.leftIcon,
|
|
19751
|
+
"right-icon": j.rightIcon,
|
|
19752
|
+
prop: j.prop
|
|
19753
|
+
}), null, 16, ["modelValue", "placeholder", "disabled", "round", "value-range", "currency-input-options", "left-icon", "right-icon", "prop"])) : j.password ? (openBlock(), createBlock(_sfc_main$1b, mergeProps({ key: 1 }, unref(z), {
|
|
19754
|
+
id: L,
|
|
19755
|
+
modelValue: ae.value,
|
|
19756
|
+
"onUpdate:modelValue": ue[1] || (ue[1] = (pe) => ae.value = pe),
|
|
19757
|
+
placeholder: j.placeholder,
|
|
19758
|
+
disabled: j.disabled,
|
|
19759
|
+
"left-icon": j.leftIcon,
|
|
19760
|
+
"right-icon": j.rightIcon,
|
|
19761
|
+
prop: j.prop,
|
|
19762
|
+
"current-password": j.currentPassword,
|
|
19763
|
+
"new-password": j.newPassword
|
|
19764
|
+
}), null, 16, ["modelValue", "placeholder", "disabled", "left-icon", "right-icon", "prop", "current-password", "new-password"])) : j.textarea ? (openBlock(), createBlock(_sfc_main$1a, mergeProps({ key: 2 }, unref(z), {
|
|
19765
|
+
id: L,
|
|
19766
|
+
modelValue: ae.value,
|
|
19767
|
+
"onUpdate:modelValue": ue[2] || (ue[2] = (pe) => ae.value = pe),
|
|
19768
|
+
placeholder: j.placeholder,
|
|
19769
|
+
disabled: j.disabled,
|
|
19770
|
+
prop: j.prop,
|
|
19771
|
+
"show-word-limit": j.showWordLimit,
|
|
19772
|
+
maxlength: j.maxlength
|
|
19773
|
+
}), null, 16, ["modelValue", "placeholder", "disabled", "prop", "show-word-limit", "maxlength"])) : (openBlock(), createBlock(_sfc_main$19, mergeProps({ key: 3 }, unref(z), {
|
|
19774
|
+
id: L,
|
|
19775
|
+
modelValue: ae.value,
|
|
19776
|
+
"onUpdate:modelValue": ue[3] || (ue[3] = (pe) => ae.value = pe),
|
|
19777
|
+
placeholder: j.placeholder,
|
|
19778
|
+
maxlength: j.maxlength,
|
|
19779
|
+
disabled: j.disabled,
|
|
19780
|
+
"left-icon": j.leftIcon,
|
|
19781
|
+
"right-icon": j.rightIcon,
|
|
19782
|
+
prop: j.prop,
|
|
19783
|
+
"show-word-limit": j.showWordLimit,
|
|
19784
|
+
formatter: j.formatter
|
|
19785
|
+
}), null, 16, ["modelValue", "placeholder", "maxlength", "disabled", "left-icon", "right-icon", "prop", "show-word-limit", "formatter"]))
|
|
19786
|
+
], 2)), [
|
|
19787
|
+
[ie, V]
|
|
19788
|
+
]),
|
|
19789
|
+
j.helpertext || re.value.length > 0 ? (openBlock(), createElementBlock("span", _hoisted_4$r, [
|
|
19790
|
+
re.value.length > 0 ? (openBlock(), createElementBlock("span", _hoisted_5$j, toDisplayString(re.value[0].message), 1)) : j.helpertext ? (openBlock(), createElementBlock("span", _hoisted_6$d, toDisplayString(j.helpertext), 1)) : createCommentVNode("", !0)
|
|
19791
|
+
])) : createCommentVNode("", !0)
|
|
19792
|
+
]);
|
|
19793
|
+
};
|
|
19787
19794
|
}
|
|
19788
|
-
}, PlInputPlus = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["__scopeId", "data-v-
|
|
19795
|
+
}, PlInputPlus = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["__scopeId", "data-v-eb4f776b"]]), PlInputPlusPlugin = {
|
|
19789
19796
|
install(g) {
|
|
19790
19797
|
g.component("PlInputPlus", PlInputPlus);
|
|
19791
19798
|
}
|
|
@@ -35063,13 +35070,13 @@ const PlTag = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$1
|
|
|
35063
35070
|
install(g) {
|
|
35064
35071
|
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);
|
|
35065
35072
|
}
|
|
35066
|
-
}, customBootstrap = "", root = "", inter = "", color = "", resetElement = "",
|
|
35073
|
+
}, customBootstrap = "", root = "", inter = "", color = "", resetElement = "", plBtn_vue_vue_type_style_index_0_scoped_03c9626c_lang = "", _sfc_main$1 = {}, _hoisted_1$1 = { class: "pl-btn" };
|
|
35067
35074
|
function _sfc_render(g, y) {
|
|
35068
35075
|
return openBlock(), createElementBlock("button", _hoisted_1$1, [
|
|
35069
35076
|
renderSlot(g.$slots, "default", {}, void 0, !0)
|
|
35070
35077
|
]);
|
|
35071
35078
|
}
|
|
35072
|
-
const PlBtn = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render], ["__scopeId", "data-v-
|
|
35079
|
+
const PlBtn = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render], ["__scopeId", "data-v-03c9626c"]]), plSnackbar_vue_vue_type_style_index_0_scoped_6b2b9338_lang = "", _hoisted_1 = {
|
|
35073
35080
|
key: 0,
|
|
35074
35081
|
class: "pl-snackbar__wrapper"
|
|
35075
35082
|
}, _hoisted_2 = { class: "pl-snackbar__icon" }, _hoisted_3 = { class: "pl-snackbar__main" }, _hoisted_4 = { class: "pl-snackbar__text" }, _hoisted_5 = { class: "pl-snackbar__title" }, _hoisted_6 = {
|
|
@@ -35167,12 +35174,11 @@ const PlBtn = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render],
|
|
|
35167
35174
|
])) : createCommentVNode("", !0)
|
|
35168
35175
|
]),
|
|
35169
35176
|
createElementVNode("div", _hoisted_8, [
|
|
35170
|
-
|
|
35177
|
+
createVNode(_sfc_main$1d, {
|
|
35171
35178
|
color: "var(--color-text-icons-tertiary)",
|
|
35172
|
-
name: "Close20"
|
|
35173
|
-
|
|
35174
|
-
|
|
35175
|
-
])
|
|
35179
|
+
name: "Close20",
|
|
35180
|
+
onClick: V
|
|
35181
|
+
})
|
|
35176
35182
|
])
|
|
35177
35183
|
])) : createCommentVNode("", !0)
|
|
35178
35184
|
]),
|
|
@@ -35180,7 +35186,7 @@ const PlBtn = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render],
|
|
|
35180
35186
|
});
|
|
35181
35187
|
};
|
|
35182
35188
|
}
|
|
35183
|
-
}, PlSnackbar = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
35189
|
+
}, PlSnackbar = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-6b2b9338"]]), snackbarAnimation = "";
|
|
35184
35190
|
let snackbarId = 0;
|
|
35185
35191
|
const renderSnackbar = function(g, y, j, z) {
|
|
35186
35192
|
if (!document.getElementById("snackbar")) {
|