@layers.digital/layers-design-system-vue3 1.17.1 → 1.18.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.
Files changed (154) hide show
  1. package/dist/chunks/chunk-12.cjs +1 -1
  2. package/dist/chunks/chunk-12.js +2 -2
  3. package/dist/chunks/chunk-15.cjs +1 -1
  4. package/dist/chunks/chunk-15.js +1 -1
  5. package/dist/chunks/chunk-1523.cjs +1 -1
  6. package/dist/chunks/chunk-1523.js +1 -1
  7. package/dist/chunks/chunk-1533.cjs +1 -1
  8. package/dist/chunks/chunk-1533.js +1 -1
  9. package/dist/chunks/chunk-1536.cjs +1 -1
  10. package/dist/chunks/chunk-1536.js +1 -1
  11. package/dist/chunks/chunk-1539.cjs +1 -1
  12. package/dist/chunks/chunk-1539.js +1 -1
  13. package/dist/chunks/chunk-1545.cjs +1 -1
  14. package/dist/chunks/chunk-1545.js +95 -101
  15. package/dist/chunks/chunk-1574.cjs +1 -1
  16. package/dist/chunks/chunk-1574.js +5 -52
  17. package/dist/chunks/chunk-1575.cjs +1 -1
  18. package/dist/chunks/chunk-1575.js +12 -5
  19. package/dist/chunks/chunk-1576.cjs +1 -1
  20. package/dist/chunks/chunk-1576.js +2 -21
  21. package/dist/chunks/chunk-1577.cjs +1 -1
  22. package/dist/chunks/chunk-1577.js +2 -5
  23. package/dist/chunks/chunk-1578.cjs +1 -1
  24. package/dist/chunks/chunk-1578.js +174 -20
  25. package/dist/chunks/chunk-1579.cjs +1 -1
  26. package/dist/chunks/chunk-1579.js +74 -11
  27. package/dist/chunks/chunk-1580.cjs +1 -1
  28. package/dist/chunks/chunk-1580.js +97 -2
  29. package/dist/chunks/chunk-1581.cjs +1 -1
  30. package/dist/chunks/chunk-1581.js +106 -2
  31. package/dist/chunks/chunk-1582.cjs +1 -1
  32. package/dist/chunks/chunk-1582.js +119 -167
  33. package/dist/chunks/chunk-1583.cjs +1 -1
  34. package/dist/chunks/chunk-1583.js +354 -59
  35. package/dist/chunks/chunk-1584.cjs +1 -1
  36. package/dist/chunks/chunk-1584.js +5 -97
  37. package/dist/chunks/chunk-1585.cjs +1 -1
  38. package/dist/chunks/chunk-1585.js +21 -105
  39. package/dist/chunks/chunk-1586.cjs +1 -1
  40. package/dist/chunks/chunk-1586.js +48 -123
  41. package/dist/chunks/chunk-1587.cjs +1 -1
  42. package/dist/chunks/chunk-1587.js +18 -368
  43. package/dist/chunks/chunk-1590.cjs +15 -1
  44. package/dist/chunks/chunk-1590.js +716 -58
  45. package/dist/chunks/chunk-1591.cjs +1 -1
  46. package/dist/chunks/chunk-1591.js +34 -29
  47. package/dist/chunks/chunk-1592.cjs +1 -1
  48. package/dist/chunks/chunk-1592.js +53 -20
  49. package/dist/chunks/chunk-1593.cjs +1 -1
  50. package/dist/chunks/chunk-1593.js +22 -28
  51. package/dist/chunks/chunk-1594.cjs +1 -1
  52. package/dist/chunks/chunk-1594.js +20 -29
  53. package/dist/chunks/chunk-1595.cjs +1 -0
  54. package/dist/chunks/chunk-1595.js +37 -0
  55. package/dist/chunks/chunk-1596.cjs +1 -15
  56. package/dist/chunks/chunk-1596.js +35 -717
  57. package/dist/chunks/chunk-1599.cjs +1 -1
  58. package/dist/chunks/chunk-1599.js +2 -118
  59. package/dist/chunks/chunk-1600.cjs +1 -1
  60. package/dist/chunks/chunk-1600.js +1 -1
  61. package/dist/chunks/chunk-1601.cjs +1 -1
  62. package/dist/chunks/chunk-1601.js +1 -1
  63. package/dist/chunks/chunk-1602.cjs +1 -1
  64. package/dist/chunks/chunk-1602.js +1 -1
  65. package/dist/chunks/chunk-1603.cjs +1 -1
  66. package/dist/chunks/chunk-1603.js +1 -1
  67. package/dist/chunks/chunk-1604.cjs +1 -1
  68. package/dist/chunks/chunk-1604.js +43 -2
  69. package/dist/chunks/chunk-1605.cjs +1 -1
  70. package/dist/chunks/chunk-1605.js +20 -41
  71. package/dist/chunks/chunk-1606.cjs +1 -1
  72. package/dist/chunks/chunk-1606.js +117 -21
  73. package/dist/chunks/chunk-1607.cjs +1 -1
  74. package/dist/chunks/chunk-1607.js +503 -187
  75. package/dist/chunks/chunk-1608.cjs +1 -1
  76. package/dist/chunks/chunk-1608.js +121 -19
  77. package/dist/chunks/chunk-1609.cjs +1 -1
  78. package/dist/chunks/chunk-1609.js +198 -91
  79. package/dist/chunks/chunk-1610.cjs +1 -1
  80. package/dist/chunks/chunk-1610.js +20 -128
  81. package/dist/chunks/chunk-1611.cjs +1 -1
  82. package/dist/chunks/chunk-1611.js +95 -4
  83. package/dist/chunks/chunk-1612.cjs +1 -1
  84. package/dist/chunks/chunk-1612.js +132 -3
  85. package/dist/chunks/chunk-1613.cjs +1 -1
  86. package/dist/chunks/chunk-1613.js +5 -98
  87. package/dist/chunks/chunk-1614.cjs +1 -1
  88. package/dist/chunks/chunk-1614.js +3 -518
  89. package/dist/chunks/chunk-1615.cjs +1 -1
  90. package/dist/chunks/chunk-1615.js +97 -126
  91. package/dist/chunks/chunk-1616.cjs +1 -1
  92. package/dist/chunks/chunk-1616.js +2 -2
  93. package/dist/chunks/chunk-1619.cjs +1 -1
  94. package/dist/chunks/chunk-1619.js +28 -5
  95. package/dist/chunks/chunk-1620.cjs +1 -1
  96. package/dist/chunks/chunk-1620.js +5 -28
  97. package/dist/chunks/chunk-19.cjs +1 -1
  98. package/dist/chunks/chunk-19.js +2 -2
  99. package/dist/chunks/chunk-21.cjs +1 -1
  100. package/dist/chunks/chunk-21.js +1 -1
  101. package/dist/chunks/chunk-22.cjs +1 -1
  102. package/dist/chunks/chunk-22.js +1 -1
  103. package/dist/chunks/chunk-23.cjs +1 -1
  104. package/dist/chunks/chunk-23.js +1 -1
  105. package/dist/chunks/chunk-24.cjs +1 -1
  106. package/dist/chunks/chunk-24.js +1 -1
  107. package/dist/chunks/chunk-25.cjs +1 -1
  108. package/dist/chunks/chunk-25.js +1 -1
  109. package/dist/chunks/chunk-29.cjs +1 -1
  110. package/dist/chunks/chunk-29.js +1 -1
  111. package/dist/chunks/chunk-3.cjs +1 -1
  112. package/dist/chunks/chunk-3.js +1 -1
  113. package/dist/chunks/chunk-30.cjs +1 -1
  114. package/dist/chunks/chunk-30.js +1 -1
  115. package/dist/chunks/chunk-33.cjs +1 -1
  116. package/dist/chunks/chunk-33.js +17 -17
  117. package/dist/chunks/chunk-34.cjs +1 -1
  118. package/dist/chunks/chunk-34.js +1 -1
  119. package/dist/chunks/chunk-36.cjs +1 -1
  120. package/dist/chunks/chunk-36.js +1 -1
  121. package/dist/chunks/chunk-37.cjs +1 -1
  122. package/dist/chunks/chunk-37.js +1 -1
  123. package/dist/chunks/chunk-38.cjs +1 -1
  124. package/dist/chunks/chunk-38.js +6 -6
  125. package/dist/chunks/chunk-39.cjs +1 -1
  126. package/dist/chunks/chunk-39.js +1 -1
  127. package/dist/chunks/chunk-4.cjs +1 -1
  128. package/dist/chunks/chunk-4.js +2 -2
  129. package/dist/chunks/chunk-40.cjs +1 -1
  130. package/dist/chunks/chunk-40.js +1 -1
  131. package/dist/chunks/chunk-41.cjs +1 -1
  132. package/dist/chunks/chunk-41.js +1 -1
  133. package/dist/chunks/chunk-44.cjs +1 -1
  134. package/dist/chunks/chunk-44.js +1 -1
  135. package/dist/chunks/chunk-45.cjs +1 -1
  136. package/dist/chunks/chunk-45.js +1 -1
  137. package/dist/chunks/chunk-46.cjs +1 -1
  138. package/dist/chunks/chunk-46.js +1 -1
  139. package/dist/chunks/chunk-47.cjs +1 -1
  140. package/dist/chunks/chunk-47.js +1 -1
  141. package/dist/chunks/chunk-48.cjs +1 -1
  142. package/dist/chunks/chunk-48.js +1 -1
  143. package/dist/chunks/chunk-49.cjs +1 -1
  144. package/dist/chunks/chunk-49.js +1 -1
  145. package/dist/chunks/chunk-5.cjs +1 -1
  146. package/dist/chunks/chunk-5.js +2 -2
  147. package/dist/chunks/chunk-6.cjs +1 -1
  148. package/dist/chunks/chunk-6.js +3 -3
  149. package/dist/chunks/chunk-7.cjs +1 -1
  150. package/dist/chunks/chunk-7.js +2 -2
  151. package/dist/style.css +1 -1
  152. package/package.json +1 -1
  153. package/dist/chunks/chunk-1589.cjs +0 -1
  154. package/dist/chunks/chunk-1589.js +0 -36
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),a=require("./chunk-1574.cjs"),i=require("./chunk-1575.cjs"),d=e.defineComponent({__name:"LTextarea",props:{class:{},defaultValue:{},modelValue:{}},emits:["update:modelValue"],setup(o,{emit:r}){const l=o,u=r,s=a.useVModel(l,"modelValue",u,{passive:!0,defaultValue:l.defaultValue});return(c,t)=>e.withDirectives((e.openBlock(),e.createElementBlock("textarea",{"onUpdate:modelValue":t[0]||(t[0]=n=>e.isRef(s)?s.value=n:null),class:e.normalizeClass(e.unref(i.cn)("flex min-h-20 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:text-[var(--gray-60)] disabled:bg-[var(--gray-10)]",l.class))},null,2)),[[e.vModelText,e.unref(s)]])}});module.exports=d;
1
+ "use strict";const e=require("vue"),a=require("./chunk-1586.cjs"),i=require("./chunk-1574.cjs"),d=e.defineComponent({__name:"LTextarea",props:{class:{},defaultValue:{},modelValue:{}},emits:["update:modelValue"],setup(o,{emit:r}){const l=o,u=r,s=a.useVModel(l,"modelValue",u,{passive:!0,defaultValue:l.defaultValue});return(c,t)=>e.withDirectives((e.openBlock(),e.createElementBlock("textarea",{"onUpdate:modelValue":t[0]||(t[0]=n=>e.isRef(s)?s.value=n:null),class:e.normalizeClass(e.unref(i.cn)("flex min-h-20 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:text-[var(--gray-60)] disabled:bg-[var(--gray-10)]",l.class))},null,2)),[[e.vModelText,e.unref(s)]])}});module.exports=d;
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as u, withDirectives as i, openBlock as n, createElementBlock as d, isRef as m, normalizeClass as f, unref as t, vModelText as c } from "vue";
2
- import { useVModel as p } from "./chunk-1574.js";
3
- import { cn as b } from "./chunk-1575.js";
2
+ import { useVModel as p } from "./chunk-1586.js";
3
+ import { cn as b } from "./chunk-1574.js";
4
4
  const _ = /* @__PURE__ */ u({
5
5
  __name: "LTextarea",
6
6
  props: {
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),r=require("./chunk-38.cjs"),u=require("./chunk-1575.cjs"),c=e.defineComponent({__name:"LRadioGroup",props:{modelValue:{},defaultValue:{},disabled:{type:Boolean},name:{},required:{type:Boolean},orientation:{},dir:{},loop:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},emits:["update:modelValue"],setup(s,{emit:a}){const t=s,n=a,l=e.computed(()=>{const{...o}=t;return o}),d=r.useForwardPropsEmits(l,n);return(o,i)=>(e.openBlock(),e.createBlock(e.unref(r.RadioGroupRoot),e.mergeProps({class:e.unref(u.cn)("grid gap-2",t.class)},e.unref(d)),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},16,["class"]))}});module.exports=c;
1
+ "use strict";const e=require("vue"),r=require("./chunk-38.cjs"),u=require("./chunk-1574.cjs"),c=e.defineComponent({__name:"LRadioGroup",props:{modelValue:{},defaultValue:{},disabled:{type:Boolean},name:{},required:{type:Boolean},orientation:{},dir:{},loop:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},emits:["update:modelValue"],setup(s,{emit:a}){const t=s,n=a,l=e.computed(()=>{const{...o}=t;return o}),d=r.useForwardPropsEmits(l,n);return(o,i)=>(e.openBlock(),e.createBlock(e.unref(r.RadioGroupRoot),e.mergeProps({class:e.unref(u.cn)("grid gap-2",t.class)},e.unref(d)),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},16,["class"]))}});module.exports=c;
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as n, computed as p, openBlock as i, createBlock as c, unref as o, mergeProps as m, withCtx as u, renderSlot as f } from "vue";
2
2
  import { useForwardPropsEmits as B, RadioGroupRoot as _ } from "./chunk-38.js";
