@fewangsit/wangsvue-presets 1.0.104 → 1.0.105-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/checkbox/index.js +1 -1
- package/fixedasset/datatable/index.d.ts +13 -0
- package/fixedasset/datatable/index.js +5 -1
- package/fixedasset/index.es.js +22 -18
- package/fixedasset/index.system.js +2 -2
- package/globalsettings/checkbox/index.js +1 -1
- package/globalsettings/datatable/index.d.ts +13 -0
- package/globalsettings/datatable/index.js +5 -1
- package/globalsettings/index.es.js +12 -8
- package/globalsettings/index.system.js +2 -2
- package/package.json +1 -1
- package/supplyasset/datatable/index.d.ts +13 -0
- package/supplyasset/datatable/index.js +5 -1
- package/supplyasset/index.es.js +17 -13
- package/supplyasset/index.system.js +2 -2
- package/wangsvue/datatable/index.d.ts +13 -0
- package/wangsvue/datatable/index.js +5 -1
- package/wangsvue/index.es.js +21 -17
- package/wangsvue/index.system.js +2 -2
|
@@ -31,7 +31,7 @@ exports.default = {
|
|
|
31
31
|
'text-white',
|
|
32
32
|
{
|
|
33
33
|
'border-general-200': props.disabled,
|
|
34
|
-
'border-general-100': !props.disabled,
|
|
34
|
+
'border-general-100': !props.disabled && !context.checked && !context.partialChecked,
|
|
35
35
|
'bg-white': !(context.checked || context.partialChecked) && !props.disabled,
|
|
36
36
|
'bg-general-50': !(context.checked || context.partialChecked) && props.disabled,
|
|
37
37
|
'bg-primary-500 border-primary-500': (context.checked || context.partialChecked) && !props.disabled,
|
|
@@ -123,18 +123,31 @@ declare namespace _default {
|
|
|
123
123
|
context: any;
|
|
124
124
|
}): {
|
|
125
125
|
class: (string | {
|
|
126
|
+
'text-center': any;
|
|
127
|
+
'text-left': boolean;
|
|
128
|
+
'bg-primary-200'?: undefined;
|
|
129
|
+
'bg-primary-300'?: undefined;
|
|
130
|
+
'sticky right-0 hover:bg-primary-300'?: undefined;
|
|
131
|
+
'!cursor-default'?: undefined;
|
|
132
|
+
} | {
|
|
126
133
|
'bg-primary-200': boolean;
|
|
134
|
+
'text-center'?: undefined;
|
|
135
|
+
'text-left'?: undefined;
|
|
127
136
|
'bg-primary-300'?: undefined;
|
|
128
137
|
'sticky right-0 hover:bg-primary-300'?: undefined;
|
|
129
138
|
'!cursor-default'?: undefined;
|
|
130
139
|
} | {
|
|
131
140
|
'bg-primary-300': any;
|
|
141
|
+
'text-center'?: undefined;
|
|
142
|
+
'text-left'?: undefined;
|
|
132
143
|
'bg-primary-200'?: undefined;
|
|
133
144
|
'sticky right-0 hover:bg-primary-300'?: undefined;
|
|
134
145
|
'!cursor-default'?: undefined;
|
|
135
146
|
} | {
|
|
136
147
|
'sticky right-0 hover:bg-primary-300': any;
|
|
137
148
|
'!cursor-default': boolean;
|
|
149
|
+
'text-center'?: undefined;
|
|
150
|
+
'text-left'?: undefined;
|
|
138
151
|
'bg-primary-200'?: undefined;
|
|
139
152
|
'bg-primary-300'?: undefined;
|
|
140
153
|
})[];
|
|
@@ -74,7 +74,11 @@ exports.default = {
|
|
|
74
74
|
var context = _a.context;
|
|
75
75
|
return {
|
|
76
76
|
'class': [
|
|
77
|
-
'text-xs font-bold text-general-800 p-2
|
|
77
|
+
'text-xs font-bold text-general-800 p-2 cursor-pointer tracking-[0.02em]',
|
|
78
|
+
{
|
|
79
|
+
'text-center': context.isParentHeader,
|
|
80
|
+
'text-left': !context.isParentHeader,
|
|
81
|
+
},
|
|
78
82
|
{ 'bg-primary-200': !context.sorted || !context.sortable },
|
|
79
83
|
{ 'bg-primary-300': context.sorted },
|
|
80
84
|
{
|
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
|
+
}, P = {
|
|
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
|
+
}, S = {
|
|
426
426
|
root: ({ props: e, context: t }) => ({
|
|
427
427
|
class: [
|
|
428
428
|
"relative",
|
|
@@ -1783,7 +1783,7 @@ const T = {
|
|
|
1783
1783
|
"text-white",
|
|
1784
1784
|
{
|
|
1785
1785
|
"border-general-200": e.disabled,
|
|
1786
|
-
"border-general-100": !e.disabled,
|
|
1786
|
+
"border-general-100": !e.disabled && !t.checked && !t.partialChecked,
|
|
1787
1787
|
"bg-white": !(t.checked || t.partialChecked) && !e.disabled,
|
|
1788
1788
|
"bg-general-50": !(t.checked || t.partialChecked) && e.disabled,
|
|
1789
1789
|
"bg-primary-500 border-primary-500": (t.checked || t.partialChecked) && !e.disabled,
|
|
@@ -2119,7 +2119,7 @@ const T = {
|
|
|
2119
2119
|
leaveActiveClass: "transition-opacity duration-100 ease-linear",
|
|
2120
2120
|
leaveToClass: "opacity-0"
|
|
2121
2121
|
}
|
|
2122
|
-
},
|
|
2122
|
+
}, H = {
|
|
2123
2123
|
root: {
|
|
2124
2124
|
class: [
|
|
2125
2125
|
// Shape
|
|
@@ -2220,7 +2220,7 @@ const T = {
|
|
|
2220
2220
|
leaveActiveClass: "transition-opacity duration-100 ease-linear",
|
|
2221
2221
|
leaveToClass: "opacity-0"
|
|
2222
2222
|
}
|
|
2223
|
-
},
|
|
2223
|
+
}, Y = {
|
|
2224
2224
|
root: {
|
|
2225
2225
|
class: [
|
|
2226
2226
|
// Sizing and Shape
|
|
@@ -2414,7 +2414,11 @@ const T = {
|
|
|
2414
2414
|
}),
|
|
2415
2415
|
headercell: ({ context: e }) => ({
|
|
2416
2416
|
class: [
|
|
2417
|
-
"text-xs font-bold text-general-800 p-2
|
|
2417
|
+
"text-xs font-bold text-general-800 p-2 cursor-pointer tracking-[0.02em]",
|
|
2418
|
+
{
|
|
2419
|
+
"text-center": e.isParentHeader,
|
|
2420
|
+
"text-left": !e.isParentHeader
|
|
2421
|
+
},
|
|
2418
2422
|
{ "bg-primary-200": !e.sorted || !e.sortable },
|
|
2419
2423
|
{ "bg-primary-300": e.sorted },
|
|
2420
2424
|
{
|
|
@@ -7058,7 +7062,7 @@ const me = m("WANGS-INPUT-OTP", {
|
|
|
7058
7062
|
tooltipicon: {
|
|
7059
7063
|
class: "text-primary-500 w-[10px] h-[10px]"
|
|
7060
7064
|
}
|
|
7061
|
-
},
|
|
7065
|
+
}, Pe = {
|
|
7062
7066
|
root: ({ props: e, state: t }) => ({
|
|
7063
7067
|
class: [
|
|
7064
7068
|
"relative",
|
|
@@ -7140,7 +7144,7 @@ const me = m("WANGS-INPUT-OTP", {
|
|
|
7140
7144
|
label: u.label,
|
|
7141
7145
|
labeltext: u.labeltext,
|
|
7142
7146
|
tooltipicon: u.tooltipicon
|
|
7143
|
-
},
|
|
7147
|
+
}, Se = {
|
|
7144
7148
|
root: ({ props: e }) => ({
|
|
7145
7149
|
class: [
|
|
7146
7150
|
"relative",
|
|
@@ -8528,7 +8532,7 @@ const me = m("WANGS-INPUT-OTP", {
|
|
|
8528
8532
|
"outline-none"
|
|
8529
8533
|
]
|
|
8530
8534
|
}
|
|
8531
|
-
},
|
|
8535
|
+
}, He = {
|
|
8532
8536
|
root: ({ context: e, props: t }) => ({
|
|
8533
8537
|
class: [
|
|
8534
8538
|
// Font
|
|
@@ -8564,7 +8568,7 @@ const me = m("WANGS-INPUT-OTP", {
|
|
|
8564
8568
|
"data-wv-name": "textarea",
|
|
8565
8569
|
"data-wv-section": "root"
|
|
8566
8570
|
})
|
|
8567
|
-
},
|
|
8571
|
+
}, Ye = {
|
|
8568
8572
|
root: {
|
|
8569
8573
|
class: [
|
|
8570
8574
|
// Shape
|
|
@@ -9872,7 +9876,7 @@ const me = m("WANGS-INPUT-OTP", {
|
|
|
9872
9876
|
}
|
|
9873
9877
|
}
|
|
9874
9878
|
}, gt = {
|
|
9875
|
-
badge:
|
|
9879
|
+
badge: P,
|
|
9876
9880
|
ripple: Fe,
|
|
9877
9881
|
tooltip: Ze
|
|
9878
9882
|
}, bt = {
|
|
@@ -9891,11 +9895,11 @@ const me = m("WANGS-INPUT-OTP", {
|
|
|
9891
9895
|
inputbadge: ce,
|
|
9892
9896
|
calendar: B,
|
|
9893
9897
|
checkbox: d,
|
|
9894
|
-
buttonradio:
|
|
9898
|
+
buttonradio: Pe,
|
|
9895
9899
|
selectbutton: Ee,
|
|
9896
9900
|
slider: $e,
|
|
9897
9901
|
chips: M,
|
|
9898
|
-
rating:
|
|
9902
|
+
rating: Se,
|
|
9899
9903
|
multiselect: s,
|
|
9900
9904
|
togglebutton: Je,
|
|
9901
9905
|
toggleswitch: u,
|
|
@@ -9908,13 +9912,13 @@ const me = m("WANGS-INPUT-OTP", {
|
|
|
9908
9912
|
knob: pe,
|
|
9909
9913
|
treeselect: et,
|
|
9910
9914
|
tristatecheckbox: tt,
|
|
9911
|
-
textarea:
|
|
9915
|
+
textarea: He,
|
|
9912
9916
|
password: _e,
|
|
9913
9917
|
validatormessage: rt,
|
|
9914
9918
|
fileupload: ot,
|
|
9915
9919
|
fieldwrapper: lt,
|
|
9916
9920
|
// Buttons
|
|
9917
|
-
button:
|
|
9921
|
+
button: S,
|
|
9918
9922
|
buttondownload: F,
|
|
9919
9923
|
buttonbulkaction: it,
|
|
9920
9924
|
buttonsearch: U,
|
|
@@ -9943,12 +9947,12 @@ const me = m("WANGS-INPUT-OTP", {
|
|
|
9943
9947
|
toolbar: Xe,
|
|
9944
9948
|
scrollpanel: Ve,
|
|
9945
9949
|
// Menu
|
|
9946
|
-
contextmenu:
|
|
9950
|
+
contextmenu: Y,
|
|
9947
9951
|
menu: he,
|
|
9948
9952
|
menubar: ye,
|
|
9949
9953
|
steps: Le,
|
|
9950
9954
|
breadcrumb: nt,
|
|
9951
|
-
tieredmenu:
|
|
9955
|
+
tieredmenu: Ye,
|
|
9952
9956
|
panelmenu: Te,
|
|
9953
9957
|
megamenu: ve,
|
|
9954
9958
|
dock: te,
|
|
@@ -9959,7 +9963,7 @@ const me = m("WANGS-INPUT-OTP", {
|
|
|
9959
9963
|
dialogform: Q,
|
|
9960
9964
|
overlaypanel: ze,
|
|
9961
9965
|
sidebar: Be,
|
|
9962
|
-
confirmpopup:
|
|
9966
|
+
confirmpopup: H,
|
|
9963
9967
|
// Messages
|
|
9964
9968
|
message: we,
|
|
9965
9969
|
inlinemessage: le,
|