@czxingyu/xycomponents 0.1.1 → 0.1.2

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.
@@ -2,6 +2,6 @@ import e from "../_virtual/_plugin-vue_export-helper.js";
2
2
  import t from "./anchor.vue_vue_type_script_setup_true_lang.js";
3
3
  /* empty css */
4
4
  //#region components/anchor/anchor.vue
5
- var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-93931713"]]);
5
+ var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-5b2bf520"]]);
6
6
  //#endregion
7
7
  export { n as default };
@@ -217,13 +217,10 @@ var x = ["aria-label"], S = [
217
217
  t.className,
218
218
  P.value.item
219
219
  ]]),
220
- style: f([
221
- t.style,
222
- l.direction === "vertical" ? { paddingInlineStart: `${n * 16}px` } : void 0,
223
- F.value.item
224
- ])
220
+ style: f([t.style, F.value.item])
225
221
  }, [s("a", {
226
222
  class: d(["xy-anchor__link", { "xy-anchor__link--disabled": t.disabled }]),
223
+ style: f(l.direction === "vertical" && n > 0 ? { paddingInlineStart: `calc(var(--xy-anchor-link-padding-inline) + ${n * 16}px)` } : void 0),
227
224
  href: t.href,
228
225
  target: t.target,
229
226
  rel: t.target === "_blank" ? "noreferrer" : void 0,
@@ -242,7 +239,7 @@ var x = ["aria-label"], S = [
242
239
  depth: n,
243
240
  index: r,
244
241
  item: t
245
- }, () => [c(y(z(t)), 1)])], 6)], 10, S)], 6))), 128))], 6)) : a("", !0),
242
+ }, () => [c(y(z(t)), 1)])], 6)], 14, S)], 6))), 128))], 6)) : a("", !0),
246
243
  v(e.$slots, "default")
247
244
  ], 14, x));
248
245
  }
package/dist/cli.js CHANGED
File without changes
@@ -2,6 +2,6 @@ import e from "../_virtual/_plugin-vue_export-helper.js";
2
2
  import t from "./descriptions.vue_vue_type_script_setup_true_lang.js";
3
3
  /* empty css */
4
4
  //#region components/descriptions/descriptions.vue
5
- var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-604e62a9"]]);
5
+ var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-103d68c3"]]);
6
6
  //#endregion
7
7
  export { n as default };
@@ -3,9 +3,9 @@ import { useElementSize as n } from "../core/resize/index.js";
3
3
  import { xyDescriptionsContextKey as r } from "./context.js";
4
4
  import i from "./descriptions-value.js";
5
5
  import a from "./descriptions-item.js";
6
- import { Fragment as o, computed as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createVNode as f, defineComponent as p, normalizeClass as m, normalizeStyle as h, openBlock as g, provide as _, ref as v, renderList as y, renderSlot as b, shallowRef as x, unref as S, useSlots as C, withCtx as w } from "vue";
6
+ import { Fragment as o, computed as s, createBlock as ee, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createVNode as d, defineComponent as f, normalizeClass as p, normalizeStyle as m, onBeforeUpdate as h, openBlock as g, provide as _, ref as v, renderList as y, renderSlot as b, shallowRef as x, unref as S, useSlots as C, withCtx as w } from "vue";
7
7
  //#region components/descriptions/descriptions.vue?vue&type=script&setup=true&lang.ts
