{"version":3,"file":"syncfusion-ej2-angular-blockeditor.mjs","sources":["../../src/blockeditor/blockeditor.component.ts","../../src/blockeditor/blockeditor.module.ts","../../src/blockeditor/blockeditor-all.module.ts","../../syncfusion-ej2-angular-blockeditor.ts"],"sourcesContent":["import { Component, ElementRef, ViewContainerRef, Renderer2, Injector, ChangeDetectionStrategy, QueryList, ValueProvider, ContentChild } from '@angular/core';\nimport { ComponentBase, ComponentMixins, IComponentBase, applyMixins, PropertyCollectionInfo, setValue } from '@syncfusion/ej2-angular-base';\nimport { BlockEditor } from '@syncfusion/ej2-blockeditor';\n\n\n\nexport const inputs: string[] = ['backgroundColorSettings','blockActionMenuSettings','blocks','codeBlockSettings','commandMenuSettings','contextMenuSettings','cssClass','enableDragAndDrop','enableHtmlEncode','enableHtmlSanitizer','enablePersistence','enableRtl','fontColorSettings','height','imageBlockSettings','inlineToolbarSettings','keyConfig','labelSettings','locale','pasteCleanupSettings','readOnly','transformSettings','undoRedoStack','users','width'];\nexport const outputs: string[] = ['afterPasteCleanup','beforeFileUpload','beforePasteCleanup','blockChanged','blockDragStart','blockDragging','blockDropped','blur','created','fileUploadFailed','fileUploadSuccess','fileUploading','focus','selectionChanged','blocksChange'];\nexport const twoWays: string[] = ['blocks'];\n\n/**\n * Represents the Essential JS 2 Angular BlockEditor Component.\n * ```html\n * <ejs-blockeditor></ejs-blockeditor>\n * ```\n */\n@Component({\n    selector: '[ejs-blockeditor], ejs-blockeditor',\n    inputs: inputs,\n    outputs: outputs,\n    template: `<ng-content ></ng-content>`,\n    changeDetection: ChangeDetectionStrategy.OnPush,\n    queries: {\n        \n    }\n})\n@ComponentMixins([ComponentBase])\nexport class BlockEditorComponent extends BlockEditor implements IComponentBase {\n    public containerContext : any;\n    public tagObjects: any;\n\tafterPasteCleanup: any;\n\tbeforeFileUpload: any;\n\tbeforePasteCleanup: any;\n\tblockChanged: any;\n\tblockDragStart: any;\n\tblockDragging: any;\n\tblockDropped: any;\n\tblur: any;\n\tcreated: any;\n\tfileUploadFailed: any;\n\tfileUploadSuccess: any;\n\tfileUploading: any;\n\tfocus: any;\n\tselectionChanged: any;\n\tpublic blocksChange: any;\n\n    public tags: string[] = [''];\n\n    constructor(private ngEle: ElementRef, private srenderer: Renderer2, private viewContainerRef:ViewContainerRef, private injector: Injector) {\n        super();\n        this.element = this.ngEle.nativeElement;\n        this.injectedModules = this.injectedModules || [];\n\n        this.registerEvents(outputs);\n        this.addTwoWay.call(this, twoWays);\n        setValue('currentInstance', this, this.viewContainerRef);\n        this.containerContext  = new ComponentBase();\n    }\n\n    public ngOnInit() {\n        this.containerContext.ngOnInit(this);\n    }\n\n    public ngAfterViewInit(): void {\n        this.containerContext.ngAfterViewInit(this);\n    }\n\n    public ngOnDestroy(): void {\n        this.containerContext.ngOnDestroy(this);\n    }\n\n    public ngAfterContentChecked(): void {\n        \n        this.containerContext.ngAfterContentChecked(this);\n    }\n\n    public registerEvents: (eventList: string[]) => void;\n    public addTwoWay: (propList: string[]) => void;\n}\n\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { BlockEditorComponent } from './blockeditor.component';\n\n/**\n * NgModule definition for the BlockEditor component.\n */\n@NgModule({\n    imports: [CommonModule],\n    declarations: [\n        BlockEditorComponent\n    ],\n    exports: [\n        BlockEditorComponent\n    ]\n})\nexport class BlockEditorModule { }","import { NgModule, ValueProvider } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { BlockEditorComponent } from './blockeditor.component';\nimport { BlockEditorModule } from './blockeditor.module';\n\n\n\n\n\n/**\n * NgModule definition for the BlockEditor component with providers.\n */\n@NgModule({\n    imports: [CommonModule, BlockEditorModule],\n    exports: [\n        BlockEditorModule\n    ],\n    providers:[\n        \n    ]\n})\nexport class BlockEditorAllModule { }","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;AAMO,MAAM,MAAM,GAAa,CAAC,yBAAyB,EAAC,yBAAyB,EAAC,QAAQ,E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