{"size": 1085, "ext": "js", "max_stars_repo_path": "yl_welore/dist/action-sheet/index.js", "max_stars_repo_name": "huzhiwu1/weiquan", "max_stars_repo_stars_event_min_datetime": "2019-11-16T07:59:49.000Z", "max_stars_repo_stars_event_max_datetime": "2019-11-16T07:59:49.000Z", "max_issues_repo_path": "yl_welore/dist/action-sheet/index.js", "max_issues_repo_name": "huzhiwu1/weiquan", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "yl_welore/dist/action-sheet/index.js", "max_forks_repo_name": "huzhiwu1/weiquan", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 23.5869565217, "max_line_length": 87, "alphanum_fraction": 0.4055299539}
Component({
    externalClasses: [ "i-class", "i-class-mask", "i-class-header" ],
    options: {
        multipleSlots: !0
    },
    properties: {
        visible: {
            type: Boolean,
            value: !1
        },
        maskClosable: {
            type: Boolean,
            value: !0
        },
        showCancel: {
            type: Boolean,
            value: !1
        },
        cancelText: {
            type: String,
            value: "取消"
        },
        actions: {
            type: Array,
            value: []
        },
        is_home: {
            type: String,
            value: ""
        }
    },
    methods: {
        handleClickMask: function() {
            this.data.maskClosable && this.handleClickCancel();
        },
        handleClickItem: function(e) {
            var a = e.currentTarget, l = ((void 0 === a ? {} : a).dataset || {}).index;
            this.triggerEvent("click", {
                index: l
            });
        },
        handleClickCancel: function() {
            this.triggerEvent("cancel");
        }
    }
});