3
- import { cn as g } from "./chunk-1575.js";
3
+ import { cn as g } from "./chunk-1574.js";
4
4
  const x = /* @__PURE__ */ n({
5
5
  __name: "LRadioGroup",
6
6
  props: {
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const C=require("./chunk-1579.cjs"),y=n=>typeof n=="boolean"?"".concat(n):n===0?"0":n,o=C.clsx,O=(n,l)=>e=>{var s;if(l?.variants==null)return o(n,e?.class,e?.className);const{variants:v,defaultVariants:u}=l,N=Object.keys(v).map(t=>{const a=e?.[t],d=u?.[t];if(a===null)return null;const i=y(a)||y(d);return v[t][i]}),c=e&&Object.entries(e).reduce((t,a)=>{let[d,i]=a;return i===void 0||(t[d]=i),t},{}),V=l==null||(s=l.compoundVariants)===null||s===void 0?void 0:s.reduce((t,a)=>{let{class:d,className:i,...b}=a;return Object.entries(b).every(f=>{let[m,r]=f;return Array.isArray(r)?r.includes({...u,...c}[m]):{...u,...c}[m]===r})?[...t,d,i]:t},[]);return o(n,N,V,e?.class,e?.className)};exports.cva=O;exports.cx=o;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const C=require("./chunk-1575.cjs"),y=n=>typeof n=="boolean"?"".concat(n):n===0?"0":n,o=C.clsx,O=(n,l)=>e=>{var s;if(l?.variants==null)return o(n,e?.class,e?.className);const{variants:v,defaultVariants:u}=l,N=Object.keys(v).map(t=>{const a=e?.[t],d=u?.[t];if(a===null)return null;const i=y(a)||y(d);return v[t][i]}),c=e&&Object.entries(e).reduce((t,a)=>{let[d,i]=a;return i===void 0||(t[d]=i),t},{}),V=l==null||(s=l.compoundVariants)===null||s===void 0?void 0:s.reduce((t,a)=>{let{class:d,className:i,...b}=a;return Object.entries(b).every(f=>{let[m,r]=f;return Array.isArray(r)?r.includes({...u,...c}[m]):{...u,...c}[m]===r})?[...t,d,i]:t},[]);return o(n,N,V,e?.class,e?.className)};exports.cva=O;exports.cx=o;
@@ -1,4 +1,4 @@
1
- import { clsx as O } from "./chunk-1579.js";
1
+ import { clsx as O } from "./chunk-1575.js";
2
2
  const m = (e) => typeof e == "boolean" ? "".concat(e) : e === 0 ? "0" : e, y = O, j = (e, l) => (n) => {
3
3
  var r;
4
4
  if (l?.variants == null) return y(e, n?.class, n?.className);
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),r=require("./chunk-38.cjs"),i=require("./chunk-1575.cjs"),u=require("./chunk-313.cjs"),f=["for"],p=e.defineComponent({__name:"LFormCheckbox",props:{class:{},label:{},type:{default:"regular"},defaultChecked:{type:Boolean},checked:{type:[Boolean,String]},disabled:{type:Boolean},required:{type:Boolean},name:{},value:{},id:{},asChild:{type:Boolean},as:{}},emits:["update:checked"],setup(n,{emit:c}){const t=n,d=c,a=e.computed(()=>{const{...o}=t;return o}),s=r.useForwardPropsEmits(a,d),l=e.computed(()=>a.value.disabled?"data-[state=checked]:bg-[var(--gray-60)]":"data-[state=checked]:bg-[var(--link)]");return(o,b)=>(e.openBlock(),e.createElementBlock("label",e.mergeProps(e.unref(s),{for:t.name,class:"label-wrapper cursor-pointer flex gap-2 items-center border rounded-lg p-2 text-base font-medium leading-none has-[:disabled]:cursor-not-allowed has-[:disabled]:bg-[var(--gray-20)] has-[:disabled]:text-[var(--gray-60)]"}),[e.createVNode(e.unref(r.CheckboxRoot),e.mergeProps(e.unref(s),{id:t.name,class:e.unref(i.cn)(`h-4 w-4 shrink-0 data-[state=checked]:border-0 rounded-sm border border-primary ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:text-white ${l.value}`,t.class)}),{default:e.withCtx(()=>[e.createVNode(e.unref(r.CheckboxIndicator),{class:"flex h-full w-full items-center justify-center text-current"},{default:e.withCtx(()=>[e.createVNode(e.unref(u),{class:"h-3 w-3"})]),_:1})]),_:1},16,["id","class"]),e.createElementVNode("span",null,e.toDisplayString(t.label),1)],16,f))}});module.exports=p;
1
+ "use strict";const e=require("vue"),r=require("./chunk-38.cjs"),i=require("./chunk-1574.cjs"),u=require("./chunk-313.cjs"),f=["for"],p=e.defineComponent({__name:"LFormCheckbox",props:{class:{},label:{},type:{default:"regular"},defaultChecked:{type:Boolean},checked:{type:[Boolean,String]},disabled:{type:Boolean},required:{type:Boolean},name:{},value:{},id:{},asChild:{type:Boolean},as:{}},emits:["update:checked"],setup(n,{emit:c}){const t=n,d=c,a=e.computed(()=>{const{...o}=t;return o}),s=r.useForwardPropsEmits(a,d),l=e.computed(()=>a.value.disabled?"data-[state=checked]:bg-[var(--gray-60)]":"data-[state=checked]:bg-[var(--link)]");return(o,b)=>(e.openBlock(),e.createElementBlock("label",e.mergeProps(e.unref(s),{for:t.name,class:"label-wrapper cursor-pointer flex gap-2 items-center border rounded-lg p-2 text-base font-medium leading-none has-[:disabled]:cursor-not-allowed has-[:disabled]:bg-[var(--gray-20)] has-[:disabled]:text-[var(--gray-60)]"}),[e.createVNode(e.unref(r.CheckboxRoot),e.mergeProps(e.unref(s),{id:t.name,class:e.unref(i.cn)(`h-4 w-4 shrink-0 data-[state=checked]:border-0 rounded-sm border border-primary ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:text-white ${l.value}`,t.class)}),{default:e.withCtx(()=>[e.createVNode(e.unref(r.CheckboxIndicator),{class:"flex h-full w-full items-center justify-center text-current"},{default:e.withCtx(()=>[e.createVNode(e.unref(u),{class:"h-3 w-3"})]),_:1})]),_:1},16,["id","class"]),e.createElementVNode("span",null,e.toDisplayString(t.label),1)],16,f))}});module.exports=p;
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as f, computed as l, openBlock as m, createElementBlock as b, mergeProps as d, unref as e, createVNode as a, withCtx as n, createElementVNode as h, toDisplayString as g } from "vue";
2
2
  import { useForwardPropsEmits as k, CheckboxRoot as v, CheckboxIndicator as x } from "./chunk-38.js";
3
- import { cn as y } from "./chunk-1575.js";
3
+ import { cn as y } from "./chunk-1574.js";
4
4
  import w from "./chunk-313.js";
5
5
  const _ = ["for"], I = /* @__PURE__ */ f({
6
6
  __name: "LFormCheckbox",
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),o=require("./chunk-38.cjs"),i=require("./chunk-1575.cjs"),u=require("./chunk-313.cjs"),b=["for"],f={class:"flex items-center gap-2 box-border"},p=e.defineComponent({__name:"LCheckbox",props:{class:{},label:{},bordered:{type:Boolean},background:{type:Boolean},labelClass:{},type:{default:"regular"},defaultChecked:{type:Boolean},checked:{type:[Boolean,String]},disabled:{type:Boolean},required:{type:Boolean},name:{},value:{},id:{},asChild:{type:Boolean},as:{}},emits:["update:checked"],setup(n,{emit:l}){const t=n,c=l,s=e.computed(()=>{const{...r}=t;return r}),a=o.useForwardPropsEmits(s,c),d=e.computed(()=>s.value.disabled?"data-[state=checked]:bg-[var(--gray-60)]":"data-[state=checked]:bg-[var(--aqua)]");return(r,m)=>(e.openBlock(),e.createElementBlock("label",e.mergeProps(e.unref(a),{for:t.name,class:"label-wrapper cursor-pointer flex gap-2 items-center justify-between border rounded-lg p-2 text-base font-medium leading-none has-[:disabled]:cursor-not-allowed"}),[e.createElementVNode("div",f,[e.renderSlot(r.$slots,"icon",{},void 0,!0),e.createElementVNode("span",{class:e.normalizeClass(t.labelClass)},e.toDisplayString(t.label),3)]),e.createVNode(e.unref(o.CheckboxRoot),e.mergeProps(e.unref(a),{id:t.name,class:e.unref(i.cn)(`h-4 w-4 shrink-0 border-[var(--gray-70)] data-[state=checked]:border-0 rounded-sm border ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:text-white ${d.value} box-border`,t.class)}),{default:e.withCtx(()=>[e.createVNode(e.unref(o.CheckboxIndicator),{class:"flex h-full w-full items-center justify-center text-current"},{default:e.withCtx(()=>[e.createVNode(e.unref(u),{class:"h-3 w-3"})]),_:1})]),_:1},16,["id","class"])],16,b))}});module.exports=p;
1
+ "use strict";const e=require("vue"),o=require("./chunk-38.cjs"),i=require("./chunk-1574.cjs"),u=require("./chunk-313.cjs"),b=["for"],f={class:"flex items-center gap-2 box-border"},p=e.defineComponent({__name:"LCheckbox",props:{class:{},label:{},bordered:{type:Boolean},background:{type:Boolean},labelClass:{},type:{default:"regular"},defaultChecked:{type:Boolean},checked:{type:[Boolean,String]},disabled:{type:Boolean},required:{type:Boolean},name:{},value:{},id:{},asChild:{type:Boolean},as:{}},emits:["update:checked"],setup(n,{emit:l}){const t=n,c=l,s=e.computed(()=>{const{...r}=t;return r}),a=o.useForwardPropsEmits(s,c),d=e.computed(()=>s.value.disabled?"data-[state=checked]:bg-[var(--gray-60)]":"data-[state=checked]:bg-[var(--aqua)]");return(r,m)=>(e.openBlock(),e.createElementBlock("label",e.mergeProps(e.unref(a),{for:t.name,class:"label-wrapper cursor-pointer flex gap-2 items-center justify-between border rounded-lg p-2 text-base font-medium leading-none has-[:disabled]:cursor-not-allowed"}),[e.createElementVNode("div",f,[e.renderSlot(r.$slots,"icon",{},void 0,!0),e.createElementVNode("span",{class:e.normalizeClass(t.labelClass)},e.toDisplayString(t.label),3)]),e.createVNode(e.unref(o.CheckboxRoot),e.mergeProps(e.unref(a),{id:t.name,class:e.unref(i.cn)(`h-4 w-4 shrink-0 border-[var(--gray-70)] data-[state=checked]:border-0 rounded-sm border ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:text-white ${d.value} box-border`,t.class)}),{default:e.withCtx(()=>[e.createVNode(e.unref(o.CheckboxIndicator),{class:"flex h-full w-full items-center justify-center text-current"},{default:e.withCtx(()=>[e.createVNode(e.unref(u),{class:"h-3 w-3"})]),_:1})]),_:1},16,["id","class"])],16,b))}});module.exports=p;
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as f, computed as l, openBlock as m, createElementBlock as h, mergeProps as d, unref as t, createElementVNode as n, renderSlot as g, normalizeClass as k, toDisplayString as v, createVNode as a, withCtx as c } from "vue";
2
2
  import { useForwardPropsEmits as x, CheckboxRoot as y, CheckboxIndicator as w } from "./chunk-38.js";
3
- import { cn as C } from "./chunk-1575.js";
3
+ import { cn as C } from "./chunk-1574.js";
4
4
  import _ from "./chunk-313.js";
5
5
  const B = ["for"], E = { class: "flex items-center gap-2 box-border" }, N = /* @__PURE__ */ f({
6
6
  __name: "LCheckbox",
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),t=require("./chunk-38.cjs"),l=require("./chunk-1575.cjs"),i=["for"],c=e.defineComponent({__name:"LRadioGroupItem",props:{id:{},value:{},disabled:{type:Boolean},required:{type:Boolean},name:{},asChild:{type:Boolean},as:{},class:{},label:{},checked:{type:Boolean}},setup(s){const o=s,a=e.computed(()=>{const{...r}=o;return r}),d=t.useForwardProps(a),n=e.computed(()=>a.value.disabled?"data-[state=checked]:bg-[var(--gray-60)]":"data-[state=checked]:bg-[var(--link)]");return(r,u)=>(e.openBlock(),e.createElementBlock("label",{class:"cursor-pointer label-wrapper flex items-center gap-2 border rounded-full p-2 text-base font-medium leading-none has-[:disabled]:cursor-not-allowed has-[:disabled]:bg-[var(--gray-20)] has-[:disabled]:text-[var(--gray-60)]",for:r.id},[e.createVNode(e.unref(t.RadioGroupItem),e.mergeProps(e.unref(d),{class:e.unref(l.cn)(`aspect-square h-5 w-5 data-[state=checked]:border-0 rounded-full border border-primary text-primary ring-offset-background focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 ${n.value}`,o.class)}),{default:e.withCtx(()=>[e.createVNode(e.unref(t.RadioGroupIndicator),{class:"flex items-center justify-center text-white"},{default:e.withCtx(()=>[e.renderSlot(r.$slots,"icon",{},void 0,!0)]),_:3}),e.renderSlot(r.$slots,"cover",{},void 0,!0)]),_:3},16,["class"]),e.createElementVNode("span",null,e.toDisplayString(r.label),1)],8,i))}});module.exports=c;
1
+ "use strict";const e=require("vue"),t=require("./chunk-38.cjs"),l=require("./chunk-1574.cjs"),i=["for"],c=e.defineComponent({__name:"LRadioGroupItem",props:{id:{},value:{},disabled:{type:Boolean},required:{type:Boolean},name:{},asChild:{type:Boolean},as:{},class:{},label:{},checked:{type:Boolean}},setup(s){const o=s,a=e.computed(()=>{const{...r}=o;return r}),d=t.useForwardProps(a),n=e.computed(()=>a.value.disabled?"data-[state=checked]:bg-[var(--gray-60)]":"data-[state=checked]:bg-[var(--link)]");return(r,u)=>(e.openBlock(),e.createElementBlock("label",{class:"cursor-pointer label-wrapper flex items-center gap-2 border rounded-full p-2 text-base font-medium leading-none has-[:disabled]:cursor-not-allowed has-[:disabled]:bg-[var(--gray-20)] has-[:disabled]:text-[var(--gray-60)]",for:r.id},[e.createVNode(e.unref(t.RadioGroupItem),e.mergeProps(e.unref(d),{class:e.unref(l.cn)(`aspect-square h-5 w-5 data-[state=checked]:border-0 rounded-full border border-primary text-primary ring-offset-background focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 ${n.value}`,o.class)}),{default:e.withCtx(()=>[e.createVNode(e.unref(t.RadioGroupIndicator),{class:"flex items-center justify-center text-white"},{default:e.withCtx(()=>[e.renderSlot(r.$slots,"icon",{},void 0,!0)]),_:3}),e.renderSlot(r.$slots,"cover",{},void 0,!0)]),_:3},16,["class"]),e.createElementVNode("span",null,e.toDisplayString(r.label),1)],8,i))}});module.exports=c;
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as u, computed as t, openBlock as p, createElementBlock as f, createVNode as s, unref as r, mergeProps as b, withCtx as l, renderSlot as d, createElementVNode as m, toDisplayString as g } from "vue";
2
2
  import { useForwardProps as y, RadioGroupItem as h, RadioGroupIndicator as v } from "./chunk-38.js";
3
- import { cn as w } from "./chunk-1575.js";
3
+ import { cn as w } from "./chunk-1574.js";
4
4
  const k = ["for"], C = /* @__PURE__ */ u({
5
5
  __name: "LRadioGroupItem",
6
6
  props: {
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),d=require("./chunk-35.cjs"),q=require("./chunk-36.cjs"),N=require("./chunk-1589.cjs"),v=require("./chunk-1590.cjs"),m=require("./chunk-1591.cjs"),f=require("./chunk-1592.cjs"),V=require("./chunk-1593.cjs"),S=require("./chunk-1594.cjs"),T={class:"w-full flex flex-col justify-center items-center"},j={class:"absolute top-1 z-20 w-full flex items-center justify-center sm:sticky"},E={class:"text-white bg-gray-90 font-bold rounded-2xl px-3 py-1"},L={class:"flex aspect-square items-center justify-center rounded"},z={key:0,class:"absolute bottom-0 left-1/2 transform -translate-x-1/2 bg-cyan-aqua h-1 w-14 rounded-full"},A=e.defineComponent({__name:"LCarousel",props:{images:{},startIndex:{},showThumbnails:{type:Boolean},zoom:{type:Boolean}},setup(h,{expose:x}){const l=h,y=e.ref(l.images.length),a=e.ref(),i=e.ref(0),o=e.ref(0),g=e.computed(()=>o.value===i.value),k=e.computed(()=>o.value===1),u=e.ref(),s=e.ref(null),c=e.computed(()=>i.value>5),C=e.computed(()=>!l?.startIndex||l?.startIndex>l.images.length?0:l.startIndex-1),w=e.computed(()=>l.images[o.value-1]);x({currentImage:w});function B(t){a.value=t}function b(t){u.value=t}function _(){if(!a.value||!u.value)return;s.value=a.value.selectedScrollSnap();const t=Math.max(0,s.value-1);u.value.scrollTo(t)}function I(t){if(!a.value||!u.value)return;a.value.scrollTo(t),s.value=t;const p=Math.max(0,t-1);u.value.scrollTo(p)}return N.watchOnce(a,t=>{t&&(i.value=t.scrollSnapList().length,o.value=t.selectedScrollSnap()+1,_(),t.on("select",()=>{o.value=t.selectedScrollSnap()+1,_()}))}),(t,p)=>(e.openBlock(),e.createElementBlock("div",T,[e.createVNode(e.unref(v),{class:"relative w-full",opts:{startIndex:C.value},onInitApi:B},{default:e.withCtx(()=>[e.createElementVNode("div",j,[e.createElementVNode("span",E,e.toDisplayString(o.value)+" / "+e.toDisplayString(y.value),1)]),e.createVNode(e.unref(m),null,{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.images,(r,n)=>(e.openBlock(),e.createBlock(e.unref(f),{key:n},{default:e.withCtx(()=>[l?.zoom?(e.openBlock(),e.createBlock(q,{key:0},{default:e.withCtx(()=>[e.createVNode(d,{src:r.url,alt:r.name,class:"w-full h-full sm:h-[72vh] rounded object-contain aspect-auto"},null,8,["src","alt"])]),_:2},1024)):(e.openBlock(),e.createBlock(d,{key:1,src:r.url,alt:r.name,class:"w-full h-full sm:h-[72vh] rounded object-contain aspect-auto"},null,8,["src","alt"]))]),_:2},1024))),128))]),_:1}),e.createVNode(e.unref(V)),e.createVNode(e.unref(S))]),_:1},8,["opts"]),l?.showThumbnails?(e.openBlock(),e.createBlock(e.unref(v),{key:0,class:e.normalizeClass(["relative w-full max-w-md sm:flex overflow-x-auto",{"gradient-ltr":c.value,"gradient-hidden-left":c.value&&k.value,"gradient-hidden-right":c.value&&g.value}]),onInitApi:b},{default:e.withCtx(()=>[e.createVNode(e.unref(m),{class:"flex gap-1 ml-0",style:e.normalizeStyle(c.value?"":"justify-content: center")},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.images,(r,n)=>(e.openBlock(),e.createBlock(e.unref(f),{key:n,class:"pl-0 basis-1/5 cursor-pointer rounded relative py-2",onClick:F=>I(n)},{default:e.withCtx(()=>[e.createElementVNode("div",L,[e.createVNode(d,{src:r.url,alt:r.name,class:e.normalizeClass(["w-full h-full object-cover aspect-square rounded",{"border-2 border-cyan-aqua rounded":n===s.value,"p-2":n!==s.value}])},null,8,["src","alt","class"])]),n===s.value?(e.openBlock(),e.createElementBlock("div",z)):e.createCommentVNode("",!0)]),_:2},1032,["onClick"]))),128))]),_:1},8,["style"])]),_:1},8,["class"])):e.createCommentVNode("",!0)]))}});module.exports=A;
1
+ "use strict";const e=require("vue"),m=require("./chunk-35.cjs"),b=require("./chunk-36.cjs"),x=require("./chunk-1591.cjs"),C=require("./chunk-1592.cjs"),B=require("./chunk-1593.cjs"),I=require("./chunk-1594.cjs"),q=require("./chunk-1595.cjs"),N=require("./chunk-1596.cjs"),V={class:"w-full h-full sm:auto flex flex-col relative justify-center items-center"},E={class:"top-1 z-20 w-full flex items-center justify-center absolute"},T={class:"text-white bg-gray-90 font-bold rounded-2xl px-3 py-1"},j=["onClick"],L={key:0,class:"absolute bottom-5 sm:bottom-7 left-1/2 transform -translate-x-1/2 bg-cyan-aqua h-1 w-14 rounded-full"},S=e.defineComponent({__name:"LCarousel",props:{images:{},startIndex:{},showThumbnails:{type:Boolean},zoom:{type:Boolean}},setup(p,{expose:f}){const l=p,_=e.ref(l.images.length),a=e.ref(),o=e.ref(),c=e.ref(0),r=e.ref(0),v=e.computed(()=>r.value===c.value),h=e.computed(()=>r.value===1),i=e.computed(()=>r.value-1),d=e.computed(()=>c.value>5),g=e.computed(()=>!l?.startIndex||l?.startIndex>l.images.length?0:l.startIndex-1),k=e.computed(()=>l.images[r.value-1]);f({currentImage:k});function w(t){o.value=t}function y(t){o.value&&o.value.scrollTo(t)}return x.watchOnce(o,t=>{t&&(c.value=t.scrollSnapList().length,r.value=t.selectedScrollSnap()+1,t.on("select",()=>{r.value=t.selectedScrollSnap()+1}))}),e.watch(r,()=>{if(_.value<6||!a.value)return;const u=a.value.children;(u[r.value-1]?u[r.value-1]:u[0]).scrollIntoView({behavior:"smooth",block:"center",inline:"center"})}),(t,u)=>(e.openBlock(),e.createElementBlock("div",V,[e.createElementVNode("div",E,[e.createElementVNode("span",T,e.toDisplayString(r.value)+" / "+e.toDisplayString(_.value),1)]),e.createVNode(e.unref(C),{class:e.normalizeClass(["relative w-full",{grow:!t.showThumbnails,"h-4/5":t.showThumbnails}]),opts:{startIndex:g.value},onInitApi:w},{default:e.withCtx(()=>[e.createVNode(e.unref(B),{class:"h-full w-full"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.images,(n,s)=>(e.openBlock(),e.createBlock(e.unref(I),{key:s,class:"flex justify-center items-center w-full h-full"},{default:e.withCtx(()=>[l?.zoom?(e.openBlock(),e.createBlock(b,{key:0,class:"w-full h-full"},{default:e.withCtx(()=>[e.createVNode(m,{src:n.url,alt:n.name,class:"w-full h-full rounded object-contain"},null,8,["src","alt"])]),_:2},1024)):(e.openBlock(),e.createBlock(m,{key:1,src:n.url,alt:n.name,class:"w-full h-full rounded object-contain"},null,8,["src","alt"]))]),_:2},1024))),128))]),_:1}),e.createVNode(e.unref(q)),e.createVNode(e.unref(N))]),_:1},8,["class","opts"]),l?.showThumbnails?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["relative w-full max-w-md flex h-1/5",{"gradient-ltr":d.value,"gradient-hidden-left":d.value&&h.value,"gradient-hidden-right":d.value&&v.value}])},[e.createElementVNode("div",{ref_key:"thumbnails",ref:a,class:"h-full w-full flex overflow-x-auto no-scrollbar"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.images,(n,s)=>(e.openBlock(),e.createElementBlock("div",{key:s,class:"pl-0 shrink-0 grow-0 basis-1/5 cursor-pointer rounded relative flex items-center justify-center",onClick:z=>y(s)},[e.createVNode(m,{src:n.url,alt:n.name,class:e.normalizeClass(["w-full aspect-square object-cover rounded",{"border-2 border-cyan-aqua rounded":s===i.value,"p-2":s!==i.value}])},null,8,["src","alt","class"]),s===i.value?(e.openBlock(),e.createElementBlock("div",L)):e.createCommentVNode("",!0)],8,j))),128))],512)],2)):e.createCommentVNode("",!0)]))}});module.exports=S;
@@ -1,16 +1,16 @@
1
- import { defineComponent as D, ref as m, computed as d, openBlock as l, createElementBlock as _, createVNode as o, unref as a, withCtx as r, createElementVNode as x, toDisplayString as w, Fragment as I, renderList as k, createBlock as v, normalizeClass as S, normalizeStyle as O, createCommentVNode as C } from "vue";
1
+ import { defineComponent as q, ref as c, computed as o, watch as N, openBlock as s, createElementBlock as r, createElementVNode as b, toDisplayString as k, createVNode as u, unref as i, normalizeClass as w, withCtx as d, Fragment as I, renderList as C, createBlock as g, createCommentVNode as T } from "vue";
2
2
  import y from "./chunk-35.js";
