{"version":3,"sources":["webpack:///./src/components/modules/media/finder/mediaFinder.vue","webpack:///src/components/modules/media/finder/mediaFinder.vue","webpack:///./src/components/modules/media/finder/mediaFinder.vue?3018","webpack:///./src/components/modules/media/finder/mediaFinder.vue?39ae","webpack:///./src/components/modules/media/finder/index.js"],"names":["render","_vm","this","_c","_self","attrs","on","visibleChanged","model","value","showSidebar","callback","$$v","expression","fromCoreEdit","$event","$emit","staticRenderFns","components","mediaList","component","loading","AsyncLoading","error","AsyncLoadError","delay","timeout","props","type","Boolean","default","data","taskObj","loaded","columns","task","nestedSidebar","idNested","mounted","init","methods","e","Object","assign","$data","$options","mediaFinder"],"mappings":"yHAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,YAAY,CAACE,MAAM,CAAC,MAAQ,GAAG,OAAS,GAAG,SAAW,GAAG,MAAQ,MAAM,YAAY,GAAG,KAAO,IAAIC,GAAG,CAAC,OAASL,EAAIM,gBAAgBC,MAAM,CAACC,MAAOR,EAAIS,YAAaC,SAAS,SAAUC,GAAMX,EAAIS,YAAYE,GAAKC,WAAW,gBAAgB,CAACV,EAAG,aAAa,CAACE,MAAM,CAAC,QAAS,EAAK,aAAeJ,EAAIa,cAAcR,GAAG,CAAC,YAAY,SAASS,GAAQ,OAAOd,EAAIe,MAAM,YAAaD,QAAa,IAEhcE,EAAkB,G,wDCqBP,GACfC,WAAA,CACAC,UAAA,kBACAC,UAAA,qFACAC,QAAAC,OACAC,MAAAC,OACAC,MAAA,IACAC,QAAA,OAGAC,MAAA,CACAb,aAAA,CACAc,KAAAC,QACAC,QAAA,uBAGAC,KAAA,WACA,OACAV,SAAA,EACAW,QAAA,CACAC,QAAA,EACAC,QAAA,GACAC,KAAA,IAEAzB,aAAA,EACA0B,eAAA,EACAC,SAAA,IAGAC,QAAA,WACA,KAAAC,QAEAC,QAAA,CACAD,KAAA,WACA,KAAA7B,aAAA,GAEAH,eAAA,SAAAkC,GACAA,IACAC,OAAAC,OAAA,KAAAC,MAAA,KAAAC,SAAAd,QACA,KAAAf,MAAA,qBC9DiY,I,YCO7XI,EAAY,eACd,EACApB,EACAiB,GACA,EACA,KACA,KACA,MAIa,EAAAG,E,QCjBA0B","file":"js/chunk-2d0bd3f9.b10cff77.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('b-sidebar',{attrs:{\"right\":\"\",\"shadow\":\"\",\"backdrop\":\"\",\"width\":\"90%\",\"no-header\":\"\",\"prop\":\"\"},on:{\"change\":_vm.visibleChanged},model:{value:(_vm.showSidebar),callback:function ($$v) {_vm.showSidebar=$$v},expression:\"showSidebar\"}},[_c('media-list',{attrs:{\"finder\":true,\"fromCoreEdit\":_vm.fromCoreEdit},on:{\"on-attach\":function($event){return _vm.$emit('on-attach', $event)}}})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n  <b-sidebar\n    right\n    shadow\n    backdrop\n    v-model=\"showSidebar\"\n    width=\"90%\"\n    @change=\"visibleChanged\"\n    no-header\n    prop\n  >\n    <media-list\n      :finder=\"true\"\n      :fromCoreEdit=\"fromCoreEdit\"\n      @on-attach=\"$emit('on-attach', $event)\"\n    ></media-list>\n  </b-sidebar>\n</template>\n\n<script>\nimport AsyncLoadError from \"@/components/base/asyncLoadingError\";\nimport AsyncLoading from \"@/components/base/asyncLoading\";\n\nexport default {\n  components: {\n    mediaList: () => ({\n      component: import(\"@/views/modules/media\"),\n      loading: AsyncLoading,\n      error: AsyncLoadError,\n      delay: 100,\n      timeout: 5000\n    })\n  },\n  props: {\n    fromCoreEdit: {\n      type: Boolean,\n      default: () => false\n    }\n  },\n  data() {\n    return {\n      loading: true,\n      taskObj: {\n        loaded: false,\n        columns: [],\n        task: {}\n      },\n      showSidebar: false,\n      nestedSidebar: false,\n      idNested: 0\n    };\n  },\n  mounted() {\n    this.init();\n  },\n  methods: {\n    init() {\n      this.showSidebar = true;\n    },\n    visibleChanged(e) {\n      if (!e) {\n        Object.assign(this.$data, this.$options.data());\n        this.$emit(\"on-task-close\");\n      }\n    }\n  }\n};\n</script>\n\n<style></style>\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!./mediaFinder.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!./mediaFinder.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./mediaFinder.vue?vue&type=template&id=cbe2f390\"\nimport script from \"./mediaFinder.vue?vue&type=script&lang=js\"\nexport * from \"./mediaFinder.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","import mediaFinder from \"./mediaFinder.vue\";\nexport default mediaFinder;\n"],"sourceRoot":""}