@moubing/bing-ui 0.7.1 → 0.7.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.
- package/README.md +10 -0
- package/dist/bing-ui.css +1 -1
- package/dist/bing-ui.es.js +19 -20
- package/dist/bing-ui.umd.js +2 -2
- package/package.json +1 -1
package/dist/bing-ui.es.js
CHANGED
|
@@ -683,6 +683,8 @@ var ot = [
|
|
|
683
683
|
"has-overflow": h.value || v.value,
|
|
684
684
|
"has-vertical-overflow": h.value,
|
|
685
685
|
"has-horizontal-overflow": v.value,
|
|
686
|
+
"is-vertical": r.vertical,
|
|
687
|
+
"is-horizontal": r.horizontal,
|
|
686
688
|
"is-always-visible": r.always,
|
|
687
689
|
"is-disabled": r.disabled,
|
|
688
690
|
"is-dragging": !!T.value,
|
|
@@ -1031,7 +1033,7 @@ var ot = [
|
|
|
1031
1033
|
}, null, 36)], 544), [[U, v.value]])
|
|
1032
1034
|
], 38));
|
|
1033
1035
|
}
|
|
1034
|
-
}), [["__scopeId", "data-v-
|
|
1036
|
+
}), [["__scopeId", "data-v-7a3e643e"]]), ct = 12, lt = 3;
|
|
1035
1037
|
function ut() {
|
|
1036
1038
|
let e = /* @__PURE__ */ new Set();
|
|
1037
1039
|
function t() {
|
|
@@ -1447,7 +1449,7 @@ var mt = ["aria-label"], ht = [
|
|
|
1447
1449
|
_: 3
|
|
1448
1450
|
}, 8, ["class", "smooth"]));
|
|
1449
1451
|
}
|
|
1450
|
-
}), [["__scopeId", "data-v-
|
|
1452
|
+
}), [["__scopeId", "data-v-e740be89"]]), yt = ["aria-hidden"], bt = /* @__PURE__ */ Ne(/* @__PURE__ */ d({
|
|
1451
1453
|
__name: "BingAppSwitcherTransition",
|
|
1452
1454
|
props: {
|
|
1453
1455
|
modelValue: { default: void 0 },
|
|
@@ -26120,7 +26122,7 @@ var Yk = ["aria-grabbed", "data-bing-sortable-key"], Xk = /* @__PURE__ */ Ne(/*
|
|
|
26120
26122
|
"keydown"
|
|
26121
26123
|
],
|
|
26122
26124
|
setup(e, { expose: t, emit: n }) {
|
|
26123
|
-
V((e) => ({
|
|
26125
|
+
V((e) => ({ v24ba19d8: e.resize }));
|
|
26124
26126
|
let r = e, l = n, { rootAttrs: d, controlAttrs: f } = jp(), { formItem: p, resolvedId: m, resolvedSize: _, resolvedDisabled: v, resolvedStatus: y, resolvedAriaDescribedby: x } = wt(r), C = k(null), w = k(null), T = k(null), D, O, A = !1, j = i(() => r.modelValue.length > 0), M = i(() => r.clearable && !r.readonly && !v.value && j.value), N = i(() => r.modelValue.length), P = i(() => typeof r.maxLength == "number" ? `${N.value}/${r.maxLength}` : String(N.value)), F = i(() => [
|
|
26125
26127
|
"bing-textarea",
|
|
26126
26128
|
`bing-textarea--${_.value}`,
|
|
@@ -26263,7 +26265,7 @@ var Yk = ["aria-grabbed", "data-bing-sortable-key"], Xk = /* @__PURE__ */ Ne(/*
|
|
|
26263
26265
|
e.showCount ? (E(), s("span", eA, I(P.value), 1)) : o("", !0)
|
|
26264
26266
|
], 16));
|
|
26265
26267
|
}
|
|
26266
|
-
}), [["__scopeId", "data-v-
|
|
26268
|
+
}), [["__scopeId", "data-v-fd9bf41f"]]), nA = [
|
|
26267
26269
|
"top",
|
|
26268
26270
|
"bottom",
|
|
26269
26271
|
"left",
|
|
@@ -27262,8 +27264,7 @@ var aj = /* @__PURE__ */ Ne(/* @__PURE__ */ d({
|
|
|
27262
27264
|
yt.value,
|
|
27263
27265
|
Et.value.length,
|
|
27264
27266
|
Vt.value,
|
|
27265
|
-
ct.value.length
|
|
27266
|
-
sn.value ? "horizontal" : "no-horizontal"
|
|
27267
|
+
ct.value.length
|
|
27267
27268
|
].join("|")), Ut = i(() => Pt.value ? Ft.value * qe.value : 0), Wt = i(() => Pt.value ? Math.max(0, Et.value.length - It.value) * qe.value : 0), Gt = i(() => {
|
|
27268
27269
|
let e = p.selectable ? Ze.value : 0, t = ct.value.reduce((e, t) => e + Fn(t), 0);
|
|
27269
27270
|
return Math.max(e + t, 320);
|
|
@@ -28013,10 +28014,6 @@ var aj = /* @__PURE__ */ Ne(/* @__PURE__ */ d({
|
|
|
28013
28014
|
Si(0), Yr();
|
|
28014
28015
|
}), W(Gt, () => {
|
|
28015
28016
|
Yr();
|
|
28016
|
-
}), W(sn, () => {
|
|
28017
|
-
g(() => {
|
|
28018
|
-
Ci(), Jr();
|
|
28019
|
-
});
|
|
28020
28017
|
}), W(U, (e) => {
|
|
28021
28018
|
e || V.value?.stop();
|
|
28022
28019
|
}), W(wt, (e) => {
|
|
@@ -28265,9 +28262,11 @@ var aj = /* @__PURE__ */ Ne(/* @__PURE__ */ d({
|
|
|
28265
28262
|
}, 8, ["style"])]),
|
|
28266
28263
|
_: 3
|
|
28267
28264
|
}),
|
|
28268
|
-
|
|
28269
|
-
|
|
28270
|
-
|
|
28265
|
+
c("div", {
|
|
28266
|
+
class: _(["bing-table__horizontal-scrollbar", {
|
|
28267
|
+
"is-visible": sn.value,
|
|
28268
|
+
"is-dragging": _e.value
|
|
28269
|
+
}]),
|
|
28271
28270
|
"aria-hidden": "true"
|
|
28272
28271
|
}, [c("div", {
|
|
28273
28272
|
ref_key: "horizontalRailRef",
|
|
@@ -28278,33 +28277,33 @@ var aj = /* @__PURE__ */ Ne(/* @__PURE__ */ d({
|
|
|
28278
28277
|
class: "bing-table__horizontal-thumb",
|
|
28279
28278
|
style: y(cn.value),
|
|
28280
28279
|
onPointerdown: yi
|
|
28281
|
-
}, null, 36)], 544)], 2)
|
|
28280
|
+
}, null, 36)], 544)], 2),
|
|
28282
28281
|
nn.value ? (E(), s("div", {
|
|
28283
|
-
key:
|
|
28282
|
+
key: 0,
|
|
28284
28283
|
class: "bing-table__fixed-mask bing-table__fixed-mask--left",
|
|
28285
28284
|
style: y(en.value),
|
|
28286
28285
|
"aria-hidden": "true"
|
|
28287
28286
|
}, null, 4)) : o("", !0),
|
|
28288
28287
|
rn.value ? (E(), s("div", {
|
|
28289
|
-
key:
|
|
28288
|
+
key: 1,
|
|
28290
28289
|
class: "bing-table__fixed-mask bing-table__fixed-mask--right",
|
|
28291
28290
|
style: y(tn.value),
|
|
28292
28291
|
"aria-hidden": "true"
|
|
28293
28292
|
}, null, 4)) : o("", !0),
|
|
28294
28293
|
an.value ? (E(), s("div", {
|
|
28295
|
-
key:
|
|
28294
|
+
key: 2,
|
|
28296
28295
|
class: "bing-table__fixed-shadow bing-table__fixed-shadow--left",
|
|
28297
28296
|
style: y(Qt.value),
|
|
28298
28297
|
"aria-hidden": "true"
|
|
28299
28298
|
}, null, 4)) : o("", !0),
|
|
28300
28299
|
on.value ? (E(), s("div", {
|
|
28301
|
-
key:
|
|
28300
|
+
key: 3,
|
|
28302
28301
|
class: "bing-table__fixed-shadow bing-table__fixed-shadow--right",
|
|
28303
28302
|
style: y($t.value),
|
|
28304
28303
|
"aria-hidden": "true"
|
|
28305
28304
|
}, null, 4)) : o("", !0),
|
|
28306
28305
|
x.value ? (E(), s("div", {
|
|
28307
|
-
key:
|
|
28306
|
+
key: 4,
|
|
28308
28307
|
class: _(["bing-table__loading-overlay", { "is-visible": v.value }])
|
|
28309
28308
|
}, [v.value ? (E(), s("span", bj, [c("span", xj, [u(cr, {
|
|
28310
28309
|
icon: z(Xn),
|
|
@@ -28582,7 +28581,7 @@ var aj = /* @__PURE__ */ Ne(/* @__PURE__ */ d({
|
|
|
28582
28581
|
], 6)) : o("", !0)
|
|
28583
28582
|
], 14, oj));
|
|
28584
28583
|
}
|
|
28585
|
-
}), [["__scopeId", "data-v-
|
|
28584
|
+
}), [["__scopeId", "data-v-5e8016ab"]]), Rj = { class: "bing-tree-select__control" }, zj = [
|
|
28586
28585
|
"id",
|
|
28587
28586
|
"disabled",
|
|
28588
28587
|
"aria-label",
|