<commit_before>import { N_ } from '../../../../../i18n';

export default {
    name: "inventories.edit.inventory_sources",
    url: "/inventory_sources?{inventory_source_search:queryset}",
    params: {
        inventory_source_search: {
            value: {
                page_size: "20",
                order_by: "name"
            },
            dynamic: true,
            squash: ""
        }
    },
    data: {
        socket: {
            groups: {
                jobs: ["status_changed"]
            }
        }
    },
    ncyBreadcrumb: {
        parent: "inventories.edit",
        label: N_("SOURCES")
    },
    views: {
        'related': {
            templateProvider: function(SourcesListDefinition, generateList) {
                let list = _.cloneDeep(SourcesListDefinition);
                let html = generateList.build({
                    list: list,
                    mode: 'edit'
                });
                return html;
            },<commit_msg>Hide manual inventory sources from the source list<commit_after>import { N_ } from '../../../../../i18n';

export default {
    name: "inventories.edit.inventory_sources",
    url: "/inventory_sources?{inventory_source_search:queryset}",
    params: {
        inventory_source_search: {
            value: {
                page_size: "20",
                order_by: "name",
                not__source: ""
            },
            dynamic: true,
            squash: ""
        }
    },
    data: {
        socket: {
            groups: {
                jobs: ["status_changed"]
            }
        }
    },
    ncyBreadcrumb: {
        parent: "inventories.edit",
        label: N_("SOURCES")
    },
    views: {
        'related': {
            templateProvider: function(SourcesListDefinition, generateList) {
                let list = _.cloneDeep(SourcesListDefinition);
                let html = generateList.build({
                    list: list,
                    mode: 'edit'
                });
                return html;
            },
{'fraction_non_alphanumeric': 0.12133072407045009, 'fraction_numerical': 0.003913894324853229, 'mean_word_length': 1.2926008968609866, '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': '1895571', 'n_tokens_mistral': 564, 'n_tokens_neox': 540, 'n_words': 102}