sun-form-v3 1.0.5 → 1.0.6

Sign up to get free protection for your applications and to get access to all the features.
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- button[data-v-3f4e4944]{border:1px solid red}
1
+ *,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.block{display:block}.flex{display:flex}.w-full{width:100%}.flex-wrap{flex-wrap:wrap}button{border:2px solid red!important}
@@ -1,41 +1,49 @@
1
- import { openBlock as s, createElementBlock as c } from "vue";
2
- const p = (t, e) => {
3
- const n = t.__vccOpts || t;
4
- for (const [o, r] of e)
5
- n[o] = r;
6
- return n;
7
- }, u = /* @__PURE__ */ Object.assign({ name: "syButton" }, {
8
- __name: "syButton",
9
- setup(t) {
10
- return (e, n) => (s(), c("button", null, "你好你好孙岩"));
1
+ import { resolveComponent as l, openBlock as s, createBlock as c, withCtx as p, createTextVNode as r } from "vue";
2
+ const u = /* @__PURE__ */ Object.assign({ name: "syButton" }, {
3
+ __name: "index",
4
+ setup(n) {
5
+ return (e, t) => {
6
+ const o = l("el-button");
7
+ return s(), c(o, { type: "primary" }, {
8
+ default: p(() => [
9
+ r("你好")
10
+ ]),
11
+ _: 1
12
+ });
13
+ };
11
14
  }
12
- }), a = /* @__PURE__ */ p(u, [["__scopeId", "data-v-3f4e4944"]]), l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
15
+ }), i = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
13
16
  __proto__: null,
14
- default: a
15
- }, Symbol.toStringTag, { value: "Module" })), m = {
16
- type: "text",
17
- placeholder: "请输入内容"
18
- }, i = /* @__PURE__ */ Object.assign({ name: "syInput" }, {
19
- __name: "syInput",
20
- setup(t) {
21
- return (e, n) => (s(), c("input", m));
17
+ default: u
18
+ }, Symbol.toStringTag, { value: "Module" })), m = /* @__PURE__ */ Object.assign({ name: "syInput" }, {
19
+ __name: "index",
20
+ setup(n) {
21
+ return (e, t) => {
22
+ const o = l("el-input");
23
+ return s(), c(o, {
24
+ modelValue: e.input,
25
+ "onUpdate:modelValue": t[0] || (t[0] = (a) => e.input = a),
26
+ style: { width: "240px" },
27
+ placeholder: "Please input"
28
+ }, null, 8, ["modelValue"]);
29
+ };
22
30
  }
23
- }), f = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
31
+ }), d = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
24
32
  __proto__: null,
25
- default: i
26
- }, Symbol.toStringTag, { value: "Module" })), b = /* @__PURE__ */ Object.assign({ "./components/syButton/syButton.vue": l, "./components/syInput/syInput.vue": f }), _ = Object.fromEntries(
27
- Object.entries(b).map(([t, e]) => {
28
- var o;
29
- return [(o = t.split("/").pop()) == null ? void 0 : o.split(".")[0], e.default];
30
- })
31
- ), y = (t) => {
32
- Object.entries(_).forEach(([e, n]) => {
33
- t.component(e, n);
33
+ default: m
34
+ }, Symbol.toStringTag, { value: "Module" })), b = /* @__PURE__ */ Object.assign({
35
+ "./components/syButton/index.vue": i,
36
+ "./components/syInput/index.vue": d
37
+ }), _ = Object.fromEntries(
38
+ Object.entries(b).map(([n, e]) => [e.default.name, e.default])
39
+ ), f = (n) => {
40
+ Object.entries(_).forEach(([e, t]) => {
41
+ n.component(e, t);
34
42
  });
35
- }, O = {
36
- install: y,
43
+ }, j = {
44
+ install: f,
37
45
  ..._
38
46
  };
39
47
  export {
40
- O as default
48
+ j as default
41
49
  };
@@ -1 +1 @@
1
- (function(e,s){typeof exports=="object"&&typeof module<"u"?module.exports=s(require("vue")):typeof define=="function"&&define.amd?define(["vue"],s):(e=typeof globalThis<"u"?globalThis:e||self,e["sun-form-v3"]=s(e.Vue))})(this,function(e){"use strict";const u=Object.freeze(Object.defineProperty({__proto__:null,default:((t,n)=>{const o=t.__vccOpts||t;for(const[c,p]of n)o[c]=p;return o})(Object.assign({name:"syButton"},{__name:"syButton",setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("button",null,"你好你好孙岩"))}}),[["__scopeId","data-v-3f4e4944"]])},Symbol.toStringTag,{value:"Module"})),r={type:"text",placeholder:"请输入内容"},_=Object.fromEntries(Object.entries(Object.assign({"./components/syButton/syButton.vue":u,"./components/syInput/syInput.vue":Object.freeze(Object.defineProperty({__proto__:null,default:Object.assign({name:"syInput"},{__name:"syInput",setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("input",r))}})},Symbol.toStringTag,{value:"Module"}))})).map(([t,n])=>{var c;return[(c=t.split("/").pop())==null?void 0:c.split(".")[0],n.default]}));return{install:t=>{Object.entries(_).forEach(([n,o])=>{t.component(n,o)})},..._}});
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["sun-form-v3"]=o(e.Vue))})(this,function(e){"use strict";const i=Object.fromEntries(Object.entries(Object.assign({"./components/syButton/index.vue":Object.freeze(Object.defineProperty({__proto__:null,default:Object.assign({name:"syButton"},{__name:"index",setup(s){return(t,n)=>{const _=e.resolveComponent("el-button");return e.openBlock(),e.createBlock(_,{type:"primary"},{default:e.withCtx(()=>[e.createTextVNode("你好")]),_:1})}}})},Symbol.toStringTag,{value:"Module"})),"./components/syInput/index.vue":Object.freeze(Object.defineProperty({__proto__:null,default:Object.assign({name:"syInput"},{__name:"index",setup(s){return(t,n)=>{const _=e.resolveComponent("el-input");return e.openBlock(),e.createBlock(_,{modelValue:t.input,"onUpdate:modelValue":n[0]||(n[0]=l=>t.input=l),style:{width:"240px"},placeholder:"Please input"},null,8,["modelValue"])}}})},Symbol.toStringTag,{value:"Module"}))})).map(([s,t])=>[t.default.name,t.default]));return{install:s=>{Object.entries(i).forEach(([t,n])=>{s.component(t,n)})},...i}});
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "sun-form-v3",
3
3
  "private": false,
4
- "version": "1.0.5",
4
+ "version": "1.0.6",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"
@@ -21,13 +21,15 @@
21
21
  "preview": "vite preview"
22
22
  },
23
23
  "dependencies": {
24
- "element-plus": "^2.7.0",
25
- "vue": "^3.4.21",
26
- "vue-router": "^4.3.0"
24
+ "autoprefixer": "^10.4.19",
25
+ "postcss": "^8.4.38",
26
+ "sass": "^1.77.2",
27
+ "tailwindcss": "^3.4.3",
28
+ "vue": "^3.4.21"
27
29
  },
28
30
  "devDependencies": {
29
31
  "@vitejs/plugin-vue": "^5.0.4",
30
- "sass": "^1.77.2",
32
+ "element-plus": "^2.7.3",
31
33
  "vite": "^5.2.8"
32
34
  }
33
35
  }