ninemoon-ui 0.0.9 → 0.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.
@@ -1,4 +1,4 @@
1
- import { defineComponent, computed, ref, useSlots, onMounted, openBlock, createElementBlock, Fragment, createTextVNode, toDisplayString, createElementVNode, createVNode, normalizeStyle, createCommentVNode, h, withDirectives, vShow } from "vue";
1
+ import { defineComponent, computed, ref, useSlots, onMounted, openBlock, createElementBlock, createVNode, createElementVNode, normalizeStyle, createCommentVNode, h, normalizeClass, withDirectives, vShow } from "vue";
2
2
  const _hoisted_1 = { class: "tdd-relative tdd-w-full tdd-overflow-hidden" };
3
3
  const _hoisted_2 = {
4
4
  key: 0,
@@ -69,7 +69,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
69
69
  "button",
70
70
  {
71
71
  type: "button",
72
- class: btc.join(" "),
72
+ class: normalizeClass(btc),
73
73
  onClick: (e) => {
74
74
  activeIndex.value = index;
75
75
  let aim = e.target;
@@ -91,7 +91,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
91
91
  return h(
92
92
  "div",
93
93
  {
94
- class: `ETab${props.type === "line" ? " tdd-px-2 tdd-pt-2" : " ETab_Card"}`
94
+ class: normalizeClass(["ETab", [props.type === "line" ? "tdd-px-2 tdd-pt-2" : " ETab_Card"]])
95
95
  },
96
96
  slots.default().map((it, index) => {
97
97
  if (typeof it.children == "string")
@@ -148,27 +148,24 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
148
148
  }
149
149
  });
150
150
  return (_ctx, _cache) => {
151
- return openBlock(), createElementBlock(Fragment, null, [
152
- createTextVNode(toDisplayString(noactive.value) + " ", 1),
153
- createElementVNode("div", _hoisted_1, [
154
- createVNode(renderBar, {
155
- ref_key: "btnBar",
156
- ref: btnBar
157
- }, null, 512),
158
- showBaseline.value ? (openBlock(), createElementBlock("div", _hoisted_2, [
159
- createElementVNode("div", {
160
- class: "tdd-absolute tdd-bottom-0 tdd-border-t-2 tdd-border-solid tdd-border-blue-brand tdd-transition",
161
- style: normalizeStyle({
162
- transform: `translateX(${arrowNum.value}px`,
163
- width: `${arrowWidth.value}px`
164
- })
165
- }, null, 4)
166
- ])) : createCommentVNode("", true),
167
- createElementVNode("div", _hoisted_3, [
168
- createVNode(renderContent)
169
- ])
151
+ return openBlock(), createElementBlock("div", _hoisted_1, [
152
+ createVNode(renderBar, {
153
+ ref_key: "btnBar",
154
+ ref: btnBar
155
+ }, null, 512),
156
+ showBaseline.value ? (openBlock(), createElementBlock("div", _hoisted_2, [
157
+ createElementVNode("div", {
158
+ class: "tdd-absolute tdd-bottom-0 tdd-border-t-2 tdd-border-solid tdd-border-blue-brand tdd-transition",
159
+ style: normalizeStyle({
160
+ transform: `translateX(${arrowNum.value}px`,
161
+ width: `${arrowWidth.value}px`
162
+ })
163
+ }, null, 4)
164
+ ])) : createCommentVNode("", true),
165
+ createElementVNode("div", _hoisted_3, [
166
+ createVNode(renderContent)
170
167
  ])
171
- ], 64);
168
+ ]);
172
169
  };
173
170
  }
174
171
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ninemoon-ui",
3
3
  "private": false,
4
- "version": "0.0.9",
4
+ "version": "0.0.11",
5
5
  "author": "zhuboy",
6
6
  "keywords": [
7
7
  "vue3",