{"version":3,"sources":["webpack:///./src/components/UI/ColorPicker.vue","webpack:///src/components/UI/ColorPicker.vue","webpack:///./src/components/UI/ColorPicker.vue?ba39","webpack:///./src/components/UI/ColorPicker.vue?80d9"],"names":["render","_vm","this","_c","_self","attrs","mColour","model","value","callback","$$v","expression","staticRenderFns","components","LvColorpicker","props","colour","type","String","default","required","object","Object","data","computed","watch","newVal","oldVal","$emit","created","JSON","parse","stringify","methods","component"],"mappings":"uHAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACA,EAAG,gBAAgB,CAACE,MAAM,CAAC,cAAe,EAAK,MAAQJ,EAAIK,SAASC,MAAM,CAACC,MAAOP,EAAIK,QAASG,SAAS,SAAUC,GAAMT,EAAIK,QAAQI,GAAKC,WAAW,cAAc,IAE3OC,EAAkB,G,kCCOP,GACfC,WAAA,CACAC,sBAGAC,MAAA,CACAC,OAAA,CACAC,KAAAC,OACAC,QAAA,UACAC,UAAA,GAGAC,OAAA,CACAJ,KAAAK,OACAH,QAAA,OAIAI,KAAA,WACA,OACAjB,QAAA,KAIAkB,SAAA,GAEAC,MAAA,CACAnB,QAAA,SAAAoB,EAAAC,GACAD,OAAAC,GACA,KAAAC,MAAA,iBAAAZ,OAAAU,EAAAH,KAAA,KAAAF,WAKAQ,QAAA,WACA,KAAAb,SACA,KAAAV,QAAAwB,KAAAC,MAAAD,KAAAE,UAAA,KAAAhB,WAIAiB,QAAA,ICjDmW,I,YCO/VC,EAAY,eACd,EACAlC,EACAY,GACA,EACA,KACA,KACA,MAIa,aAAAsB,E","file":"js/chunk-2d0d76f3.js?id=dfd04db47b760108c795","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('LvColorpicker',{attrs:{\"withoutInput\":true,\"value\":_vm.mColour},model:{value:(_vm.mColour),callback:function ($$v) {_vm.mColour=$$v},expression:\"mColour\"}})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n  <div>\n    <LvColorpicker :withoutInput=\"true\" :value=\"mColour\" v-model=\"mColour\" />\n  </div>\n</template>\n\n<script>\nimport LvColorpicker from 'lightvue/color-picker';\n\nexport default {\n  components: {\n    LvColorpicker\n  },\n\n  props: {\n    colour: {\n      type: String,\n      default: '#cccccc',\n      required: true\n    },\n\n    object: {\n      type: Object,\n      default: null\n    }\n  },\n\n  data() {\n    return {\n      mColour: ''\n    }\n  },\n\n  computed: {},\n\n  watch: {\n    mColour(newVal, oldVal) {\n      if (newVal && newVal !== oldVal) {\n        this.$emit('colourChanged', { colour: newVal, data: this.object })\n      }\n    }\n  },\n\n  created() {\n    if (this.colour) {\n      this.mColour = JSON.parse(JSON.stringify(this.colour))\n    }\n  },\n\n  methods: {}\n}\n</script>","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ColorPicker.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ColorPicker.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./ColorPicker.vue?vue&type=template&id=0c556bc4\"\nimport script from \"./ColorPicker.vue?vue&type=script&lang=js\"\nexport * from \"./ColorPicker.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  null,\n  null\n  \n)\n\nexport default component.exports"],"sourceRoot":""}