@hotelinking/ui 16.48.6 → 16.48.8

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.
Files changed (3) hide show
  1. package/dist/ui.cjs +1 -1
  2. package/dist/ui.es.js +117 -113
  3. package/package.json +1 -1
package/dist/ui.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent as A, createBlock as w, createElementBlock as s, openBlock as l, resolveDynamicComponent as Fe, normalizeClass as x, computed as j, createCommentVNode as v, renderSlot as J, createElementVNode as t, ref as V, watch as Z, unref as f, withCtx as y, createVNode as m, toDisplayString as c, createTextVNode as B, Transition as we, Fragment as k, renderList as S, withDirectives as D, vModelDynamic as yl, vShow as O, withModifiers as ne, vModelText as xe, createStaticVNode as ee, resolveComponent as it, vModelCheckbox as yt, onMounted as Oe, mergeProps as Le, reactive as ke, normalizeStyle as Re, nextTick as ve, onUnmounted as vl, TransitionGroup as bl, isRef as vt } from "vue";
1
+ import { defineComponent as A, createBlock as w, createElementBlock as s, openBlock as l, resolveDynamicComponent as Fe, normalizeClass as x, computed as j, createCommentVNode as v, renderSlot as J, createElementVNode as t, ref as V, watch as Z, unref as f, withCtx as y, createVNode as m, toDisplayString as c, createTextVNode as B, Transition as we, Fragment as k, renderList as S, withDirectives as D, vModelDynamic as yl, vShow as O, withModifiers as ne, vModelText as xe, createStaticVNode as ee, resolveComponent as it, vModelCheckbox as yt, onMounted as Oe, mergeProps as Le, reactive as ke, normalizeStyle as _e, nextTick as ve, onUnmounted as vl, TransitionGroup as bl, isRef as vt } from "vue";
2
2
  import { Menu as Ue, MenuButton as Ze, MenuItems as We, MenuItem as Je, Combobox as bt, ComboboxLabel as xt, ComboboxInput as pt, ComboboxButton as wt, ComboboxOptions as kt, ComboboxOption as $t, SwitchGroup as xl, Switch as pl, SwitchLabel as wl, TransitionRoot as Ge, Dialog as Ke, TransitionChild as ce, DialogPanel as Qe, DialogTitle as Ct, Disclosure as Ie, DisclosureButton as se, DisclosurePanel as Ne, Popover as kl, PopoverButton as $l, PopoverPanel as Cl, Listbox as Sl, ListboxLabel as Bl, ListboxButton as Ml, ListboxOptions as zl, ListboxOption as jl } from "@headlessui/vue";
3
3
  import Y from "dayjs";
4
4
  import Al from "@vueform/slider";
@@ -155,7 +155,7 @@ function Vl(e, g) {
155
155
  })
156
156
  ]);
157
157
  }
158
- function _l(e, g) {
158
+ function Rl(e, g) {
159
159
  return l(), s("svg", {
160
160
  xmlns: "http://www.w3.org/2000/svg",
161
161
  fill: "none",
@@ -172,7 +172,7 @@ function _l(e, g) {
172
172
  })
173
173
  ]);
174
174
  }
175
- function Rl(e, g) {
175
+ function _l(e, g) {
176
176
  return l(), s("svg", {
177
177
  xmlns: "http://www.w3.org/2000/svg",
178
178
  fill: "none",
@@ -965,7 +965,7 @@ const ts = {
965
965
  fileTypesAndSizes: {},
966
966
  error: {},
967
967
  accept: {},
968
- icon: { type: [Function, Object], default: Rl },
968
+ icon: { type: [Function, Object], default: _l },
969
969
  loading: { type: Boolean, default: !0 },
970
970
  label: {}
971
971
  },
@@ -1095,7 +1095,7 @@ const ts = {
1095
1095
  key: 0,
1096
1096
  modelValue: b.value,
1097
1097
  "onUpdate:modelValue": [
1098
- C[2] || (C[2] = (_) => b.value = _),
1098
+ C[2] || (C[2] = (R) => b.value = R),
1099
1099
  u
1100
1100
  ],
1101
1101
  disabled: e.disabled,
@@ -1113,8 +1113,8 @@ const ts = {
1113
1113
  ]),
1114
1114
  t("div", zs, [
1115
1115
  m(f(pt), {
1116
- onChange: C[0] || (C[0] = (_) => o.value = _.target.value),
1117
- onBlur: C[1] || (C[1] = (_) => o.value = ""),
1116
+ onChange: C[0] || (C[0] = (R) => o.value = R.target.value),
1117
+ onBlur: C[1] || (C[1] = (R) => o.value = ""),
1118
1118
  displayValue: d,
1119
1119
  class: x([{
1120
1120
  "mt-1": e.requiredText || e.label,
@@ -1145,9 +1145,9 @@ const ts = {
1145
1145
  class: "absolute z-10 mt-1 max-h-60 w-full overflow-auto rounded-md bg-white py-1 text-base shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none sm:text-sm"
1146
1146
  }, {
1147
1147
  default: y(() => [
1148
- (l(!0), s(k, null, S(a.value, (_) => (l(), w(f($t), {
1149
- key: _.id,
1150
- value: _,
1148
+ (l(!0), s(k, null, S(a.value, (R) => (l(), w(f($t), {
1149
+ key: R.id,
1150
+ value: R,
1151
1151
  as: "template"
1152
1152
  }, {
1153
1153
  default: y(({ active: E, selected: P }) => [
@@ -1159,7 +1159,7 @@ const ts = {
1159
1159
  }, [
1160
1160
  t("span", {
1161
1161
  class: x(["block truncate", P && "font-semibold"])
1162
- }, c(_.name), 3),
1162
+ }, c(R.name), 3),
1163
1163
  P ? (l(), s("span", {
1164
1164
  key: 0,
1165
1165
  class: x([
@@ -1275,6 +1275,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
1275
1275
  class: x([{ "mt-1": e.label || e.requiredText }, "relative"])
1276
1276
  }, [
1277
1277
  m(f(pt), {
1278
+ disabled: e.disabled,
1278
1279
  class: x([{
1279
1280
  // Estilos condicionales basados en props
1280
1281
  "!border-transparent !shadow-none": e.isWrapped,
@@ -1298,8 +1299,11 @@ const Ds = { class: "flex justify-between" }, Ls = {
1298
1299
  onChange: b[0] || (b[0] = (p) => n.value = p.target.value),
1299
1300
  onBlur: b[1] || (b[1] = (p) => n.value = ""),
1300
1301
  "display-value": (p) => p.label || p.name
1301
- }, null, 8, ["class", "display-value"]),
1302
- m(f(wt), { class: "h-full absolute inset-y-0 right-0 flex items-center rounded-r-md px-2 focus:outline-none" }, {
1302
+ }, null, 8, ["disabled", "class", "display-value"]),
1303
+ m(f(wt), {
1304
+ disabled: e.disabled,
1305
+ class: "h-full absolute inset-y-0 right-0 flex items-center rounded-r-md px-2 focus:outline-none"
1306
+ }, {
1303
1307
  default: y(() => [
1304
1308
  m(f(Ts), {
1305
1309
  class: "size-5 mt-1",
@@ -1307,7 +1311,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
1307
1311
  })
1308
1312
  ]),
1309
1313
  _: 1
1310
- }),
1314
+ }, 8, ["disabled"]),
1311
1315
  a.value.length > 0 ? (l(), w(f(kt), {
1312
1316
  key: 0,
1313
1317
  class: "absolute z-10 max-h-60 w-full overflow-auto rounded-md bg-white py-1 text-base shadow-lg ring-1 ring-black/5 focus:outline-none sm:text-sm"
@@ -1317,14 +1321,14 @@ const Ds = { class: "flex justify-between" }, Ls = {
1317
1321
  key: p.id,
1318
1322
  value: p
1319
1323
  }, {
1320
- default: y(({ active: C, selected: _ }) => [
1324
+ default: y(({ active: C, selected: R }) => [
1321
1325
  t("li", {
1322
1326
  class: x(["relative cursor-default select-none py-2 pl-3 pr-9", C ? "bg-lime-400 outline-none" : "text-gray-900"])
1323
1327
  }, [
1324
1328
  t("span", {
1325
- class: x(["block truncate", _ && "font-semibold"])
1329
+ class: x(["block truncate", R && "font-semibold"])
1326
1330
  }, c(p.label || p.name), 3),
1327
- _ ? (l(), s("span", {
1331
+ R ? (l(), s("span", {
1328
1332
  key: 0,
1329
1333
  class: x(["absolute inset-y-0 right-0 flex items-center pr-4", C ? "text-black" : "text-lime-400"])
1330
1334
  }, [
@@ -1404,10 +1408,10 @@ const Ds = { class: "flex justify-between" }, Ls = {
1404
1408
  key: 1,
1405
1409
  "data-test": "required",
1406
1410
  class: "text-[10px] uppercase justify-self-end"
1407
- }, Vs = ["disabled", "placeholder"], _s = {
1411
+ }, Vs = ["disabled", "placeholder"], Rs = {
1408
1412
  key: 1,
1409
1413
  class: "animate-pulse"
1410
- }, Rs = /* @__PURE__ */ A({
1414
+ }, _s = /* @__PURE__ */ A({
1411
1415
  __name: "uiTextArea",
1412
1416
  props: {
1413
1417
  name: {},
@@ -1427,7 +1431,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
1427
1431
  }, r = V(o.value);
1428
1432
  return Z(() => o.value, (a) => {
1429
1433
  r.value = a, i("inputChanged", { name: o.name, value: r.value });
1430
- }), (a, d) => e.loading ? (l(), s("div", _s, [...d[1] || (d[1] = [
1434
+ }), (a, d) => e.loading ? (l(), s("div", Rs, [...d[1] || (d[1] = [
1431
1435
  t("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-2/3 md:w-1/4 mb-1.5" }, null, -1),
1432
1436
  t("div", { class: "h-24 bg-gray-200 rounded-lg flex inline-flex items-center relative inline-block text-left w-full" }, null, -1)
1433
1437
  ])])) : (l(), s("div", Fs, [
@@ -1768,10 +1772,10 @@ const Ds = { class: "flex justify-between" }, Ls = {
1768
1772
  }
1769
1773
  }), pn = { class: "flex items-center flex-col sm:flex-row justify-center sm:justify-start" }, wn = ["src"], kn = { class: "font-bold text-center sm:text-left" }, $n = { class: "mt-1 text-xs text-center sm:text-left" }, Cn = {
1770
1774
  key: 0,
1771
- class: "flex flex-wrap mt-4 justify-center sm:justify-start"
1775
+ class: "flex flex-wrap mt-auto justify-center sm:justify-start"
1772
1776
  }, Sn = {
1773
1777
  key: 1,
1774
- class: "rounded-lg bg-white shadow p-6 cursor-pointer animate-pulse"
1778
+ class: "rounded-lg bg-white shadow p-6 cursor-pointer animate-pulse h-full flex flex-col"
1775
1779
  }, Bn = /* @__PURE__ */ A({
1776
1780
  __name: "uiCard",
1777
1781
  props: {
@@ -1788,7 +1792,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
1788
1792
  ee('<div class="flex items-center flex-col sm:flex-row justify-center sm:justify-start w-full"><div class="w-16 h-16 rounded-full bg-gray-200 flex self-center"></div><div class="w-full ml-4"><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-full mt-4 sm:mt-0 sm:w-16 mb-2"></div><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-full sm:w-32"></div></div></div>', 1)
1789
1793
  ])])) : (l(), s("div", {
1790
1794
  key: 0,
1791
- class: "rounded-lg bg-white shadow p-6 cursor-pointer",
1795
+ class: "rounded-lg bg-white shadow p-6 cursor-pointer h-full flex flex-col",
1792
1796
  onClick: o[0] || (o[0] = (n) => i.$emit("cardSelected", { id: e.id, name: e.name, type: e.type, tags: e.tags }))
1793
1797
  }, [
1794
1798
  t("div", pn, [
@@ -1818,7 +1822,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
1818
1822
  }
1819
1823
  }), Mn = {
1820
1824
  key: 0,
1821
- class: "rounded-lg bg-white shadow p-6"
1825
+ class: "rounded-lg bg-white shadow p-6 h-full flex flex-col"
1822
1826
  }, zn = { class: "flex items-center justify-between mb-4" }, jn = { class: "flex items-center gap-3" }, An = { class: "mb-4" }, Tn = { class: "font-bold text-lg mb-1" }, Dn = {
1823
1827
  key: 0,
1824
1828
  class: "text-sm text-gray-500"
@@ -1831,13 +1835,13 @@ const Ds = { class: "flex justify-between" }, Ls = {
1831
1835
  }, In = {
1832
1836
  key: 0,
1833
1837
  class: "text-sm text-gray-600 mb-4 line-clamp-3"
1834
- }, Nn = { class: "flex flex-col pt-4 border-t border-gray-200" }, Vn = {
1838
+ }, Nn = { class: "flex flex-col pt-4 border-t border-gray-200 mt-auto" }, Vn = {
1835
1839
  key: 0,
1836
1840
  class: "text-xs text-gray-500 mb-3"
1837
- }, _n = { class: "flex flex-col xl:flex-row xl:flex-wrap items-stretch xl:items-center gap-2" }, Rn = {
1841
+ }, Rn = { class: "flex flex-col xl:flex-row xl:flex-wrap items-stretch xl:items-center gap-2" }, _n = {
1838
1842
  key: 1,
1839
- class: "rounded-lg bg-white shadow p-6 animate-pulse"
1840
- }, qn = { class: "flex items-center justify-between mb-4" }, Hn = { class: "flex items-center gap-3" }, Yn = { class: "flex flex-col pt-4 border-t border-gray-200" }, En = { class: "flex flex-col xl:flex-row xl:flex-wrap items-stretch xl:items-center gap-2" }, Un = /* @__PURE__ */ A({
1843
+ class: "rounded-lg bg-white shadow p-6 animate-pulse h-full flex flex-col"
1844
+ }, qn = { class: "flex items-center justify-between mb-4" }, Hn = { class: "flex items-center gap-3" }, Yn = { class: "flex flex-col pt-4 border-t border-gray-200 mt-auto" }, En = { class: "flex flex-col xl:flex-row xl:flex-wrap items-stretch xl:items-center gap-2" }, Un = /* @__PURE__ */ A({
1841
1845
  __name: "uiCardWithImage",
1842
1846
  props: {
1843
1847
  id: {},
@@ -1860,7 +1864,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
1860
1864
  const i = e, o = V(!0);
1861
1865
  return Z(() => i.image, () => {
1862
1866
  o.value = !0;
1863
- }, { immediate: !0 }), (n, r) => e.loading ? (l(), s("div", Rn, [
1867
+ }, { immediate: !0 }), (n, r) => e.loading ? (l(), s("div", _n, [
1864
1868
  t("div", qn, [
1865
1869
  t("div", Hn, [
1866
1870
  r[6] || (r[6] = t("div", { class: "w-4 h-4 rounded-full bg-gray-200" }, null, -1)),
@@ -1967,7 +1971,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
1967
1971
  e.bodyText ? (l(), s("p", In, c(e.bodyText), 1)) : v("", !0),
1968
1972
  t("div", Nn, [
1969
1973
  e.updatedDate ? (l(), s("span", Vn, " Updated " + c(e.updatedDate), 1)) : v("", !0),
1970
- t("div", _n, [
1974
+ t("div", Rn, [
1971
1975
  e.showActions ? (l(), w(U, {
1972
1976
  key: 0,
1973
1977
  onClick: r[3] || (r[3] = ne((a) => n.$emit("actionClick", { id: e.id, action: "edit" }), ["stop"])),
@@ -2504,10 +2508,10 @@ function Ia(e, g, i, o, n, r) {
2504
2508
  }
2505
2509
  const Na = /* @__PURE__ */ Ce(Da, [["render", Ia]]), Va = {
2506
2510
  name: "SkeletonTable"
2507
- }, _a = { class: "px-4 sm:px-6 lg:px-8 animate-pulse" }, Ra = { class: "flow-root" }, qa = { class: "-mx-4 -my-2 overflow-x-auto sm:-mx-6 lg:-mx-8" }, Ha = { class: "inline-block min-w-full py-2 align-middle px-1" }, Ya = { class: "overflow-hidden shadow ring-1 ring-black ring-opacity-5 sm:rounded-lg" }, Ea = { class: "min-w-full divide-y divide-gray-300" }, Ua = { class: "divide-y divide-gray-200 bg-white" };
2511
+ }, Ra = { class: "px-4 sm:px-6 lg:px-8 animate-pulse" }, _a = { class: "flow-root" }, qa = { class: "-mx-4 -my-2 overflow-x-auto sm:-mx-6 lg:-mx-8" }, Ha = { class: "inline-block min-w-full py-2 align-middle px-1" }, Ya = { class: "overflow-hidden shadow ring-1 ring-black ring-opacity-5 sm:rounded-lg" }, Ea = { class: "min-w-full divide-y divide-gray-300" }, Ua = { class: "divide-y divide-gray-200 bg-white" };
2508
2512
  function Za(e, g, i, o, n, r) {
2509
- return l(), s("div", _a, [
2510
- t("div", Ra, [
2513
+ return l(), s("div", Ra, [
2514
+ t("div", _a, [
2511
2515
  t("div", qa, [
2512
2516
  t("div", Ha, [
2513
2517
  t("div", Ya, [
@@ -2793,11 +2797,11 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
2793
2797
  }, No = {
2794
2798
  key: 0,
2795
2799
  class: "absolute top-0 left-12 flex h-12 items-center space-x-3 sm:left-48 bg-white shadow rounded px-4 py-1 z-10"
2796
- }, Vo = ["onClick"], _o = {
2800
+ }, Vo = ["onClick"], Ro = {
2797
2801
  colspan: "2",
2798
2802
  scope: "colgroup",
2799
2803
  class: "relative bg-gray-100 py-3.5 pl-4 pr-3 text-left font-semibold"
2800
- }, Ro = ["checked", "indeterminate"], qo = { class: "pl-6" }, Ho = {
2804
+ }, _o = ["checked", "indeterminate"], qo = { class: "pl-6" }, Ho = {
2801
2805
  colspan: "2",
2802
2806
  scope: "colgroup",
2803
2807
  class: "bg-gray-100 py-2 pl-4 pr-3 text-left font-semibold"
@@ -2854,7 +2858,7 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
2854
2858
  () => i.paginationCurrent !== void 0 && i.paginationTotal !== void 0 && i.paginationTotalItems !== void 0
2855
2859
  ), C = j(
2856
2860
  () => i.pageSizeOptions && i.pageSizeOptions.length > 0
2857
- ), _ = j(() => i.pageSizeOptions ? i.pageSizeOptions.map(($) => ({
2861
+ ), R = j(() => i.pageSizeOptions ? i.pageSizeOptions.map(($) => ({
2858
2862
  name: $.name,
2859
2863
  value: String($.value),
2860
2864
  active: !!($.active || i.currentPageSize && $.value === i.currentPageSize)
@@ -2863,7 +2867,7 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
2863
2867
  }, P = ($) => {
2864
2868
  let F = i.category.selectionPrices.find((N) => Y(N.date).isSame($.date));
2865
2869
  return F ? F.price : $.price;
2866
- }, R = ($) => {
2870
+ }, _ = ($) => {
2867
2871
  a.value = $.target.checked ? i.rooms.map((F) => F.id) : [];
2868
2872
  }, Q = () => o("changeCategoryBulkPrices"), re = ($) => o("changeCategorySelectionPrice", $), me = ($) => o("changeCategoryUpgradePrice", $), fe = ($) => o("tableAction", $), M = ($, F, N) => o("changeRoomPrice", { price: $, roomId: F, roomName: N }), q = ($) => {
2869
2873
  o("changePage", $);
@@ -2970,14 +2974,14 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
2970
2974
  ])
2971
2975
  ]),
2972
2976
  t("tr", null, [
2973
- t("th", _o, [
2977
+ t("th", Ro, [
2974
2978
  t("input", {
2975
2979
  type: "checkbox",
2976
2980
  class: "absolute left-4 top-1/2 -mt-2 h-4 w-4 rounded border-gray-300 text-lime-400 focus:ring-lime-400",
2977
2981
  checked: u.value || a.value.length === e.rooms.length,
2978
2982
  indeterminate: u.value,
2979
- onChange: R
2980
- }, null, 40, Ro),
2983
+ onChange: _
2984
+ }, null, 40, _o),
2981
2985
  t("span", qo, c(e.literals.room), 1)
2982
2986
  ]),
2983
2987
  t("th", Ho, c(e.literals.building), 1),
@@ -3029,7 +3033,7 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
3029
3033
  C.value ? (l(), s("div", Qo, [
3030
3034
  m(ge, {
3031
3035
  verticalPosition: "top",
3032
- items: _.value,
3036
+ items: R.value,
3033
3037
  loading: i.loading,
3034
3038
  onOptionSelected: H
3035
3039
  }, null, 8, ["items", "loading"])
@@ -3179,13 +3183,13 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
3179
3183
  }), n.type === "area" && (d.tooltip = { intersect: !1, shared: !0 });
3180
3184
  const u = () => (d.chart.stacked = n.stacked, n.options && (n.options.xaxis.hideOverlappingLabels = !0, n.options.xaxis.decimalsInFloat = 2, n.options.xaxis.tickAmount = 10), { ...d, ...n.options, plotOptions: { bar: { horizontal: n.horizontal } } }), b = () => {
3181
3185
  r.from !== "" && r.to !== "" && Y(r.from).isBefore(Y(r.to)) && i("selectedRange", { range: r, chartId: n.id });
3182
- }, p = j(() => n.series), C = j(() => u()), _ = () => i("chartUpdated"), E = (P, R, Q) => {
3183
- i("dataPointSelection", { id: n.id, chartContext: R, config: Q, event: P });
3186
+ }, p = j(() => n.series), C = j(() => u()), R = () => i("chartUpdated"), E = (P, _, Q) => {
3187
+ i("dataPointSelection", { id: n.id, chartContext: _, config: Q, event: P });
3184
3188
  };
3185
- return (P, R) => (l(), s(k, null, [
3189
+ return (P, _) => (l(), s(k, null, [
3186
3190
  D(t("div", {
3187
3191
  class: "card chart apex-chart p-4 bg-white shadow rounded-lg overflow-hidden flex grow",
3188
- style: Re({ height: e.height + "px" })
3192
+ style: _e({ height: e.height + "px" })
3189
3193
  }, [
3190
3194
  t("div", ei, [
3191
3195
  t("div", ti, c(e.title), 1),
@@ -3240,7 +3244,7 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
3240
3244
  t("div", ii, [
3241
3245
  D(t("input", {
3242
3246
  type: "datetime-local",
3243
- "onUpdate:modelValue": R[0] || (R[0] = (Q) => f(r).from = Q),
3247
+ "onUpdate:modelValue": _[0] || (_[0] = (Q) => f(r).from = Q),
3244
3248
  max: o.value.toString(),
3245
3249
  onChange: b,
3246
3250
  name: "from",
@@ -3253,7 +3257,7 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
3253
3257
  t("div", di, [
3254
3258
  D(t("input", {
3255
3259
  type: "datetime-local",
3256
- "onUpdate:modelValue": R[1] || (R[1] = (Q) => f(r).to = Q),
3260
+ "onUpdate:modelValue": _[1] || (_[1] = (Q) => f(r).to = Q),
3257
3261
  max: o.value.toString(),
3258
3262
  onChange: b,
3259
3263
  name: "to",
@@ -3268,7 +3272,7 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
3268
3272
  size: "big",
3269
3273
  loading: e.loading,
3270
3274
  icon: f(St),
3271
- onClick: R[2] || (R[2] = (Q) => P.$emit("maximizeChart", e.id))
3275
+ onClick: _[2] || (_[2] = (Q) => P.$emit("maximizeChart", e.id))
3272
3276
  }, null, 8, ["loading", "icon"])
3273
3277
  ])
3274
3278
  ]),
@@ -3279,8 +3283,8 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
3279
3283
  series: p.value,
3280
3284
  height: "100%",
3281
3285
  options: C.value,
3282
- onUpdated: _,
3283
- onMounted: _,
3286
+ onUpdated: R,
3287
+ onMounted: R,
3284
3288
  onDataPointSelection: E
3285
3289
  }, null, 8, ["type", "series", "options"])
3286
3290
  ], 512), [
@@ -3293,14 +3297,14 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
3293
3297
  loading: !1,
3294
3298
  size: "massive"
3295
3299
  }, null, 8, ["icon"]),
3296
- R[3] || (R[3] = t("p", { class: "text-xs uppercase text-gray-300 font-bold" }, "No data for this time frame", -1))
3300
+ _[3] || (_[3] = t("p", { class: "text-xs uppercase text-gray-300 font-bold" }, "No data for this time frame", -1))
3297
3301
  ], 512), [
3298
3302
  [O, e.empty]
3299
3303
  ])
3300
3304
  ], 4), [
3301
3305
  [O, !e.loading]
3302
3306
  ]),
3303
- D(t("div", mi, [...R[4] || (R[4] = [
3307
+ D(t("div", mi, [..._[4] || (_[4] = [
3304
3308
  t("div", {
3305
3309
  role: "status",
3306
3310
  class: "w-full animate-pulse h-full flex flex-col"
@@ -3487,7 +3491,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
3487
3491
  }), Li = { class: "flex flex-row grow border-r border-gray-200 bg-white pr-6 h-screen" }, Pi = { class: "bg-black w-16 mr-6 flex-shrink-0" }, Fi = ["onClick"], Oi = ["src", "alt"], Ii = {
3488
3492
  key: 0,
3489
3493
  class: "flex flex-col grow h-full"
3490
- }, Ni = ["src"], Vi = { class: "flex flex-1 flex-col overflow-hidden mt-8" }, _i = { class: "flex-1 overflow-y-auto pr-6" }, Ri = {
3494
+ }, Ni = ["src"], Vi = { class: "flex flex-1 flex-col overflow-hidden mt-8" }, Ri = { class: "flex-1 overflow-y-auto pr-6" }, _i = {
3491
3495
  key: 0,
3492
3496
  role: "list",
3493
3497
  class: "flex flex-col gap-y-7 mb-4"
@@ -3548,8 +3552,8 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
3548
3552
  }, null, 8, Ni)
3549
3553
  ]),
3550
3554
  t("nav", Vi, [
3551
- t("div", _i, [
3552
- e.isFilterNavigation ? v("", !0) : (l(), s("ul", Ri, [
3555
+ t("div", Ri, [
3556
+ e.isFilterNavigation ? v("", !0) : (l(), s("ul", _i, [
3553
3557
  t("li", null, [
3554
3558
  t("ul", qi, [
3555
3559
  (l(!0), s(k, null, S(o.value, (a) => (l(), s("li", {
@@ -3733,7 +3737,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
3733
3737
  class: "self-center flex-shrink-0 h-3 w-3 text-green-500",
3734
3738
  "aria-hidden": "true"
3735
3739
  })) : v("", !0),
3736
- e.item.changeType === "decrease" ? (l(), w(f(_l), {
3740
+ e.item.changeType === "decrease" ? (l(), w(f(Rl), {
3737
3741
  key: 1,
3738
3742
  class: "self-center flex-shrink-0 h-3 w-3 text-red-500",
3739
3743
  "aria-hidden": "true"
@@ -3925,7 +3929,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
3925
3929
  id: a.value.name,
3926
3930
  label: a.value.label,
3927
3931
  name: a.value.name
3928
- })), _ = j(() => r.map((M) => M.type === "uiInput" ? {
3932
+ })), R = j(() => r.map((M) => M.type === "uiInput" ? {
3929
3933
  name: M.label,
3930
3934
  operator: i.literals.contains,
3931
3935
  value: M.props.value || ""
@@ -3942,7 +3946,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
3942
3946
  }, P = (M) => {
3943
3947
  const q = Array.isArray(M) ? M[0] : M, H = i.availableCategories.find(($) => $.name === q.id);
3944
3948
  H && (a.value = H);
3945
- }, R = () => {
3949
+ }, _ = () => {
3946
3950
  if (!a.value || !a.value.name)
3947
3951
  return;
3948
3952
  const M = {
@@ -3982,9 +3986,9 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
3982
3986
  m(f($l), { class: "inline-flex items-center gap-x-2 text-sm/6 font-semibold text-gray-900 outline-none flex-wrap gap-y-1" }, {
3983
3987
  default: y(() => [
3984
3988
  t("span", null, c(i.literals.filters) + ": ", 1),
3985
- (l(!0), s(k, null, S(_.value, (H, $) => (l(), s(k, { key: $ }, [
3989
+ (l(!0), s(k, null, S(R.value, (H, $) => (l(), s(k, { key: $ }, [
3986
3990
  t("span", wr, c(H.name) + " " + c(H.operator) + ": " + c(H.value), 1),
3987
- $ < _.value.length - 1 ? (l(), s("span", kr, c(n.value.name), 1)) : v("", !0)
3991
+ $ < R.value.length - 1 ? (l(), s("span", kr, c(n.value.name), 1)) : v("", !0)
3988
3992
  ], 64))), 128)),
3989
3993
  m(f(oe), {
3990
3994
  class: "size-5",
@@ -4016,7 +4020,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
4016
4020
  }, null, 8, ["loading", "items", "select"]),
4017
4021
  m(U, {
4018
4022
  loading: i.loading,
4019
- onClick: R,
4023
+ onClick: _,
4020
4024
  disabled: !a.value || !a.value.name
4021
4025
  }, {
4022
4026
  default: y(() => [...q[0] || (q[0] = [
@@ -4186,7 +4190,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
4186
4190
  }, Vr = {
4187
4191
  key: 1,
4188
4192
  class: "w-auto"
4189
- }, _r = { class: "-my-2 overflow-x-auto" }, Rr = { class: "inline-block min-w-full py-2 align-middle px-1" }, qr = { class: "relative overflow-hidden shadow ring-1 ring-black ring-opacity-5 md:rounded-lg" }, Hr = {
4193
+ }, Rr = { class: "-my-2 overflow-x-auto" }, _r = { class: "inline-block min-w-full py-2 align-middle px-1" }, qr = { class: "relative overflow-hidden shadow ring-1 ring-black ring-opacity-5 md:rounded-lg" }, Hr = {
4190
4194
  key: 0,
4191
4195
  class: "absolute top-0 left-12 flex h-12 items-center space-x-3 sm:left-16 bg-white shadow rounded px-4 py-1 z-50"
4192
4196
  }, Yr = ["onClick"], Er = { class: "min-w-full table-fixed divide-y divide-gray-300" }, Ur = ["checked", "indeterminate"], Zr = ["onMouseover"], Wr = ["onClick"], Jr = {
@@ -4236,7 +4240,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
4236
4240
  setup(e, { emit: g }) {
4237
4241
  const i = {
4238
4242
  uiTag: K
4239
- }, o = g, n = e, r = V([]), a = V(""), d = V(!1), u = V(null), b = V(null), p = V(!1), C = V(null), _ = V(null), E = j(() => n.items && n.items.length > 0), P = j(() => r.value.length > 0), R = j(() => n.actions && n.actions.length > 0 || !1), Q = j(
4243
+ }, o = g, n = e, r = V([]), a = V(""), d = V(!1), u = V(null), b = V(null), p = V(!1), C = V(null), R = V(null), E = j(() => n.items && n.items.length > 0), P = j(() => r.value.length > 0), _ = j(() => n.actions && n.actions.length > 0 || !1), Q = j(
4240
4244
  () => r.value.length === n.items.length && n.items.length > 0
4241
4245
  ), re = j(
4242
4246
  () => r.value.length > 0 && r.value.length < n.items.length
@@ -4276,12 +4280,12 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
4276
4280
  filter: "Filtrar"
4277
4281
  }, It = (h) => {
4278
4282
  h.action === "close" ? Se.value = !1 : (Se.value = !1, n.selectAllItemsModal && o("modalAction", { modal: n.selectAllItemsModal.modalName, action: h.action }));
4279
- }, st = (h) => n.hiddenColumns && n.hiddenColumns.length > 0 ? !n.hiddenColumns.includes(h) : !0, _e = (h) => r.value.includes(h), Nt = (h) => a.value === h, Vt = (h) => h.filter((T, z) => st(z)), _t = (h, T) => {
4283
+ }, st = (h) => n.hiddenColumns && n.hiddenColumns.length > 0 ? !n.hiddenColumns.includes(h) : !0, Re = (h) => r.value.includes(h), Nt = (h) => a.value === h, Vt = (h) => h.filter((T, z) => st(z)), Rt = (h, T) => {
4280
4284
  const z = [];
4281
- return _e(h.id) && z.push("bg-gray-50"), T % 2 !== 0 && z.push("bg-gray-50"), z;
4282
- }, Rt = (h) => {
4285
+ return Re(h.id) && z.push("bg-gray-50"), T % 2 !== 0 && z.push("bg-gray-50"), z;
4286
+ }, _t = (h) => {
4283
4287
  const T = ["whitespace-nowrap", "py-4", "pr-3", "text-sm"];
4284
- return _e(h) && T.push("text-black", "font-bold"), T;
4288
+ return Re(h) && T.push("text-black", "font-bold"), T;
4285
4289
  }, qt = (h) => {
4286
4290
  const T = [
4287
4291
  "absolute",
@@ -4406,10 +4410,10 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
4406
4410
  const h = () => {
4407
4411
  he(), ye();
4408
4412
  };
4409
- _.value = h, window.addEventListener("resize", h);
4413
+ R.value = h, window.addEventListener("resize", h);
4410
4414
  });
4411
4415
  }), vl(() => {
4412
- _.value && (window.removeEventListener("resize", _.value), _.value = null);
4416
+ R.value && (window.removeEventListener("resize", R.value), R.value = null);
4413
4417
  }), (h, T) => !e.loading && E.value ? (l(), s("div", Pr, [
4414
4418
  e.selectAllItemsModal ? (l(), w(Pe, {
4415
4419
  key: 0,
@@ -4492,12 +4496,12 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
4492
4496
  ref_key: "tableWrapper",
4493
4497
  ref: b,
4494
4498
  class: "flex flex-col",
4495
- style: Re(ml.value)
4499
+ style: _e(ml.value)
4496
4500
  }, [
4497
- t("div", _r, [
4498
- t("div", Rr, [
4501
+ t("div", Rr, [
4502
+ t("div", _r, [
4499
4503
  t("div", qr, [
4500
- P.value && R.value ? (l(), s("div", Hr, [
4504
+ P.value && _.value ? (l(), s("div", Hr, [
4501
4505
  (l(!0), s(k, null, S(e.actions, (z, G) => (l(), s("button", {
4502
4506
  key: G,
4503
4507
  type: "button",
@@ -4509,7 +4513,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
4509
4513
  ref_key: "tableScrollContainer",
4510
4514
  ref: u,
4511
4515
  class: x(ul.value),
4512
- style: Re(fl.value)
4516
+ style: _e(fl.value)
4513
4517
  }, [
4514
4518
  t("table", Er, [
4515
4519
  t("thead", {
@@ -4520,7 +4524,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
4520
4524
  scope: "col",
4521
4525
  class: x(fe.value)
4522
4526
  }, [
4523
- R.value ? (l(), s("input", {
4527
+ _.value ? (l(), s("input", {
4524
4528
  key: 0,
4525
4529
  checked: Q.value,
4526
4530
  indeterminate: re.value,
@@ -4564,13 +4568,13 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
4564
4568
  t("tbody", Gr, [
4565
4569
  (l(!0), s(k, null, S(e.items, (z, G) => (l(), s("tr", {
4566
4570
  key: z.id,
4567
- class: x(_t(z, G))
4571
+ class: x(Rt(z, G))
4568
4572
  }, [
4569
4573
  t("td", {
4570
4574
  class: x(M.value)
4571
4575
  }, [
4572
- _e(z.id) ? (l(), s("div", Kr)) : v("", !0),
4573
- R.value ? D((l(), s("input", {
4576
+ Re(z.id) ? (l(), s("div", Kr)) : v("", !0),
4577
+ _.value ? D((l(), s("input", {
4574
4578
  key: 1,
4575
4579
  "onUpdate:modelValue": T[4] || (T[4] = (I) => r.value = I),
4576
4580
  value: z.id,
@@ -4583,7 +4587,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
4583
4587
  ], 2),
4584
4588
  (l(!0), s(k, null, S(Vt(z.row), (I, ot) => (l(), s("td", {
4585
4589
  key: ot,
4586
- class: x(Rt(z.id))
4590
+ class: x(_t(z.id))
4587
4591
  }, [
4588
4592
  typeof I == "object" && I.type === "guest" ? (l(), s("div", Xr, [
4589
4593
  t("span", ed, c(I.content), 1),
@@ -4805,11 +4809,11 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
4805
4809
  }, Od = { class: "px-4 py-5 sm:p-6 animate-pulse" }, Id = { class: "flow-root" }, Nd = {
4806
4810
  class: "-mb-8",
4807
4811
  role: "list"
4808
- }, Vd = { class: "relative pb-8" }, _d = {
4812
+ }, Vd = { class: "relative pb-8" }, Rd = {
4809
4813
  key: 0,
4810
4814
  class: "absolute left-4 top-4 -ml-px h-full w-0.5 bg-gray-200",
4811
4815
  "aria-hidden": "true"
4812
- }, Rd = /* @__PURE__ */ A({
4816
+ }, _d = /* @__PURE__ */ A({
4813
4817
  __name: "uiTimeline",
4814
4818
  props: {
4815
4819
  name: {},
@@ -4832,7 +4836,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
4832
4836
  t("ul", Nd, [
4833
4837
  (l(), s(k, null, S(10, (a, d) => t("li", { key: d }, [
4834
4838
  t("div", Vd, [
4835
- a !== 10 ? (l(), s("span", _d)) : v("", !0),
4839
+ a !== 10 ? (l(), s("span", Rd)) : v("", !0),
4836
4840
  r[2] || (r[2] = ee('<div class="relative flex space-x-3"><div><span class="h-8 w-8 rounded-full bg-gray-300 flex items-center justify-center ring-4 ring-white"></span></div><div class="min-w-0 flex-1 pt-1.5 flex justify-between space-x-4 items-center"><div><div class="text-sm text-gray-500 flex-1"><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-full"></div></div></div><div class="text-right text-sm whitespace-nowrap text-gray-500 flex-1"><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/4"></div></div></div></div>', 1))
4837
4841
  ])
4838
4842
  ])), 64))
@@ -5425,7 +5429,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
5425
5429
  }), Vc = {
5426
5430
  key: 1,
5427
5431
  class: "animate-pulse"
5428
- }, _c = /* @__PURE__ */ A({
5432
+ }, Rc = /* @__PURE__ */ A({
5429
5433
  __name: "DraggableWrapper",
5430
5434
  emits: ["update:modelValue"],
5431
5435
  setup(e) {
@@ -5453,7 +5457,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
5453
5457
  ])]))
5454
5458
  ]));
5455
5459
  }
5456
- }), Rc = { class: "cursor-move mb-1 relative flex items-center space-x-3 rounded-lg border border-gray-300 bg-white p-4 shadow-sm focus-within:ring-2 focus-within:ring-indigo-500 focus-within:ring-offset-2 hover:border-gray-400" }, qc = { class: "flex flex-row items-center w-full" }, Hc = { class: "content text-sm grow" }, Yc = { class: "font-bold" }, Ec = { key: 0 }, Uc = { class: "font-bold text-gray-400" }, Zc = {
5460
+ }), _c = { class: "cursor-move mb-1 relative flex items-center space-x-3 rounded-lg border border-gray-300 bg-white p-4 shadow-sm focus-within:ring-2 focus-within:ring-indigo-500 focus-within:ring-offset-2 hover:border-gray-400" }, qc = { class: "flex flex-row items-center w-full" }, Hc = { class: "content text-sm grow" }, Yc = { class: "font-bold" }, Ec = { key: 0 }, Uc = { class: "font-bold text-gray-400" }, Zc = {
5457
5461
  key: 1,
5458
5462
  class: "animate-pulse"
5459
5463
  }, Wc = /* @__PURE__ */ A({
@@ -5474,7 +5478,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
5474
5478
  };
5475
5479
  return (a, d) => e.loading ? (l(), s("div", Zc, [...d[2] || (d[2] = [
5476
5480
  ee('<div class="h-16 mb-1 relative flex items-center space-x-3 rounded-lg bg-gray-200 dark:bg-gray-300 p-4 shadow-sm"></div><div class="h-16 mb-1 relative flex items-center space-x-3 rounded-lg bg-gray-200 dark:bg-gray-300 p-4 shadow-sm"></div><div class="h-16 mb-1 relative flex items-center space-x-3 rounded-lg bg-gray-200 dark:bg-gray-300 p-4 shadow-sm"></div><div class="h-16 mb-1 relative flex items-center space-x-3 rounded-lg bg-gray-200 dark:bg-gray-300 p-4 shadow-sm"></div><div class="h-16 relative flex items-center space-x-3 rounded-lg bg-gray-200 dark:bg-gray-300 p-4 shadow-sm"></div>', 5)
5477
- ])])) : (l(), w(_c, {
5481
+ ])])) : (l(), w(Rc, {
5478
5482
  key: 0,
5479
5483
  modelValue: f(n),
5480
5484
  "onUpdate:modelValue": [
@@ -5483,7 +5487,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
5483
5487
  ]
5484
5488
  }, {
5485
5489
  item: y(({ item: u }) => [
5486
- t("div", Rc, [
5490
+ t("div", _c, [
5487
5491
  t("div", qc, [
5488
5492
  m(L, {
5489
5493
  icon: f(Hl),
@@ -5562,9 +5566,9 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
5562
5566
  }
5563
5567
  }
5564
5568
  };
5565
- const d = () => ({ ...a, ...o.options }), u = j(() => o.series), b = j(() => d()), p = () => i("chartUpdated"), C = (E, P, R) => {
5566
- i("dataPointSelection", { id: o.id, chartContext: P, config: R, event: E });
5567
- }, _ = () => {
5569
+ const d = () => ({ ...a, ...o.options }), u = j(() => o.series), b = j(() => d()), p = () => i("chartUpdated"), C = (E, P, _) => {
5570
+ i("dataPointSelection", { id: o.id, chartContext: P, config: _, event: E });
5571
+ }, R = () => {
5568
5572
  r.from !== "" && r.to !== "" && Y(r.from).isBefore(Y(r.to)) && i("selectedRange", { range: r, chartId: o.id });
5569
5573
  };
5570
5574
  return (E, P) => (l(), s(k, null, [
@@ -5577,9 +5581,9 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
5577
5581
  t("div", Qc, [
5578
5582
  D(t("input", {
5579
5583
  type: "datetime-local",
5580
- "onUpdate:modelValue": P[0] || (P[0] = (R) => f(r).from = R),
5584
+ "onUpdate:modelValue": P[0] || (P[0] = (_) => f(r).from = _),
5581
5585
  max: n.value.toString(),
5582
- onChange: _,
5586
+ onChange: R,
5583
5587
  name: "from",
5584
5588
  id: "from",
5585
5589
  class: "text-xs relative block w-full rounded rounded-r-none border-0 bg-transparent py-1.5 text-gray-900 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:z-10 focus:ring-2 focus:ring-inset focus:ring-indigo-600"
@@ -5590,9 +5594,9 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
5590
5594
  t("div", eu, [
5591
5595
  D(t("input", {
5592
5596
  type: "datetime-local",
5593
- "onUpdate:modelValue": P[1] || (P[1] = (R) => f(r).to = R),
5597
+ "onUpdate:modelValue": P[1] || (P[1] = (_) => f(r).to = _),
5594
5598
  max: n.value.toString(),
5595
- onChange: _,
5599
+ onChange: R,
5596
5600
  name: "to",
5597
5601
  id: "to",
5598
5602
  class: "text-xs relative block w-full -mr-2 rounded rounded-l-none border-0 bg-transparent py-1.5 text-gray-900 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:z-10 focus:ring-2 focus:ring-inset focus:ring-indigo-600"
@@ -5605,7 +5609,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
5605
5609
  size: "big",
5606
5610
  loading: e.loading,
5607
5611
  icon: f(St),
5608
- onClick: P[2] || (P[2] = (R) => E.$emit("maximizeChart", e.id))
5612
+ onClick: P[2] || (P[2] = (_) => E.$emit("maximizeChart", e.id))
5609
5613
  }, null, 8, ["loading", "icon"])
5610
5614
  ])
5611
5615
  ]),
@@ -5922,7 +5926,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
5922
5926
  }, Tu = { class: "flex flex-1 flex-col p-8" }, Du = { class: "text-2xl font-bold" }, Lu = { class: "mt-1 flex flex-grow flex-col justify-between" }, Pu = { class: "mt-3 flex flex-wrap gap-x-1 gap-y-1 justify-center" }, Fu = {
5923
5927
  key: 1,
5924
5928
  class: "col-span-1 flex flex-col divide-y divide-gray-200 rounded-lg bg-white text-center shadow"
5925
- }, Ou = { class: "flex flex-1 flex-col p-8" }, Iu = { class: "rounded-md p-3 flex items-center justify-center mx-auto mb-4 bg-gray-200" }, Nu = { class: "mt-1 flex flex-grow flex-col justify-between" }, Vu = { class: "mt-3 flex flex-wrap gap-x-1 gap-y-1 justify-center" }, _u = /* @__PURE__ */ A({
5929
+ }, Ou = { class: "flex flex-1 flex-col p-8" }, Iu = { class: "rounded-md p-3 flex items-center justify-center mx-auto mb-4 bg-gray-200" }, Nu = { class: "mt-1 flex flex-grow flex-col justify-between" }, Vu = { class: "mt-3 flex flex-wrap gap-x-1 gap-y-1 justify-center" }, Ru = /* @__PURE__ */ A({
5926
5930
  __name: "uiDeviceStatus",
5927
5931
  props: {
5928
5932
  id: {},
@@ -6011,7 +6015,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
6011
6015
  ])
6012
6016
  ]));
6013
6017
  }
6014
- }), Ru = { class: "fixed inset-0 flex" }, qu = { class: "absolute left-full top-0 flex w-16 justify-center pt-5" }, Hu = { class: "hidden lg:fixed lg:inset-y-0 lg:z-50 lg:flex lg:w-[25rem] lg:flex-col" }, Yu = { class: "lg:pl-[25rem] flex flex-col h-screen" }, Eu = { class: "sticky top-0 z-10 flex h-16 shrink-0 items-center gap-x-4 border-b border-gray-200 bg-white px-4 shadow-sm sm:gap-x-6 sm:px-6 lg:px-8" }, Uu = { class: "flex flex-1 gap-x-4 self-stretch lg:gap-x-6" }, Zu = { class: "flex items-center gap-x-4 lg:gap-x-6" }, Wu = { class: "redCircle flex items-center justify-center h-4 w-4 bg-red-500 rounded-full absolute top-1 left-2" }, Ju = ["src"], Gu = { class: "hidden lg:flex lg:items-center" }, Ku = ["onClick"], Qu = { class: "bg-gray-50 flex-1 overflow-auto" }, Xu = { class: "p-7 lg:p-10" }, e0 = /* @__PURE__ */ A({
6018
+ }), _u = { class: "fixed inset-0 flex" }, qu = { class: "absolute left-full top-0 flex w-16 justify-center pt-5" }, Hu = { class: "hidden lg:fixed lg:inset-y-0 lg:z-50 lg:flex lg:w-[25rem] lg:flex-col" }, Yu = { class: "lg:pl-[25rem] flex flex-col h-screen" }, Eu = { class: "sticky top-0 z-10 flex h-16 shrink-0 items-center gap-x-4 border-b border-gray-200 bg-white px-4 shadow-sm sm:gap-x-6 sm:px-6 lg:px-8" }, Uu = { class: "flex flex-1 gap-x-4 self-stretch lg:gap-x-6" }, Zu = { class: "flex items-center gap-x-4 lg:gap-x-6" }, Wu = { class: "redCircle flex items-center justify-center h-4 w-4 bg-red-500 rounded-full absolute top-1 left-2" }, Ju = ["src"], Gu = { class: "hidden lg:flex lg:items-center" }, Ku = ["onClick"], Qu = { class: "bg-gray-50 flex-1 overflow-auto" }, Xu = { class: "p-7 lg:p-10" }, e0 = /* @__PURE__ */ A({
6015
6019
  __name: "uiWrapper",
6016
6020
  props: {
6017
6021
  topbar: {},
@@ -6048,7 +6052,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
6048
6052
  ])]),
6049
6053
  _: 1
6050
6054
  }),
6051
- t("div", Ru, [
6055
+ t("div", _u, [
6052
6056
  m(f(ce), {
6053
6057
  as: "template",
6054
6058
  enter: "transition ease-in-out duration-300 transform",
@@ -6454,8 +6458,8 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
6454
6458
  const i = e, o = g, n = j(() => i.toCompare && Object.keys(i.toCompare).length > 0 && i.toCompare.constructor === Object), r = j(() => n.value ? Object.entries(i.toCompare).map(([b, p]) => ({
6455
6459
  name: b,
6456
6460
  commands: p
6457
- })) : []), a = (b, p, C, _) => {
6458
- o("checkboxChanged", b, p, C, _);
6461
+ })) : []), a = (b, p, C, R) => {
6462
+ o("checkboxChanged", b, p, C, R);
6459
6463
  }, d = () => {
6460
6464
  o("compareButtonClicked");
6461
6465
  }, u = () => {
@@ -6519,14 +6523,14 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
6519
6523
  class: "p-6 bg-gray-50 border border-gray-300 rounded-lg shadow-sm"
6520
6524
  }, [
6521
6525
  m(f(Ie), null, {
6522
- default: y(({ open: _ }) => [
6526
+ default: y(({ open: R }) => [
6523
6527
  m(f(se), { class: "flex items-center justify-between w-full" }, {
6524
6528
  default: y(() => [
6525
6529
  t("h2", y0, c(C.name), 1),
6526
6530
  m(L, {
6527
6531
  icon: f(oe),
6528
6532
  loading: !1,
6529
- class: x(["cursor-pointer transition-transform duration-300 ease-in-out", { "rotate-180 transform": _ }])
6533
+ class: x(["cursor-pointer transition-transform duration-300 ease-in-out", { "rotate-180 transform": R }])
6530
6534
  }, null, 8, ["icon", "class"])
6531
6535
  ]),
6532
6536
  _: 2
@@ -6543,7 +6547,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
6543
6547
  id: `file1_${C.name}_${P}`,
6544
6548
  loading: !1,
6545
6549
  value: `file1_${C.name}_${P}`,
6546
- onCheckboxChanged: (R) => a(C.name, "1", P, R.checked)
6550
+ onCheckboxChanged: (_) => a(C.name, "1", P, _.checked)
6547
6551
  }, {
6548
6552
  default: y(() => [
6549
6553
  B(c(E), 1)
@@ -6561,7 +6565,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
6561
6565
  id: `file2_${C.name}_${P}`,
6562
6566
  loading: !1,
6563
6567
  value: `file2_${C.name}_${P}`,
6564
- onCheckboxChanged: (R) => a(C.name, "2", P, R.checked)
6568
+ onCheckboxChanged: (_) => a(C.name, "2", P, _.checked)
6565
6569
  }, {
6566
6570
  default: y(() => [
6567
6571
  B(c(E), 1)
@@ -6610,11 +6614,11 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
6610
6614
  key: 0,
6611
6615
  class: "absolute left-4 top-4 -ml-px mt-0.5 h-full w-0.5 bg-gray-300",
6612
6616
  "aria-hidden": "true"
6613
- }, O0 = ["onClick"], I0 = { class: "ml-4 flex min-w-0 flex-col text-left" }, N0 = { class: "text-sm font-medium text-lime-400 text-left" }, V0 = { class: "text-sm text-left" }, _0 = {
6617
+ }, O0 = ["onClick"], I0 = { class: "ml-4 flex min-w-0 flex-col text-left" }, N0 = { class: "text-sm font-medium text-lime-400 text-left" }, V0 = { class: "text-sm text-left" }, R0 = {
6614
6618
  key: 0,
6615
6619
  class: "absolute left-4 top-4 -ml-px mt-0.5 h-full w-0.5 bg-gray-300",
6616
6620
  "aria-hidden": "true"
6617
- }, R0 = ["onClick"], q0 = { class: "ml-4 flex min-w-0 flex-col text-left" }, H0 = { class: "text-sm font-medium text-left" }, Y0 = { class: "text-sm text-left" }, E0 = /* @__PURE__ */ A({
6621
+ }, _0 = ["onClick"], q0 = { class: "ml-4 flex min-w-0 flex-col text-left" }, H0 = { class: "text-sm font-medium text-left" }, Y0 = { class: "text-sm text-left" }, E0 = /* @__PURE__ */ A({
6618
6622
  __name: "uiSteps",
6619
6623
  props: {
6620
6624
  steps: {}
@@ -6681,7 +6685,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
6681
6685
  ])
6682
6686
  ], 8, O0)
6683
6687
  ], 64)) : (l(), s(k, { key: 2 }, [
6684
- b !== n.value.length - 1 ? (l(), s("div", _0)) : v("", !0),
6688
+ b !== n.value.length - 1 ? (l(), s("div", R0)) : v("", !0),
6685
6689
  t("button", {
6686
6690
  type: "button",
6687
6691
  class: "group relative flex items-start cursor-pointer w-full text-left",
@@ -6699,7 +6703,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
6699
6703
  t("span", H0, c(u.name), 1),
6700
6704
  t("span", Y0, c(u.description), 1)
6701
6705
  ])
6702
- ], 8, R0)
6706
+ ], 8, _0)
6703
6707
  ], 64))
6704
6708
  ], 2))), 128))
6705
6709
  ])
@@ -6756,7 +6760,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
6756
6760
  uiCircleChart: au,
6757
6761
  uiComparator: S0,
6758
6762
  uiDateRange: ru,
6759
- uiDeviceStatus: _u,
6763
+ uiDeviceStatus: Ru,
6760
6764
  uiDragAndDrop: Wc,
6761
6765
  uiDropdown: ge,
6762
6766
  uiDynamicStats: t0,
@@ -6788,8 +6792,8 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
6788
6792
  uiTabs: xd,
6789
6793
  uiTag: K,
6790
6794
  uiTaskList: ka,
6791
- uiTextArea: Rs,
6792
- uiTimeline: Rd,
6795
+ uiTextArea: _s,
6796
+ uiTimeline: _d,
6793
6797
  uiToggle: Es,
6794
6798
  uiTopbar: dc,
6795
6799
  uiViewHeader: cn,
@@ -6835,7 +6839,7 @@ export {
6835
6839
  au as uiCircleChart,
6836
6840
  S0 as uiComparator,
6837
6841
  ru as uiDateRange,
6838
- _u as uiDeviceStatus,
6842
+ Ru as uiDeviceStatus,
6839
6843
  Wc as uiDragAndDrop,
6840
6844
  ge as uiDropdown,
6841
6845
  t0 as uiDynamicStats,
@@ -6867,8 +6871,8 @@ export {
6867
6871
  xd as uiTabs,
6868
6872
  K as uiTag,
6869
6873
  ka as uiTaskList,
6870
- Rs as uiTextArea,
6871
- Rd as uiTimeline,
6874
+ _s as uiTextArea,
6875
+ _d as uiTimeline,
6872
6876
  Es as uiToggle,
6873
6877
  dc as uiTopbar,
6874
6878
  cn as uiViewHeader,