{"version":3,"sources":["webpack:///./src/views/components/extra-components/clipboard/Clipboard.vue?20cb","webpack:///./src/views/components/extra-components/clipboard/ClipboardDirective.vue?3d4e","webpack:///src/views/components/extra-components/clipboard/ClipboardDirective.vue","webpack:///./src/views/components/extra-components/clipboard/ClipboardDirective.vue?62ff","webpack:///./src/views/components/extra-components/clipboard/ClipboardDirective.vue","webpack:///./src/views/components/extra-components/clipboard/ClipboardWithoutDirective.vue?cedc","webpack:///src/views/components/extra-components/clipboard/ClipboardWithoutDirective.vue","webpack:///./src/views/components/extra-components/clipboard/ClipboardWithoutDirective.vue?d853","webpack:///./src/views/components/extra-components/clipboard/ClipboardWithoutDirective.vue","webpack:///src/views/components/extra-components/clipboard/Clipboard.vue","webpack:///./src/views/components/extra-components/clipboard/Clipboard.vue?e38a","webpack:///./src/views/components/extra-components/clipboard/Clipboard.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","staticRenderFns","staticClass","model","value","callback","$$v","text","expression","directives","name","rawName","arg","_v","slot","data","methods","onCopy","$vs","notify","title","color","iconPack","position","icon","onError","component","text2","on","copyText","$copyText","then","thisIns","components","ClipboardDirective","ClipboardWithoutDirective"],"mappings":"yHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,MAAM,CAAC,GAAK,wBAAwB,CAACF,EAAG,uBAAuBA,EAAG,gCAAgC,IACxMG,EAAkB,GCDlB,EAAS,WAAa,IAAIP,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,UAAU,CAACE,MAAM,CAAC,MAAQ,kBAAkB,SAAW,uCAAuC,eAAe,KAAK,CAACF,EAAG,WAAW,CAACI,YAAY,wBAAwBC,MAAM,CAACC,MAAOV,EAAQ,KAAEW,SAAS,SAAUC,GAAMZ,EAAIa,KAAKD,GA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D,EAAkB,GCwDtB,GACEE,KADF,WAEI,MAAO,CACLY,MAAO,8BAGXX,QAAS,CACPa,SADJ,WAEM,IAAN,OACMlC,KAAKmC,UAAUnC,KAAKgC,OAAOI,MAAK,WAC9BC,EAAQd,IAAIC,OAAO,CACjBC,MAAO,UACPb,KAAM,2BACNc,MAAO,UACPC,SAAU,UACVC,SAAU,aACVC,KAAM,yBAEhB,WACQQ,EAAQd,IAAIC,OAAO,CACjBC,MAAO,SACPb,KAAM,wBACNc,MAAO,SACPC,SAAU,UACVC,SAAU,aACVC,KAAM,4BClFgY,ICO5Y,EAAY,eACd,EACA,EACA,GACA,EACA,KACA,KACA,MAIa,I,QCGf,GACES,WAAY,CACVC,mBAAJ,EACIC,0BAAJ,ICxBgY,ICO5X,EAAY,eACd,EACA1C,EACAQ,GACA,EACA,KACA,KACA,MAIa,e","file":"js/chunk-2d0b2b24.6df8aa5e.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"page-clipboard-demo\"}},[_c('clipboard-directive'),_c('clipboard-without-directive')],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('vx-card',{attrs:{\"title\":\"Using Directive\",\"subtitle\":\"Use directive on button to copy text\",\"code-toggler\":\"\"}},[_c('vs-input',{staticClass:\"inline-flex mb-2 mr-2\",model:{value:(_vm.text),callback:function ($$v) {_vm.text=$$v},expression:\"text\"}}),_c('vs-button',{directives:[{name:\"clipboard\",rawName:\"v-clipboard:copy\",value:(_vm.text),expression:\"text\",arg:\"copy\"},{name:\"clipboard\",rawName:\"v-clipboard:success\",value:(_vm.onCopy),expression:\"onCopy\",arg:\"success\"},{name:\"clipboard\",rawName:\"v-clipboard:error\",value:(_vm.onError),expression:\"onError\",arg:\"error\"}]},[_vm._v(\"\\n Copy\\n \")]),_c('template',{slot:\"codeContainer\"},[_vm._v(\"\\n\\n \\n \\n Copy\\n \\n\\n\\n\\n \")])],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n \n \n \n Copy\n \n \n<template>\n <vs-input v-model="text" class="inline-flex" />\n <vs-button\n v-clipboard:copy="text"\n v-clipboard:success="onCopy"\n v-clipboard:error="onError">\n Copy\n </vs-button>\n</template>\n\n<script>\nexport default {\n data() {\n return {\n text: 'Copy Me!',\n }\n },\n methods: {\n onCopy() {\n this.$vs.notify({\n title: 'Success',\n text: 'Text copied successfully',\n color: 'success',\n iconPack: 'feather',\n position: 'top-center',\n icon: 'icon-check-circle'\n })\n },\n onError() {\n this.$vs.notify({\n title: 'Failed',\n text: 'Error in copying text',\n color: 'danger',\n iconPack: 'feather',\n position: 'top-center',\n icon: 'icon-alert-circle'\n })\n },\n }\n}\n</script>\n \n \n\n\n\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ClipboardDirective.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ClipboardDirective.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ClipboardDirective.vue?vue&type=template&id=0f74b828&\"\nimport script from \"./ClipboardDirective.vue?vue&type=script&lang=js&\"\nexport * from \"./ClipboardDirective.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","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('vx-card',{attrs:{\"title\":\"Without directive\",\"subtitle\":\"You can copy text without a specific button. Use $copyText to copy text when event got fired.\",\"code-toggler\":\"\"}},[_c('vs-input',{staticClass:\"inline-flex mb-2 mr-2\",model:{value:(_vm.text2),callback:function ($$v) {_vm.text2=$$v},expression:\"text2\"}}),_c('vs-button',{on:{\"click\":_vm.copyText}},[_vm._v(\"Copy\")]),_c('template',{slot:\"codeContainer\"},[_vm._v(\"\\n\\n \\n Copy\\n\\n\\n\\n \")])],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n \n \n Copy\n \n<template>\n <vs-input v-model="text2" class="inline-flex" />\n <vs-button @click="copyText">Copy</vs-button>\n</template>\n\n<script>\nexport default {\n data() {\n return {\n text2: 'Copy Me Without Directive',\n }\n },\n methods: {\n copyText() {\n const thisIns = this;\n this.$copyText(this.text2).then(function() {\n thisIns.$vs.notify({\n title: 'Success',\n text: 'Text copied successfully',\n color: 'success',\n iconPack: 'feather',\n position: 'top-center',\n icon: 'icon-check-circle'\n })\n }, function() {\n thisIns.$vs.notify({\n title: 'Failed',\n text: 'Error in copying text',\n color: 'danger',\n iconPack: 'feather',\n position: 'top-center',\n icon: 'icon-alert-circle'\n })\n })\n }\n }\n}\n</script>\n \n \n\n\n\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ClipboardWithoutDirective.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ClipboardWithoutDirective.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ClipboardWithoutDirective.vue?vue&type=template&id=6204e3f1&\"\nimport script from \"./ClipboardWithoutDirective.vue?vue&type=script&lang=js&\"\nexport * from \"./ClipboardWithoutDirective.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","\n\n\n\n \n \n \n
\n\n\n\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Clipboard.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Clipboard.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Clipboard.vue?vue&type=template&id=121f6496&\"\nimport script from \"./Clipboard.vue?vue&type=script&lang=js&\"\nexport * from \"./Clipboard.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":""}