p-pc-ui 1.0.1 → 1.0.3
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 +21 -16
- package/dist/p-pc-ui.umd.js +1 -1
- package/dist/types/index.d.ts +2 -10
- 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 +10 -2
- package/dist/types/components/index.d.ts +0 -2
- package/dist/types/components/my-input/my-button.vue.d.ts +0 -5
package/dist/p-pc-ui.es.js
CHANGED
|
@@ -1,24 +1,29 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
const
|
|
3
|
-
__name: "
|
|
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
4
|
props: {
|
|
5
|
-
|
|
5
|
+
name: {}
|
|
6
6
|
},
|
|
7
7
|
setup(e) {
|
|
8
|
-
return (
|
|
8
|
+
return (n, l) => (p(), a("div", null, "表格组件" + m(n.name), 1));
|
|
9
9
|
}
|
|
10
|
-
})
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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));
|
|
17
21
|
}
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
|
|
22
|
+
});
|
|
23
|
+
r.install = (e) => {
|
|
24
|
+
e.component("PForm", r);
|
|
21
25
|
};
|
|
22
26
|
export {
|
|
23
|
-
|
|
27
|
+
r as PForm,
|
|
28
|
+
o as PTable
|
|
24
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,10 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
MyButton: import('vue').DefineComponent<{
|
|
4
|
-
content: string;
|
|
5
|
-
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
6
|
-
content: string;
|
|
7
|
-
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
8
|
-
install: (app: App) => void;
|
|
9
|
-
};
|
|
10
|
-
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.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/p-pc-ui.umd.js",
|
|
6
6
|
"module": "dist/p-pc-ui.es.js",
|
|
@@ -13,7 +13,15 @@
|
|
|
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
|
+
"./dist/p-pc-ui.css": "./dist/p-pc-ui.css",
|
|
17
|
+
"./PTable":{
|
|
18
|
+
"import":"./src/components/p-table/index.ts",
|
|
19
|
+
"types":"./src/components/p-table/index.ts"
|
|
20
|
+
},
|
|
21
|
+
"./PForm":{
|
|
22
|
+
"import":"./src/components/p-form/index.ts",
|
|
23
|
+
"types":"./src/components/p-form/index.ts"
|
|
24
|
+
}
|
|
17
25
|
},
|
|
18
26
|
"peerDependencies": {
|
|
19
27
|
"vue": "^3.0.0"
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
type __VLS_Props = {
|
|
2
|
-
content: string;
|
|
3
|
-
};
|
|
4
|
-
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
5
|
-
export default _default;
|