🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@her-activity-components/el-any

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@her-activity-components/el-any - npm Package Compare versions

Comparing version
0.1.11
to
0.1.12
+2
-2
dist/consumer.js

@@ -1,2 +0,2 @@

var _her_activity_components_el_any_0_1_11 = (function (exports) {
var _her_activity_components_el_any_0_1_12 = (function (exports) {
'use strict';

@@ -71,3 +71,3 @@

if ($Vue) {
$Vue.component("@her-activity-components/el-any@0.1.11", component);
$Vue.component("@her-activity-components/el-any@0.1.12", component);
}

@@ -74,0 +74,0 @@

@@ -1,1 +0,1 @@

var _her_activity_components_el_any_0_1_11=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.11",s),n.$=s,n}({});
var _her_activity_components_el_any_0_1_12=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.12",s),n.$=s,n}({});

@@ -1,2 +0,2 @@

var _her_activity_components_el_any_0_1_11 = (function (exports) {
var _her_activity_components_el_any_0_1_12 = (function (exports) {
'use strict';

@@ -224,3 +224,3 @@

if ($Vue) {
$Vue.component("@her-activity-components/el-any@0.1.11", component);
$Vue.component("@her-activity-components/el-any@0.1.12", component);
}

@@ -227,0 +227,0 @@

@@ -1,1 +0,1 @@

var _her_activity_components_el_any_0_1_11=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.11",m),e.$=m,e}({});
var _her_activity_components_el_any_0_1_12=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.12",m),e.$=m,e}({});
{
"name": "@her-activity-components/el-any",
"version": "0.1.11",
"version": "0.1.12",
"publishConfig": {

@@ -10,3 +10,3 @@ "access": "public"

],
"gitHead": "52f1e4163e67892466b6f3f9c2e7e8e388ab33ef"
"gitHead": "8d37b8ba50c2f58712faa7b901eb5a7b33d5d242"
}