fluency-v8-components 1.1.4 → 1.1.6
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.
|
@@ -14669,6 +14669,10 @@ const iY = /* @__PURE__ */ br(nY, [["render", rY]]), aY = { class: "mt-2" }, sY
|
|
|
14669
14669
|
saveButtonText: {
|
|
14670
14670
|
type: String,
|
|
14671
14671
|
default: "Save"
|
|
14672
|
+
},
|
|
14673
|
+
loading: {
|
|
14674
|
+
type: Boolean,
|
|
14675
|
+
default: !1
|
|
14672
14676
|
}
|
|
14673
14677
|
},
|
|
14674
14678
|
emits: ["save"],
|
|
@@ -14714,9 +14718,10 @@ const iY = /* @__PURE__ */ br(nY, [["render", rY]]), aY = { class: "mt-2" }, sY
|
|
|
14714
14718
|
footer: Me(() => [
|
|
14715
14719
|
he(ne(Rh), {
|
|
14716
14720
|
saveText: e.saveButtonText,
|
|
14721
|
+
loading: e.loading,
|
|
14717
14722
|
onSave: A[2] || (A[2] = (u) => r("save", a.value)),
|
|
14718
14723
|
onClose: s
|
|
14719
|
-
}, null, 8, ["saveText"])
|
|
14724
|
+
}, null, 8, ["saveText", "loading"])
|
|
14720
14725
|
]),
|
|
14721
14726
|
_: 1
|
|
14722
14727
|
}, 8, ["open", "title"]));
|
|
@@ -20103,6 +20108,10 @@ const YX = { class: "fixed inset-0 overflow-hidden" }, WX = { class: "absolute i
|
|
|
20103
20108
|
size: {
|
|
20104
20109
|
type: String,
|
|
20105
20110
|
default: "medium"
|
|
20111
|
+
},
|
|
20112
|
+
tabField: {
|
|
20113
|
+
type: String,
|
|
20114
|
+
default: "name"
|
|
20106
20115
|
}
|
|
20107
20116
|
},
|
|
20108
20117
|
emits: ["switch"],
|
|
@@ -20110,7 +20119,7 @@ const YX = { class: "fixed inset-0 overflow-hidden" }, WX = { class: "absolute i
|
|
|
20110
20119
|
const n = e, r = t, i = n.tabs, a = Xe(() => n.size === "small" ? "16" : n.size === "large" ? "32" : "24");
|
|
20111
20120
|
function s(o) {
|
|
20112
20121
|
i.forEach((l) => {
|
|
20113
|
-
l
|
|
20122
|
+
l[tabField] === n.current && (l.current = !1), l[tabField] === o && (l.current = !0);
|
|
20114
20123
|
}), r("switch", o);
|
|
20115
20124
|
}
|
|
20116
20125
|
return (o, l) => (G(), ge("div", null, [
|
|
@@ -20122,7 +20131,7 @@ const YX = { class: "fixed inset-0 overflow-hidden" }, WX = { class: "absolute i
|
|
|
20122
20131
|
A.current ? "bg-sky-100 dark:bg-slate-700 text-sky-700 dark:text-sky-100" : "text-slate-500 dark:text-slate-200 opacity-50",
|
|
20123
20132
|
"cursor-pointer rounded-md px-4 py-2 hover:bg-sky-100 dark:hover:bg-slate-800"
|
|
20124
20133
|
]),
|
|
20125
|
-
onClick: (u) => s(A.
|
|
20134
|
+
onClick: (u) => s(A[n.tabField])
|
|
20126
20135
|
}, [
|
|
20127
20136
|
K("span", {
|
|
20128
20137
|
class: ut([
|
|
@@ -40354,6 +40363,14 @@ const $1e = /* @__PURE__ */ br(Q1e, [["render", P1e]]), H1e = {
|
|
|
40354
40363
|
return this.depth > 0 ? Wc + this.depth * (kl + Gc) + kl + Cw : 100;
|
|
40355
40364
|
}
|
|
40356
40365
|
},
|
|
40366
|
+
watch: {
|
|
40367
|
+
id: {
|
|
40368
|
+
handler(e) {
|
|
40369
|
+
this.getMaxDepthAndY(this.chartData), this.drawChart();
|
|
40370
|
+
},
|
|
40371
|
+
deep: !0
|
|
40372
|
+
}
|
|
40373
|
+
},
|
|
40357
40374
|
mounted() {
|
|
40358
40375
|
this.initializeChart(), this.getMaxDepthAndY(this.chartData), this.drawChart();
|
|
40359
40376
|
},
|
|
@@ -60145,7 +60162,7 @@ function(e) {
|
|
|
60145
60162
|
*/
|
|
60146
60163
|
function(e) {
|
|
60147
60164
|
function t() {
|
|
60148
|
-
return (fn.canvg ? Promise.resolve(fn.canvg) : import("./index.es-
|
|
60165
|
+
return (fn.canvg ? Promise.resolve(fn.canvg) : import("./index.es-BIdUBJsa.mjs")).catch(function(n) {
|
|
60149
60166
|
return Promise.reject(new Error("Could not load canvg: " + n));
|
|
60150
60167
|
}).then(function(n) {
|
|
60151
60168
|
return n.default ? n.default : n;
|