@flux-ui/dashboard 3.0.0-next.34 → 3.0.0-next.38

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.css CHANGED
@@ -59,18 +59,18 @@ body:has(.root > .dashboard) {
59
59
  flex-flow: column;
60
60
  }
61
61
  }.notice + .dashboard-content {
62
- padding-top: 30px;
62
+ padding-top: 21px;
63
63
  }
64
64
 
65
65
  .dashboard-content {
66
66
  display: flex;
67
- padding: 0 30px;
67
+ padding: 0 21px;
68
68
  flex-flow: column;
69
69
  flex-grow: 1;
70
70
  }
71
71
  .dashboard-content > :is(.calendar, .table) {
72
- margin-left: -30px;
73
- margin-right: -30px;
72
+ margin-left: -21px;
73
+ margin-right: -21px;
74
74
  height: calc(100dvh - 84px);
75
75
  flex-grow: 1;
76
76
  }
@@ -80,17 +80,17 @@ body:has(.root > .dashboard) {
80
80
  border-radius: 0;
81
81
  }
82
82
  .dashboard-content > .calendar .calendar-actions {
83
- padding-left: 30px;
84
- padding-right: 30px;
83
+ padding-left: 21px;
84
+ padding-right: 21px;
85
85
  }
86
86
  .dashboard-content > .table {
87
87
  border-top: 1px solid var(--surface-stroke);
88
88
  }
89
89
  .dashboard-content > .table .table-cell:first-child .table-cell-content {
90
- padding-left: 30px;
90
+ padding-left: 21px;
91
91
  }
92
92
  .dashboard-content > .table .table-cell:last-child .table-cell-content {
93
- padding-right: 30px;
93
+ padding-right: 21px;
94
94
  }
95
95
 
