@vonage/vivid 5.27.0 → 5.28.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/calendar-picker.template.cjs +1 -1
- package/bundled/calendar-picker.template.js +3 -3
- package/bundled/decorate.js +1 -1
- package/bundled/definition10.cjs +5 -1
- package/bundled/definition10.js +5 -1
- package/bundled/definition2.cjs +1 -1
- package/bundled/definition2.js +1 -1
- package/bundled/definition23.cjs +8 -4
- package/bundled/definition23.js +8 -4
- package/bundled/definition4.cjs +1 -1
- package/bundled/definition4.js +1 -1
- package/bundled/definition5.cjs +1 -1
- package/bundled/definition5.js +2 -1
- package/bundled/definition8.cjs +9 -7
- package/bundled/definition8.js +11 -9
- package/bundled/definition9.cjs +3 -3
- package/bundled/definition9.js +4 -4
- package/bundled/feedback-message.cjs +1 -1
- package/bundled/feedback-message.js +1 -1
- package/bundled/localized.cjs +1 -1
- package/bundled/localized.js +12 -0
- package/bundled/render-in-light-dom.js +3 -3
- package/bundled/text-field.cjs +1 -1
- package/bundled/text-field.js +1 -1
- package/bundled/vivid-element.cjs +1 -1
- package/bundled/vivid-element.js +1 -1
- package/custom-elements.json +2052 -1998
- package/lib/badge/badge.d.ts +1 -0
- package/lib/badge/badge.template.d.ts +2 -1
- package/lib/icon/icon.d.ts +1 -1
- package/lib/popover/popover.d.ts +2 -1
- package/lib/progress-ring/progress-ring.d.ts +1 -1
- package/lib/rich-text-editor/rich-text-editor.d.ts +427 -0
- package/lib/rich-text-editor/rte/__tests__/async-generator.d.ts +1 -0
- package/lib/rich-text-editor/rte/features/atom.d.ts +6 -2
- package/lib/rich-text-editor/rte/instance.d.ts +2 -1
- package/lib/table/locale.d.ts +10 -0
- package/lib/table/table-sorting-button.d.ts +425 -0
- package/locales/de-DE.cjs +12 -0
- package/locales/de-DE.js +12 -0
- package/locales/en-GB.cjs +12 -0
- package/locales/en-GB.js +12 -0
- package/locales/ja-JP.cjs +12 -0
- package/locales/ja-JP.js +12 -0
- package/locales/zh-CN.cjs +12 -0
- package/locales/zh-CN.js +12 -0
- package/number-field/index.cjs +1 -1
- package/number-field/index.js +1 -1
- package/package.json +14 -14
- package/popover/index.cjs +2 -2
- package/popover/index.js +70 -37
- package/rich-text-editor/index.cjs +23 -17
- package/rich-text-editor/index.js +1653 -1588
- package/shared/localization/Locale.d.ts +2 -0
- package/table/index.cjs +17 -17
- package/table/index.js +50 -40
- package/unbundled/decorate.cjs +1 -1
- package/unbundled/decorate.js +1 -1
- package/unbundled/definition.cjs +1 -1
- package/unbundled/definition.js +1 -1
- package/unbundled/definition14.cjs +1 -1
- package/unbundled/definition14.js +1 -1
- package/unbundled/definition15.cjs +8 -3
- package/unbundled/definition15.js +8 -3
- package/unbundled/definition2.cjs +1 -1
- package/unbundled/definition2.js +1 -1
- package/unbundled/definition24.cjs +4 -4
- package/unbundled/definition24.js +4 -4
- package/unbundled/definition25.cjs +5 -1
- package/unbundled/definition25.js +5 -1
- package/unbundled/definition27.cjs +8 -5
- package/unbundled/definition27.js +8 -5
- package/unbundled/definition5.cjs +1 -1
- package/unbundled/definition5.js +1 -1
- package/unbundled/definition55.cjs +1 -1
- package/unbundled/definition55.js +1 -1
- package/unbundled/definition58.cjs +69 -4
- package/unbundled/definition58.js +69 -4
- package/unbundled/definition6.cjs +2 -1
- package/unbundled/definition6.js +2 -1
- package/unbundled/definition63.cjs +80 -21
- package/unbundled/definition63.js +80 -21
- package/unbundled/definition75.cjs +19 -6
- package/unbundled/definition75.js +20 -7
- package/unbundled/definition8.cjs +2 -2
- package/unbundled/definition8.js +2 -2
- package/unbundled/definition83.cjs +1 -1
- package/unbundled/definition83.js +1 -1
- package/unbundled/en-US.cjs +12 -0
- package/unbundled/en-US.js +12 -0
- package/unbundled/feedback-message.cjs +1 -1
- package/unbundled/feedback-message.js +1 -1
- package/unbundled/linkable.cjs +1 -1
- package/unbundled/linkable.js +1 -1
- package/unbundled/text-field.cjs +1 -1
- package/unbundled/text-field.js +1 -1
- package/unbundled/vivid-element.cjs +1 -1
- package/unbundled/vivid-element.js +1 -1
- package/video-player/index.cjs +1 -1
- package/video-player/index.js +1 -1
- package/vivid.api.json +63 -2
package/lib/badge/badge.d.ts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
import { VividElementDefinitionContext } from '../../shared/design-system/defineVividComponent';
|
|
2
|
-
|
|
2
|
+
import { Badge } from './badge';
|
|
3
|
+
export declare const badgeTemplate: (context: VividElementDefinitionContext) => import('@microsoft/fast-element').ViewTemplate<Badge, any>;
|
package/lib/icon/icon.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ export type IconConnotation = ExtractFromEnum<Connotation, Connotation.Accent |
|
|
|
5
5
|
export declare class Icon extends VividElement {
|
|
6
6
|
#private;
|
|
7
7
|
connotation?: IconConnotation;
|
|
8
|
-
size?: -6 | -5 | -4 | -3 | -2 | -1 | 0 | 1 | 2 | 3 | 4 | 5;
|
|
8
|
+
size?: -7 | -6 | -5 | -4 | -3 | -2 | -1 | 0 | 1 | 2 | 3 | 4 | 5;
|
|
9
9
|
label?: string;
|
|
10
10
|
name?: string;
|
|
11
11
|
}
|
package/lib/popover/popover.d.ts
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { Placement } from '@floating-ui/dom';
|
|
2
2
|
import { VividElement } from '../../shared/foundation/vivid-element/vivid-element';
|
|
3
|
+
import { VividAriaBehaviour } from '../../shared/aria/aria-mixin';
|
|
3
4
|
export type PopoverLayout = 'default' | 'condensed';
|
|
4
5
|
declare const Popover_base: {
|
|
5
6
|
new (...args: any[]): {
|
|
6
7
|
get locale(): import('../../shared/localization/Locale').Locale;
|
|
7
8
|
connectedCallback(): void;
|
|
8
9
|
focus(...args: any[]): void;
|
|
9
|
-
_vividAriaBehaviour:
|
|
10
|
+
_vividAriaBehaviour: VividAriaBehaviour;
|
|
10
11
|
readonly $fastController: import('@microsoft/fast-element').ElementController;
|
|
11
12
|
$emit(type: string, detail?: any, options?: Omit<CustomEventInit, "detail">): boolean | void;
|
|
12
13
|
disconnectedCallback: (() => void) & (() => void);
|
|
@@ -432,6 +432,6 @@ declare const ProgressRing_base: {
|
|
|
432
432
|
} & typeof BaseProgress;
|
|
433
433
|
export declare class ProgressRing extends ProgressRing_base {
|
|
434
434
|
connotation?: ProgressRingConnotation;
|
|
435
|
-
size?: -6 | -5 | -4 | -3 | -2 | -1 | 0 | 1 | 2 | 3 | 4 | 5;
|
|
435
|
+
size?: -7 | -6 | -5 | -4 | -3 | -2 | -1 | 0 | 1 | 2 | 3 | 4 | 5;
|
|
436
436
|
}
|
|
437
437
|
export {};
|
|
@@ -1,9 +1,435 @@
|
|
|
1
1
|
import { VividElement } from '../../shared/foundation/vivid-element/vivid-element';
|
|
2
2
|
import { ExtractFromEnum } from '../../shared/utils/enums';
|
|
3
|
+
import { FeedbackType } from '../../shared/feedback/feedback-message';
|
|
3
4
|
import { Appearance } from '../enums.js';
|
|
4
5
|
import { RteInstance } from './rte/instance';
|
|
5
6
|
export type RichTextEditorAppearance = ExtractFromEnum<Appearance, Appearance.Fieldset>;
|
|
7
|
+
export type RichTextEditorState = Extract<FeedbackType, 'error' | 'success'>;
|
|
6
8
|
declare const RichTextEditor_base: {
|
|
9
|
+
new (...args: any[]): {
|
|
10
|
+
_vividAriaBehaviour: "delegate";
|
|
11
|
+
connectedCallback(): void;
|
|
12
|
+
focus(...args: any[]): void;
|
|
13
|
+
readonly $fastController: import('@microsoft/fast-element').ElementController;
|
|
14
|
+
$emit(type: string, detail?: any, options?: Omit<CustomEventInit, "detail">): boolean | void;
|
|
15
|
+
disconnectedCallback: (() => void) & (() => void);
|
|
16
|
+
attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
|
|
17
|
+
accessKey: string;
|
|
18
|
+
readonly accessKeyLabel: string;
|
|
19
|
+
autocapitalize: string;
|
|
20
|
+
autocorrect: boolean;
|
|
21
|
+
dir: string;
|
|
22
|
+
draggable: boolean;
|
|
23
|
+
hidden: boolean;
|
|
24
|
+
inert: boolean;
|
|
25
|
+
innerText: string;
|
|
26
|
+
lang: string;
|
|
27
|
+
readonly offsetHeight: number;
|
|
28
|
+
readonly offsetLeft: number;
|
|
29
|
+
readonly offsetParent: Element | null;
|
|
30
|
+
readonly offsetTop: number;
|
|
31
|
+
readonly offsetWidth: number;
|
|
32
|
+
outerText: string;
|
|
33
|
+
popover: string | null;
|
|
34
|
+
spellcheck: boolean;
|
|
35
|
+
title: string;
|
|
36
|
+
translate: boolean;
|
|
37
|
+
writingSuggestions: string;
|
|
38
|
+
attachInternals(): ElementInternals;
|
|
39
|
+
click(): void;
|
|
40
|
+
hidePopover(): void;
|
|
41
|
+
showPopover(): void;
|
|
42
|
+
togglePopover(options?: boolean): boolean;
|
|
43
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
44
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
45
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
46
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
47
|
+
readonly attributes: NamedNodeMap;
|
|
48
|
+
get classList(): DOMTokenList;
|
|
49
|
+
set classList(value: string);
|
|
50
|
+
className: string;
|
|
51
|
+
readonly clientHeight: number;
|
|
52
|
+
readonly clientLeft: number;
|
|
53
|
+
readonly clientTop: number;
|
|
54
|
+
readonly clientWidth: number;
|
|
55
|
+
readonly currentCSSZoom: number;
|
|
56
|
+
id: string;
|
|
57
|
+
innerHTML: string;
|
|
58
|
+
readonly localName: string;
|
|
59
|
+
readonly namespaceURI: string | null;
|
|
60
|
+
onfullscreenchange: ((this: Element, ev: Event) => any) | null;
|
|
61
|
+
onfullscreenerror: ((this: Element, ev: Event) => any) | null;
|
|
62
|
+
outerHTML: string;
|
|
63
|
+
readonly ownerDocument: Document;
|
|
64
|
+
get part(): DOMTokenList;
|
|
65
|
+
set part(value: string);
|
|
66
|
+
readonly prefix: string | null;
|
|
67
|
+
readonly scrollHeight: number;
|
|
68
|
+
scrollLeft: number;
|
|
69
|
+
scrollTop: number;
|
|
70
|
+
readonly scrollWidth: number;
|
|
71
|
+
readonly shadowRoot: ShadowRoot | null;
|
|
72
|
+
slot: string;
|
|
73
|
+
readonly tagName: string;
|
|
74
|
+
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
75
|
+
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
|
76
|
+
closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
|
|
77
|
+
closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
|
|
78
|
+
closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
|
|
79
|
+
closest<E extends Element = Element>(selectors: string): E | null;
|
|
80
|
+
computedStyleMap(): StylePropertyMapReadOnly;
|
|
81
|
+
getAttribute(qualifiedName: string): string | null;
|
|
82
|
+
getAttributeNS(namespace: string | null, localName: string): string | null;
|
|
83
|
+
getAttributeNames(): string[];
|
|
84
|
+
getAttributeNode(qualifiedName: string): Attr | null;
|
|
85
|
+
getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
|
|
86
|
+
getBoundingClientRect(): DOMRect;
|
|
87
|
+
getClientRects(): DOMRectList;
|
|
88
|
+
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
89
|
+
getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
|
|
90
|
+
getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
|
|
91
|
+
getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
|
|
92
|
+
getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
93
|
+
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
94
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
95
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
96
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
97
|
+
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
98
|
+
getHTML(options?: GetHTMLOptions): string;
|
|
99
|
+
hasAttribute(qualifiedName: string): boolean;
|
|
100
|
+
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
|
101
|
+
hasAttributes(): boolean;
|
|
102
|
+
hasPointerCapture(pointerId: number): boolean;
|
|
103
|
+
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
104
|
+
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
105
|
+
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
106
|
+
matches(selectors: string): boolean;
|
|
107
|
+
releasePointerCapture(pointerId: number): void;
|
|
108
|
+
removeAttribute(qualifiedName: string): void;
|
|
109
|
+
removeAttributeNS(namespace: string | null, localName: string): void;
|
|
110
|
+
removeAttributeNode(attr: Attr): Attr;
|
|
111
|
+
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
112
|
+
requestPointerLock(options?: PointerLockOptions): Promise<void>;
|
|
113
|
+
scroll(options?: ScrollToOptions): void;
|
|
114
|
+
scroll(x: number, y: number): void;
|
|
115
|
+
scrollBy(options?: ScrollToOptions): void;
|
|
116
|
+
scrollBy(x: number, y: number): void;
|
|
117
|
+
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
|
|
118
|
+
scrollTo(options?: ScrollToOptions): void;
|
|
119
|
+
scrollTo(x: number, y: number): void;
|
|
120
|
+
setAttribute(qualifiedName: string, value: string): void;
|
|
121
|
+
setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
|
|
122
|
+
setAttributeNode(attr: Attr): Attr | null;
|
|
123
|
+
setAttributeNodeNS(attr: Attr): Attr | null;
|
|
124
|
+
setHTMLUnsafe(html: string): void;
|
|
125
|
+
setPointerCapture(pointerId: number): void;
|
|
126
|
+
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
127
|
+
webkitMatchesSelector(selectors: string): boolean;
|
|
128
|
+
get textContent(): string;
|
|
129
|
+
set textContent(value: string | null);
|
|
130
|
+
readonly baseURI: string;
|
|
131
|
+
readonly childNodes: NodeListOf<ChildNode>;
|
|
132
|
+
readonly firstChild: ChildNode | null;
|
|
133
|
+
readonly isConnected: boolean;
|
|
134
|
+
readonly lastChild: ChildNode | null;
|
|
135
|
+
readonly nextSibling: ChildNode | null;
|
|
136
|
+
readonly nodeName: string;
|
|
137
|
+
readonly nodeType: number;
|
|
138
|
+
nodeValue: string | null;
|
|
139
|
+
readonly parentElement: HTMLElement | null;
|
|
140
|
+
readonly parentNode: ParentNode | null;
|
|
141
|
+
readonly previousSibling: ChildNode | null;
|
|
142
|
+
appendChild<T extends Node>(node: T): T;
|
|
143
|
+
cloneNode(subtree?: boolean): Node;
|
|
144
|
+
compareDocumentPosition(other: Node): number;
|
|
145
|
+
contains(other: Node | null): boolean;
|
|
146
|
+
getRootNode(options?: GetRootNodeOptions): Node;
|
|
147
|
+
hasChildNodes(): boolean;
|
|
148
|
+
insertBefore<T extends Node>(node: T, child: Node | null): T;
|
|
149
|
+
isDefaultNamespace(namespace: string | null): boolean;
|
|
150
|
+
isEqualNode(otherNode: Node | null): boolean;
|
|
151
|
+
isSameNode(otherNode: Node | null): boolean;
|
|
152
|
+
lookupNamespaceURI(prefix: string | null): string | null;
|
|
153
|
+
lookupPrefix(namespace: string | null): string | null;
|
|
154
|
+
normalize(): void;
|
|
155
|
+
removeChild<T extends Node>(child: T): T;
|
|
156
|
+
replaceChild<T extends Node>(node: Node, child: T): T;
|
|
157
|
+
readonly ELEMENT_NODE: 1;
|
|
158
|
+
readonly ATTRIBUTE_NODE: 2;
|
|
159
|
+
readonly TEXT_NODE: 3;
|
|
160
|
+
readonly CDATA_SECTION_NODE: 4;
|
|
161
|
+
readonly ENTITY_REFERENCE_NODE: 5;
|
|
162
|
+
readonly ENTITY_NODE: 6;
|
|
163
|
+
readonly PROCESSING_INSTRUCTION_NODE: 7;
|
|
164
|
+
readonly COMMENT_NODE: 8;
|
|
165
|
+
readonly DOCUMENT_NODE: 9;
|
|
166
|
+
readonly DOCUMENT_TYPE_NODE: 10;
|
|
167
|
+
readonly DOCUMENT_FRAGMENT_NODE: 11;
|
|
168
|
+
readonly NOTATION_NODE: 12;
|
|
169
|
+
readonly DOCUMENT_POSITION_DISCONNECTED: 1;
|
|
170
|
+
readonly DOCUMENT_POSITION_PRECEDING: 2;
|
|
171
|
+
readonly DOCUMENT_POSITION_FOLLOWING: 4;
|
|
172
|
+
readonly DOCUMENT_POSITION_CONTAINS: 8;
|
|
173
|
+
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
174
|
+
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
175
|
+
dispatchEvent(event: Event): boolean;
|
|
176
|
+
ariaActiveDescendantElement: Element | null;
|
|
177
|
+
ariaAtomic: string | null;
|
|
178
|
+
ariaAutoComplete: string | null;
|
|
179
|
+
ariaBrailleLabel: string | null;
|
|
180
|
+
ariaBrailleRoleDescription: string | null;
|
|
181
|
+
ariaBusy: string | null;
|
|
182
|
+
ariaChecked: string | null;
|
|
183
|
+
ariaColCount: string | null;
|
|
184
|
+
ariaColIndex: string | null;
|
|
185
|
+
ariaColIndexText: string | null;
|
|
186
|
+
ariaColSpan: string | null;
|
|
187
|
+
ariaControlsElements: ReadonlyArray<Element> | null;
|
|
188
|
+
ariaCurrent: string | null;
|
|
189
|
+
ariaDescribedByElements: ReadonlyArray<Element> | null;
|
|
190
|
+
ariaDescription: string | null;
|
|
191
|
+
ariaDetailsElements: ReadonlyArray<Element> | null;
|
|
192
|
+
ariaDisabled: string | null;
|
|
193
|
+
ariaErrorMessageElements: ReadonlyArray<Element> | null;
|
|
194
|
+
ariaExpanded: string | null;
|
|
195
|
+
ariaFlowToElements: ReadonlyArray<Element> | null;
|
|
196
|
+
ariaHasPopup: string | null;
|
|
197
|
+
ariaHidden: string | null;
|
|
198
|
+
ariaInvalid: string | null;
|
|
199
|
+
ariaKeyShortcuts: string | null;
|
|
200
|
+
ariaLabel: string | null;
|
|
201
|
+
ariaLabelledByElements: ReadonlyArray<Element> | null;
|
|
202
|
+
ariaLevel: string | null;
|
|
203
|
+
ariaLive: string | null;
|
|
204
|
+
ariaModal: string | null;
|
|
205
|
+
ariaMultiLine: string | null;
|
|
206
|
+
ariaMultiSelectable: string | null;
|
|
207
|
+
ariaOrientation: string | null;
|
|
208
|
+
ariaOwnsElements: ReadonlyArray<Element> | null;
|
|
209
|
+
ariaPlaceholder: string | null;
|
|
210
|
+
ariaPosInSet: string | null;
|
|
211
|
+
ariaPressed: string | null;
|
|
212
|
+
ariaReadOnly: string | null;
|
|
213
|
+
ariaRelevant: string | null;
|
|
214
|
+
ariaRequired: string | null;
|
|
215
|
+
ariaRoleDescription: string | null;
|
|
216
|
+
ariaRowCount: string | null;
|
|
217
|
+
ariaRowIndex: string | null;
|
|
218
|
+
ariaRowIndexText: string | null;
|
|
219
|
+
ariaRowSpan: string | null;
|
|
220
|
+
ariaSelected: string | null;
|
|
221
|
+
ariaSetSize: string | null;
|
|
222
|
+
ariaSort: string | null;
|
|
223
|
+
ariaValueMax: string | null;
|
|
224
|
+
ariaValueMin: string | null;
|
|
225
|
+
ariaValueNow: string | null;
|
|
226
|
+
ariaValueText: string | null;
|
|
227
|
+
role: string | null;
|
|
228
|
+
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
|
|
229
|
+
getAnimations(options?: GetAnimationsOptions): Animation[];
|
|
230
|
+
after(...nodes: (Node | string)[]): void;
|
|
231
|
+
before(...nodes: (Node | string)[]): void;
|
|
232
|
+
remove(): void;
|
|
233
|
+
replaceWith(...nodes: (Node | string)[]): void;
|
|
234
|
+
readonly nextElementSibling: Element | null;
|
|
235
|
+
readonly previousElementSibling: Element | null;
|
|
236
|
+
readonly childElementCount: number;
|
|
237
|
+
readonly children: HTMLCollection;
|
|
238
|
+
readonly firstElementChild: Element | null;
|
|
239
|
+
readonly lastElementChild: Element | null;
|
|
240
|
+
append(...nodes: (Node | string)[]): void;
|
|
241
|
+
prepend(...nodes: (Node | string)[]): void;
|
|
242
|
+
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
243
|
+
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
244
|
+
querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
|
|
245
|
+
querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
|
|
246
|
+
querySelector<E extends Element = Element>(selectors: string): E | null;
|
|
247
|
+
querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
|
|
248
|
+
querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
|
|
249
|
+
querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
|
|
250
|
+
querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
251
|
+
querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
|
|
252
|
+
replaceChildren(...nodes: (Node | string)[]): void;
|
|
253
|
+
readonly assignedSlot: HTMLSlotElement | null;
|
|
254
|
+
readonly attributeStyleMap: StylePropertyMap;
|
|
255
|
+
get style(): CSSStyleDeclaration;
|
|
256
|
+
set style(cssText: string);
|
|
257
|
+
contentEditable: string;
|
|
258
|
+
enterKeyHint: string;
|
|
259
|
+
inputMode: string;
|
|
260
|
+
readonly isContentEditable: boolean;
|
|
261
|
+
onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
262
|
+
onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
263
|
+
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
264
|
+
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
265
|
+
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
266
|
+
onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
267
|
+
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
268
|
+
onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
269
|
+
onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
270
|
+
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
271
|
+
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
272
|
+
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
273
|
+
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
274
|
+
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
275
|
+
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
276
|
+
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
277
|
+
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
278
|
+
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
279
|
+
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
280
|
+
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
281
|
+
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
282
|
+
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
283
|
+
ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
284
|
+
ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
285
|
+
ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
286
|
+
ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
287
|
+
ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
288
|
+
ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
289
|
+
ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
290
|
+
ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
291
|
+
ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
292
|
+
onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
293
|
+
onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
294
|
+
onerror: OnErrorEventHandler;
|
|
295
|
+
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
296
|
+
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
297
|
+
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
298
|
+
oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
299
|
+
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
300
|
+
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
301
|
+
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
302
|
+
onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
303
|
+
onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
304
|
+
onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
305
|
+
onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
306
|
+
onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
307
|
+
onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
308
|
+
onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
309
|
+
onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
310
|
+
onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
311
|
+
onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
312
|
+
onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
313
|
+
onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
314
|
+
onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
315
|
+
onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
316
|
+
onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
317
|
+
onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
318
|
+
onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
319
|
+
onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
320
|
+
onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
321
|
+
onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
322
|
+
onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
323
|
+
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
324
|
+
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
325
|
+
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
326
|
+
onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
327
|
+
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
328
|
+
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
|
|
329
|
+
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
330
|
+
onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
331
|
+
onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
332
|
+
onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
333
|
+
onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
334
|
+
onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
|
|
335
|
+
onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
336
|
+
onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
337
|
+
onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
338
|
+
onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
339
|
+
onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
340
|
+
onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
341
|
+
onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
342
|
+
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
|
|
343
|
+
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
344
|
+
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
345
|
+
ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
346
|
+
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
347
|
+
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
348
|
+
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
349
|
+
ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
350
|
+
ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
351
|
+
ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
352
|
+
ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
353
|
+
ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
354
|
+
onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
355
|
+
onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
356
|
+
onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
357
|
+
onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
358
|
+
onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
359
|
+
onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
360
|
+
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
361
|
+
autofocus: boolean;
|
|
362
|
+
readonly dataset: DOMStringMap;
|
|
363
|
+
nonce?: string;
|
|
364
|
+
tabIndex: number;
|
|
365
|
+
blur(): void;
|
|
366
|
+
ariaControls: string | null;
|
|
367
|
+
ariaDescribedBy: string | null;
|
|
368
|
+
ariaDetails: string | null;
|
|
369
|
+
ariaErrorMessage: string | null;
|
|
370
|
+
ariaFlowTo: string | null;
|
|
371
|
+
ariaLabelledBy: string | null;
|
|
372
|
+
ariaOwns: string | null;
|
|
373
|
+
roleChanged(prev: string | null, next: string | null): void;
|
|
374
|
+
ariaAtomicChanged(prev: string | null, next: string | null): void;
|
|
375
|
+
ariaAutoCompleteChanged(prev: string | null, next: string | null): void;
|
|
376
|
+
ariaBusyChanged(prev: string | null, next: string | null): void;
|
|
377
|
+
ariaCheckedChanged(prev: string | null, next: string | null): void;
|
|
378
|
+
ariaColCountChanged(prev: string | null, next: string | null): void;
|
|
379
|
+
ariaColIndexChanged(prev: string | null, next: string | null): void;
|
|
380
|
+
ariaColIndexTextChanged(prev: string | null, next: string | null): void;
|
|
381
|
+
ariaColSpanChanged(prev: string | null, next: string | null): void;
|
|
382
|
+
ariaCurrentChanged(prev: string | null, next: string | null): void;
|
|
383
|
+
ariaDescriptionChanged(prev: string | null, next: string | null): void;
|
|
384
|
+
ariaDisabledChanged(prev: string | null, next: string | null): void;
|
|
385
|
+
ariaExpandedChanged(prev: string | null, next: string | null): void;
|
|
386
|
+
ariaHasPopupChanged(prev: string | null, next: string | null): void;
|
|
387
|
+
ariaHiddenChanged(prev: string | null, next: string | null): void;
|
|
388
|
+
ariaInvalidChanged(prev: string | null, next: string | null): void;
|
|
389
|
+
ariaKeyShortcutsChanged(prev: string | null, next: string | null): void;
|
|
390
|
+
ariaLabelChanged(prev: string | null, next: string | null): void;
|
|
391
|
+
ariaLevelChanged(prev: string | null, next: string | null): void;
|
|
392
|
+
ariaLiveChanged(prev: string | null, next: string | null): void;
|
|
393
|
+
ariaModalChanged(prev: string | null, next: string | null): void;
|
|
394
|
+
ariaMultiLineChanged(prev: string | null, next: string | null): void;
|
|
395
|
+
ariaMultiSelectableChanged(prev: string | null, next: string | null): void;
|
|
396
|
+
ariaOrientationChanged(prev: string | null, next: string | null): void;
|
|
397
|
+
ariaPlaceholderChanged(prev: string | null, next: string | null): void;
|
|
398
|
+
ariaPosInSetChanged(prev: string | null, next: string | null): void;
|
|
399
|
+
ariaPressedChanged(prev: string | null, next: string | null): void;
|
|
400
|
+
ariaReadOnlyChanged(prev: string | null, next: string | null): void;
|
|
401
|
+
ariaRequiredChanged(prev: string | null, next: string | null): void;
|
|
402
|
+
ariaRoleDescriptionChanged(prev: string | null, next: string | null): void;
|
|
403
|
+
ariaRowCountChanged(prev: string | null, next: string | null): void;
|
|
404
|
+
ariaRowIndexChanged(prev: string | null, next: string | null): void;
|
|
405
|
+
ariaRowIndexTextChanged(prev: string | null, next: string | null): void;
|
|
406
|
+
ariaRowSpanChanged(prev: string | null, next: string | null): void;
|
|
407
|
+
ariaSelectedChanged(prev: string | null, next: string | null): void;
|
|
408
|
+
ariaSetSizeChanged(prev: string | null, next: string | null): void;
|
|
409
|
+
ariaSortChanged(prev: string | null, next: string | null): void;
|
|
410
|
+
ariaValueMaxChanged(prev: string | null, next: string | null): void;
|
|
411
|
+
ariaValueMinChanged(prev: string | null, next: string | null): void;
|
|
412
|
+
ariaValueNowChanged(prev: string | null, next: string | null): void;
|
|
413
|
+
ariaValueTextChanged(prev: string | null, next: string | null): void;
|
|
414
|
+
ariaRelevantChanged(prev: string | null, next: string | null): void;
|
|
415
|
+
ariaControlsChanged(prev: string | null, next: string | null): void;
|
|
416
|
+
ariaDescribedByChanged(prev: string | null, next: string | null): void;
|
|
417
|
+
ariaDetailsChanged(prev: string | null, next: string | null): void;
|
|
418
|
+
ariaErrorMessageChanged(prev: string | null, next: string | null): void;
|
|
419
|
+
ariaFlowToChanged(prev: string | null, next: string | null): void;
|
|
420
|
+
ariaLabelledByChanged(prev: string | null, next: string | null): void;
|
|
421
|
+
ariaOwnsChanged(prev: string | null, next: string | null): void;
|
|
422
|
+
"__#private@#handleReplacedProp"(replacedProp: {
|
|
423
|
+
newPropertyName: string;
|
|
424
|
+
deprecatedPropertyName: string;
|
|
425
|
+
fromDeprecated: (v: any) => any;
|
|
426
|
+
toDeprecated?: ((v: any) => any) | undefined;
|
|
427
|
+
}): void;
|
|
428
|
+
"__#private@#controllers": Set<import('../../shared/framework/reactive-controller.js').ReactiveController>;
|
|
429
|
+
_addController(controller: import('../../shared/framework/reactive-controller.js').ReactiveController): void;
|
|
430
|
+
_removeController(controller: import('../../shared/framework/reactive-controller.js').ReactiveController): void;
|
|
431
|
+
};
|
|
432
|
+
} & {
|
|
7
433
|
new (...args: any[]): {
|
|
8
434
|
localeChanged(): void;
|
|
9
435
|
connectedCallback(): void;
|
|
@@ -439,6 +865,7 @@ declare const RichTextEditor_base: {
|
|
|
439
865
|
export declare class RichTextEditor extends RichTextEditor_base {
|
|
440
866
|
instance?: RteInstance;
|
|
441
867
|
appearance?: RichTextEditorAppearance;
|
|
868
|
+
state?: RichTextEditorState;
|
|
442
869
|
editorViewportElement?: HTMLElement;
|
|
443
870
|
private _initViewIfNeeded;
|
|
444
871
|
private _destroyViewIfNeeded;
|
|
@@ -1,5 +1,9 @@
|
|
|
1
|
-
export
|
|
2
|
-
|
|
1
|
+
export interface ResolvedAtomValueWithVariant {
|
|
2
|
+
text: string;
|
|
3
|
+
variant?: string[];
|
|
4
|
+
}
|
|
5
|
+
export type ResolvedAtomValue = string | ResolvedAtomValueWithVariant | null;
|
|
6
|
+
export type ResolvedAtomValueGenerator = AsyncGenerator<ResolvedAtomValue, ResolvedAtomValue | void>;
|
|
3
7
|
export interface RteAtomConfig {
|
|
4
8
|
resolveValue?: (value: string) => ResolvedAtomValue | ResolvedAtomValueGenerator;
|
|
5
9
|
serializeValueToHtml?: (value: string) => string | null;
|
|
@@ -51,7 +51,8 @@ export declare class RteInstanceImpl {
|
|
|
51
51
|
protected initState(initialDoc?: RteDocument): void;
|
|
52
52
|
reset(initialDocument?: RteDocument): void;
|
|
53
53
|
view: EditorView | null;
|
|
54
|
-
|
|
54
|
+
onDisabledChanged: ((disabled: boolean) => void) | null;
|
|
55
|
+
createView(mountTarget: HTMLElement): void;
|
|
55
56
|
destroyViewIfNeeded(): void;
|
|
56
57
|
createComponent<T>(type: Constructor<T>): T;
|
|
57
58
|
getLocale(): Locale;
|