{"version":3,"sources":["webpack:///./resources/js/src/app/components/item/ItemBundle.vue?0669","webpack:///resources/js/src/app/components/item/ItemBundle.vue","webpack:///./resources/js/src/app/components/item/ItemBundle.vue?65c1","webpack:///./resources/js/src/app/components/item/ItemBundle.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","showItemBundleItems","staticClass","_v","_s","$translate","_l","bundleComponents","item","class","paddingClasses","style","paddingInlineStyles","quantity","attrs","href","_f","data","getBundleInnerText","_t","_withStripped","component","options","__file"],"mappings":"kGAAA,IAAIA,EAAS,WACX,IAAIC,EAAMC,KACNC,EAAKF,EAAIG,eACTC,EAAKJ,EAAIK,MAAMD,IAAMF,EACzB,OAAOE,EAAG,MAAO,CACfJ,EAAIM,oBACAF,EACE,MACA,CAAEG,YAAa,+BACf,CACEH,EAAG,SAAU,CACXJ,EAAIQ,GACFR,EAAIS,GAAGT,EAAIU,WAAW,yCAG1BV,EAAIQ,GAAG,KACPR,EAAIW,GAAGX,EAAIY,kBAAkB,SAASC,GACpC,OAAOT,EACL,MACA,CAAEU,MAAOd,EAAIe,eAAgBC,MAAOhB,EAAIiB,qBACxC,CACEb,EAAG,OAAQ,CAAEG,YAAa,cAAgB,CACxCP,EAAIQ,GAAGR,EAAIS,GAAGI,EAAKK,UAAY,QAEjClB,EAAIQ,GAAG,KACPJ,EACE,IACA,CACEG,YAAa,kBACbY,MAAO,CAAEC,KAAMpB,EAAIqB,GAAG,UAAPrB,CAAkBa,EAAKS,QAExC,CACEtB,EAAIQ,GACF,IACER,EAAIS,GACFT,EAAIqB,GAAG,WAAPrB,CACEA,EAAIuB,mBAAmBV,EAAKS,QAGhC,aAQhB,GAEFlB,EAAG,MAAO,CAACJ,EAAIwB,GAAG,YAAa,MAIvCzB,EAAO0B,eAAgB,ECvCvB,ICdkN,EDclN,CAEE,KAAF,cAEE,MAAF,CACI,eAAJ,CACM,KAAN,OACM,QAAN,MAEI,oBAAJ,CACM,KAAN,OACM,QAAN,MAEI,WAAJ,OACI,iBAAJ,OAGE,SACF,CACI,oBADJ,WAGM,OAAN,oDAIE,QACF,CACI,mBADJ,SACA,GAIM,OAFA,EAAN,0BAEA,K,OEtCIC,EAAY,YACd,EACA3B,EH2CoB,IGzCpB,EACA,KACA,KACA,MAuBF2B,EAAUC,QAAQC,OAAS,sDACZ,UAAAF,E","file":"chunks/ceres-client-35.min.js","sourcesContent":["var render = function() {\n  var _vm = this\n  var _h = _vm.$createElement\n  var _c = _vm._self._c || _h\n  return _c(\"div\", [\n    _vm.showItemBundleItems\n      ? _c(\n          \"div\",\n          { staticClass: \"small font-weight-bold mb-3\" },\n          [\n            _c(\"strong\", [\n              _vm._v(\n                _vm._s(_vm.$translate(\"Ceres::Template.itemBundleContent\"))\n              )\n            ]),\n            _vm._v(\" \"),\n            _vm._l(_vm.bundleComponents, function(item) {\n              return _c(\n                \"div\",\n                { class: _vm.paddingClasses, style: _vm.paddingInlineStyles },\n                [\n                  _c(\"span\", { staticClass: \"text-muted\" }, [\n                    _vm._v(_vm._s(item.quantity) + \" x\")\n                  ]),\n                  _vm._v(\" \"),\n                  _c(\n                    \"a\",\n                    {\n                      staticClass: \"text-appearance\",\n                      attrs: { href: _vm._f(\"itemURL\")(item.data) }\n                    },\n                    [\n                      _vm._v(\n                        \" \" +\n                          _vm._s(\n                            _vm._f(\"itemName\")(\n                              _vm.getBundleInnerText(item.data)\n                            )\n                          ) +\n                          \" \"\n                      )\n                    ]\n                  )\n                ]\n              )\n            })\n          ],\n          2\n        )\n      : _c(\"div\", [_vm._t(\"default\")], 2)\n  ])\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","<template>\n    <div>\n        <div class=\"small font-weight-bold mb-3\" v-if=\"showItemBundleItems\">\n            <strong>{{ $translate(\"Ceres::Template.itemBundleContent\") }}</strong>\n            <div v-for=\"item in bundleComponents\" :class=\"paddingClasses\" :style=\"paddingInlineStyles\">\n                <span class=\"text-muted\">{{ item.quantity }} x</span>\n                <a class=\"text-appearance\" :href=\"item.data | itemURL\"> {{ getBundleInnerText(item.data) | itemName }} </a>\n            </div>\n        </div>\n        <div v-else><slot></slot></div>\n    </div>\n</template>\n\n<script>\nexport default {\n\n    name: \"item-bundle\",\n\n    props: {\n        paddingClasses: {\n            type: String,\n            default: null\n        },\n        paddingInlineStyles: {\n            type: String,\n            default: null\n        },\n        bundleType: String,\n        bundleComponents: Array\n    },\n    \n    computed:\n    {\n        showItemBundleItems()\n        {\n            return App.bundleSetting !== 1 && this.bundleType === \"bundle\";\n        }\n    },\n\n    methods:\n    {\n        getBundleInnerText(item)\n        {\n            item.variation.bundleType = null;\n\n            return item;\n        }\n    }\n}\n</script>\n","import mod from \"-!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ItemBundle.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ItemBundle.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ItemBundle.vue?vue&type=template&id=4a0735cf&\"\nimport script from \"./ItemBundle.vue?vue&type=script&lang=js&\"\nexport * from \"./ItemBundle.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\n/* hot reload */\nif (module.hot) {\n  var api = require(\"/home/runner/work/plugin-ceres/plugin-ceres/node_modules/vue-hot-reload-api/dist/index.js\")\n  api.install(require('vue'))\n  if (api.compatible) {\n    module.hot.accept()\n    if (!api.isRecorded('4a0735cf')) {\n      api.createRecord('4a0735cf', component.options)\n    } else {\n      api.reload('4a0735cf', component.options)\n    }\n    module.hot.accept(\"./ItemBundle.vue?vue&type=template&id=4a0735cf&\", function () {\n      api.rerender('4a0735cf', {\n        render: render,\n        staticRenderFns: staticRenderFns\n      })\n    })\n  }\n}\ncomponent.options.__file = \"resources/js/src/app/components/item/ItemBundle.vue\"\nexport default component.exports"],"sourceRoot":""}