@factoringplus/pl-components-pack-v3 0.15.9-pre-19 → 0.15.9-pre-20

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.
@@ -29569,7 +29569,8 @@ const lZ = ["id"], iZ = { class: "d-flex" }, uZ = { class: "pl-date-picker-range
29569
29569
  monthSwitch: { type: Boolean, default: !0 },
29570
29570
  yearSwitch: { type: Boolean, default: !0 },
29571
29571
  disabledDate: { type: Function, default: () => {
29572
- } }
29572
+ } },
29573
+ zero: { type: Boolean, default: !1 }
29573
29574
  },
29574
29575
  emits: [
29575
29576
  "update:modelValue",
@@ -29632,6 +29633,10 @@ const lZ = ["id"], iZ = { class: "d-flex" }, uZ = { class: "pl-date-picker-range
29632
29633
  const X = `${E.year}-${E.month + 1}-${E.day}`;
29633
29634
  return r.disabledDate(X);
29634
29635
  }, D = $(de()), A = $(de()), T = $(de()), N = ["Пн", "Вт", "Ср", "Чт", "Пт", "Сб", "Вс"], _ = (E) => E.type !== "previous" && E.type !== "next" && !I(E), j = () => {
29636
+ if (r.zero && u.value === "0") {
29637
+ console.log("zero"), n("update:modelValue", "0");
29638
+ return;
29639
+ }
29635
29640
  de(u.value, "DD.MM.YYYY", !0).isValid() || (u.value = "", n("update:modelValue", ""));
29636
29641
  }, O = (E) => E.charAt(0).toUpperCase() + E.slice(1), k = () => {
29637
29642
  D.value = D.value.set("date", 1).subtract(1, "month");
@@ -29809,7 +29814,7 @@ const lZ = ["id"], iZ = { class: "d-flex" }, uZ = { class: "pl-date-picker-range
29809
29814
  };
29810
29815
  }
29811
29816
  });
29812
- const o0 = /* @__PURE__ */ It(hZ, [["__scopeId", "data-v-ab30f1e5"]]), MZ = /* @__PURE__ */ Se({
29817
+ const o0 = /* @__PURE__ */ It(hZ, [["__scopeId", "data-v-a45ab513"]]), MZ = /* @__PURE__ */ Se({
29813
29818
  __name: "pl-date-picker-plus",
29814
29819
  props: {
29815
29820
  modelValue: { default: "" },
@@ -29826,7 +29831,8 @@ const o0 = /* @__PURE__ */ It(hZ, [["__scopeId", "data-v-ab30f1e5"]]), MZ = /* @
29826
29831
  clearable: { type: Boolean, default: !1 },
29827
29832
  disabledDate: { type: Function, default: () => {
29828
29833
  } },
29829
- disabled: { type: Boolean, default: !1 }
29834
+ disabled: { type: Boolean, default: !1 },
29835
+ zero: { type: Boolean, default: !1 }
29830
29836
  },
29831
29837
  emits: ["update:modelValue", "changeOpen", "blur"],
29832
29838
  setup(e, { expose: t, emit: n }) {
@@ -29932,9 +29938,10 @@ const o0 = /* @__PURE__ */ It(hZ, [["__scopeId", "data-v-ab30f1e5"]]), MZ = /* @
29932
29938
  "month-switch": T.monthSwitch,
29933
29939
  "year-switch": T.yearSwitch,
29934
29940
  mobile: "",
29941
+ zero: T.zero,
29935
29942
  "disabled-date": T.disabledDate,
29936
29943
  onClosePickerOnMobile: D
29937
- }, null, 8, ["modelValue", "isOpen", "dateValue", "month-switch", "year-switch", "disabled-date"])
29944
+ }, null, 8, ["modelValue", "isOpen", "dateValue", "month-switch", "year-switch", "zero", "disabled-date"])
29938
29945
  ]),
29939
29946
  _: 1
29940
29947
  }, 8, ["modelValue"])) : (w(), he(o0, {
@@ -29950,8 +29957,9 @@ const o0 = /* @__PURE__ */ It(hZ, [["__scopeId", "data-v-ab30f1e5"]]), MZ = /* @
29950
29957
  "month-switch": T.monthSwitch,
29951
29958
  "year-switch": T.yearSwitch,
29952
29959
  "disabled-date": T.disabledDate,
29960
+ zero: T.zero,
29953
29961
  onChangeOpen: A
29954
- }, null, 8, ["modelValue", "isOpen", "dateValue", "month-switch", "year-switch", "disabled-date"]))
29962
+ }, null, 8, ["modelValue", "isOpen", "dateValue", "month-switch", "year-switch", "disabled-date", "zero"]))
29955
29963
  ], 512);
29956
29964
  };
29957
29965
  }