1
0
mirror of synced 2024-11-25 14:56:03 +03:00
vue-formulario/.cache/df/ed18e086c94069c456e7803ef4a863.json
2019-10-07 10:24:30 -04:00

1 line
13 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{"id":"9gxp","dependencies":[{"name":"/Users/justinschroeder/Projects/vue-formulate/package.json","includedInParent":true,"mtime":1570040776564},{"name":"is-plain-object","loc":{"line":1,"column":28},"parent":"/Users/justinschroeder/Projects/vue-formulate/src/Formulate.js","resolved":"/Users/justinschroeder/Projects/vue-formulate/node_modules/is-plain-object/index.js"},{"name":"./FormulateInput.vue","loc":{"line":2,"column":29},"parent":"/Users/justinschroeder/Projects/vue-formulate/src/Formulate.js","resolved":"/Users/justinschroeder/Projects/vue-formulate/src/FormulateInput.vue"}],"generated":{"js":"var t=require(\"is-plain-object\"),o=require(\"./FormulateInput.vue\"),n=function(){this.defaults={components:{FormulateInput:o}}};n.prototype.install=function(t,o){for(var n in t.prototype.$formulate=this,this.options=this.extend(this.defaults,o||{}),this.options.components)t.component(n,this.options.components[n])},n.prototype.extend=function(o,n){var e={};for(var r in o)n.hasOwnProperty(r)?e[r]=t(n[r])&&t(o[r])?this.extend(o[r],n[r]):n[r]:e[r]=o[r];for(var i in n)e.hasOwnProperty(i)||(e[i]=n[i]);return e},module.exports=new n;"},"sourceMaps":{"js":{"mappings":[{"source":"Formulate.js","original":{"line":1,"column":0},"generated":{"line":1,"column":0}},{"source":"Formulate.js","name":"isPlainObject","original":{"line":1,"column":4},"generated":{"line":1,"column":4}},{"source":"Formulate.js","name":"require","original":{"line":1,"column":20},"generated":{"line":1,"column":6}},{"source":"Formulate.js","original":{"line":1,"column":28},"generated":{"line":1,"column":14}},{"source":"Formulate.js","name":"FormulateInput","original":{"line":2,"column":4},"generated":{"line":1,"column":33}},{"source":"Formulate.js","name":"require","original":{"line":2,"column":21},"generated":{"line":1,"column":35}},{"source":"Formulate.js","original":{"line":2,"column":29},"generated":{"line":1,"column":43}},{"source":"Formulate.js","name":"Formulate","original":{"line":7,"column":4},"generated":{"line":1,"column":67}},{"source":"Formulate.js","original":{"line":7,"column":16},"generated":{"line":1,"column":69}},{"source":"Formulate.js","name":"defaults","original":{"line":8,"column":7},"generated":{"line":1,"column":80}},{"source":"Formulate.js","name":"defaults","original":{"line":8,"column":7},"generated":{"line":1,"column":85}},{"source":"Formulate.js","original":{"line":8,"column":18},"generated":{"line":1,"column":94}},{"source":"Formulate.js","name":"components","original":{"line":9,"column":4},"generated":{"line":1,"column":95}},{"source":"Formulate.js","original":{"line":9,"column":16},"generated":{"line":1,"column":106}},{"source":"Formulate.js","name":"FormulateInput","original":{"line":11,"column":6},"generated":{"line":1,"column":107}},{"source":"Formulate.js","name":"FormulateInput","original":{"line":11,"column":22},"generated":{"line":1,"column":122}},{"source":"Formulate.js","name":"Formulate","original":{"line":19,"column":0},"generated":{"line":1,"column":127}},{"source":"Formulate.js","name":"prototype","original":{"line":19,"column":10},"generated":{"line":1,"column":129}},{"source":"Formulate.js","name":"install","original":{"line":19,"column":20},"generated":{"line":1,"column":139}},{"source":"Formulate.js","original":{"line":19,"column":30},"generated":{"line":1,"column":147}},{"source":"Formulate.js","name":"Vue","original":{"line":19,"column":40},"generated":{"line":1,"column":156}},{"source":"Formulate.js","name":"options","original":{"line":19,"column":45},"generated":{"line":1,"column":158}},{"source":"Formulate.js","original":{"line":22,"column":7},"generated":{"line":1,"column":161}},{"source":"Formulate.js","original":{"line":22,"column":7},"generated":{"line":1,"column":165}},{"source":"Formulate.js","name":"componentName","original":{"line":22,"column":11},"generated":{"line":1,"column":169}},{"source":"Formulate.js","name":"Vue","original":{"line":20,"column":2},"generated":{"line":1,"column":174}},{"source":"Formulate.js","name":"prototype","original":{"line":20,"column":6},"generated":{"line":1,"column":176}},{"source":"Formulate.js","name":"$formulate","original":{"line":20,"column":16},"generated":{"line":1,"column":186}},{"source":"Formulate.js","original":{"line":20,"column":29},"generated":{"line":1,"column":197}},{"source":"Formulate.js","name":"options","original":{"line":21,"column":7},"generated":{"line":1,"column":202}},{"source":"Formulate.js","name":"options","original":{"line":21,"column":7},"generated":{"line":1,"column":207}},{"source":"Formulate.js","original":{"line":21,"column":17},"generated":{"line":1,"column":215}},{"source":"Formulate.js","name":"extend","original":{"line":21,"column":22},"generated":{"line":1,"column":220}},{"source":"Formulate.js","original":{"line":21,"column":29},"generated":{"line":1,"column":227}},{"source":"Formulate.js","name":"defaults","original":{"line":21,"column":34},"generated":{"line":1,"column":232}},{"source":"Formulate.js","name":"options","original":{"line":21,"column":44},"generated":{"line":1,"column":241}},{"source":"Formulate.js","original":{"line":21,"column":55},"generated":{"line":1,"column":244}},{"source":"Formulate.js","original":{"line":22,"column":28},"generated":{"line":1,"column":248}},{"source":"Formulate.js","name":"options","original":{"line":22,"column":33},"generated":{"line":1,"column":253}},{"source":"Formulate.js","name":"components","original":{"line":22,"column":41},"generated":{"line":1,"column":261}},{"source":"Formulate.js","name":"Vue","original":{"line":23,"column":4},"generated":{"line":1,"column":272}},{"source":"Formulate.js","name":"component","original":{"line":23,"column":8},"generated":{"line":1,"column":274}},{"source":"Formulate.js","name":"componentName","original":{"line":23,"column":18},"generated":{"line":1,"column":284}},{"source":"Formulate.js","original":{"line":23,"column":33},"generated":{"line":1,"column":286}},{"source":"Formulate.js","name":"options","original":{"line":23,"column":38},"generated":{"line":1,"column":291}},{"source":"Formulate.js","name":"components","original":{"line":23,"column":46},"generated":{"line":1,"column":299}},{"source":"Formulate.js","name":"componentName","original":{"line":23,"column":57},"generated":{"line":1,"column":310}},{"source":"Formulate.js","name":"Formulate","original":{"line":32,"column":0},"generated":{"line":1,"column":315}},{"source":"Formulate.js","name":"prototype","original":{"line":32,"column":10},"generated":{"line":1,"column":317}},{"source":"Formulate.js","name":"extend","original":{"line":32,"column":20},"generated":{"line":1,"column":327}},{"source":"Formulate.js","original":{"line":32,"column":29},"generated":{"line":1,"column":334}},{"source":"Formulate.js","name":"base","original":{"line":32,"column":39},"generated":{"line":1,"column":343}},{"source":"Formulate.js","name":"extendWith","original":{"line":32,"column":45},"generated":{"line":1,"column":345}},{"source":"Formulate.js","name":"merged","original":{"line":33,"column":6},"generated":{"line":1,"column":348}},{"source":"Formulate.js","name":"merged","original":{"line":33,"column":6},"generated":{"line":1,"column":352}},{"source":"Formulate.js","original":{"line":33,"column":15},"generated":{"line":1,"column":354}},{"source":"Formulate.js","original":{"line":34,"column":7},"generated":{"line":1,"column":357}},{"source":"Formulate.js","original":{"line":34,"column":7},"generated":{"line":1,"column":361}},{"source":"Formulate.js","name":"key","original":{"line":34,"column":11},"generated":{"line":1,"column":365}},{"source":"Formulate.js","name":"base","original":{"line":34,"column":18},"generated":{"line":1,"column":370}},{"source":"Formulate.js","name":"extendWith","original":{"line":35,"column":8},"generated":{"line":1,"column":372}},{"source":"Formulate.js","name":"hasOwnProperty","original":{"line":35,"column":19},"generated":{"line":1,"column":374}},{"source":"Formulate.js","name":"key","original":{"line":35,"column":34},"generated":{"line":1,"column":389}},{"source":"Formulate.js","name":"merged","original":{"line":36,"column":6},"generated":{"line":1,"column":392}},{"source":"Formulate.js","name":"key","original":{"line":36,"column":13},"generated":{"line":1,"column":394}},{"source":"Formulate.js","name":"isPlainObject","original":{"line":36,"column":20},"generated":{"line":1,"column":397}},{"source":"Formulate.js","name":"extendWith","original":{"line":36,"column":34},"generated":{"line":1,"column":399}},{"source":"Formulate.js","name":"key","original":{"line":36,"column":45},"generated":{"line":1,"column":401}},{"source":"Formulate.js","name":"isPlainObject","original":{"line":36,"column":54},"generated":{"line":1,"column":406}},{"source":"Formulate.js","name":"base","original":{"line":36,"column":68},"generated":{"line":1,"column":408}},{"source":"Formulate.js","name":"key","original":{"line":36,"column":73},"generated":{"line":1,"column":410}},{"source":"Formulate.js","original":{"line":37,"column":10},"generated":{"line":1,"column":414}},{"source":"Formulate.js","name":"extend","original":{"line":37,"column":15},"generated":{"line":1,"column":419}},{"source":"Formulate.js","name":"base","original":{"line":37,"column":22},"generated":{"line":1,"column":426}},{"source":"Formulate.js","name":"key","original":{"line":37,"column":27},"generated":{"line":1,"column":428}},{"source":"Formulate.js","name":"extendWith","original":{"line":37,"column":33},"generated":{"line":1,"column":431}},{"source":"Formulate.js","name":"key","original":{"line":37,"column":44},"generated":{"line":1,"column":433}},{"source":"Formulate.js","name":"extendWith","original":{"line":38,"column":10},"generated":{"line":1,"column":437}},{"source":"Formulate.js","name":"key","original":{"line":38,"column":21},"generated":{"line":1,"column":439}},{"source":"Formulate.js","name":"merged","original":{"line":40,"column":6},"generated":{"line":1,"column":442}},{"source":"Formulate.js","name":"key","original":{"line":40,"column":13},"generated":{"line":1,"column":444}},{"source":"Formulate.js","name":"base","original":{"line":40,"column":20},"generated":{"line":1,"column":447}},{"source":"Formulate.js","name":"key","original":{"line":40,"column":25},"generated":{"line":1,"column":449}},{"source":"Formulate.js","original":{"line":43,"column":7},"generated":{"line":1,"column":452}},{"source":"Formulate.js","original":{"line":43,"column":7},"generated":{"line":1,"column":456}},{"source":"Formulate.js","name":"prop","original":{"line":43,"column":11},"generated":{"line":1,"column":460}},{"source":"Formulate.js","name":"extendWith","original":{"line":43,"column":19},"generated":{"line":1,"column":465}},{"source":"Formulate.js","name":"merged","original":{"line":44,"column":9},"generated":{"line":1,"column":467}},{"source":"Formulate.js","name":"hasOwnProperty","original":{"line":44,"column":16},"generated":{"line":1,"column":469}},{"source":"Formulate.js","name":"prop","original":{"line":44,"column":31},"generated":{"line":1,"column":484}},{"source":"Formulate.js","name":"merged","original":{"line":45,"column":6},"generated":{"line":1,"column":489}},{"source":"Formulate.js","name":"prop","original":{"line":45,"column":13},"generated":{"line":1,"column":491}},{"source":"Formulate.js","name":"extendWith","original":{"line":45,"column":21},"generated":{"line":1,"column":494}},{"source":"Formulate.js","name":"prop","original":{"line":45,"column":32},"generated":{"line":1,"column":496}},{"source":"Formulate.js","name":"merged","original":{"line":48,"column":9},"generated":{"line":1,"column":500}},{"source":"Formulate.js","name":"merged","original":{"line":48,"column":9},"generated":{"line":1,"column":507}},{"source":"Formulate.js","name":"module","original":{"line":51,"column":0},"generated":{"line":1,"column":510}},{"source":"Formulate.js","name":"exports","original":{"line":51,"column":7},"generated":{"line":1,"column":517}},{"source":"Formulate.js","original":{"line":51,"column":17},"generated":{"line":1,"column":525}},{"source":"Formulate.js","name":"Formulate","original":{"line":51,"column":21},"generated":{"line":1,"column":529}}],"sources":{"Formulate.js":"var isPlainObject = require('is-plain-object')\nvar FormulateInput = require('./FormulateInput.vue')\n\n/**\n * The base formulate libary.\n */\nvar Formulate = function () {\n this.defaults = {\n components: {\n // FormulateForm: FormulateForm,\n FormulateInput: FormulateInput\n }\n }\n}\n\n/**\n * Install vue formulate, and register its components.\n */\nFormulate.prototype.install = function (Vue, options) {\n Vue.prototype.$formulate = this\n this.options = this.extend(this.defaults, options || {})\n for (var componentName in this.options.components) {\n Vue.component(componentName, this.options.components[componentName])\n }\n}\n\n/**\n * Create a new object by copying properties of base and extendWith.\n * @param {Object} base\n * @param {Object} extendWith\n */\nFormulate.prototype.extend = function (base, extendWith) {\n var merged = {}\n for (var key in base) {\n if (extendWith.hasOwnProperty(key)) {\n merged[key] = isPlainObject(extendWith[key]) && isPlainObject(base[key])\n ? this.extend(base[key], extendWith[key])\n : extendWith[key]\n } else {\n merged[key] = base[key]\n }\n }\n for (var prop in extendWith) {\n if (!merged.hasOwnProperty(prop)) {\n merged[prop] = extendWith[prop]\n }\n }\n return merged\n}\n\nmodule.exports = new Formulate()\n"},"lineCount":null}},"error":null,"hash":"5dceb2530f7ffbfd800be4a2dc9067b7","cacheData":{"env":{}}}