@vonage/vivid 5.14.0 → 5.15.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.
- package/bundled/base-color-picker.js +2 -2
- package/bundled/definition2.cjs +1 -1
- package/bundled/definition2.js +1 -1
- package/bundled/localized.js +1 -0
- package/bundled/slottable-request.js +1 -0
- package/bundled/vivid-element.cjs +1 -1
- package/bundled/vivid-element.js +1 -1
- package/custom-elements.json +477 -203
- package/icon/definition.cjs +1 -1
- package/icon/definition.js +1 -1
- package/index.cjs +1 -0
- package/index.js +1 -1
- package/lib/rich-text-editor/rte/exports.d.ts +1 -0
- package/lib/rich-text-editor/rte/features/keyboard-shortcuts.d.ts +16 -0
- package/lib/rich-text-editor/rte/instance.d.ts +2 -1
- package/package.json +4 -4
- package/rich-text-editor/definition.cjs +49 -20
- package/rich-text-editor/definition.js +49 -21
- package/rich-text-editor/index.cjs +7 -7
- package/rich-text-editor/index.js +444 -424
- package/styles/core/all.css +2 -2
- package/styles/core/theme.css +2 -2
- package/styles/core/typography.css +1 -1
- package/styles/tokens/theme-dark.css +4 -4
- package/styles/tokens/theme-light.css +4 -4
- package/styles/tokens/vivid-2-compat.css +1 -1
- package/unbundled/base-color-picker.cjs +2 -2
- package/unbundled/base-color-picker.js +2 -2
- package/unbundled/localized.cjs +1 -0
- package/unbundled/localized.js +1 -0
- package/unbundled/slottable-request.cjs +1 -0
- package/unbundled/slottable-request.js +1 -0
- package/unbundled/vivid-element.cjs +1 -1
- package/unbundled/vivid-element.js +1 -1
- package/vivid.api.json +32 -0
package/custom-elements.json
CHANGED
|
@@ -307,208 +307,6 @@
|
|
|
307
307
|
}
|
|
308
308
|
]
|
|
309
309
|
},
|
|
310
|
-
{
|
|
311
|
-
"kind": "javascript-module",
|
|
312
|
-
"path": "src/lib/action-group/action-group.ts",
|
|
313
|
-
"declarations": [
|
|
314
|
-
{
|
|
315
|
-
"kind": "class",
|
|
316
|
-
"description": "",
|
|
317
|
-
"name": "ActionGroup",
|
|
318
|
-
"cssProperties": [
|
|
319
|
-
{
|
|
320
|
-
"name": "--vvd-action-group-accent-primary",
|
|
321
|
-
"default": "var(--vvd-color-canvas-text)"
|
|
322
|
-
},
|
|
323
|
-
{
|
|
324
|
-
"name": "--vvd-action-group-accent-intermediate",
|
|
325
|
-
"default": "var(--vvd-color-neutral-500)"
|
|
326
|
-
},
|
|
327
|
-
{
|
|
328
|
-
"name": "--vvd-action-group-accent-faint",
|
|
329
|
-
"default": "var(--vvd-color-neutral-50)"
|
|
330
|
-
}
|
|
331
|
-
],
|
|
332
|
-
"slots": [
|
|
333
|
-
{
|
|
334
|
-
"description": "Default slot.",
|
|
335
|
-
"name": ""
|
|
336
|
-
}
|
|
337
|
-
],
|
|
338
|
-
"members": [
|
|
339
|
-
{
|
|
340
|
-
"kind": "field",
|
|
341
|
-
"name": "shape",
|
|
342
|
-
"type": {
|
|
343
|
-
"text": "ActionGroupShape | undefined"
|
|
344
|
-
},
|
|
345
|
-
"description": "The shape the ActionGroup should have.",
|
|
346
|
-
"privacy": "public"
|
|
347
|
-
},
|
|
348
|
-
{
|
|
349
|
-
"kind": "field",
|
|
350
|
-
"name": "appearance",
|
|
351
|
-
"type": {
|
|
352
|
-
"text": "ActionGroupAppearance | undefined"
|
|
353
|
-
},
|
|
354
|
-
"description": "The appearance the ActionGroup should have.",
|
|
355
|
-
"privacy": "public"
|
|
356
|
-
},
|
|
357
|
-
{
|
|
358
|
-
"kind": "field",
|
|
359
|
-
"name": "tight",
|
|
360
|
-
"type": {
|
|
361
|
-
"text": "boolean"
|
|
362
|
-
},
|
|
363
|
-
"default": "false",
|
|
364
|
-
"description": "Indicates whether action group should have padding.",
|
|
365
|
-
"privacy": "public"
|
|
366
|
-
},
|
|
367
|
-
{
|
|
368
|
-
"kind": "field",
|
|
369
|
-
"name": "_vividAriaBehaviour",
|
|
370
|
-
"default": "'delegate'",
|
|
371
|
-
"type": {
|
|
372
|
-
"text": "'delegate'"
|
|
373
|
-
},
|
|
374
|
-
"inheritedFrom": {
|
|
375
|
-
"name": "DelegatesAria",
|
|
376
|
-
"module": "src/shared/aria/delegates-aria.ts"
|
|
377
|
-
}
|
|
378
|
-
},
|
|
379
|
-
{
|
|
380
|
-
"kind": "field",
|
|
381
|
-
"name": "VIVID_VERSION",
|
|
382
|
-
"static": true,
|
|
383
|
-
"default": "__PACKAGE_VERSION__",
|
|
384
|
-
"description": "The current version of the Vivid library, which is useful for debugging.\nIt can be accessed from any Vivid element via `<el>.constructor.VIVID_VERSION`.",
|
|
385
|
-
"type": {
|
|
386
|
-
"text": "string"
|
|
387
|
-
},
|
|
388
|
-
"inheritedFrom": {
|
|
389
|
-
"name": "VividElement",
|
|
390
|
-
"module": "src/shared/foundation/vivid-element/vivid-element.ts"
|
|
391
|
-
}
|
|
392
|
-
},
|
|
393
|
-
{
|
|
394
|
-
"kind": "field",
|
|
395
|
-
"name": "componentName",
|
|
396
|
-
"type": {
|
|
397
|
-
"text": "string"
|
|
398
|
-
},
|
|
399
|
-
"static": true,
|
|
400
|
-
"description": "Core component name, without prefix",
|
|
401
|
-
"inheritedFrom": {
|
|
402
|
-
"name": "VividElement",
|
|
403
|
-
"module": "src/shared/foundation/vivid-element/vivid-element.ts"
|
|
404
|
-
}
|
|
405
|
-
}
|
|
406
|
-
],
|
|
407
|
-
"attributes": [
|
|
408
|
-
{
|
|
409
|
-
"name": "shape",
|
|
410
|
-
"type": {
|
|
411
|
-
"text": "ActionGroupShape | undefined"
|
|
412
|
-
},
|
|
413
|
-
"description": "The shape the ActionGroup should have.",
|
|
414
|
-
"fieldName": "shape"
|
|
415
|
-
},
|
|
416
|
-
{
|
|
417
|
-
"name": "appearance",
|
|
418
|
-
"type": {
|
|
419
|
-
"text": "ActionGroupAppearance | undefined"
|
|
420
|
-
},
|
|
421
|
-
"description": "The appearance the ActionGroup should have.",
|
|
422
|
-
"fieldName": "appearance"
|
|
423
|
-
},
|
|
424
|
-
{
|
|
425
|
-
"name": "tight",
|
|
426
|
-
"type": {
|
|
427
|
-
"text": "boolean"
|
|
428
|
-
},
|
|
429
|
-
"default": "false",
|
|
430
|
-
"description": "Indicates whether action group should have padding.",
|
|
431
|
-
"fieldName": "tight"
|
|
432
|
-
}
|
|
433
|
-
],
|
|
434
|
-
"mixins": [
|
|
435
|
-
{
|
|
436
|
-
"name": "DelegatesAria",
|
|
437
|
-
"module": "/src/shared/aria/delegates-aria"
|
|
438
|
-
}
|
|
439
|
-
],
|
|
440
|
-
"superclass": {
|
|
441
|
-
"name": "VividElement",
|
|
442
|
-
"module": "/src/shared/foundation/vivid-element/vivid-element"
|
|
443
|
-
},
|
|
444
|
-
"vividComponent": {
|
|
445
|
-
"public": true,
|
|
446
|
-
"name": "action-group"
|
|
447
|
-
}
|
|
448
|
-
}
|
|
449
|
-
],
|
|
450
|
-
"exports": [
|
|
451
|
-
{
|
|
452
|
-
"kind": "js",
|
|
453
|
-
"name": "ActionGroup",
|
|
454
|
-
"declaration": {
|
|
455
|
-
"name": "ActionGroup",
|
|
456
|
-
"module": "src/lib/action-group/action-group.ts"
|
|
457
|
-
}
|
|
458
|
-
}
|
|
459
|
-
]
|
|
460
|
-
},
|
|
461
|
-
{
|
|
462
|
-
"kind": "javascript-module",
|
|
463
|
-
"path": "src/lib/action-group/definition.ts",
|
|
464
|
-
"declarations": [
|
|
465
|
-
{
|
|
466
|
-
"kind": "variable",
|
|
467
|
-
"name": "registerActionGroup",
|
|
468
|
-
"description": "Registers the action-group elements with the design system.",
|
|
469
|
-
"parameters": [
|
|
470
|
-
{
|
|
471
|
-
"description": "the prefix to use for the component name",
|
|
472
|
-
"name": "prefix"
|
|
473
|
-
}
|
|
474
|
-
]
|
|
475
|
-
}
|
|
476
|
-
],
|
|
477
|
-
"exports": [
|
|
478
|
-
{
|
|
479
|
-
"kind": "js",
|
|
480
|
-
"name": "ActionGroupShape",
|
|
481
|
-
"declaration": {
|
|
482
|
-
"name": "ActionGroupShape",
|
|
483
|
-
"module": "./action-group"
|
|
484
|
-
}
|
|
485
|
-
},
|
|
486
|
-
{
|
|
487
|
-
"kind": "js",
|
|
488
|
-
"name": "ActionGroupAppearance",
|
|
489
|
-
"declaration": {
|
|
490
|
-
"name": "ActionGroupAppearance",
|
|
491
|
-
"module": "./action-group"
|
|
492
|
-
}
|
|
493
|
-
},
|
|
494
|
-
{
|
|
495
|
-
"kind": "js",
|
|
496
|
-
"name": "registerActionGroup",
|
|
497
|
-
"declaration": {
|
|
498
|
-
"name": "registerActionGroup",
|
|
499
|
-
"module": "src/lib/action-group/definition.ts"
|
|
500
|
-
}
|
|
501
|
-
},
|
|
502
|
-
{
|
|
503
|
-
"kind": "js",
|
|
504
|
-
"name": "VwcActionGroupElement",
|
|
505
|
-
"declaration": {
|
|
506
|
-
"name": "ActionGroup",
|
|
507
|
-
"module": "src/lib/action-group/definition.ts"
|
|
508
|
-
}
|
|
509
|
-
}
|
|
510
|
-
]
|
|
511
|
-
},
|
|
512
310
|
{
|
|
513
311
|
"kind": "javascript-module",
|
|
514
312
|
"path": "src/lib/accordion-item/accordion-item.ts",
|
|
@@ -915,6 +713,208 @@
|
|
|
915
713
|
}
|
|
916
714
|
]
|
|
917
715
|
},
|
|
716
|
+
{
|
|
717
|
+
"kind": "javascript-module",
|
|
718
|
+
"path": "src/lib/action-group/action-group.ts",
|
|
719
|
+
"declarations": [
|
|
720
|
+
{
|
|
721
|
+
"kind": "class",
|
|
722
|
+
"description": "",
|
|
723
|
+
"name": "ActionGroup",
|
|
724
|
+
"cssProperties": [
|
|
725
|
+
{
|
|
726
|
+
"name": "--vvd-action-group-accent-primary",
|
|
727
|
+
"default": "var(--vvd-color-canvas-text)"
|
|
728
|
+
},
|
|
729
|
+
{
|
|
730
|
+
"name": "--vvd-action-group-accent-intermediate",
|
|
731
|
+
"default": "var(--vvd-color-neutral-500)"
|
|
732
|
+
},
|
|
733
|
+
{
|
|
734
|
+
"name": "--vvd-action-group-accent-faint",
|
|
735
|
+
"default": "var(--vvd-color-neutral-50)"
|
|
736
|
+
}
|
|
737
|
+
],
|
|
738
|
+
"slots": [
|
|
739
|
+
{
|
|
740
|
+
"description": "Default slot.",
|
|
741
|
+
"name": ""
|
|
742
|
+
}
|
|
743
|
+
],
|
|
744
|
+
"members": [
|
|
745
|
+
{
|
|
746
|
+
"kind": "field",
|
|
747
|
+
"name": "shape",
|
|
748
|
+
"type": {
|
|
749
|
+
"text": "ActionGroupShape | undefined"
|
|
750
|
+
},
|
|
751
|
+
"description": "The shape the ActionGroup should have.",
|
|
752
|
+
"privacy": "public"
|
|
753
|
+
},
|
|
754
|
+
{
|
|
755
|
+
"kind": "field",
|
|
756
|
+
"name": "appearance",
|
|
757
|
+
"type": {
|
|
758
|
+
"text": "ActionGroupAppearance | undefined"
|
|
759
|
+
},
|
|
760
|
+
"description": "The appearance the ActionGroup should have.",
|
|
761
|
+
"privacy": "public"
|
|
762
|
+
},
|
|
763
|
+
{
|
|
764
|
+
"kind": "field",
|
|
765
|
+
"name": "tight",
|
|
766
|
+
"type": {
|
|
767
|
+
"text": "boolean"
|
|
768
|
+
},
|
|
769
|
+
"default": "false",
|
|
770
|
+
"description": "Indicates whether action group should have padding.",
|
|
771
|
+
"privacy": "public"
|
|
772
|
+
},
|
|
773
|
+
{
|
|
774
|
+
"kind": "field",
|
|
775
|
+
"name": "_vividAriaBehaviour",
|
|
776
|
+
"default": "'delegate'",
|
|
777
|
+
"type": {
|
|
778
|
+
"text": "'delegate'"
|
|
779
|
+
},
|
|
780
|
+
"inheritedFrom": {
|
|
781
|
+
"name": "DelegatesAria",
|
|
782
|
+
"module": "src/shared/aria/delegates-aria.ts"
|
|
783
|
+
}
|
|
784
|
+
},
|
|
785
|
+
{
|
|
786
|
+
"kind": "field",
|
|
787
|
+
"name": "VIVID_VERSION",
|
|
788
|
+
"static": true,
|
|
789
|
+
"default": "__PACKAGE_VERSION__",
|
|
790
|
+
"description": "The current version of the Vivid library, which is useful for debugging.\nIt can be accessed from any Vivid element via `<el>.constructor.VIVID_VERSION`.",
|
|
791
|
+
"type": {
|
|
792
|
+
"text": "string"
|
|
793
|
+
},
|
|
794
|
+
"inheritedFrom": {
|
|
795
|
+
"name": "VividElement",
|
|
796
|
+
"module": "src/shared/foundation/vivid-element/vivid-element.ts"
|
|
797
|
+
}
|
|
798
|
+
},
|
|
799
|
+
{
|
|
800
|
+
"kind": "field",
|
|
801
|
+
"name": "componentName",
|
|
802
|
+
"type": {
|
|
803
|
+
"text": "string"
|
|
804
|
+
},
|
|
805
|
+
"static": true,
|
|
806
|
+
"description": "Core component name, without prefix",
|
|
807
|
+
"inheritedFrom": {
|
|
808
|
+
"name": "VividElement",
|
|
809
|
+
"module": "src/shared/foundation/vivid-element/vivid-element.ts"
|
|
810
|
+
}
|
|
811
|
+
}
|
|
812
|
+
],
|
|
813
|
+
"attributes": [
|
|
814
|
+
{
|
|
815
|
+
"name": "shape",
|
|
816
|
+
"type": {
|
|
817
|
+
"text": "ActionGroupShape | undefined"
|
|
818
|
+
},
|
|
819
|
+
"description": "The shape the ActionGroup should have.",
|
|
820
|
+
"fieldName": "shape"
|
|
821
|
+
},
|
|
822
|
+
{
|
|
823
|
+
"name": "appearance",
|
|
824
|
+
"type": {
|
|
825
|
+
"text": "ActionGroupAppearance | undefined"
|
|
826
|
+
},
|
|
827
|
+
"description": "The appearance the ActionGroup should have.",
|
|
828
|
+
"fieldName": "appearance"
|
|
829
|
+
},
|
|
830
|
+
{
|
|
831
|
+
"name": "tight",
|
|
832
|
+
"type": {
|
|
833
|
+
"text": "boolean"
|
|
834
|
+
},
|
|
835
|
+
"default": "false",
|
|
836
|
+
"description": "Indicates whether action group should have padding.",
|
|
837
|
+
"fieldName": "tight"
|
|
838
|
+
}
|
|
839
|
+
],
|
|
840
|
+
"mixins": [
|
|
841
|
+
{
|
|
842
|
+
"name": "DelegatesAria",
|
|
843
|
+
"module": "/src/shared/aria/delegates-aria"
|
|
844
|
+
}
|
|
845
|
+
],
|
|
846
|
+
"superclass": {
|
|
847
|
+
"name": "VividElement",
|
|
848
|
+
"module": "/src/shared/foundation/vivid-element/vivid-element"
|
|
849
|
+
},
|
|
850
|
+
"vividComponent": {
|
|
851
|
+
"public": true,
|
|
852
|
+
"name": "action-group"
|
|
853
|
+
}
|
|
854
|
+
}
|
|
855
|
+
],
|
|
856
|
+
"exports": [
|
|
857
|
+
{
|
|
858
|
+
"kind": "js",
|
|
859
|
+
"name": "ActionGroup",
|
|
860
|
+
"declaration": {
|
|
861
|
+
"name": "ActionGroup",
|
|
862
|
+
"module": "src/lib/action-group/action-group.ts"
|
|
863
|
+
}
|
|
864
|
+
}
|
|
865
|
+
]
|
|
866
|
+
},
|
|
867
|
+
{
|
|
868
|
+
"kind": "javascript-module",
|
|
869
|
+
"path": "src/lib/action-group/definition.ts",
|
|
870
|
+
"declarations": [
|
|
871
|
+
{
|
|
872
|
+
"kind": "variable",
|
|
873
|
+
"name": "registerActionGroup",
|
|
874
|
+
"description": "Registers the action-group elements with the design system.",
|
|
875
|
+
"parameters": [
|
|
876
|
+
{
|
|
877
|
+
"description": "the prefix to use for the component name",
|
|
878
|
+
"name": "prefix"
|
|
879
|
+
}
|
|
880
|
+
]
|
|
881
|
+
}
|
|
882
|
+
],
|
|
883
|
+
"exports": [
|
|
884
|
+
{
|
|
885
|
+
"kind": "js",
|
|
886
|
+
"name": "ActionGroupShape",
|
|
887
|
+
"declaration": {
|
|
888
|
+
"name": "ActionGroupShape",
|
|
889
|
+
"module": "./action-group"
|
|
890
|
+
}
|
|
891
|
+
},
|
|
892
|
+
{
|
|
893
|
+
"kind": "js",
|
|
894
|
+
"name": "ActionGroupAppearance",
|
|
895
|
+
"declaration": {
|
|
896
|
+
"name": "ActionGroupAppearance",
|
|
897
|
+
"module": "./action-group"
|
|
898
|
+
}
|
|
899
|
+
},
|
|
900
|
+
{
|
|
901
|
+
"kind": "js",
|
|
902
|
+
"name": "registerActionGroup",
|
|
903
|
+
"declaration": {
|
|
904
|
+
"name": "registerActionGroup",
|
|
905
|
+
"module": "src/lib/action-group/definition.ts"
|
|
906
|
+
}
|
|
907
|
+
},
|
|
908
|
+
{
|
|
909
|
+
"kind": "js",
|
|
910
|
+
"name": "VwcActionGroupElement",
|
|
911
|
+
"declaration": {
|
|
912
|
+
"name": "ActionGroup",
|
|
913
|
+
"module": "src/lib/action-group/definition.ts"
|
|
914
|
+
}
|
|
915
|
+
}
|
|
916
|
+
]
|
|
917
|
+
},
|
|
918
918
|
{
|
|
919
919
|
"kind": "javascript-module",
|
|
920
920
|
"path": "src/lib/alert/alert.ts",
|
|
@@ -39725,6 +39725,14 @@
|
|
|
39725
39725
|
"module": "./features/input-rule"
|
|
39726
39726
|
}
|
|
39727
39727
|
},
|
|
39728
|
+
{
|
|
39729
|
+
"kind": "js",
|
|
39730
|
+
"name": "RteKeyboardShortcutsFeature",
|
|
39731
|
+
"declaration": {
|
|
39732
|
+
"name": "RteKeyboardShortcutsFeature",
|
|
39733
|
+
"module": "./features/keyboard-shortcuts"
|
|
39734
|
+
}
|
|
39735
|
+
},
|
|
39728
39736
|
{
|
|
39729
39737
|
"kind": "js",
|
|
39730
39738
|
"name": "RteSuggestFeature",
|
|
@@ -40467,7 +40475,7 @@
|
|
|
40467
40475
|
},
|
|
40468
40476
|
{
|
|
40469
40477
|
"kind": "field",
|
|
40470
|
-
"default": "new RteInstanceImpl(config, options)"
|
|
40478
|
+
"default": "new RteInstanceImpl(this, config, options)"
|
|
40471
40479
|
}
|
|
40472
40480
|
]
|
|
40473
40481
|
},
|
|
@@ -40476,6 +40484,15 @@
|
|
|
40476
40484
|
"description": "",
|
|
40477
40485
|
"name": "RteInstanceImpl",
|
|
40478
40486
|
"members": [
|
|
40487
|
+
{
|
|
40488
|
+
"kind": "field",
|
|
40489
|
+
"name": "facade",
|
|
40490
|
+
"type": {
|
|
40491
|
+
"text": "RteInstance"
|
|
40492
|
+
},
|
|
40493
|
+
"default": "instanceFacade",
|
|
40494
|
+
"readonly": true
|
|
40495
|
+
},
|
|
40479
40496
|
{
|
|
40480
40497
|
"kind": "field",
|
|
40481
40498
|
"name": "state",
|
|
@@ -43501,6 +43518,263 @@
|
|
|
43501
43518
|
}
|
|
43502
43519
|
]
|
|
43503
43520
|
},
|
|
43521
|
+
{
|
|
43522
|
+
"kind": "javascript-module",
|
|
43523
|
+
"path": "src/lib/rich-text-editor/rte/features/keyboard-shortcuts.ts",
|
|
43524
|
+
"declarations": [
|
|
43525
|
+
{
|
|
43526
|
+
"kind": "class",
|
|
43527
|
+
"description": "",
|
|
43528
|
+
"name": "RteKeyboardShortcutsFeatureImpl",
|
|
43529
|
+
"members": [
|
|
43530
|
+
{
|
|
43531
|
+
"kind": "field",
|
|
43532
|
+
"name": "name",
|
|
43533
|
+
"type": {
|
|
43534
|
+
"text": "string"
|
|
43535
|
+
},
|
|
43536
|
+
"description": "The name of the feature, e.g. RteBoldFeature\nNote: Cannot use this.constructor.name because it may be minified",
|
|
43537
|
+
"default": "`RteKeyboardShortcutsFeature[${featureId}]`",
|
|
43538
|
+
"inheritedFrom": {
|
|
43539
|
+
"name": "RteFeatureImpl",
|
|
43540
|
+
"module": "src/lib/rich-text-editor/rte/feature.ts"
|
|
43541
|
+
}
|
|
43542
|
+
},
|
|
43543
|
+
{
|
|
43544
|
+
"kind": "method",
|
|
43545
|
+
"name": "getPlugins",
|
|
43546
|
+
"return": {
|
|
43547
|
+
"type": {
|
|
43548
|
+
"text": "PluginContribution[]"
|
|
43549
|
+
}
|
|
43550
|
+
},
|
|
43551
|
+
"parameters": [
|
|
43552
|
+
{
|
|
43553
|
+
"name": "rte",
|
|
43554
|
+
"type": {
|
|
43555
|
+
"text": "RteInstanceImpl"
|
|
43556
|
+
}
|
|
43557
|
+
}
|
|
43558
|
+
],
|
|
43559
|
+
"inheritedFrom": {
|
|
43560
|
+
"name": "RteFeatureImpl",
|
|
43561
|
+
"module": "src/lib/rich-text-editor/rte/feature.ts"
|
|
43562
|
+
}
|
|
43563
|
+
},
|
|
43564
|
+
{
|
|
43565
|
+
"kind": "field",
|
|
43566
|
+
"name": "featureId",
|
|
43567
|
+
"type": {
|
|
43568
|
+
"text": "string | undefined"
|
|
43569
|
+
},
|
|
43570
|
+
"description": "If a feature can have multiple instances, a unique id to differentiate them.",
|
|
43571
|
+
"inheritedFrom": {
|
|
43572
|
+
"name": "RteFeatureImpl",
|
|
43573
|
+
"module": "src/lib/rich-text-editor/rte/feature.ts"
|
|
43574
|
+
}
|
|
43575
|
+
},
|
|
43576
|
+
{
|
|
43577
|
+
"kind": "method",
|
|
43578
|
+
"name": "contribution",
|
|
43579
|
+
"privacy": "protected",
|
|
43580
|
+
"return": {
|
|
43581
|
+
"type": {
|
|
43582
|
+
"text": "Contribution<T>"
|
|
43583
|
+
}
|
|
43584
|
+
},
|
|
43585
|
+
"parameters": [
|
|
43586
|
+
{
|
|
43587
|
+
"name": "value",
|
|
43588
|
+
"type": {
|
|
43589
|
+
"text": "T"
|
|
43590
|
+
}
|
|
43591
|
+
},
|
|
43592
|
+
{
|
|
43593
|
+
"name": "order",
|
|
43594
|
+
"optional": true,
|
|
43595
|
+
"type": {
|
|
43596
|
+
"text": "number"
|
|
43597
|
+
}
|
|
43598
|
+
}
|
|
43599
|
+
],
|
|
43600
|
+
"description": "Creates a contribution of this feature.",
|
|
43601
|
+
"inheritedFrom": {
|
|
43602
|
+
"name": "RteFeatureImpl",
|
|
43603
|
+
"module": "src/lib/rich-text-editor/rte/feature.ts"
|
|
43604
|
+
}
|
|
43605
|
+
},
|
|
43606
|
+
{
|
|
43607
|
+
"kind": "method",
|
|
43608
|
+
"name": "getStyles",
|
|
43609
|
+
"return": {
|
|
43610
|
+
"type": {
|
|
43611
|
+
"text": "StyleContribution[]"
|
|
43612
|
+
}
|
|
43613
|
+
},
|
|
43614
|
+
"inheritedFrom": {
|
|
43615
|
+
"name": "RteFeatureImpl",
|
|
43616
|
+
"module": "src/lib/rich-text-editor/rte/feature.ts"
|
|
43617
|
+
}
|
|
43618
|
+
},
|
|
43619
|
+
{
|
|
43620
|
+
"kind": "method",
|
|
43621
|
+
"name": "getSchema",
|
|
43622
|
+
"return": {
|
|
43623
|
+
"type": {
|
|
43624
|
+
"text": "SchemaContribution[]"
|
|
43625
|
+
}
|
|
43626
|
+
},
|
|
43627
|
+
"parameters": [
|
|
43628
|
+
{
|
|
43629
|
+
"name": "textblockAttrs",
|
|
43630
|
+
"type": {
|
|
43631
|
+
"text": "TextblockAttrs"
|
|
43632
|
+
}
|
|
43633
|
+
},
|
|
43634
|
+
{
|
|
43635
|
+
"name": "textblockMarks",
|
|
43636
|
+
"type": {
|
|
43637
|
+
"text": "TextblockMarks"
|
|
43638
|
+
}
|
|
43639
|
+
}
|
|
43640
|
+
],
|
|
43641
|
+
"inheritedFrom": {
|
|
43642
|
+
"name": "RteFeatureImpl",
|
|
43643
|
+
"module": "src/lib/rich-text-editor/rte/feature.ts"
|
|
43644
|
+
}
|
|
43645
|
+
},
|
|
43646
|
+
{
|
|
43647
|
+
"kind": "method",
|
|
43648
|
+
"name": "getTextblockAttrs",
|
|
43649
|
+
"return": {
|
|
43650
|
+
"type": {
|
|
43651
|
+
"text": "TextblockAttrContribution[]"
|
|
43652
|
+
}
|
|
43653
|
+
},
|
|
43654
|
+
"inheritedFrom": {
|
|
43655
|
+
"name": "RteFeatureImpl",
|
|
43656
|
+
"module": "src/lib/rich-text-editor/rte/feature.ts"
|
|
43657
|
+
}
|
|
43658
|
+
},
|
|
43659
|
+
{
|
|
43660
|
+
"kind": "method",
|
|
43661
|
+
"name": "getTextblockMarks",
|
|
43662
|
+
"return": {
|
|
43663
|
+
"type": {
|
|
43664
|
+
"text": "TextblockMarkContribution[]"
|
|
43665
|
+
}
|
|
43666
|
+
},
|
|
43667
|
+
"inheritedFrom": {
|
|
43668
|
+
"name": "RteFeatureImpl",
|
|
43669
|
+
"module": "src/lib/rich-text-editor/rte/feature.ts"
|
|
43670
|
+
}
|
|
43671
|
+
},
|
|
43672
|
+
{
|
|
43673
|
+
"kind": "method",
|
|
43674
|
+
"name": "getToolbarItems",
|
|
43675
|
+
"return": {
|
|
43676
|
+
"type": {
|
|
43677
|
+
"text": "ToolbarItemContribution[]"
|
|
43678
|
+
}
|
|
43679
|
+
},
|
|
43680
|
+
"parameters": [
|
|
43681
|
+
{
|
|
43682
|
+
"name": "rte",
|
|
43683
|
+
"type": {
|
|
43684
|
+
"text": "RteInstanceImpl"
|
|
43685
|
+
}
|
|
43686
|
+
}
|
|
43687
|
+
],
|
|
43688
|
+
"inheritedFrom": {
|
|
43689
|
+
"name": "RteFeatureImpl",
|
|
43690
|
+
"module": "src/lib/rich-text-editor/rte/feature.ts"
|
|
43691
|
+
}
|
|
43692
|
+
},
|
|
43693
|
+
{
|
|
43694
|
+
"kind": "method",
|
|
43695
|
+
"name": "getInputRules",
|
|
43696
|
+
"return": {
|
|
43697
|
+
"type": {
|
|
43698
|
+
"text": "InputRuleContribution[]"
|
|
43699
|
+
}
|
|
43700
|
+
},
|
|
43701
|
+
"parameters": [
|
|
43702
|
+
{
|
|
43703
|
+
"name": "rte",
|
|
43704
|
+
"type": {
|
|
43705
|
+
"text": "RteInstanceImpl"
|
|
43706
|
+
}
|
|
43707
|
+
}
|
|
43708
|
+
],
|
|
43709
|
+
"inheritedFrom": {
|
|
43710
|
+
"name": "RteFeatureImpl",
|
|
43711
|
+
"module": "src/lib/rich-text-editor/rte/feature.ts"
|
|
43712
|
+
}
|
|
43713
|
+
},
|
|
43714
|
+
{
|
|
43715
|
+
"kind": "method",
|
|
43716
|
+
"name": "getFeatures",
|
|
43717
|
+
"return": {
|
|
43718
|
+
"type": {
|
|
43719
|
+
"text": "RteFeatureImpl[]"
|
|
43720
|
+
}
|
|
43721
|
+
},
|
|
43722
|
+
"inheritedFrom": {
|
|
43723
|
+
"name": "RteFeatureImpl",
|
|
43724
|
+
"module": "src/lib/rich-text-editor/rte/feature.ts"
|
|
43725
|
+
}
|
|
43726
|
+
},
|
|
43727
|
+
{
|
|
43728
|
+
"kind": "method",
|
|
43729
|
+
"name": "getPublicInterface",
|
|
43730
|
+
"return": {
|
|
43731
|
+
"type": {
|
|
43732
|
+
"text": "any"
|
|
43733
|
+
}
|
|
43734
|
+
},
|
|
43735
|
+
"parameters": [
|
|
43736
|
+
{
|
|
43737
|
+
"name": "rte",
|
|
43738
|
+
"type": {
|
|
43739
|
+
"text": "RteInstanceImpl"
|
|
43740
|
+
}
|
|
43741
|
+
}
|
|
43742
|
+
],
|
|
43743
|
+
"inheritedFrom": {
|
|
43744
|
+
"name": "RteFeatureImpl",
|
|
43745
|
+
"module": "src/lib/rich-text-editor/rte/feature.ts"
|
|
43746
|
+
}
|
|
43747
|
+
}
|
|
43748
|
+
],
|
|
43749
|
+
"superclass": {
|
|
43750
|
+
"name": "RteFeatureImpl",
|
|
43751
|
+
"module": "/src/lib/rich-text-editor/rte/feature"
|
|
43752
|
+
}
|
|
43753
|
+
},
|
|
43754
|
+
{
|
|
43755
|
+
"kind": "variable",
|
|
43756
|
+
"name": "RteKeyboardShortcutsFeature"
|
|
43757
|
+
}
|
|
43758
|
+
],
|
|
43759
|
+
"exports": [
|
|
43760
|
+
{
|
|
43761
|
+
"kind": "js",
|
|
43762
|
+
"name": "RteKeyboardShortcutsFeatureImpl",
|
|
43763
|
+
"declaration": {
|
|
43764
|
+
"name": "RteKeyboardShortcutsFeatureImpl",
|
|
43765
|
+
"module": "src/lib/rich-text-editor/rte/features/keyboard-shortcuts.ts"
|
|
43766
|
+
}
|
|
43767
|
+
},
|
|
43768
|
+
{
|
|
43769
|
+
"kind": "js",
|
|
43770
|
+
"name": "RteKeyboardShortcutsFeature",
|
|
43771
|
+
"declaration": {
|
|
43772
|
+
"name": "RteKeyboardShortcutsFeature",
|
|
43773
|
+
"module": "src/lib/rich-text-editor/rte/features/keyboard-shortcuts.ts"
|
|
43774
|
+
}
|
|
43775
|
+
}
|
|
43776
|
+
]
|
|
43777
|
+
},
|
|
43504
43778
|
{
|
|
43505
43779
|
"kind": "javascript-module",
|
|
43506
43780
|
"path": "src/lib/rich-text-editor/rte/features/link.ts",
|