8
- var T = /*@__PURE__*/ p({
8
+ var T = /*@__PURE__*/ f({
9
9
  name: "XyDescriptions",
10
10
  __name: "descriptions",
11
11
  props: {
@@ -68,8 +68,8 @@ var T = /*@__PURE__*/ p({
68
68
  required: !1
69
69
  }
70
70
  },
71
- setup(p) {
72
- let T = p, E = C(), D = v(), { width: O } = n(D), k = x([]), A = {
71
+ setup(f) {
72
+ let T = f, E = C(), D = v(Object.keys(E)), O = v(), { width: k } = n(O), A = x([]), j = {
73
73
  xs: 0,
74
74
  sm: 576,
75
75
  md: 768,
@@ -77,28 +77,28 @@ var T = /*@__PURE__*/ p({
77
77
  xl: 1200,
78
78
  xxl: 1600,
79
79
  xxxl: 1920
80
- }, ee = Object.keys(A);
81
- function j(e) {
80
+ }, te = Object.keys(j);
81
+ function M(e) {
82
82
  let t = Number(e);
83
83
  return Number.isFinite(t) ? Math.max(1, Math.floor(t)) : 1;
84
84
  }
85
- function M(e, t) {
86
- return e === "filled" ? t : Math.min(j(e), t);
87
- }
88
85
  function N(e, t) {
89
- if (typeof e == "number") return j(e);
90
- let n = ee.filter((t) => e[t] !== void 0);
86
+ return e === "filled" ? t : Math.min(M(e), t);
87
+ }
88
+ function P(e, t) {
89
+ if (typeof e == "number") return M(e);
90
+ let n = te.filter((t) => e[t] !== void 0);
91
91
  if (n.length === 0) return 1;
92
92
  let r = e[n[0]];
93
- for (let i of n) t >= A[i] && (r = e[i]);
94
- return j(r);
93
+ for (let i of n) t >= j[i] && (r = e[i]);
94
+ return M(r);
95
95
  }
96
- let P = s(() => T.bordered), F = s(() => T.colon), I = s(() => N(T.column, O.value)), L = s(() => T.layout), R = s(() => T.size), z = s(() => T.title !== void 0 || !!E.title), B = s(() => T.extra !== void 0 || !!E.extra), V = s(() => z.value || B.value), H = s(() => T.items !== void 0), U = s(() => {
96
+ let F = s(() => T.bordered), I = s(() => T.colon), L = s(() => P(T.column, k.value)), R = s(() => T.layout), z = s(() => T.size), B = s(() => T.title !== void 0 || D.value.includes("title")), V = s(() => T.extra !== void 0 || D.value.includes("extra")), H = s(() => B.value || V.value), U = s(() => T.items !== void 0), W = s(() => {
97
97
  let e = /* @__PURE__ */ new Map(), t = 0, n = 0;
98
- for (let r of k.value) {
99
- let i = r.span.value, a = M(i, I.value);
100
- i === "filled" ? a = Math.max(I.value - t, 1) : t + a > I.value && (t = 0, n += 1);
101
- let o = t + a >= I.value;
98
+ for (let r of A.value) {
99
+ let i = r.span.value, a = N(i, L.value);
100
+ i === "filled" ? a = Math.max(L.value - t, 1) : t + a > L.value && (t = 0, n += 1);
101
+ let o = t + a >= L.value;
102
102
  e.set(r.id, {
103
103
  isLastColumn: o,
104
104
  isLastRow: !1,
@@ -109,78 +109,82 @@ var T = /*@__PURE__*/ p({
109
109
  let r = Math.max(...[...e.values()].map((e) => e.row), 0);
110
110
  for (let t of e.values()) t.isLastRow = t.row === r;
111
111
  return e;
112
- }), W = s(() => ({ "--xy-descriptions-column": String(I.value) })), G = s(() => ({
112
+ }), G = s(() => ({ "--xy-descriptions-column": String(L.value) })), K = s(() => ({
113
113
  bordered: T.bordered,
114
114
  colon: T.colon,
115
- column: I.value,
116
- hasExtra: B.value,
117
- hasTitle: z.value,
115
+ column: L.value,
116
+ hasExtra: V.value,
117
+ hasTitle: B.value,
118
118
  layout: T.layout,
119
119
  size: T.size
120
- })), K = s(() => e(T.classNames, G.value)), q = s(() => t(T.styles, G.value)), J = s(() => [
120
+ })), q = s(() => e(T.classNames, K.value)), J = s(() => t(T.styles, K.value)), Y = s(() => [
121
121
  "xy-descriptions",
122
122
  `xy-descriptions--${T.layout}`,
123
123
  `xy-descriptions--${T.size}`,
124
124
  { "xy-descriptions--bordered": T.bordered },
125
- K.value.root
126
- ]), Y = s(() => K.value.item), X = s(() => q.value.item), Z = s(() => K.value.label), Q = s(() => ({
125
+ q.value.root
126
+ ]), X = s(() => q.value.item), Z = s(() => J.value.item), Q = s(() => q.value.label), ne = s(() => ({
127
127
  ...T.labelStyle,
128
- ...q.value.label
129
- })), te = s(() => K.value.content), ne = s(() => ({
128
+ ...J.value.label
129
+ })), re = s(() => q.value.content), ie = s(() => ({
130
130
  ...T.contentStyle,
131
- ...q.value.content
131
+ ...J.value.content
132
132
  }));
133
- function re(e) {
134
- return k.value = [...k.value, e], () => {
135
- k.value = k.value.filter((t) => t.id !== e.id);
133
+ h(() => {
134
+ let e = Object.keys(E);
135
+ e.length === D.value.length && e.every((e, t) => e === D.value[t]) || (D.value = e);
136
+ });
137
+ function ae(e) {
138
+ return A.value = [...A.value, e], () => {
139
+ A.value = A.value.filter((t) => t.id !== e.id);
136
140
  };
137
141
  }
138
- function ie(e, t) {
142
+ function oe(e, t) {
139
143
  return $(e, t).span;
140
144
  }
141
145
  function $(e, t) {
142
- return U.value.get(e) ?? {
146
+ return W.value.get(e) ?? {
143
147
  isLastColumn: !0,
144
148
  isLastRow: !0,
145
- span: M(t, I.value)
149
+ span: N(t, L.value)
146
150
  };
147
151
  }
148
152
  return _(r, {
149
- bordered: P,
150
- colon: F,
151
- column: I,
152
- contentClassName: te,
153
- contentStyle: ne,
154
- itemClassName: Y,
155
- itemStyle: X,
156
- labelClassName: Z,
157
- labelStyle: Q,
158
- layout: L,
159
- registerItem: re,
153
+ bordered: F,
154
+ colon: I,
155
+ column: L,
156
+ contentClassName: re,
157
+ contentStyle: ie,
158
+ itemClassName: X,
159
+ itemStyle: Z,
160
+ labelClassName: Q,
161
+ labelStyle: ne,
162
+ layout: R,
163
+ registerItem: ae,
160
164
  resolveItemLayout: $,
161
- resolveItemSpan: ie,
162
- size: R
163
- }), (e, t) => (g(), u("section", {
165
+ resolveItemSpan: oe,
166
+ size: z
167
+ }), (e, t) => (g(), l("section", {
164
168
  ref_key: "rootRef",
165
- ref: D,
166
- class: m(J.value),
167
- style: h(q.value.root)
168
- }, [V.value ? (g(), u("header", {
169
+ ref: O,
170
+ class: p(Y.value),
171
+ style: m(J.value.root)
172
+ }, [H.value ? (g(), l("header", {
169
173
  key: 0,
170
- class: m(["xy-descriptions__header", K.value.header]),
171
- style: h(q.value.header)
172
- }, [z.value ? (g(), u("div", {
174
+ class: p(["xy-descriptions__header", q.value.header]),
175
+ style: m(J.value.header)
176
+ }, [B.value ? (g(), l("div", {
173
177
  key: 0,
174
- class: m(["xy-descriptions__title", K.value.title]),
175
- style: h(q.value.title)
176
- }, [b(e.$slots, "title", {}, () => [f(S(i), { value: p.title }, null, 8, ["value"])], !0)], 6)) : l("", !0), B.value ? (g(), u("div", {
178
+ class: p(["xy-descriptions__title", q.value.title]),
179
+ style: m(J.value.title)
180
+ }, [b(e.$slots, "title", {}, () => [d(S(i), { value: f.title }, null, 8, ["value"])], !0)], 6)) : c("", !0), V.value ? (g(), l("div", {
177
181
  key: 1,
178
- class: m(["xy-descriptions__extra", K.value.extra]),
179
- style: h(q.value.extra)
180
- }, [b(e.$slots, "extra", {}, () => [f(S(i), { value: p.extra }, null, 8, ["value"])], !0)], 6)) : l("", !0)], 6)) : l("", !0), d("dl", {
181
- class: m(["xy-descriptions__view", K.value.view]),
182
- style: h([W.value, q.value.view])
183
- }, [H.value ? (g(!0), u(o, { key: 0 }, y(p.items, (e, t) => (g(), c(a, {
182
+ class: p(["xy-descriptions__extra", q.value.extra]),
183
+ style: m(J.value.extra)
184
+ }, [b(e.$slots, "extra", {}, () => [d(S(i), { value: f.extra }, null, 8, ["value"])], !0)], 6)) : c("", !0)], 6)) : c("", !0), u("dl", {
185
+ class: p(["xy-descriptions__view", q.value.view]),
186
+ style: m([G.value, J.value.view])
187
+ }, [U.value ? (g(!0), l(o, { key: 0 }, y(f.items, (e, t) => (g(), ee(a, {
184
188
  key: e.key ?? t,
185
189
  "class-names": e.classNames,
186
190
  "content-style": e.contentStyle,
@@ -189,7 +193,7 @@ var T = /*@__PURE__*/ p({
189
193
  span: e.span,
190
194
  styles: e.styles
191
195
  }, {
192
- default: w(() => [f(S(i), { value: e.children ?? e.content }, null, 8, ["value"])]),
196
+ default: w(() => [d(S(i), { value: e.children ?? e.content }, null, 8, ["value"])]),
193
197
  _: 2
194
198
  }, 1032, [
195
199
  "class-names",
package/dist/index.esm.js CHANGED
@@ -12,7 +12,7 @@ var qe = Object.create, Je = Object.defineProperty, Ye = Object.getOwnPropertyDe
12
12
  }, tt = (e, t, n) => (n = e == null ? {} : qe(Ze(e)), et(t || !e || !e.__esModule ? Je(n, "default", {
13
13
  value: e,
14
14
  enumerable: !0
15
- }) : n, e)), nt = "0.1.1";
15
+ }) : n, e)), nt = "0.1.2";
16
16
  //#endregion
17
17
  //#region components/shared/install.ts
18
18
  function X(e) {
@@ -6300,13 +6300,10 @@ var Wr = [
6300
6300
  t.className,
6301
6301
  v.value.item
6302
6302
  ]]),
6303
- style: T([
6304
- t.style,
6305
- e.direction === "vertical" ? { paddingInlineStart: `${r * 16}px` } : void 0,
6306
- y.value.item
6307
- ])
6303
+ style: T([t.style, y.value.item])
6308
6304
  }, [d("a", {
6309
6305
  class: C(["xy-anchor__link", { "xy-anchor__link--disabled": t.disabled }]),
6306
+ style: T(e.direction === "vertical" && r > 0 ? { paddingInlineStart: `calc(var(--xy-anchor-link-padding-inline) + ${r * 16}px)` } : void 0),
6310
6307
  href: t.href,
6311
6308
  target: t.target,
6312
6309
  rel: t.target === "_blank" ? "noreferrer" : void 0,
@@ -6325,11 +6322,11 @@ var Wr = [
6325
6322
  depth: r,
6326
6323
  index: i,
6327
6324
  item: t
6328
- }, () => [p(V(D(t)), 1)])], 6)], 10, Xr)], 6))), 128))], 6)) : l("", !0),
6325
+ }, () => [p(V(D(t)), 1)])], 6)], 14, Xr)], 6))), 128))], 6)) : l("", !0),
6329
6326
  I(n.$slots, "default")
6330
6327
  ], 14, Yr));
6331
6328
  }
6332
- }), [["__scopeId", "data-v-93931713"]])), Qr = X($), $r = ["aria-busy", "role"], ei = ["aria-label"], ti = /*#__PURE__*/ Z(/* @__PURE__ */ g({
6329
+ }), [["__scopeId", "data-v-5b2bf520"]])), Qr = X($), $r = ["aria-busy", "role"], ei = ["aria-label"], ti = /*#__PURE__*/ Z(/* @__PURE__ */ g({
6333
6330
  name: "XyMessage",
6334
6331
  __name: "message",
6335
6332
  props: {
@@ -15211,7 +15208,7 @@ var fs = ["aria-label"], ps = ["aria-label", "disabled"], ms = ["aria-label", "d
15211
15208
  }
15212
15209
  },
15213
15210
  setup(e) {
15214
- let n = e, r = ne(), i = N(), { width: a } = dr(i), o = B([]), f = {
15211
+ let n = e, r = ne(), i = N(Object.keys(r)), a = N(), { width: o } = dr(a), f = B([]), p = {
15215
15212
  xs: 0,
15216
15213
  sm: 576,
15217
15214
  md: 768,
@@ -15219,28 +15216,28 @@ var fs = ["aria-label"], ps = ["aria-label", "disabled"], ms = ["aria-label", "d
15219
15216
  xl: 1200,
15220
15217
  xxl: 1600,
15221
15218
  xxxl: 1920
15222
- }, p = Object.keys(f);
15223
- function h(e) {
15219
+ }, h = Object.keys(p);
15220
+ function g(e) {
15224
15221
  let t = Number(e);
15225
15222
  return Number.isFinite(t) ? Math.max(1, Math.floor(t)) : 1;
15226
15223
  }
15227
- function g(e, t) {
15228
- return e === "filled" ? t : Math.min(h(e), t);
15229
- }
15230
15224
  function _(e, t) {
15231
- if (typeof e == "number") return h(e);
15232
- let n = p.filter((t) => e[t] !== void 0);
15225
+ return e === "filled" ? t : Math.min(g(e), t);
15226
+ }
15227
+ function v(e, t) {
15228
+ if (typeof e == "number") return g(e);
15229
+ let n = h.filter((t) => e[t] !== void 0);
15233
15230
  if (n.length === 0) return 1;
15234
15231
  let r = e[n[0]];
15235
- for (let i of n) t >= f[i] && (r = e[i]);
15236
- return h(r);
15232
+ for (let i of n) t >= p[i] && (r = e[i]);
15233
+ return g(r);
15237
15234
  }
15238
- let v = s(() => n.bordered), y = s(() => n.colon), b = s(() => _(n.column, a.value)), x = s(() => n.layout), S = s(() => n.size), w = s(() => n.title !== void 0 || !!r.title), E = s(() => n.extra !== void 0 || !!r.extra), D = s(() => w.value || E.value), O = s(() => n.items !== void 0), k = s(() => {
15235
+ let y = s(() => n.bordered), b = s(() => n.colon), x = s(() => v(n.column, o.value)), S = s(() => n.layout), w = s(() => n.size), E = s(() => n.title !== void 0 || i.value.includes("title")), O = s(() => n.extra !== void 0 || i.value.includes("extra")), k = s(() => E.value || O.value), M = s(() => n.items !== void 0), P = s(() => {
15239
15236
  let e = /* @__PURE__ */ new Map(), t = 0, n = 0;
15240
- for (let r of o.value) {
15241
- let i = r.span.value, a = g(i, b.value);
15242
- i === "filled" ? a = Math.max(b.value - t, 1) : t + a > b.value && (t = 0, n += 1);
15243
- let o = t + a >= b.value;
15237
+ for (let r of f.value) {
15238
+ let i = r.span.value, a = _(i, x.value);
15239
+ i === "filled" ? a = Math.max(x.value - t, 1) : t + a > x.value && (t = 0, n += 1);
15240
+ let o = t + a >= x.value;
15244
15241
  e.set(r.id, {
15245
15242
  isLastColumn: o,
15246
15243
  isLastRow: !1,
@@ -15251,78 +15248,82 @@ var fs = ["aria-label"], ps = ["aria-label", "disabled"], ms = ["aria-label", "d
15251
15248
  let r = Math.max(...[...e.values()].map((e) => e.row), 0);
15252
15249
  for (let t of e.values()) t.isLastRow = t.row === r;
15253
15250
  return e;
15254
- }), M = s(() => ({ "--xy-descriptions-column": String(b.value) })), P = s(() => ({
15251
+ }), L = s(() => ({ "--xy-descriptions-column": String(x.value) })), R = s(() => ({
15255
15252
  bordered: n.bordered,
15256
15253
  colon: n.colon,
15257
- column: b.value,
15258
- hasExtra: E.value,
15259
- hasTitle: w.value,
15254
+ column: x.value,
15255
+ hasExtra: O.value,
15256
+ hasTitle: E.value,
15260
15257
  layout: n.layout,
15261
15258
  size: n.size
15262
- })), L = s(() => ut(n.classNames, P.value)), R = s(() => Q(n.styles, P.value)), z = s(() => [
15259
+ })), z = s(() => ut(n.classNames, R.value)), V = s(() => Q(n.styles, R.value)), H = s(() => [
15263
15260
  "xy-descriptions",
15264
15261
  `xy-descriptions--${n.layout}`,
15265
15262
  `xy-descriptions--${n.size}`,
15266
15263
  { "xy-descriptions--bordered": n.bordered },
15267
- L.value.root
15268
- ]), V = s(() => L.value.item), H = s(() => R.value.item), U = s(() => L.value.label), W = s(() => ({
15264
+ z.value.root
15265
+ ]), U = s(() => z.value.item), W = s(() => V.value.item), ee = s(() => z.value.label), te = s(() => ({
15269
15266
  ...n.labelStyle,
15270
- ...R.value.label
15271
- })), ee = s(() => L.value.content), te = s(() => ({
15267
+ ...V.value.label
15268
+ })), re = s(() => z.value.content), ie = s(() => ({
15272
15269
  ...n.contentStyle,
15273
- ...R.value.content
15270
+ ...V.value.content
15274
15271
  }));
15275
- function re(e) {
15276
- return o.value = [...o.value, e], () => {
15277
- o.value = o.value.filter((t) => t.id !== e.id);
15272
+ D(() => {
15273
+ let e = Object.keys(r);
15274
+ e.length === i.value.length && e.every((e, t) => e === i.value[t]) || (i.value = e);
15275
+ });
15276
+ function ae(e) {
15277
+ return f.value = [...f.value, e], () => {
15278
+ f.value = f.value.filter((t) => t.id !== e.id);
15278
15279
  };
15279
15280
  }
15280
- function ie(e, t) {
15281
- return ae(e, t).span;
15281
+ function K(e, t) {
15282
+ return oe(e, t).span;
15282
15283
  }
15283
- function ae(e, t) {
15284
- return k.value.get(e) ?? {
15284
+ function oe(e, t) {
15285
+ return P.value.get(e) ?? {
15285
15286
  isLastColumn: !0,
15286
15287
  isLastRow: !0,
15287
- span: g(t, b.value)
15288
+ span: _(t, x.value)
15288
15289
  };
15289
15290
  }
15290
15291
  return j(cc, {
15291
- bordered: v,
15292
- colon: y,
15293
- column: b,
15294
- contentClassName: ee,
15295
- contentStyle: te,
15296
- itemClassName: V,
15297
- itemStyle: H,
15298
- labelClassName: U,
15299
- labelStyle: W,
15300
- layout: x,
15301
- registerItem: re,
15302
- resolveItemLayout: ae,
15303
- resolveItemSpan: ie,
15304
- size: S
15292
+ bordered: y,
15293
+ colon: b,
15294
+ column: x,
15295
+ contentClassName: re,
15296
+ contentStyle: ie,
15297
+ itemClassName: U,
15298
+ itemStyle: W,
15299
+ labelClassName: ee,
15300
+ labelStyle: te,
15301
+ layout: S,
15302
+ registerItem: ae,
15303
+ resolveItemLayout: oe,
15304
+ resolveItemSpan: K,
15305
+ size: w
15305
15306
  }), (n, r) => (A(), u("section", {
15306
15307
  ref_key: "rootRef",
15307
- ref: i,
15308
- class: C(z.value),
15309
- style: T(R.value.root)
15310
- }, [D.value ? (A(), u("header", {
15308
+ ref: a,
15309
+ class: C(H.value),
15310
+ style: T(V.value.root)
15311
+ }, [k.value ? (A(), u("header", {
15311
15312
  key: 0,
15312
- class: C(["xy-descriptions__header", L.value.header]),
15313
- style: T(R.value.header)
15314
- }, [w.value ? (A(), u("div", {
15313
+ class: C(["xy-descriptions__header", z.value.header]),
15314
+ style: T(V.value.header)
15315
+ }, [E.value ? (A(), u("div", {
15315
15316
  key: 0,
15316
- class: C(["xy-descriptions__title", L.value.title]),
15317
- style: T(R.value.title)
15318
- }, [I(n.$slots, "title", {}, () => [m(G(lc), { value: e.title }, null, 8, ["value"])], !0)], 6)) : l("", !0), E.value ? (A(), u("div", {
15317
+ class: C(["xy-descriptions__title", z.value.title]),
15318
+ style: T(V.value.title)
15319
+ }, [I(n.$slots, "title", {}, () => [m(G(lc), { value: e.title }, null, 8, ["value"])], !0)], 6)) : l("", !0), O.value ? (A(), u("div", {
15319
15320
  key: 1,
15320
- class: C(["xy-descriptions__extra", L.value.extra]),
15321
- style: T(R.value.extra)
15321
+ class: C(["xy-descriptions__extra", z.value.extra]),
15322
+ style: T(V.value.extra)
15322
15323
  }, [I(n.$slots, "extra", {}, () => [m(G(lc), { value: e.extra }, null, 8, ["value"])], !0)], 6)) : l("", !0)], 6)) : l("", !0), d("dl", {
15323
- class: C(["xy-descriptions__view", L.value.view]),
15324
- style: T([M.value, R.value.view])
15325
- }, [O.value ? (A(!0), u(t, { key: 0 }, F(e.items, (e, t) => (A(), c(dc, {
15324
+ class: C(["xy-descriptions__view", z.value.view]),
15325
+ style: T([L.value, V.value.view])
15326
+ }, [M.value ? (A(!0), u(t, { key: 0 }, F(e.items, (e, t) => (A(), c(dc, {
15326
15327
  key: e.key ?? t,
15327
15328
  "class-names": e.classNames,
15328
15329
  "content-style": e.contentStyle,
@@ -15342,7 +15343,7 @@ var fs = ["aria-label"], ps = ["aria-label", "disabled"], ms = ["aria-label", "d
15342
15343
  "styles"
15343
15344
  ]))), 128)) : I(n.$slots, "default", { key: 1 }, void 0, !0)], 6)], 6));
15344
15345
  }
15345
- }), [["__scopeId", "data-v-604e62a9"]]), pc = X(dc), mc = Object.assign(X(fc), { Item: pc }), hc = ["aria-orientation"], gc = X(/* @__PURE__ */ Z(/* @__PURE__ */ g({
15346
+ }), [["__scopeId", "data-v-103d68c3"]]), pc = X(dc), mc = Object.assign(X(fc), { Item: pc }), hc = ["aria-orientation"], gc = X(/* @__PURE__ */ Z(/* @__PURE__ */ g({
15346
15347
  name: "XyDivider",
15347
15348
  __name: "divider",
15348
15349
  props: {
@@ -23988,11 +23989,7 @@ var af = ["aria-busy", "aria-label"], of = X(/* @__PURE__ */ Z(/* @__PURE__ */ g
23988
23989
  style: T([O.value.item, t.style]),
23989
23990
  "data-status": M(t, r),
23990
23991
  "data-step-key": t.key
23991
- }, [d("span", {
23992
- class: C(["xy-steps__tail", D.value.tail]),
23993
- style: T(O.value.tail),
23994
- "aria-hidden": "true"
23995
- }, null, 6), (A(), c(R(y.value ? "button" : "div"), {
23992
+ }, [(A(), c(R(y.value ? "button" : "div"), {
23996
23993
  class: "xy-steps__main",
23997
23994
  "aria-current": r === v.value ? "step" : void 0,
23998
23995
  "aria-disabled": e.disabled || t.disabled || void 0,
@@ -24025,19 +24022,27 @@ var af = ["aria-busy", "aria-label"], of = X(/* @__PURE__ */ Z(/* @__PURE__ */ g
24025
24022
  })) : (A(), u("span", uf, V(r + 1), 1)), L(t, r, M(t, r)) ? (A(), u("span", df, V(S.value) + "% ", 1)) : l("", !0)], !0)], 6), d("span", {
24026
24023
  class: C(["xy-steps__content", D.value.content]),
24027
24024
  style: T(O.value.content)
24028
- }, [d("span", ff, [d("span", {
24029
- class: C(["xy-steps__title", D.value.title]),
24030
- style: T(O.value.title)
24031
- }, [I(n.$slots, "title", {
24032
- current: r === v.value,
24033
- index: r,
24034
- item: t,
24035
- status: M(t, r)
24036
- }, () => [m(G(i), { content: t.title }, null, 8, ["content"])], !0)], 6), t.subTitle ? (A(), u("span", {
24037
- key: 0,
24038
- class: C(["xy-steps__subtitle", D.value.subTitle]),
24039
- style: T(O.value.subTitle)
24040
- }, [m(G(i), { content: t.subTitle }, null, 8, ["content"])], 6)) : l("", !0)]), t.description || G(f).description ? (A(), u("span", {
24025
+ }, [d("span", ff, [
24026
+ d("span", {
24027
+ class: C(["xy-steps__title", D.value.title]),
24028
+ style: T(O.value.title)
24029
+ }, [I(n.$slots, "title", {
24030
+ current: r === v.value,
24031
+ index: r,
24032
+ item: t,
24033
+ status: M(t, r)
24034
+ }, () => [m(G(i), { content: t.title }, null, 8, ["content"])], !0)], 6),
24035
+ t.subTitle ? (A(), u("span", {
24036
+ key: 0,
24037
+ class: C(["xy-steps__subtitle", D.value.subTitle]),
24038
+ style: T(O.value.subTitle)
24039
+ }, [m(G(i), { content: t.subTitle }, null, 8, ["content"])], 6)) : l("", !0),
24040
+ d("span", {
24041
+ class: C(["xy-steps__tail", D.value.tail]),
24042
+ style: T(O.value.tail),
24043
+ "aria-hidden": "true"
24044
+ }, null, 6)
24045
+ ]), t.description || G(f).description ? (A(), u("span", {
24041
24046
  key: 0,
24042
24047
  class: C(["xy-steps__description", D.value.description]),
24043
24048
  style: T(O.value.description)
@@ -24058,7 +24063,7 @@ var af = ["aria-busy", "aria-label"], of = X(/* @__PURE__ */ Z(/* @__PURE__ */ g
24058
24063
  "onClick"
24059
24064
  ]))], 14, cf))), 128))], 46, sf)], 6));
24060
24065
  }
24061
- }), [["__scopeId", "data-v-740b4545"]])), mf = [
24066
+ }), [["__scopeId", "data-v-0975956e"]])), mf = [
24062
24067
  "id",
24063
24068
  "aria-checked",
24064
24069
  "aria-describedby",
@@ -25759,7 +25764,7 @@ var ip = ["aria-busy"], ap = { key: 0 }, op = { key: 0 }, sp = ["colspan"], cp =
25759
25764
  title: h.value
25760
25765
  }, null, 8, ["title"]))], 14, sp)])) : (A(!0), u(t, { key: 1 }, F(S.value, (e, i) => (A(), u("tr", {
25761
25766
  key: e.key,
25762
- class: C(["xy-table__row", Me.value.row]),
25767
+ class: C(["xy-table__row", [Me.value.row, { "xy-table__row--resize-active": tt(e.key) }]]),
25763
25768
  "data-row-key": e.key,
25764
25769
  style: T(Ue(e))
25765
25770
  }, [d("th", {
@@ -25959,7 +25964,10 @@ var ip = ["aria-busy"], ap = { key: 0 }, op = { key: 0 }, sp = ["colspan"], cp =
25959
25964
  })
25960
25965
  }, [(A(!0), u(t, null, F(Fe.value, (e) => (A(), u("div", {
25961
25966
  key: String(e.key),
25962
- class: C(["xy-table__virtual-row xy-table__row", [Me.value.row, { "xy-table__row--selected": xt(e) && be.value.has(xt(e).key) }]]),
25967
+ class: C(["xy-table__virtual-row xy-table__row", [Me.value.row, {
25968
+ "xy-table__row--selected": xt(e) && be.value.has(xt(e).key),
25969
+ "xy-table__row--resize-active": xt(e) && tt(xt(e))
25970
+ }]]),
25963
25971
  "data-row-key": xt(e)?.key,
25964
25972
  style: T([xt(e) ? He(xt(e)) : {}, {
25965
25973
  gridTemplateColumns: De.value,
@@ -26177,7 +26185,10 @@ var ip = ["aria-busy"], ap = { key: 0 }, op = { key: 0 }, sp = ["colspan"], cp =
26177
26185
  style: T(Ne.value.body)
26178
26186
  }, [(A(!0), u(t, null, F(ve.value, (e) => (A(), u("tr", {
26179
26187
  key: e.key,
26180
- class: C(["xy-table__row", [Me.value.row, { "xy-table__row--selected": be.value.has(e.key) }]]),
26188
+ class: C(["xy-table__row", [Me.value.row, {
26189
+ "xy-table__row--selected": be.value.has(e.key),
26190
+ "xy-table__row--resize-active": tt(e)
26191
+ }]]),
26181
26192
  "data-row-key": e.key,
26182
26193
  style: T(He(e)),
26183
26194
  onClick: (t) => pt(e, t)
@@ -26336,7 +26347,7 @@ var ip = ["aria-busy"], ap = { key: 0 }, op = { key: 0 }, sp = ["colspan"], cp =
26336
26347
  "total"
26337
26348
  ])) : l("", !0)], 14, ip));
26338
26349
  }
26339
- }), [["__scopeId", "data-v-ea4be9b9"]])), Jp = ["aria-label", "aria-orientation"], Yp = [
26350
+ }), [["__scopeId", "data-v-90886cf3"]])), Jp = ["aria-label", "aria-orientation"], Yp = [
26340
26351
  "data-tab-key",
26341
26352
  "id",
26342
26353
  "aria-controls",