@fewangsit/wangsvue-presets 1.0.101 → 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 (61) hide show
  1. package/fixedasset/buttonradio/index.d.ts +6 -4
  2. package/fixedasset/buttonradio/index.js +8 -12
  3. package/fixedasset/fieldwrapper/index.d.ts +5 -2
  4. package/fixedasset/fieldwrapper/index.js +4 -1
  5. package/fixedasset/index.d.ts +2 -2
  6. package/fixedasset/index.es.js +660 -321
  7. package/fixedasset/index.js +94 -94
  8. package/fixedasset/index.system.js +2 -2
  9. package/fixedasset/inputotp/index.d.ts +1 -136
  10. package/fixedasset/inputotp/index.js +50 -53
  11. package/fixedasset/password/index.js +1 -0
  12. package/fixedasset/style.css +137 -49
  13. package/fixedasset/tabmenu/index.d.ts +1 -104
  14. package/fixedasset/tabmenu/index.js +48 -27
  15. package/fixedasset/timeline/index.d.ts +24 -2
  16. package/fixedasset/timeline/index.js +24 -5
  17. package/fixedasset/tree/index.d.ts +10 -5
  18. package/fixedasset/tree/index.js +8 -5
  19. package/fixedasset/username/index.js +1 -1
  20. package/globalsettings/buttonradio/index.d.ts +6 -4
  21. package/globalsettings/buttonradio/index.js +8 -12
  22. package/globalsettings/fieldwrapper/index.d.ts +5 -2
  23. package/globalsettings/fieldwrapper/index.js +4 -1
  24. package/globalsettings/index.d.ts +1 -1
  25. package/globalsettings/index.es.js +535 -191
  26. package/globalsettings/index.js +26 -26
  27. package/globalsettings/index.system.js +2 -2
  28. package/globalsettings/style.css +120 -51
  29. package/globalsettings/tabmenu/index.d.ts +1 -104
  30. package/globalsettings/tabmenu/index.js +48 -27
  31. package/globalsettings/timeline/index.d.ts +22 -0
  32. package/globalsettings/timeline/index.js +19 -0
  33. package/package.json +1 -1
  34. package/supplyasset/buttonradio/index.d.ts +6 -4
  35. package/supplyasset/buttonradio/index.js +8 -12
  36. package/supplyasset/fieldwrapper/index.d.ts +5 -2
  37. package/supplyasset/fieldwrapper/index.js +4 -1
  38. package/supplyasset/index.d.ts +1 -1
  39. package/supplyasset/index.es.js +544 -199
  40. package/supplyasset/index.js +24 -24
  41. package/supplyasset/index.system.js +2 -2
  42. package/supplyasset/style.css +120 -51
  43. package/supplyasset/tabmenu/index.d.ts +1 -104
  44. package/supplyasset/tabmenu/index.js +50 -28
  45. package/supplyasset/timeline/index.d.ts +22 -0
  46. package/supplyasset/timeline/index.js +19 -0
  47. package/wangsvue/buttonbulkaction/index.d.ts +2 -2
  48. package/wangsvue/buttonbulkaction/index.js +2 -1
  49. package/wangsvue/buttonradio/index.d.ts +2 -1
  50. package/wangsvue/buttonradio/index.js +3 -7
  51. package/wangsvue/fieldwrapper/index.d.ts +5 -2
  52. package/wangsvue/fieldwrapper/index.js +4 -1
  53. package/wangsvue/index.d.ts +1 -1
  54. package/wangsvue/index.es.js +590 -257
  55. package/wangsvue/index.js +44 -44
  56. package/wangsvue/index.system.js +2 -2
  57. package/wangsvue/style.css +106 -49
  58. package/wangsvue/tabmenu/index.d.ts +1 -56
  59. package/wangsvue/tabmenu/index.js +20 -13
  60. package/wangsvue/timeline/index.d.ts +20 -0
  61. package/wangsvue/timeline/index.js +16 -0
