<commit_before>/*jslint browser: true, undef: true *//*global Ext*/

/**
 * Container for people section's grid and details view.
 *
 * Handles propagating changes to {@link #cfg-selectedPerson} to active {@link SlateAdmin.view.people.details.AbstractDetails details tab}
 */
Ext.define('SlateAdmin.view.people.Manager', {
    extend: 'Ext.container.Container',
    xtype: 'people-manager',
    requires: [
        'SlateAdmin.view.people.Grid'
    ],


    // people-manager config
    config: {
        selectedPerson: null
    },

    /**
     * Reference to the detailCt {@link Ext.container.Container} subomponent
     */
    detailCt: null,

    /**
     * Reference to the detailHeader {@link Ext.panel.Panel} subomponent
     */
    detailHeader: null,

    /**
     * Reference to the detailTabs {@link Ext.tab.Panel} subcomponent
     */
    detailTabs: null,


    // container config
    layout: 'border',
    items: [{
        region: 'center',
        flex: 3,

        xtype: 'people-grid',
    },{
        region: 'east',
        flex: 2,

        xtype: 'container',
        itemId: 'detailCt',
        split: true,
        stateful: true,
        stateId: 'personDetails',
        disabled: true,
        layout: {
            type: 'vbox',
            align: 'stretch'
        },
        items: [{
            xtype: 'component',
            itemId: 'detailHeader',
            cls: 'data-header person-header',
            tpl: [<commit_msg>removed trailing comma<commit_after>/*jslint browser: true, undef: true *//*global Ext*/

/**
 * Container for people section's grid and details view.
 *
 * Handles propagating changes to {@link #cfg-selectedPerson} to active {@link SlateAdmin.view.people.details.AbstractDetails details tab}
 */
Ext.define('SlateAdmin.view.people.Manager', {
    extend: 'Ext.container.Container',
    xtype: 'people-manager',
    requires: [
        'SlateAdmin.view.people.Grid'
    ],


    // people-manager config
    config: {
        selectedPerson: null
    },

    /**
     * Reference to the detailCt {@link Ext.container.Container} subomponent
     */
    detailCt: null,

    /**
     * Reference to the detailHeader {@link Ext.panel.Panel} subomponent
     */
    detailHeader: null,

    /**
     * Reference to the detailTabs {@link Ext.tab.Panel} subcomponent
     */
    detailTabs: null,


    // container config
    layout: 'border',
    items: [{
        region: 'center',
        flex: 3,

        xtype: 'people-grid'
    },{
        region: 'east',
        flex: 2,

        xtype: 'container',
        itemId: 'detailCt',
        split: true,
        stateful: true,
        stateId: 'personDetails',
        disabled: true,
        layout: {
            type: 'vbox',
            align: 'stretch'
        },
        items: [{
            xtype: 'component',
            itemId: 'detailHeader',
            cls: 'data-header person-header',
            tpl: [
{'fraction_non_alphanumeric': 0.1286689419795222, 'fraction_numerical': 0.0013651877133105802, 'mean_word_length': 2.0, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5040489', 'n_tokens_mistral': 878, 'n_tokens_neox': 840, 'n_words': 216}