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.9 to 2.5.10

4

dist/index.js
/*!
* @form-create/component-elm-select v2.5.9
* @form-create/component-elm-select v2.5.10
* (c) 2018-2021 xaboy

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

*/
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self).FcSelect=t()}(this,function(){"use strict";function e(){return(e=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)}var t=["attrs","props","domProps"],n=["class","style","directives"],r=["on","nativeOn"],o=function(e,t){return function(){e&&e.apply(this,arguments),t&&t.apply(this,arguments)}},i=function(i){return i.reduce(function(i,c){for(var f in c)if(i[f])if(-1!==t.indexOf(f))i[f]=e({},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 p=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]=p.concat(s)}else i[f][l]=c[f][l];else if("hook"==f)for(var y in c[f])i[f][y]=i[f][y]?o(i[f][y],c[f][y]):c[f][y];else i[f]=c[f];else i[f]=c[f];return i},{})};function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach(function(t){f(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var l={type:function(e,t){return Object.prototype.toString.call(e)==="[object "+t+"]"},Undef:function(e){return null==e},Element:function(e){return"object"===c(e)&&null!==e&&1===e.nodeType&&!l.Object(e)},trueArray:function(e){return Array.isArray(e)&&e.length>0}};["Date","Object","Function","String","Boolean","Array","Number"].forEach(function(e){l[e]=function(t){return l.type(t,e)}});return{name:"fcSelect",functional:!0,props:{formCreateOptions:{type:Array,default:function(){return[]}}},render:function(e,t){return e("ElSelect",i([{},t.data]),[t.props.formCreateOptions.map(function(t,n){var r=t.slot;return e("ElOption",{props:a({},t),key:""+n+t.value},[r?e("template",{slot:t.slotName||"default"},[l.Function(r)?t.slot(e):r]):null])}),t.children])}}});
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self).FcSelect=t()}(this,function(){"use strict";function e(){return(e=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)}var t=["attrs","props","domProps"],n=["class","style","directives"],r=["on","nativeOn"],o=function(e,t){return function(){e&&e.apply(this,arguments),t&&t.apply(this,arguments)}},c=function(c){return c.reduce(function(c,i){for(var f in i)if(c[f])if(-1!==t.indexOf(f))c[f]=e({},c[f],i[f]);else if(-1!==n.indexOf(f)){var u=c[f]instanceof Array?c[f]:[c[f]],a=i[f]instanceof Array?i[f]:[i[f]];c[f]=u.concat(a)}else if(-1!==r.indexOf(f))for(var l in i[f])if(c[f][l]){var p=c[f][l]instanceof Array?c[f][l]:[c[f][l]],s=i[f][l]instanceof Array?i[f][l]:[i[f][l]];c[f][l]=p.concat(s)}else c[f][l]=i[f][l];else if("hook"==f)for(var y in i[f])c[f][y]=c[f][y]?o(c[f][y],i[f][y]):i[f][y];else c[f]=i[f];else c[f]=i[f];return c},{})};function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach(function(t){f(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var l={type:function(e,t){return Object.prototype.toString.call(e)==="[object "+t+"]"},Undef:function(e){return null==e},Element:function(e){return"object"===i(e)&&null!==e&&1===e.nodeType&&!l.Object(e)},trueArray:function(e){return Array.isArray(e)&&e.length>0}};["Date","Object","Function","String","Boolean","Array","Number"].forEach(function(e){l[e]=function(t){return l.type(t,e)}});return{name:"fcSelect",functional:!0,props:{formCreateInject:{type:Object,required:!0}},render:function(e,t){return e("ElSelect",c([{},t.data]),[t.props.formCreateInject.options.map(function(t,n){var r=t.slot;return e("ElOption",{props:a({},t),key:""+n+t.value},[r?e("template",{slot:t.slotName||"default"},[l.Function(r)?t.slot(e):r]):null])}),t.children])}}});
//# sourceMappingURL=index.js.map
{
"name": "@form-create/component-elm-select",
"version": "2.5.9",
"version": "2.5.10",
"description": "@form-create/element-ui 内置组件",

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

"dependencies": {
"@form-create/utils": "^2.5.9"
"@form-create/utils": "^2.5.10"
},

@@ -43,3 +43,3 @@ "bugs": {

},
"gitHead": "b4e39524136df76ad16c92a3697fdfe94ac296a7"
"gitHead": "7c08cb39580a4d60e2c9ec78823b47e9a0c4f115"
}

@@ -8,9 +8,9 @@ import is from '@form-create/utils/lib/type';

props: {
formCreateOptions: {
type: Array,
default: () => ([])
formCreateInject: {
type: Object,
required: true,
},
},
render(h, ctx) {
return <ElSelect {...ctx.data}>{ctx.props.formCreateOptions.map((props, index) => {
return <ElSelect {...ctx.data}>{ctx.props.formCreateInject.options.map((props, index) => {
const slot = props.slot;

@@ -17,0 +17,0 @@ return <ElOption {...{props}}

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