96
96
  @media (max-width: 1023.98px) {
@@ -101,9 +101,9 @@ body:has(.root > .dashboard) {
101
101
  position: sticky;
102
102
  display: flex;
103
103
  top: 0;
104
- height: 84px;
105
- padding-left: 30px;
106
- padding-right: 30px;
104
+ height: 72px;
105
+ padding-left: 21px;
106
+ padding-right: 21px;
107
107
  align-items: center;
108
108
  flex-flow: row;
109
109
  gap: 15px;
@@ -112,7 +112,7 @@ body:has(.root > .dashboard) {
112
112
  z-index: 100;
113
113
  }
114
114
  .dashboard-top-bar > h1 {
115
- font-size: 18px;
115
+ font-size: 16px;
116
116
  overflow: hidden;
117
117
  text-overflow: ellipsis;
118
118
  white-space: nowrap;
@@ -186,7 +186,7 @@ body:has(.root > .dashboard) {
186
186
  }
187
187
 
188
188
  .dashboard-menu-body {
189
- padding: 0 18px 30px;
189
+ padding: 0 18px 21px;
190
190
  }
191
191
 
192
192
  .dashboard-side {
package/dist/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { Fragment, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, customRef, defineComponent, guardReactiveProps, inject, markRaw, mergeProps, normalizeClass, normalizeProps, openBlock, provide, ref, renderList, renderSlot, resolveComponent, toDisplayString, unref, useSlots, watch, withCtx } from "vue";
2
2
  import { DateTime } from "luxon";
3
3
  import { FluxIcon, FluxMenuItem, FluxSpacer } from "@flux-ui/components";
4
- //#region ../../node_modules/.bun/@basmilius+utils@3.12.1/node_modules/@basmilius/utils/dist/index.mjs
5
- function x$1(e) {
4
+ //#region ../../node_modules/.bun/@basmilius+utils@3.19.0/node_modules/@basmilius/utils/dist/index.mjs
5
+ function x$2(e) {
6
6
  let t = {};
7
7
  do {
8
8
  if (e.name === ``) break;
@@ -782,7 +782,7 @@ var hue = (hues, fn) => {
782
782
  var fixupHueShorter = (arr) => hue(arr, (d) => Math.abs(d) <= 180 ? d : d - 360 * Math.sign(d));
783
783
  //#endregion
784
784
  //#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/cubehelix/constants.js
785
- var M$1 = [
785
+ var M = [
786
786
  -.14861,
787
787
  1.78277,
788
788
  -.29227,
@@ -794,20 +794,20 @@ var degToRad = Math.PI / 180;
794
794
  var radToDeg = 180 / Math.PI;
795
795
  //#endregion
796
796
  //#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/cubehelix/convertRgbToCubehelix.js
797
- var DE = M$1[3] * M$1[4];
798
- var BE = M$1[1] * M$1[4];
799
- var BCAD = M$1[1] * M$1[2] - M$1[0] * M$1[3];
797
+ var DE = M[3] * M[4];
798
+ var BE = M[1] * M[4];
799
+ var BCAD = M[1] * M[2] - M[0] * M[3];
800
800
  var convertRgbToCubehelix = ({ r, g, b, alpha }) => {
801
801
  if (r === void 0) r = 0;
802
802
  if (g === void 0) g = 0;
803
803
  if (b === void 0) b = 0;
804
804
  let l = (BCAD * b + r * DE - g * BE) / (BCAD + DE - BE);
805
805
  let x = b - l;
806
- let y = (M$1[4] * (g - l) - M$1[2] * x) / M$1[3];
806
+ let y = (M[4] * (g - l) - M[2] * x) / M[3];
807
807
  let res = {
808
808
  mode: "cubehelix",
809
809
  l,
810
- s: l === 0 || l === 1 ? void 0 : Math.sqrt(x * x + y * y) / (M$1[4] * l * (1 - l))
810
+ s: l === 0 || l === 1 ? void 0 : Math.sqrt(x * x + y * y) / (M[4] * l * (1 - l))
811
811
  };
812
812
  if (res.s) res.h = Math.atan2(y, x) * radToDeg - 120;
813
813
  if (alpha !== void 0) res.alpha = alpha;
@@ -822,9 +822,9 @@ var convertCubehelixToRgb = ({ h, s, l, alpha }) => {
822
822
  let amp = s === void 0 ? 0 : s * l * (1 - l);
823
823
  let cosh = Math.cos(h);
824
824
  let sinh = Math.sin(h);
825
- res.r = l + amp * (M$1[0] * cosh + M$1[1] * sinh);
826
- res.g = l + amp * (M$1[2] * cosh + M$1[3] * sinh);
827
- res.b = l + amp * (M$1[4] * cosh + M$1[5] * sinh);
825
+ res.r = l + amp * (M[0] * cosh + M[1] * sinh);
826
+ res.g = l + amp * (M[2] * cosh + M[3] * sinh);
827
+ res.b = l + amp * (M[4] * cosh + M[5] * sinh);
828
828
  if (alpha !== void 0) res.alpha = alpha;
829
829
  return res;
830
830
  };
@@ -932,7 +932,7 @@ var convertLchToLab = ({ l, c, h, alpha }, mode = "lab") => {
932
932
  };
933
933
  //#endregion
934
934
  //#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/xyz65/constants.js
935
- var k$5 = Math.pow(29, 3) / Math.pow(3, 3);
935
+ var k$4 = Math.pow(29, 3) / Math.pow(3, 3);
936
936
  var e$2 = Math.pow(6, 3) / Math.pow(29, 3);
937
937
  //#endregion
938
938
  //#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/constants.js
@@ -950,7 +950,7 @@ Math.pow(29, 3) / Math.pow(3, 3);
950
950
  Math.pow(6, 3) / Math.pow(29, 3);
951
951
  //#endregion
952
952
  //#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/lab65/convertLab65ToXyz65.js
953
- var fn$1 = (v) => Math.pow(v, 3) > e$2 ? Math.pow(v, 3) : (116 * v - 16) / k$5;
953
+ var fn$1 = (v) => Math.pow(v, 3) > e$2 ? Math.pow(v, 3) : (116 * v - 16) / k$4;
954
954
  var convertLab65ToXyz65 = ({ l, a, b, alpha }) => {
955
955
  if (l === void 0) l = 0;
956
956
  if (a === void 0) a = 0;
@@ -972,7 +972,7 @@ var convertLab65ToXyz65 = ({ l, a, b, alpha }) => {
972
972
  var convertLab65ToRgb = (lab) => convertXyz65ToRgb(convertLab65ToXyz65(lab));
973
973
  //#endregion
974
974
  //#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/lab65/convertXyz65ToLab65.js
975
- var f$2 = (value) => value > e$2 ? Math.cbrt(value) : (k$5 * value + 16) / 116;
975
+ var f$2 = (value) => value > e$2 ? Math.cbrt(value) : (k$4 * value + 16) / 116;
976
976
  var convertXyz65ToLab65 = ({ x, y, z, alpha }) => {
977
977
  if (x === void 0) x = 0;
978
978
  if (y === void 0) y = 0;
@@ -1834,11 +1834,11 @@ var definition$16 = {
1834
1834
  };
1835
1835
  //#endregion
1836
1836
  //#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/xyz50/constants.js
1837
- var k$3 = Math.pow(29, 3) / Math.pow(3, 3);
1837
+ var k$2 = Math.pow(29, 3) / Math.pow(3, 3);
1838
1838
  var e = Math.pow(6, 3) / Math.pow(29, 3);
1839
1839
  //#endregion
1840
1840
  //#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/lab/convertLabToXyz50.js
1841
- var fn = (v) => Math.pow(v, 3) > e ? Math.pow(v, 3) : (116 * v - 16) / k$3;
1841
+ var fn = (v) => Math.pow(v, 3) > e ? Math.pow(v, 3) : (116 * v - 16) / k$2;
1842
1842
  var convertLabToXyz50 = ({ l, a, b, alpha }) => {
1843
1843
  if (l === void 0) l = 0;
1844
1844
  if (a === void 0) a = 0;
@@ -1887,7 +1887,7 @@ var convertRgbToXyz50 = (rgb) => {
1887
1887
  };
1888
1888
  //#endregion
1889
1889
  //#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/lab/convertXyz50ToLab.js
1890
- var f$1 = (value) => value > e ? Math.cbrt(value) : (k$3 * value + 16) / 116;
1890
+ var f$1 = (value) => value > e ? Math.cbrt(value) : (k$2 * value + 16) / 116;
1891
1891
  var convertXyz50ToLab = ({ x, y, z, alpha }) => {
1892
1892
  if (x === void 0) x = 0;
1893
1893
  if (y === void 0) y = 0;
@@ -2093,7 +2093,7 @@ var u_fn$1 = (x, y, z) => 4 * x / (x + 15 * y + 3 * z);
2093
2093
  var v_fn$1 = (x, y, z) => 9 * y / (x + 15 * y + 3 * z);
2094
2094
  var un$1 = u_fn$1(D50.X, D50.Y, D50.Z);
2095
2095
  var vn$1 = v_fn$1(D50.X, D50.Y, D50.Z);
2096
- var l_fn = (value) => value <= e ? k$3 * value : 116 * Math.cbrt(value) - 16;
2096
+ var l_fn = (value) => value <= e ? k$2 * value : 116 * Math.cbrt(value) - 16;
2097
2097
  var convertXyz50ToLuv = ({ x, y, z, alpha }) => {
2098
2098
  if (x === void 0) x = 0;
2099
2099
  if (y === void 0) y = 0;
@@ -2133,7 +2133,7 @@ var convertLuvToXyz50 = ({ l, u, v, alpha }) => {
2133
2133
  if (v === void 0) v = 0;
2134
2134
  let up = u / (13 * l) + un;
2135
2135
  let vp = v / (13 * l) + vn;
2136
- let y = D50.Y * (l <= 8 ? l / k$3 : Math.pow((l + 16) / 116, 3));
2136
+ let y = D50.Y * (l <= 8 ? l / k$2 : Math.pow((l + 16) / 116, 3));
2137
2137
  let res = {
2138
2138
  mode: "xyz50",
2139
2139
  x: y * (9 * up) / (4 * vp),
@@ -3102,7 +3102,7 @@ useMode(definition$2);
3102
3102
  useMode(definition$1);
3103
3103
  useMode(definition);
3104
3104
  //#endregion
3105
- //#region ../../node_modules/.bun/@basmilius+http-client@3.12.1+1fb4c65d43e298b9/node_modules/@basmilius/http-client/dist/index.mjs
3105
+ //#region ../../node_modules/.bun/@basmilius+http-client@3.19.0+7524df1edfed9f02/node_modules/@basmilius/http-client/dist/index.mjs
3106
3106
  function c(e) {
3107
3107
  return class extends e {
3108
3108
  constructor(...e) {
@@ -3110,20 +3110,20 @@ function c(e) {
3110
3110
  }
3111
3111
  };
3112
3112
  }
3113
- function ne$1(e, t) {
3113
+ function ne(e, t) {
3114
3114
  return e === t ? !0 : e === t;
3115
3115
  }
3116
- var l = Symbol(), u = Symbol(), d = Symbol(), f = Symbol(), p = Symbol(), m = Symbol(), h$1 = Symbol(), g = Symbol(), _ = Symbol(), v = Symbol(), re = Symbol();
3117
- function y(e) {
3116
+ var l = Symbol(), u = Symbol(), d = Symbol(), f = Symbol(), p = Symbol(), m = Symbol(), h = Symbol(), g = Symbol(), _ = Symbol(), re = Symbol(), ie = Symbol();
3117
+ function v(e) {
3118
3118
  return e && typeof e == `object` && !!e[p];
3119
3119
  }
3120
- function b(e) {
3121
- if (!y(e)) throw Error(`@dto assert given object is not a class decorated with @Dto.`);
3120
+ function y$1(e) {
3121
+ if (!v(e)) throw Error(`@dto assert given object is not a class decorated with @Dto.`);
3122
3122
  }
3123
- var ie = Symbol();
3124
- function x(e, t = 0, n) {
3123
+ var ae = Symbol();
3124
+ function b(e, t = 0, n) {
3125
3125
  return function(...r) {
3126
- let i = e[ie] ??= /* @__PURE__ */ new WeakMap(), a = r[t], o = n === void 0 ? `self` : r[n];
3126
+ let i = e[ae] ??= /* @__PURE__ */ new WeakMap(), a = r[t], o = n === void 0 ? `self` : r[n];
3127
3127
  if (typeof a != `object` || !a) return e.call(this, ...r);
3128
3128
  i.has(a) || i.set(a, []);
3129
3129
  let s = i.get(a);
@@ -3138,66 +3138,66 @@ function x(e, t = 0, n) {
3138
3138
  }
3139
3139
  };
3140
3140
  }
3141
- function S(e) {
3142
- return b(e), e[f];
3141
+ function x$1(e) {
3142
+ return y$1(e), e[f];
3143
3143
  }
3144
- var C = x(function(e, t, n, r) {
3145
- let i = e[re];
3146
- i(e, t, n, r), e[m] && C(e[m], e[h$1], e[m][e[h$1]]);
3147
- }, 0, 1), w = x(function(e) {
3148
- b(e), e[f] && (e[f] = !1, C(e, f, !1, !0)), !(!e[u] || e[u].length === 0) && e[u].filter(S).forEach(w);
3144
+ var S = b(function(e, t, n, r) {
3145
+ let i = e[ie];
3146
+ i(e, t, n, r), e[m] && S(e[m], e[h], e[m][e[h]]);
3147
+ }, 0, 1), C$1 = b(function(e) {
3148
+ y$1(e), e[f] && (e[f] = !1, S(e, f, !1, !0)), !(!e[u] || e[u].length === 0) && e[u].filter(x$1).forEach(C$1);
3149
3149
  });
3150
- var T = x(function(e, t) {
3151
- b(e), e[f] || (e[f] = !0, C(e, f, !0, !1)), e[m] && T(e[m], e[h$1]);
3150
+ var w = b(function(e, t) {
3151
+ y$1(e), e[f] || (e[f] = !0, S(e, f, !0, !1)), e[m] && w(e[m], e[h]);
3152
3152
  });
3153
- function E(e, t, n) {
3154
- t[u] ??= [], !t[u].includes(e) && t[u].push(e), e[m] !== t && (e[m] = t), e[h$1] !== n && (e[h$1] = n);
3153
+ function T(e, t, n) {
3154
+ t[u] ??= [], !t[u].includes(e) && t[u].push(e), e[m] !== t && (e[m] = t), e[h] !== n && (e[h] = n);
3155
3155
  }
3156
- function D(e, t, n) {
3157
- if (y(n)) E(n, e, t);
3156
+ function E(e, t, n) {
3157
+ if (v(n)) T(n, e, t);
3158
3158
  else if (Array.isArray(n)) {
3159
- for (let r of n) y(r) && E(r, e, t);
3160
- n[m] = e, n[h$1] = t;
3159
+ for (let r of n) v(r) && T(r, e, t);
3160
+ n[m] = e, n[h] = t;
3161
3161
  }
3162
3162
  }
3163
- function O$1(e, t) {
3164
- let n = e[v];
3163
+ function le(e, t) {
3164
+ let n = e[re];
3165
3165
  n(e, t);
3166
3166
  }
3167
- function ce(e, t) {
3167
+ function D(e, t) {
3168
3168
  if (u in t) {
3169
3169
  let n = t[u].indexOf(e);
3170
3170
  n !== -1 && t[u].splice(n, 1);
3171
3171
  }
3172
- e[m] = void 0, e[h$1] = void 0;
3172
+ e[m] = void 0, e[h] = void 0;
3173
3173
  }
3174
- function le(e, t) {
3175
- if (y(t)) ce(t, e);
3174
+ function ue(e, t) {
3175
+ if (v(t)) D(t, e);
3176
3176
  else if (Array.isArray(t)) {
3177
- for (let n of t) y(n) && ce(n, e);
3178
- t[m] = void 0, t[h$1] = void 0;
3177
+ for (let n of t) v(n) && D(n, e);
3178
+ t[m] = void 0, t[h] = void 0;
3179
3179
  }
3180
3180
  }
3181
- var k$2 = {};
3182
- var ue = {
3181
+ var O$1 = {};
3182
+ var k$1 = {
3183
3183
  deleteProperty(e, t) {
3184
- if (Reflect.deleteProperty(e, t), A$2(e, t)) return !0;
3184
+ if (Reflect.deleteProperty(e, t), A$1(e, t)) return !0;
3185
3185
  let n = e[m];
3186
- return n && C(n, e[h$1], n[e[h$1]]), n && T(n, e[h$1]), !0;
3186
+ return n && S(n, e[h], n[e[h]]), n && w(n, e[h]), !0;
3187
3187
  },
3188
3188
  get(e, t, n) {
3189
3189
  if (t === _) return !0;
3190
- if (A$2(e, t)) return Reflect.get(e, t, n);
3190
+ if (A$1(e, t)) return Reflect.get(e, t, n);
3191
3191
  let r = e[m];
3192
- return r && O$1(r, e[h$1]), Reflect.get(e, t);
3192
+ return r && le(r, e[h]), Reflect.get(e, t);
3193
3193
  },
3194
3194
  set(e, t, n, r) {
3195
- if (A$2(e, t)) return Reflect.set(e, t, n, r);
3195
+ if (A$1(e, t)) return Reflect.set(e, t, n, r);
3196
3196
  let i = e[m];
3197
- return i && C(i, e[h$1], i[e[h$1]]), i && T(i, e[h$1]), Reflect.set(e, t, n);
3197
+ return i && S(i, e[h], i[e[h]]), i && w(i, e[h]), Reflect.set(e, t, n);
3198
3198
  }
3199
3199
  };
3200
- function A$2(e, t) {
3200
+ function A$1(e, t) {
3201
3201
  return typeof t == `symbol` || typeof e[t] == `function` || t === `length`;
3202
3202
  }
3203
3203
  var de = {
@@ -3207,7 +3207,7 @@ var de = {
3207
3207
  let r = e[d][t];
3208
3208
  if (!r || !r.get) return Reflect.get(e, t, n);
3209
3209
  let i = r.get.call(e);
3210
- return O$1(e, t), D(e, t, i), i;
3210
+ return le(e, t), E(e, t, i), i;
3211
3211
  },
3212
3212
  getOwnPropertyDescriptor(e, t) {
3213
3213
  return e[d][t];
@@ -3220,9 +3220,9 @@ var de = {
3220
3220
  let i = e[d][t];
3221
3221
  if (!i || !i.set) return Reflect.set(e, t, n, r);
3222
3222
  let a = i.get?.call(e) ?? void 0;
3223
- return ne$1(n, a) ? !0 : (le(e, a), Array.isArray(n) && !n[_] && (n = new Proxy(n, ue)), i.set.call(e, n), D(e, t, n), T(e, t), C(e, t, n, a), !0);
3223
+ return ne(n, a) ? !0 : (ue(e, a), Array.isArray(n) && !n[_] && (n = new Proxy(n, k$1)), i.set.call(e, n), E(e, t, n), w(e, t), S(e, t, n, a), !0);
3224
3224
  }
3225
- }, fe = {
3225
+ }, fe$1 = {
3226
3226
  get(e, t, n) {
3227
3227
  return t === `__v_isRef` ? !1 : t === _ ? !0 : t in e ? Reflect.get(e, t, n) : Reflect.get(e.value, t);
3228
3228
  },
@@ -3235,60 +3235,60 @@ var de = {
3235
3235
  set(e, t, n, r) {
3236
3236
  return t in e ? Reflect.set(e, t, n, r) : Reflect.set(e.value, t, n);
3237
3237
  }
3238
- }, pe = { construct(e, t, n) {
3239
- t = t.map((e) => Array.isArray(e) ? new Proxy(e, ue) : e);
3238
+ }, pe$1 = { construct(e, t, n) {
3239
+ t = t.map((e) => Array.isArray(e) ? new Proxy(e, k$1) : e);
3240
3240
  let r = customRef((r, i) => {
3241
3241
  let a = markRaw(Reflect.construct(e, t, n));
3242
- a[l] = t, a[f] = !1, a[v] = r, a[re] = i;
3242
+ a[l] = t, a[f] = !1, a[re] = r, a[ie] = i;
3243
3243
  let s = new Proxy(a, de);
3244
3244
  return {
3245
3245
  get: () => (r(), s),
3246
3246
  set: () => void 0
3247
3247
  };
3248
3248
  });
3249
- return new Proxy(r, fe);
3249
+ return new Proxy(r, fe$1);
3250
3250
  } };
3251
3251
  function me() {
3252
3252
  let e = this;
3253
- b(e);
3254
- let t = k$2[e[p]], n = new t(...e[l]);
3255
- for (let [e, t] of Object.entries(this[d])) t.set && (n[e] = y(this[e]) ? this[e].clone() : this[e]);
3253
+ y$1(e);
3254
+ let t = O$1[e[p]], n = new t(...e[l]);
3255
+ for (let [e, t] of Object.entries(this[d])) t.set && (n[e] = v(this[e]) ? this[e].clone() : this[e]);
3256
3256
  return n;
3257
3257
  }
3258
3258
  function he(e) {
3259
3259
  for (let t in e) {
3260
3260
  let n = this[d][t];
3261
- y(this[t]) && typeof e[t] == `object` ? this[t].fill(e[t]) : n && n.set && (this[t] = e[t]);
3261
+ v(this[t]) && typeof e[t] == `object` ? this[t].fill(e[t]) : n && n.set && (this[t] = e[t]);
3262
3262
  }
3263
3263
  }
3264
- function ge$1() {
3264
+ function ge() {
3265
3265
  let e = {};
3266
3266
  for (let t of this[g]) {
3267
3267
  let n = this[t];
3268
- y(n) && (n = n.toJSON()), e[t] = n;
3268
+ v(n) && (n = n.toJSON()), e[t] = n;
3269
3269
  }
3270
3270
  return e;
3271
3271
  }
3272
3272
  function j(e) {
3273
3273
  ve(e);
3274
- let t = Object.freeze(x$1(e)), a = Object.keys(t);
3275
- return K$1(e.prototype, d, t), K$1(e.prototype, p, e.name), K$1(e.prototype, g, a), K$1(e, Symbol.hasInstance, (t) => typeof t == `object` && t?.[p] === e.name), G$1(e, `clone`, me), G$1(e, `fill`, he), G$1(e, `toJSON`, ge$1), _e$1(e);
3274
+ let t = Object.freeze(x$2(e)), a = Object.keys(t);
3275
+ return K$1(e.prototype, d, t), K$1(e.prototype, p, e.name), K$1(e.prototype, g, a), K$1(e, Symbol.hasInstance, (t) => typeof t == `object` && t?.[p] === e.name), G$1(e, `clone`, me), G$1(e, `fill`, he), G$1(e, `toJSON`, ge), _e(e);
3276
3276
  }
3277
- function _e$1(e) {
3278
- let t = new Proxy(e, pe);
3279
- return k$2[e.name] = t, t;
3277
+ function _e(e) {
3278
+ let t = new Proxy(e, pe$1);
3279
+ return O$1[e.name] = t, t;
3280
3280
  }
3281
3281
  function ve(e) {
3282
3282
  let t = Object.getPrototypeOf(e.prototype);
3283
3283
  if (p in t) throw Error(`⛔️ @dto ${e.name} cannot extend parent class which is also decorated with @dto ${t[p]}.`);
3284
3284
  }
3285
- function V(e, t, n, r) {
3285
+ function B(e, t, n, r) {
3286
3286
  var i = arguments.length, a = i < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, n) : r, o;
3287
3287
  if (typeof Reflect == `object` && typeof Reflect.decorate == `function`) a = Reflect.decorate(e, t, n, r);
3288
3288
  else for (var s = e.length - 1; s >= 0; s--) (o = e[s]) && (a = (i < 3 ? o(a) : i > 3 ? o(t, n, a) : o(t, n)) || a);
3289
3289
  return i > 3 && a && Object.defineProperty(t, n, a), a;
3290
3290
  }
3291
- var H = class {
3291
+ var V = class {
3292
3292
  get blob() {
3293
3293
  return this.#e;
3294
3294
  }
@@ -3301,7 +3301,7 @@ var H = class {
3301
3301
  this.#e = e, this.#t = t;
3302
3302
  }
3303
3303
  };
3304
- H = V([j], H);
3304
+ V = B([j], V);
3305
3305
  var U = class {
3306
3306
  get items() {
3307
3307
  return this.#e;
@@ -3327,9 +3327,9 @@ var U = class {
3327
3327
  this.#e = e, this.#t = t, this.#n = n, this.#r = r, this.#i = i;
3328
3328
  }
3329
3329
  };
3330
- U = V([j], U);
3331
- var De = U;
3332
- var W = class {
3330
+ U = B([j], U);
3331
+ var W = U;
3332
+ var G = class {
3333
3333
  get code() {
3334
3334
  return this.#e;
3335
3335
  }
@@ -3350,9 +3350,9 @@ var W = class {
3350
3350
  this.#e = e, this.#t = t, this.#n = n, this.#r = r;
3351
3351
  }
3352
3352
  };
3353
- W = V([j], W);
3354
- var G = W;
3355
- var K = class {
3353
+ G = B([j], G);
3354
+ var K = G;
3355
+ var q = class {
3356
3356
  get code() {
3357
3357
  return this.#e;
3358
3358
  }
@@ -3377,11 +3377,11 @@ var K = class {
3377
3377
  this.#e = e, this.#t = t, this.#n = n, this.#r = r, this.#i = i;
3378
3378
  }
3379
3379
  };
3380
- K = V([j], K);
3381
- var q = K, J;
3382
- var Y = J = class {
3380
+ q = B([j], q);
3381
+ var J = q, Y;
3382
+ var X = Y = class {
3383
3383
  static parsePaginatedAdapter(e, t) {
3384
- return new De(e.items.map(t), e.page, e.page_size, e.pages, e.total);
3384
+ return new W(e.items.map(t), e.page, e.page_size, e.pages, e.total);
3385
3385
  }
3386
3386
  static parseFileNameFromContentDispositionHeader(t) {
3387
3387
  let n = `download-${DateTime.now().toFormat(`yyyy-MM-dd HH-mm-ss`)}`;
@@ -3390,70 +3390,28 @@ var Y = J = class {
3390
3390
  return (r?.length || 0) < 2 ? n : r[1].replaceAll(`'`, ``).replaceAll(`"`, ``).replaceAll(`/`, `-`).replaceAll(`:`, `-`);
3391
3391
  }
3392
3392
  static parseRequestError(e, t) {
3393
- return new G(e.code, e.error, e.error_description, t);
3393
+ return new K(e.code, e.error, e.error_description, t);
3394
3394
  }
3395
3395
  static parseValidationError(e) {
3396
3396
  let t;
3397
3397
  return e.errors && (t = {}, Object.entries(e.errors).forEach(([e, n]) => {
3398
- t[e] = J.parseValidationError(n);
3399
- })), new q(e.code, e.error, e.error_description, t, e.params);
3398
+ t[e] = Y.parseValidationError(n);
3399
+ })), new J(e.code, e.error, e.error_description, t, e.params);
3400
3400
  }
3401
3401
  };
3402
- Y = J = V([c], Y);
3402
+ X = Y = B([c], X);
3403
3403
  converter(`oklch`);
3404
3404
  RegExp(`[a-z]`), RegExp(`[A-Z]`), RegExp(`[0-9]`), RegExp(`[!"#$%&'()*+,-./:;<=>?@[\\\\\\]^_\`{|}~]`);
3405
3405
  //#endregion
3406
- //#region ../internals/dist/index.mjs
3407
- function h(e, t, n, r = { passive: !0 }) {
3406
+ //#region ../internals/dist/composable-CJXC7sly.js
3407
+ function y(e, t, n, r = { passive: !0 }) {
3408
3408
  watch(e, (e, i, a) => {
3409
3409
  e && (e.addEventListener(t, n, r), a(() => e.removeEventListener(t, n)));
3410
3410
  }, { immediate: !0 });
3411
3411
  }
3412
- [
3413
- `a:not([disabled])`,
3414
- `button:not([disabled])`,
3415
- `input[type=checkbox]:not([disabled])`,
3416
- `input[type=radio]:not([disabled])`,
3417
- `input[type=text]:not([disabled])`,
3418
- `[tabindex]:not([disabled]):not([tabindex="-1"])`
3419
- ].join(`,`);
3420
- new class {
3421
- get active() {
3422
- return this.current?.isEnabled ?? !1;
3423
- }
3424
- get current() {
3425
- return this.#t[this.#t.length - 1] ?? null;
3426
- }
3427
- #e = [];
3428
- #t = [];
3429
- add(e, t, n = !0) {
3430
- let r = {
3431
- id: e,
3432
- setEnabled: t,
3433
- isEnabled: !0
3434
- };
3435
- this.current && this.toggle(this.current, !1), this.#t.push(r), n && (this.toggle(r, !0), this.emit());
3436
- }
3437
- remove(e) {
3438
- let t = this.#t.find((t) => t.id === e);
3439
- t && this.toggle(t, !1);
3440
- let n = this.current?.id === e;
3441
- this.#t = this.#t.filter((t) => t.id !== e), n && this.current && this.toggle(this.current, !0), this.emit();
3442
- }
3443
- emit() {
3444
- this.#e.forEach((e) => e(this.active, this.#t));
3445
- }
3446
- subscribe(e) {
3447
- return this.#e.push(e), e(this.active, this.#t), () => this.#e = this.#e.filter((t) => t !== e);
3448
- }
3449
- toggle(e, t) {
3450
- e.setEnabled(t), e.isEnabled = t;
3451
- }
3452
- }();
3453
- globalThis.document;
3454
- function M(e, t) {
3455
- let n = `flux/${e}`, r = ref(a() ?? t);
3456
- function a() {
3412
+ function x(e, t) {
3413
+ let n = `flux/${e}`, r = ref(i() ?? t);
3414
+ function i() {
3457
3415
  if (n in localStorage) {
3458
3416
  let e = JSON.parse(localStorage.getItem(n));
3459
3417
  return Array.isArray(e) && e[0] === `DateTime` && (e = DateTime.fromISO(e[1])), e;
@@ -3468,9 +3426,9 @@ function M(e, t) {
3468
3426
  })]), localStorage.setItem(n, JSON.stringify(t));
3469
3427
  }), r;
3470
3428
  }
3471
- function N(e) {
3429
+ function C(e) {
3472
3430
  let t = ref(0), n = ref(0);
3473
- return e ||= ref(document), h(e, `scroll`, () => {
3431
+ return e ||= ref(document), y(e, `scroll`, () => {
3474
3432
  let r = unref(e);
3475
3433
  r instanceof Document && (r = r.scrollingElement), t.value = r?.scrollLeft ?? 0, n.value = r?.scrollTop ?? 0;
3476
3434
  }), {
@@ -3496,8 +3454,8 @@ var Dashboard_module_default = {
3496
3454
  var FluxDashboard_default = /* @__PURE__ */ defineComponent({
3497
3455
  __name: "FluxDashboard",
3498
3456
  setup(__props) {
3499
- const isMenuCollapsed = M("dashboard-menu-collapsed", true);
3500
- const isNavigationCollapsed = M("dashboard-navigation-collapsed", true);
3457
+ const isMenuCollapsed = x("dashboard-menu-collapsed", true);
3458
+ const isNavigationCollapsed = x("dashboard-navigation-collapsed", true);
3501
3459
  const isResizing = ref(false);
3502
3460
  provide(FluxDashboardInjectionKey, {
3503
3461
  isMenuCollapsed,
@@ -3585,7 +3543,7 @@ var FluxDashboardHeader_default = /* @__PURE__ */ defineComponent({
3585
3543
  title: {}
3586
3544
  },
3587
3545
  setup(__props) {
3588
- const { y } = N();
3546
+ const { y } = C();
3589
3547
  return (_ctx, _cache) => {
3590
3548
  return openBlock(), createBlock(FluxDashboardTopBar_default, { class: normalizeClass(unref(y) > 0 ? unref(DashboardTopBar_module_default).dashboardHeaderScrolled : unref(DashboardTopBar_module_default).dashboardHeader) }, {
3591
3549
  default: withCtx(() => [