@pega/cosmos-react-rte 5.0.0-dev.4.6 → 5.0.0-dev.4.8
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/package.json +2 -2
- package/lib/components/DynamicContentEditor/DynamicContentEditor.d.ts +0 -12
- package/lib/components/DynamicContentEditor/DynamicContentEditor.d.ts.map +0 -1
- package/lib/components/DynamicContentEditor/DynamicContentEditor.js +0 -252
- package/lib/components/DynamicContentEditor/DynamicContentEditor.js.map +0 -1
- package/lib/components/DynamicContentEditor/DynamicContentEditor.test-ids.d.ts +0 -2
- package/lib/components/DynamicContentEditor/DynamicContentEditor.test-ids.d.ts.map +0 -1
- package/lib/components/DynamicContentEditor/DynamicContentEditor.test-ids.js +0 -8
- package/lib/components/DynamicContentEditor/DynamicContentEditor.test-ids.js.map +0 -1
- package/lib/components/DynamicContentEditor/DynamicContentEditor.types.d.ts +0 -35
- package/lib/components/DynamicContentEditor/DynamicContentEditor.types.d.ts.map +0 -1
- package/lib/components/DynamicContentEditor/DynamicContentEditor.types.js +0 -3
- package/lib/components/DynamicContentEditor/DynamicContentEditor.types.js.map +0 -1
- package/lib/components/DynamicContentEditor/PegaCustomElement.d.ts +0 -329
- package/lib/components/DynamicContentEditor/PegaCustomElement.d.ts.map +0 -1
- package/lib/components/DynamicContentEditor/PegaCustomElement.js +0 -27
- package/lib/components/DynamicContentEditor/PegaCustomElement.js.map +0 -1
- package/lib/components/DynamicContentEditor/index.d.ts +0 -3
- package/lib/components/DynamicContentEditor/index.d.ts.map +0 -1
- package/lib/components/DynamicContentEditor/index.js +0 -2
- package/lib/components/DynamicContentEditor/index.js.map +0 -1
- package/lib/components/Editor/Editor.context.d.ts +0 -10
- package/lib/components/Editor/Editor.context.d.ts.map +0 -1
- package/lib/components/Editor/Editor.context.js +0 -10
- package/lib/components/Editor/Editor.context.js.map +0 -1
- package/lib/components/Editor/Editor.d.ts +0 -19
- package/lib/components/Editor/Editor.d.ts.map +0 -1
- package/lib/components/Editor/Editor.js +0 -369
- package/lib/components/Editor/Editor.js.map +0 -1
- package/lib/components/Editor/Editor.styles.d.ts +0 -5
- package/lib/components/Editor/Editor.styles.d.ts.map +0 -1
- package/lib/components/Editor/Editor.styles.js +0 -50
- package/lib/components/Editor/Editor.styles.js.map +0 -1
- package/lib/components/Editor/Editor.test-ids.d.ts +0 -2
- package/lib/components/Editor/Editor.test-ids.d.ts.map +0 -1
- package/lib/components/Editor/Editor.test-ids.js +0 -8
- package/lib/components/Editor/Editor.test-ids.js.map +0 -1
- package/lib/components/Editor/Editor.types.d.ts +0 -69
- package/lib/components/Editor/Editor.types.d.ts.map +0 -1
- package/lib/components/Editor/Editor.types.js +0 -2
- package/lib/components/Editor/Editor.types.js.map +0 -1
- package/lib/components/Editor/ImageEditor.d.ts +0 -10
- package/lib/components/Editor/ImageEditor.d.ts.map +0 -1
- package/lib/components/Editor/ImageEditor.js +0 -276
- package/lib/components/Editor/ImageEditor.js.map +0 -1
- package/lib/components/Editor/Toolbar/AnchorButton.d.ts +0 -10
- package/lib/components/Editor/Toolbar/AnchorButton.d.ts.map +0 -1
- package/lib/components/Editor/Toolbar/AnchorButton.js +0 -161
- package/lib/components/Editor/Toolbar/AnchorButton.js.map +0 -1
- package/lib/components/Editor/Toolbar/ImageButton.d.ts +0 -8
- package/lib/components/Editor/Toolbar/ImageButton.d.ts.map +0 -1
- package/lib/components/Editor/Toolbar/ImageButton.js +0 -30
- package/lib/components/Editor/Toolbar/ImageButton.js.map +0 -1
- package/lib/components/Editor/Toolbar/TextSelect.d.ts +0 -14
- package/lib/components/Editor/Toolbar/TextSelect.d.ts.map +0 -1
- package/lib/components/Editor/Toolbar/TextSelect.js +0 -131
- package/lib/components/Editor/Toolbar/TextSelect.js.map +0 -1
- package/lib/components/Editor/Toolbar/Toolbar.d.ts +0 -17
- package/lib/components/Editor/Toolbar/Toolbar.d.ts.map +0 -1
- package/lib/components/Editor/Toolbar/Toolbar.js +0 -164
- package/lib/components/Editor/Toolbar/Toolbar.js.map +0 -1
- package/lib/components/Editor/Toolbar/Toolbar.test-ids.d.ts +0 -3
- package/lib/components/Editor/Toolbar/Toolbar.test-ids.d.ts.map +0 -1
- package/lib/components/Editor/Toolbar/Toolbar.test-ids.js +0 -16
- package/lib/components/Editor/Toolbar/Toolbar.test-ids.js.map +0 -1
- package/lib/components/Editor/index.d.ts +0 -4
- package/lib/components/Editor/index.d.ts.map +0 -1
- package/lib/components/Editor/index.js +0 -3
- package/lib/components/Editor/index.js.map +0 -1
- package/lib/components/RichTextEditor/DecoratorComponents/CodeBlock.d.ts +0 -4
- package/lib/components/RichTextEditor/DecoratorComponents/CodeBlock.d.ts.map +0 -1
- package/lib/components/RichTextEditor/DecoratorComponents/CodeBlock.js +0 -15
- package/lib/components/RichTextEditor/DecoratorComponents/CodeBlock.js.map +0 -1
- package/lib/components/RichTextEditor/DecoratorComponents/Image.d.ts +0 -4
- package/lib/components/RichTextEditor/DecoratorComponents/Image.d.ts.map +0 -1
- package/lib/components/RichTextEditor/DecoratorComponents/Image.js +0 -7
- package/lib/components/RichTextEditor/DecoratorComponents/Image.js.map +0 -1
- package/lib/components/RichTextEditor/DecoratorComponents/Link.d.ts +0 -4
- package/lib/components/RichTextEditor/DecoratorComponents/Link.d.ts.map +0 -1
- package/lib/components/RichTextEditor/DecoratorComponents/Link.js +0 -8
- package/lib/components/RichTextEditor/DecoratorComponents/Link.js.map +0 -1
- package/lib/components/RichTextEditor/DecoratorComponents/Table.d.ts +0 -6
- package/lib/components/RichTextEditor/DecoratorComponents/Table.d.ts.map +0 -1
- package/lib/components/RichTextEditor/DecoratorComponents/Table.js +0 -24
- package/lib/components/RichTextEditor/DecoratorComponents/Table.js.map +0 -1
- package/lib/components/RichTextEditor/RichTextEditor.context.d.ts +0 -15
- package/lib/components/RichTextEditor/RichTextEditor.context.d.ts.map +0 -1
- package/lib/components/RichTextEditor/RichTextEditor.context.js +0 -11
- package/lib/components/RichTextEditor/RichTextEditor.context.js.map +0 -1
- package/lib/components/RichTextEditor/RichTextEditor.d.ts +0 -6
- package/lib/components/RichTextEditor/RichTextEditor.d.ts.map +0 -1
- package/lib/components/RichTextEditor/RichTextEditor.js +0 -346
- package/lib/components/RichTextEditor/RichTextEditor.js.map +0 -1
- package/lib/components/RichTextEditor/RichTextEditor.styles.d.ts +0 -10
- package/lib/components/RichTextEditor/RichTextEditor.styles.d.ts.map +0 -1
- package/lib/components/RichTextEditor/RichTextEditor.styles.js +0 -73
- package/lib/components/RichTextEditor/RichTextEditor.styles.js.map +0 -1
- package/lib/components/RichTextEditor/RichTextEditor.types.d.ts +0 -72
- package/lib/components/RichTextEditor/RichTextEditor.types.d.ts.map +0 -1
- package/lib/components/RichTextEditor/RichTextEditor.types.js +0 -2
- package/lib/components/RichTextEditor/RichTextEditor.types.js.map +0 -1
- package/lib/components/RichTextEditor/RichTextTreeRenderer.d.ts +0 -9
- package/lib/components/RichTextEditor/RichTextTreeRenderer.d.ts.map +0 -1
- package/lib/components/RichTextEditor/RichTextTreeRenderer.js +0 -15
- package/lib/components/RichTextEditor/RichTextTreeRenderer.js.map +0 -1
- package/lib/components/RichTextEditor/RichTextViewer.d.ts +0 -7
- package/lib/components/RichTextEditor/RichTextViewer.d.ts.map +0 -1
- package/lib/components/RichTextEditor/RichTextViewer.js +0 -38
- package/lib/components/RichTextEditor/RichTextViewer.js.map +0 -1
- package/lib/components/RichTextEditor/RichTextViewer.types.d.ts +0 -33
- package/lib/components/RichTextEditor/RichTextViewer.types.d.ts.map +0 -1
- package/lib/components/RichTextEditor/RichTextViewer.types.js +0 -2
- package/lib/components/RichTextEditor/RichTextViewer.types.js.map +0 -1
- package/lib/components/RichTextEditor/Toolbar/AnchorButton.d.ts +0 -8
- package/lib/components/RichTextEditor/Toolbar/AnchorButton.d.ts.map +0 -1
- package/lib/components/RichTextEditor/Toolbar/AnchorButton.js +0 -156
- package/lib/components/RichTextEditor/Toolbar/AnchorButton.js.map +0 -1
- package/lib/components/RichTextEditor/Toolbar/ImageButton.d.ts +0 -5
- package/lib/components/RichTextEditor/Toolbar/ImageButton.d.ts.map +0 -1
- package/lib/components/RichTextEditor/Toolbar/ImageButton.js +0 -30
- package/lib/components/RichTextEditor/Toolbar/ImageButton.js.map +0 -1
- package/lib/components/RichTextEditor/Toolbar/IndentButton.d.ts +0 -8
- package/lib/components/RichTextEditor/Toolbar/IndentButton.d.ts.map +0 -1
- package/lib/components/RichTextEditor/Toolbar/IndentButton.js +0 -31
- package/lib/components/RichTextEditor/Toolbar/IndentButton.js.map +0 -1
- package/lib/components/RichTextEditor/Toolbar/TableButton.d.ts +0 -5
- package/lib/components/RichTextEditor/Toolbar/TableButton.d.ts.map +0 -1
- package/lib/components/RichTextEditor/Toolbar/TableButton.js +0 -20
- package/lib/components/RichTextEditor/Toolbar/TableButton.js.map +0 -1
- package/lib/components/RichTextEditor/Toolbar/TextSelect.d.ts +0 -6
- package/lib/components/RichTextEditor/Toolbar/TextSelect.d.ts.map +0 -1
- package/lib/components/RichTextEditor/Toolbar/TextSelect.js +0 -119
- package/lib/components/RichTextEditor/Toolbar/TextSelect.js.map +0 -1
- package/lib/components/RichTextEditor/Toolbar/Toolbar.d.ts +0 -10
- package/lib/components/RichTextEditor/Toolbar/Toolbar.d.ts.map +0 -1
- package/lib/components/RichTextEditor/Toolbar/Toolbar.js +0 -155
- package/lib/components/RichTextEditor/Toolbar/Toolbar.js.map +0 -1
- package/lib/components/RichTextEditor/Toolbar/Toolbar.types.d.ts +0 -9
- package/lib/components/RichTextEditor/Toolbar/Toolbar.types.d.ts.map +0 -1
- package/lib/components/RichTextEditor/Toolbar/Toolbar.types.js +0 -2
- package/lib/components/RichTextEditor/Toolbar/Toolbar.types.js.map +0 -1
- package/lib/components/RichTextEditor/Toolbar/ToolbarButton.d.ts +0 -14
- package/lib/components/RichTextEditor/Toolbar/ToolbarButton.d.ts.map +0 -1
- package/lib/components/RichTextEditor/Toolbar/ToolbarButton.js +0 -67
- package/lib/components/RichTextEditor/Toolbar/ToolbarButton.js.map +0 -1
- package/lib/components/RichTextEditor/Toolbar/utils.d.ts +0 -7
- package/lib/components/RichTextEditor/Toolbar/utils.d.ts.map +0 -1
- package/lib/components/RichTextEditor/Toolbar/utils.js +0 -13
- package/lib/components/RichTextEditor/Toolbar/utils.js.map +0 -1
- package/lib/components/RichTextEditor/index.d.ts +0 -9
- package/lib/components/RichTextEditor/index.d.ts.map +0 -1
- package/lib/components/RichTextEditor/index.js +0 -6
- package/lib/components/RichTextEditor/index.js.map +0 -1
- package/lib/components/RichTextEditor/utils/EditorCommands.d.ts +0 -34
- package/lib/components/RichTextEditor/utils/EditorCommands.d.ts.map +0 -1
- package/lib/components/RichTextEditor/utils/EditorCommands.js +0 -447
- package/lib/components/RichTextEditor/utils/EditorCommands.js.map +0 -1
- package/lib/components/RichTextEditor/utils/ListCommands.d.ts +0 -10
- package/lib/components/RichTextEditor/utils/ListCommands.d.ts.map +0 -1
- package/lib/components/RichTextEditor/utils/ListCommands.js +0 -346
- package/lib/components/RichTextEditor/utils/ListCommands.js.map +0 -1
- package/lib/components/RichTextEditor/utils/htmlConverter.d.ts +0 -29
- package/lib/components/RichTextEditor/utils/htmlConverter.d.ts.map +0 -1
- package/lib/components/RichTextEditor/utils/htmlConverter.js +0 -156
- package/lib/components/RichTextEditor/utils/htmlConverter.js.map +0 -1
- package/lib/components/RichTextEditor/utils/interactionRenderer.d.ts +0 -6
- package/lib/components/RichTextEditor/utils/interactionRenderer.d.ts.map +0 -1
- package/lib/components/RichTextEditor/utils/interactionRenderer.js +0 -132
- package/lib/components/RichTextEditor/utils/interactionRenderer.js.map +0 -1
- package/lib/components/RichTextEditor/utils/markdownConverter.d.ts +0 -6
- package/lib/components/RichTextEditor/utils/markdownConverter.d.ts.map +0 -1
- package/lib/components/RichTextEditor/utils/markdownConverter.js +0 -130
- package/lib/components/RichTextEditor/utils/markdownConverter.js.map +0 -1
- package/lib/components/RichTextEditor/utils/renderers.d.ts +0 -22
- package/lib/components/RichTextEditor/utils/renderers.d.ts.map +0 -1
- package/lib/components/RichTextEditor/utils/renderers.js +0 -163
- package/lib/components/RichTextEditor/utils/renderers.js.map +0 -1
- package/lib/components/RichTextEditor/utils/search.d.ts +0 -11
- package/lib/components/RichTextEditor/utils/search.d.ts.map +0 -1
- package/lib/components/RichTextEditor/utils/search.js +0 -37
- package/lib/components/RichTextEditor/utils/search.js.map +0 -1
- package/lib/components/RichTextEditor/utils/slateConverter.d.ts +0 -25
- package/lib/components/RichTextEditor/utils/slateConverter.d.ts.map +0 -1
- package/lib/components/RichTextEditor/utils/slateConverter.js +0 -88
- package/lib/components/RichTextEditor/utils/slateConverter.js.map +0 -1
- package/lib/components/RichTextEditor/utils/utils.types.d.ts +0 -3
- package/lib/components/RichTextEditor/utils/utils.types.d.ts.map +0 -1
- package/lib/components/RichTextEditor/utils/utils.types.js +0 -3
- package/lib/components/RichTextEditor/utils/utils.types.js.map +0 -1
- package/lib/index.d.ts +0 -5
- package/lib/index.d.ts.map +0 -1
- package/lib/index.js +0 -6
- package/lib/index.js.map +0 -1
|
@@ -1,329 +0,0 @@
|
|
|
1
|
-
export declare const pegaReferenceElementStyle = "pega-reference {\n color: #076bc9;\n cursor: pointer;\n}\n\npega-reference:hover{\n text-decoration: underline;\n}\n\npega-reference::before{\n content: '['\n}\n\npega-reference::after{\n content: ']'\n}";
|
|
2
|
-
export declare const createPegaReferenceElement: (win: typeof globalThis) => {
|
|
3
|
-
new (): {
|
|
4
|
-
connectedCallback(): void;
|
|
5
|
-
accessKey: string;
|
|
6
|
-
readonly accessKeyLabel: string;
|
|
7
|
-
autocapitalize: string;
|
|
8
|
-
dir: string;
|
|
9
|
-
draggable: boolean;
|
|
10
|
-
hidden: boolean;
|
|
11
|
-
inert: boolean;
|
|
12
|
-
innerText: string;
|
|
13
|
-
lang: string;
|
|
14
|
-
readonly offsetHeight: number;
|
|
15
|
-
readonly offsetLeft: number;
|
|
16
|
-
readonly offsetParent: Element | null;
|
|
17
|
-
readonly offsetTop: number;
|
|
18
|
-
readonly offsetWidth: number;
|
|
19
|
-
outerText: string;
|
|
20
|
-
popover: string | null;
|
|
21
|
-
spellcheck: boolean;
|
|
22
|
-
title: string;
|
|
23
|
-
translate: boolean;
|
|
24
|
-
attachInternals(): ElementInternals;
|
|
25
|
-
click(): void;
|
|
26
|
-
hidePopover(): void;
|
|
27
|
-
showPopover(): void;
|
|
28
|
-
togglePopover(force?: boolean | undefined): void;
|
|
29
|
-
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions | undefined): void;
|
|
30
|
-
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions | undefined): void;
|
|
31
|
-
removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions | undefined): void;
|
|
32
|
-
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions | undefined): void;
|
|
33
|
-
readonly attributes: NamedNodeMap;
|
|
34
|
-
readonly classList: DOMTokenList;
|
|
35
|
-
className: string;
|
|
36
|
-
readonly clientHeight: number;
|
|
37
|
-
readonly clientLeft: number;
|
|
38
|
-
readonly clientTop: number;
|
|
39
|
-
readonly clientWidth: number;
|
|
40
|
-
id: string;
|
|
41
|
-
readonly localName: string;
|
|
42
|
-
readonly namespaceURI: string | null;
|
|
43
|
-
onfullscreenchange: ((this: Element, ev: Event) => any) | null;
|
|
44
|
-
onfullscreenerror: ((this: Element, ev: Event) => any) | null;
|
|
45
|
-
outerHTML: string;
|
|
46
|
-
readonly ownerDocument: Document;
|
|
47
|
-
readonly part: DOMTokenList;
|
|
48
|
-
readonly prefix: string | null;
|
|
49
|
-
readonly scrollHeight: number;
|
|
50
|
-
scrollLeft: number;
|
|
51
|
-
scrollTop: number;
|
|
52
|
-
readonly scrollWidth: number;
|
|
53
|
-
readonly shadowRoot: ShadowRoot | null;
|
|
54
|
-
slot: string;
|
|
55
|
-
readonly tagName: string;
|
|
56
|
-
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
57
|
-
checkVisibility(options?: CheckVisibilityOptions | undefined): boolean;
|
|
58
|
-
closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2] | null;
|
|
59
|
-
closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3] | null;
|
|
60
|
-
closest<K_4 extends keyof MathMLElementTagNameMap>(selector: K_4): MathMLElementTagNameMap[K_4] | null;
|
|
61
|
-
closest<E extends Element = Element>(selectors: string): E | null;
|
|
62
|
-
computedStyleMap(): StylePropertyMapReadOnly;
|
|
63
|
-
getAttribute(qualifiedName: string): string | null;
|
|
64
|
-
getAttributeNS(namespace: string | null, localName: string): string | null;
|
|
65
|
-
getAttributeNames(): string[];
|
|
66
|
-
getAttributeNode(qualifiedName: string): Attr | null;
|
|
67
|
-
getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
|
|
68
|
-
getBoundingClientRect(): DOMRect;
|
|
69
|
-
getClientRects(): DOMRectList;
|
|
70
|
-
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
71
|
-
getElementsByTagName<K_5 extends keyof HTMLElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<HTMLElementTagNameMap[K_5]>;
|
|
72
|
-
getElementsByTagName<K_6 extends keyof SVGElementTagNameMap>(qualifiedName: K_6): HTMLCollectionOf<SVGElementTagNameMap[K_6]>;
|
|
73
|
-
getElementsByTagName<K_7 extends keyof MathMLElementTagNameMap>(qualifiedName: K_7): HTMLCollectionOf<MathMLElementTagNameMap[K_7]>;
|
|
74
|
-
getElementsByTagName<K_8 extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K_8): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K_8]>;
|
|
75
|
-
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
76
|
-
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
77
|
-
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
78
|
-
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
79
|
-
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
80
|
-
hasAttribute(qualifiedName: string): boolean;
|
|
81
|
-
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
|
82
|
-
hasAttributes(): boolean;
|
|
83
|
-
hasPointerCapture(pointerId: number): boolean;
|
|
84
|
-
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
85
|
-
insertAdjacentHTML(position: InsertPosition, text: string): void;
|
|
86
|
-
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
87
|
-
matches(selectors: string): boolean;
|
|
88
|
-
releasePointerCapture(pointerId: number): void;
|
|
89
|
-
removeAttribute(qualifiedName: string): void;
|
|
90
|
-
removeAttributeNS(namespace: string | null, localName: string): void;
|
|
91
|
-
removeAttributeNode(attr: Attr): Attr;
|
|
92
|
-
requestFullscreen(options?: FullscreenOptions | undefined): Promise<void>;
|
|
93
|
-
requestPointerLock(): void;
|
|
94
|
-
scroll(options?: ScrollToOptions | undefined): void;
|
|
95
|
-
scroll(x: number, y: number): void;
|
|
96
|
-
scrollBy(options?: ScrollToOptions | undefined): void;
|
|
97
|
-
scrollBy(x: number, y: number): void;
|
|
98
|
-
scrollIntoView(arg?: boolean | ScrollIntoViewOptions | undefined): void;
|
|
99
|
-
scrollTo(options?: ScrollToOptions | undefined): void;
|
|
100
|
-
scrollTo(x: number, y: number): void;
|
|
101
|
-
setAttribute(qualifiedName: string, value: string): void;
|
|
102
|
-
setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
|
|
103
|
-
setAttributeNode(attr: Attr): Attr | null;
|
|
104
|
-
setAttributeNodeNS(attr: Attr): Attr | null;
|
|
105
|
-
setPointerCapture(pointerId: number): void;
|
|
106
|
-
toggleAttribute(qualifiedName: string, force?: boolean | undefined): boolean;
|
|
107
|
-
webkitMatchesSelector(selectors: string): boolean;
|
|
108
|
-
readonly baseURI: string;
|
|
109
|
-
readonly childNodes: NodeListOf<ChildNode>;
|
|
110
|
-
readonly firstChild: ChildNode | null;
|
|
111
|
-
readonly isConnected: boolean;
|
|
112
|
-
readonly lastChild: ChildNode | null;
|
|
113
|
-
readonly nextSibling: ChildNode | null;
|
|
114
|
-
readonly nodeName: string;
|
|
115
|
-
readonly nodeType: number;
|
|
116
|
-
nodeValue: string | null;
|
|
117
|
-
readonly parentElement: HTMLElement | null;
|
|
118
|
-
readonly parentNode: ParentNode | null;
|
|
119
|
-
readonly previousSibling: ChildNode | null;
|
|
120
|
-
textContent: string | null;
|
|
121
|
-
appendChild<T extends Node>(node: T): T;
|
|
122
|
-
cloneNode(deep?: boolean | undefined): Node;
|
|
123
|
-
compareDocumentPosition(other: Node): number;
|
|
124
|
-
contains(other: Node | null): boolean;
|
|
125
|
-
getRootNode(options?: GetRootNodeOptions | undefined): Node;
|
|
126
|
-
hasChildNodes(): boolean;
|
|
127
|
-
insertBefore<T_1 extends Node>(node: T_1, child: Node | null): T_1;
|
|
128
|
-
isDefaultNamespace(namespace: string | null): boolean;
|
|
129
|
-
isEqualNode(otherNode: Node | null): boolean;
|
|
130
|
-
isSameNode(otherNode: Node | null): boolean;
|
|
131
|
-
lookupNamespaceURI(prefix: string | null): string | null;
|
|
132
|
-
lookupPrefix(namespace: string | null): string | null;
|
|
133
|
-
normalize(): void;
|
|
134
|
-
removeChild<T_2 extends Node>(child: T_2): T_2;
|
|
135
|
-
replaceChild<T_3 extends Node>(node: Node, child: T_3): T_3;
|
|
136
|
-
readonly ELEMENT_NODE: 1;
|
|
137
|
-
readonly ATTRIBUTE_NODE: 2;
|
|
138
|
-
readonly TEXT_NODE: 3;
|
|
139
|
-
readonly CDATA_SECTION_NODE: 4;
|
|
140
|
-
readonly ENTITY_REFERENCE_NODE: 5;
|
|
141
|
-
readonly ENTITY_NODE: 6;
|
|
142
|
-
readonly PROCESSING_INSTRUCTION_NODE: 7;
|
|
143
|
-
readonly COMMENT_NODE: 8;
|
|
144
|
-
readonly DOCUMENT_NODE: 9;
|
|
145
|
-
readonly DOCUMENT_TYPE_NODE: 10;
|
|
146
|
-
readonly DOCUMENT_FRAGMENT_NODE: 11;
|
|
147
|
-
readonly NOTATION_NODE: 12;
|
|
148
|
-
readonly DOCUMENT_POSITION_DISCONNECTED: 1;
|
|
149
|
-
readonly DOCUMENT_POSITION_PRECEDING: 2;
|
|
150
|
-
readonly DOCUMENT_POSITION_FOLLOWING: 4;
|
|
151
|
-
readonly DOCUMENT_POSITION_CONTAINS: 8;
|
|
152
|
-
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
153
|
-
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
154
|
-
dispatchEvent(event: Event): boolean;
|
|
155
|
-
ariaAtomic: string | null;
|
|
156
|
-
ariaAutoComplete: string | null;
|
|
157
|
-
ariaBusy: string | null;
|
|
158
|
-
ariaChecked: string | null;
|
|
159
|
-
ariaColCount: string | null;
|
|
160
|
-
ariaColIndex: string | null;
|
|
161
|
-
ariaColSpan: string | null;
|
|
162
|
-
ariaCurrent: string | null;
|
|
163
|
-
ariaDisabled: string | null;
|
|
164
|
-
ariaExpanded: string | null;
|
|
165
|
-
ariaHasPopup: string | null;
|
|
166
|
-
ariaHidden: string | null;
|
|
167
|
-
ariaInvalid: string | null;
|
|
168
|
-
ariaKeyShortcuts: string | null;
|
|
169
|
-
ariaLabel: string | null;
|
|
170
|
-
ariaLevel: string | null;
|
|
171
|
-
ariaLive: string | null;
|
|
172
|
-
ariaModal: string | null;
|
|
173
|
-
ariaMultiLine: string | null;
|
|
174
|
-
ariaMultiSelectable: string | null;
|
|
175
|
-
ariaOrientation: string | null;
|
|
176
|
-
ariaPlaceholder: string | null;
|
|
177
|
-
ariaPosInSet: string | null;
|
|
178
|
-
ariaPressed: string | null;
|
|
179
|
-
ariaReadOnly: string | null;
|
|
180
|
-
ariaRequired: string | null;
|
|
181
|
-
ariaRoleDescription: string | null;
|
|
182
|
-
ariaRowCount: string | null;
|
|
183
|
-
ariaRowIndex: string | null;
|
|
184
|
-
ariaRowSpan: string | null;
|
|
185
|
-
ariaSelected: string | null;
|
|
186
|
-
ariaSetSize: string | null;
|
|
187
|
-
ariaSort: string | null;
|
|
188
|
-
ariaValueMax: string | null;
|
|
189
|
-
ariaValueMin: string | null;
|
|
190
|
-
ariaValueNow: string | null;
|
|
191
|
-
ariaValueText: string | null;
|
|
192
|
-
role: string | null;
|
|
193
|
-
animate(keyframes: PropertyIndexedKeyframes | Keyframe[] | null, options?: number | KeyframeAnimationOptions | undefined): Animation;
|
|
194
|
-
getAnimations(options?: GetAnimationsOptions | undefined): Animation[];
|
|
195
|
-
after(...nodes: (string | Node)[]): void;
|
|
196
|
-
before(...nodes: (string | Node)[]): void;
|
|
197
|
-
remove(): void;
|
|
198
|
-
replaceWith(...nodes: (string | Node)[]): void;
|
|
199
|
-
innerHTML: string;
|
|
200
|
-
readonly nextElementSibling: Element | null;
|
|
201
|
-
readonly previousElementSibling: Element | null;
|
|
202
|
-
readonly childElementCount: number;
|
|
203
|
-
readonly children: HTMLCollection;
|
|
204
|
-
readonly firstElementChild: Element | null;
|
|
205
|
-
readonly lastElementChild: Element | null;
|
|
206
|
-
append(...nodes: (string | Node)[]): void;
|
|
207
|
-
prepend(...nodes: (string | Node)[]): void;
|
|
208
|
-
querySelector<K_9 extends keyof HTMLElementTagNameMap>(selectors: K_9): HTMLElementTagNameMap[K_9] | null;
|
|
209
|
-
querySelector<K_10 extends keyof SVGElementTagNameMap>(selectors: K_10): SVGElementTagNameMap[K_10] | null;
|
|
210
|
-
querySelector<K_11 extends keyof MathMLElementTagNameMap>(selectors: K_11): MathMLElementTagNameMap[K_11] | null;
|
|
211
|
-
querySelector<K_12 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_12): HTMLElementDeprecatedTagNameMap[K_12] | null;
|
|
212
|
-
querySelector<E_1 extends Element = Element>(selectors: string): E_1 | null;
|
|
213
|
-
querySelectorAll<K_13 extends keyof HTMLElementTagNameMap>(selectors: K_13): NodeListOf<HTMLElementTagNameMap[K_13]>;
|
|
214
|
-
querySelectorAll<K_14 extends keyof SVGElementTagNameMap>(selectors: K_14): NodeListOf<SVGElementTagNameMap[K_14]>;
|
|
215
|
-
querySelectorAll<K_15 extends keyof MathMLElementTagNameMap>(selectors: K_15): NodeListOf<MathMLElementTagNameMap[K_15]>;
|
|
216
|
-
querySelectorAll<K_16 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_16): NodeListOf<HTMLElementDeprecatedTagNameMap[K_16]>;
|
|
217
|
-
querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
|
|
218
|
-
replaceChildren(...nodes: (string | Node)[]): void;
|
|
219
|
-
readonly assignedSlot: HTMLSlotElement | null;
|
|
220
|
-
readonly attributeStyleMap: StylePropertyMap;
|
|
221
|
-
readonly style: CSSStyleDeclaration;
|
|
222
|
-
contentEditable: string;
|
|
223
|
-
enterKeyHint: string;
|
|
224
|
-
inputMode: string;
|
|
225
|
-
readonly isContentEditable: boolean;
|
|
226
|
-
onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
227
|
-
onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
228
|
-
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
229
|
-
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
230
|
-
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
231
|
-
onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
232
|
-
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
233
|
-
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
234
|
-
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
235
|
-
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
236
|
-
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
237
|
-
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
238
|
-
onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
239
|
-
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
240
|
-
oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
241
|
-
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
242
|
-
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
243
|
-
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
244
|
-
ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
245
|
-
ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
246
|
-
ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
247
|
-
ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
248
|
-
ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
249
|
-
ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
250
|
-
ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
251
|
-
ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
252
|
-
ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
253
|
-
onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
254
|
-
onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
255
|
-
onerror: OnErrorEventHandler;
|
|
256
|
-
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
257
|
-
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
258
|
-
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
259
|
-
oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
260
|
-
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
261
|
-
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
262
|
-
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
263
|
-
onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
264
|
-
onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
265
|
-
onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
266
|
-
onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
267
|
-
onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
268
|
-
onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
269
|
-
onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
270
|
-
onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
271
|
-
onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
272
|
-
onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
273
|
-
onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
274
|
-
onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
275
|
-
onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
276
|
-
onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
277
|
-
onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
278
|
-
onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
279
|
-
onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
280
|
-
onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
281
|
-
onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
282
|
-
onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
283
|
-
onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
284
|
-
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
285
|
-
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
286
|
-
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
287
|
-
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
288
|
-
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent<EventTarget>) => any) | null;
|
|
289
|
-
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
290
|
-
onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
291
|
-
onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
292
|
-
onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
293
|
-
onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
294
|
-
onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
|
|
295
|
-
onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
296
|
-
onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
297
|
-
onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
298
|
-
onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
299
|
-
onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
300
|
-
onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
301
|
-
onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
302
|
-
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
|
|
303
|
-
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
304
|
-
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
305
|
-
ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
306
|
-
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
307
|
-
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
308
|
-
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
309
|
-
ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
310
|
-
ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
311
|
-
ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
312
|
-
ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
313
|
-
ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
314
|
-
onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
315
|
-
onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
316
|
-
onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
317
|
-
onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
318
|
-
onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
319
|
-
onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
320
|
-
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
321
|
-
autofocus: boolean;
|
|
322
|
-
readonly dataset: DOMStringMap;
|
|
323
|
-
nonce?: string | undefined;
|
|
324
|
-
tabIndex: number;
|
|
325
|
-
blur(): void;
|
|
326
|
-
focus(options?: FocusOptions | undefined): void;
|
|
327
|
-
};
|
|
328
|
-
};
|
|
329
|
-
//# sourceMappingURL=PegaCustomElement.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PegaCustomElement.d.ts","sourceRoot":"","sources":["../../../src/components/DynamicContentEditor/PegaCustomElement.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,yBAAyB,qNAgBpC,CAAC;AAEH,eAAO,MAAM,0BAA0B,QAAS,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQhE,CAAC"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
export const pegaReferenceElementStyle = `\
|
|
2
|
-
pega-reference {
|
|
3
|
-
color: #076bc9;
|
|
4
|
-
cursor: pointer;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
pega-reference:hover{
|
|
8
|
-
text-decoration: underline;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
pega-reference::before{
|
|
12
|
-
content: '['
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
pega-reference::after{
|
|
16
|
-
content: ']'
|
|
17
|
-
}`;
|
|
18
|
-
export const createPegaReferenceElement = (win) => {
|
|
19
|
-
return class PegaReferenceElement extends win.HTMLElement {
|
|
20
|
-
connectedCallback() {
|
|
21
|
-
const template = document.createElement('template');
|
|
22
|
-
const temp = document.importNode(template.content, true);
|
|
23
|
-
this.append(temp);
|
|
24
|
-
}
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
//# sourceMappingURL=PegaCustomElement.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PegaCustomElement.js","sourceRoot":"","sources":["../../../src/components/DynamicContentEditor/PegaCustomElement.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,yBAAyB,GAAG;;;;;;;;;;;;;;;;EAgBvC,CAAC;AAEH,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,GAAsB,EAAE,EAAE;IACnE,OAAO,MAAM,oBAAqB,SAAQ,GAAG,CAAC,WAAW;QACvD,iBAAiB;YACf,MAAM,QAAQ,GAAG,QAAQ,CAAC,aAAa,CAAC,UAAU,CAAC,CAAC;YACpD,MAAM,IAAI,GAAG,QAAQ,CAAC,UAAU,CAAC,QAAQ,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;YACzD,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QACpB,CAAC;KACF,CAAC;AACJ,CAAC,CAAC","sourcesContent":["export const pegaReferenceElementStyle = `\\\npega-reference {\n color: #076bc9;\n cursor: pointer;\n}\n\npega-reference:hover{\n text-decoration: underline;\n}\n\npega-reference::before{\n content: '['\n}\n\npega-reference::after{\n content: ']'\n}`;\n\nexport const createPegaReferenceElement = (win: typeof globalThis) => {\n return class PegaReferenceElement extends win.HTMLElement {\n connectedCallback() {\n const template = document.createElement('template');\n const temp = document.importNode(template.content, true);\n this.append(temp);\n }\n };\n};\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/DynamicContentEditor/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AACjD,YAAY,EAAE,yBAAyB,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/DynamicContentEditor/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC","sourcesContent":["export { default } from './DynamicContentEditor';\nexport type { DynamicContentEditorProps, ItemType } from './DynamicContentEditor.types';\n"]}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { Editor } from 'tinymce';
|
|
3
|
-
interface EditorContextType {
|
|
4
|
-
addImage: (image: File) => void;
|
|
5
|
-
editor: Editor;
|
|
6
|
-
}
|
|
7
|
-
declare const EditorContext: import("react").Context<EditorContextType>;
|
|
8
|
-
export declare const useEditorContext: () => EditorContextType;
|
|
9
|
-
export default EditorContext;
|
|
10
|
-
//# sourceMappingURL=Editor.context.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Editor.context.d.ts","sourceRoot":"","sources":["../../../src/components/Editor/Editor.context.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AAEjC,UAAU,iBAAiB;IACzB,QAAQ,EAAE,CAAC,KAAK,EAAE,IAAI,KAAK,IAAI,CAAC;IAChC,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,QAAA,MAAM,aAAa,4CAGjB,CAAC;AAEH,eAAO,MAAM,gBAAgB,yBAE5B,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { createContext, useContext } from 'react';
|
|
2
|
-
const EditorContext = createContext({
|
|
3
|
-
addImage: () => { },
|
|
4
|
-
editor: {}
|
|
5
|
-
});
|
|
6
|
-
export const useEditorContext = () => {
|
|
7
|
-
return useContext(EditorContext);
|
|
8
|
-
};
|
|
9
|
-
export default EditorContext;
|
|
10
|
-
//# sourceMappingURL=Editor.context.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Editor.context.js","sourceRoot":"","sources":["../../../src/components/Editor/Editor.context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAQlD,MAAM,aAAa,GAAG,aAAa,CAAoB;IACrD,QAAQ,EAAE,GAAG,EAAE,GAAE,CAAC;IAClB,MAAM,EAAE,EAAY;CACrB,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,EAAE;IACnC,OAAO,UAAU,CAAC,aAAa,CAAC,CAAC;AACnC,CAAC,CAAC;AAEF,eAAe,aAAa,CAAC","sourcesContent":["import { createContext, useContext } from 'react';\nimport { Editor } from 'tinymce';\n\ninterface EditorContextType {\n addImage: (image: File) => void;\n editor: Editor;\n}\n\nconst EditorContext = createContext<EditorContextType>({\n addImage: () => {},\n editor: {} as Editor\n});\n\nexport const useEditorContext = () => {\n return useContext(EditorContext);\n};\n\nexport default EditorContext;\n"]}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import 'tinymce/icons/default';
|
|
2
|
-
import 'tinymce/themes/silver';
|
|
3
|
-
import 'tinymce/plugins/advlist';
|
|
4
|
-
import 'tinymce/plugins/lists';
|
|
5
|
-
import 'tinymce/plugins/autolink';
|
|
6
|
-
import 'tinymce/models/dom';
|
|
7
|
-
import { FC } from 'react';
|
|
8
|
-
import { DefaultTheme } from 'styled-components';
|
|
9
|
-
import { ForwardProps } from '@pega/cosmos-react-core';
|
|
10
|
-
import { EditorProps } from './Editor.types';
|
|
11
|
-
export declare const getImageStyles: (theme: DefaultTheme) => string;
|
|
12
|
-
export declare const StyledInnerEditor: import("styled-components").StyledComponent<"div", DefaultTheme, {
|
|
13
|
-
showPlaceholder: boolean;
|
|
14
|
-
}, never>;
|
|
15
|
-
declare const _default: FC<EditorProps & ForwardProps> & {
|
|
16
|
-
getTestIds: (testIdProp?: string | undefined) => import("@pega/cosmos-react-core").TestIdsRecord<readonly ["toolbar", "text-styles", "bold", "italic", "strike-through", "bulleted-list", "numbered-list", "indent", "unindent", "link", "image", "label", "info", "additional-info", "suggestion-accept", "suggestion-reject"]>;
|
|
17
|
-
};
|
|
18
|
-
export default _default;
|
|
19
|
-
//# sourceMappingURL=Editor.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Editor.d.ts","sourceRoot":"","sources":["../../../src/components/Editor/Editor.tsx"],"names":[],"mappings":"AACA,OAAO,uBAAuB,CAAC;AAC/B,OAAO,uBAAuB,CAAC;AAC/B,OAAO,yBAAyB,CAAC;AACjC,OAAO,uBAAuB,CAAC;AAC/B,OAAO,0BAA0B,CAAC;AAClC,OAAO,oBAAoB,CAAC;AAC5B,OAAO,EACL,EAAE,EAWH,MAAM,OAAO,CAAC;AACf,OAAe,EAAO,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAI9D,OAAO,EAIL,YAAY,EAab,MAAM,yBAAyB,CAAC;AAajC,OAAO,EAAE,WAAW,EAAe,MAAM,gBAAgB,CAAC;AAoB1D,eAAO,MAAM,cAAc,UAAW,YAAY,WAQjD,CAAC;AAEF,eAAO,MAAM,iBAAiB;qBAAiC,OAAO;SAarE,CAAC;;;;AA8dF,wBAAqD"}
|