shared-ritm 1.2.136 → 1.2.138

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.
@@ -6228,10 +6228,16 @@ const jy = { class: "app-input-new" }, Gy = {
6228
6228
  }, a = (c) => {
6229
6229
  if (!n.noPastDates && !n.disableRuleDates) return !0;
6230
6230
  const [d, f, h] = c.split("/"), p = new Date(Number(d), Number(f) - 1, Number(h));
6231
- if (n.disableRuleDates) {
6232
- const y = new Date(n.disableRuleDates);
6233
- return p >= y;
6234
- }
6231
+ if (p.setHours(0, 0, 0, 0), n.disableRuleDates)
6232
+ if (Array.isArray(n.disableRuleDates)) {
6233
+ const y = n.disableRuleDates[0] ? new Date(n.disableRuleDates[0]) : null;
6234
+ y == null || y.setHours(0, 0, 0, 0);
6235
+ const b = n.disableRuleDates[1] ? new Date(n.disableRuleDates[1]) : null;
6236
+ return b == null || b.setHours(0, 0, 0, 0), (!y || p >= y) && (!b || p <= b);
6237
+ } else {
6238
+ const y = new Date(n.disableRuleDates);
6239
+ return p >= y;
6240
+ }
6235
6241
  const m = /* @__PURE__ */ new Date(), v = new Date(m.getFullYear(), m.getMonth(), m.getDate());
6236
6242
  return p >= v;
6237
6243
  };
@@ -6312,7 +6318,7 @@ const jy = { class: "app-input-new" }, Gy = {
6312
6318
  }, 8, ["modelValue", "label", "required", "rules", "error", "disable"])
6313
6319
  ]));
6314
6320
  }
6315
- }), MA = /* @__PURE__ */ Be(Zy, [["__scopeId", "data-v-9fea6240"]]), Jy = /* @__PURE__ */ Bt({
6321
+ }), MA = /* @__PURE__ */ Be(Zy, [["__scopeId", "data-v-1f613b58"]]), Jy = /* @__PURE__ */ Bt({
6316
6322
  __name: "AppInput",
6317
6323
  props: {
6318
6324
  field: { type: Boolean },
@@ -16594,6 +16600,9 @@ class H3 extends Cn {
16594
16600
  async checkUserVectors(n) {
16595
16601
  return await this.get(`/user/get-vectors/${n}`);
16596
16602
  }
16603
+ async checkArchiveUserVectors(n) {
16604
+ return await this.get(`/users/get_vector_count_by_user?user_id=${n}`);
16605
+ }
16597
16606
  async addUserVectors(n) {
16598
16607
  return await this.post("/user/add-vector", n, {
16599
16608
  headers: { "Content-Type": "multipart/form-data" }