eco-vue-js 0.5.9 → 0.5.11
Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WNavItem.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Nav/WNavItem.vue"],"names":[],"mappings":"AAwFA;AAOA,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,eAAe,CAAA;AAM5C,UAAU,KAAM,SAAQ,SAAS;IAC/B,IAAI,CAAC,EAAE,YAAY,CAAA;IACnB,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAA;CACvB;;;;;;;;;
|
1
|
+
{"version":3,"file":"WNavItem.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Nav/WNavItem.vue"],"names":[],"mappings":"AAwFA;AAOA,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,eAAe,CAAA;AAM5C,UAAU,KAAM,SAAQ,SAAS;IAC/B,IAAI,CAAC,EAAE,YAAY,CAAA;IACnB,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAA;CACvB;;;;;;;;;AA4RD,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
@@ -10,14 +10,14 @@ const _hoisted_1 = {
|
|
10
10
|
};
|
11
11
|
const _hoisted_2 = {
|
12
12
|
key: 0,
|
13
|
-
class: "h-full absolute left-7 top-0
|
13
|
+
class: "h-full absolute left-7 top-0 flex items-center"
|
14
14
|
};
|
15
|
-
const _hoisted_3 = /* @__PURE__ */ createElementVNode("div", { class: "bg-
|
15
|
+
const _hoisted_3 = /* @__PURE__ */ createElementVNode("div", { class: "bg-[var(--w-nav-item-dot-color)] square-1.5 rounded-full" }, null, -1);
|
16
16
|
const _hoisted_4 = [
|
17
17
|
_hoisted_3
|
18
18
|
];
|
19
19
|
const _hoisted_5 = { class: "[overflow:inherit]" };
|
20
|
-
const _hoisted_6 = { class: "grid grid-cols-[2rem,auto,1fr,1rem] items-center py-
|
20
|
+
const _hoisted_6 = { class: "grid grid-cols-[2rem,auto,1fr,1rem] items-center py-3 px-5" };
|
21
21
|
const _hoisted_7 = { class: "flex items-center" };
|
22
22
|
const _hoisted_8 = { class: "text-base font-normal tracking-wide whitespace-nowrap relative" };
|
23
23
|
const _hoisted_9 = { class: "text-base font-normal tracking-wide text-center flex justify-start relative" };
|
@@ -52,6 +52,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
52
52
|
return false;
|
53
53
|
return isEqualObj(route.query, routeTo.value.query, EXCLUDE_QUERY_FIELDS, props.queryFields);
|
54
54
|
});
|
55
|
+
const isTextColor = computed(() => props.hasActive ? !props.indent : isActive.value);
|
55
56
|
const isBigCount = computed(() => props.counter !== void 0 && props.counter >= 1e3);
|
56
57
|
watch(isActive, (value) => emit("update:isActive", [props.title, value]), { immediate: true });
|
57
58
|
onBeforeUnmount(() => {
|
@@ -61,8 +62,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
61
62
|
return openBlock(), createBlock(unref(RouterLink), {
|
62
63
|
to: _ctx.to,
|
63
64
|
class: normalizeClass(["relative no-underline block w-ripple w-ripple-hover", {
|
64
|
-
"text-primary-default dark:text-primary-dark":
|
65
|
-
"text-accent": !
|
65
|
+
"text-primary-default dark:text-primary-dark": isTextColor.value,
|
66
|
+
"text-accent": !isTextColor.value,
|
66
67
|
"pl-7": _ctx.indent
|
67
68
|
}])
|
68
69
|
}, {
|