fluekit 1.4.1 → 1.5.0

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, defineComponent, h, inject, mergeProps, nextTick, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, onUnmounted, openBlock, provide, ref, renderList, renderSlot, resolveDynamicComponent, toDisplayString, unref, useAttrs, useSlots, warn, watch, withCtx } from "vue";
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, ref, render, renderList, renderSlot, resolveDynamicComponent, 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("%") || EXCLUDED_VALUES.includes(e);
41
- function px2vw(e, S = DEFAULT_VW) {
41
+ function px2vw(e, C = 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 S = e;
49
- if (isNumberPx(e) && (e = e.slice(0, -2)), !isPureNumber(e)) return S;
48
+ let C = e;
49
+ if (isNumberPx(e) && (e = e.slice(0, -2)), !isPureNumber(e)) return C;
50
50
  }
51
- return e = Number(e), S /= 100, `${Math.round(e / S * 1e5) / 1e5}vw`;
51
+ return e = Number(e), C /= 100, `${Math.round(e / C * 1e5) / 1e5}vw`;
52
52
  }
53
53
  }
54
54
  const Alignment = {
@@ -62,10 +62,11 @@ const Alignment = {
62
62
  bottomCenter: "bottomCenter",
63
63
  bottomRight: "bottomRight"
64
64
  };
65
- function alignmentToFlex(e, S = "row") {
66
- let C = e, w = "flex-start", T = "flex-start";
67
- C.toLowerCase().includes("left") || C.toLowerCase().includes("right");
68
- let E = {
65
+ function alignmentToFlex(e, C = "row") {
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 = {
69
70
  topLeft: {
70
71
  x: "flex-start",
71
72
  y: "flex-start"
@@ -102,13 +103,13 @@ function alignmentToFlex(e, S = "row") {
102
103
  x: "flex-end",
103
104
  y: "flex-end"
104
105
  }
105
- }[C] || {
106
+ }[w] || {
106
107
  x: "flex-start",
107
108
  y: "flex-start"
108
109
  };
109
- return S === "row" ? (w = E.x, T = E.y) : (w = E.y, T = E.x), {
110
- justifyContent: w,
111
- alignItems: T
110
+ return C === "row" ? (T = D.x, E = D.y) : (T = D.y, E = D.x), {
111
+ justifyContent: T,
112
+ alignItems: E
112
113
  };
113
114
  }
114
115
  const alignmentToStyle = alignmentToFlex;
@@ -180,29 +181,29 @@ var Align_default = /* @__PURE__ */ defineComponent({
180
181
  heightFactor: {}
181
182
  },
182
183
  setup(e) {
183
- let S = e, C = computed(() => {
184
+ let C = e, w = computed(() => {
184
185
  let e = {
185
186
  display: "flex",
186
187
  position: "relative"
187
188
  };
188
- return Object.assign(e, alignmentToStyle(S.alignment)), S.widthFactor ? e.width = `calc(100% * ${S.widthFactor})` : e.width = "100%", S.heightFactor ? e.height = `calc(100% * ${S.heightFactor})` : e.height = "100%", e;
189
- }), w = computed(() => ({ flexShrink: 0 }));
190
- return (e, S) => (openBlock(), createElementBlock("div", {
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", {
191
192
  class: "flutter-align",
192
- style: normalizeStyle(C.value)
193
+ style: normalizeStyle(w.value)
193
194
  }, [createElementVNode("div", {
194
195
  class: "flutter-align-child",
195
- style: normalizeStyle(w.value)
196
+ style: normalizeStyle(T.value)
196
197
  }, [renderSlot(e.$slots, "default")], 4)], 4));
197
198
  }
198
199
  }), BOX_CONSTRAINTS_SYMBOL = Symbol("boxConstraints"), toVal = (e) => e === Infinity ? void 0 : e;
199
200
  function BoxConstraints(e = {}) {
200
- let S = Math.max(0, e.minWidth ?? 0), C = Math.max(0, e.minHeight ?? 0), w = Math.max(S, e.maxWidth ?? Infinity), T = Math.max(C, e.maxHeight ?? Infinity);
201
+ let C = Math.max(0, e.minWidth ?? 0), w = Math.max(0, e.minHeight ?? 0), T = Math.max(C, e.maxWidth ?? Infinity), E = Math.max(w, e.maxHeight ?? Infinity);
201
202
  return {
202
- minWidth: toVal(S),
203
- maxWidth: toVal(w),
204
- minHeight: toVal(C),
205
- maxHeight: toVal(T),
203
+ minWidth: toVal(C),
204
+ maxWidth: toVal(T),
205
+ minHeight: toVal(w),
206
+ maxHeight: toVal(E),
206
207
  [BOX_CONSTRAINTS_SYMBOL]: !0
207
208
  };
208
209
  }
@@ -216,22 +217,22 @@ BoxConstraints.tight = (e) => BoxConstraints({
216
217
  maxWidth: e.width,
217
218
  minHeight: 0,
218
219
  maxHeight: e.height
219
- }), BoxConstraints.expand = ({ width: e, height: S } = {}) => BoxConstraints({
220
+ }), BoxConstraints.expand = ({ width: e, height: C } = {}) => BoxConstraints({
220
221
  minWidth: e ?? Infinity,
221
222
  maxWidth: e ?? Infinity,
222
- minHeight: S ?? Infinity,
223
- maxHeight: S ?? Infinity
223
+ minHeight: C ?? Infinity,
224
+ maxHeight: C ?? Infinity
224
225
  });
225
226
  function isBoxConstraints(e) {
226
227
  return isPlainObject(e) ? BOX_CONSTRAINTS_SYMBOL in e : !1;
227
228
  }
228
229
  function boxConstraintsToStyle(e) {
229
- let S = e ?? {};
230
+ let C = e ?? {};
230
231
  return {
231
- minWidth: px2vw(S.minWidth),
232
- maxWidth: px2vw(S.maxWidth),
233
- minHeight: px2vw(S.minHeight),
234
- maxHeight: px2vw(S.maxHeight)
232
+ minWidth: px2vw(C.minWidth),
233
+ maxWidth: px2vw(C.maxWidth),
234
+ minHeight: px2vw(C.minHeight),
235
+ maxHeight: px2vw(C.maxHeight)
235
236
  };
236
237
  }
237
238
  var BORDER_SIDE_SYMBOL = Symbol("borderSide"), BORDERS_SYMBOL = Symbol("borders");
@@ -243,21 +244,25 @@ function BorderSide(e) {
243
244
  [BORDER_SIDE_SYMBOL]: !0
244
245
  };
245
246
  }
246
- const Border = BorderSide;
247
- Border.all = ({ color: e, width: S, style: C } = {}) => {
248
- let w = Border({
247
+ const Border = Object.assign((e) => ({
248
+ width: e.width ? e.width : 1,
249
+ color: e.color || "#000",
250
+ style: e.style || "solid",
251
+ [BORDER_SIDE_SYMBOL]: !0
252
+ }), { all: ({ color: e, width: C, style: w } = {}) => {
253
+ let T = BorderSide({
249
254
  color: e,
250
- width: S,
251
- style: C
255
+ width: C,
256
+ style: w
252
257
  });
253
258
  return {
254
- top: w,
255
- bottom: w,
256
- left: w,
257
- right: w,
259
+ top: T,
260
+ bottom: T,
261
+ left: T,
262
+ right: T,
258
263
  [BORDERS_SYMBOL]: !0
259
264
  };
260
- };
265
+ } });
261
266
  function isBorderSide(e) {
262
267
  return isPlainObject(e) ? BORDER_SIDE_SYMBOL in e : !1;
263
268
  }
@@ -266,13 +271,13 @@ function isBorders(e) {
266
271
  }
267
272
  function borderSideToString(e) {
268
273
  if (!e) return;
269
- let S = [], { width: C, color: w, style: T } = e;
270
- return C && S.push(C > 1 ? px2vw(C) : C + "px"), w && S.push(w), T && S.push(T), `${S.join(" ")}`;
274
+ let C = [], { width: w, color: T, style: E } = e;
275
+ return w && C.push(w > 1 ? px2vw(w) : w + "px"), T && C.push(T), E && C.push(E), `${C.join(" ")}`;
271
276
  }
272
277
  function borderSideToStyle(e) {
273
278
  if (!e) return {};
274
- let S = borderSideToString(e);
275
- return S ? { border: S } : {};
279
+ let C = borderSideToString(e);
280
+ return C ? { border: C } : {};
276
281
  }
277
282
  function borderToStyle(e) {
278
283
  if (e) return {
@@ -284,12 +289,12 @@ function borderToStyle(e) {
284
289
  }
285
290
  var BORDER_RADIUS_SYMBOL = Symbol("borderRadius");
286
291
  function BorderRadius(e) {
287
- let { topLeft: S, topRight: C, bottomLeft: w, bottomRight: T } = e;
292
+ let { topLeft: C, topRight: w, bottomLeft: T, bottomRight: E } = e;
288
293
  return {
289
- topLeft: S || 0,
290
- topRight: C || 0,
291
- bottomLeft: w || 0,
292
- bottomRight: T || 0,
294
+ topLeft: C || 0,
295
+ topRight: w || 0,
296
+ bottomLeft: T || 0,
297
+ bottomRight: E || 0,
293
298
  [BORDER_RADIUS_SYMBOL]: !0
294
299
  };
295
300
  }
@@ -299,19 +304,19 @@ BorderRadius.all = (e) => ({
299
304
  bottomLeft: e,
300
305
  bottomRight: e,
301
306
  [BORDER_RADIUS_SYMBOL]: !0
302
- }), BorderRadius.circular = (e) => BorderRadius.all(e), BorderRadius.only = ({ topLeft: e, topRight: S, bottomLeft: C, bottomRight: w }) => BorderRadius({
307
+ }), BorderRadius.circular = (e) => BorderRadius.all(e), BorderRadius.only = ({ topLeft: e, topRight: C, bottomLeft: w, bottomRight: T }) => BorderRadius({
303
308
  topLeft: e,
304
- topRight: S,
305
- bottomLeft: C,
306
- bottomRight: w
309
+ topRight: C,
310
+ bottomLeft: w,
311
+ bottomRight: T
307
312
  }), BorderRadius.zero = BorderRadius({});
308
313
  function isBorderRadius(e) {
309
314
  return typeof e == "object" && !!e && BORDER_RADIUS_SYMBOL in e;
310
315
  }
311
316
  function borderRadiusToStyle(e) {
312
317
  if (!e) return {};
313
- let { topLeft: S, topRight: C, bottomLeft: w, bottomRight: T } = e, E = {};
314
- return w && (E.borderBottomLeftRadius = px2vw(w)), T && (E.borderBottomRightRadius = px2vw(T)), S && (E.borderTopLeftRadius = px2vw(S)), C && (E.borderTopRightRadius = px2vw(C)), E;
318
+ let { topLeft: C, topRight: w, bottomLeft: T, bottomRight: E } = e, D = {};
319
+ return T && (D.borderBottomLeftRadius = px2vw(T)), E && (D.borderBottomRightRadius = px2vw(E)), C && (D.borderTopLeftRadius = px2vw(C)), w && (D.borderTopRightRadius = px2vw(w)), D;
315
320
  }
316
321
  let BlurStyle = /* @__PURE__ */ function(e) {
317
322
  return e.normal = "normal", e.solid = "solid", e.outer = "outer", e.inner = "inner", e;
@@ -352,20 +357,20 @@ function alignmentToCSSSide(e) {
352
357
  default: return "to bottom";
353
358
  }
354
359
  }
355
- function calculateLinearDirection(e, S) {
356
- return e === Alignment.topCenter && S === Alignment.bottomCenter ? "to bottom" : e === Alignment.bottomCenter && S === Alignment.topCenter ? "to top" : e === Alignment.centerLeft && S === Alignment.centerRight ? "to right" : e === Alignment.centerRight && S === Alignment.centerLeft ? "to left" : e === Alignment.topLeft && S === Alignment.bottomRight ? "to bottom right" : e === Alignment.bottomRight && S === Alignment.topLeft ? "to top left" : e === Alignment.topRight && S === Alignment.bottomLeft ? "to bottom left" : e === Alignment.bottomLeft && S === Alignment.topRight ? "to top right" : alignmentToCSSSide(e);
360
+ function calculateLinearDirection(e, C) {
361
+ 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);
357
362
  }
358
363
  function LinearGradient(e) {
359
- let { colors: S, stops: C, begin: w = Alignment.centerLeft, end: T = Alignment.centerRight } = e;
360
- if (!S || S.length === 0) return "none";
361
- let E = calculateLinearDirection(w, T), D = "";
362
- return D = C && C.length === S.length ? S.map((e, S) => `${e} ${C[S] * 100}%`).join(", ") : S.join(", "), `linear-gradient(${E}, ${D})`;
364
+ let { colors: C, stops: w, begin: T = Alignment.centerLeft, end: E = Alignment.centerRight } = e;
365
+ if (!C || C.length === 0) return "none";
366
+ let D = calculateLinearDirection(T, E), O = "";
367
+ return O = w && w.length === C.length ? C.map((e, C) => `${e} ${w[C] * 100}%`).join(", ") : C.join(", "), `linear-gradient(${D}, ${O})`;
363
368
  }
364
369
  function RadialGradient(e) {
365
- let { colors: S, stops: C, center: w = Alignment.center } = e;
366
- if (!S || S.length === 0) return "none";
367
- let T = alignmentToCssPosition(w), E = "";
368
- return E = C && C.length === S.length ? S.map((e, S) => `${e} ${C[S] * 100}%`).join(", ") : S.join(", "), `radial-gradient(circle at ${T}, ${E})`;
370
+ let { colors: C, stops: w, center: T = Alignment.center } = e;
371
+ if (!C || C.length === 0) return "none";
372
+ let E = alignmentToCssPosition(T), D = "";
373
+ return D = w && w.length === C.length ? C.map((e, C) => `${e} ${w[C] * 100}%`).join(", ") : C.join(", "), `radial-gradient(circle at ${E}, ${D})`;
369
374
  }
370
375
  const BoxFit = {
371
376
  fitWidth: "fitWidth",
@@ -402,8 +407,8 @@ function setBaseUrl(e) {
402
407
  function normalizeSrc(e) {
403
408
  if (!e) return "";
404
409
  if (/^(https?:|file:|blob:|data:|\/\/)/i.test(e) || /^(linear|radial|conic|repeating-linear|repeating-radial)-gradient\(/.test(e) || !_baseUrl || _baseUrl === "/") return e;
405
- let S = _baseUrl.endsWith("/") ? _baseUrl.slice(0, -1) : _baseUrl;
406
- return e.startsWith(S) ? e : `${S}/${e.startsWith("/") ? e.slice(1) : e}`;
410
+ let C = _baseUrl.endsWith("/") ? _baseUrl.slice(0, -1) : _baseUrl;
411
+ return e.startsWith(C) ? e : `${C}/${e.startsWith("/") ? e.slice(1) : e}`;
407
412
  }
408
413
  function DecorationImage(e) {
409
414
  return e;
@@ -411,23 +416,23 @@ function DecorationImage(e) {
411
416
  var BOX_DECORATION_SYMBOL = Symbol("boxDecoration"), isGradient = (e) => /^(linear|radial|conic|repeating-linear|repeating-radial)-gradient\(/.test(e);
412
417
  function decorationImageToStyle(e) {
413
418
  if (!e) return {};
414
- let S = {}, C = normalizeSrc(typeof e.image == "string" ? e.image : e.image.src);
415
- if (S.backgroundImage = isGradient(C) ? C : `url(${C})`, e.fit && (S.backgroundSize = ImageFitMap[e.fit] || e.fit), S.backgroundAttachment = e.attachment, S.backgroundBlendMode = e.blendMode, S.backgroundClip = e.clip, S.backgroundOrigin = e.origin, S.backgroundRepeat = e.repeat ?? "no-repeat", e.alignment) {
416
- let C = alignmentToCssPosition(e.alignment);
417
- if (C && C !== "center") S.backgroundPosition = C;
418
- else if (e.alignment !== Alignment.center) if (Object.keys(Alignment).includes(e.alignment)) S.backgroundPosition = alignmentToCssPosition(e.alignment);
419
+ let C = {}, w = normalizeSrc(typeof e.image == "string" ? e.image : e.image.src);
420
+ 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) {
421
+ let w = alignmentToCssPosition(e.alignment);
422
+ if (w && w !== "center") C.backgroundPosition = w;
423
+ else if (e.alignment !== Alignment.center) if (Object.keys(Alignment).includes(e.alignment)) C.backgroundPosition = alignmentToCssPosition(e.alignment);
419
424
  else {
420
- let [C, w] = (e.alignment || "").split(" ");
421
- C && !cssPoisitions[C] && (C = px2vw(C)), w && !cssPoisitions[w] && (w = px2vw(w)), C && !w && (w = "center"), S.backgroundPosition = `${C} ${w}`;
425
+ let [w, T] = (e.alignment || "").split(" ");
426
+ w && !cssPoisitions[w] && (w = px2vw(w)), T && !cssPoisitions[T] && (T = px2vw(T)), w && !T && (T = "center"), C.backgroundPosition = `${w} ${T}`;
422
427
  }
423
- else S.backgroundPosition = "center";
428
+ else C.backgroundPosition = "center";
424
429
  }
425
- return S;
430
+ return C;
426
431
  }
427
432
  function boxDecorationToStyle(e) {
428
433
  if (!e) return {};
429
- let { color: S, border: C, borderRadius: w, boxShadow: T, gradient: E, image: D, overflow: O, opacity: k, shape: A } = e, j = {};
430
- return S && (j.backgroundColor = S), k !== void 0 && (j.opacity = k), O && (j.overflow = O), E && (j.backgroundImage = E), D && Object.assign(j, decorationImageToStyle(D)), C && Object.assign(j, borderToStyle(C)), A === BoxShape.circle ? j.borderRadius = "50%" : w && Object.assign(j, borderRadiusToStyle(w)), T && (j.boxShadow = (Array.isArray(T) ? T : [T]).map(boxShadowToCSS).join(", ")), j;
434
+ let { color: C, border: w, borderRadius: T, boxShadow: E, gradient: D, image: O, overflow: k, opacity: A, shape: j } = e, M = {};
435
+ 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;
431
436
  }
432
437
  function BoxDecoration(e) {
433
438
  return {
@@ -446,12 +451,12 @@ const Clip = {
446
451
  };
447
452
  var EDGE_INSETS_SYMBOL = Symbol("edgeInsets");
448
453
  function EdgeInsets(e) {
449
- let { top: S, right: C, bottom: w, left: T, horizontal: E, vertical: D } = e;
454
+ let { top: C, right: w, bottom: T, left: E, horizontal: D, vertical: O } = e;
450
455
  return {
451
- top: S ?? D ?? 0,
452
- right: C ?? E ?? 0,
453
- bottom: w ?? D ?? 0,
454
- left: T ?? E ?? 0,
456
+ top: C ?? O ?? 0,
457
+ right: w ?? D ?? 0,
458
+ bottom: T ?? O ?? 0,
459
+ left: E ?? D ?? 0,
455
460
  [EDGE_INSETS_SYMBOL]: !0
456
461
  };
457
462
  }
@@ -461,26 +466,26 @@ EdgeInsets.all = (e) => ({
461
466
  bottom: e,
462
467
  left: e,
463
468
  [EDGE_INSETS_SYMBOL]: !0
464
- }), EdgeInsets.symmetric = ({ vertical: e, horizontal: S }) => EdgeInsets({
469
+ }), EdgeInsets.symmetric = ({ vertical: e, horizontal: C }) => EdgeInsets({
465
470
  vertical: e,
466
- horizontal: S
467
- }), EdgeInsets.only = ({ top: e, right: S, bottom: C, left: w }) => EdgeInsets({
471
+ horizontal: C
472
+ }), EdgeInsets.only = ({ top: e, right: C, bottom: w, left: T }) => EdgeInsets({
468
473
  top: e,
469
- right: S,
470
- bottom: C,
471
- left: w
474
+ right: C,
475
+ bottom: w,
476
+ left: T
472
477
  }), EdgeInsets.zero = EdgeInsets({});
473
478
  function isEdgeInsets(e) {
474
479
  return typeof e == "object" && !!e && EDGE_INSETS_SYMBOL in e;
475
480
  }
476
- function edgeInsetsToStyle(e, S) {
477
- if (!S) return {};
478
- let C = EdgeInsets(S);
481
+ function edgeInsetsToStyle(e, C) {
482
+ if (!C) return {};
483
+ let w = EdgeInsets(C);
479
484
  return {
480
- [`${e}Top`]: px2vw(C.top),
481
- [`${e}Right`]: px2vw(C.right),
482
- [`${e}Bottom`]: px2vw(C.bottom),
483
- [`${e}Left`]: px2vw(C.left)
485
+ [`${e}Top`]: px2vw(w.top),
486
+ [`${e}Right`]: px2vw(w.right),
487
+ [`${e}Bottom`]: px2vw(w.bottom),
488
+ [`${e}Left`]: px2vw(w.left)
484
489
  };
485
490
  }
486
491
  const paddingToStyle = (e) => edgeInsetsToStyle("padding", e), marginToStyle = (e) => edgeInsetsToStyle("margin", e), CrossAxisAlignment = {
@@ -515,10 +520,10 @@ const paddingToStyle = (e) => edgeInsetsToStyle("padding", e), marginToStyle = (
515
520
  passthrough: "passthrough"
516
521
  };
517
522
  function Size(e) {
518
- let { width: S, height: C } = e;
523
+ let { width: C, height: w } = e;
519
524
  return {
520
- width: S,
521
- height: C
525
+ width: C,
526
+ height: w
522
527
  };
523
528
  }
524
529
  Size.square = (e) => Size({
@@ -539,10 +544,10 @@ Size.square = (e) => Size({
539
544
  });
540
545
  function sizeToStyle(e) {
541
546
  if (!e) return;
542
- let { width: S, height: C } = e;
547
+ let { width: C, height: w } = e;
543
548
  return {
544
- width: px2vw(S),
545
- height: px2vw(C)
549
+ width: px2vw(C),
550
+ height: px2vw(w)
546
551
  };
547
552
  }
548
553
  var GESTURE_HANDLED = Symbol("gesture_handled");
@@ -556,107 +561,107 @@ const events = [
556
561
  "pan-end"
557
562
  ];
558
563
  function useGestures({ emit: e }) {
559
- let S = ref(0), C = ref(null), w = ref(!1), T = ref({
564
+ let C = ref(0), w = ref(null), T = ref(!1), E = ref({
560
565
  x: 0,
561
566
  y: 0
562
- }), E = ref({
567
+ }), D = ref({
563
568
  x: 0,
564
569
  y: 0
565
- }), D = {
570
+ }), O = {
566
571
  onTap: () => e("tap"),
567
- onClick: (S) => e("click", S),
572
+ onClick: (C) => e("click", C),
568
573
  onDoubleTap: () => e("double-tap"),
569
574
  onLongPress: () => e("long-press"),
570
- onPanStart: (S) => e("pan-start", S),
571
- onPanUpdate: (S) => e("pan-update", S),
575
+ onPanStart: (C) => e("pan-start", C),
576
+ onPanUpdate: (C) => e("pan-update", C),
572
577
  onPanEnd: () => e("pan-end")
573
- }, O = (e) => {
578
+ }, k = (e) => {
574
579
  if (e[GESTURE_HANDLED]) return;
575
580
  e[GESTURE_HANDLED] = !0;
576
- let C = Date.now();
577
- C - S.value < 300 ? (D.onDoubleTap?.(), S.value = 0) : (D.onTap?.(), D.onClick?.(e), S.value = C);
578
- }, k = (e) => {
579
- e[GESTURE_HANDLED] || (e[GESTURE_HANDLED] = !0, I(), R(e.clientX, e.clientY), window.addEventListener("mousemove", A), window.addEventListener("mouseup", j));
581
+ let w = Date.now();
582
+ w - C.value < 300 ? (O.onDoubleTap?.(), C.value = 0) : (O.onTap?.(), O.onClick?.(e), C.value = w);
580
583
  }, A = (e) => {
581
- (Math.abs(e.clientX - T.value.x) > 5 || Math.abs(e.clientY - T.value.y) > 5) && L(), z(e.clientX, e.clientY);
582
- }, j = () => {
583
- L(), B(), window.removeEventListener("mousemove", A), window.removeEventListener("mouseup", j);
584
- }, M = (e) => {
585
- if (e[GESTURE_HANDLED] || (e[GESTURE_HANDLED] = !0, e.touches.length > 1)) return;
586
- let S = e.touches[0];
587
- I(), R(S.clientX, S.clientY);
584
+ e[GESTURE_HANDLED] || (e[GESTURE_HANDLED] = !0, L(), z(e.clientX, e.clientY), window.addEventListener("mousemove", j), window.addEventListener("mouseup", M));
585
+ }, j = (e) => {
586
+ (Math.abs(e.clientX - E.value.x) > 5 || Math.abs(e.clientY - E.value.y) > 5) && R(), B(e.clientX, e.clientY);
587
+ }, M = () => {
588
+ R(), V(), window.removeEventListener("mousemove", j), window.removeEventListener("mouseup", M);
588
589
  }, N = (e) => {
590
+ if (e[GESTURE_HANDLED] || (e[GESTURE_HANDLED] = !0, e.touches.length > 1)) return;
591
+ let C = e.touches[0];
592
+ L(), z(C.clientX, C.clientY);
593
+ }, P = (e) => {
589
594
  if (e[GESTURE_HANDLED]) return;
590
595
  e[GESTURE_HANDLED] = !0;
591
- let S = e.touches[0];
592
- (Math.abs(S.clientX - T.value.x) > 5 || Math.abs(S.clientY - T.value.y) > 5) && L(), z(S.clientX, S.clientY);
593
- }, P = (e) => {
594
- e[GESTURE_HANDLED] || (e[GESTURE_HANDLED] = !0, L(), B());
596
+ let C = e.touches[0];
597
+ (Math.abs(C.clientX - E.value.x) > 5 || Math.abs(C.clientY - E.value.y) > 5) && R(), B(C.clientX, C.clientY);
595
598
  }, F = (e) => {
596
- e[GESTURE_HANDLED] || (e[GESTURE_HANDLED] = !0, L(), B());
597
- }, I = () => {
598
- L(), C.value = window.setTimeout(() => {
599
- D.onLongPress?.();
600
- }, 500);
599
+ e[GESTURE_HANDLED] || (e[GESTURE_HANDLED] = !0, R(), V());
600
+ }, I = (e) => {
601
+ e[GESTURE_HANDLED] || (e[GESTURE_HANDLED] = !0, R(), V());
601
602
  }, L = () => {
602
- C.value &&= (clearTimeout(C.value), null);
603
- }, R = (e, S) => {
604
- T.value = {
603
+ R(), w.value = window.setTimeout(() => {
604
+ O.onLongPress?.();
605
+ }, 500);
606
+ }, R = () => {
607
+ w.value &&= (clearTimeout(w.value), null);
608
+ }, z = (e, C) => {
609
+ E.value = {
605
610
  x: e,
606
- y: S
607
- }, E.value = {
611
+ y: C
612
+ }, D.value = {
608
613
  x: e,
609
- y: S
610
- }, w.value = !0, D.onPanStart?.({ globalPosition: {
614
+ y: C
615
+ }, T.value = !0, O.onPanStart?.({ globalPosition: {
611
616
  x: e,
612
- y: S
617
+ y: C
613
618
  } });
614
- }, z = (e, S) => {
615
- if (!w.value) return;
616
- let C = e - E.value.x, T = S - E.value.y;
617
- C === 0 && T === 0 || (D.onPanUpdate?.({
619
+ }, B = (e, C) => {
620
+ if (!T.value) return;
621
+ let w = e - D.value.x, E = C - D.value.y;
622
+ w === 0 && E === 0 || (O.onPanUpdate?.({
618
623
  delta: {
619
- x: C,
620
- y: T
624
+ x: w,
625
+ y: E
621
626
  },
622
627
  globalPosition: {
623
628
  x: e,
624
- y: S
629
+ y: C
625
630
  }
626
- }), E.value = {
631
+ }), D.value = {
627
632
  x: e,
628
- y: S
633
+ y: C
629
634
  });
630
- }, B = () => {
631
- w.value && (w.value = !1, D.onPanEnd?.());
635
+ }, V = () => {
636
+ T.value && (T.value = !1, O.onPanEnd?.());
632
637
  };
633
638
  return {
634
- onClick: O,
635
- onMousedown: k,
636
- onMouseup: j,
637
- onMousemove: A,
638
- onTouchstart: M,
639
- onTouchmove: N,
640
- onTouchend: P,
641
- onTouchcancel: F
639
+ onClick: k,
640
+ onMousedown: A,
641
+ onMouseup: M,
642
+ onMousemove: j,
643
+ onTouchstart: N,
644
+ onTouchmove: P,
645
+ onTouchend: F,
646
+ onTouchcancel: I
642
647
  };
643
648
  }
644
649
  var S_EVENTS = Symbol("events"), S_BEHAVIOR = Symbol("behavior");
645
650
  function useGestureStyle() {
646
- let e = inject(S_BEHAVIOR, "deferToChild"), S = {};
647
- return (e === "opaque" || e === "translucent") && (S.cursor = "pointer", S.userSelect = "none"), S;
651
+ let e = inject(S_BEHAVIOR, "deferToChild"), C = {};
652
+ return (e === "opaque" || e === "translucent") && (C.cursor = "pointer", C.userSelect = "none"), C;
648
653
  }
649
654
  function useGestureEvents() {
650
655
  return inject(S_EVENTS, void 0);
651
656
  }
652
- function provideGesture(e, S) {
653
- provide(S_EVENTS, e), provide(S_BEHAVIOR, S);
657
+ function provideGesture(e, C) {
658
+ provide(S_EVENTS, e), provide(S_BEHAVIOR, C);
654
659
  }
655
660
  function useSafeAttrs() {
656
661
  let e = useAttrs();
657
662
  return computed(() => {
658
- let { class: S, style: C, ...w } = e ?? {};
659
- return w;
663
+ let { class: C, style: w, ...T } = e ?? {};
664
+ return T;
660
665
  });
661
666
  }
662
667
  var StyleInjectionKey = Symbol("fluekit-style-provider"), Injector = defineComponent({
@@ -666,8 +671,8 @@ var StyleInjectionKey = Symbol("fluekit-style-provider"), Injector = defineCompo
666
671
  type: Object,
667
672
  default: () => ({})
668
673
  } },
669
- setup(e, { slots: S }) {
670
- return provide(StyleInjectionKey, computed(() => e.style)), () => S.default?.() || null;
674
+ setup(e, { slots: C }) {
675
+ return provide(StyleInjectionKey, computed(() => e.style)), () => C.default?.() || null;
671
676
  }
672
677
  });
673
678
  function useStyles() {
@@ -685,21 +690,21 @@ const StyleProvider = defineComponent({
685
690
  default: () => ({})
686
691
  }
687
692
  },
688
- setup(e, { slots: S }) {
693
+ setup(e, { slots: C }) {
689
694
  return () => {
690
- let C = S.default?.() ?? [];
691
- return C.length <= 0 ? null : cloneAndMergeStyles(C, e.style, e.attrs);
695
+ let w = C.default?.() ?? [];
696
+ return w.length <= 0 ? null : cloneAndMergeStyles(w, e.style, e.attrs);
692
697
  };
693
698
  }
694
699
  });
695
- function cloneAndMergeStyles(T, E, D) {
696
- return T.map((T) => T && (T.type === Fragment ? Array.isArray(T.children) ? h(Fragment, cloneAndMergeStyles(T.children, E, D)) : T : T.type === Comment || T.type === Text ? T : isHtmlTag(T) ? cloneVNode(T, { style: {
697
- ...T.props?.style || {},
698
- ...E
700
+ function cloneAndMergeStyles(E, D, O) {
701
+ 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: {
702
+ ...E.props?.style || {},
703
+ ...D
699
704
  } }) : h(Injector, {
700
- ...D,
701
- style: E
702
- }, { default: () => T })));
705
+ ...O,
706
+ style: D
707
+ }, { default: () => E })));
703
708
  }
704
709
  var AnimatedContainer_default = /* @__PURE__ */ defineComponent({
705
710
  inheritAttrs: !1,
@@ -721,21 +726,21 @@ var AnimatedContainer_default = /* @__PURE__ */ defineComponent({
721
726
  curve: { default: "linear" }
722
727
  },
723
728
  setup(e) {
724
- let S = useStyles(), C = useSafeAttrs(), w = useGestureEvents(), E = computed(() => S.value.pointerEvents == "none" ? C.value : {
725
- ...C.value,
726
- ...w || {}
727
- }), k = useGestureStyle(), A = e, j = computed(() => `all ${A.duration}ms ${A.curve}`), M = computed(() => {
729
+ let C = useStyles(), w = useSafeAttrs(), T = useGestureEvents(), D = computed(() => C.value.pointerEvents == "none" ? w.value : {
730
+ ...w.value,
731
+ ...T || {}
732
+ }), A = useGestureStyle(), j = e, M = computed(() => `all ${j.duration}ms ${j.curve}`), N = computed(() => {
728
733
  let e = {
729
- ...sizeToStyle(A),
730
- ...paddingToStyle(A.padding),
731
- ...marginToStyle(A.margin),
732
- ...boxDecorationToStyle(A.decoration),
733
- ...alignmentToStyle(A.alignment, "column"),
734
- ...boxConstraintsToStyle(A.constraints),
735
- ...k,
736
- transition: j.value
734
+ ...sizeToStyle(j),
735
+ ...paddingToStyle(j.padding),
736
+ ...marginToStyle(j.margin),
737
+ ...boxDecorationToStyle(j.decoration),
738
+ ...alignmentToStyle(j.alignment, "column"),
739
+ ...boxConstraintsToStyle(j.constraints),
740
+ ...A,
741
+ transition: M.value
737
742
  };
738
- if (A.color && !A.decoration && (e.backgroundColor = A.color), A.transform && (e.transform = A.transform, A.transformAlignment && (e.transformOrigin = alignmentToOrigin(A.transformAlignment))), A.clipBehavior !== "none") switch (A.clipBehavior) {
743
+ 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) {
739
744
  case "hardEdge":
740
745
  e.overflow = "hidden";
741
746
  break;
@@ -752,22 +757,22 @@ var AnimatedContainer_default = /* @__PURE__ */ defineComponent({
752
757
  boxSizing: "border-box",
753
758
  position: "relative"
754
759
  };
755
- }), N = computed(() => ({
756
- ...boxDecorationToStyle(A.foregroundDecoration),
760
+ }), P = computed(() => ({
761
+ ...boxDecorationToStyle(j.foregroundDecoration),
757
762
  position: "absolute",
758
763
  top: 0,
759
764
  left: 0,
760
765
  right: 0,
761
766
  bottom: 0,
762
767
  pointerEvents: "none",
763
- transition: j.value
768
+ transition: M.value
764
769
  }));
765
- return (e, S) => (openBlock(), createElementBlock("div", mergeProps({
770
+ return (e, C) => (openBlock(), createElementBlock("div", mergeProps({
766
771
  class: "animated-container",
767
- style: M.value
768
- }, E.value), [renderSlot(e.$slots, "default"), A.foregroundDecoration ? (openBlock(), createElementBlock("div", {
772
+ style: N.value
773
+ }, D.value), [renderSlot(e.$slots, "default"), j.foregroundDecoration ? (openBlock(), createElementBlock("div", {
769
774
  key: 0,
770
- style: normalizeStyle(N.value)
775
+ style: normalizeStyle(P.value)
771
776
  }, null, 4)) : createCommentVNode("", !0)], 16));
772
777
  }
773
778
  }), AnimatedOpacity_default = defineComponent({
@@ -787,40 +792,151 @@ var AnimatedContainer_default = /* @__PURE__ */ defineComponent({
787
792
  default: "linear"
788
793
  }
789
794
  },
790
- setup(e, { slots: S }) {
791
- let C = computed(() => e.opacity === void 0 ? {} : {
795
+ setup(e, { slots: C }) {
796
+ let w = computed(() => e.opacity === void 0 ? {} : {
792
797
  transition: `opacity ${e.duration}ms ${e.curve}`,
793
798
  opacity: e.opacity
794
799
  });
795
- return () => h(StyleProvider, { style: C.value }, S);
800
+ return () => h(StyleProvider, { style: w.value }, C);
801
+ }
802
+ }), Container_default = /* @__PURE__ */ defineComponent({
803
+ inheritAttrs: !1,
804
+ __name: "Container",
805
+ props: {
806
+ width: {},
807
+ height: {},
808
+ padding: {},
809
+ margin: {},
810
+ decoration: {},
811
+ foregroundDecoration: {},
812
+ color: {},
813
+ alignment: {},
814
+ clipBehavior: { default: "none" },
815
+ transform: {},
816
+ transformAlignment: {},
817
+ constraints: {}
818
+ },
819
+ setup(e) {
820
+ let C = useStyles(), w = useSafeAttrs(), T = useGestureEvents(), D = computed(() => C.value.pointerEvents == "none" ? w.value : {
821
+ ...w.value,
822
+ ...T || {}
823
+ }), A = useGestureStyle(), j = e, M = computed(() => {
824
+ let e = {
825
+ backgroundColor: j.decoration ? void 0 : j.color,
826
+ transform: j.transform,
827
+ transformOrigin: j.transformAlignment ? alignmentToOrigin(j.transformAlignment) : "center",
828
+ overflow: j.clipBehavior === "none" ? void 0 : "hidden",
829
+ position: "relative"
830
+ };
831
+ Object.assign(e, C.value), j.alignment && (Object.assign(e, {
832
+ display: "flex",
833
+ flexDirection: "column"
834
+ }), Object.assign(e, alignmentToFlex(j.alignment, "column"))), Object.assign(e, sizeToStyle(j));
835
+ let w = boxConstraintsToStyle(j.constraints);
836
+ 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.clipBehavior === "antiAlias" && (e.borderRadius = e.borderRadius || "inherit"), e;
837
+ }), N = computed(() => {
838
+ let e = {
839
+ position: "absolute",
840
+ pointerEvents: "none",
841
+ zIndex: 1,
842
+ inset: 0
843
+ };
844
+ return Object.assign(e, boxDecorationToStyle(j.foregroundDecoration)), e;
845
+ });
846
+ return (e, C) => (openBlock(), createElementBlock("div", mergeProps({
847
+ class: "container-box",
848
+ style: M.value
849
+ }, D.value), [renderSlot(e.$slots, "default"), j.foregroundDecoration ? (openBlock(), createElementBlock("div", {
850
+ key: 0,
851
+ style: normalizeStyle(N.value)
852
+ }, null, 4)) : createCommentVNode("", !0)], 16));
853
+ }
854
+ }), Box_default = /* @__PURE__ */ defineComponent({
855
+ __name: "Box",
856
+ props: {
857
+ width: {},
858
+ height: {},
859
+ padding: {},
860
+ margin: {},
861
+ alignment: {},
862
+ transform: {},
863
+ transformAlignment: {},
864
+ constraints: {},
865
+ clipBehavior: { default: "none" },
866
+ color: {},
867
+ border: {},
868
+ borderRadius: {},
869
+ boxShadow: {},
870
+ gradient: {},
871
+ image: {},
872
+ shape: { default: BoxShape.rectangle }
873
+ },
874
+ setup(e) {
875
+ let C = e, w = computed(() => {
876
+ if (!(!C.color && !C.border && !C.borderRadius && !C.boxShadow && !C.gradient && !C.image && C.shape === "rectangle")) return BoxDecoration({
877
+ color: C.color,
878
+ border: C.border,
879
+ borderRadius: C.borderRadius,
880
+ boxShadow: C.boxShadow,
881
+ gradient: C.gradient,
882
+ image: C.image,
883
+ shape: C.shape
884
+ });
885
+ });
886
+ return (C, T) => (openBlock(), createBlock(Container_default, {
887
+ width: e.width,
888
+ height: e.height,
889
+ padding: e.padding,
890
+ margin: e.margin,
891
+ alignment: e.alignment,
892
+ transform: e.transform,
893
+ "transform-alignment": e.transformAlignment,
894
+ constraints: e.constraints,
895
+ "clip-behavior": e.clipBehavior,
896
+ decoration: w.value
897
+ }, {
898
+ default: withCtx(() => [renderSlot(C.$slots, "default")]),
899
+ _: 3
900
+ }, 8, [
901
+ "width",
902
+ "height",
903
+ "padding",
904
+ "margin",
905
+ "alignment",
906
+ "transform",
907
+ "transform-alignment",
908
+ "constraints",
909
+ "clip-behavior",
910
+ "decoration"
911
+ ]));
796
912
  }
797
913
  });
798
914
  const ButtonStyle = (e) => e;
799
915
  function buttonStyleToStyle(e) {
800
916
  if (!e) return {};
801
- let S = {};
802
- if (e.backgroundColor && (S.backgroundColor = e.backgroundColor), e.foregroundColor && (S.color = e.foregroundColor), e.padding && Object.assign(S, paddingToStyle(e.padding)), e.minimumSize) {
803
- let { width: C, height: w } = sizeToStyle(e.minimumSize) || {};
804
- C && (S.minWidth = C), w && (S.minHeight = w);
917
+ let C = {};
918
+ if (e.backgroundColor && (C.backgroundColor = e.backgroundColor), e.foregroundColor && (C.color = e.foregroundColor), e.padding && Object.assign(C, paddingToStyle(e.padding)), e.minimumSize) {
919
+ let { width: w, height: T } = sizeToStyle(e.minimumSize) || {};
920
+ w && (C.minWidth = w), T && (C.minHeight = T);
805
921
  }
806
922
  if (e.maximumSize) {
807
- let { width: C, height: w } = sizeToStyle(e.maximumSize) || {};
808
- C && (S.maxWidth = C), w && (S.maxHeight = w);
923
+ let { width: w, height: T } = sizeToStyle(e.maximumSize) || {};
924
+ w && (C.maxWidth = w), T && (C.maxHeight = T);
809
925
  }
810
926
  if (e.fixedSize) {
811
- let { width: C, height: w } = sizeToStyle(e.fixedSize) || {};
812
- C && (S.width = C, S.minWidth = C, S.maxWidth = C), w && (S.height = w, S.minHeight = w, S.maxHeight = w);
927
+ let { width: w, height: T } = sizeToStyle(e.fixedSize) || {};
928
+ w && (C.width = w, C.minWidth = w, C.maxWidth = w), T && (C.height = T, C.minHeight = T, C.maxHeight = T);
813
929
  }
814
- return e.side && Object.assign(S, borderSideToStyle(e.side)), e.shape && Object.assign(S, borderRadiusToStyle(e.shape)), e.elevation && (S.boxShadow = `0px ${px2vw(e.elevation)} ${px2vw(e.elevation * 2)} ${e.shadowColor || "rgba(0,0,0,0.2)"}`), e.alignment && (S.display = "flex", S.flexDirection = "column", Object.assign(S, alignmentToFlex(e.alignment, "column"))), S;
930
+ 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;
815
931
  }
816
- function useChildren(w) {
817
- if (!w) return [];
818
- let T = w();
819
- return T ? T.filter((w) => !(w.type === Comment || w.type === Text && typeof w.children == "string" && !w.children.trim() || w.type === Fragment && Array.isArray(w.children) && w.children.length === 0)) : [];
932
+ function useChildren(T) {
933
+ if (!T) return [];
934
+ let E = T();
935
+ 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)) : [];
820
936
  }
821
937
  function useChild(e) {
822
- let S = useChildren(e);
823
- return S.length === 0 ? null : S[0];
938
+ let C = useChildren(e);
939
+ return C.length === 0 ? null : C[0];
824
940
  }
825
941
  var GestureDetector_default = defineComponent({
826
942
  name: "GestureDetector",
@@ -830,14 +946,14 @@ var GestureDetector_default = defineComponent({
830
946
  default: "deferToChild"
831
947
  } },
832
948
  emits: events,
833
- setup(e, { slots: S, emit: T }) {
834
- let E = useGestures({ emit: T });
835
- return provideGesture(E, e.behavior), () => {
836
- let e = useChild(S.default);
837
- return e ? e.type === Text ? h("span", E, [e]) : isHtmlTag(e) ? cloneVNode(e, E) : e : null;
949
+ setup(e, { slots: C, emit: E }) {
950
+ let D = useGestures({ emit: E });
951
+ return provideGesture(D, e.behavior), () => {
952
+ let e = useChild(C.default);
953
+ return e ? e.type === Text ? h("span", D, [e]) : isHtmlTag(e) ? cloneVNode(e, D) : e : null;
838
954
  };
839
955
  }
840
- }), _hoisted_1$3 = ["disabled"], Button_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
956
+ }), _hoisted_1$4 = ["disabled"], Button_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
841
957
  inheritAttrs: !1,
842
958
  __name: "Button",
843
959
  props: {
@@ -848,35 +964,80 @@ var GestureDetector_default = defineComponent({
848
964
  style: {}
849
965
  },
850
966
  emits: ["pressed", "long-press"],
851
- setup(e, { emit: S }) {
852
- let C = e, w = S, D = useStyles(), O = useSafeAttrs(), A = useGestureEvents(), j = computed(() => D.value.pointerEvents == "none" ? O.value : {
853
- ...O.value,
854
- ...A || {}
855
- }), M = useGestureStyle(), N = computed(() => {
967
+ setup(e, { emit: C }) {
968
+ let w = e, T = C, O = useStyles(), k = useSafeAttrs(), j = useGestureEvents(), M = computed(() => O.value.pointerEvents == "none" ? k.value : {
969
+ ...k.value,
970
+ ...j || {}
971
+ }), N = useGestureStyle(), P = computed(() => {
856
972
  let e = { position: "relative" };
857
- return Object.assign(e, D.value), Object.assign(e, buttonStyleToStyle(C.style)), Object.assign(e, M), e;
858
- }), P = () => {
859
- C.disabled || w("pressed");
973
+ return Object.assign(e, O.value), Object.assign(e, buttonStyleToStyle(w.style)), Object.assign(e, N), e;
974
+ }), F = () => {
975
+ w.disabled || T("pressed");
860
976
  }, I = () => {
861
- C.disabled || w("long-press");
977
+ w.disabled || T("long-press");
862
978
  };
863
- return (S, C) => (openBlock(), createBlock(GestureDetector_default, {
864
- onTap: P,
979
+ return (C, w) => (openBlock(), createBlock(GestureDetector_default, {
980
+ onTap: F,
865
981
  onLongPress: I
866
982
  }, {
867
983
  default: withCtx(() => [createElementVNode("button", mergeProps({
868
984
  class: "fluekit-button",
869
- style: N.value,
985
+ style: P.value,
870
986
  disabled: e.disabled
871
- }, j.value), [renderSlot(S.$slots, "default", {}, void 0, !0)], 16, _hoisted_1$3)]),
987
+ }, M.value), [renderSlot(C.$slots, "default", {}, void 0, !0)], 16, _hoisted_1$4)]),
872
988
  _: 3
873
989
  }));
874
990
  }
875
- }), __plugin_vue_export_helper_default = (e, S) => {
876
- let C = e.__vccOpts || e;
877
- for (let [e, w] of S) C[e] = w;
878
- return C;
879
- }, Button_default = /* @__PURE__ */ __plugin_vue_export_helper_default(Button_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-a5efef4c"]]), Center_default = /* @__PURE__ */ defineComponent({
991
+ }), __plugin_vue_export_helper_default = (e, C) => {
992
+ let w = e.__vccOpts || e;
993
+ for (let [e, T] of C) w[e] = T;
994
+ return w;
995
+ }, 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({
996
+ __name: "Card",
997
+ props: {
998
+ color: { default: "#ffffff" },
999
+ shadowColor: { default: "#000000" },
1000
+ elevation: { default: 1 },
1001
+ shape: {},
1002
+ margin: { default: () => EdgeInsets.all(4) },
1003
+ clipBehavior: { default: "none" },
1004
+ borderOnForeground: { type: Boolean }
1005
+ },
1006
+ setup(e) {
1007
+ let C = e, w = computed(() => {
1008
+ let e = [];
1009
+ if (C.elevation > 0) {
1010
+ let w = C.elevation * 2;
1011
+ C.elevation, e.push(BoxShadow({
1012
+ color: C.shadowColor,
1013
+ offset: {
1014
+ x: 0,
1015
+ y: 1
1016
+ },
1017
+ blurRadius: w,
1018
+ spreadRadius: 0
1019
+ }));
1020
+ }
1021
+ return BoxDecoration({
1022
+ color: C.color,
1023
+ borderRadius: C.shape || BorderRadius.all(4),
1024
+ boxShadow: e.length > 0 ? e : void 0
1025
+ });
1026
+ });
1027
+ return (C, T) => (openBlock(), createBlock(Container_default, {
1028
+ margin: e.margin,
1029
+ decoration: w.value,
1030
+ "clip-behavior": e.clipBehavior
1031
+ }, {
1032
+ default: withCtx(() => [renderSlot(C.$slots, "default")]),
1033
+ _: 3
1034
+ }, 8, [
1035
+ "margin",
1036
+ "decoration",
1037
+ "clip-behavior"
1038
+ ]));
1039
+ }
1040
+ }), Center_default = /* @__PURE__ */ defineComponent({
880
1041
  inheritAttrs: !1,
881
1042
  __name: "Center",
882
1043
  props: {
@@ -884,12 +1045,12 @@ var GestureDetector_default = defineComponent({
884
1045
  heightFactor: {}
885
1046
  },
886
1047
  setup(e) {
887
- return (S, C) => (openBlock(), createBlock(Align_default, {
1048
+ return (C, w) => (openBlock(), createBlock(Align_default, {
888
1049
  alignment: "center",
889
1050
  "width-factor": e.widthFactor,
890
1051
  "height-factor": e.heightFactor
891
1052
  }, {
892
- default: withCtx(() => [renderSlot(S.$slots, "default")]),
1053
+ default: withCtx(() => [renderSlot(C.$slots, "default")]),
893
1054
  _: 3
894
1055
  }, 8, ["width-factor", "height-factor"]));
895
1056
  }
@@ -914,22 +1075,22 @@ var GestureDetector_default = defineComponent({
914
1075
  constraints: {}
915
1076
  },
916
1077
  setup(e) {
917
- let S = e, C = useSafeAttrs(), w = computed(() => {
918
- let e = ["flex-box", `flex-box-${S.direction}`];
919
- return S.expanded && e.push("flex-expanded"), e.join(" ");
920
- }), D = computed(() => {
921
- let e = S.mainAxisAlignment, C = S.crossAxisAlignment, w = {
1078
+ let C = e, w = useSafeAttrs(), T = computed(() => {
1079
+ let e = ["flex-box", `flex-box-${C.direction}`];
1080
+ return C.expanded && e.push("flex-expanded"), e.join(" ");
1081
+ }), O = computed(() => {
1082
+ let e = C.mainAxisAlignment, w = C.crossAxisAlignment, T = {
922
1083
  display: "flex",
923
- flexDirection: S.direction,
924
- flexWrap: S.wrap ? "wrap" : "nowrap"
1084
+ flexDirection: C.direction,
1085
+ flexWrap: C.wrap ? "wrap" : "nowrap"
925
1086
  };
926
- return w.justifyContent = FlexBoxJustifyMap[e] || e, w.alignItems = FlexBoxAlignMap[C] || C, w.gap = px2vw(S.gap), S.expanded && (w.flex = "1", w.width = "100%", w.height = "100%"), S.constraints && Object.assign(w, boxConstraintsToStyle(S.constraints)), w;
1087
+ return T.justifyContent = FlexBoxJustifyMap[e] || e, T.alignItems = FlexBoxAlignMap[w] || w, T.gap = px2vw(C.gap), C.expanded && (T.flex = "1", T.width = "100%", T.height = "100%"), C.constraints && Object.assign(T, boxConstraintsToStyle(C.constraints)), T;
927
1088
  });
928
- return (S, T) => (openBlock(), createBlock(resolveDynamicComponent(e.as), mergeProps({
929
- class: w.value,
930
- style: D.value
931
- }, unref(C)), {
932
- default: withCtx(() => [renderSlot(S.$slots, "default")]),
1089
+ return (C, E) => (openBlock(), createBlock(resolveDynamicComponent(e.as), mergeProps({
1090
+ class: T.value,
1091
+ style: O.value
1092
+ }, unref(w)), {
1093
+ default: withCtx(() => [renderSlot(C.$slots, "default")]),
933
1094
  _: 3
934
1095
  }, 16, ["class", "style"]));
935
1096
  }
@@ -947,7 +1108,7 @@ var GestureDetector_default = defineComponent({
947
1108
  constraints: {}
948
1109
  },
949
1110
  setup(e) {
950
- return (S, C) => (openBlock(), createBlock(FlexBox_default, {
1111
+ return (C, w) => (openBlock(), createBlock(FlexBox_default, {
951
1112
  direction: "column",
952
1113
  "main-axis-alignment": e.mainAxisAlignment,
953
1114
  "cross-axis-alignment": e.crossAxisAlignment,
@@ -955,7 +1116,7 @@ var GestureDetector_default = defineComponent({
955
1116
  gap: e.gap,
956
1117
  expanded: e.expanded
957
1118
  }, {
958
- default: withCtx(() => [renderSlot(S.$slots, "default")]),
1119
+ default: withCtx(() => [renderSlot(C.$slots, "default")]),
959
1120
  _: 3
960
1121
  }, 8, [
961
1122
  "main-axis-alignment",
@@ -965,58 +1126,6 @@ var GestureDetector_default = defineComponent({
965
1126
  "expanded"
966
1127
  ]));
967
1128
  }
968
- }), Container_default = /* @__PURE__ */ defineComponent({
969
- inheritAttrs: !1,
970
- __name: "Container",
971
- props: {
972
- width: {},
973
- height: {},
974
- padding: {},
975
- margin: {},
976
- decoration: {},
977
- foregroundDecoration: {},
978
- color: {},
979
- alignment: {},
980
- clipBehavior: { default: "none" },
981
- transform: {},
982
- transformAlignment: {},
983
- constraints: {}
984
- },
985
- setup(e) {
986
- let S = useStyles(), C = useSafeAttrs(), w = useGestureEvents(), E = computed(() => S.value.pointerEvents == "none" ? C.value : {
987
- ...C.value,
988
- ...w || {}
989
- }), k = useGestureStyle(), A = e, j = computed(() => {
990
- let e = {
991
- backgroundColor: A.decoration ? void 0 : A.color,
992
- transform: A.transform,
993
- transformOrigin: A.transformAlignment ? alignmentToOrigin(A.transformAlignment) : "center",
994
- overflow: A.clipBehavior === "none" ? void 0 : "hidden",
995
- position: "relative"
996
- };
997
- Object.assign(e, S.value), A.alignment && (Object.assign(e, {
998
- display: "flex",
999
- flexDirection: "column"
1000
- }), Object.assign(e, alignmentToFlex(A.alignment, "column"))), Object.assign(e, sizeToStyle(A));
1001
- let C = boxConstraintsToStyle(A.constraints);
1002
- return isDefined(A.width) && (delete C.minWidth, delete C.maxWidth), isDefined(A.height) && (delete C.minHeight, delete C.maxHeight), Object.assign(e, C), Object.assign(e, paddingToStyle(A.padding)), Object.assign(e, marginToStyle(A.margin)), Object.assign(e, boxDecorationToStyle(A.decoration)), Object.assign(e, k), A.clipBehavior === "antiAlias" && (e.borderRadius = e.borderRadius || "inherit"), e;
1003
- }), M = computed(() => {
1004
- let e = {
1005
- position: "absolute",
1006
- pointerEvents: "none",
1007
- zIndex: 1,
1008
- inset: 0
1009
- };
1010
- return Object.assign(e, boxDecorationToStyle(A.foregroundDecoration)), e;
1011
- });
1012
- return (e, S) => (openBlock(), createElementBlock("div", mergeProps({
1013
- class: "container-box",
1014
- style: j.value
1015
- }, E.value), [renderSlot(e.$slots, "default"), A.foregroundDecoration ? (openBlock(), createElementBlock("div", {
1016
- key: 0,
1017
- style: normalizeStyle(M.value)
1018
- }, null, 4)) : createCommentVNode("", !0)], 16));
1019
- }
1020
1129
  }), FlexItem_default = /* @__PURE__ */ defineComponent({
1021
1130
  inheritAttrs: !1,
1022
1131
  __name: "FlexItem",
@@ -1035,22 +1144,22 @@ var GestureDetector_default = defineComponent({
1035
1144
  maxSize: {}
1036
1145
  },
1037
1146
  setup(e) {
1038
- let S = e, C = useSafeAttrs(), w = computed(() => {
1147
+ let C = e, w = useSafeAttrs(), T = computed(() => {
1039
1148
  let e = {};
1040
- if (S.expanded ? e.flex = "1 1 0%" : (S.flexible && (e.flex = "0 1 auto"), S.flex > 0 && (e.flex = `${S.flex} 1 0%`)), S.alignSelf !== "auto" && (e.alignSelf = FlexBoxAlignMap[S.alignSelf] || S.alignSelf), S.minSize) {
1041
- let C = px2vw(S.minSize);
1042
- e.minWidth = C, e.minHeight = C;
1149
+ 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) {
1150
+ let w = px2vw(C.minSize);
1151
+ e.minWidth = w, e.minHeight = w;
1043
1152
  }
1044
- if (S.maxSize) {
1045
- let C = px2vw(S.maxSize);
1046
- e.maxWidth = C, e.maxHeight = C;
1153
+ if (C.maxSize) {
1154
+ let w = px2vw(C.maxSize);
1155
+ e.maxWidth = w, e.maxHeight = w;
1047
1156
  }
1048
1157
  return e;
1049
1158
  });
1050
- return (e, S) => (openBlock(), createElementBlock("div", mergeProps({
1159
+ return (e, C) => (openBlock(), createElementBlock("div", mergeProps({
1051
1160
  class: "flex-item",
1052
- style: w.value
1053
- }, unref(C)), [renderSlot(e.$slots, "default")], 16));
1161
+ style: T.value
1162
+ }, unref(w)), [renderSlot(e.$slots, "default")], 16));
1054
1163
  }
1055
1164
  }), Expanded_default = /* @__PURE__ */ defineComponent({
1056
1165
  inheritAttrs: !1,
@@ -1062,14 +1171,14 @@ var GestureDetector_default = defineComponent({
1062
1171
  maxSize: {}
1063
1172
  },
1064
1173
  setup(e) {
1065
- return (S, C) => (openBlock(), createBlock(FlexItem_default, {
1174
+ return (C, w) => (openBlock(), createBlock(FlexItem_default, {
1066
1175
  flex: e.flex,
1067
1176
  expanded: "",
1068
1177
  "align-self": e.alignSelf,
1069
1178
  "min-size": e.minSize,
1070
1179
  "max-size": e.maxSize
1071
1180
  }, {
1072
- default: withCtx(() => [renderSlot(S.$slots, "default")]),
1181
+ default: withCtx(() => [renderSlot(C.$slots, "default")]),
1073
1182
  _: 3
1074
1183
  }, 8, [
1075
1184
  "flex",
@@ -1079,13 +1188,13 @@ var GestureDetector_default = defineComponent({
1079
1188
  ]));
1080
1189
  }
1081
1190
  });
1082
- function usePositionStyle(e, S = "absolute") {
1191
+ function usePositionStyle(e, C = "absolute") {
1083
1192
  return computed(() => {
1084
- let C = {
1085
- position: S,
1193
+ let w = {
1194
+ position: C,
1086
1195
  boxSizing: "border-box"
1087
1196
  };
1088
- return C.top = px2vw(e.top), C.bottom = px2vw(e.bottom), C.left = px2vw(e.left), C.right = px2vw(e.right), C.width = px2vw(e.width), C.height = px2vw(e.height), C.zIndex = e.zIndex, C;
1197
+ 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;
1089
1198
  });
1090
1199
  }
1091
1200
  var Fixed_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
@@ -1101,10 +1210,10 @@ var Fixed_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PUR
1101
1210
  zIndex: { default: 100 }
1102
1211
  },
1103
1212
  setup(e) {
1104
- let S = usePositionStyle(e, "fixed");
1105
- return (e, C) => (openBlock(), createElementBlock("div", {
1213
+ let C = usePositionStyle(e, "fixed");
1214
+ return (e, w) => (openBlock(), createElementBlock("div", {
1106
1215
  class: "flutter-fixed",
1107
- style: normalizeStyle(unref(S))
1216
+ style: normalizeStyle(unref(C))
1108
1217
  }, [renderSlot(e.$slots, "default", {}, void 0, !0)], 4));
1109
1218
  }
1110
1219
  }), [["__scopeId", "data-v-b47757ec"]]), ScrollView_default = /* @__PURE__ */ defineComponent({
@@ -1125,8 +1234,8 @@ var Fixed_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PUR
1125
1234
  "scrollStart",
1126
1235
  "scrollEnd"
1127
1236
  ],
1128
- setup(e, { expose: S, emit: C }) {
1129
- let w = e, E = C, D = ref(), A = !1, j = null, M = computed(() => {
1237
+ setup(e, { expose: C, emit: w }) {
1238
+ let T = e, D = w, O = ref(), j = !1, M = null, N = computed(() => {
1130
1239
  let e = {
1131
1240
  width: "100%",
1132
1241
  height: "100%",
@@ -1135,39 +1244,39 @@ var Fixed_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PUR
1135
1244
  scrollbarWidth: "none",
1136
1245
  WebkitOverflowScrolling: "touch"
1137
1246
  };
1138
- return w.physics === "never" ? e.overflow = "hidden" : (w.scrollDirection === "vertical" ? (e.overflowX = "hidden", e.overflowY = "auto") : (e.overflowX = "auto", e.overflowY = "hidden"), w.physics === "clamping" ? e.overscrollBehavior = "none" : w.physics === "bouncing" && (e.overscrollBehavior = "auto")), w.clipBehavior === "none" && w.physics === "never" && (e.overflow = "visible"), e;
1139
- }), N = computed(() => {
1247
+ 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;
1248
+ }), P = computed(() => {
1140
1249
  let e = {
1141
- minWidth: w.scrollDirection === "horizontal" ? "max-content" : "100%",
1142
- minHeight: w.scrollDirection === "vertical" ? "fit-content" : "100%",
1250
+ minWidth: T.scrollDirection === "horizontal" ? "max-content" : "100%",
1251
+ minHeight: T.scrollDirection === "vertical" ? "fit-content" : "100%",
1143
1252
  boxSizing: "border-box",
1144
1253
  display: "flow-root"
1145
1254
  };
1146
- return w.padding && Object.assign(e, paddingToStyle(w.padding)), e;
1147
- }), P = (e) => {
1148
- let S = e.target;
1149
- A || (A = !0, E("scrollStart")), E("scroll", {
1150
- scrollTop: S.scrollTop,
1151
- scrollLeft: S.scrollLeft,
1152
- scrollHeight: S.scrollHeight,
1153
- scrollWidth: S.scrollWidth
1154
- }), j && clearTimeout(j), j = window.setTimeout(() => {
1155
- A = !1, E("scrollEnd");
1255
+ return T.padding && Object.assign(e, paddingToStyle(T.padding)), e;
1256
+ }), F = (e) => {
1257
+ let C = e.target;
1258
+ j || (j = !0, D("scrollStart")), D("scroll", {
1259
+ scrollTop: C.scrollTop,
1260
+ scrollLeft: C.scrollLeft,
1261
+ scrollHeight: C.scrollHeight,
1262
+ scrollWidth: C.scrollWidth
1263
+ }), M && clearTimeout(M), M = window.setTimeout(() => {
1264
+ j = !1, D("scrollEnd");
1156
1265
  }, 150);
1157
1266
  };
1158
- return S({
1159
- scrollRef: D,
1267
+ return C({
1268
+ scrollRef: O,
1160
1269
  scrollTo: (e) => {
1161
- D.value?.scrollTo(e);
1270
+ O.value?.scrollTo(e);
1162
1271
  }
1163
1272
  }), onUnmounted(() => {
1164
- j && clearTimeout(j);
1165
- }), (e, S) => (openBlock(), createElementBlock("div", {
1273
+ M && clearTimeout(M);
1274
+ }), (e, C) => (openBlock(), createElementBlock("div", {
1166
1275
  ref_key: "scrollRef",
1167
- ref: D,
1168
- style: normalizeStyle(M.value),
1169
- onScroll: P
1170
- }, [createElementVNode("div", { style: normalizeStyle(N.value) }, [renderSlot(e.$slots, "default")], 4)], 36));
1276
+ ref: O,
1277
+ style: normalizeStyle(N.value),
1278
+ onScroll: F
1279
+ }, [createElementVNode("div", { style: normalizeStyle(P.value) }, [renderSlot(e.$slots, "default")], 4)], 36));
1171
1280
  }
1172
1281
  }), GridView_default = /* @__PURE__ */ defineComponent({
1173
1282
  inheritAttrs: !1,
@@ -1188,36 +1297,36 @@ var Fixed_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PUR
1188
1297
  itemCount: {}
1189
1298
  },
1190
1299
  setup(e) {
1191
- let C = e, w = computed(() => ({
1192
- height: C.shrinkWrap ? "auto" : "100%",
1193
- width: C.shrinkWrap ? "auto" : "100%"
1194
- })), D = computed(() => {
1195
- let e = C.scrollDirection === "vertical", S = typeof C.mainAxisSpacing == "number" ? px2vw(C.mainAxisSpacing) : C.mainAxisSpacing, w = typeof C.crossAxisSpacing == "number" ? px2vw(C.crossAxisSpacing) : C.crossAxisSpacing;
1300
+ let w = e, T = computed(() => ({
1301
+ height: w.shrinkWrap ? "auto" : "100%",
1302
+ width: w.shrinkWrap ? "auto" : "100%"
1303
+ })), O = computed(() => {
1304
+ 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;
1196
1305
  return {
1197
1306
  display: "grid",
1198
- gridTemplateColumns: e ? `repeat(${C.crossAxisCount}, 1fr)` : "none",
1199
- gridTemplateRows: e ? "none" : `repeat(${C.crossAxisCount}, 1fr)`,
1307
+ gridTemplateColumns: e ? `repeat(${w.crossAxisCount}, 1fr)` : "none",
1308
+ gridTemplateRows: e ? "none" : `repeat(${w.crossAxisCount}, 1fr)`,
1200
1309
  gridAutoFlow: e ? "row" : "column",
1201
- gap: e ? `${S} ${w}` : `${w} ${S}`,
1310
+ gap: e ? `${C} ${T}` : `${T} ${C}`,
1202
1311
  minWidth: e ? "100%" : "max-content",
1203
1312
  minHeight: e ? "max-content" : "100%"
1204
1313
  };
1205
1314
  });
1206
- return (C, T) => (openBlock(), createBlock(ScrollView_default, {
1315
+ return (w, E) => (openBlock(), createBlock(ScrollView_default, {
1207
1316
  "scroll-direction": e.scrollDirection,
1208
1317
  padding: e.padding,
1209
1318
  physics: e.physics,
1210
1319
  "clip-behavior": e.clipBehavior,
1211
1320
  class: "flutter-grid-view",
1212
- style: normalizeStyle(w.value)
1321
+ style: normalizeStyle(T.value)
1213
1322
  }, {
1214
1323
  default: withCtx(() => [createElementVNode("div", {
1215
1324
  class: "grid-view-content",
1216
- style: normalizeStyle(D.value)
1217
- }, [e.itemCount ? (openBlock(!0), createElementBlock(Fragment, { key: 1 }, renderList(e.itemCount, (e) => renderSlot(C.$slots, "item", {
1325
+ style: normalizeStyle(O.value)
1326
+ }, [e.itemCount ? (openBlock(!0), createElementBlock(Fragment, { key: 1 }, renderList(e.itemCount, (e) => renderSlot(w.$slots, "item", {
1218
1327
  key: e - 1,
1219
1328
  index: e - 1
1220
- })), 128)) : renderSlot(C.$slots, "default", { key: 0 })], 4)]),
1329
+ })), 128)) : renderSlot(w.$slots, "default", { key: 0 })], 4)]),
1221
1330
  _: 3
1222
1331
  }, 8, [
1223
1332
  "scroll-direction",
@@ -1240,11 +1349,11 @@ var Fixed_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PUR
1240
1349
  default: !1
1241
1350
  }
1242
1351
  },
1243
- setup(e, { slots: S }) {
1244
- return () => !e.ignoring && !e.ignoringSemantics ? S.default?.() : h(StyleProvider, {
1352
+ setup(e, { slots: C }) {
1353
+ return () => !e.ignoring && !e.ignoringSemantics ? C.default?.() : h(StyleProvider, {
1245
1354
  style: { pointerEvents: e.ignoring ? "none" : void 0 },
1246
1355
  attrs: { "aria-hidden": e.ignoringSemantics ? "true" : void 0 }
1247
- }, S);
1356
+ }, C);
1248
1357
  }
1249
1358
  }), IMAGE_PROVIDER_SYMBOL = Symbol("ImageProvider");
1250
1359
  function isImageProvider(e) {
@@ -1257,9 +1366,9 @@ function NetworkImage(e) {
1257
1366
  };
1258
1367
  }
1259
1368
  function MemoryImage(e) {
1260
- let S = "";
1261
- return typeof e == "string" ? S = e : e instanceof Blob ? S = URL.createObjectURL(e) : console.warn("[MemoryImage] Unsupported data type. Expected string (base64) or Blob."), {
1262
- src: S,
1369
+ let C = "";
1370
+ return typeof e == "string" ? C = e : e instanceof Blob ? C = URL.createObjectURL(e) : console.warn("[MemoryImage] Unsupported data type. Expected string (base64) or Blob."), {
1371
+ src: C,
1263
1372
  [IMAGE_PROVIDER_SYMBOL]: !0
1264
1373
  };
1265
1374
  }
@@ -1267,20 +1376,20 @@ var _assetBaseUrl = "/";
1267
1376
  function setAssetBaseURL(e) {
1268
1377
  _assetBaseUrl = e;
1269
1378
  }
1270
- function AssetImage(e, S = {}) {
1271
- let C = S.package ? `${S.package}/${e}` : e;
1272
- return /^(https?:|file:|blob:|data:|\/\/)/i.test(C) || _assetBaseUrl && (C = (_assetBaseUrl.endsWith("/") ? _assetBaseUrl : _assetBaseUrl + "/") + (C.startsWith("/") ? C.slice(1) : C)), {
1273
- src: C,
1379
+ function AssetImage(e, C = {}) {
1380
+ let w = C.package ? `${C.package}/${e}` : e;
1381
+ return /^(https?:|file:|blob:|data:|\/\/)/i.test(w) || _assetBaseUrl && (w = (_assetBaseUrl.endsWith("/") ? _assetBaseUrl : _assetBaseUrl + "/") + (w.startsWith("/") ? w.slice(1) : w)), {
1382
+ src: w,
1274
1383
  [IMAGE_PROVIDER_SYMBOL]: !0
1275
1384
  };
1276
1385
  }
1277
1386
  function createAssetImage(e) {
1278
- return (S, C = {}) => AssetImage(S, {
1387
+ return (C, w = {}) => AssetImage(C, {
1279
1388
  ...e,
1280
- ...C
1389
+ ...w
1281
1390
  });
1282
1391
  }
1283
- var _hoisted_1$2 = ["src", "alt"], Image_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
1392
+ var _hoisted_1$3 = ["src", "alt"], Image_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
1284
1393
  inheritAttrs: !1,
1285
1394
  __name: "Image",
1286
1395
  props: {
@@ -1297,8 +1406,8 @@ var _hoisted_1$2 = ["src", "alt"], Image_default = /* @__PURE__ */ __plugin_vue_
1297
1406
  alt: { default: "" }
1298
1407
  },
1299
1408
  emits: ["load", "error"],
1300
- setup(e, { emit: S }) {
1301
- let C = e, w = S, E = useSafeAttrs(), D = computed(() => {
1409
+ setup(e, { emit: C }) {
1410
+ let w = e, T = C, D = useSafeAttrs(), O = computed(() => {
1302
1411
  let e = {
1303
1412
  position: "relative",
1304
1413
  display: "inline-block",
@@ -1306,10 +1415,10 @@ var _hoisted_1$2 = ["src", "alt"], Image_default = /* @__PURE__ */ __plugin_vue_
1306
1415
  lineHeight: 0
1307
1416
  };
1308
1417
  return Object.assign(e, sizeToStyle({
1309
- width: C.width,
1310
- height: C.height
1418
+ width: w.width,
1419
+ height: w.height
1311
1420
  })), e;
1312
- }), A = {
1421
+ }), j = {
1313
1422
  fill: "fill",
1314
1423
  contain: "contain",
1315
1424
  cover: "cover",
@@ -1317,30 +1426,30 @@ var _hoisted_1$2 = ["src", "alt"], Image_default = /* @__PURE__ */ __plugin_vue_
1317
1426
  fitHeight: "contain",
1318
1427
  none: "none",
1319
1428
  scaleDown: "scale-down"
1320
- }, j = computed(() => alignmentToOrigin(C.alignment)), M = computed(() => {
1429
+ }, M = computed(() => alignmentToOrigin(w.alignment)), N = computed(() => {
1321
1430
  let e = {
1322
1431
  width: "100%",
1323
1432
  height: "100%",
1324
- objectFit: A[C.fit],
1325
- objectPosition: j.value,
1326
- opacity: C.opacity,
1327
- imageRendering: C.filterQuality === "low" ? "pixelated" : "auto"
1433
+ objectFit: j[w.fit],
1434
+ objectPosition: M.value,
1435
+ opacity: w.opacity,
1436
+ imageRendering: w.filterQuality === "low" ? "pixelated" : "auto"
1328
1437
  };
1329
- return C.color, e;
1330
- }), N = (e) => w("load", e), P = (e) => w("error", e);
1331
- return (S, w) => (openBlock(), createElementBlock("div", mergeProps({
1438
+ return w.color, e;
1439
+ }), P = (e) => T("load", e), F = (e) => T("error", e);
1440
+ return (C, T) => (openBlock(), createElementBlock("div", mergeProps({
1332
1441
  class: "fluekit-image-container",
1333
- style: D.value
1334
- }, unref(E)), [createElementVNode("img", {
1335
- src: C.image.src,
1442
+ style: O.value
1443
+ }, unref(D)), [createElementVNode("img", {
1444
+ src: w.image.src,
1336
1445
  class: "fluekit-image",
1337
- style: normalizeStyle(M.value),
1446
+ style: normalizeStyle(N.value),
1338
1447
  alt: e.alt,
1339
- onLoad: N,
1340
- onError: P
1341
- }, null, 44, _hoisted_1$2)], 16));
1448
+ onLoad: P,
1449
+ onError: F
1450
+ }, null, 44, _hoisted_1$3)], 16));
1342
1451
  }
1343
- }), [["__scopeId", "data-v-9d37b792"]]), _hoisted_1$1 = {
1452
+ }), [["__scopeId", "data-v-ce382550"]]), _hoisted_1$2 = {
1344
1453
  key: 0,
1345
1454
  class: "list-view-separator"
1346
1455
  }, ListView_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
@@ -1363,11 +1472,11 @@ var _hoisted_1$2 = ["src", "alt"], Image_default = /* @__PURE__ */ __plugin_vue_
1363
1472
  clipBehavior: { default: "hardEdge" }
1364
1473
  },
1365
1474
  setup(e) {
1366
- let C = e, w = computed(() => ({
1367
- height: C.shrinkWrap ? "auto" : "100%",
1368
- width: C.shrinkWrap ? "auto" : "100%"
1369
- })), A = computed(() => {
1370
- let e = C.scrollDirection === "vertical";
1475
+ let w = e, T = computed(() => ({
1476
+ height: w.shrinkWrap ? "auto" : "100%",
1477
+ width: w.shrinkWrap ? "auto" : "100%"
1478
+ })), j = computed(() => {
1479
+ let e = w.scrollDirection === "vertical";
1371
1480
  return {
1372
1481
  display: "flex",
1373
1482
  flexDirection: e ? "column" : "row",
@@ -1375,18 +1484,18 @@ var _hoisted_1$2 = ["src", "alt"], Image_default = /* @__PURE__ */ __plugin_vue_
1375
1484
  minWidth: e ? "100%" : "max-content"
1376
1485
  };
1377
1486
  });
1378
- return (C, T) => (openBlock(), createBlock(ScrollView_default, {
1487
+ return (w, E) => (openBlock(), createBlock(ScrollView_default, {
1379
1488
  "scroll-direction": e.scrollDirection,
1380
1489
  padding: e.padding,
1381
1490
  physics: e.physics,
1382
1491
  "clip-behavior": e.clipBehavior,
1383
1492
  class: normalizeClass(["flutter-list-view", { "list-view-shrink-wrap": e.shrinkWrap }]),
1384
- style: normalizeStyle(w.value)
1493
+ style: normalizeStyle(T.value)
1385
1494
  }, {
1386
1495
  default: withCtx(() => [createElementVNode("div", {
1387
1496
  class: "list-view-content",
1388
- style: normalizeStyle(A.value)
1389
- }, [e.itemCount ? (openBlock(!0), createElementBlock(Fragment, { key: 1 }, renderList(e.itemCount, (w) => (openBlock(), createElementBlock(Fragment, { key: w - 1 }, [renderSlot(C.$slots, "item", { index: w - 1 }, void 0, !0), e.separator && w < e.itemCount ? (openBlock(), createElementBlock("div", _hoisted_1$1, [renderSlot(C.$slots, "separator", { index: w - 1 }, void 0, !0)])) : createCommentVNode("", !0)], 64))), 128)) : renderSlot(C.$slots, "default", { key: 0 }, void 0, !0)], 4)]),
1497
+ style: normalizeStyle(j.value)
1498
+ }, [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)]),
1390
1499
  _: 3
1391
1500
  }, 8, [
1392
1501
  "scroll-direction",
@@ -1404,9 +1513,9 @@ var _hoisted_1$2 = ["src", "alt"], Image_default = /* @__PURE__ */ __plugin_vue_
1404
1513
  type: Number,
1405
1514
  default: void 0
1406
1515
  } },
1407
- setup(e, { slots: S }) {
1408
- let C = computed(() => e.opacity === void 0 ? {} : { opacity: Math.max(0, Math.min(1, e.opacity)) });
1409
- return () => h(StyleProvider, { style: C.value }, S);
1516
+ setup(e, { slots: C }) {
1517
+ let w = computed(() => e.opacity === void 0 ? {} : { opacity: Math.max(0, Math.min(1, e.opacity)) });
1518
+ return () => h(StyleProvider, { style: w.value }, C);
1410
1519
  }
1411
1520
  }), Padding_default = defineComponent({
1412
1521
  name: "Padding",
@@ -1437,10 +1546,10 @@ var _hoisted_1$2 = ["src", "alt"], Image_default = /* @__PURE__ */ __plugin_vue_
1437
1546
  default: void 0
1438
1547
  }
1439
1548
  },
1440
- setup(e, { slots: S }) {
1549
+ setup(e, { slots: C }) {
1441
1550
  return () => {
1442
- let C = useChild(S.default);
1443
- return C ? cloneVNode(C, { style: edgeInsetsToStyle("padding", e) }) : null;
1551
+ let w = useChild(C.default);
1552
+ return w ? cloneVNode(w, { style: edgeInsetsToStyle("padding", e) }) : null;
1444
1553
  };
1445
1554
  }
1446
1555
  }), STACK_CONTEXT_KEY = "stackContext";
@@ -1460,14 +1569,14 @@ var Positioned_default = /* @__PURE__ */ defineComponent({
1460
1569
  height: {}
1461
1570
  },
1462
1571
  setup(e) {
1463
- let S = e, C = useStackContext();
1572
+ let C = e, w = useStackContext();
1464
1573
  onMounted(() => {
1465
- C || warn("[Positioned] Positioned widget must be a descendant of a Stack. ");
1574
+ w || warn("[Positioned] Positioned widget must be a descendant of a Stack. ");
1466
1575
  });
1467
- let w = usePositionStyle(S, "absolute");
1468
- return (e, S) => (openBlock(), createElementBlock("div", {
1576
+ let T = usePositionStyle(C, "absolute");
1577
+ return (e, C) => (openBlock(), createElementBlock("div", {
1469
1578
  class: "positioned",
1470
- style: normalizeStyle(unref(w))
1579
+ style: normalizeStyle(unref(T))
1471
1580
  }, [renderSlot(e.$slots, "default")], 4));
1472
1581
  }
1473
1582
  }), Row_default = /* @__PURE__ */ defineComponent({
@@ -1490,7 +1599,7 @@ var Positioned_default = /* @__PURE__ */ defineComponent({
1490
1599
  constraints: {}
1491
1600
  },
1492
1601
  setup(e) {
1493
- return (S, C) => (openBlock(), createBlock(FlexBox_default, {
1602
+ return (C, w) => (openBlock(), createBlock(FlexBox_default, {
1494
1603
  direction: "row",
1495
1604
  "main-axis-alignment": e.mainAxisAlignment,
1496
1605
  "cross-axis-alignment": e.crossAxisAlignment,
@@ -1499,7 +1608,7 @@ var Positioned_default = /* @__PURE__ */ defineComponent({
1499
1608
  as: e.as,
1500
1609
  expanded: e.expanded
1501
1610
  }, {
1502
- default: withCtx(() => [renderSlot(S.$slots, "default")]),
1611
+ default: withCtx(() => [renderSlot(C.$slots, "default")]),
1503
1612
  _: 3
1504
1613
  }, 8, [
1505
1614
  "main-axis-alignment",
@@ -1537,18 +1646,18 @@ var Positioned_default = /* @__PURE__ */ defineComponent({
1537
1646
  }
1538
1647
  },
1539
1648
  setup(e) {
1540
- let S = e, C = computed(() => {
1649
+ let C = e, w = computed(() => {
1541
1650
  let e = {
1542
1651
  display: "flex",
1543
1652
  flexDirection: "column",
1544
1653
  width: "100%",
1545
1654
  height: "100%"
1546
1655
  };
1547
- return S.top && [].push("env(safe-area-inset-top)"), S.right && [].push("env(safe-area-inset-right)"), S.bottom && [].push("env(safe-area-inset-bottom)"), S.left && [].push("env(safe-area-inset-left)"), S.top && (e.paddingTop = "env(safe-area-inset-top)"), S.right && (e.paddingRight = "env(safe-area-inset-right)"), S.bottom && (e.paddingBottom = "env(safe-area-inset-bottom)"), S.left && (e.paddingLeft = "env(safe-area-inset-left)"), S.minimum, e;
1656
+ 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;
1548
1657
  });
1549
- return (e, S) => (openBlock(), createElementBlock("div", {
1658
+ return (e, C) => (openBlock(), createElementBlock("div", {
1550
1659
  class: "flutter-safe-area",
1551
- style: normalizeStyle(C.value)
1660
+ style: normalizeStyle(w.value)
1552
1661
  }, [renderSlot(e.$slots, "default")], 4));
1553
1662
  }
1554
1663
  }), SizedBox_default = /* @__PURE__ */ defineComponent({
@@ -1559,17 +1668,17 @@ var Positioned_default = /* @__PURE__ */ defineComponent({
1559
1668
  height: {}
1560
1669
  },
1561
1670
  setup(e) {
1562
- let S = e, C = useSafeAttrs(), w = useSlots(), E = computed(() => {
1671
+ let C = e, w = useSafeAttrs(), T = useSlots(), D = computed(() => {
1563
1672
  let e = {
1564
1673
  boxSizing: "border-box",
1565
1674
  position: "relative"
1566
1675
  };
1567
- return Object.assign(e, sizeToStyle(S)), w.default && (e.display = "flex", e.flexDirection = "column", e.flexShrink = 0), e;
1676
+ return Object.assign(e, sizeToStyle(C)), T.default && (e.display = "flex", e.flexDirection = "column", e.flexShrink = 0), e;
1568
1677
  });
1569
- return (e, S) => (openBlock(), createElementBlock("div", mergeProps({
1678
+ return (e, C) => (openBlock(), createElementBlock("div", mergeProps({
1570
1679
  class: "sized-box",
1571
- style: E.value
1572
- }, unref(C)), [renderSlot(e.$slots, "default")], 16));
1680
+ style: D.value
1681
+ }, unref(w)), [renderSlot(e.$slots, "default")], 16));
1573
1682
  }
1574
1683
  }), Stack_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
1575
1684
  inheritAttrs: !1,
@@ -1581,27 +1690,27 @@ var Positioned_default = /* @__PURE__ */ defineComponent({
1581
1690
  fit: { default: StackFit.loose }
1582
1691
  },
1583
1692
  setup(e) {
1584
- let S = e, C = {
1693
+ let C = e, w = {
1585
1694
  clip: "hidden",
1586
1695
  hardEdge: "hidden",
1587
1696
  antiAlias: "hidden",
1588
1697
  none: "visible"
1589
- }, w = computed(() => {
1698
+ }, T = computed(() => {
1590
1699
  let e = {
1591
1700
  position: "relative",
1592
1701
  display: "grid",
1593
1702
  gridTemplateColumns: "1fr",
1594
1703
  gridTemplateRows: "1fr",
1595
- ...alignmentToGrid(S.alignment),
1596
- overflow: C[S.clipBehavior],
1597
- direction: S.textDirection,
1704
+ ...alignmentToGrid(C.alignment),
1705
+ overflow: w[C.clipBehavior],
1706
+ direction: C.textDirection,
1598
1707
  boxSizing: "border-box"
1599
1708
  };
1600
- return S.fit === StackFit.expand && (e.width = "100%", e.height = "100%"), e;
1709
+ return C.fit === StackFit.expand && (e.width = "100%", e.height = "100%"), e;
1601
1710
  });
1602
- return provideStackContext(), (e, S) => (openBlock(), createElementBlock("div", {
1711
+ return provideStackContext(), (e, C) => (openBlock(), createElementBlock("div", {
1603
1712
  class: "flutter-stack",
1604
- style: normalizeStyle(w.value)
1713
+ style: normalizeStyle(T.value)
1605
1714
  }, [renderSlot(e.$slots, "default", {}, void 0, !0)], 4));
1606
1715
  }
1607
1716
  }), [["__scopeId", "data-v-aefe47c2"]]), Sticky_default = /* @__PURE__ */ defineComponent({
@@ -1617,10 +1726,10 @@ var Positioned_default = /* @__PURE__ */ defineComponent({
1617
1726
  zIndex: { default: 10 }
1618
1727
  },
1619
1728
  setup(e) {
1620
- let S = usePositionStyle(e, "sticky");
1621
- return (e, C) => (openBlock(), createElementBlock("div", {
1729
+ let C = usePositionStyle(e, "sticky");
1730
+ return (e, w) => (openBlock(), createElementBlock("div", {
1622
1731
  class: "flutter-sticky",
1623
- style: normalizeStyle(unref(S))
1732
+ style: normalizeStyle(unref(C))
1624
1733
  }, [renderSlot(e.$slots, "default")], 4));
1625
1734
  }
1626
1735
  });
@@ -1642,36 +1751,36 @@ let FontWeight = /* @__PURE__ */ function(e) {
1642
1751
  return e.rtl = "rtl", e.ltr = "ltr", e;
1643
1752
  }({});
1644
1753
  var TEXT_STYLE_SYMBOL = Symbol("textStyle");
1645
- function buildFontFamily(e, S, C) {
1646
- let w = e;
1647
- return S && w && (w = `packages/${S}/${w}`), C && C.length > 0 ? [w, ...C].filter(Boolean).join(", ") : w;
1754
+ function buildFontFamily(e, C, w) {
1755
+ let T = e;
1756
+ return C && T && (T = `packages/${C}/${T}`), w && w.length > 0 ? [T, ...w].filter(Boolean).join(", ") : T;
1648
1757
  }
1649
1758
  function toCSSStyle(e = {}) {
1650
- let S = {};
1651
- S.margin = 0, S.padding = 0, S.border = "none", S.fontSmooth = "antialiased", S.MozOsxFontSmoothing = "grayscale", S.textRendering = "optimizeLegibility", S.wordBreak = "break-word", S.overflowWrap = "break-word", S.transition = "all 0.2s ease-in-out", e.foreground ? Object.assign(S, e.foreground) : e.color && (S.color = e.color), e.background ? Object.assign(S, e.background) : e.backgroundColor && (S.backgroundColor = e.backgroundColor), e.fontSize && (S.fontSize = typeof e.fontSize == "number" ? px2vw(e.fontSize) : e.fontSize), e.fontWeight && (S.fontWeight = e.fontWeight.toString()), e.fontStyle && (S.fontStyle = e.fontStyle);
1652
- let C = buildFontFamily(e.fontFamily, e.package, e.fontFamilyFallback);
1653
- if (C && (S.fontFamily = C), e.letterSpacing && (S.letterSpacing = px2vw(e.letterSpacing)), e.wordSpacing && (S.wordSpacing = px2vw(e.wordSpacing)), e.height && (S.lineHeight = e.height.toString()), e.decoration && (S.textDecoration = e.decoration), e.decorationColor && (S.textDecorationColor = e.decorationColor), e.decorationStyle && (S.textDecorationStyle = e.decorationStyle), e.decorationThickness && (S.textDecorationThickness = px2vw(e.decorationThickness)), e.overflow) switch (e.overflow) {
1759
+ let C = {};
1760
+ 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);
1761
+ let w = buildFontFamily(e.fontFamily, e.package, e.fontFamilyFallback);
1762
+ 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) {
1654
1763
  case TextOverflow.ellipsis:
1655
- S.overflow = "hidden", S.textOverflow = "ellipsis", S.whiteSpace = "nowrap";
1764
+ C.overflow = "hidden", C.textOverflow = "ellipsis", C.whiteSpace = "nowrap";
1656
1765
  break;
1657
1766
  case TextOverflow.clip:
1658
- S.overflow = "hidden";
1767
+ C.overflow = "hidden";
1659
1768
  break;
1660
1769
  case TextOverflow.visible:
1661
- S.overflow = "visible";
1770
+ C.overflow = "visible";
1662
1771
  break;
1663
1772
  case TextOverflow.fade:
1664
- S.overflow = "hidden", S.whiteSpace = "nowrap", S.maskImage = "linear-gradient(to right, black 80%, transparent 100%)";
1773
+ C.overflow = "hidden", C.whiteSpace = "nowrap", C.maskImage = "linear-gradient(to right, black 80%, transparent 100%)";
1665
1774
  break;
1666
1775
  }
1667
- return e.shadows && e.shadows.length > 0 && (S.textShadow = e.shadows.map((e) => {
1668
- let S = e.offsetX || 0, C = e.offsetY || 0, w = e.blurRadius || 0, T = e.color || "rgba(0,0,0,0.5)";
1669
- return `${px2vw(S)} ${px2vw(C)} ${px2vw(w)} ${T}`;
1670
- }).join(", ")), e.fontFeatures && (S.fontFeatureSettings = JSON.stringify(e.fontFeatures)), e.fontVariations && (S.fontVariationSettings = JSON.stringify(e.fontVariations)), S;
1776
+ return e.shadows && e.shadows.length > 0 && (C.textShadow = e.shadows.map((e) => {
1777
+ let C = e.offsetX || 0, w = e.offsetY || 0, T = e.blurRadius || 0, E = e.color || "rgba(0,0,0,0.5)";
1778
+ return `${px2vw(C)} ${px2vw(w)} ${px2vw(T)} ${E}`;
1779
+ }).join(", ")), e.fontFeatures && (C.fontFeatureSettings = JSON.stringify(e.fontFeatures)), e.fontVariations && (C.fontVariationSettings = JSON.stringify(e.fontVariations)), C;
1671
1780
  }
1672
- function TextStyle(e = {}, S = {}) {
1781
+ function TextStyle(e = {}, C = {}) {
1673
1782
  return {
1674
- ...S,
1783
+ ...C,
1675
1784
  ...e,
1676
1785
  [TEXT_STYLE_SYMBOL]: !0
1677
1786
  };
@@ -1697,16 +1806,16 @@ var Text_default = /* @__PURE__ */ defineComponent({
1697
1806
  tag: { default: "span" }
1698
1807
  },
1699
1808
  setup(e) {
1700
- let S = useStyles(), C = e, w = useGestureEvents(), D = computed(() => S.value.pointerEvents == "none" ? {} : w || {}), O = computed(() => {
1701
- let e = C.data;
1809
+ let C = useStyles(), w = e, T = useGestureEvents(), O = computed(() => C.value.pointerEvents == "none" ? {} : T || {}), k = computed(() => {
1810
+ let e = w.data;
1702
1811
  return !isUndefined(e) && e != null ? e.toString() : "";
1703
- }), k = useGestureStyle(), A = computed(() => {
1704
- let e = C.style ? toCSSStyle(C.style) : {};
1705
- C.textAlign && (e.textAlign = C.textAlign), C.textDirection && (e.direction = C.textDirection), C.softWrap === !1 && (e.whiteSpace = "nowrap");
1706
- let S = C.overflow ?? C.style?.overflow;
1707
- if (S) switch (S) {
1812
+ }), A = useGestureStyle(), j = computed(() => {
1813
+ let e = w.style ? toCSSStyle(w.style) : {};
1814
+ w.textAlign && (e.textAlign = w.textAlign), w.textDirection && (e.direction = w.textDirection), w.softWrap === !1 && (e.whiteSpace = "nowrap");
1815
+ let C = w.overflow ?? w.style?.overflow;
1816
+ if (C) switch (C) {
1708
1817
  case TextOverflow.ellipsis:
1709
- e.textOverflow = "ellipsis", e.overflow = "hidden", C.softWrap === !1 && (e.whiteSpace = "nowrap");
1818
+ e.textOverflow = "ellipsis", e.overflow = "hidden", w.softWrap === !1 && (e.whiteSpace = "nowrap");
1710
1819
  break;
1711
1820
  case TextOverflow.clip:
1712
1821
  e.overflow = "hidden", e.textOverflow = "clip";
@@ -1718,10 +1827,10 @@ var Text_default = /* @__PURE__ */ defineComponent({
1718
1827
  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%)";
1719
1828
  break;
1720
1829
  }
1721
- return C.maxLines && C.maxLines > 0 ? (e.overflow = "hidden", e.display = "-webkit-box", e.WebkitBoxOrient = "vertical", e.WebkitLineClamp = C.maxLines.toString(), C.softWrap !== !1 && (e.whiteSpace = "normal")) : e.display ||= C.tag === "span" ? "inline-block" : "block", Object.assign(e, k), e;
1830
+ 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;
1722
1831
  });
1723
- return (S, C) => (openBlock(), createBlock(resolveDynamicComponent(e.tag), mergeProps({ style: A.value }, D.value), {
1724
- default: withCtx(() => [renderSlot(S.$slots, "default", {}, () => [createTextVNode(toDisplayString(O.value), 1)])]),
1832
+ return (C, w) => (openBlock(), createBlock(resolveDynamicComponent(e.tag), mergeProps({ style: j.value }, O.value), {
1833
+ default: withCtx(() => [renderSlot(C.$slots, "default", {}, () => [createTextVNode(toDisplayString(k.value), 1)])]),
1725
1834
  _: 3
1726
1835
  }, 16, ["style"]));
1727
1836
  }
@@ -1746,7 +1855,7 @@ function UnderlineInputBorder(e = {}) {
1746
1855
  isOutline: !1
1747
1856
  };
1748
1857
  }
1749
- var _hoisted_1 = {
1858
+ var _hoisted_1$1 = {
1750
1859
  key: 1,
1751
1860
  class: "fluekit-input-suffix"
1752
1861
  }, _hoisted_2 = {
@@ -1801,78 +1910,78 @@ var _hoisted_1 = {
1801
1910
  "blur",
1802
1911
  "submit"
1803
1912
  ],
1804
- setup(e, { emit: S }) {
1805
- let C = e, w = S, A = ref(null), M = ref(!1), N = ref(null), P = ref(0), V = null, H = () => {
1806
- let e = A.value;
1913
+ setup(e, { emit: C }) {
1914
+ let w = e, T = C, j = ref(null), N = ref(!1), P = ref(null), F = ref(0), I = null, H = () => {
1915
+ let e = j.value;
1807
1916
  if (!e || !U.value) return;
1808
- if (!C.autoGrow) {
1917
+ if (!w.autoGrow) {
1809
1918
  e.style.height = "", e.style.minHeight = "", e.style.maxHeight = "";
1810
1919
  return;
1811
1920
  }
1812
- let S = window.getComputedStyle(e), w = parseFloat(S.lineHeight || "0") || parseFloat(S.fontSize || "16") * 1.2, T = (C.minLines || 1) * w;
1813
- if (e.style.minHeight = `${Math.round(T)}px`, C.maxLines && C.maxLines > 1) {
1814
- let S = C.maxLines * w;
1815
- e.style.maxHeight = `${Math.round(S)}px`;
1921
+ let C = window.getComputedStyle(e), T = parseFloat(C.lineHeight || "0") || parseFloat(C.fontSize || "16") * 1.2, E = (w.minLines || 1) * T;
1922
+ if (e.style.minHeight = `${Math.round(E)}px`, w.maxLines && w.maxLines > 1) {
1923
+ let C = w.maxLines * T;
1924
+ e.style.maxHeight = `${Math.round(C)}px`;
1816
1925
  } else e.style.maxHeight = "";
1817
- e.style.height = "auto", e.style.height = `${Math.max(Math.round(T), e.scrollHeight)}px`;
1926
+ e.style.height = "auto", e.style.height = `${Math.max(Math.round(E), e.scrollHeight)}px`;
1818
1927
  };
1819
1928
  onMounted(() => {
1820
- N.value && (V = new ResizeObserver(() => {
1821
- P.value = Math.round(N.value.getBoundingClientRect().width);
1822
- }), V.observe(N.value), P.value = Math.round(N.value.getBoundingClientRect().width)), nextTick(H);
1929
+ P.value && (I = new ResizeObserver(() => {
1930
+ F.value = Math.round(P.value.getBoundingClientRect().width);
1931
+ }), I.observe(P.value), F.value = Math.round(P.value.getBoundingClientRect().width)), nextTick(H);
1823
1932
  }), onBeforeUnmount(() => {
1824
- V &&= (V.disconnect(), null);
1933
+ I &&= (I.disconnect(), null);
1825
1934
  });
1826
- let U = computed(() => C.maxLines === null || C.maxLines > 1 || C.keyboardType === "multiline"), W = computed(() => {
1827
- if (!U.value) return C.obscureText ? "password" : C.keyboardType === "number" ? "number" : "text";
1828
- }), G = computed(() => M.value || C.modelValue !== "" && C.modelValue !== null && C.modelValue !== void 0), K = computed(() => C.decoration?.labelText && !G.value ? "" : C.decoration?.hintText || "");
1829
- watch(() => C.modelValue, () => nextTick(H)), watch(U, (e) => e && nextTick(H)), watch(() => C.maxLines, () => nextTick(H)), watch(() => C.minLines, () => nextTick(H)), watch(() => C.autoGrow, () => nextTick(H));
1830
- let q = computed(() => C.decoration?.errorText && C.decoration.errorBorder ? C.decoration.errorBorder : !C.enabled && C.decoration?.disabledBorder ? C.decoration.disabledBorder : M.value && C.decoration?.focusedBorder ? C.decoration.focusedBorder : C.enabled && C.decoration?.enabledBorder ? C.decoration.enabledBorder : C.decoration?.border), J = computed(() => {
1935
+ let U = computed(() => w.maxLines === null || w.maxLines > 1 || w.keyboardType === "multiline"), W = computed(() => {
1936
+ if (!U.value) return w.obscureText ? "password" : w.keyboardType === "number" ? "number" : "text";
1937
+ }), G = computed(() => N.value || w.modelValue !== "" && w.modelValue !== null && w.modelValue !== void 0), K = computed(() => w.decoration?.labelText && !G.value ? "" : w.decoration?.hintText || "");
1938
+ 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));
1939
+ 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(() => {
1831
1940
  let e = {
1832
1941
  display: "flex",
1833
1942
  alignItems: U.value ? "flex-start" : "center",
1834
1943
  position: "relative",
1835
1944
  transition: "all 0.2s ease"
1836
- }, S = q.value || UnderlineInputBorder();
1837
- if (S.isOutline) {
1838
- let C = S.borderSide || BorderSide({
1945
+ }, C = q.value || UnderlineInputBorder();
1946
+ if (C.isOutline) {
1947
+ let w = C.borderSide || BorderSide({
1839
1948
  width: 1,
1840
1949
  color: "#888"
1841
- }), w = S.borderRadius || BorderRadius.all(4);
1842
- Object.assign(e, borderSideToStyle(C)), Object.assign(e, borderRadiusToStyle(w)), e.padding = "8px 12px";
1950
+ }), T = C.borderRadius || BorderRadius.all(4);
1951
+ Object.assign(e, borderSideToStyle(w)), Object.assign(e, borderRadiusToStyle(T)), e.padding = "8px 12px";
1843
1952
  } else {
1844
- let C = S.borderSide || BorderSide({
1953
+ let w = C.borderSide || BorderSide({
1845
1954
  width: 1,
1846
1955
  color: "#888"
1847
1956
  });
1848
- e.borderBottom = `${C.width}px ${C.style || "solid"} ${C.color}`, e.borderRadius = "0", e.padding = "4px 0";
1957
+ e.borderBottom = `${w.width}px ${w.style || "solid"} ${w.color}`, e.borderRadius = "0", e.padding = "4px 0";
1849
1958
  }
1850
- return C.decoration?.filled && (e.backgroundColor = C.decoration.fillColor || "#f0f0f0"), e;
1959
+ return w.decoration?.filled && (e.backgroundColor = w.decoration.fillColor || "#f0f0f0"), e;
1851
1960
  }), Y = computed(() => {
1852
- let e = { ...toCSSStyle(C.style) };
1853
- return C.cursorColor && (e.caretColor = C.cursorColor), C.textAlign && (e.textAlign = C.textAlign), e;
1961
+ let e = { ...toCSSStyle(w.style) };
1962
+ return w.cursorColor && (e.caretColor = w.cursorColor), w.textAlign && (e.textAlign = w.textAlign), e;
1854
1963
  }), X = computed(() => {
1855
1964
  let e = {
1856
1965
  position: "absolute",
1857
- left: `${(q.value?.isOutline ? 12 : 0) + (P.value || 0)}px`,
1966
+ left: `${(q.value?.isOutline ? 12 : 0) + (F.value || 0)}px`,
1858
1967
  top: q.value?.isOutline ? "50%" : "0",
1859
1968
  transform: "translateY(-50%)",
1860
1969
  pointerEvents: "none",
1861
1970
  transition: "all 0.2s ease",
1862
1971
  color: "#666",
1863
- ...toCSSStyle(C.decoration?.labelStyle)
1972
+ ...toCSSStyle(w.decoration?.labelStyle)
1864
1973
  };
1865
- return G.value && (e.top = "0", e.transform = "translateY(-100%) scale(0.75)", e.transformOrigin = "left bottom", M.value && (e.color = "#2196F3")), e;
1974
+ return G.value && (e.top = "0", e.transform = "translateY(-100%) scale(0.75)", e.transformOrigin = "left bottom", N.value && (e.color = "#2196F3")), e;
1866
1975
  }), Z = (e) => {
1867
- let S = e.target;
1868
- w("update:modelValue", S.value), nextTick(H);
1976
+ let C = e.target;
1977
+ T("update:modelValue", C.value), nextTick(H);
1869
1978
  }, Q = (e) => {
1870
- M.value = !0, w("focus", e);
1979
+ N.value = !0, T("focus", e);
1871
1980
  }, $ = (e) => {
1872
- M.value = !1, w("blur", e);
1981
+ N.value = !1, T("blur", e);
1873
1982
  };
1874
- return (S, C) => (openBlock(), createElementBlock("div", { class: normalizeClass(["fluekit-text-field", {
1875
- "is-focused": M.value,
1983
+ return (C, w) => (openBlock(), createElementBlock("div", { class: normalizeClass(["fluekit-text-field", {
1984
+ "is-focused": N.value,
1876
1985
  "is-disabled": !e.enabled,
1877
1986
  "has-error": !!e.decoration?.errorText
1878
1987
  }]) }, [
@@ -1885,15 +1994,15 @@ var _hoisted_1 = {
1885
1994
  class: "fluekit-input-container",
1886
1995
  style: normalizeStyle(J.value)
1887
1996
  }, [
1888
- S.$slots.prefix || e.decoration?.prefixText ? (openBlock(), createElementBlock("div", {
1997
+ C.$slots.prefix || e.decoration?.prefixText ? (openBlock(), createElementBlock("div", {
1889
1998
  key: 0,
1890
1999
  class: "fluekit-input-prefix",
1891
2000
  ref_key: "prefixRef",
1892
- ref: N
1893
- }, [renderSlot(S.$slots, "prefix", {}, () => [createTextVNode(toDisplayString(e.decoration?.prefixText), 1)], !0)], 512)) : createCommentVNode("", !0),
2001
+ ref: P
2002
+ }, [renderSlot(C.$slots, "prefix", {}, () => [createTextVNode(toDisplayString(e.decoration?.prefixText), 1)], !0)], 512)) : createCommentVNode("", !0),
1894
2003
  (openBlock(), createBlock(resolveDynamicComponent(U.value ? "textarea" : "input"), mergeProps({
1895
2004
  ref_key: "inputRef",
1896
- ref: A,
2005
+ ref: j,
1897
2006
  class: "fluekit-input-element",
1898
2007
  value: e.modelValue,
1899
2008
  disabled: !e.enabled,
@@ -1906,7 +2015,7 @@ var _hoisted_1 = {
1906
2015
  autocapitalize: e.textCapitalization,
1907
2016
  enterkeyhint: e.textInputAction,
1908
2017
  autocorrect: e.autocorrect ? "on" : "off"
1909
- }, S.$attrs, {
2018
+ }, C.$attrs, {
1910
2019
  onInput: Z,
1911
2020
  onFocus: Q,
1912
2021
  onBlur: $
@@ -1923,7 +2032,7 @@ var _hoisted_1 = {
1923
2032
  "enterkeyhint",
1924
2033
  "autocorrect"
1925
2034
  ])),
1926
- S.$slots.suffix || e.decoration?.suffixText ? (openBlock(), createElementBlock("div", _hoisted_1, [renderSlot(S.$slots, "suffix", {}, () => [createTextVNode(toDisplayString(e.decoration?.suffixText), 1)], !0)])) : createCommentVNode("", !0)
2035
+ 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)
1927
2036
  ], 4),
1928
2037
  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", {
1929
2038
  key: 0,
@@ -1936,16 +2045,16 @@ var _hoisted_1 = {
1936
2045
  __name: "TextArea",
1937
2046
  props: { maxLines: { default: 4 } },
1938
2047
  setup(e) {
1939
- return (S, C) => (openBlock(), createBlock(TextField_default, mergeProps(S.$attrs, {
2048
+ return (C, w) => (openBlock(), createBlock(TextField_default, mergeProps(C.$attrs, {
1940
2049
  "max-lines": e.maxLines,
1941
2050
  "keyboard-type": "multiline"
1942
- }), createSlots({ _: 2 }, [S.$slots.prefix ? {
2051
+ }), createSlots({ _: 2 }, [C.$slots.prefix ? {
1943
2052
  name: "prefix",
1944
- fn: withCtx(() => [renderSlot(S.$slots, "prefix")]),
2053
+ fn: withCtx(() => [renderSlot(C.$slots, "prefix")]),
1945
2054
  key: "0"
1946
- } : void 0, S.$slots.suffix ? {
2055
+ } : void 0, C.$slots.suffix ? {
1947
2056
  name: "suffix",
1948
- fn: withCtx(() => [renderSlot(S.$slots, "suffix")]),
2057
+ fn: withCtx(() => [renderSlot(C.$slots, "suffix")]),
1949
2058
  key: "1"
1950
2059
  } : void 0]), 1040, ["max-lines"]));
1951
2060
  }
@@ -1958,18 +2067,18 @@ var _hoisted_1 = {
1958
2067
  origin: {}
1959
2068
  },
1960
2069
  setup(e) {
1961
- let S = e, C = computed(() => {
2070
+ let C = e, w = computed(() => {
1962
2071
  let e = {
1963
- transform: S.transform,
2072
+ transform: C.transform,
1964
2073
  display: "flex",
1965
2074
  flexDirection: "column",
1966
2075
  flexShrink: 0
1967
2076
  };
1968
- return S.origin ? e.transformOrigin = S.origin : S.alignment && (e.transformOrigin = alignmentToOrigin(S.alignment)), e;
2077
+ return C.origin ? e.transformOrigin = C.origin : C.alignment && (e.transformOrigin = alignmentToOrigin(C.alignment)), e;
1969
2078
  });
1970
- return (e, S) => (openBlock(), createElementBlock("div", {
2079
+ return (e, C) => (openBlock(), createElementBlock("div", {
1971
2080
  class: "flutter-transform",
1972
- style: normalizeStyle(C.value)
2081
+ style: normalizeStyle(w.value)
1973
2082
  }, [renderSlot(e.$slots, "default", {}, void 0, !0)], 4));
1974
2083
  }
1975
2084
  }), [["__scopeId", "data-v-7e66ebaa"]]), Wrap_default = /* @__PURE__ */ defineComponent({
@@ -1986,32 +2095,671 @@ var _hoisted_1 = {
1986
2095
  clipBehavior: { default: "none" }
1987
2096
  },
1988
2097
  setup(e) {
1989
- let S = e, C = {
2098
+ let C = e, w = {
1990
2099
  start: "flex-start",
1991
2100
  end: "flex-end",
1992
2101
  center: "center",
1993
2102
  spaceBetween: "space-between",
1994
2103
  spaceAround: "space-around",
1995
2104
  spaceEvenly: "space-evenly"
1996
- }, w = {
2105
+ }, T = {
1997
2106
  start: "flex-start",
1998
2107
  end: "flex-end",
1999
2108
  center: "center"
2000
- }, E = computed(() => ({
2109
+ }, D = computed(() => ({
2001
2110
  display: "flex",
2002
2111
  flexWrap: "wrap",
2003
- flexDirection: S.direction === "horizontal" ? S.verticalDirection === "down" ? "row" : "row-reverse" : S.verticalDirection === "down" ? "column" : "column-reverse",
2004
- justifyContent: C[S.alignment],
2005
- alignContent: C[S.runAlignment],
2006
- alignItems: w[S.crossAxisAlignment],
2007
- gap: `${px2vw(S.runSpacing)} ${px2vw(S.spacing)}`,
2008
- overflow: S.clipBehavior === "none" ? "visible" : "hidden"
2112
+ flexDirection: C.direction === "horizontal" ? C.verticalDirection === "down" ? "row" : "row-reverse" : C.verticalDirection === "down" ? "column" : "column-reverse",
2113
+ justifyContent: w[C.alignment],
2114
+ alignContent: w[C.runAlignment],
2115
+ alignItems: T[C.crossAxisAlignment],
2116
+ gap: `${px2vw(C.runSpacing)} ${px2vw(C.spacing)}`,
2117
+ overflow: C.clipBehavior === "none" ? "visible" : "hidden"
2009
2118
  }));
2010
- return (e, S) => (openBlock(), createElementBlock("div", {
2119
+ return (e, C) => (openBlock(), createElementBlock("div", {
2011
2120
  class: "flutter-wrap",
2012
- style: normalizeStyle(E.value)
2121
+ style: normalizeStyle(D.value)
2013
2122
  }, [renderSlot(e.$slots, "default")], 4));
2014
2123
  }
2015
- });
2124
+ }), Divider_default = /* @__PURE__ */ defineComponent({
2125
+ __name: "Divider",
2126
+ props: {
2127
+ height: { default: 16 },
2128
+ thickness: { default: 1 },
2129
+ indent: { default: 0 },
2130
+ endIndent: { default: 0 },
2131
+ color: { default: "#e0e0e0" },
2132
+ vertical: {
2133
+ type: Boolean,
2134
+ default: !1
2135
+ }
2136
+ },
2137
+ setup(e) {
2138
+ let C = e, w = computed(() => C.vertical ? EdgeInsets.only({
2139
+ top: C.indent,
2140
+ bottom: C.endIndent
2141
+ }) : EdgeInsets.only({
2142
+ left: C.indent,
2143
+ right: C.endIndent
2144
+ }));
2145
+ return (C, T) => (openBlock(), createBlock(SizedBox_default, {
2146
+ width: e.vertical ? e.thickness : e.indent + e.endIndent,
2147
+ height: e.vertical ? e.indent + e.endIndent : e.thickness
2148
+ }, {
2149
+ default: withCtx(() => [createVNode(Container_default, {
2150
+ width: e.vertical ? e.thickness : void 0,
2151
+ height: e.vertical ? void 0 : e.thickness,
2152
+ margin: w.value,
2153
+ color: e.color
2154
+ }, null, 8, [
2155
+ "width",
2156
+ "height",
2157
+ "margin",
2158
+ "color"
2159
+ ])]),
2160
+ _: 1
2161
+ }, 8, ["width", "height"]));
2162
+ }
2163
+ }), Spacer_default = /* @__PURE__ */ defineComponent({
2164
+ __name: "Spacer",
2165
+ props: { flex: { default: 1 } },
2166
+ setup(e) {
2167
+ return (C, w) => (openBlock(), createBlock(Expanded_default, { flex: e.flex }, null, 8, ["flex"]));
2168
+ }
2169
+ }), ClipRRect_default = /* @__PURE__ */ defineComponent({
2170
+ __name: "ClipRRect",
2171
+ props: {
2172
+ borderRadius: {},
2173
+ clipBehavior: { default: "antiAlias" }
2174
+ },
2175
+ setup(e) {
2176
+ let C = e, w = computed(() => {
2177
+ if (C.borderRadius) return BoxDecoration({ borderRadius: C.borderRadius });
2178
+ });
2179
+ return (C, T) => (openBlock(), createBlock(Container_default, {
2180
+ "clip-behavior": e.clipBehavior,
2181
+ decoration: w.value
2182
+ }, {
2183
+ default: withCtx(() => [renderSlot(C.$slots, "default")]),
2184
+ _: 3
2185
+ }, 8, ["clip-behavior", "decoration"]));
2186
+ }
2187
+ }), ClipOval_default = /* @__PURE__ */ defineComponent({
2188
+ __name: "ClipOval",
2189
+ props: { clipBehavior: { default: "antiAlias" } },
2190
+ setup(e) {
2191
+ let C = computed(() => BoxDecoration({ shape: BoxShape.circle }));
2192
+ return (w, T) => (openBlock(), createBlock(Container_default, {
2193
+ "clip-behavior": e.clipBehavior,
2194
+ decoration: C.value
2195
+ }, {
2196
+ default: withCtx(() => [renderSlot(w.$slots, "default")]),
2197
+ _: 3
2198
+ }, 8, ["clip-behavior", "decoration"]));
2199
+ }
2200
+ }), ListTile_default = /* @__PURE__ */ defineComponent({
2201
+ __name: "ListTile",
2202
+ props: {
2203
+ leading: {},
2204
+ title: {},
2205
+ subtitle: {},
2206
+ trailing: {},
2207
+ onTap: {},
2208
+ onLongPress: {},
2209
+ enabled: {
2210
+ type: Boolean,
2211
+ default: !0
2212
+ },
2213
+ selected: {
2214
+ type: Boolean,
2215
+ default: !1
2216
+ },
2217
+ tileColor: {},
2218
+ selectedColor: { default: "rgba(33, 150, 243, 0.12)" },
2219
+ iconColor: {},
2220
+ textColor: {},
2221
+ contentPadding: {},
2222
+ dense: {
2223
+ type: Boolean,
2224
+ default: !1
2225
+ }
2226
+ },
2227
+ setup(e) {
2228
+ let C = e, w = computed(() => TextStyle({
2229
+ fontSize: C.dense ? 13 : 16,
2230
+ color: C.textColor || (C.enabled ? "rgba(0,0,0,0.87)" : "rgba(0,0,0,0.38)"),
2231
+ fontWeight: C.selected ? FontWeight.w600 : FontWeight.w400
2232
+ })), T = computed(() => TextStyle({
2233
+ fontSize: C.dense ? 12 : 14,
2234
+ color: C.textColor || (C.enabled ? "rgba(0,0,0,0.6)" : "rgba(0,0,0,0.38)")
2235
+ }));
2236
+ return (C, E) => (openBlock(), createBlock(GestureDetector_default, {
2237
+ "on-tap": e.onTap,
2238
+ "on-long-press": e.onLongPress
2239
+ }, {
2240
+ default: withCtx(() => [createVNode(Container_default, {
2241
+ color: e.selected ? e.selectedColor : e.tileColor || "transparent",
2242
+ padding: e.contentPadding || unref(EdgeInsets).symmetric({
2243
+ horizontal: 16,
2244
+ vertical: 12
2245
+ })
2246
+ }, {
2247
+ default: withCtx(() => [createVNode(Row_default, {
2248
+ "cross-axis-alignment": "center",
2249
+ gap: 16
2250
+ }, {
2251
+ default: withCtx(() => [
2252
+ renderSlot(C.$slots, "leading", {}, () => [e.leading ? (openBlock(), createBlock(resolveDynamicComponent(e.leading), { key: 0 })) : createCommentVNode("", !0)]),
2253
+ createVNode(Expanded_default, null, {
2254
+ default: withCtx(() => [createVNode(Column_default, {
2255
+ "cross-axis-alignment": "start",
2256
+ gap: 4
2257
+ }, {
2258
+ default: withCtx(() => [renderSlot(C.$slots, "title", {}, () => [e.title ? (openBlock(), createBlock(Text_default, {
2259
+ key: 0,
2260
+ data: e.title,
2261
+ style: normalizeStyle(w.value)
2262
+ }, null, 8, ["data", "style"])) : createCommentVNode("", !0)]), renderSlot(C.$slots, "subtitle", {}, () => [e.subtitle ? (openBlock(), createBlock(Text_default, {
2263
+ key: 0,
2264
+ data: e.subtitle,
2265
+ style: normalizeStyle(T.value)
2266
+ }, null, 8, ["data", "style"])) : createCommentVNode("", !0)])]),
2267
+ _: 3
2268
+ })]),
2269
+ _: 3
2270
+ }),
2271
+ renderSlot(C.$slots, "trailing", {}, () => [e.trailing ? (openBlock(), createBlock(resolveDynamicComponent(e.trailing), { key: 0 })) : createCommentVNode("", !0)])
2272
+ ]),
2273
+ _: 3
2274
+ })]),
2275
+ _: 3
2276
+ }, 8, ["color", "padding"])]),
2277
+ _: 3
2278
+ }, 8, ["on-tap", "on-long-press"]));
2279
+ }
2280
+ }), InkWell_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
2281
+ inheritAttrs: !1,
2282
+ __name: "InkWell",
2283
+ props: {
2284
+ onTap: {},
2285
+ splashColor: { default: "rgba(0, 0, 0, 0.1)" },
2286
+ highlightColor: {},
2287
+ borderRadius: {}
2288
+ },
2289
+ setup(e) {
2290
+ let w = e, T = ref([]), E = 0, D = (e) => {
2291
+ if (!w.onTap) return;
2292
+ w.onTap();
2293
+ let C = e.currentTarget.getBoundingClientRect(), D = Math.max(C.width, C.height), O = e.clientX - C.left - D / 2, k = e.clientY - C.top - D / 2, A = E++, j = {
2294
+ width: `${D}px`,
2295
+ height: `${D}px`,
2296
+ top: `${k}px`,
2297
+ left: `${O}px`,
2298
+ backgroundColor: w.splashColor
2299
+ };
2300
+ T.value.push({
2301
+ id: A,
2302
+ style: j
2303
+ }), setTimeout(() => {
2304
+ T.value = T.value.filter((e) => e.id !== A);
2305
+ }, 600);
2306
+ };
2307
+ return (w, E) => (openBlock(), createElementBlock("div", mergeProps({
2308
+ class: ["ink-well", { disabled: !e.onTap }],
2309
+ onClick: D
2310
+ }, w.$attrs), [renderSlot(w.$slots, "default", {}, void 0, !0), (openBlock(!0), createElementBlock(Fragment, null, renderList(T.value, (e) => (openBlock(), createElementBlock("span", {
2311
+ key: e.id,
2312
+ class: "ripple",
2313
+ style: normalizeStyle(e.style)
2314
+ }, null, 4))), 128))], 16));
2315
+ }
2316
+ }), [["__scopeId", "data-v-290d8278"]]), Switch_default = /* @__PURE__ */ defineComponent({
2317
+ __name: "Switch",
2318
+ props: {
2319
+ value: { type: Boolean },
2320
+ onChanged: {},
2321
+ activeColor: { default: "#2196F3" },
2322
+ activeTrackColor: { default: "#BBDEFB" },
2323
+ inactiveThumbColor: { default: "#FAFAFA" },
2324
+ inactiveTrackColor: { default: "#9E9E9E" }
2325
+ },
2326
+ emits: ["update:value"],
2327
+ setup(e, { emit: C }) {
2328
+ let w = e, T = C, O = () => {
2329
+ w.onChanged && w.onChanged(!w.value), T("update:value", !w.value);
2330
+ }, k = computed(() => BoxDecoration({
2331
+ color: w.value ? w.activeTrackColor : w.inactiveTrackColor,
2332
+ borderRadius: BorderRadius.circular(10)
2333
+ })), A = computed(() => BoxDecoration({
2334
+ color: w.value ? w.activeColor : w.inactiveThumbColor,
2335
+ shape: BoxShape.circle,
2336
+ boxShadow: [{
2337
+ color: "rgba(0,0,0,0.2)",
2338
+ blurRadius: 1,
2339
+ offset: {
2340
+ x: 0,
2341
+ y: 1
2342
+ }
2343
+ }]
2344
+ })), j = computed(() => EdgeInsets.only({ left: w.value ? 16 : 0 }));
2345
+ return (e, C) => (openBlock(), createBlock(GestureDetector_default, { "on-tap": O }, {
2346
+ default: withCtx(() => [createVNode(Container_default, {
2347
+ width: 36,
2348
+ height: 20,
2349
+ padding: unref(EdgeInsets).all(2),
2350
+ decoration: k.value
2351
+ }, {
2352
+ default: withCtx(() => [createVNode(AnimatedContainer_default, {
2353
+ duration: 200,
2354
+ width: 16,
2355
+ height: 16,
2356
+ margin: j.value,
2357
+ decoration: A.value
2358
+ }, null, 8, ["margin", "decoration"])]),
2359
+ _: 1
2360
+ }, 8, ["padding", "decoration"])]),
2361
+ _: 1
2362
+ }));
2363
+ }
2364
+ }), Checkbox_default = /* @__PURE__ */ defineComponent({
2365
+ __name: "Checkbox",
2366
+ props: {
2367
+ value: { type: Boolean },
2368
+ onChanged: {},
2369
+ activeColor: { default: "#2196F3" },
2370
+ checkColor: { default: "#FFFFFF" }
2371
+ },
2372
+ emits: ["update:value"],
2373
+ setup(e, { emit: C }) {
2374
+ let w = e, T = C, k = () => {
2375
+ let e = !w.value;
2376
+ w.onChanged && w.onChanged(e), T("update:value", e);
2377
+ }, A = computed(() => BoxDecoration({
2378
+ color: w.value ? w.activeColor : "transparent",
2379
+ border: w.value ? void 0 : Border.all({
2380
+ color: "rgba(0,0,0,0.54)",
2381
+ width: 2,
2382
+ style: "solid"
2383
+ }),
2384
+ borderRadius: BorderRadius.circular(2)
2385
+ }));
2386
+ return (C, w) => (openBlock(), createBlock(GestureDetector_default, { "on-tap": k }, {
2387
+ default: withCtx(() => [createVNode(Container_default, {
2388
+ width: 18,
2389
+ height: 18,
2390
+ decoration: A.value,
2391
+ alignment: "center"
2392
+ }, {
2393
+ default: withCtx(() => [e.value ? (openBlock(), createBlock(Container_default, {
2394
+ key: 0,
2395
+ width: 10,
2396
+ height: 10,
2397
+ color: "white",
2398
+ transform: "scale(1)"
2399
+ })) : createCommentVNode("", !0)]),
2400
+ _: 1
2401
+ }, 8, ["decoration"])]),
2402
+ _: 1
2403
+ }));
2404
+ }
2405
+ }), Radio_default = /* @__PURE__ */ defineComponent({
2406
+ __name: "Radio",
2407
+ props: {
2408
+ value: {},
2409
+ groupValue: {},
2410
+ onChanged: { type: Function },
2411
+ activeColor: {}
2412
+ },
2413
+ emits: ["update:groupValue"],
2414
+ setup(e, { emit: C }) {
2415
+ let w = e, T = C, k = computed(() => w.value === w.groupValue), A = () => {
2416
+ w.onChanged && w.onChanged(w.value), T("update:groupValue", w.value);
2417
+ }, j = computed(() => BoxDecoration({
2418
+ shape: BoxShape.circle,
2419
+ border: Border.all({
2420
+ color: k.value ? w.activeColor : "rgba(0,0,0,0.54)",
2421
+ width: 2,
2422
+ style: "solid"
2423
+ })
2424
+ })), M = computed(() => BoxDecoration({
2425
+ shape: BoxShape.circle,
2426
+ color: w.activeColor
2427
+ }));
2428
+ return (e, C) => (openBlock(), createBlock(GestureDetector_default, { "on-tap": A }, {
2429
+ default: withCtx(() => [createVNode(Container_default, {
2430
+ width: 20,
2431
+ height: 20,
2432
+ decoration: j.value,
2433
+ alignment: "center"
2434
+ }, {
2435
+ default: withCtx(() => [k.value ? (openBlock(), createBlock(Container_default, {
2436
+ key: 0,
2437
+ width: 10,
2438
+ height: 10,
2439
+ decoration: M.value
2440
+ }, null, 8, ["decoration"])) : createCommentVNode("", !0)]),
2441
+ _: 1
2442
+ }, 8, ["decoration"])]),
2443
+ _: 1
2444
+ }));
2445
+ }
2446
+ }), Slider_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
2447
+ __name: "Slider",
2448
+ props: {
2449
+ value: {},
2450
+ min: { default: 0 },
2451
+ max: { default: 100 },
2452
+ onChanged: {},
2453
+ activeColor: { default: "#2196F3" },
2454
+ inactiveColor: { default: "#BBDEFB" },
2455
+ thumbColor: { default: "#2196F3" }
2456
+ },
2457
+ emits: ["update:value"],
2458
+ setup(e, { emit: C }) {
2459
+ let w = e, T = C, D = ref(), O = computed(() => {
2460
+ let e = w.max - w.min;
2461
+ return e <= 0 ? 0 : (w.value - w.min) / e * 100;
2462
+ }), A = computed(() => `${O.value}%`), j = (e) => {
2463
+ if (!D.value) return;
2464
+ let C = D.value.getBoundingClientRect(), E = ((e.globalPosition ? e.globalPosition.x : e.detail?.globalPosition?.x || 0) - C.left) / C.width;
2465
+ E = Math.max(0, Math.min(1, E));
2466
+ let O = w.min + E * (w.max - w.min);
2467
+ w.onChanged && w.onChanged(O), T("update:value", O);
2468
+ }, M = computed(() => BoxDecoration({
2469
+ color: w.thumbColor,
2470
+ shape: BoxShape.circle,
2471
+ boxShadow: [BoxShadow({
2472
+ color: "rgba(0,0,0,0.2)",
2473
+ blurRadius: 2,
2474
+ offset: {
2475
+ x: 0,
2476
+ y: 1
2477
+ }
2478
+ })]
2479
+ }));
2480
+ return (C, w) => (openBlock(), createElementBlock("div", {
2481
+ class: "slider-container",
2482
+ ref_key: "trackRef",
2483
+ ref: D
2484
+ }, [createVNode(GestureDetector_default, {
2485
+ "on-pan-start": j,
2486
+ "on-pan-update": j,
2487
+ "on-tap-down": j
2488
+ }, {
2489
+ default: withCtx(() => [createVNode(Container_default, {
2490
+ height: 40,
2491
+ alignment: "centerLeft"
2492
+ }, {
2493
+ default: withCtx(() => [createVNode(Stack_default, { alignment: "centerLeft" }, {
2494
+ default: withCtx(() => [
2495
+ createVNode(Container_default, {
2496
+ width: "100%",
2497
+ height: 4,
2498
+ color: e.inactiveColor,
2499
+ "border-radius": unref(BorderRadius).circular(2)
2500
+ }, null, 8, ["color", "border-radius"]),
2501
+ createVNode(Container_default, {
2502
+ width: `${O.value}%`,
2503
+ height: 4,
2504
+ color: e.activeColor,
2505
+ "border-radius": unref(BorderRadius).circular(2)
2506
+ }, null, 8, [
2507
+ "width",
2508
+ "color",
2509
+ "border-radius"
2510
+ ]),
2511
+ createVNode(Container_default, {
2512
+ style: normalizeStyle({ marginLeft: A.value }),
2513
+ transform: "translate(-50%, 0)"
2514
+ }, {
2515
+ default: withCtx(() => [createVNode(Container_default, {
2516
+ width: 20,
2517
+ height: 20,
2518
+ decoration: M.value
2519
+ }, null, 8, ["decoration"])]),
2520
+ _: 1
2521
+ }, 8, ["style"])
2522
+ ]),
2523
+ _: 1
2524
+ })]),
2525
+ _: 1
2526
+ })]),
2527
+ _: 1
2528
+ })], 512));
2529
+ }
2530
+ }), [["__scopeId", "data-v-422f79d9"]]), AlertDialog_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
2531
+ __name: "AlertDialog",
2532
+ props: {
2533
+ visible: {
2534
+ type: Boolean,
2535
+ default: !1
2536
+ },
2537
+ title: {},
2538
+ content: {},
2539
+ barrierDismissible: {
2540
+ type: Boolean,
2541
+ default: !0
2542
+ }
2543
+ },
2544
+ emits: ["update:visible", "close"],
2545
+ setup(e, { emit: C }) {
2546
+ let w = C, T = () => {
2547
+ w("update:visible", !1), w("close");
2548
+ }, A = computed(() => BoxDecoration({
2549
+ color: "white",
2550
+ borderRadius: BorderRadius.circular(4),
2551
+ boxShadow: [{
2552
+ color: "rgba(0,0,0,0.2)",
2553
+ blurRadius: 24,
2554
+ offset: {
2555
+ x: 0,
2556
+ y: 11
2557
+ }
2558
+ }]
2559
+ }));
2560
+ return (C, w) => e.visible ? (openBlock(), createElementBlock("div", {
2561
+ key: 0,
2562
+ class: "dialog-overlay",
2563
+ onClick: w[0] ||= withModifiers((C) => e.barrierDismissible ? T() : null, ["self"])
2564
+ }, [createVNode(Container_default, {
2565
+ margin: unref(EdgeInsets).all(40),
2566
+ padding: unref(EdgeInsets).all(24),
2567
+ decoration: A.value,
2568
+ constraints: unref(BoxConstraints)({ maxWidth: 400 })
2569
+ }, {
2570
+ default: withCtx(() => [createVNode(Column_default, {
2571
+ "main-axis-size": "min",
2572
+ "cross-axis-alignment": "start"
2573
+ }, {
2574
+ default: withCtx(() => [
2575
+ createVNode(Container_default, { margin: unref(EdgeInsets).only({ bottom: 16 }) }, {
2576
+ default: withCtx(() => [e.title ? (openBlock(), createBlock(Text_default, {
2577
+ key: 0,
2578
+ style: normalizeStyle({
2579
+ fontSize: 20,
2580
+ fontWeight: unref(FontWeight).bold
2581
+ })
2582
+ }, {
2583
+ default: withCtx(() => [createTextVNode(toDisplayString(e.title), 1)]),
2584
+ _: 1
2585
+ }, 8, ["style"])) : createCommentVNode("", !0)]),
2586
+ _: 1
2587
+ }, 8, ["margin"]),
2588
+ createVNode(Container_default, {
2589
+ margin: unref(EdgeInsets).only({ bottom: 24 }),
2590
+ class: "dialog-content"
2591
+ }, {
2592
+ default: withCtx(() => [e.content ? (openBlock(), createBlock(Text_default, {
2593
+ key: 0,
2594
+ style: {
2595
+ fontSize: 16,
2596
+ color: "rgba(0,0,0,0.6)"
2597
+ }
2598
+ }, {
2599
+ default: withCtx(() => [createTextVNode(toDisplayString(e.content), 1)]),
2600
+ _: 1
2601
+ })) : createCommentVNode("", !0), renderSlot(C.$slots, "default", {}, void 0, !0)]),
2602
+ _: 3
2603
+ }, 8, ["margin"]),
2604
+ createVNode(Row_default, {
2605
+ "main-axis-alignment": "end",
2606
+ gap: 8
2607
+ }, {
2608
+ default: withCtx(() => [renderSlot(C.$slots, "actions", {}, void 0, !0)]),
2609
+ _: 3
2610
+ })
2611
+ ]),
2612
+ _: 3
2613
+ })]),
2614
+ _: 3
2615
+ }, 8, [
2616
+ "margin",
2617
+ "padding",
2618
+ "decoration",
2619
+ "constraints"
2620
+ ])])) : createCommentVNode("", !0);
2621
+ }
2622
+ }), [["__scopeId", "data-v-0f7e54cc"]]), BottomSheet_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
2623
+ __name: "BottomSheet",
2624
+ props: {
2625
+ visible: {
2626
+ type: Boolean,
2627
+ default: !1
2628
+ },
2629
+ barrierDismissible: {
2630
+ type: Boolean,
2631
+ default: !0
2632
+ },
2633
+ backgroundColor: { default: "white" },
2634
+ elevation: { default: 8 },
2635
+ shape: {},
2636
+ padding: {}
2637
+ },
2638
+ emits: ["update:visible", "close"],
2639
+ setup(e, { emit: C }) {
2640
+ let w = e, T = C, D = () => {
2641
+ T("update:visible", !1), T("close");
2642
+ }, A = computed(() => BoxDecoration({
2643
+ color: w.backgroundColor,
2644
+ borderRadius: w.shape || BorderRadius.only({
2645
+ topLeft: 16,
2646
+ topRight: 16
2647
+ }),
2648
+ boxShadow: w.elevation > 0 ? [{
2649
+ color: "rgba(0,0,0,0.2)",
2650
+ blurRadius: w.elevation * 2,
2651
+ offset: {
2652
+ x: 0,
2653
+ y: -2
2654
+ }
2655
+ }] : void 0
2656
+ }));
2657
+ return (C, w) => e.visible ? (openBlock(), createElementBlock("div", {
2658
+ key: 0,
2659
+ class: "bottom-sheet-overlay",
2660
+ onClick: w[0] ||= withModifiers((C) => e.barrierDismissible ? D() : null, ["self"])
2661
+ }, [createVNode(Container_default, {
2662
+ class: "bottom-sheet-content",
2663
+ decoration: A.value,
2664
+ width: "100%",
2665
+ padding: e.padding
2666
+ }, {
2667
+ default: withCtx(() => [renderSlot(C.$slots, "default", {}, void 0, !0)]),
2668
+ _: 3
2669
+ }, 8, ["decoration", "padding"])])) : createCommentVNode("", !0);
2670
+ }
2671
+ }), [["__scopeId", "data-v-94a8f810"]]), _hoisted_1 = { class: "snackbar-overlay" }, SnackBarComponent_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
2672
+ __name: "SnackBarComponent",
2673
+ props: {
2674
+ content: {},
2675
+ actionLabel: {},
2676
+ onAction: {},
2677
+ onClose: {},
2678
+ duration: { default: 4e3 }
2679
+ },
2680
+ setup(e) {
2681
+ let C = e, w = () => {
2682
+ C.onAction && C.onAction(), C.onClose();
2683
+ };
2684
+ onMounted(() => {
2685
+ setTimeout(() => {
2686
+ C.onClose();
2687
+ }, C.duration);
2688
+ });
2689
+ let T = computed(() => BoxDecoration({
2690
+ color: "#323232",
2691
+ borderRadius: BorderRadius.circular(4),
2692
+ boxShadow: [{
2693
+ color: "rgba(0,0,0,0.2)",
2694
+ blurRadius: 6,
2695
+ offset: {
2696
+ x: 0,
2697
+ y: 2
2698
+ }
2699
+ }]
2700
+ }));
2701
+ return (C, E) => (openBlock(), createElementBlock("div", _hoisted_1, [createVNode(Container_default, {
2702
+ margin: unref(EdgeInsets).all(8),
2703
+ padding: unref(EdgeInsets).symmetric({
2704
+ horizontal: 16,
2705
+ vertical: 14
2706
+ }),
2707
+ decoration: T.value,
2708
+ width: "100%",
2709
+ constraints: unref(BoxConstraints)({ maxWidth: 600 })
2710
+ }, {
2711
+ default: withCtx(() => [createVNode(Row_default, {
2712
+ "main-axis-alignment": "spaceBetween",
2713
+ "cross-axis-alignment": "center"
2714
+ }, {
2715
+ default: withCtx(() => [createVNode(Text_default, { style: {
2716
+ color: "white",
2717
+ fontSize: 14
2718
+ } }, {
2719
+ default: withCtx(() => [createTextVNode(toDisplayString(e.content), 1)]),
2720
+ _: 1
2721
+ }), e.actionLabel ? (openBlock(), createBlock(GestureDetector_default, {
2722
+ key: 0,
2723
+ "on-tap": w
2724
+ }, {
2725
+ default: withCtx(() => [createVNode(Container_default, { margin: unref(EdgeInsets).only({ left: 16 }) }, {
2726
+ default: withCtx(() => [createVNode(Text_default, { style: normalizeStyle({
2727
+ color: "#2196F3",
2728
+ fontSize: 14,
2729
+ fontWeight: unref(FontWeight).bold
2730
+ }) }, {
2731
+ default: withCtx(() => [createTextVNode(toDisplayString(e.actionLabel.toUpperCase()), 1)]),
2732
+ _: 1
2733
+ }, 8, ["style"])]),
2734
+ _: 1
2735
+ }, 8, ["margin"])]),
2736
+ _: 1
2737
+ })) : createCommentVNode("", !0)]),
2738
+ _: 1
2739
+ })]),
2740
+ _: 1
2741
+ }, 8, [
2742
+ "margin",
2743
+ "padding",
2744
+ "decoration",
2745
+ "constraints"
2746
+ ])]));
2747
+ }
2748
+ }), [["__scopeId", "data-v-ecad7f1a"]]), SnackBar = class {
2749
+ static show(e) {
2750
+ let C = document.getElementById("fluekit-snackbar");
2751
+ C && (render(null, C), document.body.removeChild(C));
2752
+ let w = document.createElement("div");
2753
+ w.id = "fluekit-snackbar", document.body.appendChild(w), render(createVNode(SnackBarComponent_default, {
2754
+ content: e.content,
2755
+ actionLabel: e.actionLabel,
2756
+ onAction: e.onAction,
2757
+ duration: e.duration,
2758
+ onClose: () => {
2759
+ w.parentNode && (render(null, w), document.body.removeChild(w));
2760
+ }
2761
+ }), w);
2762
+ }
2763
+ };
2016
2764
  setTransform(!1);
2017
- export { Align_default as Align, Alignment, AnimatedContainer_default as AnimatedContainer, AnimatedOpacity_default as AnimatedOpacity, AssetImage, BlurStyle, Border, BorderRadius, BorderSide, BoxAlignment, BoxConstraints, BoxDecoration, BoxFit, BoxShadow, BoxShape, Button_default as Button, ButtonStyle, Center_default as Center, Clip, Column_default as Column, Container_default as Container, DecorationImage, EdgeInsets, Expanded_default as Expanded, Fixed_default as Fixed, FontStyle, FontWeight, GestureDetector_default as GestureDetector, GridView_default as GridView, IgnorePointer_default as IgnorePointer, Image_default as Image, LinearGradient, ListView_default as ListView, MemoryImage, NetworkImage, Opacity_default as Opacity, OutlineInputBorder, Padding_default as Padding, Positioned_default as Positioned, RadialGradient, Row_default as Row, SafeArea_default as SafeArea, ScrollView_default as ScrollView, Size, SizedBox_default as SizedBox, Stack_default as Stack, StackFit, Sticky_default as Sticky, Text_default as Text, TextAlign, TextArea_default as TextArea, TextBaseline, TextDecoration, TextDecorationStyle, TextDirection, TextField_default as TextField, TextOverflow, TextStyle, TileMode, Transform_default as Transform, UnderlineInputBorder, Wrap_default as Wrap, borderRadiusToStyle, borderSideToStyle, borderToStyle, boxConstraintsToStyle, boxDecorationToStyle, boxShadowToCSS, buttonStyleToStyle, createAssetImage, decorationImageToStyle, edgeInsetsToStyle, isBorderRadius, isBorderSide, isBorders, isBoxConstraints, isBoxDecoration, isBoxShadow, isEdgeInsets, isImageProvider, isTextStyle, marginToStyle, normalizeSrc, paddingToStyle, px2vw, setAssetBaseURL, setBaseUrl, setDefaultVW, setTransform, sizeToStyle, toCSSStyle as textStyleToCSSStyle, toCSSStyle };
2765
+ export { AlertDialog_default as AlertDialog, Align_default as Align, Alignment, AnimatedContainer_default as AnimatedContainer, AnimatedOpacity_default as AnimatedOpacity, AssetImage, BlurStyle, Border, BorderRadius, BorderSide, BottomSheet_default as BottomSheet, Box_default as Box, BoxAlignment, BoxConstraints, BoxDecoration, BoxFit, BoxShadow, BoxShape, Button_default as Button, ButtonStyle, Card_default as Card, Center_default as Center, Checkbox_default as Checkbox, Clip, ClipOval_default as ClipOval, ClipRRect_default as ClipRRect, Column_default as Column, Container_default as Container, CrossAxisAlignment, DecorationImage, Divider_default as Divider, EdgeInsets, Expanded_default as Expanded, Fixed_default as Fixed, FontStyle, FontWeight, GestureDetector_default as GestureDetector, GridView_default as GridView, IgnorePointer_default as IgnorePointer, Image_default as Image, InkWell_default as InkWell, LinearGradient, ListTile_default as ListTile, ListView_default as ListView, MainAxisAlignment, MemoryImage, NetworkImage, Opacity_default as Opacity, OutlineInputBorder, Padding_default as Padding, Positioned_default as Positioned, RadialGradient, Radio_default as Radio, Row_default as Row, SafeArea_default as SafeArea, ScrollView_default as ScrollView, Size, SizedBox_default as SizedBox, Slider_default as Slider, SnackBar, Spacer_default as Spacer, Stack_default as Stack, StackFit, Sticky_default as Sticky, Switch_default as Switch, Text_default as Text, TextAlign, TextArea_default as TextArea, TextBaseline, TextDecoration, TextDecorationStyle, TextDirection, TextField_default as TextField, TextOverflow, TextStyle, TileMode, Transform_default as Transform, UnderlineInputBorder, Wrap_default as Wrap, borderRadiusToStyle, borderSideToStyle, borderToStyle, boxConstraintsToStyle, boxDecorationToStyle, boxShadowToCSS, buttonStyleToStyle, createAssetImage, decorationImageToStyle, edgeInsetsToStyle, isBorderRadius, isBorderSide, isBorders, isBoxConstraints, isBoxDecoration, isBoxShadow, isEdgeInsets, isImageProvider, isTextStyle, marginToStyle, normalizeSrc, paddingToStyle, px2vw, setAssetBaseURL, setBaseUrl, setDefaultVW, setTransform, sizeToStyle, toCSSStyle as textStyleToCSSStyle, toCSSStyle };