@fewangsit/wangsvue-presets 1.0.100 → 1.0.102-alpha.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 (65) hide show
  1. package/fixedasset/buttonradio/index.d.ts +6 -4
  2. package/fixedasset/buttonradio/index.js +8 -12
  3. package/fixedasset/calendar/index.js +3 -2
  4. package/fixedasset/fieldwrapper/index.d.ts +5 -2
  5. package/fixedasset/fieldwrapper/index.js +4 -1
  6. package/fixedasset/index.d.ts +2 -2
  7. package/fixedasset/index.es.js +663 -323
  8. package/fixedasset/index.js +94 -94
  9. package/fixedasset/index.system.js +2 -2
  10. package/fixedasset/inputotp/index.d.ts +1 -136
  11. package/fixedasset/inputotp/index.js +50 -53
  12. package/fixedasset/password/index.js +1 -0
  13. package/fixedasset/style.css +137 -49
  14. package/fixedasset/tabmenu/index.d.ts +1 -104
  15. package/fixedasset/tabmenu/index.js +48 -27
  16. package/fixedasset/timeline/index.d.ts +24 -2
  17. package/fixedasset/timeline/index.js +24 -5
  18. package/fixedasset/tree/index.d.ts +10 -5
  19. package/fixedasset/tree/index.js +8 -5
  20. package/fixedasset/username/index.js +1 -1
  21. package/globalsettings/buttonradio/index.d.ts +6 -4
  22. package/globalsettings/buttonradio/index.js +8 -12
  23. package/globalsettings/calendar/index.js +3 -2
  24. package/globalsettings/fieldwrapper/index.d.ts +5 -2
  25. package/globalsettings/fieldwrapper/index.js +4 -1
  26. package/globalsettings/index.d.ts +1 -1
  27. package/globalsettings/index.es.js +538 -193
  28. package/globalsettings/index.js +26 -26
  29. package/globalsettings/index.system.js +2 -2
  30. package/globalsettings/style.css +120 -51
  31. package/globalsettings/tabmenu/index.d.ts +1 -104
  32. package/globalsettings/tabmenu/index.js +48 -27
  33. package/globalsettings/timeline/index.d.ts +22 -0
  34. package/globalsettings/timeline/index.js +19 -0
  35. package/package.json +1 -1
  36. package/supplyasset/buttonradio/index.d.ts +6 -4
  37. package/supplyasset/buttonradio/index.js +8 -12
  38. package/supplyasset/calendar/index.js +3 -2
  39. package/supplyasset/fieldwrapper/index.d.ts +5 -2
  40. package/supplyasset/fieldwrapper/index.js +4 -1
  41. package/supplyasset/index.d.ts +1 -1
  42. package/supplyasset/index.es.js +547 -201
  43. package/supplyasset/index.js +24 -24
  44. package/supplyasset/index.system.js +2 -2
  45. package/supplyasset/style.css +120 -51
  46. package/supplyasset/tabmenu/index.d.ts +1 -104
  47. package/supplyasset/tabmenu/index.js +50 -28
  48. package/supplyasset/timeline/index.d.ts +22 -0
  49. package/supplyasset/timeline/index.js +19 -0
  50. package/wangsvue/buttonbulkaction/index.d.ts +2 -2
  51. package/wangsvue/buttonbulkaction/index.js +2 -1
  52. package/wangsvue/buttonradio/index.d.ts +2 -1
  53. package/wangsvue/buttonradio/index.js +3 -7
  54. package/wangsvue/calendar/index.js +3 -2
  55. package/wangsvue/fieldwrapper/index.d.ts +5 -2
  56. package/wangsvue/fieldwrapper/index.js +4 -1
  57. package/wangsvue/index.d.ts +1 -1
  58. package/wangsvue/index.es.js +593 -259
  59. package/wangsvue/index.js +44 -44
  60. package/wangsvue/index.system.js +2 -2
  61. package/wangsvue/style.css +106 -49
  62. package/wangsvue/tabmenu/index.d.ts +1 -56
  63. package/wangsvue/tabmenu/index.js +20 -13
  64. package/wangsvue/timeline/index.d.ts +20 -0
  65. package/wangsvue/timeline/index.js +16 -0
