@factoringplus/pl-components-pack-v3 0.5.10-pre-1 → 0.5.10-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.
@@ -25956,9 +25956,10 @@ const _sfc_main$w = {
25956
25956
  offsetLeft.value = offsets.x;
25957
25957
  offsetTop.value = offsets.y + offsets.height;
25958
25958
  };
25959
- onMounted(() => {
25959
+ const openPopup = () => {
25960
25960
  calculateOffsets();
25961
- });
25961
+ emit2("changeOpen", !isOpen.value);
25962
+ };
25962
25963
  const validateDateValueString = (dateStr) => {
25963
25964
  if (dateStr.includes("-")) {
25964
25965
  return dayjs(dateStr.split("-")[0], "DD.MM.YYYY", true).isValid() && dayjs(dateStr.split("-")[1], "DD.MM.YYYY", true).isValid();
@@ -26266,7 +26267,7 @@ const _sfc_main$w = {
26266
26267
  __props.showInput ? (openBlock(), createElementBlock("div", {
26267
26268
  key: 0,
26268
26269
  class: "date-picker__wrapper",
26269
- onClick: _cache[1] || (_cache[1] = ($event) => emit2("changeOpen", !unref(isOpen)))
26270
+ onClick: openPopup
26270
26271
  }, [
26271
26272
  createVNode(_sfc_main$B, {
26272
26273
  mask: "##.##.####-##.##.####",
@@ -26294,7 +26295,7 @@ const _sfc_main$w = {
26294
26295
  _hoisted_6$7,
26295
26296
  withDirectives(createElementVNode("input", {
26296
26297
  id: "date-mask",
26297
- "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => rangeStartDateValue.value = $event),
26298
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => rangeStartDateValue.value = $event),
26298
26299
  onInput: updateDate,
26299
26300
  type: "text",
26300
26301
  placeholder: "\u0414\u0414.\u041C\u041C.\u0413\u0413\u0413\u0413",
@@ -26308,8 +26309,8 @@ const _sfc_main$w = {
26308
26309
  _hoisted_8$4,
26309
26310
  withDirectives(createElementVNode("input", {
26310
26311
  id: "date-mask",
26311
- "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => rangeEndDateValue.value = $event),
26312
- onInput: _cache[4] || (_cache[4] = ($event) => updateDate($event, true)),
26312
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => rangeEndDateValue.value = $event),
26313
+ onInput: _cache[3] || (_cache[3] = ($event) => updateDate($event, true)),
26313
26314
  type: "text",
26314
26315
  placeholder: "\u0414\u0414.\u041C\u041C.\u0413\u0413\u0413\u0413",
26315
26316
  class: "pl-date-picker__input"