portal-design-system 0.0.943 → 0.0.945

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.d.ts CHANGED
@@ -18,5 +18,6 @@ import { default as DataGrid } from './components/DataGrid.vue';
18
18
  import { default as Drawer } from './components/overlays/Drawer.vue';
19
19
  import { default as Pagination } from './components/Pagination.vue';
20
20
  import { default as RadioGroup } from './components/inputs/RadioGroup.vue';
21
+ import { default as DialogHeading } from './components/overlays/Heading.vue';
21
22
  export type { LoadOptionBaseType, DxCustomColumn, FilterOptionType, FilterOptionListType, SortOptionType, SortOptionListType } from './types';
22
- export { Button, Select, Input, Error, Iconsax, IconsaxFont, Badge, Dialog, Icon, Text, Tabs, Dropdown, DurationTimeline, Drawer, DataGrid, Pagination, RadioGroup, useOutsideClick, useWindowScroll, vTooltip };
23
+ export { Button, Select, Input, Error, Iconsax, IconsaxFont, Badge, Dialog, Icon, Text, Tabs, Dropdown, DurationTimeline, Drawer, DialogHeading, DataGrid, Pagination, RadioGroup, useOutsideClick, useWindowScroll, vTooltip };
package/dist/index.js CHANGED
@@ -2,7 +2,7 @@ var CF = Object.defineProperty;
2
2
  var yF = (t, e, i) => e in t ? CF(t, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : t[e] = i;
3
3
  var Ar = (t, e, i) => yF(t, typeof e != "symbol" ? e + "" : e, i);
4
4
  import * as xF from "vue";
5
- import { defineComponent as He, shallowRef as bA, createBlock as Ue, watchEffect as bF, defineAsyncComponent as ky, watch as Ra, openBlock as z, resolveDynamicComponent as gh, unref as de, ref as pt, onMounted as Hn, onUnmounted as fh, h as wc, nextTick as qu, useAttrs as SF, computed as mt, mergeProps as Mg, withCtx as st, createElementBlock as te, Fragment as hi, renderSlot as Lt, createCommentVNode as Be, normalizeClass as et, toDisplayString as vt, normalizeStyle as Ba, createTextVNode as fr, createElementVNode as Me, renderList as Cr, onBeforeUnmount as Fg, mergeModels as Qi, useModel as gi, withDirectives as Dl, vModelText as Vg, resolveComponent as SA, createVNode as Oe, withModifiers as Ol, useSlots as EF, Teleport as Ng, Transition as Jm, resolveDirective as wF, createApp as IF, Comment as TF, toRaw as EA, toRefs as AF, createSlots as DF, normalizeProps as OF, guardReactiveProps as RF, vModelSelect as BF } from "vue";
5
+ import { defineComponent as He, shallowRef as bA, createBlock as Ue, watchEffect as bF, defineAsyncComponent as ky, watch as Ra, openBlock as z, resolveDynamicComponent as gh, unref as de, ref as pt, onMounted as Hn, onUnmounted as fh, h as wc, nextTick as qu, useAttrs as SF, computed as mt, mergeProps as Mg, withCtx as st, createElementBlock as te, Fragment as hi, renderSlot as Rt, createCommentVNode as Be, normalizeClass as et, toDisplayString as vt, normalizeStyle as Ba, createTextVNode as fr, createElementVNode as Me, renderList as Cr, onBeforeUnmount as Fg, mergeModels as Qi, useModel as gi, withDirectives as Dl, vModelText as Vg, resolveComponent as SA, createVNode as Oe, withModifiers as Ol, useSlots as EF, Teleport as Ng, Transition as Jm, resolveDirective as wF, createApp as IF, Comment as TF, toRaw as EA, toRefs as AF, createSlots as DF, normalizeProps as OF, guardReactiveProps as RF, vModelSelect as BF } from "vue";
6
6
  const kF = (t, e) => {
7
7
  const i = new Array(t.length + e.length);
8
8
  for (let r = 0; r < t.length; r++)
@@ -4066,7 +4066,7 @@ const IN = {
4066
4066
  icon: "svg-spinners:180-ring-with-bg",
4067
4067
  class: "text-2xl"
4068
4068
  })) : (z(), te(hi, { key: 1 }, [
4069
- Lt(a.$slots, "before"),
4069
+ Rt(a.$slots, "before"),
4070
4070
  t.icon ? (z(), Ue(Tc, {
4071
4071
  key: 0,
4072
4072
  name: t.icon,
@@ -4078,7 +4078,7 @@ const IN = {
4078
4078
  key: 1,
4079
4079
  class: et(t.textClassList)
4080
4080
  }, vt(t.text), 3)) : Be("", !0),
4081
- Lt(a.$slots, "default")
4081
+ Rt(a.$slots, "default")
4082
4082
  ], 64))
4083
4083
  ];
4084
4084
  }),
@@ -4119,9 +4119,9 @@ const IN = {
4119
4119
  borderColor: t.color + "33"
4120
4120
  })
4121
4121
  }, [
4122
- Lt(r.$slots, "before"),
4122
+ Rt(r.$slots, "before"),
4123
4123
  fr(" " + vt(t.text) + " ", 1),
4124
- Lt(r.$slots, "after")
4124
+ Rt(r.$slots, "after")
4125
4125
  ], 6));
4126
4126
  }
