3h1-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/es/_virtual/_plugin-vue_export-helper.js +10 -0
- package/es/button/button.js +10 -0
- package/es/button/index.js +11 -0
- package/es/components/index.d.ts +2 -0
- package/es/components/lib/components/index.d.ts +2 -0
- package/es/components/lib/components/src/button/button.vue.d.ts +2 -0
- package/es/components/lib/components/src/button/index.d.ts +4 -0
- package/es/components/src/button/button.vue.d.ts +2 -0
- package/es/components/src/button/index.d.ts +4 -0
- package/es/index.js +4 -0
- package/lib/_virtual/_plugin-vue_export-helper.js +9 -0
- package/lib/button/button.js +9 -0
- package/lib/button/index.js +11 -0
- package/lib/components/index.d.ts +2 -0
- package/lib/components/lib/components/index.d.ts +2 -0
- package/lib/components/lib/components/src/button/button.vue.d.ts +2 -0
- package/lib/components/lib/components/src/button/index.d.ts +4 -0
- package/lib/components/src/button/button.vue.d.ts +2 -0
- package/lib/components/src/button/index.d.ts +4 -0
- package/lib/index.js +4 -0
- package/package.json +23 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { openBlock, createElementBlock } from "vue";
|
|
2
|
+
import _export_sfc from "../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
const _sfc_main = {};
|
|
4
|
+
function _sfc_render(_ctx, _cache) {
|
|
5
|
+
return openBlock(), createElementBlock("button", null, "\u6D4B\u8BD5\u6309\u94AE");
|
|
6
|
+
}
|
|
7
|
+
const button = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
8
|
+
export {
|
|
9
|
+
button as default
|
|
10
|
+
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { Plugin } from "vue";
|
|
2
|
+
declare type SFCWithInstall<T> = T & Plugin;
|
|
3
|
+
declare const Button: SFCWithInstall<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
|
|
4
|
+
export { Button };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { Plugin } from "vue";
|
|
2
|
+
declare type SFCWithInstall<T> = T & Plugin;
|
|
3
|
+
declare const Button: SFCWithInstall<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
|
|
4
|
+
export { Button };
|
package/es/index.js
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const vue = require("vue");
|
|
3
|
+
const _pluginVue_exportHelper = require("../_virtual/_plugin-vue_export-helper.js");
|
|
4
|
+
const _sfc_main = {};
|
|
5
|
+
function _sfc_render(_ctx, _cache) {
|
|
6
|
+
return vue.openBlock(), vue.createElementBlock("button", null, "\u6D4B\u8BD5\u6309\u94AE");
|
|
7
|
+
}
|
|
8
|
+
const button = /* @__PURE__ */ _pluginVue_exportHelper(_sfc_main, [["render", _sfc_render]]);
|
|
9
|
+
module.exports = button;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const button = require("./button.js");
|
|
4
|
+
const withInstall = (comp) => {
|
|
5
|
+
comp.install = (app) => {
|
|
6
|
+
app.component(comp.name, comp);
|
|
7
|
+
};
|
|
8
|
+
return comp;
|
|
9
|
+
};
|
|
10
|
+
const Button = withInstall(button);
|
|
11
|
+
exports.Button = Button;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { Plugin } from "vue";
|
|
2
|
+
declare type SFCWithInstall<T> = T & Plugin;
|
|
3
|
+
declare const Button: SFCWithInstall<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
|
|
4
|
+
export { Button };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { Plugin } from "vue";
|
|
2
|
+
declare type SFCWithInstall<T> = T & Plugin;
|
|
3
|
+
declare const Button: SFCWithInstall<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
|
|
4
|
+
export { Button };
|
package/lib/index.js
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "3h1-ui",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "",
|
|
5
|
+
"main": "lib/index.js",
|
|
6
|
+
"module": "es/index.js",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"test": "echo \"Error: no test specified\" && exit 1",
|
|
9
|
+
"build": "vite build"
|
|
10
|
+
},
|
|
11
|
+
"files": [
|
|
12
|
+
"es",
|
|
13
|
+
"lib"
|
|
14
|
+
],
|
|
15
|
+
"keywords": [
|
|
16
|
+
"shy-ui"
|
|
17
|
+
],
|
|
18
|
+
"author": "",
|
|
19
|
+
"license": "MIT",
|
|
20
|
+
"dependencies": {
|
|
21
|
+
"@shy-ui/utils": "workspace:^1.0.0"
|
|
22
|
+
}
|
|
23
|
+
}
|