bt-core-app 2.0.15 → 2.0.17
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/bt-core-app.js +2 -1
- package/package.json +1 -1
package/dist/bt-core-app.js
CHANGED
|
@@ -79060,6 +79060,7 @@ const mie = Ue({
|
|
|
79060
79060
|
isEditing: { type: Boolean },
|
|
79061
79061
|
label: {},
|
|
79062
79062
|
modelValue: {},
|
|
79063
|
+
onToggle: {},
|
|
79063
79064
|
ripple: { type: Boolean, default: !1 },
|
|
79064
79065
|
trueClass: { default: "text-success" },
|
|
79065
79066
|
trueIcon: { default: "$check" },
|
|
@@ -79078,7 +79079,7 @@ const mie = Ue({
|
|
|
79078
79079
|
}
|
|
79079
79080
|
}), r = at("isEditing", () => q(!1), !0), i = A(() => a.isEditing ?? r.value), o = A(() => l.value === a.trueValue), s = A(() => o.value ? a.trueLabel : a.falseLabel), c = A(() => o.value ? a.trueIcon : a.falseIcon);
|
|
79080
79081
|
function u() {
|
|
79081
|
-
l.value = l.value == a.falseValue ? a.trueValue : a.falseValue;
|
|
79082
|
+
a.onToggle != null ? a.onToggle() : l.value = l.value == a.falseValue ? a.trueValue : a.falseValue;
|
|
79082
79083
|
}
|
|
79083
79084
|
return (d, m) => (N(), ce(Vt, {
|
|
79084
79085
|
onClick: Ut(u, ["stop"]),
|
package/package.json
CHANGED