@firestitch/text-editor 15.0.0 → 16.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (23) hide show
  1. package/app/components/text-editor/text-editor.component.d.ts +1 -1
  2. package/app/modules/ngx-monaco-editor/diff-editor.component.d.ts +1 -1
  3. package/app/modules/ngx-monaco-editor/editor.component.d.ts +1 -1
  4. package/esm2022/app/components/text-editor/text-editor.component.mjs +150 -0
  5. package/{esm2020 → esm2022}/app/fs-text-editor.module.mjs +9 -9
  6. package/esm2022/app/modules/ngx-monaco-editor/base-editor.mjs +82 -0
  7. package/esm2022/app/modules/ngx-monaco-editor/diff-editor.component.mjs +80 -0
  8. package/esm2022/app/modules/ngx-monaco-editor/editor.component.mjs +108 -0
  9. package/{esm2020 → esm2022}/app/modules/ngx-monaco-editor/editor.module.mjs +7 -7
  10. package/{fesm2020 → fesm2022}/firestitch-text-editor.mjs +59 -45
  11. package/{fesm2020 → fesm2022}/firestitch-text-editor.mjs.map +1 -1
  12. package/package.json +5 -11
  13. package/esm2020/app/components/text-editor/text-editor.component.mjs +0 -146
  14. package/esm2020/app/modules/ngx-monaco-editor/base-editor.mjs +0 -77
  15. package/esm2020/app/modules/ngx-monaco-editor/diff-editor.component.mjs +0 -77
  16. package/esm2020/app/modules/ngx-monaco-editor/editor.component.mjs +0 -106
  17. package/fesm2015/firestitch-text-editor.mjs +0 -471
  18. package/fesm2015/firestitch-text-editor.mjs.map +0 -1
  19. /package/{esm2020 → esm2022}/app/interfaces/config.interface.mjs +0 -0
  20. /package/{esm2020 → esm2022}/app/modules/ngx-monaco-editor/config.mjs +0 -0
  21. /package/{esm2020 → esm2022}/app/modules/ngx-monaco-editor/types.mjs +0 -0
  22. /package/{esm2020 → esm2022}/firestitch-text-editor.mjs +0 -0
  23. /package/{esm2020 → esm2022}/public_api.mjs +0 -0
