bt-core-app 1.4.558 → 1.4.559

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.
@@ -32835,11 +32835,12 @@ const UL = /* @__PURE__ */ Ze({
32835
32835
  setup(e, { emit: t }) {
32836
32836
  const n = gi(), a = e, l = t, r = ql(), { getToday: i } = $s(), o = _(() => a.dateFrom ?? (a.fromNow ? i() : void 0)), s = _({
32837
32837
  get() {
32838
- return a.modelValue;
32838
+ return console.log("g"), a.modelValue;
32839
32839
  },
32840
32840
  set(c) {
32841
- let u = c == null ? c : `${c.split(".")[0]}Z`;
32842
- l("update:modelValue", u), a.onSelect && a.onSelect(u);
32841
+ console.log("res"), console.log(c);
32842
+ var u;
32843
+ a.range == !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
32844
  }
32844
32845
  });
32845
32846
  return (c, u) => (B(), ne(D(nu), pe({
@@ -41204,7 +41205,7 @@ const G5 = { class: "d-flex align-center" }, XV = /* @__PURE__ */ Ze({
41204
41205
  }
41205
41206
  });
41206
41207
  function i() {
41207
- l != null && l({
41208
+ console.log(a.value), l != null && l({
41208
41209
  isCancelled: !1,
41209
41210
  isConfirmed: !0,
41210
41211
  isError: !1,
@@ -41241,12 +41242,12 @@ const G5 = { class: "d-flex align-center" }, XV = /* @__PURE__ */ Ze({
41241
41242
  format: n.value.format,
41242
41243
  fromNow: n.value.fromNow,
41243
41244
  horizontal: n.value.horizontal,
41244
- range: "",
41245
+ range: n.value.range,
41245
41246
  startingDate: n.value.startingDate,
41246
41247
  useTime: n.value.useTime,
41247
41248
  modelValue: a.value,
41248
41249
  "onUpdate:modelValue": c[0] || (c[0] = (f) => a.value = f)
41249
- }, null, 8, ["dateFrom", "dateRules", "format", "fromNow", "horizontal", "startingDate", "useTime", "modelValue"])
41250
+ }, null, 8, ["dateFrom", "dateRules", "format", "fromNow", "horizontal", "range", "startingDate", "useTime", "modelValue"])
41250
41251
  ]),
41251
41252
  actions: R(() => [
41252
41253
  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.559",
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": {