beeple-toolkit 1.0.10 → 1.0.11

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,4 +1,4 @@
1
- import { createElementBlock as m, openBlock as s, createElementVNode as k, defineComponent as F, computed as w, createCommentVNode as x, normalizeStyle as le, createBlock as A, resolveDynamicComponent as xt, normalizeClass as B, ref as C, toDisplayString as V, withCtx as X, renderSlot as ve, Fragment as K, renderList as pe, createVNode as O, useSlots as Yt, onUnmounted as Xe, Teleport as Ye, Transition as Qe, createTextVNode as yn, nextTick as ie, onMounted as je, unref as Ce, withKeys as Pe, watch as We, withModifiers as Te, mergeProps as Gn, onBeforeUnmount as $t, TransitionGroup as Xn, withDirectives as Qn, vShow as Jn, createSlots as Un } from "vue";
1
+ import { createElementBlock as m, openBlock as s, createElementVNode as k, defineComponent as F, computed as w, createCommentVNode as x, normalizeStyle as le, createBlock as A, resolveDynamicComponent as xt, normalizeClass as B, ref as C, toDisplayString as V, withCtx as X, renderSlot as ve, Fragment as K, renderList as pe, createVNode as O, useSlots as Yt, onUnmounted as Xe, Teleport as Ye, Transition as Qe, createTextVNode as yn, nextTick as ie, onMounted as je, unref as Se, withKeys as Pe, watch as We, withModifiers as Te, mergeProps as Gn, onBeforeUnmount as $t, TransitionGroup as Xn, withDirectives as Qn, vShow as Jn, createSlots as Un } from "vue";
2
2
  import { defineStore as Kn } from "pinia";
