@fewangsit/wangsvue-presets 1.0.98 → 1.0.99-alpha.1

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.
Files changed (53) hide show
  1. package/fixedasset/fieldwrapper/index.d.ts +5 -2
  2. package/fixedasset/fieldwrapper/index.js +4 -1
  3. package/fixedasset/index.d.ts +3 -3
  4. package/fixedasset/index.js +95 -95
  5. package/fixedasset/index.system.js +2 -2
  6. package/fixedasset/inputotp/index.d.ts +1 -136
  7. package/fixedasset/inputotp/index.js +50 -53
  8. package/fixedasset/password/index.js +1 -0
  9. package/fixedasset/style.css +98 -47
  10. package/fixedasset/tabmenu/index.d.ts +1 -104
  11. package/fixedasset/tabmenu/index.js +24 -17
  12. package/fixedasset/timeline/index.d.ts +24 -2
  13. package/fixedasset/timeline/index.js +24 -5
  14. package/fixedasset/username/index.js +1 -1
  15. package/globalsettings/fieldwrapper/index.d.ts +5 -2
  16. package/globalsettings/fieldwrapper/index.js +4 -1
  17. package/globalsettings/index.d.ts +2 -2
  18. package/globalsettings/index.js +27 -27
  19. package/globalsettings/index.system.js +2 -2
  20. package/globalsettings/style.css +98 -47
  21. package/globalsettings/tabmenu/index.d.ts +1 -104
  22. package/globalsettings/tabmenu/index.js +24 -17
  23. package/globalsettings/timeline/index.d.ts +22 -0
  24. package/globalsettings/timeline/index.js +19 -0
  25. package/package.json +1 -1
  26. package/supplyasset/fieldwrapper/index.d.ts +5 -2
  27. package/supplyasset/fieldwrapper/index.js +4 -1
  28. package/supplyasset/index.d.ts +2 -2
  29. package/supplyasset/index.js +25 -25
  30. package/supplyasset/index.system.js +2 -2
  31. package/supplyasset/style.css +98 -47
  32. package/supplyasset/tabmenu/index.d.ts +1 -104
  33. package/supplyasset/tabmenu/index.js +26 -18
  34. package/supplyasset/timeline/index.d.ts +22 -0
  35. package/supplyasset/timeline/index.js +19 -0
  36. package/wangsvue/buttonbulkaction/index.d.ts +2 -2
  37. package/wangsvue/buttonbulkaction/index.js +2 -1
  38. package/wangsvue/fieldwrapper/index.d.ts +5 -2
  39. package/wangsvue/fieldwrapper/index.js +4 -1
  40. package/wangsvue/index.d.ts +1 -1
  41. package/wangsvue/index.js +44 -44
  42. package/wangsvue/index.system.js +2 -2
  43. package/wangsvue/style.css +90 -47
  44. package/wangsvue/tabmenu/index.d.ts +1 -56
  45. package/wangsvue/tabmenu/index.js +18 -11
  46. package/wangsvue/timeline/index.d.ts +20 -0
  47. package/wangsvue/timeline/index.js +16 -0
  48. /package/fixedasset/{customColumn → customcolumn}/index.d.ts +0 -0
  49. /package/fixedasset/{customColumn → customcolumn}/index.js +0 -0
  50. /package/globalsettings/{customColumn → customcolumn}/index.d.ts +0 -0
  51. /package/globalsettings/{customColumn → customcolumn}/index.js +0 -0
  52. /package/supplyasset/{customColumn → customcolumn}/index.d.ts +0 -0
  53. /package/supplyasset/{customColumn → customcolumn}/index.js +0 -0
@@ -2,6 +2,19 @@
2
2
 
3
3
  @import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro&display=swap');
4
4
 
5
+ .icon{
6
+ display: flex;
7
+ height: 1em;
8
+ width: 1em;
9
+ background-color: currentColor;
10
+ -webkit-mask-image: var(--svg);
11
+ mask-image: var(--svg);
12
+ -webkit-mask-repeat: no-repeat;
13
+ mask-repeat: no-repeat;
14
+ -webkit-mask-size: 100% 100%;
15
+ mask-size: 100% 100%;
16
+ }
17
+
5
18
  .ic-add {
6
19
  /* ri-add-line */
7
20
  --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");
@@ -893,53 +906,6 @@
893
906
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M19 10h1a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V11a1 1 0 0 1 1-1h1V9a7 7 0 0 1 14 0zM5 12v8h14v-8zm6 2h2v4h-2zm6-4V9A5 5 0 0 0 7 9v1z'/%3E%3C/svg%3E");
894
907
  }
895
908
 
896
- .container{
897
- width: 100%;
898
- }
899
-
900
- @media (min-width: 640px){
901
- .container{
902
- max-width: 640px;
903
- }
904
- }
905
-
906
- @media (min-width: 768px){
907
- .container{
908
- max-width: 768px;
909
- }
910
- }
911
-
912
- @media (min-width: 1024px){
913
- .container{
914
- max-width: 1024px;
915
- }
916
- }
917
-
918
- @media (min-width: 1280px){
919
- .container{
920
- max-width: 1280px;
921
- }
922
- }
923
-
924
- @media (min-width: 1536px){
925
- .container{
926
- max-width: 1536px;
927
- }
928
- }
929
-
930
- .icon{
931
- display: flex;
932
- height: 1em;
933
- width: 1em;
934
- background-color: currentColor;
935
- -webkit-mask-image: var(--svg);
936
- mask-image: var(--svg);
937
- -webkit-mask-repeat: no-repeat;
938
- mask-repeat: no-repeat;
939
- -webkit-mask-size: 100% 100%;
940
- mask-size: 100% 100%;
941
- }
942
-
943
909
  .\!pointer-events-none{
944
910
  pointer-events: none !important;
945
911
  }
@@ -1181,6 +1147,10 @@
1181
1147
  margin: 0px;
1182
1148
  }
1183
1149
 
1150
+ .m-\[3px\]{
1151
+ margin: 3px;
1152
+ }
1153
+
1184
1154
  .\!mx-auto{
1185
1155
  margin-left: auto !important;
1186
1156
  margin-right: auto !important;
@@ -1421,6 +1391,10 @@
1421
1391
  display: inline;
1422
1392
  }
1423
1393
 
1394
+ .\!flex{
1395
+ display: flex !important;
1396
+ }
1397
+
1424
1398
  .flex{
1425
1399
  display: flex;
1426
1400
  }
@@ -1570,6 +1544,10 @@
1570
1544
  height: 21px;
1571
1545
  }
1572
1546
 
1547
+ .h-\[22px\]{
1548
+ height: 22px;
1549
+ }
1550
+
1573
1551
  .h-\[26px\]{
1574
1552
  height: 26px;
1575
1553
  }
@@ -1812,6 +1790,10 @@
1812
1790
  width: 18px;
1813
1791
  }
1814
1792
 
1793
+ .w-\[1px\]{
1794
+ width: 1px;
1795
+ }
1796
+
1815
1797
  .w-\[200px\]{
1816
1798
  width: 200px;
1817
1799
  }
@@ -1820,6 +1802,10 @@
1820
1802
  width: 224px;
1821
1803
  }
1822
1804
 
1805
+ .w-\[22px\]{
1806
+ width: 22px;
1807
+ }
1808
+
1823
1809
  .w-\[272px\]{
1824
1810
  width: 272px;
1825
1811
  }
@@ -2559,6 +2545,12 @@
2559
2545
  scroll-behavior: smooth;
2560
2546
  }
2561
2547
 
2548
+ .truncate{
2549
+ overflow: hidden;
2550
+ text-overflow: ellipsis;
2551
+ white-space: nowrap;
2552
+ }
2553
+
2562
2554
  .overflow-ellipsis{
2563
2555
  text-overflow: ellipsis;
2564
2556
  }
@@ -5557,6 +5549,10 @@ h6,
5557
5549
  background-color: rgb(248 247 238 / var(--tw-bg-opacity));
5558
5550
  }
5559
5551
 
5552
+ .hover\:bg-primary-50\/30:hover{
5553
+ background-color: rgb(248 247 238 / 0.3);
5554
+ }
5555
+
5560
5556
  .hover\:bg-primary-50\/80:hover{
5561
5557
  background-color: rgb(248 247 238 / 0.8);
5562
5558
  }
@@ -5719,6 +5715,11 @@ h6,
5719
5715
  --tw-ring-color: rgb(234 88 12 / var(--tw-ring-opacity));
5720
5716
  }
5721
5717
 
5718
+ .hover\:ring-primary-500:hover{
5719
+ --tw-ring-opacity: 1;
5720
+ --tw-ring-color: rgb(159 124 60 / var(--tw-ring-opacity));
5721
+ }
5722
+
5722
5723
  .hover\:ring-primary-600:hover{
5723
5724
  --tw-ring-opacity: 1;
5724
5725
  --tw-ring-color: rgb(133 103 50 / var(--tw-ring-opacity));
@@ -5743,6 +5744,10 @@ h6,
5743
5744
  background-color: rgb(248 247 238 / var(--tw-bg-opacity));
5744
5745
  }
5745
5746
 
5747
+ .focus\:bg-primary-50\/30:focus{
5748
+ background-color: rgb(248 247 238 / 0.3);
5749
+ }
5750
+
5746
5751
  .focus\:bg-primary-600:focus{
5747
5752
  --tw-bg-opacity: 1;
5748
5753
  background-color: rgb(133 103 50 / var(--tw-bg-opacity));
@@ -6289,6 +6294,36 @@ h6,
6289
6294
  }
6290
6295
  }
6291
6296
 
6297
+ .dark\:bg-white:where(.dark, .dark *){
6298
+ --tw-bg-opacity: 1;
6299
+ background-color: rgb(255 255 255 / var(--tw-bg-opacity));
6300
+ }
6301
+
6302
+ .dark\:text-general-800:where(.dark, .dark *){
6303
+ --tw-text-opacity: 1;
6304
+ color: rgb(32 30 41 / var(--tw-text-opacity));
6305
+ }
6306
+
6307
+ .dark\:ring-danger-500:where(.dark, .dark *){
6308
+ --tw-ring-opacity: 1;
6309
+ --tw-ring-color: rgb(183 75 36 / var(--tw-ring-opacity));
6310
+ }
6311
+
6312
+ .dark\:ring-general-200:where(.dark, .dark *){
6313
+ --tw-ring-opacity: 1;
6314
+ --tw-ring-color: rgb(181 179 199 / var(--tw-ring-opacity));
6315
+ }
6316
+
6317
+ .dark\:hover\:ring-primary-400:hover:where(.dark, .dark *){
6318
+ --tw-ring-opacity: 1;
6319
+ --tw-ring-color: rgb(189 165 82 / var(--tw-ring-opacity));
6320
+ }
6321
+
6322
+ .dark\:focus\:ring-primary-400:focus:where(.dark, .dark *){
6323
+ --tw-ring-opacity: 1;
6324
+ --tw-ring-color: rgb(189 165 82 / var(--tw-ring-opacity));
6325
+ }
6326
+
6292
6327
  .\[\&\:\:-webkit-scrollbar\]\:hidden::-webkit-scrollbar{
6293
6328
  display: none;
6294
6329
  }
@@ -6382,6 +6417,14 @@ h6,
6382
6417
  width: 100%;
6383
6418
  }
6384
6419
 
6420
+ .\[\&\>\.icon\]\:\!h-4>.icon{
6421
+ height: 1rem !important;
6422
+ }
6423
+
6424
+ .\[\&\>\.icon\]\:\!w-4>.icon{
6425
+ width: 1rem !important;
6426
+ }
6427
+
6385
6428
  .\[\&\>\[data-pc-name\=badge\]\]\:h-4>[data-pc-name=badge]{
6386
6429
  height: 1rem;
6387
6430
  }
