@fewangsit/wangsvue-presets 1.0.107-alpha.1 → 1.0.107-alpha.3
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/colors.config.json +73 -73
- package/fixedasset/index.es.js +1 -0
- package/fixedasset/index.system.js +1 -1
- package/fixedasset/loading/index.js +1 -0
- package/fixedasset/style.css +13 -9
- package/globalsettings/colors.config.json +97 -97
- package/globalsettings/index.d.ts +2 -0
- package/globalsettings/index.es.js +103 -48
- package/globalsettings/index.js +2 -0
- package/globalsettings/index.system.js +2 -2
- package/globalsettings/inputotp/index.d.ts +2 -0
- package/globalsettings/inputotp/index.js +60 -0
- package/globalsettings/loading/index.js +1 -0
- package/globalsettings/style.css +14 -10
- package/package.json +13 -13
- package/supplyasset/colors.config.json +97 -97
- package/supplyasset/style.css +14 -10
- package/wangsvue/colors.config.json +76 -76
- package/wangsvue/style.css +13 -9
package/fixedasset/style.css
CHANGED
|
@@ -2408,6 +2408,10 @@
|
|
|
2408
2408
|
gap: 0.25rem;
|
|
2409
2409
|
}
|
|
2410
2410
|
|
|
2411
|
+
.gap-1\.5{
|
|
2412
|
+
gap: 0.375rem;
|
|
2413
|
+
}
|
|
2414
|
+
|
|
2411
2415
|
.gap-2{
|
|
2412
2416
|
gap: 0.5rem;
|
|
2413
2417
|
}
|
|
@@ -4827,49 +4831,49 @@
|
|
|
4827
4831
|
font-family: 'Manrope', sans-serif !important;
|
|
4828
4832
|
}
|
|
4829
4833
|
|
|
4830
|
-
h1,
|
|
4834
|
+
h1,
|
|
4831
4835
|
.heading-1{
|
|
4832
4836
|
font-size: 22px !important;
|
|
4833
4837
|
font-weight: 600 !important;
|
|
4834
4838
|
line-height: 1.75rem;
|
|
4835
4839
|
}
|
|
4836
4840
|
|
|
4837
|
-
h2,
|
|
4841
|
+
h2,
|
|
4838
4842
|
.heading-2{
|
|
4839
4843
|
font-size: 1.125rem !important;
|
|
4840
4844
|
font-weight: 600 !important;
|
|
4841
4845
|
line-height: 1.5rem;
|
|
4842
4846
|
}
|
|
4843
4847
|
|
|
4844
|
-
h3,
|
|
4848
|
+
h3,
|
|
4845
4849
|
.heading-3{
|
|
4846
4850
|
font-size: 1rem !important;
|
|
4847
4851
|
font-weight: 500 !important;
|
|
4848
4852
|
line-height: 1.25rem;
|
|
4849
4853
|
}
|
|
4850
4854
|
|
|
4851
|
-
h4,
|
|
4855
|
+
h4,
|
|
4852
4856
|
.heading-4{
|
|
4853
4857
|
font-size: 0.875rem !important;
|
|
4854
4858
|
font-weight: 500 !important;
|
|
4855
4859
|
line-height: 1rem;
|
|
4856
4860
|
}
|
|
4857
4861
|
|
|
4858
|
-
p,
|
|
4862
|
+
p,
|
|
4859
4863
|
.p{
|
|
4860
4864
|
font-size: 0.75rem !important;
|
|
4861
4865
|
font-weight: 500 !important;
|
|
4862
4866
|
line-height: 1rem;
|
|
4863
4867
|
}
|
|
4864
4868
|
|
|
4865
|
-
h5,
|
|
4869
|
+
h5,
|
|
4866
4870
|
.heading-5{
|
|
4867
4871
|
font-size: 0.75rem !important;
|
|
4868
4872
|
font-weight: 600 !important;
|
|
4869
4873
|
line-height: 1rem;
|
|
4870
4874
|
}
|
|
4871
4875
|
|
|
4872
|
-
h6,
|
|
4876
|
+
h6,
|
|
4873
4877
|
.heading-6{
|
|
4874
4878
|
font-size: 10px !important;
|
|
4875
4879
|
font-weight: 600 !important;
|
|
@@ -4880,7 +4884,7 @@ h6,
|
|
|
4880
4884
|
scrollbar-width: none;
|
|
4881
4885
|
}
|
|
4882
4886
|
|
|
4883
|
-
.scrollbar-w-thin,
|
|
4887
|
+
.scrollbar-w-thin,
|
|
4884
4888
|
.p-virtualscroller {
|
|
4885
4889
|
scrollbar-width: thin;
|
|
4886
4890
|
}
|
|
@@ -6710,4 +6714,4 @@ h6,
|
|
|
6710
6714
|
|
|
6711
6715
|
.\[\&_ul\]\:pl-6 ul{
|
|
6712
6716
|
padding-left: 1.5rem;
|
|
6713
|
-
}
|
|
6717
|
+
}
|
|
@@ -1,97 +1,97 @@
|
|
|
1
|
-
{
|
|
2
|
-
"danger-50": "#ffe5e9",
|
|
3
|
-
"danger-100": "#ffccd3",
|
|
4
|
-
"danger-200": "#ff99a7",
|
|
5
|
-
"danger-300": "#ff667a",
|
|
6
|
-
"danger-400": "#ff334e",
|
|
7
|
-
"danger-500": "#ff0022",
|
|
8
|
-
"danger-600": "#cc001b",
|
|
9
|
-
"danger-700": "#990014",
|
|
10
|
-
"danger-800": "#66000e",
|
|
11
|
-
"danger-900": "#330007",
|
|
12
|
-
"danger-950": "#190003",
|
|
13
|
-
|
|
14
|
-
"warning-50": "#fff9e5",
|
|
15
|
-
"warning-100": "#fff4cc",
|
|
16
|
-
"warning-200": "#ffe999",
|
|
17
|
-
"warning-300": "#ffde66",
|
|
18
|
-
"warning-400": "#ffd333",
|
|
19
|
-
"warning-500": "#ffc700",
|
|
20
|
-
"warning-600": "#cca000",
|
|
21
|
-
"warning-700": "#997800",
|
|
22
|
-
"warning-800": "#665000",
|
|
23
|
-
"warning-900": "#332800",
|
|
24
|
-
"warning-950": "#191400",
|
|
25
|
-
|
|
26
|
-
"success-50": "#dbffee",
|
|
27
|
-
"success-100": "#b8ffdc",
|
|
28
|
-
"success-200": "#75ffbc",
|
|
29
|
-
"success-300": "#2eff9a",
|
|
30
|
-
"success-400": "#00eb79",
|
|
31
|
-
"success-500": "#00a455",
|
|
32
|
-
"success-600": "#008545",
|
|
33
|
-
"success-700": "#006132",
|
|
34
|
-
"success-800": "#004222",
|
|
35
|
-
"success-900": "#001f10",
|
|
36
|
-
"success-950": "#000f08",
|
|
37
|
-
|
|
38
|
-
"grayscale-50": "#f7f7f7",
|
|
39
|
-
"grayscale-100": "#f2f2f2",
|
|
40
|
-
"grayscale-200": "#e5e6e6",
|
|
41
|
-
"grayscale-300": "#d8d9d9",
|
|
42
|
-
"grayscale-400": "#cbcccd",
|
|
43
|
-
"grayscale-500": "#bdbebf",
|
|
44
|
-
"grayscale-600": "#97999b",
|
|
45
|
-
"grayscale-700": "#717374",
|
|
46
|
-
"grayscale-800": "#4b4d4e",
|
|
47
|
-
"grayscale-900": "#262627",
|
|
48
|
-
"grayscale-950": "#121212",
|
|
49
|
-
|
|
50
|
-
"general-50": "#ebeaf0",
|
|
51
|
-
"general-100": "#dad9e3",
|
|
52
|
-
"general-200": "#b5b3c7",
|
|
53
|
-
"general-300": "#908cab",
|
|
54
|
-
"general-400": "#6c688d",
|
|
55
|
-
"general-500": "#4e4b66",
|
|
56
|
-
"general-600": "#3f3c52",
|
|
57
|
-
"general-700": "#2f2d3e",
|
|
58
|
-
"general-800": "#201e29",
|
|
59
|
-
"general-900": "#100f15",
|
|
60
|
-
"general-950": "#070609",
|
|
61
|
-
|
|
62
|
-
"primary-50": "#ebeaf0",
|
|
63
|
-
"primary-100": "#dad9e3",
|
|
64
|
-
"primary-200": "#b5b3c7",
|
|
65
|
-
"primary-300": "#908cab",
|
|
66
|
-
"primary-400": "#6c688d",
|
|
67
|
-
"primary-500": "#201e29",
|
|
68
|
-
"primary-600": "#100f15",
|
|
69
|
-
"primary-700": "#070609",
|
|
70
|
-
"primary-800": "#050407",
|
|
71
|
-
"primary-900": "#030204",
|
|
72
|
-
"primary-950": "#020103",
|
|
73
|
-
|
|
74
|
-
"fixed-primary-50": "#e5f0ff",
|
|
75
|
-
"fixed-primary-100": "#cce0ff",
|
|
76
|
-
"fixed-primary-200": "#94bfff",
|
|
77
|
-
"fixed-primary-300": "#61a0ff",
|
|
78
|
-
"fixed-primary-400": "#2e82ff",
|
|
79
|
-
"fixed-primary-500": "#0063f7",
|
|
80
|
-
"fixed-primary-600": "#0050c7",
|
|
81
|
-
"fixed-primary-700": "#003b94",
|
|
82
|
-
"fixed-primary-800": "#002761",
|
|
83
|
-
"fixed-primary-900": "#001433",
|
|
84
|
-
"fixed-primary-950": "#000a19",
|
|
85
|
-
|
|
86
|
-
"supply-primary-50": "#ECFDF5",
|
|
87
|
-
"supply-primary-100": "#d1fae5",
|
|
88
|
-
"supply-primary-200": "#a7f3d0",
|
|
89
|
-
"supply-primary-300": "#6ee7b7",
|
|
90
|
-
"supply-primary-400": "#34d399",
|
|
91
|
-
"supply-primary-500": "#10b981",
|
|
92
|
-
"supply-primary-600": "#059669",
|
|
93
|
-
"supply-primary-700": "#047857",
|
|
94
|
-
"supply-primary-800": "#065F46",
|
|
95
|
-
"supply-primary-900": "#064E3B",
|
|
96
|
-
"supply-primary-950": "#022C22"
|
|
97
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"danger-50": "#ffe5e9",
|
|
3
|
+
"danger-100": "#ffccd3",
|
|
4
|
+
"danger-200": "#ff99a7",
|
|
5
|
+
"danger-300": "#ff667a",
|
|
6
|
+
"danger-400": "#ff334e",
|
|
7
|
+
"danger-500": "#ff0022",
|
|
8
|
+
"danger-600": "#cc001b",
|
|
9
|
+
"danger-700": "#990014",
|
|
10
|
+
"danger-800": "#66000e",
|
|
11
|
+
"danger-900": "#330007",
|
|
12
|
+
"danger-950": "#190003",
|
|
13
|
+
|
|
14
|
+
"warning-50": "#fff9e5",
|
|
15
|
+
"warning-100": "#fff4cc",
|
|
16
|
+
"warning-200": "#ffe999",
|
|
17
|
+
"warning-300": "#ffde66",
|
|
18
|
+
"warning-400": "#ffd333",
|
|
19
|
+
"warning-500": "#ffc700",
|
|
20
|
+
"warning-600": "#cca000",
|
|
21
|
+
"warning-700": "#997800",
|
|
22
|
+
"warning-800": "#665000",
|
|
23
|
+
"warning-900": "#332800",
|
|
24
|
+
"warning-950": "#191400",
|
|
25
|
+
|
|
26
|
+
"success-50": "#dbffee",
|
|
27
|
+
"success-100": "#b8ffdc",
|
|
28
|
+
"success-200": "#75ffbc",
|
|
29
|
+
"success-300": "#2eff9a",
|
|
30
|
+
"success-400": "#00eb79",
|
|
31
|
+
"success-500": "#00a455",
|
|
32
|
+
"success-600": "#008545",
|
|
33
|
+
"success-700": "#006132",
|
|
34
|
+
"success-800": "#004222",
|
|
35
|
+
"success-900": "#001f10",
|
|
36
|
+
"success-950": "#000f08",
|
|
37
|
+
|
|
38
|
+
"grayscale-50": "#f7f7f7",
|
|
39
|
+
"grayscale-100": "#f2f2f2",
|
|
40
|
+
"grayscale-200": "#e5e6e6",
|
|
41
|
+
"grayscale-300": "#d8d9d9",
|
|
42
|
+
"grayscale-400": "#cbcccd",
|
|
43
|
+
"grayscale-500": "#bdbebf",
|
|
44
|
+
"grayscale-600": "#97999b",
|
|
45
|
+
"grayscale-700": "#717374",
|
|
46
|
+
"grayscale-800": "#4b4d4e",
|
|
47
|
+
"grayscale-900": "#262627",
|
|
48
|
+
"grayscale-950": "#121212",
|
|
49
|
+
|
|
50
|
+
"general-50": "#ebeaf0",
|
|
51
|
+
"general-100": "#dad9e3",
|
|
52
|
+
"general-200": "#b5b3c7",
|
|
53
|
+
"general-300": "#908cab",
|
|
54
|
+
"general-400": "#6c688d",
|
|
55
|
+
"general-500": "#4e4b66",
|
|
56
|
+
"general-600": "#3f3c52",
|
|
57
|
+
"general-700": "#2f2d3e",
|
|
58
|
+
"general-800": "#201e29",
|
|
59
|
+
"general-900": "#100f15",
|
|
60
|
+
"general-950": "#070609",
|
|
61
|
+
|
|
62
|
+
"primary-50": "#ebeaf0",
|
|
63
|
+
"primary-100": "#dad9e3",
|
|
64
|
+
"primary-200": "#b5b3c7",
|
|
65
|
+
"primary-300": "#908cab",
|
|
66
|
+
"primary-400": "#6c688d",
|
|
67
|
+
"primary-500": "#201e29",
|
|
68
|
+
"primary-600": "#100f15",
|
|
69
|
+
"primary-700": "#070609",
|
|
70
|
+
"primary-800": "#050407",
|
|
71
|
+
"primary-900": "#030204",
|
|
72
|
+
"primary-950": "#020103",
|
|
73
|
+
|
|
74
|
+
"fixed-primary-50": "#e5f0ff",
|
|
75
|
+
"fixed-primary-100": "#cce0ff",
|
|
76
|
+
"fixed-primary-200": "#94bfff",
|
|
77
|
+
"fixed-primary-300": "#61a0ff",
|
|
78
|
+
"fixed-primary-400": "#2e82ff",
|
|
79
|
+
"fixed-primary-500": "#0063f7",
|
|
80
|
+
"fixed-primary-600": "#0050c7",
|
|
81
|
+
"fixed-primary-700": "#003b94",
|
|
82
|
+
"fixed-primary-800": "#002761",
|
|
83
|
+
"fixed-primary-900": "#001433",
|
|
84
|
+
"fixed-primary-950": "#000a19",
|
|
85
|
+
|
|
86
|
+
"supply-primary-50": "#ECFDF5",
|
|
87
|
+
"supply-primary-100": "#d1fae5",
|
|
88
|
+
"supply-primary-200": "#a7f3d0",
|
|
89
|
+
"supply-primary-300": "#6ee7b7",
|
|
90
|
+
"supply-primary-400": "#34d399",
|
|
91
|
+
"supply-primary-500": "#10b981",
|
|
92
|
+
"supply-primary-600": "#059669",
|
|
93
|
+
"supply-primary-700": "#047857",
|
|
94
|
+
"supply-primary-800": "#065F46",
|
|
95
|
+
"supply-primary-900": "#064E3B",
|
|
96
|
+
"supply-primary-950": "#022C22"
|
|
97
|
+
}
|
|
@@ -10,6 +10,7 @@ declare namespace globalsettings {
|
|
|
10
10
|
export { inputcurrency };
|
|
11
11
|
export { inputtext };
|
|
12
12
|
export { inputbadge };
|
|
13
|
+
export { inputotp };
|
|
13
14
|
export { calendar };
|
|
14
15
|
export { checkbox };
|
|
15
16
|
export { buttonradio };
|
|
@@ -72,6 +73,7 @@ import inputphonenumber from './inputphonenumber/index.js';
|
|
|
72
73
|
import inputcurrency from './inputcurrency';
|
|
73
74
|
import inputtext from './inputtext/index.js';
|
|
74
75
|
import inputbadge from './inputbadge/index.js';
|
|
76
|
+
import inputotp from './inputotp';
|
|
75
77
|
import calendar from './calendar/index';
|
|
76
78
|
import checkbox from './checkbox/index.js';
|
|
77
79
|
import buttonradio from './buttonradio/index.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var z = Object.defineProperty;
|
|
2
|
-
var
|
|
3
|
-
var b = (e, t, a) =>
|
|
4
|
-
const
|
|
2
|
+
var A = (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) => A(e, typeof t != "symbol" ? t + "" : t, a);
|
|
4
|
+
const _ = {
|
|
5
5
|
accordiontab: {
|
|
6
6
|
header: ({ props: e }) => ({
|
|
7
7
|
class: [
|
|
@@ -112,7 +112,7 @@ const A = {
|
|
|
112
112
|
"icon-class": "w-[10px] h-[10px] !text-[10px]",
|
|
113
113
|
"data-wv-section": "removebutton"
|
|
114
114
|
})
|
|
115
|
-
},
|
|
115
|
+
}, N = {
|
|
116
116
|
root: ({ context: e }) => ({
|
|
117
117
|
class: [
|
|
118
118
|
// Font
|
|
@@ -150,7 +150,7 @@ const A = {
|
|
|
150
150
|
}
|
|
151
151
|
]
|
|
152
152
|
})
|
|
153
|
-
},
|
|
153
|
+
}, S = {
|
|
154
154
|
root: ({ props: e, context: t }) => ({
|
|
155
155
|
class: [
|
|
156
156
|
"relative",
|
|
@@ -467,7 +467,7 @@ const A = {
|
|
|
467
467
|
}
|
|
468
468
|
]
|
|
469
469
|
})
|
|
470
|
-
},
|
|
470
|
+
}, T = {
|
|
471
471
|
root: ({ props: e }) => ({
|
|
472
472
|
class: [
|
|
473
473
|
"rounded ring-1 ring-success-500 p-[5px] ring-inset",
|
|
@@ -501,7 +501,7 @@ const A = {
|
|
|
501
501
|
],
|
|
502
502
|
"data-wv-section": "icon"
|
|
503
503
|
})
|
|
504
|
-
},
|
|
504
|
+
}, I = {
|
|
505
505
|
buttontrigger: {
|
|
506
506
|
root: ({ context: e }) => ({
|
|
507
507
|
class: [
|
|
@@ -550,7 +550,7 @@ const A = {
|
|
|
550
550
|
inputtext: {
|
|
551
551
|
class: "!h-max !py-0 !px-0"
|
|
552
552
|
}
|
|
553
|
-
},
|
|
553
|
+
}, F = {
|
|
554
554
|
root: ["w-max"],
|
|
555
555
|
button: {
|
|
556
556
|
class: [
|
|
@@ -559,7 +559,7 @@ const A = {
|
|
|
559
559
|
"data-sp-section": "button-split"
|
|
560
560
|
},
|
|
561
561
|
menuButton: "!rounded-ss-none !rounded-es-none"
|
|
562
|
-
}, h = navigator.userAgent.includes("Chrome"),
|
|
562
|
+
}, h = navigator.userAgent.includes("Chrome"), U = {
|
|
563
563
|
root: ({ props: e }) => ({
|
|
564
564
|
class: [
|
|
565
565
|
// Display and Position
|
|
@@ -1147,7 +1147,7 @@ const A = {
|
|
|
1147
1147
|
leaveActiveClass: "transition-opacity duration-100 ease-linear",
|
|
1148
1148
|
leaveToClass: "opacity-0"
|
|
1149
1149
|
}
|
|
1150
|
-
},
|
|
1150
|
+
}, V = {
|
|
1151
1151
|
root: {
|
|
1152
1152
|
class: [
|
|
1153
1153
|
//Shape
|
|
@@ -1176,7 +1176,7 @@ const A = {
|
|
|
1176
1176
|
footer: {
|
|
1177
1177
|
class: ["inline-flex gap-1 text-xs items-center"]
|
|
1178
1178
|
}
|
|
1179
|
-
},
|
|
1179
|
+
}, E = {
|
|
1180
1180
|
root: {
|
|
1181
1181
|
class: [
|
|
1182
1182
|
// Flexbox
|
|
@@ -1290,7 +1290,7 @@ const A = {
|
|
|
1290
1290
|
}
|
|
1291
1291
|
]
|
|
1292
1292
|
})
|
|
1293
|
-
},
|
|
1293
|
+
}, G = {
|
|
1294
1294
|
button: ({ props: e, buttonClass: t }) => ({
|
|
1295
1295
|
class: [
|
|
1296
1296
|
t,
|
|
@@ -1439,7 +1439,7 @@ const A = {
|
|
|
1439
1439
|
tooltipicon: {
|
|
1440
1440
|
class: "text-primary-500 w-[10px] h-[10px]"
|
|
1441
1441
|
}
|
|
1442
|
-
},
|
|
1442
|
+
}, B = {
|
|
1443
1443
|
copybutton: {
|
|
1444
1444
|
class: "peer-hover:visible scale-125 !absolute top-2 right-2 z-50"
|
|
1445
1445
|
},
|
|
@@ -1483,7 +1483,7 @@ const A = {
|
|
|
1483
1483
|
{ invisible: e.dragable === !1 }
|
|
1484
1484
|
]
|
|
1485
1485
|
})
|
|
1486
|
-
},
|
|
1486
|
+
}, O = {
|
|
1487
1487
|
root: {
|
|
1488
1488
|
"data-wv-name": "datatable",
|
|
1489
1489
|
"data-wv-section": "root",
|
|
@@ -1938,7 +1938,7 @@ const A = {
|
|
|
1938
1938
|
class: "flex items-end justify-end gap-1 !mt-0",
|
|
1939
1939
|
"data-wv-section": "dialog-confirm-footer"
|
|
1940
1940
|
}
|
|
1941
|
-
},
|
|
1941
|
+
}, $ = {
|
|
1942
1942
|
root: {
|
|
1943
1943
|
class: ["max-w-[90vw]"],
|
|
1944
1944
|
style: (e) => `width: ${e}`,
|
|
@@ -2274,7 +2274,7 @@ const A = {
|
|
|
2274
2274
|
leaveActiveClass: "transition-opacity duration-100 ease-linear",
|
|
2275
2275
|
leaveToClass: "opacity-0"
|
|
2276
2276
|
}
|
|
2277
|
-
},
|
|
2277
|
+
}, M = {
|
|
2278
2278
|
root: ({ props: e, state: t }) => ({
|
|
2279
2279
|
class: [
|
|
2280
2280
|
// Display and Position
|
|
@@ -2465,7 +2465,7 @@ const A = {
|
|
|
2465
2465
|
loadingplaceholder: {
|
|
2466
2466
|
class: "text-general-200 font-light"
|
|
2467
2467
|
}
|
|
2468
|
-
},
|
|
2468
|
+
}, W = {
|
|
2469
2469
|
// :class="['ts-form', { 'sticky-buttons': props.stickyButtons }]"
|
|
2470
2470
|
root: () => ({
|
|
2471
2471
|
class: [
|
|
@@ -2506,7 +2506,7 @@ const A = {
|
|
|
2506
2506
|
"validator-message": {
|
|
2507
2507
|
class: ["static w-max transform-none"]
|
|
2508
2508
|
}
|
|
2509
|
-
},
|
|
2509
|
+
}, D = [
|
|
2510
2510
|
{
|
|
2511
2511
|
"ring-1 p-[1px]": navigator.userAgent.includes("Firefox"),
|
|
2512
2512
|
"ring-[0.5px] p-[0.5px]": !navigator.userAgent.includes("Firefox")
|
|
@@ -4008,10 +4008,10 @@ const A = {
|
|
|
4008
4008
|
]
|
|
4009
4009
|
})
|
|
4010
4010
|
};
|
|
4011
|
-
function
|
|
4011
|
+
function m(e, t) {
|
|
4012
4012
|
return { [e]: t }[e];
|
|
4013
4013
|
}
|
|
4014
|
-
|
|
4014
|
+
m("WANGS-TAB-MENU", {
|
|
4015
4015
|
root: {
|
|
4016
4016
|
class: "overflow-x-visible"
|
|
4017
4017
|
},
|
|
@@ -4095,7 +4095,7 @@ x("WANGS-TAB-MENU", {
|
|
|
4095
4095
|
class: ["grow border-b-2 border-grayscale-400", { hidden: e.type === "pill" || e.useTrailingLine === !1 || e.type === "segmented" }]
|
|
4096
4096
|
})
|
|
4097
4097
|
});
|
|
4098
|
-
|
|
4098
|
+
m("WANGS-INPUT-OTP", {
|
|
4099
4099
|
root: {
|
|
4100
4100
|
class: [
|
|
4101
4101
|
// Alignment
|
|
@@ -4314,9 +4314,9 @@ const l = class l {
|
|
|
4314
4314
|
}
|
|
4315
4315
|
};
|
|
4316
4316
|
b(l, "SINGLETON_KEY", "__WANGS_UI_ROUTER_INSTANCE__");
|
|
4317
|
-
let
|
|
4318
|
-
new
|
|
4319
|
-
const oe =
|
|
4317
|
+
let x = l;
|
|
4318
|
+
new x();
|
|
4319
|
+
const oe = m("WANGS-TAB-MENU", {
|
|
4320
4320
|
root: {
|
|
4321
4321
|
class: "overflow-x-auto",
|
|
4322
4322
|
style: "scrollbar-width: none"
|
|
@@ -4422,7 +4422,7 @@ const oe = x("WANGS-TAB-MENU", {
|
|
|
4422
4422
|
// Shape
|
|
4423
4423
|
"rounded",
|
|
4424
4424
|
"appearance-none",
|
|
4425
|
-
...
|
|
4425
|
+
...D,
|
|
4426
4426
|
{
|
|
4427
4427
|
"!ring-danger-500": e.invalidInput
|
|
4428
4428
|
},
|
|
@@ -4700,7 +4700,7 @@ const oe = x("WANGS-TAB-MENU", {
|
|
|
4700
4700
|
"break-words"
|
|
4701
4701
|
]
|
|
4702
4702
|
}
|
|
4703
|
-
},
|
|
4703
|
+
}, me = {
|
|
4704
4704
|
root: {
|
|
4705
4705
|
class: [
|
|
4706
4706
|
"relative",
|
|
@@ -4955,7 +4955,7 @@ const oe = x("WANGS-TAB-MENU", {
|
|
|
4955
4955
|
}
|
|
4956
4956
|
]
|
|
4957
4957
|
})
|
|
4958
|
-
},
|
|
4958
|
+
}, be = {
|
|
4959
4959
|
root: ({ props: e, state: t }) => ({
|
|
4960
4960
|
class: [
|
|
4961
4961
|
// Display and Position
|
|
@@ -5559,6 +5559,7 @@ const oe = x("WANGS-TAB-MENU", {
|
|
|
5559
5559
|
class: [
|
|
5560
5560
|
"w-screen h-screen fixed top-0 left-0 z-[9999999]",
|
|
5561
5561
|
"bg-white",
|
|
5562
|
+
"text-base",
|
|
5562
5563
|
"flex flex-col items-center justify-center",
|
|
5563
5564
|
"transition-opacity"
|
|
5564
5565
|
]
|
|
@@ -5566,7 +5567,7 @@ const oe = x("WANGS-TAB-MENU", {
|
|
|
5566
5567
|
animation: {
|
|
5567
5568
|
class: ["w-[700px] h-auto"]
|
|
5568
5569
|
}
|
|
5569
|
-
},
|
|
5570
|
+
}, Ae = {
|
|
5570
5571
|
root: {
|
|
5571
5572
|
class: "flex items-center gap-1"
|
|
5572
5573
|
},
|
|
@@ -5600,23 +5601,77 @@ const oe = x("WANGS-TAB-MENU", {
|
|
|
5600
5601
|
class: "flex flex-col gap-0.5 items-center justify-center"
|
|
5601
5602
|
}
|
|
5602
5603
|
}
|
|
5603
|
-
},
|
|
5604
|
-
|
|
5604
|
+
}, _e = m("WANGS-INPUT-OTP", {
|
|
5605
|
+
root: {
|
|
5606
|
+
class: [
|
|
5607
|
+
// Alignment
|
|
5608
|
+
"flex items-center",
|
|
5609
|
+
"gap-1.5",
|
|
5610
|
+
"w-max"
|
|
5611
|
+
]
|
|
5612
|
+
},
|
|
5613
|
+
input: ({ props: e, context: t, parent: a }) => ({
|
|
5614
|
+
class: [
|
|
5615
|
+
// Font
|
|
5616
|
+
"text-[14px] leading-none font-medium",
|
|
5617
|
+
// Flex & Alignment
|
|
5618
|
+
{ "flex-1 w-[1%]": a.tagName == "WANGS-INPUT-GROUP" },
|
|
5619
|
+
"text-center",
|
|
5620
|
+
// Spacing
|
|
5621
|
+
"m-0",
|
|
5622
|
+
// Size
|
|
5623
|
+
"w-[42px] h-[42px]",
|
|
5624
|
+
// Shape
|
|
5625
|
+
{ "rounded-md": a.tagName !== "WANGS-INPUT-GROUP" },
|
|
5626
|
+
{
|
|
5627
|
+
"first:rounded-l-md rounded-none last:rounded-r-md": a.tagName == "WANGS-INPUT-GROUP"
|
|
5628
|
+
},
|
|
5629
|
+
{
|
|
5630
|
+
"border-0 border-y border-l last:border-r": a.tagName == "WANGS-INPUT-GROUP"
|
|
5631
|
+
},
|
|
5632
|
+
// Colors
|
|
5633
|
+
"text-general-800 dark:text-general-800",
|
|
5634
|
+
"placeholder:text-surface-400 dark:placeholder:text-surface-500",
|
|
5635
|
+
"bg-white dark:bg-white",
|
|
5636
|
+
{
|
|
5637
|
+
"ring-1": navigator.userAgent.includes("Firefox"),
|
|
5638
|
+
"ring-[0.5px]": !navigator.userAgent.includes("Firefox")
|
|
5639
|
+
},
|
|
5640
|
+
{ "ring-general-200 dark:ring-general-200": !e.invalid },
|
|
5641
|
+
// Invalid State
|
|
5642
|
+
{ "ring-danger-500 dark:ring-danger-500": e.invalid },
|
|
5643
|
+
// States
|
|
5644
|
+
{
|
|
5645
|
+
"hover:bg-primary-50/30 hover:ring-primary-500 dark:hover:ring-primary-400": !t.disabled && !e.invalid,
|
|
5646
|
+
"focus:bg-primary-50/30 focus:ring-primary-500 dark:focus:ring-primary-400": !t.disabled && !e.invalid,
|
|
5647
|
+
"focus:outline-none focus:outline-offset-0": !t.disabled,
|
|
5648
|
+
"opacity-60 select-none pointer-events-none cursor-default": t.disabled
|
|
5649
|
+
},
|
|
5650
|
+
// Filled State *for FloatLabel
|
|
5651
|
+
{ filled: a.tagName == "WANGS-FLOAT-LABEL" && t.filled },
|
|
5652
|
+
// Misc
|
|
5653
|
+
"appearance-none",
|
|
5654
|
+
"transition-colors duration-200"
|
|
5655
|
+
]
|
|
5656
|
+
})
|
|
5657
|
+
}), Ne = {
|
|
5658
|
+
badge: N,
|
|
5605
5659
|
ripple: le,
|
|
5606
5660
|
tooltip: fe
|
|
5607
5661
|
}, Te = {
|
|
5608
5662
|
global: H,
|
|
5609
|
-
directives:
|
|
5663
|
+
directives: Ne,
|
|
5610
5664
|
// Forms
|
|
5611
|
-
form:
|
|
5665
|
+
form: W,
|
|
5612
5666
|
filtercontainer: je,
|
|
5613
|
-
dropdown:
|
|
5667
|
+
dropdown: M,
|
|
5614
5668
|
inputnumber: Q,
|
|
5615
5669
|
inputphonenumber: X,
|
|
5616
5670
|
inputcurrency: pe,
|
|
5617
5671
|
inputtext: j,
|
|
5618
5672
|
inputbadge: q,
|
|
5619
|
-
|
|
5673
|
+
inputotp: _e,
|
|
5674
|
+
calendar: U,
|
|
5620
5675
|
checkbox: c,
|
|
5621
5676
|
buttonradio: ie,
|
|
5622
5677
|
multiselect: n,
|
|
@@ -5624,7 +5679,7 @@ const oe = x("WANGS-TAB-MENU", {
|
|
|
5624
5679
|
toggleswitch: u,
|
|
5625
5680
|
inputgroup: J,
|
|
5626
5681
|
inputgroupaddon: Z,
|
|
5627
|
-
treeselect:
|
|
5682
|
+
treeselect: be,
|
|
5628
5683
|
tristatecheckbox: xe,
|
|
5629
5684
|
textarea: de,
|
|
5630
5685
|
password: ne,
|
|
@@ -5632,22 +5687,22 @@ const oe = x("WANGS-TAB-MENU", {
|
|
|
5632
5687
|
fileupload: ke,
|
|
5633
5688
|
fieldwrapper: Ce,
|
|
5634
5689
|
// Buttons
|
|
5635
|
-
button:
|
|
5636
|
-
buttondownload:
|
|
5690
|
+
button: S,
|
|
5691
|
+
buttondownload: T,
|
|
5637
5692
|
buttonbulkaction: ve,
|
|
5638
|
-
buttonsearch:
|
|
5639
|
-
buttonsplit:
|
|
5693
|
+
buttonsearch: I,
|
|
5694
|
+
buttonsplit: F,
|
|
5640
5695
|
buttonfilter: P,
|
|
5641
5696
|
// Data
|
|
5642
5697
|
paginator: re,
|
|
5643
|
-
datatable:
|
|
5698
|
+
datatable: O,
|
|
5644
5699
|
customcolumn: L,
|
|
5645
|
-
tree:
|
|
5700
|
+
tree: me,
|
|
5646
5701
|
timeline: ce,
|
|
5647
|
-
changelog:
|
|
5702
|
+
changelog: G,
|
|
5648
5703
|
// Panels
|
|
5649
|
-
accordion:
|
|
5650
|
-
card:
|
|
5704
|
+
accordion: _,
|
|
5705
|
+
card: V,
|
|
5651
5706
|
// Menu
|
|
5652
5707
|
menu: ee,
|
|
5653
5708
|
steps: se,
|
|
@@ -5656,21 +5711,21 @@ const oe = x("WANGS-TAB-MENU", {
|
|
|
5656
5711
|
// Overlays
|
|
5657
5712
|
dialog: C,
|
|
5658
5713
|
dialogconfirm: R,
|
|
5659
|
-
dialogform:
|
|
5714
|
+
dialogform: $,
|
|
5660
5715
|
overlaypanel: ae,
|
|
5661
5716
|
// Messages
|
|
5662
5717
|
message: te,
|
|
5663
5718
|
inlinemessage: Y,
|
|
5664
5719
|
toast: ue,
|
|
5665
5720
|
// Media
|
|
5666
|
-
carousel:
|
|
5721
|
+
carousel: E,
|
|
5667
5722
|
// Misc
|
|
5668
5723
|
badge: d,
|
|
5669
5724
|
badgegroup: ye,
|
|
5670
5725
|
image: K,
|
|
5671
5726
|
loading: ze,
|
|
5672
|
-
codesnippet:
|
|
5673
|
-
username:
|
|
5727
|
+
codesnippet: B,
|
|
5728
|
+
username: Ae
|
|
5674
5729
|
};
|
|
5675
5730
|
export {
|
|
5676
5731
|
Te as default
|
package/globalsettings/index.js
CHANGED
|
@@ -59,6 +59,7 @@ var filtercontainer_1 = require("./filtercontainer");
|
|
|
59
59
|
var toggleswitch_1 = require("./toggleswitch");
|
|
60
60
|
var loading_1 = require("./loading");
|
|
61
61
|
var username_1 = require("./username");
|
|
62
|
+
var inputotp_1 = require("./inputotp");
|
|
62
63
|
var directives = {
|
|
63
64
|
badge: index_js_3.default,
|
|
64
65
|
ripple: index_js_35.default,
|
|
@@ -76,6 +77,7 @@ var globalsettings = {
|
|
|
76
77
|
inputcurrency: inputcurrency_1.default,
|
|
77
78
|
inputtext: index_js_27.default,
|
|
78
79
|
inputbadge: index_js_22.default,
|
|
80
|
+
inputotp: inputotp_1.default,
|
|
79
81
|
calendar: index_1.default,
|
|
80
82
|
checkbox: index_js_12.default,
|
|
81
83
|
buttonradio: index_js_34.default,
|