@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-bold text-general-800 p-2 text-left cursor-pointer tracking-[0.02em]',
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-algae-green-300': !context.sorted || !context.sortable },
79
83
  { 'bg-algae-green-400': context.sorted },
80
84
  {
@@ -444,7 +444,7 @@ const _ = {
444
444
  }
445
445
  ]
446
446
  })
447
- }, N = {
447
+ }, P = {
448
448
  root: ({ props: e }) => ({
449
449
  class: [
450
450
  "rounded ring-1 ring-success-500 p-[5px] ring-inset",
@@ -461,7 +461,7 @@ const _ = {
461
461
  "data-wv-section": "icon",
462
462
  severity: "success"
463
463
  }
464
- }, P = {
464
+ }, N = {
465
465
  root: ({ context: e }) => ({
466
466
  class: [
467
467
  "rounded ring-1 ring-general-500 p-[5px] ring-inset",
@@ -1523,7 +1523,11 @@ const _ = {
1523
1523
  }),
1524
1524
  headercell: ({ context: e }) => ({
1525
1525
  class: [
1526
- "text-xs font-bold text-general-800 p-2 text-left cursor-pointer tracking-[0.02em]",
1526
+ "text-xs font-bold text-general-800 p-2 cursor-pointer tracking-[0.02em]",
1527
+ {
1528
+ "text-center": e.isParentHeader,
1529
+ "text-left": !e.isParentHeader
1530
+ },
1527
1531
  { "bg-algae-green-300": !e.sorted || !e.sortable },
1528
1532
  { "bg-algae-green-400": e.sorted },
1529
1533
  {
@@ -2489,7 +2493,7 @@ const _ = {
2489
2493
  },
2490
2494
  "ring-inset",
2491
2495
  "ring-general-200"
2492
- ], K = {
2496
+ ], H = {
2493
2497
  css: `
2494
2498
  *[data-pd-ripple="true"]{
2495
2499
  overflow: hidden;
@@ -2566,7 +2570,7 @@ const _ = {
2566
2570
  }
2567
2571
  }
2568
2572
  `
2569
- }, Y = {
2573
+ }, K = {
2570
2574
  root: ({ props: e }) => ({
2571
2575
  class: [
2572
2576
  "relative inline-block",
@@ -2700,7 +2704,7 @@ const _ = {
2700
2704
  leaveActiveClass: "transition-all duration-150 ease-in",
2701
2705
  leaveToClass: "opacity-0 scale-75"
2702
2706
  }
2703
- }, H = {
2707
+ }, Y = {
2704
2708
  root: ({ props: e }) => ({
2705
2709
  class: [
2706
2710
  "rounded-md p-3",
@@ -5569,8 +5573,8 @@ const oe = x("WANGS-TAB-MENU", {
5569
5573
  badge: S,
5570
5574
  ripple: le,
5571
5575
  tooltip: fe
5572
- }, Ne = {
5573
- global: K,
5576
+ }, Pe = {
5577
+ global: H,
5574
5578
  directives: Se,
5575
5579
  // Forms
5576
5580
  form: D,
@@ -5598,11 +5602,11 @@ const oe = x("WANGS-TAB-MENU", {
5598
5602
  fieldwrapper: Ce,
5599
5603
  // Buttons
5600
5604
  button: T,
5601
- buttondownload: N,
5605
+ buttondownload: P,
5602
5606
  buttonbulkaction: ve,
5603
5607
  buttonsearch: I,
5604
5608
  buttonsplit: V,
5605
- buttonfilter: P,
5609
+ buttonfilter: N,
5606
5610
  // Data
5607
5611
  paginator: ne,
5608
5612
  datatable: G,
@@ -5625,19 +5629,19 @@ const oe = x("WANGS-TAB-MENU", {
5625
5629
  overlaypanel: ae,
5626
5630
  // Messages
5627
5631
  message: te,
5628
- inlinemessage: H,
5632
+ inlinemessage: Y,
5629
5633
  toast: ue,
5630
5634
  // Media
5631
5635
  carousel: U,
5632
5636
  // Misc
5633
5637
  badge: d,
5634
5638
  badgegroup: we,
5635
- image: Y,
5639
+ image: K,
5636
5640
  loading: ze,
5637
5641
  codesnippet: B,
5638
5642
  username: Ae,
5639
5643
  progressbar: _e
5640
5644
  };
5641
5645
  export {
5642
- Ne as default
5646
+ Pe as default
5643
5647
  };