@skyux/text-editor 4.0.0-beta.2 → 5.0.0-beta.4

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 (101) hide show
  1. package/LICENSE +21 -0
  2. package/bundles/skyux-text-editor.umd.js +730 -562
  3. package/bundles/skyux-text-editor.umd.js.map +1 -1
  4. package/documentation.json +1961 -0
  5. package/esm2015/modules/rich-text-display/rich-text-display.component.js +17 -20
  6. package/esm2015/modules/rich-text-display/rich-text-display.module.js +22 -17
  7. package/esm2015/modules/shared/forms-utility.js +1 -1
  8. package/esm2015/modules/shared/sky-text-editor-resources.module.js +41 -0
  9. package/esm2015/modules/text-editor/defaults/font-list-defaults.js +1 -1
  10. package/esm2015/modules/text-editor/defaults/font-size-list-defaults.js +1 -1
  11. package/esm2015/modules/text-editor/defaults/menu-defaults.js +1 -1
  12. package/esm2015/modules/text-editor/defaults/style-state-defaults.js +1 -1
  13. package/esm2015/modules/text-editor/defaults/toolbar-action-defaults.js +1 -1
  14. package/esm2015/modules/text-editor/menubar/text-editor-menubar.component.js +32 -36
  15. package/esm2015/modules/text-editor/services/text-editor-adapter.service.js +17 -22
  16. package/esm2015/modules/text-editor/services/text-editor-selection.service.js +12 -13
  17. package/esm2015/modules/text-editor/services/text-editor.service.js +11 -11
  18. package/esm2015/modules/text-editor/services/text-sanitization.service.js +12 -14
  19. package/esm2015/modules/text-editor/text-editor.component.js +63 -68
  20. package/esm2015/modules/text-editor/text-editor.module.js +68 -27
  21. package/esm2015/modules/text-editor/toolbar/text-editor-toolbar.component.js +40 -42
  22. package/esm2015/modules/text-editor/types/editor-command.js +2 -1
  23. package/esm2015/modules/text-editor/types/editor-setting.js +2 -1
  24. package/esm2015/modules/text-editor/types/font-state.js +2 -1
  25. package/esm2015/modules/text-editor/types/menu-type.js +2 -1
  26. package/esm2015/modules/text-editor/types/style-state.js +2 -1
  27. package/esm2015/modules/text-editor/types/text-editor-merge-field.js +2 -1
  28. package/esm2015/modules/text-editor/types/toolbar-action-type.js +2 -1
  29. package/esm2015/modules/text-editor/url-modal/text-editor-url-modal-context.js +1 -1
  30. package/esm2015/modules/text-editor/url-modal/text-editor-url-modal-result.js +2 -1
  31. package/esm2015/modules/text-editor/url-modal/text-editor-url-modal.component.js +21 -18
  32. package/esm2015/modules/text-editor/url-modal/text-editor-url-target.js +1 -1
  33. package/esm2015/public-api.js +15 -0
  34. package/esm2015/skyux-text-editor.js +2 -14
  35. package/fesm2015/skyux-text-editor.js +359 -312
  36. package/fesm2015/skyux-text-editor.js.map +1 -1
  37. package/modules/rich-text-display/rich-text-display.component.d.ts +3 -0
  38. package/modules/rich-text-display/rich-text-display.module.d.ts +6 -0
  39. package/modules/shared/sky-text-editor-resources.module.d.ts +14 -0
  40. package/modules/text-editor/menubar/text-editor-menubar.component.d.ts +3 -0
  41. package/modules/text-editor/services/text-editor-adapter.service.d.ts +3 -0
  42. package/modules/text-editor/services/text-editor-selection.service.d.ts +3 -0
  43. package/modules/text-editor/services/text-editor.service.d.ts +3 -0
  44. package/modules/text-editor/services/text-sanitization.service.d.ts +3 -0
  45. package/modules/text-editor/text-editor.component.d.ts +3 -0
  46. package/modules/text-editor/text-editor.module.d.ts +21 -0
  47. package/modules/text-editor/toolbar/text-editor-toolbar.component.d.ts +3 -0
  48. package/modules/text-editor/url-modal/text-editor-url-modal.component.d.ts +3 -0
  49. package/package.json +20 -36
  50. package/public-api.d.ts +12 -0
  51. package/skyux-text-editor.d.ts +2 -13
  52. package/CHANGELOG.md +0 -13
  53. package/bundles/skyux-text-editor.umd.min.js +0 -2
  54. package/bundles/skyux-text-editor.umd.min.js.map +0 -1
  55. package/esm2015/plugin-resources/text-editor-resources-provider.js +0 -16
  56. package/esm2015/plugin-resources/text-editor-resources.module.js +0 -19
  57. package/esm2015/public_api.js +0 -3
  58. package/esm5/modules/rich-text-display/rich-text-display.component.js +0 -44
  59. package/esm5/modules/rich-text-display/rich-text-display.module.js +0 -24
  60. package/esm5/modules/shared/forms-utility.js +0 -14
  61. package/esm5/modules/text-editor/defaults/font-list-defaults.js +0 -42
  62. package/esm5/modules/text-editor/defaults/font-size-list-defaults.js +0 -5
  63. package/esm5/modules/text-editor/defaults/menu-defaults.js +0 -8
  64. package/esm5/modules/text-editor/defaults/style-state-defaults.js +0 -15
  65. package/esm5/modules/text-editor/defaults/toolbar-action-defaults.js +0 -12
  66. package/esm5/modules/text-editor/menubar/text-editor-menubar.component.js +0 -199
  67. package/esm5/modules/text-editor/services/text-editor-adapter.service.js +0 -470
  68. package/esm5/modules/text-editor/services/text-editor-selection.service.js +0 -77
  69. package/esm5/modules/text-editor/services/text-editor.service.js +0 -49
  70. package/esm5/modules/text-editor/services/text-sanitization.service.js +0 -41
  71. package/esm5/modules/text-editor/text-editor.component.js +0 -287
  72. package/esm5/modules/text-editor/text-editor.module.js +0 -63
  73. package/esm5/modules/text-editor/toolbar/text-editor-toolbar.component.js +0 -178
  74. package/esm5/modules/text-editor/types/editor-command.js +0 -1
  75. package/esm5/modules/text-editor/types/editor-setting.js +0 -1
  76. package/esm5/modules/text-editor/types/font-state.js +0 -1
  77. package/esm5/modules/text-editor/types/menu-type.js +0 -1
  78. package/esm5/modules/text-editor/types/style-state.js +0 -1
  79. package/esm5/modules/text-editor/types/text-editor-merge-field.js +0 -1
  80. package/esm5/modules/text-editor/types/toolbar-action-type.js +0 -1
  81. package/esm5/modules/text-editor/url-modal/text-editor-url-modal-context.js +0 -10
  82. package/esm5/modules/text-editor/url-modal/text-editor-url-modal-result.js +0 -1
  83. package/esm5/modules/text-editor/url-modal/text-editor-url-modal.component.js +0 -120
  84. package/esm5/modules/text-editor/url-modal/text-editor-url-target.js +0 -9
  85. package/esm5/plugin-resources/text-editor-resources-provider.js +0 -17
  86. package/esm5/plugin-resources/text-editor-resources.module.js +0 -22
  87. package/esm5/public_api.js +0 -3
  88. package/esm5/skyux-text-editor.js +0 -17
  89. package/fesm5/skyux-text-editor.js +0 -1620
  90. package/fesm5/skyux-text-editor.js.map +0 -1
  91. package/plugin-resources/text-editor-resources-provider.d.ts +0 -5
  92. package/plugin-resources/text-editor-resources.module.d.ts +0 -2
  93. package/public_api.d.ts +0 -7
  94. package/skyux-text-editor.metadata.json +0 -1
  95. package/src/assets/img/default-anatomy.png +0 -0
  96. package/src/assets/img/default-option-menu-toolbar-items.png +0 -0
  97. package/src/assets/img/default-use-when.png +0 -0
  98. package/src/assets/img/modern-anatomy.png +0 -0
  99. package/src/assets/img/modern-option-menu-toolbar-items.png +0 -0
  100. package/src/assets/img/modern-use-when.png +0 -0
  101. package/src/assets/locales/resources_en_US.json +0 -130