3
3
  const Zn = {
4
4
  xmlns: "http://www.w3.org/2000/svg",
@@ -1873,7 +1873,7 @@ const ce = {
1873
1873
  // 0 to 999, -0 to -999
1874
1874
  fourDigitsSigned: /^-?\d{1,4}/
1875
1875
  // 0 to 9999, -0 to -9999
1876
- }, Oe = {
1876
+ }, _e = {
1877
1877
  basicOptionalMinutes: /^([+-])(\d{2})(\d{2})?|Z/,
1878
1878
  basic: /^([+-])(\d{2})(\d{2})|Z/,
1879
1879
  basicOptionalSeconds: /^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,
@@ -1893,7 +1893,7 @@ function se(e, t) {
1893
1893
  rest: t.slice(n[0].length)
1894
1894
  } : null;
1895
1895
  }
1896
- function _e(e, t) {
1896
+ function Ve(e, t) {
1897
1897
  const n = t.match(e);
1898
1898
  if (!n)
1899
1899
  return null;
@@ -3051,25 +3051,25 @@ class ui extends Z {
3051
3051
  parse(t, n) {
3052
3052
  switch (n) {
3053
3053
  case "X":
3054
- return _e(
3055
- Oe.basicOptionalMinutes,
3054
+ return Ve(
3055
+ _e.basicOptionalMinutes,
3056
3056
  t
3057
3057
  );
3058
3058
  case "XX":
3059
- return _e(Oe.basic, t);
3059
+ return Ve(_e.basic, t);
3060
3060
  case "XXXX":
3061
- return _e(
3062
- Oe.basicOptionalSeconds,
3061
+ return Ve(
3062
+ _e.basicOptionalSeconds,
3063
3063
  t
3064
3064
  );
3065
3065
  case "XXXXX":
3066
- return _e(
3067
- Oe.extendedOptionalSeconds,
3066
+ return Ve(
3067
+ _e.extendedOptionalSeconds,
3068
3068
  t
3069
3069
  );
3070
3070
  case "XXX":
3071
3071
  default:
3072
- return _e(Oe.extended, t);
3072
+ return Ve(_e.extended, t);
3073
3073
  }
3074
3074
  }
3075
3075
  set(t, n, a) {
@@ -3085,25 +3085,25 @@ class di extends Z {
3085
3085
  parse(t, n) {
3086
3086
  switch (n) {
3087
3087
  case "x":
3088
- return _e(
3089
- Oe.basicOptionalMinutes,
3088
+ return Ve(
3089
+ _e.basicOptionalMinutes,
3090
3090
  t
3091
3091
  );
3092
3092
  case "xx":
3093
- return _e(Oe.basic, t);
3093
+ return Ve(_e.basic, t);
3094
3094
  case "xxxx":
3095
- return _e(
3096
- Oe.basicOptionalSeconds,
3095
+ return Ve(
3096
+ _e.basicOptionalSeconds,
3097
3097
  t
3098
3098
  );
3099
3099
  case "xxxxx":
3100
- return _e(
3101
- Oe.extendedOptionalSeconds,
3100
+ return Ve(
3101
+ _e.extendedOptionalSeconds,
3102
3102
  t
3103
3103
  );
3104
3104
  case "xxx":
3105
3105
  default:
3106
- return _e(Oe.extended, t);
3106
+ return Ve(_e.extended, t);
3107
3107
  }
3108
3108
  }
3109
3109
  set(t, n, a) {
@@ -7142,7 +7142,7 @@ function ze(e, t) {
7142
7142
  return ge(r, "EEEEEE", { locale: e });
7143
7143
  });
7144
7144
  }
7145
- const Ve = {
7145
+ const Ce = {
7146
7146
  "de-DE": {
7147
7147
  weekStartsOn: 1,
7148
7148
  get weekDays() {
@@ -7152,7 +7152,9 @@ const Ve = {
7152
7152
  previousYear: "Vorheriges Jahr",
7153
7153
  previousMonth: "Vorheriger Monat",
7154
7154
  nextMonth: "Nächster Monat",
7155
- nextYear: "Nächstes Jahr"
7155
+ nextYear: "Nächstes Jahr",
7156
+ previous: "Zurück",
7157
+ next: "Weiter"
7156
7158
  },
7157
7159
  navigation: {
7158
7160
  weekTitle: "Woche",
@@ -7175,7 +7177,9 @@ const Ve = {
7175
7177
  previousYear: "Previous year",
7176
7178
  previousMonth: "Previous month",
7177
7179
  nextMonth: "Next month",
7178
- nextYear: "Next year"
7180
+ nextYear: "Next year",
7181
+ previous: "Previous",
7182
+ next: "Next"
7179
7183
  },
7180
7184
  navigation: {
7181
7185
  weekTitle: "Week",
@@ -7198,7 +7202,9 @@ const Ve = {
7198
7202
  previousYear: "Previous year",
7199
7203
  previousMonth: "Previous month",
7200
7204
  nextMonth: "Next month",
7201
- nextYear: "Next year"
7205
+ nextYear: "Next year",
7206
+ previous: "Previous",
7207
+ next: "Next"
7202
7208
  },
7203
7209
  navigation: {
7204
7210
  weekTitle: "Week",
@@ -7221,7 +7227,9 @@ const Ve = {
7221
7227
  previousYear: "Año anterior",
7222
7228
  previousMonth: "Mes anterior",
7223
7229
  nextMonth: "Mes siguiente",
7224
- nextYear: "Año siguiente"
7230
+ nextYear: "Año siguiente",
7231
+ previous: "Anterior",
7232
+ next: "Siguiente"
7225
7233
  },
7226
7234
  navigation: {
7227
7235
  weekTitle: "Semana",
@@ -7244,7 +7252,9 @@ const Ve = {
7244
7252
  previousYear: "Année précédente",
7245
7253
  previousMonth: "Mois précédent",
7246
7254
  nextMonth: "Mois suivant",
7247
- nextYear: "Année suivante"
7255
+ nextYear: "Année suivante",
7256
+ previous: "Précédent",
7257
+ next: "Suivant"
7248
7258
  },
7249
7259
  navigation: {
7250
7260
  weekTitle: "Semaine",
@@ -7267,7 +7277,9 @@ const Ve = {
7267
7277
  previousYear: "Anno precedente",
7268
7278
  previousMonth: "Mese precedente",
7269
7279
  nextMonth: "Mese successivo",
7270
- nextYear: "Anno successivo"
7280
+ nextYear: "Anno successivo",
7281
+ previous: "Precedente",
7282
+ next: "Successivo"
7271
7283
  },
7272
7284
  navigation: {
7273
7285
  weekTitle: "Settimana",
@@ -7290,7 +7302,9 @@ const Ve = {
7290
7302
  previousYear: "Vorig jaar",
7291
7303
  previousMonth: "Vorige maand",
7292
7304
  nextMonth: "Volgende maand",
7293
- nextYear: "Volgend jaar"
7305
+ nextYear: "Volgend jaar",
7306
+ previous: "Vorige",
7307
+ next: "Volgende"
7294
7308
  },
7295
7309
  navigation: {
7296
7310
  weekTitle: "Week",
@@ -7313,7 +7327,9 @@ const Ve = {
7313
7327
  previousYear: "Poprzedni rok",
7314
7328
  previousMonth: "Poprzedni miesiąc",
7315
7329
  nextMonth: "Następny miesiąc",
7316
- nextYear: "Następny rok"
7330
+ nextYear: "Następny rok",
7331
+ previous: "Poprzedni",
7332
+ next: "Następny"
7317
7333
  },
7318
7334
  navigation: {
7319
7335
  weekTitle: "Tydzień",
@@ -7336,7 +7352,9 @@ const Ve = {
7336
7352
  previousYear: "Ano anterior",
7337
7353
  previousMonth: "Mês anterior",
7338
7354
  nextMonth: "Próximo mês",
7339
- nextYear: "Próximo ano"
7355
+ nextYear: "Próximo ano",
7356
+ previous: "Anterior",
7357
+ next: "Próximo"
7340
7358
  },
7341
7359
  navigation: {
7342
7360
  weekTitle: "Semana",
@@ -7359,7 +7377,9 @@ const Ve = {
7359
7377
  previousYear: "Попередній рік",
7360
7378
  previousMonth: "Попередній місяць",
7361
7379
  nextMonth: "Наступний місяць",
7362
- nextYear: "Наступний рік"
7380
+ nextYear: "Наступний рік",
7381
+ previous: "Попередній",
7382
+ next: "Наступний"
7363
7383
  },
7364
7384
  navigation: {
7365
7385
  weekTitle: "Тиждень",
@@ -7382,7 +7402,9 @@ const Ve = {
7382
7402
  previousYear: "上一年",
7383
7403
  previousMonth: "上个月",
7384
7404
  nextMonth: "下个月",
7385
- nextYear: "下一年"
7405
+ nextYear: "下一年",
7406
+ previous: "上一页",
7407
+ next: "下一页"
7386
7408
  },
7387
7409
  navigation: {
7388
7410
  weekTitle: "周",
@@ -7409,17 +7431,19 @@ const Ve = {
7409
7431
  },
7410
7432
  emits: ["previousYear", "previousMonth", "nextMonth", "nextYear", "selectMonth", "selectYear"],
7411
7433
  setup(e, { emit: t }) {
7412
- const n = t;
7413
- return (a, o) => (s(), m("div", Hd, [
7414
- O(Re, {
7415
- title: Ce(Ve)[e.locale].tooltips.previousYear
7416
- }, {
7434
+ const n = e, a = w(
7435
+ () => n.view === "year" ? Ce[n.locale].tooltips.previous : Ce[n.locale].tooltips.previousYear
7436
+ ), o = w(
7437
+ () => n.view === "year" ? Ce[n.locale].tooltips.next : Ce[n.locale].tooltips.nextYear
7438
+ ), i = t;
7439
+ return (r, l) => (s(), m("div", Hd, [
7440
+ O(Re, { title: a.value }, {
7417
7441
  default: X(() => [
7418
7442
  O(ue, {
7419
7443
  type: "tertiary",
7420
7444
  shape: "square",
7421
7445
  size: "x-small",
7422
- onClick: o[0] || (o[0] = (i) => n("previousYear"))
7446
+ onClick: l[0] || (l[0] = (u) => i("previousYear"))
7423
7447
  }, {
7424
7448
  textIcon: X(() => [
7425
7449
  O(U, { icon: "arrowhead-left-outline" })
@@ -7431,14 +7455,14 @@ const Ve = {
7431
7455
  }, 8, ["title"]),
7432
7456
  e.view === "calendar" ? (s(), A(Re, {
7433
7457
  key: 0,
7434
- title: Ce(Ve)[e.locale].tooltips.previousMonth
7458
+ title: Se(Ce)[e.locale].tooltips.previousMonth
7435
7459
  }, {
7436
7460
  default: X(() => [
7437
7461
  O(ue, {
7438
7462
  type: "tertiary",
7439
7463
  shape: "square",
7440
7464
  size: "x-small",
7441
- onClick: o[1] || (o[1] = (i) => n("previousMonth"))
7465
+ onClick: l[1] || (l[1] = (u) => i("previousMonth"))
7442
7466
  }, {
7443
7467
  textIcon: X(() => [
7444
7468
  O(U, { icon: "arrow-ios-back" })
@@ -7454,32 +7478,32 @@ const Ve = {
7454
7478
  label: e.month,
7455
7479
  type: "tertiary",
7456
7480
  size: "small",
7457
- onClick: o[2] || (o[2] = (i) => n("selectMonth"))
7481
+ onClick: l[2] || (l[2] = (u) => i("selectMonth"))
7458
7482
  }, null, 8, ["label"]),
7459
7483
  O(ue, {
7460
7484
  label: e.year,
7461
7485
  type: "tertiary",
7462
7486
  size: "small",
7463
- onClick: o[3] || (o[3] = (i) => n("selectYear"))
7487
+ onClick: l[3] || (l[3] = (u) => i("selectYear"))
7464
7488
  }, null, 8, ["label"])
7465
7489
  ], 64)) : e.view === "month" ? (s(), A(ue, {
7466
7490
  key: 1,
7467
7491
  label: e.year,
7468
7492
  type: "tertiary",
7469
7493
  size: "small",
7470
- onClick: o[4] || (o[4] = (i) => n("selectYear"))
7494
+ onClick: l[4] || (l[4] = (u) => i("selectYear"))
7471
7495
  }, null, 8, ["label"])) : (s(), m("span", Nd, V(e.year), 1))
7472
7496
  ]),
7473
7497
  e.view === "calendar" ? (s(), A(Re, {
7474
7498
  key: 1,
7475
- title: Ce(Ve)[e.locale].tooltips.nextMonth
7499
+ title: Se(Ce)[e.locale].tooltips.nextMonth
7476
7500
  }, {
7477
7501
  default: X(() => [
7478
7502
  O(ue, {
7479
7503
  type: "tertiary",
7480
7504
  shape: "square",
7481
7505
  size: "x-small",
7482
- onClick: o[5] || (o[5] = (i) => n("nextMonth"))
7506
+ onClick: l[5] || (l[5] = (u) => i("nextMonth"))
7483
7507
  }, {
7484
7508
  textIcon: X(() => [
7485
7509
  O(U, { icon: "arrow-ios-forward-outline" })
@@ -7489,15 +7513,13 @@ const Ve = {
7489
7513
  ]),
7490
7514
  _: 1
7491
7515
  }, 8, ["title"])) : x("", !0),
7492
- O(Re, {
7493
- title: Ce(Ve)[e.locale].tooltips.nextYear
7494
- }, {
7516
+ O(Re, { title: o.value }, {
7495
7517
  default: X(() => [
7496
7518
  O(ue, {
7497
7519
  type: "tertiary",
7498
7520
  shape: "square",
7499
7521
  size: "x-small",
7500
- onClick: o[6] || (o[6] = (i) => n("nextYear"))
7522
+ onClick: l[6] || (l[6] = (u) => i("nextYear"))
7501
7523
  }, {
7502
7524
  textIcon: X(() => [
7503
7525
  O(U, { icon: "arrowhead-right-outline" })
@@ -7739,7 +7761,7 @@ const Zd = { class: "toolkit-datepicker__calendar-section" }, ec = {
7739
7761
  },
7740
7762
  emits: ["update:inputValue", "update:inputEndValue", "inputEnter", "inputEndEnter", "inputBlur", "inputEndBlur", "selectDate"],
7741
7763
  setup(e, { emit: t }) {
7742
- const n = e, a = t, o = w(() => Ve[n.locale].weekDays), i = (c) => {
7764
+ const n = e, a = t, o = w(() => Ce[n.locale].weekDays), i = (c) => {
7743
7765
  const { key: d, ctrlKey: h, metaKey: v } = c, b = c.target;
7744
7766
  if (!([
7745
7767
  "Backspace",
@@ -8076,7 +8098,7 @@ const Zd = { class: "toolkit-datepicker__calendar-section" }, ec = {
8076
8098
  },
8077
8099
  emits: ["selectThisWeek", "selectPreviousWeek", "selectNextWeek", "selectThisMonth", "selectPreviousMonth", "selectNextMonth"],
8078
8100
  setup(e, { emit: t }) {
8079
- const n = e, a = t, o = w(() => Ve[n.locale]);
8101
+ const n = e, a = t, o = w(() => Ce[n.locale]);
8080
8102
  return (i, r) => (s(), m("div", pc, [
8081
8103
  k("div", wc, [
8082
8104
  k("div", yc, V(o.value.navigation.weekTitle), 1),
@@ -8147,13 +8169,13 @@ const Zd = { class: "toolkit-datepicker__calendar-section" }, ec = {
8147
8169
  const n = e, a = t, o = w(() => _t(n.timezone)), i = C(_t(n.timezone)), r = C(""), l = C(""), u = C(null), c = C(null), d = C(null), h = C(n.defaultStartHours), v = C(n.defaultStartMinutes), b = C(n.defaultEndHours), p = C(n.defaultEndMinutes), g = C(!1), y = C(!1), P = C("calendar"), S = C(St(_t(n.timezone)) - 6), T = w(
8148
8170
  () => Array.from(
8149
8171
  { length: 12 },
8150
- (W, R) => ge(new Date(2024, R, 1), "MMM", { locale: Ve[n.locale].dateFnsLocale })
8172
+ (W, R) => ge(new Date(2024, R, 1), "MMM", { locale: Ce[n.locale].dateFnsLocale })
8151
8173
  )
8152
8174
  ), z = w(() => Array.from({ length: 12 }, (W, R) => S.value + R)), M = w(() => P.value === "year" ? `${S.value} – ${S.value + 11}` : ge(i.value, "yyyy")), $ = w(() => ["single-time", "single-time-range", "range-time"].includes(n.variant)), _ = w(() => ["range", "range-time"].includes(n.variant)), Y = w(() => n.isShowActions !== void 0 ? n.isShowActions : n.variant !== "single"), te = w(() => _.value ? c.value ? d.value ? {
8153
8175
  start: ge(c.value, "dd/MM/yyyy"),
8154
8176
  end: ge(d.value, "dd/MM/yyyy")
8155
8177
  } : { start: ge(c.value, "dd/MM/yyyy"), end: "" } : { start: "", end: "" } : u.value ? ge(u.value, "dd/MM/yyyy") : ""), we = w(() => {
8156
- const W = ft(i.value), R = ht(i.value), N = Ve[n.locale].weekStartsOn, He = De(W, { weekStartsOn: N }), f = gt(R, { weekStartsOn: N });
8178
+ const W = ft(i.value), R = ht(i.value), N = Ce[n.locale].weekStartsOn, He = De(W, { weekStartsOn: N }), f = gt(R, { weekStartsOn: N });
8157
8179
  return Sa({ start: He, end: f }).map((E) => ({
8158
8180
  date: E,
8159
8181
  day: ge(E, "d"),
@@ -8243,9 +8265,9 @@ const Zd = { class: "toolkit-datepicker__calendar-section" }, ec = {
8243
8265
  i.value = $i(i.value, W), P.value = "calendar";
8244
8266
  }, at = (W) => {
8245
8267
  i.value = Pi(i.value, W), P.value = "calendar";
8246
- }, Se = (W, R, N) => {
8268
+ }, Oe = (W, R, N) => {
8247
8269
  _.value && (c.value = R(W), d.value = N(W), i.value = W, xe());
8248
- }, Tt = () => Se(o.value, De, gt), Ae = () => Se(Ti(o.value), De, gt), Dt = () => Se($n(o.value, 1), De, gt), ct = () => Se(o.value, ft, ht), Wt = () => Se(nn(o.value), ft, ht), Ct = () => Se(wt(o.value, 1), ft, ht);
8270
+ }, Tt = () => Oe(o.value, De, gt), Ae = () => Oe(Ti(o.value), De, gt), Dt = () => Oe($n(o.value, 1), De, gt), ct = () => Oe(o.value, ft, ht), Wt = () => Oe(nn(o.value), ft, ht), Ct = () => Oe(wt(o.value, 1), ft, ht);
8249
8271
  return We(
8250
8272
  () => n.modelValue,
8251
8273
  (W) => {
@@ -8265,7 +8287,7 @@ const Zd = { class: "toolkit-datepicker__calendar-section" }, ec = {
8265
8287
  }, null, 8, ["locale"])) : x("", !0),
8266
8288
  k("div", $c, [
8267
8289
  O(Rd, {
8268
- month: Ce(ge)(i.value, "MMMM", { locale: Ce(Ve)[e.locale].dateFnsLocale }),
8290
+ month: Se(ge)(i.value, "MMMM", { locale: Se(Ce)[e.locale].dateFnsLocale }),
8269
8291
  year: M.value,
8270
8292
  view: P.value,
8271
8293
  locale: e.locale,
@@ -8280,7 +8302,7 @@ const Zd = { class: "toolkit-datepicker__calendar-section" }, ec = {
8280
8302
  k("div", Tc, [
8281
8303
  (s(!0), m(K, null, pe(T.value, (N, He) => (s(), A(ue, {
8282
8304
  key: He,
8283
- type: He === Ce(xo)(i.value) ? "primary" : "tertiary",
8305
+ type: He === Se(xo)(i.value) ? "primary" : "tertiary",
8284
8306
  size: "small",
8285
8307
  label: N,
8286
8308
  onClick: (f) => nt(He)
@@ -8300,7 +8322,7 @@ const Zd = { class: "toolkit-datepicker__calendar-section" }, ec = {
8300
8322
  (s(!0), m(K, null, pe(z.value, (N) => (s(), A(ue, {
8301
8323
  label: String(N),
8302
8324
  key: N,
8303
- type: N === Ce(St)(i.value) ? "primary" : "tertiary",
8325
+ type: N === Se(St)(i.value) ? "primary" : "tertiary",
8304
8326
  size: "small",
8305
8327
  onClick: (He) => at(N)
8306
8328
  }, null, 8, ["label", "type", "onClick"]))), 128))
@@ -8369,7 +8391,7 @@ const Zd = { class: "toolkit-datepicker__calendar-section" }, ec = {
8369
8391
  emits: ["update:modelValue", "change"],
8370
8392
  setup(e, { emit: t }) {
8371
8393
  const n = e, a = t, o = C(null), i = C(null), r = C(!1), l = C({}), u = C(null), c = w(() => {
8372
- const T = Ve[n.locale].dateFnsLocale;
8394
+ const T = Ce[n.locale].dateFnsLocale;
8373
8395
  return Kd(n.modelValue, n.variant, T);
8374
8396
  }), d = async () => {
8375
8397
  r.value = !r.value, r.value ? (await ie(), S(), await ie(), S(), window.addEventListener("scroll", S, !0), window.addEventListener("resize", S), document.addEventListener("mousedown", g, !0), document.addEventListener("click", y, !0), document.addEventListener("keydown", v)) : P();
@@ -8889,7 +8911,7 @@ const Zd = { class: "toolkit-datepicker__calendar-section" }, ec = {
8889
8911
  if (typeof f == "object" && f !== null && "onClick" in f)
8890
8912
  return f.onClick;
8891
8913
  }, G = (f) => {
8892
- const D = Ce(f);
8914
+ const D = Se(f);
8893
8915
  return T.value.find((E) => J(E) === D);
8894
8916
  }, oe = (f) => {
8895
8917
  const D = G(f);
@@ -8937,7 +8959,7 @@ const Zd = { class: "toolkit-datepicker__calendar-section" }, ec = {
8937
8959
  }, at = (f) => {
8938
8960
  const D = J(f);
8939
8961
  return n.isMulti ? Array.isArray(n.modelValue) && n.modelValue.some((E) => E === D) : n.modelValue === D;
8940
- }, Se = (f) => {
8962
+ }, Oe = (f) => {
8941
8963
  n.disabled || (d.value ? Ae() : Tt(f));
8942
8964
  }, Tt = async (f) => {
8943
8965
  if (!n.disabled) {
@@ -9033,7 +9055,7 @@ const Zd = { class: "toolkit-datepicker__calendar-section" }, ec = {
9033
9055
  getTagLabel: oe,
9034
9056
  getTagAvatar: Me,
9035
9057
  getTagLeadingIcon: xe,
9036
- onToggle: Se,
9058
+ onToggle: Oe,
9037
9059
  onClose: Ae,
9038
9060
  onRemoveTag: ut,
9039
9061
  onClear: Dt
@@ -9175,13 +9197,13 @@ const Zd = { class: "toolkit-datepicker__calendar-section" }, ec = {
9175
9197
  setTimeout(J, 10);
9176
9198
  return;
9177
9199
  }
9178
- const Me = G - I.bottom - 20, xe = I.top - 20, Ue = Me < 150 && xe > Me, tt = (n.searchable ? 44 : 0) + 40 + 16, nt = Math.max(tt, Math.min(fe, Ue ? xe : Me)), at = I.width, Se = Math.max(
9200
+ const Me = G - I.bottom - 20, xe = I.top - 20, Ue = Me < 150 && xe > Me, tt = (n.searchable ? 44 : 0) + 40 + 16, nt = Math.max(tt, Math.min(fe, Ue ? xe : Me)), at = I.width, Oe = Math.max(
9179
9201
  10,
9180
9202
  Math.min(I.left, oe - at - 10)
9181
9203
  );
9182
9204
  p.value = {
9183
9205
  position: "fixed",
9184
- left: `${Se}px`,
9206
+ left: `${Oe}px`,
9185
9207
  width: `${I.width}px`,
9186
9208
  maxHeight: `${nt}px`,
9187
9209
  zIndex: "9999",
@@ -10263,8 +10285,8 @@ const Zd = { class: "toolkit-datepicker__calendar-section" }, ec = {
10263
10285
  title: c.title,
10264
10286
  message: c.message,
10265
10287
  type: c.type || "info",
10266
- duration: c.duration || 3e3,
10267
- persistent: c.persistent ?? !0,
10288
+ duration: c.duration || 6e3,
10289
+ persistent: c.persistent ?? !1,
10268
10290
  withIcon: c.withIcon ?? !0,
10269
10291
  allowHtml: c.allowHtml ?? !1,
10270
10292
  actions: c.actions
@@ -10320,17 +10342,17 @@ const Zd = { class: "toolkit-datepicker__calendar-section" }, ec = {
10320
10342
  setup(e) {
10321
10343
  const t = ih();
10322
10344
  return (n, a) => (s(), A(Ye, { to: "body" }, [
10323
- Ce(t).toasts.length > 0 ? (s(), m("div", rh, [
10345
+ Se(t).toasts.length > 0 ? (s(), m("div", rh, [
10324
10346
  O(Xn, {
10325
10347
  name: "toast",
10326
10348
  tag: "div",
10327
10349
  class: "toolkit-toast-container__list"
10328
10350
  }, {
10329
10351
  default: X(() => [
10330
- (s(!0), m(K, null, pe(Ce(t).toasts, (o) => (s(), A(oh, {
10352
+ (s(!0), m(K, null, pe(Se(t).toasts, (o) => (s(), A(oh, {
10331
10353
  key: o.id,
10332
10354
  toast: o,
10333
- onClose: Ce(t).removeToast
10355
+ onClose: Se(t).removeToast
10334
10356
  }, null, 8, ["toast", "onClose"]))), 128))
10335
10357
  ]),
10336
10358
  _: 1
@@ -10472,7 +10494,7 @@ const Zd = { class: "toolkit-datepicker__calendar-section" }, ec = {
10472
10494
  color: "#43454E"
10473
10495
  }, null, 8, ["icon"])) : (s(), A(U, {
10474
10496
  key: 1,
10475
- "custom-svg-component": Ce(bn),
10497
+ "custom-svg-component": Se(bn),
10476
10498
  size: "10",
10477
10499
  color: "#43454E"
10478
10500
  }, null, 8, ["custom-svg-component"])),