@her-activity-components/el-any
Advanced tools
+2
-2
@@ -1,2 +0,2 @@ | ||
| var _her_activity_components_el_any_0_1_7 = (function (exports) { | ||
| var _her_activity_components_el_any_0_1_10 = (function (exports) { | ||
| 'use strict'; | ||
@@ -71,3 +71,3 @@ | ||
| if ($Vue) { | ||
| $Vue.component("@her-activity-components/el-any@0.1.7", component); | ||
| $Vue.component("@her-activity-components/el-any@0.1.10", component); | ||
| } | ||
@@ -74,0 +74,0 @@ |
@@ -1,1 +0,1 @@ | ||
| var _her_activity_components_el_any_0_1_7=function(n){"use strict";var e,t=0,i=[],r={style:{height:"40px",lineHeight:"40px",textAlign:"center"}},s={props:{name:String,data:Object},data:function(){return{ready:2===t}},mounted:function(){var n,e=this;!this.ready&&(n=function(){return e.ready=!0},2===t?n():1===t?i.push(n):(t=1,i.push(n),$script(["https://cdn.jsdelivr.net/npm/fg-loadcss@2.0.1/dist/loadCSS.min.js","https://cdn.jsdelivr.net/npm/element-ui@2.4.8/lib/index.js"],function(){loadCSS("https://cdn.jsdelivr.net/npm/element-ui@2.4.8/lib/theme-chalk/index.css"),t=2,i.forEach(function(n){return n()}),i=[]})))},render:function(n){if(!this.ready)return n("div",r,[n("i",{class:"el-icon-loading"})]);var t=this.$slots,e=Object.keys(t).reduce(function(n,e){return n.concat(t[e])},[]);return n(this.name,Object.assign({},this.data),e)}};return"undefined"!=typeof window?e=window.Vue:"undefined"!=typeof global&&(e=global.Vue),e&&e.component("@her-activity-components/el-any@0.1.7",s),n.$=s,n}({}); | ||
| var _her_activity_components_el_any_0_1_10=function(n){"use strict";var e,t=0,i=[],r={style:{height:"40px",lineHeight:"40px",textAlign:"center"}},s={props:{name:String,data:Object},data:function(){return{ready:2===t}},mounted:function(){var n,e=this;!this.ready&&(n=function(){return e.ready=!0},2===t?n():1===t?i.push(n):(t=1,i.push(n),$script(["https://cdn.jsdelivr.net/npm/fg-loadcss@2.0.1/dist/loadCSS.min.js","https://cdn.jsdelivr.net/npm/element-ui@2.4.8/lib/index.js"],function(){loadCSS("https://cdn.jsdelivr.net/npm/element-ui@2.4.8/lib/theme-chalk/index.css"),t=2,i.forEach(function(n){return n()}),i=[]})))},render:function(n){if(!this.ready)return n("div",r,[n("i",{class:"el-icon-loading"})]);var t=this.$slots,e=Object.keys(t).reduce(function(n,e){return n.concat(t[e])},[]);return n(this.name,Object.assign({},this.data),e)}};return"undefined"!=typeof window?e=window.Vue:"undefined"!=typeof global&&(e=global.Vue),e&&e.component("@her-activity-components/el-any@0.1.10",s),n.$=s,n}({}); |
+2
-2
@@ -1,2 +0,2 @@ | ||
| var _her_activity_components_el_any_0_1_7 = (function (exports) { | ||
| var _her_activity_components_el_any_0_1_10 = (function (exports) { | ||
| 'use strict'; | ||
@@ -224,3 +224,3 @@ | ||
| if ($Vue) { | ||
| $Vue.component("@her-activity-components/el-any@0.1.7", component); | ||
| $Vue.component("@her-activity-components/el-any@0.1.10", component); | ||
| } | ||
@@ -227,0 +227,0 @@ |
@@ -1,1 +0,1 @@ | ||
| var _her_activity_components_el_any_0_1_7=function(e){"use strict";var a=window.ELEMENT,t=Object.keys(a).reduce(function(e,t){var n=a[t];return n.name&&"install"!==t&&e.push({label:t,name:n.name}),e},[]),n={props:{name:String,data:Object},data:function(){var r,o=this;return{model:{name:this.name,data:this.data},rules:{name:[{required:!0,message:"\u8bf7\u9009\u62e9\u7ec4\u4ef6"}],data:[{validator:(r="data",function(e,t,n){var a=o.$refs[r];a&&!a.valid?n(new Error("\u8bf7\u68c0\u67e5\u914d\u7f6e\u683c\u5f0f")):n()}),trigger:"blur"}]},components:t}},methods:{onSubmit:function(){var t=this;this.$refs.form.validate(function(e){if(!e)return!1;t.$emit("save",{props:t.model})})},onCancel:function(){this.$refs.form.resetFields()}}};var r,o,l,i,s,d,m=(l=void 0,i=!(r={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("el-form",{ref:"form",attrs:{model:t.model,rules:t.rules,"label-width":"120px"}},[n("el-form-item",{attrs:{label:"Element \u7ec4\u4ef6\u540d",prop:"name"}},[n("el-select",{attrs:{filterable:"",placeholder:"\u8bf7\u9009\u62e9"},model:{value:t.model.name,callback:function(e){t.$set(t.model,"name",e)},expression:"model.name"}},t._l(t.components,function(e){return n("el-option",{key:e.name,attrs:{label:e.label,value:e.name}})}))],1),t._v(" "),n("el-form-item",{attrs:{label:"\u7ec4\u4ef6\u914d\u7f6e",prop:"data"}},[n("json-input",{ref:"data",model:{value:t.model.data,callback:function(e){t.$set(t.model,"data",e)},expression:"model.data"}})],1),t._v(" "),n("el-form-item",[n("el-button",{attrs:{type:"primary"},on:{click:t.onSubmit}},[t._v("\u4fdd\u5b58")]),t._v(" "),n("el-button",{on:{click:t.onCancel}},[t._v("\u53d6\u6d88")])],1)],1)},staticRenderFns:[]}),(s=("function"==typeof(o=n)?o.options:o)||{}).__file="provider.vue",s.render||(s.render=r.render,s.staticRenderFns=r.staticRenderFns,s._compiled=!0,i&&(s.functional=!0)),s._scopeId=l,s);return"undefined"!=typeof window?d=window.Vue:"undefined"!=typeof global&&(d=global.Vue),d&&d.component("@her-activity-components/el-any@0.1.7",m),e.$=m,e}({}); | ||
| var _her_activity_components_el_any_0_1_10=function(e){"use strict";var a=window.ELEMENT,t=Object.keys(a).reduce(function(e,t){var n=a[t];return n.name&&"install"!==t&&e.push({label:t,name:n.name}),e},[]),n={props:{name:String,data:Object},data:function(){var r,o=this;return{model:{name:this.name,data:this.data},rules:{name:[{required:!0,message:"\u8bf7\u9009\u62e9\u7ec4\u4ef6"}],data:[{validator:(r="data",function(e,t,n){var a=o.$refs[r];a&&!a.valid?n(new Error("\u8bf7\u68c0\u67e5\u914d\u7f6e\u683c\u5f0f")):n()}),trigger:"blur"}]},components:t}},methods:{onSubmit:function(){var t=this;this.$refs.form.validate(function(e){if(!e)return!1;t.$emit("save",{props:t.model})})},onCancel:function(){this.$refs.form.resetFields()}}};var r,o,l,i,s,d,m=(l=void 0,i=!(r={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("el-form",{ref:"form",attrs:{model:t.model,rules:t.rules,"label-width":"120px"}},[n("el-form-item",{attrs:{label:"Element \u7ec4\u4ef6\u540d",prop:"name"}},[n("el-select",{attrs:{filterable:"",placeholder:"\u8bf7\u9009\u62e9"},model:{value:t.model.name,callback:function(e){t.$set(t.model,"name",e)},expression:"model.name"}},t._l(t.components,function(e){return n("el-option",{key:e.name,attrs:{label:e.label,value:e.name}})}))],1),t._v(" "),n("el-form-item",{attrs:{label:"\u7ec4\u4ef6\u914d\u7f6e",prop:"data"}},[n("json-input",{ref:"data",model:{value:t.model.data,callback:function(e){t.$set(t.model,"data",e)},expression:"model.data"}})],1),t._v(" "),n("el-form-item",[n("el-button",{attrs:{type:"primary"},on:{click:t.onSubmit}},[t._v("\u4fdd\u5b58")]),t._v(" "),n("el-button",{on:{click:t.onCancel}},[t._v("\u53d6\u6d88")])],1)],1)},staticRenderFns:[]}),(s=("function"==typeof(o=n)?o.options:o)||{}).__file="provider.vue",s.render||(s.render=r.render,s.staticRenderFns=r.staticRenderFns,s._compiled=!0,i&&(s.functional=!0)),s._scopeId=l,s);return"undefined"!=typeof window?d=window.Vue:"undefined"!=typeof global&&(d=global.Vue),d&&d.component("@her-activity-components/el-any@0.1.10",m),e.$=m,e}({}); |
+2
-2
| { | ||
| "name": "@her-activity-components/el-any", | ||
| "version": "0.1.8", | ||
| "version": "0.1.10", | ||
| "publishConfig": { | ||
@@ -10,3 +10,3 @@ "access": "public" | ||
| ], | ||
| "gitHead": "9298ca434bf119ef47c17f9f2c599545b5ed1827" | ||
| "gitHead": "14108bb08de0352bca03ffc0d071e16addecc371" | ||
| } |
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
10583
0.09%