@fewangsit/wangsvue-presets 1.0.103-alpha.1 → 1.0.103
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/calendar/index.js +3 -3
- package/fixedasset/colors.config.json +73 -73
- package/fixedasset/index.es.js +25 -25
- package/fixedasset/index.system.js +2 -2
- package/fixedasset/inputbadge/index.js +3 -3
- package/fixedasset/inputcurrency/index.d.ts +4 -4
- package/fixedasset/inputgroup/index.js +3 -3
- package/fixedasset/inputphonenumber/index.d.ts +8 -8
- package/fixedasset/inputphonenumber/index.js +2 -2
- package/fixedasset/style.css +9 -9
- package/fixedasset/toggleswitch/index.js +2 -2
- package/globalsettings/calendar/index.js +3 -3
- package/globalsettings/colors.config.json +97 -97
- package/globalsettings/index.es.js +20 -20
- package/globalsettings/index.system.js +2 -2
- package/globalsettings/inputbadge/index.js +3 -3
- package/globalsettings/inputcurrency/index.d.ts +4 -4
- package/globalsettings/inputgroup/index.js +3 -3
- package/globalsettings/inputphonenumber/index.d.ts +8 -8
- package/globalsettings/inputphonenumber/index.js +2 -2
- package/globalsettings/style.css +10 -10
- package/globalsettings/toggleswitch/index.js +2 -2
- package/package.json +13 -13
- package/supplyasset/calendar/index.js +3 -3
- package/supplyasset/colors.config.json +97 -97
- package/supplyasset/index.es.js +18 -18
- package/supplyasset/index.system.js +2 -2
- package/supplyasset/inputbadge/index.js +3 -3
- package/supplyasset/inputcurrency/index.d.ts +4 -4
- package/supplyasset/inputgroup/index.js +3 -3
- package/supplyasset/inputphonenumber/index.d.ts +8 -8
- package/supplyasset/inputphonenumber/index.js +2 -2
- package/supplyasset/style.css +10 -10
- package/supplyasset/toggleswitch/index.js +2 -2
- package/wangsvue/calendar/index.js +3 -3
- package/wangsvue/colors.config.json +76 -76
- package/wangsvue/index.es.js +21 -21
- package/wangsvue/index.system.js +2 -2
- package/wangsvue/inputbadge/index.js +3 -3
- package/wangsvue/inputcurrency/index.d.ts +4 -4
- package/wangsvue/inputgroup/index.js +3 -3
- package/wangsvue/inputphonenumber/index.d.ts +8 -8
- package/wangsvue/inputphonenumber/index.js +2 -2
- package/wangsvue/style.css +9 -9
- package/wangsvue/toggleswitch/index.js +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
var
|
|
3
|
+
var isChromeBased = navigator.userAgent.includes('Chrome');
|
|
4
4
|
var preset = {
|
|
5
5
|
root: function (_a) {
|
|
6
6
|
var props = _a.props;
|
|
@@ -482,8 +482,8 @@ var preset = {
|
|
|
482
482
|
class: [
|
|
483
483
|
'w-[39px] h-[26px] flex justify-center items-center ring-general-200 rounded',
|
|
484
484
|
{
|
|
485
|
-
'ring-1':
|
|
486
|
-
'ring-[0.5px]':
|
|
485
|
+
'ring-1': !isChromeBased,
|
|
486
|
+
'ring-[0.5px]': isChromeBased,
|
|
487
487
|
},
|
|
488
488
|
],
|
|
489
489
|
},
|
|
@@ -1,73 +1,73 @@
|
|
|
1
|
-
{
|
|
2
|
-
"primary-50": "#e5f0ff",
|
|
3
|
-
"primary-100": "#cce0ff",
|
|
4
|
-
"primary-200": "#94bfff",
|
|
5
|
-
"primary-300": "#61a0ff",
|
|
6
|
-
"primary-400": "#2e82ff",
|
|
7
|
-
"primary-500": "#0063f7",
|
|
8
|
-
"primary-600": "#0050c7",
|
|
9
|
-
"primary-700": "#003b94",
|
|
10
|
-
"primary-800": "#002761",
|
|
11
|
-
"primary-900": "#001433",
|
|
12
|
-
"primary-950": "#000a19",
|
|
13
|
-
|
|
14
|
-
"danger-50": "#ffe5e9",
|
|
15
|
-
"danger-100": "#ffccd3",
|
|
16
|
-
"danger-200": "#ff99a7",
|
|
17
|
-
"danger-300": "#ff667a",
|
|
18
|
-
"danger-400": "#ff334e",
|
|
19
|
-
"danger-500": "#ff0022",
|
|
20
|
-
"danger-600": "#cc001b",
|
|
21
|
-
"danger-700": "#990014",
|
|
22
|
-
"danger-800": "#66000e",
|
|
23
|
-
"danger-900": "#330007",
|
|
24
|
-
"danger-950": "#190003",
|
|
25
|
-
|
|
26
|
-
"warning-50": "#fff9e5",
|
|
27
|
-
"warning-100": "#fff4cc",
|
|
28
|
-
"warning-200": "#ffe999",
|
|
29
|
-
"warning-300": "#ffde66",
|
|
30
|
-
"warning-400": "#ffd333",
|
|
31
|
-
"warning-500": "#ffc700",
|
|
32
|
-
"warning-600": "#cca000",
|
|
33
|
-
"warning-700": "#997800",
|
|
34
|
-
"warning-800": "#665000",
|
|
35
|
-
"warning-900": "#332800",
|
|
36
|
-
"warning-950": "#191400",
|
|
37
|
-
|
|
38
|
-
"success-50": "#dbffee",
|
|
39
|
-
"success-100": "#b8ffdc",
|
|
40
|
-
"success-200": "#75ffbc",
|
|
41
|
-
"success-300": "#2eff9a",
|
|
42
|
-
"success-400": "#00eb79",
|
|
43
|
-
"success-500": "#00a455",
|
|
44
|
-
"success-600": "#008545",
|
|
45
|
-
"success-700": "#006132",
|
|
46
|
-
"success-800": "#004222",
|
|
47
|
-
"success-900": "#001f10",
|
|
48
|
-
"success-950": "#000f08",
|
|
49
|
-
|
|
50
|
-
"grayscale-50": "#f7f7f7",
|
|
51
|
-
"grayscale-100": "#f2f2f2",
|
|
52
|
-
"grayscale-200": "#e5e6e6",
|
|
53
|
-
"grayscale-300": "#d8d9d9",
|
|
54
|
-
"grayscale-400": "#cbcccd",
|
|
55
|
-
"grayscale-500": "#bdbebf",
|
|
56
|
-
"grayscale-600": "#97999b",
|
|
57
|
-
"grayscale-700": "#717374",
|
|
58
|
-
"grayscale-800": "#4b4d4e",
|
|
59
|
-
"grayscale-900": "#262627",
|
|
60
|
-
"grayscale-950": "#121212",
|
|
61
|
-
|
|
62
|
-
"general-50": "#ebeaf0",
|
|
63
|
-
"general-100": "#dad9e3",
|
|
64
|
-
"general-200": "#b5b3c7",
|
|
65
|
-
"general-300": "#908cab",
|
|
66
|
-
"general-400": "#6c688d",
|
|
67
|
-
"general-500": "#4e4b66",
|
|
68
|
-
"general-600": "#3f3c52",
|
|
69
|
-
"general-700": "#2f2d3e",
|
|
70
|
-
"general-800": "#201e29",
|
|
71
|
-
"general-900": "#100f15",
|
|
72
|
-
"general-950": "#070609"
|
|
73
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"primary-50": "#e5f0ff",
|
|
3
|
+
"primary-100": "#cce0ff",
|
|
4
|
+
"primary-200": "#94bfff",
|
|
5
|
+
"primary-300": "#61a0ff",
|
|
6
|
+
"primary-400": "#2e82ff",
|
|
7
|
+
"primary-500": "#0063f7",
|
|
8
|
+
"primary-600": "#0050c7",
|
|
9
|
+
"primary-700": "#003b94",
|
|
10
|
+
"primary-800": "#002761",
|
|
11
|
+
"primary-900": "#001433",
|
|
12
|
+
"primary-950": "#000a19",
|
|
13
|
+
|
|
14
|
+
"danger-50": "#ffe5e9",
|
|
15
|
+
"danger-100": "#ffccd3",
|
|
16
|
+
"danger-200": "#ff99a7",
|
|
17
|
+
"danger-300": "#ff667a",
|
|
18
|
+
"danger-400": "#ff334e",
|
|
19
|
+
"danger-500": "#ff0022",
|
|
20
|
+
"danger-600": "#cc001b",
|
|
21
|
+
"danger-700": "#990014",
|
|
22
|
+
"danger-800": "#66000e",
|
|
23
|
+
"danger-900": "#330007",
|
|
24
|
+
"danger-950": "#190003",
|
|
25
|
+
|
|
26
|
+
"warning-50": "#fff9e5",
|
|
27
|
+
"warning-100": "#fff4cc",
|
|
28
|
+
"warning-200": "#ffe999",
|
|
29
|
+
"warning-300": "#ffde66",
|
|
30
|
+
"warning-400": "#ffd333",
|
|
31
|
+
"warning-500": "#ffc700",
|
|
32
|
+
"warning-600": "#cca000",
|
|
33
|
+
"warning-700": "#997800",
|
|
34
|
+
"warning-800": "#665000",
|
|
35
|
+
"warning-900": "#332800",
|
|
36
|
+
"warning-950": "#191400",
|
|
37
|
+
|
|
38
|
+
"success-50": "#dbffee",
|
|
39
|
+
"success-100": "#b8ffdc",
|
|
40
|
+
"success-200": "#75ffbc",
|
|
41
|
+
"success-300": "#2eff9a",
|
|
42
|
+
"success-400": "#00eb79",
|
|
43
|
+
"success-500": "#00a455",
|
|
44
|
+
"success-600": "#008545",
|
|
45
|
+
"success-700": "#006132",
|
|
46
|
+
"success-800": "#004222",
|
|
47
|
+
"success-900": "#001f10",
|
|
48
|
+
"success-950": "#000f08",
|
|
49
|
+
|
|
50
|
+
"grayscale-50": "#f7f7f7",
|
|
51
|
+
"grayscale-100": "#f2f2f2",
|
|
52
|
+
"grayscale-200": "#e5e6e6",
|
|
53
|
+
"grayscale-300": "#d8d9d9",
|
|
54
|
+
"grayscale-400": "#cbcccd",
|
|
55
|
+
"grayscale-500": "#bdbebf",
|
|
56
|
+
"grayscale-600": "#97999b",
|
|
57
|
+
"grayscale-700": "#717374",
|
|
58
|
+
"grayscale-800": "#4b4d4e",
|
|
59
|
+
"grayscale-900": "#262627",
|
|
60
|
+
"grayscale-950": "#121212",
|
|
61
|
+
|
|
62
|
+
"general-50": "#ebeaf0",
|
|
63
|
+
"general-100": "#dad9e3",
|
|
64
|
+
"general-200": "#b5b3c7",
|
|
65
|
+
"general-300": "#908cab",
|
|
66
|
+
"general-400": "#6c688d",
|
|
67
|
+
"general-500": "#4e4b66",
|
|
68
|
+
"general-600": "#3f3c52",
|
|
69
|
+
"general-700": "#2f2d3e",
|
|
70
|
+
"general-800": "#201e29",
|
|
71
|
+
"general-900": "#100f15",
|
|
72
|
+
"general-950": "#070609"
|
|
73
|
+
}
|
package/fixedasset/index.es.js
CHANGED
|
@@ -384,7 +384,7 @@ const T = {
|
|
|
384
384
|
"icon-class": "w-[10px] h-[10px] !text-[10px]",
|
|
385
385
|
"data-wv-section": "removebutton"
|
|
386
386
|
})
|
|
387
|
-
},
|
|
387
|
+
}, S = {
|
|
388
388
|
root: ({ context: e }) => ({
|
|
389
389
|
class: [
|
|
390
390
|
// Font
|
|
@@ -422,7 +422,7 @@ const T = {
|
|
|
422
422
|
}
|
|
423
423
|
]
|
|
424
424
|
})
|
|
425
|
-
},
|
|
425
|
+
}, P = {
|
|
426
426
|
root: ({ props: e, context: t }) => ({
|
|
427
427
|
class: [
|
|
428
428
|
"relative",
|
|
@@ -717,7 +717,7 @@ const T = {
|
|
|
717
717
|
}
|
|
718
718
|
]
|
|
719
719
|
})
|
|
720
|
-
},
|
|
720
|
+
}, F = {
|
|
721
721
|
root: ({ props: e }) => ({
|
|
722
722
|
class: [
|
|
723
723
|
"rounded ring-1 ring-success-500 p-[5px] ring-inset",
|
|
@@ -809,7 +809,7 @@ const T = {
|
|
|
809
809
|
"data-ts-section": "button-split"
|
|
810
810
|
},
|
|
811
811
|
menuButton: "!rounded-ss-none !rounded-es-none"
|
|
812
|
-
}, x = navigator.userAgent.includes("
|
|
812
|
+
}, x = navigator.userAgent.includes("Chrome"), B = {
|
|
813
813
|
root: ({ props: e }) => ({
|
|
814
814
|
class: [
|
|
815
815
|
// Display and Position
|
|
@@ -1267,8 +1267,8 @@ const T = {
|
|
|
1267
1267
|
class: [
|
|
1268
1268
|
"w-[39px] h-[26px] flex justify-center items-center ring-general-200 rounded",
|
|
1269
1269
|
{
|
|
1270
|
-
"ring-1": x,
|
|
1271
|
-
"ring-[0.5px]":
|
|
1270
|
+
"ring-1": !x,
|
|
1271
|
+
"ring-[0.5px]": x
|
|
1272
1272
|
}
|
|
1273
1273
|
]
|
|
1274
1274
|
},
|
|
@@ -3940,15 +3940,15 @@ const T = {
|
|
|
3940
3940
|
]
|
|
3941
3941
|
};
|
|
3942
3942
|
}
|
|
3943
|
-
}, v = navigator.userAgent.includes("
|
|
3943
|
+
}, v = navigator.userAgent.includes("Chrome"), ce = {
|
|
3944
3944
|
root: ({ context: e }) => ({
|
|
3945
3945
|
class: [
|
|
3946
3946
|
"flex flex-wrap gap-x-0.5 gap-y-[5px] items-center",
|
|
3947
3947
|
"min-h-[26px] h-fit w-full",
|
|
3948
3948
|
"ring-inset rounded px-[12px] py-[3px]",
|
|
3949
3949
|
{
|
|
3950
|
-
"ring-[1px]": v,
|
|
3951
|
-
"ring-[0.5px]":
|
|
3950
|
+
"ring-[1px]": !v,
|
|
3951
|
+
"ring-[0.5px]": v
|
|
3952
3952
|
},
|
|
3953
3953
|
{ "!ring-danger-500 !dark:ring-danger-500": e.invalidInput },
|
|
3954
3954
|
{ "!ring-general-200 !dark:ring-general-200": !e.invalidInput },
|
|
@@ -3973,7 +3973,7 @@ const T = {
|
|
|
3973
3973
|
erroroverlaypanel: {
|
|
3974
3974
|
class: ["px-3 py-1 text-[12px] text-general-800"]
|
|
3975
3975
|
}
|
|
3976
|
-
}, h = navigator.userAgent.includes("
|
|
3976
|
+
}, h = navigator.userAgent.includes("Chrome"), de = {
|
|
3977
3977
|
root: ({ props: e }) => ({
|
|
3978
3978
|
class: [
|
|
3979
3979
|
{
|
|
@@ -3985,8 +3985,8 @@ const T = {
|
|
|
3985
3985
|
"[&:has(:focus)]:!ring-primary-500 [&:has(:focus)_.inputgroupaddon]:!ring-primary-500": e.ring !== "none"
|
|
3986
3986
|
},
|
|
3987
3987
|
{
|
|
3988
|
-
"ring-[1px] [&_.inputgroupaddon]:ring-[1px]": h && e.ring !== "none",
|
|
3989
|
-
"ring-[0.5px] [&_.inputgroupaddon]:ring-[0.5px]":
|
|
3988
|
+
"ring-[1px] [&_.inputgroupaddon]:ring-[1px]": !h && e.ring !== "none",
|
|
3989
|
+
"ring-[0.5px] [&_.inputgroupaddon]:ring-[0.5px]": h && e.ring !== "none"
|
|
3990
3990
|
},
|
|
3991
3991
|
"[&_.inputgroupaddon[data-addon-variant=plain]]:!ring-[0px]",
|
|
3992
3992
|
"[&:has(input)]:cursor-text",
|
|
@@ -4480,8 +4480,8 @@ const me = m("WANGS-INPUT-OTP", {
|
|
|
4480
4480
|
"transition-colors duration-200"
|
|
4481
4481
|
]
|
|
4482
4482
|
})
|
|
4483
|
-
}), f = ({
|
|
4484
|
-
{ "ring-[1px]": e, "ring-[0.5px]":
|
|
4483
|
+
}), f = ({ isChromeBased: e, invalidInput: t }) => [
|
|
4484
|
+
{ "ring-[1px]": !e, "ring-[0.5px]": e },
|
|
4485
4485
|
{ "!ring-danger-500": t },
|
|
4486
4486
|
"ring-inset",
|
|
4487
4487
|
"ring-general-200",
|
|
@@ -6948,7 +6948,7 @@ const me = m("WANGS-INPUT-OTP", {
|
|
|
6948
6948
|
}
|
|
6949
6949
|
]
|
|
6950
6950
|
})
|
|
6951
|
-
}, k = navigator.userAgent.includes("
|
|
6951
|
+
}, k = navigator.userAgent.includes("Chrome"), u = {
|
|
6952
6952
|
root: ({ props: e }) => ({
|
|
6953
6953
|
class: [
|
|
6954
6954
|
// Alignments
|
|
@@ -6988,7 +6988,7 @@ const me = m("WANGS-INPUT-OTP", {
|
|
|
6988
6988
|
},
|
|
6989
6989
|
// Colors
|
|
6990
6990
|
"ring-1",
|
|
6991
|
-
{ "ring-1": k, "ring-[0.5px]":
|
|
6991
|
+
{ "ring-1": !k, "ring-[0.5px]": k },
|
|
6992
6992
|
{
|
|
6993
6993
|
"before:bg-white": e.modelValue == e.trueValue,
|
|
6994
6994
|
"before:bg-general-100": e.modelValue !== e.trueValue,
|
|
@@ -7062,7 +7062,7 @@ const me = m("WANGS-INPUT-OTP", {
|
|
|
7062
7062
|
tooltipicon: {
|
|
7063
7063
|
class: "text-primary-500 w-[10px] h-[10px]"
|
|
7064
7064
|
}
|
|
7065
|
-
},
|
|
7065
|
+
}, Se = {
|
|
7066
7066
|
root: ({ props: e, state: t }) => ({
|
|
7067
7067
|
class: [
|
|
7068
7068
|
"relative",
|
|
@@ -7144,7 +7144,7 @@ const me = m("WANGS-INPUT-OTP", {
|
|
|
7144
7144
|
label: u.label,
|
|
7145
7145
|
labeltext: u.labeltext,
|
|
7146
7146
|
tooltipicon: u.tooltipicon
|
|
7147
|
-
},
|
|
7147
|
+
}, Pe = {
|
|
7148
7148
|
root: ({ props: e }) => ({
|
|
7149
7149
|
class: [
|
|
7150
7150
|
"relative",
|
|
@@ -7214,7 +7214,7 @@ const me = m("WANGS-INPUT-OTP", {
|
|
|
7214
7214
|
"transition duration-200 ease-in"
|
|
7215
7215
|
]
|
|
7216
7216
|
})
|
|
7217
|
-
},
|
|
7217
|
+
}, Fe = {
|
|
7218
7218
|
root: {
|
|
7219
7219
|
class: ["block absolute bg-surface-0/50 rounded-full pointer-events-none"],
|
|
7220
7220
|
style: "transform: scale(0)"
|
|
@@ -9876,8 +9876,8 @@ const me = m("WANGS-INPUT-OTP", {
|
|
|
9876
9876
|
}
|
|
9877
9877
|
}
|
|
9878
9878
|
}, gt = {
|
|
9879
|
-
badge:
|
|
9880
|
-
ripple:
|
|
9879
|
+
badge: S,
|
|
9880
|
+
ripple: Fe,
|
|
9881
9881
|
tooltip: Ze
|
|
9882
9882
|
}, bt = {
|
|
9883
9883
|
global: ae,
|
|
@@ -9895,11 +9895,11 @@ const me = m("WANGS-INPUT-OTP", {
|
|
|
9895
9895
|
inputbadge: ce,
|
|
9896
9896
|
calendar: B,
|
|
9897
9897
|
checkbox: d,
|
|
9898
|
-
buttonradio:
|
|
9898
|
+
buttonradio: Se,
|
|
9899
9899
|
selectbutton: Ee,
|
|
9900
9900
|
slider: $e,
|
|
9901
9901
|
chips: M,
|
|
9902
|
-
rating:
|
|
9902
|
+
rating: Pe,
|
|
9903
9903
|
multiselect: s,
|
|
9904
9904
|
togglebutton: Je,
|
|
9905
9905
|
toggleswitch: u,
|
|
@@ -9918,8 +9918,8 @@ const me = m("WANGS-INPUT-OTP", {
|
|
|
9918
9918
|
fileupload: ot,
|
|
9919
9919
|
fieldwrapper: lt,
|
|
9920
9920
|
// Buttons
|
|
9921
|
-
button:
|
|
9922
|
-
buttondownload:
|
|
9921
|
+
button: P,
|
|
9922
|
+
buttondownload: F,
|
|
9923
9923
|
buttonbulkaction: it,
|
|
9924
9924
|
buttonsearch: U,
|
|
9925
9925
|
buttonsplit: E,
|