{"version":3,"sources":["webpack:///./src/views/NewLoadingSpinner.vue?4be3","webpack:///./src/views/NewLoadingSpinner.vue?5079","webpack:///src/views/NewLoadingSpinner.vue","webpack:///./src/views/NewLoadingSpinner.vue","webpack:///./src/@core/components/toastification/ToastificationContent.vue?8bb6","webpack:///./src/@core/components/toastification/ToastificationContent.vue?512b","webpack:///src/@core/components/toastification/ToastificationContent.vue","webpack:///./src/@core/components/toastification/ToastificationContent.vue","webpack:///./src/@core/components/toastification/ToastificationContent.vue?bb93","webpack:///./src/views/Loading.vue?014c","webpack:///./src/views/Loading.vue?f994","webpack:///src/views/Loading.vue","webpack:///./src/views/Loading.vue","webpack:///./src/views/score-card/See.vue?5ff7","webpack:///./src/views/NewLoadingSpinner.vue?3ac0","webpack:///./src/views/score-card/Index.vue?57da","webpack:///src/views/score-card/See.vue","webpack:///./src/views/score-card/See.vue?2586","webpack:///./src/views/score-card/See.vue","webpack:///./src/views/score-card/See.vue?1c2b","webpack:///src/views/score-card/Plan.vue","webpack:///./src/views/score-card/Plan.vue?def1","webpack:///./src/views/score-card/Plan.vue","webpack:///./src/views/score-card/Plan.vue?619c","webpack:///src/views/score-card/Optimize.vue","webpack:///./src/views/score-card/Optimize.vue?eef6","webpack:///./src/views/score-card/Optimize.vue","webpack:///./src/views/score-card/Optimize.vue?f52f","webpack:///src/views/score-card/Trust.vue","webpack:///./src/views/score-card/Trust.vue?e965","webpack:///./src/views/score-card/Trust.vue","webpack:///./src/views/score-card/Trust.vue?bff0","webpack:///src/views/score-card/Index.vue","webpack:///./src/views/score-card/Index.vue?4dc6","webpack:///./src/views/score-card/Index.vue"],"names":["data","component","_vm","this","$createElement","_self","_c","_m","_h","staticClass","staticRenderFns","components","BAvatar","props","variant","type","String","default","icon","title","text","hideClose","Boolean","attrs","class","domProps","_s","_e","on","$event","$emit","BSpinner","NewLoadingSpinner","loadingStatus","label","staticStyle","BTable","BFormInput","BButton","BFormCheckbox","BRow","BCol","BFormRadioGroup","seeData","Array","Object","required","fields","key","thStyle","width","items","editing","options","value","methods","toggleEditing","watch","handler","newValue","isArray","deep","immediate","_v","scopedSlots","_u","fn","item","metric_name","before","Math","round","parseFloat","replace","model","callback","$$v","$set","expression","after","planData","optimizeData","trustData","BCard","See","Plan","Optimize","Trust","Loading","see","plan","optimize","trust","formData","fetchData","fetchSee","fetchPlan","fetchOptimize","fetchTrust","handleSeeEmit","updatedSee","keys","reduce","acc","updateFormData","handlePlanEmit","updatedPlan","handleOptimizeEmit","updatedOptimize","handleTrustEmit","updatedTrust","transformData","map","submit","$http","post","params","action","then","response","$toast","ToastificationContent","catch","error","get","length","noData","processData","forEach","charAt","toUpperCase","slice","filter","created","getFormData","mounted"],"mappings":"4GAAA,ICA0V,ECS3U,CACfA,UACA,K,wBCHIC,EAAY,YACd,GHTW,WAAa,IAAIC,EAAIC,KAAYD,EAAIE,eAAuC,OAAjBF,EAAIG,MAAMC,GAAcJ,EAAIK,GAAG,EAAE,GACnF,CAAC,WAAa,IAAiBC,EAATL,KAAgBC,eAAmBE,EAAnCH,KAA0CE,MAAMC,IAAIE,EAAG,OAAOF,EAAG,MAAM,CAACG,YAAY,uBAAuB,CAACH,EAAG,MAAM,CAACG,YAAY,QAAQH,EAAG,MAAM,CAACG,YAAY,QAAQH,EAAG,MAAM,CAACG,YAAY,SAAS,IGUjPC,EAEA,KACA,WACA,MAIa,IAAAT,E,sECnBf,ICA4X,EC6C7W,CACfU,WAAA,CACAC,Q,UAAAA,GAEAC,MAAA,CACAC,QAAA,CACAC,KAAAC,OACAC,QAAA,WAEAC,KAAA,CACAH,KAAAC,OACAC,QAAA,MAEAE,MAAA,CACAJ,KAAAC,OACAC,QAAA,MAEAG,KAAA,CACAL,KAAAC,OACAC,QAAA,MAEAI,UAAA,CACAN,KAAAO,QACAL,c,wBC5DIhB,EAAY,YACd,GHTW,WAAa,IAAIC,EAAIC,KAASK,EAAGN,EAAIE,eAAmBE,EAAGJ,EAAIG,MAAMC,IAAIE,EAAG,OAAOF,EAA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ACiB,MAAM,CAAC,GAAK,IAAI,GAAK,OAAO,CAACjB,EAAG,SAAS,CAACA,EAAG,WAAW,CAACiB,MAAM,CAAC,aAAerB,EAAI+F,eAAerE,GAAG,CAAC,SAAW1B,EAAIyG,uBAAuB,IAAI,GAAGrG,EAAG,QAAQ,CAACiB,MAAM,CAAC,GAAK,IAAI,GAAK,OAAO,CAACjB,EAAG,SAAS,CAACA,EAAG,QAAQ,CAACiB,MAAM,CAAC,UAAYrB,EAAIgG,YAAYtE,GAAG,CAAC,MAAQ1B,EAAI2G,oBAAoB,IAAI,IAAI,GAAGvG,EAAG,MAAM,CAACG,YAAY,iCAAiC,CAACH,EAAG,WAAW,CAACG,YAAY,OAAOc,MAAM,CAAC,QAAU,WAAWK,GAAG,CAAC,MAAQ1B,EAAI+G,SAAS,CAAC/G,EAAI6D,GAAG,aAAa,IAAI,GAAGzD,EAAG,OAAO,CAACA,EAAG,YAAY,IAAI,GACxhC,ImBSpBI,EAEA,KACA,KACA,MAIa,Y","file":"js/chunk-7cb40154.77524259.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _vm._m(0)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"hollow-dots-spinner\"},[_c('div',{staticClass:\"dot\"}),_c('div',{staticClass:\"dot\"}),_c('div',{staticClass:\"dot\"})])}]\n\nexport { render, staticRenderFns }","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!./NewLoadingSpinner.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!./NewLoadingSpinner.vue?vue&type=script&lang=js\"","<template>\n  <div class=\"hollow-dots-spinner\">\n    <div class=\"dot\"></div>\n    <div class=\"dot\"></div>\n    <div class=\"dot\"></div>\n  </div>\n</template>\n\n<script>\nexport default {\n  data() {\n    return {\n    };\n  },\n};\n</script>\n\n<style scoped>\n.hollow-dots-spinner, .hollow-dots-spinner * {\n  box-sizing: border-box;\n}\n\n.hollow-dots-spinner {\n  height: 15px;\n  width: calc(30px * 3);\n}\n\n.hollow-dots-spinner .dot {\n  width: 15px;\n  height: 15px;\n  margin: 0 calc(15px / 2);\n  border: calc(15px / 5) solid #fff;\n  border-radius: 50%;\n  float: left;\n  transform: scale(0);\n  animation: hollow-dots-spinner-animation 1000ms ease infinite 0ms;\n}\n\n.hollow-dots-spinner .dot:nth-child(1) {\n  animation-delay: calc(300ms * 1);\n}\n\n.hollow-dots-spinner .dot:nth-child(2) {\n  animation-delay: calc(300ms * 2);\n}\n\n.hollow-dots-spinner .dot:nth-child(3) {\n  animation-delay: calc(300ms * 3);\n}\n\n@keyframes hollow-dots-spinner-animation {\n  50% {\n    transform: scale(1);\n    opacity: 1;\n  }\n  100% {\n    opacity: 0;\n  }\n}\n\n</style>\n\n","import { render, staticRenderFns } from \"./NewLoadingSpinner.vue?vue&type=template&id=5db0d5ca&scoped=true\"\nimport script from \"./NewLoadingSpinner.vue?vue&type=script&lang=js\"\nexport * from \"./NewLoadingSpinner.vue?vue&type=script&lang=js\"\nimport style0 from \"./NewLoadingSpinner.vue?vue&type=style&index=0&id=5db0d5ca&prod&scoped=true&lang=css\"\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  \"5db0d5ca\",\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('div',{staticClass:\"toastification\"},[_c('div',{staticClass:\"d-flex align-items-start\"},[_c('b-avatar',{staticClass:\"mr-75 flex-shrink-0\",attrs:{\"variant\":_vm.variant,\"size\":\"1.8rem\"}},[_c('feather-icon',{attrs:{\"icon\":_vm.icon,\"size\":\"15\"}})],1),_c('div',{staticClass:\"d-flex flex-grow-1\"},[_c('div',[(_vm.title)?_c('h5',{staticClass:\"mb-0 font-weight-bolder toastification-title\",class:(\"text-\" + _vm.variant),domProps:{\"textContent\":_vm._s(_vm.title)}}):_vm._e(),(_vm.text)?_c('small',{staticClass:\"d-inline-block text-body\",domProps:{\"textContent\":_vm._s(_vm.text)}}):_vm._e()]),_c('span',{staticClass:\"cursor-pointer toastification-close-icon ml-auto \",on:{\"click\":function($event){return _vm.$emit('close-toast')}}},[(!_vm.hideClose)?_c('feather-icon',{staticClass:\"text-body\",attrs:{\"icon\":\"XIcon\"}}):_vm._e()],1)])],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","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!./ToastificationContent.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!./ToastificationContent.vue?vue&type=script&lang=js\"","<template>\n  <div class=\"toastification\">\n    <div class=\"d-flex align-items-start\">\n      <b-avatar\n        :variant=\"variant\"\n        size=\"1.8rem\"\n        class=\"mr-75 flex-shrink-0\"\n      >\n        <feather-icon\n          :icon=\"icon\"\n          size=\"15\"\n        />\n      </b-avatar>\n      <div class=\"d-flex flex-grow-1\">\n        <div>\n          <h5\n            v-if=\"title\"\n            class=\"mb-0 font-weight-bolder toastification-title\"\n            :class=\"`text-${variant}`\"\n            v-text=\"title\"\n          />\n          <small\n            v-if=\"text\"\n            class=\"d-inline-block text-body\"\n            v-text=\"text\"\n          />\n        </div>\n        <span\n          class=\"cursor-pointer toastification-close-icon ml-auto \"\n          @click=\"$emit('close-toast')\"\n        >\n          <feather-icon\n            v-if=\"!hideClose\"\n            icon=\"XIcon\"\n            class=\"text-body\"\n          />\n        </span>\n      </div>\n    </div>\n  </div>\n</template>\n\n<script>\nimport { BAvatar } from 'bootstrap-vue'\n\nexport default {\n  components: {\n    BAvatar,\n  },\n  props: {\n    variant: {\n      type: String,\n      default: 'primary',\n    },\n    icon: {\n      type: String,\n      default: null,\n    },\n    title: {\n      type: String,\n      default: null,\n    },\n    text: {\n      type: String,\n      default: null,\n    },\n    hideClose: {\n      type: Boolean,\n      default: false,\n    },\n  },\n}\n</script>\n\n<style lang=\"scss\" scoped>\n.toastification-close-icon,\n.toastification-title {\n  line-height: 26px;\n}\n\n.toastification-title {\n  color: inherit;\n}\n</style>\n","import { render, staticRenderFns } from \"./ToastificationContent.vue?vue&type=template&id=55dd3057&scoped=true\"\nimport script from \"./ToastificationContent.vue?vue&type=script&lang=js\"\nexport * from \"./ToastificationContent.vue?vue&type=script&lang=js\"\nimport style0 from \"./ToastificationContent.vue?vue&type=style&index=0&id=55dd3057&prod&lang=scss&scoped=true\"\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  \"55dd3057\",\n  null\n  \n)\n\nexport default component.exports","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ToastificationContent.vue?vue&type=style&index=0&id=55dd3057&prod&lang=scss&scoped=true\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"d-flex justify-content-center align-items-center mb-1\",staticStyle:{\"height\":\"100%\",\"min-height\":\"500px\",\"display\":\"flex\"}},[(_vm.loadingStatus === 'loading')?_c('span',{staticStyle:{\"text-align\":\"center\"}},[_c('new-loading-spinner')],1):_vm._e()])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","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!./Loading.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!./Loading.vue?vue&type=script&lang=js\"","<template>\n  <div>\n    <div\n      style=\"height: 100%; min-height: 500px; display: flex\"\n      class=\"d-flex justify-content-center align-items-center mb-1\"\n    >\n      <span\n        v-if=\"loadingStatus === 'loading'\"\n        style=\"text-align: center\"\n      >\n        <new-loading-spinner />\n      </span>\n    </div>\n  </div>\n</template>\n\n<script>\nimport { BSpinner } from 'bootstrap-vue'\nimport NewLoadingSpinner from \"@/views/NewLoadingSpinner.vue\";\n\nexport default {\n  components: {\n    BSpinner,\n    NewLoadingSpinner\n  },\n  props: {\n    loadingStatus: {\n      type: String,\n      default: 'loading',\n    },\n    label: {\n      type: String,\n      default: 'Please Wait',\n    },\n  },\n}\n</script>\n","import { render, staticRenderFns } from \"./Loading.vue?vue&type=template&id=77246907\"\nimport script from \"./Loading.vue?vue&type=script&lang=js\"\nexport * from \"./Loading.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","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./See.vue?vue&type=style&index=0&id=42fdd58d&prod&lang=css\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NewLoadingSpinner.vue?vue&type=style&index=0&id=5db0d5ca&prod&scoped=true&lang=css\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',[(_vm.fetchData)?_c('span',[_c('h1',{staticClass:\" text-center mb-2\"},[_vm._v(\"SCORE CARD\")]),_c('b-row',{staticClass:\"match-height\"},[_c('b-col',{attrs:{\"lg\":\"6\",\"sm\":\"12\"}},[_c('b-card',[_c('See',{attrs:{\"seeData\":_vm.fetchSee},on:{\"see\":_vm.handleSeeEmit}})],1)],1),_c('b-col',{attrs:{\"lg\":\"6\",\"sm\":\"12\"}},[_c('b-card',[_c('Plan',{attrs:{\"planData\":_vm.fetchPlan},on:{\"plan\":_vm.handlePlanEmit}})],1)],1)],1),_c('b-row',{staticClass:\"match-height\"},[_c('b-col',{attrs:{\"lg\":\"6\",\"sm\":\"12\"}},[_c('b-card',[_c('Optimize',{attrs:{\"optimizeData\":_vm.fetchOptimize},on:{\"optimize\":_vm.handleOptimizeEmit}})],1)],1),_c('b-col',{attrs:{\"lg\":\"6\",\"sm\":\"12\"}},[_c('b-card',[_c('Trust',{attrs:{\"trustData\":_vm.fetchTrust},on:{\"trust\":_vm.handleTrustEmit}})],1)],1)],1),_c('div',{staticClass:\"d-flex justify-content-center\"},[_c('b-button',{staticClass:\"w-50\",attrs:{\"variant\":\"primary\"},on:{\"click\":_vm.submit}},[_vm._v(\"Submit\")])],1)],1):_c('span',[_c('Loading')],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n  <div class=\"d-flex flex-column h-100\">\n    <b-row>\n      <b-col>\n        <h1 class=\"ml-1\">SEE</h1>\n      </b-col>\n      <b-col class=\"edit-button-col\">\n        <b-button @click=\"toggleEditing\" variant=\"primary\" class=\"score-card-edit-button\">{{ editing ? 'Save' : 'Edit' }}</b-button>\n      </b-col>\n    </b-row>\n    <b-table\n      responsive\n      :items=\"items\"\n      :fields=\"fields\"\n      class=\"card h-100\"\n      borderless\n    >\n      <template v-slot:cell(before)=\"data\">\n        <div class=\"d-flex\">\n          <b-form-input type=\"number\" class=\"input-border\" v-if=\"data.item.metric_name==='Reporting Time'\" v-model=\"data.item.before\" :readonly=\"!editing\" @blur=\"data.item.before = Math.round(parseFloat(data.item.before.replace(',', '.')))\" />\n          <b-form-radio-group\n            id=\"before\"\n            v-else\n            :disabled=\"!editing\"\n            v-model=\"data.item.before\"\n            :options=\"options\"\n            buttons\n            button-variant=\"outline-primary\"\n          ></b-form-radio-group>\n          <span v-if=\"data.item.metric_name === 'Reporting Time'\" class=\"align-self-center ml-1\">Days</span>\n        </div>\n      </template>\n      <template v-slot:cell(after)=\"data\">\n        <div class=\"d-flex\">\n          <b-form-input type=\"number\" class=\"input-border\" v-if=\"data.item.metric_name==='Reporting Time'\" v-model=\"data.item.after\" :readonly=\"!editing\" @blur=\"data.item.after = Math.round(parseFloat(data.item.after.replace(',', '.')))\" />\n          <b-form-radio-group\n            v-else\n            id=\"after\"\n            :disabled=\"!editing\"\n            v-model=\"data.item.after\"\n            :options=\"options\"\n            buttons\n            button-variant=\"outline-primary\"\n          ></b-form-radio-group>\n          <span v-if=\"data.item.metric_name === 'Reporting Time'\" class=\"align-self-center ml-1\">Days</span>\n        </div>\n      </template>\n    </b-table>\n  </div>\n</template>\n\n<script>\nimport { BTable, BFormInput, BButton, BFormCheckbox, BRow, BCol, BFormRadioGroup } from 'bootstrap-vue';\n\n\nexport default {\n  components: {\n    BTable,\n    BFormInput,\n    BButton,\n    BFormCheckbox,\n    BRow,\n    BCol,\n    BFormRadioGroup\n  },\n  props: {\n    seeData: {\n      type: [Array, Object, Boolean],\n      required: true,\n      default: () => []\n    },\n  },\n  data() {\n    return {\n      fields: [\n        { key: 'metric_name', label: 'Holistic Reporting', thStyle: { width: '76%' }},\n        { key: 'before', label: 'Before', thStyle: { width: '12%' }},\n        { key: 'after', label: 'After', thStyle: { width: '12%' } },\n      ],\n      items: [],\n      editing: false,\n      options: [\n        { value: true, text: 'Yes', icon: 'CheckCircleIcon' },\n        { value: false, text: 'No', icon: 'XIcon' },\n      ],\n    }\n  },\n  methods:{\n    toggleEditing() {\n      this.editing = !this.editing;\n      if (!this.editing) { \n        this.$emit('see', this.items);\n      }\n    },\n  },\n  watch: {\n    seeData: {\n      handler(newValue) {\n        if (Array.isArray(newValue)) {\n          this.items = [...newValue];\n        }\n      },\n      deep: true, \n      immediate: true,\n    },\n  },\n}\n</script>\n\n\n<style >\n.edit-button-col {\n  display: flex;\n  justify-content: flex-end;\n}\n.score-card-edit-button {\n  width: 100px;\n  margin-bottom: 1rem;\n}\n.input-border{\n  outline: 1px solid #ced4da;\n  width: 100px;\n}\n.input-border:focus{\n  outline: unset;\n}\n\n#before span , #after span{\n  color: white !important ;\n}\n\n.btn-outline-primary:not(:disabled).active,\n.btn-outline-primary:disabled.active {\n  background-color: blueviolet !important;\n  border-color: blueviolet !important;\n}\n</style>","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!./See.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!./See.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./See.vue?vue&type=template&id=42fdd58d\"\nimport script from \"./See.vue?vue&type=script&lang=js\"\nexport * from \"./See.vue?vue&type=script&lang=js\"\nimport style0 from \"./See.vue?vue&type=style&index=0&id=42fdd58d&prod&lang=css\"\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('div',{staticClass:\"d-flex flex-column h-100\"},[_c('b-row',[_c('b-col',[_c('h1',{staticClass:\"ml-1\"},[_vm._v(\"SEE\")])]),_c('b-col',{staticClass:\"edit-button-col\"},[_c('b-button',{staticClass:\"score-card-edit-button\",attrs:{\"variant\":\"primary\"},on:{\"click\":_vm.toggleEditing}},[_vm._v(_vm._s(_vm.editing ? 'Save' : 'Edit'))])],1)],1),_c('b-table',{staticClass:\"card h-100\",attrs:{\"responsive\":\"\",\"items\":_vm.items,\"fields\":_vm.fields,\"borderless\":\"\"},scopedSlots:_vm._u([{key:\"cell(before)\",fn:function(data){return [_c('div',{staticClass:\"d-flex\"},[(data.item.metric_name==='Reporting Time')?_c('b-form-input',{staticClass:\"input-border\",attrs:{\"type\":\"number\",\"readonly\":!_vm.editing},on:{\"blur\":function($event){data.item.before = Math.round(parseFloat(data.item.before.replace(',', '.')))}},model:{value:(data.item.before),callback:function ($$v) {_vm.$set(data.item, \"before\", $$v)},expression:\"data.item.before\"}}):_c('b-form-radio-group',{attrs:{\"id\":\"before\",\"disabled\":!_vm.editing,\"options\":_vm.options,\"buttons\":\"\",\"button-variant\":\"outline-primary\"},model:{value:(data.item.before),callback:function ($$v) {_vm.$set(data.item, \"before\", $$v)},expression:\"data.item.before\"}}),(data.item.metric_name === 'Reporting Time')?_c('span',{staticClass:\"align-self-center ml-1\"},[_vm._v(\"Days\")]):_vm._e()],1)]}},{key:\"cell(after)\",fn:function(data){return [_c('div',{staticClass:\"d-flex\"},[(data.item.metric_name==='Reporting Time')?_c('b-form-input',{staticClass:\"input-border\",attrs:{\"type\":\"number\",\"readonly\":!_vm.editing},on:{\"blur\":function($event){data.item.after = Math.round(parseFloat(data.item.after.replace(',', '.')))}},model:{value:(data.item.after),callback:function ($$v) {_vm.$set(data.item, \"after\", $$v)},expression:\"data.item.after\"}}):_c('b-form-radio-group',{attrs:{\"id\":\"after\",\"disabled\":!_vm.editing,\"options\":_vm.options,\"buttons\":\"\",\"button-variant\":\"outline-primary\"},model:{value:(data.item.after),callback:function ($$v) {_vm.$set(data.item, \"after\", $$v)},expression:\"data.item.after\"}}),(data.item.metric_name === 'Reporting Time')?_c('span',{staticClass:\"align-self-center ml-1\"},[_vm._v(\"Days\")]):_vm._e()],1)]}}])})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n    <div class=\"d-flex flex-column h-100\">\n      <b-row>\n      <b-col>\n        <h1 class=\"ml-1\">PLAN</h1>\n      </b-col>\n      <b-col class=\"edit-button-col\">\n        <b-button @click=\"toggleEditing\" variant=\"primary\" class=\"score-card-edit-button\">{{ editing ? 'Save' : 'Edit' }}</b-button>\n      </b-col>\n    </b-row>\n      <b-table\n        responsive\n        :items=\"items\"\n        :fields=\"fields\"\n        class=\"card h-100\"\n        borderless\n      >\n        <template v-slot:cell(before)=\"data\">\n          <div class=\"d-flex\">\n            <b-form-input class=\"input-border\" v-if=\"data.item.metric_name==='Planning Time' || \n            data.item.metric_name==='Channel Investment in Line With KPI' ||\n            data.item.metric_name==='Unit Cost Investment in Line With KPI' ||\n            data.item.metric_name==='Target Audience Relevance'\"\n            v-model=\"data.item.before\" :readonly=\"!editing\" @blur=\"data.item.before = Math.round(parseFloat(data.item.before.replace(',', '.')))\"/>\n            <b-form-radio-group\n            id = \"before\"\n            :disabled=\"!editing\"\n            v-if=\"data.item.metric_name==='Adserver Measurements'\"\n            v-model=\"data.item.before\"\n            :options=\"options\"\n            buttons\n            button-variant=\"outline-primary\"\n          ></b-form-radio-group>            \n            <span v-if=\"data.item.metric_name === 'Planning Time'\" class=\"align-self-center ml-1\">Days</span>\n            <span v-if=\"data.item.metric_name==='Channel Investment in Line With KPI' ||\n            data.item.metric_name==='Unit Cost Investment in Line With KPI' ||\n            data.item.metric_name==='Target Audience Relevance'\" class=\"align-self-center ml-1\">%</span>\n          </div>\n        </template>\n        <template v-slot:cell(after)=\"data\">\n          <div class=\"d-flex\">\n            <b-form-input class=\"input-border\" v-if=\"data.item.metric_name==='Planning Time' || \n            data.item.metric_name==='Channel Investment in Line With KPI' ||\n            data.item.metric_name==='Unit Cost Investment in Line With KPI' ||\n            data.item.metric_name==='Target Audience Relevance'\" v-model=\"data.item.after\" :readonly=\"!editing\"  @blur=\"data.item.after = Math.round(parseFloat(data.item.after.replace(',', '.')))\"/>\n             <b-form-radio-group\n             id=\"after\"\n             :disabled=\"!editing\"\n             v-if=\"data.item.metric_name==='Adserver Measurements'\"\n            v-model=\"data.item.after\"\n            :options=\"options\"\n            buttons\n            button-variant=\"outline-primary\"\n          ></b-form-radio-group>\n            <span v-if=\"data.item.metric_name === 'Planning Time'\" class=\"align-self-center ml-1\">Days</span>\n            <span v-if=\"data.item.metric_name==='Channel Investment in Line With KPI' ||\n            data.item.metric_name==='Unit Cost Investment in Line With KPI' ||\n            data.item.metric_name==='Target Audience Relevance'\" class=\"align-self-center ml-1\">%</span>          \n          </div>      \n        </template>\n      </b-table>\n    </div>\n  </template>\n  \n  <script>\n  import { BTable, BFormInput, BButton, BFormCheckbox, BRow, BCol,BFormRadioGroup } from 'bootstrap-vue';\n  \n  export default {\n    components: {\n      BTable,\n      BFormInput,\n      BButton,\n      BFormCheckbox,\n      BRow,\n      BCol,\n      BFormRadioGroup,\n    },   \n    props: {\n      planData: {\n        type: [Array, Object, Boolean],\n        required: true,\n      },\n    },\n    data() {\n      return {\n        fields: [\n          { key: 'metric_name', label: '', thStyle: { width: '76%' }},\n          { key: 'before', label: 'Before', thStyle: { width: '12%' }},\n          { key: 'after', label: 'After', thStyle: { width: '12%' } },\n        ],\n        items: [],\n        editing: false,\n        options: [\n        { value: true, text: 'Yes', icon: 'CheckCircleIcon' },\n        { value: false, text: 'No', icon: 'XIcon' },\n      ],\n      }\n    },\n    methods:{\n      toggleEditing() {\n        this.editing = !this.editing;\n        if (!this.editing) { \n        this.$emit('plan', this.items);\n      }\n      },\n    },\n    watch: {\n      planData: {\n        handler(newValue) {\n          if (Array.isArray(newValue)) {\n            this.items = [...newValue];\n          }\n        },\n        deep: true, \n        immediate: true,\n      },\n    },\n  }\n  </script>\n  \n","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!./Plan.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!./Plan.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Plan.vue?vue&type=template&id=9ea9961e\"\nimport script from \"./Plan.vue?vue&type=script&lang=js\"\nexport * from \"./Plan.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('div',{staticClass:\"d-flex flex-column h-100\"},[_c('b-row',[_c('b-col',[_c('h1',{staticClass:\"ml-1\"},[_vm._v(\"PLAN\")])]),_c('b-col',{staticClass:\"edit-button-col\"},[_c('b-button',{staticClass:\"score-card-edit-button\",attrs:{\"variant\":\"primary\"},on:{\"click\":_vm.toggleEditing}},[_vm._v(_vm._s(_vm.editing ? 'Save' : 'Edit'))])],1)],1),_c('b-table',{staticClass:\"card h-100\",attrs:{\"responsive\":\"\",\"items\":_vm.items,\"fields\":_vm.fields,\"borderless\":\"\"},scopedSlots:_vm._u([{key:\"cell(before)\",fn:function(data){return [_c('div',{staticClass:\"d-flex\"},[(data.item.metric_name==='Planning Time' || \n        data.item.metric_name==='Channel Investment in Line With KPI' ||\n        data.item.metric_name==='Unit Cost Investment in Line With KPI' ||\n        data.item.metric_name==='Target Audience Relevance')?_c('b-form-input',{staticClass:\"input-border\",attrs:{\"readonly\":!_vm.editing},on:{\"blur\":function($event){data.item.before = Math.round(parseFloat(data.item.before.replace(',', '.')))}},model:{value:(data.item.before),callback:function ($$v) {_vm.$set(data.item, \"before\", $$v)},expression:\"data.item.before\"}}):_vm._e(),(data.item.metric_name==='Adserver Measurements')?_c('b-form-radio-group',{attrs:{\"id\":\"before\",\"disabled\":!_vm.editing,\"options\":_vm.options,\"buttons\":\"\",\"button-variant\":\"outline-primary\"},model:{value:(data.item.before),callback:function ($$v) {_vm.$set(data.item, \"before\", $$v)},expression:\"data.item.before\"}}):_vm._e(),(data.item.metric_name === 'Planning Time')?_c('span',{staticClass:\"align-self-center ml-1\"},[_vm._v(\"Days\")]):_vm._e(),(data.item.metric_name==='Channel Investment in Line With KPI' ||\n        data.item.metric_name==='Unit Cost Investment in Line With KPI' ||\n        data.item.metric_name==='Target Audience Relevance')?_c('span',{staticClass:\"align-self-center ml-1\"},[_vm._v(\"%\")]):_vm._e()],1)]}},{key:\"cell(after)\",fn:function(data){return [_c('div',{staticClass:\"d-flex\"},[(data.item.metric_name==='Planning Time' || \n        data.item.metric_name==='Channel Investment in Line With KPI' ||\n        data.item.metric_name==='Unit Cost Investment in Line With KPI' ||\n        data.item.metric_name==='Target Audience Relevance')?_c('b-form-input',{staticClass:\"input-border\",attrs:{\"readonly\":!_vm.editing},on:{\"blur\":function($event){data.item.after = Math.round(parseFloat(data.item.after.replace(',', '.')))}},model:{value:(data.item.after),callback:function ($$v) {_vm.$set(data.item, \"after\", $$v)},expression:\"data.item.after\"}}):_vm._e(),(data.item.metric_name==='Adserver Measurements')?_c('b-form-radio-group',{attrs:{\"id\":\"after\",\"disabled\":!_vm.editing,\"options\":_vm.options,\"buttons\":\"\",\"button-variant\":\"outline-primary\"},model:{value:(data.item.after),callback:function ($$v) {_vm.$set(data.item, \"after\", $$v)},expression:\"data.item.after\"}}):_vm._e(),(data.item.metric_name === 'Planning Time')?_c('span',{staticClass:\"align-self-center ml-1\"},[_vm._v(\"Days\")]):_vm._e(),(data.item.metric_name==='Channel Investment in Line With KPI' ||\n        data.item.metric_name==='Unit Cost Investment in Line With KPI' ||\n        data.item.metric_name==='Target Audience Relevance')?_c('span',{staticClass:\"align-self-center ml-1\"},[_vm._v(\"%\")]):_vm._e()],1)]}}])})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n    <div class=\"d-flex flex-column h-100\">\n      <b-row>\n      <b-col>\n        <h1 class=\"ml-1\">OPTIMIZE</h1>\n      </b-col>\n      <b-col class=\"edit-button-col\">\n        <b-button @click=\"toggleEditing\" variant=\"primary\" class=\"score-card-edit-button\">{{ editing ? 'Save' : 'Edit' }}</b-button>\n      </b-col>\n    </b-row>\n      <b-table\n        responsive\n        :items=\"items\"\n        :fields=\"fields\"\n        class=\"card h-100\"\n        borderless\n      >\n      <template v-slot:cell(before)=\"data\">\n        <div class=\"d-flex align-items-center\">\n          <b-form-radio-group\n          id = \"before\"\n          :disabled=\"!editing\"\n            v-model=\"data.item.before\"\n            :options=\"options\"\n            buttons\n            button-variant=\"outline-primary\"\n          ></b-form-radio-group>\n        </div>\n      </template>\n      <template v-slot:cell(after)=\"data\">\n        <div class=\"d-flex\">\n          <b-form-radio-group\n          id = \"before\"\n          :disabled=\"!editing\"\n            v-model=\"data.item.after\"\n            :options=\"options\"\n            buttons\n            button-variant=\"outline-primary\"\n          ></b-form-radio-group>\n        </div>      \n      </template>\n      </b-table>\n    </div>\n  </template>\n  \n  <script>\n  import { BTable, BFormInput, BButton, BFormCheckbox, BRow, BCol, BFormRadioGroup } from 'bootstrap-vue';\n  \n  export default {\n    components: {\n      BTable,\n      BFormInput,\n      BButton,\n      BFormCheckbox,\n      BRow,\n      BCol,\n      BFormRadioGroup,\n    },  \n    props: {\n      optimizeData: {\n        type: [Array, Object, Boolean],\n        required: true,\n      },\n    },\n    data() {\n      return {\n        fields: [\n          { key: 'metric_name', label: '', thStyle: { width: '76%' }},\n          { key: 'before', label: 'Before', thStyle: { width: '12%' }},\n          { key: 'after', label: 'After', thStyle: { width: '12%' } },\n        ],\n        items: [],\n        editing: false,\n        options: [\n        { value: true, text: 'Yes', icon: 'CheckCircleIcon' },\n        { value: false, text: 'No', icon: 'XIcon' },\n      ],\n      }\n    },\n    methods:{\n      toggleEditing() {\n        this.editing = !this.editing;\n        if (!this.editing) { \n          this.$emit('optimize', this.items);\n      }\n      },\n    },\n    watch: {\n      optimizeData: {\n        handler(newValue) {\n          if (Array.isArray(newValue)) {\n            this.items = [...newValue];\n          }\n        },\n        deep: true, \n        immediate: true,\n      },\n    },\n  }\n  </script>\n  ","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!./Optimize.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!./Optimize.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Optimize.vue?vue&type=template&id=f5dac83a\"\nimport script from \"./Optimize.vue?vue&type=script&lang=js\"\nexport * from \"./Optimize.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('div',{staticClass:\"d-flex flex-column h-100\"},[_c('b-row',[_c('b-col',[_c('h1',{staticClass:\"ml-1\"},[_vm._v(\"OPTIMIZE\")])]),_c('b-col',{staticClass:\"edit-button-col\"},[_c('b-button',{staticClass:\"score-card-edit-button\",attrs:{\"variant\":\"primary\"},on:{\"click\":_vm.toggleEditing}},[_vm._v(_vm._s(_vm.editing ? 'Save' : 'Edit'))])],1)],1),_c('b-table',{staticClass:\"card h-100\",attrs:{\"responsive\":\"\",\"items\":_vm.items,\"fields\":_vm.fields,\"borderless\":\"\"},scopedSlots:_vm._u([{key:\"cell(before)\",fn:function(data){return [_c('div',{staticClass:\"d-flex align-items-center\"},[_c('b-form-radio-group',{attrs:{\"id\":\"before\",\"disabled\":!_vm.editing,\"options\":_vm.options,\"buttons\":\"\",\"button-variant\":\"outline-primary\"},model:{value:(data.item.before),callback:function ($$v) {_vm.$set(data.item, \"before\", $$v)},expression:\"data.item.before\"}})],1)]}},{key:\"cell(after)\",fn:function(data){return [_c('div',{staticClass:\"d-flex\"},[_c('b-form-radio-group',{attrs:{\"id\":\"before\",\"disabled\":!_vm.editing,\"options\":_vm.options,\"buttons\":\"\",\"button-variant\":\"outline-primary\"},model:{value:(data.item.after),callback:function ($$v) {_vm.$set(data.item, \"after\", $$v)},expression:\"data.item.after\"}})],1)]}}])})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n  <div class=\"d-flex flex-column h-100\">\n    <b-row>\n      <b-col>\n        <h1 class=\"ml-1\">TRUST</h1>\n      </b-col>\n      <b-col class=\"edit-button-col\">\n        <b-button @click=\"toggleEditing\" variant=\"primary\" class=\"score-card-edit-button\">{{ editing ? 'Save' : 'Edit' }}</b-button>\n      </b-col>\n    </b-row>\n    <b-table\n      responsive\n      :items=\"items\"\n      :fields=\"fields\"\n      class=\"card h-100\"\n      borderless\n    >\n      <template v-slot:cell(before)=\"data\">\n        <div class=\"d-flex align-items-center\">\n          <b-form-radio-group\n          id = \"before\"\n            :disabled=\"!editing\"\n            v-model=\"data.item.before\"\n            :options=\"options\"\n            buttons\n            button-variant=\"outline-primary\"\n          ></b-form-radio-group>\n        </div>\n      </template>\n      <template v-slot:cell(after)=\"data\">\n        <div class=\"d-flex\">\n          <b-form-radio-group\n          id = \"before\"\n            :disabled=\"!editing\"\n            v-model=\"data.item.after\"\n            :options=\"options\"\n            buttons\n            button-variant=\"outline-primary\"\n          ></b-form-radio-group>\n        </div>      \n      </template>\n    </b-table>\n  </div>\n</template>\n\n<script>\nimport { BTable, BFormInput, BButton, BFormCheckbox, BRow, BCol, BFormRadioGroup } from 'bootstrap-vue';\nimport { FeatherIcon } from 'vue-feather-icons';\nexport default {\n  components: {\n    BTable,\n    BFormInput,\n    BButton,\n    BFormCheckbox,\n    BRow,\n    BCol,\n    BFormRadioGroup,\n  },  \n  props: {\n    trustData: {\n      type: [Array, Object, Boolean],\n      required: true,\n    },\n  },\n  data() {\n    return {\n      fields: [\n        { key: 'metric_name', label: '', thStyle: { width: '76%' }},\n        { key: 'before', label: 'Before', thStyle: { width: '12%' }},\n        { key: 'after', label: 'After', thStyle: { width: '12%' } },\n      ],\n      items: [],\n      editing: false,\n      options: [\n        { value: true, text: 'Yes', icon: 'CheckCircleIcon' },\n        { value: false, text: 'No', icon: 'XIcon' },\n      ],\n    }\n  },\n  methods:{\n    toggleEditing() {\n      this.editing = !this.editing;\n      if (!this.editing) { \n        this.$emit('trust', this.items);\n      }\n    },\n  },\n  watch: {\n    trustData: {\n      handler(newValue) {\n        if (Array.isArray(newValue)) {\n          this.items = [...newValue];\n        }\n      },\n      deep: true, \n      immediate: true,\n    },\n  },\n}\n</script>\n","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!./Trust.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!./Trust.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Trust.vue?vue&type=template&id=0b479ddf\"\nimport script from \"./Trust.vue?vue&type=script&lang=js\"\nexport * from \"./Trust.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('div',{staticClass:\"d-flex flex-column h-100\"},[_c('b-row',[_c('b-col',[_c('h1',{staticClass:\"ml-1\"},[_vm._v(\"TRUST\")])]),_c('b-col',{staticClass:\"edit-button-col\"},[_c('b-button',{staticClass:\"score-card-edit-button\",attrs:{\"variant\":\"primary\"},on:{\"click\":_vm.toggleEditing}},[_vm._v(_vm._s(_vm.editing ? 'Save' : 'Edit'))])],1)],1),_c('b-table',{staticClass:\"card h-100\",attrs:{\"responsive\":\"\",\"items\":_vm.items,\"fields\":_vm.fields,\"borderless\":\"\"},scopedSlots:_vm._u([{key:\"cell(before)\",fn:function(data){return [_c('div',{staticClass:\"d-flex align-items-center\"},[_c('b-form-radio-group',{attrs:{\"id\":\"before\",\"disabled\":!_vm.editing,\"options\":_vm.options,\"buttons\":\"\",\"button-variant\":\"outline-primary\"},model:{value:(data.item.before),callback:function ($$v) {_vm.$set(data.item, \"before\", $$v)},expression:\"data.item.before\"}})],1)]}},{key:\"cell(after)\",fn:function(data){return [_c('div',{staticClass:\"d-flex\"},[_c('b-form-radio-group',{attrs:{\"id\":\"before\",\"disabled\":!_vm.editing,\"options\":_vm.options,\"buttons\":\"\",\"button-variant\":\"outline-primary\"},model:{value:(data.item.after),callback:function ($$v) {_vm.$set(data.item, \"after\", $$v)},expression:\"data.item.after\"}})],1)]}}])})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n    <section>\n    <span v-if=\"fetchData\">\n        <h1 class=\" text-center mb-2\">SCORE CARD</h1>\n        <b-row class=\"match-height\">\n            <b-col lg=\"6\" sm=\"12\">\n            <b-card>\n                <See @see=\"handleSeeEmit\" :seeData =\"fetchSee\"/>\n            </b-card>\n        </b-col>\n        <b-col lg=\"6\" sm=\"12\">\n            <b-card>\n                <Plan @plan=\"handlePlanEmit\" :planData=\"fetchPlan\"/>\n            </b-card>\n        </b-col>\n    </b-row>\n    <b-row class=\"match-height\">\n        <b-col lg=\"6\" sm=\"12\">\n            <b-card>\n                <Optimize @optimize=\"handleOptimizeEmit\" :optimizeData=\"fetchOptimize\"/>\n            </b-card>    \n        </b-col>\n        <b-col lg=\"6\" sm=\"12\">\n            <b-card>\n                <Trust @trust=\"handleTrustEmit\" :trustData=\"fetchTrust\"/>\n            </b-card>\n        </b-col>\n    </b-row>\n    <div class=\"d-flex justify-content-center\">\n        <b-button @click=\"submit\" variant=\"primary\" class=\"w-50\">Submit</b-button>\n    </div>\n    </span>\n    <span v-else>\n        <Loading />\n    </span>\n</section>\n</template>\n\n<script>\nimport { BRow, BCol, BCard, BButton } from 'bootstrap-vue'\nimport See from '@/views/score-card/See.vue'\nimport Plan from '@/views/score-card/Plan.vue'\nimport Optimize from '@/views/score-card/Optimize.vue'\nimport Trust from '@/views/score-card/Trust.vue'\nimport ToastificationContent from '@core/components/toastification/ToastificationContent.vue'\nimport Loading from \"@/views/Loading.vue\";\n\n\nexport default {\n    components: {\n    BRow,\n    BCol,\n    BCard,\n    BButton,\n    See,\n    Plan,\n    Optimize,\n    Trust,\n    Loading\n\n    },\n    data(){\n        return {\n            see: {},\n            plan: {},\n            optimize: {},\n            trust: {},\n            formData: [],\n            fetchData: null,\n            fetchSee: {},\n            fetchPlan: {},\n            fetchOptimize: {},\n            fetchTrust: {},\n        }\n    },\n    methods:{\n        handleSeeEmit(data){\n            const updatedSee = Object.keys(data).reduce((acc, key) => {\n            acc[key] = { ...data[key], type: 'see' };\n            return acc;\n            }, []);\n            this.see = updatedSee;\n            this.updateFormData();\n        },\n        handlePlanEmit(data){\n            const updatedPlan = Object.keys(data).reduce((acc, key) => {\n            acc[key] = { ...data[key], type: 'plan' };\n            return acc;\n            }, []);\n            this.plan = updatedPlan;\n            this.updateFormData();\n        },\n        handleOptimizeEmit(data){\n            const updatedOptimize = Object.keys(data).reduce((acc, key) => {\n            acc[key] = { ...data[key], type: 'optimize' };\n            return acc;\n            }, []);\n            this.optimize = updatedOptimize;\n            this.updateFormData();\n        },\n        handleTrustEmit(data){\n            const updatedTrust = Object.keys(data).reduce((acc, key) => {\n            acc[key] = { ...data[key], type: 'trust' };\n            return acc;\n            }, []);\n            this.trust = updatedTrust;\n            this.updateFormData();\n        },\n        updateFormData() {\n            const transformData = (data, type) => \n                Object.keys(data).map(key => ({\n                    type: type,\n                    metric_name: data[key].metric_name,\n                    before: data[key].before,\n                    after: data[key].after\n                }));\n\n            this.formData = [\n                ...transformData(this.see, 'see'),\n                ...transformData(this.plan, 'plan'),\n                ...transformData(this.optimize, 'optimize'),\n                ...transformData(this.trust, 'trust')\n            ];\n        },\n        submit () {\n            this.$http.post('/integration/scorecard', this.formData, {\n                params: {\n                    action: 'post'\n                }})\n                .then(response => {\n                    this.$toast({\n                    component: ToastificationContent,\n                    props: {\n                        text: 'Updated successfully.',\n                        title: 'Success',\n                        icon: 'CheckIcon',\n                        variant: 'success'\n                    }\n                    })\n                    console.log(response)\n                })\n                .catch(error => {\n                    this.$toast({\n                    component: ToastificationContent,\n                    props: {\n                        text: 'Failed to Update.',\n                        title: 'Error',\n                        icon: 'CheckIcon',\n                        variant: 'danger'\n                    }\n                    })\n                    console.log(error)\n                })\n        },\n        async getFormData() {\n            try {\n                const response = await this.$http.get('/integration/scorecard', {\n                    params: {\n                        action: 'get'\n                    }\n                });\n                this.fetchData = response.data;\n                if (!this.fetchData || this.fetchData.length === 0) {\n                    return;\n                }\n            } catch (error) {\n                this.noData = true;\n                console.log(error);\n            }\n        },\n        processData(data) {\n            ['see', 'plan', 'optimize', 'trust'].forEach(type => {\n                this.$set(this, `fetch${type.charAt(0).toUpperCase() + type.slice(1)}`, data.filter(item => item.type === type));\n            });\n        },\n    },\n    created() {\n        this.getFormData();\n    },\n    watch: {\n        fetchData: {\n            deep: true,\n            handler(newValue) {\n                if (newValue) {\n                    this.processData(newValue);\n                }\n            }\n        }\n    },\n    mounted() {\n        this.getFormData();\n    }\n}\n</script>\n","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!./Index.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!./Index.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Index.vue?vue&type=template&id=2a3832cb\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.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":""}