@factoringplus/pl-components-pack-v3 0.4.71 → 0.4.72-pre-2
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.
|
@@ -26071,11 +26071,12 @@ const _sfc_main$u = {
|
|
|
26071
26071
|
rangeEndDateValue.value = displayData(endDate.value);
|
|
26072
26072
|
}
|
|
26073
26073
|
if (startDate.value.isAfter(endDate.value)) {
|
|
26074
|
-
dateValue.value = endDate.value.format("DD.MM.
|
|
26074
|
+
dateValue.value = endDate.value.format("DD.MM.YYYY") + "-" + startDate.value.format("DD.MM.YYYY");
|
|
26075
|
+
emit2("update:modelValue", endDate.value.format("DD.MM.YY") + "-" + startDate.value.format("DD.MM.YY"));
|
|
26075
26076
|
} else {
|
|
26076
|
-
dateValue.value = startDate.value.format("DD.MM.
|
|
26077
|
+
dateValue.value = startDate.value.format("DD.MM.YYYY") + "-" + endDate.value.format("DD.MM.YYYY");
|
|
26078
|
+
emit2("update:modelValue", startDate.value.format("DD.MM.YY") + "-" + endDate.value.format("DD.MM.YY"));
|
|
26077
26079
|
}
|
|
26078
|
-
emit2("update:modelValue", startDate.value.format("DD.MM.YYYY") + "-" + endDate.value.format("DD.MM.YYYY"));
|
|
26079
26080
|
emit2("changeOpen", true);
|
|
26080
26081
|
};
|
|
26081
26082
|
const getArrayOfDays = () => {
|
|
@@ -37596,13 +37597,13 @@ const _sfc_main$n = {
|
|
|
37596
37597
|
props: {
|
|
37597
37598
|
rules: {
|
|
37598
37599
|
type: Object,
|
|
37599
|
-
default
|
|
37600
|
+
default() {
|
|
37600
37601
|
return {};
|
|
37601
37602
|
}
|
|
37602
37603
|
},
|
|
37603
37604
|
suggestionList: {
|
|
37604
37605
|
type: Array,
|
|
37605
|
-
default
|
|
37606
|
+
default() {
|
|
37606
37607
|
return [];
|
|
37607
37608
|
}
|
|
37608
37609
|
},
|
|
@@ -37640,9 +37641,21 @@ const _sfc_main$n = {
|
|
|
37640
37641
|
data() {
|
|
37641
37642
|
return {
|
|
37642
37643
|
selectedValue: "",
|
|
37643
|
-
ruleForm: {}
|
|
37644
|
+
ruleForm: {},
|
|
37645
|
+
modelValue: ""
|
|
37644
37646
|
};
|
|
37645
37647
|
},
|
|
37648
|
+
computed: {
|
|
37649
|
+
blocks() {
|
|
37650
|
+
if (this.modelValue) {
|
|
37651
|
+
const regex = new RegExp(this.modelValue, "g");
|
|
37652
|
+
return this.suggestionList.map((c2) => ({
|
|
37653
|
+
value: c2.value.replace(regex, `<span class="highlight">${this.modelValue}</span>`)
|
|
37654
|
+
}));
|
|
37655
|
+
}
|
|
37656
|
+
return this.suggestionList;
|
|
37657
|
+
}
|
|
37658
|
+
},
|
|
37646
37659
|
mounted() {
|
|
37647
37660
|
const dropElements = document.querySelectorAll(".suggestion .el-select-dropdown");
|
|
37648
37661
|
this.ruleForm = {
|
|
@@ -37653,13 +37666,13 @@ const _sfc_main$n = {
|
|
|
37653
37666
|
}
|
|
37654
37667
|
},
|
|
37655
37668
|
watch: {
|
|
37656
|
-
selectedValue
|
|
37669
|
+
selectedValue(newVal) {
|
|
37657
37670
|
this.ruleForm[this.prop] = newVal;
|
|
37658
37671
|
},
|
|
37659
|
-
selectedItem
|
|
37672
|
+
selectedItem(newVal) {
|
|
37660
37673
|
this.selectedValue = newVal.value;
|
|
37661
37674
|
},
|
|
37662
|
-
getValidate
|
|
37675
|
+
getValidate(newVal) {
|
|
37663
37676
|
if (newVal) {
|
|
37664
37677
|
this.validateInpBlur();
|
|
37665
37678
|
this.$emit("setValid");
|
|
@@ -37684,13 +37697,14 @@ const _sfc_main$n = {
|
|
|
37684
37697
|
}, 300);
|
|
37685
37698
|
},
|
|
37686
37699
|
initSuggestion(query) {
|
|
37700
|
+
this.modelValue = query;
|
|
37687
37701
|
this.$emit("fetchDadata", query);
|
|
37688
37702
|
}
|
|
37689
37703
|
}
|
|
37690
37704
|
};
|
|
37691
37705
|
const _hoisted_1$n = { class: "suggestion" };
|
|
37692
37706
|
const _hoisted_2$k = { class: "d-flex flex-column" };
|
|
37693
|
-
const _hoisted_3$i =
|
|
37707
|
+
const _hoisted_3$i = ["innerHTML"];
|
|
37694
37708
|
const _hoisted_4$b = { class: "suggestion__item-info text-truncate" };
|
|
37695
37709
|
const _hoisted_5$8 = {
|
|
37696
37710
|
key: 0,
|
|
@@ -37731,7 +37745,7 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
37731
37745
|
"no-data-text": $props.noData
|
|
37732
37746
|
}, {
|
|
37733
37747
|
default: withCtx(() => [
|
|
37734
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList($
|
|
37748
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList($options.blocks, (item, index) => {
|
|
37735
37749
|
return openBlock(), createBlock(_component_el_option, {
|
|
37736
37750
|
onClick: ($event) => $options.change(item),
|
|
37737
37751
|
key: index,
|
|
@@ -37740,7 +37754,10 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
37740
37754
|
}, {
|
|
37741
37755
|
default: withCtx(() => [
|
|
37742
37756
|
createElementVNode("div", _hoisted_2$k, [
|
|
37743
|
-
createElementVNode("span",
|
|
37757
|
+
createElementVNode("span", {
|
|
37758
|
+
class: "text-truncate",
|
|
37759
|
+
innerHTML: item.value
|
|
37760
|
+
}, null, 8, _hoisted_3$i),
|
|
37744
37761
|
createElementVNode("span", _hoisted_4$b, toDisplayString(item.bottomText), 1)
|
|
37745
37762
|
]),
|
|
37746
37763
|
item.id === $props.selectedItem.id ? (openBlock(), createElementBlock("img", _hoisted_5$8)) : createCommentVNode("", true)
|
|
@@ -38109,7 +38126,7 @@ function _sfc_render$1(_ctx, _cache) {
|
|
|
38109
38126
|
var PLChevron = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_render$1]]);
|
|
38110
38127
|
var plSelect_vue_vue_type_style_index_0_lang$1 = "";
|
|
38111
38128
|
const _hoisted_1$h = { id: "form" };
|
|
38112
|
-
const _hoisted_2$f = { class: "flex item-select" };
|
|
38129
|
+
const _hoisted_2$f = { class: "flex item-select text-b2-medium" };
|
|
38113
38130
|
const _sfc_main$h = {
|
|
38114
38131
|
__name: "pl-select",
|
|
38115
38132
|
props: {
|