@her-activity-components/el-any
Advanced tools
+10
-8
@@ -1,2 +0,2 @@ | ||
| var _her_activity_components_el_any_0_2_0 = (function (exports) { | ||
| var _her_activity_components_el_any_0_3_0 = (function (exports) { | ||
| 'use strict'; | ||
@@ -33,8 +33,10 @@ | ||
| return createElement('div', loadingWrapperData, [ | ||
| createElement('i', { 'class': 'el-icon-loading' }) | ||
| ]) | ||
| createElement('i', { class: 'el-icon-loading' }) ]) | ||
| } | ||
| var slots = this.$slots; | ||
| var children = Object.keys(slots).reduce(function (arr, key) { return arr.concat(slots[key]); }, []); | ||
| var scopedSlots = this.$scopedSlots; | ||
| var children = Object.keys(scopedSlots).reduce(function (arr, key) { | ||
| arr.push(scopedSlots[key]({})); | ||
| return arr | ||
| }, []); | ||
@@ -53,6 +55,6 @@ return createElement(this.name, Object.assign({}, this.data), children) | ||
| callbacks.push(callback); | ||
| $script([ | ||
| window.$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'); | ||
| window.loadCSS('https://cdn.jsdelivr.net/npm/element-ui@2.4.8/lib/theme-chalk/index.css'); | ||
| status = 2; | ||
@@ -73,3 +75,3 @@ callbacks.forEach(function (_) { return _(); }); | ||
| if ($Vue) { | ||
| $Vue.component("@her-activity-components/el-any@0.2.0", component); | ||
| $Vue.component("@her-activity-components/el-any@0.3.0", component); | ||
| } | ||
@@ -76,0 +78,0 @@ |
@@ -1,1 +0,1 @@ | ||
| var _her_activity_components_el_any_0_2_0=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.2.0",s),n.$=s,n}({}); | ||
| var _her_activity_components_el_any_0_3_0=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),window.$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(){window.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.$scopedSlots,e=Object.keys(t).reduce(function(n,e){return n.push(t[e]({})),n},[]);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.3.0",s),n.$=s,n}({}); |
+84
-29
@@ -1,2 +0,2 @@ | ||
| var _her_activity_components_el_any_0_2_0 = (function (exports) { | ||
| var _her_activity_components_el_any_0_3_0 = (function (exports) { | ||
| 'use strict'; | ||
@@ -88,5 +88,82 @@ | ||
| function normalizeComponent(compiledTemplate, injectStyle, defaultExport, scopeId, isFunctionalTemplate, moduleIdentifier /* server only */, isShadowMode, createInjector, createInjectorSSR, createInjectorShadow) { | ||
| if (typeof isShadowMode === 'function') { | ||
| createInjectorSSR = createInjector; | ||
| createInjector = isShadowMode; | ||
| isShadowMode = false; | ||
| } | ||
| // Vue.extend constructor export interop | ||
| var options = typeof defaultExport === 'function' ? defaultExport.options : defaultExport; | ||
| // render functions | ||
| if (compiledTemplate && compiledTemplate.render) { | ||
| options.render = compiledTemplate.render; | ||
| options.staticRenderFns = compiledTemplate.staticRenderFns; | ||
| options._compiled = true; | ||
| // functional template | ||
| if (isFunctionalTemplate) { | ||
| options.functional = true; | ||
| } | ||
| } | ||
| // scopedId | ||
| if (scopeId) { | ||
| options._scopeId = scopeId; | ||
| } | ||
| var hook; | ||
| if (moduleIdentifier) { | ||
| // server build | ||
| hook = function (context) { | ||
| // 2.3 injection | ||
| context = | ||
| context || // cached call | ||
| (this.$vnode && this.$vnode.ssrContext) || // stateful | ||
| (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext); // functional | ||
| // 2.2 with runInNewContext: true | ||
| if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') { | ||
| context = __VUE_SSR_CONTEXT__; | ||
| } | ||
| // inject component styles | ||
| if (injectStyle) { | ||
| injectStyle.call(this, createInjectorSSR(context)); | ||
| } | ||
| // register component module identifier for async chunk inference | ||
| if (context && context._registeredComponents) { | ||
| context._registeredComponents.add(moduleIdentifier); | ||
| } | ||
| }; | ||
| // used by ssr in case component is cached and beforeCreate | ||
| // never gets called | ||
| options._ssrRegister = hook; | ||
| } | ||
| else if (injectStyle) { | ||
| hook = isShadowMode | ||
| ? function () { | ||
| injectStyle.call(this, createInjectorShadow(this.$root.$options.shadowRoot)); | ||
| } | ||
| : function (context) { | ||
| injectStyle.call(this, createInjector(context)); | ||
| }; | ||
| } | ||
| if (hook) { | ||
| if (options.functional) { | ||
| // register for functional component in vue file | ||
| var originalRender = options.render; | ||
| options.render = function renderWithStyleInjection(h, context) { | ||
| hook.call(context); | ||
| return originalRender(h, context); | ||
| }; | ||
| } | ||
| else { | ||
| // inject component registration as beforeCreate hook | ||
| var existing = options.beforeCreate; | ||
| options.beforeCreate = existing ? [].concat(existing, hook) : [hook]; | ||
| } | ||
| } | ||
| return defaultExport; | ||
| } | ||
| /* script */ | ||
| var __vue_script__ = script; | ||
| var __vue_script__ = script; | ||
| // For security concerns, we use only base name in production mode. See https://github.com/vuejs/rollup-plugin-vue/issues/258 | ||
| script.__file = "/Users/zhangchengrong/Projects/readx/her-activity/components/el-any/src/provider.vue"; | ||
| /* template */ | ||
@@ -125,3 +202,4 @@ var __vue_render__ = function() { | ||
| }) | ||
| }) | ||
| }), | ||
| 1 | ||
| ) | ||
@@ -177,25 +255,2 @@ ], | ||
| var __vue_is_functional_template__ = false; | ||
| /* component normalizer */ | ||
| function __vue_normalize__( | ||
| template, style, script$$1, | ||
| scope, functional, moduleIdentifier, | ||
| createInjector, createInjectorSSR | ||
| ) { | ||
| var component = (typeof script$$1 === 'function' ? script$$1.options : script$$1) || {}; | ||
| // For security concerns, we use only base name in production mode. | ||
| component.__file = "/Users/zhangchengrong/Projects/readx/her-activity/components/el-any/src/provider.vue"; | ||
| if (!component.render) { | ||
| component.render = template.render; | ||
| component.staticRenderFns = template.staticRenderFns; | ||
| component._compiled = true; | ||
| if (functional) { component.functional = true; } | ||
| } | ||
| component._scopeId = scope; | ||
| return component | ||
| } | ||
| /* style inject */ | ||
@@ -207,3 +262,3 @@ | ||
| var component = __vue_normalize__( | ||
| var component = normalizeComponent( | ||
| { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ }, | ||
@@ -227,3 +282,3 @@ __vue_inject_styles__, | ||
| if ($Vue) { | ||
| $Vue.component("@her-activity-components/el-any@0.2.0", component); | ||
| $Vue.component("@her-activity-components/el-any@0.3.0", component); | ||
| } | ||
@@ -230,0 +285,0 @@ |
@@ -1,1 +0,1 @@ | ||
| var _her_activity_components_el_any_0_2_0=function(e){"use strict";var o,r,a,l,i,t=window.ELEMENT,n=Object.keys(t).filter(function(e){return"install"!==e&&t[e].name}).map(function(e){return{label:e,name:t[e].name}}),s={mixins:[(o={name:{type:String,rule:[{required:!0,message:"\u8bf7\u9009\u62e9\u7ec4\u4ef6"}]},data:{type:Object,rule:[{type:"object",message:"\u8bf7\u68c0\u67e5\u914d\u7f6e\u683c\u5f0f",trigger:"blur"}]}},r=Object.keys(o),a={},l={},i={},r.forEach(function(t){var e=o[t],n=e.rule,r=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&-1===t.indexOf(r)&&(n[r]=e[r]);return n}(e,["rule"]);a[t]=r,l[t]=n,i[t]=function(e){this.model[t]=e}}),{props:a,data:function(){var t=this,n={};return r.forEach(function(e){n[e]=t[e]}),{model:n,rules:l}},watch:i,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()}}})],data:function(){return{components:n}}};var c,m,u,d,f,p,v=(u=void 0,d=!(c={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",{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:[]}),(f=("function"==typeof(m=s)?m.options:m)||{}).__file="provider.vue",f.render||(f.render=c.render,f.staticRenderFns=c.staticRenderFns,f._compiled=!0,d&&(f.functional=!0)),f._scopeId=u,f);return"undefined"!=typeof window?p=window.Vue:"undefined"!=typeof global&&(p=global.Vue),p&&p.component("@her-activity-components/el-any@0.2.0",v),e.$=v,e}({}); | ||
| var _her_activity_components_el_any_0_3_0=function(e){"use strict";var r,o,a,i,l,t=window.ELEMENT,n=Object.keys(t).filter(function(e){return"install"!==e&&t[e].name}).map(function(e){return{label:e,name:t[e].name}}),s={mixins:[(r={name:{type:String,rule:[{required:!0,message:"\u8bf7\u9009\u62e9\u7ec4\u4ef6"}]},data:{type:Object,rule:[{type:"object",message:"\u8bf7\u68c0\u67e5\u914d\u7f6e\u683c\u5f0f",trigger:"blur"}]}},o=Object.keys(r),a={},i={},l={},o.forEach(function(t){var e=r[t],n=e.rule,o=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&-1===t.indexOf(o)&&(n[o]=e[o]);return n}(e,["rule"]);a[t]=o,i[t]=n,l[t]=function(e){this.model[t]=e}}),{props:a,data:function(){var t=this,n={};return o.forEach(function(e){n[e]=t[e]}),{model:n,rules:i}},watch:l,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()}}})],data:function(){return{components:n}}};var c,d=s,u=(s.__file="provider.vue",function(e,t,n,o,r,a,i,l,s,c){"function"==typeof i&&(s=l,l=i,i=!1);var d,u="function"==typeof n?n.options:n;if(e&&e.render&&(u.render=e.render,u.staticRenderFns=e.staticRenderFns,u._compiled=!0,r&&(u.functional=!0)),o&&(u._scopeId=o),a?(d=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),t&&t.call(this,s(e)),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=d):t&&(d=i?function(){t.call(this,c(this.$root.$options.shadowRoot))}:function(e){t.call(this,l(e))}),d)if(u.functional){var f=u.render;u.render=function(e,t){return d.call(t),f(e,t)}}else{var m=u.beforeCreate;u.beforeCreate=m?[].concat(m,d):[d]}return n}({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)],1),t._v(" "),n("el-form-item",{attrs:{label:"\u7ec4\u4ef6\u914d\u7f6e",prop:"data"}},[n("json-input",{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:[]},void 0,d,void 0,!1,void 0,void 0,void 0));return"undefined"!=typeof window?c=window.Vue:"undefined"!=typeof global&&(c=global.Vue),c&&c.component("@her-activity-components/el-any@0.3.0",u),e.$=u,e}({}); |
+2
-2
| { | ||
| "name": "@her-activity-components/el-any", | ||
| "version": "0.2.0", | ||
| "version": "0.3.0", | ||
| "publishConfig": { | ||
@@ -10,3 +10,3 @@ "access": "public" | ||
| ], | ||
| "gitHead": "0293cbfe650e0d8cc5c436a316f5fdf1a1ab445c" | ||
| "gitHead": "d934702ad85136ef8b7792ca1309df0b261ec9b5" | ||
| } |
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
14630
28.68%329
22.76%