Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@form-create/component-elm-select

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@form-create/component-elm-select - npm Package Compare versions

Comparing version 2.5.31 to 2.5.32

4

dist/index.js
/*!
* @form-create/component-elm-select v2.5.31
* @form-create/component-elm-select v2.5.32
* (c) 2018-2023 xaboy

@@ -7,3 +7,3 @@ * Github https://github.com/xaboy/form-create with @form-create/component-elm-select

*/
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t=t||self).FcSelect=e()}(this,function(){"use strict";function t(){return(t=Object.assign||function(t){for(var e,n=1;n<arguments.length;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)}var e=["attrs","props","domProps"],n=["class","style","directives"],r=["on","nativeOn"],o=function(t,e){return function(){t&&t.apply(this,arguments),e&&e.apply(this,arguments)}},i=function(i){return i.reduce(function(i,c){for(var f in c)if(i[f])if(-1!==e.indexOf(f))i[f]=t({},i[f],c[f]);else if(-1!==n.indexOf(f)){var u=i[f]instanceof Array?i[f]:[i[f]],a=c[f]instanceof Array?c[f]:[c[f]];i[f]=u.concat(a)}else if(-1!==r.indexOf(f))for(var l in c[f])if(i[f][l]){var y=i[f][l]instanceof Array?i[f][l]:[i[f][l]],s=c[f][l]instanceof Array?c[f][l]:[c[f][l]];i[f][l]=y.concat(s)}else i[f][l]=c[f][l];else if("hook"==f)for(var p in c[f])i[f][p]=i[f][p]?o(i[f][p],c[f][p]):c[f][p];else i[f]=c[f];else i[f]=c[f];return i},{})};function c(t){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var f={type:function(t,e){return Object.prototype.toString.call(t)==="[object "+e+"]"},Undef:function(t){return null==t},Element:function(t){return"object"===c(t)&&null!==t&&1===t.nodeType&&!f.Object(t)},trueArray:function(t){return Array.isArray(t)&&t.length>0},Function:function(t){var e=this.getType(t);return"Function"===e||"AsyncFunction"===e},getType:function(t){var e=Object.prototype.toString.call(t);return/^\[object (.*)\]$/.exec(e)[1]},empty:function(t){return null==t||(!(!Array.isArray(t)||!Array.isArray(t)||t.length)||"string"==typeof t&&!t)}};["Date","Object","String","Boolean","Array","Number"].forEach(function(t){f[t]=function(e){return f.type(e,t)}});return{name:"fcSelect",functional:!0,props:{formCreateInject:{type:Object,required:!0}},render:function(t,e){var n=e.props.formCreateInject.options;return t("ElSelect",i([{},e.data]),[(Array.isArray(n)?n:[]).map(function(e,n){var r=e.slot;return t("ElOption",i([{},{props:e},{key:n+"-"+e.value}]),[r?t("template",{slot:e.slotName||"default"},[f.Function(r)?e.slot(t):r]):null])}),e.children])}}});
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t=t||self).FcSelect=e()}(this,function(){"use strict";function t(){return(t=Object.assign||function(t){for(var e,n=1;n<arguments.length;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)}var e=["attrs","props","domProps"],n=["class","style","directives"],r=["on","nativeOn"],o=function(t,e){return function(){t&&t.apply(this,arguments),e&&e.apply(this,arguments)}},i=function(i){return i.reduce(function(i,c){for(var f in c)if(i[f])if(-1!==e.indexOf(f))i[f]=t({},i[f],c[f]);else if(-1!==n.indexOf(f)){var u=i[f]instanceof Array?i[f]:[i[f]],a=c[f]instanceof Array?c[f]:[c[f]];i[f]=u.concat(a)}else if(-1!==r.indexOf(f))for(var l in c[f])if(i[f][l]){var s=i[f][l]instanceof Array?i[f][l]:[i[f][l]],y=c[f][l]instanceof Array?c[f][l]:[c[f][l]];i[f][l]=s.concat(y)}else i[f][l]=c[f][l];else if("hook"==f)for(var p in c[f])i[f][p]=i[f][p]?o(i[f][p],c[f][p]):c[f][p];else i[f]=c[f];else i[f]=c[f];return i},{})};function c(t){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var f={type:function(t,e){return Object.prototype.toString.call(t)==="[object "+e+"]"},Undef:function(t){return null==t},Element:function(t){return"object"===c(t)&&null!==t&&1===t.nodeType&&!f.Object(t)},trueArray:function(t){return Array.isArray(t)&&t.length>0},Function:function(t){var e=this.getType(t);return"Function"===e||"AsyncFunction"===e},getType:function(t){var e=Object.prototype.toString.call(t);return/^\[object (.*)\]$/.exec(e)[1]},empty:function(t){return null==t||(!(!Array.isArray(t)||!Array.isArray(t)||t.length)||"string"==typeof t&&!t)}};["Date","Object","String","Boolean","Array","Number"].forEach(function(t){f[t]=function(e){return f.type(e,t)}});return{name:"fcSelect",functional:!0,props:{formCreateInject:{type:Object,required:!0}},render:function(t,e){var n=e.props.formCreateInject.options;return t("ElSelect",i([{},e.data,{ref:"el"}]),[(Array.isArray(n)?n:[]).map(function(e,n){var r=e.slot;return t("ElOption",i([{},{props:e},{key:n+"-"+e.value}]),[r?t("template",{slot:e.slotName||"default"},[f.Function(r)?e.slot(t):r]):null])}),e.children])},mounted:function(){this.$emit("fc.el",this.$refs.el)}}});
//# sourceMappingURL=index.js.map
{
"name": "@form-create/component-elm-select",
"version": "2.5.31",
"version": "2.5.32",
"description": "@form-create/element-ui 内置组件",

@@ -42,3 +42,3 @@ "main": "./dist/index.js",

},
"gitHead": "a963ffacbba371b5589112e605846dc993944dc0"
"gitHead": "8b4a977f33789d6866a98ecd2559858a4d5a20ec"
}

@@ -15,3 +15,3 @@ import is from '@form-create/utils/lib/type';

const options = ctx.props.formCreateInject.options;
return <ElSelect {...ctx.data}>{(Array.isArray(options) ? options : []).map((props, index) => {
return <ElSelect {...ctx.data} ref="el">{(Array.isArray(options) ? options : []).map((props, index) => {
const slot = props.slot;

@@ -24,3 +24,6 @@ return <ElOption props={props}

})}{ctx.children}</ElSelect>;
},
mounted(){
this.$emit('fc.el', this.$refs.el);
}
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc