@fewangsit/wangsvue-presets 1.0.104 → 1.0.105-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.
@@ -74,7 +74,11 @@ exports.default = {
74
74
  var context = _a.context;
75
75
  return {
76
76
  'class': [
77
- 'text-xs font-semibold text-white p-2 text-left cursor-pointer',
77
+ 'text-xs font-semibold text-white p-2 cursor-pointer',
78
+ {
79
+ 'text-center': context.isParentHeader,
80
+ 'text-left': !context.isParentHeader,
81
+ },
78
82
  { 'bg-primary-400': !context.sorted || !context.sortable },
79
83
  { 'bg-primary-500': context.sorted },
80
84
  {
@@ -386,7 +386,7 @@ const _ = {
386
386
  "icon-class": "w-3 h-3",
387
387
  "data-wv-section": "removebutton"
388
388
  })
389
- }, F = {
389
+ }, P = {
390
390
  root: ({ context: e }) => ({
391
391
  class: [
392
392
  // Font
@@ -424,7 +424,7 @@ const _ = {
424
424
  }
425
425
  ]
426
426
  })
427
- }, P = {
427
+ }, F = {
428
428
  root: ({ props: e, context: t }) => ({
429
429
  class: [
430
430
  "relative",
@@ -2010,7 +2010,7 @@ const _ = {
2010
2010
  "px-2 bg-primary-100 sticky left-0 text-right select-none"
2011
2011
  ]
2012
2012
  }
2013
- }, K = {
2013
+ }, H = {
2014
2014
  root: ({ props: e }) => ({
2015
2015
  class: [
2016
2016
  // Display
@@ -2119,7 +2119,7 @@ const _ = {
2119
2119
  leaveActiveClass: "transition-opacity duration-100 ease-linear",
2120
2120
  leaveToClass: "opacity-0"
2121
2121
  }
2122
- }, H = {
2122
+ }, K = {
2123
2123
  root: {
2124
2124
  class: [
2125
2125
  // Shape
@@ -2390,7 +2390,11 @@ const _ = {
2390
2390
  }),
2391
2391
  headercell: ({ context: e }) => ({
2392
2392
  class: [
2393
- "text-xs font-semibold text-white p-2 text-left cursor-pointer",
2393
+ "text-xs font-semibold text-white p-2 cursor-pointer",
2394
+ {
2395
+ "text-center": e.isParentHeader,
2396
+ "text-left": !e.isParentHeader
2397
+ },
2394
2398
  { "bg-primary-400": !e.sorted || !e.sortable },
2395
2399
  { "bg-primary-500": e.sorted },
2396
2400
  {
@@ -6583,7 +6587,7 @@ const _ = {
6583
6587
  leaveActiveClass: "!transition-none",
6584
6588
  leaveToClass: "!transition-none"
6585
6589
  }
6586
- }, Fe = {
6590
+ }, Pe = {
6587
6591
  root: ({ props: e }) => ({
6588
6592
  class: [
6589
6593
  {
@@ -6782,7 +6786,7 @@ const _ = {
6782
6786
  tooltipicon: {
6783
6787
  class: "text-grayscale-900 w-[10px] h-[10px]"
6784
6788
  }
6785
- }, Pe = {
6789
+ }, Fe = {
6786
6790
  root: ({ props: e }) => ({
6787
6791
  class: [
6788
6792
  "relative",
@@ -8492,7 +8496,7 @@ const Oe = p("WANGS-TAB-MENU", {
8492
8496
  icon: {
8493
8497
  class: "mr-1 text-sm"
8494
8498
  }
8495
- }, Ke = {
8499
+ }, He = {
8496
8500
  root: {
8497
8501
  class: [
8498
8502
  // Spacing
@@ -8544,7 +8548,7 @@ const Oe = p("WANGS-TAB-MENU", {
8544
8548
  "outline-none"
8545
8549
  ]
8546
8550
  }
8547
- }, He = {
8551
+ }, Ke = {
8548
8552
  root: ({ context: e, props: t }) => ({
8549
8553
  class: [
8550
8554
  // Font
@@ -9821,7 +9825,7 @@ const Oe = p("WANGS-TAB-MENU", {
9821
9825
  }
9822
9826
  }
9823
9827
  }, gt = {
9824
- badge: F,
9828
+ badge: P,
9825
9829
  ripple: Ve,
9826
9830
  tooltip: Qe
9827
9831
  }, bt = {
@@ -9840,7 +9844,7 @@ const Oe = p("WANGS-TAB-MENU", {
9840
9844
  inputbadge: de,
9841
9845
  calendar: E,
9842
9846
  checkbox: d,
9843
- buttonradio: Pe,
9847
+ buttonradio: Fe,
9844
9848
  selectbutton: Ee,
9845
9849
  slider: Le,
9846
9850
  chips: O,
@@ -9850,20 +9854,20 @@ const Oe = p("WANGS-TAB-MENU", {
9850
9854
  toggleswitch: u,
9851
9855
  cascadeselect: L,
9852
9856
  listbox: ve,
9853
- colorpicker: K,
9857
+ colorpicker: H,
9854
9858
  inputgroup: ue,
9855
9859
  inputgroupaddon: fe,
9856
9860
  inputmask: ge,
9857
9861
  knob: xe,
9858
9862
  treeselect: tt,
9859
9863
  tristatecheckbox: rt,
9860
- textarea: He,
9864
+ textarea: Ke,
9861
9865
  password: Ie,
9862
9866
  validatormessage: st,
9863
9867
  fileupload: lt,
9864
9868
  fieldwrapper: ie,
9865
9869
  // Buttons
9866
- button: P,
9870
+ button: F,
9867
9871
  buttondownload: N,
9868
9872
  buttonbulkaction: it,
9869
9873
  buttonsearch: $,
@@ -9908,7 +9912,7 @@ const Oe = p("WANGS-TAB-MENU", {
9908
9912
  dialogform: Q,
9909
9913
  overlaypanel: je,
9910
9914
  sidebar: Ge,
9911
- confirmpopup: H,
9915
+ confirmpopup: K,
9912
9916
  // Messages
9913
9917
  message: ke,
9914
9918
  inlinemessage: ce,
@@ -9922,10 +9926,10 @@ const Oe = p("WANGS-TAB-MENU", {
9922
9926
  avatargroup: S,
9923
9927
  tag: De,
9924
9928
  chip: M,
9925
- progressbar: Fe,
9929
+ progressbar: Pe,
9926
9930
  skeleton: Ue,
9927
9931
  scrolltop: Be,
9928
- terminal: Ke,
9932
+ terminal: He,
9929
9933
  image: le,
9930
9934
  workcalendar: ct,
9931
9935
  loading: ut,