@@ -0,0 +1,1961 @@
1
+ {
2
+ "anchorIds": {
3
+ "SkyRichTextDisplayModule": "class-skyrichtextdisplaymodule",
4
+ "SkyTextEditorModule": "class-skytexteditormodule",
5
+ "SkyRichTextDisplayComponent": "class-skyrichtextdisplaycomponent",
6
+ "SkyTextEditorComponent": "class-skytexteditorcomponent",
7
+ "SkyTextEditorFont": "interface-skytexteditorfont",
8
+ "SkyTextEditorMergeField": "interface-skytexteditormergefield",
9
+ "SkyTextEditorStyleState": "interface-skytexteditorstylestate",
10
+ "SkyTextEditorMenuType": "type-alias-skytexteditormenutype",
11
+ "SkyTextEditorToolbarActionType": "type-alias-skytexteditortoolbaractiontype"
12
+ },
13
+ "typedoc": {
14
+ "id": 0,
15
+ "name": "@skyux/text-editor",
16
+ "kind": 0,
17
+ "kindString": "Project",
18
+ "flags": {},
19
+ "originalName": "",
20
+ "children": [
21
+ {
22
+ "id": 213,
23
+ "name": "SkyRichTextDisplayModule",
24
+ "kind": 128,
25
+ "kindString": "Class",
26
+ "flags": {},
27
+ "decorators": [
28
+ {
29
+ "name": "NgModule",
30
+ "type": {
31
+ "type": "reference",
32
+ "name": "NgModule"
33
+ },
34
+ "arguments": {
35
+ "obj": "{\n imports: [\n CommonModule\n ],\n exports: [\n SkyRichTextDisplayComponent\n ],\n declarations: [\n SkyRichTextDisplayComponent\n ]\n}"
36
+ }
37
+ }
38
+ ],
39
+ "children": [
40
+ {
41
+ "id": 214,
42
+ "name": "constructor",
43
+ "kind": 512,
44
+ "kindString": "Constructor",
45
+ "flags": {},
46
+ "signatures": [
47
+ {
48
+ "id": 215,
49
+ "name": "new SkyRichTextDisplayModule",
50
+ "kind": 16384,
51
+ "kindString": "Constructor signature",
52
+ "flags": {},
53
+ "type": {
54
+ "type": "reference",
55
+ "id": 213,
56
+ "name": "SkyRichTextDisplayModule"
57
+ }
58
+ }
59
+ ]
60
+ }
61
+ ],
62
+ "groups": [
63
+ {
64
+ "title": "Constructors",
65
+ "kind": 512,
66
+ "children": [
67
+ 214
68
+ ]
69
+ }
70
+ ],
71
+ "sources": [
72
+ {
73
+ "fileName": "projects/text-editor/src/modules/rich-text-display/rich-text-display.module.ts",
74
+ "line": 24,
75
+ "character": 13
76
+ }
77
+ ]
78
+ },
79
+ {
80
+ "id": 234,
81
+ "name": "SkyTextEditorModule",
82
+ "kind": 128,
83
+ "kindString": "Class",
84
+ "flags": {},
85
+ "decorators": [
86
+ {
87
+ "name": "NgModule",
88
+ "type": {
89
+ "type": "reference",
90
+ "name": "NgModule"
91
+ },
92
+ "arguments": {
93
+ "obj": "{\n imports: [\n CommonModule,\n FormsModule,\n ReactiveFormsModule,\n SkyCoreAdapterModule,\n SkyTextEditorResourcesModule,\n SkyI18nModule,\n SkyIconModule,\n SkyIdModule,\n SkyInputBoxModule,\n SkyColorpickerModule,\n SkyCheckboxModule,\n SkyDropdownModule,\n SkyModalModule,\n SkyTabsModule,\n SkyThemeModule,\n SkyToolbarModule\n ],\n exports: [\n SkyTextEditorComponent,\n SkyTextEditorUrlModalComponent,\n SkyTextEditorToolbarComponent,\n SkyTextEditorMenubarComponent\n ],\n declarations: [\n SkyTextEditorComponent,\n SkyTextEditorUrlModalComponent,\n SkyTextEditorToolbarComponent,\n SkyTextEditorMenubarComponent\n ],\n entryComponents: [\n SkyTextEditorUrlModalComponent\n ]\n}"
94
+ }
95
+ }
96
+ ],
97
+ "children": [
98
+ {
99
+ "id": 235,
100
+ "name": "constructor",
101
+ "kind": 512,
102
+ "kindString": "Constructor",
103
+ "flags": {},
104
+ "signatures": [
105
+ {
106
+ "id": 236,
107
+ "name": "new SkyTextEditorModule",
108
+ "kind": 16384,
109
+ "kindString": "Constructor signature",
110
+ "flags": {},
111
+ "type": {
112
+ "type": "reference",
113
+ "id": 234,
114
+ "name": "SkyTextEditorModule"
115
+ }
116
+ }
117
+ ]
118
+ }
119
+ ],
120
+ "groups": [
121
+ {
122
+ "title": "Constructors",
123
+ "kind": 512,
124
+ "children": [
125
+ 235
126
+ ]
127
+ }
128
+ ],
129
+ "sources": [
130
+ {
131
+ "fileName": "projects/text-editor/src/modules/text-editor/text-editor.module.ts",
132
+ "line": 111,
133
+ "character": 13
134
+ }
135
+ ]
136
+ },
137
+ {
138
+ "id": 1,
139
+ "name": "SkyRichTextDisplayComponent",
140
+ "kind": 128,
141
+ "kindString": "Class",
142
+ "flags": {},
143
+ "decorators": [
144
+ {
145
+ "name": "Component",
146
+ "type": {
147
+ "type": "reference",
148
+ "name": "Component"
149
+ },
150
+ "arguments": {
151
+ "obj": "{\n selector: 'sky-rich-text-display',\n templateUrl: './rich-text-display.component.html'\n}"
152
+ }
153
+ }
154
+ ],
155
+ "children": [
156
+ {
157
+ "id": 2,
158
+ "name": "constructor",
159
+ "kind": 512,
160
+ "kindString": "Constructor",
161
+ "flags": {},
162
+ "sources": [
163
+ {
164
+ "fileName": "projects/text-editor/src/modules/rich-text-display/rich-text-display.component.ts",
165
+ "line": 40,
166
+ "character": 2
167
+ }
168
+ ],
169
+ "signatures": [
170
+ {
171
+ "id": 3,
172
+ "name": "SkyRichTextDisplayComponent",
173
+ "kind": 16384,
174
+ "kindString": "Constructor signature",
175
+ "flags": {},
176
+ "parameters": [
177
+ {
178
+ "id": 4,
179
+ "name": "sanitizer",
180
+ "kind": 32768,
181
+ "kindString": "Parameter",
182
+ "flags": {},
183
+ "type": {
184
+ "type": "reference",
185
+ "name": "DomSanitizer"
186
+ }
187
+ },
188
+ {
189
+ "id": 5,
190
+ "name": "sanitizationService",
191
+ "kind": 32768,
192
+ "kindString": "Parameter",
193
+ "flags": {},
194
+ "type": {
195
+ "type": "reference",
196
+ "name": "SkyTextSanitizationService"
197
+ }
198
+ }
199
+ ],
200
+ "type": {
201
+ "type": "reference",
202
+ "id": 1,
203
+ "name": "SkyRichTextDisplayComponent"
204
+ }
205
+ }
206
+ ]
207
+ },
208
+ {
209
+ "id": 9,
210
+ "name": "sanitizedText",
211
+ "kind": 1024,
212
+ "kindString": "Property",
213
+ "flags": {
214
+ "isPublic": true
215
+ },
216
+ "sources": [
217
+ {
218
+ "fileName": "projects/text-editor/src/modules/rich-text-display/rich-text-display.component.ts",
219
+ "line": 36,
220
+ "character": 9
221
+ }
222
+ ],
223
+ "type": {
224
+ "type": "reference",
225
+ "name": "SafeHtml"
226
+ },
227
+ "defaultValue": "''"
228
+ },
229
+ {
230
+ "id": 6,
231
+ "name": "richText",
232
+ "kind": 262144,
233
+ "kindString": "Accessor",
234
+ "flags": {
235
+ "isPublic": true
236
+ },
237
+ "comment": {
238
+ "shortText": "Specifies the rich text to display."
239
+ },
240
+ "decorators": [
241
+ {
242
+ "name": "Input",
243
+ "type": {
244
+ "type": "reference",
245
+ "name": "Input"
246
+ },
247
+ "arguments": {}
248
+ }
249
+ ],
250
+ "sources": [
251
+ {
252
+ "fileName": "projects/text-editor/src/modules/rich-text-display/rich-text-display.component.ts",
253
+ "line": 25,
254
+ "character": 13
255
+ }
256
+ ],
257
+ "setSignature": [
258
+ {
259
+ "id": 7,
260
+ "name": "richText",
261
+ "kind": 1048576,
262
+ "kindString": "Set signature",
263
+ "flags": {},
264
+ "comment": {
265
+ "shortText": "Specifies the rich text to display."
266
+ },
267
+ "parameters": [
268
+ {
269
+ "id": 8,
270
+ "name": "value",
271
+ "kind": 32768,
272
+ "kindString": "Parameter",
273
+ "flags": {},
274
+ "type": {
275
+ "type": "intrinsic",
276
+ "name": "string"
277
+ }
278
+ }
279
+ ],
280
+ "type": {
281
+ "type": "intrinsic",
282
+ "name": "void"
283
+ }
284
+ }
285
+ ]
286
+ }
287
+ ],
288
+ "groups": [
289
+ {
290
+ "title": "Constructors",
291
+ "kind": 512,
292
+ "children": [
293
+ 2
294
+ ]
295
+ },
296
+ {
297
+ "title": "Properties",
298
+ "kind": 1024,
299
+ "children": [
300
+ 9
301
+ ]
302
+ },
303
+ {
304
+ "title": "Accessors",
305
+ "kind": 262144,
306
+ "children": [
307
+ 6
308
+ ]
309
+ }
310
+ ],
311
+ "sources": [
312
+ {
313
+ "fileName": "projects/text-editor/src/modules/rich-text-display/rich-text-display.component.ts",
314
+ "line": 19,
315
+ "character": 13
316
+ }
317
+ ]
318
+ },
319
+ {
320
+ "id": 147,
321
+ "name": "SkyTextEditorComponent",
322
+ "kind": 128,
323
+ "kindString": "Class",
324
+ "flags": {},
325
+ "comment": {
326
+ "shortText": "The text editor component lets users format and manipulate text."
327
+ },
328
+ "decorators": [
329
+ {
330
+ "name": "Component",
331
+ "type": {
332
+ "type": "reference",
333
+ "name": "Component"
334
+ },
335
+ "arguments": {
336
+ "obj": "{\n selector: 'sky-text-editor',\n templateUrl: './text-editor.component.html',\n styleUrls: ['./text-editor.component.scss'],\n providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n // tslint:disable-next-line: no-forward-ref\n useExisting: forwardRef(() => SkyTextEditorComponent),\n multi: true\n }\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None\n}"
337
+ }
338
+ }
339
+ ],
340
+ "children": [
341
+ {
342
+ "id": 148,
343
+ "name": "constructor",
344
+ "kind": 512,
345
+ "kindString": "Constructor",
346
+ "flags": {},
347
+ "sources": [
348
+ {
349
+ "fileName": "projects/text-editor/src/modules/text-editor/text-editor.component.ts",
350
+ "line": 266,
351
+ "character": 2
352
+ }
353
+ ],
354
+ "signatures": [
355
+ {
356
+ "id": 149,
357
+ "name": "SkyTextEditorComponent",
358
+ "kind": 16384,
359
+ "kindString": "Constructor signature",
360
+ "flags": {},
361
+ "parameters": [
362
+ {
363
+ "id": 150,
364
+ "name": "changeDetector",
365
+ "kind": 32768,
366
+ "kindString": "Parameter",
367
+ "flags": {},
368
+ "type": {
369
+ "type": "reference",
370
+ "name": "ChangeDetectorRef"
371
+ }
372
+ },
373
+ {
374
+ "id": 151,
375
+ "name": "coreAdapterService",
376
+ "kind": 32768,
377
+ "kindString": "Parameter",
378
+ "flags": {},
379
+ "type": {
380
+ "type": "reference",
381
+ "name": "SkyCoreAdapterService"
382
+ }
383
+ },
384
+ {
385
+ "id": 152,
386
+ "name": "adapterService",
387
+ "kind": 32768,
388
+ "kindString": "Parameter",
389
+ "flags": {},
390
+ "type": {
391
+ "type": "reference",
392
+ "name": "SkyTextEditorAdapterService"
393
+ }
394
+ },
395
+ {
396
+ "id": 153,
397
+ "name": "editorService",
398
+ "kind": 32768,
399
+ "kindString": "Parameter",
400
+ "flags": {},
401
+ "type": {
402
+ "type": "reference",
403
+ "name": "SkyTextEditorService"
404
+ }
405
+ },
406
+ {
407
+ "id": 154,
408
+ "name": "sanitizationService",
409
+ "kind": 32768,
410
+ "kindString": "Parameter",
411
+ "flags": {},
412
+ "type": {
413
+ "type": "reference",
414
+ "name": "SkyTextSanitizationService"
415
+ }
416
+ }
417
+ ],
418
+ "type": {
419
+ "type": "reference",
420
+ "id": 147,
421
+ "name": "SkyTextEditorComponent"
422
+ }
423
+ }
424
+ ]
425
+ },
426
+ {
427
+ "id": 155,
428
+ "name": "autofocus",
429
+ "kind": 1024,
430
+ "kindString": "Property",
431
+ "flags": {
432
+ "isPublic": true
433
+ },
434
+ "comment": {
435
+ "shortText": "Indicates whether to put focus on the editor after it renders."
436
+ },
437
+ "decorators": [
438
+ {
439
+ "name": "Input",
440
+ "type": {
441
+ "type": "reference",
442
+ "name": "Input"
443
+ },
444
+ "arguments": {}
445
+ }
446
+ ],
447
+ "sources": [
448
+ {
449
+ "fileName": "projects/text-editor/src/modules/text-editor/text-editor.component.ts",
450
+ "line": 116,
451
+ "character": 9
452
+ }
453
+ ],
454
+ "type": {
455
+ "type": "intrinsic",
456
+ "name": "boolean"
457
+ },
458
+ "defaultValue": "false"
459
+ },
460
+ {
461
+ "id": 160,
462
+ "name": "editorFocusStream",
463
+ "kind": 1024,
464
+ "kindString": "Property",
465
+ "flags": {
466
+ "isPublic": true
467
+ },
468
+ "sources": [
469
+ {
470
+ "fileName": "projects/text-editor/src/modules/text-editor/text-editor.component.ts",
471
+ "line": 140,
472
+ "character": 9
473
+ }
474
+ ],
475
+ "type": {
476
+ "type": "reference",
477
+ "typeArguments": [
478
+ {
479
+ "type": "intrinsic",
480
+ "name": "unknown"
481
+ }
482
+ ],
483
+ "name": "Subject"
484
+ },
485
+ "defaultValue": "..."
486
+ },
487
+ {
488
+ "id": 161,
489
+ "name": "fontList",
490
+ "kind": 1024,
491
+ "kindString": "Property",
492
+ "flags": {
493
+ "isPublic": true
494
+ },
495
+ "comment": {
496
+ "shortText": "Specifies the fonts to include in the font picker.",
497
+ "tags": [
498
+ {
499
+ "tag": "default",
500
+ "text": "[{name: 'Blackbaud Sans', value: '\"Blackbaud Sans\", Arial, sans-serif'}, {name: 'Arial', value: 'Arial'}, {name: 'Arial Black', value: '\"Arial Black\"'}, {name: 'Courier New', value: '\"Courier New\"'}, {name: 'Georgia', value: 'Georgia, serif'}, {name: 'Tahoma', value: 'Tahoma, Geneva, sans-serif'}, {name: 'Times New Roman', value: '\"Times New Roman\"'}, {name: 'Trebuchet MS', value: '\"Trebuchet MS\", sans-serif'}, {name: 'Verdana', value: 'Verdana, Geneva, sans-serif'}]\n"
501
+ }
502
+ ]
503
+ },
504
+ "decorators": [
505
+ {
506
+ "name": "Input",
507
+ "type": {
508
+ "type": "reference",
509
+ "name": "Input"
510
+ },
511
+ "arguments": {}
512
+ }
513
+ ],
514
+ "sources": [
515
+ {
516
+ "fileName": "projects/text-editor/src/modules/text-editor/text-editor.component.ts",
517
+ "line": 149,
518
+ "character": 9
519
+ }
520
+ ],
521
+ "type": {
522
+ "type": "array",
523
+ "elementType": {
524
+ "type": "reference",
525
+ "id": 216,
526
+ "name": "SkyTextEditorFont"
527
+ }
528
+ },
529
+ "defaultValue": "..."
530
+ },
531
+ {
532
+ "id": 162,
533
+ "name": "fontSizeList",
534
+ "kind": 1024,
535
+ "kindString": "Property",
536
+ "flags": {
537
+ "isPublic": true
538
+ },
539
+ "comment": {
540
+ "shortText": "Specifies the font sizes to include in the font size picker.",
541
+ "tags": [
542
+ {
543
+ "tag": "default",
544
+ "text": "[6, 8, 9, 10, 11, 12, 13, 14, 15, 16, 18, 20, 22, 24, 26, 28, 36, 48]\n"
545
+ }
546
+ ]
547
+ },
548
+ "decorators": [
549
+ {
550
+ "name": "Input",
551
+ "type": {
552
+ "type": "reference",
553
+ "name": "Input"
554
+ },
555
+ "arguments": {}
556
+ }
557
+ ],
558
+ "sources": [
559
+ {
560
+ "fileName": "projects/text-editor/src/modules/text-editor/text-editor.component.ts",
561
+ "line": 156,
562
+ "character": 9
563
+ }
564
+ ],
565
+ "type": {
566
+ "type": "array",
567
+ "elementType": {
568
+ "type": "intrinsic",
569
+ "name": "number"
570
+ }
571
+ },
572
+ "defaultValue": "..."
573
+ },
574
+ {
575
+ "id": 163,
576
+ "name": "id",
577
+ "kind": 1024,
578
+ "kindString": "Property",
579
+ "flags": {
580
+ "isPublic": true
581
+ },
582
+ "comment": {
583
+ "shortText": "Specifies a unique ID attribute for the text editor.\nBy default, the component generates a random ID."
584
+ },
585
+ "decorators": [
586
+ {
587
+ "name": "Input",
588
+ "type": {
589
+ "type": "reference",
590
+ "name": "Input"
591
+ },
592
+ "arguments": {}
593
+ }
594
+ ],
595
+ "sources": [
596
+ {
597
+ "fileName": "projects/text-editor/src/modules/text-editor/text-editor.component.ts",
598
+ "line": 163,
599
+ "character": 9
600
+ }
601
+ ],
602
+ "type": {
603
+ "type": "intrinsic",
604
+ "name": "string"
605
+ },
606
+ "defaultValue": "..."
607
+ },
608
+ {
609
+ "id": 168,
610
+ "name": "menus",
611
+ "kind": 1024,
612
+ "kindString": "Property",
613
+ "flags": {
614
+ "isPublic": true
615
+ },
616
+ "comment": {
617
+ "shortText": "Specifies the menus to include in the menu bar.",
618
+ "tags": [
619
+ {
620
+ "tag": "default",
621
+ "text": "[ 'edit', 'format' ]\n"
622
+ }
623
+ ]
624
+ },
625
+ "decorators": [
626
+ {
627
+ "name": "Input",
628
+ "type": {
629
+ "type": "reference",
630
+ "name": "Input"
631
+ },
632
+ "arguments": {}
633
+ }
634
+ ],
635
+ "sources": [
636
+ {
637
+ "fileName": "projects/text-editor/src/modules/text-editor/text-editor.component.ts",
638
+ "line": 188,
639
+ "character": 9
640
+ }
641
+ ],
642
+ "type": {
643
+ "type": "array",
644
+ "elementType": {
645
+ "type": "reference",
646
+ "id": 219,
647
+ "name": "SkyTextEditorMenuType"
648
+ }
649
+ },
650
+ "defaultValue": "..."
651
+ },
652
+ {
653
+ "id": 169,
654
+ "name": "mergeFields",
655
+ "kind": 1024,
656
+ "kindString": "Property",
657
+ "flags": {
658
+ "isPublic": true
659
+ },
660
+ "comment": {
661
+ "shortText": "Specifies the merge fields to include in the merge field menu."
662
+ },
663
+ "decorators": [
664
+ {
665
+ "name": "Input",
666
+ "type": {
667
+ "type": "reference",
668
+ "name": "Input"
669
+ },
670
+ "arguments": {}
671
+ }
672
+ ],
673
+ "sources": [
674
+ {
675
+ "fileName": "projects/text-editor/src/modules/text-editor/text-editor.component.ts",
676
+ "line": 194,
677
+ "character": 9
678
+ }
679
+ ],
680
+ "type": {
681
+ "type": "array",
682
+ "elementType": {
683
+ "type": "reference",
684
+ "id": 229,
685
+ "name": "SkyTextEditorMergeField"
686
+ }
687
+ },
688
+ "defaultValue": "[]"
689
+ },
690
+ {
691
+ "id": 174,
692
+ "name": "toolbarActions",
693
+ "kind": 1024,
694
+ "kindString": "Property",
695
+ "flags": {
696
+ "isPublic": true
697
+ },
698
+ "comment": {
699
+ "shortText": "Specifies the actions to include in the toolbar and determines their order.",
700
+ "tags": [
701
+ {
702
+ "tag": "default",
703
+ "text": "[ 'font-family', 'font-size', 'font-style', 'color', 'list', 'link ]\n"
704
+ }
705
+ ]
706
+ },
707
+ "decorators": [
708
+ {
709
+ "name": "Input",
710
+ "type": {
711
+ "type": "reference",
712
+ "name": "Input"
713
+ },
714
+ "arguments": {}
715
+ }
716
+ ],
717
+ "sources": [
718
+ {
719
+ "fileName": "projects/text-editor/src/modules/text-editor/text-editor.component.ts",
720
+ "line": 220,
721
+ "character": 9
722
+ }
723
+ ],
724
+ "type": {
725
+ "type": "array",
726
+ "elementType": {
727
+ "type": "reference",
728
+ "id": 233,
729
+ "name": "SkyTextEditorToolbarActionType"
730
+ }
731
+ },
732
+ "defaultValue": "..."
733
+ },
734
+ {
735
+ "id": 156,
736
+ "name": "disabled",
737
+ "kind": 262144,
738
+ "kindString": "Accessor",
739
+ "flags": {
740
+ "isPublic": true
741
+ },
742
+ "decorators": [
743
+ {
744
+ "name": "Input",
745
+ "type": {
746
+ "type": "reference",
747
+ "name": "Input"
748
+ },
749
+ "arguments": {}
750
+ }
751
+ ],
752
+ "sources": [
753
+ {
754
+ "fileName": "projects/text-editor/src/modules/text-editor/text-editor.component.ts",
755
+ "line": 123,
756
+ "character": 13
757
+ }
758
+ ],
759
+ "getSignature": [
760
+ {
761
+ "id": 157,
762
+ "name": "disabled",
763
+ "kind": 524288,
764
+ "kindString": "Get signature",
765
+ "flags": {},
766
+ "comment": {
767
+ "shortText": "Indicates whether to disable the text editor."
768
+ },
769
+ "type": {
770
+ "type": "intrinsic",
771
+ "name": "boolean"
772
+ }
773
+ }
774
+ ],
775
+ "setSignature": [
776
+ {
777
+ "id": 158,
778
+ "name": "disabled",
779
+ "kind": 1048576,
780
+ "kindString": "Set signature",
781
+ "flags": {},
782
+ "comment": {
783
+ "shortText": "Indicates whether to disable the text editor.",
784
+ "tags": [
785
+ {
786
+ "tag": "default",
787
+ "text": "false\n"
788
+ }
789
+ ]
790
+ },
791
+ "parameters": [
792
+ {
793
+ "id": 159,
794
+ "name": "value",
795
+ "kind": 32768,
796
+ "kindString": "Parameter",
797
+ "flags": {},
798
+ "type": {
799
+ "type": "intrinsic",
800
+ "name": "boolean"
801
+ }
802
+ }
803
+ ],
804
+ "type": {
805
+ "type": "intrinsic",
806
+ "name": "void"
807
+ }
808
+ }
809
+ ]
810
+ },
811
+ {
812
+ "id": 164,
813
+ "name": "initialStyleState",
814
+ "kind": 262144,
815
+ "kindString": "Accessor",
816
+ "flags": {
817
+ "isPublic": true
818
+ },
819
+ "decorators": [
820
+ {
821
+ "name": "Input",
822
+ "type": {
823
+ "type": "reference",
824
+ "name": "Input"
825
+ },
826
+ "arguments": {}
827
+ }
828
+ ],
829
+ "sources": [
830
+ {
831
+ "fileName": "projects/text-editor/src/modules/text-editor/text-editor.component.ts",
832
+ "line": 169,
833
+ "character": 13
834
+ }
835
+ ],
836
+ "getSignature": [
837
+ {
838
+ "id": 165,
839
+ "name": "initialStyleState",
840
+ "kind": 524288,
841
+ "kindString": "Get signature",
842
+ "flags": {},
843
+ "comment": {
844
+ "shortText": "Specifies the initial styles for all content, including background color, font size, and link state."
845
+ },
846
+ "type": {
847
+ "type": "reference",
848
+ "id": 220,
849
+ "name": "SkyTextEditorStyleState"
850
+ }
851
+ }
852
+ ],
853
+ "setSignature": [
854
+ {
855
+ "id": 166,
856
+ "name": "initialStyleState",
857
+ "kind": 1048576,
858
+ "kindString": "Set signature",
859
+ "flags": {},
860
+ "comment": {
861
+ "shortText": "Specifies the initial styles for all content, including background color, font size, and link state."
862
+ },
863
+ "parameters": [
864
+ {
865
+ "id": 167,
866
+ "name": "state",
867
+ "kind": 32768,
868
+ "kindString": "Parameter",
869
+ "flags": {},
870
+ "type": {
871
+ "type": "reference",
872
+ "id": 220,
873
+ "name": "SkyTextEditorStyleState"
874
+ }
875
+ }
876
+ ],
877
+ "type": {
878
+ "type": "intrinsic",
879
+ "name": "void"
880
+ }
881
+ }
882
+ ]
883
+ },
884
+ {
885
+ "id": 170,
886
+ "name": "placeholder",
887
+ "kind": 262144,
888
+ "kindString": "Accessor",
889
+ "flags": {
890
+ "isPublic": true
891
+ },
892
+ "decorators": [
893
+ {
894
+ "name": "Input",
895
+ "type": {
896
+ "type": "reference",
897
+ "name": "Input"
898
+ },
899
+ "arguments": {}
900
+ }
901
+ ],
902
+ "sources": [
903
+ {
904
+ "fileName": "projects/text-editor/src/modules/text-editor/text-editor.component.ts",
905
+ "line": 200,
906
+ "character": 13
907
+ }
908
+ ],
909
+ "getSignature": [
910
+ {
911
+ "id": 171,
912
+ "name": "placeholder",
913
+ "kind": 524288,
914
+ "kindString": "Get signature",
915
+ "flags": {},
916
+ "comment": {
917
+ "shortText": "Specifies placeholder text to display when the text entry area is empty."
918
+ },
919
+ "type": {
920
+ "type": "intrinsic",
921
+ "name": "string"
922
+ }
923
+ }
924
+ ],
925
+ "setSignature": [
926
+ {
927
+ "id": 172,
928
+ "name": "placeholder",
929
+ "kind": 1048576,
930
+ "kindString": "Set signature",
931
+ "flags": {},
932
+ "comment": {
933
+ "shortText": "Specifies placeholder text to display when the text entry area is empty."
934
+ },
935
+ "parameters": [
936
+ {
937
+ "id": 173,
938
+ "name": "value",
939
+ "kind": 32768,
940
+ "kindString": "Parameter",
941
+ "flags": {},
942
+ "type": {
943
+ "type": "intrinsic",
944
+ "name": "string"
945
+ }
946
+ }
947
+ ],
948
+ "type": {
949
+ "type": "intrinsic",
950
+ "name": "void"
951
+ }
952
+ }
953
+ ]
954
+ },
955
+ {
956
+ "id": 175,
957
+ "name": "value",
958
+ "kind": 262144,
959
+ "kindString": "Accessor",
960
+ "flags": {
961
+ "isPublic": true
962
+ },
963
+ "sources": [
964
+ {
965
+ "fileName": "projects/text-editor/src/modules/text-editor/text-editor.component.ts",
966
+ "line": 222,
967
+ "character": 13
968
+ }
969
+ ],
970
+ "getSignature": [
971
+ {
972
+ "id": 176,
973
+ "name": "value",
974
+ "kind": 524288,
975
+ "kindString": "Get signature",
976
+ "flags": {},
977
+ "type": {
978
+ "type": "intrinsic",
979
+ "name": "string"
980
+ }
981
+ }
982
+ ],
983
+ "setSignature": [
984
+ {
985
+ "id": 177,
986
+ "name": "value",
987
+ "kind": 1048576,
988
+ "kindString": "Set signature",
989
+ "flags": {},
990
+ "parameters": [
991
+ {
992
+ "id": 178,
993
+ "name": "value",
994
+ "kind": 32768,
995
+ "kindString": "Parameter",
996
+ "flags": {},
997
+ "type": {
998
+ "type": "intrinsic",
999
+ "name": "string"
1000
+ }
1001
+ }
1002
+ ],
1003
+ "type": {
1004
+ "type": "intrinsic",
1005
+ "name": "void"
1006
+ }
1007
+ }
1008
+ ]
1009
+ },
1010
+ {
1011
+ "id": 188,
1012
+ "name": "ngAfterViewInit",
1013
+ "kind": 2048,
1014
+ "kindString": "Method",
1015
+ "flags": {
1016
+ "isPublic": true
1017
+ },
1018
+ "sources": [
1019
+ {
1020
+ "fileName": "projects/text-editor/src/modules/text-editor/text-editor.component.ts",
1021
+ "line": 274,
1022
+ "character": 9
1023
+ }
1024
+ ],
1025
+ "signatures": [
1026
+ {
1027
+ "id": 189,
1028
+ "name": "ngAfterViewInit",
1029
+ "kind": 4096,
1030
+ "kindString": "Call signature",
1031
+ "flags": {},
1032
+ "type": {
1033
+ "type": "intrinsic",
1034
+ "name": "void"
1035
+ },
1036
+ "implementationOf": {
1037
+ "type": "reference",
1038
+ "name": "AfterViewInit.ngAfterViewInit"
1039
+ }
1040
+ }
1041
+ ],
1042
+ "implementationOf": {
1043
+ "type": "reference",
1044
+ "name": "AfterViewInit.ngAfterViewInit"
1045
+ }
1046
+ },
1047
+ {
1048
+ "id": 190,
1049
+ "name": "ngOnDestroy",
1050
+ "kind": 2048,
1051
+ "kindString": "Method",
1052
+ "flags": {
1053
+ "isPublic": true
1054
+ },
1055
+ "sources": [
1056
+ {
1057
+ "fileName": "projects/text-editor/src/modules/text-editor/text-editor.component.ts",
1058
+ "line": 321,
1059
+ "character": 9
1060
+ }
1061
+ ],
1062
+ "signatures": [
1063
+ {
1064
+ "id": 191,
1065
+ "name": "ngOnDestroy",
1066
+ "kind": 4096,
1067
+ "kindString": "Call signature",
1068
+ "flags": {},
1069
+ "type": {
1070
+ "type": "intrinsic",
1071
+ "name": "void"
1072
+ },
1073
+ "implementationOf": {
1074
+ "type": "reference",
1075
+ "name": "OnDestroy.ngOnDestroy"
1076
+ }
1077
+ }
1078
+ ],
1079
+ "implementationOf": {
1080
+ "type": "reference",
1081
+ "name": "OnDestroy.ngOnDestroy"
1082
+ }
1083
+ },
1084
+ {
1085
+ "id": 204,
1086
+ "name": "onChange",
1087
+ "kind": 2048,
1088
+ "kindString": "Method",
1089
+ "flags": {
1090
+ "isPublic": true
1091
+ },
1092
+ "sources": [
1093
+ {
1094
+ "fileName": "projects/text-editor/src/modules/text-editor/text-editor.component.ts",
1095
+ "line": 353,
1096
+ "character": 9
1097
+ }
1098
+ ],
1099
+ "signatures": [
1100
+ {
1101
+ "id": 205,
1102
+ "name": "onChange",
1103
+ "kind": 4096,
1104
+ "kindString": "Call signature",
1105
+ "flags": {},
1106
+ "type": {
1107
+ "type": "intrinsic",
1108
+ "name": "void"
1109
+ }
1110
+ }
1111
+ ]
1112
+ },
1113
+ {
1114
+ "id": 208,
1115
+ "name": "onTouch",
1116
+ "kind": 2048,
1117
+ "kindString": "Method",
1118
+ "flags": {
1119
+ "isPublic": true
1120
+ },
1121
+ "sources": [
1122
+ {
1123
+ "fileName": "projects/text-editor/src/modules/text-editor/text-editor.component.ts",
1124
+ "line": 366,
1125
+ "character": 9
1126
+ }
1127
+ ],
1128
+ "signatures": [
1129
+ {
1130
+ "id": 209,
1131
+ "name": "onTouch",
1132
+ "kind": 4096,
1133
+ "kindString": "Call signature",
1134
+ "flags": {},
1135
+ "type": {
1136
+ "type": "intrinsic",
1137
+ "name": "void"
1138
+ }
1139
+ }
1140
+ ]
1141
+ },
1142
+ {
1143
+ "id": 195,
1144
+ "name": "registerOnChange",
1145
+ "kind": 2048,
1146
+ "kindString": "Method",
1147
+ "flags": {
1148
+ "isPublic": true
1149
+ },
1150
+ "sources": [
1151
+ {
1152
+ "fileName": "projects/text-editor/src/modules/text-editor/text-editor.component.ts",
1153
+ "line": 338,
1154
+ "character": 9
1155
+ }
1156
+ ],
1157
+ "signatures": [
1158
+ {
1159
+ "id": 196,
1160
+ "name": "registerOnChange",
1161
+ "kind": 4096,
1162
+ "kindString": "Call signature",
1163
+ "flags": {},
1164
+ "parameters": [
1165
+ {
1166
+ "id": 197,
1167
+ "name": "fn",
1168
+ "kind": 32768,
1169
+ "kindString": "Parameter",
1170
+ "flags": {},
1171
+ "type": {
1172
+ "type": "intrinsic",
1173
+ "name": "any"
1174
+ }
1175
+ }
1176
+ ],
1177
+ "type": {
1178
+ "type": "intrinsic",
1179
+ "name": "void"
1180
+ },
1181
+ "implementationOf": {
1182
+ "type": "reference",
1183
+ "name": "ControlValueAccessor.registerOnChange"
1184
+ }
1185
+ }
1186
+ ],
1187
+ "implementationOf": {
1188
+ "type": "reference",
1189
+ "name": "ControlValueAccessor.registerOnChange"
1190
+ }
1191
+ },
1192
+ {
1193
+ "id": 198,
1194
+ "name": "registerOnTouched",
1195
+ "kind": 2048,
1196
+ "kindString": "Method",
1197
+ "flags": {
1198
+ "isPublic": true
1199
+ },
1200
+ "sources": [
1201
+ {
1202
+ "fileName": "projects/text-editor/src/modules/text-editor/text-editor.component.ts",
1203
+ "line": 342,
1204
+ "character": 9
1205
+ }
1206
+ ],
1207
+ "signatures": [
1208
+ {
1209
+ "id": 199,
1210
+ "name": "registerOnTouched",
1211
+ "kind": 4096,
1212
+ "kindString": "Call signature",
1213
+ "flags": {},
1214
+ "parameters": [
1215
+ {
1216
+ "id": 200,
1217
+ "name": "fn",
1218
+ "kind": 32768,
1219
+ "kindString": "Parameter",
1220
+ "flags": {},
1221
+ "type": {
1222
+ "type": "intrinsic",
1223
+ "name": "any"
1224
+ }
1225
+ }
1226
+ ],
1227
+ "type": {
1228
+ "type": "intrinsic",
1229
+ "name": "void"
1230
+ },
1231
+ "implementationOf": {
1232
+ "type": "reference",
1233
+ "name": "ControlValueAccessor.registerOnTouched"
1234
+ }
1235
+ }
1236
+ ],
1237
+ "implementationOf": {
1238
+ "type": "reference",
1239
+ "name": "ControlValueAccessor.registerOnTouched"
1240
+ }
1241
+ },
1242
+ {
1243
+ "id": 201,
1244
+ "name": "setDisabledState",
1245
+ "kind": 2048,
1246
+ "kindString": "Method",
1247
+ "flags": {
1248
+ "isPublic": true
1249
+ },
1250
+ "sources": [
1251
+ {
1252
+ "fileName": "projects/text-editor/src/modules/text-editor/text-editor.component.ts",
1253
+ "line": 349,
1254
+ "character": 9
1255
+ }
1256
+ ],
1257
+ "signatures": [
1258
+ {
1259
+ "id": 202,
1260
+ "name": "setDisabledState",
1261
+ "kind": 4096,
1262
+ "kindString": "Call signature",
1263
+ "flags": {},
1264
+ "comment": {
1265
+ "shortText": "Implemented as part of ControlValueAccessor."
1266
+ },
1267
+ "parameters": [
1268
+ {
1269
+ "id": 203,
1270
+ "name": "isDisabled",
1271
+ "kind": 32768,
1272
+ "kindString": "Parameter",
1273
+ "flags": {},
1274
+ "type": {
1275
+ "type": "intrinsic",
1276
+ "name": "boolean"
1277
+ }
1278
+ }
1279
+ ],
1280
+ "type": {
1281
+ "type": "intrinsic",
1282
+ "name": "void"
1283
+ },
1284
+ "implementationOf": {
1285
+ "type": "reference",
1286
+ "name": "ControlValueAccessor.setDisabledState"
1287
+ }
1288
+ }
1289
+ ],
1290
+ "implementationOf": {
1291
+ "type": "reference",
1292
+ "name": "ControlValueAccessor.setDisabledState"
1293
+ }
1294
+ },
1295
+ {
1296
+ "id": 206,
1297
+ "name": "updateValueAndStyle",
1298
+ "kind": 2048,
1299
+ "kindString": "Method",
1300
+ "flags": {
1301
+ "isPublic": true
1302
+ },
1303
+ "sources": [
1304
+ {
1305
+ "fileName": "projects/text-editor/src/modules/text-editor/text-editor.component.ts",
1306
+ "line": 357,
1307
+ "character": 9
1308
+ }
1309
+ ],
1310
+ "signatures": [
1311
+ {
1312
+ "id": 207,
1313
+ "name": "updateValueAndStyle",
1314
+ "kind": 4096,
1315
+ "kindString": "Call signature",
1316
+ "flags": {},
1317
+ "type": {
1318
+ "type": "intrinsic",
1319
+ "name": "void"
1320
+ }
1321
+ }
1322
+ ]
1323
+ },
1324
+ {
1325
+ "id": 192,
1326
+ "name": "writeValue",
1327
+ "kind": 2048,
1328
+ "kindString": "Method",
1329
+ "flags": {
1330
+ "isPublic": true
1331
+ },
1332
+ "sources": [
1333
+ {
1334
+ "fileName": "projects/text-editor/src/modules/text-editor/text-editor.component.ts",
1335
+ "line": 328,
1336
+ "character": 9
1337
+ }
1338
+ ],
1339
+ "signatures": [
1340
+ {
1341
+ "id": 193,
1342
+ "name": "writeValue",
1343
+ "kind": 4096,
1344
+ "kindString": "Call signature",
1345
+ "flags": {},
1346
+ "parameters": [
1347
+ {
1348
+ "id": 194,
1349
+ "name": "obj",
1350
+ "kind": 32768,
1351
+ "kindString": "Parameter",
1352
+ "flags": {},
1353
+ "type": {
1354
+ "type": "intrinsic",
1355
+ "name": "string"
1356
+ }
1357
+ }
1358
+ ],
1359
+ "type": {
1360
+ "type": "intrinsic",
1361
+ "name": "void"
1362
+ },
1363
+ "implementationOf": {
1364
+ "type": "reference",
1365
+ "name": "ControlValueAccessor.writeValue"
1366
+ }
1367
+ }
1368
+ ],
1369
+ "implementationOf": {
1370
+ "type": "reference",
1371
+ "name": "ControlValueAccessor.writeValue"
1372
+ }
1373
+ }
1374
+ ],
1375
+ "groups": [
1376
+ {
1377
+ "title": "Constructors",
1378
+ "kind": 512,
1379
+ "children": [
1380
+ 148
1381
+ ]
1382
+ },
1383
+ {
1384
+ "title": "Properties",
1385
+ "kind": 1024,
1386
+ "children": [
1387
+ 155,
1388
+ 160,
1389
+ 161,
1390
+ 162,
1391
+ 163,
1392
+ 168,
1393
+ 169,
1394
+ 174
1395
+ ]
1396
+ },
1397
+ {
1398
+ "title": "Accessors",
1399
+ "kind": 262144,
1400
+ "children": [
1401
+ 156,
1402
+ 164,
1403
+ 170,
1404
+ 175
1405
+ ]
1406
+ },
1407
+ {
1408
+ "title": "Methods",
1409
+ "kind": 2048,
1410
+ "children": [
1411
+ 188,
1412
+ 190,
1413
+ 204,
1414
+ 208,
1415
+ 195,
1416
+ 198,
1417
+ 201,
1418
+ 206,
1419
+ 192
1420
+ ]
1421
+ }
1422
+ ],
1423
+ "sources": [
1424
+ {
1425
+ "fileName": "projects/text-editor/src/modules/text-editor/text-editor.component.ts",
1426
+ "line": 110,
1427
+ "character": 13
1428
+ }
1429
+ ],
1430
+ "implementedTypes": [
1431
+ {
1432
+ "type": "reference",
1433
+ "name": "AfterViewInit"
1434
+ },
1435
+ {
1436
+ "type": "reference",
1437
+ "name": "ControlValueAccessor"
1438
+ },
1439
+ {
1440
+ "type": "reference",
1441
+ "name": "OnDestroy"
1442
+ }
1443
+ ]
1444
+ },
1445
+ {
1446
+ "id": 216,
1447
+ "name": "SkyTextEditorFont",
1448
+ "kind": 256,
1449
+ "kindString": "Interface",
1450
+ "flags": {},
1451
+ "children": [
1452
+ {
1453
+ "id": 217,
1454
+ "name": "name",
1455
+ "kind": 1024,
1456
+ "kindString": "Property",
1457
+ "flags": {},
1458
+ "comment": {
1459
+ "shortText": "Specifies the display name of the font."
1460
+ },
1461
+ "sources": [
1462
+ {
1463
+ "fileName": "projects/text-editor/src/modules/text-editor/types/font-state.ts",
1464
+ "line": 6,
1465
+ "character": 2
1466
+ }
1467
+ ],
1468
+ "type": {
1469
+ "type": "intrinsic",
1470
+ "name": "string"
1471
+ }
1472
+ },
1473
+ {
1474
+ "id": 218,
1475
+ "name": "value",
1476
+ "kind": 1024,
1477
+ "kindString": "Property",
1478
+ "flags": {},
1479
+ "comment": {
1480
+ "shortText": "Specifies the CSS `font-family` value for the font."
1481
+ },
1482
+ "sources": [
1483
+ {
1484
+ "fileName": "projects/text-editor/src/modules/text-editor/types/font-state.ts",
1485
+ "line": 11,
1486
+ "character": 2
1487
+ }
1488
+ ],
1489
+ "type": {
1490
+ "type": "intrinsic",
1491
+ "name": "string"
1492
+ }
1493
+ }
1494
+ ],
1495
+ "groups": [
1496
+ {
1497
+ "title": "Properties",
1498
+ "kind": 1024,
1499
+ "children": [
1500
+ 217,
1501
+ 218
1502
+ ]
1503
+ }
1504
+ ],
1505
+ "sources": [
1506
+ {
1507
+ "fileName": "projects/text-editor/src/modules/text-editor/types/font-state.ts",
1508
+ "line": 1,
1509
+ "character": 17
1510
+ }
1511
+ ]
1512
+ },
1513
+ {
1514
+ "id": 229,
1515
+ "name": "SkyTextEditorMergeField",
1516
+ "kind": 256,
1517
+ "kindString": "Interface",
1518
+ "flags": {},
1519
+ "children": [
1520
+ {
1521
+ "id": 230,
1522
+ "name": "id",
1523
+ "kind": 1024,
1524
+ "kindString": "Property",
1525
+ "flags": {},
1526
+ "comment": {
1527
+ "shortText": "Specifies an identifier for the merge field."
1528
+ },
1529
+ "sources": [
1530
+ {
1531
+ "fileName": "projects/text-editor/src/modules/text-editor/types/text-editor-merge-field.ts",
1532
+ "line": 6,
1533
+ "character": 2
1534
+ }
1535
+ ],
1536
+ "type": {
1537
+ "type": "intrinsic",
1538
+ "name": "string"
1539
+ }
1540
+ },
1541
+ {
1542
+ "id": 231,
1543
+ "name": "name",
1544
+ "kind": 1024,
1545
+ "kindString": "Property",
1546
+ "flags": {},
1547
+ "comment": {
1548
+ "shortText": "Specifies display text for the merge field. If it is more than 18 characters, the component truncates to 15 characters."
1549
+ },
1550
+ "sources": [
1551
+ {
1552
+ "fileName": "projects/text-editor/src/modules/text-editor/types/text-editor-merge-field.ts",
1553
+ "line": 11,
1554
+ "character": 2
1555
+ }
1556
+ ],
1557
+ "type": {
1558
+ "type": "intrinsic",
1559
+ "name": "string"
1560
+ }
1561
+ },
1562
+ {
1563
+ "id": 232,
1564
+ "name": "previewImageUrl",
1565
+ "kind": 1024,
1566
+ "kindString": "Property",
1567
+ "flags": {
1568
+ "isOptional": true
1569
+ },
1570
+ "comment": {
1571
+ "shortText": "Specifies the `src` attribute for a preview image to represent the merge field\nin the text editor. By default, the `name` value appears in a blue rectangle."
1572
+ },
1573
+ "sources": [
1574
+ {
1575
+ "fileName": "projects/text-editor/src/modules/text-editor/types/text-editor-merge-field.ts",
1576
+ "line": 17,
1577
+ "character": 2
1578
+ }
1579
+ ],
1580
+ "type": {
1581
+ "type": "intrinsic",
1582
+ "name": "string"
1583
+ }
1584
+ }
1585
+ ],
1586
+ "groups": [
1587
+ {
1588
+ "title": "Properties",
1589
+ "kind": 1024,
1590
+ "children": [
1591
+ 230,
1592
+ 231,
1593
+ 232
1594
+ ]
1595
+ }
1596
+ ],
1597
+ "sources": [
1598
+ {
1599
+ "fileName": "projects/text-editor/src/modules/text-editor/types/text-editor-merge-field.ts",
1600
+ "line": 1,
1601
+ "character": 17
1602
+ }
1603
+ ]
1604
+ },
1605
+ {
1606
+ "id": 220,
1607
+ "name": "SkyTextEditorStyleState",
1608
+ "kind": 256,
1609
+ "kindString": "Interface",
1610
+ "flags": {},
1611
+ "children": [
1612
+ {
1613
+ "id": 221,
1614
+ "name": "backColor",
1615
+ "kind": 1024,
1616
+ "kindString": "Property",
1617
+ "flags": {},
1618
+ "comment": {
1619
+ "shortText": "Specifies the background color. Accepts any CSS color value."
1620
+ },
1621
+ "sources": [
1622
+ {
1623
+ "fileName": "projects/text-editor/src/modules/text-editor/types/style-state.ts",
1624
+ "line": 6,
1625
+ "character": 2
1626
+ }
1627
+ ],
1628
+ "type": {
1629
+ "type": "intrinsic",
1630
+ "name": "string"
1631
+ }
1632
+ },
1633
+ {
1634
+ "id": 225,
1635
+ "name": "boldState",
1636
+ "kind": 1024,
1637
+ "kindString": "Property",
1638
+ "flags": {},
1639
+ "comment": {
1640
+ "shortText": "Indicates whether to make text bold."
1641
+ },
1642
+ "sources": [
1643
+ {
1644
+ "fileName": "projects/text-editor/src/modules/text-editor/types/style-state.ts",
1645
+ "line": 27,
1646
+ "character": 2
1647
+ }
1648
+ ],
1649
+ "type": {
1650
+ "type": "intrinsic",
1651
+ "name": "boolean"
1652
+ }
1653
+ },
1654
+ {
1655
+ "id": 224,
1656
+ "name": "font",
1657
+ "kind": 1024,
1658
+ "kindString": "Property",
1659
+ "flags": {},
1660
+ "comment": {
1661
+ "shortText": "Specifies the font family. Available values: `\"Blackbaud Sans\"`,\n`\"Arial\"`, `\"sans-serif\"`, `\"Arial Black\"`, `\"Courier New\"`, and `\"Times New Roman\"`."
1662
+ },
1663
+ "sources": [
1664
+ {
1665
+ "fileName": "projects/text-editor/src/modules/text-editor/types/style-state.ts",
1666
+ "line": 22,
1667
+ "character": 2
1668
+ }
1669
+ ],
1670
+ "type": {
1671
+ "type": "intrinsic",
1672
+ "name": "string"
1673
+ }
1674
+ },
1675
+ {
1676
+ "id": 222,
1677
+ "name": "fontColor",
1678
+ "kind": 1024,
1679
+ "kindString": "Property",
1680
+ "flags": {},
1681
+ "comment": {
1682
+ "shortText": "Specifies the font color. Accepts any CSS color value."
1683
+ },
1684
+ "sources": [
1685
+ {
1686
+ "fileName": "projects/text-editor/src/modules/text-editor/types/style-state.ts",
1687
+ "line": 11,
1688
+ "character": 2
1689
+ }
1690
+ ],
1691
+ "type": {
1692
+ "type": "intrinsic",
1693
+ "name": "string"
1694
+ }
1695
+ },
1696
+ {
1697
+ "id": 223,
1698
+ "name": "fontSize",
1699
+ "kind": 1024,
1700
+ "kindString": "Property",
1701
+ "flags": {},
1702
+ "comment": {
1703
+ "shortText": "Specifies the font size in pixels."
1704
+ },
1705
+ "sources": [
1706
+ {
1707
+ "fileName": "projects/text-editor/src/modules/text-editor/types/style-state.ts",
1708
+ "line": 16,
1709
+ "character": 2
1710
+ }
1711
+ ],
1712
+ "type": {
1713
+ "type": "intrinsic",
1714
+ "name": "number"
1715
+ }
1716
+ },
1717
+ {
1718
+ "id": 226,
1719
+ "name": "italicState",
1720
+ "kind": 1024,
1721
+ "kindString": "Property",
1722
+ "flags": {},
1723
+ "comment": {
1724
+ "shortText": "Indicates whether to italicize text."
1725
+ },
1726
+ "sources": [
1727
+ {
1728
+ "fileName": "projects/text-editor/src/modules/text-editor/types/style-state.ts",
1729
+ "line": 32,
1730
+ "character": 2
1731
+ }
1732
+ ],
1733
+ "type": {
1734
+ "type": "intrinsic",
1735
+ "name": "boolean"
1736
+ }
1737
+ },
1738
+ {
1739
+ "id": 228,
1740
+ "name": "linkState",
1741
+ "kind": 1024,
1742
+ "kindString": "Property",
1743
+ "flags": {},
1744
+ "comment": {
1745
+ "shortText": "Indicates whether to format text as a link."
1746
+ },
1747
+ "sources": [
1748
+ {
1749
+ "fileName": "projects/text-editor/src/modules/text-editor/types/style-state.ts",
1750
+ "line": 42,
1751
+ "character": 2
1752
+ }
1753
+ ],
1754
+ "type": {
1755
+ "type": "intrinsic",
1756
+ "name": "boolean"
1757
+ }
1758
+ },
1759
+ {
1760
+ "id": 227,
1761
+ "name": "underlineState",
1762
+ "kind": 1024,
1763
+ "kindString": "Property",
1764
+ "flags": {},
1765
+ "comment": {
1766
+ "shortText": "Indicates whether to underline text."
1767
+ },
1768
+ "sources": [
1769
+ {
1770
+ "fileName": "projects/text-editor/src/modules/text-editor/types/style-state.ts",
1771
+ "line": 37,
1772
+ "character": 2
1773
+ }
1774
+ ],
1775
+ "type": {
1776
+ "type": "intrinsic",
1777
+ "name": "boolean"
1778
+ }
1779
+ }
1780
+ ],
1781
+ "groups": [
1782
+ {
1783
+ "title": "Properties",
1784
+ "kind": 1024,
1785
+ "children": [
1786
+ 221,
1787
+ 225,
1788
+ 224,
1789
+ 222,
1790
+ 223,
1791
+ 226,
1792
+ 228,
1793
+ 227
1794
+ ]
1795
+ }
1796
+ ],
1797
+ "sources": [
1798
+ {
1799
+ "fileName": "projects/text-editor/src/modules/text-editor/types/style-state.ts",
1800
+ "line": 1,
1801
+ "character": 17
1802
+ }
1803
+ ]
1804
+ },
1805
+ {
1806
+ "id": 219,
1807
+ "name": "SkyTextEditorMenuType",
1808
+ "kind": 4194304,
1809
+ "kindString": "Type alias",
1810
+ "flags": {},
1811
+ "sources": [
1812
+ {
1813
+ "fileName": "projects/text-editor/src/modules/text-editor/types/menu-type.ts",
1814
+ "line": 1,
1815
+ "character": 12
1816
+ }
1817
+ ],
1818
+ "type": {
1819
+ "type": "union",
1820
+ "types": [
1821
+ {
1822
+ "type": "literal",
1823
+ "value": "edit"
1824
+ },
1825
+ {
1826
+ "type": "literal",
1827
+ "value": "format"
1828
+ },
1829
+ {
1830
+ "type": "literal",
1831
+ "value": "merge-field"
1832
+ }
1833
+ ]
1834
+ }
1835
+ },
1836
+ {
1837
+ "id": 233,
1838
+ "name": "SkyTextEditorToolbarActionType",
1839
+ "kind": 4194304,
1840
+ "kindString": "Type alias",
1841
+ "flags": {},
1842
+ "sources": [
1843
+ {
1844
+ "fileName": "projects/text-editor/src/modules/text-editor/types/toolbar-action-type.ts",
1845
+ "line": 1,
1846
+ "character": 12
1847
+ }
1848
+ ],
1849
+ "type": {
1850
+ "type": "union",
1851
+ "types": [
1852
+ {
1853
+ "type": "literal",
1854
+ "value": "font-family"
1855
+ },
1856
+ {
1857
+ "type": "literal",
1858
+ "value": "font-size"
1859
+ },
1860
+ {
1861
+ "type": "literal",
1862
+ "value": "font-style"
1863
+ },
1864
+ {
1865
+ "type": "literal",
1866
+ "value": "color"
1867
+ },
1868
+ {
1869
+ "type": "literal",
1870
+ "value": "list"
1871
+ },
1872
+ {
1873
+ "type": "literal",
1874
+ "value": "alignment"
1875
+ },
1876
+ {
1877
+ "type": "literal",
1878
+ "value": "indentation"
1879
+ },
1880
+ {
1881
+ "type": "literal",
1882
+ "value": "undo-redo"
1883
+ },
1884
+ {
1885
+ "type": "literal",
1886
+ "value": "link"
1887
+ }
1888
+ ]
1889
+ }
1890
+ }
1891
+ ],
1892
+ "groups": [
1893
+ {
1894
+ "title": "Classes",
1895
+ "kind": 128,
1896
+ "children": [
1897
+ 213,
1898
+ 234,
1899
+ 1,
1900
+ 147
1901
+ ]
1902
+ },
1903
+ {
1904
+ "title": "Interfaces",
1905
+ "kind": 256,
1906
+ "children": [
1907
+ 216,
1908
+ 229,
1909
+ 220
1910
+ ]
1911
+ },
1912
+ {
1913
+ "title": "Type aliases",
1914
+ "kind": 4194304,
1915
+ "children": [
1916
+ 219,
1917
+ 233
1918
+ ]
1919
+ }
1920
+ ],
1921
+ "sources": [
1922
+ {
1923
+ "fileName": "projects/text-editor/src/public-api.ts",
1924
+ "line": 1,
1925
+ "character": 0
1926
+ }
1927
+ ]
1928
+ },
1929
+ "codeExamples": [
1930
+ {
1931
+ "fileName": "rich-text-display-demo.component.html",
1932
+ "filePath": "/projects/text-editor/documentation/code-examples/rich-text-display/rich-text-display-demo.component.html",
1933
+ "rawContents": "<sky-rich-text-display\n [richText]=\"richText\"\n></sky-rich-text-display>\n"
1934
+ },
1935
+ {
1936
+ "fileName": "rich-text-display-demo.component.ts",
1937
+ "filePath": "/projects/text-editor/documentation/code-examples/rich-text-display/rich-text-display-demo.component.ts",
1938
+ "rawContents": "import {\n Component\n} from '@angular/core';\n\n@Component({\n selector: 'app-rich-text-display-demo',\n templateUrl: './rich-text-display-demo.component.html'\n})\nexport class RichTextDisplayDemoComponent {\n\n public richText: string = `<font style=\"font-size: 18px\" face=\"Arial\" color=\"#a25353\"><b>Exclusively committed to your impact</b></font><p>Since day one, Blackbaud has been 100% focused on driving impact for social good organizations.</p><p>We equip change agents with <b>cloud software</b>, <i>services</i>, <u>expertise</u>, and <font color=\"#a25353\">data intelligence</font> designed with unmatched insight and supported with unparalleled commitment. Every day, our <b>customers</b> achieve unmatched impact as they advance their missions.</p><ul><li><a href=\"#\">Build a better world</a></li><li><a href=\"#\">Explore our solutions</a></li></ul>`;\n\n}\n"
1939
+ },
1940
+ {
1941
+ "fileName": "rich-text-display-demo.module.ts",
1942
+ "filePath": "/projects/text-editor/documentation/code-examples/rich-text-display/rich-text-display-demo.module.ts",
1943
+ "rawContents": "import {\n NgModule\n} from '@angular/core';\n\nimport {\n CommonModule\n} from '@angular/common';\n\nimport {\n SkyRichTextDisplayModule\n} from '@skyux/text-editor';\n\nimport {\n RichTextDisplayDemoComponent\n} from './rich-text-display-demo.component';\n\n@NgModule({\n imports: [\n CommonModule,\n SkyRichTextDisplayModule\n ],\n declarations: [\n RichTextDisplayDemoComponent\n ],\n exports: [\n RichTextDisplayDemoComponent\n ]\n})\nexport class RichTextDisplayDemoModule { }\n"
1944
+ },
1945
+ {
1946
+ "fileName": "text-editor-demo.component.html",
1947
+ "filePath": "/projects/text-editor/documentation/code-examples/text-editor/text-editor-demo.component.html",
1948
+ "rawContents": "<form\n novalidate\n [formGroup]=\"myForm\"\n>\n <h3\n skyId\n #textEditorLabel=\"skyId\"\n >\n Text editor demo\n </h3>\n <sky-text-editor\n formControlName=\"myText\"\n [attr.aria-labelledby]=\"textEditorLabel.id\"\n >\n </sky-text-editor>\n</form>\n"
1949
+ },
1950
+ {
1951
+ "fileName": "text-editor-demo.component.ts",
1952
+ "filePath": "/projects/text-editor/documentation/code-examples/text-editor/text-editor-demo.component.ts",
1953
+ "rawContents": "import {\n Component,\n OnInit\n} from '@angular/core';\n\nimport {\n FormBuilder,\n FormControl,\n FormGroup\n} from '@angular/forms';\n\n@Component({\n selector: 'app-text-editor-demo',\n templateUrl: './text-editor-demo.component.html'\n})\nexport class TextEditorDemoComponent implements OnInit {\n\n public myForm: FormGroup;\n\n private richText: string = `<font style=\"font-size: 18px\" face=\"Arial\" color=\"#a25353\"><b>Exclusively committed to your impact</b></font><p>Since day one, Blackbaud has been 100% focused on driving impact for social good organizations.</p><p>We equip change agents with <b>cloud software</b>, <i>services</i>, <u>expertise</u>, and <font color=\"#a25353\">data intelligence</font> designed with unmatched insight and supported with unparalleled commitment. Every day, our <b>customers</b> achieve unmatched impact as they advance their missions.</p><ul><li><a href=\"#\">Build a better world</a></li><li><a href=\"#\">Explore our solutions</a></li></ul>`;\n\n constructor(\n private formBuilder: FormBuilder\n ) {}\n\n public ngOnInit(): void {\n this.myForm = this.formBuilder.group({\n myText: new FormControl(this.richText)\n });\n }\n\n}\n"
1954
+ },
1955
+ {
1956
+ "fileName": "text-editor-demo.module.ts",
1957
+ "filePath": "/projects/text-editor/documentation/code-examples/text-editor/text-editor-demo.module.ts",
1958
+ "rawContents": "import {\n NgModule\n} from '@angular/core';\n\nimport {\n CommonModule\n} from '@angular/common';\n\nimport {\n ReactiveFormsModule\n} from '@angular/forms';\n\nimport {\n SkyIdModule\n} from '@skyux/core';\n\nimport {\n SkyTextEditorModule\n} from '@skyux/text-editor';\n\nimport {\n TextEditorDemoComponent\n} from './text-editor-demo.component';\n\n@NgModule({\n imports: [\n CommonModule,\n ReactiveFormsModule,\n SkyIdModule,\n SkyTextEditorModule\n ],\n declarations: [\n TextEditorDemoComponent\n ],\n exports: [\n TextEditorDemoComponent\n ]\n})\nexport class TextEditorDemoModule { }\n"
1959
+ }
1960
+ ]
1961
+ }