ninemoon-ui 0.1.10 → 0.1.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/css/style.css +0 -4
- package/dist/js/tabs/tabs.js +14 -22
- package/package.json +1 -1
package/dist/css/style.css
CHANGED
package/dist/js/tabs/tabs.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent,
|
|
1
|
+
import { defineComponent, computed, ref, reactive, useSlots, onMounted, onUnmounted, openBlock, createElementBlock, createVNode, createElementVNode, normalizeStyle, createCommentVNode, h, normalizeClass, withDirectives, vShow } from "vue";
|
|
2
2
|
import { S as ShapeFlags } from "../shapeFlag/shapeFlag.js";
|
|
3
3
|
const _hoisted_1 = { class: "relative w-full overflow-hidden" };
|
|
4
4
|
const _hoisted_2 = {
|
|
@@ -14,9 +14,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
14
14
|
},
|
|
15
15
|
emits: ["update:active"],
|
|
16
16
|
setup(__props, { emit: __emit }) {
|
|
17
|
-
const LibScrollBar = defineAsyncComponent(
|
|
18
|
-
() => import("../scrollBar/scrollBar.js")
|
|
19
|
-
);
|
|
20
17
|
const props = __props;
|
|
21
18
|
const showBaseline = computed(() => props.type === "line");
|
|
22
19
|
const emit = __emit;
|
|
@@ -153,24 +150,19 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
153
150
|
});
|
|
154
151
|
return (_ctx, _cache) => {
|
|
155
152
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
156
|
-
createVNode(
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
}, null, 4)
|
|
170
|
-
])) : createCommentVNode("", true)
|
|
171
|
-
]),
|
|
172
|
-
_: 1
|
|
173
|
-
}),
|
|
153
|
+
createVNode(renderBar, {
|
|
154
|
+
ref_key: "observerRef",
|
|
155
|
+
ref: observerRef
|
|
156
|
+
}, null, 512),
|
|
157
|
+
showBaseline.value ? (openBlock(), createElementBlock("div", _hoisted_2, [
|
|
158
|
+
createElementVNode("div", {
|
|
159
|
+
class: "absolute bottom-0 border-t-2 border-solid border-blue-brand transition",
|
|
160
|
+
style: normalizeStyle({
|
|
161
|
+
transform: `translateX(${indicatorPos.left}px`,
|
|
162
|
+
width: `${indicatorPos.width}px`
|
|
163
|
+
})
|
|
164
|
+
}, null, 4)
|
|
165
|
+
])) : createCommentVNode("", true),
|
|
174
166
|
createElementVNode("div", _hoisted_3, [
|
|
175
167
|
createVNode(renderContent)
|
|
176
168
|
])
|