@@ -1,57 +1,2 @@
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
- 'bg-transparent ': boolean;
21
- 'text-grayscale-900': boolean;
22
- 'border-primary-400': boolean;
23
- 'border-primary-100': boolean;
24
- 'text-primary-500': boolean;
25
- 'focus-visible:border-primary-200 focus-visible:text-primary-400'?: undefined;
26
- 'pointer-events-none'?: undefined;
27
- 'opacity-60'?: undefined;
28
- } | {
29
- 'focus-visible:border-primary-200 focus-visible:text-primary-400': boolean;
30
- 'bg-transparent '?: undefined;
31
- 'text-grayscale-900'?: undefined;
32
- 'border-primary-400'?: undefined;
33
- 'border-primary-100'?: undefined;
34
- 'text-primary-500'?: undefined;
35
- 'pointer-events-none'?: undefined;
36
- 'opacity-60'?: undefined;
37
- } | {
38
- 'pointer-events-none': any;
39
- 'opacity-60': any;
40
- 'bg-transparent '?: undefined;
41
- 'text-grayscale-900'?: undefined;
42
- 'border-primary-400'?: undefined;
43
- 'border-primary-100'?: undefined;
44
- 'text-primary-500'?: undefined;
45
- 'focus-visible:border-primary-200 focus-visible:text-primary-400'?: undefined;
46
- })[];
47
- };
48
- namespace icon {
49
- let _class_3: string;
50
- export { _class_3 as class };
51
- }
52
- namespace inkbar {
53
- let _class_4: string;
54
- export { _class_4 as class };
55
- }
56
- }
1
+ declare const _default: import("@wangs-ui/core/dist/types/themes/preset-definitions").ToRawPreset<import("@wangs-ui/core/dist/types/components/tabmenu/tabmenu.type").TabMenuPreset, import("@wangs-ui/core/dist/types/components/tabmenu/tabmenu.type").TabMenuPresetMethodOptions> | import("@wangs-ui/core/dist/types/themes/preset-definitions").ToRawPreset<import("@wangs-ui/core/dist/types/components/inputotp/inputotp.type").InputOtpPreset, import("@wangs-ui/core/dist/types/components/inputotp/inputotp.type").InputOtpPresetMethodOptions>;
57
2
  export default _default;
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.default = {
3
+ var core_1 = require("@wangs-ui/core");
4
+ exports.default = (0, core_1.definePreset)('WANGS-TABMENU', {
4
5
  root: {
5
6
  class: 'overflow-x-auto',
6
7
  style: 'scrollbar-width: none',
@@ -22,7 +23,7 @@ exports.default = {
22
23
  },
23
24
  action: function (_a) {
24
25
  var _b, _c;
25
- var context = _a.context, state = _a.state;
26
+ var context = _a.context;
26
27
  return ({
27
28
  class: [
28
29
  'relative',
@@ -37,18 +38,18 @@ exports.default = {
37
38
  'border-b-2',
38
39
  // Colors and Conditions
39
40
  {
40
- 'bg-transparent ': state.d_activeIndex !== context.index,
41
- 'text-grayscale-900': state.d_activeIndex !== context.index,
42
- 'border-primary-400': state.d_activeIndex === context.index,
43
- 'border-primary-100': state.d_activeIndex !== context.index,
44
- 'text-primary-500': state.d_activeIndex === context.index,
41
+ 'bg-transparent ': !context.active,
42
+ 'text-grayscale-900': !context.active,
43
+ 'border-primary-400': context.active,
44
+ 'border-primary-100': !context.active,
45
+ 'text-primary-500': context.active,
45
46
  },
46
47
  // States
47
48
  'hover:bg-primary-50',
48
49
  'focus-visible:outline-none focus-visible:outline-offset-0',
49
50
  'focus-visible:bg-primary-50',
50
51
  {
51
- 'focus-visible:border-primary-200 focus-visible:text-primary-400': state.d_activeIndex !== context.index,
52
+ 'focus-visible:border-primary-200 focus-visible:text-primary-400': !context.active,
52
53
  },
53
54
  // Disabled States
54
55
  {
@@ -69,7 +70,13 @@ exports.default = {
69
70
  icon: {
70
71
  class: 'mr-2',
71
72
  },
72
- inkbar: {
73
- class: 'grow border-b-2 border-primary-100',
73
+ inkbar: function (_a) {
74
+ var props = _a.props;
75
+ return ({
76
+ class: [
77
+ 'grow border-b-2 border-primary-100',
78
+ { hidden: props.type === 'pill' || props.useTrailingLine === false },
79
+ ],
80
+ });
74
81
  },
75
- };
82
+ });
@@ -38,6 +38,26 @@ declare namespace _default {
38
38
  })[];
39
39
  'data-wv-section': string;
40
40
  };
41
+ function markerDot(item: any): {
42
+ class: string[];
43
+ 'data-wv-section': string;
44
+ };
45
+ namespace contentHeader {
46
+ let _class_1: string[];
47
+ export { _class_1 as class };
48
+ }
49
+ namespace contentDetailKey {
50
+ let _class_2: string[];
51
+ export { _class_2 as class };
52
+ }
53
+ namespace contentDetailValue {
54
+ let _class_3: string[];
55
+ export { _class_3 as class };
56
+ }
57
+ namespace contentDate {
58
+ let _class_4: string[];
59
+ export { _class_4 as class };
60
+ }
41
61
  function connector({ props }: {
42
62
  props: any;
43
63
  }): {
@@ -68,6 +68,22 @@ exports.default = {
68
68
  ],
69
69
  'data-wv-section': 'markerArrow',
70
70
  }); },
71
+ markerDot: function (item) { return ({
72
+ 'class': ['hidden'],
73
+ 'data-wv-section': 'markerDot',
74
+ }); },
75
+ contentHeader: {
76
+ class: ['leading-5 cursor-pointer truncate !text-xs'],
77
+ },
78
+ contentDetailKey: {
79
+ class: ['font-semibold whitespace-nowrap'],
80
+ },
81
+ contentDetailValue: {
82
+ class: ['text-xs'],
83
+ },
84
+ contentDate: {
85
+ class: [''],
86
+ },
71
87
  connector: function (_a) {
72
88
  var props = _a.props;
73
89
  return ({