@@ -1,4 +1,7 @@
1
- const h = {
1
+ var j = Object.defineProperty;
2
+ var A = (e, t, r) => t in e ? j(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
3
+ var b = (e, t, r) => A(e, typeof t != "symbol" ? t + "" : t, r);
4
+ const T = {
2
5
  accordiontab: {
3
6
  header: ({ props: e }) => ({
4
7
  class: [
@@ -60,7 +63,7 @@ const h = {
60
63
  leaveToClass: "max-h-0"
61
64
  }
62
65
  }
63
- }, y = {
66
+ }, _ = {
64
67
  root: ({ props: e }) => ({
65
68
  class: [
66
69
  "relative",
@@ -289,7 +292,7 @@ const h = {
289
292
  leaveActiveClass: "transition-opacity duration-100 ease-linear",
290
293
  leaveToClass: "opacity-0"
291
294
  }
292
- }, w = {
295
+ }, N = {
293
296
  root: ({ props: e, parent: t }) => {
294
297
  var r, i, n;
295
298
  return {
@@ -329,13 +332,13 @@ const h = {
329
332
  image: {
330
333
  class: "h-full w-full rounded-full"
331
334
  }
332
- }, k = {
335
+ }, I = {
333
336
  root: {
334
337
  class: "flex items-center ml-4",
335
338
  "data-wv-name": "usergroup",
336
339
  "data-wv-section": "root"
337
340
  }
338
- }, o = {
341
+ }, c = {
339
342
  root: ({ props: e }) => ({
340
343
  class: [
341
344
  // Alignment
@@ -381,7 +384,7 @@ const h = {
381
384
  "icon-class": "w-[10px] h-[10px] !text-[10px]",
382
385
  "data-wv-section": "removebutton"
383
386
  })
384
- }, C = {
387
+ }, F = {
385
388
  root: ({ context: e }) => ({
386
389
  class: [
387
390
  // Font
@@ -419,7 +422,7 @@ const h = {
419
422
  }
420
423
  ]
421
424
  })
422
- }, z = {
425
+ }, S = {
423
426
  root: ({ props: e, context: t }) => ({
424
427
  class: [
425
428
  "relative",
@@ -714,7 +717,7 @@ const h = {
714
717
  }
715
718
  ]
716
719
  })
717
- }, j = {
720
+ }, P = {
718
721
  root: ({ props: e }) => ({
719
722
  class: [
720
723
  "rounded ring-1 ring-success-500 p-[5px] ring-inset",
@@ -731,7 +734,7 @@ const h = {
731
734
  "data-wv-section": "icon",
732
735
  severity: "success"
733
736
  }
734
- }, A = {
737
+ }, V = {
735
738
  root: ({ context: e }) => ({
736
739
  class: [
737
740
  "rounded ring-1 ring-general-500 p-[5px] ring-inset",
@@ -748,7 +751,7 @@ const h = {
748
751
  ],
749
752
  "data-wv-section": "icon"
750
753
  })
751
- }, _ = {
754
+ }, U = {
752
755
  buttontrigger: {
753
756
  root: ({ context: e }) => ({
754
757
  class: [
@@ -797,7 +800,7 @@ const h = {
797
800
  inputtext: {
798
801
  class: "!h-max !py-0 !px-0"
799
802
  }
800
- }, F = {
803
+ }, E = {
801
804
  root: ["w-max"],
802
805
  button: {
803
806
  class: [
@@ -806,7 +809,7 @@ const h = {
806
809
  "data-ts-section": "button-split"
807
810
  },
808
811
  menuButton: "!rounded-ss-none !rounded-es-none"
809
- }, u = navigator.userAgent.includes("Firefox"), I = {
812
+ }, x = navigator.userAgent.includes("Firefox"), B = {
810
813
  root: ({ props: e }) => ({
811
814
  class: [
812
815
  // Display and Position
@@ -1089,11 +1092,12 @@ const h = {
1089
1092
  daylabel: ({ context: e }) => ({
1090
1093
  class: [
1091
1094
  // Flexbox and Alignment
1092
- "flex items-center justify-center",
1095
+ { flex: !e.date.otherMonth },
1096
+ { hidden: e.date.otherMonth },
1097
+ "items-center justify-center",
1093
1098
  // 'mx-auto',
1094
1099
  // Shape & Size
1095
1100
  "w-8 h-8",
1096
- { hidden: e.date.otherMonth },
1097
1101
  // Colors
1098
1102
  {
1099
1103
  "bg-general-100": e.date.today && !e.selected,
@@ -1263,8 +1267,8 @@ const h = {
1263
1267
  class: [
1264
1268
  "w-[39px] h-[26px] flex justify-center items-center ring-general-200 rounded",
1265
1269
  {
1266
- "ring-1": u,
1267
- "ring-[0.5px]": !u
1270
+ "ring-1": x,
1271
+ "ring-[0.5px]": !x
1268
1272
  }
1269
1273
  ]
1270
1274
  },
@@ -1389,7 +1393,7 @@ const h = {
1389
1393
  leaveActiveClass: "transition-opacity duration-100 ease-linear",
1390
1394
  leaveToClass: "opacity-0"
1391
1395
  }
1392
- }, T = {
1396
+ }, G = {
1393
1397
  root: {
1394
1398
  class: [
1395
1399
  //Shape
@@ -1418,7 +1422,7 @@ const h = {
1418
1422
  footer: {
1419
1423
  class: ["inline-flex gap-1 text-xs items-center"]
1420
1424
  }
1421
- }, V = {
1425
+ }, $ = {
1422
1426
  root: {
1423
1427
  class: [
1424
1428
  // Flexbox
@@ -1532,7 +1536,7 @@ const h = {
1532
1536
  }
1533
1537
  ]
1534
1538
  })
1535
- }, S = {
1539
+ }, O = {
1536
1540
  root: ({ props: e, state: t }) => ({
1537
1541
  class: [
1538
1542
  // Display and Position
@@ -1711,7 +1715,7 @@ const h = {
1711
1715
  leaveActiveClass: "transition-opacity duration-100 ease-linear",
1712
1716
  leaveToClass: "opacity-0"
1713
1717
  }
1714
- }, P = {
1718
+ }, L = {
1715
1719
  button: ({ props: e, buttonClass: t }) => ({
1716
1720
  class: [
1717
1721
  t,
@@ -1750,7 +1754,7 @@ const h = {
1750
1754
  buttondownload: {
1751
1755
  "data-wv-section": "changelog-dialog-button-download"
1752
1756
  }
1753
- }, a = {
1757
+ }, d = {
1754
1758
  root: {
1755
1759
  class: [
1756
1760
  "relative",
@@ -1860,7 +1864,7 @@ const h = {
1860
1864
  tooltipicon: {
1861
1865
  class: "text-primary-500 w-[10px] h-[10px]"
1862
1866
  }
1863
- }, $ = {
1867
+ }, R = {
1864
1868
  root: {
1865
1869
  class: [
1866
1870
  // Flexbox
@@ -1986,7 +1990,7 @@ const h = {
1986
1990
  "cursor-pointer"
1987
1991
  ]
1988
1992
  }
1989
- }, B = {
1993
+ }, W = {
1990
1994
  copybutton: {
1991
1995
  class: "peer-hover:visible scale-125 !absolute top-2 right-2 z-50"
1992
1996
  },
@@ -2006,7 +2010,7 @@ const h = {
2006
2010
  "px-2 bg-primary-100 sticky left-0 text-right select-none"
2007
2011
  ]
2008
2012
  }
2009
- }, R = {
2013
+ }, D = {
2010
2014
  root: ({ props: e }) => ({
2011
2015
  class: [
2012
2016
  // Display
@@ -2115,7 +2119,7 @@ const h = {
2115
2119
  leaveActiveClass: "transition-opacity duration-100 ease-linear",
2116
2120
  leaveToClass: "opacity-0"
2117
2121
  }
2118
- }, L = {
2122
+ }, Y = {
2119
2123
  root: {
2120
2124
  class: [
2121
2125
  // Shape
@@ -2216,7 +2220,7 @@ const h = {
2216
2220
  leaveActiveClass: "transition-opacity duration-100 ease-linear",
2217
2221
  leaveToClass: "opacity-0"
2218
2222
  }
2219
- }, D = {
2223
+ }, H = {
2220
2224
  root: {
2221
2225
  class: [
2222
2226
  // Sizing and Shape
@@ -2320,7 +2324,7 @@ const h = {
2320
2324
  enterFromClass: "opacity-0",
2321
2325
  enterActiveClass: "transition-opacity duration-250"
2322
2326
  }
2323
- }, E = {
2327
+ }, K = {
2324
2328
  menustart: {
2325
2329
  class: ""
2326
2330
  },
@@ -2344,7 +2348,7 @@ const h = {
2344
2348
  { invisible: e.dragable === !1 }
2345
2349
  ]
2346
2350
  })
2347
- }, O = {
2351
+ }, q = {
2348
2352
  root: {
2349
2353
  "data-wv-name": "datatable",
2350
2354
  "data-wv-section": "root",
@@ -2560,7 +2564,7 @@ const h = {
2560
2564
  class: "",
2561
2565
  template: "FirstPageLink PrevPageLink PageLinks JumpToPageInput NextPageLink LastPageLink CurrentPageReport RowsPerPageDropdown"
2562
2566
  })
2563
- }, G = {
2567
+ }, J = {
2564
2568
  content: {
2565
2569
  class: [
2566
2570
  // Spacing
@@ -2593,7 +2597,7 @@ const h = {
2593
2597
  "border-surface-200 border-b"
2594
2598
  ]
2595
2599
  }
2596
- }, N = {
2600
+ }, X = {
2597
2601
  listbutton: ({ props: e }) => ({
2598
2602
  class: [
2599
2603
  // Font
@@ -2638,7 +2642,7 @@ const h = {
2638
2642
  "cursor-pointer select-none overflow-hidden"
2639
2643
  ]
2640
2644
  })
2641
- }, x = {
2645
+ }, C = {
2642
2646
  root: ({ state: e }) => ({
2643
2647
  class: [
2644
2648
  // Shape
@@ -2833,7 +2837,7 @@ const h = {
2833
2837
  leaveActiveClass: "transition-all duration-200 ease-out",
2834
2838
  leaveToClass: "opacity-0 scale-75 mask-active"
2835
2839
  }
2836
- }, H = {
2840
+ }, Z = {
2837
2841
  root: {
2838
2842
  class: ["!w-[clamp(360px,75vw,400px)]"],
2839
2843
  "data-wv-name": (e) => e ?? "root",
@@ -2874,7 +2878,7 @@ const h = {
2874
2878
  class: "flex items-end justify-end gap-1 !mt-0",
2875
2879
  "data-wv-section": "dialog-confirm-footer"
2876
2880
  }
2877
- }, q = {
2881
+ }, Q = {
2878
2882
  root: {
2879
2883
  class: ["max-w-[90vw]"],
2880
2884
  style: (e) => `width: ${e}`,
@@ -2939,7 +2943,7 @@ const h = {
2939
2943
  savesubmitbutton: {
2940
2944
  "data-wv-section": "save-submit-button"
2941
2945
  }
2942
- }, Y = {
2946
+ }, ee = {
2943
2947
  root: ({ props: e }) => ({
2944
2948
  class: [
2945
2949
  // Flex and Position
@@ -2997,7 +3001,7 @@ const h = {
2997
3001
  "bg-surface-0"
2998
3002
  ]
2999
3003
  }
3000
- }, J = {
3004
+ }, te = {
3001
3005
  root: ({ props: e }) => ({
3002
3006
  class: [
3003
3007
  // Positioning
@@ -3114,9 +3118,9 @@ const h = {
3114
3118
  ]
3115
3119
  };
3116
3120
  },
3117
- token: o.root({ props: { severity: "dark" } }),
3118
- tokenLabel: o.input({ props: {}, context: {} }),
3119
- removeTokenIcon: o.removebutton({
3121
+ token: c.root({ props: { severity: "dark" } }),
3122
+ tokenLabel: c.input({ props: {}, context: {} }),
3123
+ removeTokenIcon: c.removebutton({
3120
3124
  props: { badgeSeverity: "dark" }
3121
3125
  }),
3122
3126
  loadingplaceholder: {
@@ -3193,12 +3197,12 @@ const h = {
3193
3197
  ]
3194
3198
  },
3195
3199
  headerCheckbox: {
3196
- ...a,
3200
+ ...d,
3197
3201
  root: {
3198
- class: ["!mx-auto", ...a.root.class]
3202
+ class: ["!mx-auto", ...d.root.class]
3199
3203
  }
3200
3204
  },
3201
- itemCheckbox: a,
3205
+ itemCheckbox: d,
3202
3206
  closeButton: {
3203
3207
  class: ["hidden"]
3204
3208
  },
@@ -3346,7 +3350,7 @@ const h = {
3346
3350
  leaveActiveClass: "transition-opacity duration-100 ease-linear",
3347
3351
  leaveToClass: "opacity-0"
3348
3352
  }
3349
- }, W = {
3353
+ }, re = {
3350
3354
  root: ({ props: e, state: t }) => ({
3351
3355
  class: [
3352
3356
  // Display and Position
@@ -3538,7 +3542,7 @@ const h = {
3538
3542
  loadingplaceholder: {
3539
3543
  class: "text-general-200 font-light"
3540
3544
  }
3541
- }, X = {
3545
+ }, ie = {
3542
3546
  root: {
3543
3547
  class: [
3544
3548
  "block",
@@ -3616,7 +3620,7 @@ const h = {
3616
3620
  leaveActiveClass: "overflow-hidden transition-[max-height] duration-[450ms] ease-[cubic-bezier(0,1,0,1)]",
3617
3621
  leaveToClass: "max-h-0"
3618
3622
  }
3619
- }, Z = {
3623
+ }, se = {
3620
3624
  // :class="['ts-form', { 'sticky-buttons': props.stickyButtons }]"
3621
3625
  root: () => ({
3622
3626
  class: [
@@ -3660,14 +3664,14 @@ const h = {
3660
3664
  "validator-message": {
3661
3665
  class: ["static w-max transform-none"]
3662
3666
  }
3663
- }, K = [
3667
+ }, ne = [
3664
3668
  {
3665
3669
  "ring-1 p-[1px]": navigator.userAgent.includes("Firefox"),
3666
3670
  "ring-[0.5px] p-[0.5px]": !navigator.userAgent.includes("Firefox")
3667
3671
  },
3668
3672
  "ring-inset",
3669
3673
  "ring-general-200"
3670
- ], Q = {
3674
+ ], ae = {
3671
3675
  css: `
3672
3676
  *[data-pd-ripple="true"]{
3673
3677
  overflow: hidden;
@@ -3744,7 +3748,7 @@ const h = {
3744
3748
  }
3745
3749
  }
3746
3750
  `
3747
- }, U = {
3751
+ }, oe = {
3748
3752
  root: ({ props: e }) => ({
3749
3753
  class: [
3750
3754
  "relative inline-block",
@@ -3882,7 +3886,7 @@ const h = {
3882
3886
  leaveActiveClass: "transition-all duration-150 ease-in",
3883
3887
  leaveToClass: "opacity-0 scale-75"
3884
3888
  }
3885
- }, ee = {
3889
+ }, le = {
3886
3890
  root: ({ props: e }) => ({
3887
3891
  class: [
3888
3892
  "rounded-md p-3",
@@ -3912,7 +3916,7 @@ const h = {
3912
3916
  "font-medium"
3913
3917
  ]
3914
3918
  }
3915
- }, v = {
3919
+ }, z = {
3916
3920
  root: ({ props: e, context: t, parent: r }) => {
3917
3921
  var i, n;
3918
3922
  return {
@@ -3936,15 +3940,15 @@ const h = {
3936
3940
  ]
3937
3941
  };
3938
3942
  }
3939
- }, f = navigator.userAgent.includes("Firefox"), te = {
3943
+ }, v = navigator.userAgent.includes("Firefox"), ce = {
3940
3944
  root: ({ context: e }) => ({
3941
3945
  class: [
3942
3946
  "flex flex-wrap gap-x-0.5 gap-y-[5px] items-center",
3943
3947
  "min-h-[26px] h-fit w-full",
3944
3948
  "ring-inset rounded px-[12px] py-[3px]",
3945
3949
  {
3946
- "ring-[1px]": f,
3947
- "ring-[0.5px]": !f
3950
+ "ring-[1px]": v,
3951
+ "ring-[0.5px]": !v
3948
3952
  },
3949
3953
  { "!ring-danger-500 !dark:ring-danger-500": e.invalidInput },
3950
3954
  { "!ring-general-200 !dark:ring-general-200": !e.invalidInput },
@@ -3953,7 +3957,7 @@ const h = {
3953
3957
  }),
3954
3958
  input: ({ context: e, parent: t, props: r }) => ({
3955
3959
  class: [
3956
- ...v.root({
3960
+ ...z.root({
3957
3961
  props: r,
3958
3962
  context: e,
3959
3963
  parent: t
@@ -3969,7 +3973,7 @@ const h = {
3969
3973
  erroroverlaypanel: {
3970
3974
  class: ["px-3 py-1 text-[12px] text-general-800"]
3971
3975
  }
3972
- }, g = navigator.userAgent.includes("Firefox"), re = {
3976
+ }, h = navigator.userAgent.includes("Firefox"), de = {
3973
3977
  root: ({ props: e }) => ({
3974
3978
  class: [
3975
3979
  {
@@ -3981,8 +3985,8 @@ const h = {
3981
3985
  "[&:has(:focus)]:!ring-primary-500 [&:has(:focus)_.inputgroupaddon]:!ring-primary-500": e.ring !== "none"
3982
3986
  },
3983
3987
  {
3984
- "ring-[1px] [&_.inputgroupaddon]:ring-[1px]": g && e.ring !== "none",
3985
- "ring-[0.5px] [&_.inputgroupaddon]:ring-[0.5px]": !g && e.ring !== "none"
3988
+ "ring-[1px] [&_.inputgroupaddon]:ring-[1px]": h && e.ring !== "none",
3989
+ "ring-[0.5px] [&_.inputgroupaddon]:ring-[0.5px]": !h && e.ring !== "none"
3986
3990
  },
3987
3991
  "[&_.inputgroupaddon[data-addon-variant=plain]]:!ring-[0px]",
3988
3992
  "[&:has(input)]:cursor-text",
@@ -3994,7 +3998,7 @@ const h = {
3994
3998
  ],
3995
3999
  "data-wv-section": "inputgroup"
3996
4000
  })
3997
- }, ie = {
4001
+ }, ue = {
3998
4002
  root: ({ props: e }) => ({
3999
4003
  class: [
4000
4004
  "inputgroupaddon",
@@ -4024,7 +4028,7 @@ const h = {
4024
4028
  "data-addon-variant": e.addonVariant
4025
4029
  // Used in inputgroup to set styling
4026
4030
  })
4027
- }, se = {
4031
+ }, fe = {
4028
4032
  root: ({ context: e }) => ({
4029
4033
  class: [
4030
4034
  // Font
@@ -4047,13 +4051,13 @@ const h = {
4047
4051
  }
4048
4052
  ]
4049
4053
  })
4050
- }, m = "text-xs font-medium tracking-[0.02em] leading-[18px]", b = "h-[26px]", ne = {
4054
+ }, y = "text-xs font-medium tracking-[0.02em] leading-[18px]", w = "h-[26px]", ge = {
4051
4055
  root: ({ props: e, parent: t }) => ({
4052
4056
  class: [
4053
4057
  // Layout
4054
4058
  "flex items-center self-stretch shrink-0 grow",
4055
4059
  //Size
4056
- b,
4060
+ w,
4057
4061
  // Spacing
4058
4062
  "py-1 px-3",
4059
4063
  // Border
@@ -4066,7 +4070,7 @@ const h = {
4066
4070
  class: [
4067
4071
  "border-0 h-full w-full outline-none",
4068
4072
  "bg-inherit",
4069
- m,
4073
+ y,
4070
4074
  "placeholder:text-general-200 placeholder:font-light",
4071
4075
  t.disabled ? "text-general-200" : "text-general-800"
4072
4076
  ]
@@ -4074,8 +4078,8 @@ const h = {
4074
4078
  },
4075
4079
  inputresizer: {
4076
4080
  class: [
4077
- m,
4078
- b,
4081
+ y,
4082
+ w,
4079
4083
  "user-select-none py-1 px-3 block min-w-4 text-transparent"
4080
4084
  ]
4081
4085
  },
@@ -4114,66 +4118,367 @@ const h = {
4114
4118
  }
4115
4119
  ]
4116
4120
  })
4117
- }, oe = {
4121
+ };
4122
+ function m(e, t) {
4123
+ return { [e]: t }[e];
4124
+ }
4125
+ m("WANGS-TAB-MENU", {
4126
+ root: {
4127
+ class: "overflow-x-visible"
4128
+ },
4129
+ menu: ({ props: e }) => ({
4130
+ class: [
4131
+ // Flexbox
4132
+ "flex flex-1",
4133
+ // Spacing
4134
+ "list-none",
4135
+ "p-0 m-0",
4136
+ // Colors
4137
+ "text-general-100",
4138
+ { "w-max ring-1 ring-inset ring-general-100 rounded": e.type === "segmented" }
4139
+ ]
4140
+ }),
4141
+ menuitem: {
4142
+ class: "mr-0"
4143
+ },
4144
+ action: ({ props: e, context: t }) => {
4145
+ var r, i;
4146
+ return {
4147
+ class: [
4148
+ "relative",
4149
+ // Font
4150
+ "font-medium",
4151
+ "text-xs leading-4 tracking-[0.02em]",
4152
+ // Flexbox and Alignment
4153
+ "flex items-center",
4154
+ // Spacing
4155
+ {
4156
+ "rounded-xl py-1 px-3": e.type === "pill",
4157
+ rounded: e.type === "segmented",
4158
+ "p-2 pb-1.5 pt-0.5 !h-6": e.type === "tab",
4159
+ "py-[5px] px-3 !h-6": e.type === "segmented",
4160
+ "ml-1": e.type === "pill" && t.index !== 0,
4161
+ "gap-1": t.item.icon
4162
+ },
4163
+ // Shape
4164
+ {
4165
+ "border-b-2": e.type === "tab",
4166
+ "shadow-[-2px_2px_2px_rgba(0,0,0,0.25)] overflow-visible": e.type === "segmented" && t.active
4167
+ },
4168
+ // Colors and Conditions
4169
+ {
4170
+ "border-primary-700": t.active,
4171
+ "border-grayscale-400": !t.active,
4172
+ "text-grayscale-600": !t.active && e.type === "tab",
4173
+ "text-primary-700": t.active && e.type === "tab",
4174
+ "bg-primary-700 text-white": e.type === "pill" && t.active,
4175
+ "bg-grayscale-100 text-grayscale-800": e.type === "pill" && !t.active,
4176
+ "bg-primary-500 text-white": e.type === "segmented" && t.active,
4177
+ "!text-general-800": e.type === "segmented" && !t.active,
4178
+ "bg-transparent ": e.type !== "pill" && !t.active
4179
+ },
4180
+ // States
4181
+ { "hover:bg-primary-50": e.type === "tab" },
4182
+ "focus-visible:outline-none focus-visible:outline-offset-0",
4183
+ {
4184
+ "focus-visible:border-primary-200 focus-visible:text-primary-400": !t.active
4185
+ },
4186
+ // Disabled States
4187
+ {
4188
+ "pointer-events-none": (r = t.item) == null ? void 0 : r.disabled,
4189
+ "opacity-60": (i = t.item) == null ? void 0 : i.disabled
4190
+ },
4191
+ // Transitions
4192
+ "transition-all duration-200",
4193
+ // Misc
4194
+ "cursor-pointer select-none text-decoration-none",
4195
+ "overflow-hidden",
4196
+ "user-select-none",
4197
+ "!no-underline",
4198
+ "whitespace-nowrap"
4199
+ ]
4200
+ };
4201
+ },
4202
+ icon: {
4203
+ class: "mr-2"
4204
+ },
4205
+ inkbar: ({ props: e }) => ({
4206
+ class: ["grow border-b-2 border-grayscale-400", { hidden: e.type === "pill" || e.useTrailingLine === !1 || e.type === "segmented" }]
4207
+ })
4208
+ });
4209
+ m("WANGS-INPUT-OTP", {
4118
4210
  root: {
4119
4211
  class: [
4120
4212
  // Alignment
4121
4213
  "flex items-center",
4122
- "gap-[6px]"
4214
+ "gap-[6px]",
4215
+ "w-max"
4123
4216
  ]
4124
4217
  },
4125
- input: {
4126
- root: ({ props: e, context: t, parent: r }) => {
4127
- var i;
4128
- return {
4129
- class: [
4130
- // Font
4131
- "leading-none font-medium",
4132
- // Flex & Alignment
4133
- { "flex-1 w-[1%]": r.instance.$name == "InputGroup" },
4134
- "text-center",
4135
- // Spacing
4136
- "m-0",
4137
- {
4138
- "p-3": e.size == null
4139
- },
4140
- // Size
4141
- "w-[42px] h-[42px] text-base",
4142
- // Shape
4143
- { "rounded-md": r.instance.$name !== "InputGroup" },
4144
- {
4145
- "first:rounded-l-md rounded-none last:rounded-r-md": r.instance.$name == "InputGroup"
4146
- },
4147
- {
4148
- "border-0 border-y border-l last:border-r": r.instance.$name == "InputGroup"
4149
- },
4150
- {
4151
- "first:ml-0 ml-[-1px]": r.instance.$name == "InputGroup" && !e.showButtons
4152
- },
4153
- // Colors
4154
- "text-general-800",
4155
- "placeholder:text-surface-400",
4156
- "bg-white",
4157
- "border",
4158
- { "border-general-200": !e.invalid },
4159
- // Invalid State
4160
- { "border-danger-500": e.invalid },
4161
- // States
4162
- {
4163
- // 'hover:border-primary-500': !context.disabled && !props.invalid,
4164
- "focus:outline-none focus:outline-offset-0": !t.disabled,
4165
- "opacity-60 select-none pointer-events-none cursor-default": t.disabled
4166
- },
4167
- // Filled State *for FloatLabel
4168
- { filled: ((i = r.instance) == null ? void 0 : i.$name) == "FloatLabel" && t.filled },
4169
- // Misc
4170
- "appearance-none",
4171
- "transition-colors duration-200"
4172
- ]
4173
- };
4174
- }
4218
+ input: ({ props: e, context: t, parent: r }) => ({
4219
+ class: [
4220
+ // Font
4221
+ "text-[14px] leading-none font-medium",
4222
+ // Flex & Alignment
4223
+ { "flex-1 w-[1%]": r.tagName == "WANGS-INPUT-GROUP" },
4224
+ "text-center",
4225
+ // Spacing
4226
+ "m-0",
4227
+ // Size
4228
+ "w-[42px] h-[42px]",
4229
+ // Shape
4230
+ { "rounded-md": r.tagName !== "WANGS-INPUT-GROUP" },
4231
+ {
4232
+ "first:rounded-l-md rounded-none last:rounded-r-md": r.tagName == "WANGS-INPUT-GROUP"
4233
+ },
4234
+ {
4235
+ "border-0 border-y border-l last:border-r": r.tagName == "WANGS-INPUT-GROUP"
4236
+ },
4237
+ // Colors
4238
+ "text-general-800 dark:text-general-800",
4239
+ "placeholder:text-surface-400 dark:placeholder:text-surface-500",
4240
+ "bg-white dark:bg-white",
4241
+ {
4242
+ "ring-1": navigator.userAgent.includes("Firefox"),
4243
+ "ring-[0.5px]": !navigator.userAgent.includes("Firefox")
4244
+ },
4245
+ { "ring-general-200 dark:ring-general-200": !e.invalid },
4246
+ // Invalid State
4247
+ { "ring-danger-500 dark:ring-danger-500": e.invalid },
4248
+ // States
4249
+ {
4250
+ "hover:bg-primary-50/50 hover:ring-primary-500 dark:hover:ring-primary-400": !t.disabled && !e.invalid,
4251
+ "focus:bg-primary-50/50 focus:ring-primary-500 dark:focus:ring-primary-400": !t.disabled && !e.invalid,
4252
+ "focus:outline-none focus:outline-offset-0": !t.disabled,
4253
+ "opacity-60 select-none pointer-events-none cursor-default": t.disabled
4254
+ },
4255
+ // Filled State *for FloatLabel
4256
+ { filled: r.tagName == "WANGS-FLOAT-LABEL" && t.filled },
4257
+ // Misc
4258
+ "appearance-none",
4259
+ "transition-colors duration-200"
4260
+ ]
4261
+ })
4262
+ });
4263
+ const a = class a {
4264
+ constructor() {
4265
+ /**
4266
+ * Stores base URLs associated with different app identifiers.
4267
+ */
4268
+ b(this, "_baseUrl", "");
4269
+ if (globalThis[a.SINGLETON_KEY])
4270
+ return globalThis[a.SINGLETON_KEY];
4271
+ globalThis[a.SINGLETON_KEY] = this;
4272
+ }
4273
+ /**
4274
+ * Registers a base URL for a specific app.
4275
+ *
4276
+ * @param base - The base URL to be used as a prefix for all routes in that app.
4277
+ */
4278
+ setNavigationBaseUrl(t) {
4279
+ this._baseUrl = this.normalizeBase(t);
4280
+ }
4281
+ /**
4282
+ * Retrieves the base URL for a specific app.
4283
+ *
4284
+ * @returns The base URL registered for the app or an empty string if not set.
4285
+ */
4286
+ getNavigationBaseUrl() {
4287
+ return this._baseUrl;
4288
+ }
4289
+ /**
4290
+ * Ensures the base URL ends with a single slash and removes trailing slashes.
4291
+ *
4292
+ * @param base - The base URL to normalize.
4293
+ * @returns A clean base URL ending with a single `/`.
4294
+ */
4295
+ normalizeBase(t) {
4296
+ return t.replace(/\/+$/, "").concat("/");
4297
+ }
4298
+ /**
4299
+ * Prepends the base URL (if any) to the given path.
4300
+ *
4301
+ * @param path - The relative path to normalize.
4302
+ * @returns A fully normalized path prefixed with the base URL if applicable.
4303
+ */
4304
+ normalizePath(t) {
4305
+ const r = this.getNavigationBaseUrl();
4306
+ if (!r)
4307
+ return t;
4308
+ const i = t.startsWith("/") ? t.slice(1) : t;
4309
+ return `${r}${i}`;
4310
+ }
4311
+ /**
4312
+ * Removes the specified base path from the beginning of a given route path.
4313
+ *
4314
+ * This is useful when your app is deployed under a subdirectory (e.g., `/base`)
4315
+ * and you want to normalize the route path to match menu or route definitions
4316
+ * that don't include the base.
4317
+ *
4318
+ * @param path - The full route path (e.g., `/base/about`).
4319
+ * @param base - The optional base URL to remove (e.g., `/base`).
4320
+ * @returns The normalized path without the base prefix (e.g., `/about`).
4321
+ *
4322
+ * @example
4323
+ * stripBase('/base/home', '/base'); // returns '/home'
4324
+ * stripBase('/about', '/base'); // returns '/about' (base not present)
4325
+ * stripBase('/base', '/base'); // returns '/'
4326
+ */
4327
+ stripBase(t, r) {
4328
+ return r || (r = this.getNavigationBaseUrl()), r !== "/" && t.startsWith(r) ? "/" + t.slice(r.length).replace(/^\/+/, "") : t;
4329
+ }
4330
+ /**
4331
+ * Pushes a new entry to the browser's history stack.
4332
+ *
4333
+ * @param route - The target URL or path to push. Can be a string, URL object, or null.
4334
+ * @param data - Optional state object associated with the history entry. Accessible via `history.state`.
4335
+ * @param unused - Optional title parameter (currently unused due to limited browser support).
4336
+ *
4337
+ * @example
4338
+ * Router.push('/about', { from: 'home' });
4339
+ */
4340
+ push(t, r = {}, i = "") {
4341
+ var l;
4342
+ const n = {
4343
+ ...r,
4344
+ ...history.state ?? {},
4345
+ current: t,
4346
+ back: (l = history.state) == null ? void 0 : l.current,
4347
+ forward: void 0,
4348
+ replaced: !1,
4349
+ position: history.length + 1
4350
+ };
4351
+ window.history.pushState(n, i, t);
4352
+ }
4353
+ /**
4354
+ * Replaces the current entry in the browser's history stack.
4355
+ *
4356
+ * @param route - The target URL or path to replace with. Can be a string, URL object, or null.
4357
+ * @param data - Optional state object associated with the history entry. Accessible via `history.state`.
4358
+ * @param unused - Optional title parameter (currently unused due to limited browser support).
4359
+ *
4360
+ * @example
4361
+ * Router.replace('/login', { reason: 'session expired' });
4362
+ */
4363
+ replace(t, r = {}, i = "") {
4364
+ const n = {
4365
+ ...r,
4366
+ ...history.state ?? {},
4367
+ forward: void 0,
4368
+ current: t,
4369
+ replaced: !0
4370
+ };
4371
+ window.history.replaceState(n, i, t);
4175
4372
  }
4176
- }, c = ({ isFirefoxBased: e, invalidInput: t }) => [
4373
+ /**
4374
+ * Dispatches a custom event before navigation occurs.
4375
+ * Used to notify subscribers of an upcoming route change.
4376
+ *
4377
+ * @param route - The route that will be navigated to.
4378
+ * @param mode - The navigation mode ('push' or 'replace').
4379
+ * @param data - Optional state object for the navigation.
4380
+ */
4381
+ dispatchBeforeNavigationEvent(t, r, i) {
4382
+ window.dispatchEvent(new CustomEvent("wangs-ui-core:before-navigation-event", {
4383
+ detail: { route: t, mode: r, state: i }
4384
+ }));
4385
+ }
4386
+ /**
4387
+ * Dispatches a custom event after navigation occurs.
4388
+ * Used to notify subscribers that the route has changed.
4389
+ *
4390
+ * @param route - The route that was navigated to.
4391
+ * @param mode - The navigation mode ('push' or 'replace').
4392
+ * @param data - Optional state object for the navigation.
4393
+ */
4394
+ dispatchNavigationEvent(t, r, i) {
4395
+ window.dispatchEvent(new CustomEvent("wangs-ui-core:navigation-event", {
4396
+ detail: { route: t, mode: r, state: i }
4397
+ }));
4398
+ }
4399
+ /**
4400
+ * Navigates to a specified route using the browser's History API.
4401
+ *
4402
+ * This updates the URL in the browser without reloading the page.
4403
+ * It can either push a new entry to the history stack or replace the current one.
4404
+ * Also dispatches custom events before and after the navigation.
4405
+ *
4406
+ * @param route - The target route to navigate to. Can be a string or URL object.
4407
+ * @param navigationMode - Determines how navigation is handled.
4408
+ * - `'push'` (default): Adds a new entry to the browser history.
4409
+ * - `'replace'`: Replaces the current history entry.
4410
+ * @param data - Optional state object associated with the history entry. Can be accessed via `history.state`.
4411
+ * @param unused - Optional title parameter (currently unused due to browser support limitations).
4412
+ *
4413
+ * @example
4414
+ * router.navigateToRoute('/about', 'push', { some: 'state' }, '',);
4415
+ */
4416
+ navigateToRoute(t, r = "push", i = {}, n = "") {
4417
+ if (!t)
4418
+ return;
4419
+ const l = typeof t == "string" ? t : t.toString(), o = this.normalizePath(l);
4420
+ if (o === location.pathname)
4421
+ return console.warn("[WangsUIRouter] Navigation aborted: target route is the same as the current route.");
4422
+ this.dispatchBeforeNavigationEvent(o, r, i), r === "push" ? this.push(o, i, n) : this.replace(o, i, n), this.dispatchNavigationEvent(o, r, i);
4423
+ }
4424
+ };
4425
+ b(a, "SINGLETON_KEY", "__WANGS_UI_ROUTER_INSTANCE__");
4426
+ let p = a;
4427
+ new p();
4428
+ const me = m("WANGS-INPUT-OTP", {
4429
+ root: {
4430
+ class: [
4431
+ // Alignment
4432
+ "flex items-center",
4433
+ "gap-[6px]",
4434
+ "w-max"
4435
+ ]
4436
+ },
4437
+ input: ({ props: e, context: t, parent: r }) => ({
4438
+ class: [
4439
+ // Font
4440
+ "text-[14px] leading-none font-medium",
4441
+ // Flex & Alignment
4442
+ { "flex-1 w-[1%]": r.tagName == "WANGS-INPUT-GROUP" },
4443
+ "text-center",
4444
+ // Spacing
4445
+ "m-0",
4446
+ // Size
4447
+ "w-[42px] h-[42px]",
4448
+ // Shape
4449
+ { "rounded-md": r.tagName !== "WANGS-INPUT-GROUP" },
4450
+ {
4451
+ "first:rounded-l-md rounded-none last:rounded-r-md": r.tagName == "WANGS-INPUT-GROUP"
4452
+ },
4453
+ {
4454
+ "border-0 border-y border-l last:border-r": r.tagName == "WANGS-INPUT-GROUP"
4455
+ },
4456
+ // Colors
4457
+ "text-general-800 dark:text-general-800",
4458
+ "placeholder:text-surface-400 dark:placeholder:text-surface-500",
4459
+ "bg-white dark:bg-white",
4460
+ {
4461
+ "ring-1": navigator.userAgent.includes("Firefox"),
4462
+ "ring-[0.5px]": !navigator.userAgent.includes("Firefox")
4463
+ },
4464
+ { "ring-general-200 dark:ring-general-200": !e.invalid },
4465
+ // Invalid State
4466
+ { "ring-danger-500 dark:ring-danger-500": e.invalid },
4467
+ // States
4468
+ {
4469
+ "hover:bg-primary-50/30 hover:ring-primary-500 dark:hover:ring-primary-400": !t.disabled && !e.invalid,
4470
+ "focus:bg-primary-50/30 focus:ring-primary-500 dark:focus:ring-primary-400": !t.disabled && !e.invalid,
4471
+ "focus:outline-none focus:outline-offset-0": !t.disabled,
4472
+ "opacity-60 select-none pointer-events-none cursor-default": t.disabled
4473
+ },
4474
+ // Filled State *for FloatLabel
4475
+ { filled: r.tagName == "WANGS-FLOAT-LABEL" && t.filled },
4476
+ // Misc
4477
+ "appearance-none",
4478
+ "transition-colors duration-200"
4479
+ ]
4480
+ })
4481
+ }), f = ({ isFirefoxBased: e, invalidInput: t }) => [
4177
4482
  { "ring-[1px]": e, "ring-[0.5px]": !e },
4178
4483
  { "!ring-danger-500": t },
4179
4484
  "ring-inset",
@@ -4183,23 +4488,23 @@ const h = {
4183
4488
  "[&:has(:focus)]:ring-1",
4184
4489
  "bg-white",
4185
4490
  "z-[0] [&:has(:focus)]:z-[12]"
4186
- ], ae = {
4491
+ ], be = {
4187
4492
  dialcode: {
4188
4493
  root: (e) => ({
4189
- class: [...c(e), "rounded-l rounded-r-none"]
4494
+ class: [...f(e), "rounded-l rounded-r-none"]
4190
4495
  }),
4191
4496
  dropdownicon: ({ state: e }) => s.dropdownicon({ state: e })
4192
4497
  },
4193
4498
  input: (e) => ({
4194
4499
  class: [
4195
- ...c(e),
4500
+ ...f(e),
4196
4501
  "rounded-r rounded-l-none -ml-[1px]",
4197
4502
  "focus:bg-none",
4198
4503
  "focus:ring-primary-500",
4199
4504
  "focus:ring-1"
4200
4505
  ]
4201
4506
  })
4202
- }, le = {
4507
+ }, pe = {
4203
4508
  root: ({ props: e }) => ({
4204
4509
  class: [
4205
4510
  // Misc
@@ -4238,7 +4543,7 @@ const h = {
4238
4543
  "fill-surface-600"
4239
4544
  ]
4240
4545
  }
4241
- }, ce = {
4546
+ }, xe = {
4242
4547
  root: {
4243
4548
  class: [
4244
4549
  // Sizing and Shape
@@ -4370,7 +4675,7 @@ const h = {
4370
4675
  "bg-transparent"
4371
4676
  ]
4372
4677
  }
4373
- }, de = {
4678
+ }, ve = {
4374
4679
  root: ({ props: e }) => ({
4375
4680
  class: [
4376
4681
  "relative",
@@ -4551,7 +4856,7 @@ const h = {
4551
4856
  end: {
4552
4857
  class: "ml-auto self-center"
4553
4858
  }
4554
- }, ue = {
4859
+ }, he = {
4555
4860
  root: {
4556
4861
  class: [
4557
4862
  // Position
@@ -4651,7 +4956,7 @@ const h = {
4651
4956
  leaveActiveClass: "transition-opacity duration-100 ease-linear",
4652
4957
  leaveToClass: "opacity-0"
4653
4958
  }
4654
- }, fe = {
4959
+ }, ye = {
4655
4960
  root: {
4656
4961
  class: [
4657
4962
  "relative",
@@ -4805,7 +5110,7 @@ const h = {
4805
5110
  end: {
4806
5111
  class: "ml-auto self-center"
4807
5112
  }
4808
- }, ge = {
5113
+ }, we = {
4809
5114
  root: ({ props: e }) => ({
4810
5115
  class: [
4811
5116
  // Spacing and Shape
@@ -4881,7 +5186,7 @@ const h = {
4881
5186
  leaveActiveClass: "overflow-hidden transition-all duration-300 ease-in",
4882
5187
  leaveToClass: "max-h-0 opacity-0 !m-0"
4883
5188
  }
4884
- }, me = {
5189
+ }, ke = {
4885
5190
  root: {
4886
5191
  class: [
4887
5192
  // Flexbox
@@ -5108,7 +5413,7 @@ const h = {
5108
5413
  "cursor-pointer overflow-hidden"
5109
5414
  ]
5110
5415
  })
5111
- }, be = {
5416
+ }, Ce = {
5112
5417
  table: {
5113
5418
  class: [
5114
5419
  // Spacing & Position
@@ -5225,7 +5530,7 @@ const h = {
5225
5530
  "w-4 h-4"
5226
5531
  ]
5227
5532
  }
5228
- }, pe = {
5533
+ }, ze = {
5229
5534
  root: {
5230
5535
  class: [
5231
5536
  "h-max",
@@ -5256,7 +5561,7 @@ const h = {
5256
5561
  leaveActiveClass: "transition-opacity duration-100 ease-linear",
5257
5562
  leaveToClass: "opacity-0"
5258
5563
  }
5259
- }, xe = {
5564
+ }, je = {
5260
5565
  root: {
5261
5566
  class: [
5262
5567
  // Flex & Alignment
@@ -5700,7 +6005,7 @@ const h = {
5700
6005
  current: {
5701
6006
  class: ["text-xs font-normal leading-6 px-3"]
5702
6007
  }
5703
- }, ve = {
6008
+ }, Ae = {
5704
6009
  root: {
5705
6010
  class: "shadow-md rounded-lg"
5706
6011
  },
@@ -5779,7 +6084,7 @@ const h = {
5779
6084
  leaveActiveClass: "overflow-hidden transition-[max-height] duration-[450ms] ease-[cubic-bezier(0,1,0,1)]",
5780
6085
  leaveToClass: "max-h-0"
5781
6086
  }
5782
- }, he = {
6087
+ }, Te = {
5783
6088
  panel: {
5784
6089
  class: "mb-1"
5785
6090
  },
@@ -5896,7 +6201,7 @@ const h = {
5896
6201
  leaveActiveClass: "overflow-hidden transition-[max-height] duration-[450ms] ease-[cubic-bezier(0,1,0,1)]",
5897
6202
  leaveToClass: "max-h-0"
5898
6203
  }
5899
- }, ye = {
6204
+ }, _e = {
5900
6205
  root: ({ props: e }) => ({
5901
6206
  class: [
5902
6207
  "w-full",
@@ -5970,7 +6275,8 @@ const h = {
5970
6275
  class: [
5971
6276
  "absolute top-[54%] right-3 -mt-2",
5972
6277
  "text-general-200",
5973
- "focus-visible:text-general-500 hover:text-general-500"
6278
+ "focus-visible:text-general-500 hover:text-general-500",
6279
+ "[&>.icon]:!w-4 [&>.icon]:!h-4"
5974
6280
  ]
5975
6281
  },
5976
6282
  hideicon: {
@@ -5985,7 +6291,7 @@ const h = {
5985
6291
  leaveActiveClass: "transition-opacity duration-100 ease-linear",
5986
6292
  leaveToClass: "opacity-0"
5987
6293
  }
5988
- }, we = {
6294
+ }, Ne = {
5989
6295
  root: {
5990
6296
  class: [
5991
6297
  // Flexbox
@@ -6556,7 +6862,7 @@ const h = {
6556
6862
  leaveActiveClass: "!transition-none",
6557
6863
  leaveToClass: "!transition-none"
6558
6864
  }
6559
- }, ke = {
6865
+ }, Ie = {
6560
6866
  root: ({ props: e }) => ({
6561
6867
  class: [
6562
6868
  {
@@ -6640,7 +6946,7 @@ const h = {
6640
6946
  }
6641
6947
  ]
6642
6948
  })
6643
- }, p = navigator.userAgent.includes("Firefox"), l = {
6949
+ }, k = navigator.userAgent.includes("Firefox"), u = {
6644
6950
  root: ({ props: e }) => ({
6645
6951
  class: [
6646
6952
  // Alignments
@@ -6680,7 +6986,7 @@ const h = {
6680
6986
  },
6681
6987
  // Colors
6682
6988
  "ring-1",
6683
- { "ring-1": p, "ring-[0.5px]": !p },
6989
+ { "ring-1": k, "ring-[0.5px]": !k },
6684
6990
  {
6685
6991
  "before:bg-white": e.modelValue == e.trueValue,
6686
6992
  "before:bg-general-100": e.modelValue !== e.trueValue,
@@ -6754,8 +7060,8 @@ const h = {
6754
7060
  tooltipicon: {
6755
7061
  class: "text-primary-500 w-[10px] h-[10px]"
6756
7062
  }
6757
- }, Ce = {
6758
- root: ({ props: e }) => ({
7063
+ }, Fe = {
7064
+ root: ({ props: e, state: t }) => ({
6759
7065
  class: [
6760
7066
  "relative",
6761
7067
  // Flexbox & Alignment
@@ -6768,10 +7074,10 @@ const h = {
6768
7074
  "rounded-full",
6769
7075
  // Colors
6770
7076
  {
6771
- "bg-white": !e.disabled || e.value == e.modelValue,
6772
- "bg-general-50": e.disabled && e.value != e.modelValue,
6773
- "ring-general-100": !e.disabled && e.value != e.modelValue,
6774
- "ring-primary-500": !e.disabled && e.value == e.modelValue,
7077
+ "bg-white": !e.disabled || t.checked,
7078
+ "bg-general-50": e.disabled && !t.checked,
7079
+ "ring-general-100": !e.disabled && !t.checked,
7080
+ "ring-primary-500": !e.disabled && t.checked,
6775
7081
  "ring-general-200": e.disabled
6776
7082
  },
6777
7083
  {
@@ -6783,7 +7089,7 @@ const h = {
6783
7089
  "data-wv-name": "buttonradio",
6784
7090
  "data-wv-section": "root"
6785
7091
  }),
6786
- box: ({ props: e }) => ({
7092
+ box: ({ props: e, state: t }) => ({
6787
7093
  class: [
6788
7094
  // Size
6789
7095
  "w-2 h-2",
@@ -6798,8 +7104,8 @@ const h = {
6798
7104
  "transition duration-200 ease-in-out",
6799
7105
  // Colors
6800
7106
  {
6801
- "bg-primary-500": e.value == e.modelValue && e.value !== void 0 && !e.disabled,
6802
- "bg-general-200": e.value == e.modelValue && e.value !== void 0 && e.disabled
7107
+ "bg-primary-500": t.checked && e.value !== void 0 && !e.disabled,
7108
+ "bg-general-200": t.checked && e.value !== void 0 && e.disabled
6803
7109
  },
6804
7110
  // States
6805
7111
  {
@@ -6833,10 +7139,10 @@ const h = {
6833
7139
  icon: {
6834
7140
  class: "hidden"
6835
7141
  },
6836
- label: l.label,
6837
- labeltext: l.labeltext,
6838
- tooltipicon: l.tooltipicon
6839
- }, ze = {
7142
+ label: u.label,
7143
+ labeltext: u.labeltext,
7144
+ tooltipicon: u.tooltipicon
7145
+ }, Se = {
6840
7146
  root: ({ props: e }) => ({
6841
7147
  class: [
6842
7148
  "relative",
@@ -6906,12 +7212,12 @@ const h = {
6906
7212
  "transition duration-200 ease-in"
6907
7213
  ]
6908
7214
  })
6909
- }, je = {
7215
+ }, Pe = {
6910
7216
  root: {
6911
7217
  class: ["block absolute bg-surface-0/50 rounded-full pointer-events-none"],
6912
7218
  style: "transform: scale(0)"
6913
7219
  }
6914
- }, Ae = {
7220
+ }, Ve = {
6915
7221
  wrapper: {
6916
7222
  class: [
6917
7223
  // Size & Position
@@ -6970,7 +7276,7 @@ const h = {
6970
7276
  "relative"
6971
7277
  ]
6972
7278
  }
6973
- }, _e = {
7279
+ }, Ue = {
6974
7280
  root: ({ props: e }) => ({
6975
7281
  class: [
6976
7282
  // Flex & Alignment
@@ -7006,7 +7312,7 @@ const h = {
7006
7312
  leaveActiveClass: "transition-opacity duration-150",
7007
7313
  leaveToClass: "opacity-0"
7008
7314
  }
7009
- }, Fe = {
7315
+ }, Ee = {
7010
7316
  root: ({ props: e }) => ({
7011
7317
  class: [
7012
7318
  "shadow-sm flex flex-col min-w-[43px] w-max"
@@ -7053,7 +7359,7 @@ const h = {
7053
7359
  label: {
7054
7360
  class: "font-normal"
7055
7361
  }
7056
- }, Ie = {
7362
+ }, Be = {
7057
7363
  root: ({ props: e }) => ({
7058
7364
  class: [
7059
7365
  // Flexbox
@@ -7178,7 +7484,7 @@ const h = {
7178
7484
  leaveActiveClass: "transition-opacity duration-400 ease-in",
7179
7485
  leaveToClass: "opacity-0 mask-active"
7180
7486
  }
7181
- }, Te = {
7487
+ }, Ge = {
7182
7488
  root: ({ props: e }) => ({
7183
7489
  class: [
7184
7490
  "overflow-hidden",
@@ -7194,7 +7500,7 @@ const h = {
7194
7500
  "bg-general-50"
7195
7501
  ]
7196
7502
  })
7197
- }, Ve = {
7503
+ }, $e = {
7198
7504
  root: ({ props: e }) => ({
7199
7505
  class: [
7200
7506
  "relative",
@@ -7302,7 +7608,7 @@ const h = {
7302
7608
  "touch-action-none"
7303
7609
  ]
7304
7610
  })
7305
- }, Se = {
7611
+ }, Oe = {
7306
7612
  root: ({ props: e }) => ({
7307
7613
  class: [
7308
7614
  // Flexbox and Position
@@ -7810,7 +8116,7 @@ const h = {
7810
8116
  class: ["hidden"]
7811
8117
  }
7812
8118
  }
7813
- }, Pe = {
8119
+ }, Le = {
7814
8120
  root: {
7815
8121
  class: "relative"
7816
8122
  },
@@ -7917,12 +8223,12 @@ const h = {
7917
8223
  "max-w-full"
7918
8224
  ]
7919
8225
  })
7920
- }, $e = {
8226
+ }, Re = m("WANGS-TAB-MENU", {
7921
8227
  root: {
7922
8228
  class: "overflow-x-auto",
7923
8229
  style: "scrollbar-width: none"
7924
8230
  },
7925
- menu: {
8231
+ menu: ({ props: e }) => ({
7926
8232
  class: [
7927
8233
  // Flexbox
7928
8234
  "flex flex-1",
@@ -7930,13 +8236,16 @@ const h = {
7930
8236
  "list-none",
7931
8237
  "p-0 m-0",
7932
8238
  // Colors
7933
- "text-general-100"
8239
+ "text-general-100",
8240
+ {
8241
+ "w-max ring-1 ring-inset ring-general-100 rounded !m-[2px]": e.type === "segmented"
8242
+ }
7934
8243
  ]
7935
- },
8244
+ }),
7936
8245
  menuitem: {
7937
8246
  class: "mr-0"
7938
8247
  },
7939
- action: ({ context: e, state: t }) => {
8248
+ action: ({ context: e, props: t }) => {
7940
8249
  var r, i;
7941
8250
  return {
7942
8251
  class: [
@@ -7948,28 +8257,32 @@ const h = {
7948
8257
  "flex items-center",
7949
8258
  // Spacing
7950
8259
  {
7951
- "rounded-xl py-1 px-3": e.type === "pill",
7952
- "p-2 pb-1.5 pt-0.5 !h-6": e.type !== "pill",
7953
- "ml-1": e.type === "pill" && e.index !== 0
8260
+ "rounded-xl py-1 px-3": t.type === "pill",
8261
+ rounded: t.type === "segmented",
8262
+ "p-2 pb-1.5 pt-0.5 !h-6": t.type === "tab",
8263
+ "py-[5px] px-3 !h-[26px]": t.type === "segmented",
8264
+ "ml-1": t.type === "pill" && e.index !== 0
7954
8265
  },
7955
8266
  // Shape
7956
8267
  {
7957
- "border-b-2": e.type !== "pill"
8268
+ "border-b-2": t.type === "tab"
7958
8269
  },
7959
8270
  // Colors and Conditions
7960
8271
  {
7961
- "border-primary-500": t.active,
7962
- "border-grayscale-400": !t.active,
7963
- "text-grayscale-600": !t.active,
7964
- "text-primary-500": t.active,
7965
- "bg-primary-50 text-primary-500": e.type === "pill" && t.active,
7966
- "bg-grayscale-200 text-grayscale-800": e.type === "pill" && !t.active,
7967
- "bg-transparent ": e.type !== "pill" && !t.active
8272
+ "border-primary-500": e.active,
8273
+ "border-grayscale-400": !e.active,
8274
+ "text-grayscale-600": !e.active,
8275
+ "text-primary-500": e.active,
8276
+ "bg-primary-50 text-primary-500": t.type === "pill" && e.active,
8277
+ "bg-grayscale-200 text-grayscale-800": t.type === "pill" && !e.active,
8278
+ "bg-primary-500 text-white shadow-[-2px_2px_2px_rgba(0,0,0,0.25)]": t.type === "segmented" && e.active,
8279
+ "!text-general-800": t.type === "segmented" && !e.active,
8280
+ "bg-transparent ": t.type !== "pill" && !e.active
7968
8281
  },
7969
8282
  // States
7970
8283
  "focus-visible:outline-none focus-visible:outline-offset-0",
7971
8284
  {
7972
- "focus-visible:border-primary-200 focus-visible:text-primary-400": !t.active
8285
+ "focus-visible:border-primary-200 focus-visible:text-primary-400": !e.active
7973
8286
  },
7974
8287
  // Disabled States
7975
8288
  {
@@ -7990,10 +8303,15 @@ const h = {
7990
8303
  icon: {
7991
8304
  class: "mr-2"
7992
8305
  },
7993
- inkbar: {
7994
- class: "grow border-b-2 border-primary-100"
7995
- }
7996
- }, Me = {
8306
+ inkbar: ({ props: e }) => ({
8307
+ class: [
8308
+ "grow border-b-2 border-primary-100",
8309
+ {
8310
+ hidden: e.type === "pill" || e.useTrailingLine === !1 || e.type === "segmented"
8311
+ }
8312
+ ]
8313
+ })
8314
+ }), Me = {
7997
8315
  navContainer: ({ props: e }) => ({
7998
8316
  class: [
7999
8317
  // Position
@@ -8129,7 +8447,7 @@ const h = {
8129
8447
  ]
8130
8448
  }
8131
8449
  }
8132
- }, Be = {
8450
+ }, We = {
8133
8451
  root: ({ props: e }) => ({
8134
8452
  class: [
8135
8453
  //Font
@@ -8160,7 +8478,7 @@ const h = {
8160
8478
  icon: {
8161
8479
  class: "mr-1 text-sm"
8162
8480
  }
8163
- }, Re = {
8481
+ }, De = {
8164
8482
  root: {
8165
8483
  class: [
8166
8484
  // Spacing
@@ -8212,7 +8530,7 @@ const h = {
8212
8530
  "outline-none"
8213
8531
  ]
8214
8532
  }
8215
- }, Le = {
8533
+ }, Ye = {
8216
8534
  root: ({ context: e, props: t }) => ({
8217
8535
  class: [
8218
8536
  // Font
@@ -8230,7 +8548,7 @@ const h = {
8230
8548
  // Shape
8231
8549
  "rounded",
8232
8550
  "appearance-none",
8233
- ...K,
8551
+ ...ne,
8234
8552
  {
8235
8553
  "!ring-danger-500": e.invalidInput
8236
8554
  },
@@ -8248,7 +8566,7 @@ const h = {
8248
8566
  "data-wv-name": "textarea",
8249
8567
  "data-wv-section": "root"
8250
8568
  })
8251
- }, De = {
8569
+ }, He = {
8252
8570
  root: {
8253
8571
  class: [
8254
8572
  // Shape
@@ -8350,16 +8668,16 @@ const h = {
8350
8668
  separator: {
8351
8669
  class: "border-t border-surface-200 my-1"
8352
8670
  }
8353
- }, d = (e) => {
8671
+ }, g = (e) => {
8354
8672
  if (!e) return !0;
8355
8673
  const t = Object.keys(e);
8356
8674
  return t.length ? t.every((r) => {
8357
8675
  const i = e[r];
8358
8676
  return typeof i == "object" ? Array.isArray(i) ? !i.length || i.every(
8359
- (n) => typeof n == "object" ? d(n) : n == null
8360
- ) : d(i) : i == null;
8677
+ (n) => typeof n == "object" ? g(n) : n == null
8678
+ ) : g(i) : i == null;
8361
8679
  }) : !0;
8362
- }, Ee = {
8680
+ }, Ke = {
8363
8681
  root: ({ props: e }) => ({
8364
8682
  class: ["flex flex-col grow", "text-xs font-normal text-grayscale-900"]
8365
8683
  }),
@@ -8380,28 +8698,47 @@ const h = {
8380
8698
  }),
8381
8699
  marker: {
8382
8700
  class: [
8383
- "w-max",
8701
+ "w-[22px] h-[22px]",
8384
8702
  "rounded-full",
8385
8703
  "bg-transparent",
8386
- "ring-2 ring-inset ring-primary-400 p-0.5",
8704
+ "ring-1 ring-inset ring-general-100 p-0.5",
8387
8705
  "flex items-center justify-center"
8388
8706
  ]
8389
8707
  },
8390
8708
  markerArrow: (e) => ({
8391
8709
  class: [
8392
- "w-4 h-4 invisible transition-transform duration-200 ease-in-out text-grayscale-900",
8393
- { "!visible": e.detail && !d(e.detail) },
8710
+ "!w-3 !h-3 hidden transition-transform duration-200 ease-in-out text-grayscale-900",
8711
+ { "!flex": e.detail && !g(e.detail) },
8394
8712
  { "rotate-180": e.showDetail }
8395
8713
  ],
8396
8714
  "data-wv-section": "markerArrow"
8397
8715
  }),
8716
+ markerDot: (e) => ({
8717
+ class: [
8718
+ "hidden w-[6px] h-[6px] m-[3px] rounded-full bg-black",
8719
+ { "!flex": !e.detail || g(e.detail) }
8720
+ ],
8721
+ "data-wv-section": "markerDot"
8722
+ }),
8723
+ contentHeader: {
8724
+ class: ["leading-5 cursor-pointer truncate !text-xs !font-bold"]
8725
+ },
8726
+ contentDetailKey: {
8727
+ class: ["text-general-400 whitespace-nowrap"]
8728
+ },
8729
+ contentDetailValue: {
8730
+ class: ["text-xs text-general-800"]
8731
+ },
8732
+ contentDate: {
8733
+ class: ["text-xs font-medium"]
8734
+ },
8398
8735
  connector: ({ props: e }) => ({
8399
- class: ["w-[2px] grow bg-grayscale-900"]
8736
+ class: ["w-[1px] grow bg-general-100"]
8400
8737
  }),
8401
8738
  content: ({ props: e, context: t }) => ({
8402
8739
  class: ["grid grid-rows-[max-content,auto] pb-2.5 gap-1"]
8403
8740
  })
8404
- }, Oe = {
8741
+ }, qe = {
8405
8742
  root: ({ props: e }) => ({
8406
8743
  class: [
8407
8744
  //Size and Shape
@@ -8484,7 +8821,7 @@ const h = {
8484
8821
  leaveActiveClass: "!transition-[max-height_.45s_cubic-bezier(0,1,0,1),opacity_.3s,margin-bottom_.3s] overflow-hidden",
8485
8822
  leaveToClass: "max-h-0 opacity-0 mb-0"
8486
8823
  }
8487
- }, Ge = {
8824
+ }, Je = {
8488
8825
  root: {
8489
8826
  class: [
8490
8827
  "relative",
@@ -8555,7 +8892,7 @@ const h = {
8555
8892
  icon: {
8556
8893
  class: [" mr-2", "text-surface-700/80"]
8557
8894
  }
8558
- }, Ne = {
8895
+ }, Xe = {
8559
8896
  root: {
8560
8897
  class: [
8561
8898
  // Flex & Alignment
@@ -8581,7 +8918,7 @@ const h = {
8581
8918
  end: {
8582
8919
  class: "flex items-center"
8583
8920
  }
8584
- }, He = {
8921
+ }, Ze = {
8585
8922
  root: ({ context: e, props: t }) => ({
8586
8923
  class: [
8587
8924
  // Position
@@ -8616,7 +8953,7 @@ const h = {
8616
8953
  "break-words"
8617
8954
  ]
8618
8955
  }
8619
- }, qe = {
8956
+ }, Qe = {
8620
8957
  root: {
8621
8958
  class: [
8622
8959
  "relative",
@@ -8647,8 +8984,7 @@ const h = {
8647
8984
  "p-0",
8648
8985
  "pl-1",
8649
8986
  "rounded-md",
8650
- "focus:outline-none focus:outline-offset-0",
8651
- "focus:bg-primary-50"
8987
+ "focus:outline-none focus:outline-offset-0"
8652
8988
  ]
8653
8989
  },
8654
8990
  content: ({ context: e, props: t }) => ({
@@ -8666,10 +9002,11 @@ const h = {
8666
9002
  },
8667
9003
  // States
8668
9004
  {
8669
- "hover:bg-primary-50": t.selectionMode == "single" || t.selectionMode == "multiple"
9005
+ "hover:bg-primary-50": (t.selectionMode == "single" || t.selectionMode == "multiple" || t.selectionMode == "checkbox") && !e.disabled && !e.exactDisabled
8670
9006
  },
8671
9007
  {
8672
- "!pointer-events-none !opacity-60 !cursor-default": e.disabled
9008
+ "!text-general-200": e.disabled && !e.exactDisabled,
9009
+ "!pointer-events-none !cursor-default": e.disabled || e.exactDisabled
8673
9010
  },
8674
9011
  // Transition
8675
9012
  "transition-shadow duration-200",
@@ -8702,7 +9039,7 @@ const h = {
8702
9039
  // Transition
8703
9040
  "transition duration-200",
8704
9041
  // Misc
8705
- "cursor-pointer select-none"
9042
+ "cursor-pointer select-none !pointer-events-auto"
8706
9043
  ],
8707
9044
  "data-wv-section": "tree-node-toggler"
8708
9045
  }),
@@ -8867,7 +9204,7 @@ const h = {
8867
9204
  "text-xs font-medium text-general-800"
8868
9205
  ]
8869
9206
  })
8870
- }, Ye = {
9207
+ }, et = {
8871
9208
  root: ({ props: e, state: t }) => ({
8872
9209
  class: [
8873
9210
  // Display and Position
@@ -9188,7 +9525,7 @@ const h = {
9188
9525
  leaveActiveClass: "transition-opacity duration-100 ease-linear",
9189
9526
  leaveToClass: "opacity-0"
9190
9527
  }
9191
- }, Je = {
9528
+ }, tt = {
9192
9529
  root: {
9193
9530
  class: [
9194
9531
  "relative",
@@ -9288,13 +9625,13 @@ const h = {
9288
9625
  "duration-200"
9289
9626
  ]
9290
9627
  }
9291
- }, We = {
9628
+ }, rt = {
9292
9629
  root: {
9293
9630
  class: ["!mt-0 text-danger-500 text-xs font-light tracking-[0.02em]"],
9294
9631
  "data-wv-name": "validatormessage",
9295
9632
  "data-wv-section": "root"
9296
9633
  }
9297
- }, Xe = {
9634
+ }, it = {
9298
9635
  root: {
9299
9636
  class: "flex gap-2 items-center shrink-0",
9300
9637
  "data-wv-name": "buttonbulkaction",
@@ -9349,7 +9686,7 @@ const h = {
9349
9686
  class: "!p-0 !w-6 !h-6 [&_.icon]:!w-5 [&_.icon]:!h-5",
9350
9687
  "data-wv-section": "buttonclearselection"
9351
9688
  }
9352
- }, Ze = {
9689
+ }, st = {
9353
9690
  root: {
9354
9691
  class: "flex flex-nowrap items-center gap-1",
9355
9692
  "data-wv-name": "badgegroup",
@@ -9361,7 +9698,7 @@ const h = {
9361
9698
  },
9362
9699
  showmoredialog: {
9363
9700
  root: {
9364
- class: [x.root({ state: {} }).class, "w-[400px] !px-6 !py-3"],
9701
+ class: [C.root({ state: {} }).class, "w-[400px] !px-6 !py-3"],
9365
9702
  "data-wv-section": "showmoredialog"
9366
9703
  },
9367
9704
  title: {
@@ -9374,7 +9711,7 @@ const h = {
9374
9711
  }
9375
9712
  // All section in Dialog Preset can be added here
9376
9713
  }
9377
- }, Ke = {
9714
+ }, nt = {
9378
9715
  root: {
9379
9716
  class: [
9380
9717
  "flex gap-[5px] items-center text-left h-[21px]",
@@ -9399,16 +9736,16 @@ const h = {
9399
9736
  content: ">",
9400
9737
  "data-wv-section": "separator"
9401
9738
  }
9402
- }, Qe = {
9739
+ }, at = {
9403
9740
  currency: (e) => ({
9404
- class: [...c(e), "rounded-l rounded-r-none"],
9741
+ class: [...f(e), "rounded-l rounded-r-none"],
9405
9742
  "data-wv-section": "currency"
9406
9743
  }),
9407
9744
  value: (e) => ({
9408
- class: [...c(e), "rounded-r rounded-l-none -ml-[1px]"],
9745
+ class: [...f(e), "rounded-r rounded-l-none -ml-[1px]"],
9409
9746
  "data-wv-section": "value"
9410
9747
  })
9411
- }, Ue = {
9748
+ }, ot = {
9412
9749
  root: {
9413
9750
  "data-wv-name": "fileupload",
9414
9751
  "data-wv-section": "root"
@@ -9430,7 +9767,7 @@ const h = {
9430
9767
  requirements: {
9431
9768
  class: "flex justify-start"
9432
9769
  }
9433
- }, et = {
9770
+ }, lt = {
9434
9771
  root: {
9435
9772
  class: [
9436
9773
  "flex flex-col items-start justify-start relative gap-1 w-full shrink-0 overflow-hidden"
@@ -9438,12 +9775,15 @@ const h = {
9438
9775
  "data-wv-name": "fieldwrapper",
9439
9776
  "data-wv-section": "root"
9440
9777
  },
9441
- label: ({ props: e }) => ({
9778
+ label: ({ props: e, slots: t }) => ({
9442
9779
  class: [
9443
9780
  [
9444
9781
  "text-general-900 text-xs flex gap-[2px] font-medium tracking-[0.02em]",
9445
9782
  e.labelClass
9446
- ]
9783
+ ],
9784
+ {
9785
+ "w-full": t["label-addon"]
9786
+ }
9447
9787
  ],
9448
9788
  "data-wv-section": "fieldlabel"
9449
9789
  }),
@@ -9456,7 +9796,7 @@ const h = {
9456
9796
  arterisksign: {
9457
9797
  class: "text-danger-500"
9458
9798
  }
9459
- }, tt = {
9799
+ }, ct = {
9460
9800
  next: ({ context: e }) => ({
9461
9801
  class: [
9462
9802
  "text-2xl text-general-900",
@@ -9480,14 +9820,14 @@ const h = {
9480
9820
  }
9481
9821
  ]
9482
9822
  })
9483
- }, rt = {
9823
+ }, dt = {
9484
9824
  root: {
9485
9825
  class: [
9486
9826
  "bg-general-50 rounded-lg [&>*]:w-full [&>*]min-w-0",
9487
9827
  "grid items-end p-3 gap-x-3 gap-y-4"
9488
9828
  ]
9489
9829
  }
9490
- }, it = {
9830
+ }, ut = {
9491
9831
  root: {
9492
9832
  class: [
9493
9833
  "w-screen h-screen fixed top-0 left-0 z-[9999999]",
@@ -9499,14 +9839,14 @@ const h = {
9499
9839
  animation: {
9500
9840
  class: ["w-[700px] h-auto"]
9501
9841
  }
9502
- }, st = {
9842
+ }, ft = {
9503
9843
  root: {
9504
9844
  class: "flex items-center gap-1"
9505
9845
  },
9506
9846
  displayname: ({ props: e }) => ({
9507
9847
  class: [
9508
9848
  "text-xs font-medium cursor-pointer",
9509
- { "text-primary-400 cursor-pointer": e.type === "icon" },
9849
+ { "text-primary-500 cursor-pointer": e.type === "icon" },
9510
9850
  { "text-general-800": e.type !== "icon" }
9511
9851
  ]
9512
9852
  }),
@@ -9533,118 +9873,118 @@ const h = {
9533
9873
  class: "flex flex-col gap-0.5 items-center justify-center"
9534
9874
  }
9535
9875
  }
9536
- }, nt = {
9537
- badge: C,
9538
- ripple: je,
9539
- tooltip: He
9540
- }, ot = {
9541
- global: Q,
9542
- directives: nt,
9876
+ }, gt = {
9877
+ badge: F,
9878
+ ripple: Pe,
9879
+ tooltip: Ze
9880
+ }, bt = {
9881
+ global: ae,
9882
+ directives: gt,
9543
9883
  // Forms
9544
- form: Z,
9545
- filtercontainer: rt,
9546
- autocomplete: y,
9547
- dropdown: W,
9548
- inputnumber: ne,
9549
- inputphonenumber: ae,
9550
- inputcurrency: Qe,
9551
- inputotp: oe,
9552
- inputtext: v,
9553
- inputbadge: te,
9554
- calendar: I,
9555
- checkbox: a,
9556
- buttonradio: Ce,
9557
- selectbutton: Fe,
9558
- slider: Ve,
9884
+ form: se,
9885
+ filtercontainer: dt,
9886
+ autocomplete: _,
9887
+ dropdown: re,
9888
+ inputnumber: ge,
9889
+ inputphonenumber: be,
9890
+ inputcurrency: at,
9891
+ inputotp: me,
9892
+ inputtext: z,
9893
+ inputbadge: ce,
9894
+ calendar: B,
9895
+ checkbox: d,
9896
+ buttonradio: Fe,
9897
+ selectbutton: Ee,
9898
+ slider: $e,
9559
9899
  chips: M,
9560
- rating: ze,
9900
+ rating: Se,
9561
9901
  multiselect: s,
9562
- togglebutton: Ge,
9563
- toggleswitch: l,
9564
- cascadeselect: S,
9565
- listbox: ce,
9566
- colorpicker: R,
9567
- inputgroup: re,
9568
- inputgroupaddon: ie,
9569
- inputmask: se,
9570
- knob: le,
9571
- treeselect: Ye,
9572
- tristatecheckbox: Je,
9573
- textarea: Le,
9574
- password: ye,
9575
- validatormessage: We,
9576
- fileupload: Ue,
9577
- fieldwrapper: et,
9902
+ togglebutton: Je,
9903
+ toggleswitch: u,
9904
+ cascadeselect: O,
9905
+ listbox: xe,
9906
+ colorpicker: D,
9907
+ inputgroup: de,
9908
+ inputgroupaddon: ue,
9909
+ inputmask: fe,
9910
+ knob: pe,
9911
+ treeselect: et,
9912
+ tristatecheckbox: tt,
9913
+ textarea: Ye,
9914
+ password: _e,
9915
+ validatormessage: rt,
9916
+ fileupload: ot,
9917
+ fieldwrapper: lt,
9578
9918
  // Buttons
9579
- button: z,
9580
- buttondownload: j,
9581
- buttonbulkaction: Xe,
9582
- buttonsearch: _,
9583
- buttonsplit: F,
9584
- buttonfilter: A,
9585
- splitbutton: Se,
9919
+ button: S,
9920
+ buttondownload: P,
9921
+ buttonbulkaction: it,
9922
+ buttonsearch: U,
9923
+ buttonsplit: E,
9924
+ buttonfilter: V,
9925
+ splitbutton: Oe,
9586
9926
  // Data
9587
- paginator: xe,
9588
- datatable: O,
9589
- customcolumn: E,
9590
- tree: qe,
9591
- dataview: G,
9592
- dataviewlayoutoptions: N,
9593
- organizationchart: be,
9594
- orderlist: me,
9595
- picklist: we,
9596
- timeline: Ee,
9597
- changelog: P,
9927
+ paginator: je,
9928
+ datatable: q,
9929
+ customcolumn: K,
9930
+ tree: Qe,
9931
+ dataview: J,
9932
+ dataviewlayoutoptions: X,
9933
+ organizationchart: Ce,
9934
+ orderlist: ke,
9935
+ picklist: Ne,
9936
+ timeline: Ke,
9937
+ changelog: L,
9598
9938
  // Panels
9599
- accordion: h,
9600
- panel: ve,
9601
- fieldset: X,
9602
- card: T,
9939
+ accordion: T,
9940
+ panel: Ae,
9941
+ fieldset: ie,
9942
+ card: G,
9603
9943
  tabview: Me,
9604
- divider: Y,
9605
- toolbar: Ne,
9606
- scrollpanel: Ae,
9944
+ divider: ee,
9945
+ toolbar: Xe,
9946
+ scrollpanel: Ve,
9607
9947
  // Menu
9608
- contextmenu: D,
9609
- menu: ue,
9610
- menubar: fe,
9611
- steps: Pe,
9612
- breadcrumb: Ke,
9613
- tieredmenu: De,
9614
- panelmenu: he,
9615
- megamenu: de,
9616
- dock: J,
9617
- tabmenu: $e,
9948
+ contextmenu: H,
9949
+ menu: he,
9950
+ menubar: ye,
9951
+ steps: Le,
9952
+ breadcrumb: nt,
9953
+ tieredmenu: He,
9954
+ panelmenu: Te,
9955
+ megamenu: ve,
9956
+ dock: te,
9957
+ tabmenu: Re,
9618
9958
  // Overlays
9619
- dialog: x,
9620
- dialogconfirm: H,
9621
- dialogform: q,
9622
- overlaypanel: pe,
9623
- sidebar: Ie,
9624
- confirmpopup: L,
9959
+ dialog: C,
9960
+ dialogconfirm: Z,
9961
+ dialogform: Q,
9962
+ overlaypanel: ze,
9963
+ sidebar: Be,
9964
+ confirmpopup: Y,
9625
9965
  // Messages
9626
- message: ge,
9627
- inlinemessage: ee,
9628
- toast: Oe,
9966
+ message: we,
9967
+ inlinemessage: le,
9968
+ toast: qe,
9629
9969
  // Media
9630
- carousel: V,
9970
+ carousel: $,
9631
9971
  // Misc
9632
- badge: o,
9633
- badgegroup: Ze,
9634
- avatar: w,
9635
- avatargroup: k,
9636
- tag: Be,
9637
- chip: $,
9638
- progressbar: ke,
9639
- skeleton: Te,
9640
- scrolltop: _e,
9641
- terminal: Re,
9642
- image: U,
9643
- workcalendar: tt,
9644
- loading: it,
9645
- codesnippet: B,
9646
- username: st
9972
+ badge: c,
9973
+ badgegroup: st,
9974
+ avatar: N,
9975
+ avatargroup: I,
9976
+ tag: We,
9977
+ chip: R,
9978
+ progressbar: Ie,
9979
+ skeleton: Ge,
9980
+ scrolltop: Ue,
9981
+ terminal: De,
9982
+ image: oe,
9983
+ workcalendar: ct,
9984
+ loading: ut,
9985
+ codesnippet: W,
9986
+ username: ft
9647
9987
  };
9648
9988
  export {
9649
- ot as default
9989
+ bt as default
9650
9990
  };