4127
4127
  }), AN = { key: 0 }, DN = { class: "list-disc list-inside grid gap-0.5 text-xs mt-2 text-red-400" }, ON = /* @__PURE__ */ He({
@@ -6867,7 +6867,7 @@ const BN = { class: "app-flex items-center gap-2 w-18 absolute h-12 start-0" },
6867
6867
  for: t.forId,
6868
6868
  class: et(i.value)
6869
6869
  }, [
6870
- Lt(r.$slots, "default", {}, () => [
6870
+ Rt(r.$slots, "default", {}, () => [
6871
6871
  fr(vt(t.label), 1),
6872
6872
  t.required ? (z(), te("span", MN, "*")) : Be("", !0)
6873
6873
  ])
@@ -6939,7 +6939,7 @@ const BN = { class: "app-flex items-center gap-2 w-18 absolute h-12 start-0" },
6939
6939
  class: n.value,
6940
6940
  error: !!((v = t.errors) != null && v.length)
6941
6941
  }, s.$attrs), null, 16, ["value", "id", "type", "placeholder", "class", "error"])),
6942
- Lt(s.$slots, "prefix", {}, void 0, !0),
6942
+ Rt(s.$slots, "prefix", {}, void 0, !0),
6943
6943
  t.type === "password" ? (z(), te("div", {
6944
6944
  key: 2,
6945
6945
  role: "button",
@@ -7089,7 +7089,7 @@ const BN = { class: "app-flex items-center gap-2 w-18 absolute h-12 start-0" },
7089
7089
  onKeydown: u,
7090
7090
  tabindex: "1"
7091
7091
  }, [
7092
- de(i).toggleButton ? Lt(I.$slots, "toggleButton", { key: 0 }, void 0, !0) : (z(), te("div", {
7092
+ de(i).toggleButton ? Rt(I.$slots, "toggleButton", { key: 0 }, void 0, !0) : (z(), te("div", {
7093
7093
  key: 1,
7094
7094
  class: et([[S.value, { disabled: t.disabled }], "app-flex items-center justify-between h-12 select"]),
7095
7095
  error: !!((L = t.errors) != null && L.length)
@@ -7153,7 +7153,7 @@ const BN = { class: "app-flex items-center gap-2 w-18 absolute h-12 start-0" },
7153
7153
  (ae = x.value) != null && ae.length ? (z(!0), te(hi, { key: 0 }, Cr(x.value, (ce, ge) => (z(), te(hi, {
7154
7154
  key: R(ce)
7155
7155
  }, [
7156
- de(i).option ? Lt(I.$slots, "option", {
7156
+ de(i).option ? Rt(I.$slots, "option", {
7157
7157
  key: 0,
7158
7158
  option: ce,
7159
7159
  isActive: _(ce),
@@ -7223,7 +7223,7 @@ const sme = /* @__PURE__ */ He({
7223
7223
  class: et(r.value),
7224
7224
  onClick: Ol(a, ["self"])
7225
7225
  }, [
7226
- Lt(n.$slots, "default")
7226
+ Rt(n.$slots, "default")
7227
7227
  ], 2)) : Be("", !0)
7228
7228
  ]),
7229
7229
  _: 3
@@ -7258,7 +7258,7 @@ const sme = /* @__PURE__ */ He({
7258
7258
  key: 1,
7259
7259
  class: "html-content",
7260
7260
  innerHTML: t.htmlContent
7261
- }, null, 8, XN)) : Lt(n.$slots, "default", { key: 0 })
7261
+ }, null, 8, XN)) : Rt(n.$slots, "default", { key: 0 })
7262
7262
  ]),
7263
7263
  _: 3
7264
7264
  }, 8, ["class"]));
@@ -8485,7 +8485,7 @@ const dme = {
8485
8485
  id: `tab-${d.value}`,
8486
8486
  class: "relative"
8487
8487
  }, [
8488
- Lt(s.$slots, "item", {
8488
+ Rt(s.$slots, "item", {
8489
8489
  item: d,
8490
8490
  isActive: u === i.value
8491
8491
  })
@@ -14953,7 +14953,7 @@ var Ji = we.inherit({
14953
14953
  }
14954
14954
  }), Zo = function(t) {
14955
14955
  return t === 0 ? 0 : t / Math.abs(t);
14956
- }, Pt = function(t, e, i) {
14956
+ }, Lt = function(t, e, i) {
14957
14957
  var r = !e && e !== 0, a = !i && i !== 0;
14958
14958
  return r && (e = a ? t : Math.min(t, i)), a && (i = r ? t : Math.max(t, e)), Math.min(Math.max(t, e), i);
14959
14959
  }, Kr = function(t, e, i) {
@@ -15505,7 +15505,7 @@ function JG(t, e) {
15505
15505
  return "";
15506
15506
  var r = YG(t), a = 1 / i === 1 / 0, n = i > 0 || a, o = r[n ? 0 : 1], s = QG(o), l = [o.substr(0, s), o.substr(s + 1)], d = hb(l[1]), u = d + cb(l[1]);
15507
15507
  XG(o) && (i = DO(i, qG)), n || (i = -i);
15508
- var c = hb(l[0]), h = cb(l[0]) || e.unlimitedIntegerDigits ? void 0 : c, v = Math.floor(i).toString().length, m = Pt(u, 0, KG - v), _ = jG(l[0]).reverse(), C = UO(i, m < 0 ? 0 : m).split("."), x = pb(kp(C[0]), c, h), S = pb(C[1], d, u);
15508
+ var c = hb(l[0]), h = cb(l[0]) || e.unlimitedIntegerDigits ? void 0 : c, v = Math.floor(i).toString().length, m = Lt(u, 0, KG - v), _ = jG(l[0]).reverse(), C = UO(i, m < 0 ? 0 : m).split("."), x = pb(kp(C[0]), c, h), S = pb(C[1], d, u);
15509
15509
  x = ZG(x, _, e.thousandsSeparator);
15510
15510
  var R = kp(vb(kp(l[0]), x)), I = u ? vb(l[1], S) : "", D = R + (I.match(/\d/) ? e.decimalSeparator : "") + I;
15511
15511
  return D;
@@ -26369,7 +26369,7 @@ var YS = "dxNativeScrollable", hv = "dx-scrollable-native", Zj = "dx-scrollable-
26369
26369
  inProgress() {
26370
26370
  return !(this._stopped || this._finished);
26371
26371
  }
26372
- }), uB = "dxSimulatedScrollable", t3 = "dxScrollableStrategy", au = "".concat(uB, "Cursor"), pv = "".concat(uB, "Keyboard"), vv = "dx-scrollable-simulated", i3 = "dx-scrollable-scrollbars-alwaysvisible", r3 = "dx-scrollable-scrollbar", ar = "vertical", Bt = "horizontal", Yc = 0.92, cB = 0.5, hB = 1, a3 = Math.round(1e3 / 60), n3 = 40, o3 = 500, s3 = hB / 5, l3 = 400, d3 = l3 / a3, u3 = (1 - Yc ** d3) / (1 - Yc), Br = {
26372
+ }), uB = "dxSimulatedScrollable", t3 = "dxScrollableStrategy", au = "".concat(uB, "Cursor"), pv = "".concat(uB, "Keyboard"), vv = "dx-scrollable-simulated", i3 = "dx-scrollable-scrollbars-alwaysvisible", r3 = "dx-scrollable-scrollbar", ar = "vertical", kt = "horizontal", Yc = 0.92, cB = 0.5, hB = 1, a3 = Math.round(1e3 / 60), n3 = 40, o3 = 500, s3 = hB / 5, l3 = 400, d3 = l3 / a3, u3 = (1 - Yc ** d3) / (1 - Yc), Br = {
26373
26373
  PAGE_UP: "pageUp",
26374
26374
  PAGE_DOWN: "pageDown",
26375
26375
  END: "end",
@@ -26410,7 +26410,7 @@ var YS = "dxNativeScrollable", hv = "dx-scrollable-native", Zj = "dx-scrollable-
26410
26410
  this._initOptions(t), this._initAnimators(), this._initScrollbar();
26411
26411
  },
26412
26412
  _initOptions(t) {
26413
- this._location = 0, this._topReached = !1, this._bottomReached = !1, this._axis = t.direction === Bt ? "x" : "y", this._prop = t.direction === Bt ? "left" : "top", this._dimension = t.direction === Bt ? "width" : "height", this._scrollProp = t.direction === Bt ? "scrollLeft" : "scrollTop", b(t, (e, i) => {
26413
+ this._location = 0, this._topReached = !1, this._bottomReached = !1, this._axis = t.direction === kt ? "x" : "y", this._prop = t.direction === kt ? "left" : "top", this._dimension = t.direction === kt ? "width" : "height", this._scrollProp = t.direction === kt ? "scrollLeft" : "scrollTop", b(t, (e, i) => {
26414
26414
  this["_".concat(e)] = i;
26415
26415
  });
26416
26416
  },
@@ -26633,7 +26633,7 @@ var YS = "dxNativeScrollable", hv = "dx-scrollable-native", Zj = "dx-scrollable-
26633
26633
  this._$element.addClass(vv), this._createScrollers(), this.option("useKeyboard") && this._$container.prop("tabIndex", 0), this._attachKeyboardHandler(), this._attachCursorHandlers();
26634
26634
  },
26635
26635
  _createScrollers() {
26636
- this._scrollers = {}, this._isDirection(Bt) && this._createScroller(Bt), this._isDirection(ar) && this._createScroller(ar), this._$element.toggleClass(i3, this.option("showScrollbar") === "always");
26636
+ this._scrollers = {}, this._isDirection(kt) && this._createScroller(kt), this._isDirection(ar) && this._createScroller(ar), this._$element.toggleClass(i3, this.option("showScrollbar") === "always");
26637
26637
  },
26638
26638
  _createScroller(t) {
26639
26639
  this._scrollers[t] = new vB(this._scrollerOptions(t));
@@ -26685,7 +26685,7 @@ var YS = "dxNativeScrollable", hv = "dx-scrollable-native", Zj = "dx-scrollable-
26685
26685
  return !!t.closest(this._$element).length;
26686
26686
  },
26687
26687
  _prepareDirections(t) {
26688
- t = t || !1, this._validDirections = {}, this._validDirections[Bt] = t, this._validDirections[ar] = t;
26688
+ t = t || !1, this._validDirections = {}, this._validDirections[kt] = t, this._validDirections[ar] = t;
26689
26689
  },
26690
26690
  _eachScroller(t) {
26691
26691
  t = t.bind(this), b(this._scrollers, (e, i) => {
@@ -26709,7 +26709,7 @@ var YS = "dxNativeScrollable", hv = "dx-scrollable-native", Zj = "dx-scrollable-
26709
26709
  this._saveActive(), t.preventDefault && t.preventDefault(), this._adjustDistance(t, t.delta), this._eventForUserAction = t, this._eventHandler("move", t.delta);
26710
26710
  },
26711
26711
  _adjustDistance(t, e) {
26712
- e.x *= this._validDirections[Bt], e.y *= this._validDirections[ar];
26712
+ e.x *= this._validDirections[kt], e.y *= this._validDirections[ar];
26713
26713
  var i = this._tryGetDevicePixelRatio();
26714
26714
  i && Kt(t.originalEvent) && (e.x = Math.round(e.x / i * 100) / 100, e.y = Math.round(e.y / i * 100) / 100);
26715
26715
  },
@@ -26793,7 +26793,7 @@ var YS = "dxNativeScrollable", hv = "dx-scrollable-native", Zj = "dx-scrollable-
26793
26793
  r[e] = t * -a(this._$container), this.scrollBy(r);
26794
26794
  },
26795
26795
  _dimensionByProp: (t) => t === "left" ? "width" : "height",
26796
- _getPropByDirection: (t) => t === Bt ? "left" : "top",
26796
+ _getPropByDirection: (t) => t === kt ? "left" : "top",
26797
26797
  _scrollToHome() {
26798
26798
  var t = this._wheelProp(), e = {};
26799
26799
  e[t] = 0, this._component.scrollTo(e);
@@ -26880,14 +26880,14 @@ var YS = "dxNativeScrollable", hv = "dx-scrollable-native", Zj = "dx-scrollable-
26880
26880
  }));
26881
26881
  },
26882
26882
  _allowedDirections() {
26883
- var t = this.option("bounceEnabled"), e = this._scrollers[ar], i = this._scrollers[Bt];
26883
+ var t = this.option("bounceEnabled"), e = this._scrollers[ar], i = this._scrollers[kt];
26884
26884
  return {
26885
26885
  vertical: e && (e._minOffset < 0 || t),
26886
26886
  horizontal: i && (i._minOffset < 0 || t)
26887
26887
  };
26888
26888
  },
26889
26889
  _updateBounds() {
26890
- this._scrollers[Bt] && this._scrollers[Bt]._updateBounds();
26890
+ this._scrollers[kt] && this._scrollers[kt]._updateBounds();
26891
26891
  },
26892
26892
  _isHorizontalAndRtlEnabled() {
26893
26893
  return this.option("rtlEnabled") && this.option("direction") !== ar;
@@ -26915,7 +26915,7 @@ var YS = "dxNativeScrollable", hv = "dx-scrollable-native", Zj = "dx-scrollable-
26915
26915
  },
26916
26916
  _getWindowDevicePixelRatio: () => Q() ? ee().devicePixelRatio : 1,
26917
26917
  scrollBy(t) {
26918
- var e = this._scrollers[ar], i = this._scrollers[Bt];
26918
+ var e = this._scrollers[ar], i = this._scrollers[kt];
26919
26919
  e && (t.top = e._boundLocation(t.top + e._location) - e._location), i && (t.left = i._boundLocation(t.left + i._location) - i._location), this._prepareDirections(!0), this._startAction(), this._eventHandler("scrollBy", {
26920
26920
  x: t.left,
26921
26921
  y: t.top
@@ -26937,16 +26937,16 @@ var YS = "dxNativeScrollable", hv = "dx-scrollable-native", Zj = "dx-scrollable-
26937
26937
  return Kt(t) ? this._wheelDirection(t) : this._allowedDirection();
26938
26938
  },
26939
26939
  _wheelProp() {
26940
- return this._wheelDirection() === Bt ? "left" : "top";
26940
+ return this._wheelDirection() === kt ? "left" : "top";
26941
26941
  },
26942
26942
  _wheelDirection(t) {
26943
26943
  switch (this.option("direction")) {
26944
- case Bt:
26945
- return Bt;
26944
+ case kt:
26945
+ return kt;
26946
26946
  case ar:
26947
26947
  return ar;
26948
26948
  default:
26949
- return t && t.shiftKey ? Bt : ar;
26949
+ return t && t.shiftKey ? kt : ar;
26950
26950
  }
26951
26951
  },
26952
26952
  dispose() {
@@ -37754,14 +37754,14 @@ var Qh = "dxResizable", Q9 = "dx-resizable", J9 = "dx-resizable-resizing", pu =
37754
37754
  maxHeight: o
37755
37755
  } = this.option(), s = () => i.width + e.x, l = () => i.height + e.y, d = (m) => e[m] === this._fitIntoArea(m, e[m]), u = () => Kr(s(), r, n) && d("x"), c = () => Kr(l(), a, o) && d("y");
37756
37756
  if (!u()) {
37757
- var h = this._fitIntoArea("x", Pt(s(), r, n) - i.width);
37757
+ var h = this._fitIntoArea("x", Lt(s(), r, n) - i.width);
37758
37758
  e = {
37759
37759
  x: h,
37760
37760
  y: this._proportionate("y", h)
37761
37761
  };
37762
37762
  }
37763
37763
  if (!c()) {
37764
- var v = this._fitIntoArea("y", Pt(l(), a, o) - i.height);
37764
+ var v = this._fitIntoArea("y", Lt(l(), a, o) - i.height);
37765
37765
  e = {
37766
37766
  x: this._proportionate("x", v),
37767
37767
  y: v
@@ -37783,8 +37783,8 @@ var Qh = "dxResizable", Q9 = "dx-resizable", J9 = "dx-resizable-resizing", pu =
37783
37783
  maxHeight: s
37784
37784
  } = this.option();
37785
37785
  return {
37786
- x: Pt(r.width + e, a, o) - r.width,
37787
- y: Pt(r.height + i, n, s) - r.height
37786
+ x: Lt(r.width + e, a, o) - r.width,
37787
+ y: Lt(r.height + i, n, s) - r.height
37788
37788
  };
37789
37789
  },
37790
37790
  _getDeltaByOffset(t) {
@@ -37930,10 +37930,10 @@ var Qh = "dxResizable", Q9 = "dx-resizable", J9 = "dx-resizable-resizing", pu =
37930
37930
  }), this._toggleResizingClass(!1);
37931
37931
  },
37932
37932
  _renderWidth(t) {
37933
- this.option("width", Pt(t, this.option("minWidth"), this.option("maxWidth")));
37933
+ this.option("width", Lt(t, this.option("minWidth"), this.option("maxWidth")));
37934
37934
  },
37935
37935
  _renderHeight(t) {
37936
- this.option("height", Pt(t, this.option("minHeight"), this.option("maxHeight")));
37936
+ this.option("height", Lt(t, this.option("minHeight"), this.option("maxHeight")));
37937
37937
  },
37938
37938
  _optionChanged(t) {
37939
37939
  switch (t.name) {
@@ -38047,8 +38047,8 @@ class l8 {
38047
38047
  _fitOffsetIntoAllowedRange(e, i) {
38048
38048
  var r = this._getAllowedOffsets();
38049
38049
  return {
38050
- top: Pt(e, -r.top, r.bottom),
38051
- left: Pt(i, -r.left, r.right)
38050
+ top: Lt(e, -r.top, r.bottom),
38051
+ left: Lt(i, -r.left, r.right)
38052
38052
  };
38053
38053
  }
38054
38054
  _getContainerDimensions() {
@@ -42898,12 +42898,12 @@ class Fn extends T7 {
42898
42898
  }
42899
42899
  ve("dxCheckBox", Fn);
42900
42900
  Fn.defaultOptions = rQ;
42901
- var bi = "dx-treeview", Gt = "".concat(bi, "-node"), Lr = "".concat(Gt, "-container"), Wv = "".concat(Gt, "-loadindicator"), ma = "".concat(Gt, "-container-opened"), Ns = "".concat(Gt, "-is-leaf"), kt = "".concat(bi, "-item"), aQ = "".concat(kt, "-with-checkbox"), nQ = "".concat(kt, "-with-custom-expander-icon"), oQ = "".concat(bi, "-custom-expander-icon-item-container"), sQ = "".concat(kt, "-without-checkbox"), lQ = "".concat(kt, "-data"), Hs = "".concat(bi, "-toggle-item-visibility"), zv = "".concat(bi, "-custom-collapse-icon"), Gv = "".concat(bi, "-custom-expand-icon"), dQ = "".concat(bi, "-loadindicator"), uQ = "".concat(bi, "-loadindicator-wrapper"), WE = "".concat(bi, "-toggle-item-visibility-opened"), bu = "".concat(bi, "-select-all-item"), zE = "dx-state-invisible", $s = "dx-state-disabled", cQ = "dx-state-selected", Uv = "dxTreeView_expand", Su = "data-item-id", hQ = "dx-item-url", GE = "dx-checkbox", pQ = "dx-checkbox-icon", vQ = "".concat(bi, "-root-node"), mQ = "".concat(bi, "-expander-icon-stub"), _Q = fk.inherit({
42901
+ var bi = "dx-treeview", Gt = "".concat(bi, "-node"), Lr = "".concat(Gt, "-container"), Wv = "".concat(Gt, "-loadindicator"), ma = "".concat(Gt, "-container-opened"), Ns = "".concat(Gt, "-is-leaf"), Pt = "".concat(bi, "-item"), aQ = "".concat(Pt, "-with-checkbox"), nQ = "".concat(Pt, "-with-custom-expander-icon"), oQ = "".concat(bi, "-custom-expander-icon-item-container"), sQ = "".concat(Pt, "-without-checkbox"), lQ = "".concat(Pt, "-data"), Hs = "".concat(bi, "-toggle-item-visibility"), zv = "".concat(bi, "-custom-collapse-icon"), Gv = "".concat(bi, "-custom-expand-icon"), dQ = "".concat(bi, "-loadindicator"), uQ = "".concat(bi, "-loadindicator-wrapper"), WE = "".concat(bi, "-toggle-item-visibility-opened"), bu = "".concat(bi, "-select-all-item"), zE = "dx-state-invisible", $s = "dx-state-disabled", cQ = "dx-state-selected", Uv = "dxTreeView_expand", Su = "data-item-id", hQ = "dx-item-url", GE = "dx-checkbox", pQ = "dx-checkbox-icon", vQ = "".concat(bi, "-root-node"), mQ = "".concat(bi, "-expander-icon-stub"), _Q = fk.inherit({
42902
42902
  _supportedKeys(t) {
42903
42903
  var e = (a) => {
42904
42904
  var n = p(this.option("focusedElement"));
42905
42905
  if (n.length) {
42906
- a.target = n, a.currentTarget = n, this._itemClickHandler(a, n.children(".".concat(kt)));
42906
+ a.target = n, a.currentTarget = n, this._itemClickHandler(a, n.children(".".concat(Pt)));
42907
42907
  var o = this._getEventNameByOption(this.option("expandEvent")), s = o === k(fe, Uv);
42908
42908
  s && this._expandEventHandler(a);
42909
42909
  }
@@ -42912,14 +42912,14 @@ var bi = "dx-treeview", Gt = "".concat(bi, "-node"), Lr = "".concat(Gt, "-contai
42912
42912
  var n = p(this.option("focusedElement")), o = this._getCheckBoxInstance(n);
42913
42913
  if (!o.option("disabled")) {
42914
42914
  var s = o.option("value");
42915
- this._updateItemSelection(!s, n.find(".".concat(kt)).get(0), !0);
42915
+ this._updateItemSelection(!s, n.find(".".concat(Pt)).get(0), !0);
42916
42916
  }
42917
42917
  }, r = function(a, n) {
42918
42918
  if (this.option("expandAllEnabled")) {
42919
42919
  n.preventDefault();
42920
42920
  var o = p(this.option("focusedElement"));
42921
42921
  if (o.length) {
42922
- var s = this._getItemData(o.find(".".concat(kt)));
42922
+ var s = this._getItemData(o.find(".".concat(Pt)));
42923
42923
  this._toggleExpandedNestedItems([s], a);
42924
42924
  }
42925
42925
  }
@@ -42948,7 +42948,7 @@ var bi = "dx-treeview", Gt = "".concat(bi, "-node"), Lr = "".concat(Gt, "-contai
42948
42948
  var r = this.$element().get(0).querySelector("[".concat(Su, '="').concat(i, '"]'));
42949
42949
  return p(r);
42950
42950
  },
42951
- _activeStateUnit: ".".concat(kt),
42951
+ _activeStateUnit: ".".concat(Pt),
42952
42952
  _widgetClass: () => bi,
42953
42953
  _getDefaultOptions() {
42954
42954
  var t = y(this.callBase(), {
@@ -43232,7 +43232,7 @@ var bi = "dx-treeview", Gt = "".concat(bi, "-node"), Lr = "".concat(Gt, "-contai
43232
43232
  _renderNodeContainer(t) {
43233
43233
  var e = p("<ul>").addClass(Lr);
43234
43234
  if (this.setAria("role", "group", e), t && t.length) {
43235
- var i = this._getItemData(t.children(".".concat(kt)));
43235
+ var i = this._getItemData(t.children(".".concat(Pt)));
43236
43236
  this._expandedGetter(i) && e.addClass(ma), e.appendTo(t);
43237
43237
  }
43238
43238
  return e;
@@ -43383,7 +43383,7 @@ var bi = "dx-treeview", Gt = "".concat(bi, "-node"), Lr = "".concat(Gt, "-contai
43383
43383
  var e = t.children(".".concat(Lr));
43384
43384
  return e.not(":empty").length;
43385
43385
  },
43386
- _getItem: (t) => t.children(".".concat(kt)).eq(0),
43386
+ _getItem: (t) => t.children(".".concat(Pt)).eq(0),
43387
43387
  _createLoadIndicator(t) {
43388
43388
  var e = this._getItem(t);
43389
43389
  this._createComponent(p("<div>").addClass(Wv), mi, {}).$element().appendTo(e);
@@ -43559,7 +43559,7 @@ var bi = "dx-treeview", Gt = "".concat(bi, "-node"), Lr = "".concat(Gt, "-contai
43559
43559
  t.toggleClass(cQ, !!e);
43560
43560
  },
43561
43561
  _toggleNodeDisabledState(t, e) {
43562
- var i = this._getNodeElement(t), r = i.find(".".concat(kt)).eq(0);
43562
+ var i = this._getNodeElement(t), r = i.find(".".concat(Pt)).eq(0);
43563
43563
  if (this._dataAdapter.toggleNodeDisabledState(t.internalFields.key, e), r.toggleClass($s, !!e), this._showCheckboxes()) {
43564
43564
  var a = this._getCheckBoxInstance(i);
43565
43565
  a.option("disabled", !!e);
@@ -43647,7 +43647,7 @@ var bi = "dx-treeview", Gt = "".concat(bi, "-node"), Lr = "".concat(Gt, "-contai
43647
43647
  }
43648
43648
  },
43649
43649
  _itemEventHandlerImpl(t, e, i) {
43650
- var r = p(t).closest(".".concat(Gt)).children(".".concat(kt));
43650
+ var r = p(t).closest(".".concat(Gt)).children(".".concat(Pt));
43651
43651
  return e(y(this._extendActionArgs(r), i));
43652
43652
  },
43653
43653
  _itemContextMenuHandler(t) {
@@ -43662,7 +43662,7 @@ var bi = "dx-treeview", Gt = "".concat(bi, "-node"), Lr = "".concat(Gt, "-contai
43662
43662
  node: this._dataAdapter.getPublicNode(i)
43663
43663
  });
43664
43664
  },
43665
- _itemClass: () => kt,
43665
+ _itemClass: () => Pt,
43666
43666
  _itemDataKey: () => lQ,
43667
43667
  _attachClickEvent() {
43668
43668
  var t = this._itemContainer();
@@ -43712,7 +43712,7 @@ var bi = "dx-treeview", Gt = "".concat(bi, "-node"), Lr = "".concat(Gt, "-contai
43712
43712
  _updateSelectionToFirstItem(t, e) {
43713
43713
  for (var i = e; i >= 0; ) {
43714
43714
  var r = p(t[i]);
43715
- this._updateItemSelection(!0, r.find(".".concat(kt)).get(0)), i--;
43715
+ this._updateItemSelection(!0, r.find(".".concat(Pt)).get(0)), i--;
43716
43716
  }
43717
43717
  },
43718
43718
  _updateSelectionToLastItem(t, e) {
@@ -43720,7 +43720,7 @@ var bi = "dx-treeview", Gt = "".concat(bi, "-node"), Lr = "".concat(Gt, "-contai
43720
43720
  length: i
43721
43721
  } = t, r = e; r < i; ) {
43722
43722
  var a = p(t[r]);
43723
- this._updateItemSelection(!0, a.find(".".concat(kt)).get(0)), r++;
43723
+ this._updateItemSelection(!0, a.find(".".concat(Pt)).get(0)), r++;
43724
43724
  }
43725
43725
  },
43726
43726
  focus() {
@@ -43753,7 +43753,7 @@ var bi = "dx-treeview", Gt = "".concat(bi, "-node"), Lr = "".concat(Gt, "-contai
43753
43753
  }
43754
43754
  },
43755
43755
  _findNonDisabledNodes: (t) => t.not((function() {
43756
- return p(this).children(".".concat(kt)).hasClass($s);
43756
+ return p(this).children(".".concat(Pt)).hasClass($s);
43757
43757
  })),
43758
43758
  _moveFocus(t, e) {
43759
43759
  var i = this.option("rtlEnabled") ? "right" : "left", r = this.option("rtlEnabled") ? "left" : "right";
@@ -43793,7 +43793,7 @@ var bi = "dx-treeview", Gt = "".concat(bi, "-node"), Lr = "".concat(Gt, "-contai
43793
43793
  this.callBase.apply(this, arguments);
43794
43794
  }
43795
43795
  },
43796
- _getNodeItemElement: (t) => t.find(".".concat(kt)).get(0),
43796
+ _getNodeItemElement: (t) => t.find(".".concat(Pt)).get(0),
43797
43797
  _nodeElements() {
43798
43798
  return this.$element().find(".".concat(Gt)).not(":hidden");
43799
43799
  },
@@ -45845,7 +45845,7 @@ var pJ = Math, vJ = "dx-numberbox", mJ = ["tab", "del", "backspace", "leftArrow"
45845
45845
  },
45846
45846
  _parseValue(t) {
45847
45847
  var e = parseFloat(t);
45848
- return isNaN(e) ? null : Pt(e, this.option("min"), this.option("max"));
45848
+ return isNaN(e) ? null : Lt(e, this.option("min"), this.option("max"));
45849
45849
  },
45850
45850
  _clearValue() {
45851
45851
  this._inputIsInvalid() && (this._input().val(""), this._validateValue()), this.callBase();
@@ -45954,8 +45954,8 @@ var bJ = function(t, e, i) {
45954
45954
  function Sa(t, e, i) {
45955
45955
  t = _n(t, 0);
45956
45956
  var r = ih(e, i), a = {
45957
- start: Pt(t.start, r.start, r.end),
45958
- end: Pt(t.end, r.start, r.end)
45957
+ start: Lt(t.start, r.start, r.end),
45958
+ end: Lt(t.end, r.start, r.end)
45959
45959
  };
45960
45960
  return a;
45961
45961
  }
@@ -46312,7 +46312,7 @@ var SJ = function(t, e, i) {
46312
46312
  this._parsedValue = e;
46313
46313
  return;
46314
46314
  }
46315
- this._parsedValue = Pt(e, this.option("min"), this.option("max"));
46315
+ this._parsedValue = Lt(e, this.option("min"), this.option("max"));
46316
46316
  }
46317
46317
  },
46318
46318
  _valueChangeEventHandler(t) {
@@ -52311,12 +52311,12 @@ var zte = ee(), Gte = rp.inherit({
52311
52311
  this.callBase(), t === null && this._applyInternalValidation(null);
52312
52312
  }
52313
52313
  }), Mw = (t) => t.getMonth() + 1, Fw = (t, e) => {
52314
- var i = t.getDate(), r = Xl("M", t), a = Pt(parseInt(e), r.min, r.max);
52314
+ var i = t.getDate(), r = Xl("M", t), a = Lt(parseInt(e), r.min, r.max);
52315
52315
  t.setMonth(a - 1, 1);
52316
52316
  var {
52317
52317
  min: n,
52318
52318
  max: o
52319
- } = Xl("dM", t), s = Pt(i, n, o);
52319
+ } = Xl("dM", t), s = Lt(i, n, o);
52320
52320
  t.setDate(s);
52321
52321
  }, iie = {
52322
52322
  a: (t) => t.getHours() < 12 ? 0 : 1,
@@ -52654,7 +52654,7 @@ var zte = ee(), Gte = rp.inherit({
52654
52654
  var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0;
52655
52655
  if (!(!this.option("text") || this._disposed)) {
52656
52656
  t && (this._initialMaskValue = new Date(this._maskValue));
52657
- var e = Pt(this._activePartIndex + t, 0, this._dateParts.length - 1);
52657
+ var e = Lt(this._activePartIndex + t, 0, this._dateParts.length - 1);
52658
52658
  if (this._dateParts[e].isStub) {
52659
52659
  var i = e === 0 && t < 0 || e === this._dateParts.length - 1 && t > 0;
52660
52660
  if (!i) {
@@ -52686,7 +52686,7 @@ var zte = ee(), Gte = rp.inherit({
52686
52686
  _setActivePartValue(t, e) {
52687
52687
  e = e || this._maskValue;
52688
52688
  var i = this._getActivePartProp("setter"), r = this._getActivePartLimits();
52689
- t = Kr(t, r.min, r.max) ? t : t % 10, t = this._addLeadingZeroes(Pt(t, r.min, r.max)), V(i) ? i(e, t) : e[i](t), this._renderDisplayText(this._getDisplayedText(e)), this._renderDateParts();
52689
+ t = Kr(t, r.min, r.max) ? t : t % 10, t = this._addLeadingZeroes(Lt(t, r.min, r.max)), V(i) ? i(e, t) : e[i](t), this._renderDisplayText(this._getDisplayedText(e)), this._renderDateParts();
52690
52690
  },
52691
52691
  _getActivePartProp(t) {
52692
52692
  if (!(!this._dateParts || !this._dateParts[this._activePartIndex]))
@@ -65623,7 +65623,7 @@ var Sde = ["accessKey", "activeStateEnabled", "className", "dataSource", "defaul
65623
65623
  componentProps: e,
65624
65624
  templateNames: ["dropDownButtonTemplate", "groupTemplate", "itemTemplate"]
65625
65625
  }, i)));
65626
- }, Rt = Object.create(Object.prototype, A(Object.getOwnPropertyDescriptors(nt), Object.getOwnPropertyDescriptors({
65626
+ }, Bt = Object.create(Object.prototype, A(Object.getOwnPropertyDescriptors(nt), Object.getOwnPropertyDescriptors({
65627
65627
  placeholder: "",
65628
65628
  hoverStateEnabled: !0,
65629
65629
  searchEnabled: !1,
@@ -65631,64 +65631,64 @@ var Sde = ["accessKey", "activeStateEnabled", "className", "dataSource", "defaul
65631
65631
  isReactComponentWrapper: !0
65632
65632
  }))), wde = {
65633
65633
  get placeholder() {
65634
- return Rt.placeholder;
65634
+ return Bt.placeholder;
65635
65635
  },
65636
65636
  get hoverStateEnabled() {
65637
65637
  return zo.hoverStateEnabled;
65638
65638
  },
65639
65639
  get searchEnabled() {
65640
- return Rt.searchEnabled;
65640
+ return Bt.searchEnabled;
65641
65641
  },
65642
65642
  get defaultValue() {
65643
- return Rt.defaultValue;
65643
+ return Bt.defaultValue;
65644
65644
  },
65645
65645
  get readOnly() {
65646
- return Rt.readOnly;
65646
+ return Bt.readOnly;
65647
65647
  },
65648
65648
  get name() {
65649
- return Rt.name;
65649
+ return Bt.name;
65650
65650
  },
65651
65651
  get validationError() {
65652
- return Rt.validationError;
65652
+ return Bt.validationError;
65653
65653
  },
65654
65654
  get validationErrors() {
65655
- return Rt.validationErrors;
65655
+ return Bt.validationErrors;
65656
65656
  },
65657
65657
  get validationMessageMode() {
65658
- return Rt.validationMessageMode;
65658
+ return Bt.validationMessageMode;
65659
65659
  },
65660
65660
  get validationMessagePosition() {
65661
- return Rt.validationMessagePosition;
65661
+ return Bt.validationMessagePosition;
65662
65662
  },
65663
65663
  get validationStatus() {
65664
- return Rt.validationStatus;
65664
+ return Bt.validationStatus;
65665
65665
  },
65666
65666
  get isValid() {
65667
- return Rt.isValid;
65667
+ return Bt.isValid;
65668
65668
  },
65669
65669
  get isDirty() {
65670
- return Rt.isDirty;
65670
+ return Bt.isDirty;
65671
65671
  },
65672
65672
  get inputAttr() {
65673
- return Rt.inputAttr;
65673
+ return Bt.inputAttr;
65674
65674
  },
65675
65675
  get className() {
65676
- return Rt.className;
65676
+ return Bt.className;
65677
65677
  },
65678
65678
  get activeStateEnabled() {
65679
65679
  return zo.activeStateEnabled;
65680
65680
  },
65681
65681
  get disabled() {
65682
- return Rt.disabled;
65682
+ return Bt.disabled;
65683
65683
  },
65684
65684
  get focusStateEnabled() {
65685
65685
  return zo.focusStateEnabled;
65686
65686
  },
65687
65687
  get tabIndex() {
65688
- return Rt.tabIndex;
65688
+ return Bt.tabIndex;
65689
65689
  },
65690
65690
  get visible() {
65691
- return Rt.visible;
65691
+ return Bt.visible;
65692
65692
  },
65693
65693
  get label() {
65694
65694
  return hh.label;
@@ -77128,10 +77128,10 @@ const Vve = { class: "w-full relative" }, Sme = /* @__PURE__ */ He({
77128
77128
  })
77129
77129
  ]),
77130
77130
  createButton: st(() => [
77131
- Lt(L.$slots, "createButton")
77131
+ Rt(L.$slots, "createButton")
77132
77132
  ]),
77133
77133
  toolbarLeft: st(() => [
77134
- Lt(L.$slots, "toolbarLeft")
77134
+ Rt(L.$slots, "toolbarLeft")
77135
77135
  ]),
77136
77136
  customColumnChooser: st(() => [
77137
77137
  Oe(Vo, {
@@ -77145,7 +77145,7 @@ const Vve = { class: "w-full relative" }, Sme = /* @__PURE__ */ He({
77145
77145
  })
77146
77146
  ]),
77147
77147
  toolbarRight: st(() => [
77148
- Lt(L.$slots, "toolbarRight")
77148
+ Rt(L.$slots, "toolbarRight")
77149
77149
  ]),
77150
77150
  default: st(() => [
77151
77151
  Oe(de(nF), {
@@ -77263,13 +77263,13 @@ const Vve = { class: "w-full relative" }, Sme = /* @__PURE__ */ He({
77263
77263
  Cr(S.value.filter((F) => F.template), (F) => ({
77264
77264
  name: F.template,
77265
77265
  fn: st((K) => [
77266
- Lt(L.$slots, F.template, OF(RF(K)))
77266
+ Rt(L.$slots, F.template, OF(RF(K)))
77267
77267
  ])
77268
77268
  }))
77269
77269
  ]), 1032, ["class", "data-source", "word-wrap-enabled", "remote-operations", "key-expr"])) : Be("", !0)
77270
77270
  ]));
77271
77271
  }
77272
- }), Nve = { class: "h-24 app-flex items-center justify-between px-6 border-b border-base-neutral-100" }, Hve = { class: "app-flex gap-4 items-center" }, $ve = /* @__PURE__ */ He({
77272
+ }), Nve = { class: "h-24 min-h-24 app-flex items-center justify-between px-6 border-b border-base-neutral-100" }, Hve = { class: "app-flex gap-4 items-center" }, $ve = /* @__PURE__ */ He({
77273
77273
  __name: "Heading",
77274
77274
  props: {
77275
77275
  title: {},
@@ -77301,7 +77301,8 @@ const Vve = { class: "w-full relative" }, Sme = /* @__PURE__ */ He({
77301
77301
  ]),
77302
77302
  _: 1
77303
77303
  })
77304
- ])
77304
+ ]),
77305
+ Rt(a.$slots, "header-end")
77305
77306
  ]));
77306
77307
  }
77307
77308
  }), Wve = {
@@ -77360,11 +77361,11 @@ const Vve = { class: "w-full relative" }, Sme = /* @__PURE__ */ He({
77360
77361
  onClose: a
77361
77362
  }, {
77362
77363
  default: st(() => [
77363
- Lt(n.$slots, "header-end")
77364
+ Rt(n.$slots, "header-end")
77364
77365
  ]),
77365
77366
  _: 3
77366
77367
  }, 8, ["title", "back-url"]),
77367
- Lt(n.$slots, "default")
77368
+ Rt(n.$slots, "default")
77368
77369
  ], 6)
77369
77370
  ])) : Be("", !0)
77370
77371
  ]),
@@ -77590,6 +77591,7 @@ export {
77590
77591
  Vo as Button,
77591
77592
  Sme as DataGrid,
77592
77593
  sme as Dialog,
77594
+ $ve as DialogHeading,
77593
77595
  Eme as Drawer,
77594
77596
  cme as Dropdown,
77595
77597
  hme as DurationTimeline,