{"ast":null,"code":"import { computed } from \"vue\";\nimport { useStore } from \"vuex\";\nimport confirmBet from \"@/components/confirmBet.vue\";\nimport chipView from \"@/components/chipView.vue\";\nimport { baccaratData } from \"@/utils/common\";\nexport default {\n name: \"TableBaccarat\",\n components: {\n confirmBet,\n chipView\n },\n props: {\n touch: {\n type: String,\n default: \"\"\n },\n can_bet_big_small: {\n type: [String, Number],\n default: 1\n },\n can_bet_luck_six: {\n type: [String, Number],\n default: 1\n },\n baccarat_type: {\n type: [String, Number],\n default: 0\n },\n bet_amount_msg: {\n type: Object,\n default: () => ({\n ...baccaratData.amount\n })\n },\n winArray: {\n type: Array,\n default: () => []\n },\n downChip: {\n type: Object,\n default: () => ({\n ...baccaratData.amount\n })\n },\n chipArray: {\n type: Object,\n default: () => ({\n ...baccaratData.array\n })\n },\n tableData: {\n type: [Object],\n default: () => {}\n }\n },\n setup(prop, context) {\n const store = useStore();\n const Type = computed(() => store.state.config.$Type);\n const Lang = computed(() => store.state.config.$lang);\n const downBet = (e, type) => {\n context.emit(\"downBet\", e, type);\n };\n const confirmChip = () => {\n context.emit(\"confirmChip\");\n };\n const cancelChip = () => {\n context.emit(\"cancelChip\");\n };\n return {\n Type,\n Lang,\n downBet,\n confirmChip,\n cancelChip\n };\n }\n};","map":{"version":3,"names":["computed","useStore","confirmBet","chipView","baccaratData","name","components","props","touch","type","String","default","can_bet_big_small","Number","can_bet_luck_six","baccarat_type","bet_amount_msg","Object","amount","winArray","Array","downChip","chipArray","array","tableData","setup","prop","context","store","Type","state","config","$Type","Lang","$lang","downBet","e","emit","confirmChip","cancelChip"],"sources":["/Users/li/Desktop/work/work2/OG/GamePortrait/src/components/PlayTable/TableBaccarat.vue"],"sourcesContent":["\n\n\n\n"],"mappings":"AAgLA,SAASA,QAAO,QAAS,KAAI;AAC7B,SAASC,QAAO,QAAS,MAAK;AAC9B,OAAOC,UAAS,MAAO,6BAA4B;AACnD,OAAOC,QAAO,MAAO,2BAA0B;AAC/C,SAASC,YAA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