@pantograph/vue 0.35.8 → 0.35.9

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/use/index.js CHANGED
@@ -11991,7 +11991,7 @@ const aA = "ltr", zs = !1, Qc = {
11991
11991
  "div",
11992
11992
  {
11993
11993
  ...g,
11994
- class: T(l(B), s.class),
11994
+ class: T("title", l(B), s.class),
11995
11995
  style: {
11996
11996
  ...uo(g.style),
11997
11997
  "--ptc-badge-fg": s.fg,
@@ -12968,7 +12968,7 @@ const Bo = [
12968
12968
  };
12969
12969
  return (A, R) => (O(), M(u(Ne), oe({
12970
12970
  as: u(P),
12971
- class: u(T)(u(Fv)(b.value), o.class, u(y).class),
12971
+ class: u(T)("title", u(Fv)(b.value), o.class, u(y).class),
12972
12972
  ref_key: "buttonRef",
12973
12973
  ref: w
12974
12974
  }, x.value, {
@@ -13276,6 +13276,7 @@ const ld = ["sm", "md", "lg"], id = ja, Ht = Te("input"), $l = {
13276
13276
  dir: u(s),
13277
13277
  class: H(
13278
13278
  u(T)(
13279
+ "title",
13279
13280
  u(r)({
13280
13281
  size: e.size,
13281
13282
  noBg: e.noBg,
@@ -13461,6 +13462,7 @@ const dd = {
13461
13462
  dir: u(f),
13462
13463
  class: H(
13463
13464
  u(T)(
13465
+ "title",
13464
13466
  u(s)({
13465
13467
  txs: e.txs,
13466
13468
  underline: e.underline,
@@ -15085,7 +15087,7 @@ const [om, rm] = ze("AvatarGroup"), am = {
15085
15087
  });
15086
15088
  return (m, h) => (O(), M(u(Zw), {
15087
15089
  as: "div",
15088
- class: H(u(T)(u(c)(g.value), r.class))
15090
+ class: H(u(T)("title", u(c)(g.value), r.class))
15089
15091
  }, {
15090
15092
  default: N(() => [
15091
15093
  !n.default && !e.text ? (O(), Z(Ge, { key: 0 }, [
@@ -15830,6 +15832,7 @@ const Cd = ["sm", "md", "lg"], pm = [...Cd, "none"], fm = {
15830
15832
  tabindex: t.unFocusable ? void 0 : a.tabindex ?? 0,
15831
15833
  "data-hover": t.hover ? "" : void 0,
15832
15834
  class: T(
15835
+ "title",
15833
15836
  o({
15834
15837
  size: t.size,
15835
15838
  selected: t.selected,
@@ -16375,7 +16378,7 @@ const Cd = ["sm", "md", "lg"], pm = [...Cd, "none"], fm = {
16375
16378
  return (c, i) => {
16376
16379
  var d, p;
16377
16380
  return O(), Z("li", {
16378
- class: H(u(T)(u(r)(t), (d = t.item) == null ? void 0 : d.class)),
16381
+ class: H(u(T)("title", u(r)(t), (d = t.item) == null ? void 0 : d.class)),
16379
16382
  "aria-hidden": e.truncate ? !0 : void 0
16380
16383
  }, [
16381
16384
  ee(s, {
@@ -16723,7 +16726,7 @@ const Am = ["2xsm", "xsm"], [km, Im] = ze("CheckboxGroup"), Tm = {
16723
16726
  emit: l
16724
16727
  }), I = () => p.value = !p.value;
16725
16728
  return (_, A) => (O(), Z("div", oe({
16726
- class: u(T)(u(k)(u(n), "root"), e.rootCls)
16729
+ class: u(T)("title", u(k)(u(n), "root"), e.rootCls)
16727
16730
  }, u(w), { dir: u(a) }), [
16728
16731
  ee(u(pP), oe({
16729
16732
  onKeyup: Ln(I, ["enter"])
@@ -16732,6 +16735,7 @@ const Am = ["2xsm", "xsm"], [km, Im] = ze("CheckboxGroup"), Tm = {
16732
16735
  "onUpdate:modelValue": A[0] || (A[0] = (R) => p.value = R),
16733
16736
  id: g.value,
16734
16737
  class: u(T)(
16738
+ "title",
16735
16739
  u(m)({ size: S.value, noRing: P.value }),
16736
16740
  o.class
16737
16741
  )
@@ -17062,6 +17066,7 @@ const zm = {
17062
17066
  style: ut(p.value),
17063
17067
  class: H(
17064
17068
  u(T)(
17069
+ "title",
17065
17070
  u(y)({
17066
17071
  size: r.value,
17067
17072
  color: a.value,
@@ -24145,6 +24150,7 @@ function vh({
24145
24150
  "aria-expanded": R["aria-expanded"] ?? u(n),
24146
24151
  "data-state": R["data-state"] ?? (u(n) ? "open" : "closed"),
24147
24152
  class: T(
24153
+ "title",
24148
24154
  A({
24149
24155
  size: e.triggerSize ?? i.value,
24150
24156
  status: c.value === "success" && nt(q) ? void 0 : c.value,
@@ -25979,7 +25985,13 @@ const Bh = {
25979
25985
  };
25980
25986
  return (i, d) => (O(), Z("div", {
25981
25987
  dir: u(s),
25982
- class: H(u(T)(u(r)({ iconOnly: t.iconOnly }), t.class))
25988
+ class: H(
25989
+ u(T)(
25990
+ "title",
25991
+ u(r)({ iconOnly: t.iconOnly }),
25992
+ t.class
25993
+ )
25994
+ )
25983
25995
  }, [
25984
25996
  e.iconOnly ? (O(), M(c, { key: 1 })) : (O(), M(l, { key: 0 }))
25985
25997
  ], 10, u3));
@@ -26013,7 +26025,7 @@ const xh = {
26013
26025
  });
26014
26026
  return (l, c) => (O(), Z("div", {
26015
26027
  dir: u(a),
26016
- class: H(u(T)(u(o), t.class))
26028
+ class: H(u(T)("title", u(o), t.class))
26017
26029
  }, [
26018
26030
  ee(s)
26019
26031
  ], 10, c3));
@@ -26251,6 +26263,7 @@ const xh = {
26251
26263
  dir: u(l),
26252
26264
  class: H(
26253
26265
  u(T)(
26266
+ "title",
26254
26267
  u(r)({ ...t, leadingIcon: !!(e.leadingIcon || n.leadingIcon) }),
26255
26268
  t.labelRootCls
26256
26269
  )
@@ -26682,6 +26695,7 @@ const Dh = ["sm", "md", "lg"], Rh = {
26682
26695
  value: J,
26683
26696
  ...K,
26684
26697
  class: T(
26698
+ "title",
26685
26699
  d({
26686
26700
  icon: Ie,
26687
26701
  text: re
@@ -26706,7 +26720,7 @@ const Dh = ["sm", "md", "lg"], Rh = {
26706
26720
  var R;
26707
26721
  return [
26708
26722
  _e("div", {
26709
- class: H(u(T)(u(c)({
26723
+ class: H(u(T)("title", u(c)({
26710
26724
  ...n
26711
26725
  /*, style: !style*/
26712
26726
  }), n.class)),
@@ -27062,7 +27076,7 @@ const zh = {
27062
27076
  modelValue: u(d),
27063
27077
  "onUpdate:modelValue": _[0] || (_[0] = (A) => Jn(d) ? d.value = A : null),
27064
27078
  dir: u(a),
27065
- class: u(T)(u(b)({ size: u(i) }), o.class)
27079
+ class: u(T)("title", u(b)({ size: u(i) }), o.class)
27066
27080
  }), {
27067
27081
  default: N(({ modelValue: A }) => [
27068
27082
  (O(!0), Z(Ge, null, Je(e.count ?? 4, (R, j) => (O(), M(u(GP), {
@@ -27119,7 +27133,7 @@ const Fh = ["2xsm", "xsm"], Lh = {
27119
27133
  })), d = C(() => !!(r.label || n.label)), { dir: p } = Oe();
27120
27134
  return (f, g) => (O(), Z("label", oe({
27121
27135
  dir: u(p),
27122
- class: u(T)(u(k)(u(o), "root"), e.rootCls)
27136
+ class: u(T)("title", u(k)(u(o), "root"), e.rootCls)
27123
27137
  }, u(l), { for: s.value }), [
27124
27138
  ee(u(rB), oe({
27125
27139
  class: u(T)(u(o), n.class)
@@ -27458,7 +27472,7 @@ const $h = [3, 5, 7, 10], jh = ["always", "never", "active"], sa = {
27458
27472
  remove: IC,
27459
27473
  id: kC
27460
27474
  }), (K, V) => (O(), Z("div", {
27461
- class: H(u(T)(u(s)({ fill: n.fill }), n.class))
27475
+ class: H(u(T)("title", u(s)({ fill: n.fill }), n.class))
27462
27476
  }, [
27463
27477
  ee(u(ur), {
27464
27478
  as: "ul",
@@ -27766,7 +27780,7 @@ const Uh = {
27766
27780
  id: NC
27767
27781
  }), (d, p) => (O(), Z("div", {
27768
27782
  dir: u(i),
27769
- class: H(u(T)(u(r)(t), t.class)),
27783
+ class: H(u(T)("title", u(r)(t), t.class)),
27770
27784
  style: ut({ "--ptc-spinner-min-h": s.value, "--ptc-spinner-min-w": s.value })
27771
27785
  }, [
27772
27786
  e.loading ? (O(), Z(Ge, { key: 0 }, [
@@ -28295,10 +28309,11 @@ const eb = ["2xsm", "xsm", "sm"], tb = {
28295
28309
  return b({ add: GC, remove: HC, id: UC }), (P, x) => (O(), Z("div", oe({
28296
28310
  dir: u(S),
28297
28311
  key: v.value,
28298
- class: u(T)(u(k)(u(a), "root"), n.rootCls)
28312
+ class: u(T)("title", u(k)(u(a), "root"), n.rootCls)
28299
28313
  }, u(d)), [
28300
28314
  ee(u(vx), oe({
28301
28315
  class: u(T)(
28316
+ "title",
28302
28317
  u(s)({
28303
28318
  size: e.size,
28304
28319
  innerText: !!(l.checkedText || l.uncheckedText),
@@ -28934,7 +28949,9 @@ const ob = {
28934
28949
  id: d.value,
28935
28950
  "data-draggable": i.value,
28936
28951
  disabled: c.value,
28937
- class: H(u(T)(u(o)({ loading: e.loading }), t.class)),
28952
+ class: H(
28953
+ u(T)("title", u(o)({ loading: e.loading }), t.class)
28954
+ ),
28938
28955
  onMousedown: f[0] || (f[0] = ot(() => {
28939
28956
  }, ["right", "stop", "prevent"]))
28940
28957
  }, [
@@ -30448,7 +30465,7 @@ const z3 = (e, t, n = 1024 * 1024) => {
30448
30465
  Object.assign(Oc, pe(Oc, "Upload"));
30449
30466
  Object.assign(Cl, pe(Cl, "UploadList"));
30450
30467
  Object.assign(Sl, pe(Sl, "UploadTrigger"));
30451
- const H3 = "0.35.7", G3 = function(e, t = {}) {
30468
+ const H3 = "0.35.8", G3 = function(e, t = {}) {
30452
30469
  const { cssInJs: n } = t;
30453
30470
  return e.config.globalProperties.$pantographCssInJs = n, import("@pantograph/tokens/style/index.css"), n || import("@pantograph/styles/index.css"), Object.values(SS).forEach((o) => {
30454
30471
  o.install && e.use(o);