@vtj/ui 0.9.0-alpha.6 → 0.9.0-alpha.7

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/dist/index.mjs CHANGED
@@ -9,10 +9,10 @@ import { VXETable as jt, VxeGrid as or, VxeTableFilterModule as rl, VxeTableEdit
9
9
  * Copyright (c) 2024, VTJ.PRO All rights reserved.
10
10
  * @name @vtj/ui
11
11
  * @author CHC chenhuachun1549@dingtalk.com
12
- * @version 0.9.0-alpha.6
12
+ * @version 0.9.0-alpha.7
13
13
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
14
14
  */
15
- const r2 = "0.9.0-alpha.6", ml = {
15
+ const r2 = "0.9.0-alpha.7", ml = {
16
16
  default: 14,
17
17
  small: 12,
18
18
  large: 18
@@ -6993,6 +6993,15 @@ const ou = {
6993
6993
  },
6994
6994
  onTitleClick: {
6995
6995
  type: Function
6996
+ },
6997
+ active: {
6998
+ type: Boolean
6999
+ },
7000
+ hover: {
7001
+ type: Boolean
7002
+ },
7003
+ padding: {
7004
+ type: Boolean
6996
7005
  }
6997
7006
  }, du = { class: "x-data-item__title" }, fu = {
6998
7007
  key: 1,
@@ -7017,7 +7026,9 @@ const ou = {
7017
7026
  };
7018
7027
  }), a = z(() => ({
7019
7028
  [`is-image-${t.direction}`]: !!t.direction,
7020
- "is-split": !!t.split
7029
+ "is-split": !!t.split,
7030
+ "is-active": !!t.active,
7031
+ "is-hover": !!t.hover
7021
7032
  })), l = z(() => ({
7022
7033
  size: "small",
7023
7034
  mode: "text",
@@ -7028,7 +7039,8 @@ const ou = {
7028
7039
  })), i = () => n("imageClick"), s = () => n("titleClick"), c = (f) => n("actionClick", f), d = (f, m) => n("actionCommand", f, m);
7029
7040
  return (f, m) => (v(), x(u(q), {
7030
7041
  class: pe(["x-data-item", a.value]),
7031
- direction: t.direction
7042
+ direction: t.direction,
7043
+ padding: t.padding
7032
7044
  }, {
7033
7045
  default: y(() => [
7034
7046
  t.imageSrc || f.$slots.image ? (v(), x(u(q), {
@@ -7096,7 +7108,7 @@ const ou = {
7096
7108
  })
7097
7109
  ]),
7098
7110
  _: 3
7099
- }, 8, ["direction", "class"]));
7111
+ }, 8, ["direction", "padding", "class"]));
7100
7112
  }
7101
7113
  }), gu = {
7102
7114
  data: {