@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.
- package/fixedasset/buttonradio/index.d.ts +6 -4
- package/fixedasset/buttonradio/index.js +8 -12
- package/fixedasset/calendar/index.js +3 -2
- package/fixedasset/fieldwrapper/index.d.ts +5 -2
- package/fixedasset/fieldwrapper/index.js +4 -1
- package/fixedasset/index.d.ts +2 -2
- package/fixedasset/index.es.js +663 -323
- package/fixedasset/index.js +94 -94
- package/fixedasset/index.system.js +2 -2
- package/fixedasset/inputotp/index.d.ts +1 -136
- package/fixedasset/inputotp/index.js +50 -53
- package/fixedasset/password/index.js +1 -0
- package/fixedasset/style.css +137 -49
- package/fixedasset/tabmenu/index.d.ts +1 -104
- package/fixedasset/tabmenu/index.js +48 -27
- package/fixedasset/timeline/index.d.ts +24 -2
- package/fixedasset/timeline/index.js +24 -5
- package/fixedasset/tree/index.d.ts +10 -5
- package/fixedasset/tree/index.js +8 -5
- package/fixedasset/username/index.js +1 -1
- package/globalsettings/buttonradio/index.d.ts +6 -4
- package/globalsettings/buttonradio/index.js +8 -12
- package/globalsettings/calendar/index.js +3 -2
- package/globalsettings/fieldwrapper/index.d.ts +5 -2
- package/globalsettings/fieldwrapper/index.js +4 -1
- package/globalsettings/index.d.ts +1 -1
- package/globalsettings/index.es.js +538 -193
- package/globalsettings/index.js +26 -26
- package/globalsettings/index.system.js +2 -2
- package/globalsettings/style.css +120 -51
- package/globalsettings/tabmenu/index.d.ts +1 -104
- package/globalsettings/tabmenu/index.js +48 -27
- package/globalsettings/timeline/index.d.ts +22 -0
- package/globalsettings/timeline/index.js +19 -0
- package/package.json +1 -1
- package/supplyasset/buttonradio/index.d.ts +6 -4
- package/supplyasset/buttonradio/index.js +8 -12
- package/supplyasset/calendar/index.js +3 -2
- package/supplyasset/fieldwrapper/index.d.ts +5 -2
- package/supplyasset/fieldwrapper/index.js +4 -1
- package/supplyasset/index.d.ts +1 -1
- package/supplyasset/index.es.js +547 -201
- package/supplyasset/index.js +24 -24
- package/supplyasset/index.system.js +2 -2
- package/supplyasset/style.css +120 -51
- package/supplyasset/tabmenu/index.d.ts +1 -104
- package/supplyasset/tabmenu/index.js +50 -28
- package/supplyasset/timeline/index.d.ts +22 -0
- package/supplyasset/timeline/index.js +19 -0
- package/wangsvue/buttonbulkaction/index.d.ts +2 -2
- package/wangsvue/buttonbulkaction/index.js +2 -1
- package/wangsvue/buttonradio/index.d.ts +2 -1
- package/wangsvue/buttonradio/index.js +3 -7
- package/wangsvue/calendar/index.js +3 -2
- package/wangsvue/fieldwrapper/index.d.ts +5 -2
- package/wangsvue/fieldwrapper/index.js +4 -1
- package/wangsvue/index.d.ts +1 -1
- package/wangsvue/index.es.js +593 -259
- package/wangsvue/index.js +44 -44
- package/wangsvue/index.system.js +2 -2
- package/wangsvue/style.css +106 -49
- package/wangsvue/tabmenu/index.d.ts +1 -56
- package/wangsvue/tabmenu/index.js +20 -13
- package/wangsvue/timeline/index.d.ts +20 -0
- package/wangsvue/timeline/index.js +16 -0
package/wangsvue/index.es.js
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
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 g = (e, t, r) => A(e, typeof t != "symbol" ? t + "" : t, r);
|
|
4
|
+
const _ = {
|
|
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
|
-
},
|
|
66
|
+
}, T = {
|
|
64
67
|
root: ({ props: e }) => ({
|
|
65
68
|
class: [
|
|
66
69
|
"relative",
|
|
@@ -289,9 +292,9 @@ const h = {
|
|
|
289
292
|
leaveActiveClass: "transition-opacity duration-100 ease-linear",
|
|
290
293
|
leaveToClass: "opacity-0"
|
|
291
294
|
}
|
|
292
|
-
},
|
|
295
|
+
}, I = {
|
|
293
296
|
root: ({ props: e, parent: t }) => {
|
|
294
|
-
var r, s,
|
|
297
|
+
var r, s, n;
|
|
295
298
|
return {
|
|
296
299
|
class: [
|
|
297
300
|
// Font
|
|
@@ -320,7 +323,7 @@ const h = {
|
|
|
320
323
|
// Colors
|
|
321
324
|
"bg-general-300",
|
|
322
325
|
{
|
|
323
|
-
"border-gray-100": ((
|
|
326
|
+
"border-gray-100": ((n = t.instance.$style) == null ? void 0 : n.name) == "avatargroup"
|
|
324
327
|
},
|
|
325
328
|
"text-white"
|
|
326
329
|
]
|
|
@@ -329,13 +332,13 @@ const h = {
|
|
|
329
332
|
image: {
|
|
330
333
|
class: "h-full w-full rounded-full"
|
|
331
334
|
}
|
|
332
|
-
},
|
|
335
|
+
}, F = {
|
|
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
|
-
},
|
|
341
|
+
}, c = {
|
|
339
342
|
root: ({ props: e }) => ({
|
|
340
343
|
class: [
|
|
341
344
|
// Alignment
|
|
@@ -383,7 +386,7 @@ const h = {
|
|
|
383
386
|
"icon-class": "w-3 h-3",
|
|
384
387
|
"data-wv-section": "removebutton"
|
|
385
388
|
})
|
|
386
|
-
},
|
|
389
|
+
}, S = {
|
|
387
390
|
root: ({ context: e }) => ({
|
|
388
391
|
class: [
|
|
389
392
|
// Font
|
|
@@ -421,7 +424,7 @@ const h = {
|
|
|
421
424
|
}
|
|
422
425
|
]
|
|
423
426
|
})
|
|
424
|
-
},
|
|
427
|
+
}, P = {
|
|
425
428
|
root: ({ props: e, context: t }) => ({
|
|
426
429
|
class: [
|
|
427
430
|
"relative",
|
|
@@ -710,7 +713,7 @@ const h = {
|
|
|
710
713
|
}
|
|
711
714
|
]
|
|
712
715
|
})
|
|
713
|
-
},
|
|
716
|
+
}, N = {
|
|
714
717
|
root: ({ props: e }) => ({
|
|
715
718
|
class: [
|
|
716
719
|
"focus-within:ring-2 focus-within:ring-primary-400 focus-within:outline-none rounded-sm",
|
|
@@ -725,7 +728,7 @@ const h = {
|
|
|
725
728
|
"data-wv-section": "icon",
|
|
726
729
|
severity: "secondary"
|
|
727
730
|
}
|
|
728
|
-
},
|
|
731
|
+
}, V = {
|
|
729
732
|
root: () => ({
|
|
730
733
|
class: "focus-within:ring-2 focus-within:ring-primary-400 focus-within:outline-none rounded-sm",
|
|
731
734
|
"data-wv-name": "buttonfilter",
|
|
@@ -736,7 +739,7 @@ const h = {
|
|
|
736
739
|
severity: "secondary",
|
|
737
740
|
"data-wv-section": "icon"
|
|
738
741
|
})
|
|
739
|
-
},
|
|
742
|
+
}, $ = {
|
|
740
743
|
buttontrigger: {
|
|
741
744
|
root: ({ context: e }) => ({
|
|
742
745
|
class: [
|
|
@@ -783,7 +786,7 @@ const h = {
|
|
|
783
786
|
inputtext: {
|
|
784
787
|
class: "!h-max"
|
|
785
788
|
}
|
|
786
|
-
},
|
|
789
|
+
}, B = {
|
|
787
790
|
root: ["w-max"],
|
|
788
791
|
button: {
|
|
789
792
|
class: [
|
|
@@ -792,7 +795,7 @@ const h = {
|
|
|
792
795
|
"data-wv-section": "button-split"
|
|
793
796
|
},
|
|
794
797
|
menuButton: "!rounded-ss-none !rounded-es-none"
|
|
795
|
-
},
|
|
798
|
+
}, x = navigator.userAgent.includes("Firefox"), E = {
|
|
796
799
|
root: ({ props: e }) => ({
|
|
797
800
|
class: [
|
|
798
801
|
// Display and Position
|
|
@@ -1075,11 +1078,12 @@ const h = {
|
|
|
1075
1078
|
daylabel: ({ context: e }) => ({
|
|
1076
1079
|
class: [
|
|
1077
1080
|
// Flexbox and Alignment
|
|
1078
|
-
|
|
1081
|
+
{ flex: !e.date.otherMonth },
|
|
1082
|
+
{ hidden: e.date.otherMonth },
|
|
1083
|
+
"items-center justify-center",
|
|
1079
1084
|
// 'mx-auto',
|
|
1080
1085
|
// Shape & Size
|
|
1081
1086
|
"w-8 h-8",
|
|
1082
|
-
{ hidden: e.date.otherMonth },
|
|
1083
1087
|
// Colors
|
|
1084
1088
|
{
|
|
1085
1089
|
"bg-primary-100": e.date.today && !e.selected,
|
|
@@ -1250,8 +1254,8 @@ const h = {
|
|
|
1250
1254
|
class: [
|
|
1251
1255
|
"w-[39px] h-[26px] flex justify-center items-center ring-general-200 rounded",
|
|
1252
1256
|
{
|
|
1253
|
-
"ring-1":
|
|
1254
|
-
"ring-[0.5px]": !
|
|
1257
|
+
"ring-1": x,
|
|
1258
|
+
"ring-[0.5px]": !x
|
|
1255
1259
|
}
|
|
1256
1260
|
]
|
|
1257
1261
|
},
|
|
@@ -1376,7 +1380,7 @@ const h = {
|
|
|
1376
1380
|
leaveActiveClass: "transition-opacity duration-100 ease-linear",
|
|
1377
1381
|
leaveToClass: "opacity-0"
|
|
1378
1382
|
}
|
|
1379
|
-
},
|
|
1383
|
+
}, G = {
|
|
1380
1384
|
root: {
|
|
1381
1385
|
class: [
|
|
1382
1386
|
//Shape
|
|
@@ -1405,7 +1409,7 @@ const h = {
|
|
|
1405
1409
|
footer: {
|
|
1406
1410
|
class: ["inline-flex gap-1 text-xs items-center"]
|
|
1407
1411
|
}
|
|
1408
|
-
},
|
|
1412
|
+
}, U = {
|
|
1409
1413
|
root: {
|
|
1410
1414
|
class: [
|
|
1411
1415
|
// Flexbox
|
|
@@ -1519,7 +1523,7 @@ const h = {
|
|
|
1519
1523
|
}
|
|
1520
1524
|
]
|
|
1521
1525
|
})
|
|
1522
|
-
},
|
|
1526
|
+
}, L = {
|
|
1523
1527
|
root: ({ props: e, state: t }) => ({
|
|
1524
1528
|
class: [
|
|
1525
1529
|
// Display and Position
|
|
@@ -1698,7 +1702,7 @@ const h = {
|
|
|
1698
1702
|
leaveActiveClass: "transition-opacity duration-100 ease-linear",
|
|
1699
1703
|
leaveToClass: "opacity-0"
|
|
1700
1704
|
}
|
|
1701
|
-
},
|
|
1705
|
+
}, M = {
|
|
1702
1706
|
button: (e) => ({
|
|
1703
1707
|
class: [e, "w-max"],
|
|
1704
1708
|
"data-wv-section": "changelog-button"
|
|
@@ -1726,7 +1730,7 @@ const h = {
|
|
|
1726
1730
|
buttondownload: {
|
|
1727
1731
|
"data-wv-section": "changelog-dialog-button-download"
|
|
1728
1732
|
}
|
|
1729
|
-
},
|
|
1733
|
+
}, d = {
|
|
1730
1734
|
root: {
|
|
1731
1735
|
class: [
|
|
1732
1736
|
"relative",
|
|
@@ -1836,7 +1840,7 @@ const h = {
|
|
|
1836
1840
|
tooltipicon: {
|
|
1837
1841
|
class: "text-grayscale-900 w-[10px] h-[10px]"
|
|
1838
1842
|
}
|
|
1839
|
-
},
|
|
1843
|
+
}, R = {
|
|
1840
1844
|
root: {
|
|
1841
1845
|
class: [
|
|
1842
1846
|
// Flexbox
|
|
@@ -1873,7 +1877,7 @@ const h = {
|
|
|
1873
1877
|
"cursor-pointer"
|
|
1874
1878
|
]
|
|
1875
1879
|
}
|
|
1876
|
-
},
|
|
1880
|
+
}, O = {
|
|
1877
1881
|
root: ({ props: e }) => ({
|
|
1878
1882
|
class: [
|
|
1879
1883
|
"flex",
|
|
@@ -1962,7 +1966,7 @@ const h = {
|
|
|
1962
1966
|
"cursor-pointer"
|
|
1963
1967
|
]
|
|
1964
1968
|
}
|
|
1965
|
-
},
|
|
1969
|
+
}, W = {
|
|
1966
1970
|
menustart: {
|
|
1967
1971
|
class: "border-b-[0.5px] border-solid border-grayscale-900"
|
|
1968
1972
|
},
|
|
@@ -1986,7 +1990,7 @@ const h = {
|
|
|
1986
1990
|
{ invisible: e.dragable === !1 }
|
|
1987
1991
|
]
|
|
1988
1992
|
})
|
|
1989
|
-
},
|
|
1993
|
+
}, D = {
|
|
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
|
-
},
|
|
2013
|
+
}, K = {
|
|
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
|
-
},
|
|
2122
|
+
}, H = {
|
|
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
|
-
},
|
|
2223
|
+
}, Y = {
|
|
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
|
-
},
|
|
2327
|
+
}, q = {
|
|
2324
2328
|
root: {
|
|
2325
2329
|
"data-wv-name": "datatable",
|
|
2326
2330
|
"data-wv-section": "root",
|
|
@@ -2532,7 +2536,7 @@ const h = {
|
|
|
2532
2536
|
class: "",
|
|
2533
2537
|
template: "FirstPageLink PrevPageLink PageLinks JumpToPageInput NextPageLink LastPageLink CurrentPageReport RowsPerPageDropdown"
|
|
2534
2538
|
})
|
|
2535
|
-
},
|
|
2539
|
+
}, J = {
|
|
2536
2540
|
content: {
|
|
2537
2541
|
class: [
|
|
2538
2542
|
// Spacing
|
|
@@ -2565,7 +2569,7 @@ const h = {
|
|
|
2565
2569
|
"border-surface-200 border-b"
|
|
2566
2570
|
]
|
|
2567
2571
|
}
|
|
2568
|
-
},
|
|
2572
|
+
}, X = {
|
|
2569
2573
|
listbutton: ({ props: e }) => ({
|
|
2570
2574
|
class: [
|
|
2571
2575
|
// Font
|
|
@@ -2610,7 +2614,7 @@ const h = {
|
|
|
2610
2614
|
"cursor-pointer select-none overflow-hidden"
|
|
2611
2615
|
]
|
|
2612
2616
|
})
|
|
2613
|
-
},
|
|
2617
|
+
}, C = {
|
|
2614
2618
|
root: ({ state: e }) => ({
|
|
2615
2619
|
class: [
|
|
2616
2620
|
// Shape
|
|
@@ -2803,7 +2807,7 @@ const h = {
|
|
|
2803
2807
|
leaveActiveClass: "transition-all duration-200 ease-out",
|
|
2804
2808
|
leaveToClass: "opacity-0 scale-75 mask-active"
|
|
2805
2809
|
}
|
|
2806
|
-
},
|
|
2810
|
+
}, Z = {
|
|
2807
2811
|
root: {
|
|
2808
2812
|
class: ["!w-[clamp(360px,75vw,400px)]"],
|
|
2809
2813
|
"data-wv-name": (e) => e ?? "root",
|
|
@@ -2847,7 +2851,7 @@ const h = {
|
|
|
2847
2851
|
class: "flex items-end justify-end gap-1 !mt-0",
|
|
2848
2852
|
"data-wv-section": "dialog-confirm-footer"
|
|
2849
2853
|
}
|
|
2850
|
-
},
|
|
2854
|
+
}, Q = {
|
|
2851
2855
|
root: {
|
|
2852
2856
|
class: ["max-w-[90vw]"],
|
|
2853
2857
|
style: (e) => `width: ${e}`,
|
|
@@ -2912,7 +2916,7 @@ const h = {
|
|
|
2912
2916
|
savesubmitbutton: {
|
|
2913
2917
|
"data-wv-section": "save-submit-button"
|
|
2914
2918
|
}
|
|
2915
|
-
},
|
|
2919
|
+
}, ee = {
|
|
2916
2920
|
root: ({ props: e }) => ({
|
|
2917
2921
|
class: [
|
|
2918
2922
|
// Flex and Position
|
|
@@ -2970,7 +2974,7 @@ const h = {
|
|
|
2970
2974
|
"bg-surface-0"
|
|
2971
2975
|
]
|
|
2972
2976
|
}
|
|
2973
|
-
},
|
|
2977
|
+
}, te = {
|
|
2974
2978
|
root: ({ props: e }) => ({
|
|
2975
2979
|
class: [
|
|
2976
2980
|
// Positioning
|
|
@@ -3090,9 +3094,9 @@ const h = {
|
|
|
3090
3094
|
]
|
|
3091
3095
|
};
|
|
3092
3096
|
},
|
|
3093
|
-
token:
|
|
3094
|
-
tokenLabel:
|
|
3095
|
-
removeTokenIcon:
|
|
3097
|
+
token: c.root({ props: { severity: "dark" } }),
|
|
3098
|
+
tokenLabel: c.input({ props: {}, context: {} }),
|
|
3099
|
+
removeTokenIcon: c.removebutton({
|
|
3096
3100
|
props: { badgeSeverity: "dark" }
|
|
3097
3101
|
}),
|
|
3098
3102
|
loadingplaceholder: {
|
|
@@ -3176,17 +3180,17 @@ const h = {
|
|
|
3176
3180
|
]
|
|
3177
3181
|
},
|
|
3178
3182
|
headerCheckbox: {
|
|
3179
|
-
...
|
|
3183
|
+
...d,
|
|
3180
3184
|
root: {
|
|
3181
3185
|
class: [
|
|
3182
3186
|
"!mx-auto",
|
|
3183
|
-
...
|
|
3187
|
+
...d.root.class,
|
|
3184
3188
|
"[&:not(:has(svg))_[data-pc-section=box]]:!bg-primary-400",
|
|
3185
3189
|
"[&:not(:has(svg))_[data-pc-section=box]]:!border-white"
|
|
3186
3190
|
]
|
|
3187
3191
|
}
|
|
3188
3192
|
},
|
|
3189
|
-
itemCheckbox:
|
|
3193
|
+
itemCheckbox: d,
|
|
3190
3194
|
closeButton: {
|
|
3191
3195
|
class: ["hidden"]
|
|
3192
3196
|
},
|
|
@@ -3337,7 +3341,7 @@ const h = {
|
|
|
3337
3341
|
leaveActiveClass: "transition-opacity duration-100 ease-linear",
|
|
3338
3342
|
leaveToClass: "opacity-0"
|
|
3339
3343
|
}
|
|
3340
|
-
},
|
|
3344
|
+
}, re = {
|
|
3341
3345
|
root: ({ props: e, state: t }) => ({
|
|
3342
3346
|
class: [
|
|
3343
3347
|
// Display and Position
|
|
@@ -3542,7 +3546,7 @@ const h = {
|
|
|
3542
3546
|
loadingplaceholder: {
|
|
3543
3547
|
class: "text-general-200 font-normal"
|
|
3544
3548
|
}
|
|
3545
|
-
},
|
|
3549
|
+
}, se = {
|
|
3546
3550
|
root: {
|
|
3547
3551
|
class: [
|
|
3548
3552
|
"block",
|
|
@@ -3620,7 +3624,7 @@ const h = {
|
|
|
3620
3624
|
leaveActiveClass: "overflow-hidden transition-[max-height] duration-[450ms] ease-[cubic-bezier(0,1,0,1)]",
|
|
3621
3625
|
leaveToClass: "max-h-0"
|
|
3622
3626
|
}
|
|
3623
|
-
},
|
|
3627
|
+
}, ie = {
|
|
3624
3628
|
root: {
|
|
3625
3629
|
class: [
|
|
3626
3630
|
"flex flex-col items-start justify-start relative gap-1 w-full shrink-0 overflow-hidden"
|
|
@@ -3628,9 +3632,12 @@ const h = {
|
|
|
3628
3632
|
"data-wv-name": "fieldwrapper",
|
|
3629
3633
|
"data-wv-section": "root"
|
|
3630
3634
|
},
|
|
3631
|
-
label: ({ props: e }) => ({
|
|
3635
|
+
label: ({ props: e, slots: t }) => ({
|
|
3632
3636
|
class: [
|
|
3633
|
-
["text-general-900 text-xs flex gap-[2px] font-normal", e.labelClass]
|
|
3637
|
+
["text-general-900 text-xs flex gap-[2px] font-normal", e.labelClass],
|
|
3638
|
+
{
|
|
3639
|
+
"w-full": t["label-addon"]
|
|
3640
|
+
}
|
|
3634
3641
|
],
|
|
3635
3642
|
"data-wv-section": "fieldlabel"
|
|
3636
3643
|
}),
|
|
@@ -3640,7 +3647,7 @@ const h = {
|
|
|
3640
3647
|
optionaltext: {
|
|
3641
3648
|
class: "text-grayscale-700 text-[10px] font-normal leading-4"
|
|
3642
3649
|
}
|
|
3643
|
-
},
|
|
3650
|
+
}, ne = {
|
|
3644
3651
|
// :class="['ts-form', { 'sticky-buttons': props.stickyButtons }]"
|
|
3645
3652
|
root: () => ({
|
|
3646
3653
|
class: [
|
|
@@ -3684,14 +3691,14 @@ const h = {
|
|
|
3684
3691
|
"validator-message": {
|
|
3685
3692
|
class: ["static w-max transform-none"]
|
|
3686
3693
|
}
|
|
3687
|
-
},
|
|
3694
|
+
}, oe = [
|
|
3688
3695
|
{
|
|
3689
3696
|
"ring-1 p-[1px]": navigator.userAgent.includes("Firefox"),
|
|
3690
3697
|
"ring-[0.5px] p-[0.5px]": !navigator.userAgent.includes("Firefox")
|
|
3691
3698
|
},
|
|
3692
3699
|
"ring-inset",
|
|
3693
3700
|
"ring-general-400"
|
|
3694
|
-
],
|
|
3701
|
+
], ae = {
|
|
3695
3702
|
css: `
|
|
3696
3703
|
*[data-pd-ripple="true"]{
|
|
3697
3704
|
overflow: hidden;
|
|
@@ -3768,7 +3775,7 @@ const h = {
|
|
|
3768
3775
|
}
|
|
3769
3776
|
}
|
|
3770
3777
|
`
|
|
3771
|
-
},
|
|
3778
|
+
}, le = {
|
|
3772
3779
|
root: ({ props: e }) => ({
|
|
3773
3780
|
class: [
|
|
3774
3781
|
"relative inline-block",
|
|
@@ -3906,7 +3913,7 @@ const h = {
|
|
|
3906
3913
|
leaveActiveClass: "transition-all duration-150 ease-in",
|
|
3907
3914
|
leaveToClass: "opacity-0 scale-75"
|
|
3908
3915
|
}
|
|
3909
|
-
},
|
|
3916
|
+
}, ce = {
|
|
3910
3917
|
root: ({ props: e }) => ({
|
|
3911
3918
|
class: [
|
|
3912
3919
|
"rounded-md p-3",
|
|
@@ -3936,16 +3943,16 @@ const h = {
|
|
|
3936
3943
|
"font-medium"
|
|
3937
3944
|
]
|
|
3938
3945
|
}
|
|
3939
|
-
},
|
|
3946
|
+
}, z = {
|
|
3940
3947
|
root: ({ props: e, context: t, parent: r }) => {
|
|
3941
|
-
var s,
|
|
3948
|
+
var s, n;
|
|
3942
3949
|
return {
|
|
3943
3950
|
class: [
|
|
3944
3951
|
"px-3 py-1 w-full bg-transparent",
|
|
3945
3952
|
// Size
|
|
3946
3953
|
"h-full",
|
|
3947
3954
|
{
|
|
3948
|
-
"max-h-[43px]": (
|
|
3955
|
+
"max-h-[43px]": (n = (s = r.instance) == null ? void 0 : s.placeholder) == null ? void 0 : n.includes("password")
|
|
3949
3956
|
},
|
|
3950
3957
|
// Font
|
|
3951
3958
|
"text-grayscale-900 text-xs font-normal",
|
|
@@ -3960,15 +3967,15 @@ const h = {
|
|
|
3960
3967
|
]
|
|
3961
3968
|
};
|
|
3962
3969
|
}
|
|
3963
|
-
},
|
|
3970
|
+
}, v = navigator.userAgent.includes("Firefox"), de = {
|
|
3964
3971
|
root: ({ context: e }) => ({
|
|
3965
3972
|
class: [
|
|
3966
3973
|
"flex flex-wrap gap-x-0.5 gap-y-[5px] items-center",
|
|
3967
3974
|
"min-h-[26px] h-fit w-full",
|
|
3968
3975
|
"ring-inset rounded px-[12px] py-[2px]",
|
|
3969
3976
|
{
|
|
3970
|
-
"ring-[1px]":
|
|
3971
|
-
"ring-[0.5px]": !
|
|
3977
|
+
"ring-[1px]": v,
|
|
3978
|
+
"ring-[0.5px]": !v
|
|
3972
3979
|
},
|
|
3973
3980
|
{ "!ring-danger-500 !dark:ring-danger-500": e.invalidInput },
|
|
3974
3981
|
{ "!ring-general-200 !dark:ring-general-200": !e.invalidInput },
|
|
@@ -3977,7 +3984,7 @@ const h = {
|
|
|
3977
3984
|
}),
|
|
3978
3985
|
input: ({ context: e, parent: t, props: r }) => ({
|
|
3979
3986
|
class: [
|
|
3980
|
-
...
|
|
3987
|
+
...z.root({
|
|
3981
3988
|
props: r,
|
|
3982
3989
|
context: e,
|
|
3983
3990
|
parent: t
|
|
@@ -3993,7 +4000,7 @@ const h = {
|
|
|
3993
4000
|
erroroverlaypanel: {
|
|
3994
4001
|
class: ["px-3 py-1 text-[12px] text-general-800"]
|
|
3995
4002
|
}
|
|
3996
|
-
},
|
|
4003
|
+
}, h = navigator.userAgent.includes("Firefox"), ue = {
|
|
3997
4004
|
root: ({ props: e }) => ({
|
|
3998
4005
|
class: [
|
|
3999
4006
|
{
|
|
@@ -4005,8 +4012,8 @@ const h = {
|
|
|
4005
4012
|
"[&:has(:focus)]:!ring-primary-400 [&:has(:focus)_.inputgroupaddon]:!ring-primary-400": e.ring !== "none"
|
|
4006
4013
|
},
|
|
4007
4014
|
{
|
|
4008
|
-
"ring-[1px] [&_.inputgroupaddon]:ring-[1px]":
|
|
4009
|
-
"ring-[0.5px] [&_.inputgroupaddon]:ring-[0.5px]": !
|
|
4015
|
+
"ring-[1px] [&_.inputgroupaddon]:ring-[1px]": h && e.ring !== "none",
|
|
4016
|
+
"ring-[0.5px] [&_.inputgroupaddon]:ring-[0.5px]": !h && e.ring !== "none"
|
|
4010
4017
|
},
|
|
4011
4018
|
"[&_.inputgroupaddon[data-addon-variant=plain]]:!ring-[0px]",
|
|
4012
4019
|
"[&:has(input)]:cursor-text",
|
|
@@ -4019,7 +4026,7 @@ const h = {
|
|
|
4019
4026
|
],
|
|
4020
4027
|
"data-wv-section": "inputgroup"
|
|
4021
4028
|
})
|
|
4022
|
-
},
|
|
4029
|
+
}, fe = {
|
|
4023
4030
|
root: ({ props: e }) => ({
|
|
4024
4031
|
class: [
|
|
4025
4032
|
"inputgroupaddon",
|
|
@@ -4049,7 +4056,7 @@ const h = {
|
|
|
4049
4056
|
"data-addon-variant": e.addonVariant
|
|
4050
4057
|
// Used in inputgroup to set styling
|
|
4051
4058
|
})
|
|
4052
|
-
},
|
|
4059
|
+
}, ge = {
|
|
4053
4060
|
root: ({ context: e }) => ({
|
|
4054
4061
|
class: [
|
|
4055
4062
|
// Font
|
|
@@ -4072,13 +4079,13 @@ const h = {
|
|
|
4072
4079
|
}
|
|
4073
4080
|
]
|
|
4074
4081
|
})
|
|
4075
|
-
},
|
|
4082
|
+
}, y = "text-xs font-normal leading-[22px]", w = "h-[30px]", me = {
|
|
4076
4083
|
root: ({ props: e, parent: t }) => ({
|
|
4077
4084
|
class: [
|
|
4078
4085
|
// Layout
|
|
4079
4086
|
"flex items-center self-stretch shrink-0 grow",
|
|
4080
4087
|
//Size
|
|
4081
|
-
|
|
4088
|
+
w,
|
|
4082
4089
|
// Spacing
|
|
4083
4090
|
"py-1 px-3",
|
|
4084
4091
|
// Border
|
|
@@ -4091,7 +4098,7 @@ const h = {
|
|
|
4091
4098
|
class: [
|
|
4092
4099
|
"border-0 h-full w-full outline-none",
|
|
4093
4100
|
"bg-inherit",
|
|
4094
|
-
|
|
4101
|
+
y,
|
|
4095
4102
|
"placeholder:text-general-200 placeholder:font-normal",
|
|
4096
4103
|
t.disabled ? "text-general-200" : "text-grayscale-900"
|
|
4097
4104
|
]
|
|
@@ -4099,8 +4106,8 @@ const h = {
|
|
|
4099
4106
|
},
|
|
4100
4107
|
inputresizer: {
|
|
4101
4108
|
class: [
|
|
4102
|
-
|
|
4103
|
-
|
|
4109
|
+
y,
|
|
4110
|
+
w,
|
|
4104
4111
|
"user-select-none py-1 px-3 block min-w-4 text-transparent"
|
|
4105
4112
|
]
|
|
4106
4113
|
},
|
|
@@ -4139,7 +4146,7 @@ const h = {
|
|
|
4139
4146
|
}
|
|
4140
4147
|
]
|
|
4141
4148
|
})
|
|
4142
|
-
},
|
|
4149
|
+
}, be = {
|
|
4143
4150
|
root: {
|
|
4144
4151
|
class: [
|
|
4145
4152
|
// Alignment
|
|
@@ -4198,7 +4205,7 @@ const h = {
|
|
|
4198
4205
|
};
|
|
4199
4206
|
}
|
|
4200
4207
|
}
|
|
4201
|
-
},
|
|
4208
|
+
}, f = ({ isFirefoxBased: e, invalidInput: t }) => [
|
|
4202
4209
|
{ "ring-[1px]": e, "ring-[0.5px]": !e },
|
|
4203
4210
|
{ "!ring-danger-500": t },
|
|
4204
4211
|
"ring-inset",
|
|
@@ -4207,23 +4214,23 @@ const h = {
|
|
|
4207
4214
|
"[&:has(:focus)]:ring-primary-400",
|
|
4208
4215
|
"bg-white",
|
|
4209
4216
|
"z-[0] [&:has(:focus)]:z-[12]"
|
|
4210
|
-
],
|
|
4217
|
+
], pe = {
|
|
4211
4218
|
dialcode: {
|
|
4212
4219
|
root: (e) => ({
|
|
4213
|
-
class: [...
|
|
4220
|
+
class: [...f(e), "rounded-l rounded-r-none"]
|
|
4214
4221
|
}),
|
|
4215
4222
|
dropdownicon: ({ state: e }) => i.dropdownicon({ state: e })
|
|
4216
4223
|
},
|
|
4217
4224
|
input: (e) => ({
|
|
4218
4225
|
class: [
|
|
4219
|
-
...
|
|
4226
|
+
...f(e),
|
|
4220
4227
|
"rounded-r rounded-l-none -ml-[1px]",
|
|
4221
4228
|
"focus:bg-none",
|
|
4222
4229
|
"focus:ring-primary-500",
|
|
4223
4230
|
"focus:ring-1"
|
|
4224
4231
|
]
|
|
4225
4232
|
})
|
|
4226
|
-
},
|
|
4233
|
+
}, xe = {
|
|
4227
4234
|
root: ({ props: e }) => ({
|
|
4228
4235
|
class: [
|
|
4229
4236
|
// Misc
|
|
@@ -4262,7 +4269,7 @@ const h = {
|
|
|
4262
4269
|
"fill-surface-600"
|
|
4263
4270
|
]
|
|
4264
4271
|
}
|
|
4265
|
-
},
|
|
4272
|
+
}, ve = {
|
|
4266
4273
|
root: {
|
|
4267
4274
|
class: [
|
|
4268
4275
|
// Sizing and Shape
|
|
@@ -4394,7 +4401,7 @@ const h = {
|
|
|
4394
4401
|
"bg-transparent"
|
|
4395
4402
|
]
|
|
4396
4403
|
}
|
|
4397
|
-
},
|
|
4404
|
+
}, he = {
|
|
4398
4405
|
root: ({ props: e }) => ({
|
|
4399
4406
|
class: [
|
|
4400
4407
|
"relative",
|
|
@@ -4575,7 +4582,7 @@ const h = {
|
|
|
4575
4582
|
end: {
|
|
4576
4583
|
class: "ml-auto self-center"
|
|
4577
4584
|
}
|
|
4578
|
-
},
|
|
4585
|
+
}, ye = {
|
|
4579
4586
|
root: {
|
|
4580
4587
|
class: [
|
|
4581
4588
|
// Position
|
|
@@ -4676,7 +4683,7 @@ const h = {
|
|
|
4676
4683
|
leaveActiveClass: "transition-opacity duration-100 ease-linear",
|
|
4677
4684
|
leaveToClass: "opacity-0"
|
|
4678
4685
|
}
|
|
4679
|
-
},
|
|
4686
|
+
}, we = {
|
|
4680
4687
|
root: {
|
|
4681
4688
|
class: [
|
|
4682
4689
|
"relative",
|
|
@@ -4830,7 +4837,7 @@ const h = {
|
|
|
4830
4837
|
end: {
|
|
4831
4838
|
class: "ml-auto self-center"
|
|
4832
4839
|
}
|
|
4833
|
-
},
|
|
4840
|
+
}, ke = {
|
|
4834
4841
|
root: ({ props: e }) => ({
|
|
4835
4842
|
class: [
|
|
4836
4843
|
// Spacing and Shape
|
|
@@ -4906,7 +4913,7 @@ const h = {
|
|
|
4906
4913
|
leaveActiveClass: "overflow-hidden transition-all duration-300 ease-in",
|
|
4907
4914
|
leaveToClass: "max-h-0 opacity-0 !m-0"
|
|
4908
4915
|
}
|
|
4909
|
-
},
|
|
4916
|
+
}, Ce = {
|
|
4910
4917
|
root: {
|
|
4911
4918
|
class: [
|
|
4912
4919
|
// Flexbox
|
|
@@ -5133,7 +5140,7 @@ const h = {
|
|
|
5133
5140
|
"cursor-pointer overflow-hidden"
|
|
5134
5141
|
]
|
|
5135
5142
|
})
|
|
5136
|
-
},
|
|
5143
|
+
}, ze = {
|
|
5137
5144
|
table: {
|
|
5138
5145
|
class: [
|
|
5139
5146
|
// Spacing & Position
|
|
@@ -5250,7 +5257,7 @@ const h = {
|
|
|
5250
5257
|
"w-4 h-4"
|
|
5251
5258
|
]
|
|
5252
5259
|
}
|
|
5253
|
-
},
|
|
5260
|
+
}, je = {
|
|
5254
5261
|
root: {
|
|
5255
5262
|
class: [
|
|
5256
5263
|
"h-max",
|
|
@@ -5281,7 +5288,7 @@ const h = {
|
|
|
5281
5288
|
leaveActiveClass: "transition-opacity duration-100 ease-linear",
|
|
5282
5289
|
leaveToClass: "opacity-0"
|
|
5283
5290
|
}
|
|
5284
|
-
},
|
|
5291
|
+
}, Ae = {
|
|
5285
5292
|
root: {
|
|
5286
5293
|
class: [
|
|
5287
5294
|
// Flex & Alignment
|
|
@@ -5725,7 +5732,7 @@ const h = {
|
|
|
5725
5732
|
current: {
|
|
5726
5733
|
class: ["text-xs font-normal leading-6 px-3"]
|
|
5727
5734
|
}
|
|
5728
|
-
},
|
|
5735
|
+
}, _e = {
|
|
5729
5736
|
root: {
|
|
5730
5737
|
class: "shadow-md rounded-lg"
|
|
5731
5738
|
},
|
|
@@ -5804,7 +5811,7 @@ const h = {
|
|
|
5804
5811
|
leaveActiveClass: "overflow-hidden transition-[max-height] duration-[450ms] ease-[cubic-bezier(0,1,0,1)]",
|
|
5805
5812
|
leaveToClass: "max-h-0"
|
|
5806
5813
|
}
|
|
5807
|
-
},
|
|
5814
|
+
}, Te = {
|
|
5808
5815
|
panel: {
|
|
5809
5816
|
class: "mb-1"
|
|
5810
5817
|
},
|
|
@@ -5921,7 +5928,7 @@ const h = {
|
|
|
5921
5928
|
leaveActiveClass: "overflow-hidden transition-[max-height] duration-[450ms] ease-[cubic-bezier(0,1,0,1)]",
|
|
5922
5929
|
leaveToClass: "max-h-0"
|
|
5923
5930
|
}
|
|
5924
|
-
},
|
|
5931
|
+
}, Ie = {
|
|
5925
5932
|
root: ({ props: e }) => ({
|
|
5926
5933
|
class: [
|
|
5927
5934
|
"w-full",
|
|
@@ -6010,7 +6017,7 @@ const h = {
|
|
|
6010
6017
|
leaveActiveClass: "transition-opacity duration-100 ease-linear",
|
|
6011
6018
|
leaveToClass: "opacity-0"
|
|
6012
6019
|
}
|
|
6013
|
-
},
|
|
6020
|
+
}, Fe = {
|
|
6014
6021
|
root: {
|
|
6015
6022
|
class: [
|
|
6016
6023
|
// Flexbox
|
|
@@ -6581,7 +6588,7 @@ const h = {
|
|
|
6581
6588
|
leaveActiveClass: "!transition-none",
|
|
6582
6589
|
leaveToClass: "!transition-none"
|
|
6583
6590
|
}
|
|
6584
|
-
},
|
|
6591
|
+
}, Se = {
|
|
6585
6592
|
root: ({ props: e }) => ({
|
|
6586
6593
|
class: [
|
|
6587
6594
|
{
|
|
@@ -6665,7 +6672,7 @@ const h = {
|
|
|
6665
6672
|
}
|
|
6666
6673
|
]
|
|
6667
6674
|
})
|
|
6668
|
-
},
|
|
6675
|
+
}, k = navigator.userAgent.includes("Firefox"), u = {
|
|
6669
6676
|
root: ({ props: e }) => ({
|
|
6670
6677
|
class: [
|
|
6671
6678
|
// Alignments
|
|
@@ -6705,7 +6712,7 @@ const h = {
|
|
|
6705
6712
|
},
|
|
6706
6713
|
// Colors
|
|
6707
6714
|
"ring-1",
|
|
6708
|
-
{ "ring-1":
|
|
6715
|
+
{ "ring-1": k, "ring-[0.5px]": !k },
|
|
6709
6716
|
{
|
|
6710
6717
|
"before:bg-white": e.modelValue == e.trueValue,
|
|
6711
6718
|
"before:bg-primary-200": e.modelValue !== e.trueValue && !e.disabled,
|
|
@@ -6780,7 +6787,7 @@ const h = {
|
|
|
6780
6787
|
tooltipicon: {
|
|
6781
6788
|
class: "text-grayscale-900 w-[10px] h-[10px]"
|
|
6782
6789
|
}
|
|
6783
|
-
},
|
|
6790
|
+
}, Pe = {
|
|
6784
6791
|
root: ({ props: e }) => ({
|
|
6785
6792
|
class: [
|
|
6786
6793
|
"relative",
|
|
@@ -6806,7 +6813,7 @@ const h = {
|
|
|
6806
6813
|
"data-wv-name": "buttonradio",
|
|
6807
6814
|
"data-wv-section": "root"
|
|
6808
6815
|
}),
|
|
6809
|
-
box: ({ props: e }) => ({
|
|
6816
|
+
box: ({ props: e, state: t }) => ({
|
|
6810
6817
|
class: [
|
|
6811
6818
|
// Size
|
|
6812
6819
|
"w-2 h-2",
|
|
@@ -6821,8 +6828,8 @@ const h = {
|
|
|
6821
6828
|
"transition duration-200 ease-in-out",
|
|
6822
6829
|
// Colors
|
|
6823
6830
|
{
|
|
6824
|
-
"bg-grayscale-900":
|
|
6825
|
-
"bg-general-300":
|
|
6831
|
+
"bg-grayscale-900": t.checked && e.value !== void 0 && !e.disabled,
|
|
6832
|
+
"bg-general-300": t.checked && e.value !== void 0 && e.disabled
|
|
6826
6833
|
},
|
|
6827
6834
|
// States
|
|
6828
6835
|
{
|
|
@@ -6856,10 +6863,10 @@ const h = {
|
|
|
6856
6863
|
icon: {
|
|
6857
6864
|
class: "hidden"
|
|
6858
6865
|
},
|
|
6859
|
-
label:
|
|
6860
|
-
labeltext:
|
|
6861
|
-
tooltipicon:
|
|
6862
|
-
},
|
|
6866
|
+
label: u.label,
|
|
6867
|
+
labeltext: u.labeltext,
|
|
6868
|
+
tooltipicon: u.tooltipicon
|
|
6869
|
+
}, Ne = {
|
|
6863
6870
|
root: ({ props: e }) => ({
|
|
6864
6871
|
class: [
|
|
6865
6872
|
"relative",
|
|
@@ -6929,12 +6936,12 @@ const h = {
|
|
|
6929
6936
|
"transition duration-200 ease-in"
|
|
6930
6937
|
]
|
|
6931
6938
|
})
|
|
6932
|
-
},
|
|
6939
|
+
}, Ve = {
|
|
6933
6940
|
root: {
|
|
6934
6941
|
class: ["block absolute bg-surface-0/50 rounded-full pointer-events-none"],
|
|
6935
6942
|
style: "transform: scale(0)"
|
|
6936
6943
|
}
|
|
6937
|
-
},
|
|
6944
|
+
}, $e = {
|
|
6938
6945
|
wrapper: {
|
|
6939
6946
|
class: [
|
|
6940
6947
|
// Size & Position
|
|
@@ -6993,7 +7000,7 @@ const h = {
|
|
|
6993
7000
|
"relative"
|
|
6994
7001
|
]
|
|
6995
7002
|
}
|
|
6996
|
-
},
|
|
7003
|
+
}, Be = {
|
|
6997
7004
|
root: ({ props: e }) => ({
|
|
6998
7005
|
class: [
|
|
6999
7006
|
// Flex & Alignment
|
|
@@ -7029,7 +7036,7 @@ const h = {
|
|
|
7029
7036
|
leaveActiveClass: "transition-opacity duration-150",
|
|
7030
7037
|
leaveToClass: "opacity-0"
|
|
7031
7038
|
}
|
|
7032
|
-
},
|
|
7039
|
+
}, Ee = {
|
|
7033
7040
|
root: ({ props: e }) => ({
|
|
7034
7041
|
class: [
|
|
7035
7042
|
"shadow-sm flex flex-col min-w-[43px] w-max"
|
|
@@ -7076,7 +7083,7 @@ const h = {
|
|
|
7076
7083
|
label: {
|
|
7077
7084
|
class: "font-normal"
|
|
7078
7085
|
}
|
|
7079
|
-
},
|
|
7086
|
+
}, Ge = {
|
|
7080
7087
|
root: ({ props: e }) => ({
|
|
7081
7088
|
class: [
|
|
7082
7089
|
// Flexbox
|
|
@@ -7201,7 +7208,7 @@ const h = {
|
|
|
7201
7208
|
leaveActiveClass: "transition-opacity duration-400 ease-in",
|
|
7202
7209
|
leaveToClass: "opacity-0 mask-active"
|
|
7203
7210
|
}
|
|
7204
|
-
},
|
|
7211
|
+
}, Ue = {
|
|
7205
7212
|
root: ({ props: e }) => ({
|
|
7206
7213
|
class: [
|
|
7207
7214
|
"overflow-hidden",
|
|
@@ -7217,7 +7224,7 @@ const h = {
|
|
|
7217
7224
|
"bg-general-50"
|
|
7218
7225
|
]
|
|
7219
7226
|
})
|
|
7220
|
-
},
|
|
7227
|
+
}, Le = {
|
|
7221
7228
|
root: ({ props: e }) => ({
|
|
7222
7229
|
class: [
|
|
7223
7230
|
"relative",
|
|
@@ -7325,7 +7332,7 @@ const h = {
|
|
|
7325
7332
|
"touch-action-none"
|
|
7326
7333
|
]
|
|
7327
7334
|
})
|
|
7328
|
-
},
|
|
7335
|
+
}, Me = {
|
|
7329
7336
|
root: ({ props: e }) => ({
|
|
7330
7337
|
class: [
|
|
7331
7338
|
// Flexbox and Position
|
|
@@ -7833,7 +7840,7 @@ const h = {
|
|
|
7833
7840
|
class: ["hidden"]
|
|
7834
7841
|
}
|
|
7835
7842
|
}
|
|
7836
|
-
},
|
|
7843
|
+
}, Re = {
|
|
7837
7844
|
root: {
|
|
7838
7845
|
class: "relative"
|
|
7839
7846
|
},
|
|
@@ -7940,12 +7947,319 @@ const h = {
|
|
|
7940
7947
|
"max-w-full"
|
|
7941
7948
|
]
|
|
7942
7949
|
})
|
|
7943
|
-
}
|
|
7950
|
+
};
|
|
7951
|
+
function p(e, t) {
|
|
7952
|
+
return { [e]: t }[e];
|
|
7953
|
+
}
|
|
7954
|
+
p("WANGS-TAB-MENU", {
|
|
7955
|
+
root: {
|
|
7956
|
+
class: "overflow-x-visible"
|
|
7957
|
+
},
|
|
7958
|
+
menu: ({ props: e }) => ({
|
|
7959
|
+
class: [
|
|
7960
|
+
// Flexbox
|
|
7961
|
+
"flex flex-1",
|
|
7962
|
+
// Spacing
|
|
7963
|
+
"list-none",
|
|
7964
|
+
"p-0 m-0",
|
|
7965
|
+
// Colors
|
|
7966
|
+
"text-general-100",
|
|
7967
|
+
{ "w-max ring-1 ring-inset ring-general-100 rounded": e.type === "segmented" }
|
|
7968
|
+
]
|
|
7969
|
+
}),
|
|
7970
|
+
menuitem: {
|
|
7971
|
+
class: "mr-0"
|
|
7972
|
+
},
|
|
7973
|
+
action: ({ props: e, context: t }) => {
|
|
7974
|
+
var r, s;
|
|
7975
|
+
return {
|
|
7976
|
+
class: [
|
|
7977
|
+
"relative",
|
|
7978
|
+
// Font
|
|
7979
|
+
"font-medium",
|
|
7980
|
+
"text-xs leading-4 tracking-[0.02em]",
|
|
7981
|
+
// Flexbox and Alignment
|
|
7982
|
+
"flex items-center",
|
|
7983
|
+
// Spacing
|
|
7984
|
+
{
|
|
7985
|
+
"rounded-xl py-1 px-3": e.type === "pill",
|
|
7986
|
+
rounded: e.type === "segmented",
|
|
7987
|
+
"p-2 pb-1.5 pt-0.5 !h-6": e.type === "tab",
|
|
7988
|
+
"py-[5px] px-3 !h-6": e.type === "segmented",
|
|
7989
|
+
"ml-1": e.type === "pill" && t.index !== 0,
|
|
7990
|
+
"gap-1": t.item.icon
|
|
7991
|
+
},
|
|
7992
|
+
// Shape
|
|
7993
|
+
{
|
|
7994
|
+
"border-b-2": e.type === "tab",
|
|
7995
|
+
"shadow-[-2px_2px_2px_rgba(0,0,0,0.25)] overflow-visible": e.type === "segmented" && t.active
|
|
7996
|
+
},
|
|
7997
|
+
// Colors and Conditions
|
|
7998
|
+
{
|
|
7999
|
+
"border-primary-700": t.active,
|
|
8000
|
+
"border-grayscale-400": !t.active,
|
|
8001
|
+
"text-grayscale-600": !t.active && e.type === "tab",
|
|
8002
|
+
"text-primary-700": t.active && e.type === "tab",
|
|
8003
|
+
"bg-primary-700 text-white": e.type === "pill" && t.active,
|
|
8004
|
+
"bg-grayscale-100 text-grayscale-800": e.type === "pill" && !t.active,
|
|
8005
|
+
"bg-primary-500 text-white": e.type === "segmented" && t.active,
|
|
8006
|
+
"!text-general-800": e.type === "segmented" && !t.active,
|
|
8007
|
+
"bg-transparent ": e.type !== "pill" && !t.active
|
|
8008
|
+
},
|
|
8009
|
+
// States
|
|
8010
|
+
{ "hover:bg-primary-50": e.type === "tab" },
|
|
8011
|
+
"focus-visible:outline-none focus-visible:outline-offset-0",
|
|
8012
|
+
{
|
|
8013
|
+
"focus-visible:border-primary-200 focus-visible:text-primary-400": !t.active
|
|
8014
|
+
},
|
|
8015
|
+
// Disabled States
|
|
8016
|
+
{
|
|
8017
|
+
"pointer-events-none": (r = t.item) == null ? void 0 : r.disabled,
|
|
8018
|
+
"opacity-60": (s = t.item) == null ? void 0 : s.disabled
|
|
8019
|
+
},
|
|
8020
|
+
// Transitions
|
|
8021
|
+
"transition-all duration-200",
|
|
8022
|
+
// Misc
|
|
8023
|
+
"cursor-pointer select-none text-decoration-none",
|
|
8024
|
+
"overflow-hidden",
|
|
8025
|
+
"user-select-none",
|
|
8026
|
+
"!no-underline",
|
|
8027
|
+
"whitespace-nowrap"
|
|
8028
|
+
]
|
|
8029
|
+
};
|
|
8030
|
+
},
|
|
8031
|
+
icon: {
|
|
8032
|
+
class: "mr-2"
|
|
8033
|
+
},
|
|
8034
|
+
inkbar: ({ props: e }) => ({
|
|
8035
|
+
class: ["grow border-b-2 border-grayscale-400", { hidden: e.type === "pill" || e.useTrailingLine === !1 || e.type === "segmented" }]
|
|
8036
|
+
})
|
|
8037
|
+
});
|
|
8038
|
+
p("WANGS-INPUT-OTP", {
|
|
8039
|
+
root: {
|
|
8040
|
+
class: [
|
|
8041
|
+
// Alignment
|
|
8042
|
+
"flex items-center",
|
|
8043
|
+
"gap-[6px]",
|
|
8044
|
+
"w-max"
|
|
8045
|
+
]
|
|
8046
|
+
},
|
|
8047
|
+
input: ({ props: e, context: t, parent: r }) => ({
|
|
8048
|
+
class: [
|
|
8049
|
+
// Font
|
|
8050
|
+
"text-[14px] leading-none font-medium",
|
|
8051
|
+
// Flex & Alignment
|
|
8052
|
+
{ "flex-1 w-[1%]": r.tagName == "WANGS-INPUT-GROUP" },
|
|
8053
|
+
"text-center",
|
|
8054
|
+
// Spacing
|
|
8055
|
+
"m-0",
|
|
8056
|
+
// Size
|
|
8057
|
+
"w-[42px] h-[42px]",
|
|
8058
|
+
// Shape
|
|
8059
|
+
{ "rounded-md": r.tagName !== "WANGS-INPUT-GROUP" },
|
|
8060
|
+
{
|
|
8061
|
+
"first:rounded-l-md rounded-none last:rounded-r-md": r.tagName == "WANGS-INPUT-GROUP"
|
|
8062
|
+
},
|
|
8063
|
+
{
|
|
8064
|
+
"border-0 border-y border-l last:border-r": r.tagName == "WANGS-INPUT-GROUP"
|
|
8065
|
+
},
|
|
8066
|
+
// Colors
|
|
8067
|
+
"text-general-800 dark:text-general-800",
|
|
8068
|
+
"placeholder:text-surface-400 dark:placeholder:text-surface-500",
|
|
8069
|
+
"bg-white dark:bg-white",
|
|
8070
|
+
{
|
|
8071
|
+
"ring-1": navigator.userAgent.includes("Firefox"),
|
|
8072
|
+
"ring-[0.5px]": !navigator.userAgent.includes("Firefox")
|
|
8073
|
+
},
|
|
8074
|
+
{ "ring-general-200 dark:ring-general-200": !e.invalid },
|
|
8075
|
+
// Invalid State
|
|
8076
|
+
{ "ring-danger-500 dark:ring-danger-500": e.invalid },
|
|
8077
|
+
// States
|
|
8078
|
+
{
|
|
8079
|
+
"hover:bg-primary-50/50 hover:ring-primary-500 dark:hover:ring-primary-400": !t.disabled && !e.invalid,
|
|
8080
|
+
"focus:bg-primary-50/50 focus:ring-primary-500 dark:focus:ring-primary-400": !t.disabled && !e.invalid,
|
|
8081
|
+
"focus:outline-none focus:outline-offset-0": !t.disabled,
|
|
8082
|
+
"opacity-60 select-none pointer-events-none cursor-default": t.disabled
|
|
8083
|
+
},
|
|
8084
|
+
// Filled State *for FloatLabel
|
|
8085
|
+
{ filled: r.tagName == "WANGS-FLOAT-LABEL" && t.filled },
|
|
8086
|
+
// Misc
|
|
8087
|
+
"appearance-none",
|
|
8088
|
+
"transition-colors duration-200"
|
|
8089
|
+
]
|
|
8090
|
+
})
|
|
8091
|
+
});
|
|
8092
|
+
const o = class o {
|
|
8093
|
+
constructor() {
|
|
8094
|
+
/**
|
|
8095
|
+
* Stores base URLs associated with different app identifiers.
|
|
8096
|
+
*/
|
|
8097
|
+
g(this, "_baseUrl", "");
|
|
8098
|
+
if (globalThis[o.SINGLETON_KEY])
|
|
8099
|
+
return globalThis[o.SINGLETON_KEY];
|
|
8100
|
+
globalThis[o.SINGLETON_KEY] = this;
|
|
8101
|
+
}
|
|
8102
|
+
/**
|
|
8103
|
+
* Registers a base URL for a specific app.
|
|
8104
|
+
*
|
|
8105
|
+
* @param base - The base URL to be used as a prefix for all routes in that app.
|
|
8106
|
+
*/
|
|
8107
|
+
setNavigationBaseUrl(t) {
|
|
8108
|
+
this._baseUrl = this.normalizeBase(t);
|
|
8109
|
+
}
|
|
8110
|
+
/**
|
|
8111
|
+
* Retrieves the base URL for a specific app.
|
|
8112
|
+
*
|
|
8113
|
+
* @returns The base URL registered for the app or an empty string if not set.
|
|
8114
|
+
*/
|
|
8115
|
+
getNavigationBaseUrl() {
|
|
8116
|
+
return this._baseUrl;
|
|
8117
|
+
}
|
|
8118
|
+
/**
|
|
8119
|
+
* Ensures the base URL ends with a single slash and removes trailing slashes.
|
|
8120
|
+
*
|
|
8121
|
+
* @param base - The base URL to normalize.
|
|
8122
|
+
* @returns A clean base URL ending with a single `/`.
|
|
8123
|
+
*/
|
|
8124
|
+
normalizeBase(t) {
|
|
8125
|
+
return t.replace(/\/+$/, "").concat("/");
|
|
8126
|
+
}
|
|
8127
|
+
/**
|
|
8128
|
+
* Prepends the base URL (if any) to the given path.
|
|
8129
|
+
*
|
|
8130
|
+
* @param path - The relative path to normalize.
|
|
8131
|
+
* @returns A fully normalized path prefixed with the base URL if applicable.
|
|
8132
|
+
*/
|
|
8133
|
+
normalizePath(t) {
|
|
8134
|
+
const r = this.getNavigationBaseUrl();
|
|
8135
|
+
if (!r)
|
|
8136
|
+
return t;
|
|
8137
|
+
const s = t.startsWith("/") ? t.slice(1) : t;
|
|
8138
|
+
return `${r}${s}`;
|
|
8139
|
+
}
|
|
8140
|
+
/**
|
|
8141
|
+
* Removes the specified base path from the beginning of a given route path.
|
|
8142
|
+
*
|
|
8143
|
+
* This is useful when your app is deployed under a subdirectory (e.g., `/base`)
|
|
8144
|
+
* and you want to normalize the route path to match menu or route definitions
|
|
8145
|
+
* that don't include the base.
|
|
8146
|
+
*
|
|
8147
|
+
* @param path - The full route path (e.g., `/base/about`).
|
|
8148
|
+
* @param base - The optional base URL to remove (e.g., `/base`).
|
|
8149
|
+
* @returns The normalized path without the base prefix (e.g., `/about`).
|
|
8150
|
+
*
|
|
8151
|
+
* @example
|
|
8152
|
+
* stripBase('/base/home', '/base'); // returns '/home'
|
|
8153
|
+
* stripBase('/about', '/base'); // returns '/about' (base not present)
|
|
8154
|
+
* stripBase('/base', '/base'); // returns '/'
|
|
8155
|
+
*/
|
|
8156
|
+
stripBase(t, r) {
|
|
8157
|
+
return r || (r = this.getNavigationBaseUrl()), r !== "/" && t.startsWith(r) ? "/" + t.slice(r.length).replace(/^\/+/, "") : t;
|
|
8158
|
+
}
|
|
8159
|
+
/**
|
|
8160
|
+
* Pushes a new entry to the browser's history stack.
|
|
8161
|
+
*
|
|
8162
|
+
* @param route - The target URL or path to push. Can be a string, URL object, or null.
|
|
8163
|
+
* @param data - Optional state object associated with the history entry. Accessible via `history.state`.
|
|
8164
|
+
* @param unused - Optional title parameter (currently unused due to limited browser support).
|
|
8165
|
+
*
|
|
8166
|
+
* @example
|
|
8167
|
+
* Router.push('/about', { from: 'home' });
|
|
8168
|
+
*/
|
|
8169
|
+
push(t, r = {}, s = "") {
|
|
8170
|
+
var l;
|
|
8171
|
+
const n = {
|
|
8172
|
+
...r,
|
|
8173
|
+
...history.state ?? {},
|
|
8174
|
+
current: t,
|
|
8175
|
+
back: (l = history.state) == null ? void 0 : l.current,
|
|
8176
|
+
forward: void 0,
|
|
8177
|
+
replaced: !1,
|
|
8178
|
+
position: history.length + 1
|
|
8179
|
+
};
|
|
8180
|
+
window.history.pushState(n, s, t);
|
|
8181
|
+
}
|
|
8182
|
+
/**
|
|
8183
|
+
* Replaces the current entry in the browser's history stack.
|
|
8184
|
+
*
|
|
8185
|
+
* @param route - The target URL or path to replace with. Can be a string, URL object, or null.
|
|
8186
|
+
* @param data - Optional state object associated with the history entry. Accessible via `history.state`.
|
|
8187
|
+
* @param unused - Optional title parameter (currently unused due to limited browser support).
|
|
8188
|
+
*
|
|
8189
|
+
* @example
|
|
8190
|
+
* Router.replace('/login', { reason: 'session expired' });
|
|
8191
|
+
*/
|
|
8192
|
+
replace(t, r = {}, s = "") {
|
|
8193
|
+
const n = {
|
|
8194
|
+
...r,
|
|
8195
|
+
...history.state ?? {},
|
|
8196
|
+
forward: void 0,
|
|
8197
|
+
current: t,
|
|
8198
|
+
replaced: !0
|
|
8199
|
+
};
|
|
8200
|
+
window.history.replaceState(n, s, t);
|
|
8201
|
+
}
|
|
8202
|
+
/**
|
|
8203
|
+
* Dispatches a custom event before navigation occurs.
|
|
8204
|
+
* Used to notify subscribers of an upcoming route change.
|
|
8205
|
+
*
|
|
8206
|
+
* @param route - The route that will be navigated to.
|
|
8207
|
+
* @param mode - The navigation mode ('push' or 'replace').
|
|
8208
|
+
* @param data - Optional state object for the navigation.
|
|
8209
|
+
*/
|
|
8210
|
+
dispatchBeforeNavigationEvent(t, r, s) {
|
|
8211
|
+
window.dispatchEvent(new CustomEvent("wangs-ui-core:before-navigation-event", {
|
|
8212
|
+
detail: { route: t, mode: r, state: s }
|
|
8213
|
+
}));
|
|
8214
|
+
}
|
|
8215
|
+
/**
|
|
8216
|
+
* Dispatches a custom event after navigation occurs.
|
|
8217
|
+
* Used to notify subscribers that the route has changed.
|
|
8218
|
+
*
|
|
8219
|
+
* @param route - The route that was navigated to.
|
|
8220
|
+
* @param mode - The navigation mode ('push' or 'replace').
|
|
8221
|
+
* @param data - Optional state object for the navigation.
|
|
8222
|
+
*/
|
|
8223
|
+
dispatchNavigationEvent(t, r, s) {
|
|
8224
|
+
window.dispatchEvent(new CustomEvent("wangs-ui-core:navigation-event", {
|
|
8225
|
+
detail: { route: t, mode: r, state: s }
|
|
8226
|
+
}));
|
|
8227
|
+
}
|
|
8228
|
+
/**
|
|
8229
|
+
* Navigates to a specified route using the browser's History API.
|
|
8230
|
+
*
|
|
8231
|
+
* This updates the URL in the browser without reloading the page.
|
|
8232
|
+
* It can either push a new entry to the history stack or replace the current one.
|
|
8233
|
+
* Also dispatches custom events before and after the navigation.
|
|
8234
|
+
*
|
|
8235
|
+
* @param route - The target route to navigate to. Can be a string or URL object.
|
|
8236
|
+
* @param navigationMode - Determines how navigation is handled.
|
|
8237
|
+
* - `'push'` (default): Adds a new entry to the browser history.
|
|
8238
|
+
* - `'replace'`: Replaces the current history entry.
|
|
8239
|
+
* @param data - Optional state object associated with the history entry. Can be accessed via `history.state`.
|
|
8240
|
+
* @param unused - Optional title parameter (currently unused due to browser support limitations).
|
|
8241
|
+
*
|
|
8242
|
+
* @example
|
|
8243
|
+
* router.navigateToRoute('/about', 'push', { some: 'state' }, '',);
|
|
8244
|
+
*/
|
|
8245
|
+
navigateToRoute(t, r = "push", s = {}, n = "") {
|
|
8246
|
+
if (!t)
|
|
8247
|
+
return;
|
|
8248
|
+
const l = typeof t == "string" ? t : t.toString(), a = this.normalizePath(l);
|
|
8249
|
+
if (a === location.pathname)
|
|
8250
|
+
return console.warn("[WangsUIRouter] Navigation aborted: target route is the same as the current route.");
|
|
8251
|
+
this.dispatchBeforeNavigationEvent(a, r, s), r === "push" ? this.push(a, s, n) : this.replace(a, s, n), this.dispatchNavigationEvent(a, r, s);
|
|
8252
|
+
}
|
|
8253
|
+
};
|
|
8254
|
+
g(o, "SINGLETON_KEY", "__WANGS_UI_ROUTER_INSTANCE__");
|
|
8255
|
+
let m = o;
|
|
8256
|
+
new m();
|
|
8257
|
+
const Oe = p("WANGS-TAB-MENU", {
|
|
7944
8258
|
root: {
|
|
7945
8259
|
class: "overflow-x-auto",
|
|
7946
8260
|
style: "scrollbar-width: none"
|
|
7947
8261
|
},
|
|
7948
|
-
menu: {
|
|
8262
|
+
menu: () => ({
|
|
7949
8263
|
class: [
|
|
7950
8264
|
// Flexbox
|
|
7951
8265
|
"flex flex-1",
|
|
@@ -7956,12 +8270,12 @@ const h = {
|
|
|
7956
8270
|
// Colors
|
|
7957
8271
|
"text-general-100"
|
|
7958
8272
|
]
|
|
7959
|
-
},
|
|
8273
|
+
}),
|
|
7960
8274
|
menuitem: {
|
|
7961
8275
|
class: "mr-0"
|
|
7962
8276
|
},
|
|
7963
|
-
action: ({ context: e
|
|
7964
|
-
var
|
|
8277
|
+
action: ({ context: e }) => {
|
|
8278
|
+
var t, r;
|
|
7965
8279
|
return {
|
|
7966
8280
|
class: [
|
|
7967
8281
|
"relative",
|
|
@@ -7976,23 +8290,23 @@ const h = {
|
|
|
7976
8290
|
"border-b-2",
|
|
7977
8291
|
// Colors and Conditions
|
|
7978
8292
|
{
|
|
7979
|
-
"bg-transparent ":
|
|
7980
|
-
"text-grayscale-900":
|
|
7981
|
-
"border-primary-400":
|
|
7982
|
-
"border-primary-100":
|
|
7983
|
-
"text-primary-500":
|
|
8293
|
+
"bg-transparent ": !e.active,
|
|
8294
|
+
"text-grayscale-900": !e.active,
|
|
8295
|
+
"border-primary-400": e.active,
|
|
8296
|
+
"border-primary-100": !e.active,
|
|
8297
|
+
"text-primary-500": e.active
|
|
7984
8298
|
},
|
|
7985
8299
|
// States
|
|
7986
8300
|
"hover:bg-primary-50",
|
|
7987
8301
|
"focus-visible:outline-none focus-visible:outline-offset-0",
|
|
7988
8302
|
"focus-visible:bg-primary-50",
|
|
7989
8303
|
{
|
|
7990
|
-
"focus-visible:border-primary-200 focus-visible:text-primary-400":
|
|
8304
|
+
"focus-visible:border-primary-200 focus-visible:text-primary-400": !e.active
|
|
7991
8305
|
},
|
|
7992
8306
|
// Disabled States
|
|
7993
8307
|
{
|
|
7994
|
-
"pointer-events-none": (
|
|
7995
|
-
"opacity-60": (
|
|
8308
|
+
"pointer-events-none": (t = e.item) == null ? void 0 : t.disabled,
|
|
8309
|
+
"opacity-60": (r = e.item) == null ? void 0 : r.disabled
|
|
7996
8310
|
},
|
|
7997
8311
|
// Transitions
|
|
7998
8312
|
"transition-all duration-200",
|
|
@@ -8008,10 +8322,13 @@ const h = {
|
|
|
8008
8322
|
icon: {
|
|
8009
8323
|
class: "mr-2"
|
|
8010
8324
|
},
|
|
8011
|
-
inkbar: {
|
|
8012
|
-
class:
|
|
8013
|
-
|
|
8014
|
-
|
|
8325
|
+
inkbar: ({ props: e }) => ({
|
|
8326
|
+
class: [
|
|
8327
|
+
"grow border-b-2 border-primary-100",
|
|
8328
|
+
{ hidden: e.type === "pill" || e.useTrailingLine === !1 }
|
|
8329
|
+
]
|
|
8330
|
+
})
|
|
8331
|
+
}), We = {
|
|
8015
8332
|
navContainer: ({ props: e }) => ({
|
|
8016
8333
|
class: [
|
|
8017
8334
|
// Position
|
|
@@ -8147,7 +8464,7 @@ const h = {
|
|
|
8147
8464
|
]
|
|
8148
8465
|
}
|
|
8149
8466
|
}
|
|
8150
|
-
},
|
|
8467
|
+
}, De = {
|
|
8151
8468
|
root: ({ props: e }) => ({
|
|
8152
8469
|
class: [
|
|
8153
8470
|
//Font
|
|
@@ -8178,7 +8495,7 @@ const h = {
|
|
|
8178
8495
|
icon: {
|
|
8179
8496
|
class: "mr-1 text-sm"
|
|
8180
8497
|
}
|
|
8181
|
-
},
|
|
8498
|
+
}, Ke = {
|
|
8182
8499
|
root: {
|
|
8183
8500
|
class: [
|
|
8184
8501
|
// Spacing
|
|
@@ -8230,7 +8547,7 @@ const h = {
|
|
|
8230
8547
|
"outline-none"
|
|
8231
8548
|
]
|
|
8232
8549
|
}
|
|
8233
|
-
},
|
|
8550
|
+
}, He = {
|
|
8234
8551
|
root: ({ context: e, props: t }) => ({
|
|
8235
8552
|
class: [
|
|
8236
8553
|
// Font
|
|
@@ -8247,7 +8564,7 @@ const h = {
|
|
|
8247
8564
|
// Shape
|
|
8248
8565
|
"rounded",
|
|
8249
8566
|
"appearance-none",
|
|
8250
|
-
...
|
|
8567
|
+
...oe,
|
|
8251
8568
|
{
|
|
8252
8569
|
"!ring-danger-500": e.invalidInput
|
|
8253
8570
|
},
|
|
@@ -8265,7 +8582,7 @@ const h = {
|
|
|
8265
8582
|
"data-wv-name": "textarea",
|
|
8266
8583
|
"data-wv-section": "root"
|
|
8267
8584
|
})
|
|
8268
|
-
},
|
|
8585
|
+
}, Ye = {
|
|
8269
8586
|
root: {
|
|
8270
8587
|
class: [
|
|
8271
8588
|
// Shape
|
|
@@ -8367,16 +8684,16 @@ const h = {
|
|
|
8367
8684
|
separator: {
|
|
8368
8685
|
class: "border-t border-surface-200 my-1"
|
|
8369
8686
|
}
|
|
8370
|
-
},
|
|
8687
|
+
}, b = (e) => {
|
|
8371
8688
|
if (!e) return !0;
|
|
8372
8689
|
const t = Object.keys(e);
|
|
8373
8690
|
return t.length ? t.every((r) => {
|
|
8374
8691
|
const s = e[r];
|
|
8375
8692
|
return typeof s == "object" ? Array.isArray(s) ? !s.length || s.every(
|
|
8376
|
-
(
|
|
8377
|
-
) :
|
|
8693
|
+
(n) => typeof n == "object" ? b(n) : n == null
|
|
8694
|
+
) : b(s) : s == null;
|
|
8378
8695
|
}) : !0;
|
|
8379
|
-
},
|
|
8696
|
+
}, qe = {
|
|
8380
8697
|
root: ({ props: e }) => ({
|
|
8381
8698
|
class: ["flex flex-col grow", "text-xs font-normal text-grayscale-900"]
|
|
8382
8699
|
}),
|
|
@@ -8407,18 +8724,34 @@ const h = {
|
|
|
8407
8724
|
markerArrow: (e) => ({
|
|
8408
8725
|
class: [
|
|
8409
8726
|
"w-4 h-4 invisible transition-transform duration-200 ease-in-out text-grayscale-900",
|
|
8410
|
-
{ "!visible": e.detail && !
|
|
8727
|
+
{ "!visible": e.detail && !b(e.detail) },
|
|
8411
8728
|
{ "rotate-180": e.showDetail }
|
|
8412
8729
|
],
|
|
8413
8730
|
"data-wv-section": "markerArrow"
|
|
8414
8731
|
}),
|
|
8732
|
+
markerDot: (e) => ({
|
|
8733
|
+
class: ["hidden"],
|
|
8734
|
+
"data-wv-section": "markerDot"
|
|
8735
|
+
}),
|
|
8736
|
+
contentHeader: {
|
|
8737
|
+
class: ["leading-5 cursor-pointer truncate !text-xs"]
|
|
8738
|
+
},
|
|
8739
|
+
contentDetailKey: {
|
|
8740
|
+
class: ["font-semibold whitespace-nowrap"]
|
|
8741
|
+
},
|
|
8742
|
+
contentDetailValue: {
|
|
8743
|
+
class: ["text-xs"]
|
|
8744
|
+
},
|
|
8745
|
+
contentDate: {
|
|
8746
|
+
class: [""]
|
|
8747
|
+
},
|
|
8415
8748
|
connector: ({ props: e }) => ({
|
|
8416
8749
|
class: ["w-[2px] grow bg-grayscale-900"]
|
|
8417
8750
|
}),
|
|
8418
8751
|
content: ({ props: e, context: t }) => ({
|
|
8419
8752
|
class: ["grid grid-rows-[max-content,auto] pb-2.5 gap-1"]
|
|
8420
8753
|
})
|
|
8421
|
-
},
|
|
8754
|
+
}, Je = {
|
|
8422
8755
|
root: ({ props: e }) => ({
|
|
8423
8756
|
class: [
|
|
8424
8757
|
//Size and Shape
|
|
@@ -8501,7 +8834,7 @@ const h = {
|
|
|
8501
8834
|
leaveActiveClass: "!transition-[max-height_.45s_cubic-bezier(0,1,0,1),opacity_.3s,margin-bottom_.3s] overflow-hidden",
|
|
8502
8835
|
leaveToClass: "max-h-0 opacity-0 mb-0"
|
|
8503
8836
|
}
|
|
8504
|
-
},
|
|
8837
|
+
}, Xe = {
|
|
8505
8838
|
root: {
|
|
8506
8839
|
class: [
|
|
8507
8840
|
"relative",
|
|
@@ -8572,7 +8905,7 @@ const h = {
|
|
|
8572
8905
|
icon: {
|
|
8573
8906
|
class: [" mr-2", "text-surface-700/80"]
|
|
8574
8907
|
}
|
|
8575
|
-
},
|
|
8908
|
+
}, Ze = {
|
|
8576
8909
|
root: {
|
|
8577
8910
|
class: [
|
|
8578
8911
|
// Flex & Alignment
|
|
@@ -8598,7 +8931,7 @@ const h = {
|
|
|
8598
8931
|
end: {
|
|
8599
8932
|
class: "flex items-center"
|
|
8600
8933
|
}
|
|
8601
|
-
},
|
|
8934
|
+
}, Qe = {
|
|
8602
8935
|
root: ({ context: e, props: t }) => ({
|
|
8603
8936
|
class: [
|
|
8604
8937
|
// Position
|
|
@@ -8634,7 +8967,7 @@ const h = {
|
|
|
8634
8967
|
"break-words"
|
|
8635
8968
|
]
|
|
8636
8969
|
}
|
|
8637
|
-
},
|
|
8970
|
+
}, et = {
|
|
8638
8971
|
root: {
|
|
8639
8972
|
class: [
|
|
8640
8973
|
"relative",
|
|
@@ -8875,7 +9208,7 @@ const h = {
|
|
|
8875
9208
|
"text-xs font-medium text-general-800"
|
|
8876
9209
|
]
|
|
8877
9210
|
})
|
|
8878
|
-
},
|
|
9211
|
+
}, tt = {
|
|
8879
9212
|
root: ({ props: e, state: t }) => ({
|
|
8880
9213
|
class: [
|
|
8881
9214
|
// Display and Position
|
|
@@ -9196,7 +9529,7 @@ const h = {
|
|
|
9196
9529
|
leaveActiveClass: "transition-opacity duration-100 ease-linear",
|
|
9197
9530
|
leaveToClass: "opacity-0"
|
|
9198
9531
|
}
|
|
9199
|
-
},
|
|
9532
|
+
}, rt = {
|
|
9200
9533
|
root: {
|
|
9201
9534
|
class: [
|
|
9202
9535
|
"relative",
|
|
@@ -9296,13 +9629,14 @@ const h = {
|
|
|
9296
9629
|
"duration-200"
|
|
9297
9630
|
]
|
|
9298
9631
|
}
|
|
9299
|
-
},
|
|
9632
|
+
}, st = {
|
|
9300
9633
|
root: {
|
|
9301
9634
|
class: ["!mt-0 text-danger-500 text-xs font-light"],
|
|
9302
9635
|
"data-wv-name": "validatormessage",
|
|
9303
9636
|
"data-wv-section": "root"
|
|
9304
9637
|
}
|
|
9305
|
-
},
|
|
9638
|
+
}, it = {
|
|
9639
|
+
// Must be a variable to works with Tailwindcss Intellisense
|
|
9306
9640
|
root: {
|
|
9307
9641
|
class: "flex gap-2 items-center",
|
|
9308
9642
|
"data-wv-name": "buttonbulkaction",
|
|
@@ -9331,7 +9665,7 @@ const h = {
|
|
|
9331
9665
|
class: "!p-0 !w-6 !h-6 [&_.icon]:!w-5 [&_.icon]:!h-5",
|
|
9332
9666
|
"data-wv-section": "buttonclearselection"
|
|
9333
9667
|
}
|
|
9334
|
-
},
|
|
9668
|
+
}, nt = {
|
|
9335
9669
|
root: {
|
|
9336
9670
|
class: "flex flex-nowrap items-center gap-1",
|
|
9337
9671
|
"data-wv-name": "badgegroup",
|
|
@@ -9343,7 +9677,7 @@ const h = {
|
|
|
9343
9677
|
},
|
|
9344
9678
|
showmoredialog: {
|
|
9345
9679
|
root: {
|
|
9346
|
-
class: [
|
|
9680
|
+
class: [C.root({ state: {} }).class, "w-[400px] !px-6 !py-3"],
|
|
9347
9681
|
"data-wv-section": "showmoredialog"
|
|
9348
9682
|
},
|
|
9349
9683
|
title: {
|
|
@@ -9356,7 +9690,7 @@ const h = {
|
|
|
9356
9690
|
}
|
|
9357
9691
|
// All section in Dialog Preset can be added here
|
|
9358
9692
|
}
|
|
9359
|
-
},
|
|
9693
|
+
}, ot = {
|
|
9360
9694
|
root: {
|
|
9361
9695
|
class: [
|
|
9362
9696
|
"flex gap-[5px] items-center text-left h-[21px]",
|
|
@@ -9381,16 +9715,16 @@ const h = {
|
|
|
9381
9715
|
content: ">",
|
|
9382
9716
|
"data-wv-section": "separator"
|
|
9383
9717
|
}
|
|
9384
|
-
},
|
|
9718
|
+
}, at = {
|
|
9385
9719
|
currency: (e) => ({
|
|
9386
|
-
class: [...
|
|
9720
|
+
class: [...f(e), "rounded-l rounded-r-none h-[30px]"],
|
|
9387
9721
|
"data-wv-section": "currency"
|
|
9388
9722
|
}),
|
|
9389
9723
|
value: (e) => ({
|
|
9390
|
-
class: [...
|
|
9724
|
+
class: [...f(e), "rounded-r rounded-l-none -ml-[1px]"],
|
|
9391
9725
|
"data-wv-section": "value"
|
|
9392
9726
|
})
|
|
9393
|
-
},
|
|
9727
|
+
}, lt = {
|
|
9394
9728
|
root: {
|
|
9395
9729
|
"data-wv-name": "fileupload",
|
|
9396
9730
|
"data-wv-section": "root"
|
|
@@ -9412,7 +9746,7 @@ const h = {
|
|
|
9412
9746
|
requirements: {
|
|
9413
9747
|
class: "flex justify-start"
|
|
9414
9748
|
}
|
|
9415
|
-
},
|
|
9749
|
+
}, ct = {
|
|
9416
9750
|
next: ({ context: e }) => ({
|
|
9417
9751
|
class: [
|
|
9418
9752
|
"text-2xl text-general-900",
|
|
@@ -9436,14 +9770,14 @@ const h = {
|
|
|
9436
9770
|
}
|
|
9437
9771
|
]
|
|
9438
9772
|
})
|
|
9439
|
-
},
|
|
9773
|
+
}, dt = {
|
|
9440
9774
|
root: {
|
|
9441
9775
|
class: [
|
|
9442
9776
|
"bg-primary-50 rounded-[7px] [&>*]:w-full [&>*]min-w-0",
|
|
9443
9777
|
"grid items-end p-3 gap-4"
|
|
9444
9778
|
]
|
|
9445
9779
|
}
|
|
9446
|
-
},
|
|
9780
|
+
}, ut = {
|
|
9447
9781
|
root: {
|
|
9448
9782
|
class: [
|
|
9449
9783
|
"w-screen h-screen fixed top-0 left-0 z-[9999999]",
|
|
@@ -9455,7 +9789,7 @@ const h = {
|
|
|
9455
9789
|
animation: {
|
|
9456
9790
|
class: ["w-[450px] h-auto"]
|
|
9457
9791
|
}
|
|
9458
|
-
},
|
|
9792
|
+
}, ft = {
|
|
9459
9793
|
root: {
|
|
9460
9794
|
class: "flex items-center gap-1"
|
|
9461
9795
|
},
|
|
@@ -9489,118 +9823,118 @@ const h = {
|
|
|
9489
9823
|
class: "flex flex-col gap-0.5 items-center justify-center"
|
|
9490
9824
|
}
|
|
9491
9825
|
}
|
|
9492
|
-
},
|
|
9493
|
-
badge:
|
|
9494
|
-
ripple:
|
|
9495
|
-
tooltip:
|
|
9496
|
-
},
|
|
9497
|
-
global:
|
|
9498
|
-
directives:
|
|
9826
|
+
}, gt = {
|
|
9827
|
+
badge: S,
|
|
9828
|
+
ripple: Ve,
|
|
9829
|
+
tooltip: Qe
|
|
9830
|
+
}, bt = {
|
|
9831
|
+
global: ae,
|
|
9832
|
+
directives: gt,
|
|
9499
9833
|
// Forms
|
|
9500
|
-
form:
|
|
9501
|
-
filtercontainer:
|
|
9502
|
-
autocomplete:
|
|
9503
|
-
dropdown:
|
|
9504
|
-
inputnumber:
|
|
9505
|
-
inputphonenumber:
|
|
9506
|
-
inputcurrency:
|
|
9507
|
-
inputotp:
|
|
9508
|
-
inputtext:
|
|
9509
|
-
inputbadge:
|
|
9510
|
-
calendar:
|
|
9511
|
-
checkbox:
|
|
9512
|
-
buttonradio:
|
|
9513
|
-
selectbutton:
|
|
9514
|
-
slider:
|
|
9515
|
-
chips:
|
|
9516
|
-
rating:
|
|
9834
|
+
form: ne,
|
|
9835
|
+
filtercontainer: dt,
|
|
9836
|
+
autocomplete: T,
|
|
9837
|
+
dropdown: re,
|
|
9838
|
+
inputnumber: me,
|
|
9839
|
+
inputphonenumber: pe,
|
|
9840
|
+
inputcurrency: at,
|
|
9841
|
+
inputotp: be,
|
|
9842
|
+
inputtext: z,
|
|
9843
|
+
inputbadge: de,
|
|
9844
|
+
calendar: E,
|
|
9845
|
+
checkbox: d,
|
|
9846
|
+
buttonradio: Pe,
|
|
9847
|
+
selectbutton: Ee,
|
|
9848
|
+
slider: Le,
|
|
9849
|
+
chips: O,
|
|
9850
|
+
rating: Ne,
|
|
9517
9851
|
multiselect: i,
|
|
9518
|
-
togglebutton:
|
|
9519
|
-
toggleswitch:
|
|
9520
|
-
cascadeselect:
|
|
9521
|
-
listbox:
|
|
9522
|
-
colorpicker:
|
|
9523
|
-
inputgroup:
|
|
9524
|
-
inputgroupaddon:
|
|
9525
|
-
inputmask:
|
|
9526
|
-
knob:
|
|
9527
|
-
treeselect:
|
|
9528
|
-
tristatecheckbox:
|
|
9529
|
-
textarea:
|
|
9530
|
-
password:
|
|
9531
|
-
validatormessage:
|
|
9532
|
-
fileupload:
|
|
9533
|
-
fieldwrapper:
|
|
9852
|
+
togglebutton: Xe,
|
|
9853
|
+
toggleswitch: u,
|
|
9854
|
+
cascadeselect: L,
|
|
9855
|
+
listbox: ve,
|
|
9856
|
+
colorpicker: K,
|
|
9857
|
+
inputgroup: ue,
|
|
9858
|
+
inputgroupaddon: fe,
|
|
9859
|
+
inputmask: ge,
|
|
9860
|
+
knob: xe,
|
|
9861
|
+
treeselect: tt,
|
|
9862
|
+
tristatecheckbox: rt,
|
|
9863
|
+
textarea: He,
|
|
9864
|
+
password: Ie,
|
|
9865
|
+
validatormessage: st,
|
|
9866
|
+
fileupload: lt,
|
|
9867
|
+
fieldwrapper: ie,
|
|
9534
9868
|
// Buttons
|
|
9535
|
-
button:
|
|
9536
|
-
buttondownload:
|
|
9537
|
-
buttonbulkaction:
|
|
9538
|
-
buttonsearch:
|
|
9539
|
-
buttonsplit:
|
|
9540
|
-
buttonfilter:
|
|
9541
|
-
splitbutton:
|
|
9869
|
+
button: P,
|
|
9870
|
+
buttondownload: N,
|
|
9871
|
+
buttonbulkaction: it,
|
|
9872
|
+
buttonsearch: $,
|
|
9873
|
+
buttonsplit: B,
|
|
9874
|
+
buttonfilter: V,
|
|
9875
|
+
splitbutton: Me,
|
|
9542
9876
|
// Data
|
|
9543
|
-
paginator:
|
|
9544
|
-
datatable:
|
|
9545
|
-
customcolumn:
|
|
9546
|
-
tree:
|
|
9547
|
-
dataview:
|
|
9548
|
-
dataviewlayoutoptions:
|
|
9549
|
-
organizationchart:
|
|
9550
|
-
orderlist:
|
|
9551
|
-
picklist:
|
|
9552
|
-
timeline:
|
|
9553
|
-
changelog:
|
|
9877
|
+
paginator: Ae,
|
|
9878
|
+
datatable: q,
|
|
9879
|
+
customcolumn: W,
|
|
9880
|
+
tree: et,
|
|
9881
|
+
dataview: J,
|
|
9882
|
+
dataviewlayoutoptions: X,
|
|
9883
|
+
organizationchart: ze,
|
|
9884
|
+
orderlist: Ce,
|
|
9885
|
+
picklist: Fe,
|
|
9886
|
+
timeline: qe,
|
|
9887
|
+
changelog: M,
|
|
9554
9888
|
// Panels
|
|
9555
|
-
accordion:
|
|
9556
|
-
panel:
|
|
9557
|
-
fieldset:
|
|
9558
|
-
card:
|
|
9559
|
-
tabview:
|
|
9560
|
-
divider:
|
|
9561
|
-
toolbar:
|
|
9562
|
-
scrollpanel:
|
|
9889
|
+
accordion: _,
|
|
9890
|
+
panel: _e,
|
|
9891
|
+
fieldset: se,
|
|
9892
|
+
card: G,
|
|
9893
|
+
tabview: We,
|
|
9894
|
+
divider: ee,
|
|
9895
|
+
toolbar: Ze,
|
|
9896
|
+
scrollpanel: $e,
|
|
9563
9897
|
// Menu
|
|
9564
|
-
contextmenu:
|
|
9565
|
-
menu:
|
|
9566
|
-
menubar:
|
|
9567
|
-
steps:
|
|
9568
|
-
breadcrumb:
|
|
9569
|
-
tieredmenu:
|
|
9570
|
-
panelmenu:
|
|
9571
|
-
megamenu:
|
|
9572
|
-
dock:
|
|
9573
|
-
tabmenu:
|
|
9898
|
+
contextmenu: Y,
|
|
9899
|
+
menu: ye,
|
|
9900
|
+
menubar: we,
|
|
9901
|
+
steps: Re,
|
|
9902
|
+
breadcrumb: ot,
|
|
9903
|
+
tieredmenu: Ye,
|
|
9904
|
+
panelmenu: Te,
|
|
9905
|
+
megamenu: he,
|
|
9906
|
+
dock: te,
|
|
9907
|
+
tabmenu: Oe,
|
|
9574
9908
|
// Overlays
|
|
9575
|
-
dialog:
|
|
9576
|
-
dialogconfirm:
|
|
9577
|
-
dialogform:
|
|
9578
|
-
overlaypanel:
|
|
9579
|
-
sidebar:
|
|
9580
|
-
confirmpopup:
|
|
9909
|
+
dialog: C,
|
|
9910
|
+
dialogconfirm: Z,
|
|
9911
|
+
dialogform: Q,
|
|
9912
|
+
overlaypanel: je,
|
|
9913
|
+
sidebar: Ge,
|
|
9914
|
+
confirmpopup: H,
|
|
9581
9915
|
// Messages
|
|
9582
|
-
message:
|
|
9583
|
-
inlinemessage:
|
|
9584
|
-
toast:
|
|
9916
|
+
message: ke,
|
|
9917
|
+
inlinemessage: ce,
|
|
9918
|
+
toast: Je,
|
|
9585
9919
|
// Media
|
|
9586
|
-
carousel:
|
|
9920
|
+
carousel: U,
|
|
9587
9921
|
// Misc
|
|
9588
|
-
badge:
|
|
9589
|
-
badgegroup:
|
|
9590
|
-
avatar:
|
|
9591
|
-
avatargroup:
|
|
9592
|
-
tag:
|
|
9593
|
-
chip:
|
|
9594
|
-
progressbar:
|
|
9595
|
-
skeleton:
|
|
9596
|
-
scrolltop:
|
|
9597
|
-
terminal:
|
|
9598
|
-
image:
|
|
9599
|
-
workcalendar:
|
|
9600
|
-
loading:
|
|
9601
|
-
codesnippet:
|
|
9602
|
-
username:
|
|
9922
|
+
badge: c,
|
|
9923
|
+
badgegroup: nt,
|
|
9924
|
+
avatar: I,
|
|
9925
|
+
avatargroup: F,
|
|
9926
|
+
tag: De,
|
|
9927
|
+
chip: R,
|
|
9928
|
+
progressbar: Se,
|
|
9929
|
+
skeleton: Ue,
|
|
9930
|
+
scrolltop: Be,
|
|
9931
|
+
terminal: Ke,
|
|
9932
|
+
image: le,
|
|
9933
|
+
workcalendar: ct,
|
|
9934
|
+
loading: ut,
|
|
9935
|
+
codesnippet: D,
|
|
9936
|
+
username: ft
|
|
9603
9937
|
};
|
|
9604
9938
|
export {
|
|
9605
|
-
|
|
9939
|
+
bt as default
|
|
9606
9940
|
};
|