{"code":"import { defineComponent } from \"vue\";\nlet closeCallBack = () => { };\nexport default defineComponent({\n    emits: [\"close\", \"clickMask\"],\n    data() {\n        return {\n            isShow: false,\n            isOpen: false\n        };\n    },\n    props: {\n        maskClick: {\n            type: Boolean,\n            default: true\n        },\n    },\n    watch: {\n        // 设置show = true 时，如果没有 open 需要设置为 open\n        isShow: {\n            handler(isShow = null) {\n                // uni.__f__('log','at uni_modules/uni-popup/components/uni-popup/uni-popup.uvue:30',\"isShow\",isShow)\n                if (isShow && this.isOpen == false) {\n                    this.isOpen = true;\n                }\n            },\n            immediate: true\n        },\n        // 设置isOpen = true 时，如果没有 isShow 需要设置为 isShow\n        isOpen: {\n            handler(isOpen = null) {\n                // uni.__f__('log','at uni_modules/uni-popup/components/uni-popup/uni-popup.uvue:40',\"isOpen\",isOpen)\n                if (isOpen && this.isShow == false) {\n                    this.isShow = true;\n                }\n            },\n            immediate: true\n        }\n    },\n    methods: {\n        open() {\n            // ...funs : CloseCallBack[]\n            // if(funs.length > 0){\n            //   closeCallBack = funs[0]\n            // }\n            this.isOpen = true;\n        },\n        clickMask() {\n            if (this.maskClick == true) {\n                this.$emit('clickMask');\n                this.close();\n            }\n        },\n        close() {\n            this.isOpen = false;\n            this.$emit('close');\n            closeCallBack();\n        },\n        hiden() {\n            this.isShow = false;\n        },\n        show() {\n            this.isShow = true;\n        }\n    }\n});\n//# sourceMappingURL=C:/Users/lj/Desktop/121/contract-front/111/uni_modules/uni-popup/components/uni-popup/uni-popup.uvue?vue&type=script&lang.uts.js.map","references":[],"uniExtApis":[],"map":"{\"version\":3,\"file\":\"uni-popup.uvue?vue&type=script&lang.uts.js\",\"sourceRoot\":\"\",\"sources\":[\"uni-popup.uvue?vue&type=script&lang.uts\"],\"names\":[],\"mappings\":\";AAEE,IAAI,aAAa,GAAiB,QAAa,CAAC,CAAC;AACjD,+BAAe;IACb,KAAK,EAAC,CAAC,OAAO,EAAC,WAAW,CAAC;IAC3B,IAAI;QACF,OAAO;YACL,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