bt-core-app 1.4.558 → 1.4.560

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.
@@ -32827,6 +32827,7 @@ const UL = /* @__PURE__ */ Ze({
32827
32827
  fromNow: { type: Boolean, default: !1 },
32828
32828
  horizontal: { type: Boolean },
32829
32829
  modelValue: {},
32830
+ multi: { type: Boolean, default: !1 },
32830
32831
  onSelect: {},
32831
32832
  range: { type: Boolean, default: !1 },
32832
32833
  useTime: { type: Boolean }
@@ -32838,8 +32839,9 @@ const UL = /* @__PURE__ */ Ze({
32838
32839
  return a.modelValue;
32839
32840
  },
32840
32841
  set(c) {
32841
- let u = c == null ? c : `${c.split(".")[0]}Z`;
32842
- l("update:modelValue", u), a.onSelect && a.onSelect(u);
32842
+ console.log("res"), console.log(c);
32843
+ var u;
32844
+ (a.range == !0 || a.multi == !0) && Array.isArray(c) ? u = c.filter((f) => `${f.split(".")[0]}Z`) : u = c == null ? c : `${c.split(".")[0]}Z`, l("update:modelValue", u), a.onSelect && a.onSelect(u);
32843
32845
  }
32844
32846
  });
32845
32847
  return (c, u) => (B(), ne(D(nu), pe({
@@ -32849,13 +32851,14 @@ const UL = /* @__PURE__ */ Ze({
32849
32851
  inline: "",
32850
32852
  "is-24": !1,
32851
32853
  "min-date": o.value,
32854
+ "multi-dates": c.multi,
32852
32855
  range: c.range,
32853
32856
  timezone: D(r).timeZone.value,
32854
32857
  utc: ""
32855
32858
  }, c.$attrs, {
32856
32859
  modelValue: s.value,
32857
32860
  "onUpdate:modelValue": u[0] || (u[0] = (f) => s.value = f)
32858
- }), null, 16, ["dark", "enable-time-picker", "min-date", "range", "timezone", "modelValue"]));
32861
+ }), null, 16, ["dark", "enable-time-picker", "min-date", "multi-dates", "range", "timezone", "modelValue"]));
32859
32862
  }
32860
32863
  }), YL = {
32861
32864
  key: 0,
@@ -41204,7 +41207,7 @@ const G5 = { class: "d-flex align-center" }, XV = /* @__PURE__ */ Ze({
41204
41207
  }
41205
41208
  });
41206
41209
  function i() {
41207
- l != null && l({
41210
+ console.log(a.value), l != null && l({
41208
41211
  isCancelled: !1,
41209
41212
  isConfirmed: !0,
41210
41213
  isError: !1,
@@ -41241,12 +41244,12 @@ const G5 = { class: "d-flex align-center" }, XV = /* @__PURE__ */ Ze({
41241
41244
  format: n.value.format,
41242
41245
  fromNow: n.value.fromNow,
41243
41246
  horizontal: n.value.horizontal,
41244
- range: "",
41247
+ range: n.value.range,
41245
41248
  startingDate: n.value.startingDate,
41246
41249
  useTime: n.value.useTime,
41247
41250
  modelValue: a.value,
41248
41251
  "onUpdate:modelValue": c[0] || (c[0] = (f) => a.value = f)
41249
- }, null, 8, ["dateFrom", "dateRules", "format", "fromNow", "horizontal", "startingDate", "useTime", "modelValue"])
41252
+ }, null, 8, ["dateFrom", "dateRules", "format", "fromNow", "horizontal", "range", "startingDate", "useTime", "modelValue"])
41250
41253
  ]),
41251
41254
  actions: R(() => [
41252
41255
  x(Le, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bt-core-app",
3
- "version": "1.4.558",
3
+ "version": "1.4.560",
4
4
  "description": "Core app tools for some basic features like navigation, authentication, server apis, and cosmetics",
5
5
  "homepage": "https://github.com/BlitzItTech/bt-core",
6
6
  "bugs": {