UNPKG

ng2-json-editor

Version:

Angular2 component for editing large json documents

126 lines 6.76 kB
/* * This file is part of ng2-json-editor. * Copyright (C) 2016 CERN. * * ng2-json-editor is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of the * License, or (at your option) any later version. * * ng2-json-editor is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. * * You should have received a copy of the GNU General Public License * along with ng2-json-editor; if not, write to the Free Software Foundation, Inc., * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. * In applying this license, CERN does not * waive the privileges and immunities granted to it by virtue of its status * as an Intergovernmental Organization or submit itself to any jurisdiction. */ import './rxjs-operators'; import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { FormsModule } from '@angular/forms'; import { HttpModule } from '@angular/http'; import { TooltipModule } from 'ngx-bootstrap/tooltip'; import { PopoverModule } from 'ngx-bootstrap/popover'; import { CollapseModule } from 'ngx-bootstrap/collapse'; import { BsDropdownModule } from 'ngx-bootstrap/dropdown'; import { PaginationModule } from 'ngx-bootstrap/pagination'; import { ModalModule } from 'ngx-bootstrap/modal'; import { TabsModule } from 'ngx-bootstrap/tabs'; import { TypeaheadModule } from 'ngx-bootstrap/typeahead'; import { SlideToggleModule } from 'ng2-slide-toggle'; import { AddFieldDropdownComponent, AddNestedFieldDropdownComponent } from './add-field-dropdown'; import { AddNewElementButtonComponent } from './add-new-element-button'; import { AnyTypeFieldComponent } from './any-type-field'; import { AutocompleteInputComponent } from './autocomplete-input'; import { ComplexListFieldComponent } from './complex-list-field'; import { EditorPreviewerComponent } from './editor-previewer'; import { SubRecordComponent } from './sub-record'; import { BottomConsoleBadgesComponent } from './bottom-console-badges'; import { FindReplaceComponent } from './find-replace'; import { HtmlViewComponent } from './html-view'; import { JsonEditorComponent } from './json-editor.component'; import { ModalViewComponent } from './modal-view'; import { ObjectFieldComponent } from './object-field'; import { PrimitiveListFieldComponent } from './primitive-list-field'; import { PrimitiveFieldComponent } from './primitive-field'; import { RefFieldComponent } from './ref-field'; import { TableListFieldComponent } from './table-list-field'; import { TableItemFieldComponent } from './table-item-field'; import { TitleDropdownComponent } from './title-dropdown'; import { StringInputComponent } from './string-input'; import { TreeMenuComponent, TreeMenuItemComponent } from './tree-menu'; import { SearchableDropdownComponent } from './searchable-dropdown'; import { ListActionGroupComponent } from './list-action-group'; import { SHARED_PIPES, SHARED_SERVICES, SHARED_DIRECTIVES } from './shared'; import { BottomConsoleComponent, PatchesConsoleTabComponent, ProblemsConsoleTabComponent } from './bottom-console'; import { TextDiffComponent } from './text-diff'; import { PatchActionsComponent } from './patch-actions'; import { AddOrReplacePatchComponent } from './add-or-replace-patch'; var JsonEditorModule = (function () { function JsonEditorModule() { } return JsonEditorModule; }()); export { JsonEditorModule }; JsonEditorModule.decorators = [ { type: NgModule, args: [{ declarations: SHARED_PIPES.concat(SHARED_DIRECTIVES, [ AddFieldDropdownComponent, AddNestedFieldDropdownComponent, AddNewElementButtonComponent, AnyTypeFieldComponent, AutocompleteInputComponent, ComplexListFieldComponent, ObjectFieldComponent, EditorPreviewerComponent, FindReplaceComponent, ModalViewComponent, PrimitiveListFieldComponent, PrimitiveFieldComponent, RefFieldComponent, SearchableDropdownComponent, ListActionGroupComponent, TableListFieldComponent, TableItemFieldComponent, TitleDropdownComponent, TreeMenuItemComponent, TreeMenuComponent, JsonEditorComponent, SubRecordComponent, HtmlViewComponent, BottomConsoleBadgesComponent, BottomConsoleComponent, StringInputComponent, TextDiffComponent, PatchActionsComponent, PatchesConsoleTabComponent, ProblemsConsoleTabComponent, AddOrReplacePatchComponent ]), exports: [JsonEditorComponent], imports: [ TooltipModule.forRoot(), CollapseModule.forRoot(), PopoverModule.forRoot(), BsDropdownModule.forRoot(), PaginationModule.forRoot(), ModalModule.forRoot(), TabsModule.forRoot(), TypeaheadModule.forRoot(), SlideToggleModule, CommonModule, FormsModule, HttpModule ], providers: SHARED_SERVICES },] }, ]; /** @nocollapse */ JsonEditorModule.ctorParameters = function () { return []; }; export { AddFieldDropdownComponent, AddNestedFieldDropdownComponent, AddNewElementButtonComponent, AnyTypeFieldComponent, AutocompleteInputComponent, ComplexListFieldComponent, ObjectFieldComponent, EditorPreviewerComponent, BottomConsoleComponent, FindReplaceComponent, ModalViewComponent, PrimitiveListFieldComponent, PrimitiveFieldComponent, RefFieldComponent, SearchableDropdownComponent, ListActionGroupComponent, TableListFieldComponent, TableItemFieldComponent, TitleDropdownComponent, TreeMenuItemComponent, TreeMenuComponent, JsonEditorComponent, SubRecordComponent, HtmlViewComponent, BottomConsoleBadgesComponent, StringInputComponent, TextDiffComponent, PatchActionsComponent, PatchesConsoleTabComponent, ProblemsConsoleTabComponent, AddOrReplacePatchComponent }; //# sourceMappingURL=json-editor.module.js.map