@factoringplus/pl-components-pack-v3 0.5.70-pre-03 → 0.5.70-pre-05
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.
|
@@ -18702,10 +18702,10 @@ const plCurrency_vue_vue_type_style_index_0_lang = "", _hoisted_1$M = /* @__PURE
|
|
|
18702
18702
|
const re = (pe) => new Promise((de, Ne) => {
|
|
18703
18703
|
new Schema($.value).validate(z.value, (_e, Oe) => {
|
|
18704
18704
|
if (_e) {
|
|
18705
|
-
V.value = _e, pe == null || pe(!1), Ne();
|
|
18705
|
+
V.value = _e, pe == null || pe(!1, V.value), Ne();
|
|
18706
18706
|
return;
|
|
18707
18707
|
}
|
|
18708
|
-
V.value = [], pe == null || pe(!0), de();
|
|
18708
|
+
V.value = [], pe == null || pe(!0, V.value), de();
|
|
18709
18709
|
});
|
|
18710
18710
|
}), ae = (pe) => {
|
|
18711
18711
|
const de = {}, Ne = {};
|
|
@@ -18740,7 +18740,7 @@ const plCurrency_vue_vue_type_style_index_0_lang = "", _hoisted_1$M = /* @__PURE
|
|
|
18740
18740
|
const pe = ie.value;
|
|
18741
18741
|
for (let Ne = 0; Ne < pe.length; Ne++) {
|
|
18742
18742
|
const Ie = pe[Ne], _e = (de = Ie.attributes.prop) == null ? void 0 : de.value;
|
|
18743
|
-
_e
|
|
18743
|
+
console.log("prop", _e, Ie), _e && $.value[_e].forEach((Oe) => {
|
|
18744
18744
|
Oe.trigger ? Oe.trigger.replace(/\s/g, "").split(",").forEach((Ue) => {
|
|
18745
18745
|
useEventListener$1(Ie, Ue, (ze) => {
|
|
18746
18746
|
nextTick(() => {
|
|
@@ -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),
|
|
19482
|
+
const uniqid = /* @__PURE__ */ getDefaultExportFromCjs(uniqidExports), plInputPlus_vue_vue_type_style_index_0_scoped_fae1a613_lang = "", _export_sfc = (g, y) => {
|
|
19483
19483
|
const j = g.__vccOpts || g;
|
|
19484
19484
|
for (const [z, $] of y)
|
|
19485
19485
|
j[z] = $;
|
|
@@ -19581,11 +19581,11 @@ const uniqid = /* @__PURE__ */ getDefaultExportFromCjs(uniqidExports), plInputPl
|
|
|
19581
19581
|
type: String || Number
|
|
19582
19582
|
}
|
|
19583
19583
|
},
|
|
19584
|
-
emits: ["update:modelValue"
|
|
19584
|
+
emits: ["update:modelValue"],
|
|
19585
19585
|
setup(g, { emit: y }) {
|
|
19586
19586
|
const j = g;
|
|
19587
19587
|
useCssVars((ae) => ({
|
|
19588
|
-
|
|
19588
|
+
"2ac564d8": j.width
|
|
19589
19589
|
}));
|
|
19590
19590
|
const z = useAttrs$1(), $ = `id-${uniqid()}`, V = ref([]);
|
|
19591
19591
|
if (j.prop) {
|
|
@@ -19689,7 +19689,7 @@ const uniqid = /* @__PURE__ */ getDefaultExportFromCjs(uniqidExports), plInputPl
|
|
|
19689
19689
|
])) : createCommentVNode("", !0)
|
|
19690
19690
|
]));
|
|
19691
19691
|
}
|
|
19692
|
-
}, PlInputPlus = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-
|
|
19692
|
+
}, PlInputPlus = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-fae1a613"]]), PlInputPlusPlugin = {
|
|
19693
19693
|
install(g) {
|
|
19694
19694
|
g.component("PlInputPlus", PlInputPlus);
|
|
19695
19695
|
}
|
|
@@ -20079,7 +20079,7 @@ function declOfNum(g, y) {
|
|
|
20079
20079
|
const z = g % 10;
|
|
20080
20080
|
return z > 1 && z < 5 ? y[1] : z == 1 ? y[0] : y[2];
|
|
20081
20081
|
}
|
|
20082
|
-
const
|
|
20082
|
+
const plAutocompete_vue_vue_type_style_index_0_scoped_6d8a59c7_lang = "", _hoisted_1$C = { class: "pl-autocomplete__wrapper" }, _hoisted_2$x = {
|
|
20083
20083
|
key: 0,
|
|
20084
20084
|
class: "pl-autocomplete__label-container"
|
|
20085
20085
|
}, _hoisted_3$r = { class: "pl-autocomplete__label-container-text" }, _hoisted_4$m = {
|
|
@@ -20184,7 +20184,7 @@ const plAutocompete_vue_vue_type_style_index_0_scoped_5b007444_lang = "", _hoist
|
|
|
20184
20184
|
setup(g, { emit: y }) {
|
|
20185
20185
|
const j = g;
|
|
20186
20186
|
useCssVars((qe) => ({
|
|
20187
|
-
|
|
20187
|
+
a3c1b07a: j.width
|
|
20188
20188
|
}));
|
|
20189
20189
|
const z = `id-${uniqid()}`, $ = ref([]);
|
|
20190
20190
|
if (j.prop) {
|
|
@@ -20235,7 +20235,7 @@ const plAutocompete_vue_vue_type_style_index_0_scoped_5b007444_lang = "", _hoist
|
|
|
20235
20235
|
}), watch(
|
|
20236
20236
|
() => j.suggestionList,
|
|
20237
20237
|
() => {
|
|
20238
|
-
Ne.value = !1, re();
|
|
20238
|
+
console.log(j.suggestionList), Ne.value = !1, re();
|
|
20239
20239
|
}
|
|
20240
20240
|
);
|
|
20241
20241
|
const _e = computed$1({
|
|
@@ -20246,6 +20246,12 @@ const plAutocompete_vue_vue_type_style_index_0_scoped_5b007444_lang = "", _hoist
|
|
|
20246
20246
|
});
|
|
20247
20247
|
watch(_e, (qe) => {
|
|
20248
20248
|
Ie.value = qe.value;
|
|
20249
|
+
const At = document.getElementById(z);
|
|
20250
|
+
if ("createEvent" in document) {
|
|
20251
|
+
const Dt = document.createEvent("HTMLEvents");
|
|
20252
|
+
Dt.initEvent("change", !1, !0), At.dispatchEvent(Dt);
|
|
20253
|
+
} else
|
|
20254
|
+
At.fireEvent("onchange");
|
|
20249
20255
|
}), j.default && (_e.value = JSON.parse(JSON.stringify(j.default)));
|
|
20250
20256
|
const Oe = (qe) => {
|
|
20251
20257
|
qe.disabled || (de(), _e.value = qe, Ie.value = qe.value, y("changeValue", qe));
|
|
@@ -20359,7 +20365,7 @@ const plAutocompete_vue_vue_type_style_index_0_scoped_5b007444_lang = "", _hoist
|
|
|
20359
20365
|
]);
|
|
20360
20366
|
};
|
|
20361
20367
|
}
|
|
20362
|
-
}, PlAutocomplete = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["__scopeId", "data-v-
|
|
20368
|
+
}, PlAutocomplete = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["__scopeId", "data-v-6d8a59c7"]]), PlAutocompletePlugin = {
|
|
20363
20369
|
install(g) {
|
|
20364
20370
|
g.component("PlAutocomplete", PlAutocomplete), g.component("PlOption", PlOption);
|
|
20365
20371
|
}
|