@fewangsit/wangsvue-presets 1.0.99-alpha.8 → 1.0.99-rc.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/buttonradio/index.d.ts +4 -6
- package/fixedasset/buttonradio/index.js +12 -8
- package/fixedasset/fieldwrapper/index.d.ts +2 -5
- package/fixedasset/fieldwrapper/index.js +1 -4
- package/fixedasset/index.d.ts +2 -2
- package/fixedasset/index.js +94 -94
- package/fixedasset/index.system.js +2 -2
- package/fixedasset/inputotp/index.d.ts +136 -1
- package/fixedasset/inputotp/index.js +53 -50
- package/fixedasset/password/index.js +0 -1
- package/fixedasset/style.css +45 -137
- package/fixedasset/tabmenu/index.d.ts +104 -1
- package/fixedasset/tabmenu/index.js +27 -48
- package/fixedasset/timeline/index.d.ts +2 -24
- package/fixedasset/timeline/index.js +5 -24
- package/fixedasset/username/index.js +1 -1
- package/globalsettings/buttonradio/index.d.ts +4 -6
- package/globalsettings/buttonradio/index.js +12 -8
- package/globalsettings/fieldwrapper/index.d.ts +2 -5
- package/globalsettings/fieldwrapper/index.js +1 -4
- package/globalsettings/index.d.ts +1 -1
- package/globalsettings/index.js +26 -26
- package/globalsettings/index.system.js +2 -2
- package/globalsettings/style.css +47 -120
- package/globalsettings/tabmenu/index.d.ts +104 -1
- package/globalsettings/tabmenu/index.js +27 -48
- package/globalsettings/timeline/index.d.ts +0 -22
- package/globalsettings/timeline/index.js +0 -19
- package/package.json +1 -1
- package/supplyasset/buttonradio/index.d.ts +4 -6
- package/supplyasset/buttonradio/index.js +12 -8
- package/supplyasset/fieldwrapper/index.d.ts +2 -5
- package/supplyasset/fieldwrapper/index.js +1 -4
- package/supplyasset/index.d.ts +1 -1
- package/supplyasset/index.js +24 -24
- package/supplyasset/index.system.js +2 -2
- package/supplyasset/style.css +47 -120
- package/supplyasset/tabmenu/index.d.ts +104 -1
- package/supplyasset/tabmenu/index.js +28 -50
- package/supplyasset/timeline/index.d.ts +0 -22
- package/supplyasset/timeline/index.js +0 -19
- package/wangsvue/buttonbulkaction/index.d.ts +2 -2
- package/wangsvue/buttonbulkaction/index.js +1 -2
- package/wangsvue/buttonradio/index.d.ts +1 -2
- package/wangsvue/buttonradio/index.js +7 -3
- package/wangsvue/fieldwrapper/index.d.ts +2 -5
- package/wangsvue/fieldwrapper/index.js +1 -4
- package/wangsvue/index.d.ts +1 -1
- package/wangsvue/index.js +44 -44
- package/wangsvue/index.system.js +2 -2
- package/wangsvue/style.css +47 -104
- package/wangsvue/tabmenu/index.d.ts +56 -1
- package/wangsvue/tabmenu/index.js +13 -20
- package/wangsvue/timeline/index.d.ts +0 -20
- package/wangsvue/timeline/index.js +0 -16
package/globalsettings/style.css
CHANGED
|
@@ -1,18 +1,5 @@
|
|
|
1
1
|
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');
|
|
2
2
|
|
|
3
|
-
.icon{
|
|
4
|
-
display: flex;
|
|
5
|
-
height: 1em;
|
|
6
|
-
width: 1em;
|
|
7
|
-
background-color: currentColor;
|
|
8
|
-
-webkit-mask-image: var(--svg);
|
|
9
|
-
mask-image: var(--svg);
|
|
10
|
-
-webkit-mask-repeat: no-repeat;
|
|
11
|
-
mask-repeat: no-repeat;
|
|
12
|
-
-webkit-mask-size: 100% 100%;
|
|
13
|
-
mask-size: 100% 100%;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
3
|
.ic-add {
|
|
17
4
|
/* ri-add-line */
|
|
18
5
|
--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M11 11V5h2v6h6v2h-6v6h-2v-6H5v-2z'/%3E%3C/svg%3E");
|
|
@@ -896,6 +883,53 @@
|
|
|
896
883
|
--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M15.199 9.944a2.6 2.6 0 0 1-.79-1.55l-.403-3.083l-2.731 1.486a2.6 2.6 0 0 1-1.719.272L6.5 6.5l.57 3.056a2.6 2.6 0 0 1-.273 1.72l-1.486 2.73l3.083.403a2.6 2.6 0 0 1 1.55.79l2.138 2.257l1.336-2.807a2.6 2.6 0 0 1 1.23-1.231l2.808-1.336zm.025 5.564l-2.213 4.65a.6.6 0 0 1-.977.155l-3.542-3.739a.6.6 0 0 0-.358-.182l-5.106-.668a.6.6 0 0 1-.45-.881l2.462-4.524a.6.6 0 0 0 .063-.396L4.16 4.86a.6.6 0 0 1 .7-.7l5.062.943a.6.6 0 0 0 .397-.063l4.523-2.46a.6.6 0 0 1 .882.448l.668 5.107a.6.6 0 0 0 .182.357l3.739 3.542a.6.6 0 0 1-.155.977l-4.65 2.213a.6.6 0 0 0-.284.284m.797 1.927l1.414-1.414l4.243 4.242l-1.415 1.415z'/%3E%3C/svg%3E");
|
|
897
884
|
}
|
|
898
885
|
|
|
886
|
+
.container{
|
|
887
|
+
width: 100%;
|
|
888
|
+
}
|
|
889
|
+
|
|
890
|
+
@media (min-width: 640px){
|
|
891
|
+
.container{
|
|
892
|
+
max-width: 640px;
|
|
893
|
+
}
|
|
894
|
+
}
|
|
895
|
+
|
|
896
|
+
@media (min-width: 768px){
|
|
897
|
+
.container{
|
|
898
|
+
max-width: 768px;
|
|
899
|
+
}
|
|
900
|
+
}
|
|
901
|
+
|
|
902
|
+
@media (min-width: 1024px){
|
|
903
|
+
.container{
|
|
904
|
+
max-width: 1024px;
|
|
905
|
+
}
|
|
906
|
+
}
|
|
907
|
+
|
|
908
|
+
@media (min-width: 1280px){
|
|
909
|
+
.container{
|
|
910
|
+
max-width: 1280px;
|
|
911
|
+
}
|
|
912
|
+
}
|
|
913
|
+
|
|
914
|
+
@media (min-width: 1536px){
|
|
915
|
+
.container{
|
|
916
|
+
max-width: 1536px;
|
|
917
|
+
}
|
|
918
|
+
}
|
|
919
|
+
|
|
920
|
+
.icon{
|
|
921
|
+
display: flex;
|
|
922
|
+
height: 1em;
|
|
923
|
+
width: 1em;
|
|
924
|
+
background-color: currentColor;
|
|
925
|
+
-webkit-mask-image: var(--svg);
|
|
926
|
+
mask-image: var(--svg);
|
|
927
|
+
-webkit-mask-repeat: no-repeat;
|
|
928
|
+
mask-repeat: no-repeat;
|
|
929
|
+
-webkit-mask-size: 100% 100%;
|
|
930
|
+
mask-size: 100% 100%;
|
|
931
|
+
}
|
|
932
|
+
|
|
899
933
|
.\!pointer-events-none{
|
|
900
934
|
pointer-events: none !important;
|
|
901
935
|
}
|
|
@@ -1133,18 +1167,10 @@
|
|
|
1133
1167
|
margin: 0px !important;
|
|
1134
1168
|
}
|
|
1135
1169
|
|
|
1136
|
-
.\!m-\[2px\]{
|
|
1137
|
-
margin: 2px !important;
|
|
1138
|
-
}
|
|
1139
|
-
|
|
1140
1170
|
.m-0{
|
|
1141
1171
|
margin: 0px;
|
|
1142
1172
|
}
|
|
1143
1173
|
|
|
1144
|
-
.m-\[3px\]{
|
|
1145
|
-
margin: 3px;
|
|
1146
|
-
}
|
|
1147
|
-
|
|
1148
1174
|
.\!mx-auto{
|
|
1149
1175
|
margin-left: auto !important;
|
|
1150
1176
|
margin-right: auto !important;
|
|
@@ -1389,10 +1415,6 @@
|
|
|
1389
1415
|
display: inline;
|
|
1390
1416
|
}
|
|
1391
1417
|
|
|
1392
|
-
.\!flex{
|
|
1393
|
-
display: flex !important;
|
|
1394
|
-
}
|
|
1395
|
-
|
|
1396
1418
|
.flex{
|
|
1397
1419
|
display: flex;
|
|
1398
1420
|
}
|
|
@@ -1437,10 +1459,6 @@
|
|
|
1437
1459
|
height: 10px !important;
|
|
1438
1460
|
}
|
|
1439
1461
|
|
|
1440
|
-
.\!h-\[26px\]{
|
|
1441
|
-
height: 26px !important;
|
|
1442
|
-
}
|
|
1443
|
-
|
|
1444
1462
|
.\!h-\[28px\]{
|
|
1445
1463
|
height: 28px !important;
|
|
1446
1464
|
}
|
|
@@ -1550,10 +1568,6 @@
|
|
|
1550
1568
|
height: 21px;
|
|
1551
1569
|
}
|
|
1552
1570
|
|
|
1553
|
-
.h-\[22px\]{
|
|
1554
|
-
height: 22px;
|
|
1555
|
-
}
|
|
1556
|
-
|
|
1557
1571
|
.h-\[26px\]{
|
|
1558
1572
|
height: 26px;
|
|
1559
1573
|
}
|
|
@@ -1800,10 +1814,6 @@
|
|
|
1800
1814
|
width: 18px;
|
|
1801
1815
|
}
|
|
1802
1816
|
|
|
1803
|
-
.w-\[1px\]{
|
|
1804
|
-
width: 1px;
|
|
1805
|
-
}
|
|
1806
|
-
|
|
1807
1817
|
.w-\[200px\]{
|
|
1808
1818
|
width: 200px;
|
|
1809
1819
|
}
|
|
@@ -1812,10 +1822,6 @@
|
|
|
1812
1822
|
width: 224px;
|
|
1813
1823
|
}
|
|
1814
1824
|
|
|
1815
|
-
.w-\[22px\]{
|
|
1816
|
-
width: 22px;
|
|
1817
|
-
}
|
|
1818
|
-
|
|
1819
1825
|
.w-\[272px\]{
|
|
1820
1826
|
width: 272px;
|
|
1821
1827
|
}
|
|
@@ -2523,10 +2529,6 @@
|
|
|
2523
2529
|
overflow: hidden;
|
|
2524
2530
|
}
|
|
2525
2531
|
|
|
2526
|
-
.overflow-visible{
|
|
2527
|
-
overflow: visible;
|
|
2528
|
-
}
|
|
2529
|
-
|
|
2530
2532
|
.overflow-scroll{
|
|
2531
2533
|
overflow: scroll;
|
|
2532
2534
|
}
|
|
@@ -2547,10 +2549,6 @@
|
|
|
2547
2549
|
overflow-y: hidden;
|
|
2548
2550
|
}
|
|
2549
2551
|
|
|
2550
|
-
.overflow-x-visible{
|
|
2551
|
-
overflow-x: visible;
|
|
2552
|
-
}
|
|
2553
|
-
|
|
2554
2552
|
.overscroll-auto{
|
|
2555
2553
|
overscroll-behavior: auto;
|
|
2556
2554
|
}
|
|
@@ -2563,12 +2561,6 @@
|
|
|
2563
2561
|
scroll-behavior: smooth;
|
|
2564
2562
|
}
|
|
2565
2563
|
|
|
2566
|
-
.truncate{
|
|
2567
|
-
overflow: hidden;
|
|
2568
|
-
text-overflow: ellipsis;
|
|
2569
|
-
white-space: nowrap;
|
|
2570
|
-
}
|
|
2571
|
-
|
|
2572
2564
|
.overflow-ellipsis{
|
|
2573
2565
|
text-overflow: ellipsis;
|
|
2574
2566
|
}
|
|
@@ -4394,12 +4386,6 @@
|
|
|
4394
4386
|
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
4395
4387
|
}
|
|
4396
4388
|
|
|
4397
|
-
.shadow-\[-2px_2px_2px_rgba\(0\2c 0\2c 0\2c 0\.25\)\]{
|
|
4398
|
-
--tw-shadow: -2px 2px 2px rgba(0,0,0,0.25);
|
|
4399
|
-
--tw-shadow-colored: -2px 2px 2px var(--tw-shadow-color);
|
|
4400
|
-
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
4401
|
-
}
|
|
4402
|
-
|
|
4403
4389
|
.shadow-\[-4px_4px_20px_0px_\#0000001A\]{
|
|
4404
4390
|
--tw-shadow: -4px 4px 20px 0px #0000001A;
|
|
4405
4391
|
--tw-shadow-colored: -4px 4px 20px 0px var(--tw-shadow-color);
|
|
@@ -5684,14 +5670,6 @@ div{
|
|
|
5684
5670
|
background-color: rgb(235 234 240 / var(--tw-bg-opacity));
|
|
5685
5671
|
}
|
|
5686
5672
|
|
|
5687
|
-
.hover\:bg-primary-50\/30:hover{
|
|
5688
|
-
background-color: rgb(235 234 240 / 0.3);
|
|
5689
|
-
}
|
|
5690
|
-
|
|
5691
|
-
.hover\:bg-primary-50\/50:hover{
|
|
5692
|
-
background-color: rgb(235 234 240 / 0.5);
|
|
5693
|
-
}
|
|
5694
|
-
|
|
5695
5673
|
.hover\:bg-primary-50\/80:hover{
|
|
5696
5674
|
background-color: rgb(235 234 240 / 0.8);
|
|
5697
5675
|
}
|
|
@@ -5858,11 +5836,6 @@ div{
|
|
|
5858
5836
|
--tw-ring-color: rgb(234 88 12 / var(--tw-ring-opacity));
|
|
5859
5837
|
}
|
|
5860
5838
|
|
|
5861
|
-
.hover\:ring-primary-500:hover{
|
|
5862
|
-
--tw-ring-opacity: 1;
|
|
5863
|
-
--tw-ring-color: rgb(32 30 41 / var(--tw-ring-opacity));
|
|
5864
|
-
}
|
|
5865
|
-
|
|
5866
5839
|
.hover\:ring-primary-600:hover{
|
|
5867
5840
|
--tw-ring-opacity: 1;
|
|
5868
5841
|
--tw-ring-color: rgb(16 15 21 / var(--tw-ring-opacity));
|
|
@@ -5887,14 +5860,6 @@ div{
|
|
|
5887
5860
|
background-color: rgb(235 234 240 / var(--tw-bg-opacity));
|
|
5888
5861
|
}
|
|
5889
5862
|
|
|
5890
|
-
.focus\:bg-primary-50\/30:focus{
|
|
5891
|
-
background-color: rgb(235 234 240 / 0.3);
|
|
5892
|
-
}
|
|
5893
|
-
|
|
5894
|
-
.focus\:bg-primary-50\/50:focus{
|
|
5895
|
-
background-color: rgb(235 234 240 / 0.5);
|
|
5896
|
-
}
|
|
5897
|
-
|
|
5898
5863
|
.focus\:bg-primary-600:focus{
|
|
5899
5864
|
--tw-bg-opacity: 1;
|
|
5900
5865
|
background-color: rgb(16 15 21 / var(--tw-bg-opacity));
|
|
@@ -6451,36 +6416,6 @@ div{
|
|
|
6451
6416
|
}
|
|
6452
6417
|
}
|
|
6453
6418
|
|
|
6454
|
-
.dark\:bg-white:where(.dark, .dark *){
|
|
6455
|
-
--tw-bg-opacity: 1;
|
|
6456
|
-
background-color: rgb(255 255 255 / var(--tw-bg-opacity));
|
|
6457
|
-
}
|
|
6458
|
-
|
|
6459
|
-
.dark\:text-general-800:where(.dark, .dark *){
|
|
6460
|
-
--tw-text-opacity: 1;
|
|
6461
|
-
color: rgb(32 30 41 / var(--tw-text-opacity));
|
|
6462
|
-
}
|
|
6463
|
-
|
|
6464
|
-
.dark\:ring-danger-500:where(.dark, .dark *){
|
|
6465
|
-
--tw-ring-opacity: 1;
|
|
6466
|
-
--tw-ring-color: rgb(255 0 34 / var(--tw-ring-opacity));
|
|
6467
|
-
}
|
|
6468
|
-
|
|
6469
|
-
.dark\:ring-general-200:where(.dark, .dark *){
|
|
6470
|
-
--tw-ring-opacity: 1;
|
|
6471
|
-
--tw-ring-color: rgb(181 179 199 / var(--tw-ring-opacity));
|
|
6472
|
-
}
|
|
6473
|
-
|
|
6474
|
-
.dark\:hover\:ring-primary-400:hover:where(.dark, .dark *){
|
|
6475
|
-
--tw-ring-opacity: 1;
|
|
6476
|
-
--tw-ring-color: rgb(108 104 141 / var(--tw-ring-opacity));
|
|
6477
|
-
}
|
|
6478
|
-
|
|
6479
|
-
.dark\:focus\:ring-primary-400:focus:where(.dark, .dark *){
|
|
6480
|
-
--tw-ring-opacity: 1;
|
|
6481
|
-
--tw-ring-color: rgb(108 104 141 / var(--tw-ring-opacity));
|
|
6482
|
-
}
|
|
6483
|
-
|
|
6484
6419
|
.\[\&\:\:-webkit-scrollbar\]\:hidden::-webkit-scrollbar{
|
|
6485
6420
|
display: none;
|
|
6486
6421
|
}
|
|
@@ -6574,14 +6509,6 @@ div{
|
|
|
6574
6509
|
width: 100%;
|
|
6575
6510
|
}
|
|
6576
6511
|
|
|
6577
|
-
.\[\&\>\.icon\]\:\!h-4>.icon{
|
|
6578
|
-
height: 1rem !important;
|
|
6579
|
-
}
|
|
6580
|
-
|
|
6581
|
-
.\[\&\>\.icon\]\:\!w-4>.icon{
|
|
6582
|
-
width: 1rem !important;
|
|
6583
|
-
}
|
|
6584
|
-
|
|
6585
6512
|
.\[\&\>\[data-pc-name\=badge\]\]\:h-4>[data-pc-name=badge]{
|
|
6586
6513
|
height: 1rem;
|
|
6587
6514
|
}
|
|
@@ -1,2 +1,105 @@
|
|
|
1
|
-
declare
|
|
1
|
+
declare namespace _default {
|
|
2
|
+
namespace root {
|
|
3
|
+
let _class: string;
|
|
4
|
+
export { _class as class };
|
|
5
|
+
export let style: string;
|
|
6
|
+
}
|
|
7
|
+
namespace menu {
|
|
8
|
+
let _class_1: string[];
|
|
9
|
+
export { _class_1 as class };
|
|
10
|
+
}
|
|
11
|
+
namespace menuitem {
|
|
12
|
+
let _class_2: string;
|
|
13
|
+
export { _class_2 as class };
|
|
14
|
+
}
|
|
15
|
+
function action({ context, state }: {
|
|
16
|
+
context: any;
|
|
17
|
+
state: any;
|
|
18
|
+
}): {
|
|
19
|
+
class: (string | {
|
|
20
|
+
'rounded-xl py-1 px-3': boolean;
|
|
21
|
+
'p-2 pb-1.5 pt-0.5 !h-6': boolean;
|
|
22
|
+
'ml-1': boolean;
|
|
23
|
+
'border-b-2'?: undefined;
|
|
24
|
+
'border-primary-500'?: undefined;
|
|
25
|
+
'border-grayscale-400'?: undefined;
|
|
26
|
+
'text-grayscale-600'?: undefined;
|
|
27
|
+
'text-primary-500'?: undefined;
|
|
28
|
+
'bg-primary-500 text-white'?: undefined;
|
|
29
|
+
'bg-grayscale-200 text-grayscale-800'?: undefined;
|
|
30
|
+
'bg-transparent '?: undefined;
|
|
31
|
+
'focus-visible:border-primary-200 focus-visible:text-primary-400'?: undefined;
|
|
32
|
+
'pointer-events-none'?: undefined;
|
|
33
|
+
'opacity-60'?: undefined;
|
|
34
|
+
} | {
|
|
35
|
+
'border-b-2': boolean;
|
|
36
|
+
'rounded-xl py-1 px-3'?: undefined;
|
|
37
|
+
'p-2 pb-1.5 pt-0.5 !h-6'?: undefined;
|
|
38
|
+
'ml-1'?: undefined;
|
|
39
|
+
'border-primary-500'?: undefined;
|
|
40
|
+
'border-grayscale-400'?: undefined;
|
|
41
|
+
'text-grayscale-600'?: undefined;
|
|
42
|
+
'text-primary-500'?: undefined;
|
|
43
|
+
'bg-primary-500 text-white'?: undefined;
|
|
44
|
+
'bg-grayscale-200 text-grayscale-800'?: undefined;
|
|
45
|
+
'bg-transparent '?: undefined;
|
|
46
|
+
'focus-visible:border-primary-200 focus-visible:text-primary-400'?: undefined;
|
|
47
|
+
'pointer-events-none'?: undefined;
|
|
48
|
+
'opacity-60'?: undefined;
|
|
49
|
+
} | {
|
|
50
|
+
'border-primary-500': any;
|
|
51
|
+
'border-grayscale-400': boolean;
|
|
52
|
+
'text-grayscale-600': boolean;
|
|
53
|
+
'text-primary-500': any;
|
|
54
|
+
'bg-primary-500 text-white': any;
|
|
55
|
+
'bg-grayscale-200 text-grayscale-800': boolean;
|
|
56
|
+
'bg-transparent ': boolean;
|
|
57
|
+
'rounded-xl py-1 px-3'?: undefined;
|
|
58
|
+
'p-2 pb-1.5 pt-0.5 !h-6'?: undefined;
|
|
59
|
+
'ml-1'?: undefined;
|
|
60
|
+
'border-b-2'?: undefined;
|
|
61
|
+
'focus-visible:border-primary-200 focus-visible:text-primary-400'?: undefined;
|
|
62
|
+
'pointer-events-none'?: undefined;
|
|
63
|
+
'opacity-60'?: undefined;
|
|
64
|
+
} | {
|
|
65
|
+
'focus-visible:border-primary-200 focus-visible:text-primary-400': boolean;
|
|
66
|
+
'rounded-xl py-1 px-3'?: undefined;
|
|
67
|
+
'p-2 pb-1.5 pt-0.5 !h-6'?: undefined;
|
|
68
|
+
'ml-1'?: undefined;
|
|
69
|
+
'border-b-2'?: undefined;
|
|
70
|
+
'border-primary-500'?: undefined;
|
|
71
|
+
'border-grayscale-400'?: undefined;
|
|
72
|
+
'text-grayscale-600'?: undefined;
|
|
73
|
+
'text-primary-500'?: undefined;
|
|
74
|
+
'bg-primary-500 text-white'?: undefined;
|
|
75
|
+
'bg-grayscale-200 text-grayscale-800'?: undefined;
|
|
76
|
+
'bg-transparent '?: undefined;
|
|
77
|
+
'pointer-events-none'?: undefined;
|
|
78
|
+
'opacity-60'?: undefined;
|
|
79
|
+
} | {
|
|
80
|
+
'pointer-events-none': any;
|
|
81
|
+
'opacity-60': any;
|
|
82
|
+
'rounded-xl py-1 px-3'?: undefined;
|
|
83
|
+
'p-2 pb-1.5 pt-0.5 !h-6'?: undefined;
|
|
84
|
+
'ml-1'?: undefined;
|
|
85
|
+
'border-b-2'?: undefined;
|
|
86
|
+
'border-primary-500'?: undefined;
|
|
87
|
+
'border-grayscale-400'?: undefined;
|
|
88
|
+
'text-grayscale-600'?: undefined;
|
|
89
|
+
'text-primary-500'?: undefined;
|
|
90
|
+
'bg-primary-500 text-white'?: undefined;
|
|
91
|
+
'bg-grayscale-200 text-grayscale-800'?: undefined;
|
|
92
|
+
'bg-transparent '?: undefined;
|
|
93
|
+
'focus-visible:border-primary-200 focus-visible:text-primary-400'?: undefined;
|
|
94
|
+
})[];
|
|
95
|
+
};
|
|
96
|
+
namespace icon {
|
|
97
|
+
let _class_3: string;
|
|
98
|
+
export { _class_3 as class };
|
|
99
|
+
}
|
|
100
|
+
namespace inkbar {
|
|
101
|
+
let _class_4: string;
|
|
102
|
+
export { _class_4 as class };
|
|
103
|
+
}
|
|
104
|
+
}
|
|
2
105
|
export default _default;
|
|
@@ -1,34 +1,27 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
|
|
4
|
-
exports.default = (0, core_1.definePreset)('WANGS-TAB-MENU', {
|
|
3
|
+
exports.default = {
|
|
5
4
|
root: {
|
|
6
5
|
class: 'overflow-x-auto',
|
|
7
6
|
style: 'scrollbar-width: none',
|
|
8
7
|
},
|
|
9
|
-
menu:
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
'text-general-100',
|
|
20
|
-
{
|
|
21
|
-
'w-max ring-1 ring-inset ring-general-100 rounded !m-[2px]': props.type === 'segmented',
|
|
22
|
-
},
|
|
23
|
-
],
|
|
24
|
-
});
|
|
8
|
+
menu: {
|
|
9
|
+
class: [
|
|
10
|
+
// Flexbox
|
|
11
|
+
'flex flex-1',
|
|
12
|
+
// Spacing
|
|
13
|
+
'list-none',
|
|
14
|
+
'p-0 m-0',
|
|
15
|
+
// Colors
|
|
16
|
+
'text-general-100',
|
|
17
|
+
],
|
|
25
18
|
},
|
|
26
19
|
menuitem: {
|
|
27
20
|
class: 'mr-0',
|
|
28
21
|
},
|
|
29
22
|
action: function (_a) {
|
|
30
23
|
var _b, _c;
|
|
31
|
-
var
|
|
24
|
+
var context = _a.context, state = _a.state;
|
|
32
25
|
return ({
|
|
33
26
|
class: [
|
|
34
27
|
'relative',
|
|
@@ -39,32 +32,28 @@ exports.default = (0, core_1.definePreset)('WANGS-TAB-MENU', {
|
|
|
39
32
|
'flex items-center',
|
|
40
33
|
// Spacing
|
|
41
34
|
{
|
|
42
|
-
'rounded-xl py-1 px-3':
|
|
43
|
-
'
|
|
44
|
-
'
|
|
45
|
-
'py-[5px] px-3 !h-[26px]': props.type === 'segmented',
|
|
46
|
-
'ml-1': props.type === 'pill' && context.index !== 0,
|
|
35
|
+
'rounded-xl py-1 px-3': context.type === 'pill',
|
|
36
|
+
'p-2 pb-1.5 pt-0.5 !h-6': context.type !== 'pill',
|
|
37
|
+
'ml-1': context.type === 'pill' && context.index !== 0,
|
|
47
38
|
},
|
|
48
39
|
// Shape
|
|
49
40
|
{
|
|
50
|
-
'border-b-2':
|
|
41
|
+
'border-b-2': context.type !== 'pill',
|
|
51
42
|
},
|
|
52
43
|
// Colors and Conditions
|
|
53
44
|
{
|
|
54
|
-
'border-primary-500':
|
|
55
|
-
'border-grayscale-400': !
|
|
56
|
-
'text-grayscale-600': !
|
|
57
|
-
'text-primary-500':
|
|
58
|
-
'bg-primary-500 text-white':
|
|
59
|
-
'bg-grayscale-200 text-grayscale-800':
|
|
60
|
-
'bg-
|
|
61
|
-
'!text-general-800': props.type === 'segmented' && !context.active,
|
|
62
|
-
'bg-transparent ': props.type !== 'pill' && !context.active,
|
|
45
|
+
'border-primary-500': state.active,
|
|
46
|
+
'border-grayscale-400': !state.active,
|
|
47
|
+
'text-grayscale-600': !state.active,
|
|
48
|
+
'text-primary-500': state.active,
|
|
49
|
+
'bg-primary-500 text-white': context.type === 'pill' && state.active,
|
|
50
|
+
'bg-grayscale-200 text-grayscale-800': context.type === 'pill' && !state.active,
|
|
51
|
+
'bg-transparent ': context.type !== 'pill' && !state.active,
|
|
63
52
|
},
|
|
64
53
|
// States
|
|
65
54
|
'focus-visible:outline-none focus-visible:outline-offset-0',
|
|
66
55
|
{
|
|
67
|
-
'focus-visible:border-primary-200 focus-visible:text-primary-400': !
|
|
56
|
+
'focus-visible:border-primary-200 focus-visible:text-primary-400': !state.active,
|
|
68
57
|
},
|
|
69
58
|
// Disabled States
|
|
70
59
|
{
|
|
@@ -85,17 +74,7 @@ exports.default = (0, core_1.definePreset)('WANGS-TAB-MENU', {
|
|
|
85
74
|
icon: {
|
|
86
75
|
class: 'mr-2',
|
|
87
76
|
},
|
|
88
|
-
inkbar:
|
|
89
|
-
|
|
90
|
-
return ({
|
|
91
|
-
class: [
|
|
92
|
-
'grow border-b-2 border-primary-100',
|
|
93
|
-
{
|
|
94
|
-
hidden: props.type === 'pill' ||
|
|
95
|
-
props.useTrailingLine === false ||
|
|
96
|
-
props.type === 'segmented',
|
|
97
|
-
},
|
|
98
|
-
],
|
|
99
|
-
});
|
|
77
|
+
inkbar: {
|
|
78
|
+
class: 'grow border-b-2 border-primary-100',
|
|
100
79
|
},
|
|
101
|
-
}
|
|
80
|
+
};
|
|
@@ -38,28 +38,6 @@ declare namespace _default {
|
|
|
38
38
|
})[];
|
|
39
39
|
'data-wv-section': string;
|
|
40
40
|
};
|
|
41
|
-
function markerDot(item: any): {
|
|
42
|
-
class: (string | {
|
|
43
|
-
'!flex': any;
|
|
44
|
-
})[];
|
|
45
|
-
'data-wv-section': string;
|
|
46
|
-
};
|
|
47
|
-
namespace contentHeader {
|
|
48
|
-
let _class_1: string[];
|
|
49
|
-
export { _class_1 as class };
|
|
50
|
-
}
|
|
51
|
-
namespace contentDetailKey {
|
|
52
|
-
let _class_2: string[];
|
|
53
|
-
export { _class_2 as class };
|
|
54
|
-
}
|
|
55
|
-
namespace contentDetailValue {
|
|
56
|
-
let _class_3: string[];
|
|
57
|
-
export { _class_3 as class };
|
|
58
|
-
}
|
|
59
|
-
namespace contentDate {
|
|
60
|
-
let _class_4: string[];
|
|
61
|
-
export { _class_4 as class };
|
|
62
|
-
}
|
|
63
41
|
function connector({ props }: {
|
|
64
42
|
props: any;
|
|
65
43
|
}): {
|
|
@@ -68,25 +68,6 @@ exports.default = {
|
|
|
68
68
|
],
|
|
69
69
|
'data-wv-section': 'markerArrow',
|
|
70
70
|
}); },
|
|
71
|
-
markerDot: function (item) { return ({
|
|
72
|
-
'class': [
|
|
73
|
-
'hidden w-[6px] h-[6px] m-[3px] rounded-full bg-black',
|
|
74
|
-
{ '!flex': !item.detail || isEmptyObject(item.detail) },
|
|
75
|
-
],
|
|
76
|
-
'data-wv-section': 'markerDot',
|
|
77
|
-
}); },
|
|
78
|
-
contentHeader: {
|
|
79
|
-
class: ['leading-5 cursor-pointer truncate !text-xs !font-bold'],
|
|
80
|
-
},
|
|
81
|
-
contentDetailKey: {
|
|
82
|
-
class: ['text-general-400 whitespace-nowrap'],
|
|
83
|
-
},
|
|
84
|
-
contentDetailValue: {
|
|
85
|
-
class: ['text-xs text-general-800'],
|
|
86
|
-
},
|
|
87
|
-
contentDate: {
|
|
88
|
-
class: ['text-xs font-medium'],
|
|
89
|
-
},
|
|
90
71
|
connector: function (_a) {
|
|
91
72
|
var props = _a.props;
|
|
92
73
|
return ({
|
package/package.json
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
declare namespace _default {
|
|
2
|
-
function root({ props
|
|
2
|
+
function root({ props }: {
|
|
3
3
|
props: any;
|
|
4
|
-
state: any;
|
|
5
4
|
}): {
|
|
6
5
|
class: (string | {
|
|
7
|
-
'bg-white':
|
|
6
|
+
'bg-white': boolean;
|
|
8
7
|
'bg-general-50': boolean;
|
|
9
8
|
'ring-general-100': boolean;
|
|
10
|
-
'ring-primary-700':
|
|
9
|
+
'ring-primary-700': boolean;
|
|
11
10
|
'ring-general-200': any;
|
|
12
11
|
'!ring-danger-500'?: undefined;
|
|
13
12
|
} | {
|
|
@@ -21,9 +20,8 @@ declare namespace _default {
|
|
|
21
20
|
'data-wv-name': string;
|
|
22
21
|
'data-wv-section': string;
|
|
23
22
|
};
|
|
24
|
-
function box({ props
|
|
23
|
+
function box({ props }: {
|
|
25
24
|
props: any;
|
|
26
|
-
state: any;
|
|
27
25
|
}): {
|
|
28
26
|
class: (string | {
|
|
29
27
|
'bg-primary-700': boolean;
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
var toggleswitch_1 = require("../toggleswitch");
|
|
4
4
|
exports.default = {
|
|
5
5
|
root: function (_a) {
|
|
6
|
-
var props = _a.props
|
|
6
|
+
var props = _a.props;
|
|
7
7
|
return ({
|
|
8
8
|
'class': [
|
|
9
9
|
'relative',
|
|
@@ -17,10 +17,10 @@ exports.default = {
|
|
|
17
17
|
'rounded-full',
|
|
18
18
|
// Colors
|
|
19
19
|
{
|
|
20
|
-
'bg-white': !props.disabled ||
|
|
21
|
-
'bg-general-50': props.disabled &&
|
|
22
|
-
'ring-general-100': !props.disabled &&
|
|
23
|
-
'ring-primary-700': !props.disabled &&
|
|
20
|
+
'bg-white': !props.disabled || props.value == props.modelValue,
|
|
21
|
+
'bg-general-50': props.disabled && props.value != props.modelValue,
|
|
22
|
+
'ring-general-100': !props.disabled && props.value != props.modelValue,
|
|
23
|
+
'ring-primary-700': !props.disabled && props.value == props.modelValue,
|
|
24
24
|
'ring-general-200': props.disabled,
|
|
25
25
|
},
|
|
26
26
|
{
|
|
@@ -34,7 +34,7 @@ exports.default = {
|
|
|
34
34
|
});
|
|
35
35
|
},
|
|
36
36
|
box: function (_a) {
|
|
37
|
-
var props = _a.props
|
|
37
|
+
var props = _a.props;
|
|
38
38
|
return ({
|
|
39
39
|
class: [
|
|
40
40
|
// Size
|
|
@@ -50,8 +50,12 @@ exports.default = {
|
|
|
50
50
|
'transition duration-200 ease-in-out',
|
|
51
51
|
// Colors
|
|
52
52
|
{
|
|
53
|
-
'bg-primary-700':
|
|
54
|
-
|
|
53
|
+
'bg-primary-700': props.value == props.modelValue &&
|
|
54
|
+
props.value !== undefined &&
|
|
55
|
+
!props.disabled,
|
|
56
|
+
'bg-general-200': props.value == props.modelValue &&
|
|
57
|
+
props.value !== undefined &&
|
|
58
|
+
props.disabled,
|
|
55
59
|
},
|
|
56
60
|
// States
|
|
57
61
|
{
|
|
@@ -4,13 +4,10 @@ declare namespace _default {
|
|
|
4
4
|
'data-wv-name': string;
|
|
5
5
|
'data-wv-section': string;
|
|
6
6
|
};
|
|
7
|
-
function label({ props
|
|
7
|
+
function label({ props }: {
|
|
8
8
|
props: any;
|
|
9
|
-
slots: any;
|
|
10
9
|
}): {
|
|
11
|
-
class:
|
|
12
|
-
'w-full': any;
|
|
13
|
-
})[];
|
|
10
|
+
class: any[][];
|
|
14
11
|
'data-wv-section': string;
|
|
15
12
|
};
|
|
16
13
|
namespace info {
|
|
@@ -9,16 +9,13 @@ exports.default = {
|
|
|
9
9
|
'data-wv-section': 'root',
|
|
10
10
|
},
|
|
11
11
|
label: function (_a) {
|
|
12
|
-
var props = _a.props
|
|
12
|
+
var props = _a.props;
|
|
13
13
|
return ({
|
|
14
14
|
'class': [
|
|
15
15
|
[
|
|
16
16
|
'text-general-900 text-xs flex gap-[2px] font-medium tracking-[0.02em]',
|
|
17
17
|
props.labelClass,
|
|
18
18
|
],
|
|
19
|
-
{
|
|
20
|
-
'w-full': slots['label-addon']
|
|
21
|
-
}
|
|
22
19
|
],
|
|
23
20
|
'data-wv-section': 'fieldlabel',
|
|
24
21
|
});
|
package/supplyasset/index.d.ts
CHANGED
|
@@ -105,7 +105,7 @@ import card from './card/index.js';
|
|
|
105
105
|
import menu from './menu/index.js';
|
|
106
106
|
import steps from './steps/index.js';
|
|
107
107
|
import breadcrumb from './breadcrumb/index.js';
|
|
108
|
-
import tabmenu from './tabmenu';
|
|
108
|
+
import tabmenu from './tabmenu/index.js';
|
|
109
109
|
import dialog from './dialog/index.js';
|
|
110
110
|
import dialogconfirm from './dialogconfirm/index.js';
|
|
111
111
|
import dialogform from './dialogform/index.js';
|