@pagelines/sdk 1.0.518 → 1.0.526

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.
@@ -226,20 +226,20 @@ const tt = [
226
226
  return;
227
227
  }
228
228
  if (typeof e == "function") {
229
- Yt(e, a, t, r);
229
+ Ht(e, a, t, r);
230
230
  return;
231
231
  }
232
- Ht(e, a, t, r);
232
+ Yt(e, a, t, r);
233
233
  }, "processClassDefinition"), Dt = /* @__PURE__ */ o((e, a, t) => {
234
234
  const r = e === "" ? a : at(a, e);
235
235
  r.classGroupId = t;
236
- }, "processStringDefinition"), Yt = /* @__PURE__ */ o((e, a, t, r) => {
236
+ }, "processStringDefinition"), Ht = /* @__PURE__ */ o((e, a, t, r) => {
237
237
  if (Kt(e)) {
238
238
  Me(e(r), a, t, r);
239
239
  return;
240
240
  }
241
241
  a.validators === null && (a.validators = []), a.validators.push(Pt(t, e));
242
- }, "processFunctionDefinition"), Ht = /* @__PURE__ */ o((e, a, t, r) => {
242
+ }, "processFunctionDefinition"), Yt = /* @__PURE__ */ o((e, a, t, r) => {
243
243
  const l = Object.entries(e), n = l.length;
244
244
  for (let s = 0; s < n; s++) {
245
245
  const [i, u] = l[s];
@@ -294,18 +294,18 @@ const tt = [
294
294
  let s = 0, i = 0, u = 0, h;
295
295
  const v = l.length;
296
296
  for (let E = 0; E < v; E++) {
297
- const G = l[E];
297
+ const O = l[E];
298
298
  if (s === 0 && i === 0) {
299
- if (G === We) {
299
+ if (O === We) {
300
300
  n.push(l.slice(u, E)), u = E + 1;
301
301
  continue;
302
302
  }
303
- if (G === "/") {
303
+ if (O === "/") {
304
304
  h = E;
305
305
  continue;
306
306
  }
307
307
  }
308
- G === "[" ? s++ : G === "]" ? s-- : G === "(" ? i++ : G === ")" && i--;
308
+ O === "[" ? s++ : O === "]" ? s-- : O === "(" ? i++ : O === ")" && i--;
309
309
  }
310
310
  const w = n.length === 0 ? l : l.slice(u);
311
311
  let y = w, I = !1;
@@ -371,38 +371,38 @@ const tt = [
371
371
  modifiers: I,
372
372
  hasImportantModifier: U,
373
373
  baseClassName: E,
374
- maybePostfixModifierPosition: G
374
+ maybePostfixModifierPosition: O
375
375
  } = t(w);
376
376
  if (y) {
377
377
  h = w + (h.length > 0 ? " " + h : h);
378
378
  continue;
379
379
  }
380
- let Y = !!G, O;
381
- if (Y) {
382
- const H = E.substring(0, G);
383
- O = r(H);
384
- const g = O && s[O] ? r(E) : void 0;
385
- g && g !== O && (O = g, Y = !1);
380
+ let H = !!O, j;
381
+ if (H) {
382
+ const Y = E.substring(0, O);
383
+ j = r(Y);
384
+ const g = j && s[j] ? r(E) : void 0;
385
+ g && g !== j && (j = g, H = !1);
386
386
  } else
387
- O = r(E);
388
- if (!O) {
389
- if (!Y) {
387
+ j = r(E);
388
+ if (!j) {
389
+ if (!H) {
390
390
  h = w + (h.length > 0 ? " " + h : h);
391
391
  continue;
392
392
  }
393
- if (O = r(E), !O) {
393
+ if (j = r(E), !j) {
394
394
  h = w + (h.length > 0 ? " " + h : h);
395
395
  continue;
396
396
  }
397
- Y = !1;
397
+ H = !1;
398
398
  }
399
- const C = I.length === 0 ? "" : I.length === 1 ? I[0] : n(I).join(":"), x = U ? C + $e : C, z = x + O;
399
+ const C = I.length === 0 ? "" : I.length === 1 ? I[0] : n(I).join(":"), x = U ? C + $e : C, z = x + j;
400
400
  if (i.indexOf(z) > -1)
401
401
  continue;
402
402
  i.push(z);
403
- const Q = l(O, Y);
404
- for (let H = 0; H < Q.length; ++H) {
405
- const g = Q[H];
403
+ const Q = l(j, H);
404
+ for (let Y = 0; Y < Q.length; ++Y) {
405
+ const g = Q[Y];
406
406
  i.push(x + g);
407
407
  }
408
408
  h = w + (h.length > 0 ? " " + h : h);
@@ -441,14 +441,14 @@ const tt = [
441
441
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
442
442
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
443
443
  ir.test(e) && !dr.test(e)
444
- ), "isLengthOnly"), Ie = /* @__PURE__ */ o(() => !1, "isNever"), mr = /* @__PURE__ */ o((e) => cr.test(e), "isShadow"), gr = /* @__PURE__ */ o((e) => ur.test(e), "isImage"), hr = /* @__PURE__ */ o((e) => !d(e) && !c(e), "isAnyNonArbitrary"), fr = /* @__PURE__ */ o((e) => e.startsWith("@container") && (e[10] === "/" && e[11] !== void 0 || e[11] === "s" && e[16] !== void 0 && e.startsWith("-size/", 10) || e[11] === "n" && e[18] !== void 0 && e.startsWith("-normal/", 10)), "isNamedContainerQuery"), pr = /* @__PURE__ */ o((e) => _(e, ut, Ie), "isArbitrarySize"), d = /* @__PURE__ */ o((e) => nt.test(e), "isArbitraryValue"), te = /* @__PURE__ */ o((e) => _(e, bt, br), "isArbitraryLength"), qe = /* @__PURE__ */ o((e) => _(e, Ar, k), "isArbitraryNumber"), xr = /* @__PURE__ */ o((e) => _(e, gt, it), "isArbitraryWeight"), vr = /* @__PURE__ */ o((e) => _(e, mt, Ie), "isArbitraryFamilyName"), De = /* @__PURE__ */ o((e) => _(e, dt, Ie), "isArbitraryPosition"), kr = /* @__PURE__ */ o((e) => _(e, ct, gr), "isArbitraryImage"), ue = /* @__PURE__ */ o((e) => _(e, ht, mr), "isArbitraryShadow"), c = /* @__PURE__ */ o((e) => lt.test(e), "isArbitraryVariable"), se = /* @__PURE__ */ o((e) => re(e, bt), "isArbitraryVariableLength"), yr = /* @__PURE__ */ o((e) => re(e, mt), "isArbitraryVariableFamilyName"), Ye = /* @__PURE__ */ o((e) => re(e, dt), "isArbitraryVariablePosition"), wr = /* @__PURE__ */ o((e) => re(e, ut), "isArbitraryVariableSize"), Cr = /* @__PURE__ */ o((e) => re(e, ct), "isArbitraryVariableImage"), be = /* @__PURE__ */ o((e) => re(e, ht, !0), "isArbitraryVariableShadow"), zr = /* @__PURE__ */ o((e) => re(e, gt, !0), "isArbitraryVariableWeight"), _ = /* @__PURE__ */ o((e, a, t) => {
444
+ ), "isLengthOnly"), Ie = /* @__PURE__ */ o(() => !1, "isNever"), mr = /* @__PURE__ */ o((e) => cr.test(e), "isShadow"), gr = /* @__PURE__ */ o((e) => ur.test(e), "isImage"), hr = /* @__PURE__ */ o((e) => !d(e) && !c(e), "isAnyNonArbitrary"), fr = /* @__PURE__ */ o((e) => e.startsWith("@container") && (e[10] === "/" && e[11] !== void 0 || e[11] === "s" && e[16] !== void 0 && e.startsWith("-size/", 10) || e[11] === "n" && e[18] !== void 0 && e.startsWith("-normal/", 10)), "isNamedContainerQuery"), pr = /* @__PURE__ */ o((e) => _(e, ut, Ie), "isArbitrarySize"), d = /* @__PURE__ */ o((e) => nt.test(e), "isArbitraryValue"), te = /* @__PURE__ */ o((e) => _(e, bt, br), "isArbitraryLength"), qe = /* @__PURE__ */ o((e) => _(e, Ar, k), "isArbitraryNumber"), xr = /* @__PURE__ */ o((e) => _(e, gt, it), "isArbitraryWeight"), vr = /* @__PURE__ */ o((e) => _(e, mt, Ie), "isArbitraryFamilyName"), De = /* @__PURE__ */ o((e) => _(e, dt, Ie), "isArbitraryPosition"), kr = /* @__PURE__ */ o((e) => _(e, ct, gr), "isArbitraryImage"), ue = /* @__PURE__ */ o((e) => _(e, ht, mr), "isArbitraryShadow"), c = /* @__PURE__ */ o((e) => lt.test(e), "isArbitraryVariable"), se = /* @__PURE__ */ o((e) => re(e, bt), "isArbitraryVariableLength"), yr = /* @__PURE__ */ o((e) => re(e, mt), "isArbitraryVariableFamilyName"), He = /* @__PURE__ */ o((e) => re(e, dt), "isArbitraryVariablePosition"), wr = /* @__PURE__ */ o((e) => re(e, ut), "isArbitraryVariableSize"), Cr = /* @__PURE__ */ o((e) => re(e, ct), "isArbitraryVariableImage"), be = /* @__PURE__ */ o((e) => re(e, ht, !0), "isArbitraryVariableShadow"), zr = /* @__PURE__ */ o((e) => re(e, gt, !0), "isArbitraryVariableWeight"), _ = /* @__PURE__ */ o((e, a, t) => {
445
445
  const r = nt.exec(e);
446
446
  return r ? r[1] ? a(r[1]) : t(r[2]) : !1;
447
447
  }, "getIsArbitraryValue"), re = /* @__PURE__ */ o((e, a, t = !1) => {
448
448
  const r = lt.exec(e);
449
449
  return r ? r[1] ? a(r[1]) : t : !1;
450
450
  }, "getIsArbitraryVariable"), dt = /* @__PURE__ */ o((e) => e === "position" || e === "percentage", "isLabelPosition"), ct = /* @__PURE__ */ o((e) => e === "image" || e === "url", "isLabelImage"), ut = /* @__PURE__ */ o((e) => e === "length" || e === "size" || e === "bg-size", "isLabelSize"), bt = /* @__PURE__ */ o((e) => e === "length", "isLabelLength"), Ar = /* @__PURE__ */ o((e) => e === "number", "isLabelNumber"), mt = /* @__PURE__ */ o((e) => e === "family-name", "isLabelFamilyName"), gt = /* @__PURE__ */ o((e) => e === "number" || e === "weight", "isLabelWeight"), ht = /* @__PURE__ */ o((e) => e === "shadow", "isLabelShadow"), $r = /* @__PURE__ */ o(() => {
451
- const e = M("color"), a = M("font"), t = M("text"), r = M("font-weight"), l = M("tracking"), n = M("leading"), s = M("breakpoint"), i = M("container"), u = M("spacing"), h = M("radius"), v = M("shadow"), w = M("inset-shadow"), y = M("text-shadow"), I = M("drop-shadow"), U = M("blur"), E = M("perspective"), G = M("aspect"), Y = M("ease"), O = M("animate"), C = /* @__PURE__ */ o(() => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], "scaleBreak"), x = /* @__PURE__ */ o(() => [
451
+ const e = M("color"), a = M("font"), t = M("text"), r = M("font-weight"), l = M("tracking"), n = M("leading"), s = M("breakpoint"), i = M("container"), u = M("spacing"), h = M("radius"), v = M("shadow"), w = M("inset-shadow"), y = M("text-shadow"), I = M("drop-shadow"), U = M("blur"), E = M("perspective"), O = M("aspect"), H = M("ease"), j = M("animate"), C = /* @__PURE__ */ o(() => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], "scaleBreak"), x = /* @__PURE__ */ o(() => [
452
452
  "center",
453
453
  "top",
454
454
  "bottom",
@@ -466,15 +466,15 @@ const tt = [
466
466
  "bottom-left",
467
467
  // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
468
468
  "left-bottom"
469
- ], "scalePosition"), z = /* @__PURE__ */ o(() => [...x(), c, d], "scalePositionWithArbitrary"), Q = /* @__PURE__ */ o(() => ["auto", "hidden", "clip", "visible", "scroll"], "scaleOverflow"), H = /* @__PURE__ */ o(() => ["auto", "contain", "none"], "scaleOverscroll"), g = /* @__PURE__ */ o(() => [c, d, u], "scaleUnambiguousSpacing"), L = /* @__PURE__ */ o(() => [X, "full", "auto", ...g()], "scaleInset"), Ve = /* @__PURE__ */ o(() => [D, "none", "subgrid", c, d], "scaleGridTemplateColsRows"), Te = /* @__PURE__ */ o(() => ["auto", {
469
+ ], "scalePosition"), z = /* @__PURE__ */ o(() => [...x(), c, d], "scalePositionWithArbitrary"), Q = /* @__PURE__ */ o(() => ["auto", "hidden", "clip", "visible", "scroll"], "scaleOverflow"), Y = /* @__PURE__ */ o(() => ["auto", "contain", "none"], "scaleOverscroll"), g = /* @__PURE__ */ o(() => [c, d, u], "scaleUnambiguousSpacing"), L = /* @__PURE__ */ o(() => [X, "full", "auto", ...g()], "scaleInset"), Ve = /* @__PURE__ */ o(() => [D, "none", "subgrid", c, d], "scaleGridTemplateColsRows"), Te = /* @__PURE__ */ o(() => ["auto", {
470
470
  span: ["full", D, c, d]
471
- }, D, c, d], "scaleGridColRowStartAndEnd"), ne = /* @__PURE__ */ o(() => [D, "auto", c, d], "scaleGridColRowStartOrEnd"), Ee = /* @__PURE__ */ o(() => ["auto", "min", "max", "fr", c, d], "scaleGridAutoColsRows"), fe = /* @__PURE__ */ o(() => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], "scaleAlignPrimaryAxis"), oe = /* @__PURE__ */ o(() => ["start", "end", "center", "stretch", "center-safe", "end-safe"], "scaleAlignSecondaryAxis"), W = /* @__PURE__ */ o(() => ["auto", ...g()], "scaleMargin"), ee = /* @__PURE__ */ o(() => [X, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...g()], "scaleSizing"), pe = /* @__PURE__ */ o(() => [X, "screen", "full", "dvw", "lvw", "svw", "min", "max", "fit", ...g()], "scaleSizingInline"), xe = /* @__PURE__ */ o(() => [X, "screen", "full", "lh", "dvh", "lvh", "svh", "min", "max", "fit", ...g()], "scaleSizingBlock"), f = /* @__PURE__ */ o(() => [e, c, d], "scaleColor"), Oe = /* @__PURE__ */ o(() => [...x(), Ye, De, {
471
+ }, D, c, d], "scaleGridColRowStartAndEnd"), ne = /* @__PURE__ */ o(() => [D, "auto", c, d], "scaleGridColRowStartOrEnd"), Ee = /* @__PURE__ */ o(() => ["auto", "min", "max", "fr", c, d], "scaleGridAutoColsRows"), fe = /* @__PURE__ */ o(() => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], "scaleAlignPrimaryAxis"), oe = /* @__PURE__ */ o(() => ["start", "end", "center", "stretch", "center-safe", "end-safe"], "scaleAlignSecondaryAxis"), W = /* @__PURE__ */ o(() => ["auto", ...g()], "scaleMargin"), ee = /* @__PURE__ */ o(() => [X, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...g()], "scaleSizing"), pe = /* @__PURE__ */ o(() => [X, "screen", "full", "dvw", "lvw", "svw", "min", "max", "fit", ...g()], "scaleSizingInline"), xe = /* @__PURE__ */ o(() => [X, "screen", "full", "lh", "dvh", "lvh", "svh", "min", "max", "fit", ...g()], "scaleSizingBlock"), f = /* @__PURE__ */ o(() => [e, c, d], "scaleColor"), Oe = /* @__PURE__ */ o(() => [...x(), He, De, {
472
472
  position: [c, d]
473
473
  }], "scaleBgPosition"), je = /* @__PURE__ */ o(() => ["no-repeat", {
474
474
  repeat: ["", "x", "y", "space", "round"]
475
475
  }], "scaleBgRepeat"), Be = /* @__PURE__ */ o(() => ["auto", "cover", "contain", wr, pr, {
476
476
  size: [c, d]
477
- }], "scaleBgSize"), ve = /* @__PURE__ */ o(() => [Ce, se, te], "scaleGradientStopPosition"), j = /* @__PURE__ */ o(() => [
477
+ }], "scaleBgSize"), ve = /* @__PURE__ */ o(() => [Ce, se, te], "scaleGradientStopPosition"), B = /* @__PURE__ */ o(() => [
478
478
  // Deprecated since Tailwind CSS v4.0.0
479
479
  "",
480
480
  "none",
@@ -482,7 +482,7 @@ const tt = [
482
482
  h,
483
483
  c,
484
484
  d
485
- ], "scaleRadius"), B = /* @__PURE__ */ o(() => ["", k, se, te], "scaleBorderWidth"), le = /* @__PURE__ */ o(() => ["solid", "dashed", "dotted", "double"], "scaleLineStyle"), Ge = /* @__PURE__ */ o(() => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], "scaleBlendMode"), V = /* @__PURE__ */ o(() => [k, Ce, Ye, De], "scaleMaskImagePosition"), Re = /* @__PURE__ */ o(() => [
485
+ ], "scaleRadius"), G = /* @__PURE__ */ o(() => ["", k, se, te], "scaleBorderWidth"), le = /* @__PURE__ */ o(() => ["solid", "dashed", "dotted", "double"], "scaleLineStyle"), Ge = /* @__PURE__ */ o(() => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], "scaleBlendMode"), V = /* @__PURE__ */ o(() => [k, Ce, He, De], "scaleMaskImagePosition"), Re = /* @__PURE__ */ o(() => [
486
486
  // Deprecated since Tailwind CSS v4.0.0
487
487
  "",
488
488
  "none",
@@ -522,7 +522,7 @@ const tt = [
522
522
  * @see https://tailwindcss.com/docs/aspect-ratio
523
523
  */
524
524
  aspect: [{
525
- aspect: ["auto", "square", X, d, c, G]
525
+ aspect: ["auto", "square", X, d, c, O]
526
526
  }],
527
527
  /**
528
528
  * Container
@@ -653,21 +653,21 @@ const tt = [
653
653
  * @see https://tailwindcss.com/docs/overscroll-behavior
654
654
  */
655
655
  overscroll: [{
656
- overscroll: H()
656
+ overscroll: Y()
657
657
  }],
658
658
  /**
659
659
  * Overscroll Behavior X
660
660
  * @see https://tailwindcss.com/docs/overscroll-behavior
661
661
  */
662
662
  "overscroll-x": [{
663
- "overscroll-x": H()
663
+ "overscroll-x": Y()
664
664
  }],
665
665
  /**
666
666
  * Overscroll Behavior Y
667
667
  * @see https://tailwindcss.com/docs/overscroll-behavior
668
668
  */
669
669
  "overscroll-y": [{
670
- "overscroll-y": H()
670
+ "overscroll-y": Y()
671
671
  }],
672
672
  /**
673
673
  * Position
@@ -1649,189 +1649,189 @@ const tt = [
1649
1649
  * @see https://tailwindcss.com/docs/border-radius
1650
1650
  */
1651
1651
  rounded: [{
1652
- rounded: j()
1652
+ rounded: B()
1653
1653
  }],
1654
1654
  /**
1655
1655
  * Border Radius Start
1656
1656
  * @see https://tailwindcss.com/docs/border-radius
1657
1657
  */
1658
1658
  "rounded-s": [{
1659
- "rounded-s": j()
1659
+ "rounded-s": B()
1660
1660
  }],
1661
1661
  /**
1662
1662
  * Border Radius End
1663
1663
  * @see https://tailwindcss.com/docs/border-radius
1664
1664
  */
1665
1665
  "rounded-e": [{
1666
- "rounded-e": j()
1666
+ "rounded-e": B()
1667
1667
  }],
1668
1668
  /**
1669
1669
  * Border Radius Top
1670
1670
  * @see https://tailwindcss.com/docs/border-radius
1671
1671
  */
1672
1672
  "rounded-t": [{
1673
- "rounded-t": j()
1673
+ "rounded-t": B()
1674
1674
  }],
1675
1675
  /**
1676
1676
  * Border Radius Right
1677
1677
  * @see https://tailwindcss.com/docs/border-radius
1678
1678
  */
1679
1679
  "rounded-r": [{
1680
- "rounded-r": j()
1680
+ "rounded-r": B()
1681
1681
  }],
1682
1682
  /**
1683
1683
  * Border Radius Bottom
1684
1684
  * @see https://tailwindcss.com/docs/border-radius
1685
1685
  */
1686
1686
  "rounded-b": [{
1687
- "rounded-b": j()
1687
+ "rounded-b": B()
1688
1688
  }],
1689
1689
  /**
1690
1690
  * Border Radius Left
1691
1691
  * @see https://tailwindcss.com/docs/border-radius
1692
1692
  */
1693
1693
  "rounded-l": [{
1694
- "rounded-l": j()
1694
+ "rounded-l": B()
1695
1695
  }],
1696
1696
  /**
1697
1697
  * Border Radius Start Start
1698
1698
  * @see https://tailwindcss.com/docs/border-radius
1699
1699
  */
1700
1700
  "rounded-ss": [{
1701
- "rounded-ss": j()
1701
+ "rounded-ss": B()
1702
1702
  }],
1703
1703
  /**
1704
1704
  * Border Radius Start End
1705
1705
  * @see https://tailwindcss.com/docs/border-radius
1706
1706
  */
1707
1707
  "rounded-se": [{
1708
- "rounded-se": j()
1708
+ "rounded-se": B()
1709
1709
  }],
1710
1710
  /**
1711
1711
  * Border Radius End End
1712
1712
  * @see https://tailwindcss.com/docs/border-radius
1713
1713
  */
1714
1714
  "rounded-ee": [{
1715
- "rounded-ee": j()
1715
+ "rounded-ee": B()
1716
1716
  }],
1717
1717
  /**
1718
1718
  * Border Radius End Start
1719
1719
  * @see https://tailwindcss.com/docs/border-radius
1720
1720
  */
1721
1721
  "rounded-es": [{
1722
- "rounded-es": j()
1722
+ "rounded-es": B()
1723
1723
  }],
1724
1724
  /**
1725
1725
  * Border Radius Top Left
1726
1726
  * @see https://tailwindcss.com/docs/border-radius
1727
1727
  */
1728
1728
  "rounded-tl": [{
1729
- "rounded-tl": j()
1729
+ "rounded-tl": B()
1730
1730
  }],
1731
1731
  /**
1732
1732
  * Border Radius Top Right
1733
1733
  * @see https://tailwindcss.com/docs/border-radius
1734
1734
  */
1735
1735
  "rounded-tr": [{
1736
- "rounded-tr": j()
1736
+ "rounded-tr": B()
1737
1737
  }],
1738
1738
  /**
1739
1739
  * Border Radius Bottom Right
1740
1740
  * @see https://tailwindcss.com/docs/border-radius
1741
1741
  */
1742
1742
  "rounded-br": [{
1743
- "rounded-br": j()
1743
+ "rounded-br": B()
1744
1744
  }],
1745
1745
  /**
1746
1746
  * Border Radius Bottom Left
1747
1747
  * @see https://tailwindcss.com/docs/border-radius
1748
1748
  */
1749
1749
  "rounded-bl": [{
1750
- "rounded-bl": j()
1750
+ "rounded-bl": B()
1751
1751
  }],
1752
1752
  /**
1753
1753
  * Border Width
1754
1754
  * @see https://tailwindcss.com/docs/border-width
1755
1755
  */
1756
1756
  "border-w": [{
1757
- border: B()
1757
+ border: G()
1758
1758
  }],
1759
1759
  /**
1760
1760
  * Border Width Inline
1761
1761
  * @see https://tailwindcss.com/docs/border-width
1762
1762
  */
1763
1763
  "border-w-x": [{
1764
- "border-x": B()
1764
+ "border-x": G()
1765
1765
  }],
1766
1766
  /**
1767
1767
  * Border Width Block
1768
1768
  * @see https://tailwindcss.com/docs/border-width
1769
1769
  */
1770
1770
  "border-w-y": [{
1771
- "border-y": B()
1771
+ "border-y": G()
1772
1772
  }],
1773
1773
  /**
1774
1774
  * Border Width Inline Start
1775
1775
  * @see https://tailwindcss.com/docs/border-width
1776
1776
  */
1777
1777
  "border-w-s": [{
1778
- "border-s": B()
1778
+ "border-s": G()
1779
1779
  }],
1780
1780
  /**
1781
1781
  * Border Width Inline End
1782
1782
  * @see https://tailwindcss.com/docs/border-width
1783
1783
  */
1784
1784
  "border-w-e": [{
1785
- "border-e": B()
1785
+ "border-e": G()
1786
1786
  }],
1787
1787
  /**
1788
1788
  * Border Width Block Start
1789
1789
  * @see https://tailwindcss.com/docs/border-width
1790
1790
  */
1791
1791
  "border-w-bs": [{
1792
- "border-bs": B()
1792
+ "border-bs": G()
1793
1793
  }],
1794
1794
  /**
1795
1795
  * Border Width Block End
1796
1796
  * @see https://tailwindcss.com/docs/border-width
1797
1797
  */
1798
1798
  "border-w-be": [{
1799
- "border-be": B()
1799
+ "border-be": G()
1800
1800
  }],
1801
1801
  /**
1802
1802
  * Border Width Top
1803
1803
  * @see https://tailwindcss.com/docs/border-width
1804
1804
  */
1805
1805
  "border-w-t": [{
1806
- "border-t": B()
1806
+ "border-t": G()
1807
1807
  }],
1808
1808
  /**
1809
1809
  * Border Width Right
1810
1810
  * @see https://tailwindcss.com/docs/border-width
1811
1811
  */
1812
1812
  "border-w-r": [{
1813
- "border-r": B()
1813
+ "border-r": G()
1814
1814
  }],
1815
1815
  /**
1816
1816
  * Border Width Bottom
1817
1817
  * @see https://tailwindcss.com/docs/border-width
1818
1818
  */
1819
1819
  "border-w-b": [{
1820
- "border-b": B()
1820
+ "border-b": G()
1821
1821
  }],
1822
1822
  /**
1823
1823
  * Border Width Left
1824
1824
  * @see https://tailwindcss.com/docs/border-width
1825
1825
  */
1826
1826
  "border-w-l": [{
1827
- "border-l": B()
1827
+ "border-l": G()
1828
1828
  }],
1829
1829
  /**
1830
1830
  * Divide Width X
1831
1831
  * @see https://tailwindcss.com/docs/border-width#between-children
1832
1832
  */
1833
1833
  "divide-x": [{
1834
- "divide-x": B()
1834
+ "divide-x": G()
1835
1835
  }],
1836
1836
  /**
1837
1837
  * Divide Width X Reverse
@@ -1843,7 +1843,7 @@ const tt = [
1843
1843
  * @see https://tailwindcss.com/docs/border-width#between-children
1844
1844
  */
1845
1845
  "divide-y": [{
1846
- "divide-y": B()
1846
+ "divide-y": G()
1847
1847
  }],
1848
1848
  /**
1849
1849
  * Divide Width Y Reverse
@@ -2019,7 +2019,7 @@ const tt = [
2019
2019
  * @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
2020
2020
  */
2021
2021
  "ring-w": [{
2022
- ring: B()
2022
+ ring: G()
2023
2023
  }],
2024
2024
  /**
2025
2025
  * Ring Width Inset
@@ -2058,7 +2058,7 @@ const tt = [
2058
2058
  * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
2059
2059
  */
2060
2060
  "inset-ring-w": [{
2061
- "inset-ring": B()
2061
+ "inset-ring": G()
2062
2062
  }],
2063
2063
  /**
2064
2064
  * Inset Ring Color
@@ -2541,7 +2541,7 @@ const tt = [
2541
2541
  * @see https://tailwindcss.com/docs/transition-timing-function
2542
2542
  */
2543
2543
  ease: [{
2544
- ease: ["linear", "initial", Y, c, d]
2544
+ ease: ["linear", "initial", H, c, d]
2545
2545
  }],
2546
2546
  /**
2547
2547
  * Transition Delay
@@ -2555,7 +2555,7 @@ const tt = [
2555
2555
  * @see https://tailwindcss.com/docs/animation
2556
2556
  */
2557
2557
  animate: [{
2558
- animate: ["none", O, c, d]
2558
+ animate: ["none", j, c, d]
2559
2559
  }],
2560
2560
  // ------------------
2561
2561
  // --- Transforms ---
@@ -3132,7 +3132,7 @@ const tt = [
3132
3132
  postfixLookupClassGroups: ["container-type"],
3133
3133
  orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
3134
3134
  };
3135
- }, "getDefaultConfig"), Sr = /* @__PURE__ */ ar($r), He = {
3135
+ }, "getDefaultConfig"), Sr = /* @__PURE__ */ ar($r), Ye = {
3136
3136
  default: {
3137
3137
  solid: {
3138
3138
  base: "bg-theme-0 dark:bg-theme-700/40 text-theme-600 dark:text-theme-50",
@@ -3149,7 +3149,7 @@ const tt = [
3149
3149
  },
3150
3150
  ghost: {
3151
3151
  base: "bg-theme-50 dark:bg-theme-600/30 text-theme-700 dark:text-theme-50",
3152
- border: "border-theme-100 dark:border-theme-800/20",
3152
+ border: "border-theme-50 dark:border-theme-800/20",
3153
3153
  hover: "hover:bg-theme-100 dark:hover:bg-theme-600/50 hover:border-theme-200 dark:hover:border-theme-600",
3154
3154
  icon: "text-theme-500 dark:text-theme-500"
3155
3155
  },
@@ -3445,7 +3445,7 @@ const tt = [
3445
3445
  lg: "size-5",
3446
3446
  xl: "size-6"
3447
3447
  })[e.size]), n = A(() => {
3448
- const u = He[e.theme]?.[e.design] || He.default[e.design];
3448
+ const u = Ye[e.theme]?.[e.design] || Ye.default[e.design];
3449
3449
  return u || console.warn(`FButton: No theme configuration found for theme "${e.theme}" and design "${e.design}". Falling back to default solid theme.`), u || { base: "", border: "", hover: "", icon: "" };
3450
3450
  }), s = A(() => {
3451
3451
  const u = "relative inline-flex items-center justify-center gap-2 font-medium transition-colors duration-200 focus:outline-none active:opacity-80 cursor-pointer", h = {
@@ -3460,17 +3460,18 @@ const tt = [
3460
3460
  lg: "rounded-lg",
3461
3461
  "2xl": "rounded-2xl",
3462
3462
  full: "rounded-full"
3463
- }, y = n.value, I = e.disabled ? "opacity-50 cursor-not-allowed pointer-events-none" : "", U = [
3463
+ }, y = n.value, I = e.disabled && !e.loading ? "opacity-50 cursor-not-allowed pointer-events-none" : "", U = e.loading ? "pointer-events-none cursor-wait" : "", E = e.disabled || e.loading, O = [
3464
3464
  u,
3465
3465
  h[e.size],
3466
3466
  v,
3467
3467
  w[e.rounding],
3468
3468
  y.base,
3469
3469
  `border ${y.border}`,
3470
- e.disabled ? "" : y.hover,
3471
- I
3470
+ E ? "" : y.hover,
3471
+ I,
3472
+ U
3472
3473
  ].filter(Boolean).join(" ");
3473
- return Sr(U, e.class);
3474
+ return Sr(O, e.class);
3474
3475
  }), i = A(() => ({
3475
3476
  design: n.value.icon || ""
3476
3477
  }));
@@ -3582,7 +3583,7 @@ const tt = [
3582
3583
  }), Lr = { class: "flex flex-col items-center text-center gap-4" }, Nr = { class: "relative flex-shrink-0" }, Ur = { class: "w-20 h-20 sm:w-24 sm:h-24 rounded-full overflow-hidden border-4 border-white" }, Wr = ["src", "alt"], Fr = { class: "absolute top-1.5 right-1.5" }, qr = {
3583
3584
  key: 1,
3584
3585
  class: "size-4 bg-theme-400 rounded-full ring-2 ring-white"
3585
- }, Dr = { class: "min-w-0" }, Yr = { class: "text-3xl font-light text-white mb-2 truncate" }, Hr = { class: "text-base font-light text-white/60 line-clamp-1" }, Kr = /* @__PURE__ */ q({
3586
+ }, Dr = { class: "min-w-0" }, Hr = { class: "text-3xl font-light text-white mb-2 truncate" }, Yr = { class: "text-base font-light text-white/60 line-clamp-1" }, Kr = /* @__PURE__ */ q({
3586
3587
  __name: "ElAgentHeader",
3587
3588
  props: {
3588
3589
  agent: {},
@@ -3611,8 +3612,8 @@ const tt = [
3611
3612
  ])
3612
3613
  ]),
3613
3614
  b("div", Dr, [
3614
- b("h1", Yr, P(e.agent.displayName.value), 1),
3615
- b("p", Hr, P(e.agent.title.value), 1)
3615
+ b("h1", Hr, P(e.agent.displayName.value), 1),
3616
+ b("p", Yr, P(e.agent.title.value), 1)
3616
3617
  ])
3617
3618
  ]));
3618
3619
  }
@@ -3965,16 +3966,16 @@ const tt = [
3965
3966
  const U = A(() => !!(e.agent.cover.value?.src && e.agent.cover.value?.quality === "low") || !!(e.agent.avatar.value?.src && e.agent.avatar.value?.quality === "low")), E = A(() => {
3966
3967
  const C = [U.value ? "backdrop-blur-sm" : ""];
3967
3968
  return U.value && u.value === "self" ? C.push("from-black/80 via-black/60 to-black/80") : u.value === "self" ? C.push("from-black/70 via-black/50 to-black/80") : C.push("from-black/90 via-black/90 to-black/100"), C.join(" ");
3968
- }), G = {
3969
+ }), O = {
3969
3970
  phone: "i-heroicons-phone",
3970
3971
  calendar: "i-heroicons-calendar",
3971
3972
  question: "i-heroicons-question-mark-circle",
3972
3973
  message: "i-heroicons-chat-bubble-left-right",
3973
3974
  sparkles: "i-heroicons-sparkles"
3974
- }, Y = A(() => At({
3975
+ }, H = A(() => At({
3975
3976
  template: e.buttonText || "Talk to {name}",
3976
3977
  agent: e.agent.toConfig()
3977
- })), O = A(() => G[e.buttonIcon || "phone"] || G.phone);
3978
+ })), j = A(() => O[e.buttonIcon || "phone"] || O.phone);
3978
3979
  return (C, x) => (m(), p("div", {
3979
3980
  ref_key: "rootElement",
3980
3981
  ref: i,
@@ -4069,12 +4070,12 @@ const tt = [
4069
4070
  theme: "primary",
4070
4071
  size: "lg",
4071
4072
  class: "w-full",
4072
- icon: O.value,
4073
+ icon: j.value,
4073
4074
  "data-test": "voice-button",
4074
4075
  onClick: x[4] || (x[4] = (z) => r.value?.setMode("talk"))
4075
4076
  }, {
4076
4077
  default: F(() => [
4077
- ge(P(Y.value), 1)
4078
+ ge(P(H.value), 1)
4078
4079
  ]),
4079
4080
  _: 1
4080
4081
  }, 8, ["icon"]),