3
- import G from "./chunk-36.js";
4
- import { watchOnce as H } from "./chunk-1589.js";
5
- import T from "./chunk-1590.js";
6
- import $ from "./chunk-1591.js";
7
- import j from "./chunk-1592.js";
8
- import J from "./chunk-1593.js";
9
- import K from "./chunk-1594.js";
10
- const P = { class: "w-full flex flex-col justify-center items-center" }, Q = { class: "absolute top-1 z-20 w-full flex items-center justify-center sm:sticky" }, R = { class: "text-white bg-gray-90 font-bold rounded-2xl px-3 py-1" }, U = { class: "flex aspect-square items-center justify-center rounded" }, W = {
3
+ import A from "./chunk-36.js";
4
+ import { watchOnce as F } from "./chunk-1591.js";
5
+ import Q from "./chunk-1592.js";
6
+ import D from "./chunk-1593.js";
7
+ import M from "./chunk-1594.js";
8
+ import O from "./chunk-1595.js";
9
+ import G from "./chunk-1596.js";
10
+ const H = { class: "w-full h-full sm:auto flex flex-col relative justify-center items-center" }, J = { class: "top-1 z-20 w-full flex items-center justify-center absolute" }, K = { class: "text-white bg-gray-90 font-bold rounded-2xl px-3 py-1" }, P = ["onClick"], R = {
11
11
  key: 0,
12
- class: "absolute bottom-0 left-1/2 transform -translate-x-1/2 bg-cyan-aqua h-1 w-14 rounded-full"
13
- }, re = /* @__PURE__ */ D({
12
+ class: "absolute bottom-5 sm:bottom-7 left-1/2 transform -translate-x-1/2 bg-cyan-aqua h-1 w-14 rounded-full"
13
+ }, ae = /* @__PURE__ */ q({
14
14
  __name: "LCarousel",
15
15
  props: {
16
16
  images: {},
@@ -18,63 +18,68 @@ const P = { class: "w-full flex flex-col justify-center items-center" }, Q = { c
18
18
  showThumbnails: { type: Boolean },
19
19
  zoom: { type: Boolean }
20
20
  },
21
- setup(z, { expose: A }) {
22
- const t = z, B = m(t.images.length), u = m(), h = m(0), c = m(0), q = d(() => c.value === h.value), L = d(() => c.value === 1), f = m(), i = m(null), p = d(() => h.value > 5), M = d(() => !t?.startIndex || t?.startIndex > t.images.length ? 0 : t.startIndex - 1), N = d(() => t.images[c.value - 1]);
23
- A({
24
- currentImage: N
21
+ setup($, { expose: j }) {
22
+ const t = $, x = c(t.images.length), h = c(), m = c(), v = c(0), l = c(0), S = o(() => l.value === v.value), B = o(() => l.value === 1), p = o(() => l.value - 1), _ = o(() => v.value > 5), z = o(() => !t?.startIndex || t?.startIndex > t.images.length ? 0 : t.startIndex - 1), E = o(() => t.images[l.value - 1]);
23
+ j({
24
+ currentImage: E
25
25
  });
26
- function V(e) {
27
- u.value = e;
28
- }
29
- function E(e) {
30
- f.value = e;
26
+ function L(e) {
27
+ m.value = e;
31
28
  }
32
- function g() {
33
- if (!u.value || !f.value) return;
34
- i.value = u.value.selectedScrollSnap();
35
- const e = Math.max(0, i.value - 1);
36
- f.value.scrollTo(e);
37
- }
38
- function F(e) {
39
- if (!u.value || !f.value) return;
40
- u.value.scrollTo(e), i.value = e;
41
- const b = Math.max(0, e - 1);
42
- f.value.scrollTo(b);
29
+ function V(e) {
30
+ m.value && m.value.scrollTo(e);
43
31
  }
44
- return H(u, (e) => {
45
- e && (h.value = e.scrollSnapList().length, c.value = e.selectedScrollSnap() + 1, g(), e.on("select", () => {
46
- c.value = e.selectedScrollSnap() + 1, g();
32
+ return F(m, (e) => {
33
+ e && (v.value = e.scrollSnapList().length, l.value = e.selectedScrollSnap() + 1, e.on("select", () => {
34
+ l.value = e.selectedScrollSnap() + 1;
47
35
  }));
48
- }), (e, b) => (l(), _("div", P, [
49
- o(a(T), {
50
- class: "relative w-full",
36
+ }), N(l, () => {
37
+ if (x.value < 6 || !h.value) return;
38
+ const f = h.value.children;
39
+ (f[l.value - 1] ? f[l.value - 1] : f[0]).scrollIntoView({
40
+ behavior: "smooth",
41
+ block: "center",
42
+ inline: "center"
43
+ });
44
+ }), (e, f) => (s(), r("div", H, [
45
+ b("div", J, [
46
+ b("span", K, k(l.value) + " / " + k(x.value), 1)
47
+ ]),
48
+ u(i(Q), {
49
+ class: w(["relative w-full", {
50
+ grow: !e.showThumbnails,
51
+ "h-4/5": e.showThumbnails
52
+ }]),
51
53
  opts: {
52
- startIndex: M.value
54
+ startIndex: z.value
53
55
  },
54
- onInitApi: V
56
+ onInitApi: L
55
57
  }, {
56
- default: r(() => [
57
- x("div", Q, [
58
- x("span", R, w(c.value) + " / " + w(B.value), 1)
59
- ]),
60
- o(a($), null, {
61
- default: r(() => [
62
- (l(!0), _(I, null, k(t.images, (s, n) => (l(), v(a(j), { key: n }, {
63
- default: r(() => [
64
- t?.zoom ? (l(), v(G, { key: 0 }, {
65
- default: r(() => [
66
- o(y, {
67
- src: s.url,
68
- alt: s.name,
69
- class: "w-full h-full sm:h-[72vh] rounded object-contain aspect-auto"
58
+ default: d(() => [
59
+ u(i(D), { class: "h-full w-full" }, {
60
+ default: d(() => [
61
+ (s(!0), r(I, null, C(t.images, (n, a) => (s(), g(i(M), {
62
+ key: a,
63
+ class: "flex justify-center items-center w-full h-full"
64
+ }, {
65
+ default: d(() => [
66
+ t?.zoom ? (s(), g(A, {
67
+ key: 0,
68
+ class: "w-full h-full"
69
+ }, {
70
+ default: d(() => [
71
+ u(y, {
72
+ src: n.url,
73
+ alt: n.name,
74
+ class: "w-full h-full rounded object-contain"
70
75
  }, null, 8, ["src", "alt"])
71
76
  ]),
72
77
  _: 2
73
- }, 1024)) : (l(), v(y, {
78
+ }, 1024)) : (s(), g(y, {
74
79
  key: 1,
75
- src: s.url,
76
- alt: s.name,
77
- class: "w-full h-full sm:h-[72vh] rounded object-contain aspect-auto"
80
+ src: n.url,
81
+ alt: n.name,
82
+ class: "w-full h-full rounded object-contain"
78
83
  }, null, 8, ["src", "alt"]))
79
84
  ]),
80
85
  _: 2
@@ -82,55 +87,44 @@ const P = { class: "w-full flex flex-col justify-center items-center" }, Q = { c
82
87
  ]),
83
88
  _: 1
84
89
  }),
85
- o(a(J)),
86
- o(a(K))
90
+ u(i(O)),
91
+ u(i(G))
87
92
  ]),
88
93
  _: 1
89
- }, 8, ["opts"]),
90
- t?.showThumbnails ? (l(), v(a(T), {
94
+ }, 8, ["class", "opts"]),
95
+ t?.showThumbnails ? (s(), r("div", {
91
96
  key: 0,
92
- class: S(["relative w-full max-w-md sm:flex overflow-x-auto", {
93
- "gradient-ltr": p.value,
94
- "gradient-hidden-left": p.value && L.value,
95
- "gradient-hidden-right": p.value && q.value
96
- }]),
97
- onInitApi: E
98
- }, {
99
- default: r(() => [
100
- o(a($), {
101
- class: "flex gap-1 ml-0",
102
- style: O(p.value ? "" : "justify-content: center")
103
- }, {
104
- default: r(() => [
105
- (l(!0), _(I, null, k(t.images, (s, n) => (l(), v(a(j), {
106
- key: n,
107
- class: "pl-0 basis-1/5 cursor-pointer rounded relative py-2",
108
- onClick: (X) => F(n)
109
- }, {
110
- default: r(() => [
111
- x("div", U, [
112
- o(y, {
113
- src: s.url,
114
- alt: s.name,
115
- class: S(["w-full h-full object-cover aspect-square rounded", {
116
- "border-2 border-cyan-aqua rounded": n === i.value,
117
- "p-2": n !== i.value
118
- }])
119
- }, null, 8, ["src", "alt", "class"])
120
- ]),
121
- n === i.value ? (l(), _("div", W)) : C("", !0)
122
- ]),
123
- _: 2
124
- }, 1032, ["onClick"]))), 128))
125
- ]),
126
- _: 1
127
- }, 8, ["style"])
128
- ]),
129
- _: 1
130
- }, 8, ["class"])) : C("", !0)
97
+ class: w(["relative w-full max-w-md flex h-1/5", {
98
+ "gradient-ltr": _.value,
99
+ "gradient-hidden-left": _.value && B.value,
100
+ "gradient-hidden-right": _.value && S.value
101
+ }])
102
+ }, [
103
+ b("div", {
104
+ ref_key: "thumbnails",
105
+ ref: h,
106
+ class: "h-full w-full flex overflow-x-auto no-scrollbar"
107
+ }, [
108
+ (s(!0), r(I, null, C(t.images, (n, a) => (s(), r("div", {
109
+ key: a,
110
+ class: "pl-0 shrink-0 grow-0 basis-1/5 cursor-pointer rounded relative flex items-center justify-center",
111
+ onClick: (U) => V(a)
112
+ }, [
113
+ u(y, {
114
+ src: n.url,
115
+ alt: n.name,
116
+ class: w(["w-full aspect-square object-cover rounded", {
117
+ "border-2 border-cyan-aqua rounded": a === p.value,
118
+ "p-2": a !== p.value
119
+ }])
120
+ }, null, 8, ["src", "alt", "class"]),
121
+ a === p.value ? (s(), r("div", R)) : T("", !0)
122
+ ], 8, P))), 128))
123
+ ], 512)
124
+ ], 2)) : T("", !0)
131
125
  ]));
132
126
  }
133
127
  });
134
128
  export {
135
- re as default
129
+ ae as default
136
130
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./chunk-1589.cjs"),i=require("vue");function h(n){return JSON.parse(JSON.stringify(n))}function J(n,c,j,x={}){var d,f,v;const{clone:a=!1,passive:N=!1,eventName:V,deep:g=!1,defaultValue:w,shouldEmit:m}=x,t=i.getCurrentInstance(),S=j||t?.emit||((d=t?.$emit)==null?void 0:d.bind(t))||((v=(f=t?.proxy)==null?void 0:f.$emit)==null?void 0:v.bind(t?.proxy));let l=V;l=l||`update:${c.toString()}`;const p=e=>a?typeof a=="function"?a(e):h(e):e,O=()=>o.isDef(n[c])?p(n[c]):w,b=e=>{m?m(e)&&S(l,e):S(l,e)};if(N){const e=O(),s=i.ref(e);let r=!1;return i.watch(()=>n[c],u=>{r||(r=!0,s.value=p(u),i.nextTick(()=>r=!1))}),i.watch(s,u=>{!r&&(u!==n[c]||g)&&b(u)},{deep:g}),s}else return i.computed({get(){return O()},set(e){b(e)}})}exports.createInjectionState=o.createInjectionState;exports.injectLocal=o.injectLocal;exports.isDef=o.isDef;exports.provideLocal=o.provideLocal;exports.watchOnce=o.watchOnce;exports.cloneFnJSON=h;exports.useVModel=J;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./chunk-1597.cjs"),t=require("./chunk-1598.cjs");function n(...e){return t.twMerge(r.clsx(e))}exports.cn=n;
@@ -1,55 +1,8 @@
1
- import { isDef as h } from "./chunk-1589.js";
2
- import { createInjectionState as D, injectLocal as M, provideLocal as T, watchOnce as U } from "./chunk-1589.js";
3
- import { getCurrentInstance as J, ref as $, watch as S, nextTick as j, computed as w } from "vue";
4
- function E(n) {
5
- return JSON.parse(JSON.stringify(n));
6
- }
7
- function L(n, i, N, O = {}) {
8
- var s, a, f;
9
- const {
10
- clone: c = !1,
11
- passive: V = !1,
12
- eventName: _,
13
- deep: d = !1,
14
- defaultValue: b,
15
- shouldEmit: m
16
- } = O, t = J(), p = N || t?.emit || ((s = t?.$emit) == null ? void 0 : s.bind(t)) || ((f = (a = t?.proxy) == null ? void 0 : a.$emit) == null ? void 0 : f.bind(t?.proxy));
17
- let o = _;
18
- o = o || `update:${i.toString()}`;
19
- const v = (e) => c ? typeof c == "function" ? c(e) : E(e) : e, g = () => h(n[i]) ? v(n[i]) : b, x = (e) => {
20
- m ? m(e) && p(o, e) : p(o, e);
21
- };
22
- if (V) {
23
- const e = g(), u = $(e);
24
- let l = !1;
25
- return S(
26
- () => n[i],
27
- (r) => {
28
- l || (l = !0, u.value = v(r), j(() => l = !1));
29
- }
30
- ), S(
31
- u,
32
- (r) => {
33
- !l && (r !== n[i] || d) && x(r);
34
- },
35
- { deep: d }
36
- ), u;
37
- } else
38
- return w({
39
- get() {
40
- return g();
41
- },
42
- set(e) {
43
- x(e);
44
- }
45
- });
1
+ import { clsx as o } from "./chunk-1597.js";
2
+ import { twMerge as t } from "./chunk-1598.js";
3
+ function n(...r) {
4
+ return t(o(r));
46
5
  }
47
6
  export {
48
- E as cloneFnJSON,
49
- D as createInjectionState,
50
- M as injectLocal,
51
- h as isDef,
52
- T as provideLocal,
53
- L as useVModel,
54
- U as watchOnce
7
+ n as cn
55
8
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./chunk-1597.cjs"),t=require("./chunk-1598.cjs");function n(...e){return t.twMerge(r.clsx(e))}exports.cn=n;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});function u(r){var e,o,t="";if(typeof r=="string"||typeof r=="number")t+=r;else if(typeof r=="object")if(Array.isArray(r))for(e=0;e<r.length;e++)r[e]&&(o=u(r[e]))&&(t&&(t+=" "),t+=o);else for(e in r)r[e]&&(t&&(t+=" "),t+=e);return t}function f(){for(var r,e,o=0,t="";o<arguments.length;)(r=arguments[o++])&&(e=u(r))&&(t&&(t+=" "),t+=e);return t}exports.clsx=f;exports.default=f;
@@ -1,8 +1,15 @@
1
- import { clsx as o } from "./chunk-1597.js";
2
- import { twMerge as t } from "./chunk-1598.js";
3
- function n(...r) {
4
- return t(o(r));
1
+ function o(r) {
2
+ var f, n, t = "";
3
+ if (typeof r == "string" || typeof r == "number") t += r;
4
+ else if (typeof r == "object") if (Array.isArray(r)) for (f = 0; f < r.length; f++) r[f] && (n = o(r[f])) && (t && (t += " "), t += n);
5
+ else for (f in r) r[f] && (t && (t += " "), t += f);
6
+ return t;
7
+ }
8
+ function a() {
9
+ for (var r, f, n = 0, t = ""; n < arguments.length; ) (r = arguments[n++]) && (f = o(r)) && (t && (t += " "), t += f);
10
+ return t;
5
11
  }
6
12
  export {
7
- n as cn
13
+ a as clsx,
14
+ a as default
8
15
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./chunk-1523.cjs"),t=e.cva("flex w-full rounded-md border border-input bg-background py-2 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50",{variants:{variant:{default:""},size:{default:"h-10 px-3",sm:"h-9 px-2.5",lg:"h-11 px-5"}},defaultVariants:{variant:"default",size:"default"}});exports.inputVariants=t;
1
+ "use strict";const t=require("./chunk-33.cjs");module.exports=t;
@@ -1,23 +1,4 @@
1
- import { cva as e } from "./chunk-1523.js";
2
- const a = e(
3
- "flex w-full rounded-md border border-input bg-background py-2 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50",
4
- {
5
- variants: {
6
- variant: {
7
- default: ""
8
- },
9
- size: {
10
- default: "h-10 px-3",
11
- sm: "h-9 px-2.5",
12
- lg: "h-11 px-5"
13
- }
14
- },
15
- defaultVariants: {
16
- variant: "default",
17
- size: "default"
18
- }
19
- }
20
- );
1
+ import f from "./chunk-33.js";
21
2
  export {
22
- a as inputVariants
3
+ f as default
23
4
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./chunk-1523.cjs"),e=r.cva("w-8 h-8 border-4 border-t-4 rounded-full animate-spin [border-color:transparent] [border-top-color:var(--link)] [border-left-color:var(--link)] [border-right-color:var(--link)]");exports.spinnerVariants=e;
1
+ "use strict";const e=require("./chunk-34.cjs");module.exports=e;
@@ -1,7 +1,4 @@
1
- import { cva as r } from "./chunk-1523.js";
2
- const e = r(
3
- "w-8 h-8 border-4 border-t-4 rounded-full animate-spin [border-color:transparent] [border-top-color:var(--link)] [border-left-color:var(--link)] [border-right-color:var(--link)]"
4
- );
1
+ import f from "./chunk-34.js";
5
2
  export {
6
- e as spinnerVariants
3
+ f as default
7
4
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./chunk-1523.cjs"),t=e.cva("bg-accent font-bold inline-flex items-center justify-center rounded-md text-sm ring-offset-background transition-colors hoverable:bg-muted hoverable:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground data-[state=on]:[color:#1765C1] data-[state=on]:[background-color:#D7E9FF]",{variants:{variant:{default:"text-accent-foreground",outline:"border border-input"},size:{default:"h-10 px-3",sm:"h-9 px-2.5",lg:"h-11 px-5"}},defaultVariants:{variant:"default",size:"default"}});exports.toggleVariants=t;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./chunk-1609.cjs"),l=require("./chunk-1579.cjs"),m=require("./chunk-1610.cjs"),v=require("./chunk-1611.cjs"),o=require("./chunk-1612.cjs"),y=require("./chunk-1613.cjs");function f(h){let t=typeof h[0]=="object"?h.shift():new v.GregorianCalendar,e;if(typeof h[0]=="string")e=h.shift();else{let r=t.getEras();e=r[r.length-1]}let s=h.shift(),n=h.shift(),a=h.shift();return[t,e,s,n,a]}var T=new WeakMap;class c{copy(){return this.era?new c(this.calendar,this.era,this.year,this.month,this.day):new c(this.calendar,this.year,this.month,this.day)}add(t){return i.add(this,t)}subtract(t){return i.subtract(this,t)}set(t){return i.set(this,t)}cycle(t,e,s){return i.cycleDate(this,t,e,s)}toDate(t){return o.toDate(this,t)}toString(){return m.dateToString(this)}compare(t){return l.compareDate(this,t)}constructor(...t){y._(this,T,{writable:!0,value:void 0});let[e,s,n,a,r]=f(t);this.calendar=e,this.era=s,this.year=n,this.month=a,this.day=r,i.constrain(this)}}var w=new WeakMap;class u{copy(){return this.era?new u(this.calendar,this.era,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond):new u(this.calendar,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)}add(t){return i.add(this,t)}subtract(t){return i.subtract(this,t)}set(t){return i.set(i.setTime(this,t),t)}cycle(t,e,s){switch(t){case"era":case"year":case"month":case"day":return i.cycleDate(this,t,e,s);default:return i.cycleTime(this,t,e,s)}}toDate(t,e){return o.toDate(this,t,e)}toString(){return m.dateTimeToString(this)}compare(t){let e=l.compareDate(this,t);return e===0?l.compareTime(this,o.toCalendarDateTime(t)):e}constructor(...t){y._(this,w,{writable:!0,value:void 0});let[e,s,n,a,r]=f(t);this.calendar=e,this.era=s,this.year=n,this.month=a,this.day=r,this.hour=t.shift()||0,this.minute=t.shift()||0,this.second=t.shift()||0,this.millisecond=t.shift()||0,i.constrain(this)}}var b=new WeakMap;class d{copy(){return this.era?new d(this.calendar,this.era,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond):new d(this.calendar,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond)}add(t){return i.addZoned(this,t)}subtract(t){return i.subtractZoned(this,t)}set(t,e){return i.setZoned(this,t,e)}cycle(t,e,s){return i.cycleZoned(this,t,e,s)}toDate(){return o.zonedToDate(this)}toString(){return m.zonedDateTimeToString(this)}toAbsoluteString(){return this.toDate().toISOString()}compare(t){return this.toDate().getTime()-o.toZoned(t,this.timeZone).toDate().getTime()}constructor(...t){y._(this,b,{writable:!0,value:void 0});let[e,s,n,a,r]=f(t),D=t.shift(),p=t.shift();this.calendar=e,this.era=s,this.year=n,this.month=a,this.day=r,this.timeZone=D,this.offset=p,this.hour=t.shift()||0,this.minute=t.shift()||0,this.second=t.shift()||0,this.millisecond=t.shift()||0,i.constrain(this)}}exports.CalendarDate=c;exports.CalendarDateTime=u;exports.ZonedDateTime=d;