{"size": 4741, "ext": "js", "max_stars_repo_path": "public/glance/perspective/DialogPortrait.js", "max_stars_repo_name": "CiscoDevNet/Glance", "max_stars_repo_stars_event_min_datetime": "2019-07-15T21:55:21.000Z", "max_stars_repo_stars_event_max_datetime": "2019-08-23T17:41:39.000Z", "max_issues_repo_path": "public/glance/perspective/DialogPortrait.js", "max_issues_repo_name": "CiscoDevNet/Glance", "max_issues_repo_issues_event_min_datetime": "2021-06-18T02:33:06.000Z", "max_issues_repo_issues_event_max_datetime": "2021-06-21T02:45:21.000Z", "max_forks_repo_path": "public/glance/perspective/DialogPortrait.js", "max_forks_repo_name": "CiscoDevNet/Glance", "max_forks_repo_forks_event_min_datetime": "2021-08-20T10:41:27.000Z", "max_forks_repo_forks_event_max_datetime": "2022-01-11T22:27:59.000Z"}
{"max_stars_count": 2, "max_issues_count": 1, "max_forks_count": 2, "avg_line_length": 40.8706896552, "max_line_length": 135, "alphanum_fraction": 0.343176545}
(function(nx) {
    var EXPORT = nx.define("glance.perspective.DialogPortrait", glance.common.Dialog, {
        view: {
            cssclass: "glance-dialog-portrait category-{model.category} routable-{routable} isme-{model.isme} isroute-{model.isroute}",
            extend: {
                body: {
                    content: [{
                        name: "title",
                        cssclass: "title"
                    }, {
                        name: "portrait",
                        type: "nx.lib.component.CentralizedImage",
                        cssclass: "portrait"
                    }, {
                        name: "subtitle",
                        cssclass: "subtitle"
                    }, {
                        name: "content",
                        cssclass: "content"
                    }, {
                        cssclass: "button button-default button-route button-route-true",
                        content: "Navigate",
                        capture: {
                            tap: function(sender) {
                                this.fire("navigate", true);
                            }
                        }
                    }, {
                        cssclass: "button button-route button-route-false",
                        content: "Stop Navigating",
                        capture: {
                            tap: function() {
                                this.fire("navigate", false);
                            }
                        }
                    }, {
                        cssclass: "button",
                        content: "Close Window",
                        capture: {
                            tap: function() {
                                this.fire("close", false);
                            }
                        }
                    }]
                }
            }
        },
        statics: {
            CSS: nx.util.csssheet.create({
                ".glance-dialog-portrait > .body > .title": {
                    "padding": ".4em .5em .1em 3.5em",
                    "font-size": "2em",
                    "color": "black",
                    "background": "white",
                    "border-bottom": "1px solid #f1f1f1"
                },
                ".glance-dialog-portrait > .body > .portrait": {
                    "position": "absolute",
                    "left": "0",
                    "top": "0",
                    "margin": "1em",
                    "width": "4em",
                    "height": "4em",
                    "border": ".2em solid #fff",
                    "border-radius": "50%"
                },
                ".glance-dialog-portrait > .body > .subtitle": {
                    "padding": ".5em .5em .5em 7em",
                    "color": "#f1f1f1"
                },
                ".glance-dialog-portrait > .body > .content": {
                    "padding": "1em"
                },
                ".glance-dialog-portrait > .body > .content > bullet": {
                    "color": "#f1f1f1",
                    "font-weight": "bold"
                },
                ".glance-dialog-portrait > .body > .button": {
                    "text-align": "center",
                    "cursor": "normal",
                    "font-size": "1.2em",
                    "margin": "1em",
                    "padding": ".2em",
                    "color": "black",
                    "border": "1px solid #f1f1f1",
                    "border-radius": ".3em",
                    "cursor": "default"
                },
                ".glance-dialog-portrait.routable-false > .body > .button-route": {
                    "display": "none"
                },
                ".glance-dialog-portrait.isme-true > .body > .button-route": {
                    "display": "none"
                },
                ".glance-dialog-portrait:not(.isroute-false) > .body > .button-route-true": {
                    "display": "none"
                },
                ".glance-dialog-portrait.isroute-false > .body > .button-route-false": {
                    "display": "none"
                },
                ".glance-dialog-portrait > .body > .button.button-default": {
                    "color": "#333",
                    "background": "#f7f7f7",
                    "border": "1px solid #f7f7f7"
                },
                ".glance-dialog-portrait > .body > .button.button-default.disabled": {
                    "visibility": "hidden",
                    "color": "#f1f1f1",
                    "background": "white",
                    "border": "1px solid transparent"
                }
            })
        }
    });
})(nx);
