@otwb/ui 2.0.9 → 2.0.11
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/index.js +7 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -846,10 +846,12 @@ var AppTab = /* @__PURE__ */ defineComponent({
|
|
|
846
846
|
color: d.isCurrent ? "#595959" : K.value.textColor3,
|
|
847
847
|
maxWidth: "350px",
|
|
848
848
|
overflow: "hidden",
|
|
849
|
-
marginRight: "5px"
|
|
849
|
+
marginRight: "5px",
|
|
850
|
+
whiteSpace: "nowrap"
|
|
850
851
|
})), J = computed(() => ({
|
|
851
852
|
height: "34px",
|
|
852
|
-
padding: "0 12px 0 15px"
|
|
853
|
+
padding: "0 12px 0 15px",
|
|
854
|
+
background: d.isCurrent ? "#F5F5F5" : ""
|
|
853
855
|
}));
|
|
854
856
|
return computed(() => ({
|
|
855
857
|
width: "calc(100% + 27px)",
|
|
@@ -1087,9 +1089,9 @@ const AppNotification = /* @__PURE__ */ defineComponent({
|
|
|
1087
1089
|
footer: () => createVNode("span", { style: "color: gray" }, [d.hover ? format(d.date, W("common.notification.time")) : W("common.timeago", { time: d.date })])
|
|
1088
1090
|
})] }), Q = () => {
|
|
1089
1091
|
let d, z;
|
|
1090
|
-
return withDirectives(q.records.length > 0 ? createVNode("div",
|
|
1092
|
+
return withDirectives(q.records.length > 0 ? createVNode("div", { class: "notice-wrap" }, [createVNode(NTabs, {
|
|
1091
1093
|
"onUpdate:value": [(d) => {
|
|
1092
|
-
|
|
1094
|
+
K.value = d, J();
|
|
1093
1095
|
}, (d) => K.value = d],
|
|
1094
1096
|
type: "line",
|
|
1095
1097
|
"default-value": "all",
|
|
@@ -1156,6 +1158,7 @@ const AppNotification = /* @__PURE__ */ defineComponent({
|
|
|
1156
1158
|
}
|
|
1157
1159
|
}, null)]);
|
|
1158
1160
|
return createVNode(Fragment, null, [d, createVNode(NDrawer, {
|
|
1161
|
+
class: "drawer-wrap",
|
|
1159
1162
|
show: G.value,
|
|
1160
1163
|
"onUpdate:show": (d) => G.value = d,
|
|
1161
1164
|
showMask: !1,
|