@leavittsoftware/web 2.29.0 → 2.31.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/leavitt/user-feedback/provide-feedback-dialog.d.ts +358 -0
- package/leavitt/user-feedback/provide-feedback-dialog.js +140 -0
- package/leavitt/user-feedback/provide-feedback-dialog.js.map +1 -0
- package/leavitt/user-feedback/report-a-problem-dialog.d.ts +360 -0
- package/leavitt/user-feedback/report-a-problem-dialog.js +163 -0
- package/leavitt/user-feedback/report-a-problem-dialog.js.map +1 -0
- package/package.json +2 -2
- package/titanium/drawer/drawer.js +11 -2
- package/titanium/drawer/drawer.js.map +1 -1
|
@@ -0,0 +1,358 @@
|
|
|
1
|
+
import '@material/web/dialog/dialog';
|
|
2
|
+
import '@material/web/textfield/outlined-text-field';
|
|
3
|
+
import '@material/web/button/text-button';
|
|
4
|
+
import '@leavittsoftware/web/titanium/snackbar/snackbar-stack';
|
|
5
|
+
import { LitElement } from 'lit';
|
|
6
|
+
declare const ProvideFeedbackDialog_base: {
|
|
7
|
+
new (...args: any[]): {
|
|
8
|
+
"__#4@#promiseCount": number;
|
|
9
|
+
isLoading: boolean;
|
|
10
|
+
loadWhile(promise: Promise<unknown>): Promise<void>;
|
|
11
|
+
accessKey: string;
|
|
12
|
+
readonly accessKeyLabel: string;
|
|
13
|
+
autocapitalize: string;
|
|
14
|
+
dir: string;
|
|
15
|
+
draggable: boolean;
|
|
16
|
+
hidden: boolean;
|
|
17
|
+
inert: boolean;
|
|
18
|
+
innerText: string;
|
|
19
|
+
lang: string;
|
|
20
|
+
readonly offsetHeight: number;
|
|
21
|
+
readonly offsetLeft: number;
|
|
22
|
+
readonly offsetParent: Element | null;
|
|
23
|
+
readonly offsetTop: number;
|
|
24
|
+
readonly offsetWidth: number;
|
|
25
|
+
outerText: string;
|
|
26
|
+
popover: string | null;
|
|
27
|
+
spellcheck: boolean;
|
|
28
|
+
title: string;
|
|
29
|
+
translate: boolean;
|
|
30
|
+
attachInternals(): ElementInternals;
|
|
31
|
+
click(): void;
|
|
32
|
+
hidePopover(): void;
|
|
33
|
+
hidePopover(): void;
|
|
34
|
+
showPopover(): void;
|
|
35
|
+
showPopover(): void;
|
|
36
|
+
togglePopover(force?: boolean | undefined): boolean;
|
|
37
|
+
togglePopover(force: boolean): void;
|
|
38
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions | undefined): void;
|
|
39
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions | undefined): void;
|
|
40
|
+
removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions | undefined): void;
|
|
41
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions | undefined): void;
|
|
42
|
+
floatingLabelFoundation?: import("@material/floating-label/foundation").MDCFloatingLabelFoundation | undefined;
|
|
43
|
+
lineRippleFoundation?: import("@material/line-ripple/foundation").MDCLineRippleFoundation | undefined;
|
|
44
|
+
readonly attributes: NamedNodeMap;
|
|
45
|
+
readonly classList: DOMTokenList;
|
|
46
|
+
className: string;
|
|
47
|
+
readonly clientHeight: number;
|
|
48
|
+
readonly clientLeft: number;
|
|
49
|
+
readonly clientTop: number;
|
|
50
|
+
readonly clientWidth: number;
|
|
51
|
+
id: string;
|
|
52
|
+
readonly localName: string;
|
|
53
|
+
readonly namespaceURI: string | null;
|
|
54
|
+
onfullscreenchange: ((this: Element, ev: Event) => any) | null;
|
|
55
|
+
onfullscreenerror: ((this: Element, ev: Event) => any) | null;
|
|
56
|
+
outerHTML: string;
|
|
57
|
+
readonly ownerDocument: Document;
|
|
58
|
+
readonly part: DOMTokenList;
|
|
59
|
+
readonly prefix: string | null;
|
|
60
|
+
readonly scrollHeight: number;
|
|
61
|
+
scrollLeft: number;
|
|
62
|
+
scrollTop: number;
|
|
63
|
+
readonly scrollWidth: number;
|
|
64
|
+
readonly shadowRoot: ShadowRoot | null;
|
|
65
|
+
slot: string;
|
|
66
|
+
readonly tagName: string;
|
|
67
|
+
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
68
|
+
checkVisibility(options?: CheckVisibilityOptions | undefined): boolean;
|
|
69
|
+
closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2] | null;
|
|
70
|
+
closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3] | null;
|
|
71
|
+
closest<K_4 extends keyof MathMLElementTagNameMap>(selector: K_4): MathMLElementTagNameMap[K_4] | null;
|
|
72
|
+
closest<E extends Element = Element>(selectors: string): E | null;
|
|
73
|
+
computedStyleMap(): StylePropertyMapReadOnly;
|
|
74
|
+
getAttribute(qualifiedName: string): string | null;
|
|
75
|
+
getAttributeNS(namespace: string | null, localName: string): string | null;
|
|
76
|
+
getAttributeNames(): string[];
|
|
77
|
+
getAttributeNode(qualifiedName: string): Attr | null;
|
|
78
|
+
getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
|
|
79
|
+
getBoundingClientRect(): DOMRect;
|
|
80
|
+
getClientRects(): DOMRectList;
|
|
81
|
+
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
82
|
+
getElementsByTagName<K_5 extends keyof HTMLElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<HTMLElementTagNameMap[K_5]>;
|
|
83
|
+
getElementsByTagName<K_6 extends keyof SVGElementTagNameMap>(qualifiedName: K_6): HTMLCollectionOf<SVGElementTagNameMap[K_6]>;
|
|
84
|
+
getElementsByTagName<K_7 extends keyof MathMLElementTagNameMap>(qualifiedName: K_7): HTMLCollectionOf<MathMLElementTagNameMap[K_7]>;
|
|
85
|
+
getElementsByTagName<K_8 extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K_8): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K_8]>;
|
|
86
|
+
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
87
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
88
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
89
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
90
|
+
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
91
|
+
hasAttribute(qualifiedName: string): boolean;
|
|
92
|
+
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
|
93
|
+
hasAttributes(): boolean;
|
|
94
|
+
hasPointerCapture(pointerId: number): boolean;
|
|
95
|
+
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
96
|
+
insertAdjacentHTML(position: InsertPosition, text: string): void;
|
|
97
|
+
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
98
|
+
matches(selectors: string): boolean;
|
|
99
|
+
releasePointerCapture(pointerId: number): void;
|
|
100
|
+
removeAttribute(qualifiedName: string): void;
|
|
101
|
+
removeAttributeNS(namespace: string | null, localName: string): void;
|
|
102
|
+
removeAttributeNode(attr: Attr): Attr;
|
|
103
|
+
requestFullscreen(options?: FullscreenOptions | undefined): Promise<void>;
|
|
104
|
+
requestPointerLock(): void;
|
|
105
|
+
scroll(options?: ScrollToOptions | undefined): void;
|
|
106
|
+
scroll(x: number, y: number): void;
|
|
107
|
+
scrollBy(options?: ScrollToOptions | undefined): void;
|
|
108
|
+
scrollBy(x: number, y: number): void;
|
|
109
|
+
scrollIntoView(arg?: boolean | ScrollIntoViewOptions | undefined): void;
|
|
110
|
+
scrollTo(options?: ScrollToOptions | undefined): void;
|
|
111
|
+
scrollTo(x: number, y: number): void;
|
|
112
|
+
setAttribute(qualifiedName: string, value: string): void;
|
|
113
|
+
setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
|
|
114
|
+
setAttributeNode(attr: Attr): Attr | null;
|
|
115
|
+
setAttributeNodeNS(attr: Attr): Attr | null;
|
|
116
|
+
setPointerCapture(pointerId: number): void;
|
|
117
|
+
toggleAttribute(qualifiedName: string, force?: boolean | undefined): boolean;
|
|
118
|
+
webkitMatchesSelector(selectors: string): boolean;
|
|
119
|
+
readonly baseURI: string;
|
|
120
|
+
readonly childNodes: NodeListOf<ChildNode>;
|
|
121
|
+
readonly firstChild: ChildNode | null;
|
|
122
|
+
readonly isConnected: boolean;
|
|
123
|
+
readonly lastChild: ChildNode | null;
|
|
124
|
+
readonly nextSibling: ChildNode | null;
|
|
125
|
+
readonly nodeName: string;
|
|
126
|
+
readonly nodeType: number;
|
|
127
|
+
nodeValue: string | null;
|
|
128
|
+
readonly parentElement: HTMLElement | null;
|
|
129
|
+
readonly parentNode: ParentNode | null;
|
|
130
|
+
readonly previousSibling: ChildNode | null;
|
|
131
|
+
textContent: string | null;
|
|
132
|
+
appendChild<T extends Node>(node: T): T;
|
|
133
|
+
cloneNode(deep?: boolean | undefined): Node;
|
|
134
|
+
compareDocumentPosition(other: Node): number;
|
|
135
|
+
contains(other: Node | null): boolean;
|
|
136
|
+
getRootNode(options?: GetRootNodeOptions | undefined): Node;
|
|
137
|
+
hasChildNodes(): boolean;
|
|
138
|
+
insertBefore<T_1 extends Node>(node: T_1, child: Node | null): T_1;
|
|
139
|
+
isDefaultNamespace(namespace: string | null): boolean;
|
|
140
|
+
isEqualNode(otherNode: Node | null): boolean;
|
|
141
|
+
isSameNode(otherNode: Node | null): boolean;
|
|
142
|
+
lookupNamespaceURI(prefix: string | null): string | null;
|
|
143
|
+
lookupPrefix(namespace: string | null): string | null;
|
|
144
|
+
normalize(): void;
|
|
145
|
+
removeChild<T_2 extends Node>(child: T_2): T_2;
|
|
146
|
+
replaceChild<T_3 extends Node>(node: Node, child: T_3): T_3;
|
|
147
|
+
readonly ELEMENT_NODE: 1;
|
|
148
|
+
readonly ATTRIBUTE_NODE: 2;
|
|
149
|
+
readonly TEXT_NODE: 3;
|
|
150
|
+
readonly CDATA_SECTION_NODE: 4;
|
|
151
|
+
readonly ENTITY_REFERENCE_NODE: 5;
|
|
152
|
+
readonly ENTITY_NODE: 6;
|
|
153
|
+
readonly PROCESSING_INSTRUCTION_NODE: 7;
|
|
154
|
+
readonly COMMENT_NODE: 8;
|
|
155
|
+
readonly DOCUMENT_NODE: 9;
|
|
156
|
+
readonly DOCUMENT_TYPE_NODE: 10;
|
|
157
|
+
readonly DOCUMENT_FRAGMENT_NODE: 11;
|
|
158
|
+
readonly NOTATION_NODE: 12;
|
|
159
|
+
readonly DOCUMENT_POSITION_DISCONNECTED: 1;
|
|
160
|
+
readonly DOCUMENT_POSITION_PRECEDING: 2;
|
|
161
|
+
readonly DOCUMENT_POSITION_FOLLOWING: 4;
|
|
162
|
+
readonly DOCUMENT_POSITION_CONTAINS: 8;
|
|
163
|
+
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
164
|
+
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
165
|
+
dispatchEvent(event: Event): boolean;
|
|
166
|
+
ariaAtomic: string | null;
|
|
167
|
+
ariaAutoComplete: string | null;
|
|
168
|
+
ariaBusy: string | null;
|
|
169
|
+
ariaChecked: string | null;
|
|
170
|
+
ariaColCount: string | null;
|
|
171
|
+
ariaColIndex: string | null;
|
|
172
|
+
ariaColSpan: string | null;
|
|
173
|
+
ariaCurrent: string | null;
|
|
174
|
+
ariaDescription: string | null;
|
|
175
|
+
ariaDisabled: string | null;
|
|
176
|
+
ariaExpanded: string | null;
|
|
177
|
+
ariaHasPopup: string | null;
|
|
178
|
+
ariaHidden: string | null;
|
|
179
|
+
ariaInvalid: string | null;
|
|
180
|
+
ariaKeyShortcuts: string | null;
|
|
181
|
+
ariaLabel: string | null;
|
|
182
|
+
ariaLevel: string | null;
|
|
183
|
+
ariaLive: string | null;
|
|
184
|
+
ariaModal: string | null;
|
|
185
|
+
ariaMultiLine: string | null;
|
|
186
|
+
ariaMultiSelectable: string | null;
|
|
187
|
+
ariaOrientation: string | null;
|
|
188
|
+
ariaPlaceholder: string | null;
|
|
189
|
+
ariaPosInSet: string | null;
|
|
190
|
+
ariaPressed: string | null;
|
|
191
|
+
ariaReadOnly: string | null;
|
|
192
|
+
ariaRequired: string | null;
|
|
193
|
+
ariaRoleDescription: string | null;
|
|
194
|
+
ariaRowCount: string | null;
|
|
195
|
+
ariaRowIndex: string | null;
|
|
196
|
+
ariaRowSpan: string | null;
|
|
197
|
+
ariaSelected: string | null;
|
|
198
|
+
ariaSetSize: string | null;
|
|
199
|
+
ariaSort: string | null;
|
|
200
|
+
ariaValueMax: string | null;
|
|
201
|
+
ariaValueMin: string | null;
|
|
202
|
+
ariaValueNow: string | null;
|
|
203
|
+
ariaValueText: string | null;
|
|
204
|
+
role: string | null;
|
|
205
|
+
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions | undefined): Animation;
|
|
206
|
+
getAnimations(options?: GetAnimationsOptions | undefined): Animation[];
|
|
207
|
+
after(...nodes: (string | Node)[]): void;
|
|
208
|
+
before(...nodes: (string | Node)[]): void;
|
|
209
|
+
remove(): void;
|
|
210
|
+
replaceWith(...nodes: (string | Node)[]): void;
|
|
211
|
+
innerHTML: string;
|
|
212
|
+
readonly nextElementSibling: Element | null;
|
|
213
|
+
readonly previousElementSibling: Element | null;
|
|
214
|
+
readonly childElementCount: number;
|
|
215
|
+
readonly children: HTMLCollection;
|
|
216
|
+
readonly firstElementChild: Element | null;
|
|
217
|
+
readonly lastElementChild: Element | null;
|
|
218
|
+
append(...nodes: (string | Node)[]): void;
|
|
219
|
+
prepend(...nodes: (string | Node)[]): void;
|
|
220
|
+
querySelector<K_9 extends keyof HTMLElementTagNameMap>(selectors: K_9): HTMLElementTagNameMap[K_9] | null;
|
|
221
|
+
querySelector<K_10 extends keyof SVGElementTagNameMap>(selectors: K_10): SVGElementTagNameMap[K_10] | null;
|
|
222
|
+
querySelector<K_11 extends keyof MathMLElementTagNameMap>(selectors: K_11): MathMLElementTagNameMap[K_11] | null;
|
|
223
|
+
querySelector<K_12 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_12): HTMLElementDeprecatedTagNameMap[K_12] | null;
|
|
224
|
+
querySelector<E_1 extends Element = Element>(selectors: string): E_1 | null;
|
|
225
|
+
querySelectorAll<K_13 extends keyof HTMLElementTagNameMap>(selectors: K_13): NodeListOf<HTMLElementTagNameMap[K_13]>;
|
|
226
|
+
querySelectorAll<K_14 extends keyof SVGElementTagNameMap>(selectors: K_14): NodeListOf<SVGElementTagNameMap[K_14]>;
|
|
227
|
+
querySelectorAll<K_15 extends keyof MathMLElementTagNameMap>(selectors: K_15): NodeListOf<MathMLElementTagNameMap[K_15]>;
|
|
228
|
+
querySelectorAll<K_16 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_16): NodeListOf<HTMLElementDeprecatedTagNameMap[K_16]>;
|
|
229
|
+
querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
|
|
230
|
+
replaceChildren(...nodes: (string | Node)[]): void;
|
|
231
|
+
readonly assignedSlot: HTMLSlotElement | null;
|
|
232
|
+
readonly attributeStyleMap: StylePropertyMap;
|
|
233
|
+
readonly style: CSSStyleDeclaration;
|
|
234
|
+
contentEditable: string;
|
|
235
|
+
enterKeyHint: string;
|
|
236
|
+
inputMode: string;
|
|
237
|
+
readonly isContentEditable: boolean;
|
|
238
|
+
onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
239
|
+
onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
240
|
+
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
241
|
+
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
242
|
+
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
243
|
+
onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
244
|
+
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
245
|
+
onbeforetoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
246
|
+
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
247
|
+
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
248
|
+
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
249
|
+
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
250
|
+
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
251
|
+
onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
252
|
+
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
253
|
+
oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
254
|
+
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
255
|
+
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
256
|
+
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
257
|
+
ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
258
|
+
ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
259
|
+
ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
260
|
+
ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
261
|
+
ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
262
|
+
ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
263
|
+
ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
264
|
+
ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
265
|
+
ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
266
|
+
onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
267
|
+
onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
268
|
+
onerror: OnErrorEventHandler;
|
|
269
|
+
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
270
|
+
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
271
|
+
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
272
|
+
oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
273
|
+
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
274
|
+
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
275
|
+
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
276
|
+
onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
277
|
+
onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
278
|
+
onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
279
|
+
onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
280
|
+
onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
281
|
+
onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
282
|
+
onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
283
|
+
onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
284
|
+
onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
285
|
+
onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
286
|
+
onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
287
|
+
onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
288
|
+
onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
289
|
+
onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
290
|
+
onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
291
|
+
onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
292
|
+
onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
293
|
+
onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
294
|
+
onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
295
|
+
onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
296
|
+
onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
297
|
+
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
298
|
+
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
299
|
+
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
300
|
+
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
301
|
+
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent<EventTarget>) => any) | null;
|
|
302
|
+
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
303
|
+
onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
304
|
+
onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
305
|
+
onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
306
|
+
onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
307
|
+
onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
|
|
308
|
+
onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
309
|
+
onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
310
|
+
onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
311
|
+
onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
312
|
+
onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
313
|
+
onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
314
|
+
onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
315
|
+
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
|
|
316
|
+
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
317
|
+
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
318
|
+
ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
319
|
+
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
320
|
+
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
321
|
+
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
322
|
+
ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
323
|
+
ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
324
|
+
ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
325
|
+
ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
326
|
+
ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
327
|
+
onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
328
|
+
onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
329
|
+
onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
330
|
+
onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
331
|
+
onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
332
|
+
onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
333
|
+
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
334
|
+
autofocus: boolean;
|
|
335
|
+
readonly dataset: DOMStringMap;
|
|
336
|
+
nonce?: string | undefined;
|
|
337
|
+
tabIndex: number;
|
|
338
|
+
blur(): void;
|
|
339
|
+
focus(options?: FocusOptions | undefined): void;
|
|
340
|
+
};
|
|
341
|
+
readonly properties: {
|
|
342
|
+
isLoading: {
|
|
343
|
+
type: BooleanConstructor;
|
|
344
|
+
};
|
|
345
|
+
};
|
|
346
|
+
} & typeof LitElement;
|
|
347
|
+
export declare class ProvideFeedbackDialog extends ProvideFeedbackDialog_base {
|
|
348
|
+
#private;
|
|
349
|
+
private accessor dialog;
|
|
350
|
+
private accessor snackbar;
|
|
351
|
+
private accessor textArea;
|
|
352
|
+
show(): void;
|
|
353
|
+
reset(): void;
|
|
354
|
+
static styles: import("lit").CSSResult[];
|
|
355
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
356
|
+
}
|
|
357
|
+
export {};
|
|
358
|
+
//# sourceMappingURL=provide-feedback-dialog.d.ts.map
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
import { __decorate } from "tslib";
|
|
2
|
+
import '@material/web/dialog/dialog';
|
|
3
|
+
import '@material/web/textfield/outlined-text-field';
|
|
4
|
+
import '@material/web/button/text-button';
|
|
5
|
+
import '@leavittsoftware/web/titanium/snackbar/snackbar-stack';
|
|
6
|
+
import { LitElement, css, html } from 'lit';
|
|
7
|
+
import { customElement, query } from 'lit/decorators.js';
|
|
8
|
+
import { LoadWhile, isDevelopment } from '../../titanium/helpers/helpers';
|
|
9
|
+
import { PendingStateEvent } from '../../titanium/types/pending-state-event';
|
|
10
|
+
import { h1, p } from '../../titanium/styles/styles';
|
|
11
|
+
import { AuthenticatedTokenProvider } from '../api-service/authenticated-token-provider';
|
|
12
|
+
import ApiService from '../api-service/api-service';
|
|
13
|
+
import { ShowSnackbarEvent } from '../../titanium/snackbar/show-snackbar-event';
|
|
14
|
+
import { dialogZIndexHack } from '../../titanium/hacks/dialog-zindex-hack';
|
|
15
|
+
import { dialogCloseNavigationHack, dialogOpenNavigationHack } from '../../titanium/hacks/dialog-navigation-hack';
|
|
16
|
+
const feedbackApiService = new ApiService(new AuthenticatedTokenProvider());
|
|
17
|
+
feedbackApiService.baseUrl = isDevelopment ? 'https://devapi3.leavitt.com/' : 'https://api3.leavitt.com/';
|
|
18
|
+
feedbackApiService.addHeader('X-LGAppName', 'WebsiteFeedback');
|
|
19
|
+
Object.freeze(feedbackApiService);
|
|
20
|
+
let ProvideFeedbackDialog = class ProvideFeedbackDialog extends LoadWhile(LitElement) {
|
|
21
|
+
#dialog_accessor_storage;
|
|
22
|
+
get dialog() { return this.#dialog_accessor_storage; }
|
|
23
|
+
set dialog(value) { this.#dialog_accessor_storage = value; }
|
|
24
|
+
#snackbar_accessor_storage;
|
|
25
|
+
get snackbar() { return this.#snackbar_accessor_storage; }
|
|
26
|
+
set snackbar(value) { this.#snackbar_accessor_storage = value; }
|
|
27
|
+
#textArea_accessor_storage;
|
|
28
|
+
get textArea() { return this.#textArea_accessor_storage; }
|
|
29
|
+
set textArea(value) { this.#textArea_accessor_storage = value; }
|
|
30
|
+
show() {
|
|
31
|
+
this.reset();
|
|
32
|
+
this.dialog.show();
|
|
33
|
+
}
|
|
34
|
+
reset() {
|
|
35
|
+
this.dialog.returnValue = '';
|
|
36
|
+
this.textArea?.reset();
|
|
37
|
+
}
|
|
38
|
+
async #submit() {
|
|
39
|
+
if (!this.textArea.reportValidity() || this.isLoading || !this.textArea.value) {
|
|
40
|
+
return;
|
|
41
|
+
}
|
|
42
|
+
const dto = {
|
|
43
|
+
SiteName: location.hostname,
|
|
44
|
+
Comment: this.textArea.value,
|
|
45
|
+
};
|
|
46
|
+
try {
|
|
47
|
+
const post = feedbackApiService.postAsync('WebsiteFeedbacks', dto);
|
|
48
|
+
this.dispatchEvent(new PendingStateEvent(post));
|
|
49
|
+
this.loadWhile(post);
|
|
50
|
+
const entity = (await post).entity;
|
|
51
|
+
if (!entity) {
|
|
52
|
+
throw new Error('Error submitting feedback. Please try again.');
|
|
53
|
+
}
|
|
54
|
+
else {
|
|
55
|
+
this.dispatchEvent(new ShowSnackbarEvent('We appreciate your input, and we will promptly conduct a review!'));
|
|
56
|
+
this.reset();
|
|
57
|
+
this.dialog.close('done');
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
catch (error) {
|
|
61
|
+
this.dispatchEvent(new ShowSnackbarEvent(error));
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
static { this.styles = [
|
|
65
|
+
h1,
|
|
66
|
+
p,
|
|
67
|
+
css `
|
|
68
|
+
:host {
|
|
69
|
+
display: grid;
|
|
70
|
+
gap: 24px;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
form {
|
|
74
|
+
display: flex;
|
|
75
|
+
flex-direction: column;
|
|
76
|
+
gap: 24px;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
md-outlined-text-field {
|
|
80
|
+
resize: none;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
[hidden] {
|
|
84
|
+
display: none !important;
|
|
85
|
+
}
|
|
86
|
+
`,
|
|
87
|
+
]; }
|
|
88
|
+
render() {
|
|
89
|
+
return html `
|
|
90
|
+
<md-dialog
|
|
91
|
+
@open=${(e) => {
|
|
92
|
+
dialogOpenNavigationHack(e.target);
|
|
93
|
+
dialogZIndexHack(e.target);
|
|
94
|
+
}}
|
|
95
|
+
@close=${(e) => {
|
|
96
|
+
if (e.target.returnValue === 'cancel' || e.target.returnValue === 'done') {
|
|
97
|
+
dialogCloseNavigationHack(e.target);
|
|
98
|
+
this.snackbar.dismissAll();
|
|
99
|
+
return;
|
|
100
|
+
}
|
|
101
|
+
e.preventDefault();
|
|
102
|
+
}}
|
|
103
|
+
>
|
|
104
|
+
<div slot="headline">Provide feedback</div>
|
|
105
|
+
<form slot="content" method="dialog">
|
|
106
|
+
<p>
|
|
107
|
+
User feedback is a valuable tool that empowers our users to share their thoughts, suggestions, and concerns, helping us improve the overall user
|
|
108
|
+
experience of our websites and tools. We welcome and appreciate user feedback as it enables us to make informed decisions and enhance our website
|
|
109
|
+
based on the needs and expectations of our users.
|
|
110
|
+
</p>
|
|
111
|
+
<p>
|
|
112
|
+
Please be specific and provide as much detail as possible in your feedback. Your feedback goes directly to our development teams so it can be
|
|
113
|
+
carefully reviewed and planned into the next development cycle.
|
|
114
|
+
</p>
|
|
115
|
+
<md-outlined-text-field ?disabled=${this.isLoading} type="textarea" feedback label="Feedback" rows="5" required outlined></md-outlined-text-field>
|
|
116
|
+
</form>
|
|
117
|
+
<titanium-snackbar-stack slot="content" .eventListenerTarget=${this}></titanium-snackbar-stack>
|
|
118
|
+
|
|
119
|
+
<div slot="actions">
|
|
120
|
+
<md-text-button ?disabled=${this.isLoading} @click=${() => this.dialog.close('cancel')}> Cancel </md-text-button>
|
|
121
|
+
<md-text-button ?disabled=${this.isLoading} @click=${() => this.#submit()}>Submit</md-text-button>
|
|
122
|
+
</div>
|
|
123
|
+
</md-dialog>
|
|
124
|
+
`;
|
|
125
|
+
}
|
|
126
|
+
};
|
|
127
|
+
__decorate([
|
|
128
|
+
query('md-dialog')
|
|
129
|
+
], ProvideFeedbackDialog.prototype, "dialog", null);
|
|
130
|
+
__decorate([
|
|
131
|
+
query('titanium-snackbar-stack')
|
|
132
|
+
], ProvideFeedbackDialog.prototype, "snackbar", null);
|
|
133
|
+
__decorate([
|
|
134
|
+
query('md-outlined-text-field')
|
|
135
|
+
], ProvideFeedbackDialog.prototype, "textArea", null);
|
|
136
|
+
ProvideFeedbackDialog = __decorate([
|
|
137
|
+
customElement('provide-feedback-dialog')
|
|
138
|
+
], ProvideFeedbackDialog);
|
|
139
|
+
export { ProvideFeedbackDialog };
|
|
140
|
+
//# sourceMappingURL=provide-feedback-dialog.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"provide-feedback-dialog.js","sourceRoot":"","sources":["provide-feedback-dialog.ts"],"names":[],"mappings":";AAAA,OAAO,6BAA6B,CAAC;AACrC,OAAO,6CAA6C,CAAC;AACrD,OAAO,kCAAkC,CAAC;AAE1C,OAAO,uDAAuD,CAAC;AAE/D,OAAO,EAAE,UAAU,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAC1E,OAAO,EAAE,iBAAiB,EAAE,MAAM,0CAA0C,CAAC;AAC7E,OAAO,EAAE,EAAE,EAAE,CAAC,EAAE,MAAM,8BAA8B,CAAC;AACrD,OAAO,EAAE,0BAA0B,EAAE,MAAM,6CAA6C,CAAC;AAEzF,OAAO,UAAU,MAAM,4BAA4B,CAAC;AAEpD,OAAO,EAAE,iBAAiB,EAAE,MAAM,6CAA6C,CAAC;AAEhF,OAAO,EAAE,gBAAgB,EAAE,MAAM,yCAAyC,CAAC;AAG3E,OAAO,EAAE,yBAAyB,EAAE,wBAAwB,EAAE,MAAM,6CAA6C,CAAC;AAElH,MAAM,kBAAkB,GAAG,IAAI,UAAU,CAAC,IAAI,0BAA0B,EAAE,CAAC,CAAC;AAC5E,kBAAkB,CAAC,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,8BAA8B,CAAC,CAAC,CAAC,2BAA2B,CAAC;AAC1G,kBAAkB,CAAC,SAAS,CAAC,aAAa,EAAE,iBAAiB,CAAC,CAAC;AAC/D,MAAM,CAAC,MAAM,CAAC,kBAAkB,CAAC,C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CAAC;mDAAoC;AACJ;IAAlD,KAAK,CAAC,yBAAyB,CAAC;qDAA0C;AAEzB;IAAjD,KAAK,CAAC,wBAAwB,CAAC;qDAAgD;AAJrE,qBAAqB;IADjC,aAAa,CAAC,yBAAyB,CAAC;GAC5B,qBAAqB,CA2GjC"}
|
|
@@ -0,0 +1,360 @@
|
|
|
1
|
+
import '@material/web/dialog/dialog';
|
|
2
|
+
import '@material/web/textfield/outlined-text-field';
|
|
3
|
+
import '@material/web/button/text-button';
|
|
4
|
+
import '../../titanium/snackbar/snackbar-stack';
|
|
5
|
+
import '../../titanium/smart-attachment-input/smart-attachment-input';
|
|
6
|
+
import { LitElement } from 'lit';
|
|
7
|
+
declare const ReportAProblemDialog_base: {
|
|
8
|
+
new (...args: any[]): {
|
|
9
|
+
"__#4@#promiseCount": number;
|
|
10
|
+
isLoading: boolean;
|
|
11
|
+
loadWhile(promise: Promise<unknown>): Promise<void>;
|
|
12
|
+
accessKey: string;
|
|
13
|
+
readonly accessKeyLabel: string;
|
|
14
|
+
autocapitalize: string;
|
|
15
|
+
dir: string;
|
|
16
|
+
draggable: boolean;
|
|
17
|
+
hidden: boolean;
|
|
18
|
+
inert: boolean;
|
|
19
|
+
innerText: string;
|
|
20
|
+
lang: string;
|
|
21
|
+
readonly offsetHeight: number;
|
|
22
|
+
readonly offsetLeft: number;
|
|
23
|
+
readonly offsetParent: Element | null;
|
|
24
|
+
readonly offsetTop: number;
|
|
25
|
+
readonly offsetWidth: number;
|
|
26
|
+
outerText: string;
|
|
27
|
+
popover: string | null;
|
|
28
|
+
spellcheck: boolean;
|
|
29
|
+
title: string;
|
|
30
|
+
translate: boolean;
|
|
31
|
+
attachInternals(): ElementInternals;
|
|
32
|
+
click(): void;
|
|
33
|
+
hidePopover(): void;
|
|
34
|
+
hidePopover(): void;
|
|
35
|
+
showPopover(): void;
|
|
36
|
+
showPopover(): void;
|
|
37
|
+
togglePopover(force?: boolean | undefined): boolean;
|
|
38
|
+
togglePopover(force: boolean): void;
|
|
39
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions | undefined): void;
|
|
40
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions | undefined): void;
|
|
41
|
+
removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions | undefined): void;
|
|
42
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions | undefined): void;
|
|
43
|
+
floatingLabelFoundation?: import("@material/floating-label/foundation").MDCFloatingLabelFoundation | undefined;
|
|
44
|
+
lineRippleFoundation?: import("@material/line-ripple/foundation").MDCLineRippleFoundation | undefined;
|
|
45
|
+
readonly attributes: NamedNodeMap;
|
|
46
|
+
readonly classList: DOMTokenList;
|
|
47
|
+
className: string;
|
|
48
|
+
readonly clientHeight: number;
|
|
49
|
+
readonly clientLeft: number;
|
|
50
|
+
readonly clientTop: number;
|
|
51
|
+
readonly clientWidth: number;
|
|
52
|
+
id: string;
|
|
53
|
+
readonly localName: string;
|
|
54
|
+
readonly namespaceURI: string | null;
|
|
55
|
+
onfullscreenchange: ((this: Element, ev: Event) => any) | null;
|
|
56
|
+
onfullscreenerror: ((this: Element, ev: Event) => any) | null;
|
|
57
|
+
outerHTML: string;
|
|
58
|
+
readonly ownerDocument: Document;
|
|
59
|
+
readonly part: DOMTokenList;
|
|
60
|
+
readonly prefix: string | null;
|
|
61
|
+
readonly scrollHeight: number;
|
|
62
|
+
scrollLeft: number;
|
|
63
|
+
scrollTop: number;
|
|
64
|
+
readonly scrollWidth: number;
|
|
65
|
+
readonly shadowRoot: ShadowRoot | null;
|
|
66
|
+
slot: string;
|
|
67
|
+
readonly tagName: string;
|
|
68
|
+
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
69
|
+
checkVisibility(options?: CheckVisibilityOptions | undefined): boolean;
|
|
70
|
+
closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2] | null;
|
|
71
|
+
closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3] | null;
|
|
72
|
+
closest<K_4 extends keyof MathMLElementTagNameMap>(selector: K_4): MathMLElementTagNameMap[K_4] | null;
|
|
73
|
+
closest<E extends Element = Element>(selectors: string): E | null;
|
|
74
|
+
computedStyleMap(): StylePropertyMapReadOnly;
|
|
75
|
+
getAttribute(qualifiedName: string): string | null;
|
|
76
|
+
getAttributeNS(namespace: string | null, localName: string): string | null;
|
|
77
|
+
getAttributeNames(): string[];
|
|
78
|
+
getAttributeNode(qualifiedName: string): Attr | null;
|
|
79
|
+
getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
|
|
80
|
+
getBoundingClientRect(): DOMRect;
|
|
81
|
+
getClientRects(): DOMRectList;
|
|
82
|
+
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
83
|
+
getElementsByTagName<K_5 extends keyof HTMLElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<HTMLElementTagNameMap[K_5]>;
|
|
84
|
+
getElementsByTagName<K_6 extends keyof SVGElementTagNameMap>(qualifiedName: K_6): HTMLCollectionOf<SVGElementTagNameMap[K_6]>;
|
|
85
|
+
getElementsByTagName<K_7 extends keyof MathMLElementTagNameMap>(qualifiedName: K_7): HTMLCollectionOf<MathMLElementTagNameMap[K_7]>;
|
|
86
|
+
getElementsByTagName<K_8 extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K_8): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K_8]>;
|
|
87
|
+
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
88
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
89
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
90
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
91
|
+
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
92
|
+
hasAttribute(qualifiedName: string): boolean;
|
|
93
|
+
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
|
94
|
+
hasAttributes(): boolean;
|
|
95
|
+
hasPointerCapture(pointerId: number): boolean;
|
|
96
|
+
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
97
|
+
insertAdjacentHTML(position: InsertPosition, text: string): void;
|
|
98
|
+
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
99
|
+
matches(selectors: string): boolean;
|
|
100
|
+
releasePointerCapture(pointerId: number): void;
|
|
101
|
+
removeAttribute(qualifiedName: string): void;
|
|
102
|
+
removeAttributeNS(namespace: string | null, localName: string): void;
|
|
103
|
+
removeAttributeNode(attr: Attr): Attr;
|
|
104
|
+
requestFullscreen(options?: FullscreenOptions | undefined): Promise<void>;
|
|
105
|
+
requestPointerLock(): void;
|
|
106
|
+
scroll(options?: ScrollToOptions | undefined): void;
|
|
107
|
+
scroll(x: number, y: number): void;
|
|
108
|
+
scrollBy(options?: ScrollToOptions | undefined): void;
|
|
109
|
+
scrollBy(x: number, y: number): void;
|
|
110
|
+
scrollIntoView(arg?: boolean | ScrollIntoViewOptions | undefined): void;
|
|
111
|
+
scrollTo(options?: ScrollToOptions | undefined): void;
|
|
112
|
+
scrollTo(x: number, y: number): void;
|
|
113
|
+
setAttribute(qualifiedName: string, value: string): void;
|
|
114
|
+
setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
|
|
115
|
+
setAttributeNode(attr: Attr): Attr | null;
|
|
116
|
+
setAttributeNodeNS(attr: Attr): Attr | null;
|
|
117
|
+
setPointerCapture(pointerId: number): void;
|
|
118
|
+
toggleAttribute(qualifiedName: string, force?: boolean | undefined): boolean;
|
|
119
|
+
webkitMatchesSelector(selectors: string): boolean;
|
|
120
|
+
readonly baseURI: string;
|
|
121
|
+
readonly childNodes: NodeListOf<ChildNode>;
|
|
122
|
+
readonly firstChild: ChildNode | null;
|
|
123
|
+
readonly isConnected: boolean;
|
|
124
|
+
readonly lastChild: ChildNode | null;
|
|
125
|
+
readonly nextSibling: ChildNode | null;
|
|
126
|
+
readonly nodeName: string;
|
|
127
|
+
readonly nodeType: number;
|
|
128
|
+
nodeValue: string | null;
|
|
129
|
+
readonly parentElement: HTMLElement | null;
|
|
130
|
+
readonly parentNode: ParentNode | null;
|
|
131
|
+
readonly previousSibling: ChildNode | null;
|
|
132
|
+
textContent: string | null;
|
|
133
|
+
appendChild<T extends Node>(node: T): T;
|
|
134
|
+
cloneNode(deep?: boolean | undefined): Node;
|
|
135
|
+
compareDocumentPosition(other: Node): number;
|
|
136
|
+
contains(other: Node | null): boolean;
|
|
137
|
+
getRootNode(options?: GetRootNodeOptions | undefined): Node;
|
|
138
|
+
hasChildNodes(): boolean;
|
|
139
|
+
insertBefore<T_1 extends Node>(node: T_1, child: Node | null): T_1;
|
|
140
|
+
isDefaultNamespace(namespace: string | null): boolean;
|
|
141
|
+
isEqualNode(otherNode: Node | null): boolean;
|
|
142
|
+
isSameNode(otherNode: Node | null): boolean;
|
|
143
|
+
lookupNamespaceURI(prefix: string | null): string | null;
|
|
144
|
+
lookupPrefix(namespace: string | null): string | null;
|
|
145
|
+
normalize(): void;
|
|
146
|
+
removeChild<T_2 extends Node>(child: T_2): T_2;
|
|
147
|
+
replaceChild<T_3 extends Node>(node: Node, child: T_3): T_3;
|
|
148
|
+
readonly ELEMENT_NODE: 1;
|
|
149
|
+
readonly ATTRIBUTE_NODE: 2;
|
|
150
|
+
readonly TEXT_NODE: 3;
|
|
151
|
+
readonly CDATA_SECTION_NODE: 4;
|
|
152
|
+
readonly ENTITY_REFERENCE_NODE: 5;
|
|
153
|
+
readonly ENTITY_NODE: 6;
|
|
154
|
+
readonly PROCESSING_INSTRUCTION_NODE: 7;
|
|
155
|
+
readonly COMMENT_NODE: 8;
|
|
156
|
+
readonly DOCUMENT_NODE: 9;
|
|
157
|
+
readonly DOCUMENT_TYPE_NODE: 10;
|
|
158
|
+
readonly DOCUMENT_FRAGMENT_NODE: 11;
|
|
159
|
+
readonly NOTATION_NODE: 12;
|
|
160
|
+
readonly DOCUMENT_POSITION_DISCONNECTED: 1;
|
|
161
|
+
readonly DOCUMENT_POSITION_PRECEDING: 2;
|
|
162
|
+
readonly DOCUMENT_POSITION_FOLLOWING: 4;
|
|
163
|
+
readonly DOCUMENT_POSITION_CONTAINS: 8;
|
|
164
|
+
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
165
|
+
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
166
|
+
dispatchEvent(event: Event): boolean;
|
|
167
|
+
ariaAtomic: string | null;
|
|
168
|
+
ariaAutoComplete: string | null;
|
|
169
|
+
ariaBusy: string | null;
|
|
170
|
+
ariaChecked: string | null;
|
|
171
|
+
ariaColCount: string | null;
|
|
172
|
+
ariaColIndex: string | null;
|
|
173
|
+
ariaColSpan: string | null;
|
|
174
|
+
ariaCurrent: string | null;
|
|
175
|
+
ariaDescription: string | null;
|
|
176
|
+
ariaDisabled: string | null;
|
|
177
|
+
ariaExpanded: string | null;
|
|
178
|
+
ariaHasPopup: string | null;
|
|
179
|
+
ariaHidden: string | null;
|
|
180
|
+
ariaInvalid: string | null;
|
|
181
|
+
ariaKeyShortcuts: string | null;
|
|
182
|
+
ariaLabel: string | null;
|
|
183
|
+
ariaLevel: string | null;
|
|
184
|
+
ariaLive: string | null;
|
|
185
|
+
ariaModal: string | null;
|
|
186
|
+
ariaMultiLine: string | null;
|
|
187
|
+
ariaMultiSelectable: string | null;
|
|
188
|
+
ariaOrientation: string | null;
|
|
189
|
+
ariaPlaceholder: string | null;
|
|
190
|
+
ariaPosInSet: string | null;
|
|
191
|
+
ariaPressed: string | null;
|
|
192
|
+
ariaReadOnly: string | null;
|
|
193
|
+
ariaRequired: string | null;
|
|
194
|
+
ariaRoleDescription: string | null;
|
|
195
|
+
ariaRowCount: string | null;
|
|
196
|
+
ariaRowIndex: string | null;
|
|
197
|
+
ariaRowSpan: string | null;
|
|
198
|
+
ariaSelected: string | null;
|
|
199
|
+
ariaSetSize: string | null;
|
|
200
|
+
ariaSort: string | null;
|
|
201
|
+
ariaValueMax: string | null;
|
|
202
|
+
ariaValueMin: string | null;
|
|
203
|
+
ariaValueNow: string | null;
|
|
204
|
+
ariaValueText: string | null;
|
|
205
|
+
role: string | null;
|
|
206
|
+
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions | undefined): Animation;
|
|
207
|
+
getAnimations(options?: GetAnimationsOptions | undefined): Animation[];
|
|
208
|
+
after(...nodes: (string | Node)[]): void;
|
|
209
|
+
before(...nodes: (string | Node)[]): void;
|
|
210
|
+
remove(): void;
|
|
211
|
+
replaceWith(...nodes: (string | Node)[]): void;
|
|
212
|
+
innerHTML: string;
|
|
213
|
+
readonly nextElementSibling: Element | null;
|
|
214
|
+
readonly previousElementSibling: Element | null;
|
|
215
|
+
readonly childElementCount: number;
|
|
216
|
+
readonly children: HTMLCollection;
|
|
217
|
+
readonly firstElementChild: Element | null;
|
|
218
|
+
readonly lastElementChild: Element | null;
|
|
219
|
+
append(...nodes: (string | Node)[]): void;
|
|
220
|
+
prepend(...nodes: (string | Node)[]): void;
|
|
221
|
+
querySelector<K_9 extends keyof HTMLElementTagNameMap>(selectors: K_9): HTMLElementTagNameMap[K_9] | null;
|
|
222
|
+
querySelector<K_10 extends keyof SVGElementTagNameMap>(selectors: K_10): SVGElementTagNameMap[K_10] | null;
|
|
223
|
+
querySelector<K_11 extends keyof MathMLElementTagNameMap>(selectors: K_11): MathMLElementTagNameMap[K_11] | null;
|
|
224
|
+
querySelector<K_12 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_12): HTMLElementDeprecatedTagNameMap[K_12] | null;
|
|
225
|
+
querySelector<E_1 extends Element = Element>(selectors: string): E_1 | null;
|
|
226
|
+
querySelectorAll<K_13 extends keyof HTMLElementTagNameMap>(selectors: K_13): NodeListOf<HTMLElementTagNameMap[K_13]>;
|
|
227
|
+
querySelectorAll<K_14 extends keyof SVGElementTagNameMap>(selectors: K_14): NodeListOf<SVGElementTagNameMap[K_14]>;
|
|
228
|
+
querySelectorAll<K_15 extends keyof MathMLElementTagNameMap>(selectors: K_15): NodeListOf<MathMLElementTagNameMap[K_15]>;
|
|
229
|
+
querySelectorAll<K_16 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_16): NodeListOf<HTMLElementDeprecatedTagNameMap[K_16]>;
|
|
230
|
+
querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
|
|
231
|
+
replaceChildren(...nodes: (string | Node)[]): void;
|
|
232
|
+
readonly assignedSlot: HTMLSlotElement | null;
|
|
233
|
+
readonly attributeStyleMap: StylePropertyMap;
|
|
234
|
+
readonly style: CSSStyleDeclaration;
|
|
235
|
+
contentEditable: string;
|
|
236
|
+
enterKeyHint: string;
|
|
237
|
+
inputMode: string;
|
|
238
|
+
readonly isContentEditable: boolean;
|
|
239
|
+
onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
240
|
+
onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
241
|
+
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
242
|
+
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
243
|
+
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
244
|
+
onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
245
|
+
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
246
|
+
onbeforetoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
247
|
+
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
248
|
+
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
249
|
+
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
250
|
+
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
251
|
+
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
252
|
+
onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
253
|
+
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
254
|
+
oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
255
|
+
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
256
|
+
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
257
|
+
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
258
|
+
ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
259
|
+
ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
260
|
+
ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
261
|
+
ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
262
|
+
ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
263
|
+
ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
264
|
+
ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
265
|
+
ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
266
|
+
ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
267
|
+
onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
268
|
+
onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
269
|
+
onerror: OnErrorEventHandler;
|
|
270
|
+
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
271
|
+
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
272
|
+
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
273
|
+
oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
274
|
+
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
275
|
+
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
276
|
+
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
277
|
+
onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
278
|
+
onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
279
|
+
onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
280
|
+
onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
281
|
+
onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
282
|
+
onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
283
|
+
onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
284
|
+
onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
285
|
+
onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
286
|
+
onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
287
|
+
onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
288
|
+
onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
289
|
+
onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
290
|
+
onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
291
|
+
onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
292
|
+
onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
293
|
+
onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
294
|
+
onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
295
|
+
onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
296
|
+
onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
297
|
+
onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
298
|
+
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
299
|
+
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
300
|
+
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
301
|
+
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
302
|
+
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent<EventTarget>) => any) | null;
|
|
303
|
+
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
304
|
+
onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
305
|
+
onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
306
|
+
onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
307
|
+
onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
308
|
+
onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
|
|
309
|
+
onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
310
|
+
onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
311
|
+
onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
312
|
+
onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
313
|
+
onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
314
|
+
onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
315
|
+
onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
316
|
+
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
|
|
317
|
+
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
318
|
+
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
319
|
+
ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
320
|
+
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
321
|
+
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
322
|
+
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
323
|
+
ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
324
|
+
ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
325
|
+
ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
326
|
+
ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
327
|
+
ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
328
|
+
onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
329
|
+
onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
330
|
+
onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
331
|
+
onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
332
|
+
onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
333
|
+
onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
334
|
+
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
335
|
+
autofocus: boolean;
|
|
336
|
+
readonly dataset: DOMStringMap;
|
|
337
|
+
nonce?: string | undefined;
|
|
338
|
+
tabIndex: number;
|
|
339
|
+
blur(): void;
|
|
340
|
+
focus(options?: FocusOptions | undefined): void;
|
|
341
|
+
};
|
|
342
|
+
readonly properties: {
|
|
343
|
+
isLoading: {
|
|
344
|
+
type: BooleanConstructor;
|
|
345
|
+
};
|
|
346
|
+
};
|
|
347
|
+
} & typeof LitElement;
|
|
348
|
+
export declare class ReportAProblemDialog extends ReportAProblemDialog_base {
|
|
349
|
+
#private;
|
|
350
|
+
private accessor dialog;
|
|
351
|
+
private accessor snackbar;
|
|
352
|
+
private accessor textArea;
|
|
353
|
+
private accessor imageInput;
|
|
354
|
+
show(): void;
|
|
355
|
+
reset(): void;
|
|
356
|
+
static styles: import("lit").CSSResult[];
|
|
357
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
358
|
+
}
|
|
359
|
+
export {};
|
|
360
|
+
//# sourceMappingURL=report-a-problem-dialog.d.ts.map
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
import { __decorate } from "tslib";
|
|
2
|
+
import '@material/web/dialog/dialog';
|
|
3
|
+
import '@material/web/textfield/outlined-text-field';
|
|
4
|
+
import '@material/web/button/text-button';
|
|
5
|
+
import '../../titanium/snackbar/snackbar-stack';
|
|
6
|
+
import '../../titanium/smart-attachment-input/smart-attachment-input';
|
|
7
|
+
import { LitElement, css, html } from 'lit';
|
|
8
|
+
import { customElement, query } from 'lit/decorators.js';
|
|
9
|
+
import { LoadWhile, isDevelopment } from '../../titanium/helpers/helpers';
|
|
10
|
+
import { PendingStateEvent } from '../../titanium/types/pending-state-event';
|
|
11
|
+
import { h1, p } from '../../titanium/styles/styles';
|
|
12
|
+
import { AuthenticatedTokenProvider } from '../api-service/authenticated-token-provider';
|
|
13
|
+
import ApiService from '../api-service/api-service';
|
|
14
|
+
import { ShowSnackbarEvent } from '../../titanium/snackbar/show-snackbar-event';
|
|
15
|
+
import { dialogCloseNavigationHack, dialogOpenNavigationHack } from '../../titanium/hacks/dialog-navigation-hack';
|
|
16
|
+
import { dialogZIndexHack } from '../../titanium/hacks/dialog-zindex-hack';
|
|
17
|
+
const websiteBugApiService = new ApiService(new AuthenticatedTokenProvider());
|
|
18
|
+
websiteBugApiService.baseUrl = isDevelopment ? 'https://devapi3.leavitt.com/' : 'https://api3.leavitt.com/';
|
|
19
|
+
websiteBugApiService.addHeader('X-LGAppName', 'WebsiteBug');
|
|
20
|
+
Object.freeze(websiteBugApiService);
|
|
21
|
+
let ReportAProblemDialog = class ReportAProblemDialog extends LoadWhile(LitElement) {
|
|
22
|
+
#dialog_accessor_storage;
|
|
23
|
+
get dialog() { return this.#dialog_accessor_storage; }
|
|
24
|
+
set dialog(value) { this.#dialog_accessor_storage = value; }
|
|
25
|
+
#snackbar_accessor_storage;
|
|
26
|
+
get snackbar() { return this.#snackbar_accessor_storage; }
|
|
27
|
+
set snackbar(value) { this.#snackbar_accessor_storage = value; }
|
|
28
|
+
#textArea_accessor_storage;
|
|
29
|
+
get textArea() { return this.#textArea_accessor_storage; }
|
|
30
|
+
set textArea(value) { this.#textArea_accessor_storage = value; }
|
|
31
|
+
#imageInput_accessor_storage;
|
|
32
|
+
get imageInput() { return this.#imageInput_accessor_storage; }
|
|
33
|
+
set imageInput(value) { this.#imageInput_accessor_storage = value; }
|
|
34
|
+
show() {
|
|
35
|
+
this.reset();
|
|
36
|
+
this.dialog.show();
|
|
37
|
+
}
|
|
38
|
+
reset() {
|
|
39
|
+
this.dialog.returnValue = '';
|
|
40
|
+
this.imageInput?.reset();
|
|
41
|
+
this.textArea?.reset();
|
|
42
|
+
}
|
|
43
|
+
async #submit() {
|
|
44
|
+
if (!this.textArea.reportValidity() || this.isLoading) {
|
|
45
|
+
return;
|
|
46
|
+
}
|
|
47
|
+
const dto = {
|
|
48
|
+
SiteName: location.hostname,
|
|
49
|
+
Description: this.textArea.value,
|
|
50
|
+
Attachments: (this.imageInput?.getFiles() ?? []).map((o) => o.file),
|
|
51
|
+
};
|
|
52
|
+
try {
|
|
53
|
+
const post = websiteBugApiService.postAsync('WebsiteBugs/ReportProblem', dto, { sendAsFormData: true });
|
|
54
|
+
this.dispatchEvent(new PendingStateEvent(post));
|
|
55
|
+
this.loadWhile(post);
|
|
56
|
+
const entity = (await post).entity;
|
|
57
|
+
if (!entity) {
|
|
58
|
+
throw new Error('Error submitting problem. Please try again.');
|
|
59
|
+
}
|
|
60
|
+
else {
|
|
61
|
+
this.dispatchEvent(new ShowSnackbarEvent('', {
|
|
62
|
+
overrideTemplate: html `Thank you for bringing this issue to our attention!<br />
|
|
63
|
+
<br />
|
|
64
|
+
Our engineering teams will promptly investigate and address it.`,
|
|
65
|
+
}));
|
|
66
|
+
this.reset();
|
|
67
|
+
this.dialog.close('done');
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
catch (error) {
|
|
71
|
+
this.dispatchEvent(new ShowSnackbarEvent(error));
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
static { this.styles = [
|
|
75
|
+
h1,
|
|
76
|
+
p,
|
|
77
|
+
css `
|
|
78
|
+
:host {
|
|
79
|
+
display: grid;
|
|
80
|
+
gap: 24px;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
form {
|
|
84
|
+
display: flex;
|
|
85
|
+
flex-direction: column;
|
|
86
|
+
gap: 24px;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
md-outlined-text-field {
|
|
90
|
+
resize: none;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
[hidden] {
|
|
94
|
+
display: none !important;
|
|
95
|
+
}
|
|
96
|
+
`,
|
|
97
|
+
]; }
|
|
98
|
+
render() {
|
|
99
|
+
return html `
|
|
100
|
+
<md-dialog
|
|
101
|
+
@open=${(e) => {
|
|
102
|
+
dialogOpenNavigationHack(e.target);
|
|
103
|
+
dialogZIndexHack(e.target);
|
|
104
|
+
}}
|
|
105
|
+
@close=${(e) => {
|
|
106
|
+
if (e.target.returnValue === 'cancel' || e.target.returnValue === 'done') {
|
|
107
|
+
dialogCloseNavigationHack(e.target);
|
|
108
|
+
this.snackbar.dismissAll();
|
|
109
|
+
return;
|
|
110
|
+
}
|
|
111
|
+
e.preventDefault();
|
|
112
|
+
}}
|
|
113
|
+
>
|
|
114
|
+
<div slot="headline">Report a problem</div>
|
|
115
|
+
<form slot="content" method="dialog">
|
|
116
|
+
<p>
|
|
117
|
+
Please be specific and provide screenshots of the issue if possible in your report. Your report goes directly to our engineering teams so it can be
|
|
118
|
+
addressed as soon as possible.
|
|
119
|
+
</p>
|
|
120
|
+
<md-outlined-text-field
|
|
121
|
+
?disabled=${this.isLoading}
|
|
122
|
+
type="textarea"
|
|
123
|
+
problem
|
|
124
|
+
label="Describe the issue"
|
|
125
|
+
rows="5"
|
|
126
|
+
required
|
|
127
|
+
outlined
|
|
128
|
+
></md-outlined-text-field>
|
|
129
|
+
<titanium-smart-attachment-input
|
|
130
|
+
?disabled=${this.isLoading}
|
|
131
|
+
multiple
|
|
132
|
+
label="Supporting files"
|
|
133
|
+
noItemsText="No files"
|
|
134
|
+
addButtonLabel="Add file"
|
|
135
|
+
></titanium-smart-attachment-input>
|
|
136
|
+
</form>
|
|
137
|
+
<titanium-snackbar-stack slot="content" .eventListenerTarget=${this}></titanium-snackbar-stack>
|
|
138
|
+
|
|
139
|
+
<div slot="actions">
|
|
140
|
+
<md-text-button ?disabled=${this.isLoading} @click=${() => this.dialog.close('cancel')}> Cancel </md-text-button>
|
|
141
|
+
<md-text-button ?disabled=${this.isLoading} @click=${() => this.#submit()}>Submit</md-text-button>
|
|
142
|
+
</div>
|
|
143
|
+
</md-dialog>
|
|
144
|
+
`;
|
|
145
|
+
}
|
|
146
|
+
};
|
|
147
|
+
__decorate([
|
|
148
|
+
query('md-dialog')
|
|
149
|
+
], ReportAProblemDialog.prototype, "dialog", null);
|
|
150
|
+
__decorate([
|
|
151
|
+
query('titanium-snackbar-stack')
|
|
152
|
+
], ReportAProblemDialog.prototype, "snackbar", null);
|
|
153
|
+
__decorate([
|
|
154
|
+
query('md-outlined-text-field')
|
|
155
|
+
], ReportAProblemDialog.prototype, "textArea", null);
|
|
156
|
+
__decorate([
|
|
157
|
+
query('titanium-smart-attachment-input')
|
|
158
|
+
], ReportAProblemDialog.prototype, "imageInput", null);
|
|
159
|
+
ReportAProblemDialog = __decorate([
|
|
160
|
+
customElement('report-a-problem-dialog')
|
|
161
|
+
], ReportAProblemDialog);
|
|
162
|
+
export { ReportAProblemDialog };
|
|
163
|
+
//# sourceMappingURL=report-a-problem-dialog.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"report-a-problem-dialog.js","sourceRoot":"","sources":["report-a-problem-dialog.ts"],"names":[],"mappings":";AAAA,OAAO,6BAA6B,CAAC;AACrC,OAAO,6CAA6C,CAAC;AACrD,OAAO,kCAAkC,CAAC;AAE1C,OAAO,wCAAwC,CAAC;AAChD,OAAO,8DAA8D,CAAC;AAEtE,OAAO,EAAE,UAAU,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAC1E,OAAO,EAAE,iBAAiB,EAAE,MAAM,0CAA0C,CAAC;AAC7E,OAAO,EAAE,EAAE,EAAE,CAAC,EAAE,MAAM,8BAA8B,CAAC;AACrD,OAAO,EAAE,0BAA0B,EAAE,MAAM,6CAA6C,CAAC;AAEzF,OAAO,UAAU,MAAM,4BAA4B,CAAC;AAEpD,OAAO,EAAE,iBAAiB,EAAE,MAAM,6CAA6C,CAAC;AAEhF,OAAO,EAAE,yBAAyB,EAAE,wBAAwB,EAAE,MAAM,6CAA6C,CAAC;AAClH,OAAO,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M,CAAC,CAAC;QAC7B,CAAC;iBACQ,CAAC,CAAqB,EAAE,EAAE;YACjC,IAAI,CAAC,CAAC,MAAM,CAAC,WAAW,KAAK,QAAQ,IAAI,CAAC,CAAC,MAAM,CAAC,WAAW,KAAK,MAAM,EAAE,CAAC;gBACzE,yBAAyB,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC;gBACpC,IAAI,CAAC,QAAQ,CAAC,UAAU,EAAE,CAAC;gBAC3B,OAAO;YACT,CAAC;YACD,CAAC,CAAC,cAAc,EAAE,CAAC;QACrB,CAAC;;;;;;;;;wBASe,IAAI,CAAC,SAAS;;;;;;;;;wBASd,IAAI,CAAC,SAAS;;;;;;;uEAOiC,IAAI;;;sCAGrC,IAAI,CAAC,SAAS,WAAW,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC;sCAC1D,IAAI,CAAC,SAAS,WAAW,GAAG,EAAE,CAAC,IAAI,CAAC,OAAO,EAAE;;;KAG9E,CAAC;IACJ,CAAC;;AA5HoC;IAApC,KAAK,CAAC,WAAW,CAAC;kDAAoC;AACJ;IAAlD,KAAK,CAAC,yBAAyB,CAAC;oDAA0C;AAEzB;IAAjD,KAAK,CAAC,wBAAwB,CAAC;oDAAgD;AACrB;IAA1D,KAAK,CAAC,iCAAiC,CAAC;sDAAkE;AALhG,oBAAoB;IADhC,aAAa,CAAC,yBAAyB,CAAC;GAC5B,oBAAoB,CA8HhC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@leavittsoftware/web",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.31.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "",
|
|
6
6
|
"files": [
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"url": "https://github.com/LeavittSoftware/titanium-elements/issues"
|
|
41
41
|
},
|
|
42
42
|
"homepage": "https://github.com/LeavittSoftware/titanium-elements/#readme",
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "6d53ba2bb25491f556a3daedd31d9294025d51ef"
|
|
44
44
|
}
|
|
@@ -152,8 +152,17 @@ let TitaniumDrawer = class TitaniumDrawer extends LitElement {
|
|
|
152
152
|
|
|
153
153
|
display: flex;
|
|
154
154
|
flex-direction: row;
|
|
155
|
-
padding: 8px;
|
|
156
|
-
gap:
|
|
155
|
+
padding: 8px 24px;
|
|
156
|
+
gap: 24px;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
footer ::slotted(a) {
|
|
160
|
+
text-decoration: none;
|
|
161
|
+
color: var(--md-sys-color-on-surface-variant);
|
|
162
|
+
font-family: var(--titanium-styles-a-font-family, Metropolis, Roboto, Noto, sans-serif);
|
|
163
|
+
font-weight: 400;
|
|
164
|
+
font-size: 12px;
|
|
165
|
+
opacity: 0.8;
|
|
157
166
|
}
|
|
158
167
|
|
|
159
168
|
:host([always-show-content]) dialog:not([open]) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"drawer.js","sourceRoot":"","sources":["drawer.ts"],"names":[],"mappings":";;AAAA,OAAO,EAAE,UAAU,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,KAAK,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AAE1F;;;;;;;;GAQG;AAEI,IAAM,cAAc,GAApB,MAAM,cAAe,SAAQ,UAAU;;IACV,yBAAiC;IAAjC,IAAA,MAAM,4CAA2B;IAAjC,IAAA,MAAM,kDAA2B;IAKd,0BAAiB,KAAK,CAAC;IAH5E;;OAEG;IACkD,IAAA,KAAK,2CAAkB;IAAvB,IAAA,KAAK,iDAAkB;IAKW,qCAA4B,KAAK,CAAC;IAHzH;;OAEG;IACoF,IAAA,gBAAgB,sDAAkB;IAAlC,IAAA,gBAAgB,4DAAkB;IAEnC,8BAAY,KAAK,CA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