@@ -1,471 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { InjectionToken, EventEmitter, Component, Inject, ViewChild, Output, forwardRef, Input, NgModule } from '@angular/core';
3
- import { DOCUMENT, CommonModule } from '@angular/common';
4
- import * as i2 from '@angular/forms';
5
- import { NG_VALUE_ACCESSOR, FormsModule } from '@angular/forms';
6
- import { fromEvent } from 'rxjs';
7
-
8
- const NGX_MONACO_EDITOR_CONFIG = new InjectionToken('NGX_MONACO_EDITOR_CONFIG');
9
-
10
- let loadedMonaco = false;
11
- let loadPromise;
12
- class BaseEditor {
13
- constructor(config) {
14
- this.config = config;
15
- this.onInit = new EventEmitter();
16
- }
17
- ngAfterViewInit() {
18
- if (loadedMonaco) {
19
- // Wait until monaco editor is available
20
- loadPromise.then(() => {
21
- this.initMonaco(this._options);
22
- });
23
- }
24
- else {
25
- loadedMonaco = true;
26
- loadPromise = new Promise((resolve) => {
27
- const baseUrl = `${this.config.baseUrl || './assets'}/monaco-editor/min/vs`;
28
- if (typeof (window.monaco) === 'object') {
29
- resolve();
30
- return;
31
- }
32
- const onGotAmdLoader = () => {
33
- // Load monaco
34
- window.require.config({ paths: { vs: `${baseUrl}` } });
35
- window.require(['vs/editor/editor.main'], () => {
36
- if (typeof this.config.onMonacoLoad === 'function') {
37
- this.config.onMonacoLoad();
38
- }
39
- this.initMonaco(this._options);
40
- resolve();
41
- });
42
- };
43
- // Load AMD loader if necessary
44
- if (!window.require) {
45
- const loaderScript = document.createElement('script');
46
- loaderScript.type = 'text/javascript';
47
- loaderScript.src = `${baseUrl}/loader.js`;
48
- loaderScript.addEventListener('load', onGotAmdLoader);
49
- document.body.appendChild(loaderScript);
50
- }
51
- else {
52
- onGotAmdLoader();
53
- }
54
- });
55
- }
56
- }
57
- ngOnDestroy() {
58
- if (this._windowResizeSubscription) {
59
- this._windowResizeSubscription.unsubscribe();
60
- }
61
- if (this._editor) {
62
- this._editor.dispose();
63
- this._editor = undefined;
64
- }
65
- }
66
- }
67
- BaseEditor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BaseEditor, deps: [{ token: NGX_MONACO_EDITOR_CONFIG }], target: i0.ɵɵFactoryTarget.Component });
68
- BaseEditor.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: BaseEditor, selector: "ng-component", outputs: { onInit: "onInit" }, viewQueries: [{ propertyName: "_editorContainer", first: true, predicate: ["editorContainer"], descendants: true, static: true }], ngImport: i0, template: '', isInline: true });
69
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BaseEditor, decorators: [{
70
- type: Component,
71
- args: [{
72
- template: '',
73
- }]
74
- }], ctorParameters: function () {
75
- return [{ type: undefined, decorators: [{
76
- type: Inject,
77
- args: [NGX_MONACO_EDITOR_CONFIG]
78
- }] }];
79
- }, propDecorators: { _editorContainer: [{
80
- type: ViewChild,
81
- args: ['editorContainer', { static: true }]
82
- }], onInit: [{
83
- type: Output
84
- }] } });
85
-
86
- class EditorComponent extends BaseEditor {
87
- set options(options) {
88
- this._options = Object.assign(Object.assign({}, this.config.defaultOptions), options);
89
- if (this._editor) {
90
- this._editor.dispose();
91
- this.initMonaco(options);
92
- }
93
- }
94
- get options() {
95
- return this._options;
96
- }
97
- set model(model) {
98
- this.options.model = model;
99
- if (this._editor) {
100
- this._editor.dispose();
101
- this.initMonaco(this.options);
102
- }
103
- }
104
- constructor(zone, editorConfig) {
105
- super(editorConfig);
106
- this.zone = zone;
107
- this.editorConfig = editorConfig;
108
- this._value = '';
109
- this.propagateChange = (_) => { };
110
- this.onTouched = () => { };
111
- }
112
- writeValue(value) {
113
- this._value = value || '';
114
- // Fix for value change while dispose in process.
115
- setTimeout(() => {
116
- if (this._editor && !this.options.model) {
117
- this._editor.setValue(this._value);
118
- }
119
- });
120
- }
121
- registerOnChange(fn) {
122
- this.propagateChange = fn;
123
- }
124
- registerOnTouched(fn) {
125
- this.onTouched = fn;
126
- }
127
- initMonaco(options) {
128
- const hasModel = !!options.model;
129
- if (hasModel) {
130
- const model = monaco.editor.getModel(options.model.uri || '');
131
- if (model) {
132
- options.model = model;
133
- options.model.setValue(this._value);
134
- }
135
- else {
136
- options.model = monaco.editor.createModel(options.model.value, options.model.language, options.model.uri);
137
- }
138
- }
139
- this._editor = monaco.editor.create(this._editorContainer.nativeElement, options);
140
- if (!hasModel) {
141
- this._editor.setValue(this._value);
142
- }
143
- this._editor.onDidChangeModelContent((e) => {
144
- const value = this._editor.getValue();
145
- // value is not propagated to parent when executing outside zone.
146
- this.zone.run(() => {
147
- this.propagateChange(value);
148
- this._value = value;
149
- });
150
- });
151
- this._editor.onDidBlurEditorWidget(() => {
152
- this.onTouched();
153
- });
154
- // refresh layout on resize event.
155
- if (this._windowResizeSubscription) {
156
- this._windowResizeSubscription.unsubscribe();
157
- }
158
- this._windowResizeSubscription = fromEvent(window, 'resize').subscribe(() => this._editor.layout());
159
- this.onInit.emit(this._editor);
160
- }
161
- }
162
- EditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorComponent, deps: [{ token: i0.NgZone }, { token: NGX_MONACO_EDITOR_CONFIG }], target: i0.ɵɵFactoryTarget.Component });
163
- EditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: EditorComponent, selector: "ngx-monaco-editor", inputs: { options: "options", model: "model" }, providers: [{
164
- provide: NG_VALUE_ACCESSOR,
165
- useExisting: forwardRef(() => EditorComponent),
166
- multi: true,
167
- }], usesInheritance: true, ngImport: i0, template: '<div class="editor-container" #editorContainer></div>', isInline: true, styles: [".editor-container{width:100%;height:100%}\n"] });
168
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorComponent, decorators: [{
169
- type: Component,
170
- args: [{ selector: 'ngx-monaco-editor', template: '<div class="editor-container" #editorContainer></div>', providers: [{
171
- provide: NG_VALUE_ACCESSOR,
172
- useExisting: forwardRef(() => EditorComponent),
173
- multi: true,
174
- }], styles: [".editor-container{width:100%;height:100%}\n"] }]
175
- }], ctorParameters: function () {
176
- return [{ type: i0.NgZone }, { type: undefined, decorators: [{
177
- type: Inject,
178
- args: [NGX_MONACO_EDITOR_CONFIG]
179
- }] }];
180
- }, propDecorators: { options: [{
181
- type: Input,
182
- args: ['options']
183
- }], model: [{
184
- type: Input,
185
- args: ['model']
186
- }] } });
187
-
188
- class FsTextEditorComponent {
189
- constructor(_document) {
190
- this._document = _document;
191
- this.LINE_HEIGHT = 18;
192
- this.config = {};
193
- this.scrollable = false;
194
- this.ready = new EventEmitter();
195
- this.blur = new EventEmitter();
196
- this._value = '';
197
- this._window = this._document.defaultView;
198
- }
199
- get monaco() {
200
- return this._window.monaco;
201
- }
202
- ngOnInit() {
203
- if (this.config) {
204
- this.config = Object.assign({ minimap: {
205
- enabled: false,
206
- }, theme: 'vs-dark', automaticLayout: !!this.config.height, scrollBeyondLastLine: false, scrollbar: {
207
- vertical: this.config.height ? 'auto' : 'hidden',
208
- }, hideCursorInOverviewRuler: true }, this.config);
209
- }
210
- }
211
- ngOnDestroy() {
212
- // must be there to cleanup https://github.com/microsoft/monaco-editor/issues/827
213
- this._window.define = null;
214
- }
215
- get value() {
216
- return this._value;
217
- }
218
- onEditorInit(event) {
219
- // Timeout allows the content to fully load to and calculate height
220
- setTimeout(() => {
221
- this._editorRef = event;
222
- this._initEditor();
223
- this.ready.next(event);
224
- if (!this.scrollable && !this.config.height) {
225
- this._disableScroll();
226
- }
227
- if (this.config.ready) {
228
- this.config.ready(this._editorRef);
229
- }
230
- });
231
- }
232
- writeValue(value) {
233
- this._value = value || '';
234
- }
235
- changed(e) {
236
- if (this._value !== e) {
237
- this._value = e;
238
- this.onChange(e);
239
- }
240
- }
241
- updateLayout() {
242
- this._editorRef.layout();
243
- }
244
- registerOnChange(fn) {
245
- this.onChange = fn;
246
- }
247
- registerOnTouched(fn) {
248
- this.onTouched = fn;
249
- }
250
- _initEditor() {
251
- if (this._editorRef && !this.config.height) {
252
- this._updateEditorHeight();
253
- this._editorRef.onDidChangeModelContent((e) => {
254
- this._updateEditorHeight();
255
- });
256
- }
257
- this._editorRef.onDidBlurEditorText(() => {
258
- this.blur.next();
259
- if (this.config.blur) {
260
- this.config.blur();
261
- }
262
- });
263
- this._editorRef.onDidFocusEditorText(() => {
264
- if (this.config.focus) {
265
- this.config.focus();
266
- }
267
- });
268
- }
269
- _updateEditorHeight() {
270
- const editorDomNode = this._editorRef.getDomNode();
271
- if (!editorDomNode) {
272
- return;
273
- }
274
- const container = editorDomNode.getElementsByClassName('view-lines')[0];
275
- const lineHeight = container.firstChild
276
- ? container.firstChild.offsetHeight
277
- : this.LINE_HEIGHT;
278
- const editorModel = this._editorRef.getModel();
279
- if (!editorModel) {
280
- return;
281
- }
282
- const nextHeight = this._editorRef.getModel().getLineCount() * lineHeight;
283
- // set the height and redo layout
284
- editorDomNode.style.height = `${nextHeight}px`;
285
- this.updateLayout();
286
- }
287
- _disableScroll() {
288
- const node = this._editorRef.getDomNode();
289
- node.addEventListener('wheel', (e) => {
290
- e.stopPropagation();
291
- }, true);
292
- }
293
- }
294
- FsTextEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FsTextEditorComponent, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Component });
295
- FsTextEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: FsTextEditorComponent, selector: "fs-text-editor", inputs: { config: "config", scrollable: "scrollable" }, outputs: { ready: "ready", blur: "blur" }, providers: [{
296
- provide: NG_VALUE_ACCESSOR,
297
- useExisting: forwardRef(() => FsTextEditorComponent),
298
- multi: true,
299
- }], ngImport: i0, template: "<ngx-monaco-editor\n [style.height]=\"config.height\"\n [ngModel]=\"value\"\n (ngModelChange)=\"changed($event)\"\n [options]=\"config\"\n (onInit)=\"onEditorInit($event)\">\n</ngx-monaco-editor>\n", styles: ["ngx-monaco-editor{display:block}\n"], dependencies: [{ kind: "component", type: EditorComponent, selector: "ngx-monaco-editor", inputs: ["options", "model"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] });
300
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FsTextEditorComponent, decorators: [{
301
- type: Component,
302
- args: [{ selector: 'fs-text-editor', providers: [{
303
- provide: NG_VALUE_ACCESSOR,
304
- useExisting: forwardRef(() => FsTextEditorComponent),
305
- multi: true,
306
- }], template: "<ngx-monaco-editor\n [style.height]=\"config.height\"\n [ngModel]=\"value\"\n (ngModelChange)=\"changed($event)\"\n [options]=\"config\"\n (onInit)=\"onEditorInit($event)\">\n</ngx-monaco-editor>\n", styles: ["ngx-monaco-editor{display:block}\n"] }]
307
- }], ctorParameters: function () {
308
- return [{ type: Document, decorators: [{
309
- type: Inject,
310
- args: [DOCUMENT]
311
- }] }];
312
- }, propDecorators: { config: [{
313
- type: Input
314
- }], scrollable: [{
315
- type: Input
316
- }], ready: [{
317
- type: Output
318
- }], blur: [{
319
- type: Output
320
- }] } });
321
-
322
- class DiffEditorComponent extends BaseEditor {
323
- set options(options) {
324
- this._options = Object.assign(Object.assign({}, this.config.defaultOptions), options);
325
- if (this._editor) {
326
- this._editor.dispose();
327
- this.initMonaco(options);
328
- }
329
- }
330
- get options() {
331
- return this._options;
332
- }
333
- set originalModel(model) {
334
- this._originalModel = model;
335
- if (this._editor) {
336
- this._editor.dispose();
337
- this.initMonaco(this.options);
338
- }
339
- }
340
- set modifiedModel(model) {
341
- this._modifiedModel = model;
342
- if (this._editor) {
343
- this._editor.dispose();
344
- this.initMonaco(this.options);
345
- }
346
- }
347
- constructor(editorConfig) {
348
- super(editorConfig);
349
- this.editorConfig = editorConfig;
350
- }
351
- initMonaco(options) {
352
- if (!this._originalModel || !this._modifiedModel) {
353
- throw new Error('originalModel or modifiedModel not found for ngx-monaco-diff-editor');
354
- }
355
- this._originalModel.language = this._originalModel.language || options.language;
356
- this._modifiedModel.language = this._modifiedModel.language || options.language;
357
- const originalModel = monaco.editor.createModel(this._originalModel.code, this._originalModel.language);
358
- const modifiedModel = monaco.editor.createModel(this._modifiedModel.code, this._modifiedModel.language);
359
- this._editorContainer.nativeElement.innerHTML = '';
360
- const theme = options.theme;
361
- this._editor = monaco.editor.createDiffEditor(this._editorContainer.nativeElement, options);
362
- options.theme = theme;
363
- this._editor.setModel({
364
- original: originalModel,
365
- modified: modifiedModel,
366
- });
367
- // refresh layout on resize event.
368
- if (this._windowResizeSubscription) {
369
- this._windowResizeSubscription.unsubscribe();
370
- }
371
- this._windowResizeSubscription = fromEvent(window, 'resize').subscribe(() => this._editor.layout());
372
- this.onInit.emit(this._editor);
373
- }
374
- }
375
- DiffEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DiffEditorComponent, deps: [{ token: NGX_MONACO_EDITOR_CONFIG }], target: i0.ɵɵFactoryTarget.Component });
376
- DiffEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DiffEditorComponent, selector: "ngx-monaco-diff-editor", inputs: { options: "options", originalModel: "originalModel", modifiedModel: "modifiedModel" }, usesInheritance: true, ngImport: i0, template: '<div class="editor-container" #editorContainer></div>', isInline: true, styles: [":host{display:block;height:200px}.editor-container{width:100%;height:100%}\n"] });
377
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DiffEditorComponent, decorators: [{
378
- type: Component,
379
- args: [{ selector: 'ngx-monaco-diff-editor', template: '<div class="editor-container" #editorContainer></div>', styles: [":host{display:block;height:200px}.editor-container{width:100%;height:100%}\n"] }]
380
- }], ctorParameters: function () {
381
- return [{ type: undefined, decorators: [{
382
- type: Inject,
383
- args: [NGX_MONACO_EDITOR_CONFIG]
384
- }] }];
385
- }, propDecorators: { options: [{
386
- type: Input,
387
- args: ['options']
388
- }], originalModel: [{
389
- type: Input,
390
- args: ['originalModel']
391
- }], modifiedModel: [{
392
- type: Input,
393
- args: ['modifiedModel']
394
- }] } });
395
-
396
- class MonacoEditorModule {
397
- static forRoot(config = {}) {
398
- return {
399
- ngModule: MonacoEditorModule,
400
- providers: [
401
- { provide: NGX_MONACO_EDITOR_CONFIG, useValue: config }
402
- ]
403
- };
404
- }
405
- }
406
- MonacoEditorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MonacoEditorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
407
- MonacoEditorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: MonacoEditorModule, declarations: [EditorComponent,
408
- DiffEditorComponent], imports: [CommonModule], exports: [EditorComponent,
409
- DiffEditorComponent] });
410
- MonacoEditorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MonacoEditorModule, imports: [CommonModule] });
411
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MonacoEditorModule, decorators: [{
412
- type: NgModule,
413
- args: [{
414
- imports: [
415
- CommonModule
416
- ],
417
- declarations: [
418
- EditorComponent,
419
- DiffEditorComponent
420
- ],
421
- exports: [
422
- EditorComponent,
423
- DiffEditorComponent
424
- ]
425
- }]
426
- }] });
427
-
428
- class FsTextEditorModule {
429
- static forRoot(config) {
430
- return {
431
- ngModule: FsTextEditorModule,
432
- providers: [
433
- MonacoEditorModule.forRoot(config).providers,
434
- ],
435
- };
436
- }
437
- }
438
- FsTextEditorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FsTextEditorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
439
- FsTextEditorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: FsTextEditorModule, declarations: [FsTextEditorComponent], imports: [CommonModule,
440
- MonacoEditorModule,
441
- FormsModule], exports: [FsTextEditorComponent] });
442
- FsTextEditorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FsTextEditorModule, imports: [CommonModule,
443
- MonacoEditorModule,
444
- FormsModule] });
445
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FsTextEditorModule, decorators: [{
446
- type: NgModule,
447
- args: [{
448
- imports: [
449
- CommonModule,
450
- MonacoEditorModule,
451
- FormsModule,
452
- ],
453
- exports: [
454
- FsTextEditorComponent,
455
- ],
456
- declarations: [
457
- FsTextEditorComponent,
458
- ]
459
- }]
460
- }] });
461
-
462
- /*
463
- * Public API Surface of fs-menu
464
- */
465
-
466
- /**
467
- * Generated bundle index. Do not edit.
468
- */
469
-
470
- export { FsTextEditorComponent, FsTextEditorModule };
471
- //# sourceMappingURL=firestitch-text-editor.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"firestitch-text-editor.mjs","sources":["../../src/app/modules/ngx-monaco-editor/config.ts","../../src/app/modules/ngx-monaco-editor/base-editor.ts","../../src/app/modules/ngx-monaco-editor/editor.component.ts","../../src/app/components/text-editor/text-editor.component.ts","../../src/app/components/text-editor/text-editor.component.html","../../src/app/modules/ngx-monaco-editor/diff-editor.component.ts","../../src/app/modules/ngx-monaco-editor/editor.module.ts","../../src/app/fs-text-editor.module.ts","../../src/public_api.ts","../../src/firestitch-text-editor.ts"],"sourcesContent":["import { InjectionToken } from '@angular/core';\n\nexport const NGX_MONACO_EDITOR_CONFIG = new InjectionToken('NGX_MONACO_EDITOR_CONFIG');\n\nexport interface NgxMonacoEditorConfig {\n baseUrl?: string;\n defaultOptions?: { [key: string]: any; };\n onMonacoLoad?: Function;\n}\n","import { AfterViewInit, Component, ElementRef, EventEmitter, Inject, OnDestroy, Output, ViewChild } from '@angular/core';\n\nimport { Subscription } from 'rxjs';\n\nimport { editor } from 'monaco-editor';\n\nimport { NGX_MONACO_EDITOR_CONFIG, NgxMonacoEditorConfig } from './config';\n\nlet loadedMonaco = false;\nlet loadPromise: Promise<void>;\n\n@Component({\n template: '',\n})\nexport abstract class BaseEditor implements AfterViewInit, OnDestroy {\n\n @ViewChild('editorContainer', { static: true }) public _editorContainer: ElementRef;\n\n @Output() public onInit = new EventEmitter<any>();\n\n protected _editor: editor.ICodeEditor;\n protected _options: any;\n protected _windowResizeSubscription: Subscription;\n\n constructor(@Inject(NGX_MONACO_EDITOR_CONFIG) protected config: NgxMonacoEditorConfig) {}\n\n public ngAfterViewInit(): void {\n if (loadedMonaco) {\n // Wait until monaco editor is available\n loadPromise.then(() => {\n this.initMonaco(this._options);\n });\n } else {\n loadedMonaco = true;\n loadPromise = new Promise<void>((resolve: any) => {\n const baseUrl = `${this.config.baseUrl || './assets' }/monaco-editor/min/vs`;\n if (typeof ((<any>window).monaco) === 'object') {\n resolve();\n\n return;\n }\n const onGotAmdLoader: any = () => {\n // Load monaco\n (<any>window).require.config({ paths: { vs: `${baseUrl}` } });\n (<any>window).require(['vs/editor/editor.main'], () => {\n if (typeof this.config.onMonacoLoad === 'function') {\n this.config.onMonacoLoad();\n }\n this.initMonaco(this._options);\n resolve();\n });\n };\n\n // Load AMD loader if necessary\n if (!(<any>window).require) {\n const loaderScript: HTMLScriptElement = document.createElement('script');\n loaderScript.type = 'text/javascript';\n loaderScript.src = `${baseUrl}/loader.js`;\n loaderScript.addEventListener('load', onGotAmdLoader);\n document.body.appendChild(loaderScript);\n } else {\n onGotAmdLoader();\n }\n });\n }\n }\n\n public ngOnDestroy() {\n if (this._windowResizeSubscription) {\n this._windowResizeSubscription.unsubscribe();\n }\n if (this._editor) {\n this._editor.dispose();\n this._editor = undefined;\n }\n }\n\n protected abstract initMonaco(options: any): void;\n}\n","import { Component, forwardRef, Inject, Input, NgZone } from '@angular/core';\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\n\nimport { fromEvent } from 'rxjs';\n\nimport { BaseEditor } from './base-editor';\nimport { NGX_MONACO_EDITOR_CONFIG, NgxMonacoEditorConfig } from './config';\nimport { NgxEditorModel } from './types';\n\ndeclare let monaco: any;\n\n@Component({\n selector: 'ngx-monaco-editor',\n template: '<div class=\"editor-container\" #editorContainer></div>',\n styles: [`\n\n\n .editor-container {\n width: 100%;\n height: 100%;\n }\n `],\n providers: [{\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => EditorComponent),\n multi: true,\n }],\n})\nexport class EditorComponent extends BaseEditor implements ControlValueAccessor {\n private _value: string = '';\n\n public propagateChange = (_: any) => {};\n public onTouched = () => {};\n\n @Input('options')\n public set options(options: any) {\n this._options = { ...this.config.defaultOptions, ...options };\n if (this._editor) {\n this._editor.dispose();\n this.initMonaco(options);\n }\n }\n\n public get options(): any {\n return this._options;\n }\n\n @Input('model')\n set model(model: NgxEditorModel) {\n this.options.model = model;\n if (this._editor) {\n this._editor.dispose();\n this.initMonaco(this.options);\n }\n }\n\n constructor(private zone: NgZone, @Inject(NGX_MONACO_EDITOR_CONFIG) private editorConfig: NgxMonacoEditorConfig) {\n super(editorConfig);\n }\n\n public writeValue(value: any): void {\n this._value = value || '';\n // Fix for value change while dispose in process.\n setTimeout(() => {\n if (this._editor && !this.options.model) {\n this._editor.setValue(this._value);\n }\n });\n }\n\n public registerOnChange(fn: any): void {\n this.propagateChange = fn;\n }\n\n public registerOnTouched(fn: any): void {\n this.onTouched = fn;\n }\n\n protected initMonaco(options: any): void {\n\n const hasModel = !!options.model;\n\n if (hasModel) {\n const model = monaco.editor.getModel(options.model.uri || '');\n if (model) {\n options.model = model;\n options.model.setValue(this._value);\n } else {\n options.model = monaco.editor.createModel(options.model.value, options.model.language, options.model.uri);\n }\n }\n\n this._editor = monaco.editor.create(this._editorContainer.nativeElement, options);\n\n if (!hasModel) {\n this._editor.setValue(this._value);\n }\n\n this._editor.onDidChangeModelContent((e: any) => {\n const value = this._editor.getValue();\n\n // value is not propagated to parent when executing outside zone.\n this.zone.run(() => {\n this.propagateChange(value);\n this._value = value;\n });\n });\n\n this._editor.onDidBlurEditorWidget(() => {\n this.onTouched();\n });\n\n // refresh layout on resize event.\n if (this._windowResizeSubscription) {\n this._windowResizeSubscription.unsubscribe();\n }\n this._windowResizeSubscription = fromEvent(window, 'resize').subscribe(() => this._editor.layout());\n this.onInit.emit(this._editor);\n }\n\n}\n","import { DOCUMENT } from '@angular/common';\nimport {\n Component,\n EventEmitter,\n Inject,\n Input,\n OnDestroy,\n OnInit,\n Output,\n forwardRef,\n} from '@angular/core';\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\n\nimport { editor } from 'monaco-editor';\n\nimport { FsTextEditorConfig } from '../../interfaces/config.interface';\n\n\n@Component({\n selector: 'fs-text-editor',\n templateUrl: './text-editor.component.html',\n styleUrls: ['./text-editor.component.scss'],\n providers: [{\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => FsTextEditorComponent),\n multi: true,\n }],\n})\nexport class FsTextEditorComponent implements OnInit, OnDestroy, ControlValueAccessor {\n\n public readonly LINE_HEIGHT = 18;\n\n @Input() public config: FsTextEditorConfig = {};\n @Input() public scrollable = false;\n\n @Output() public ready = new EventEmitter();\n @Output() public blur = new EventEmitter();\n\n public onChange: (_: any) => void;\n public onTouched: () => void;\n\n private _editorRef: editor.ICodeEditor;\n private _value = '';\n private _window: any = this._document.defaultView;\n\n constructor(\n @Inject(DOCUMENT) private _document: Document,\n ) {}\n\n public get monaco() {\n return this._window.monaco;\n }\n\n public ngOnInit() {\n if (this.config) {\n this.config = {\n minimap: {\n enabled: false,\n },\n theme: 'vs-dark',\n automaticLayout: !!this.config.height,\n scrollBeyondLastLine: false,\n scrollbar: {\n vertical: this.config.height ? 'auto' : 'hidden',\n },\n hideCursorInOverviewRuler: true,\n ...this.config,\n };\n }\n }\n\n public ngOnDestroy() {\n // must be there to cleanup https://github.com/microsoft/monaco-editor/issues/827\n this._window.define = null;\n }\n\n public get value() {\n return this._value;\n }\n\n public onEditorInit(event) {\n // Timeout allows the content to fully load to and calculate height\n setTimeout(() => {\n this._editorRef = event;\n this._initEditor();\n this.ready.next(event);\n\n if (!this.scrollable && !this.config.height) {\n this._disableScroll();\n }\n\n if(this.config.ready) {\n this.config.ready(this._editorRef);\n }\n });\n }\n\n public writeValue(value: any): void {\n this._value = value || '';\n }\n\n public changed(e) {\n if (this._value !== e) {\n this._value = e;\n this.onChange(e);\n }\n }\n\n public updateLayout(): void {\n this._editorRef.layout();\n }\n\n public registerOnChange(fn: any): void {\n this.onChange = fn;\n }\n\n public registerOnTouched(fn: any): void {\n this.onTouched = fn;\n }\n\n private _initEditor() {\n if (this._editorRef && !this.config.height) {\n this._updateEditorHeight();\n\n this._editorRef.onDidChangeModelContent((e) => {\n this._updateEditorHeight();\n });\n }\n\n this._editorRef.onDidBlurEditorText(() => {\n this.blur.next();\n if(this.config.blur) {\n this.config.blur();\n }\n });\n\n this._editorRef.onDidFocusEditorText(() => {\n if(this.config.focus) {\n this.config.focus();\n }\n });\n }\n\n private _updateEditorHeight() {\n const editorDomNode = this._editorRef.getDomNode();\n\n if (!editorDomNode) {\n return;\n }\n\n const container = editorDomNode.getElementsByClassName('view-lines')[0] as HTMLElement;\n const lineHeight = container.firstChild\n ? (container.firstChild as HTMLElement).offsetHeight\n : this.LINE_HEIGHT;\n\n const editorModel = this._editorRef.getModel();\n\n if (!editorModel) {\n return;\n }\n\n const nextHeight = this._editorRef.getModel().getLineCount() * lineHeight;\n\n // set the height and redo layout\n editorDomNode.style.height = `${nextHeight }px`;\n this.updateLayout();\n }\n\n private _disableScroll() {\n const node = this._editorRef.getDomNode();\n\n node.addEventListener('wheel', (e) => {\n e.stopPropagation();\n }, true);\n }\n}\n","<ngx-monaco-editor\n [style.height]=\"config.height\"\n [ngModel]=\"value\"\n (ngModelChange)=\"changed($event)\"\n [options]=\"config\"\n (onInit)=\"onEditorInit($event)\">\n</ngx-monaco-editor>\n","import { Component, Inject, Input } from '@angular/core';\n\nimport { fromEvent } from 'rxjs';\n\nimport { BaseEditor } from './base-editor';\nimport { NGX_MONACO_EDITOR_CONFIG, NgxMonacoEditorConfig } from './config';\nimport { DiffEditorModel } from './types';\n\ndeclare let monaco: any;\n\n@Component({\n selector: 'ngx-monaco-diff-editor',\n template: '<div class=\"editor-container\" #editorContainer></div>',\n styles: [`\n :host {\n display: block;\n height: 200px;\n }\n\n .editor-container {\n width: 100%;\n height: 100%;\n }\n `],\n})\nexport class DiffEditorComponent extends BaseEditor {\n\n _originalModel: DiffEditorModel;\n _modifiedModel: DiffEditorModel;\n\n @Input('options')\n set options(options: any) {\n this._options = { ...this.config.defaultOptions, ...options };\n if (this._editor) {\n this._editor.dispose();\n this.initMonaco(options);\n }\n }\n\n get options(): any {\n return this._options;\n }\n\n @Input('originalModel')\n set originalModel(model: DiffEditorModel) {\n this._originalModel = model;\n if (this._editor) {\n this._editor.dispose();\n this.initMonaco(this.options);\n }\n }\n\n @Input('modifiedModel')\n set modifiedModel(model: DiffEditorModel) {\n this._modifiedModel = model;\n if (this._editor) {\n this._editor.dispose();\n this.initMonaco(this.options);\n }\n }\n\n constructor(@Inject(NGX_MONACO_EDITOR_CONFIG) private editorConfig: NgxMonacoEditorConfig) {\n super(editorConfig);\n }\n\n protected initMonaco(options: any): void {\n\n if (!this._originalModel || !this._modifiedModel) {\n throw new Error('originalModel or modifiedModel not found for ngx-monaco-diff-editor');\n }\n\n this._originalModel.language = this._originalModel.language || options.language;\n this._modifiedModel.language = this._modifiedModel.language || options.language;\n\n const originalModel = monaco.editor.createModel(this._originalModel.code, this._originalModel.language);\n const modifiedModel = monaco.editor.createModel(this._modifiedModel.code, this._modifiedModel.language);\n\n this._editorContainer.nativeElement.innerHTML = '';\n const theme = options.theme;\n this._editor = monaco.editor.createDiffEditor(this._editorContainer.nativeElement, options);\n options.theme = theme;\n this._editor.setModel({\n original: originalModel,\n modified: modifiedModel,\n } as any);\n\n // refresh layout on resize event.\n if (this._windowResizeSubscription) {\n this._windowResizeSubscription.unsubscribe();\n }\n this._windowResizeSubscription = fromEvent(window, 'resize').subscribe(() => this._editor.layout());\n this.onInit.emit(this._editor);\n }\n\n}\n","import { CommonModule } from '@angular/common';\nimport { ModuleWithProviders, NgModule } from '@angular/core';\n\nimport { NGX_MONACO_EDITOR_CONFIG, NgxMonacoEditorConfig } from './config';\nimport { DiffEditorComponent } from './diff-editor.component';\nimport { EditorComponent } from './editor.component';\n\n@NgModule({\n imports: [\n CommonModule\n ],\n declarations: [\n EditorComponent,\n DiffEditorComponent\n ],\n exports: [\n EditorComponent,\n DiffEditorComponent\n ]\n})\nexport class MonacoEditorModule {\n public static forRoot(config: NgxMonacoEditorConfig = {}): ModuleWithProviders<MonacoEditorModule> {\n return {\n ngModule: MonacoEditorModule,\n providers: [\n { provide: NGX_MONACO_EDITOR_CONFIG, useValue: config }\n ]\n };\n }\n}\n","import { ModuleWithProviders, NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormsModule } from '@angular/forms';\n\nimport { FsTextEditorComponent } from './components/text-editor/text-editor.component';\nimport { MonacoEditorModule } from './modules/ngx-monaco-editor/editor.module';\nimport { NgxMonacoEditorConfig } from './modules/ngx-monaco-editor/config';\n\n\n@NgModule({\n imports: [\n CommonModule,\n MonacoEditorModule,\n FormsModule,\n ],\n exports: [\n FsTextEditorComponent,\n ],\n declarations: [\n FsTextEditorComponent,\n ]\n})\nexport class FsTextEditorModule {\n static forRoot(config?: NgxMonacoEditorConfig): ModuleWithProviders<FsTextEditorModule> {\n return {\n ngModule: FsTextEditorModule,\n providers: [\n MonacoEditorModule.forRoot(config).providers,\n ],\n };\n }\n}\n","/*\n * Public API Surface of fs-menu\n */\n\nimport { from } from 'rxjs';\n\nexport { FsTextEditorModule } from './app/fs-text-editor.module';\n\nexport { FsTextEditorConfig } from './app/interfaces/config.interface';\n\n\nexport { FsTextEditorComponent } from './app/components/text-editor/text-editor.component';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1.EditorComponent"],"mappings":";;;;;;;AAEO,MAAM,wBAAwB,GAAG,IAAI,cAAc,CAAC,0BAA0B,CAAC;;ACMtF,IAAI,YAAY,GAAG,KAAK,CAAC;AACzB,IAAI,WAA0B,CAAC;MAKT,UAAU,CAAA;AAU9B,IAAA,WAAA,CAAwD,MAA6B,EAAA;AAA7B,QAAA,IAAM,CAAA,MAAA,GAAN,MAAM,CAAuB;AANpE,QAAA,IAAA,CAAA,MAAM,GAAG,IAAI,YAAY,EAAO,CAAC;KAMuC;IAElF,eAAe,GAAA;AACpB,QAAA,IAAI,YAAY,EAAE;;AAEhB,YAAA,WAAW,CAAC,IAAI,CAAC,MAAK;AACpB,gBAAA,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;AACjC,aAAC,CAAC,CAAC;AACJ,SAAA;AAAM,aAAA;YACL,YAAY,GAAG,IAAI,CAAC;AACpB,YAAA,WAAW,GAAG,IAAI,OAAO,CAAO,CAAC,OAAY,KAAI;gBAC/C,MAAM,OAAO,GAAG,CAAA,EAAG,IAAI,CAAC,MAAM,CAAC,OAAO,IAAI,UAAY,CAAA,qBAAA,CAAuB,CAAC;gBAC9E,IAAI,QAAc,MAAO,CAAC,MAAM,CAAC,KAAK,QAAQ,EAAE;AAC9C,oBAAA,OAAO,EAAE,CAAC;oBAEV,OAAO;AACR,iBAAA;gBACD,MAAM,cAAc,GAAQ,MAAK;;AAEzB,oBAAA,MAAO,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,EAAE,CAAG,EAAA,OAAO,EAAE,EAAE,EAAE,CAAC,C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