<commit_before>﻿module Kitos.ItInterface.Catalog {
    "use strict";

    export interface ICatalogController {
        mainGrid: IKendoGrid<Models.ItSystem.IItInterface>;
        mainGridOptions: IKendoGridOptions<Models.ItSystem.IItInterface>;

        saveGridProfile(): void;
        loadGridProfile(): void;
        clearGridProfile(): void;
        doesGridProfileExist(): boolean;
        clearOptions(): void;
    }

    export class CatalogController implements ICatalogController {
        private storageKey = "it-interface-catalog-options";
        private gridState = this.gridStateService.getService(this.storageKey);
        public mainGrid: IKendoGrid<Models.ItSystem.IItInterface>;
        public mainGridOptions: IKendoGridOptions<Models.ItSystem.IItInterface>;

        private $inject: Array<string> = [
            "$rootScope",
            "$scope",
            "$timeout",
            "$state",
            "$",
            "_",
            "moment",
            "notify",
            "user",
            "gridStateService"
        ];

        constructor(
            private $rootScope: IRootScope,
            private $scope: ng.IScope,
            private $timeout: ng.ITimeoutService,
            private $state: ng.ui.IStateService,
            private $: JQueryStatic,
            private _: ILoDashWithMixins,
            private moment: moment.MomentStatic,
            private notify,
            private user,
            private gridStateService: Services.IGridStateFactory) {
            $rootScope.page.title = "Snitflade - Katalog";

            $scope.$on("kendoWidgetCreated", (event, widget) => {
                // the event is emitted for every widget; if we have multiple<commit_msg>Fixed minification issue with $inject not being static<commit_after>﻿module Kitos.ItInterface.Catalog {
    "use strict";

    export interface ICatalogController {
        mainGrid: IKendoGrid<Models.ItSystem.IItInterface>;
        mainGridOptions: IKendoGridOptions<Models.ItSystem.IItInterface>;

        saveGridProfile(): void;
        loadGridProfile(): void;
        clearGridProfile(): void;
        doesGridProfileExist(): boolean;
        clearOptions(): void;
    }

    export class CatalogController implements ICatalogController {
        private storageKey = "it-interface-catalog-options";
        private gridState = this.gridStateService.getService(this.storageKey);
        public mainGrid: IKendoGrid<Models.ItSystem.IItInterface>;
        public mainGridOptions: IKendoGridOptions<Models.ItSystem.IItInterface>;

        public static $inject: Array<string> = [
            "$rootScope",
            "$scope",
            "$timeout",
            "$state",
            "$",
            "_",
            "moment",
            "notify",
            "user",
            "gridStateService"
        ];

        constructor(
            private $rootScope: IRootScope,
            private $scope: ng.IScope,
            private $timeout: ng.ITimeoutService,
            private $state: ng.ui.IStateService,
            private $: JQueryStatic,
            private _: ILoDashWithMixins,
            private moment: moment.MomentStatic,
            private notify,
            private user,
            private gridStateService: Services.IGridStateFactory) {
            $rootScope.page.title = "Snitflade - Katalog";

            $scope.$on("kendoWidgetCreated", (event, widget) => {
                // the event is emitted for every widget; if we have multiple
{'fraction_non_alphanumeric': 0.09625821193944588, 'fraction_numerical': 0.0, 'mean_word_length': 2.1408071748878923, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 15, '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': '4770026', 'n_tokens_mistral': 897, 'n_tokens_neox': 898, 'n_words': 193}