@namba_one/ui-kit-2 1.0.150 → 1.0.151

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.
package/dist/index.es.js CHANGED
@@ -1,7 +1,7 @@
1
1
  var Dv = Object.defineProperty;
2
2
  var Iv = (n, e, t) => e in n ? Dv(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
3
3
  var Te = (n, e, t) => Iv(n, typeof e != "symbol" ? e + "" : e, t);
4
- import { defineComponent as ue, useCssModule as hn, computed as R, createBlock as re, openBlock as v, resolveDynamicComponent as _r, mergeProps as tt, withCtx as P, renderSlot as ae, createElementBlock as M, normalizeClass as y, createVNode as V, unref as p, useTemplateRef as Fi, watch as Ze, ref as U, createCommentVNode as N, withDirectives as _n, createElementVNode as q, vShow as io, normalizeStyle as Ve, h as Ro, Transition as dn, useSlots as Ur, toHandlers as Ni, useModel as ht, mergeModels as mt, createTextVNode as we, toDisplayString as me, withModifiers as nr, onMounted as pt, resolveComponent as vs, TransitionGroup as lu, Fragment as $e, renderList as Le, provide as oa, onBeforeUnmount as zi, Teleport as ia, inject as Hi, isRef as vr, onUnmounted as Cr, readonly as Lv, toRef as dr, nextTick as bt, getCurrentScope as Uh, onScopeDispose as Wh, vModelText as sa, getCurrentInstance as uu, reactive as ji, createSlots as Yt, normalizeProps as Ht, guardReactiveProps as ln, render as Od, useAttrs as Pv, toValue as Rv, onBeforeUpdate as Fv, withKeys as Nv, useId as qh, resolveDirective as zv, vModelDynamic as Hv } from "vue";
4
+ import { defineComponent as ue, useCssModule as hn, computed as R, createBlock as re, openBlock as v, resolveDynamicComponent as _r, mergeProps as tt, withCtx as P, renderSlot as ae, createElementBlock as M, normalizeClass as y, createVNode as V, unref as p, useTemplateRef as Fi, watch as Ze, ref as U, createCommentVNode as N, withDirectives as _n, createElementVNode as q, vShow as io, normalizeStyle as Ye, h as Ro, Transition as dn, useSlots as Ur, toHandlers as Ni, useModel as ht, mergeModels as mt, createTextVNode as we, toDisplayString as me, withModifiers as nr, onMounted as pt, resolveComponent as vs, TransitionGroup as lu, Fragment as $e, renderList as Le, provide as oa, onBeforeUnmount as zi, Teleport as ia, inject as Hi, isRef as vr, onUnmounted as Cr, readonly as Lv, toRef as dr, nextTick as bt, getCurrentScope as Uh, onScopeDispose as Wh, vModelText as sa, getCurrentInstance as uu, reactive as ji, createSlots as Yt, normalizeProps as Ht, guardReactiveProps as ln, render as Od, useAttrs as Pv, toValue as Rv, onBeforeUpdate as Fv, withKeys as Nv, useId as qh, resolveDirective as zv, vModelDynamic as Hv } from "vue";
5
5
  const jv = /* @__PURE__ */ ue({
6
6
  __name: "TheText",
7
7
  props: {
@@ -262,7 +262,7 @@ const Ls = (n) => `${Number(n / 12).toFixed(3)}rem`, jg = /* @__PURE__ */ ue({
262
262
  }));
263
263
  return (o, i) => (v(), M("div", {
264
264
  class: y(t.value),
265
- style: Ve(r.value)
265
+ style: Ye(r.value)
266
266
  }, i[0] || (i[0] = [
267
267
  q("svg", {
268
268
  width: "48",
@@ -409,7 +409,7 @@ const rs = {
409
409
  }, [
410
410
  (v(), M("svg", {
411
411
  class: y(t.value),
412
- style: Ve(r.value)
412
+ style: Ye(r.value)
413
413
  }, [
414
414
  q("use", {
415
415
  "xlink:href": `#${o.name}`
@@ -1157,7 +1157,7 @@ const Tb = /* @__PURE__ */ ue({
1157
1157
  ref: t,
1158
1158
  key: r.value,
1159
1159
  class: y(o.value),
1160
- style: Ve({ width: r.value })
1160
+ style: Ye({ width: r.value })
1161
1161
  }, a[0] || (a[0] = [
1162
1162
  q("span", null, null, -1)
1163
1163
  ]), 6));
@@ -3025,7 +3025,7 @@ const n0 = {
3025
3025
  setup(n) {
3026
3026
  return (e, t) => (v(), M("div", {
3027
3027
  class: y([e.$style.root, e.$style[`size_${e.size}`]]),
3028
- style: Ve({
3028
+ style: Ye({
3029
3029
  ...Number(e.opacity) !== 1 && { opacity: Number(e.opacity) }
3030
3030
  })
3031
3031
  }, null, 6));
@@ -4410,25 +4410,25 @@ class U1 {
4410
4410
  this.oldSelection.end === this.oldSelection.start ? De.RIGHT : De.LEFT;
4411
4411
  }
4412
4412
  }
4413
- function Ue(n, e) {
4414
- return new Ue.InputMask(n, e);
4413
+ function Ve(n, e) {
4414
+ return new Ve.InputMask(n, e);
4415
4415
  }
4416
4416
  function _p(n) {
4417
4417
  if (n == null) throw new Error("mask property should be defined");
4418
- return n instanceof RegExp ? Ue.MaskedRegExp : Fr(n) ? Ue.MaskedPattern : n === Date ? Ue.MaskedDate : n === Number ? Ue.MaskedNumber : Array.isArray(n) || n === Array ? Ue.MaskedDynamic : Ue.Masked && n.prototype instanceof Ue.Masked ? n : Ue.Masked && n instanceof Ue.Masked ? n.constructor : n instanceof Function ? Ue.MaskedFunction : (console.warn("Mask not found for mask", n), Ue.Masked);
4418
+ return n instanceof RegExp ? Ve.MaskedRegExp : Fr(n) ? Ve.MaskedPattern : n === Date ? Ve.MaskedDate : n === Number ? Ve.MaskedNumber : Array.isArray(n) || n === Array ? Ve.MaskedDynamic : Ve.Masked && n.prototype instanceof Ve.Masked ? n : Ve.Masked && n instanceof Ve.Masked ? n.constructor : n instanceof Function ? Ve.MaskedFunction : (console.warn("Mask not found for mask", n), Ve.Masked);
4419
4419
  }
4420
4420
  function Mi(n) {
4421
4421
  if (!n) throw new Error("Options in not defined");
4422
- if (Ue.Masked) {
4423
- if (n.prototype instanceof Ue.Masked) return {
4422
+ if (Ve.Masked) {
4423
+ if (n.prototype instanceof Ve.Masked) return {
4424
4424
  mask: n
4425
4425
  };
4426
4426
  const {
4427
4427
  mask: e = void 0,
4428
4428
  ...t
4429
- } = n instanceof Ue.Masked ? {
4429
+ } = n instanceof Ve.Masked ? {
4430
4430
  mask: n
4431
- } : qd(n) && n.mask instanceof Ue.Masked ? n : {};
4431
+ } : qd(n) && n.mask instanceof Ve.Masked ? n : {};
4432
4432
  if (e) {
4433
4433
  const r = e.mask;
4434
4434
  return {
@@ -4446,12 +4446,12 @@ function Mi(n) {
4446
4446
  };
4447
4447
  }
4448
4448
  function yr(n) {
4449
- if (Ue.Masked && n instanceof Ue.Masked) return n;
4449
+ if (Ve.Masked && n instanceof Ve.Masked) return n;
4450
4450
  const e = Mi(n), t = _p(e.mask);
4451
4451
  if (!t) throw new Error("Masked class is not found for provided mask " + e.mask + ", appropriate module needs to be imported manually before creating mask.");
4452
4452
  return e.mask === t && delete e.mask, e._mask && (e.mask = e._mask, delete e._mask), new t(e);
4453
4453
  }
4454
- Ue.createMask = yr;
4454
+ Ve.createMask = yr;
4455
4455
  class mu {
4456
4456
  /** */
4457
4457
  /** */
@@ -4490,7 +4490,7 @@ class mu {
4490
4490
  /** */
4491
4491
  /** */
4492
4492
  }
4493
- Ue.MaskElement = mu;
4493
+ Ve.MaskElement = mu;
4494
4494
  const Gd = 90, W1 = 89;
4495
4495
  class ua extends mu {
4496
4496
  /** HTMLElement to use mask on */
@@ -4533,7 +4533,7 @@ class ua extends mu {
4533
4533
  this.input.removeEventListener("keydown", this._onKeydown), this.input.removeEventListener("input", this._onInput), this.input.removeEventListener("beforeinput", this._onBeforeinput), this.input.removeEventListener("compositionend", this._onCompositionEnd), this.input.removeEventListener("drop", this._handlers.drop), this.input.removeEventListener("click", this._handlers.click), this.input.removeEventListener("focus", this._handlers.focus), this.input.removeEventListener("blur", this._handlers.commit), this._handlers = {};
4534
4534
  }
4535
4535
  }
4536
- Ue.HTMLMaskElement = ua;
4536
+ Ve.HTMLMaskElement = ua;
4537
4537
  class q1 extends ua {
4538
4538
  /** InputElement to use mask on */
4539
4539
  constructor(e) {
@@ -4558,7 +4558,7 @@ class q1 extends ua {
4558
4558
  this.input.value = e;
4559
4559
  }
4560
4560
  }
4561
- Ue.HTMLMaskElement = ua;
4561
+ Ve.HTMLMaskElement = ua;
4562
4562
  class Cp extends ua {
4563
4563
  /** Returns HTMLElement selection start */
4564
4564
  get _unsafeSelectionStart() {
@@ -4586,7 +4586,7 @@ class Cp extends ua {
4586
4586
  this.input.textContent = e;
4587
4587
  }
4588
4588
  }
4589
- Ue.HTMLContenteditableMaskElement = Cp;
4589
+ Ve.HTMLContenteditableMaskElement = Cp;
4590
4590
  class ca {
4591
4591
  constructor() {
4592
4592
  this.states = [], this.currentIndex = 0;
@@ -4632,13 +4632,13 @@ class G1 {
4632
4632
  }
4633
4633
  set mask(e) {
4634
4634
  if (this.maskEquals(e)) return;
4635
- if (!(e instanceof Ue.Masked) && this.masked.constructor === _p(e)) {
4635
+ if (!(e instanceof Ve.Masked) && this.masked.constructor === _p(e)) {
4636
4636
  this.masked.updateOptions({
4637
4637
  mask: e
4638
4638
  });
4639
4639
  return;
4640
4640
  }
4641
- const t = e instanceof Ue.Masked ? e : yr({
4641
+ const t = e instanceof Ve.Masked ? e : yr({
4642
4642
  mask: e
4643
4643
  });
4644
4644
  t.unmaskedValue = this.masked.unmaskedValue, this.masked = t;
@@ -4823,7 +4823,7 @@ class G1 {
4823
4823
  this._unbindEvents(), this._listeners.length = 0, delete this.el;
4824
4824
  }
4825
4825
  }
4826
- Ue.InputMask = G1;
4826
+ Ve.InputMask = G1;
4827
4827
  class Qe {
4828
4828
  /** Inserted symbols */
4829
4829
  /** Additional offset if any changes occurred before tail */
@@ -4855,7 +4855,7 @@ class Qe {
4855
4855
  return this.inserted === e.inserted && this.tailShift === e.tailShift && this.rawInserted === e.rawInserted && this.skip === e.skip;
4856
4856
  }
4857
4857
  }
4858
- Ue.ChangeDetails = Qe;
4858
+ Ve.ChangeDetails = Qe;
4859
4859
  class Kn {
4860
4860
  /** Tail value as string */
4861
4861
  /** Tail start position */
@@ -5139,7 +5139,7 @@ Qt.DEFAULTS = {
5139
5139
  skipInvalid: !0
5140
5140
  };
5141
5141
  Qt.EMPTY_VALUES = [void 0, null, ""];
5142
- Ue.Masked = Qt;
5142
+ Ve.Masked = Qt;
5143
5143
  class to {
5144
5144
  /** */
5145
5145
  constructor(e, t) {
@@ -5166,7 +5166,7 @@ class to {
5166
5166
  }
5167
5167
  }
5168
5168
  appendTo(e) {
5169
- if (!(e instanceof Ue.MaskedPattern))
5169
+ if (!(e instanceof Ve.MaskedPattern))
5170
5170
  return new Kn(this.toString()).appendTo(e);
5171
5171
  const t = new Qe();
5172
5172
  for (let r = 0; r < this.chunks.length; ++r) {
@@ -5569,7 +5569,7 @@ class X1 extends Qt {
5569
5569
  t && (e.validate = (r) => r.search(t) >= 0), super._update(e);
5570
5570
  }
5571
5571
  }
5572
- Ue.MaskedRegExp = X1;
5572
+ Ve.MaskedRegExp = X1;
5573
5573
  class Zt extends Qt {
5574
5574
  /** */
5575
5575
  /** */
@@ -5619,7 +5619,7 @@ class Zt extends Qt {
5619
5619
  ...f,
5620
5620
  repeat: m,
5621
5621
  parent: this
5622
- }, S = m != null ? new Ue.RepeatBlock(
5622
+ }, S = m != null ? new Ve.RepeatBlock(
5623
5623
  g
5624
5624
  /* TODO */
5625
5625
  ) : yr(g);
@@ -5878,7 +5878,7 @@ Zt.STOP_CHAR = "`";
5878
5878
  Zt.ESCAPE_CHAR = "\\";
5879
5879
  Zt.InputDefinition = js;
5880
5880
  Zt.FixedDefinition = xp;
5881
- Ue.MaskedPattern = Zt;
5881
+ Ve.MaskedPattern = Zt;
5882
5882
  class Cs extends Zt {
5883
5883
  /**
5884
5884
  Optionally sets max length of pattern.
@@ -5946,7 +5946,7 @@ class Cs extends Zt {
5946
5946
  return t;
5947
5947
  }
5948
5948
  }
5949
- Ue.MaskedRange = Cs;
5949
+ Ve.MaskedRange = Cs;
5950
5950
  const Q1 = "d{.}`m{.}`Y";
5951
5951
  class cr extends Zt {
5952
5952
  static extractPatternOptions(e) {
@@ -6051,7 +6051,7 @@ cr.DEFAULTS = {
6051
6051
  return new Date(o, r - 1, t);
6052
6052
  }
6053
6053
  };
6054
- Ue.MaskedDate = cr;
6054
+ Ve.MaskedDate = cr;
6055
6055
  class da extends Qt {
6056
6056
  constructor(e) {
6057
6057
  super({
@@ -6265,7 +6265,7 @@ da.DEFAULTS = {
6265
6265
  return i.sort((s, a) => a.weight - s.weight || a.totalInputPositions - s.totalInputPositions), e.compiledMasks[i[0].index];
6266
6266
  }
6267
6267
  };
6268
- Ue.MaskedDynamic = da;
6268
+ Ve.MaskedDynamic = da;
6269
6269
  class ha extends Zt {
6270
6270
  constructor(e) {
6271
6271
  super({
@@ -6322,7 +6322,7 @@ ha.DEFAULTS = {
6322
6322
  ...Zt.DEFAULTS,
6323
6323
  matchValue: (n, e, t) => n.indexOf(e, t) === t
6324
6324
  };
6325
- Ue.MaskedEnum = ha;
6325
+ Ve.MaskedEnum = ha;
6326
6326
  class Z1 extends Qt {
6327
6327
  /** */
6328
6328
  /** Enable characters overwriting */
@@ -6339,7 +6339,7 @@ class Z1 extends Qt {
6339
6339
  });
6340
6340
  }
6341
6341
  }
6342
- Ue.MaskedFunction = Z1;
6342
+ Ve.MaskedFunction = Z1;
6343
6343
  var Ep;
6344
6344
  class bn extends Qt {
6345
6345
  /** Single char */
@@ -6544,7 +6544,7 @@ bn.DEFAULTS = {
6544
6544
  maximumFractionDigits: 20
6545
6545
  })
6546
6546
  };
6547
- Ue.MaskedNumber = bn;
6547
+ Ve.MaskedNumber = bn;
6548
6548
  const Fl = {
6549
6549
  MASKED: "value",
6550
6550
  UNMASKED: "unmaskedValue",
@@ -6558,9 +6558,9 @@ function Tp(n, e, t) {
6558
6558
  function J1(n, e, t, r) {
6559
6559
  return Tp(e, t, r)(n);
6560
6560
  }
6561
- Ue.PIPE_TYPE = Fl;
6562
- Ue.createPipe = Tp;
6563
- Ue.pipe = J1;
6561
+ Ve.PIPE_TYPE = Fl;
6562
+ Ve.createPipe = Tp;
6563
+ Ve.pipe = J1;
6564
6564
  class ew extends Zt {
6565
6565
  get repeatFrom() {
6566
6566
  var e;
@@ -6654,9 +6654,9 @@ class ew extends Zt {
6654
6654
  this._blocks.length = e._blocks.length, this.mask = this.mask.slice(0, this._blocks.length), super.state = e;
6655
6655
  }
6656
6656
  }
6657
- Ue.RepeatBlock = ew;
6657
+ Ve.RepeatBlock = ew;
6658
6658
  try {
6659
- globalThis.IMask = Ue;
6659
+ globalThis.IMask = Ve;
6660
6660
  } catch {
6661
6661
  }
6662
6662
  var tw = {
@@ -6761,7 +6761,7 @@ function nw(n, e) {
6761
6761
  function I() {
6762
6762
  f = u.value;
6763
6763
  const T = l.value;
6764
- !f || !(T != null && T.mask) || (d.value = Ue(f, T), i !== void 0 && (c.value = i), s !== void 0 && (h.value = s), a !== void 0 && (m.value = a), A(), D(), z(), B(), d.value.on("accept", O).on("complete", K));
6764
+ !f || !(T != null && T.mask) || (d.value = Ve(f, T), i !== void 0 && (c.value = i), s !== void 0 && (h.value = s), a !== void 0 && (m.value = a), A(), D(), z(), B(), d.value.on("accept", O).on("complete", K));
6765
6765
  }
6766
6766
  function w() {
6767
6767
  var T;
@@ -6884,6 +6884,24 @@ const sw = {
6884
6884
  date: {
6885
6885
  mask: Date,
6886
6886
  lazy: !0
6887
+ },
6888
+ time: {
6889
+ mask: "HH:MM",
6890
+ blocks: {
6891
+ HH: {
6892
+ mask: Ve.MaskedRange,
6893
+ from: 0,
6894
+ to: 23,
6895
+ maxLength: 2
6896
+ },
6897
+ MM: {
6898
+ mask: Ve.MaskedRange,
6899
+ from: 0,
6900
+ to: 59,
6901
+ maxLength: 2
6902
+ }
6903
+ },
6904
+ lazy: !0
6887
6905
  }
6888
6906
  }, aw = /* @__PURE__ */ ue({
6889
6907
  __name: "TransitionExpand",
@@ -7768,7 +7786,7 @@ const Fk = /* @__PURE__ */ ue({
7768
7786
  ref_key: "dropdownRef",
7769
7787
  ref: i,
7770
7788
  class: y(c.$style.dropdown),
7771
- style: Ve([s.value, a.value])
7789
+ style: Ye([s.value, a.value])
7772
7790
  }, [
7773
7791
  ae(c.$slots, "dropdown")
7774
7792
  ], 6)) : N("", !0)
@@ -8714,7 +8732,7 @@ function __(n, e, t, r, o, i) {
8714
8732
  {
8715
8733
  ref: "container",
8716
8734
  class: "vc-saturation",
8717
- style: Ve({ background: i.bgColor }),
8735
+ style: Ye({ background: i.bgColor }),
8718
8736
  onMousedown: e[0] || (e[0] = (...s) => i.handleMouseDown && i.handleMouseDown(...s)),
8719
8737
  onTouchmove: e[1] || (e[1] = (...s) => i.handleChange && i.handleChange(...s)),
8720
8738
  onTouchstart: e[2] || (e[2] = (...s) => i.handleChange && i.handleChange(...s))
@@ -8726,7 +8744,7 @@ function __(n, e, t, r, o, i) {
8726
8744
  "div",
8727
8745
  {
8728
8746
  class: "vc-saturation-pointer",
8729
- style: Ve({ top: i.pointerTop, left: i.pointerLeft })
8747
+ style: Ye({ top: i.pointerTop, left: i.pointerLeft })
8730
8748
  },
8731
8749
  k_,
8732
8750
  4
@@ -8849,7 +8867,7 @@ function S_(n, e, t, r, o, i) {
8849
8867
  "div",
8850
8868
  {
8851
8869
  class: "vc-hue-pointer",
8852
- style: Ve({ top: i.pointerTop, left: i.pointerLeft }),
8870
+ style: Ye({ top: i.pointerTop, left: i.pointerLeft }),
8853
8871
  role: "presentation"
8854
8872
  },
8855
8873
  T_,
@@ -9052,12 +9070,12 @@ function W_(n, e, t, r, o, i) {
9052
9070
  q("div", {
9053
9071
  class: "vc-ps-previews__pr-color",
9054
9072
  "aria-label": `New color is ${n.colors.hex}`,
9055
- style: Ve({ background: n.colors.hex })
9073
+ style: Ye({ background: n.colors.hex })
9056
9074
  }, null, 12, R_),
9057
9075
  q("div", {
9058
9076
  class: "vc-ps-previews__pr-color",
9059
9077
  "aria-label": `Current color is ${o.currentColor}`,
9060
- style: Ve({ background: o.currentColor }),
9078
+ style: Ye({ background: o.currentColor }),
9061
9079
  onClick: e[0] || (e[0] = (...u) => i.clickCurrentColor && i.clickCurrentColor(...u))
9062
9080
  }, null, 12, F_)
9063
9081
  ]),
@@ -9226,7 +9244,7 @@ const G_ = /* @__PURE__ */ ue({
9226
9244
  s(t.value) ? (v(), M("div", {
9227
9245
  key: 0,
9228
9246
  class: y(d.$style["color-box"]),
9229
- style: Ve({ backgroundColor: t.value ?? "" })
9247
+ style: Ye({ backgroundColor: t.value ?? "" })
9230
9248
  }, null, 6)) : N("", !0)
9231
9249
  ]),
9232
9250
  _: 1
@@ -9452,7 +9470,7 @@ const G_ = /* @__PURE__ */ ue({
9452
9470
  ], 10, s2))), 128)),
9453
9471
  q("div", {
9454
9472
  class: y(p(t).caret),
9455
- style: Ve(o.value)
9473
+ style: Ye(o.value)
9456
9474
  }, null, 6)
9457
9475
  ], 2)
9458
9476
  ], 2));
@@ -9501,7 +9519,7 @@ const G_ = /* @__PURE__ */ ue({
9501
9519
  transition: `height ${ni}ms ease, opacity ${ni}ms ease, filter ${ni}ms ease`
9502
9520
  }));
9503
9521
  return zi(() => clearTimeout(o)), (c, h) => (v(), M("div", {
9504
- style: Ve(d.value)
9522
+ style: Ye(d.value)
9505
9523
  }, [
9506
9524
  V(dn, {
9507
9525
  mode: "out-in",
@@ -9590,7 +9608,7 @@ const x2 = /* @__PURE__ */ ue({
9590
9608
  }));
9591
9609
  return (t, r) => (v(), M("div", {
9592
9610
  class: y(t.$style.root),
9593
- style: Ve(e.value)
9611
+ style: Ye(e.value)
9594
9612
  }, [
9595
9613
  ae(t.$slots, "default")
9596
9614
  ], 6));
@@ -9969,7 +9987,7 @@ const Rp = Symbol(), BP = () => Hi(
9969
9987
  ref_key: "fixedElementRef",
9970
9988
  ref: o,
9971
9989
  class: y(c.$style.dropdown),
9972
- style: Ve({ ...s.value, ...i.value })
9990
+ style: Ye({ ...s.value, ...i.value })
9973
9991
  }, [
9974
9992
  ae(c.$slots, "default", { align: a.value })
9975
9993
  ], 6)) : N("", !0)
@@ -10298,15 +10316,15 @@ const Rp = Symbol(), BP = () => Hi(
10298
10316
  A.$style[`view_${I.view ?? "success"}`],
10299
10317
  i.value ? "is-expand" : ""
10300
10318
  ]),
10301
- style: Ve(d(w).toaster)
10319
+ style: Ye(d(w).toaster)
10302
10320
  }, [
10303
10321
  q("div", {
10304
10322
  class: y(A.$style.left),
10305
- style: Ve(d(w).left)
10323
+ style: Ye(d(w).left)
10306
10324
  }, null, 6),
10307
10325
  q("div", {
10308
10326
  class: y(A.$style.body),
10309
- style: Ve(d(w).body)
10327
+ style: Ye(d(w).body)
10310
10328
  }, [
10311
10329
  V(oC, {
10312
10330
  toast: I,
@@ -10315,19 +10333,19 @@ const Rp = Symbol(), BP = () => Hi(
10315
10333
  ], 6),
10316
10334
  q("div", {
10317
10335
  class: y(A.$style.right),
10318
- style: Ve(d(w).right)
10336
+ style: Ye(d(w).right)
10319
10337
  }, null, 6),
10320
10338
  q("div", {
10321
10339
  class: y([A.$style.left, A.$style.shadow]),
10322
- style: Ve(d(w).left)
10340
+ style: Ye(d(w).left)
10323
10341
  }, null, 6),
10324
10342
  q("div", {
10325
10343
  class: y([A.$style.body, A.$style.shadow]),
10326
- style: Ve(d(w).body)
10344
+ style: Ye(d(w).body)
10327
10345
  }, null, 6),
10328
10346
  q("div", {
10329
10347
  class: y([A.$style.right, A.$style.shadow]),
10330
- style: Ve(d(w).right)
10348
+ style: Ye(d(w).right)
10331
10349
  }, null, 6)
10332
10350
  ], 14, aC))), 128))
10333
10351
  ];
@@ -14486,7 +14504,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
14486
14504
  key: 0,
14487
14505
  class: "dp__selection_preview",
14488
14506
  title: te.value,
14489
- style: Ve(x.value)
14507
+ style: Ye(x.value)
14490
14508
  }, [
14491
14509
  C.$slots["action-preview"] && S.value ? ae(C.$slots, "action-preview", {
14492
14510
  key: 0,
@@ -14662,7 +14680,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
14662
14680
  ref_key: "gridWrapRef",
14663
14681
  ref: g,
14664
14682
  class: y(z.value),
14665
- style: Ve(I.value),
14683
+ style: Ye(I.value),
14666
14684
  role: L.useRelative ? void 0 : "dialog",
14667
14685
  "aria-label": L.overlayLabel,
14668
14686
  tabindex: L.useRelative ? void 0 : "0",
@@ -14674,7 +14692,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
14674
14692
  ref_key: "containerRef",
14675
14693
  ref: K,
14676
14694
  class: y(H.value),
14677
- style: Ve({ "--dp-overlay-height": `${O.value}px` }),
14695
+ style: Ye({ "--dp-overlay-height": `${O.value}px` }),
14678
14696
  role: "grid"
14679
14697
  }, [
14680
14698
  q("div", mT, [
@@ -15751,7 +15769,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
15751
15769
  "dp--overlay-absolute": !o.timePicker && !Y.timePickerInline,
15752
15770
  "dp--overlay-relative": o.timePicker
15753
15771
  }),
15754
- style: Ve(Y.timePicker ? { height: `${p(c).modeHeight}px` } : void 0),
15772
+ style: Ye(Y.timePicker ? { height: `${p(c).modeHeight}px` } : void 0),
15755
15773
  "aria-label": (fe = p(u)) == null ? void 0 : fe.timePicker,
15756
15774
  tabindex: Y.timePickerInline ? void 0 : 0
15757
15775
  }, [
@@ -16488,7 +16506,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
16488
16506
  }) : (v(), M("div", {
16489
16507
  key: 1,
16490
16508
  class: y(te.value(E.marker)),
16491
- style: Ve(E.marker.color ? { backgroundColor: E.marker.color } : {})
16509
+ style: Ye(E.marker.color ? { backgroundColor: E.marker.color } : {})
16492
16510
  }, null, 6))
16493
16511
  ], 64)) : N("", !0),
16494
16512
  ce.value(E.value) ? (v(), M("div", {
@@ -16497,7 +16515,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
16497
16515
  ref_key: "activeTooltip",
16498
16516
  ref: K,
16499
16517
  class: "dp__marker_tooltip",
16500
- style: Ve(f.value)
16518
+ style: Ye(f.value)
16501
16519
  }, [
16502
16520
  (Xe = E.marker) != null && Xe.tooltip ? (v(), M("div", {
16503
16521
  key: 0,
@@ -16516,14 +16534,14 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
16516
16534
  J.$slots["marker-tooltip"] ? N("", !0) : (v(), M($e, { key: 1 }, [
16517
16535
  q("div", {
16518
16536
  class: "dp__tooltip_mark",
16519
- style: Ve(qe.color ? { backgroundColor: qe.color } : {})
16537
+ style: Ye(qe.color ? { backgroundColor: qe.color } : {})
16520
16538
  }, null, 4),
16521
16539
  q("div", null, me(qe.text), 1)
16522
16540
  ], 64))
16523
16541
  ]))), 128)),
16524
16542
  q("div", {
16525
16543
  class: "dp__arrow_bottom_tp",
16526
- style: Ve(A.value)
16544
+ style: Ye(A.value)
16527
16545
  }, null, 4)
16528
16546
  ])) : N("", !0)
16529
16547
  ], 4)) : N("", !0)
@@ -17132,7 +17150,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
17132
17150
  default: P(({ instance: D }) => [
17133
17151
  q("div", {
17134
17152
  class: "dp-quarter-picker-wrap",
17135
- style: Ve({ minHeight: `${p(l).modeHeight}px` })
17153
+ style: Ye({ minHeight: `${p(l).modeHeight}px` })
17136
17154
  }, [
17137
17155
  K.$slots["top-extra"] ? ae(K.$slots, "top-extra", {
17138
17156
  key: 0,
@@ -17385,7 +17403,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
17385
17403
  role: p(h).enabled ? void 0 : "dialog",
17386
17404
  "aria-label": (nt = X.ariaLabels) == null ? void 0 : nt.menu,
17387
17405
  class: y(b.value),
17388
- style: Ve({ "--dp-arrow-left": Y.value }),
17406
+ style: Ye({ "--dp-arrow-left": Y.value }),
17389
17407
  onMouseleave: Ce,
17390
17408
  onClick: Z,
17391
17409
  onKeydown: ot
@@ -17413,7 +17431,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
17413
17431
  "dp--menu-content-wrapper-collapsed": n.collapse && (((xn = X.presetDates) == null ? void 0 : xn.length) || !!X.$slots["left-sidebar"] || !!X.$slots["right-sidebar"])
17414
17432
  }),
17415
17433
  "data-dp-mobile": p(S),
17416
- style: Ve({ "--dp-menu-width": `${B.value}px` })
17434
+ style: Ye({ "--dp-menu-width": `${B.value}px` })
17417
17435
  }, [
17418
17436
  X.$slots["left-sidebar"] ? (v(), M("div", uS, [
17419
17437
  ae(X.$slots, "left-sidebar", Ht(ln(W.value)))
@@ -17432,7 +17450,7 @@ const Ul = (n, e) => n == null ? void 0 : n.querySelector(`[data-dp-element="${e
17432
17450
  }) : (v(), M("button", {
17433
17451
  key: 1,
17434
17452
  type: "button",
17435
- style: Ve(oe.style || {}),
17453
+ style: Ye(oe.style || {}),
17436
17454
  class: y(["dp__btn dp--preset-range", { "dp--preset-range-collapsed": n.collapse }]),
17437
17455
  "data-test-id": oe.testId ?? void 0,
17438
17456
  "data-dp-mobile": p(S),
@@ -19830,15 +19848,15 @@ const Pf = Symbol("ToastService"), DP = new HM(), jM = ["id"], VM = /* @__PURE__
19830
19848
  A.$style[`view_${I.view ?? "success"}`],
19831
19849
  i.value ? "is-expand" : ""
19832
19850
  ]),
19833
- style: Ve(d(w).toaster)
19851
+ style: Ye(d(w).toaster)
19834
19852
  }, [
19835
19853
  q("div", {
19836
19854
  class: y(A.$style.left),
19837
- style: Ve(d(w).left)
19855
+ style: Ye(d(w).left)
19838
19856
  }, null, 6),
19839
19857
  q("div", {
19840
19858
  class: y(A.$style.body),
19841
- style: Ve(d(w).body)
19859
+ style: Ye(d(w).body)
19842
19860
  }, [
19843
19861
  V(zM, tt({ ref_for: !0 }, I, {
19844
19862
  onClick: () => f(I.id)
@@ -19846,19 +19864,19 @@ const Pf = Symbol("ToastService"), DP = new HM(), jM = ["id"], VM = /* @__PURE__
19846
19864
  ], 6),
19847
19865
  q("div", {
19848
19866
  class: y(A.$style.right),
19849
- style: Ve(d(w).right)
19867
+ style: Ye(d(w).right)
19850
19868
  }, null, 6),
19851
19869
  q("div", {
19852
19870
  class: y([A.$style.left, A.$style.shadow]),
19853
- style: Ve(d(w).left)
19871
+ style: Ye(d(w).left)
19854
19872
  }, null, 6),
19855
19873
  q("div", {
19856
19874
  class: y([A.$style.body, A.$style.shadow]),
19857
- style: Ve(d(w).body)
19875
+ style: Ye(d(w).body)
19858
19876
  }, null, 6),
19859
19877
  q("div", {
19860
19878
  class: y([A.$style.right, A.$style.shadow]),
19861
- style: Ve(d(w).right)
19879
+ style: Ye(d(w).right)
19862
19880
  }, null, 6)
19863
19881
  ], 14, jM))), 128))
19864
19882
  ];
@@ -20102,7 +20120,7 @@ const LP = new t$(), n$ = ["disabled"], r$ = ["onClick"], o$ = /* @__PURE__ */ u
20102
20120
  ref_key: "skeleton",
20103
20121
  ref: e,
20104
20122
  key: t.value,
20105
- style: Ve({ width: t.value }),
20123
+ style: Ye({ width: t.value }),
20106
20124
  class: y([o.$style.root, o.$style.view_secondary])
20107
20125
  }, [
20108
20126
  q("div", {
@@ -21052,7 +21070,7 @@ const i3 = /* @__PURE__ */ ue({
21052
21070
  const e = R(() => JSON.stringify(n.list));
21053
21071
  return (t, r) => (v(), M("div", {
21054
21072
  class: y(t.$style.root),
21055
- style: Ve({ "--grid-template-columns": t.gridTemplateColumns })
21073
+ style: Ye({ "--grid-template-columns": t.gridTemplateColumns })
21056
21074
  }, [
21057
21075
  q("div", {
21058
21076
  class: y(t.$style.header)
@@ -21125,7 +21143,7 @@ const i3 = /* @__PURE__ */ ue({
21125
21143
  setup(n) {
21126
21144
  return (e, t) => (v(), M("div", {
21127
21145
  class: y(e.$style.row),
21128
- style: Ve({
21146
+ style: Ye({
21129
21147
  "grid-gap": `${p(gu)(Number(e.gap))}rem`,
21130
21148
  "align-items": e.align
21131
21149
  })
@@ -21143,7 +21161,7 @@ const i3 = /* @__PURE__ */ ue({
21143
21161
  setup(n) {
21144
21162
  return (e, t) => (v(), M("article", {
21145
21163
  class: y(e.$style.root),
21146
- style: Ve({
21164
+ style: Ye({
21147
21165
  borderRadius: `var(--border-radius-${e.borderRadius.toString()})`
21148
21166
  })
21149
21167
  }, [
@@ -21245,7 +21263,7 @@ window.cancelIdleCallback = window.cancelIdleCallback || function(n) {
21245
21263
  };
21246
21264
  let k3 = (n = 21) => crypto.getRandomValues(new Uint8Array(n)).reduce((e, t) => (t &= 63, t < 36 ? e += t.toString(36) : t < 62 ? e += (t - 26).toString(36).toUpperCase() : t > 62 ? e += "-" : e += "_", e), "");
21247
21265
  var qf = /* @__PURE__ */ ((n) => (n.VERBOSE = "VERBOSE", n.INFO = "INFO", n.WARN = "WARN", n.ERROR = "ERROR", n))(qf || {});
21248
- const Ye = {
21266
+ const Ue = {
21249
21267
  BACKSPACE: 8,
21250
21268
  TAB: 9,
21251
21269
  ENTER: 13,
@@ -24603,18 +24621,18 @@ let si = hm, Js = class nu {
24603
24621
  this.iterator = null, this.activated = !1, this.flipCallbacks = [], this.onKeyDown = (t) => {
24604
24622
  if (!(!this.isEventReadyForHandling(t) || t.shiftKey === !0))
24605
24623
  switch (nu.usedKeys.includes(t.keyCode) && t.preventDefault(), t.keyCode) {
24606
- case Ye.TAB:
24624
+ case Ue.TAB:
24607
24625
  this.handleTabPress(t);
24608
24626
  break;
24609
- case Ye.LEFT:
24610
- case Ye.UP:
24627
+ case Ue.LEFT:
24628
+ case Ue.UP:
24611
24629
  this.flipLeft();
24612
24630
  break;
24613
- case Ye.RIGHT:
24614
- case Ye.DOWN:
24631
+ case Ue.RIGHT:
24632
+ case Ue.DOWN:
24615
24633
  this.flipRight();
24616
24634
  break;
24617
- case Ye.ENTER:
24635
+ case Ue.ENTER:
24618
24636
  this.handleEnterPress(t);
24619
24637
  break;
24620
24638
  }
@@ -24634,12 +24652,12 @@ let si = hm, Js = class nu {
24634
24652
  */
24635
24653
  static get usedKeys() {
24636
24654
  return [
24637
- Ye.TAB,
24638
- Ye.LEFT,
24639
- Ye.RIGHT,
24640
- Ye.ENTER,
24641
- Ye.UP,
24642
- Ye.DOWN
24655
+ Ue.TAB,
24656
+ Ue.LEFT,
24657
+ Ue.RIGHT,
24658
+ Ue.ENTER,
24659
+ Ue.UP,
24660
+ Ue.DOWN
24643
24661
  ];
24644
24662
  }
24645
24663
  /**
@@ -25422,10 +25440,10 @@ const vm = class gm extends mm {
25422
25440
  items: this.flippableElements,
25423
25441
  focusedItemClass: Tt.focused,
25424
25442
  allowedKeys: [
25425
- Ye.TAB,
25426
- Ye.UP,
25427
- Ye.DOWN,
25428
- Ye.ENTER
25443
+ Ue.TAB,
25444
+ Ue.UP,
25445
+ Ue.DOWN,
25446
+ Ue.ENTER
25429
25447
  ]
25430
25448
  }), this.flipper.onFlip(this.onFlip));
25431
25449
  }
@@ -27998,24 +28016,24 @@ class AD extends rt {
27998
28016
  */
27999
28017
  keydown(e) {
28000
28018
  switch (this.beforeKeydownProcessing(e), e.keyCode) {
28001
- case Ye.BACKSPACE:
28019
+ case Ue.BACKSPACE:
28002
28020
  this.backspace(e);
28003
28021
  break;
28004
- case Ye.DELETE:
28022
+ case Ue.DELETE:
28005
28023
  this.delete(e);
28006
28024
  break;
28007
- case Ye.ENTER:
28025
+ case Ue.ENTER:
28008
28026
  this.enter(e);
28009
28027
  break;
28010
- case Ye.DOWN:
28011
- case Ye.RIGHT:
28028
+ case Ue.DOWN:
28029
+ case Ue.RIGHT:
28012
28030
  this.arrowRightAndDown(e);
28013
28031
  break;
28014
- case Ye.UP:
28015
- case Ye.LEFT:
28032
+ case Ue.UP:
28033
+ case Ue.LEFT:
28016
28034
  this.arrowLeftAndUp(e);
28017
28035
  break;
28018
- case Ye.TAB:
28036
+ case Ue.TAB:
28019
28037
  this.tabPressed(e);
28020
28038
  break;
28021
28039
  }
@@ -28186,16 +28204,16 @@ class AD extends rt {
28186
28204
  * @param {KeyboardEvent} event - keyboard event
28187
28205
  */
28188
28206
  arrowRightAndDown(e) {
28189
- const t = Js.usedKeys.includes(e.keyCode) && (!e.shiftKey || e.keyCode === Ye.TAB);
28207
+ const t = Js.usedKeys.includes(e.keyCode) && (!e.shiftKey || e.keyCode === Ue.TAB);
28190
28208
  if (this.Editor.UI.someToolbarOpened && t)
28191
28209
  return;
28192
28210
  this.Editor.Toolbar.close();
28193
28211
  const { currentBlock: r } = this.Editor.BlockManager, o = ((r == null ? void 0 : r.currentInput) !== void 0 ? Bs(r.currentInput) : void 0) || this.Editor.BlockSelection.anyBlockSelected;
28194
- if (e.shiftKey && e.keyCode === Ye.DOWN && o) {
28212
+ if (e.shiftKey && e.keyCode === Ue.DOWN && o) {
28195
28213
  this.Editor.CrossBlockSelection.toggleBlockSelectedState();
28196
28214
  return;
28197
28215
  }
28198
- if (e.keyCode === Ye.DOWN || e.keyCode === Ye.RIGHT && !this.isRtl ? this.Editor.Caret.navigateNext() : this.Editor.Caret.navigatePrevious()) {
28216
+ if (e.keyCode === Ue.DOWN || e.keyCode === Ue.RIGHT && !this.isRtl ? this.Editor.Caret.navigateNext() : this.Editor.Caret.navigatePrevious()) {
28199
28217
  e.preventDefault();
28200
28218
  return;
28201
28219
  }
@@ -28210,17 +28228,17 @@ class AD extends rt {
28210
28228
  */
28211
28229
  arrowLeftAndUp(e) {
28212
28230
  if (this.Editor.UI.someToolbarOpened) {
28213
- if (Js.usedKeys.includes(e.keyCode) && (!e.shiftKey || e.keyCode === Ye.TAB))
28231
+ if (Js.usedKeys.includes(e.keyCode) && (!e.shiftKey || e.keyCode === Ue.TAB))
28214
28232
  return;
28215
28233
  this.Editor.UI.closeAllToolbars();
28216
28234
  }
28217
28235
  this.Editor.Toolbar.close();
28218
28236
  const { currentBlock: t } = this.Editor.BlockManager, r = ((t == null ? void 0 : t.currentInput) !== void 0 ? $s(t.currentInput) : void 0) || this.Editor.BlockSelection.anyBlockSelected;
28219
- if (e.shiftKey && e.keyCode === Ye.UP && r) {
28237
+ if (e.shiftKey && e.keyCode === Ue.UP && r) {
28220
28238
  this.Editor.CrossBlockSelection.toggleBlockSelectedState(!1);
28221
28239
  return;
28222
28240
  }
28223
- if (e.keyCode === Ye.UP || e.keyCode === Ye.LEFT && !this.isRtl ? this.Editor.Caret.navigatePrevious() : this.Editor.Caret.navigateNext()) {
28241
+ if (e.keyCode === Ue.UP || e.keyCode === Ue.LEFT && !this.isRtl ? this.Editor.Caret.navigatePrevious() : this.Editor.Caret.navigateNext()) {
28224
28242
  e.preventDefault();
28225
28243
  return;
28226
28244
  }
@@ -28234,7 +28252,7 @@ class AD extends rt {
28234
28252
  * @param {KeyboardEvent} event - keyboard event
28235
28253
  */
28236
28254
  needToolbarClosing(e) {
28237
- const t = e.keyCode === Ye.ENTER && this.Editor.Toolbar.toolbox.opened, r = e.keyCode === Ye.ENTER && this.Editor.BlockSettings.opened, o = e.keyCode === Ye.ENTER && this.Editor.InlineToolbar.opened, i = e.keyCode === Ye.TAB;
28255
+ const t = e.keyCode === Ue.ENTER && this.Editor.Toolbar.toolbox.opened, r = e.keyCode === Ue.ENTER && this.Editor.BlockSettings.opened, o = e.keyCode === Ue.ENTER && this.Editor.InlineToolbar.opened, i = e.keyCode === Ue.TAB;
28238
28256
  return !(e.shiftKey || i || t || r || o);
28239
28257
  }
28240
28258
  /**
@@ -29543,12 +29561,12 @@ class RD extends rt {
29543
29561
  const { BlockManager: t, BlockSelection: r, Caret: o } = this.Editor, i = t.blocks.indexOf(this.firstSelectedBlock), s = t.blocks.indexOf(this.lastSelectedBlock);
29544
29562
  if (r.anyBlockSelected && i > -1 && s > -1 && e && e instanceof KeyboardEvent)
29545
29563
  switch (e.keyCode) {
29546
- case Ye.DOWN:
29547
- case Ye.RIGHT:
29564
+ case Ue.DOWN:
29565
+ case Ue.RIGHT:
29548
29566
  o.setToBlock(t.blocks[Math.max(i, s)], o.positions.END);
29549
29567
  break;
29550
- case Ye.UP:
29551
- case Ye.LEFT:
29568
+ case Ue.UP:
29569
+ case Ue.LEFT:
29552
29570
  o.setToBlock(t.blocks[Math.min(i, s)], o.positions.START);
29553
29571
  break;
29554
29572
  default:
@@ -31929,14 +31947,14 @@ class oI extends rt {
31929
31947
  */
31930
31948
  documentKeydown(e) {
31931
31949
  switch (e.keyCode) {
31932
- case Ye.ENTER:
31950
+ case Ue.ENTER:
31933
31951
  this.enterPressed(e);
31934
31952
  break;
31935
- case Ye.BACKSPACE:
31936
- case Ye.DELETE:
31953
+ case Ue.BACKSPACE:
31954
+ case Ue.DELETE:
31937
31955
  this.backspacePressed(e);
31938
31956
  break;
31939
- case Ye.ESC:
31957
+ case Ue.ESC:
31940
31958
  this.escapePressed(e);
31941
31959
  break;
31942
31960
  default: