@fewangsit/wangsvue-presets 2.0.0-alpha.1 → 2.0.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/colors.config.json +73 -73
- package/fixedasset/datatable/index.d.ts +5 -4
- package/fixedasset/datatable/index.js +5 -4
- package/fixedasset/index.es.js +5 -4
- package/fixedasset/index.system.js +1 -1
- package/fixedasset/style.css +110 -110
- package/globalsettings/colors.config.json +97 -97
- package/globalsettings/datatable/index.d.ts +5 -4
- package/globalsettings/datatable/index.js +5 -4
- package/globalsettings/index.es.js +25 -24
- package/globalsettings/index.system.js +2 -2
- package/globalsettings/style.css +111 -111
- package/package.json +13 -13
- package/supplyasset/colors.config.json +97 -97
- package/supplyasset/datatable/index.d.ts +5 -4
- package/supplyasset/datatable/index.js +5 -4
- package/supplyasset/index.es.js +9 -8
- package/supplyasset/index.system.js +2 -2
- package/supplyasset/style.css +111 -111
- package/wangsvue/colors.config.json +76 -76
- package/wangsvue/datatable/index.d.ts +5 -4
- package/wangsvue/datatable/index.js +5 -4
- package/wangsvue/index.es.js +13 -12
- package/wangsvue/index.system.js +2 -2
- package/wangsvue/style.css +88 -88
|
@@ -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
|
+
}
|
|
@@ -246,10 +246,11 @@ declare namespace definePreset {
|
|
|
246
246
|
context: any;
|
|
247
247
|
}): {
|
|
248
248
|
class: (string | {
|
|
249
|
-
'sticky right-0
|
|
250
|
-
'
|
|
251
|
-
'
|
|
252
|
-
'group-hover
|
|
249
|
+
'sticky right-0': any;
|
|
250
|
+
'bg-white': boolean;
|
|
251
|
+
'bg-primary-50': any;
|
|
252
|
+
'group-hover:bg-grayscale-50': boolean;
|
|
253
|
+
'group-hover:bg-warning-300 bg-warning-200': any;
|
|
253
254
|
})[];
|
|
254
255
|
'data-wv-section': string;
|
|
255
256
|
};
|
|
@@ -198,10 +198,11 @@ var definePreset = {
|
|
|
198
198
|
'class': [
|
|
199
199
|
'w-[35px]',
|
|
200
200
|
{
|
|
201
|
-
'sticky right-0
|
|
202
|
-
'
|
|
203
|
-
'
|
|
204
|
-
'group-hover
|
|
201
|
+
'sticky right-0': props.useOption,
|
|
202
|
+
'bg-white': props.useOption && !context.selected && !context.highlighted,
|
|
203
|
+
'bg-primary-50': context.selected,
|
|
204
|
+
'group-hover:bg-grayscale-50': !context.highlighted && !context.selected,
|
|
205
|
+
'group-hover:bg-warning-300 bg-warning-200': context.highlighted,
|
|
205
206
|
},
|
|
206
207
|
],
|
|
207
208
|
'data-wv-section': 'rowsingleactioncell',
|
|
@@ -798,7 +798,7 @@ const C = {
|
|
|
798
798
|
],
|
|
799
799
|
"data-wv-section": "icon"
|
|
800
800
|
})
|
|
801
|
-
}, m = navigator.userAgent.includes("Chrome"),
|
|
801
|
+
}, m = navigator.userAgent.includes("Chrome"), d = {
|
|
802
802
|
root: ({ props: e }) => ({
|
|
803
803
|
class: [
|
|
804
804
|
// Alignments
|
|
@@ -991,9 +991,9 @@ const C = {
|
|
|
991
991
|
icon: {
|
|
992
992
|
class: "hidden"
|
|
993
993
|
},
|
|
994
|
-
label:
|
|
995
|
-
labeltext:
|
|
996
|
-
tooltipicon:
|
|
994
|
+
label: d.label,
|
|
995
|
+
labeltext: d.labeltext,
|
|
996
|
+
tooltipicon: d.tooltipicon
|
|
997
997
|
}, I = {
|
|
998
998
|
buttontrigger: {
|
|
999
999
|
root: ({ context: e }) => ({
|
|
@@ -1826,7 +1826,7 @@ const C = {
|
|
|
1826
1826
|
buttondownload: {
|
|
1827
1827
|
"data-wv-section": "changelog-dialog-button-download"
|
|
1828
1828
|
}
|
|
1829
|
-
},
|
|
1829
|
+
}, c = {
|
|
1830
1830
|
root: {
|
|
1831
1831
|
class: [
|
|
1832
1832
|
"relative",
|
|
@@ -1938,7 +1938,7 @@ const C = {
|
|
|
1938
1938
|
tooltipicon: {
|
|
1939
1939
|
class: "text-primary-500 w-[10px] h-[10px]"
|
|
1940
1940
|
}
|
|
1941
|
-
},
|
|
1941
|
+
}, O = {
|
|
1942
1942
|
copybutton: {
|
|
1943
1943
|
class: "peer-hover:visible scale-125 !absolute top-2 right-2 z-50"
|
|
1944
1944
|
},
|
|
@@ -1958,7 +1958,7 @@ const C = {
|
|
|
1958
1958
|
"px-2 bg-primary-100 sticky left-0 text-right select-none"
|
|
1959
1959
|
]
|
|
1960
1960
|
}
|
|
1961
|
-
},
|
|
1961
|
+
}, B = {
|
|
1962
1962
|
menustart: {
|
|
1963
1963
|
class: ""
|
|
1964
1964
|
},
|
|
@@ -1982,7 +1982,7 @@ const C = {
|
|
|
1982
1982
|
{ invisible: e.dragable === !1 }
|
|
1983
1983
|
]
|
|
1984
1984
|
})
|
|
1985
|
-
},
|
|
1985
|
+
}, L = {
|
|
1986
1986
|
root: {
|
|
1987
1987
|
"data-wv-name": "datatable",
|
|
1988
1988
|
"data-wv-section": "root",
|
|
@@ -2154,10 +2154,11 @@ const C = {
|
|
|
2154
2154
|
class: [
|
|
2155
2155
|
"w-[35px]",
|
|
2156
2156
|
{
|
|
2157
|
-
"sticky right-0
|
|
2158
|
-
"
|
|
2159
|
-
"
|
|
2160
|
-
"group-hover
|
|
2157
|
+
"sticky right-0": e.useOption,
|
|
2158
|
+
"bg-white": e.useOption && !t.selected && !t.highlighted,
|
|
2159
|
+
"bg-primary-50": t.selected,
|
|
2160
|
+
"group-hover:bg-grayscale-50": !t.highlighted && !t.selected,
|
|
2161
|
+
"group-hover:bg-warning-300 bg-warning-200": t.highlighted
|
|
2161
2162
|
}
|
|
2162
2163
|
],
|
|
2163
2164
|
"data-wv-section": "rowsingleactioncell"
|
|
@@ -2428,12 +2429,12 @@ const C = {
|
|
|
2428
2429
|
]
|
|
2429
2430
|
},
|
|
2430
2431
|
headerCheckbox: {
|
|
2431
|
-
...
|
|
2432
|
+
...c,
|
|
2432
2433
|
root: {
|
|
2433
|
-
class: ["!mx-auto", ...
|
|
2434
|
+
class: ["!mx-auto", ...c.root.class]
|
|
2434
2435
|
}
|
|
2435
2436
|
},
|
|
2436
|
-
itemCheckbox:
|
|
2437
|
+
itemCheckbox: c,
|
|
2437
2438
|
closeButton: {
|
|
2438
2439
|
class: ["hidden"]
|
|
2439
2440
|
},
|
|
@@ -3925,7 +3926,7 @@ const re = f("WANGS-INPUT-OTP", {
|
|
|
3925
3926
|
leaveActiveClass: "transition-opacity duration-100 ease-linear",
|
|
3926
3927
|
leaveToClass: "opacity-0"
|
|
3927
3928
|
}
|
|
3928
|
-
},
|
|
3929
|
+
}, de = {
|
|
3929
3930
|
root: {
|
|
3930
3931
|
class: [
|
|
3931
3932
|
// Flex & Alignment
|
|
@@ -4375,7 +4376,7 @@ const re = f("WANGS-INPUT-OTP", {
|
|
|
4375
4376
|
current: {
|
|
4376
4377
|
class: ["text-xs font-normal leading-6 px-3"]
|
|
4377
4378
|
}
|
|
4378
|
-
},
|
|
4379
|
+
}, ce = {
|
|
4379
4380
|
root: ({ props: e }) => ({
|
|
4380
4381
|
class: [
|
|
4381
4382
|
"w-full",
|
|
@@ -5688,17 +5689,17 @@ const re = f("WANGS-INPUT-OTP", {
|
|
|
5688
5689
|
inputbadge: Q,
|
|
5689
5690
|
inputotp: re,
|
|
5690
5691
|
calendar: U,
|
|
5691
|
-
checkbox:
|
|
5692
|
+
checkbox: c,
|
|
5692
5693
|
buttonradio: P,
|
|
5693
5694
|
multiselect: i,
|
|
5694
5695
|
togglebutton: he,
|
|
5695
|
-
toggleswitch:
|
|
5696
|
+
toggleswitch: d,
|
|
5696
5697
|
inputgroup: te,
|
|
5697
5698
|
inputgroupaddon: ae,
|
|
5698
5699
|
treeselect: we,
|
|
5699
5700
|
tristatecheckbox: pe,
|
|
5700
5701
|
textarea: me,
|
|
5701
|
-
password:
|
|
5702
|
+
password: ce,
|
|
5702
5703
|
validatormessage: Ce,
|
|
5703
5704
|
fileupload: D,
|
|
5704
5705
|
fieldwrapper: W,
|
|
@@ -5710,9 +5711,9 @@ const re = f("WANGS-INPUT-OTP", {
|
|
|
5710
5711
|
buttonsplit: F,
|
|
5711
5712
|
buttonfilter: T,
|
|
5712
5713
|
// Data
|
|
5713
|
-
paginator:
|
|
5714
|
-
datatable:
|
|
5715
|
-
customcolumn:
|
|
5714
|
+
paginator: de,
|
|
5715
|
+
datatable: L,
|
|
5716
|
+
customcolumn: B,
|
|
5716
5717
|
tree: ye,
|
|
5717
5718
|
timeline: be,
|
|
5718
5719
|
changelog: G,
|
|
@@ -5740,7 +5741,7 @@ const re = f("WANGS-INPUT-OTP", {
|
|
|
5740
5741
|
badgegroup: z,
|
|
5741
5742
|
image: J,
|
|
5742
5743
|
loading: ie,
|
|
5743
|
-
codesnippet:
|
|
5744
|
+
codesnippet: O,
|
|
5744
5745
|
username: ke
|
|
5745
5746
|
};
|
|
5746
5747
|
export {
|