{"version":3,"sources":["webpack:///resources/js/src/app/components/item/ItemBundle.vue","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?f8ac","webpack:///./resources/js/src/app/components/item/ItemBundle.vue?1e90"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAcA;AAEA,qBAFA;AAIA;AACA;AACA,kBADA;AAEA;AAFA,KADA;AAKA;AACA,kBADA;AAEA;AAFA,KALA;AASA,sBATA;AAUA;AAVA,GAJA;AAiBA,YACA;AACA,uBADA,iCAEA;AACA;AACA;AAJA,GAlBA;AAyBA,WACA;AACA,sBADA,8BACA,IADA,EAEA;AACA;AAEA;AACA;AANA;AA1BA,G;;;;;;;;;;;;ACdA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,6CAA6C;AACxD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB,4DAA4D;AAC7E;AACA,8BAA8B,4BAA4B;AAC1D;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8BAA8B;AAC9B,qBAAqB;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACrDA;AAAA;AAAA;AAAA;AAAyF;AAC3B;AACL;;;AAGzD;AACsG;AACtG,gBAAgB,2GAAU;AAC1B,EAAE,gFAAM;AACR,EAAE,qFAAM;AACR,EAAE,8FAAe;AACjB;AACA;AACA;AACA;;AAEA;;AAEA;AACA,IAAI,KAAU,EAAE,YAiBf;AACD;AACe,gF;;;;;;;;;;;;ACtCf;AAAA;AAAA,wCAAkM,CAAgB,8OAAG,EAAC,C;;;;;;;;;;;;ACAtN;AAAA;AAAA;AAAA;AAAA;AAAA","file":"chunks/ceres-35.js","sourcesContent":["<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","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 }","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","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&\"","export * from \"-!../../../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ItemBundle.vue?vue&type=template&id=4a0735cf&\""],"sourceRoot":""}