cosey 0.2.4 → 0.2.5

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, ref, resolveComponent, resolveDirective, createBlock, openBlock, withCtx, createElementVNode, normalizeClass, unref, createVNode, toDisplayString, createCommentVNode, withDirectives, resolveDynamicComponent } from 'vue';
1
+ import { defineComponent, ref, resolveComponent, resolveDirective, createBlock, openBlock, withCtx, createElementVNode, normalizeClass, unref, createVNode, toDisplayString, createCommentVNode, resolveDynamicComponent, withDirectives, createElementBlock } from 'vue';
2
2
  import { useRouter } from 'vue-router';
3
3
  import { useGlobalConfig } from '../../config/index.js';
4
4
  import { useUserStore } from '../../store/user.js';
@@ -81,23 +81,23 @@ var stdin_default = /* @__PURE__ */defineComponent({
81
81
  /* TEXT, CLASS */)]),
82
82
  _: 1
83
83
  /* STABLE */
84
- })) : createCommentVNode("v-if", true), withDirectives((openBlock(), createBlock(_component_el_dropdown_item, {
84
+ })) : createCommentVNode("v-if", true), createVNode(_component_el_dropdown_item, {
85
85
  divided: "",
86
86
  onClick: logout
87
87
  }, {
88
- default: withCtx(() => [createVNode(unref(_Icon), {
88
+ default: withCtx(() => [withDirectives((openBlock(), createElementBlock("div", null, [createVNode(unref(_Icon), {
89
89
  name: "co:logout",
90
90
  size: "lg"
91
91
  }), createElementVNode("span", {
92
92
  class: normalizeClass(`${unref(prefixCls)}-item-title`)
93
93
  }, toDisplayString(unref(t)("co.auth.logout")), 3
94
- /* TEXT, CLASS */)]),
94
+ /* TEXT, CLASS */)])), [[_directive_loading, fullscreenLoading.value, void 0, {
95
+ fullscreen: true,
96
+ lock: true
97
+ }]])]),
95
98
  _: 1
96
99
  /* STABLE */
97
- })), [[_directive_loading, fullscreenLoading.value, void 0, {
98
- fullscreen: true,
99
- lock: true
100
- }]])]),
100
+ })]),
101
101
  _: 1
102
102
  /* STABLE */
103
103
  }, 8, ["class"])]),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cosey",
3
- "version": "0.2.4",
3
+ "version": "0.2.5",
4
4
  "description": "基于 Vue3 + vite 的后台管理系统框架",
5
5
  "type": "module",
6
6
  "main": "index.js",