p-pc-ui 1.0.0
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/p-pc-ui.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.my-button[data-v-f5ddfcd2]{background:#42b983;color:#fff;padding:10px 20px;border:none;border-radius:4px}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { createElementBlock as r, openBlock as a, renderSlot as d } from "vue";
|
|
2
|
+
const _ = (t, e) => {
|
|
3
|
+
const o = t.__vccOpts || t;
|
|
4
|
+
for (const [c, s] of e)
|
|
5
|
+
o[c] = s;
|
|
6
|
+
return o;
|
|
7
|
+
}, l = {
|
|
8
|
+
name: "MyButton"
|
|
9
|
+
}, u = { class: "my-button" };
|
|
10
|
+
function p(t, e, o, c, s, i) {
|
|
11
|
+
return a(), r("button", u, [
|
|
12
|
+
d(t.$slots, "default", {}, void 0, !0)
|
|
13
|
+
]);
|
|
14
|
+
}
|
|
15
|
+
const f = /* @__PURE__ */ _(l, [["render", p], ["__scopeId", "data-v-f5ddfcd2"]]), n = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
16
|
+
__proto__: null,
|
|
17
|
+
MyButton: f
|
|
18
|
+
}, Symbol.toStringTag, { value: "Module" })), m = (t) => {
|
|
19
|
+
for (const e in n) {
|
|
20
|
+
const o = n[e];
|
|
21
|
+
t.component(o.name, o);
|
|
22
|
+
}
|
|
23
|
+
}, b = {
|
|
24
|
+
install: m,
|
|
25
|
+
...n
|
|
26
|
+
};
|
|
27
|
+
export {
|
|
28
|
+
b as default
|
|
29
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(e,o){typeof exports=="object"&&typeof module<"u"?module.exports=o(require("vue")):typeof define=="function"&&define.amd?define(["vue"],o):(e=typeof globalThis<"u"?globalThis:e||self,e["p-pc-ui"]=o(e.Vue))})(this,function(e){"use strict";const o=(t,s)=>{const n=t.__vccOpts||t;for(const[u,d]of s)n[u]=d;return n},r={name:"MyButton"},i={class:"my-button"};function f(t,s,n,u,d,a){return e.openBlock(),e.createElementBlock("button",i,[e.renderSlot(t.$slots,"default",{},void 0,!0)])}const c=Object.freeze(Object.defineProperty({__proto__:null,MyButton:o(r,[["render",f],["__scopeId","data-v-f5ddfcd2"]])},Symbol.toStringTag,{value:"Module"}));return{install:t=>{for(const s in c){const n=c[s];t.component(n.name,n)}},...c}});
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { App } from 'vue';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
MyButton: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
4
|
+
install: (app: App) => void;
|
|
5
|
+
};
|
|
6
|
+
export default _default;
|
package/package.json
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "p-pc-ui",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"main": "dist/p-pc-ui.umd.js",
|
|
6
|
+
"module": "dist/p-pc-ui.es.js",
|
|
7
|
+
"types": "dist/types/index.d.ts",
|
|
8
|
+
"files": [
|
|
9
|
+
"dist"
|
|
10
|
+
],
|
|
11
|
+
"exports": {
|
|
12
|
+
".": {
|
|
13
|
+
"import": "./dist/p-pc-ui.es.js",
|
|
14
|
+
"require": "./dist/p-pc-ui.umd.js"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"peerDependencies": {
|
|
18
|
+
"vue": "^3.0.0"
|
|
19
|
+
},
|
|
20
|
+
"scripts": {
|
|
21
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
|
22
|
+
},
|
|
23
|
+
"author": "",
|
|
24
|
+
"license": "ISC",
|
|
25
|
+
"description": "",
|
|
26
|
+
"dependencies": {
|
|
27
|
+
"vue": "^3.5.13"
|
|
28
|
+
},
|
|
29
|
+
"devDependencies": {
|
|
30
|
+
"@types/node": "^22.14.0",
|
|
31
|
+
"@vitejs/plugin-vue": "^5.2.3",
|
|
32
|
+
"typescript": "^5.8.3",
|
|
33
|
+
"vite": "^6.2.5",
|
|
34
|
+
"vite-plugin-dts": "^4.5.3"
|
|
35
|
+
}
|
|
36
|
+
}
|