bt-core-app 1.4.531 → 1.4.533

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.
@@ -1,8 +1,8 @@
1
1
  var b0 = Object.defineProperty;
2
2
  var w0 = (e, t, n) => t in e ? b0(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var Re = (e, t, n) => (w0(e, typeof t != "symbol" ? t + "" : t, n), n);
4
- import { ref as H, shallowRef as Pe, computed as _, toValue as tt, toRaw as Gt, watch as xe, onMounted as kt, h as Xa, Fragment as Me, reactive as Fn, watchEffect as ra, toRefs as Xc, capitalize as so, isVNode as x0, Comment as k0, unref as D, warn as uo, getCurrentInstance as S0, provide as dn, inject as Ye, defineComponent as Xe, camelize as vh, createVNode as b, mergeProps as be, toRef as Ve, isRef as fl, Text as C0, TransitionGroup as Jc, Transition as Qn, onBeforeMount as Qc, nextTick as ot, onBeforeUnmount as zn, withDirectives as Ut, resolveDirective as nl, vShow as ga, openBlock as B, createBlock as te, normalizeProps as Vt, guardReactiveProps as tn, withCtx as R, createElementVNode as ze, onScopeDispose as wn, effectScope as ed, onUpdated as hh, readonly as td, resolveDynamicComponent as co, markRaw as T0, resolveComponent as jn, renderSlot as ye, createCommentVNode as J, normalizeStyle as Pt, createElementBlock as de, createTextVNode as We, onDeactivated as gh, onActivated as M0, Teleport as yh, onBeforeUpdate as ph, cloneVNode as _0, renderList as et, withKeys as Ku, toDisplayString as Be, normalizeClass as Je, withModifiers as _n, getTransitionRawChildren as D0, onUnmounted as pl, createSlots as yn, useSlots as yr, render as Ff, getCurrentScope as A0, vModelText as L0 } from "vue";
5
- import { watchArray as Xu, useStorage as I0, useEventListener as gn, toValue as Oa, useParentElement as E0, useResizeObserver as V0, useArrayUnique as P0, useArrayDifference as Rf, watchDebounced as bh, tryOnMounted as $0, useFileDialog as N0 } from "@vueuse/core";
4
+ import { ref as H, shallowRef as Pe, computed as _, toValue as tt, toRaw as Gt, watch as xe, onMounted as kt, h as Xa, Fragment as Me, reactive as Fn, watchEffect as ra, toRefs as Xc, capitalize as so, isVNode as x0, Comment as k0, unref as D, warn as uo, getCurrentInstance as S0, provide as dn, inject as Ye, defineComponent as Xe, camelize as vh, createVNode as b, mergeProps as be, toRef as Ve, isRef as fl, Text as C0, TransitionGroup as Jc, Transition as Qn, onBeforeMount as Qc, nextTick as ot, onBeforeUnmount as zn, withDirectives as Ut, resolveDirective as nl, vShow as ga, openBlock as B, createBlock as te, normalizeProps as Vt, guardReactiveProps as tn, withCtx as R, createElementVNode as ze, onScopeDispose as wn, effectScope as ed, onUpdated as hh, readonly as td, resolveDynamicComponent as co, markRaw as T0, resolveComponent as jn, renderSlot as ye, createCommentVNode as J, normalizeStyle as Pt, createElementBlock as de, createTextVNode as We, onDeactivated as gh, onActivated as M0, Teleport as yh, onBeforeUpdate as ph, cloneVNode as _0, renderList as et, withKeys as Ku, toDisplayString as Be, normalizeClass as Je, createSlots as mn, withModifiers as _n, getTransitionRawChildren as D0, onUnmounted as pl, useSlots as yr, render as Ff, getCurrentScope as A0, vModelText as L0 } from "vue";
5
+ import { watchArray as Xu, useStorage as I0, useEventListener as yn, toValue as Oa, useParentElement as E0, useResizeObserver as V0, useArrayUnique as P0, useArrayDifference as Rf, watchDebounced as bh, tryOnMounted as $0, useFileDialog as N0 } from "@vueuse/core";
6
6
  import { defineStore as nd, getActivePinia as B0 } from "pinia";
7
7
  import { useRouter as ad, useRoute as ld } from "vue-router";
8
8
  function F0(e) {
@@ -7224,7 +7224,7 @@ function _V() {
7224
7224
  saveAsync: a
7225
7225
  };
7226
7226
  }
7227
- const hn = "yyyy-MM-dd'T'HH:mm:ss'Z'";
7227
+ const gn = "yyyy-MM-dd'T'HH:mm:ss'Z'";
7228
7228
  let lc;
7229
7229
  function Vs() {
7230
7230
  return lc;
@@ -7232,16 +7232,16 @@ function Vs() {
7232
7232
  function mx(e) {
7233
7233
  const t = e.getUTC ?? qe.utc;
7234
7234
  function n(u) {
7235
- return u == null ? t() : qe.fromFormat(u, hn);
7235
+ return u == null ? t() : qe.fromFormat(u, gn);
7236
7236
  }
7237
7237
  function a(u) {
7238
- return u == null ? t().toFormat(hn) : u.toFormat(hn);
7238
+ return u == null ? t().toFormat(gn) : u.toFormat(gn);
7239
7239
  }
7240
7240
  function l() {
7241
- return i().startOf("day").toUTC().toFormat(hn) ?? "";
7241
+ return i().startOf("day").toUTC().toFormat(gn) ?? "";
7242
7242
  }
7243
7243
  function r() {
7244
- return i().startOf("day").plus({ day: 1 }).toUTC().toFormat(hn) ?? "";
7244
+ return i().startOf("day").plus({ day: 1 }).toUTC().toFormat(gn) ?? "";
7245
7245
  }
7246
7246
  function i(u, f) {
7247
7247
  return u == null ? t().setZone(e.getTimeZone()) : f ? qe.fromFormat(u, f, { zone: e.getTimeZone() }) : qe.fromISO(u, { zone: e.getTimeZone() });
@@ -7249,22 +7249,22 @@ function mx(e) {
7249
7249
  function o(u, f, h) {
7250
7250
  if (u == null) {
7251
7251
  const m = t().setZone(e.getTimeZone());
7252
- return f ? m.toFormat(f) : m.toFormat(hn);
7252
+ return f ? m.toFormat(f) : m.toFormat(gn);
7253
7253
  }
7254
7254
  if (u == "Invalid DateTime")
7255
7255
  return "";
7256
7256
  const v = h ? qe.fromFormat(u, h, { zone: e.getTimeZone() }) : qe.fromISO(u, { zone: e.getTimeZone() });
7257
- return f ? v.toFormat(f) : v == null ? void 0 : v.toFormat(hn);
7257
+ return f ? v.toFormat(f) : v == null ? void 0 : v.toFormat(gn);
7258
7258
  }
7259
7259
  function s(u, f) {
7260
7260
  return u == null ? t() : f ? qe.fromFormat(u, f) : qe.fromISO(u);
7261
7261
  }
7262
7262
  function c(u, f, h) {
7263
7263
  if (u == null)
7264
- return f ? t().toFormat(f) : t().toFormat(hn);
7264
+ return f ? t().toFormat(f) : t().toFormat(gn);
7265
7265
  {
7266
7266
  const v = h ? qe.fromFormat(u, h) : qe.fromISO(u);
7267
- return f ? v.toFormat(f) : v.toFormat(hn);
7267
+ return f ? v.toFormat(f) : v.toFormat(gn);
7268
7268
  }
7269
7269
  }
7270
7270
  return lc = {
@@ -7850,12 +7850,12 @@ function bx(e) {
7850
7850
  let I = e.dates.btDate(S.left.dateFrom), P = e.dates.btDate(S.left.dateTo);
7851
7851
  for (; P.diff(I).as("days") > e.bundlingDays; )
7852
7852
  M.left.push({
7853
- dateFrom: I.toFormat(hn),
7854
- dateTo: I.plus({ days: e.bundlingDays }).toFormat(hn)
7853
+ dateFrom: I.toFormat(gn),
7854
+ dateTo: I.plus({ days: e.bundlingDays }).toFormat(gn)
7855
7855
  }), I = I.plus({ days: e.bundlingDays });
7856
7856
  M.left.push({
7857
- dateFrom: I.toFormat(hn),
7858
- dateTo: P.toFormat(hn)
7857
+ dateFrom: I.toFormat(gn),
7858
+ dateTo: P.toFormat(gn)
7859
7859
  });
7860
7860
  }
7861
7861
  if (S.right != null) {
@@ -7863,12 +7863,12 @@ function bx(e) {
7863
7863
  let I = e.dates.btDate(S.right.dateFrom), P = e.dates.btDate(S.right.dateTo);
7864
7864
  for (; P.diff(I).as("days") > e.bundlingDays; )
7865
7865
  M.right.push({
7866
- dateFrom: I.toFormat(hn),
7867
- dateTo: I.plus({ days: e.bundlingDays }).toFormat(hn)
7866
+ dateFrom: I.toFormat(gn),
7867
+ dateTo: I.plus({ days: e.bundlingDays }).toFormat(gn)
7868
7868
  }), I = I.plus({ days: e.bundlingDays });
7869
7869
  M.right.push({
7870
- dateFrom: I.toFormat(hn),
7871
- dateTo: P.toFormat(hn)
7870
+ dateFrom: I.toFormat(gn),
7871
+ dateTo: P.toFormat(gn)
7872
7872
  });
7873
7873
  }
7874
7874
  return M;
@@ -8937,7 +8937,7 @@ function Sx(e, t, n = {}) {
8937
8937
  }, o = {
8938
8938
  x: p.offsetLeft,
8939
8939
  y: p.offsetTop
8940
- }, ((M = n.onStart) == null ? void 0 : M.call(n, c, x)) !== !1 && (f.push(gn("mousemove", g)), f.push(gn("touchmove", g)), f.push(gn("mouseup", y)), f.push(gn("touchend", y)), v(x));
8940
+ }, ((M = n.onStart) == null ? void 0 : M.call(n, c, x)) !== !1 && (f.push(yn("mousemove", g)), f.push(yn("touchmove", g)), f.push(yn("mouseup", y)), f.push(yn("touchend", y)), v(x));
8941
8941
  }
8942
8942
  function g(x) {
8943
8943
  var I;
@@ -8967,7 +8967,7 @@ function Sx(e, t, n = {}) {
8967
8967
  if (!x)
8968
8968
  return;
8969
8969
  const C = x.$el;
8970
- C.style.cursor = "move", u.push(gn(C, "mousedown", m, i)), u.push(gn(C, "touchstart", m, i)), h.value = !0;
8970
+ C.style.cursor = "move", u.push(yn(C, "mousedown", m, i)), u.push(yn(C, "touchstart", m, i)), h.value = !0;
8971
8971
  }
8972
8972
  function T() {
8973
8973
  if (!tt(h))
@@ -9024,7 +9024,7 @@ function Tx(e, t = {}) {
9024
9024
  }, k = md(p), ((ee = t.onStart) == null ? void 0 : ee.call(t, C.value, O)) === !1)
9025
9025
  return;
9026
9026
  let ne = O.target;
9027
- document.documentElement.style.cursor = V(ne.dataset.handle), f = ne.dataset.handle, T.push(gn("mousemove", A)), T.push(gn("mouseup", L)), T.push(gn("touchmove", A)), T.push(gn("touchend", L)), S(O);
9027
+ document.documentElement.style.cursor = V(ne.dataset.handle), f = ne.dataset.handle, T.push(yn("mousemove", A)), T.push(yn("mouseup", L)), T.push(yn("touchmove", A)), T.push(yn("touchend", L)), S(O);
9028
9028
  }
9029
9029
  function A(O) {
9030
9030
  const Z = Oa(e);
@@ -9083,7 +9083,7 @@ function Tx(e, t = {}) {
9083
9083
  top: 0,
9084
9084
  left: 0,
9085
9085
  position: void 0
9086
- }), gn(F, "transitionend", () => {
9086
+ }), yn(F, "transitionend", () => {
9087
9087
  F.style.width = "auto", F.style.top = "", F.style.left = "", F.style.position = "", F.style.transition = "", v.value = !1;
9088
9088
  }, { once: !0 });
9089
9089
  } else if ((n == "page" || Z.$el.style.position !== "absolute") && O !== "page") {
@@ -9107,7 +9107,7 @@ function Tx(e, t = {}) {
9107
9107
  top: (le.top ?? 0) + 2,
9108
9108
  left: (le.left ?? 0) + 2,
9109
9109
  position: "absolute"
9110
- }), $(k), gn(F, "transitionend", () => {
9110
+ }), $(k), yn(F, "transitionend", () => {
9111
9111
  F.style.transition = "", v.value = !1;
9112
9112
  }, { once: !0 });
9113
9113
  }
@@ -9123,7 +9123,7 @@ function Tx(e, t = {}) {
9123
9123
  if (x.value)
9124
9124
  return;
9125
9125
  const F = Oa(e);
9126
- F && (M(F, O ?? Cx), w.push(gn(F.$el, "mousedown", E)), w.push(gn(F.$el, "touchstart", E)), x.value = !0, n = Z);
9126
+ F && (M(F, O ?? Cx), w.push(yn(F.$el, "mousedown", E)), w.push(yn(F.$el, "touchstart", E)), x.value = !0, n = Z);
9127
9127
  }
9128
9128
  function q(O) {
9129
9129
  if (!x.value)
@@ -9994,7 +9994,7 @@ function Jx(e) {
9994
9994
  replacingDate: C,
9995
9995
  //other props
9996
9996
  isInSchedule: !1,
9997
- leadLeftDate: C != null ? t(C).plus({ minutes: w }).toFormat(hn) : void 0
9997
+ leadLeftDate: C != null ? t(C).plus({ minutes: w }).toFormat(gn) : void 0
9998
9998
  // replacingTime: replacingDate != null ? tzString(replacingDate, 'HH:mm') : '00:00',
9999
9999
  // leadDateLeft: replacingDate != null ? utcDate(replacingDate).plus({ minutes: leftLead }) : undefined,
10000
10000
  // leadDateRight: replacingDate != null ? utcDate(replacingDate).plus({ minutes: rightLead }) : undefined
@@ -21199,7 +21199,7 @@ const ki = ke({
21199
21199
  value: Y,
21200
21200
  onClick: (O) => D(v).selectItem(Y, E.variant),
21201
21201
  onMouseover: (O) => E.$emit("mouse-over-item", Y)
21202
- }, {
21202
+ }, mn({
21203
21203
  title: R(() => [
21204
21204
  ye(E.$slots, "itemTitle", {
21205
21205
  item: Y,
@@ -21214,60 +21214,6 @@ const ki = ke({
21214
21214
  size: E.size
21215
21215
  }, void 0, !0)
21216
21216
  ]),
21217
- append: R(() => [
21218
- b(En, {
21219
- "no-gutters": "",
21220
- class: Je(y.value ? "actionButtons" : null)
21221
- }, {
21222
- default: R(() => [
21223
- ye(E.$slots, "itemActions", {
21224
- item: Y,
21225
- index: q,
21226
- items: D(v).asyncItems.value,
21227
- size: m.value
21228
- }, void 0, !0),
21229
- b(_a, {
21230
- group: "",
21231
- "hide-on-leave": ""
21232
- }, {
21233
- default: R(() => [
21234
- Y.errorMsg != null ? (B(), te(it, {
21235
- color: "warning",
21236
- key: "1",
21237
- size: m.value,
21238
- title: Y.errorMsg
21239
- }, {
21240
- default: R(() => [
21241
- We("$alert-circle")
21242
- ]),
21243
- _: 2
21244
- }, 1032, ["size", "title"])) : J("", !0),
21245
- E.canDelete && D(v).isDeletable.value(Y) ? (B(), te(Ie, {
21246
- onClick: _n((O) => D(v).deleteItem(Y), ["stop"]),
21247
- class: "text-error",
21248
- disabled: !D(f).canEdit(E.nav),
21249
- icon: "$delete",
21250
- key: "2",
21251
- loading: Y.loadingCount > 0,
21252
- size: m.value,
21253
- variant: "text"
21254
- }, null, 8, ["onClick", "disabled", "loading", "size"])) : J("", !0),
21255
- E.canRestore && D(v).isRestorable.value(Y) ? (B(), te(Ie, {
21256
- onClick: _n((O) => D(v).restoreItem(Y), ["stop"]),
21257
- disabled: !D(f).canEdit(E.nav),
21258
- key: "3",
21259
- icon: "$eraser-variant",
21260
- loading: Y.loadingCount > 0,
21261
- size: m.value,
21262
- variant: "text"
21263
- }, null, 8, ["onClick", "disabled", "loading", "size"])) : J("", !0)
21264
- ]),
21265
- _: 2
21266
- }, 1024)
21267
- ]),
21268
- _: 2
21269
- }, 1032, ["class"])
21270
- ]),
21271
21217
  default: R(() => [
21272
21218
  ye(E.$slots, "itemContent", {
21273
21219
  item: Y,
@@ -21305,7 +21251,66 @@ const ki = ke({
21305
21251
  ], !0)
21306
21252
  ]),
21307
21253
  _: 2
21308
- }, 1032, ["density", "ripple", "value", "onClick", "onMouseover"])
21254
+ }, [
21255
+ E.hideActions ? void 0 : {
21256
+ name: "append",
21257
+ fn: R(() => [
21258
+ b(En, {
21259
+ "no-gutters": "",
21260
+ class: Je(y.value ? "actionButtons" : null)
21261
+ }, {
21262
+ default: R(() => [
21263
+ ye(E.$slots, "itemActions", {
21264
+ item: Y,
21265
+ index: q,
21266
+ items: D(v).asyncItems.value,
21267
+ size: m.value
21268
+ }, void 0, !0),
21269
+ b(_a, {
21270
+ group: "",
21271
+ "hide-on-leave": ""
21272
+ }, {
21273
+ default: R(() => [
21274
+ Y.errorMsg != null ? (B(), te(it, {
21275
+ color: "warning",
21276
+ key: "1",
21277
+ size: m.value,
21278
+ title: Y.errorMsg
21279
+ }, {
21280
+ default: R(() => [
21281
+ We("$alert-circle")
21282
+ ]),
21283
+ _: 2
21284
+ }, 1032, ["size", "title"])) : J("", !0),
21285
+ E.canDelete && D(v).isDeletable.value(Y) ? (B(), te(Ie, {
21286
+ onClick: _n((O) => D(v).deleteItem(Y), ["stop"]),
21287
+ class: "text-error",
21288
+ disabled: !D(f).canEdit(E.nav),
21289
+ icon: "$delete",
21290
+ key: "2",
21291
+ loading: Y.loadingCount > 0,
21292
+ size: m.value,
21293
+ variant: "text"
21294
+ }, null, 8, ["onClick", "disabled", "loading", "size"])) : J("", !0),
21295
+ E.canRestore && D(v).isRestorable.value(Y) ? (B(), te(Ie, {
21296
+ onClick: _n((O) => D(v).restoreItem(Y), ["stop"]),
21297
+ disabled: !D(f).canEdit(E.nav),
21298
+ key: "3",
21299
+ icon: "$eraser-variant",
21300
+ loading: Y.loadingCount > 0,
21301
+ size: m.value,
21302
+ variant: "text"
21303
+ }, null, 8, ["onClick", "disabled", "loading", "size"])) : J("", !0)
21304
+ ]),
21305
+ _: 2
21306
+ }, 1024)
21307
+ ]),
21308
+ _: 2
21309
+ }, 1032, ["class"])
21310
+ ]),
21311
+ key: "0"
21312
+ }
21313
+ ]), 1032, ["density", "ripple", "value", "onClick", "onMouseover"])
21309
21314
  ], !0),
21310
21315
  E.dividers ? (B(), te(cr, {
21311
21316
  key: "d" + q.toString()
@@ -21453,7 +21458,7 @@ const ki = ke({
21453
21458
  for (const [a, l] of t)
21454
21459
  n[a] = l;
21455
21460
  return n;
21456
- }, rM = /* @__PURE__ */ qs(lM, [["__scopeId", "data-v-4fd9db43"]]);
21461
+ }, rM = /* @__PURE__ */ qs(lM, [["__scopeId", "data-v-68ad8aab"]]);
21457
21462
  /*!
21458
21463
  * vue-use-spring v0.3.3
21459
21464
  * (c) 2020-2024 Eduardo San Martin Morote
@@ -24606,7 +24611,7 @@ const p_ = Va({
24606
24611
  (B(!0), de(Me, null, et(D(c).adjustments.value, (k) => (B(), de(Me, {
24607
24612
  key: k.dateTrigger
24608
24613
  }, [
24609
- b(ct, { lines: "two" }, yn({
24614
+ b(ct, { lines: "two" }, mn({
24610
24615
  title: R(() => [
24611
24616
  b(x, {
24612
24617
  filter: "toLongDateAndTime",
@@ -28006,7 +28011,7 @@ const HA = (e, t, n) => {
28006
28011
  }, OA = (e) => ({ type: "dot", ...e ?? {} }), Xp = (e) => Array.isArray(e) ? !!e[0] && !!e[1] : !1, pf = {
28007
28012
  prop: (e) => `"${e}" prop must be enabled!`,
28008
28013
  dateArr: (e) => `You need to use array as "model-value" binding in order to support "${e}"`
28009
- }, mn = (e) => e, Ev = (e) => e === 0 ? e : !e || isNaN(+e) ? null : +e, Vv = (e) => e === null, Jp = (e) => {
28014
+ }, vn = (e) => e, Ev = (e) => e === 0 ? e : !e || isNaN(+e) ? null : +e, Vv = (e) => e === null, Jp = (e) => {
28010
28015
  if (e)
28011
28016
  return [...e.querySelectorAll("input, button, select, textarea, a[href]")][0];
28012
28017
  }, UA = (e) => {
@@ -28551,9 +28556,9 @@ const qA = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
28551
28556
  O(j[0]),
28552
28557
  j[1] ? O(j[1]) : $r(r.value.partialRange)
28553
28558
  ];
28554
- }, I = () => a.value[1] ? M() : O(mn(a.value[0])), P = () => (a.value || []).map((j) => O(j)), E = (j = !1) => (j || S(), t.modelAuto ? I() : o.value.enabled ? P() : Array.isArray(a.value) ? Wo(() => M(), r.value.enabled) : O(mn(a.value))), A = (j) => !j || Array.isArray(j) && !j.length ? null : t.timePicker ? T(mn(j)) : t.monthPicker ? x(mn(j)) : t.yearPicker ? d(mn(j)) : o.value.enabled ? C(mn(j)) : t.weekPicker ? p(mn(j)) : k(mn(j)), L = (j) => {
28559
+ }, I = () => a.value[1] ? M() : O(vn(a.value[0])), P = () => (a.value || []).map((j) => O(j)), E = (j = !1) => (j || S(), t.modelAuto ? I() : o.value.enabled ? P() : Array.isArray(a.value) ? Wo(() => M(), r.value.enabled) : O(vn(a.value))), A = (j) => !j || Array.isArray(j) && !j.length ? null : t.timePicker ? T(vn(j)) : t.monthPicker ? x(vn(j)) : t.yearPicker ? d(vn(j)) : o.value.enabled ? C(vn(j)) : t.weekPicker ? p(vn(j)) : k(vn(j)), L = (j) => {
28555
28560
  const re = A(j);
28556
- Rc(mn(re)) ? (a.value = mn(re), Y()) : (a.value = null, c.value = "");
28561
+ Rc(vn(re)) ? (a.value = vn(re), Y()) : (a.value = null, c.value = "");
28557
28562
  }, V = () => {
28558
28563
  const j = (re) => Za(re, l.value.format);
28559
28564
  return `${j(a.value[0])} ${l.value.rangeSeparator} ${a.value[1] ? j(a.value[1]) : ""}`;
@@ -28573,19 +28578,19 @@ const qA = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
28573
28578
  if (_e)
28574
28579
  return j;
28575
28580
  if (e("update:model-value", j), i.value.emitTimezone && re) {
28576
- const ie = Array.isArray(j) ? j.map((Oe) => Jn(mn(Oe), i.value.emitTimezone)) : Jn(mn(j), i.value.emitTimezone);
28581
+ const ie = Array.isArray(j) ? j.map((Oe) => Jn(vn(Oe), i.value.emitTimezone)) : Jn(vn(j), i.value.emitTimezone);
28577
28582
  e("update:model-timezone-value", ie);
28578
28583
  }
28579
28584
  }, F = (j) => Array.isArray(a.value) ? o.value.enabled ? a.value.map((re) => j(re)) : [
28580
28585
  j(a.value[0]),
28581
28586
  a.value[1] ? j(a.value[1]) : $r(r.value.partialRange)
28582
- ] : j(mn(a.value)), le = () => {
28587
+ ] : j(vn(a.value)), le = () => {
28583
28588
  if (Array.isArray(a.value)) {
28584
28589
  const j = sl(a.value[0], t.weekStart), re = a.value[1] ? sl(a.value[1], t.weekStart) : [];
28585
28590
  return [j.map((_e) => Se(_e)), re.map((_e) => Se(_e))];
28586
28591
  }
28587
28592
  return sl(a.value, t.weekStart).map((j) => Se(j));
28588
- }, N = (j, re) => Z(mn(F(j)), !1, re), ne = (j) => {
28593
+ }, N = (j, re) => Z(vn(F(j)), !1, re), ne = (j) => {
28589
28594
  const re = le();
28590
28595
  return j ? re : e("update:model-value", le());
28591
28596
  }, ee = (j = !1) => (j || Y(), t.monthPicker ? N(y, j) : t.timePicker ? N(g, j) : t.yearPicker ? N(at, j) : t.weekPicker ? ne(j) : Z(E(j), !0, j));
@@ -28804,7 +28809,7 @@ const qA = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
28804
28809
  () => !h.value(a.internalModelValue) || !v.value(a.internalModelValue) || !p.value
28805
28810
  ), S = () => {
28806
28811
  const V = r.value;
28807
- return a.timePicker || a.monthPicker, V(mn(a.internalModelValue));
28812
+ return a.timePicker || a.monthPicker, V(vn(a.internalModelValue));
28808
28813
  }, M = () => {
28809
28814
  const V = a.internalModelValue;
28810
28815
  return i.value.count > 0 ? `${I(V[0])} - ${I(V[1])}` : [I(V[0]), I(V[1])];
@@ -28972,7 +28977,7 @@ const qA = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
28972
28977
  }, W = () => {
28973
28978
  var F, le;
28974
28979
  const N = (F = o.headerRefs) != null && F.length ? [o.headerRefs].concat(g.value) : g.value.concat([o.skipButtonRef ? [] : [d.value]]);
28975
- l(mn(N), (le = o.headerRefs) != null && le.length ? "monthPicker" : "selectionGrid");
28980
+ l(vn(N), (le = o.headerRefs) != null && le.length ? "monthPicker" : "selectionGrid");
28976
28981
  }, $ = (F) => {
28977
28982
  o.arrowNavigation || Fl(F, u.value, !0);
28978
28983
  }, Y = (F) => {
@@ -29226,7 +29231,7 @@ const qA = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
29226
29231
  type: "year",
29227
29232
  onToggle: v,
29228
29233
  onSelected: d[4] || (d[4] = (k) => m(k))
29229
- }, yn({
29234
+ }, mn({
29230
29235
  "button-icon": R(() => [
29231
29236
  y.$slots["calendar-icon"] ? ye(y.$slots, "calendar-icon", { key: 0 }) : J("", !0),
29232
29237
  y.$slots["calendar-icon"] ? J("", !0) : (B(), te(D(Si), { key: 1 }))
@@ -29547,7 +29552,7 @@ const qA = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
29547
29552
  type: "month",
29548
29553
  onSelected: (I) => D(d)(I, M),
29549
29554
  onHoverValue: (I) => D(y)(I, M)
29550
- }, yn({
29555
+ }, mn({
29551
29556
  header: R(() => [
29552
29557
  b(u1, be(k.$props, {
29553
29558
  items: D(s)(M),
@@ -29558,7 +29563,7 @@ const qA = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
29558
29563
  onHandleYear: (I) => D(C)(M, I),
29559
29564
  onYearSelect: (I) => D(x)(I, M),
29560
29565
  onToggleYearPicker: (I) => D(T)(M, I == null ? void 0 : I.flow, I == null ? void 0 : I.show)
29561
- }), yn({ _: 2 }, [
29566
+ }), mn({ _: 2 }, [
29562
29567
  et(D(r), (I, P) => ({
29563
29568
  name: I,
29564
29569
  fn: R((E) => [
@@ -29656,7 +29661,7 @@ const qA = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
29656
29661
  "use-relative": "",
29657
29662
  onSelected: D(s),
29658
29663
  onHoverValue: D(c)
29659
- }, yn({ _: 2 }, [
29664
+ }, mn({ _: 2 }, [
29660
29665
  f.$slots["year-overlay-value"] ? {
29661
29666
  name: "item",
29662
29667
  fn: R(({ item: v }) => [
@@ -29929,7 +29934,7 @@ const qA = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
29929
29934
  onSelected: (Fe) => Oe(ge.type, Fe),
29930
29935
  onToggle: (Fe) => le(ge.type),
29931
29936
  onResetFlow: Q[1] || (Q[1] = (Fe) => G.$emit("reset-flow"))
29932
- }, yn({
29937
+ }, mn({
29933
29938
  "button-icon": R(() => [
29934
29939
  G.$slots["clock-icon"] ? ye(G.$slots, "clock-icon", { key: 0 }) : J("", !0),
29935
29940
  G.$slots["clock-icon"] ? J("", !0) : (B(), te(co(G.timePickerInline ? D(Si) : D(mf)), { key: 1 }))
@@ -30109,7 +30114,7 @@ const qA = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
30109
30114
  onOverlayClosed: W,
30110
30115
  onOverlayOpened: Y[2] || (Y[2] = (le) => $.$emit("overlay-opened", le)),
30111
30116
  onAmPmChange: Y[3] || (Y[3] = (le) => $.$emit("am-pm-change", le))
30112
- }), yn({ _: 2 }, [
30117
+ }), mn({ _: 2 }, [
30113
30118
  et(D(I), (le, N) => ({
30114
30119
  name: le,
30115
30120
  fn: R((ne) => [
@@ -30312,7 +30317,7 @@ const qA = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
30312
30317
  onResetFlow: m[4] || (m[4] = (g) => v.$emit("reset-flow")),
30313
30318
  onOverlayClosed: m[5] || (m[5] = (g) => v.$emit("overlay-toggle", { open: !1, overlay: g })),
30314
30319
  onOverlayOpened: m[6] || (m[6] = (g) => v.$emit("overlay-toggle", { open: !0, overlay: g }))
30315
- }), yn({ _: 2 }, [
30320
+ }), mn({ _: 2 }, [
30316
30321
  et(D(i), (g, y) => ({
30317
30322
  name: g,
30318
30323
  fn: R((d) => [
@@ -30496,7 +30501,7 @@ const qA = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
30496
30501
  "aria-labels": F.ariaLabels,
30497
30502
  onSelected: ie.updateModelValue,
30498
30503
  onToggle: ie.toggle
30499
- }, yn({
30504
+ }, mn({
30500
30505
  "button-icon": R(() => [
30501
30506
  F.$slots["calendar-icon"] ? ye(F.$slots, "calendar-icon", { key: 0 }) : J("", !0),
30502
30507
  F.$slots["calendar-icon"] ? J("", !0) : (B(), te(D(Si), { key: 1 }))
@@ -31238,7 +31243,7 @@ const qA = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
31238
31243
  onUpdateMonthYear: (me) => D(T)(he, me),
31239
31244
  onOverlayClosed: Oe,
31240
31245
  onOverlayOpened: Q[2] || (Q[2] = (me) => G.$emit("overlay-toggle", { open: !0, overlay: me }))
31241
- }), yn({ _: 2 }, [
31246
+ }), mn({ _: 2 }, [
31242
31247
  et(D($), (me, Fe) => ({
31243
31248
  name: me,
31244
31249
  fn: R((ue) => [
@@ -31264,7 +31269,7 @@ const qA = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
31264
31269
  onResetFlow: Q[5] || (Q[5] = (me) => G.$emit("reset-flow")),
31265
31270
  onTooltipOpen: Q[6] || (Q[6] = (me) => G.$emit("tooltip-open", me)),
31266
31271
  onTooltipClose: Q[7] || (Q[7] = (me) => G.$emit("tooltip-close", me))
31267
- }), yn({ _: 2 }, [
31272
+ }), mn({ _: 2 }, [
31268
31273
  et(D(W), (me, Fe) => ({
31269
31274
  name: me,
31270
31275
  fn: R((ue) => [
@@ -31295,7 +31300,7 @@ const qA = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
31295
31300
  onOverlayClosed: Q[13] || (Q[13] = (he) => ie(he, !1)),
31296
31301
  onOverlayOpened: Q[14] || (Q[14] = (he) => ie(he, !0)),
31297
31302
  onAmPmChange: Q[15] || (Q[15] = (he) => G.$emit("am-pm-change", he))
31298
- }), yn({ _: 2 }, [
31303
+ }), mn({ _: 2 }, [
31299
31304
  et(D(Y), (he, ge) => ({
31300
31305
  name: he,
31301
31306
  fn: R((me) => [
@@ -31444,7 +31449,7 @@ const qA = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
31444
31449
  onHandleYear: (k) => D(T)(p, k),
31445
31450
  onYearSelect: (k) => D(w)(k, p),
31446
31451
  onToggleYearPicker: (k) => D(d)(p, k == null ? void 0 : k.flow, k == null ? void 0 : k.show)
31447
- }), yn({ _: 2 }, [
31452
+ }), mn({ _: 2 }, [
31448
31453
  et(D(i), (k, S) => ({
31449
31454
  name: k,
31450
31455
  fn: R((M) => [
@@ -31746,7 +31751,7 @@ const qA = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
31746
31751
  onInvalidDate: Ce[13] || (Ce[13] = (Ue) => ue.$emit("invalid-date", Ue)),
31747
31752
  onOverlayToggle: Ce[14] || (Ce[14] = (Ue) => ue.$emit("overlay-toggle", Ue)),
31748
31753
  "onUpdate:internalModelValue": Ce[15] || (Ce[15] = (Ue) => ue.$emit("update:internal-model-value", Ue))
31749
- }), yn({ _: 2 }, [
31754
+ }), mn({ _: 2 }, [
31750
31755
  et(O.value, (Ue, kn) => ({
31751
31756
  name: Ue,
31752
31757
  fn: R((rn) => [
@@ -31774,7 +31779,7 @@ const qA = (e, t) => e == null ? void 0 : e.querySelector(`[data-dp-element="${t
31774
31779
  onSelectDate: Ce[17] || (Ce[17] = (Ue) => ue.$emit("select-date")),
31775
31780
  onInvalidSelect: Ce[18] || (Ce[18] = (Ue) => ue.$emit("invalid-select")),
31776
31781
  onSelectNow: G
31777
- }), yn({ _: 2 }, [
31782
+ }), mn({ _: 2 }, [
31778
31783
  et(D(q), (Ue, kn) => ({
31779
31784
  name: Ue,
31780
31785
  fn: R((rn) => [
@@ -32212,13 +32217,13 @@ const DL = ({
32212
32217
  e.maxTime,
32213
32218
  a.value.maxDate,
32214
32219
  "max",
32215
- mn(W),
32220
+ vn(W),
32216
32221
  V
32217
32222
  )), (e.minTime || a.value.minDate) && (V = $v(
32218
32223
  e.minTime,
32219
32224
  a.value.minDate,
32220
32225
  "min",
32221
- mn(W),
32226
+ vn(W),
32222
32227
  V
32223
32228
  )), M(L, V);
32224
32229
  }, P = (L) => {
@@ -32697,7 +32702,7 @@ const DL = ({
32697
32702
  onFocus: kl,
32698
32703
  onBlur: ol,
32699
32704
  onRealBlur: pe[1] || (pe[1] = (Le) => h.value = !1)
32700
- }), yn({ _: 2 }, [
32705
+ }), mn({ _: 2 }, [
32701
32706
  et(D(W), (Le, $t) => ({
32702
32707
  name: Le,
32703
32708
  fn: R((zt) => [
@@ -32752,7 +32757,7 @@ const DL = ({
32752
32757
  onDateUpdate: pe[15] || (pe[15] = (Le) => fe.$emit("date-update", Le)),
32753
32758
  onInvalidDate: pe[16] || (pe[16] = (Le) => fe.$emit("invalid-date", Le)),
32754
32759
  onOverlayToggle: pe[17] || (pe[17] = (Le) => fe.$emit("overlay-toggle", Le))
32755
- }), yn({ _: 2 }, [
32760
+ }), mn({ _: 2 }, [
32756
32761
  et(D(V), (Le, $t) => ({
32757
32762
  name: Le,
32758
32763
  fn: R((zt) => [
@@ -32861,12 +32866,12 @@ const OL = /* @__PURE__ */ Xe({
32861
32866
  a(T ? "startDragging" : "stopDragging");
32862
32867
  });
32863
32868
  function g() {
32864
- h.push(gn("mousemove", w)), h.push(gn("touchmove", w)), i.value = !0, s.value = !0, l.value = n.modelValue ?? 0, r.value = "x1", c = v.x;
32869
+ h.push(yn("mousemove", w)), h.push(yn("touchmove", w)), i.value = !0, s.value = !0, l.value = n.modelValue ?? 0, r.value = "x1", c = v.x;
32865
32870
  }
32866
32871
  function y(T) {
32867
32872
  o.value = !0;
32868
32873
  const C = T.type === "touchstart" && T.touches.length > 0 ? T.touches[0] : T;
32869
- v = { x: C.clientX, y: C.clientY }, h.push(gn("mouseup", d)), h.push(gn("touchend", d));
32874
+ v = { x: C.clientX, y: C.clientY }, h.push(yn("mouseup", d)), h.push(yn("touchend", d));
32870
32875
  const p = n.delay ?? 0;
32871
32876
  p <= 0 ? g() : setTimeout(() => {
32872
32877
  o.value && g();
@@ -36533,11 +36538,11 @@ function Nl(e, t) {
36533
36538
  function mE(e, t) {
36534
36539
  return e.classList ? e.classList.contains(t) : e.className.indexOf(t) > -1;
36535
36540
  }
36536
- function vn(e, t) {
36541
+ function hn(e, t) {
36537
36542
  if (t) {
36538
36543
  if (dt(e.length)) {
36539
36544
  cn(e, function(a) {
36540
- vn(a, t);
36545
+ hn(a, t);
36541
36546
  });
36542
36547
  return;
36543
36548
  }
@@ -36572,7 +36577,7 @@ function jr(e, t, n) {
36572
36577
  });
36573
36578
  return;
36574
36579
  }
36575
- n ? vn(e, t) : Ka(e, t);
36580
+ n ? hn(e, t) : Ka(e, t);
36576
36581
  }
36577
36582
  }
36578
36583
  var vE = /([a-z\d])([A-Z])/g;
@@ -36852,7 +36857,7 @@ var _E = {
36852
36857
  },
36853
36858
  initContainer: function() {
36854
36859
  var e = this.element, t = this.options, n = this.container, a = this.cropper, l = Number(t.minContainerWidth), r = Number(t.minContainerHeight);
36855
- vn(a, Un), Ka(e, Un);
36860
+ hn(a, Un), Ka(e, Un);
36856
36861
  var i = {
36857
36862
  width: Math.max(n.offsetWidth, l >= 0 ? l : E1),
36858
36863
  height: Math.max(n.offsetHeight, r >= 0 ? r : V1)
@@ -36860,7 +36865,7 @@ var _E = {
36860
36865
  this.containerData = i, Nl(a, {
36861
36866
  width: i.width,
36862
36867
  height: i.height
36863
- }), vn(e, Un), Ka(a, Un);
36868
+ }), hn(e, Un), Ka(a, Un);
36864
36869
  },
36865
36870
  // Canvas (image wrapper)
36866
36871
  initCanvas: function() {
@@ -37049,7 +37054,7 @@ var _E = {
37049
37054
  }) : l[e.pointerId || 0] = Yo(e), Object.keys(l).length > 1 && a.zoomable && a.zoomOnTouch ? r = A1 : r = Zc(e.target, io), aE.test(r) && Jr(this.element, qc, {
37050
37055
  originalEvent: e,
37051
37056
  action: r
37052
- }) !== !1 && (e.preventDefault(), this.action = r, this.cropping = !1, r === _1 && (this.cropping = !0, vn(this.dragBox, Ts)));
37057
+ }) !== !1 && (e.preventDefault(), this.action = r, this.cropping = !1, r === _1 && (this.cropping = !0, hn(this.dragBox, Ts)));
37053
37058
  }
37054
37059
  },
37055
37060
  cropMove: function(e) {
@@ -37195,7 +37200,7 @@ var _E = {
37195
37200
  }, EE = {
37196
37201
  // Show the crop box manually
37197
37202
  crop: function() {
37198
- return this.ready && !this.cropped && !this.disabled && (this.cropped = !0, this.limitCropBox(!0, !0), this.options.modal && vn(this.dragBox, Ts), Ka(this.cropBox, Un), this.setCropBoxData(this.initialCropBoxData)), this;
37203
+ return this.ready && !this.cropped && !this.disabled && (this.cropped = !0, this.limitCropBox(!0, !0), this.options.modal && hn(this.dragBox, Ts), Ka(this.cropBox, Un), this.setCropBoxData(this.initialCropBoxData)), this;
37199
37204
  },
37200
37205
  // Reset the image and crop box to their initial states
37201
37206
  reset: function() {
@@ -37208,7 +37213,7 @@ var _E = {
37208
37213
  top: 0,
37209
37214
  width: 0,
37210
37215
  height: 0
37211
- }), this.cropped = !1, this.renderCropBox(), this.limitCanvas(!0, !0), this.renderCanvas(), Ka(this.dragBox, Ts), vn(this.cropBox, Un)), this;
37216
+ }), this.cropped = !1, this.renderCropBox(), this.limitCanvas(!0, !0), this.renderCanvas(), Ka(this.dragBox, Ts), hn(this.cropBox, Un)), this;
37212
37217
  },
37213
37218
  /**
37214
37219
  * Replace the image's src and rebuild the cropper
@@ -37228,7 +37233,7 @@ var _E = {
37228
37233
  },
37229
37234
  // Disable (freeze) the cropper
37230
37235
  disable: function() {
37231
- return this.ready && !this.disabled && (this.disabled = !0, vn(this.cropper, Uv)), this;
37236
+ return this.ready && !this.disabled && (this.disabled = !0, hn(this.cropper, Uv)), this;
37232
37237
  },
37233
37238
  /**
37234
37239
  * Destroy the cropper and remove the instance from the image
@@ -37569,7 +37574,7 @@ var _E = {
37569
37574
  var t = this.element, n = this.url, a = t.crossOrigin, l = n;
37570
37575
  this.options.checkCrossOrigin && nh(n) && (a || (a = "anonymous"), l = ah(n)), this.crossOrigin = a, this.crossOriginUrl = l;
37571
37576
  var r = document.createElement("img");
37572
- a && (r.crossOrigin = a), r.src = l || n, r.alt = t.alt || "The image to crop", this.image = r, r.onload = this.start.bind(this), r.onerror = this.stop.bind(this), vn(r, Yv), t.parentNode.insertBefore(r, t.nextSibling);
37577
+ a && (r.crossOrigin = a), r.src = l || n, r.alt = t.alt || "The image to crop", this.image = r, r.onload = this.start.bind(this), r.onerror = this.stop.bind(this), hn(r, Yv), t.parentNode.insertBefore(r, t.nextSibling);
37573
37578
  }
37574
37579
  }, {
37575
37580
  key: "start",
@@ -37605,7 +37610,7 @@ var _E = {
37605
37610
  var t = this.element, n = this.options, a = this.image, l = t.parentNode, r = document.createElement("div");
37606
37611
  r.innerHTML = oE;
37607
37612
  var i = r.querySelector(".".concat(Nt, "-container")), o = i.querySelector(".".concat(Nt, "-canvas")), s = i.querySelector(".".concat(Nt, "-drag-box")), c = i.querySelector(".".concat(Nt, "-crop-box")), u = c.querySelector(".".concat(Nt, "-face"));
37608
- this.container = l, this.cropper = i, this.canvas = o, this.dragBox = s, this.cropBox = c, this.viewBox = i.querySelector(".".concat(Nt, "-view-box")), this.face = u, o.appendChild(a), vn(t, Un), l.insertBefore(i, t.nextSibling), Ka(a, Yv), this.initPreview(), this.bind(), n.initialAspectRatio = Math.max(0, n.initialAspectRatio) || NaN, n.aspectRatio = Math.max(0, n.aspectRatio) || NaN, n.viewMode = Math.max(0, Math.min(3, Math.round(n.viewMode))) || 0, vn(c, Un), n.guides || vn(c.getElementsByClassName("".concat(Nt, "-dashed")), Un), n.center || vn(c.getElementsByClassName("".concat(Nt, "-center")), Un), n.background && vn(i, "".concat(Nt, "-bg")), n.highlight || vn(u, QI), n.cropBoxMovable && (vn(u, Oc), oo(u, io, Df)), n.cropBoxResizable || (vn(c.getElementsByClassName("".concat(Nt, "-line")), Un), vn(c.getElementsByClassName("".concat(Nt, "-point")), Un)), this.render(), this.ready = !0, this.setDragMode(n.dragMode), n.autoCrop && this.crop(), this.setData(n.data), On(n.ready) && da(t, Kv, n.ready, {
37613
+ this.container = l, this.cropper = i, this.canvas = o, this.dragBox = s, this.cropBox = c, this.viewBox = i.querySelector(".".concat(Nt, "-view-box")), this.face = u, o.appendChild(a), hn(t, Un), l.insertBefore(i, t.nextSibling), Ka(a, Yv), this.initPreview(), this.bind(), n.initialAspectRatio = Math.max(0, n.initialAspectRatio) || NaN, n.aspectRatio = Math.max(0, n.aspectRatio) || NaN, n.viewMode = Math.max(0, Math.min(3, Math.round(n.viewMode))) || 0, hn(c, Un), n.guides || hn(c.getElementsByClassName("".concat(Nt, "-dashed")), Un), n.center || hn(c.getElementsByClassName("".concat(Nt, "-center")), Un), n.background && hn(i, "".concat(Nt, "-bg")), n.highlight || hn(u, QI), n.cropBoxMovable && (hn(u, Oc), oo(u, io, Df)), n.cropBoxResizable || (hn(c.getElementsByClassName("".concat(Nt, "-line")), Un), hn(c.getElementsByClassName("".concat(Nt, "-point")), Un)), this.render(), this.ready = !0, this.setDragMode(n.dragMode), n.autoCrop && this.crop(), this.setData(n.data), On(n.ready) && da(t, Kv, n.ready, {
37609
37614
  once: !0
37610
37615
  }), Jr(t, Kv);
37611
37616
  }
@@ -40898,7 +40903,7 @@ const j5 = { class: "d-flex align-center" }, qV = /* @__PURE__ */ Xe({
40898
40903
  (B(!0), de(Me, null, et(D(i).filteredItems.value, (w) => (B(), te(ct, {
40899
40904
  key: `${w.id ?? D(l)(w, n.value.itemValue)}-table-list-item`,
40900
40905
  value: D(l)(w, n.value.itemValue)
40901
- }, yn({
40906
+ }, mn({
40902
40907
  default: R(() => [
40903
40908
  o.value != null ? (B(), te(Ol, { key: 0 }, {
40904
40909
  default: R(() => [
@@ -41146,7 +41151,7 @@ const j5 = { class: "d-flex align-center" }, qV = /* @__PURE__ */ Xe({
41146
41151
  }
41147
41152
  });
41148
41153
  export {
41149
- hn as BTDateFormat,
41154
+ gn as BTDateFormat,
41150
41155
  ZV as BTDialogDate,
41151
41156
  GV as BTDialogNumber,
41152
41157
  qV as BTDialogSelect,