p-pc-ui 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/dist/p-pc-ui.es.js +25 -25
- package/dist/p-pc-ui.umd.js +1 -1
- package/dist/types/index.d.ts +2 -6
- package/dist/types/p-form/index.d.ts +2 -0
- package/dist/types/p-form/p-form.vue.d.ts +5 -0
- package/dist/types/p-table/index.d.ts +2 -0
- package/dist/types/p-table/p-table.vue.d.ts +5 -0
- package/package.json +3 -2
- package/dist/p-pc-ui.css +0 -1
- package/dist/types/components/index.d.ts +0 -2
- package/dist/types/components/my-input/my-button.vue.d.ts +0 -2
package/dist/p-pc-ui.es.js
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { createElementBlock as
|
|
2
|
-
const
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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);
|
|
1
|
+
import { defineComponent as t, createElementBlock as a, openBlock as p, toDisplayString as m } from "vue";
|
|
2
|
+
const o = /* @__PURE__ */ t({
|
|
3
|
+
__name: "p-table",
|
|
4
|
+
props: {
|
|
5
|
+
name: {}
|
|
6
|
+
},
|
|
7
|
+
setup(e) {
|
|
8
|
+
return (n, l) => (p(), a("div", null, "表格组件" + m(n.name), 1));
|
|
22
9
|
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
|
|
10
|
+
});
|
|
11
|
+
o.install = (e) => {
|
|
12
|
+
e.component("PTable", o);
|
|
13
|
+
};
|
|
14
|
+
const r = /* @__PURE__ */ t({
|
|
15
|
+
__name: "p-form",
|
|
16
|
+
props: {
|
|
17
|
+
name: {}
|
|
18
|
+
},
|
|
19
|
+
setup(e) {
|
|
20
|
+
return (n, l) => (p(), a("div", null, "表单组件" + m(n.name), 1));
|
|
21
|
+
}
|
|
22
|
+
});
|
|
23
|
+
r.install = (e) => {
|
|
24
|
+
e.component("PForm", r);
|
|
26
25
|
};
|
|
27
26
|
export {
|
|
28
|
-
|
|
27
|
+
r as PForm,
|
|
28
|
+
o as PTable
|
|
29
29
|
};
|
package/dist/p-pc-ui.umd.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(e
|
|
1
|
+
(function(n,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(n=typeof globalThis<"u"?globalThis:n||self,e(n["p-pc-ui"]={},n.Vue))})(this,function(n,e){"use strict";const o=e.defineComponent({__name:"p-table",props:{name:{}},setup(t){return(p,r)=>(e.openBlock(),e.createElementBlock("div",null,"表格组件"+e.toDisplayString(p.name),1))}});o.install=t=>{t.component("PTable",o)};const i=e.defineComponent({__name:"p-form",props:{name:{}},setup(t){return(p,r)=>(e.openBlock(),e.createElementBlock("div",null,"表单组件"+e.toDisplayString(p.name),1))}});i.install=t=>{t.component("PForm",i)},n.PForm=i,n.PTable=o,Object.defineProperty(n,Symbol.toStringTag,{value:"Module"})});
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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;
|
|
1
|
+
export { default as PTable } from '../components/p-table';
|
|
2
|
+
export { default as PForm } from '../components/p-form';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
name: string;
|
|
3
|
+
}
|
|
4
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
name: string;
|
|
3
|
+
}
|
|
4
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
5
|
+
export default _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "p-pc-ui",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/p-pc-ui.umd.js",
|
|
6
6
|
"module": "dist/p-pc-ui.es.js",
|
|
@@ -12,7 +12,8 @@
|
|
|
12
12
|
".": {
|
|
13
13
|
"import": "./dist/p-pc-ui.es.js",
|
|
14
14
|
"require": "./dist/p-pc-ui.umd.js"
|
|
15
|
-
}
|
|
15
|
+
},
|
|
16
|
+
"./dist/p-pc-ui.css": "./dist/p-pc-ui.css"
|
|
16
17
|
},
|
|
17
18
|
"peerDependencies": {
|
|
18
19
|
"vue": "^3.0.0"
|
package/dist/p-pc-ui.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.my-button[data-v-f5ddfcd2]{background:#42b983;color:#fff;padding:10px 20px;border:none;border-radius:4px}
|
|
@@ -1,2 +0,0 @@
|
|
|
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;
|