@fewangsit/wangsvue-presets 1.0.85-alpha.3 → 1.0.85-alpha.5
Sign up to get free protection for your applications and to get access to all the features.
- package/fixedasset/button/index.d.ts +1 -1
- package/fixedasset/button/index.js +12 -8
- package/fixedasset/buttondownload/index.d.ts +2 -1
- package/fixedasset/buttondownload/index.js +6 -2
- package/fixedasset/buttonfilter/index.d.ts +13 -4
- package/fixedasset/buttonfilter/index.js +20 -7
- package/fixedasset/buttonsearch/index.js +1 -1
- package/fixedasset/checkbox/index.d.ts +25 -16
- package/fixedasset/checkbox/index.js +18 -4
- package/fixedasset/customColumn/index.d.ts +28 -0
- package/fixedasset/customColumn/index.js +33 -0
- package/fixedasset/datatable/index.d.ts +29 -28
- package/fixedasset/datatable/index.js +21 -18
- package/fixedasset/filtercontainer/index.d.ts +7 -0
- package/fixedasset/filtercontainer/index.js +10 -0
- package/fixedasset/index.d.ts +4 -0
- package/fixedasset/index.js +134 -130
- package/fixedasset/index.system.js +2 -2
- package/fixedasset/menu/index.js +0 -1
- package/fixedasset/multiselect/index.d.ts +24 -16
- package/fixedasset/multiselect/index.js +1 -6
- package/fixedasset/style.css +114 -10
- package/package.json +1 -1
- package/wangsvue/button/index.d.ts +1 -1
- package/wangsvue/button/index.js +1 -1
- package/wangsvue/buttondownload/index.d.ts +1 -0
- package/wangsvue/buttondownload/index.js +1 -0
- package/wangsvue/buttonfilter/index.d.ts +3 -2
- package/wangsvue/buttonfilter/index.js +5 -4
- package/wangsvue/checkbox/index.d.ts +9 -0
- package/wangsvue/checkbox/index.js +23 -9
- package/wangsvue/customcolumn/index.d.ts +28 -0
- package/wangsvue/customcolumn/index.js +33 -0
- package/wangsvue/datatable/index.d.ts +2 -1
- package/wangsvue/datatable/index.js +3 -1
- package/wangsvue/filtercontainer/index.d.ts +7 -0
- package/wangsvue/filtercontainer/index.js +10 -0
- package/wangsvue/index.d.ts +4 -0
- package/wangsvue/index.js +4 -0
- package/wangsvue/index.system.js +2 -2
- package/wangsvue/multiselect/index.d.ts +8 -0
- package/wangsvue/style.css +114 -10
package/fixedasset/menu/index.js
CHANGED
@@ -58,12 +58,12 @@ declare namespace _default {
|
|
58
58
|
context: any;
|
59
59
|
}) => {
|
60
60
|
class: (string | {
|
61
|
-
'border-general-
|
62
|
-
'border-
|
61
|
+
'border-general-200': any;
|
62
|
+
'border-general-100': boolean;
|
63
63
|
'bg-white': boolean;
|
64
64
|
'bg-general-50': any;
|
65
|
-
'bg-
|
66
|
-
'bg-general-
|
65
|
+
'bg-primary-500 border-primary-500': boolean;
|
66
|
+
'bg-general-200': any;
|
67
67
|
'ring-8 ring-primary-400/[12%]'?: undefined;
|
68
68
|
'peer-focus-visible:ring-8 peer-focus-visible:ring-offset-0 peer-focus-visible:ring-primary-400/[8%]'?: undefined;
|
69
69
|
'peer-active:ring-8 peer-active:ring-offset-0 peer-active:ring-primary-400/[12%]'?: undefined;
|
@@ -74,12 +74,12 @@ declare namespace _default {
|
|
74
74
|
'[&_i]:text-transparent'?: undefined;
|
75
75
|
} | {
|
76
76
|
'ring-8 ring-primary-400/[12%]': any;
|
77
|
-
'border-general-
|
78
|
-
'border-
|
77
|
+
'border-general-200'?: undefined;
|
78
|
+
'border-general-100'?: undefined;
|
79
79
|
'bg-white'?: undefined;
|
80
80
|
'bg-general-50'?: undefined;
|
81
|
-
'bg-
|
82
|
-
'bg-general-
|
81
|
+
'bg-primary-500 border-primary-500'?: undefined;
|
82
|
+
'bg-general-200'?: undefined;
|
83
83
|
'peer-focus-visible:ring-8 peer-focus-visible:ring-offset-0 peer-focus-visible:ring-primary-400/[8%]'?: undefined;
|
84
84
|
'peer-active:ring-8 peer-active:ring-offset-0 peer-active:ring-primary-400/[12%]'?: undefined;
|
85
85
|
'cursor-default bg-general-50 border-general-200'?: undefined;
|
@@ -92,12 +92,12 @@ declare namespace _default {
|
|
92
92
|
'peer-active:ring-8 peer-active:ring-offset-0 peer-active:ring-primary-400/[12%]': boolean;
|
93
93
|
'cursor-default bg-general-50 border-general-200': boolean;
|
94
94
|
'bg-general-200 border-general-200': any;
|
95
|
-
'border-general-
|
96
|
-
'border-
|
95
|
+
'border-general-200'?: undefined;
|
96
|
+
'border-general-100'?: undefined;
|
97
97
|
'bg-white'?: undefined;
|
98
98
|
'bg-general-50'?: undefined;
|
99
|
-
'bg-
|
100
|
-
'bg-general-
|
99
|
+
'bg-primary-500 border-primary-500'?: undefined;
|
100
|
+
'bg-general-200'?: undefined;
|
101
101
|
'ring-8 ring-primary-400/[12%]'?: undefined;
|
102
102
|
'[&_i]:bg-transparent'?: undefined;
|
103
103
|
'[&_i]:text-white'?: undefined;
|
@@ -106,12 +106,12 @@ declare namespace _default {
|
|
106
106
|
'[&_i]:bg-transparent': boolean;
|
107
107
|
'[&_i]:text-white': any;
|
108
108
|
'[&_i]:text-transparent': boolean;
|
109
|
-
'border-general-
|
110
|
-
'border-
|
109
|
+
'border-general-200'?: undefined;
|
110
|
+
'border-general-100'?: undefined;
|
111
111
|
'bg-white'?: undefined;
|
112
112
|
'bg-general-50'?: undefined;
|
113
|
-
'bg-
|
114
|
-
'bg-general-
|
113
|
+
'bg-primary-500 border-primary-500'?: undefined;
|
114
|
+
'bg-general-200'?: undefined;
|
115
115
|
'ring-8 ring-primary-400/[12%]'?: undefined;
|
116
116
|
'peer-focus-visible:ring-8 peer-focus-visible:ring-offset-0 peer-focus-visible:ring-primary-400/[8%]'?: undefined;
|
117
117
|
'peer-active:ring-8 peer-active:ring-offset-0 peer-active:ring-primary-400/[12%]'?: undefined;
|
@@ -125,6 +125,14 @@ declare namespace _default {
|
|
125
125
|
icon: {
|
126
126
|
class: string[];
|
127
127
|
};
|
128
|
+
label: ({ props }: {
|
129
|
+
props: any;
|
130
|
+
}) => {
|
131
|
+
class: any[];
|
132
|
+
};
|
133
|
+
tooltipicon: {
|
134
|
+
class: string;
|
135
|
+
};
|
128
136
|
};
|
129
137
|
export { presetCheckbox as itemCheckbox };
|
130
138
|
export namespace closeButton {
|
@@ -165,12 +165,7 @@ exports.default = {
|
|
165
165
|
],
|
166
166
|
},
|
167
167
|
headerCheckbox: __assign(__assign({}, index_js_1.default), { root: {
|
168
|
-
class: __spreadArray(
|
169
|
-
'!mx-auto'
|
170
|
-
], index_js_1.default.root.class, true), [
|
171
|
-
'[&:not(:has(svg))_[data-pc-section=box]]:!bg-primary-400',
|
172
|
-
'[&:not(:has(svg))_[data-pc-section=box]]:!border-white',
|
173
|
-
], false),
|
168
|
+
class: __spreadArray(['!mx-auto'], index_js_1.default.root.class, true),
|
174
169
|
} }),
|
175
170
|
itemCheckbox: index_js_1.default,
|
176
171
|
closeButton: {
|
package/fixedasset/style.css
CHANGED
@@ -1372,10 +1372,6 @@
|
|
1372
1372
|
height: 10px !important;
|
1373
1373
|
}
|
1374
1374
|
|
1375
|
-
.\!h-\[11px\]{
|
1376
|
-
height: 11px !important;
|
1377
|
-
}
|
1378
|
-
|
1379
1375
|
.\!h-\[35px\]{
|
1380
1376
|
height: 35px !important;
|
1381
1377
|
}
|
@@ -1599,10 +1595,6 @@
|
|
1599
1595
|
width: 10px !important;
|
1600
1596
|
}
|
1601
1597
|
|
1602
|
-
.\!w-\[11px\]{
|
1603
|
-
width: 11px !important;
|
1604
|
-
}
|
1605
|
-
|
1606
1598
|
.\!w-\[272px\]{
|
1607
1599
|
width: 272px !important;
|
1608
1600
|
}
|
@@ -1785,6 +1777,10 @@
|
|
1785
1777
|
min-width: 272px !important;
|
1786
1778
|
}
|
1787
1779
|
|
1780
|
+
.min-w-0{
|
1781
|
+
min-width: 0px;
|
1782
|
+
}
|
1783
|
+
|
1788
1784
|
.min-w-52{
|
1789
1785
|
min-width: 13rem;
|
1790
1786
|
}
|
@@ -2100,6 +2096,10 @@
|
|
2100
2096
|
cursor: grab !important;
|
2101
2097
|
}
|
2102
2098
|
|
2099
|
+
.\!cursor-move{
|
2100
|
+
cursor: move !important;
|
2101
|
+
}
|
2102
|
+
|
2103
2103
|
.cursor-auto{
|
2104
2104
|
cursor: auto;
|
2105
2105
|
}
|
@@ -2262,6 +2262,10 @@
|
|
2262
2262
|
justify-content: space-between;
|
2263
2263
|
}
|
2264
2264
|
|
2265
|
+
.justify-items-start{
|
2266
|
+
justify-items: start;
|
2267
|
+
}
|
2268
|
+
|
2265
2269
|
.gap-0\.5{
|
2266
2270
|
gap: 0.125rem;
|
2267
2271
|
}
|
@@ -2282,6 +2286,10 @@
|
|
2282
2286
|
gap: 0.75rem;
|
2283
2287
|
}
|
2284
2288
|
|
2289
|
+
.gap-4{
|
2290
|
+
gap: 1rem;
|
2291
|
+
}
|
2292
|
+
|
2285
2293
|
.gap-6{
|
2286
2294
|
gap: 1.5rem;
|
2287
2295
|
}
|
@@ -2298,6 +2306,10 @@
|
|
2298
2306
|
gap: 6px;
|
2299
2307
|
}
|
2300
2308
|
|
2309
|
+
.gap-px{
|
2310
|
+
gap: 1px;
|
2311
|
+
}
|
2312
|
+
|
2301
2313
|
.gap-x-0{
|
2302
2314
|
-moz-column-gap: 0px;
|
2303
2315
|
column-gap: 0px;
|
@@ -2308,6 +2320,11 @@
|
|
2308
2320
|
column-gap: 0.125rem;
|
2309
2321
|
}
|
2310
2322
|
|
2323
|
+
.gap-x-3{
|
2324
|
+
-moz-column-gap: 0.75rem;
|
2325
|
+
column-gap: 0.75rem;
|
2326
|
+
}
|
2327
|
+
|
2311
2328
|
.gap-x-6{
|
2312
2329
|
-moz-column-gap: 1.5rem;
|
2313
2330
|
column-gap: 1.5rem;
|
@@ -2657,6 +2674,10 @@
|
|
2657
2674
|
border-bottom-width: 2px;
|
2658
2675
|
}
|
2659
2676
|
|
2677
|
+
.border-b-\[0\.5px\]{
|
2678
|
+
border-bottom-width: 0.5px;
|
2679
|
+
}
|
2680
|
+
|
2660
2681
|
.border-l{
|
2661
2682
|
border-left-width: 1px;
|
2662
2683
|
}
|
@@ -2809,6 +2830,11 @@
|
|
2809
2830
|
background-color: rgb(235 234 240 / var(--tw-bg-opacity)) !important;
|
2810
2831
|
}
|
2811
2832
|
|
2833
|
+
.\!bg-grayscale-50{
|
2834
|
+
--tw-bg-opacity: 1 !important;
|
2835
|
+
background-color: rgb(247 247 247 / var(--tw-bg-opacity)) !important;
|
2836
|
+
}
|
2837
|
+
|
2812
2838
|
.\!bg-grayscale-500{
|
2813
2839
|
--tw-bg-opacity: 1 !important;
|
2814
2840
|
background-color: rgb(189 190 191 / var(--tw-bg-opacity)) !important;
|
@@ -2838,6 +2864,11 @@
|
|
2838
2864
|
background-color: rgb(255 233 153 / var(--tw-bg-opacity)) !important;
|
2839
2865
|
}
|
2840
2866
|
|
2867
|
+
.\!bg-white{
|
2868
|
+
--tw-bg-opacity: 1 !important;
|
2869
|
+
background-color: rgb(255 255 255 / var(--tw-bg-opacity)) !important;
|
2870
|
+
}
|
2871
|
+
|
2841
2872
|
.bg-black{
|
2842
2873
|
--tw-bg-opacity: 1;
|
2843
2874
|
background-color: rgb(0 0 0 / var(--tw-bg-opacity));
|
@@ -2900,6 +2931,11 @@
|
|
2900
2931
|
background-color: rgb(235 234 240 / var(--tw-bg-opacity));
|
2901
2932
|
}
|
2902
2933
|
|
2934
|
+
.bg-general-500{
|
2935
|
+
--tw-bg-opacity: 1;
|
2936
|
+
background-color: rgb(78 75 102 / var(--tw-bg-opacity));
|
2937
|
+
}
|
2938
|
+
|
2903
2939
|
.bg-gray-500{
|
2904
2940
|
--tw-bg-opacity: 1;
|
2905
2941
|
background-color: rgb(107 114 128 / var(--tw-bg-opacity));
|
@@ -2974,6 +3010,11 @@
|
|
2974
3010
|
background-color: rgb(148 191 255 / var(--tw-bg-opacity));
|
2975
3011
|
}
|
2976
3012
|
|
3013
|
+
.bg-primary-300{
|
3014
|
+
--tw-bg-opacity: 1;
|
3015
|
+
background-color: rgb(97 160 255 / var(--tw-bg-opacity));
|
3016
|
+
}
|
3017
|
+
|
2977
3018
|
.bg-primary-300\/20{
|
2978
3019
|
background-color: rgb(97 160 255 / 0.2);
|
2979
3020
|
}
|
@@ -3202,6 +3243,11 @@
|
|
3202
3243
|
padding-bottom: 0.75rem !important;
|
3203
3244
|
}
|
3204
3245
|
|
3246
|
+
.\!py-\[4\.5px\]{
|
3247
|
+
padding-top: 4.5px !important;
|
3248
|
+
padding-bottom: 4.5px !important;
|
3249
|
+
}
|
3250
|
+
|
3205
3251
|
.px-0{
|
3206
3252
|
padding-left: 0px;
|
3207
3253
|
padding-right: 0px;
|
@@ -3331,10 +3377,18 @@
|
|
3331
3377
|
padding-bottom: 0.375rem !important;
|
3332
3378
|
}
|
3333
3379
|
|
3380
|
+
.\!pl-0\.5{
|
3381
|
+
padding-left: 0.125rem !important;
|
3382
|
+
}
|
3383
|
+
|
3334
3384
|
.\!pl-1{
|
3335
3385
|
padding-left: 0.25rem !important;
|
3336
3386
|
}
|
3337
3387
|
|
3388
|
+
.\!pr-2{
|
3389
|
+
padding-right: 0.5rem !important;
|
3390
|
+
}
|
3391
|
+
|
3338
3392
|
.pb-0{
|
3339
3393
|
padding-bottom: 0px;
|
3340
3394
|
}
|
@@ -4993,6 +5047,11 @@ h6,
|
|
4993
5047
|
background-color: rgb(255 0 34 / 0.9) !important;
|
4994
5048
|
}
|
4995
5049
|
|
5050
|
+
.hover\:\!bg-grayscale-50:hover{
|
5051
|
+
--tw-bg-opacity: 1 !important;
|
5052
|
+
background-color: rgb(247 247 247 / var(--tw-bg-opacity)) !important;
|
5053
|
+
}
|
5054
|
+
|
4996
5055
|
.hover\:\!bg-grayscale-900\/90:hover{
|
4997
5056
|
background-color: rgb(38 38 39 / 0.9) !important;
|
4998
5057
|
}
|
@@ -5106,6 +5165,11 @@ h6,
|
|
5106
5165
|
background-color: rgb(148 191 255 / var(--tw-bg-opacity));
|
5107
5166
|
}
|
5108
5167
|
|
5168
|
+
.hover\:bg-primary-300:hover{
|
5169
|
+
--tw-bg-opacity: 1;
|
5170
|
+
background-color: rgb(97 160 255 / var(--tw-bg-opacity));
|
5171
|
+
}
|
5172
|
+
|
5109
5173
|
.hover\:bg-primary-300\/20:hover{
|
5110
5174
|
background-color: rgb(97 160 255 / 0.2);
|
5111
5175
|
}
|
@@ -5551,6 +5615,11 @@ h6,
|
|
5551
5615
|
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow) !important;
|
5552
5616
|
}
|
5553
5617
|
|
5618
|
+
.group:hover .group-hover\:\!bg-grayscale-50{
|
5619
|
+
--tw-bg-opacity: 1 !important;
|
5620
|
+
background-color: rgb(247 247 247 / var(--tw-bg-opacity)) !important;
|
5621
|
+
}
|
5622
|
+
|
5554
5623
|
.group:hover .group-hover\:\!bg-primary-50{
|
5555
5624
|
--tw-bg-opacity: 1 !important;
|
5556
5625
|
background-color: rgb(229 240 255 / var(--tw-bg-opacity)) !important;
|
@@ -5827,6 +5896,14 @@ h6,
|
|
5827
5896
|
text-align: center;
|
5828
5897
|
}
|
5829
5898
|
|
5899
|
+
.\[\&\:has\(\[selectable\=false\]\)\]\:\!cursor-not-allowed:has([selectable=false]){
|
5900
|
+
cursor: not-allowed !important;
|
5901
|
+
}
|
5902
|
+
|
5903
|
+
.\[\&\:has\(\[selectable\=false\]\)\]\:hover\:\!bg-transparent:hover:has([selectable=false]){
|
5904
|
+
background-color: transparent !important;
|
5905
|
+
}
|
5906
|
+
|
5830
5907
|
.\[\&\:has\(input\)\]\:cursor-text:has(input){
|
5831
5908
|
cursor: text;
|
5832
5909
|
}
|
@@ -5841,6 +5918,10 @@ h6,
|
|
5841
5918
|
background-color: rgb(46 130 255 / var(--tw-bg-opacity)) !important;
|
5842
5919
|
}
|
5843
5920
|
|
5921
|
+
.\[\&\>\*\]\:w-full>*{
|
5922
|
+
width: 100%;
|
5923
|
+
}
|
5924
|
+
|
5844
5925
|
.\[\&\>\[data-pc-name\=badge\]\]\:h-4>[data-pc-name=badge]{
|
5845
5926
|
height: 1rem;
|
5846
5927
|
}
|
@@ -5858,6 +5939,11 @@ h6,
|
|
5858
5939
|
color: rgb(181 179 199 / var(--tw-text-opacity));
|
5859
5940
|
}
|
5860
5941
|
|
5942
|
+
.\[\&\>td\]\:border-primary-200>td{
|
5943
|
+
--tw-border-opacity: 1;
|
5944
|
+
border-color: rgb(148 191 255 / var(--tw-border-opacity));
|
5945
|
+
}
|
5946
|
+
|
5861
5947
|
.\[\&\[aria-selected\=\"true\"\]\]\:rounded-\[20px\][aria-selected="true"]{
|
5862
5948
|
border-radius: 20px;
|
5863
5949
|
}
|
@@ -5886,6 +5972,10 @@ h6,
|
|
5886
5972
|
color: rgb(32 30 41 / var(--tw-text-opacity));
|
5887
5973
|
}
|
5888
5974
|
|
5975
|
+
.\[\&_\*\]\:cursor-default *{
|
5976
|
+
cursor: default;
|
5977
|
+
}
|
5978
|
+
|
5889
5979
|
.\[\&_\*\]\:text-primary-500 *{
|
5890
5980
|
--tw-text-opacity: 1;
|
5891
5981
|
color: rgb(0 99 247 / var(--tw-text-opacity));
|
@@ -5936,12 +6026,22 @@ h6,
|
|
5936
6026
|
visibility: hidden;
|
5937
6027
|
}
|
5938
6028
|
|
5939
|
-
.\[\&_\[data-pc-section\=box\]\]\:\!border-
|
6029
|
+
.\[\&_\[data-pc-section\=box\]\]\:\!border-general-100 [data-pc-section=box]{
|
6030
|
+
--tw-border-opacity: 1 !important;
|
6031
|
+
border-color: rgb(218 217 227 / var(--tw-border-opacity)) !important;
|
6032
|
+
}
|
6033
|
+
|
6034
|
+
.\[\&_\[data-pc-section\=box\]\]\:\!bg-white [data-pc-section=box]{
|
6035
|
+
--tw-bg-opacity: 1 !important;
|
6036
|
+
background-color: rgb(255 255 255 / var(--tw-bg-opacity)) !important;
|
6037
|
+
}
|
6038
|
+
|
6039
|
+
.\[\&_\[data-wv-section\=box\]\]\:\!border-white [data-wv-section=box]{
|
5940
6040
|
--tw-border-opacity: 1 !important;
|
5941
6041
|
border-color: rgb(255 255 255 / var(--tw-border-opacity)) !important;
|
5942
6042
|
}
|
5943
6043
|
|
5944
|
-
.\[\&_\[data-
|
6044
|
+
.\[\&_\[data-wv-section\=box\]\]\:\!bg-transparent [data-wv-section=box]{
|
5945
6045
|
background-color: transparent !important;
|
5946
6046
|
}
|
5947
6047
|
|
@@ -5982,6 +6082,10 @@ h6,
|
|
5982
6082
|
cursor: grab !important;
|
5983
6083
|
}
|
5984
6084
|
|
6085
|
+
.\[\&_label\]\:cursor-grab label{
|
6086
|
+
cursor: grab;
|
6087
|
+
}
|
6088
|
+
|
5985
6089
|
.\[\&_span\]\:flex span{
|
5986
6090
|
display: flex;
|
5987
6091
|
}
|
package/package.json
CHANGED
package/wangsvue/button/index.js
CHANGED
@@ -391,7 +391,7 @@ exports.default = {
|
|
391
391
|
icon: function (_a) {
|
392
392
|
var props = _a.props;
|
393
393
|
return ({
|
394
|
-
class: ['shrink-0', { '!h-
|
394
|
+
class: ['shrink-0', { '!h-3 !w-3': props.size === 'small' }],
|
395
395
|
});
|
396
396
|
},
|
397
397
|
loadingIcon: function (_a) {
|
@@ -1,11 +1,12 @@
|
|
1
1
|
declare namespace _default {
|
2
|
-
|
2
|
+
function root(): {
|
3
3
|
class: string;
|
4
4
|
'data-wv-name': string;
|
5
5
|
'data-wv-section': string;
|
6
6
|
};
|
7
|
-
|
7
|
+
function icon(): {
|
8
8
|
class: string;
|
9
|
+
severity: string;
|
9
10
|
'data-wv-section': string;
|
10
11
|
};
|
11
12
|
}
|
@@ -1,13 +1,14 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.default = {
|
4
|
-
root: {
|
4
|
+
root: function () { return ({
|
5
5
|
'class': 'focus-within:ring-2 focus-within:ring-primary-400 focus-within:outline-none rounded-sm',
|
6
6
|
'data-wv-name': 'buttonfilter',
|
7
7
|
'data-wv-section': 'root',
|
8
|
-
},
|
9
|
-
icon: {
|
8
|
+
}); },
|
9
|
+
icon: function () { return ({
|
10
10
|
'class': 'text-2xl',
|
11
|
+
'severity': 'secondary',
|
11
12
|
'data-wv-section': 'icon',
|
12
|
-
},
|
13
|
+
}); },
|
13
14
|
};
|
@@ -77,5 +77,14 @@ declare namespace _default {
|
|
77
77
|
let _class_2: string[];
|
78
78
|
export { _class_2 as class };
|
79
79
|
}
|
80
|
+
function label({ props }: {
|
81
|
+
props: any;
|
82
|
+
}): {
|
83
|
+
class: any[];
|
84
|
+
};
|
85
|
+
namespace tooltipicon {
|
86
|
+
let _class_3: string;
|
87
|
+
export { _class_3 as class };
|
88
|
+
}
|
80
89
|
}
|
81
90
|
export default _default;
|
@@ -4,6 +4,7 @@ exports.default = {
|
|
4
4
|
root: {
|
5
5
|
class: [
|
6
6
|
'relative',
|
7
|
+
'w-max items-center cursor-pointer',
|
7
8
|
'w-4 h-4',
|
8
9
|
'shrink-0',
|
9
10
|
// Alignment
|
@@ -33,10 +34,10 @@ exports.default = {
|
|
33
34
|
{
|
34
35
|
'border-general-300': props.disabled,
|
35
36
|
'border-grayscale-900': !props.disabled,
|
36
|
-
'bg-white': !context.checked && !props.disabled,
|
37
|
-
'bg-general-50': !context.checked && props.disabled,
|
38
|
-
'bg-grayscale-900': context.checked && !props.disabled,
|
39
|
-
'bg-general-300': context.checked && props.disabled,
|
37
|
+
'bg-white': !(context.checked || context.partialChecked) && !props.disabled,
|
38
|
+
'bg-general-50': !(context.checked || context.partialChecked) && props.disabled,
|
39
|
+
'bg-grayscale-900': (context.checked || context.partialChecked) && !props.disabled,
|
40
|
+
'bg-general-300': (context.checked || context.partialChecked) && props.disabled,
|
40
41
|
},
|
41
42
|
{
|
42
43
|
'ring-8 ring-primary-400/[12%]': !props.disabled && context.focused,
|
@@ -45,14 +46,14 @@ exports.default = {
|
|
45
46
|
{
|
46
47
|
'peer-focus-visible:ring-8 peer-focus-visible:ring-offset-0 peer-focus-visible:ring-primary-400/[8%]': !props.disabled,
|
47
48
|
'peer-active:ring-8 peer-active:ring-offset-0 peer-active:ring-primary-400/[12%]': !props.disabled,
|
48
|
-
'cursor-default bg-general-50 border-general-200': props.disabled && !context.checked,
|
49
|
-
'bg-general-200 border-general-200': props.disabled && context.checked,
|
49
|
+
'cursor-default bg-general-50 border-general-200': props.disabled && !(context.checked || context.partialChecked),
|
50
|
+
'bg-general-200 border-general-200': props.disabled && (context.checked || context.partialChecked),
|
50
51
|
},
|
51
52
|
// Icon state
|
52
53
|
{
|
53
|
-
'[&_i]:bg-transparent': props.disabled && !context.checked,
|
54
|
-
'[&_i]:text-white': context.checked,
|
55
|
-
'[&_i]:text-transparent': !context.checked,
|
54
|
+
'[&_i]:bg-transparent': props.disabled && !(context.checked || context.partialChecked),
|
55
|
+
'[&_i]:text-white': context.checked || context.partialChecked,
|
56
|
+
'[&_i]:text-transparent': !(context.checked || context.partialChecked),
|
56
57
|
},
|
57
58
|
// Transitions
|
58
59
|
'transition-all',
|
@@ -104,4 +105,17 @@ exports.default = {
|
|
104
105
|
'duration-200',
|
105
106
|
],
|
106
107
|
},
|
108
|
+
label: function (_a) {
|
109
|
+
var props = _a.props;
|
110
|
+
return ({
|
111
|
+
class: [
|
112
|
+
'flex items-start gap-px select-none text-xs tracking-[0.02em] leading-none',
|
113
|
+
'text-grayscale-900',
|
114
|
+
props.labelClass,
|
115
|
+
],
|
116
|
+
});
|
117
|
+
},
|
118
|
+
tooltipicon: {
|
119
|
+
class: 'text-grayscale-900 w-[10px] h-[10px]',
|
120
|
+
},
|
107
121
|
};
|
@@ -0,0 +1,28 @@
|
|
1
|
+
declare namespace _default {
|
2
|
+
namespace menustart {
|
3
|
+
let _class: string;
|
4
|
+
export { _class as class };
|
5
|
+
}
|
6
|
+
function menuitem({ context, props }: {
|
7
|
+
context: any;
|
8
|
+
props: any;
|
9
|
+
}): {
|
10
|
+
class: (string | {
|
11
|
+
'!pl-0.5 !pr-2 !py-[4.5px]': boolean;
|
12
|
+
'cursor-grab [&_label]:cursor-grab '?: undefined;
|
13
|
+
'cursor-default [&_*]:cursor-default'?: undefined;
|
14
|
+
} | {
|
15
|
+
'cursor-grab [&_label]:cursor-grab ': any;
|
16
|
+
'cursor-default [&_*]:cursor-default': boolean;
|
17
|
+
'!pl-0.5 !pr-2 !py-[4.5px]'?: undefined;
|
18
|
+
})[];
|
19
|
+
};
|
20
|
+
function dragicon({ context }: {
|
21
|
+
context: any;
|
22
|
+
}): {
|
23
|
+
class: (string | {
|
24
|
+
invisible: boolean;
|
25
|
+
})[];
|
26
|
+
};
|
27
|
+
}
|
28
|
+
export default _default;
|
@@ -0,0 +1,33 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.default = {
|
4
|
+
menustart: {
|
5
|
+
class: 'border-b-[0.5px] border-solid border-grayscale-900',
|
6
|
+
},
|
7
|
+
menuitem: function (_a) {
|
8
|
+
var context = _a.context, props = _a.props;
|
9
|
+
return ({
|
10
|
+
class: [
|
11
|
+
'flex gap-1 py-[7px] px-4 transition-transform',
|
12
|
+
{
|
13
|
+
'!pl-0.5 !pr-2 !py-[4.5px]': props.type === 'flat',
|
14
|
+
},
|
15
|
+
{
|
16
|
+
'cursor-grab [&_label]:cursor-grab ': context.dragable,
|
17
|
+
'cursor-default [&_*]:cursor-default': !context.dragable,
|
18
|
+
},
|
19
|
+
'[&:has([selectable=false])]:!cursor-not-allowed',
|
20
|
+
'[&:has([selectable=false])]:hover:!bg-transparent',
|
21
|
+
],
|
22
|
+
});
|
23
|
+
},
|
24
|
+
dragicon: function (_a) {
|
25
|
+
var context = _a.context;
|
26
|
+
return ({
|
27
|
+
class: [
|
28
|
+
'!cursor-move w-[18px] h-[18px] !text-general-300 shrink-0',
|
29
|
+
{ invisible: context.dragable === false },
|
30
|
+
],
|
31
|
+
});
|
32
|
+
},
|
33
|
+
};
|
@@ -159,7 +159,7 @@ declare namespace _default {
|
|
159
159
|
context: any;
|
160
160
|
}): {
|
161
161
|
class: {
|
162
|
-
'[&_[data-
|
162
|
+
'[&_[data-wv-section=box]]:!border-white [&_[data-wv-section=box]]:!bg-transparent': boolean;
|
163
163
|
}[];
|
164
164
|
'data-wv-section': string;
|
165
165
|
};
|
@@ -256,6 +256,7 @@ declare namespace _default {
|
|
256
256
|
'pointer-events-auto': boolean;
|
257
257
|
'pointer-events-none !border-general-100 [&>i]:text-general-200'?: undefined;
|
258
258
|
})[];
|
259
|
+
severity: string;
|
259
260
|
tooltip: string;
|
260
261
|
'data-wv-section': string;
|
261
262
|
};
|
@@ -111,7 +111,7 @@ exports.default = {
|
|
111
111
|
return ({
|
112
112
|
'class': [
|
113
113
|
{
|
114
|
-
'[&_[data-
|
114
|
+
'[&_[data-wv-section=box]]:!border-white [&_[data-wv-section=box]]:!bg-transparent': !context.isSelectedAll,
|
115
115
|
},
|
116
116
|
],
|
117
117
|
'data-wv-section': 'headercheckbox',
|
@@ -149,6 +149,7 @@ exports.default = {
|
|
149
149
|
'class': [
|
150
150
|
'text-xs px-2 py-0.5',
|
151
151
|
'border-0 !border-b !border-solid border-primary-100',
|
152
|
+
'justify-items-start',
|
152
153
|
'[&:has([data-wv-section=rowcheckbox])]:text-center',
|
153
154
|
'[&:has([data-wv-section=rowcheckbox])]:text-center',
|
154
155
|
],
|
@@ -220,6 +221,7 @@ exports.default = {
|
|
220
221
|
},
|
221
222
|
{ 'pointer-events-auto': !props.disableAllRows },
|
222
223
|
],
|
224
|
+
'severity': 'secondary',
|
223
225
|
'tooltip': 'Aksi',
|
224
226
|
'data-wv-section': 'singleactionbutton',
|
225
227
|
});
|