my-element-plus-ext 1.0.0 → 1.0.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "my-element-plus-ext",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "基于 Element Plus 的扩展组件库",
5
5
  "main": "dist/my-element-lib.umd.js",
6
6
  "module": "dist/my-element-lib.es.js",
@@ -22,8 +22,12 @@
22
22
  ],
23
23
  "author": "你的名字",
24
24
  "license": "MIT",
25
+ "dependencies": {
26
+ "@element-plus/icons-vue": "^2.3.2"
27
+ },
25
28
  "devDependencies": {
26
29
  "@vitejs/plugin-vue": "^6.0.3",
27
- "vite": "^7.3.0"
30
+ "sass-embedded": "^1.97.2",
31
+ "vite": "^7.3.1"
28
32
  }
29
33
  }
@@ -1,37 +0,0 @@
1
- import { resolveComponent as a, createBlock as c, openBlock as _, withCtx as l, renderSlot as r, createTextVNode as u } from "vue";
2
- const p = (e, o) => {
3
- const t = e.__vccOpts || e;
4
- for (const [n, s] of o)
5
- t[n] = s;
6
- return t;
7
- }, m = /* @__PURE__ */ Object.assign({
8
- name: "MyButton"
9
- }, {
10
- __name: "MyButton",
11
- setup(e) {
12
- return (o, t) => {
13
- const n = a("el-button");
14
- return _(), c(n, null, {
15
- default: l(() => [
16
- r(o.$slots, "default", {}, () => [
17
- t[0] || (t[0] = u("默认按钮", -1))
18
- ], !0)
19
- ]),
20
- _: 3
21
- });
22
- };
23
- }
24
- }), d = /* @__PURE__ */ p(m, [["__scopeId", "data-v-519aae11"]]), f = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
25
- __proto__: null,
26
- default: d
27
- }, Symbol.toStringTag, { value: "Module" })), i = /* @__PURE__ */ Object.assign({ "./components/MyButton.vue": f }), b = Object.values(i).map((e) => e.default), v = (e) => {
28
- b.forEach((o) => {
29
- const t = o.__name || o.name;
30
- t && e.component(t, o);
31
- });
32
- }, g = {
33
- install: v
34
- };
35
- export {
36
- g as default
37
- };
File without changes