@@ -1,4 +1,7 @@
1
- const y = {
1
+ var z = Object.defineProperty;
2
+ var _ = (e, t, a) => t in e ? z(e, t, { enumerable: !0, configurable: !0, writable: !0, value: a }) : e[t] = a;
3
+ var b = (e, t, a) => _(e, typeof t != "symbol" ? t + "" : t, a);
4
+ const A = {
2
5
  accordiontab: {
3
6
  header: ({ props: e }) => ({
4
7
  class: [
@@ -60,7 +63,7 @@ const y = {
60
63
  leaveToClass: "max-h-0"
61
64
  }
62
65
  }
63
- }, l = {
66
+ }, d = {
64
67
  root: ({ props: e }) => ({
65
68
  class: [
66
69
  // Alignment
@@ -109,7 +112,7 @@ const y = {
109
112
  "icon-class": "w-[10px] h-[10px] !text-[10px]",
110
113
  "data-wv-section": "removebutton"
111
114
  })
112
- }, w = {
115
+ }, S = {
113
116
  root: ({ context: e }) => ({
114
117
  class: [
115
118
  // Font
@@ -147,7 +150,7 @@ const y = {
147
150
  }
148
151
  ]
149
152
  })
150
- }, p = {
153
+ }, T = {
151
154
  root: ({ props: e, context: t }) => ({
152
155
  class: [
153
156
  "relative",
@@ -464,7 +467,7 @@ const y = {
464
467
  }
465
468
  ]
466
469
  })
467
- }, k = {
470
+ }, N = {
468
471
  root: ({ props: e }) => ({
469
472
  class: [
470
473
  "rounded ring-1 ring-success-500 p-[5px] ring-inset",
@@ -481,7 +484,7 @@ const y = {
481
484
  "data-wv-section": "icon",
482
485
  severity: "success"
483
486
  }
484
- }, C = {
487
+ }, F = {
485
488
  root: ({ context: e }) => ({
486
489
  class: [
487
490
  "rounded ring-1 ring-general-500 p-[5px] ring-inset",
@@ -498,7 +501,7 @@ const y = {
498
501
  ],
499
502
  "data-wv-section": "icon"
500
503
  })
501
- }, j = {
504
+ }, P = {
502
505
  buttontrigger: {
503
506
  root: ({ context: e }) => ({
504
507
  class: [
@@ -547,7 +550,7 @@ const y = {
547
550
  inputtext: {
548
551
  class: "!h-max !py-0 !px-0"
549
552
  }
550
- }, z = {
553
+ }, V = {
551
554
  root: ["w-max"],
552
555
  button: {
553
556
  class: [
@@ -556,7 +559,7 @@ const y = {
556
559
  "data-sp-section": "button-split"
557
560
  },
558
561
  menuButton: "!rounded-ss-none !rounded-es-none"
559
- }, u = navigator.userAgent.includes("Firefox"), _ = {
562
+ }, h = navigator.userAgent.includes("Firefox"), I = {
560
563
  root: ({ props: e }) => ({
561
564
  class: [
562
565
  // Display and Position
@@ -1018,8 +1021,8 @@ const y = {
1018
1021
  class: [
1019
1022
  "w-[39px] h-[26px] flex justify-center items-center ring-general-200 rounded",
1020
1023
  {
1021
- "ring-1": u,
1022
- "ring-[0.5px]": !u
1024
+ "ring-1": h,
1025
+ "ring-[0.5px]": !h
1023
1026
  }
1024
1027
  ]
1025
1028
  },
@@ -1144,7 +1147,7 @@ const y = {
1144
1147
  leaveActiveClass: "transition-opacity duration-100 ease-linear",
1145
1148
  leaveToClass: "opacity-0"
1146
1149
  }
1147
- }, A = {
1150
+ }, E = {
1148
1151
  root: {
1149
1152
  class: [
1150
1153
  //Shape
@@ -1173,7 +1176,7 @@ const y = {
1173
1176
  footer: {
1174
1177
  class: ["inline-flex gap-1 text-xs items-center"]
1175
1178
  }
1176
- }, V = {
1179
+ }, B = {
1177
1180
  root: {
1178
1181
  class: [
1179
1182
  // Flexbox
@@ -1287,7 +1290,7 @@ const y = {
1287
1290
  }
1288
1291
  ]
1289
1292
  })
1290
- }, S = {
1293
+ }, U = {
1291
1294
  button: ({ props: e, buttonClass: t }) => ({
1292
1295
  class: [
1293
1296
  t,
@@ -1326,7 +1329,7 @@ const y = {
1326
1329
  buttondownload: {
1327
1330
  "data-wv-section": "changelog-dialog-button-download"
1328
1331
  }
1329
- }, s = {
1332
+ }, c = {
1330
1333
  root: {
1331
1334
  class: [
1332
1335
  "relative",
@@ -1436,7 +1439,7 @@ const y = {
1436
1439
  tooltipicon: {
1437
1440
  class: "text-primary-500 w-[10px] h-[10px]"
1438
1441
  }
1439
- }, F = {
1442
+ }, $ = {
1440
1443
  copybutton: {
1441
1444
  class: "peer-hover:visible scale-125 !absolute top-2 right-2 z-50"
1442
1445
  },
@@ -1456,7 +1459,7 @@ const y = {
1456
1459
  "px-2 bg-primary-100 sticky left-0 text-right select-none"
1457
1460
  ]
1458
1461
  }
1459
- }, T = {
1462
+ }, G = {
1460
1463
  menustart: {
1461
1464
  class: ""
1462
1465
  },
@@ -1480,7 +1483,7 @@ const y = {
1480
1483
  { invisible: e.dragable === !1 }
1481
1484
  ]
1482
1485
  })
1483
- }, P = {
1486
+ }, L = {
1484
1487
  root: {
1485
1488
  "data-wv-name": "datatable",
1486
1489
  "data-wv-section": "root",
@@ -1696,7 +1699,7 @@ const y = {
1696
1699
  class: "",
1697
1700
  template: "FirstPageLink PrevPageLink PageLinks JumpToPageInput NextPageLink LastPageLink CurrentPageReport RowsPerPageDropdown"
1698
1701
  })
1699
- }, h = {
1702
+ }, C = {
1700
1703
  root: ({ state: e }) => ({
1701
1704
  class: [
1702
1705
  // Shape
@@ -1889,7 +1892,7 @@ const y = {
1889
1892
  leaveActiveClass: "transition-all duration-200 ease-out",
1890
1893
  leaveToClass: "opacity-0 scale-75 mask-active"
1891
1894
  }
1892
- }, I = {
1895
+ }, M = {
1893
1896
  root: {
1894
1897
  class: ["!w-[clamp(360px,75vw,400px)]"],
1895
1898
  "data-wv-name": (e) => e ?? "root",
@@ -1931,7 +1934,7 @@ const y = {
1931
1934
  class: "flex items-end justify-end gap-1 !mt-0",
1932
1935
  "data-wv-section": "dialog-confirm-footer"
1933
1936
  }
1934
- }, $ = {
1937
+ }, R = {
1935
1938
  root: {
1936
1939
  class: ["max-w-[90vw]"],
1937
1940
  style: (e) => `width: ${e}`,
@@ -1996,7 +1999,7 @@ const y = {
1996
1999
  savesubmitbutton: {
1997
2000
  "data-wv-section": "save-submit-button"
1998
2001
  }
1999
- }, r = {
2002
+ }, n = {
2000
2003
  root: ({ props: e, state: t }) => ({
2001
2004
  class: [
2002
2005
  // Display and Position
@@ -2035,9 +2038,9 @@ const y = {
2035
2038
  ]
2036
2039
  };
2037
2040
  },
2038
- token: l.root({ props: { severity: "dark" } }),
2039
- tokenLabel: l.input({ props: {}, context: {} }),
2040
- removeTokenIcon: l.removebutton({
2041
+ token: d.root({ props: { severity: "dark" } }),
2042
+ tokenLabel: d.input({ props: {}, context: {} }),
2043
+ removeTokenIcon: d.removebutton({
2041
2044
  props: { badgeSeverity: "dark" }
2042
2045
  }),
2043
2046
  loadingplaceholder: {
@@ -2114,12 +2117,12 @@ const y = {
2114
2117
  ]
2115
2118
  },
2116
2119
  headerCheckbox: {
2117
- ...s,
2120
+ ...c,
2118
2121
  root: {
2119
- class: ["!mx-auto", ...s.root.class]
2122
+ class: ["!mx-auto", ...c.root.class]
2120
2123
  }
2121
2124
  },
2122
- itemCheckbox: s,
2125
+ itemCheckbox: c,
2123
2126
  closeButton: {
2124
2127
  class: ["hidden"]
2125
2128
  },
@@ -2267,7 +2270,7 @@ const y = {
2267
2270
  leaveActiveClass: "transition-opacity duration-100 ease-linear",
2268
2271
  leaveToClass: "opacity-0"
2269
2272
  }
2270
- }, M = {
2273
+ }, O = {
2271
2274
  root: ({ props: e, state: t }) => ({
2272
2275
  class: [
2273
2276
  // Display and Position
@@ -2432,12 +2435,12 @@ const y = {
2432
2435
  "bg-transparent"
2433
2436
  ]
2434
2437
  },
2435
- header: r == null ? void 0 : r.header,
2436
- filtercontainer: r == null ? void 0 : r.filtercontainer,
2437
- filterinput: r == null ? void 0 : r.filterinput,
2438
- filtericon: r == null ? void 0 : r.filtericon,
2439
- loadingicon: r == null ? void 0 : r.loadingicon,
2440
- dropdownicon: ({ state: e }) => r.dropdownicon({ state: e }),
2438
+ header: n == null ? void 0 : n.header,
2439
+ filtercontainer: n == null ? void 0 : n.filtercontainer,
2440
+ filterinput: n == null ? void 0 : n.filterinput,
2441
+ filtericon: n == null ? void 0 : n.filtericon,
2442
+ loadingicon: n == null ? void 0 : n.loadingicon,
2443
+ dropdownicon: ({ state: e }) => n.dropdownicon({ state: e }),
2441
2444
  clearicon: {
2442
2445
  class: [
2443
2446
  // Color
@@ -2459,7 +2462,7 @@ const y = {
2459
2462
  loadingplaceholder: {
2460
2463
  class: "text-general-200 font-light"
2461
2464
  }
2462
- }, R = {
2465
+ }, D = {
2463
2466
  // :class="['ts-form', { 'sticky-buttons': props.stickyButtons }]"
2464
2467
  root: () => ({
2465
2468
  class: [
@@ -2500,14 +2503,14 @@ const y = {
2500
2503
  "validator-message": {
2501
2504
  class: ["static w-max transform-none"]
2502
2505
  }
2503
- }, B = [
2506
+ }, W = [
2504
2507
  {
2505
2508
  "ring-1 p-[1px]": navigator.userAgent.includes("Firefox"),
2506
2509
  "ring-[0.5px] p-[0.5px]": !navigator.userAgent.includes("Firefox")
2507
2510
  },
2508
2511
  "ring-inset",
2509
2512
  "ring-general-200"
2510
- ], L = {
2513
+ ], K = {
2511
2514
  css: `
2512
2515
  *[data-pd-ripple="true"]{
2513
2516
  overflow: hidden;
@@ -2584,7 +2587,7 @@ const y = {
2584
2587
  }
2585
2588
  }
2586
2589
  `
2587
- }, D = {
2590
+ }, Y = {
2588
2591
  root: ({ props: e }) => ({
2589
2592
  class: [
2590
2593
  "relative inline-block",
@@ -2722,7 +2725,7 @@ const y = {
2722
2725
  leaveActiveClass: "transition-all duration-150 ease-in",
2723
2726
  leaveToClass: "opacity-0 scale-75"
2724
2727
  }
2725
- }, E = {
2728
+ }, H = {
2726
2729
  root: ({ props: e }) => ({
2727
2730
  class: [
2728
2731
  "rounded-md p-3",
@@ -2752,16 +2755,16 @@ const y = {
2752
2755
  "font-medium"
2753
2756
  ]
2754
2757
  }
2755
- }, v = {
2758
+ }, j = {
2756
2759
  root: ({ props: e, context: t, parent: a }) => {
2757
- var n, i;
2760
+ var r, i;
2758
2761
  return {
2759
2762
  class: [
2760
2763
  "px-3 py-[5px] w-full bg-transparent",
2761
2764
  // Size
2762
2765
  "h-max",
2763
2766
  {
2764
- "max-h-[43px]": (i = (n = a.instance) == null ? void 0 : n.placeholder) == null ? void 0 : i.includes("password")
2767
+ "max-h-[43px]": (i = (r = a.instance) == null ? void 0 : r.placeholder) == null ? void 0 : i.includes("password")
2765
2768
  },
2766
2769
  // Font
2767
2770
  "text-general-800 text-xs tracking-[0.02em] font-medium",
@@ -2776,15 +2779,15 @@ const y = {
2776
2779
  ]
2777
2780
  };
2778
2781
  }
2779
- }, g = navigator.userAgent.includes("Firefox"), O = {
2782
+ }, v = navigator.userAgent.includes("Firefox"), q = {
2780
2783
  root: ({ context: e }) => ({
2781
2784
  class: [
2782
2785
  "flex flex-wrap gap-x-0.5 gap-y-[5px] items-center",
2783
2786
  "min-h-[26px] h-fit w-full",
2784
2787
  "ring-inset rounded px-[12px] py-[3px]",
2785
2788
  {
2786
- "ring-[1px]": g,
2787
- "ring-[0.5px]": !g
2789
+ "ring-[1px]": v,
2790
+ "ring-[0.5px]": !v
2788
2791
  },
2789
2792
  { "!ring-danger-500 !dark:ring-danger-500": e.invalidInput },
2790
2793
  { "!ring-general-200 !dark:ring-general-200": !e.invalidInput },
@@ -2793,7 +2796,7 @@ const y = {
2793
2796
  }),
2794
2797
  input: ({ context: e, parent: t, props: a }) => ({
2795
2798
  class: [
2796
- ...v.root({
2799
+ ...j.root({
2797
2800
  props: a,
2798
2801
  context: e,
2799
2802
  parent: t
@@ -2809,7 +2812,7 @@ const y = {
2809
2812
  erroroverlaypanel: {
2810
2813
  class: ["px-3 py-1 text-[12px] text-general-800"]
2811
2814
  }
2812
- }, f = navigator.userAgent.includes("Firefox"), H = {
2815
+ }, y = navigator.userAgent.includes("Firefox"), J = {
2813
2816
  root: ({ props: e }) => ({
2814
2817
  class: [
2815
2818
  {
@@ -2821,8 +2824,8 @@ const y = {
2821
2824
  "[&:has(:focus)]:!ring-primary-500 [&:has(:focus)_.inputgroupaddon]:!ring-primary-500": e.ring !== "none"
2822
2825
  },
2823
2826
  {
2824
- "ring-[1px] [&_.inputgroupaddon]:ring-[1px]": f && e.ring !== "none",
2825
- "ring-[0.5px] [&_.inputgroupaddon]:ring-[0.5px]": !f && e.ring !== "none"
2827
+ "ring-[1px] [&_.inputgroupaddon]:ring-[1px]": y && e.ring !== "none",
2828
+ "ring-[0.5px] [&_.inputgroupaddon]:ring-[0.5px]": !y && e.ring !== "none"
2826
2829
  },
2827
2830
  "[&_.inputgroupaddon[data-addon-variant=plain]]:!ring-[0px]",
2828
2831
  "[&:has(input)]:cursor-text",
@@ -2834,7 +2837,7 @@ const y = {
2834
2837
  ],
2835
2838
  "data-wv-section": "inputgroup"
2836
2839
  })
2837
- }, q = {
2840
+ }, Z = {
2838
2841
  root: ({ props: e }) => ({
2839
2842
  class: [
2840
2843
  "inputgroupaddon",
@@ -2864,13 +2867,13 @@ const y = {
2864
2867
  "data-addon-variant": e.addonVariant
2865
2868
  // Used in inputgroup to set styling
2866
2869
  })
2867
- }, b = "text-xs font-medium tracking-[0.02em] leading-[18px]", m = "h-[26px]", N = {
2870
+ }, w = "text-xs font-medium tracking-[0.02em] leading-[18px]", p = "h-[26px]", Q = {
2868
2871
  root: ({ props: e, parent: t }) => ({
2869
2872
  class: [
2870
2873
  // Layout
2871
2874
  "flex items-center self-stretch shrink-0 grow",
2872
2875
  //Size
2873
- m,
2876
+ p,
2874
2877
  // Spacing
2875
2878
  "py-1 px-3",
2876
2879
  // Border
@@ -2883,7 +2886,7 @@ const y = {
2883
2886
  class: [
2884
2887
  "border-0 h-full w-full outline-none",
2885
2888
  "bg-inherit",
2886
- b,
2889
+ w,
2887
2890
  "placeholder:text-general-200 placeholder:font-light",
2888
2891
  t.disabled ? "text-general-200" : "text-general-800"
2889
2892
  ]
@@ -2891,8 +2894,8 @@ const y = {
2891
2894
  },
2892
2895
  inputresizer: {
2893
2896
  class: [
2894
- b,
2895
- m,
2897
+ w,
2898
+ p,
2896
2899
  "user-select-none py-1 px-3 block min-w-4 text-transparent"
2897
2900
  ]
2898
2901
  },
@@ -2931,7 +2934,7 @@ const y = {
2931
2934
  }
2932
2935
  ]
2933
2936
  })
2934
- }, c = ({ isFirefoxBased: e, invalidInput: t }) => [
2937
+ }, g = ({ isFirefoxBased: e, invalidInput: t }) => [
2935
2938
  { "ring-[1px]": e, "ring-[0.5px]": !e },
2936
2939
  { "!ring-danger-500": t },
2937
2940
  "ring-inset",
@@ -2941,23 +2944,23 @@ const y = {
2941
2944
  "[&:has(:focus)]:ring-1",
2942
2945
  "bg-white",
2943
2946
  "z-[0] [&:has(:focus)]:z-[12]"
2944
- ], G = {
2947
+ ], X = {
2945
2948
  dialcode: {
2946
2949
  root: (e) => ({
2947
- class: [...c(e), "rounded-l rounded-r-none"]
2950
+ class: [...g(e), "rounded-l rounded-r-none"]
2948
2951
  }),
2949
- dropdownicon: ({ state: e }) => r.dropdownicon({ state: e })
2952
+ dropdownicon: ({ state: e }) => n.dropdownicon({ state: e })
2950
2953
  },
2951
2954
  input: (e) => ({
2952
2955
  class: [
2953
- ...c(e),
2956
+ ...g(e),
2954
2957
  "rounded-r rounded-l-none -ml-[1px]",
2955
2958
  "focus:bg-none",
2956
2959
  "focus:ring-primary-500",
2957
2960
  "focus:ring-1"
2958
2961
  ]
2959
2962
  })
2960
- }, J = {
2963
+ }, ee = {
2961
2964
  root: {
2962
2965
  class: [
2963
2966
  // Position
@@ -3057,7 +3060,7 @@ const y = {
3057
3060
  leaveActiveClass: "transition-opacity duration-100 ease-linear",
3058
3061
  leaveToClass: "opacity-0"
3059
3062
  }
3060
- }, Y = {
3063
+ }, te = {
3061
3064
  root: ({ props: e }) => ({
3062
3065
  class: [
3063
3066
  // Spacing and Shape
@@ -3133,7 +3136,7 @@ const y = {
3133
3136
  leaveActiveClass: "overflow-hidden transition-all duration-300 ease-in",
3134
3137
  leaveToClass: "max-h-0 opacity-0 !m-0"
3135
3138
  }
3136
- }, Z = {
3139
+ }, ae = {
3137
3140
  root: {
3138
3141
  class: [
3139
3142
  "h-max",
@@ -3164,7 +3167,7 @@ const y = {
3164
3167
  leaveActiveClass: "transition-opacity duration-100 ease-linear",
3165
3168
  leaveToClass: "opacity-0"
3166
3169
  }
3167
- }, K = {
3170
+ }, re = {
3168
3171
  root: {
3169
3172
  class: [
3170
3173
  // Flex & Alignment
@@ -3608,7 +3611,7 @@ const y = {
3608
3611
  current: {
3609
3612
  class: ["text-xs font-normal leading-6 px-3"]
3610
3613
  }
3611
- }, Q = {
3614
+ }, ne = {
3612
3615
  root: ({ props: e }) => ({
3613
3616
  class: [
3614
3617
  "w-full",
@@ -3662,7 +3665,7 @@ const y = {
3662
3665
  ]
3663
3666
  },
3664
3667
  meterlabel: ({ instance: e }) => {
3665
- var t, a, n;
3668
+ var t, a, r;
3666
3669
  return {
3667
3670
  class: [
3668
3671
  // Size
@@ -3671,7 +3674,7 @@ const y = {
3671
3674
  {
3672
3675
  "bg-red-500/50": ((t = e == null ? void 0 : e.meter) == null ? void 0 : t.strength) == "weak",
3673
3676
  "bg-orange-500/50": ((a = e == null ? void 0 : e.meter) == null ? void 0 : a.strength) == "medium",
3674
- "bg-green-500/50": ((n = e == null ? void 0 : e.meter) == null ? void 0 : n.strength) == "strong"
3677
+ "bg-green-500/50": ((r = e == null ? void 0 : e.meter) == null ? void 0 : r.strength) == "strong"
3675
3678
  },
3676
3679
  // Transitions
3677
3680
  "transition-all duration-1000 ease-in-out"
@@ -3697,7 +3700,7 @@ const y = {
3697
3700
  leaveActiveClass: "transition-opacity duration-100 ease-linear",
3698
3701
  leaveToClass: "opacity-0"
3699
3702
  }
3700
- }, x = navigator.userAgent.includes("Firefox"), o = {
3703
+ }, k = navigator.userAgent.includes("Firefox"), u = {
3701
3704
  root: ({ props: e }) => ({
3702
3705
  class: [
3703
3706
  // Alignments
@@ -3737,7 +3740,7 @@ const y = {
3737
3740
  },
3738
3741
  // Colors
3739
3742
  "ring-1",
3740
- { "ring-1": x, "ring-[0.5px]": !x },
3743
+ { "ring-1": k, "ring-[0.5px]": !k },
3741
3744
  {
3742
3745
  "before:bg-white": e.modelValue == e.trueValue,
3743
3746
  "before:bg-general-100": e.modelValue !== e.trueValue,
@@ -3811,8 +3814,8 @@ const y = {
3811
3814
  tooltipicon: {
3812
3815
  class: "text-primary-500 w-[10px] h-[10px]"
3813
3816
  }
3814
- }, U = {
3815
- root: ({ props: e }) => ({
3817
+ }, ie = {
3818
+ root: ({ props: e, state: t }) => ({
3816
3819
  class: [
3817
3820
  "relative",
3818
3821
  // Flexbox & Alignment
@@ -3825,10 +3828,10 @@ const y = {
3825
3828
  "rounded-full",
3826
3829
  // Colors
3827
3830
  {
3828
- "bg-white": !e.disabled || e.value == e.modelValue,
3829
- "bg-general-50": e.disabled && e.value != e.modelValue,
3830
- "ring-general-100": !e.disabled && e.value != e.modelValue,
3831
- "ring-primary-500": !e.disabled && e.value == e.modelValue,
3831
+ "bg-white": !e.disabled || t.checked,
3832
+ "bg-general-50": e.disabled && !t.checked,
3833
+ "ring-general-100": !e.disabled && !t.checked,
3834
+ "ring-primary-500": !e.disabled && t.checked,
3832
3835
  "ring-general-200": e.disabled
3833
3836
  },
3834
3837
  {
@@ -3840,7 +3843,7 @@ const y = {
3840
3843
  "data-wv-name": "buttonradio",
3841
3844
  "data-wv-section": "root"
3842
3845
  }),
3843
- box: ({ props: e }) => ({
3846
+ box: ({ props: e, state: t }) => ({
3844
3847
  class: [
3845
3848
  // Size
3846
3849
  "w-2 h-2",
@@ -3855,8 +3858,8 @@ const y = {
3855
3858
  "transition duration-200 ease-in-out",
3856
3859
  // Colors
3857
3860
  {
3858
- "bg-primary-500": e.value == e.modelValue && e.value !== void 0 && !e.disabled,
3859
- "bg-general-200": e.value == e.modelValue && e.value !== void 0 && e.disabled
3861
+ "bg-primary-500": t.checked && e.value !== void 0 && !e.disabled,
3862
+ "bg-general-200": t.checked && e.value !== void 0 && e.disabled
3860
3863
  },
3861
3864
  // States
3862
3865
  {
@@ -3890,15 +3893,15 @@ const y = {
3890
3893
  icon: {
3891
3894
  class: "hidden"
3892
3895
  },
3893
- label: o.label,
3894
- labeltext: o.labeltext,
3895
- tooltipicon: o.tooltipicon
3896
- }, W = {
3896
+ label: u.label,
3897
+ labeltext: u.labeltext,
3898
+ tooltipicon: u.tooltipicon
3899
+ }, le = {
3897
3900
  root: {
3898
3901
  class: ["block absolute bg-surface-0/50 rounded-full pointer-events-none"],
3899
3902
  style: "transform: scale(0)"
3900
3903
  }
3901
- }, X = {
3904
+ }, se = {
3902
3905
  root: {
3903
3906
  class: "relative"
3904
3907
  },
@@ -4005,12 +4008,319 @@ const y = {
4005
4008
  "max-w-full"
4006
4009
  ]
4007
4010
  })
4008
- }, ee = {
4011
+ };
4012
+ function x(e, t) {
4013
+ return { [e]: t }[e];
4014
+ }
4015
+ x("WANGS-TAB-MENU", {
4016
+ root: {
4017
+ class: "overflow-x-visible"
4018
+ },
4019
+ menu: ({ props: e }) => ({
4020
+ class: [
4021
+ // Flexbox
4022
+ "flex flex-1",
4023
+ // Spacing
4024
+ "list-none",
4025
+ "p-0 m-0",
4026
+ // Colors
4027
+ "text-general-100",
4028
+ { "w-max ring-1 ring-inset ring-general-100 rounded": e.type === "segmented" }
4029
+ ]
4030
+ }),
4031
+ menuitem: {
4032
+ class: "mr-0"
4033
+ },
4034
+ action: ({ props: e, context: t }) => {
4035
+ var a, r;
4036
+ return {
4037
+ class: [
4038
+ "relative",
4039
+ // Font
4040
+ "font-medium",
4041
+ "text-xs leading-4 tracking-[0.02em]",
4042
+ // Flexbox and Alignment
4043
+ "flex items-center",
4044
+ // Spacing
4045
+ {
4046
+ "rounded-xl py-1 px-3": e.type === "pill",
4047
+ rounded: e.type === "segmented",
4048
+ "p-2 pb-1.5 pt-0.5 !h-6": e.type === "tab",
4049
+ "py-[5px] px-3 !h-6": e.type === "segmented",
4050
+ "ml-1": e.type === "pill" && t.index !== 0,
4051
+ "gap-1": t.item.icon
4052
+ },
4053
+ // Shape
4054
+ {
4055
+ "border-b-2": e.type === "tab",
4056
+ "shadow-[-2px_2px_2px_rgba(0,0,0,0.25)] overflow-visible": e.type === "segmented" && t.active
4057
+ },
4058
+ // Colors and Conditions
4059
+ {
4060
+ "border-primary-700": t.active,
4061
+ "border-grayscale-400": !t.active,
4062
+ "text-grayscale-600": !t.active && e.type === "tab",
4063
+ "text-primary-700": t.active && e.type === "tab",
4064
+ "bg-primary-700 text-white": e.type === "pill" && t.active,
4065
+ "bg-grayscale-100 text-grayscale-800": e.type === "pill" && !t.active,
4066
+ "bg-primary-500 text-white": e.type === "segmented" && t.active,
4067
+ "!text-general-800": e.type === "segmented" && !t.active,
4068
+ "bg-transparent ": e.type !== "pill" && !t.active
4069
+ },
4070
+ // States
4071
+ { "hover:bg-primary-50": e.type === "tab" },
4072
+ "focus-visible:outline-none focus-visible:outline-offset-0",
4073
+ {
4074
+ "focus-visible:border-primary-200 focus-visible:text-primary-400": !t.active
4075
+ },
4076
+ // Disabled States
4077
+ {
4078
+ "pointer-events-none": (a = t.item) == null ? void 0 : a.disabled,
4079
+ "opacity-60": (r = t.item) == null ? void 0 : r.disabled
4080
+ },
4081
+ // Transitions
4082
+ "transition-all duration-200",
4083
+ // Misc
4084
+ "cursor-pointer select-none text-decoration-none",
4085
+ "overflow-hidden",
4086
+ "user-select-none",
4087
+ "!no-underline",
4088
+ "whitespace-nowrap"
4089
+ ]
4090
+ };
4091
+ },
4092
+ icon: {
4093
+ class: "mr-2"
4094
+ },
4095
+ inkbar: ({ props: e }) => ({
4096
+ class: ["grow border-b-2 border-grayscale-400", { hidden: e.type === "pill" || e.useTrailingLine === !1 || e.type === "segmented" }]
4097
+ })
4098
+ });
4099
+ x("WANGS-INPUT-OTP", {
4100
+ root: {
4101
+ class: [
4102
+ // Alignment
4103
+ "flex items-center",
4104
+ "gap-[6px]",
4105
+ "w-max"
4106
+ ]
4107
+ },
4108
+ input: ({ props: e, context: t, parent: a }) => ({
4109
+ class: [
4110
+ // Font
4111
+ "text-[14px] leading-none font-medium",
4112
+ // Flex & Alignment
4113
+ { "flex-1 w-[1%]": a.tagName == "WANGS-INPUT-GROUP" },
4114
+ "text-center",
4115
+ // Spacing
4116
+ "m-0",
4117
+ // Size
4118
+ "w-[42px] h-[42px]",
4119
+ // Shape
4120
+ { "rounded-md": a.tagName !== "WANGS-INPUT-GROUP" },
4121
+ {
4122
+ "first:rounded-l-md rounded-none last:rounded-r-md": a.tagName == "WANGS-INPUT-GROUP"
4123
+ },
4124
+ {
4125
+ "border-0 border-y border-l last:border-r": a.tagName == "WANGS-INPUT-GROUP"
4126
+ },
4127
+ // Colors
4128
+ "text-general-800 dark:text-general-800",
4129
+ "placeholder:text-surface-400 dark:placeholder:text-surface-500",
4130
+ "bg-white dark:bg-white",
4131
+ {
4132
+ "ring-1": navigator.userAgent.includes("Firefox"),
4133
+ "ring-[0.5px]": !navigator.userAgent.includes("Firefox")
4134
+ },
4135
+ { "ring-general-200 dark:ring-general-200": !e.invalid },
4136
+ // Invalid State
4137
+ { "ring-danger-500 dark:ring-danger-500": e.invalid },
4138
+ // States
4139
+ {
4140
+ "hover:bg-primary-50/50 hover:ring-primary-500 dark:hover:ring-primary-400": !t.disabled && !e.invalid,
4141
+ "focus:bg-primary-50/50 focus:ring-primary-500 dark:focus:ring-primary-400": !t.disabled && !e.invalid,
4142
+ "focus:outline-none focus:outline-offset-0": !t.disabled,
4143
+ "opacity-60 select-none pointer-events-none cursor-default": t.disabled
4144
+ },
4145
+ // Filled State *for FloatLabel
4146
+ { filled: a.tagName == "WANGS-FLOAT-LABEL" && t.filled },
4147
+ // Misc
4148
+ "appearance-none",
4149
+ "transition-colors duration-200"
4150
+ ]
4151
+ })
4152
+ });
4153
+ const l = class l {
4154
+ constructor() {
4155
+ /**
4156
+ * Stores base URLs associated with different app identifiers.
4157
+ */
4158
+ b(this, "_baseUrl", "");
4159
+ if (globalThis[l.SINGLETON_KEY])
4160
+ return globalThis[l.SINGLETON_KEY];
4161
+ globalThis[l.SINGLETON_KEY] = this;
4162
+ }
4163
+ /**
4164
+ * Registers a base URL for a specific app.
4165
+ *
4166
+ * @param base - The base URL to be used as a prefix for all routes in that app.
4167
+ */
4168
+ setNavigationBaseUrl(t) {
4169
+ this._baseUrl = this.normalizeBase(t);
4170
+ }
4171
+ /**
4172
+ * Retrieves the base URL for a specific app.
4173
+ *
4174
+ * @returns The base URL registered for the app or an empty string if not set.
4175
+ */
4176
+ getNavigationBaseUrl() {
4177
+ return this._baseUrl;
4178
+ }
4179
+ /**
4180
+ * Ensures the base URL ends with a single slash and removes trailing slashes.
4181
+ *
4182
+ * @param base - The base URL to normalize.
4183
+ * @returns A clean base URL ending with a single `/`.
4184
+ */
4185
+ normalizeBase(t) {
4186
+ return t.replace(/\/+$/, "").concat("/");
4187
+ }
4188
+ /**
4189
+ * Prepends the base URL (if any) to the given path.
4190
+ *
4191
+ * @param path - The relative path to normalize.
4192
+ * @returns A fully normalized path prefixed with the base URL if applicable.
4193
+ */
4194
+ normalizePath(t) {
4195
+ const a = this.getNavigationBaseUrl();
4196
+ if (!a)
4197
+ return t;
4198
+ const r = t.startsWith("/") ? t.slice(1) : t;
4199
+ return `${a}${r}`;
4200
+ }
4201
+ /**
4202
+ * Removes the specified base path from the beginning of a given route path.
4203
+ *
4204
+ * This is useful when your app is deployed under a subdirectory (e.g., `/base`)
4205
+ * and you want to normalize the route path to match menu or route definitions
4206
+ * that don't include the base.
4207
+ *
4208
+ * @param path - The full route path (e.g., `/base/about`).
4209
+ * @param base - The optional base URL to remove (e.g., `/base`).
4210
+ * @returns The normalized path without the base prefix (e.g., `/about`).
4211
+ *
4212
+ * @example
4213
+ * stripBase('/base/home', '/base'); // returns '/home'
4214
+ * stripBase('/about', '/base'); // returns '/about' (base not present)
4215
+ * stripBase('/base', '/base'); // returns '/'
4216
+ */
4217
+ stripBase(t, a) {
4218
+ return a || (a = this.getNavigationBaseUrl()), a !== "/" && t.startsWith(a) ? "/" + t.slice(a.length).replace(/^\/+/, "") : t;
4219
+ }
4220
+ /**
4221
+ * Pushes a new entry to the browser's history stack.
4222
+ *
4223
+ * @param route - The target URL or path to push. Can be a string, URL object, or null.
4224
+ * @param data - Optional state object associated with the history entry. Accessible via `history.state`.
4225
+ * @param unused - Optional title parameter (currently unused due to limited browser support).
4226
+ *
4227
+ * @example
4228
+ * Router.push('/about', { from: 'home' });
4229
+ */
4230
+ push(t, a = {}, r = "") {
4231
+ var o;
4232
+ const i = {
4233
+ ...a,
4234
+ ...history.state ?? {},
4235
+ current: t,
4236
+ back: (o = history.state) == null ? void 0 : o.current,
4237
+ forward: void 0,
4238
+ replaced: !1,
4239
+ position: history.length + 1
4240
+ };
4241
+ window.history.pushState(i, r, t);
4242
+ }
4243
+ /**
4244
+ * Replaces the current entry in the browser's history stack.
4245
+ *
4246
+ * @param route - The target URL or path to replace with. Can be a string, URL object, or null.
4247
+ * @param data - Optional state object associated with the history entry. Accessible via `history.state`.
4248
+ * @param unused - Optional title parameter (currently unused due to limited browser support).
4249
+ *
4250
+ * @example
4251
+ * Router.replace('/login', { reason: 'session expired' });
4252
+ */
4253
+ replace(t, a = {}, r = "") {
4254
+ const i = {
4255
+ ...a,
4256
+ ...history.state ?? {},
4257
+ forward: void 0,
4258
+ current: t,
4259
+ replaced: !0
4260
+ };
4261
+ window.history.replaceState(i, r, t);
4262
+ }
4263
+ /**
4264
+ * Dispatches a custom event before navigation occurs.
4265
+ * Used to notify subscribers of an upcoming route change.
4266
+ *
4267
+ * @param route - The route that will be navigated to.
4268
+ * @param mode - The navigation mode ('push' or 'replace').
4269
+ * @param data - Optional state object for the navigation.
4270
+ */
4271
+ dispatchBeforeNavigationEvent(t, a, r) {
4272
+ window.dispatchEvent(new CustomEvent("wangs-ui-core:before-navigation-event", {
4273
+ detail: { route: t, mode: a, state: r }
4274
+ }));
4275
+ }
4276
+ /**
4277
+ * Dispatches a custom event after navigation occurs.
4278
+ * Used to notify subscribers that the route has changed.
4279
+ *
4280
+ * @param route - The route that was navigated to.
4281
+ * @param mode - The navigation mode ('push' or 'replace').
4282
+ * @param data - Optional state object for the navigation.
4283
+ */
4284
+ dispatchNavigationEvent(t, a, r) {
4285
+ window.dispatchEvent(new CustomEvent("wangs-ui-core:navigation-event", {
4286
+ detail: { route: t, mode: a, state: r }
4287
+ }));
4288
+ }
4289
+ /**
4290
+ * Navigates to a specified route using the browser's History API.
4291
+ *
4292
+ * This updates the URL in the browser without reloading the page.
4293
+ * It can either push a new entry to the history stack or replace the current one.
4294
+ * Also dispatches custom events before and after the navigation.
4295
+ *
4296
+ * @param route - The target route to navigate to. Can be a string or URL object.
4297
+ * @param navigationMode - Determines how navigation is handled.
4298
+ * - `'push'` (default): Adds a new entry to the browser history.
4299
+ * - `'replace'`: Replaces the current history entry.
4300
+ * @param data - Optional state object associated with the history entry. Can be accessed via `history.state`.
4301
+ * @param unused - Optional title parameter (currently unused due to browser support limitations).
4302
+ *
4303
+ * @example
4304
+ * router.navigateToRoute('/about', 'push', { some: 'state' }, '',);
4305
+ */
4306
+ navigateToRoute(t, a = "push", r = {}, i = "") {
4307
+ if (!t)
4308
+ return;
4309
+ const o = typeof t == "string" ? t : t.toString(), s = this.normalizePath(o);
4310
+ if (s === location.pathname)
4311
+ return console.warn("[WangsUIRouter] Navigation aborted: target route is the same as the current route.");
4312
+ this.dispatchBeforeNavigationEvent(s, a, r), a === "push" ? this.push(s, r, i) : this.replace(s, r, i), this.dispatchNavigationEvent(s, a, r);
4313
+ }
4314
+ };
4315
+ b(l, "SINGLETON_KEY", "__WANGS_UI_ROUTER_INSTANCE__");
4316
+ let m = l;
4317
+ new m();
4318
+ const oe = x("WANGS-TAB-MENU", {
4009
4319
  root: {
4010
4320
  class: "overflow-x-auto",
4011
4321
  style: "scrollbar-width: none"
4012
4322
  },
4013
- menu: {
4323
+ menu: ({ props: e }) => ({
4014
4324
  class: [
4015
4325
  // Flexbox
4016
4326
  "flex flex-1",
@@ -4018,14 +4328,17 @@ const y = {
4018
4328
  "list-none",
4019
4329
  "p-0 m-0",
4020
4330
  // Colors
4021
- "text-general-100"
4331
+ "text-general-100",
4332
+ {
4333
+ "w-max ring-1 ring-inset ring-general-100 rounded !m-[2px]": e.type === "segmented"
4334
+ }
4022
4335
  ]
4023
- },
4336
+ }),
4024
4337
  menuitem: {
4025
4338
  class: "mr-0"
4026
4339
  },
4027
- action: ({ context: e, state: t }) => {
4028
- var a, n;
4340
+ action: ({ props: e, context: t }) => {
4341
+ var a, r;
4029
4342
  return {
4030
4343
  class: [
4031
4344
  "relative",
@@ -4037,12 +4350,14 @@ const y = {
4037
4350
  // Spacing
4038
4351
  {
4039
4352
  "rounded-xl py-1 px-3": e.type === "pill",
4040
- "p-2 pb-1.5 pt-0.5 !h-6": e.type !== "pill",
4041
- "ml-1": e.type === "pill" && e.index !== 0
4353
+ rounded: e.type === "segmented",
4354
+ "p-2 pb-1.5 pt-0.5 !h-6": e.type === "tab",
4355
+ "py-[5px] px-3 !h-[26px]": e.type === "segmented",
4356
+ "ml-1": e.type === "pill" && t.index !== 0
4042
4357
  },
4043
4358
  // Shape
4044
4359
  {
4045
- "border-b-2": e.type !== "pill"
4360
+ "border-b-2": e.type === "tab"
4046
4361
  },
4047
4362
  // Colors and Conditions
4048
4363
  {
@@ -4052,6 +4367,8 @@ const y = {
4052
4367
  "text-primary-500": t.active,
4053
4368
  "bg-primary-500 text-white": e.type === "pill" && t.active,
4054
4369
  "bg-grayscale-200 text-grayscale-800": e.type === "pill" && !t.active,
4370
+ "bg-primary-500 text-white shadow-[-2px_2px_2px_rgba(0,0,0,0.25)]": e.type === "segmented" && t.active,
4371
+ "!text-general-800": e.type === "segmented" && !t.active,
4055
4372
  "bg-transparent ": e.type !== "pill" && !t.active
4056
4373
  },
4057
4374
  // States
@@ -4061,8 +4378,8 @@ const y = {
4061
4378
  },
4062
4379
  // Disabled States
4063
4380
  {
4064
- "pointer-events-none": (a = e.item) == null ? void 0 : a.disabled,
4065
- "opacity-60": (n = e.item) == null ? void 0 : n.disabled
4381
+ "pointer-events-none": (a = t.item) == null ? void 0 : a.disabled,
4382
+ "opacity-60": (r = t.item) == null ? void 0 : r.disabled
4066
4383
  },
4067
4384
  // Transitions
4068
4385
  "transition-all duration-200",
@@ -4078,10 +4395,15 @@ const y = {
4078
4395
  icon: {
4079
4396
  class: "mr-2"
4080
4397
  },
4081
- inkbar: {
4082
- class: "grow border-b-2 border-primary-100"
4083
- }
4084
- }, te = {
4398
+ inkbar: ({ props: e }) => ({
4399
+ class: [
4400
+ "grow border-b-2 border-primary-100",
4401
+ {
4402
+ hidden: e.type === "pill" || e.useTrailingLine === !1 || e.type === "segmented"
4403
+ }
4404
+ ]
4405
+ })
4406
+ }), de = {
4085
4407
  root: ({ context: e, props: t }) => ({
4086
4408
  class: [
4087
4409
  // Font
@@ -4099,7 +4421,7 @@ const y = {
4099
4421
  // Shape
4100
4422
  "rounded",
4101
4423
  "appearance-none",
4102
- ...B,
4424
+ ...W,
4103
4425
  {
4104
4426
  "!ring-danger-500": e.invalidInput
4105
4427
  },
@@ -4117,16 +4439,16 @@ const y = {
4117
4439
  "data-wv-name": "textarea",
4118
4440
  "data-wv-section": "root"
4119
4441
  })
4120
- }, d = (e) => {
4442
+ }, f = (e) => {
4121
4443
  if (!e) return !0;
4122
4444
  const t = Object.keys(e);
4123
4445
  return t.length ? t.every((a) => {
4124
- const n = e[a];
4125
- return typeof n == "object" ? Array.isArray(n) ? !n.length || n.every(
4126
- (i) => typeof i == "object" ? d(i) : i == null
4127
- ) : d(n) : n == null;
4446
+ const r = e[a];
4447
+ return typeof r == "object" ? Array.isArray(r) ? !r.length || r.every(
4448
+ (i) => typeof i == "object" ? f(i) : i == null
4449
+ ) : f(r) : r == null;
4128
4450
  }) : !0;
4129
- }, ae = {
4451
+ }, ce = {
4130
4452
  root: ({ props: e }) => ({
4131
4453
  class: ["flex flex-col grow", "text-xs font-normal text-grayscale-900"]
4132
4454
  }),
@@ -4157,18 +4479,37 @@ const y = {
4157
4479
  markerArrow: (e) => ({
4158
4480
  class: [
4159
4481
  "w-4 h-4 invisible transition-transform duration-200 ease-in-out text-grayscale-900",
4160
- { "!visible": e.detail && !d(e.detail) },
4482
+ { "!visible": e.detail && !f(e.detail) },
4161
4483
  { "rotate-180": e.showDetail }
4162
4484
  ],
4163
4485
  "data-wv-section": "markerArrow"
4164
4486
  }),
4487
+ markerDot: (e) => ({
4488
+ class: [
4489
+ "hidden w-[6px] h-[6px] m-[3px] rounded-full bg-black",
4490
+ { "!flex": !e.detail || f(e.detail) }
4491
+ ],
4492
+ "data-wv-section": "markerDot"
4493
+ }),
4494
+ contentHeader: {
4495
+ class: ["leading-5 cursor-pointer truncate !text-xs !font-bold"]
4496
+ },
4497
+ contentDetailKey: {
4498
+ class: ["text-general-400 whitespace-nowrap"]
4499
+ },
4500
+ contentDetailValue: {
4501
+ class: ["text-xs text-general-800"]
4502
+ },
4503
+ contentDate: {
4504
+ class: ["text-xs font-medium"]
4505
+ },
4165
4506
  connector: ({ props: e }) => ({
4166
4507
  class: ["w-[2px] grow bg-grayscale-900"]
4167
4508
  }),
4168
4509
  content: ({ props: e, context: t }) => ({
4169
4510
  class: ["grid grid-rows-[max-content,auto] pb-2.5 gap-1"]
4170
4511
  })
4171
- }, re = {
4512
+ }, ue = {
4172
4513
  root: ({ props: e }) => ({
4173
4514
  class: [
4174
4515
  //Size and Shape
@@ -4251,7 +4592,7 @@ const y = {
4251
4592
  leaveActiveClass: "!transition-[max-height_.45s_cubic-bezier(0,1,0,1),opacity_.3s,margin-bottom_.3s] overflow-hidden",
4252
4593
  leaveToClass: "max-h-0 opacity-0 mb-0"
4253
4594
  }
4254
- }, ne = {
4595
+ }, ge = {
4255
4596
  root: {
4256
4597
  class: [
4257
4598
  "relative",
@@ -4322,7 +4663,7 @@ const y = {
4322
4663
  icon: {
4323
4664
  class: [" mr-2", "text-surface-700/80"]
4324
4665
  }
4325
- }, ie = {
4666
+ }, fe = {
4326
4667
  root: ({ context: e, props: t }) => ({
4327
4668
  class: [
4328
4669
  // Position
@@ -4358,7 +4699,7 @@ const y = {
4358
4699
  "break-words"
4359
4700
  ]
4360
4701
  }
4361
- }, le = {
4702
+ }, be = {
4362
4703
  root: {
4363
4704
  class: [
4364
4705
  "relative",
@@ -4613,7 +4954,7 @@ const y = {
4613
4954
  }
4614
4955
  ]
4615
4956
  })
4616
- }, se = {
4957
+ }, me = {
4617
4958
  root: ({ props: e, state: t }) => ({
4618
4959
  class: [
4619
4960
  // Display and Position
@@ -4934,7 +5275,7 @@ const y = {
4934
5275
  leaveActiveClass: "transition-opacity duration-100 ease-linear",
4935
5276
  leaveToClass: "opacity-0"
4936
5277
  }
4937
- }, oe = {
5278
+ }, xe = {
4938
5279
  root: {
4939
5280
  class: [
4940
5281
  "relative",
@@ -5034,13 +5375,13 @@ const y = {
5034
5375
  "duration-200"
5035
5376
  ]
5036
5377
  }
5037
- }, ce = {
5378
+ }, he = {
5038
5379
  root: {
5039
5380
  class: ["!mt-0 text-danger-500 text-xs font-light tracking-[0.02em]"],
5040
5381
  "data-wv-name": "validatormessage",
5041
5382
  "data-wv-section": "root"
5042
5383
  }
5043
- }, de = {
5384
+ }, ve = {
5044
5385
  root: {
5045
5386
  class: "flex gap-2 items-center shrink-0",
5046
5387
  "data-wv-name": "buttonbulkaction",
@@ -5095,7 +5436,7 @@ const y = {
5095
5436
  class: "!p-0 !w-6 !h-6 [&_.icon]:!w-5 [&_.icon]:!h-5",
5096
5437
  "data-wv-section": "buttonclearselection"
5097
5438
  }
5098
- }, ue = {
5439
+ }, ye = {
5099
5440
  root: {
5100
5441
  class: "flex flex-nowrap items-center gap-1",
5101
5442
  "data-wv-name": "badgegroup",
@@ -5107,7 +5448,7 @@ const y = {
5107
5448
  },
5108
5449
  showmoredialog: {
5109
5450
  root: {
5110
- class: [h.root({ state: {} }).class, "w-[400px]"],
5451
+ class: [C.root({ state: {} }).class, "w-[400px]"],
5111
5452
  "data-wv-section": "showmoredialog"
5112
5453
  },
5113
5454
  title: {
@@ -5120,7 +5461,7 @@ const y = {
5120
5461
  }
5121
5462
  // All section in Dialog Preset can be added here
5122
5463
  }
5123
- }, ge = {
5464
+ }, we = {
5124
5465
  root: {
5125
5466
  class: [
5126
5467
  "flex gap-[5px] items-center text-left h-[26px]",
@@ -5145,16 +5486,16 @@ const y = {
5145
5486
  content: ">",
5146
5487
  "data-wv-section": "separator"
5147
5488
  }
5148
- }, fe = {
5489
+ }, pe = {
5149
5490
  currency: (e) => ({
5150
- class: [...c(e), "rounded-l rounded-r-none"],
5491
+ class: [...g(e), "rounded-l rounded-r-none"],
5151
5492
  "data-wv-section": "currency"
5152
5493
  }),
5153
5494
  value: (e) => ({
5154
- class: [...c(e), "rounded-r rounded-l-none -ml-[1px]"],
5495
+ class: [...g(e), "rounded-r rounded-l-none -ml-[1px]"],
5155
5496
  "data-wv-section": "value"
5156
5497
  })
5157
- }, be = {
5498
+ }, ke = {
5158
5499
  root: {
5159
5500
  "data-wv-name": "fileupload",
5160
5501
  "data-wv-section": "root"
@@ -5176,7 +5517,7 @@ const y = {
5176
5517
  requirements: {
5177
5518
  class: "flex justify-start"
5178
5519
  }
5179
- }, me = {
5520
+ }, Ce = {
5180
5521
  root: {
5181
5522
  class: [
5182
5523
  "flex flex-col items-start justify-start relative gap-1 w-full shrink-0 overflow-hidden"
@@ -5184,12 +5525,15 @@ const y = {
5184
5525
  "data-wv-name": "fieldwrapper",
5185
5526
  "data-wv-section": "root"
5186
5527
  },
5187
- label: ({ props: e }) => ({
5528
+ label: ({ props: e, slots: t }) => ({
5188
5529
  class: [
5189
5530
  [
5190
5531
  "text-general-900 text-xs flex gap-[2px] font-medium tracking-[0.02em]",
5191
5532
  e.labelClass
5192
- ]
5533
+ ],
5534
+ {
5535
+ "w-full": t["label-addon"]
5536
+ }
5193
5537
  ],
5194
5538
  "data-wv-section": "fieldlabel"
5195
5539
  }),
@@ -5202,14 +5546,14 @@ const y = {
5202
5546
  arterisksign: {
5203
5547
  class: "text-danger-500"
5204
5548
  }
5205
- }, xe = {
5549
+ }, je = {
5206
5550
  root: {
5207
5551
  class: [
5208
5552
  "bg-general-50 rounded-lg [&>*]:w-full [&>*]min-w-0",
5209
5553
  "grid items-end p-3 gap-x-3 gap-y-4"
5210
5554
  ]
5211
5555
  }
5212
- }, he = {
5556
+ }, ze = {
5213
5557
  root: {
5214
5558
  class: [
5215
5559
  "w-screen h-screen fixed top-0 left-0 z-[9999999]",
@@ -5221,7 +5565,7 @@ const y = {
5221
5565
  animation: {
5222
5566
  class: ["w-[700px] h-auto"]
5223
5567
  }
5224
- }, ve = {
5568
+ }, _e = {
5225
5569
  root: {
5226
5570
  class: "flex items-center gap-1"
5227
5571
  },
@@ -5255,78 +5599,78 @@ const y = {
5255
5599
  class: "flex flex-col gap-0.5 items-center justify-center"
5256
5600
  }
5257
5601
  }
5258
- }, ye = {
5259
- badge: w,
5260
- ripple: W,
5261
- tooltip: ie
5262
- }, we = {
5263
- global: L,
5264
- directives: ye,
5602
+ }, Ae = {
5603
+ badge: S,
5604
+ ripple: le,
5605
+ tooltip: fe
5606
+ }, Te = {
5607
+ global: K,
5608
+ directives: Ae,
5265
5609
  // Forms
5266
- form: R,
5267
- filtercontainer: xe,
5268
- dropdown: M,
5269
- inputnumber: N,
5270
- inputphonenumber: G,
5271
- inputcurrency: fe,
5272
- inputtext: v,
5273
- inputbadge: O,
5274
- calendar: _,
5275
- checkbox: s,
5276
- buttonradio: U,
5277
- multiselect: r,
5278
- togglebutton: ne,
5279
- toggleswitch: o,
5280
- inputgroup: H,
5281
- inputgroupaddon: q,
5282
- treeselect: se,
5283
- tristatecheckbox: oe,
5284
- textarea: te,
5285
- password: Q,
5286
- validatormessage: ce,
5287
- fileupload: be,
5288
- fieldwrapper: me,
5610
+ form: D,
5611
+ filtercontainer: je,
5612
+ dropdown: O,
5613
+ inputnumber: Q,
5614
+ inputphonenumber: X,
5615
+ inputcurrency: pe,
5616
+ inputtext: j,
5617
+ inputbadge: q,
5618
+ calendar: I,
5619
+ checkbox: c,
5620
+ buttonradio: ie,
5621
+ multiselect: n,
5622
+ togglebutton: ge,
5623
+ toggleswitch: u,
5624
+ inputgroup: J,
5625
+ inputgroupaddon: Z,
5626
+ treeselect: me,
5627
+ tristatecheckbox: xe,
5628
+ textarea: de,
5629
+ password: ne,
5630
+ validatormessage: he,
5631
+ fileupload: ke,
5632
+ fieldwrapper: Ce,
5289
5633
  // Buttons
5290
- button: p,
5291
- buttondownload: k,
5292
- buttonbulkaction: de,
5293
- buttonsearch: j,
5294
- buttonsplit: z,
5295
- buttonfilter: C,
5634
+ button: T,
5635
+ buttondownload: N,
5636
+ buttonbulkaction: ve,
5637
+ buttonsearch: P,
5638
+ buttonsplit: V,
5639
+ buttonfilter: F,
5296
5640
  // Data
5297
- paginator: K,
5298
- datatable: P,
5299
- customcolumn: T,
5300
- tree: le,
5301
- timeline: ae,
5302
- changelog: S,
5641
+ paginator: re,
5642
+ datatable: L,
5643
+ customcolumn: G,
5644
+ tree: be,
5645
+ timeline: ce,
5646
+ changelog: U,
5303
5647
  // Panels
5304
- accordion: y,
5305
- card: A,
5648
+ accordion: A,
5649
+ card: E,
5306
5650
  // Menu
5307
- menu: J,
5308
- steps: X,
5309
- breadcrumb: ge,
5310
- tabmenu: ee,
5651
+ menu: ee,
5652
+ steps: se,
5653
+ breadcrumb: we,
5654
+ tabmenu: oe,
5311
5655
  // Overlays
5312
- dialog: h,
5313
- dialogconfirm: I,
5314
- dialogform: $,
5315
- overlaypanel: Z,
5656
+ dialog: C,
5657
+ dialogconfirm: M,
5658
+ dialogform: R,
5659
+ overlaypanel: ae,
5316
5660
  // Messages
5317
- message: Y,
5318
- inlinemessage: E,
5319
- toast: re,
5661
+ message: te,
5662
+ inlinemessage: H,
5663
+ toast: ue,
5320
5664
  // Media
5321
- carousel: V,
5665
+ carousel: B,
5322
5666
  // Misc
5323
- badge: l,
5324
- badgegroup: ue,
5325
- image: D,
5326
- loading: he,
5327
- codesnippet: F,
5328
- username: ve
5667
+ badge: d,
5668
+ badgegroup: ye,
5669
+ image: Y,
5670
+ loading: ze,
5671
+ codesnippet: $,
5672
+ username: _e
5329
5673
  };
5330
5674
  export {
5331
- we as default
5675
+ Te as default
5332
5676
  };