fluekit 1.5.72 → 1.5.74

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.js CHANGED
@@ -1,4 +1,4 @@
1
- import { Comment, Fragment, Text, cloneVNode, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, h, inject, mergeProps, nextTick, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, onUnmounted, openBlock, provide, reactive, ref, render, renderList, renderSlot, resolveDynamicComponent, shallowRef, toDisplayString, unref, useAttrs, useSlots, warn, watch, withCtx, withModifiers } from "vue";
1
+ import { Comment, Fragment, Text, cloneVNode, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, guardReactiveProps, h, inject, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, onBeforeUnmount, onMounted, onUnmounted, openBlock, provide, reactive, ref, render, renderList, renderSlot, resolveDynamicComponent, shallowRef, toDisplayString, unref, useAttrs, useSlots, warn, watch, withCtx, withModifiers } from "vue";
2
2
  function isUndefined(e) {
3
3
  return e === void 0;
4
4
  }
@@ -38,17 +38,17 @@ var EXCLUDED_VALUES = [
38
38
  "-0px",
39
39
  "+0px"
40
40
  ], nonTransform = (e) => e.endsWith("vw") || e.endsWith("%") || e.endsWith("PX") || EXCLUDED_VALUES.includes(e);
41
- function px2vw(e, C = DEFAULT_VW) {
41
+ function px2vw(e, T = DEFAULT_VW) {
42
42
  if (!canTransform) return isPureNumber(`${e}`) ? `${e}px` : e;
43
43
  if (!(e === void 0 || e == null || typeof e == "number" && !Number.isFinite(e))) {
44
44
  if (e === 0) return "0";
45
45
  if (typeof e == "string") {
46
46
  if (e = e.trim(), e == "") return;
47
47
  if (nonTransform(e)) return e;
48
- let C = e;
49
- if (isNumberPx(e) && (e = e.slice(0, -2)), !isPureNumber(e)) return C;
48
+ let T = e;
49
+ if (isNumberPx(e) && (e = e.slice(0, -2)), !isPureNumber(e)) return T;
50
50
  }
51
- return e = Number(e), C /= 100, `${Math.round(e / C * 1e5) / 1e5}vw`;
51
+ return e = Number(e), T /= 100, `${Math.round(e / T * 1e5) / 1e5}vw`;
52
52
  }
53
53
  }
54
54
  const Alignment = {
@@ -62,11 +62,11 @@ const Alignment = {
62
62
  bottomCenter: "bottomCenter",
63
63
  bottomRight: "bottomRight"
64
64
  };
65
- function alignmentToFlex(e, C = "row") {
65
+ function alignmentToFlex(e, T = "row") {
66
66
  if (!e) return {};
67
- let w = e, T = "flex-start", E = "flex-start";
68
- w.toLowerCase().includes("left") || w.toLowerCase().includes("right");
69
- let D = {
67
+ let E = e, D = "flex-start", O = "flex-start";
68
+ E.toLowerCase().includes("left") || E.toLowerCase().includes("right");
69
+ let k = {
70
70
  topLeft: {
71
71
  x: "flex-start",
72
72
  y: "flex-start"
@@ -103,13 +103,13 @@ function alignmentToFlex(e, C = "row") {
103
103
  x: "flex-end",
104
104
  y: "flex-end"
105
105
  }
106
- }[w] || {
106
+ }[E] || {
107
107
  x: "flex-start",
108
108
  y: "flex-start"
109
109
  };
110
- return C === "row" ? (T = D.x, E = D.y) : (T = D.y, E = D.x), {
111
- justifyContent: T,
112
- alignItems: E
110
+ return T === "row" ? (D = k.x, O = k.y) : (D = k.y, O = k.x), {
111
+ justifyContent: D,
112
+ alignItems: O
113
113
  };
114
114
  }
115
115
  const alignmentToStyle = alignmentToFlex;
@@ -181,29 +181,29 @@ var Align_default = /* @__PURE__ */ defineComponent({
181
181
  heightFactor: {}
182
182
  },
183
183
  setup(e) {
184
- let C = e, w = computed(() => {
184
+ let T = e, E = computed(() => {
185
185
  let e = {
186
186
  display: "flex",
187
187
  position: "relative"
188
188
  };
189
- return Object.assign(e, alignmentToStyle(C.alignment)), C.widthFactor ? e.width = `calc(100% * ${C.widthFactor})` : e.width = "100%", C.heightFactor ? e.height = `calc(100% * ${C.heightFactor})` : e.height = "100%", e;
190
- }), T = computed(() => ({ flexShrink: 0 }));
191
- return (e, C) => (openBlock(), createElementBlock("div", {
189
+ return Object.assign(e, alignmentToStyle(T.alignment)), T.widthFactor ? e.width = `calc(100% * ${T.widthFactor})` : e.width = "100%", T.heightFactor ? e.height = `calc(100% * ${T.heightFactor})` : e.height = "100%", e;
190
+ }), D = computed(() => ({ flexShrink: 0 }));
191
+ return (e, T) => (openBlock(), createElementBlock("div", {
192
192
  class: "flutter-align",
193
- style: normalizeStyle(w.value)
193
+ style: normalizeStyle(E.value)
194
194
  }, [createElementVNode("div", {
195
195
  class: "flutter-align-child",
196
- style: normalizeStyle(T.value)
196
+ style: normalizeStyle(D.value)
197
197
  }, [renderSlot(e.$slots, "default")], 4)], 4));
198
198
  }
199
199
  }), BOX_CONSTRAINTS_SYMBOL = Symbol("boxConstraints"), toVal = (e) => e === Infinity ? void 0 : e;
200
200
  function BoxConstraints(e = {}) {
201
- let C = e.minWidth ?? 0, w = e.minHeight ?? 0, T = e.maxWidth ?? Infinity, E = e.maxHeight ?? Infinity;
201
+ let T = e.minWidth ?? 0, E = e.minHeight ?? 0, D = e.maxWidth ?? Infinity, O = e.maxHeight ?? Infinity;
202
202
  return {
203
- minWidth: toVal(C),
204
- maxWidth: toVal(T),
205
- minHeight: toVal(w),
206
- maxHeight: toVal(E),
203
+ minWidth: toVal(T),
204
+ maxWidth: toVal(D),
205
+ minHeight: toVal(E),
206
+ maxHeight: toVal(O),
207
207
  [BOX_CONSTRAINTS_SYMBOL]: !0
208
208
  };
209
209
  }
@@ -217,22 +217,22 @@ BoxConstraints.tight = (e) => BoxConstraints({
217
217
  maxWidth: e.width,
218
218
  minHeight: 0,
219
219
  maxHeight: e.height
220
- }), BoxConstraints.expand = ({ width: e, height: C } = {}) => BoxConstraints({
220
+ }), BoxConstraints.expand = ({ width: e, height: T } = {}) => BoxConstraints({
221
221
  minWidth: e ?? Infinity,
222
222
  maxWidth: e ?? Infinity,
223
- minHeight: C ?? Infinity,
224
- maxHeight: C ?? Infinity
223
+ minHeight: T ?? Infinity,
224
+ maxHeight: T ?? Infinity
225
225
  });
226
226
  function isBoxConstraints(e) {
227
227
  return isPlainObject(e) ? BOX_CONSTRAINTS_SYMBOL in e : !1;
228
228
  }
229
229
  function boxConstraintsToStyle(e) {
230
- let C = e ?? {};
230
+ let T = e ?? {};
231
231
  return {
232
- minWidth: px2vw(C.minWidth),
233
- maxWidth: px2vw(C.maxWidth),
234
- minHeight: px2vw(C.minHeight),
235
- maxHeight: px2vw(C.maxHeight)
232
+ minWidth: px2vw(T.minWidth),
233
+ maxWidth: px2vw(T.maxWidth),
234
+ minHeight: px2vw(T.minHeight),
235
+ maxHeight: px2vw(T.maxHeight)
236
236
  };
237
237
  }
238
238
  var BORDER_SIDE_SYMBOL = Symbol("borderSide"), BORDERS_SYMBOL = Symbol("borders");
@@ -250,17 +250,17 @@ const Border = Object.assign((e) => ({
250
250
  style: e.style || "solid",
251
251
  [BORDER_SIDE_SYMBOL]: !0
252
252
  }), {
253
- all: ({ color: e, width: C, style: w } = {}) => {
254
- let T = BorderSide({
253
+ all: ({ color: e, width: T, style: E } = {}) => {
254
+ let D = BorderSide({
255
255
  color: e,
256
- width: C,
257
- style: w
256
+ width: T,
257
+ style: E
258
258
  });
259
259
  return {
260
- top: T,
261
- bottom: T,
262
- left: T,
263
- right: T,
260
+ top: D,
261
+ bottom: D,
262
+ left: D,
263
+ right: D,
264
264
  [BORDERS_SYMBOL]: !0
265
265
  };
266
266
  },
@@ -277,13 +277,13 @@ function isBorders(e) {
277
277
  }
278
278
  function borderSideToString(e) {
279
279
  if (!e) return;
280
- let C = [], { width: w, color: T, style: E } = e;
281
- return w && C.push(w > 1 ? px2vw(w) : w + "px"), T && C.push(T), E && C.push(E), `${C.join(" ")}`;
280
+ let T = [], { width: E, color: D, style: O } = e;
281
+ return E && T.push(E > 1 ? px2vw(E) : E + "px"), D && T.push(D), O && T.push(O), `${T.join(" ")}`;
282
282
  }
283
283
  function borderSideToStyle(e) {
284
284
  if (!e) return {};
285
- let C = borderSideToString(e);
286
- return C ? { border: C } : {};
285
+ let T = borderSideToString(e);
286
+ return T ? { border: T } : {};
287
287
  }
288
288
  function borderToStyle(e) {
289
289
  if (e) return {
@@ -295,12 +295,12 @@ function borderToStyle(e) {
295
295
  }
296
296
  var BORDER_RADIUS_SYMBOL = Symbol("borderRadius");
297
297
  function BorderRadius(e) {
298
- let { topLeft: C, topRight: w, bottomLeft: T, bottomRight: E } = e;
298
+ let { topLeft: T, topRight: E, bottomLeft: D, bottomRight: O } = e;
299
299
  return {
300
- topLeft: C || 0,
301
- topRight: w || 0,
302
- bottomLeft: T || 0,
303
- bottomRight: E || 0,
300
+ topLeft: T || 0,
301
+ topRight: E || 0,
302
+ bottomLeft: D || 0,
303
+ bottomRight: O || 0,
304
304
  [BORDER_RADIUS_SYMBOL]: !0
305
305
  };
306
306
  }
@@ -310,19 +310,19 @@ BorderRadius.all = (e) => ({
310
310
  bottomLeft: e,
311
311
  bottomRight: e,
312
312
  [BORDER_RADIUS_SYMBOL]: !0
313
- }), BorderRadius.circular = (e) => BorderRadius.all(e), BorderRadius.only = ({ topLeft: e, topRight: C, bottomLeft: w, bottomRight: T }) => BorderRadius({
313
+ }), BorderRadius.circular = (e) => BorderRadius.all(e), BorderRadius.only = ({ topLeft: e, topRight: T, bottomLeft: E, bottomRight: D }) => BorderRadius({
314
314
  topLeft: e,
315
- topRight: C,
316
- bottomLeft: w,
317
- bottomRight: T
315
+ topRight: T,
316
+ bottomLeft: E,
317
+ bottomRight: D
318
318
  }), BorderRadius.zero = BorderRadius({});
319
319
  function isBorderRadius(e) {
320
320
  return typeof e == "object" && !!e && BORDER_RADIUS_SYMBOL in e;
321
321
  }
322
322
  function borderRadiusToStyle(e) {
323
323
  if (!e) return {};
324
- let { topLeft: C, topRight: w, bottomLeft: T, bottomRight: E } = e, D = {};
325
- return T && (D.borderBottomLeftRadius = px2vw(T)), E && (D.borderBottomRightRadius = px2vw(E)), C && (D.borderTopLeftRadius = px2vw(C)), w && (D.borderTopRightRadius = px2vw(w)), D;
324
+ let { topLeft: T, topRight: E, bottomLeft: D, bottomRight: O } = e, k = {};
325
+ return D && (k.borderBottomLeftRadius = px2vw(D)), O && (k.borderBottomRightRadius = px2vw(O)), T && (k.borderTopLeftRadius = px2vw(T)), E && (k.borderTopRightRadius = px2vw(E)), k;
326
326
  }
327
327
  let BlurStyle = /* @__PURE__ */ function(e) {
328
328
  return e.normal = "normal", e.solid = "solid", e.outer = "outer", e.inner = "inner", e;
@@ -363,20 +363,20 @@ function alignmentToCSSSide(e) {
363
363
  default: return "to bottom";
364
364
  }
365
365
  }
366
- function calculateLinearDirection(e, C) {
367
- return e === Alignment.topCenter && C === Alignment.bottomCenter ? "to bottom" : e === Alignment.bottomCenter && C === Alignment.topCenter ? "to top" : e === Alignment.centerLeft && C === Alignment.centerRight ? "to right" : e === Alignment.centerRight && C === Alignment.centerLeft ? "to left" : e === Alignment.topLeft && C === Alignment.bottomRight ? "to bottom right" : e === Alignment.bottomRight && C === Alignment.topLeft ? "to top left" : e === Alignment.topRight && C === Alignment.bottomLeft ? "to bottom left" : e === Alignment.bottomLeft && C === Alignment.topRight ? "to top right" : alignmentToCSSSide(e);
366
+ function calculateLinearDirection(e, T) {
367
+ return e === Alignment.topCenter && T === Alignment.bottomCenter ? "to bottom" : e === Alignment.bottomCenter && T === Alignment.topCenter ? "to top" : e === Alignment.centerLeft && T === Alignment.centerRight ? "to right" : e === Alignment.centerRight && T === Alignment.centerLeft ? "to left" : e === Alignment.topLeft && T === Alignment.bottomRight ? "to bottom right" : e === Alignment.bottomRight && T === Alignment.topLeft ? "to top left" : e === Alignment.topRight && T === Alignment.bottomLeft ? "to bottom left" : e === Alignment.bottomLeft && T === Alignment.topRight ? "to top right" : alignmentToCSSSide(e);
368
368
  }
369
369
  function LinearGradient(e) {
370
- let { colors: C, stops: w, begin: T = Alignment.centerLeft, end: E = Alignment.centerRight } = e;
371
- if (!C || C.length === 0) return "none";
372
- let D = calculateLinearDirection(T, E), O = "";
373
- return O = w && w.length === C.length ? C.map((e, C) => `${e} ${w[C] * 100}%`).join(", ") : C.join(", "), `linear-gradient(${D}, ${O})`;
370
+ let { colors: T, stops: E, begin: D = Alignment.centerLeft, end: O = Alignment.centerRight } = e;
371
+ if (!T || T.length === 0) return "none";
372
+ let k = calculateLinearDirection(D, O), A = "";
373
+ return A = E && E.length === T.length ? T.map((e, T) => `${e} ${E[T] * 100}%`).join(", ") : T.join(", "), `linear-gradient(${k}, ${A})`;
374
374
  }
375
375
  function RadialGradient(e) {
376
- let { colors: C, stops: w, center: T = Alignment.center } = e;
377
- if (!C || C.length === 0) return "none";
378
- let E = alignmentToCssPosition(T), D = "";
379
- return D = w && w.length === C.length ? C.map((e, C) => `${e} ${w[C] * 100}%`).join(", ") : C.join(", "), `radial-gradient(circle at ${E}, ${D})`;
376
+ let { colors: T, stops: E, center: D = Alignment.center } = e;
377
+ if (!T || T.length === 0) return "none";
378
+ let O = alignmentToCssPosition(D), k = "";
379
+ return k = E && E.length === T.length ? T.map((e, T) => `${e} ${E[T] * 100}%`).join(", ") : T.join(", "), `radial-gradient(circle at ${O}, ${k})`;
380
380
  }
381
381
  const BoxFit = {
382
382
  fitWidth: "fitWidth",
@@ -413,8 +413,8 @@ function setBaseUrl(e) {
413
413
  function normalizeSrc(e) {
414
414
  if (!e) return "";
415
415
  if (/^(https?:|file:|blob:|data:|\/\/)/i.test(e) || /^(linear|radial|conic|repeating-linear|repeating-radial)-gradient\(/.test(e) || !_baseUrl || _baseUrl === "/") return e;
416
- let C = _baseUrl.endsWith("/") ? _baseUrl.slice(0, -1) : _baseUrl;
417
- return e.startsWith(C) ? e : `${C}/${e.startsWith("/") ? e.slice(1) : e}`;
416
+ let T = _baseUrl.endsWith("/") ? _baseUrl.slice(0, -1) : _baseUrl;
417
+ return e.startsWith(T) ? e : `${T}/${e.startsWith("/") ? e.slice(1) : e}`;
418
418
  }
419
419
  function DecorationImage(e) {
420
420
  return e;
@@ -422,23 +422,23 @@ function DecorationImage(e) {
422
422
  var BOX_DECORATION_SYMBOL = Symbol("boxDecoration"), isGradient = (e) => /^(linear|radial|conic|repeating-linear|repeating-radial)-gradient\(/.test(e);
423
423
  function decorationImageToStyle(e) {
424
424
  if (!e) return {};
425
- let C = {}, w = normalizeSrc(typeof e.image == "string" ? e.image : e.image.src);
426
- if (C.backgroundImage = isGradient(w) ? w : `url(${w})`, e.fit && (C.backgroundSize = ImageFitMap[e.fit] || e.fit), C.backgroundAttachment = e.attachment, C.backgroundBlendMode = e.blendMode, C.backgroundClip = e.clip, C.backgroundOrigin = e.origin, C.backgroundRepeat = e.repeat ?? "no-repeat", e.alignment) {
427
- let w = alignmentToCssPosition(e.alignment);
428
- if (w && w !== "center") C.backgroundPosition = w;
429
- else if (e.alignment !== Alignment.center) if (Object.keys(Alignment).includes(e.alignment)) C.backgroundPosition = alignmentToCssPosition(e.alignment);
425
+ let T = {}, E = normalizeSrc(typeof e.image == "string" ? e.image : e.image.src);
426
+ if (T.backgroundImage = isGradient(E) ? E : `url(${E})`, e.fit && (T.backgroundSize = ImageFitMap[e.fit] || e.fit), T.backgroundAttachment = e.attachment, T.backgroundBlendMode = e.blendMode, T.backgroundClip = e.clip, T.backgroundOrigin = e.origin, T.backgroundRepeat = e.repeat ?? "no-repeat", e.alignment) {
427
+ let E = alignmentToCssPosition(e.alignment);
428
+ if (E && E !== "center") T.backgroundPosition = E;
429
+ else if (e.alignment !== Alignment.center) if (Object.keys(Alignment).includes(e.alignment)) T.backgroundPosition = alignmentToCssPosition(e.alignment);
430
430
  else {
431
- let [w, T] = (e.alignment || "").split(" ");
432
- w && !cssPoisitions[w] && (w = px2vw(w)), T && !cssPoisitions[T] && (T = px2vw(T)), w && !T && (T = "center"), C.backgroundPosition = `${w} ${T}`;
431
+ let [E, D] = (e.alignment || "").split(" ");
432
+ E && !cssPoisitions[E] && (E = px2vw(E)), D && !cssPoisitions[D] && (D = px2vw(D)), E && !D && (D = "center"), T.backgroundPosition = `${E} ${D}`;
433
433
  }
434
- else C.backgroundPosition = "center";
434
+ else T.backgroundPosition = "center";
435
435
  }
436
- return C;
436
+ return T;
437
437
  }
438
438
  function boxDecorationToStyle(e) {
439
439
  if (!e) return {};
440
- let { color: C, border: w, borderRadius: T, boxShadow: E, gradient: D, image: O, overflow: k, opacity: A, shape: j } = e, M = {};
441
- return C && (M.backgroundColor = C), A !== void 0 && (M.opacity = A), k && (M.overflow = k), D && (M.backgroundImage = D), O && Object.assign(M, decorationImageToStyle(O)), w && Object.assign(M, borderToStyle(w)), j === BoxShape.circle ? M.borderRadius = "50%" : T && Object.assign(M, borderRadiusToStyle(T)), E && (M.boxShadow = (Array.isArray(E) ? E : [E]).map(boxShadowToCSS).join(", ")), M;
440
+ let { color: T, border: E, borderRadius: D, boxShadow: O, gradient: k, image: A, overflow: j, opacity: M, shape: N } = e, P = {};
441
+ return T && (P.backgroundColor = T), M !== void 0 && (P.opacity = M), j && (P.overflow = j), k && (P.backgroundImage = k), A && Object.assign(P, decorationImageToStyle(A)), E && Object.assign(P, borderToStyle(E)), N === BoxShape.circle ? P.borderRadius = "50%" : D && Object.assign(P, borderRadiusToStyle(D)), O && (P.boxShadow = (Array.isArray(O) ? O : [O]).map(boxShadowToCSS).join(", ")), P;
442
442
  }
443
443
  function BoxDecoration(e) {
444
444
  return {
@@ -457,12 +457,12 @@ const Clip = {
457
457
  };
458
458
  var EDGE_INSETS_SYMBOL = Symbol("edgeInsets");
459
459
  function EdgeInsets(e) {
460
- let { top: C, right: w, bottom: T, left: E, horizontal: D, vertical: O } = e;
460
+ let { top: T, right: E, bottom: D, left: O, horizontal: k, vertical: A } = e;
461
461
  return {
462
- top: C ?? O ?? 0,
463
- right: w ?? D ?? 0,
464
- bottom: T ?? O ?? 0,
465
- left: E ?? D ?? 0,
462
+ top: T ?? A ?? 0,
463
+ right: E ?? k ?? 0,
464
+ bottom: D ?? A ?? 0,
465
+ left: O ?? k ?? 0,
466
466
  [EDGE_INSETS_SYMBOL]: !0
467
467
  };
468
468
  }
@@ -472,26 +472,26 @@ EdgeInsets.all = (e) => ({
472
472
  bottom: e,
473
473
  left: e,
474
474
  [EDGE_INSETS_SYMBOL]: !0
475
- }), EdgeInsets.symmetric = ({ vertical: e, horizontal: C }) => EdgeInsets({
475
+ }), EdgeInsets.symmetric = ({ vertical: e, horizontal: T }) => EdgeInsets({
476
476
  vertical: e,
477
- horizontal: C
478
- }), EdgeInsets.only = ({ top: e, right: C, bottom: w, left: T }) => EdgeInsets({
477
+ horizontal: T
478
+ }), EdgeInsets.only = ({ top: e, right: T, bottom: E, left: D }) => EdgeInsets({
479
479
  top: e,
480
- right: C,
481
- bottom: w,
482
- left: T
480
+ right: T,
481
+ bottom: E,
482
+ left: D
483
483
  }), EdgeInsets.zero = EdgeInsets({});
484
484
  function isEdgeInsets(e) {
485
485
  return typeof e == "object" && !!e && EDGE_INSETS_SYMBOL in e;
486
486
  }
487
- function edgeInsetsToStyle(e, C) {
488
- if (!C) return {};
489
- let w = EdgeInsets(C);
487
+ function edgeInsetsToStyle(e, T) {
488
+ if (!T) return {};
489
+ let E = EdgeInsets(T);
490
490
  return {
491
- [`${e}Top`]: px2vw(w.top),
492
- [`${e}Right`]: px2vw(w.right),
493
- [`${e}Bottom`]: px2vw(w.bottom),
494
- [`${e}Left`]: px2vw(w.left)
491
+ [`${e}Top`]: px2vw(E.top),
492
+ [`${e}Right`]: px2vw(E.right),
493
+ [`${e}Bottom`]: px2vw(E.bottom),
494
+ [`${e}Left`]: px2vw(E.left)
495
495
  };
496
496
  }
497
497
  const paddingToStyle = (e) => edgeInsetsToStyle("padding", e), marginToStyle = (e) => edgeInsetsToStyle("margin", e), CrossAxisAlignment = {
@@ -529,10 +529,10 @@ const paddingToStyle = (e) => edgeInsetsToStyle("padding", e), marginToStyle = (
529
529
  passthrough: "passthrough"
530
530
  };
531
531
  function Size(e) {
532
- let { width: C, height: w } = e;
532
+ let { width: T, height: E } = e;
533
533
  return {
534
- width: C,
535
- height: w
534
+ width: T,
535
+ height: E
536
536
  };
537
537
  }
538
538
  Size.square = (e) => Size({
@@ -553,10 +553,10 @@ Size.square = (e) => Size({
553
553
  });
554
554
  function sizeToStyle(e) {
555
555
  if (!e) return;
556
- let { width: C, height: w } = e;
556
+ let { width: T, height: E } = e;
557
557
  return {
558
- width: px2vw(C),
559
- height: px2vw(w)
558
+ width: px2vw(T),
559
+ height: px2vw(E)
560
560
  };
561
561
  }
562
562
  var GESTURE_HANDLED = Symbol("gesture_handled");
@@ -570,107 +570,107 @@ const events = [
570
570
  "pan-end"
571
571
  ];
572
572
  function useGestures({ emit: e }) {
573
- let C = ref(0), w = ref(null), T = ref(!1), E = ref({
573
+ let T = ref(0), E = ref(null), D = ref(!1), O = ref({
574
574
  x: 0,
575
575
  y: 0
576
- }), D = ref({
576
+ }), k = ref({
577
577
  x: 0,
578
578
  y: 0
579
- }), O = {
579
+ }), A = {
580
580
  onTap: () => e("tap"),
581
- onClick: (C) => e("click", C),
581
+ onClick: (T) => e("click", T),
582
582
  onDoubleTap: () => e("double-tap"),
583
583
  onLongPress: () => e("long-press"),
584
- onPanStart: (C) => e("pan-start", C),
585
- onPanUpdate: (C) => e("pan-update", C),
584
+ onPanStart: (T) => e("pan-start", T),
585
+ onPanUpdate: (T) => e("pan-update", T),
586
586
  onPanEnd: () => e("pan-end")
587
- }, k = (e) => {
587
+ }, j = (e) => {
588
588
  if (e[GESTURE_HANDLED]) return;
589
589
  e[GESTURE_HANDLED] = !0;
590
- let w = Date.now();
591
- w - C.value < 300 ? (O.onDoubleTap?.(), C.value = 0) : (O.onTap?.(), O.onClick?.(e), C.value = w);
592
- }, A = (e) => {
593
- e[GESTURE_HANDLED] || (e[GESTURE_HANDLED] = !0, L(), z(e.clientX, e.clientY), window.addEventListener("mousemove", j), window.addEventListener("mouseup", M));
594
- }, j = (e) => {
595
- (Math.abs(e.clientX - E.value.x) > 5 || Math.abs(e.clientY - E.value.y) > 5) && R(), B(e.clientX, e.clientY);
596
- }, M = () => {
597
- R(), V(), window.removeEventListener("mousemove", j), window.removeEventListener("mouseup", M);
590
+ let E = Date.now();
591
+ E - T.value < 300 ? (A.onDoubleTap?.(), T.value = 0) : (A.onTap?.(), A.onClick?.(e), T.value = E);
592
+ }, M = (e) => {
593
+ e[GESTURE_HANDLED] || (e[GESTURE_HANDLED] = !0, z(), V(e.clientX, e.clientY), window.addEventListener("mousemove", N), window.addEventListener("mouseup", P));
598
594
  }, N = (e) => {
595
+ (Math.abs(e.clientX - O.value.x) > 5 || Math.abs(e.clientY - O.value.y) > 5) && B(), H(e.clientX, e.clientY);
596
+ }, P = () => {
597
+ B(), U(), window.removeEventListener("mousemove", N), window.removeEventListener("mouseup", P);
598
+ }, F = (e) => {
599
599
  if (e[GESTURE_HANDLED] || (e[GESTURE_HANDLED] = !0, e.touches.length > 1)) return;
600
- let C = e.touches[0];
601
- L(), z(C.clientX, C.clientY);
602
- }, P = (e) => {
600
+ let T = e.touches[0];
601
+ z(), V(T.clientX, T.clientY);
602
+ }, I = (e) => {
603
603
  if (e[GESTURE_HANDLED]) return;
604
604
  e[GESTURE_HANDLED] = !0;
605
- let C = e.touches[0];
606
- (Math.abs(C.clientX - E.value.x) > 5 || Math.abs(C.clientY - E.value.y) > 5) && R(), B(C.clientX, C.clientY);
607
- }, F = (e) => {
608
- e[GESTURE_HANDLED] || (e[GESTURE_HANDLED] = !0, R(), V());
609
- }, I = (e) => {
610
- e[GESTURE_HANDLED] || (e[GESTURE_HANDLED] = !0, R(), V());
611
- }, L = () => {
612
- R(), w.value = window.setTimeout(() => {
613
- O.onLongPress?.();
605
+ let T = e.touches[0];
606
+ (Math.abs(T.clientX - O.value.x) > 5 || Math.abs(T.clientY - O.value.y) > 5) && B(), H(T.clientX, T.clientY);
607
+ }, L = (e) => {
608
+ e[GESTURE_HANDLED] || (e[GESTURE_HANDLED] = !0, B(), U());
609
+ }, R = (e) => {
610
+ e[GESTURE_HANDLED] || (e[GESTURE_HANDLED] = !0, B(), U());
611
+ }, z = () => {
612
+ B(), E.value = window.setTimeout(() => {
613
+ A.onLongPress?.();
614
614
  }, 500);
615
- }, R = () => {
616
- w.value &&= (clearTimeout(w.value), null);
617
- }, z = (e, C) => {
618
- E.value = {
615
+ }, B = () => {
616
+ E.value &&= (clearTimeout(E.value), null);
617
+ }, V = (e, T) => {
618
+ O.value = {
619
619
  x: e,
620
- y: C
621
- }, D.value = {
620
+ y: T
621
+ }, k.value = {
622
622
  x: e,
623
- y: C
624
- }, T.value = !0, O.onPanStart?.({ globalPosition: {
623
+ y: T
624
+ }, D.value = !0, A.onPanStart?.({ globalPosition: {
625
625
  x: e,
626
- y: C
626
+ y: T
627
627
  } });
628
- }, B = (e, C) => {
629
- if (!T.value) return;
630
- let w = e - D.value.x, E = C - D.value.y;
631
- w === 0 && E === 0 || (O.onPanUpdate?.({
628
+ }, H = (e, T) => {
629
+ if (!D.value) return;
630
+ let E = e - k.value.x, O = T - k.value.y;
631
+ E === 0 && O === 0 || (A.onPanUpdate?.({
632
632
  delta: {
633
- x: w,
634
- y: E
633
+ x: E,
634
+ y: O
635
635
  },
636
636
  globalPosition: {
637
637
  x: e,
638
- y: C
638
+ y: T
639
639
  }
640
- }), D.value = {
640
+ }), k.value = {
641
641
  x: e,
642
- y: C
642
+ y: T
643
643
  });
644
- }, V = () => {
645
- T.value && (T.value = !1, O.onPanEnd?.());
644
+ }, U = () => {
645
+ D.value && (D.value = !1, A.onPanEnd?.());
646
646
  };
647
647
  return {
648
- onClick: k,
649
- onMousedown: A,
650
- onMouseup: M,
651
- onMousemove: j,
652
- onTouchstart: N,
653
- onTouchmove: P,
654
- onTouchend: F,
655
- onTouchcancel: I
648
+ onClick: j,
649
+ onMousedown: M,
650
+ onMouseup: P,
651
+ onMousemove: N,
652
+ onTouchstart: F,
653
+ onTouchmove: I,
654
+ onTouchend: L,
655
+ onTouchcancel: R
656
656
  };
657
657
  }
658
658
  var S_EVENTS = Symbol("events"), S_BEHAVIOR = Symbol("behavior");
659
659
  function useGestureStyle() {
660
- let e = inject(S_BEHAVIOR, "deferToChild"), C = {};
661
- return (e === "opaque" || e === "translucent") && (C.cursor = "pointer", C.userSelect = "none"), C;
660
+ let e = inject(S_BEHAVIOR, "deferToChild"), T = {};
661
+ return (e === "opaque" || e === "translucent") && (T.cursor = "pointer", T.userSelect = "none"), T;
662
662
  }
663
663
  function useGestureEvents() {
664
664
  return inject(S_EVENTS, void 0);
665
665
  }
666
- function provideGesture(e, C) {
667
- provide(S_EVENTS, e), provide(S_BEHAVIOR, C);
666
+ function provideGesture(e, T) {
667
+ provide(S_EVENTS, e), provide(S_BEHAVIOR, T);
668
668
  }
669
669
  function useSafeAttrs() {
670
670
  let e = useAttrs();
671
671
  return computed(() => {
672
- let { class: C, style: w, ...T } = e ?? {};
673
- return T;
672
+ let { class: T, style: E, ...D } = e ?? {};
673
+ return D;
674
674
  });
675
675
  }
676
676
  var StyleInjectionKey = Symbol("fluekit-style-provider"), Injector = defineComponent({
@@ -680,8 +680,8 @@ var StyleInjectionKey = Symbol("fluekit-style-provider"), Injector = defineCompo
680
680
  type: Object,
681
681
  default: () => ({})
682
682
  } },
683
- setup(e, { slots: C }) {
684
- return provide(StyleInjectionKey, computed(() => e.style)), () => C.default?.() || null;
683
+ setup(e, { slots: T }) {
684
+ return provide(StyleInjectionKey, computed(() => e.style)), () => T.default?.() || null;
685
685
  }
686
686
  });
687
687
  function useStyles() {
@@ -699,21 +699,21 @@ const StyleProvider = defineComponent({
699
699
  default: () => ({})
700
700
  }
701
701
  },
702
- setup(e, { slots: C }) {
702
+ setup(e, { slots: T }) {
703
703
  return () => {
704
- let w = C.default?.() ?? [];
705
- return w.length <= 0 ? null : cloneAndMergeStyles(w, e.style, e.attrs);
704
+ let E = T.default?.() ?? [];
705
+ return E.length <= 0 ? null : cloneAndMergeStyles(E, e.style, e.attrs);
706
706
  };
707
707
  }
708
708
  });
709
- function cloneAndMergeStyles(E, D, O) {
710
- return E.map((E) => E && (E.type === Fragment ? Array.isArray(E.children) ? h(Fragment, cloneAndMergeStyles(E.children, D, O)) : E : E.type === Comment || E.type === Text ? E : isHtmlTag(E) ? cloneVNode(E, { style: {
711
- ...E.props?.style || {},
712
- ...D
709
+ function cloneAndMergeStyles(O, k, A) {
710
+ return O.map((O) => O && (O.type === Fragment ? Array.isArray(O.children) ? h(Fragment, cloneAndMergeStyles(O.children, k, A)) : O : O.type === Comment || O.type === Text ? O : isHtmlTag(O) ? cloneVNode(O, { style: {
711
+ ...O.props?.style || {},
712
+ ...k
713
713
  } }) : h(Injector, {
714
- ...O,
715
- style: D
716
- }, { default: () => E })));
714
+ ...A,
715
+ style: k
716
+ }, { default: () => O })));
717
717
  }
718
718
  var AnimatedContainer_default = /* @__PURE__ */ defineComponent({
719
719
  inheritAttrs: !1,
@@ -735,21 +735,21 @@ var AnimatedContainer_default = /* @__PURE__ */ defineComponent({
735
735
  curve: { default: "linear" }
736
736
  },
737
737
  setup(e) {
738
- let C = useStyles(), w = useSafeAttrs(), T = useGestureEvents(), D = computed(() => C.value.pointerEvents == "none" ? w.value : {
739
- ...w.value,
740
- ...T || {}
741
- }), A = useGestureStyle(), j = e, M = computed(() => `all ${j.duration}ms ${j.curve}`), N = computed(() => {
738
+ let T = useStyles(), E = useSafeAttrs(), D = useGestureEvents(), k = computed(() => T.value.pointerEvents == "none" ? E.value : {
739
+ ...E.value,
740
+ ...D || {}
741
+ }), M = useGestureStyle(), N = e, P = computed(() => `all ${N.duration}ms ${N.curve}`), F = computed(() => {
742
742
  let e = {
743
- ...sizeToStyle(j),
744
- ...paddingToStyle(j.padding),
745
- ...marginToStyle(j.margin),
746
- ...boxDecorationToStyle(j.decoration),
747
- ...alignmentToStyle(j.alignment, "column"),
748
- ...boxConstraintsToStyle(j.constraints),
749
- ...A,
750
- transition: M.value
743
+ ...sizeToStyle(N),
744
+ ...paddingToStyle(N.padding),
745
+ ...marginToStyle(N.margin),
746
+ ...boxDecorationToStyle(N.decoration),
747
+ ...alignmentToStyle(N.alignment, "column"),
748
+ ...boxConstraintsToStyle(N.constraints),
749
+ ...M,
750
+ transition: P.value
751
751
  };
752
- if (j.color && !j.decoration && (e.backgroundColor = j.color), j.transform && (e.transform = j.transform, j.transformAlignment && (e.transformOrigin = alignmentToOrigin(j.transformAlignment))), j.clipBehavior !== "none") switch (j.clipBehavior) {
752
+ if (N.color && !N.decoration && (e.backgroundColor = N.color), N.transform && (e.transform = N.transform, N.transformAlignment && (e.transformOrigin = alignmentToOrigin(N.transformAlignment))), N.clipBehavior !== "none") switch (N.clipBehavior) {
753
753
  case "hardEdge":
754
754
  e.overflow = "hidden";
755
755
  break;
@@ -766,22 +766,22 @@ var AnimatedContainer_default = /* @__PURE__ */ defineComponent({
766
766
  boxSizing: "border-box",
767
767
  position: "relative"
768
768
  };
769
- }), P = computed(() => ({
770
- ...boxDecorationToStyle(j.foregroundDecoration),
769
+ }), I = computed(() => ({
770
+ ...boxDecorationToStyle(N.foregroundDecoration),
771
771
  position: "absolute",
772
772
  top: 0,
773
773
  left: 0,
774
774
  right: 0,
775
775
  bottom: 0,
776
776
  pointerEvents: "none",
777
- transition: M.value
777
+ transition: P.value
778
778
  }));
779
- return (e, C) => (openBlock(), createElementBlock("div", mergeProps({
779
+ return (e, T) => (openBlock(), createElementBlock("div", mergeProps({
780
780
  class: "animated-container",
781
- style: N.value
782
- }, D.value), [renderSlot(e.$slots, "default"), j.foregroundDecoration ? (openBlock(), createElementBlock("div", {
781
+ style: F.value
782
+ }, k.value), [renderSlot(e.$slots, "default"), N.foregroundDecoration ? (openBlock(), createElementBlock("div", {
783
783
  key: 0,
784
- style: normalizeStyle(P.value)
784
+ style: normalizeStyle(I.value)
785
785
  }, null, 4)) : createCommentVNode("", !0)], 16));
786
786
  }
787
787
  }), AnimatedOpacity_default = defineComponent({
@@ -801,12 +801,12 @@ var AnimatedContainer_default = /* @__PURE__ */ defineComponent({
801
801
  default: "linear"
802
802
  }
803
803
  },
804
- setup(e, { slots: C }) {
805
- let w = computed(() => e.opacity === void 0 ? {} : {
804
+ setup(e, { slots: T }) {
805
+ let E = computed(() => e.opacity === void 0 ? {} : {
806
806
  transition: `opacity ${e.duration}ms ${e.curve}`,
807
807
  opacity: e.opacity
808
808
  });
809
- return () => h(StyleProvider, { style: w.value }, C);
809
+ return () => h(StyleProvider, { style: E.value }, T);
810
810
  }
811
811
  }), Container_default = /* @__PURE__ */ defineComponent({
812
812
  inheritAttrs: !1,
@@ -827,38 +827,38 @@ var AnimatedContainer_default = /* @__PURE__ */ defineComponent({
827
827
  flex: {}
828
828
  },
829
829
  setup(e) {
830
- let C = useStyles(), w = useSafeAttrs(), T = useGestureEvents(), D = computed(() => C.value.pointerEvents == "none" ? w.value : {
831
- ...w.value,
832
- ...T || {}
833
- }), A = useGestureStyle(), j = e, M = computed(() => {
830
+ let T = useStyles(), E = useSafeAttrs(), D = useGestureEvents(), k = computed(() => T.value.pointerEvents == "none" ? E.value : {
831
+ ...E.value,
832
+ ...D || {}
833
+ }), M = useGestureStyle(), N = e, P = computed(() => {
834
834
  let e = {
835
- backgroundColor: j.decoration ? void 0 : j.color,
836
- transform: j.transform,
837
- transformOrigin: j.transformAlignment ? alignmentToOrigin(j.transformAlignment) : "center",
838
- overflow: j.clipBehavior === "none" ? void 0 : "hidden",
835
+ backgroundColor: N.decoration ? void 0 : N.color,
836
+ transform: N.transform,
837
+ transformOrigin: N.transformAlignment ? alignmentToOrigin(N.transformAlignment) : "center",
838
+ overflow: N.clipBehavior === "none" ? void 0 : "hidden",
839
839
  position: "relative"
840
840
  };
841
- Object.assign(e, C.value), j.alignment && (Object.assign(e, {
841
+ Object.assign(e, T.value), N.alignment && (Object.assign(e, {
842
842
  display: "flex",
843
843
  flexDirection: "column"
844
- }), Object.assign(e, alignmentToFlex(j.alignment, "column"))), Object.assign(e, sizeToStyle(j));
845
- let w = boxConstraintsToStyle(j.constraints);
846
- return isDefined(j.width) && (delete w.minWidth, delete w.maxWidth), isDefined(j.height) && (delete w.minHeight, delete w.maxHeight), Object.assign(e, w), Object.assign(e, paddingToStyle(j.padding)), Object.assign(e, marginToStyle(j.margin)), Object.assign(e, boxDecorationToStyle(j.decoration)), Object.assign(e, A), j.flex !== void 0 && (typeof j.flex == "number" ? e.flex = `${j.flex} 1 0%` : e.flex = j.flex), j.clipBehavior === "antiAlias" && (e.borderRadius = e.borderRadius || "inherit"), e;
847
- }), N = computed(() => {
844
+ }), Object.assign(e, alignmentToFlex(N.alignment, "column"))), Object.assign(e, sizeToStyle(N));
845
+ let E = boxConstraintsToStyle(N.constraints);
846
+ return isDefined(N.width) && (delete E.minWidth, delete E.maxWidth), isDefined(N.height) && (delete E.minHeight, delete E.maxHeight), Object.assign(e, E), Object.assign(e, paddingToStyle(N.padding)), Object.assign(e, marginToStyle(N.margin)), Object.assign(e, boxDecorationToStyle(N.decoration)), Object.assign(e, M), N.flex !== void 0 && (typeof N.flex == "number" ? e.flex = `${N.flex} 1 0%` : e.flex = N.flex), N.clipBehavior === "antiAlias" && (e.borderRadius = e.borderRadius || "inherit"), e;
847
+ }), F = computed(() => {
848
848
  let e = {
849
849
  position: "absolute",
850
850
  pointerEvents: "none",
851
851
  zIndex: 1,
852
852
  inset: 0
853
853
  };
854
- return Object.assign(e, boxDecorationToStyle(j.foregroundDecoration)), e;
854
+ return Object.assign(e, boxDecorationToStyle(N.foregroundDecoration)), e;
855
855
  });
856
- return (e, C) => (openBlock(), createElementBlock("div", mergeProps({
856
+ return (e, T) => (openBlock(), createElementBlock("div", mergeProps({
857
857
  class: "container-box",
858
- style: M.value
859
- }, D.value), [renderSlot(e.$slots, "default"), j.foregroundDecoration ? (openBlock(), createElementBlock("div", {
858
+ style: P.value
859
+ }, k.value), [renderSlot(e.$slots, "default"), N.foregroundDecoration ? (openBlock(), createElementBlock("div", {
860
860
  key: 0,
861
- style: normalizeStyle(N.value)
861
+ style: normalizeStyle(F.value)
862
862
  }, null, 4)) : createCommentVNode("", !0)], 16));
863
863
  }
864
864
  }), Box_default = /* @__PURE__ */ defineComponent({
@@ -882,18 +882,18 @@ var AnimatedContainer_default = /* @__PURE__ */ defineComponent({
882
882
  shape: { default: BoxShape.rectangle }
883
883
  },
884
884
  setup(e) {
885
- let C = e, w = computed(() => {
886
- if (!(!C.color && !C.border && !C.borderRadius && !C.boxShadow && !C.gradient && !C.image && C.shape === "rectangle")) return BoxDecoration({
887
- color: C.color,
888
- border: C.border,
889
- borderRadius: C.borderRadius,
890
- boxShadow: C.boxShadow,
891
- gradient: C.gradient,
892
- image: C.image,
893
- shape: C.shape
885
+ let T = e, E = computed(() => {
886
+ if (!(!T.color && !T.border && !T.borderRadius && !T.boxShadow && !T.gradient && !T.image && T.shape === "rectangle")) return BoxDecoration({
887
+ color: T.color,
888
+ border: T.border,
889
+ borderRadius: T.borderRadius,
890
+ boxShadow: T.boxShadow,
891
+ gradient: T.gradient,
892
+ image: T.image,
893
+ shape: T.shape
894
894
  });
895
895
  });
896
- return (C, T) => (openBlock(), createBlock(Container_default, {
896
+ return (T, D) => (openBlock(), createBlock(Container_default, {
897
897
  width: e.width,
898
898
  height: e.height,
899
899
  padding: e.padding,
@@ -903,9 +903,9 @@ var AnimatedContainer_default = /* @__PURE__ */ defineComponent({
903
903
  "transform-alignment": e.transformAlignment,
904
904
  constraints: e.constraints,
905
905
  "clip-behavior": e.clipBehavior,
906
- decoration: w.value
906
+ decoration: E.value
907
907
  }, {
908
- default: withCtx(() => [renderSlot(C.$slots, "default")]),
908
+ default: withCtx(() => [renderSlot(T.$slots, "default")]),
909
909
  _: 3
910
910
  }, 8, [
911
911
  "width",
@@ -924,29 +924,29 @@ var AnimatedContainer_default = /* @__PURE__ */ defineComponent({
924
924
  const ButtonStyle = (e) => e;
925
925
  function buttonStyleToStyle(e) {
926
926
  if (!e) return {};
927
- let C = {};
928
- if (e.backgroundColor && (C.backgroundColor = e.backgroundColor), e.foregroundColor && (C.color = e.foregroundColor), e.padding && Object.assign(C, paddingToStyle(e.padding)), e.minimumSize) {
929
- let { width: w, height: T } = sizeToStyle(e.minimumSize) || {};
930
- w && (C.minWidth = w), T && (C.minHeight = T);
927
+ let T = {};
928
+ if (e.backgroundColor && (T.backgroundColor = e.backgroundColor), e.foregroundColor && (T.color = e.foregroundColor), e.padding && Object.assign(T, paddingToStyle(e.padding)), e.minimumSize) {
929
+ let { width: E, height: D } = sizeToStyle(e.minimumSize) || {};
930
+ E && (T.minWidth = E), D && (T.minHeight = D);
931
931
  }
932
932
  if (e.maximumSize) {
933
- let { width: w, height: T } = sizeToStyle(e.maximumSize) || {};
934
- w && (C.maxWidth = w), T && (C.maxHeight = T);
933
+ let { width: E, height: D } = sizeToStyle(e.maximumSize) || {};
934
+ E && (T.maxWidth = E), D && (T.maxHeight = D);
935
935
  }
936
936
  if (e.fixedSize) {
937
- let { width: w, height: T } = sizeToStyle(e.fixedSize) || {};
938
- w && (C.width = w, C.minWidth = w, C.maxWidth = w), T && (C.height = T, C.minHeight = T, C.maxHeight = T);
937
+ let { width: E, height: D } = sizeToStyle(e.fixedSize) || {};
938
+ E && (T.width = E, T.minWidth = E, T.maxWidth = E), D && (T.height = D, T.minHeight = D, T.maxHeight = D);
939
939
  }
940
- return e.side && Object.assign(C, borderSideToStyle(e.side)), e.shape && Object.assign(C, borderRadiusToStyle(e.shape)), e.elevation && (C.boxShadow = `0px ${px2vw(e.elevation)} ${px2vw(e.elevation * 2)} ${e.shadowColor || "rgba(0,0,0,0.2)"}`), e.alignment && (C.display = "flex", C.flexDirection = "column", Object.assign(C, alignmentToFlex(e.alignment, "column"))), C;
940
+ return e.side && Object.assign(T, borderSideToStyle(e.side)), e.shape && Object.assign(T, borderRadiusToStyle(e.shape)), e.elevation && (T.boxShadow = `0px ${px2vw(e.elevation)} ${px2vw(e.elevation * 2)} ${e.shadowColor || "rgba(0,0,0,0.2)"}`), e.alignment && (T.display = "flex", T.flexDirection = "column", Object.assign(T, alignmentToFlex(e.alignment, "column"))), T;
941
941
  }
942
- function useChildren(T) {
943
- if (!T) return [];
944
- let E = T();
945
- return E ? E.filter((T) => !(T.type === Comment || T.type === Text && typeof T.children == "string" && !T.children.trim() || T.type === Fragment && Array.isArray(T.children) && T.children.length === 0)) : [];
942
+ function useChildren(D) {
943
+ if (!D) return [];
944
+ let O = D();
945
+ return O ? O.filter((D) => !(D.type === Comment || D.type === Text && typeof D.children == "string" && !D.children.trim() || D.type === Fragment && Array.isArray(D.children) && D.children.length === 0)) : [];
946
946
  }
947
947
  function useChild(e) {
948
- let C = useChildren(e);
949
- return C.length === 0 ? null : C[0];
948
+ let T = useChildren(e);
949
+ return T.length === 0 ? null : T[0];
950
950
  }
951
951
  var GestureDetector_default = defineComponent({
952
952
  name: "GestureDetector",
@@ -956,11 +956,11 @@ var GestureDetector_default = defineComponent({
956
956
  default: "opaque"
957
957
  } },
958
958
  emits: events,
959
- setup(e, { slots: C, emit: E }) {
960
- let D = useGestures({ emit: E });
961
- return provideGesture(D, e.behavior), () => {
962
- let e = useChild(C.default);
963
- return e ? e.type === Text ? h("span", D, [e]) : isHtmlTag(e) ? cloneVNode(e, D) : e : null;
959
+ setup(e, { slots: T, emit: O }) {
960
+ let k = useGestures({ emit: O });
961
+ return provideGesture(k, e.behavior), () => {
962
+ let e = useChild(T.default);
963
+ return e ? e.type === Text ? h("span", k, [e]) : isHtmlTag(e) ? cloneVNode(e, k) : e : null;
964
964
  };
965
965
  }
966
966
  }), _hoisted_1$4 = ["disabled"], Button_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
@@ -974,34 +974,34 @@ var GestureDetector_default = defineComponent({
974
974
  style: {}
975
975
  },
976
976
  emits: ["pressed", "long-press"],
977
- setup(e, { emit: C }) {
978
- let w = e, T = C, O = useStyles(), k = useSafeAttrs(), j = useGestureEvents(), M = computed(() => O.value.pointerEvents == "none" ? k.value : {
979
- ...k.value,
980
- ...j || {}
981
- }), N = useGestureStyle(), P = computed(() => {
977
+ setup(e, { emit: T }) {
978
+ let E = e, D = T, A = useStyles(), j = useSafeAttrs(), N = useGestureEvents(), P = computed(() => A.value.pointerEvents == "none" ? j.value : {
979
+ ...j.value,
980
+ ...N || {}
981
+ }), F = useGestureStyle(), I = computed(() => {
982
982
  let e = { position: "relative" };
983
- return Object.assign(e, O.value), Object.assign(e, buttonStyleToStyle(w.style)), Object.assign(e, N), e;
984
- }), F = () => {
985
- w.disabled || T("pressed");
986
- }, I = () => {
987
- w.disabled || T("long-press");
983
+ return Object.assign(e, A.value), Object.assign(e, buttonStyleToStyle(E.style)), Object.assign(e, F), e;
984
+ }), L = () => {
985
+ E.disabled || D("pressed");
986
+ }, R = () => {
987
+ E.disabled || D("long-press");
988
988
  };
989
- return (C, w) => (openBlock(), createBlock(GestureDetector_default, {
990
- onTap: F,
991
- onLongPress: I
989
+ return (T, E) => (openBlock(), createBlock(GestureDetector_default, {
990
+ onTap: L,
991
+ onLongPress: R
992
992
  }, {
993
993
  default: withCtx(() => [createElementVNode("button", mergeProps({
994
994
  class: "fluekit-button",
995
- style: P.value,
995
+ style: I.value,
996
996
  disabled: e.disabled
997
- }, M.value), [renderSlot(C.$slots, "default", {}, void 0, !0)], 16, _hoisted_1$4)]),
997
+ }, P.value), [renderSlot(T.$slots, "default", {}, void 0, !0)], 16, _hoisted_1$4)]),
998
998
  _: 3
999
999
  }));
1000
1000
  }
1001
- }), __plugin_vue_export_helper_default = (e, C) => {
1002
- let w = e.__vccOpts || e;
1003
- for (let [e, T] of C) w[e] = T;
1004
- return w;
1001
+ }), __plugin_vue_export_helper_default = (e, T) => {
1002
+ let E = e.__vccOpts || e;
1003
+ for (let [e, D] of T) E[e] = D;
1004
+ return E;
1005
1005
  }, Button_default = /* @__PURE__ */ __plugin_vue_export_helper_default(Button_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-a5efef4c"]]), Card_default = /* @__PURE__ */ defineComponent({
1006
1006
  __name: "Card",
1007
1007
  props: {
@@ -1014,32 +1014,32 @@ var GestureDetector_default = defineComponent({
1014
1014
  borderOnForeground: { type: Boolean }
1015
1015
  },
1016
1016
  setup(e) {
1017
- let C = e, w = computed(() => {
1017
+ let T = e, E = computed(() => {
1018
1018
  let e = [];
1019
- if (C.elevation > 0) {
1020
- let w = C.elevation * 2;
1021
- C.elevation, e.push(BoxShadow({
1022
- color: C.shadowColor,
1019
+ if (T.elevation > 0) {
1020
+ let E = T.elevation * 2;
1021
+ T.elevation, e.push(BoxShadow({
1022
+ color: T.shadowColor,
1023
1023
  offset: {
1024
1024
  x: 0,
1025
1025
  y: 1
1026
1026
  },
1027
- blurRadius: w,
1027
+ blurRadius: E,
1028
1028
  spreadRadius: 0
1029
1029
  }));
1030
1030
  }
1031
1031
  return BoxDecoration({
1032
- color: C.color,
1033
- borderRadius: C.shape || BorderRadius.all(4),
1032
+ color: T.color,
1033
+ borderRadius: T.shape || BorderRadius.all(4),
1034
1034
  boxShadow: e.length > 0 ? e : void 0
1035
1035
  });
1036
1036
  });
1037
- return (C, T) => (openBlock(), createBlock(Container_default, {
1037
+ return (T, D) => (openBlock(), createBlock(Container_default, {
1038
1038
  margin: e.margin,
1039
- decoration: w.value,
1039
+ decoration: E.value,
1040
1040
  "clip-behavior": e.clipBehavior
1041
1041
  }, {
1042
- default: withCtx(() => [renderSlot(C.$slots, "default")]),
1042
+ default: withCtx(() => [renderSlot(T.$slots, "default")]),
1043
1043
  _: 3
1044
1044
  }, 8, [
1045
1045
  "margin",
@@ -1055,12 +1055,12 @@ var GestureDetector_default = defineComponent({
1055
1055
  heightFactor: {}
1056
1056
  },
1057
1057
  setup(e) {
1058
- return (C, w) => (openBlock(), createBlock(Align_default, {
1058
+ return (T, E) => (openBlock(), createBlock(Align_default, {
1059
1059
  alignment: "center",
1060
1060
  "width-factor": e.widthFactor,
1061
1061
  "height-factor": e.heightFactor
1062
1062
  }, {
1063
- default: withCtx(() => [renderSlot(C.$slots, "default")]),
1063
+ default: withCtx(() => [renderSlot(T.$slots, "default")]),
1064
1064
  _: 3
1065
1065
  }, 8, ["width-factor", "height-factor"]));
1066
1066
  }
@@ -1086,24 +1086,24 @@ var GestureDetector_default = defineComponent({
1086
1086
  constraints: {}
1087
1087
  },
1088
1088
  setup(e) {
1089
- let C = e, w = useSafeAttrs(), T = computed(() => {
1090
- let e = ["flex-box", `flex-box-${C.direction}`];
1091
- return C.expanded && e.push("flex-expanded"), C.mainAxisSize === MainAxisSize.min && e.push("main-axis-min"), e.join(" ");
1092
- }), O = computed(() => {
1093
- let e = C.mainAxisAlignment, w = C.crossAxisAlignment, T = {
1089
+ let T = e, E = useSafeAttrs(), D = computed(() => {
1090
+ let e = ["flex-box", `flex-box-${T.direction}`];
1091
+ return T.expanded && e.push("flex-expanded"), T.mainAxisSize === MainAxisSize.min && e.push("main-axis-min"), e.join(" ");
1092
+ }), A = computed(() => {
1093
+ let e = T.mainAxisAlignment, E = T.crossAxisAlignment, D = {
1094
1094
  display: "flex",
1095
- flexDirection: C.direction,
1096
- flexWrap: C.wrap ? "wrap" : "nowrap"
1095
+ flexDirection: T.direction,
1096
+ flexWrap: T.wrap ? "wrap" : "nowrap"
1097
1097
  };
1098
- T.justifyContent = FlexBoxJustifyMap[e] || e, T.alignItems = FlexBoxAlignMap[w] || w, T.gap = px2vw(C.gap);
1099
- let E = C.direction?.includes("row"), D = C.direction?.includes("column");
1100
- return C.mainAxisSize === MainAxisSize.min ? (E && (T.width = "fit-content"), D && (T.height = "fit-content")) : (E && (T.width = "100%"), D && (T.height = "100%")), C.expanded && (T.flex = "1", T.width = "100%", T.height = "100%"), C.constraints && Object.assign(T, boxConstraintsToStyle(C.constraints)), T;
1098
+ D.justifyContent = FlexBoxJustifyMap[e] || e, D.alignItems = FlexBoxAlignMap[E] || E, D.gap = px2vw(T.gap);
1099
+ let O = T.direction?.includes("row"), k = T.direction?.includes("column");
1100
+ return T.mainAxisSize === MainAxisSize.min ? (O && (D.width = "fit-content"), k && (D.height = "fit-content")) : (O && (D.width = "100%"), k && (D.height = "100%")), T.expanded && (D.flex = "1", D.width = "100%", D.height = "100%"), T.constraints && Object.assign(D, boxConstraintsToStyle(T.constraints)), D;
1101
1101
  });
1102
- return (C, E) => (openBlock(), createBlock(resolveDynamicComponent(e.as), mergeProps({
1103
- class: T.value,
1104
- style: O.value
1105
- }, unref(w)), {
1106
- default: withCtx(() => [renderSlot(C.$slots, "default")]),
1102
+ return (T, O) => (openBlock(), createBlock(resolveDynamicComponent(e.as), mergeProps({
1103
+ class: D.value,
1104
+ style: A.value
1105
+ }, unref(E)), {
1106
+ default: withCtx(() => [renderSlot(T.$slots, "default")]),
1107
1107
  _: 3
1108
1108
  }, 16, ["class", "style"]));
1109
1109
  }
@@ -1122,7 +1122,7 @@ var GestureDetector_default = defineComponent({
1122
1122
  constraints: {}
1123
1123
  },
1124
1124
  setup(e) {
1125
- return (C, w) => (openBlock(), createBlock(FlexBox_default, {
1125
+ return (T, E) => (openBlock(), createBlock(FlexBox_default, {
1126
1126
  direction: "column",
1127
1127
  "main-axis-alignment": e.mainAxisAlignment,
1128
1128
  "main-axis-size": e.mainAxisSize,
@@ -1131,7 +1131,7 @@ var GestureDetector_default = defineComponent({
1131
1131
  gap: e.gap,
1132
1132
  expanded: e.expanded
1133
1133
  }, {
1134
- default: withCtx(() => [renderSlot(C.$slots, "default")]),
1134
+ default: withCtx(() => [renderSlot(T.$slots, "default")]),
1135
1135
  _: 3
1136
1136
  }, 8, [
1137
1137
  "main-axis-alignment",
@@ -1160,22 +1160,22 @@ var GestureDetector_default = defineComponent({
1160
1160
  maxSize: {}
1161
1161
  },
1162
1162
  setup(e) {
1163
- let C = e, w = useSafeAttrs(), T = computed(() => {
1163
+ let T = e, E = useSafeAttrs(), D = computed(() => {
1164
1164
  let e = {};
1165
- if (C.expanded ? e.flex = "1 1 0%" : (C.flexible && (e.flex = "0 1 auto"), C.flex > 0 && (e.flex = `${C.flex} 1 0%`)), C.alignSelf !== "auto" && (e.alignSelf = FlexBoxAlignMap[C.alignSelf] || C.alignSelf), C.minSize) {
1166
- let w = px2vw(C.minSize);
1167
- e.minWidth = w, e.minHeight = w;
1165
+ if (T.expanded ? e.flex = "1 1 0%" : (T.flexible && (e.flex = "0 1 auto"), T.flex > 0 && (e.flex = `${T.flex} 1 0%`)), T.alignSelf !== "auto" && (e.alignSelf = FlexBoxAlignMap[T.alignSelf] || T.alignSelf), T.minSize) {
1166
+ let E = px2vw(T.minSize);
1167
+ e.minWidth = E, e.minHeight = E;
1168
1168
  }
1169
- if (C.maxSize) {
1170
- let w = px2vw(C.maxSize);
1171
- e.maxWidth = w, e.maxHeight = w;
1169
+ if (T.maxSize) {
1170
+ let E = px2vw(T.maxSize);
1171
+ e.maxWidth = E, e.maxHeight = E;
1172
1172
  }
1173
1173
  return e;
1174
1174
  });
1175
- return (e, C) => (openBlock(), createElementBlock("div", mergeProps({
1175
+ return (e, T) => (openBlock(), createElementBlock("div", mergeProps({
1176
1176
  class: "flex-item",
1177
- style: T.value
1178
- }, unref(w)), [renderSlot(e.$slots, "default")], 16));
1177
+ style: D.value
1178
+ }, unref(E)), [renderSlot(e.$slots, "default")], 16));
1179
1179
  }
1180
1180
  }), Expanded_default = /* @__PURE__ */ defineComponent({
1181
1181
  inheritAttrs: !1,
@@ -1187,14 +1187,14 @@ var GestureDetector_default = defineComponent({
1187
1187
  maxSize: {}
1188
1188
  },
1189
1189
  setup(e) {
1190
- return (C, w) => (openBlock(), createBlock(FlexItem_default, {
1190
+ return (T, E) => (openBlock(), createBlock(FlexItem_default, {
1191
1191
  flex: e.flex,
1192
1192
  expanded: "",
1193
1193
  "align-self": e.alignSelf,
1194
1194
  "min-size": e.minSize,
1195
1195
  "max-size": e.maxSize
1196
1196
  }, {
1197
- default: withCtx(() => [renderSlot(C.$slots, "default")]),
1197
+ default: withCtx(() => [renderSlot(T.$slots, "default")]),
1198
1198
  _: 3
1199
1199
  }, 8, [
1200
1200
  "flex",
@@ -1204,13 +1204,13 @@ var GestureDetector_default = defineComponent({
1204
1204
  ]));
1205
1205
  }
1206
1206
  });
1207
- function usePositionStyle(e, C = "absolute") {
1207
+ function usePositionStyle(e, T = "absolute") {
1208
1208
  return computed(() => {
1209
- let w = {
1210
- position: C,
1209
+ let E = {
1210
+ position: T,
1211
1211
  boxSizing: "border-box"
1212
1212
  };
1213
- return w.top = px2vw(e.top), w.bottom = px2vw(e.bottom), w.left = px2vw(e.left), w.right = px2vw(e.right), w.width = px2vw(e.width), w.height = px2vw(e.height), w.zIndex = e.zIndex, w;
1213
+ return E.top = px2vw(e.top), E.bottom = px2vw(e.bottom), E.left = px2vw(e.left), E.right = px2vw(e.right), E.width = px2vw(e.width), E.height = px2vw(e.height), E.zIndex = e.zIndex, E;
1214
1214
  });
1215
1215
  }
1216
1216
  var Fixed_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
@@ -1226,10 +1226,10 @@ var Fixed_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PUR
1226
1226
  zIndex: { default: 100 }
1227
1227
  },
1228
1228
  setup(e) {
1229
- let C = usePositionStyle(e, "fixed");
1230
- return (e, w) => (openBlock(), createElementBlock("div", {
1229
+ let T = usePositionStyle(e, "fixed");
1230
+ return (e, E) => (openBlock(), createElementBlock("div", {
1231
1231
  class: "flutter-fixed",
1232
- style: normalizeStyle(unref(C))
1232
+ style: normalizeStyle(unref(T))
1233
1233
  }, [renderSlot(e.$slots, "default", {}, void 0, !0)], 4));
1234
1234
  }
1235
1235
  }), [["__scopeId", "data-v-b47757ec"]]), ScrollView_default = /* @__PURE__ */ defineComponent({
@@ -1250,8 +1250,8 @@ var Fixed_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PUR
1250
1250
  "scrollStart",
1251
1251
  "scrollEnd"
1252
1252
  ],
1253
- setup(e, { expose: C, emit: w }) {
1254
- let T = e, D = w, O = ref(), j = !1, M = null, N = computed(() => {
1253
+ setup(e, { expose: T, emit: E }) {
1254
+ let D = e, k = E, A = ref(), N = !1, P = null, F = computed(() => {
1255
1255
  let e = {
1256
1256
  width: "100%",
1257
1257
  height: "100%",
@@ -1260,39 +1260,39 @@ var Fixed_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PUR
1260
1260
  scrollbarWidth: "none",
1261
1261
  WebkitOverflowScrolling: "touch"
1262
1262
  };
1263
- return T.physics === "never" ? e.overflow = "hidden" : (T.scrollDirection === "vertical" ? (e.overflowX = "hidden", e.overflowY = "auto") : (e.overflowX = "auto", e.overflowY = "hidden"), T.physics === "clamping" ? e.overscrollBehavior = "none" : T.physics === "bouncing" && (e.overscrollBehavior = "auto")), T.clipBehavior === "none" && T.physics === "never" && (e.overflow = "visible"), e;
1264
- }), P = computed(() => {
1263
+ return D.physics === "never" ? e.overflow = "hidden" : (D.scrollDirection === "vertical" ? (e.overflowX = "hidden", e.overflowY = "auto") : (e.overflowX = "auto", e.overflowY = "hidden"), D.physics === "clamping" ? e.overscrollBehavior = "none" : D.physics === "bouncing" && (e.overscrollBehavior = "auto")), D.clipBehavior === "none" && D.physics === "never" && (e.overflow = "visible"), e;
1264
+ }), I = computed(() => {
1265
1265
  let e = {
1266
- minWidth: T.scrollDirection === "horizontal" ? "max-content" : "100%",
1267
- minHeight: T.scrollDirection === "vertical" ? "fit-content" : "100%",
1266
+ minWidth: D.scrollDirection === "horizontal" ? "max-content" : "100%",
1267
+ minHeight: D.scrollDirection === "vertical" ? "fit-content" : "100%",
1268
1268
  boxSizing: "border-box",
1269
1269
  display: "flow-root"
1270
1270
  };
1271
- return T.padding && Object.assign(e, paddingToStyle(T.padding)), e;
1272
- }), F = (e) => {
1273
- let C = e.target;
1274
- j || (j = !0, D("scrollStart")), D("scroll", {
1275
- scrollTop: C.scrollTop,
1276
- scrollLeft: C.scrollLeft,
1277
- scrollHeight: C.scrollHeight,
1278
- scrollWidth: C.scrollWidth
1279
- }), M && clearTimeout(M), M = window.setTimeout(() => {
1280
- j = !1, D("scrollEnd");
1271
+ return D.padding && Object.assign(e, paddingToStyle(D.padding)), e;
1272
+ }), L = (e) => {
1273
+ let T = e.target;
1274
+ N || (N = !0, k("scrollStart")), k("scroll", {
1275
+ scrollTop: T.scrollTop,
1276
+ scrollLeft: T.scrollLeft,
1277
+ scrollHeight: T.scrollHeight,
1278
+ scrollWidth: T.scrollWidth
1279
+ }), P && clearTimeout(P), P = window.setTimeout(() => {
1280
+ N = !1, k("scrollEnd");
1281
1281
  }, 150);
1282
1282
  };
1283
- return C({
1284
- scrollRef: O,
1283
+ return T({
1284
+ scrollRef: A,
1285
1285
  scrollTo: (e) => {
1286
- O.value?.scrollTo(e);
1286
+ A.value?.scrollTo(e);
1287
1287
  }
1288
1288
  }), onUnmounted(() => {
1289
- M && clearTimeout(M);
1290
- }), (e, C) => (openBlock(), createElementBlock("div", {
1289
+ P && clearTimeout(P);
1290
+ }), (e, T) => (openBlock(), createElementBlock("div", {
1291
1291
  ref_key: "scrollRef",
1292
- ref: O,
1293
- style: normalizeStyle(N.value),
1294
- onScroll: F
1295
- }, [createElementVNode("div", { style: normalizeStyle(P.value) }, [renderSlot(e.$slots, "default")], 4)], 36));
1292
+ ref: A,
1293
+ style: normalizeStyle(F.value),
1294
+ onScroll: L
1295
+ }, [createElementVNode("div", { style: normalizeStyle(I.value) }, [renderSlot(e.$slots, "default")], 4)], 36));
1296
1296
  }
1297
1297
  }), GridView_default = /* @__PURE__ */ defineComponent({
1298
1298
  inheritAttrs: !1,
@@ -1313,36 +1313,36 @@ var Fixed_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PUR
1313
1313
  itemCount: {}
1314
1314
  },
1315
1315
  setup(e) {
1316
- let w = e, T = computed(() => ({
1317
- height: w.shrinkWrap ? "auto" : "100%",
1318
- width: w.shrinkWrap ? "auto" : "100%"
1319
- })), O = computed(() => {
1320
- let e = w.scrollDirection === "vertical", C = typeof w.mainAxisSpacing == "number" ? px2vw(w.mainAxisSpacing) : w.mainAxisSpacing, T = typeof w.crossAxisSpacing == "number" ? px2vw(w.crossAxisSpacing) : w.crossAxisSpacing;
1316
+ let E = e, D = computed(() => ({
1317
+ height: E.shrinkWrap ? "auto" : "100%",
1318
+ width: E.shrinkWrap ? "auto" : "100%"
1319
+ })), A = computed(() => {
1320
+ let e = E.scrollDirection === "vertical", T = typeof E.mainAxisSpacing == "number" ? px2vw(E.mainAxisSpacing) : E.mainAxisSpacing, D = typeof E.crossAxisSpacing == "number" ? px2vw(E.crossAxisSpacing) : E.crossAxisSpacing;
1321
1321
  return {
1322
1322
  display: "grid",
1323
- gridTemplateColumns: e ? `repeat(${w.crossAxisCount}, 1fr)` : "none",
1324
- gridTemplateRows: e ? "none" : `repeat(${w.crossAxisCount}, 1fr)`,
1323
+ gridTemplateColumns: e ? `repeat(${E.crossAxisCount}, 1fr)` : "none",
1324
+ gridTemplateRows: e ? "none" : `repeat(${E.crossAxisCount}, 1fr)`,
1325
1325
  gridAutoFlow: e ? "row" : "column",
1326
- gap: e ? `${C} ${T}` : `${T} ${C}`,
1326
+ gap: e ? `${T} ${D}` : `${D} ${T}`,
1327
1327
  minWidth: e ? "100%" : "max-content",
1328
1328
  minHeight: e ? "max-content" : "100%"
1329
1329
  };
1330
1330
  });
1331
- return (w, E) => (openBlock(), createBlock(ScrollView_default, {
1331
+ return (E, O) => (openBlock(), createBlock(ScrollView_default, {
1332
1332
  "scroll-direction": e.scrollDirection,
1333
1333
  padding: e.padding,
1334
1334
  physics: e.physics,
1335
1335
  "clip-behavior": e.clipBehavior,
1336
1336
  class: "flutter-grid-view",
1337
- style: normalizeStyle(T.value)
1337
+ style: normalizeStyle(D.value)
1338
1338
  }, {
1339
1339
  default: withCtx(() => [createElementVNode("div", {
1340
1340
  class: "grid-view-content",
1341
- style: normalizeStyle(O.value)
1342
- }, [e.itemCount ? (openBlock(!0), createElementBlock(Fragment, { key: 1 }, renderList(e.itemCount, (e) => renderSlot(w.$slots, "item", {
1341
+ style: normalizeStyle(A.value)
1342
+ }, [e.itemCount ? (openBlock(!0), createElementBlock(Fragment, { key: 1 }, renderList(e.itemCount, (e) => renderSlot(E.$slots, "item", {
1343
1343
  key: e - 1,
1344
1344
  index: e - 1
1345
- })), 128)) : renderSlot(w.$slots, "default", { key: 0 })], 4)]),
1345
+ })), 128)) : renderSlot(E.$slots, "default", { key: 0 })], 4)]),
1346
1346
  _: 3
1347
1347
  }, 8, [
1348
1348
  "scroll-direction",
@@ -1365,11 +1365,11 @@ var Fixed_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PUR
1365
1365
  default: !1
1366
1366
  }
1367
1367
  },
1368
- setup(e, { slots: C }) {
1369
- return () => !e.ignoring && !e.ignoringSemantics ? C.default?.() : h(StyleProvider, {
1368
+ setup(e, { slots: T }) {
1369
+ return () => !e.ignoring && !e.ignoringSemantics ? T.default?.() : h(StyleProvider, {
1370
1370
  style: { pointerEvents: e.ignoring ? "none" : void 0 },
1371
1371
  attrs: { "aria-hidden": e.ignoringSemantics ? "true" : void 0 }
1372
- }, C);
1372
+ }, T);
1373
1373
  }
1374
1374
  }), IMAGE_PROVIDER_SYMBOL = Symbol("ImageProvider");
1375
1375
  function isImageProvider(e) {
@@ -1382,9 +1382,9 @@ function NetworkImage(e) {
1382
1382
  };
1383
1383
  }
1384
1384
  function MemoryImage(e) {
1385
- let C = "";
1386
- return typeof e == "string" ? C = e : e instanceof Blob ? C = URL.createObjectURL(e) : console.warn("[MemoryImage] Unsupported data type. Expected string (base64) or Blob."), {
1387
- src: C,
1385
+ let T = "";
1386
+ return typeof e == "string" ? T = e : e instanceof Blob ? T = URL.createObjectURL(e) : console.warn("[MemoryImage] Unsupported data type. Expected string (base64) or Blob."), {
1387
+ src: T,
1388
1388
  [IMAGE_PROVIDER_SYMBOL]: !0
1389
1389
  };
1390
1390
  }
@@ -1392,17 +1392,17 @@ var _assetBaseUrl = "/";
1392
1392
  function setAssetBaseURL(e) {
1393
1393
  _assetBaseUrl = e;
1394
1394
  }
1395
- function AssetImage(e, C = {}) {
1396
- let w = C.package ? `${C.package}/${e}` : e;
1397
- return /^(https?:|file:|blob:|data:|\/\/)/i.test(w) || _assetBaseUrl && (w = (_assetBaseUrl.endsWith("/") ? _assetBaseUrl : _assetBaseUrl + "/") + (w.startsWith("/") ? w.slice(1) : w)), {
1398
- src: w,
1395
+ function AssetImage(e, T = {}) {
1396
+ let E = T.package ? `${T.package}/${e}` : e;
1397
+ return /^(https?:|file:|blob:|data:|\/\/)/i.test(E) || _assetBaseUrl && (E = (_assetBaseUrl.endsWith("/") ? _assetBaseUrl : _assetBaseUrl + "/") + (E.startsWith("/") ? E.slice(1) : E)), {
1398
+ src: E,
1399
1399
  [IMAGE_PROVIDER_SYMBOL]: !0
1400
1400
  };
1401
1401
  }
1402
1402
  function createAssetImage(e) {
1403
- return (C, w = {}) => AssetImage(C, {
1403
+ return (T, E = {}) => AssetImage(T, {
1404
1404
  ...e,
1405
- ...w
1405
+ ...E
1406
1406
  });
1407
1407
  }
1408
1408
  var _hoisted_1$3 = ["src", "alt"], Image_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
@@ -1422,8 +1422,8 @@ var _hoisted_1$3 = ["src", "alt"], Image_default = /* @__PURE__ */ __plugin_vue_
1422
1422
  alt: { default: "" }
1423
1423
  },
1424
1424
  emits: ["load", "error"],
1425
- setup(e, { emit: C }) {
1426
- let w = e, T = C, D = useSafeAttrs(), O = computed(() => {
1425
+ setup(e, { emit: T }) {
1426
+ let E = e, D = T, k = useSafeAttrs(), A = computed(() => {
1427
1427
  let e = {
1428
1428
  position: "relative",
1429
1429
  display: "inline-block",
@@ -1431,10 +1431,10 @@ var _hoisted_1$3 = ["src", "alt"], Image_default = /* @__PURE__ */ __plugin_vue_
1431
1431
  lineHeight: 0
1432
1432
  };
1433
1433
  return Object.assign(e, sizeToStyle({
1434
- width: w.width,
1435
- height: w.height
1434
+ width: E.width,
1435
+ height: E.height
1436
1436
  })), e;
1437
- }), j = {
1437
+ }), N = {
1438
1438
  fill: "fill",
1439
1439
  contain: "contain",
1440
1440
  cover: "cover",
@@ -1442,27 +1442,27 @@ var _hoisted_1$3 = ["src", "alt"], Image_default = /* @__PURE__ */ __plugin_vue_
1442
1442
  fitHeight: "contain",
1443
1443
  none: "none",
1444
1444
  scaleDown: "scale-down"
1445
- }, M = computed(() => alignmentToOrigin(w.alignment)), N = computed(() => {
1445
+ }, P = computed(() => alignmentToOrigin(E.alignment)), F = computed(() => {
1446
1446
  let e = {
1447
1447
  width: "100%",
1448
1448
  height: "100%",
1449
- objectFit: j[w.fit],
1450
- objectPosition: M.value,
1451
- opacity: w.opacity,
1452
- imageRendering: w.filterQuality === "low" ? "pixelated" : "auto"
1449
+ objectFit: N[E.fit],
1450
+ objectPosition: P.value,
1451
+ opacity: E.opacity,
1452
+ imageRendering: E.filterQuality === "low" ? "pixelated" : "auto"
1453
1453
  };
1454
- return w.color, e;
1455
- }), P = (e) => T("load", e), F = (e) => T("error", e);
1456
- return (C, T) => (openBlock(), createElementBlock("div", mergeProps({
1454
+ return E.color, e;
1455
+ }), I = (e) => D("load", e), L = (e) => D("error", e);
1456
+ return (T, D) => (openBlock(), createElementBlock("div", mergeProps({
1457
1457
  class: "fluekit-image-container",
1458
- style: O.value
1459
- }, unref(D)), [createElementVNode("img", {
1460
- src: w.image.src,
1458
+ style: A.value
1459
+ }, unref(k)), [createElementVNode("img", {
1460
+ src: E.image.src,
1461
1461
  class: "fluekit-image",
1462
- style: normalizeStyle(N.value),
1462
+ style: normalizeStyle(F.value),
1463
1463
  alt: e.alt,
1464
- onLoad: P,
1465
- onError: F
1464
+ onLoad: I,
1465
+ onError: L
1466
1466
  }, null, 44, _hoisted_1$3)], 16));
1467
1467
  }
1468
1468
  }), [["__scopeId", "data-v-ce382550"]]), _hoisted_1$2 = {
@@ -1488,11 +1488,11 @@ var _hoisted_1$3 = ["src", "alt"], Image_default = /* @__PURE__ */ __plugin_vue_
1488
1488
  clipBehavior: { default: "hardEdge" }
1489
1489
  },
1490
1490
  setup(e) {
1491
- let w = e, T = computed(() => ({
1492
- height: w.shrinkWrap ? "auto" : "100%",
1493
- width: w.shrinkWrap ? "auto" : "100%"
1494
- })), j = computed(() => {
1495
- let e = w.scrollDirection === "vertical";
1491
+ let E = e, D = computed(() => ({
1492
+ height: E.shrinkWrap ? "auto" : "100%",
1493
+ width: E.shrinkWrap ? "auto" : "100%"
1494
+ })), N = computed(() => {
1495
+ let e = E.scrollDirection === "vertical";
1496
1496
  return {
1497
1497
  display: "flex",
1498
1498
  flexDirection: e ? "column" : "row",
@@ -1500,18 +1500,18 @@ var _hoisted_1$3 = ["src", "alt"], Image_default = /* @__PURE__ */ __plugin_vue_
1500
1500
  minWidth: e ? "100%" : "max-content"
1501
1501
  };
1502
1502
  });
1503
- return (w, E) => (openBlock(), createBlock(ScrollView_default, {
1503
+ return (E, O) => (openBlock(), createBlock(ScrollView_default, {
1504
1504
  "scroll-direction": e.scrollDirection,
1505
1505
  padding: e.padding,
1506
1506
  physics: e.physics,
1507
1507
  "clip-behavior": e.clipBehavior,
1508
1508
  class: normalizeClass(["flutter-list-view", { "list-view-shrink-wrap": e.shrinkWrap }]),
1509
- style: normalizeStyle(T.value)
1509
+ style: normalizeStyle(D.value)
1510
1510
  }, {
1511
1511
  default: withCtx(() => [createElementVNode("div", {
1512
1512
  class: "list-view-content",
1513
- style: normalizeStyle(j.value)
1514
- }, [e.itemCount ? (openBlock(!0), createElementBlock(Fragment, { key: 1 }, renderList(e.itemCount, (T) => (openBlock(), createElementBlock(Fragment, { key: T - 1 }, [renderSlot(w.$slots, "item", { index: T - 1 }, void 0, !0), e.separator && T < e.itemCount ? (openBlock(), createElementBlock("div", _hoisted_1$2, [renderSlot(w.$slots, "separator", { index: T - 1 }, void 0, !0)])) : createCommentVNode("", !0)], 64))), 128)) : renderSlot(w.$slots, "default", { key: 0 }, void 0, !0)], 4)]),
1513
+ style: normalizeStyle(N.value)
1514
+ }, [e.itemCount ? (openBlock(!0), createElementBlock(Fragment, { key: 1 }, renderList(e.itemCount, (D) => (openBlock(), createElementBlock(Fragment, { key: D - 1 }, [renderSlot(E.$slots, "item", { index: D - 1 }, void 0, !0), e.separator && D < e.itemCount ? (openBlock(), createElementBlock("div", _hoisted_1$2, [renderSlot(E.$slots, "separator", { index: D - 1 }, void 0, !0)])) : createCommentVNode("", !0)], 64))), 128)) : renderSlot(E.$slots, "default", { key: 0 }, void 0, !0)], 4)]),
1515
1515
  _: 3
1516
1516
  }, 8, [
1517
1517
  "scroll-direction",
@@ -1529,9 +1529,9 @@ var _hoisted_1$3 = ["src", "alt"], Image_default = /* @__PURE__ */ __plugin_vue_
1529
1529
  type: Number,
1530
1530
  default: void 0
1531
1531
  } },
1532
- setup(e, { slots: C }) {
1533
- let w = computed(() => e.opacity === void 0 ? {} : { opacity: Math.max(0, Math.min(1, e.opacity)) });
1534
- return () => h(StyleProvider, { style: w.value }, C);
1532
+ setup(e, { slots: T }) {
1533
+ let E = computed(() => e.opacity === void 0 ? {} : { opacity: Math.max(0, Math.min(1, e.opacity)) });
1534
+ return () => h(StyleProvider, { style: E.value }, T);
1535
1535
  }
1536
1536
  }), Padding_default = defineComponent({
1537
1537
  name: "Padding",
@@ -1562,10 +1562,10 @@ var _hoisted_1$3 = ["src", "alt"], Image_default = /* @__PURE__ */ __plugin_vue_
1562
1562
  default: void 0
1563
1563
  }
1564
1564
  },
1565
- setup(e, { slots: C }) {
1565
+ setup(e, { slots: T }) {
1566
1566
  return () => {
1567
- let w = useChild(C.default);
1568
- return w ? cloneVNode(w, { style: edgeInsetsToStyle("padding", e) }) : null;
1567
+ let E = useChild(T.default);
1568
+ return E ? cloneVNode(E, { style: edgeInsetsToStyle("padding", e) }) : null;
1569
1569
  };
1570
1570
  }
1571
1571
  }), STACK_CONTEXT_KEY = "stackContext";
@@ -1586,14 +1586,14 @@ var Positioned_default = /* @__PURE__ */ defineComponent({
1586
1586
  zIndex: {}
1587
1587
  },
1588
1588
  setup(e) {
1589
- let C = e, w = useStackContext();
1589
+ let T = e, E = useStackContext();
1590
1590
  onMounted(() => {
1591
- w || warn("[Positioned] Positioned widget must be a descendant of a Stack. ");
1591
+ E || warn("[Positioned] Positioned widget must be a descendant of a Stack. ");
1592
1592
  });
1593
- let T = usePositionStyle(C, "absolute");
1594
- return (e, C) => (openBlock(), createElementBlock("div", {
1593
+ let D = usePositionStyle(T, "absolute");
1594
+ return (e, T) => (openBlock(), createElementBlock("div", {
1595
1595
  class: "positioned",
1596
- style: normalizeStyle(unref(T))
1596
+ style: normalizeStyle(unref(D))
1597
1597
  }, [renderSlot(e.$slots, "default")], 4));
1598
1598
  }
1599
1599
  }), Row_default = /* @__PURE__ */ defineComponent({
@@ -1617,7 +1617,7 @@ var Positioned_default = /* @__PURE__ */ defineComponent({
1617
1617
  constraints: {}
1618
1618
  },
1619
1619
  setup(e) {
1620
- return (C, w) => (openBlock(), createBlock(FlexBox_default, {
1620
+ return (T, E) => (openBlock(), createBlock(FlexBox_default, {
1621
1621
  direction: "row",
1622
1622
  "main-axis-alignment": e.mainAxisAlignment,
1623
1623
  "main-axis-size": e.mainAxisSize,
@@ -1627,7 +1627,7 @@ var Positioned_default = /* @__PURE__ */ defineComponent({
1627
1627
  as: e.as,
1628
1628
  expanded: e.expanded
1629
1629
  }, {
1630
- default: withCtx(() => [renderSlot(C.$slots, "default")]),
1630
+ default: withCtx(() => [renderSlot(T.$slots, "default")]),
1631
1631
  _: 3
1632
1632
  }, 8, [
1633
1633
  "main-axis-alignment",
@@ -1666,18 +1666,18 @@ var Positioned_default = /* @__PURE__ */ defineComponent({
1666
1666
  }
1667
1667
  },
1668
1668
  setup(e) {
1669
- let C = e, w = computed(() => {
1669
+ let T = e, E = computed(() => {
1670
1670
  let e = {
1671
1671
  display: "flex",
1672
1672
  flexDirection: "column",
1673
1673
  width: "100%",
1674
1674
  height: "100%"
1675
1675
  };
1676
- return C.top && [].push("env(safe-area-inset-top)"), C.right && [].push("env(safe-area-inset-right)"), C.bottom && [].push("env(safe-area-inset-bottom)"), C.left && [].push("env(safe-area-inset-left)"), C.top && (e.paddingTop = "env(safe-area-inset-top)"), C.right && (e.paddingRight = "env(safe-area-inset-right)"), C.bottom && (e.paddingBottom = "env(safe-area-inset-bottom)"), C.left && (e.paddingLeft = "env(safe-area-inset-left)"), C.minimum, e;
1676
+ return T.top && [].push("env(safe-area-inset-top)"), T.right && [].push("env(safe-area-inset-right)"), T.bottom && [].push("env(safe-area-inset-bottom)"), T.left && [].push("env(safe-area-inset-left)"), T.top && (e.paddingTop = "env(safe-area-inset-top)"), T.right && (e.paddingRight = "env(safe-area-inset-right)"), T.bottom && (e.paddingBottom = "env(safe-area-inset-bottom)"), T.left && (e.paddingLeft = "env(safe-area-inset-left)"), T.minimum, e;
1677
1677
  });
1678
- return (e, C) => (openBlock(), createElementBlock("div", {
1678
+ return (e, T) => (openBlock(), createElementBlock("div", {
1679
1679
  class: "flutter-safe-area",
1680
- style: normalizeStyle(w.value)
1680
+ style: normalizeStyle(E.value)
1681
1681
  }, [renderSlot(e.$slots, "default")], 4));
1682
1682
  }
1683
1683
  }), SizedBox_default = /* @__PURE__ */ defineComponent({
@@ -1688,17 +1688,17 @@ var Positioned_default = /* @__PURE__ */ defineComponent({
1688
1688
  height: {}
1689
1689
  },
1690
1690
  setup(e) {
1691
- let C = e, w = useSafeAttrs(), T = useSlots(), D = computed(() => {
1691
+ let T = e, E = useSafeAttrs(), D = useSlots(), k = computed(() => {
1692
1692
  let e = {
1693
1693
  boxSizing: "border-box",
1694
1694
  position: "relative"
1695
1695
  };
1696
- return Object.assign(e, sizeToStyle(C)), T.default && (e.display = "flex", e.flexDirection = "column", e.flexShrink = 0), e;
1696
+ return Object.assign(e, sizeToStyle(T)), D.default && (e.display = "flex", e.flexDirection = "column", e.flexShrink = 0), e;
1697
1697
  });
1698
- return (e, C) => (openBlock(), createElementBlock("div", mergeProps({
1698
+ return (e, T) => (openBlock(), createElementBlock("div", mergeProps({
1699
1699
  class: "sized-box",
1700
- style: D.value
1701
- }, unref(w)), [renderSlot(e.$slots, "default")], 16));
1700
+ style: k.value
1701
+ }, unref(E)), [renderSlot(e.$slots, "default")], 16));
1702
1702
  }
1703
1703
  }), Stack_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
1704
1704
  inheritAttrs: !1,
@@ -1710,27 +1710,27 @@ var Positioned_default = /* @__PURE__ */ defineComponent({
1710
1710
  fit: { default: StackFit.loose }
1711
1711
  },
1712
1712
  setup(e) {
1713
- let C = e, w = {
1713
+ let T = e, E = {
1714
1714
  clip: "hidden",
1715
1715
  hardEdge: "hidden",
1716
1716
  antiAlias: "hidden",
1717
1717
  none: "visible"
1718
- }, T = computed(() => {
1718
+ }, D = computed(() => {
1719
1719
  let e = {
1720
1720
  position: "relative",
1721
1721
  display: "grid",
1722
1722
  gridTemplateColumns: "1fr",
1723
1723
  gridTemplateRows: "1fr",
1724
- ...alignmentToGrid(C.alignment),
1725
- overflow: w[C.clipBehavior],
1726
- direction: C.textDirection,
1724
+ ...alignmentToGrid(T.alignment),
1725
+ overflow: E[T.clipBehavior],
1726
+ direction: T.textDirection,
1727
1727
  boxSizing: "border-box"
1728
1728
  };
1729
- return C.fit === StackFit.expand && (e.width = "100%", e.height = "100%"), e;
1729
+ return T.fit === StackFit.expand && (e.width = "100%", e.height = "100%"), e;
1730
1730
  });
1731
- return provideStackContext(), (e, C) => (openBlock(), createElementBlock("div", {
1731
+ return provideStackContext(), (e, T) => (openBlock(), createElementBlock("div", {
1732
1732
  class: "flutter-stack",
1733
- style: normalizeStyle(T.value)
1733
+ style: normalizeStyle(D.value)
1734
1734
  }, [renderSlot(e.$slots, "default", {}, void 0, !0)], 4));
1735
1735
  }
1736
1736
  }), [["__scopeId", "data-v-aefe47c2"]]), Sticky_default = /* @__PURE__ */ defineComponent({
@@ -1746,10 +1746,10 @@ var Positioned_default = /* @__PURE__ */ defineComponent({
1746
1746
  zIndex: { default: 10 }
1747
1747
  },
1748
1748
  setup(e) {
1749
- let C = usePositionStyle(e, "sticky");
1750
- return (e, w) => (openBlock(), createElementBlock("div", {
1749
+ let T = usePositionStyle(e, "sticky");
1750
+ return (e, E) => (openBlock(), createElementBlock("div", {
1751
1751
  class: "flutter-sticky",
1752
- style: normalizeStyle(unref(C))
1752
+ style: normalizeStyle(unref(T))
1753
1753
  }, [renderSlot(e.$slots, "default")], 4));
1754
1754
  }
1755
1755
  });
@@ -1771,36 +1771,36 @@ let FontWeight = /* @__PURE__ */ function(e) {
1771
1771
  return e.rtl = "rtl", e.ltr = "ltr", e;
1772
1772
  }({});
1773
1773
  var TEXT_STYLE_SYMBOL = Symbol("textStyle");
1774
- function buildFontFamily(e, C, w) {
1775
- let T = e;
1776
- return C && T && (T = `packages/${C}/${T}`), w && w.length > 0 ? [T, ...w].filter(Boolean).join(", ") : T;
1774
+ function buildFontFamily(e, T, E) {
1775
+ let D = e;
1776
+ return T && D && (D = `packages/${T}/${D}`), E && E.length > 0 ? [D, ...E].filter(Boolean).join(", ") : D;
1777
1777
  }
1778
1778
  function toCSSStyle(e = {}) {
1779
- let C = {};
1780
- C.margin = 0, C.padding = 0, C.border = "none", C.fontSmooth = "antialiased", C.MozOsxFontSmoothing = "grayscale", C.textRendering = "optimizeLegibility", C.wordBreak = "break-word", C.overflowWrap = "break-word", C.transition = "all 0.2s ease-in-out", e.foreground ? Object.assign(C, e.foreground) : e.color && (C.color = e.color), e.background ? Object.assign(C, e.background) : e.backgroundColor && (C.backgroundColor = e.backgroundColor), e.fontSize && (C.fontSize = typeof e.fontSize == "number" ? px2vw(e.fontSize) : e.fontSize), e.fontWeight && (C.fontWeight = e.fontWeight.toString()), e.fontStyle && (C.fontStyle = e.fontStyle);
1781
- let w = buildFontFamily(e.fontFamily, e.package, e.fontFamilyFallback);
1782
- if (w && (C.fontFamily = w), e.letterSpacing && (C.letterSpacing = px2vw(e.letterSpacing)), e.wordSpacing && (C.wordSpacing = px2vw(e.wordSpacing)), e.height && (C.lineHeight = e.height.toString()), e.decoration && (C.textDecoration = e.decoration), e.decorationColor && (C.textDecorationColor = e.decorationColor), e.decorationStyle && (C.textDecorationStyle = e.decorationStyle), e.decorationThickness && (C.textDecorationThickness = px2vw(e.decorationThickness)), e.overflow) switch (e.overflow) {
1779
+ let T = {};
1780
+ T.margin = 0, T.padding = 0, T.border = "none", T.fontSmooth = "antialiased", T.MozOsxFontSmoothing = "grayscale", T.textRendering = "optimizeLegibility", T.wordBreak = "break-word", T.overflowWrap = "break-word", T.transition = "all 0.2s ease-in-out", e.foreground ? Object.assign(T, e.foreground) : e.color && (T.color = e.color), e.background ? Object.assign(T, e.background) : e.backgroundColor && (T.backgroundColor = e.backgroundColor), e.fontSize && (T.fontSize = typeof e.fontSize == "number" ? px2vw(e.fontSize) : e.fontSize), e.fontWeight && (T.fontWeight = e.fontWeight.toString()), e.fontStyle && (T.fontStyle = e.fontStyle);
1781
+ let E = buildFontFamily(e.fontFamily, e.package, e.fontFamilyFallback);
1782
+ if (E && (T.fontFamily = E), e.letterSpacing && (T.letterSpacing = px2vw(e.letterSpacing)), e.wordSpacing && (T.wordSpacing = px2vw(e.wordSpacing)), e.height && (T.lineHeight = e.height.toString()), e.decoration && (T.textDecoration = e.decoration), e.decorationColor && (T.textDecorationColor = e.decorationColor), e.decorationStyle && (T.textDecorationStyle = e.decorationStyle), e.decorationThickness && (T.textDecorationThickness = px2vw(e.decorationThickness)), e.overflow) switch (e.overflow) {
1783
1783
  case TextOverflow.ellipsis:
1784
- C.overflow = "hidden", C.textOverflow = "ellipsis", C.whiteSpace = "nowrap";
1784
+ T.overflow = "hidden", T.textOverflow = "ellipsis", T.whiteSpace = "nowrap";
1785
1785
  break;
1786
1786
  case TextOverflow.clip:
1787
- C.overflow = "hidden";
1787
+ T.overflow = "hidden";
1788
1788
  break;
1789
1789
  case TextOverflow.visible:
1790
- C.overflow = "visible";
1790
+ T.overflow = "visible";
1791
1791
  break;
1792
1792
  case TextOverflow.fade:
1793
- C.overflow = "hidden", C.whiteSpace = "nowrap", C.maskImage = "linear-gradient(to right, black 80%, transparent 100%)";
1793
+ T.overflow = "hidden", T.whiteSpace = "nowrap", T.maskImage = "linear-gradient(to right, black 80%, transparent 100%)";
1794
1794
  break;
1795
1795
  }
1796
- return e.shadows && e.shadows.length > 0 && (C.textShadow = e.shadows.map((e) => {
1797
- let C = e.offsetX || 0, w = e.offsetY || 0, T = e.blurRadius || 0, E = e.color || "rgba(0,0,0,0.5)";
1798
- return `${px2vw(C)} ${px2vw(w)} ${px2vw(T)} ${E}`;
1799
- }).join(", ")), e.fontFeatures && (C.fontFeatureSettings = JSON.stringify(e.fontFeatures)), e.fontVariations && (C.fontVariationSettings = JSON.stringify(e.fontVariations)), C;
1796
+ return e.shadows && e.shadows.length > 0 && (T.textShadow = e.shadows.map((e) => {
1797
+ let T = e.offsetX || 0, E = e.offsetY || 0, D = e.blurRadius || 0, O = e.color || "rgba(0,0,0,0.5)";
1798
+ return `${px2vw(T)} ${px2vw(E)} ${px2vw(D)} ${O}`;
1799
+ }).join(", ")), e.fontFeatures && (T.fontFeatureSettings = JSON.stringify(e.fontFeatures)), e.fontVariations && (T.fontVariationSettings = JSON.stringify(e.fontVariations)), T;
1800
1800
  }
1801
- function TextStyle(e = {}, C = {}) {
1801
+ function TextStyle(e = {}, T = {}) {
1802
1802
  return {
1803
- ...C,
1803
+ ...T,
1804
1804
  ...e,
1805
1805
  [TEXT_STYLE_SYMBOL]: !0
1806
1806
  };
@@ -1826,16 +1826,16 @@ var Text_default = /* @__PURE__ */ defineComponent({
1826
1826
  tag: { default: "span" }
1827
1827
  },
1828
1828
  setup(e) {
1829
- let C = useStyles(), w = e, T = useGestureEvents(), O = computed(() => C.value.pointerEvents == "none" ? {} : T || {}), k = computed(() => {
1830
- let e = w.data;
1829
+ let T = useStyles(), E = e, D = useGestureEvents(), A = computed(() => T.value.pointerEvents == "none" ? {} : D || {}), j = computed(() => {
1830
+ let e = E.data;
1831
1831
  return !isUndefined(e) && e != null ? e.toString() : "";
1832
- }), A = useGestureStyle(), j = computed(() => {
1833
- let e = w.style ? toCSSStyle(w.style) : {};
1834
- w.textAlign && (e.textAlign = w.textAlign), w.textDirection && (e.direction = w.textDirection), w.softWrap === !1 && (e.whiteSpace = "nowrap");
1835
- let C = w.overflow ?? w.style?.overflow;
1836
- if (C) switch (C) {
1832
+ }), M = useGestureStyle(), N = computed(() => {
1833
+ let e = E.style ? toCSSStyle(E.style) : {};
1834
+ E.textAlign && (e.textAlign = E.textAlign), E.textDirection && (e.direction = E.textDirection), E.softWrap === !1 && (e.whiteSpace = "nowrap");
1835
+ let T = E.overflow ?? E.style?.overflow;
1836
+ if (T) switch (T) {
1837
1837
  case TextOverflow.ellipsis:
1838
- e.textOverflow = "ellipsis", e.overflow = "hidden", w.softWrap === !1 && (e.whiteSpace = "nowrap");
1838
+ e.textOverflow = "ellipsis", e.overflow = "hidden", E.softWrap === !1 && (e.whiteSpace = "nowrap");
1839
1839
  break;
1840
1840
  case TextOverflow.clip:
1841
1841
  e.overflow = "hidden", e.textOverflow = "clip";
@@ -1847,10 +1847,10 @@ var Text_default = /* @__PURE__ */ defineComponent({
1847
1847
  e.overflow = "hidden", e.whiteSpace = "nowrap", e.maskImage = "linear-gradient(to right, black 80%, transparent 100%)", e.WebkitMaskImage = "linear-gradient(to right, black 80%, transparent 100%)";
1848
1848
  break;
1849
1849
  }
1850
- return w.maxLines && w.maxLines > 0 ? (e.overflow = "hidden", e.display = "-webkit-box", e.WebkitBoxOrient = "vertical", e.WebkitLineClamp = w.maxLines.toString(), w.softWrap !== !1 && (e.whiteSpace = "normal")) : e.display ||= w.tag === "span" ? "inline-block" : "block", Object.assign(e, A), e;
1850
+ return E.maxLines && E.maxLines > 0 ? (e.overflow = "hidden", e.display = "-webkit-box", e.WebkitBoxOrient = "vertical", e.WebkitLineClamp = E.maxLines.toString(), E.softWrap !== !1 && (e.whiteSpace = "normal")) : e.display ||= E.tag === "span" ? "inline-block" : "block", Object.assign(e, M), e;
1851
1851
  });
1852
- return (C, w) => (openBlock(), createBlock(resolveDynamicComponent(e.tag), mergeProps({ style: j.value }, O.value), {
1853
- default: withCtx(() => [renderSlot(C.$slots, "default", {}, () => [createTextVNode(toDisplayString(k.value), 1)])]),
1852
+ return (T, E) => (openBlock(), createBlock(resolveDynamicComponent(e.tag), mergeProps({ style: N.value }, A.value), {
1853
+ default: withCtx(() => [renderSlot(T.$slots, "default", {}, () => [createTextVNode(toDisplayString(j.value), 1)])]),
1854
1854
  _: 3
1855
1855
  }, 16, ["style"]));
1856
1856
  }
@@ -1930,78 +1930,78 @@ var _hoisted_1$1 = {
1930
1930
  "blur",
1931
1931
  "submit"
1932
1932
  ],
1933
- setup(e, { emit: C }) {
1934
- let w = e, T = C, j = ref(null), N = ref(!1), P = ref(null), F = ref(0), I = null, H = () => {
1935
- let e = j.value;
1933
+ setup(e, { emit: T }) {
1934
+ let E = e, D = T, N = ref(null), F = ref(!1), I = ref(null), L = ref(0), R = null, z = () => {
1935
+ let e = N.value;
1936
1936
  if (!e || !U.value) return;
1937
- if (!w.autoGrow) {
1937
+ if (!E.autoGrow) {
1938
1938
  e.style.height = "", e.style.minHeight = "", e.style.maxHeight = "";
1939
1939
  return;
1940
1940
  }
1941
- let C = window.getComputedStyle(e), T = parseFloat(C.lineHeight || "0") || parseFloat(C.fontSize || "16") * 1.2, E = (w.minLines || 1) * T;
1942
- if (e.style.minHeight = `${Math.round(E)}px`, w.maxLines && w.maxLines > 1) {
1943
- let C = w.maxLines * T;
1944
- e.style.maxHeight = `${Math.round(C)}px`;
1941
+ let T = window.getComputedStyle(e), D = parseFloat(T.lineHeight || "0") || parseFloat(T.fontSize || "16") * 1.2, O = (E.minLines || 1) * D;
1942
+ if (e.style.minHeight = `${Math.round(O)}px`, E.maxLines && E.maxLines > 1) {
1943
+ let T = E.maxLines * D;
1944
+ e.style.maxHeight = `${Math.round(T)}px`;
1945
1945
  } else e.style.maxHeight = "";
1946
- e.style.height = "auto", e.style.height = `${Math.max(Math.round(E), e.scrollHeight)}px`;
1946
+ e.style.height = "auto", e.style.height = `${Math.max(Math.round(O), e.scrollHeight)}px`;
1947
1947
  };
1948
1948
  onMounted(() => {
1949
- P.value && (I = new ResizeObserver(() => {
1950
- F.value = Math.round(P.value.getBoundingClientRect().width);
1951
- }), I.observe(P.value), F.value = Math.round(P.value.getBoundingClientRect().width)), nextTick(H);
1949
+ I.value && (R = new ResizeObserver(() => {
1950
+ L.value = Math.round(I.value.getBoundingClientRect().width);
1951
+ }), R.observe(I.value), L.value = Math.round(I.value.getBoundingClientRect().width)), nextTick(z);
1952
1952
  }), onBeforeUnmount(() => {
1953
- I &&= (I.disconnect(), null);
1953
+ R &&= (R.disconnect(), null);
1954
1954
  });
1955
- let U = computed(() => w.maxLines === null || w.maxLines > 1 || w.keyboardType === "multiline"), W = computed(() => {
1956
- if (!U.value) return w.obscureText ? "password" : w.keyboardType === "number" ? "number" : "text";
1957
- }), G = computed(() => N.value || w.modelValue !== "" && w.modelValue !== null && w.modelValue !== void 0), K = computed(() => w.decoration?.labelText && !G.value ? "" : w.decoration?.hintText || "");
1958
- watch(() => w.modelValue, () => nextTick(H)), watch(U, (e) => e && nextTick(H)), watch(() => w.maxLines, () => nextTick(H)), watch(() => w.minLines, () => nextTick(H)), watch(() => w.autoGrow, () => nextTick(H));
1959
- let q = computed(() => w.decoration?.errorText && w.decoration.errorBorder ? w.decoration.errorBorder : !w.enabled && w.decoration?.disabledBorder ? w.decoration.disabledBorder : N.value && w.decoration?.focusedBorder ? w.decoration.focusedBorder : w.enabled && w.decoration?.enabledBorder ? w.decoration.enabledBorder : w.decoration?.border), J = computed(() => {
1955
+ let U = computed(() => E.maxLines === null || E.maxLines > 1 || E.keyboardType === "multiline"), W = computed(() => {
1956
+ if (!U.value) return E.obscureText ? "password" : E.keyboardType === "number" ? "number" : "text";
1957
+ }), G = computed(() => F.value || E.modelValue !== "" && E.modelValue !== null && E.modelValue !== void 0), K = computed(() => E.decoration?.labelText && !G.value ? "" : E.decoration?.hintText || "");
1958
+ watch(() => E.modelValue, () => nextTick(z)), watch(U, (e) => e && nextTick(z)), watch(() => E.maxLines, () => nextTick(z)), watch(() => E.minLines, () => nextTick(z)), watch(() => E.autoGrow, () => nextTick(z));
1959
+ let q = computed(() => E.decoration?.errorText && E.decoration.errorBorder ? E.decoration.errorBorder : !E.enabled && E.decoration?.disabledBorder ? E.decoration.disabledBorder : F.value && E.decoration?.focusedBorder ? E.decoration.focusedBorder : E.enabled && E.decoration?.enabledBorder ? E.decoration.enabledBorder : E.decoration?.border), J = computed(() => {
1960
1960
  let e = {
1961
1961
  display: "flex",
1962
1962
  alignItems: U.value ? "flex-start" : "center",
1963
1963
  position: "relative",
1964
1964
  transition: "all 0.2s ease"
1965
- }, C = q.value || UnderlineInputBorder();
1966
- if (C.isOutline) {
1967
- let w = C.borderSide || BorderSide({
1965
+ }, T = q.value || UnderlineInputBorder();
1966
+ if (T.isOutline) {
1967
+ let E = T.borderSide || BorderSide({
1968
1968
  width: 1,
1969
1969
  color: "#888"
1970
- }), T = C.borderRadius || BorderRadius.all(4);
1971
- Object.assign(e, borderSideToStyle(w)), Object.assign(e, borderRadiusToStyle(T)), e.padding = "8px 12px";
1970
+ }), D = T.borderRadius || BorderRadius.all(4);
1971
+ Object.assign(e, borderSideToStyle(E)), Object.assign(e, borderRadiusToStyle(D)), e.padding = "8px 12px";
1972
1972
  } else {
1973
- let w = C.borderSide || BorderSide({
1973
+ let E = T.borderSide || BorderSide({
1974
1974
  width: 1,
1975
1975
  color: "#888"
1976
1976
  });
1977
- e.borderBottom = `${w.width}px ${w.style || "solid"} ${w.color}`, e.borderRadius = "0", e.padding = "4px 0";
1977
+ e.borderBottom = `${E.width}px ${E.style || "solid"} ${E.color}`, e.borderRadius = "0", e.padding = "4px 0";
1978
1978
  }
1979
- return w.decoration?.filled && (e.backgroundColor = w.decoration.fillColor || "#f0f0f0"), e;
1979
+ return E.decoration?.filled && (e.backgroundColor = E.decoration.fillColor || "#f0f0f0"), e;
1980
1980
  }), Y = computed(() => {
1981
- let e = { ...toCSSStyle(w.style) };
1982
- return w.cursorColor && (e.caretColor = w.cursorColor), w.textAlign && (e.textAlign = w.textAlign), e;
1981
+ let e = { ...toCSSStyle(E.style) };
1982
+ return E.cursorColor && (e.caretColor = E.cursorColor), E.textAlign && (e.textAlign = E.textAlign), e;
1983
1983
  }), X = computed(() => {
1984
1984
  let e = {
1985
1985
  position: "absolute",
1986
- left: `${(q.value?.isOutline ? 12 : 0) + (F.value || 0)}px`,
1986
+ left: `${(q.value?.isOutline ? 12 : 0) + (L.value || 0)}px`,
1987
1987
  top: q.value?.isOutline ? "50%" : "0",
1988
1988
  transform: "translateY(-50%)",
1989
1989
  pointerEvents: "none",
1990
1990
  transition: "all 0.2s ease",
1991
1991
  color: "#666",
1992
- ...toCSSStyle(w.decoration?.labelStyle)
1992
+ ...toCSSStyle(E.decoration?.labelStyle)
1993
1993
  };
1994
- return G.value && (e.top = "0", e.transform = "translateY(-100%) scale(0.75)", e.transformOrigin = "left bottom", N.value && (e.color = "#2196F3")), e;
1994
+ return G.value && (e.top = "0", e.transform = "translateY(-100%) scale(0.75)", e.transformOrigin = "left bottom", F.value && (e.color = "#2196F3")), e;
1995
1995
  }), Z = (e) => {
1996
- let C = e.target;
1997
- T("update:modelValue", C.value), nextTick(H);
1996
+ let T = e.target;
1997
+ D("update:modelValue", T.value), nextTick(z);
1998
1998
  }, Q = (e) => {
1999
- N.value = !0, T("focus", e);
1999
+ F.value = !0, D("focus", e);
2000
2000
  }, $ = (e) => {
2001
- N.value = !1, T("blur", e);
2001
+ F.value = !1, D("blur", e);
2002
2002
  };
2003
- return (C, w) => (openBlock(), createElementBlock("div", { class: normalizeClass(["fluekit-text-field", {
2004
- "is-focused": N.value,
2003
+ return (T, E) => (openBlock(), createElementBlock("div", { class: normalizeClass(["fluekit-text-field", {
2004
+ "is-focused": F.value,
2005
2005
  "is-disabled": !e.enabled,
2006
2006
  "has-error": !!e.decoration?.errorText
2007
2007
  }]) }, [
@@ -2014,15 +2014,15 @@ var _hoisted_1$1 = {
2014
2014
  class: "fluekit-input-container",
2015
2015
  style: normalizeStyle(J.value)
2016
2016
  }, [
2017
- C.$slots.prefix || e.decoration?.prefixText ? (openBlock(), createElementBlock("div", {
2017
+ T.$slots.prefix || e.decoration?.prefixText ? (openBlock(), createElementBlock("div", {
2018
2018
  key: 0,
2019
2019
  class: "fluekit-input-prefix",
2020
2020
  ref_key: "prefixRef",
2021
- ref: P
2022
- }, [renderSlot(C.$slots, "prefix", {}, () => [createTextVNode(toDisplayString(e.decoration?.prefixText), 1)], !0)], 512)) : createCommentVNode("", !0),
2021
+ ref: I
2022
+ }, [renderSlot(T.$slots, "prefix", {}, () => [createTextVNode(toDisplayString(e.decoration?.prefixText), 1)], !0)], 512)) : createCommentVNode("", !0),
2023
2023
  (openBlock(), createBlock(resolveDynamicComponent(U.value ? "textarea" : "input"), mergeProps({
2024
2024
  ref_key: "inputRef",
2025
- ref: j,
2025
+ ref: N,
2026
2026
  class: "fluekit-input-element",
2027
2027
  value: e.modelValue,
2028
2028
  disabled: !e.enabled,
@@ -2035,7 +2035,7 @@ var _hoisted_1$1 = {
2035
2035
  autocapitalize: e.textCapitalization,
2036
2036
  enterkeyhint: e.textInputAction,
2037
2037
  autocorrect: e.autocorrect ? "on" : "off"
2038
- }, C.$attrs, {
2038
+ }, T.$attrs, {
2039
2039
  onInput: Z,
2040
2040
  onFocus: Q,
2041
2041
  onBlur: $
@@ -2052,7 +2052,7 @@ var _hoisted_1$1 = {
2052
2052
  "enterkeyhint",
2053
2053
  "autocorrect"
2054
2054
  ])),
2055
- C.$slots.suffix || e.decoration?.suffixText ? (openBlock(), createElementBlock("div", _hoisted_1$1, [renderSlot(C.$slots, "suffix", {}, () => [createTextVNode(toDisplayString(e.decoration?.suffixText), 1)], !0)])) : createCommentVNode("", !0)
2055
+ T.$slots.suffix || e.decoration?.suffixText ? (openBlock(), createElementBlock("div", _hoisted_1$1, [renderSlot(T.$slots, "suffix", {}, () => [createTextVNode(toDisplayString(e.decoration?.suffixText), 1)], !0)])) : createCommentVNode("", !0)
2056
2056
  ], 4),
2057
2057
  e.decoration?.errorText || e.decoration?.helperText || e.maxLength && e.maxLength > 0 ? (openBlock(), createElementBlock("div", _hoisted_2, [e.decoration?.errorText || e.decoration?.helperText ? (openBlock(), createElementBlock("div", {
2058
2058
  key: 0,
@@ -2065,23 +2065,23 @@ var _hoisted_1$1 = {
2065
2065
  __name: "TextArea",
2066
2066
  props: { maxLines: { default: 4 } },
2067
2067
  setup(e) {
2068
- return (C, w) => (openBlock(), createBlock(TextField_default, mergeProps(C.$attrs, {
2068
+ return (T, E) => (openBlock(), createBlock(TextField_default, mergeProps(T.$attrs, {
2069
2069
  "max-lines": e.maxLines,
2070
2070
  "keyboard-type": "multiline"
2071
- }), createSlots({ _: 2 }, [C.$slots.prefix ? {
2071
+ }), createSlots({ _: 2 }, [T.$slots.prefix ? {
2072
2072
  name: "prefix",
2073
- fn: withCtx(() => [renderSlot(C.$slots, "prefix")]),
2073
+ fn: withCtx(() => [renderSlot(T.$slots, "prefix")]),
2074
2074
  key: "0"
2075
- } : void 0, C.$slots.suffix ? {
2075
+ } : void 0, T.$slots.suffix ? {
2076
2076
  name: "suffix",
2077
- fn: withCtx(() => [renderSlot(C.$slots, "suffix")]),
2077
+ fn: withCtx(() => [renderSlot(T.$slots, "suffix")]),
2078
2078
  key: "1"
2079
2079
  } : void 0]), 1040, ["max-lines"]));
2080
2080
  }
2081
2081
  }), MATRIX4_SYMBOL = Symbol("Matrix4");
2082
2082
  function Matrix4(e) {
2083
- let C;
2084
- return C = e ? new Float32Array(e) : new Float32Array([
2083
+ let T;
2084
+ return T = e ? new Float32Array(e) : new Float32Array([
2085
2085
  1,
2086
2086
  0,
2087
2087
  0,
@@ -2099,25 +2099,25 @@ function Matrix4(e) {
2099
2099
  0,
2100
2100
  1
2101
2101
  ]), {
2102
- _storage: C,
2102
+ _storage: T,
2103
2103
  [MATRIX4_SYMBOL]: !0,
2104
2104
  clone() {
2105
2105
  return Matrix4(this._storage);
2106
2106
  },
2107
2107
  multiply(e) {
2108
- let C = this._storage, w = e._storage, T = new Float32Array(16);
2109
- for (let e = 0; e < 4; e++) for (let E = 0; E < 4; E++) {
2110
- let D = 0;
2111
- for (let T = 0; T < 4; T++) D += (C[T * 4 + e] ?? 0) * (w[E * 4 + T] ?? 0);
2112
- T[E * 4 + e] = D;
2108
+ let T = this._storage, E = e._storage, D = new Float32Array(16);
2109
+ for (let e = 0; e < 4; e++) for (let O = 0; O < 4; O++) {
2110
+ let k = 0;
2111
+ for (let D = 0; D < 4; D++) k += (T[D * 4 + e] ?? 0) * (E[O * 4 + D] ?? 0);
2112
+ D[O * 4 + e] = k;
2113
2113
  }
2114
- return Matrix4(T);
2114
+ return Matrix4(D);
2115
2115
  },
2116
- translated(e, C, w = 0) {
2117
- return this.multiply(Matrix4.translation(e, C, w));
2116
+ translated(e, T, E = 0) {
2117
+ return this.multiply(Matrix4.translation(e, T, E));
2118
2118
  },
2119
- scaled(e, C, w = 1) {
2120
- return this.multiply(Matrix4.scaling(e, C, w));
2119
+ scaled(e, T, E = 1) {
2120
+ return this.multiply(Matrix4.scaling(e, T, E));
2121
2121
  },
2122
2122
  rotatedX(e) {
2123
2123
  return this.multiply(Matrix4.rotationX(e));
@@ -2134,19 +2134,19 @@ function Matrix4(e) {
2134
2134
  };
2135
2135
  }
2136
2136
  Matrix4.identity = () => Matrix4(), Matrix4.fromList = (e) => Matrix4(e), Matrix4.rotationX = (e) => {
2137
- let C = Math.cos(e), w = Math.sin(e);
2137
+ let T = Math.cos(e), E = Math.sin(e);
2138
2138
  return Matrix4([
2139
2139
  1,
2140
2140
  0,
2141
2141
  0,
2142
2142
  0,
2143
2143
  0,
2144
- C,
2145
- w,
2144
+ T,
2145
+ E,
2146
2146
  0,
2147
2147
  0,
2148
- -w,
2149
- C,
2148
+ -E,
2149
+ T,
2150
2150
  0,
2151
2151
  0,
2152
2152
  0,
@@ -2154,19 +2154,19 @@ Matrix4.identity = () => Matrix4(), Matrix4.fromList = (e) => Matrix4(e), Matrix
2154
2154
  1
2155
2155
  ]);
2156
2156
  }, Matrix4.rotationY = (e) => {
2157
- let C = Math.cos(e), w = Math.sin(e);
2157
+ let T = Math.cos(e), E = Math.sin(e);
2158
2158
  return Matrix4([
2159
- C,
2159
+ T,
2160
2160
  0,
2161
- -w,
2161
+ -E,
2162
2162
  0,
2163
2163
  0,
2164
2164
  1,
2165
2165
  0,
2166
2166
  0,
2167
- w,
2167
+ E,
2168
2168
  0,
2169
- C,
2169
+ T,
2170
2170
  0,
2171
2171
  0,
2172
2172
  0,
@@ -2174,14 +2174,14 @@ Matrix4.identity = () => Matrix4(), Matrix4.fromList = (e) => Matrix4(e), Matrix
2174
2174
  1
2175
2175
  ]);
2176
2176
  }, Matrix4.rotationZ = (e) => {
2177
- let C = Math.cos(e), w = Math.sin(e);
2177
+ let T = Math.cos(e), E = Math.sin(e);
2178
2178
  return Matrix4([
2179
- C,
2180
- w,
2179
+ T,
2180
+ E,
2181
2181
  0,
2182
2182
  0,
2183
- -w,
2184
- C,
2183
+ -E,
2184
+ T,
2185
2185
  0,
2186
2186
  0,
2187
2187
  0,
@@ -2193,7 +2193,7 @@ Matrix4.identity = () => Matrix4(), Matrix4.fromList = (e) => Matrix4(e), Matrix
2193
2193
  0,
2194
2194
  1
2195
2195
  ]);
2196
- }, Matrix4.translation = (e, C, w = 0) => Matrix4([
2196
+ }, Matrix4.translation = (e, T, E = 0) => Matrix4([
2197
2197
  1,
2198
2198
  0,
2199
2199
  0,
@@ -2207,27 +2207,27 @@ Matrix4.identity = () => Matrix4(), Matrix4.fromList = (e) => Matrix4(e), Matrix
2207
2207
  1,
2208
2208
  0,
2209
2209
  e,
2210
- C,
2211
- w,
2210
+ T,
2211
+ E,
2212
2212
  1
2213
- ]), Matrix4.scaling = (e, C, w = 1) => Matrix4([
2213
+ ]), Matrix4.scaling = (e, T, E = 1) => Matrix4([
2214
2214
  e,
2215
2215
  0,
2216
2216
  0,
2217
2217
  0,
2218
2218
  0,
2219
- C,
2219
+ T,
2220
2220
  0,
2221
2221
  0,
2222
2222
  0,
2223
2223
  0,
2224
- w,
2224
+ E,
2225
2225
  0,
2226
2226
  0,
2227
2227
  0,
2228
2228
  0,
2229
2229
  1
2230
- ]), Matrix4.diagonal3 = (e, C, w) => Matrix4.scaling(e, C, w), Matrix4.skewX = (e) => Matrix4([
2230
+ ]), Matrix4.diagonal3 = (e, T, E) => Matrix4.scaling(e, T, E), Matrix4.skewX = (e) => Matrix4([
2231
2231
  1,
2232
2232
  0,
2233
2233
  0,
@@ -2274,18 +2274,18 @@ var Transform_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @_
2274
2274
  origin: {}
2275
2275
  },
2276
2276
  setup(e) {
2277
- let C = e, w = computed(() => {
2277
+ let T = e, E = computed(() => {
2278
2278
  let e = {
2279
- ...matrix4ToCSSStyle(C.transform),
2279
+ ...matrix4ToCSSStyle(T.transform),
2280
2280
  display: "flex",
2281
2281
  flexDirection: "column",
2282
2282
  flexShrink: 0
2283
2283
  };
2284
- return C.origin ? e.transformOrigin = C.origin : C.alignment && (e.transformOrigin = alignmentToOrigin(C.alignment)), e;
2284
+ return T.origin ? e.transformOrigin = T.origin : T.alignment && (e.transformOrigin = alignmentToOrigin(T.alignment)), e;
2285
2285
  });
2286
- return (e, C) => (openBlock(), createElementBlock("div", {
2286
+ return (e, T) => (openBlock(), createElementBlock("div", {
2287
2287
  class: "flutter-transform",
2288
- style: normalizeStyle(w.value)
2288
+ style: normalizeStyle(E.value)
2289
2289
  }, [renderSlot(e.$slots, "default", {}, void 0, !0)], 4));
2290
2290
  }
2291
2291
  }), [["__scopeId", "data-v-f99c0949"]]), Wrap_default = /* @__PURE__ */ defineComponent({
@@ -2302,30 +2302,30 @@ var Transform_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @_
2302
2302
  clipBehavior: { default: "none" }
2303
2303
  },
2304
2304
  setup(e) {
2305
- let C = e, w = {
2305
+ let T = e, E = {
2306
2306
  start: "flex-start",
2307
2307
  end: "flex-end",
2308
2308
  center: "center",
2309
2309
  spaceBetween: "space-between",
2310
2310
  spaceAround: "space-around",
2311
2311
  spaceEvenly: "space-evenly"
2312
- }, T = {
2312
+ }, D = {
2313
2313
  start: "flex-start",
2314
2314
  end: "flex-end",
2315
2315
  center: "center"
2316
- }, D = computed(() => ({
2316
+ }, k = computed(() => ({
2317
2317
  display: "flex",
2318
2318
  flexWrap: "wrap",
2319
- flexDirection: C.direction === "horizontal" ? C.verticalDirection === "down" ? "row" : "row-reverse" : C.verticalDirection === "down" ? "column" : "column-reverse",
2320
- justifyContent: w[C.alignment],
2321
- alignContent: w[C.runAlignment],
2322
- alignItems: T[C.crossAxisAlignment],
2323
- gap: `${px2vw(C.runSpacing)} ${px2vw(C.spacing)}`,
2324
- overflow: C.clipBehavior === "none" ? "visible" : "hidden"
2319
+ flexDirection: T.direction === "horizontal" ? T.verticalDirection === "down" ? "row" : "row-reverse" : T.verticalDirection === "down" ? "column" : "column-reverse",
2320
+ justifyContent: E[T.alignment],
2321
+ alignContent: E[T.runAlignment],
2322
+ alignItems: D[T.crossAxisAlignment],
2323
+ gap: `${px2vw(T.runSpacing)} ${px2vw(T.spacing)}`,
2324
+ overflow: T.clipBehavior === "none" ? "visible" : "hidden"
2325
2325
  }));
2326
- return (e, C) => (openBlock(), createElementBlock("div", {
2326
+ return (e, T) => (openBlock(), createElementBlock("div", {
2327
2327
  class: "flutter-wrap",
2328
- style: normalizeStyle(D.value)
2328
+ style: normalizeStyle(k.value)
2329
2329
  }, [renderSlot(e.$slots, "default")], 4));
2330
2330
  }
2331
2331
  }), Divider_default = /* @__PURE__ */ defineComponent({
@@ -2342,21 +2342,21 @@ var Transform_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @_
2342
2342
  }
2343
2343
  },
2344
2344
  setup(e) {
2345
- let C = e, w = computed(() => C.vertical ? EdgeInsets.only({
2346
- top: C.indent,
2347
- bottom: C.endIndent
2345
+ let T = e, E = computed(() => T.vertical ? EdgeInsets.only({
2346
+ top: T.indent,
2347
+ bottom: T.endIndent
2348
2348
  }) : EdgeInsets.only({
2349
- left: C.indent,
2350
- right: C.endIndent
2349
+ left: T.indent,
2350
+ right: T.endIndent
2351
2351
  }));
2352
- return (C, T) => (openBlock(), createBlock(SizedBox_default, {
2352
+ return (T, D) => (openBlock(), createBlock(SizedBox_default, {
2353
2353
  width: e.vertical ? e.thickness : e.indent + e.endIndent,
2354
2354
  height: e.vertical ? e.indent + e.endIndent : e.thickness
2355
2355
  }, {
2356
2356
  default: withCtx(() => [createVNode(Container_default, {
2357
2357
  width: e.vertical ? e.thickness : void 0,
2358
2358
  height: e.vertical ? void 0 : e.thickness,
2359
- margin: w.value,
2359
+ margin: E.value,
2360
2360
  color: e.color
2361
2361
  }, null, 8, [
2362
2362
  "width",
@@ -2371,7 +2371,7 @@ var Transform_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @_
2371
2371
  __name: "Spacer",
2372
2372
  props: { flex: { default: 1 } },
2373
2373
  setup(e) {
2374
- return (C, w) => (openBlock(), createBlock(Expanded_default, { flex: e.flex }, null, 8, ["flex"]));
2374
+ return (T, E) => (openBlock(), createBlock(Expanded_default, { flex: e.flex }, null, 8, ["flex"]));
2375
2375
  }
2376
2376
  }), ClipRRect_default = /* @__PURE__ */ defineComponent({
2377
2377
  __name: "ClipRRect",
@@ -2380,14 +2380,14 @@ var Transform_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @_
2380
2380
  clipBehavior: { default: "antiAlias" }
2381
2381
  },
2382
2382
  setup(e) {
2383
- let C = e, w = computed(() => {
2384
- if (C.borderRadius) return BoxDecoration({ borderRadius: C.borderRadius });
2383
+ let T = e, E = computed(() => {
2384
+ if (T.borderRadius) return BoxDecoration({ borderRadius: T.borderRadius });
2385
2385
  });
2386
- return (C, T) => (openBlock(), createBlock(Container_default, {
2386
+ return (T, D) => (openBlock(), createBlock(Container_default, {
2387
2387
  "clip-behavior": e.clipBehavior,
2388
- decoration: w.value
2388
+ decoration: E.value
2389
2389
  }, {
2390
- default: withCtx(() => [renderSlot(C.$slots, "default")]),
2390
+ default: withCtx(() => [renderSlot(T.$slots, "default")]),
2391
2391
  _: 3
2392
2392
  }, 8, ["clip-behavior", "decoration"]));
2393
2393
  }
@@ -2395,12 +2395,12 @@ var Transform_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @_
2395
2395
  __name: "ClipOval",
2396
2396
  props: { clipBehavior: { default: "antiAlias" } },
2397
2397
  setup(e) {
2398
- let C = computed(() => BoxDecoration({ shape: BoxShape.circle }));
2399
- return (w, T) => (openBlock(), createBlock(Container_default, {
2398
+ let T = computed(() => BoxDecoration({ shape: BoxShape.circle }));
2399
+ return (E, D) => (openBlock(), createBlock(Container_default, {
2400
2400
  "clip-behavior": e.clipBehavior,
2401
- decoration: C.value
2401
+ decoration: T.value
2402
2402
  }, {
2403
- default: withCtx(() => [renderSlot(w.$slots, "default")]),
2403
+ default: withCtx(() => [renderSlot(E.$slots, "default")]),
2404
2404
  _: 3
2405
2405
  }, 8, ["clip-behavior", "decoration"]));
2406
2406
  }
@@ -2430,22 +2430,22 @@ var Transform_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @_
2430
2430
  }
2431
2431
  },
2432
2432
  emits: ["tap", "long-press"],
2433
- setup(e, { emit: C }) {
2434
- let w = C, T = () => {
2435
- A.enabled && w("tap");
2436
- }, k = () => {
2437
- A.enabled && w("long-press");
2438
- }, A = e, j = computed(() => TextStyle({
2439
- fontSize: A.dense ? 13 : 16,
2440
- color: A.textColor || (A.enabled ? "rgba(0,0,0,0.87)" : "rgba(0,0,0,0.38)"),
2441
- fontWeight: A.selected ? FontWeight.w600 : FontWeight.w400
2442
- })), M = computed(() => TextStyle({
2443
- fontSize: A.dense ? 12 : 14,
2444
- color: A.textColor || (A.enabled ? "rgba(0,0,0,0.6)" : "rgba(0,0,0,0.38)")
2433
+ setup(e, { emit: T }) {
2434
+ let E = T, D = () => {
2435
+ M.enabled && E("tap");
2436
+ }, j = () => {
2437
+ M.enabled && E("long-press");
2438
+ }, M = e, N = computed(() => TextStyle({
2439
+ fontSize: M.dense ? 13 : 16,
2440
+ color: M.textColor || (M.enabled ? "rgba(0,0,0,0.87)" : "rgba(0,0,0,0.38)"),
2441
+ fontWeight: M.selected ? FontWeight.w600 : FontWeight.w400
2442
+ })), P = computed(() => TextStyle({
2443
+ fontSize: M.dense ? 12 : 14,
2444
+ color: M.textColor || (M.enabled ? "rgba(0,0,0,0.6)" : "rgba(0,0,0,0.38)")
2445
2445
  }));
2446
- return (C, w) => (openBlock(), createBlock(GestureDetector_default, {
2447
- onTap: T,
2448
- onLongPress: k
2446
+ return (T, E) => (openBlock(), createBlock(GestureDetector_default, {
2447
+ onTap: D,
2448
+ onLongPress: j
2449
2449
  }, {
2450
2450
  default: withCtx(() => [createVNode(Container_default, {
2451
2451
  color: e.selected ? e.selectedColor : e.tileColor || "transparent",
@@ -2459,26 +2459,26 @@ var Transform_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @_
2459
2459
  gap: 16
2460
2460
  }, {
2461
2461
  default: withCtx(() => [
2462
- renderSlot(C.$slots, "leading", {}, () => [e.leading ? (openBlock(), createBlock(resolveDynamicComponent(e.leading), { key: 0 })) : createCommentVNode("", !0)]),
2462
+ renderSlot(T.$slots, "leading", {}, () => [e.leading ? (openBlock(), createBlock(resolveDynamicComponent(e.leading), { key: 0 })) : createCommentVNode("", !0)]),
2463
2463
  createVNode(Expanded_default, null, {
2464
2464
  default: withCtx(() => [createVNode(Column_default, {
2465
2465
  "cross-axis-alignment": "start",
2466
2466
  gap: 4
2467
2467
  }, {
2468
- default: withCtx(() => [renderSlot(C.$slots, "title", {}, () => [e.title ? (openBlock(), createBlock(Text_default, {
2468
+ default: withCtx(() => [renderSlot(T.$slots, "title", {}, () => [e.title ? (openBlock(), createBlock(Text_default, {
2469
2469
  key: 0,
2470
2470
  data: e.title,
2471
- style: normalizeStyle(j.value)
2472
- }, null, 8, ["data", "style"])) : createCommentVNode("", !0)]), renderSlot(C.$slots, "subtitle", {}, () => [e.subtitle ? (openBlock(), createBlock(Text_default, {
2471
+ style: normalizeStyle(N.value)
2472
+ }, null, 8, ["data", "style"])) : createCommentVNode("", !0)]), renderSlot(T.$slots, "subtitle", {}, () => [e.subtitle ? (openBlock(), createBlock(Text_default, {
2473
2473
  key: 0,
2474
2474
  data: e.subtitle,
2475
- style: normalizeStyle(M.value)
2475
+ style: normalizeStyle(P.value)
2476
2476
  }, null, 8, ["data", "style"])) : createCommentVNode("", !0)])]),
2477
2477
  _: 3
2478
2478
  })]),
2479
2479
  _: 3
2480
2480
  }),
2481
- renderSlot(C.$slots, "trailing", {}, () => [e.trailing ? (openBlock(), createBlock(resolveDynamicComponent(e.trailing), { key: 0 })) : createCommentVNode("", !0)])
2481
+ renderSlot(T.$slots, "trailing", {}, () => [e.trailing ? (openBlock(), createBlock(resolveDynamicComponent(e.trailing), { key: 0 })) : createCommentVNode("", !0)])
2482
2482
  ]),
2483
2483
  _: 3
2484
2484
  })]),
@@ -2497,27 +2497,27 @@ var Transform_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @_
2497
2497
  borderRadius: {}
2498
2498
  },
2499
2499
  emits: ["tap"],
2500
- setup(e, { emit: w }) {
2501
- let T = e, E = w, D = ref([]), O = 0, A = (e) => {
2502
- E("tap");
2503
- let C = e.currentTarget.getBoundingClientRect(), w = Math.max(C.width, C.height), k = e.clientX - C.left - w / 2, A = e.clientY - C.top - w / 2, j = O++, M = {
2504
- width: `${w}px`,
2505
- height: `${w}px`,
2506
- top: `${A}px`,
2507
- left: `${k}px`,
2508
- backgroundColor: T.splashColor
2500
+ setup(e, { emit: E }) {
2501
+ let D = e, O = E, k = ref([]), A = 0, M = (e) => {
2502
+ O("tap");
2503
+ let T = e.currentTarget.getBoundingClientRect(), E = Math.max(T.width, T.height), j = e.clientX - T.left - E / 2, M = e.clientY - T.top - E / 2, N = A++, P = {
2504
+ width: `${E}px`,
2505
+ height: `${E}px`,
2506
+ top: `${M}px`,
2507
+ left: `${j}px`,
2508
+ backgroundColor: D.splashColor
2509
2509
  };
2510
- D.value.push({
2511
- id: j,
2512
- style: M
2510
+ k.value.push({
2511
+ id: N,
2512
+ style: P
2513
2513
  }), setTimeout(() => {
2514
- D.value = D.value.filter((e) => e.id !== j);
2514
+ k.value = k.value.filter((e) => e.id !== N);
2515
2515
  }, 600);
2516
2516
  };
2517
- return (w, T) => (openBlock(), createElementBlock("div", mergeProps({
2517
+ return (E, D) => (openBlock(), createElementBlock("div", mergeProps({
2518
2518
  class: ["ink-well", { disabled: !e.onTap }],
2519
- onClick: A
2520
- }, w.$attrs), [renderSlot(w.$slots, "default", {}, void 0, !0), (openBlock(!0), createElementBlock(Fragment, null, renderList(D.value, (e) => (openBlock(), createElementBlock("span", {
2519
+ onClick: M
2520
+ }, E.$attrs), [renderSlot(E.$slots, "default", {}, void 0, !0), (openBlock(!0), createElementBlock(Fragment, null, renderList(k.value, (e) => (openBlock(), createElementBlock("span", {
2521
2521
  key: e.id,
2522
2522
  class: "ripple",
2523
2523
  style: normalizeStyle(e.style)
@@ -2534,14 +2534,14 @@ var Transform_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @_
2534
2534
  inactiveTrackColor: { default: "#9E9E9E" }
2535
2535
  },
2536
2536
  emits: ["update:value", "change"],
2537
- setup(e, { emit: C }) {
2538
- let w = e, T = C, O = () => {
2539
- w.onChanged && w.onChanged(!w.value), T("update:value", !w.value);
2540
- }, k = computed(() => BoxDecoration({
2541
- color: w.value ? w.activeTrackColor : w.inactiveTrackColor,
2537
+ setup(e, { emit: T }) {
2538
+ let E = e, D = T, A = () => {
2539
+ E.onChanged && E.onChanged(!E.value), D("update:value", !E.value);
2540
+ }, j = computed(() => BoxDecoration({
2541
+ color: E.value ? E.activeTrackColor : E.inactiveTrackColor,
2542
2542
  borderRadius: BorderRadius.circular(10)
2543
- })), A = computed(() => BoxDecoration({
2544
- color: w.value ? w.activeColor : w.inactiveThumbColor,
2543
+ })), M = computed(() => BoxDecoration({
2544
+ color: E.value ? E.activeColor : E.inactiveThumbColor,
2545
2545
  shape: BoxShape.circle,
2546
2546
  boxShadow: [{
2547
2547
  color: "rgba(0,0,0,0.2)",
@@ -2551,20 +2551,20 @@ var Transform_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @_
2551
2551
  y: 1
2552
2552
  }
2553
2553
  }]
2554
- })), j = computed(() => EdgeInsets.only({ left: w.value ? 16 : 0 }));
2555
- return (e, C) => (openBlock(), createBlock(GestureDetector_default, { onTap: O }, {
2554
+ })), N = computed(() => EdgeInsets.only({ left: E.value ? 16 : 0 }));
2555
+ return (e, T) => (openBlock(), createBlock(GestureDetector_default, { onTap: A }, {
2556
2556
  default: withCtx(() => [createVNode(Container_default, {
2557
2557
  width: 36,
2558
2558
  height: 20,
2559
2559
  padding: unref(EdgeInsets).all(2),
2560
- decoration: k.value
2560
+ decoration: j.value
2561
2561
  }, {
2562
2562
  default: withCtx(() => [createVNode(AnimatedContainer_default, {
2563
2563
  duration: 200,
2564
2564
  width: 16,
2565
2565
  height: 16,
2566
- margin: j.value,
2567
- decoration: A.value
2566
+ margin: N.value,
2567
+ decoration: M.value
2568
2568
  }, null, 8, ["margin", "decoration"])]),
2569
2569
  _: 1
2570
2570
  }, 8, ["padding", "decoration"])]),
@@ -2580,24 +2580,24 @@ var Transform_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @_
2580
2580
  checkColor: { default: "#FFFFFF" }
2581
2581
  },
2582
2582
  emits: ["update:value", "change"],
2583
- setup(e, { emit: C }) {
2584
- let w = e, T = C, k = () => {
2585
- let e = !w.value;
2586
- T("change", e), T("update:value", e);
2587
- }, A = computed(() => BoxDecoration({
2588
- color: w.value ? w.activeColor : "transparent",
2589
- border: w.value ? void 0 : Border.all({
2583
+ setup(e, { emit: T }) {
2584
+ let E = e, D = T, j = () => {
2585
+ let e = !E.value;
2586
+ D("change", e), D("update:value", e);
2587
+ }, M = computed(() => BoxDecoration({
2588
+ color: E.value ? E.activeColor : "transparent",
2589
+ border: E.value ? void 0 : Border.all({
2590
2590
  color: "rgba(0,0,0,0.54)",
2591
2591
  width: 2,
2592
2592
  style: "solid"
2593
2593
  }),
2594
2594
  borderRadius: BorderRadius.circular(2)
2595
2595
  }));
2596
- return (C, w) => (openBlock(), createBlock(GestureDetector_default, { onTap: k }, {
2596
+ return (T, E) => (openBlock(), createBlock(GestureDetector_default, { onTap: j }, {
2597
2597
  default: withCtx(() => [createVNode(Container_default, {
2598
2598
  width: 18,
2599
2599
  height: 18,
2600
- decoration: A.value,
2600
+ decoration: M.value,
2601
2601
  alignment: "center"
2602
2602
  }, {
2603
2603
  default: withCtx(() => [e.value ? (openBlock(), createBlock(Container_default, {
@@ -2621,32 +2621,32 @@ var Transform_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @_
2621
2621
  activeColor: {}
2622
2622
  },
2623
2623
  emits: ["update:groupValue", "change"],
2624
- setup(e, { emit: C }) {
2625
- let w = e, T = C, k = computed(() => w.value === w.groupValue), A = () => {
2626
- w.onChanged && w.onChanged(w.value), T("update:groupValue", w.value);
2627
- }, j = computed(() => BoxDecoration({
2624
+ setup(e, { emit: T }) {
2625
+ let E = e, D = T, j = computed(() => E.value === E.groupValue), M = () => {
2626
+ E.onChanged && E.onChanged(E.value), D("update:groupValue", E.value);
2627
+ }, N = computed(() => BoxDecoration({
2628
2628
  shape: BoxShape.circle,
2629
2629
  border: Border.all({
2630
- color: k.value ? w.activeColor : "rgba(0,0,0,0.54)",
2630
+ color: j.value ? E.activeColor : "rgba(0,0,0,0.54)",
2631
2631
  width: 2,
2632
2632
  style: "solid"
2633
2633
  })
2634
- })), M = computed(() => BoxDecoration({
2634
+ })), P = computed(() => BoxDecoration({
2635
2635
  shape: BoxShape.circle,
2636
- color: w.activeColor
2636
+ color: E.activeColor
2637
2637
  }));
2638
- return (e, C) => (openBlock(), createBlock(GestureDetector_default, { onTap: A }, {
2638
+ return (e, T) => (openBlock(), createBlock(GestureDetector_default, { onTap: M }, {
2639
2639
  default: withCtx(() => [createVNode(Container_default, {
2640
2640
  width: 20,
2641
2641
  height: 20,
2642
- decoration: j.value,
2642
+ decoration: N.value,
2643
2643
  alignment: "center"
2644
2644
  }, {
2645
- default: withCtx(() => [k.value ? (openBlock(), createBlock(Container_default, {
2645
+ default: withCtx(() => [j.value ? (openBlock(), createBlock(Container_default, {
2646
2646
  key: 0,
2647
2647
  width: 10,
2648
2648
  height: 10,
2649
- decoration: M.value
2649
+ decoration: P.value
2650
2650
  }, null, 8, ["decoration"])) : createCommentVNode("", !0)]),
2651
2651
  _: 1
2652
2652
  }, 8, ["decoration"])]),
@@ -2665,20 +2665,20 @@ var Transform_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @_
2665
2665
  thumbColor: { default: "#2196F3" }
2666
2666
  },
2667
2667
  emits: ["update:value", "change"],
2668
- setup(e, { emit: C }) {
2669
- let w = e, T = C, D = ref(), O = computed(() => {
2670
- let e = w.max - w.min;
2671
- return e <= 0 ? 0 : (w.value - w.min) / e * 100;
2672
- }), A = computed(() => `${O.value}%`), j = (e) => {
2673
- if (!D.value) return;
2674
- let C = D.value.getBoundingClientRect(), E = 0;
2675
- e.clientX === void 0 ? e.globalPosition ? E = e.globalPosition.x : e.detail?.globalPosition ? E = e.detail.globalPosition.x : e.touches && e.touches[0] && (E = e.touches[0].clientX) : E = e.clientX;
2676
- let O = (E - C.left) / C.width;
2677
- O = Math.max(0, Math.min(1, O));
2678
- let k = w.min + O * (w.max - w.min);
2679
- w.onChanged && w.onChanged(k), T("change", k), T("update:value", k);
2680
- }, M = computed(() => BoxDecoration({
2681
- color: w.thumbColor,
2668
+ setup(e, { emit: T }) {
2669
+ let E = e, D = T, k = ref(), A = computed(() => {
2670
+ let e = E.max - E.min;
2671
+ return e <= 0 ? 0 : (E.value - E.min) / e * 100;
2672
+ }), M = computed(() => `${A.value}%`), N = (e) => {
2673
+ if (!k.value) return;
2674
+ let T = k.value.getBoundingClientRect(), O = 0;
2675
+ e.clientX === void 0 ? e.globalPosition ? O = e.globalPosition.x : e.detail?.globalPosition ? O = e.detail.globalPosition.x : e.touches && e.touches[0] && (O = e.touches[0].clientX) : O = e.clientX;
2676
+ let A = (O - T.left) / T.width;
2677
+ A = Math.max(0, Math.min(1, A));
2678
+ let j = E.min + A * (E.max - E.min);
2679
+ E.onChanged && E.onChanged(j), D("change", j), D("update:value", j);
2680
+ }, P = computed(() => BoxDecoration({
2681
+ color: E.thumbColor,
2682
2682
  shape: BoxShape.circle,
2683
2683
  boxShadow: [BoxShadow({
2684
2684
  color: "rgba(0,0,0,0.2)",
@@ -2689,14 +2689,14 @@ var Transform_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @_
2689
2689
  }
2690
2690
  })]
2691
2691
  }));
2692
- return (C, w) => (openBlock(), createElementBlock("div", {
2692
+ return (T, E) => (openBlock(), createElementBlock("div", {
2693
2693
  class: "slider-container",
2694
2694
  ref_key: "trackRef",
2695
- ref: D
2695
+ ref: k
2696
2696
  }, [createVNode(GestureDetector_default, {
2697
- onPanStart: j,
2698
- onPanUpdate: j,
2699
- onTapDown: j
2697
+ onPanStart: N,
2698
+ onPanUpdate: N,
2699
+ onTapDown: N
2700
2700
  }, {
2701
2701
  default: withCtx(() => [createVNode(Container_default, {
2702
2702
  height: 40,
@@ -2711,7 +2711,7 @@ var Transform_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @_
2711
2711
  "border-radius": unref(BorderRadius).circular(2)
2712
2712
  }, null, 8, ["color", "border-radius"]),
2713
2713
  createVNode(Container_default, {
2714
- width: `${O.value}%`,
2714
+ width: `${A.value}%`,
2715
2715
  height: 4,
2716
2716
  color: e.activeColor,
2717
2717
  "border-radius": unref(BorderRadius).circular(2)
@@ -2721,13 +2721,13 @@ var Transform_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @_
2721
2721
  "border-radius"
2722
2722
  ]),
2723
2723
  createVNode(Container_default, {
2724
- style: normalizeStyle({ marginLeft: A.value }),
2724
+ style: normalizeStyle({ marginLeft: M.value }),
2725
2725
  transform: "translate(-50%, 0)"
2726
2726
  }, {
2727
2727
  default: withCtx(() => [createVNode(Container_default, {
2728
2728
  width: 20,
2729
2729
  height: 20,
2730
- decoration: M.value
2730
+ decoration: P.value
2731
2731
  }, null, 8, ["decoration"])]),
2732
2732
  _: 1
2733
2733
  }, 8, ["style"])
@@ -2739,7 +2739,7 @@ var Transform_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @_
2739
2739
  _: 1
2740
2740
  })], 512));
2741
2741
  }
2742
- }), [["__scopeId", "data-v-bccfa37a"]]), AlertDialog_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
2742
+ }), [["__scopeId", "data-v-bccfa37a"]]), AlertDialog_default = /* @__PURE__ */ defineComponent({
2743
2743
  __name: "AlertDialog",
2744
2744
  props: {
2745
2745
  visible: {
@@ -2751,13 +2751,53 @@ var Transform_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @_
2751
2751
  barrierDismissible: {
2752
2752
  type: Boolean,
2753
2753
  default: !0
2754
- }
2754
+ },
2755
+ alignment: { default: Alignment.center },
2756
+ barrierColor: { default: "rgba(0, 0, 0, 0.54)" },
2757
+ constraints: {},
2758
+ decoration: {},
2759
+ size: {},
2760
+ actionsAlignment: { default: MainAxisAlignment.end },
2761
+ titleAlignment: {},
2762
+ padding: {},
2763
+ titleStyle: {},
2764
+ titleColor: {},
2765
+ titleFontSize: {}
2755
2766
  },
2756
- emits: ["update:visible", "close"],
2757
- setup(e, { emit: C }) {
2758
- let w = C, T = () => {
2759
- w("update:visible", !1), w("close");
2760
- }, A = computed(() => BoxDecoration({
2767
+ emits: [
2768
+ "update:visible",
2769
+ "close",
2770
+ "ok"
2771
+ ],
2772
+ setup(e, { emit: T }) {
2773
+ let E = e, D = T, j = () => {
2774
+ D("update:visible", !1), D("close");
2775
+ }, M = () => D("ok"), N = (e) => {
2776
+ E.barrierDismissible && j();
2777
+ }, I = computed(() => Object.assign({}, {
2778
+ padding: E.padding || EdgeInsets.all(24),
2779
+ alignment: E.alignment,
2780
+ constraints: E.constraints || BoxConstraints({ maxWidth: 400 }),
2781
+ decoration: E.decoration || BoxDecoration({
2782
+ color: "white",
2783
+ borderRadius: BorderRadius.circular(4),
2784
+ boxShadow: [{
2785
+ color: "rgba(0,0,0,0.2)",
2786
+ blurRadius: 24,
2787
+ offset: {
2788
+ x: 0,
2789
+ y: 11
2790
+ }
2791
+ }]
2792
+ })
2793
+ }, E.size ? Size(E.size) : {})), R = computed(() => E.titleStyle || TextStyle({
2794
+ fontSize: E.titleFontSize || 20,
2795
+ fontWeight: FontWeight.bold,
2796
+ color: E.titleColor || "rgba(0,0,0,0.87)"
2797
+ })), z = TextStyle({
2798
+ fontSize: 16,
2799
+ color: "rgba(0,0,0,0.6)"
2800
+ }), B = computed(() => BoxDecoration({
2761
2801
  color: "white",
2762
2802
  borderRadius: BorderRadius.circular(4),
2763
2803
  boxShadow: [{
@@ -2769,69 +2809,75 @@ var Transform_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @_
2769
2809
  }
2770
2810
  }]
2771
2811
  }));
2772
- return (C, w) => e.visible ? (openBlock(), createElementBlock("div", {
2812
+ return computed(() => Object.assign({}, {
2813
+ constraints: E.constraints || BoxConstraints({ maxWidth: 400 }),
2814
+ decoration: B.value
2815
+ }, E.size ? Size(E.size) : {})), (T, E) => e.visible ? (openBlock(), createBlock(Fixed_default, {
2773
2816
  key: 0,
2774
- class: "dialog-overlay",
2775
- onClick: w[0] ||= withModifiers((C) => e.barrierDismissible ? T() : null, ["self"])
2776
- }, [createVNode(Container_default, {
2777
- margin: unref(EdgeInsets).all(40),
2778
- padding: unref(EdgeInsets).all(24),
2779
- decoration: A.value,
2780
- constraints: unref(BoxConstraints)({ maxWidth: 400 })
2817
+ "z-index": 9999,
2818
+ top: 0,
2819
+ left: 0,
2820
+ right: 0,
2821
+ bottom: 0
2781
2822
  }, {
2782
- default: withCtx(() => [createVNode(Column_default, {
2783
- "main-axis-size": "min",
2784
- "cross-axis-alignment": "start"
2785
- }, {
2786
- default: withCtx(() => [
2787
- createVNode(Container_default, { margin: unref(EdgeInsets).only({ bottom: 16 }) }, {
2788
- default: withCtx(() => [e.title ? (openBlock(), createBlock(Text_default, {
2789
- key: 0,
2790
- style: normalizeStyle({
2791
- fontSize: 20,
2792
- fontWeight: unref(FontWeight).bold
2793
- })
2794
- }, {
2795
- default: withCtx(() => [createTextVNode(toDisplayString(e.title), 1)]),
2796
- _: 1
2797
- }, 8, ["style"])) : createCommentVNode("", !0)]),
2798
- _: 1
2799
- }, 8, ["margin"]),
2800
- createVNode(Container_default, {
2801
- margin: unref(EdgeInsets).only({ bottom: 24 }),
2802
- class: "dialog-content"
2803
- }, {
2804
- default: withCtx(() => [e.content ? (openBlock(), createBlock(Text_default, {
2805
- key: 0,
2806
- style: {
2807
- fontSize: 16,
2808
- color: "rgba(0,0,0,0.6)"
2809
- }
2810
- }, {
2811
- default: withCtx(() => [createTextVNode(toDisplayString(e.content), 1)]),
2812
- _: 1
2813
- })) : createCommentVNode("", !0), renderSlot(C.$slots, "default", {}, void 0, !0)]),
2814
- _: 3
2815
- }, 8, ["margin"]),
2816
- createVNode(Row_default, {
2817
- "main-axis-alignment": "end",
2818
- gap: 8
2819
- }, {
2820
- default: withCtx(() => [renderSlot(C.$slots, "actions", {}, void 0, !0)]),
2823
+ default: withCtx(() => [createVNode(GestureDetector_default, { onTap: N }, {
2824
+ default: withCtx(() => [createVNode(Container_default, {
2825
+ width: "100%",
2826
+ height: "100%",
2827
+ alignment: "center",
2828
+ color: e.barrierColor
2829
+ }, {
2830
+ default: withCtx(() => [createVNode(Container_default, normalizeProps(guardReactiveProps(I.value)), {
2831
+ default: withCtx(() => [
2832
+ e.title ? (openBlock(), createBlock(Container_default, {
2833
+ key: 0,
2834
+ alignment: e.titleAlignment,
2835
+ width: "100%"
2836
+ }, {
2837
+ default: withCtx(() => [createVNode(Text_default, {
2838
+ style: normalizeStyle(R.value),
2839
+ data: e.title
2840
+ }, null, 8, ["style", "data"])]),
2841
+ _: 1
2842
+ }, 8, ["alignment"])) : createCommentVNode("", !0),
2843
+ renderSlot(T.$slots, "default", {}, () => [createVNode(Container_default, {
2844
+ padding: unref(EdgeInsets).symmetric({ vertical: 16 }),
2845
+ alignment: "topLeft",
2846
+ width: "100%"
2847
+ }, {
2848
+ default: withCtx(() => [e.content ? (openBlock(), createBlock(Text_default, {
2849
+ key: 0,
2850
+ style: normalizeStyle(unref(z)),
2851
+ data: e.content
2852
+ }, null, 8, ["style", "data"])) : createCommentVNode("", !0)]),
2853
+ _: 1
2854
+ }, 8, ["padding"])]),
2855
+ createVNode(Row_default, {
2856
+ "main-axis-size": "max",
2857
+ "main-axis-alignment": e.actionsAlignment,
2858
+ "cross-axis-alignment": "center",
2859
+ gap: 8
2860
+ }, {
2861
+ default: withCtx(() => [renderSlot(T.$slots, "actions", {}, () => [createVNode(Button_default, { onPressed: j }, {
2862
+ default: withCtx(() => [...E[0] ||= [createTextVNode("Cancel", -1)]]),
2863
+ _: 1
2864
+ }), createVNode(Button_default, { onPressed: M }, {
2865
+ default: withCtx(() => [...E[1] ||= [createTextVNode("OK", -1)]]),
2866
+ _: 1
2867
+ })])]),
2868
+ _: 3
2869
+ }, 8, ["main-axis-alignment"])
2870
+ ]),
2821
2871
  _: 3
2822
- })
2823
- ]),
2872
+ }, 16)]),
2873
+ _: 3
2874
+ }, 8, ["color"])]),
2824
2875
  _: 3
2825
2876
  })]),
2826
2877
  _: 3
2827
- }, 8, [
2828
- "margin",
2829
- "padding",
2830
- "decoration",
2831
- "constraints"
2832
- ])])) : createCommentVNode("", !0);
2878
+ })) : createCommentVNode("", !0);
2833
2879
  }
2834
- }), [["__scopeId", "data-v-2eee844d"]]), BottomSheet_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
2880
+ }), BottomSheet_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
2835
2881
  __name: "BottomSheet",
2836
2882
  props: {
2837
2883
  visible: {
@@ -2848,35 +2894,35 @@ var Transform_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @_
2848
2894
  padding: {}
2849
2895
  },
2850
2896
  emits: ["update:visible", "close"],
2851
- setup(e, { emit: C }) {
2852
- let w = e, T = C, D = () => {
2853
- T("update:visible", !1), T("close");
2854
- }, A = computed(() => BoxDecoration({
2855
- color: w.backgroundColor,
2856
- borderRadius: w.shape || BorderRadius.only({
2897
+ setup(e, { emit: T }) {
2898
+ let E = e, D = T, k = () => {
2899
+ D("update:visible", !1), D("close");
2900
+ }, M = computed(() => BoxDecoration({
2901
+ color: E.backgroundColor,
2902
+ borderRadius: E.shape || BorderRadius.only({
2857
2903
  topLeft: 16,
2858
2904
  topRight: 16
2859
2905
  }),
2860
- boxShadow: w.elevation > 0 ? [{
2906
+ boxShadow: E.elevation > 0 ? [{
2861
2907
  color: "rgba(0,0,0,0.2)",
2862
- blurRadius: w.elevation * 2,
2908
+ blurRadius: E.elevation * 2,
2863
2909
  offset: {
2864
2910
  x: 0,
2865
2911
  y: -2
2866
2912
  }
2867
2913
  }] : void 0
2868
2914
  }));
2869
- return (C, w) => e.visible ? (openBlock(), createElementBlock("div", {
2915
+ return (T, E) => e.visible ? (openBlock(), createElementBlock("div", {
2870
2916
  key: 0,
2871
2917
  class: "bottom-sheet-overlay",
2872
- onClick: w[0] ||= withModifiers((C) => e.barrierDismissible ? D() : null, ["self"])
2918
+ onClick: E[0] ||= withModifiers((T) => e.barrierDismissible ? k() : null, ["self"])
2873
2919
  }, [createVNode(Container_default, {
2874
2920
  class: "bottom-sheet-content",
2875
- decoration: A.value,
2921
+ decoration: M.value,
2876
2922
  width: "100%",
2877
2923
  padding: e.padding
2878
2924
  }, {
2879
- default: withCtx(() => [renderSlot(C.$slots, "default", {}, void 0, !0)]),
2925
+ default: withCtx(() => [renderSlot(T.$slots, "default", {}, void 0, !0)]),
2880
2926
  _: 3
2881
2927
  }, 8, ["decoration", "padding"])])) : createCommentVNode("", !0);
2882
2928
  }
@@ -2900,73 +2946,73 @@ var Transform_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @_
2900
2946
  borderRadius: { default: () => BorderRadius.circular(4) }
2901
2947
  },
2902
2948
  emits: ["update:modelValue", "change"],
2903
- setup(e, { emit: w }) {
2904
- let T = e, O = w, A = (e) => {
2905
- e.disabled || e.value !== T.modelValue && (O("update:modelValue", e.value), O("change", e.value));
2906
- }, j = computed(() => T.decoration ? T.decoration : BoxDecoration({
2949
+ setup(e, { emit: E }) {
2950
+ let D = e, A = E, M = (e) => {
2951
+ e.disabled || e.value !== D.modelValue && (A("update:modelValue", e.value), A("change", e.value));
2952
+ }, N = computed(() => D.decoration ? D.decoration : BoxDecoration({
2907
2953
  border: Border.all({
2908
- color: T.borderColor,
2954
+ color: D.borderColor,
2909
2955
  width: 1
2910
2956
  }),
2911
- borderRadius: T.borderRadius
2912
- })), P = (e, C) => {
2913
- let w = e.value === T.modelValue, E = C === T.items.length - 1, D = C === 0, O = BorderRadius.zero;
2914
- D ? O = BorderRadius.only({
2915
- topLeft: T.borderRadius.topLeft,
2916
- bottomLeft: T.borderRadius.bottomLeft
2917
- }) : E && (O = BorderRadius.only({
2918
- topRight: T.borderRadius.topRight,
2919
- bottomRight: T.borderRadius.bottomRight
2957
+ borderRadius: D.borderRadius
2958
+ })), I = (e, T) => {
2959
+ let E = e.value === D.modelValue, O = T === D.items.length - 1, k = T === 0, A = BorderRadius.zero;
2960
+ k ? A = BorderRadius.only({
2961
+ topLeft: D.borderRadius.topLeft,
2962
+ bottomLeft: D.borderRadius.bottomLeft
2963
+ }) : O && (A = BorderRadius.only({
2964
+ topRight: D.borderRadius.topRight,
2965
+ bottomRight: D.borderRadius.bottomRight
2920
2966
  }));
2921
- let k = w ? T.selectedColor : T.unselectedColor;
2922
- return e.disabled && (k = T.disabledColor), BoxDecoration({
2923
- color: k,
2924
- borderRadius: O,
2967
+ let j = E ? D.selectedColor : D.unselectedColor;
2968
+ return e.disabled && (j = D.disabledColor), BoxDecoration({
2969
+ color: j,
2970
+ borderRadius: A,
2925
2971
  border: Border.only({ right: BorderSide({
2926
- color: E ? "transparent" : T.borderColor,
2972
+ color: O ? "transparent" : D.borderColor,
2927
2973
  width: 1
2928
2974
  }) })
2929
2975
  });
2930
- }, F = (e) => {
2931
- let C = e.value === T.modelValue, w = e.disabled, E = TextStyle({
2932
- color: C ? "#FFFFFF" : T.borderColor,
2976
+ }, L = (e) => {
2977
+ let T = e.value === D.modelValue, E = e.disabled, O = TextStyle({
2978
+ color: T ? "#FFFFFF" : D.borderColor,
2933
2979
  fontSize: 13
2934
2980
  });
2935
- return w ? T.disabledTextStyle ? {
2936
- ...E,
2937
- ...T.disabledTextStyle,
2981
+ return E ? D.disabledTextStyle ? {
2982
+ ...O,
2983
+ ...D.disabledTextStyle,
2938
2984
  color: "#999999"
2939
2985
  } : {
2940
- ...E,
2986
+ ...O,
2941
2987
  color: "#999999"
2942
- } : C && T.selectedTextStyle ? {
2943
- ...E,
2944
- ...T.selectedTextStyle
2945
- } : !C && T.unselectedTextStyle ? {
2946
- ...E,
2947
- ...T.unselectedTextStyle
2948
- } : E;
2988
+ } : T && D.selectedTextStyle ? {
2989
+ ...O,
2990
+ ...D.selectedTextStyle
2991
+ } : !T && D.unselectedTextStyle ? {
2992
+ ...O,
2993
+ ...D.unselectedTextStyle
2994
+ } : O;
2949
2995
  };
2950
- return (w, T) => (openBlock(), createBlock(Container_default, {
2951
- decoration: j.value,
2996
+ return (E, D) => (openBlock(), createBlock(Container_default, {
2997
+ decoration: N.value,
2952
2998
  "clip-behavior": "hardEdge"
2953
2999
  }, {
2954
3000
  default: withCtx(() => [createVNode(Row_default, null, {
2955
- default: withCtx(() => [(openBlock(!0), createElementBlock(Fragment, null, renderList(e.items, (C, T) => (openBlock(), createBlock(GestureDetector_default, {
2956
- key: T,
2957
- onTap: (e) => A(C)
3001
+ default: withCtx(() => [(openBlock(!0), createElementBlock(Fragment, null, renderList(e.items, (T, D) => (openBlock(), createBlock(GestureDetector_default, {
3002
+ key: D,
3003
+ onTap: (e) => M(T)
2958
3004
  }, {
2959
3005
  default: withCtx(() => [createVNode(Container_default, {
2960
3006
  padding: e.padding,
2961
- decoration: P(C, T),
3007
+ decoration: I(T, D),
2962
3008
  alignment: "center"
2963
3009
  }, {
2964
- default: withCtx(() => [renderSlot(w.$slots, "label", {
2965
- item: C,
2966
- selected: C.value === e.modelValue,
2967
- index: T
2968
- }, () => [createVNode(Text_default, { style: normalizeStyle(F(C)) }, {
2969
- default: withCtx(() => [createTextVNode(toDisplayString(C.label), 1)]),
3010
+ default: withCtx(() => [renderSlot(E.$slots, "label", {
3011
+ item: T,
3012
+ selected: T.value === e.modelValue,
3013
+ index: D
3014
+ }, () => [createVNode(Text_default, { style: normalizeStyle(L(T)) }, {
3015
+ default: withCtx(() => [createTextVNode(toDisplayString(T.label), 1)]),
2970
3016
  _: 2
2971
3017
  }, 1032, ["style"])])]),
2972
3018
  _: 2
@@ -2991,45 +3037,45 @@ var Transform_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @_
2991
3037
  __name: "LayoutBuilder",
2992
3038
  props: { direction: {} },
2993
3039
  setup(e) {
2994
- let C = e, w = ref(null), T = shallowRef(null), D = null, A = computed(() => {
2995
- let e = { display: "block" }, w = C.direction ?? "both";
2996
- return w === "both" ? (e.width = "100%", e.height = "100%") : w === "horizontal" ? e.width = "100%" : w === "vertical" && (e.height = "100%"), e;
3040
+ let T = e, E = ref(null), D = shallowRef(null), k = null, M = computed(() => {
3041
+ let e = { display: "block" }, E = T.direction ?? "both";
3042
+ return E === "both" ? (e.width = "100%", e.height = "100%") : E === "horizontal" ? e.width = "100%" : E === "vertical" && (e.height = "100%"), e;
2997
3043
  });
2998
3044
  return onMounted(() => {
2999
- w.value && (D = new ResizeObserver((e) => {
3000
- for (let w of e) {
3001
- let e = w.contentRect.width, E = w.contentRect.height, D = C.direction ?? "both";
3002
- D === "both" ? T.value = BoxConstraints.tight({
3045
+ E.value && (k = new ResizeObserver((e) => {
3046
+ for (let E of e) {
3047
+ let e = E.contentRect.width, O = E.contentRect.height, k = T.direction ?? "both";
3048
+ k === "both" ? D.value = BoxConstraints.tight({
3003
3049
  width: e,
3004
- height: E
3005
- }) : D === "horizontal" ? T.value = BoxConstraints({
3050
+ height: O
3051
+ }) : k === "horizontal" ? D.value = BoxConstraints({
3006
3052
  minWidth: e,
3007
3053
  maxWidth: e,
3008
3054
  minHeight: 0,
3009
3055
  maxHeight: Infinity
3010
- }) : D === "vertical" ? T.value = BoxConstraints({
3056
+ }) : k === "vertical" ? D.value = BoxConstraints({
3011
3057
  minWidth: 0,
3012
3058
  maxWidth: Infinity,
3013
- minHeight: E,
3014
- maxHeight: E
3015
- }) : T.value = BoxConstraints({
3059
+ minHeight: O,
3060
+ maxHeight: O
3061
+ }) : D.value = BoxConstraints({
3016
3062
  minWidth: 0,
3017
3063
  maxWidth: Infinity,
3018
3064
  minHeight: 0,
3019
3065
  maxHeight: Infinity
3020
3066
  });
3021
3067
  }
3022
- }), D.observe(w.value));
3068
+ }), k.observe(E.value));
3023
3069
  }), onUnmounted(() => {
3024
- D?.disconnect();
3025
- }), (e, C) => (openBlock(), createElementBlock("div", {
3070
+ k?.disconnect();
3071
+ }), (e, T) => (openBlock(), createElementBlock("div", {
3026
3072
  ref_key: "el",
3027
- ref: w,
3073
+ ref: E,
3028
3074
  class: "fluekit-layout-builder",
3029
- style: normalizeStyle(A.value)
3030
- }, [T.value ? renderSlot(e.$slots, "default", {
3075
+ style: normalizeStyle(M.value)
3076
+ }, [D.value ? renderSlot(e.$slots, "default", {
3031
3077
  key: 0,
3032
- constraints: T.value
3078
+ constraints: D.value
3033
3079
  }) : createCommentVNode("", !0)], 4));
3034
3080
  }
3035
3081
  });
@@ -3051,19 +3097,19 @@ var globalState = reactive({
3051
3097
  viewInsets: EdgeInsets.zero
3052
3098
  }), listenersAttached = !1, updateGlobalState = () => {
3053
3099
  if (typeof window > "u") return;
3054
- let e = window.innerWidth, C = window.innerHeight;
3100
+ let e = window.innerWidth, T = window.innerHeight;
3055
3101
  globalState.size = {
3056
3102
  width: e,
3057
- height: C
3058
- }, globalState.devicePixelRatio = window.devicePixelRatio || 1, globalState.orientation = e > C ? Orientation.landscape : Orientation.portrait, globalState.platformBrightness = window.matchMedia?.("(prefers-color-scheme: dark)").matches ? "dark" : "light", globalState.disableAnimations = !!window.matchMedia?.("(prefers-reduced-motion: reduce)").matches, globalState.highContrast = !!window.matchMedia?.("(prefers-contrast: more)").matches;
3103
+ height: T
3104
+ }, globalState.devicePixelRatio = window.devicePixelRatio || 1, globalState.orientation = e > T ? Orientation.landscape : Orientation.portrait, globalState.platformBrightness = window.matchMedia?.("(prefers-color-scheme: dark)").matches ? "dark" : "light", globalState.disableAnimations = !!window.matchMedia?.("(prefers-reduced-motion: reduce)").matches, globalState.highContrast = !!window.matchMedia?.("(prefers-contrast: more)").matches;
3059
3105
  }, attachListeners = () => {
3060
3106
  typeof window > "u" || listenersAttached || (window.addEventListener("resize", updateGlobalState), [
3061
3107
  "(prefers-color-scheme: dark)",
3062
3108
  "(prefers-reduced-motion: reduce)",
3063
3109
  "(prefers-contrast: more)"
3064
3110
  ].forEach((e) => {
3065
- let C = window.matchMedia?.(e);
3066
- C?.addEventListener ? C.addEventListener("change", updateGlobalState) : C?.addListener && C.addListener(updateGlobalState);
3111
+ let T = window.matchMedia?.(e);
3112
+ T?.addEventListener ? T.addEventListener("change", updateGlobalState) : T?.addListener && T.addListener(updateGlobalState);
3067
3113
  }), updateGlobalState(), listenersAttached = !0);
3068
3114
  };
3069
3115
  function useMediaQuery() {
@@ -3073,7 +3119,7 @@ var MediaQuery_default = /* @__PURE__ */ defineComponent({
3073
3119
  __name: "MediaQuery",
3074
3120
  props: { data: {} },
3075
3121
  setup(e) {
3076
- return provide(MediaQueryKey, e.data), (e, C) => renderSlot(e.$slots, "default");
3122
+ return provide(MediaQueryKey, e.data), (e, T) => renderSlot(e.$slots, "default");
3077
3123
  }
3078
3124
  }), _hoisted_1 = { class: "snackbar-overlay" }, SnackBarComponent_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
3079
3125
  __name: "SnackBarComponent",
@@ -3083,16 +3129,16 @@ var MediaQuery_default = /* @__PURE__ */ defineComponent({
3083
3129
  duration: { default: 4e3 }
3084
3130
  },
3085
3131
  emits: ["action", "close"],
3086
- setup(e, { emit: C }) {
3087
- let w = e, T = C, A = () => {
3088
- T("action"), T("close");
3132
+ setup(e, { emit: T }) {
3133
+ let E = e, D = T, M = () => {
3134
+ D("action"), D("close");
3089
3135
  };
3090
3136
  onMounted(() => {
3091
3137
  setTimeout(() => {
3092
- T("close");
3093
- }, w.duration);
3138
+ D("close");
3139
+ }, E.duration);
3094
3140
  });
3095
- let j = computed(() => BoxDecoration({
3141
+ let N = computed(() => BoxDecoration({
3096
3142
  color: "#323232",
3097
3143
  borderRadius: BorderRadius.circular(4),
3098
3144
  boxShadow: [{
@@ -3104,13 +3150,13 @@ var MediaQuery_default = /* @__PURE__ */ defineComponent({
3104
3150
  }
3105
3151
  }]
3106
3152
  }));
3107
- return (C, w) => (openBlock(), createElementBlock("div", _hoisted_1, [createVNode(Container_default, {
3153
+ return (T, E) => (openBlock(), createElementBlock("div", _hoisted_1, [createVNode(Container_default, {
3108
3154
  margin: unref(EdgeInsets).all(8),
3109
3155
  padding: unref(EdgeInsets).symmetric({
3110
3156
  horizontal: 16,
3111
3157
  vertical: 14
3112
3158
  }),
3113
- decoration: j.value,
3159
+ decoration: N.value,
3114
3160
  width: "100%",
3115
3161
  constraints: unref(BoxConstraints)({ maxWidth: 600 })
3116
3162
  }, {
@@ -3126,7 +3172,7 @@ var MediaQuery_default = /* @__PURE__ */ defineComponent({
3126
3172
  _: 1
3127
3173
  }), e.actionLabel ? (openBlock(), createBlock(GestureDetector_default, {
3128
3174
  key: 0,
3129
- onTap: A
3175
+ onTap: M
3130
3176
  }, {
3131
3177
  default: withCtx(() => [createVNode(Container_default, { margin: unref(EdgeInsets).only({ left: 16 }) }, {
3132
3178
  default: withCtx(() => [createVNode(Text_default, { style: normalizeStyle({
@@ -3153,18 +3199,18 @@ var MediaQuery_default = /* @__PURE__ */ defineComponent({
3153
3199
  }
3154
3200
  }), [["__scopeId", "data-v-d8abf3ed"]]), SnackBar = class {
3155
3201
  static show(e) {
3156
- let C = document.getElementById("fluekit-snackbar");
3157
- C && (render(null, C), document.body.removeChild(C));
3158
- let w = document.createElement("div");
3159
- w.id = "fluekit-snackbar", document.body.appendChild(w), render(createVNode(SnackBarComponent_default, {
3202
+ let T = document.getElementById("fluekit-snackbar");
3203
+ T && (render(null, T), document.body.removeChild(T));
3204
+ let E = document.createElement("div");
3205
+ E.id = "fluekit-snackbar", document.body.appendChild(E), render(createVNode(SnackBarComponent_default, {
3160
3206
  content: e.content,
3161
3207
  actionLabel: e.actionLabel,
3162
3208
  onAction: e.onAction,
3163
3209
  duration: e.duration,
3164
3210
  onClose: () => {
3165
- w.parentNode && (render(null, w), document.body.removeChild(w));
3211
+ E.parentNode && (render(null, E), document.body.removeChild(E));
3166
3212
  }
3167
- }), w);
3213
+ }), E);
3168
3214
  }
3169
3215
  };
3170
3216
  setTransform(!1);