sea-crm-components 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/README.md ADDED
@@ -0,0 +1,3 @@
1
+ # sea-crm-components-library
2
+
3
+ 敬请期待.
Binary file
@@ -0,0 +1,18 @@
1
+ import { createElementBlock as e, openBlock as t, renderSlot as n } from "vue";
2
+ //#region \0plugin-vue:export-helper
3
+ var r = (e, t) => {
4
+ let n = e.__vccOpts || e;
5
+ for (let [e, r] of t) n[e] = r;
6
+ return n;
7
+ }, i = {};
8
+ function a(r, i) {
9
+ return t(), e("button", {
10
+ class: "my-btn",
11
+ onClick: i[0] ||= (e) => r.$emit("click")
12
+ }, [n(r.$slots, "default", {}, void 0, !0)]);
13
+ }
14
+ var o = /* @__PURE__ */ r(i, [["render", a], ["__scopeId", "data-v-78fcbd60"]]), s = { install(e) {
15
+ e.component("SelectGives", o);
16
+ } };
17
+ //#endregion
18
+ export { o as SelectGives, s as default };
@@ -0,0 +1 @@
1
+ (function(e,t){typeof exports==`object`&&typeof module<`u`?t(exports,require(`vue`)):typeof define==`function`&&define.amd?define([`exports`,`vue`],t):(e=typeof globalThis<`u`?globalThis:e||self,t(e.SeaCrmComponentsLib={},e.Vue))})(this,function(e,t){Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});var n=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n},r={};function i(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`button`,{class:`my-btn`,onClick:n[0]||=t=>e.$emit(`click`)},[(0,t.renderSlot)(e.$slots,`default`,{},void 0,!0)])}var a=n(r,[[`render`,i],[`__scopeId`,`data-v-78fcbd60`]]);e.SelectGives=a,e.default={install(e){e.component(`SelectGives`,a)}}});
@@ -0,0 +1,2 @@
1
+ .my-btn[data-v-78fcbd60]{color:#fff;cursor:pointer;background:#42b983;border:none;border-radius:4px;padding:6px 12px}
2
+ /*$vite$:1*/
package/package.json ADDED
@@ -0,0 +1,25 @@
1
+ {
2
+ "name": "sea-crm-components",
3
+ "version": "1.0.0",
4
+ "type": "module",
5
+ "files": [
6
+ "dist"
7
+ ],
8
+ "main": "./dist/sea-crm-components-lib.umd.js",
9
+ "module": "./dist/sea-crm-components-lib.es.js",
10
+ "exports": {
11
+ ".": {
12
+ "import": "./dist/sea-crm-components-lib.es.js",
13
+ "require": "./dist/sea-crm-components-lib.umd.js"
14
+ }
15
+ },
16
+ "scripts": {
17
+ "build": "vite build"
18
+ },
19
+ "author": "Zhang <zstcz@126.com>",
20
+ "license": "MIT",
21
+ "devDependencies": {
22
+ "@vitejs/plugin-vue": "^6.0.5",
23
+ "vite": "^8.0.3"
24
+ }
25
+ }