@leavittsoftware/web 4.10.0 → 4.11.1
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/api-service/api2-service.d.ts +6 -3
- package/leavitt/api-service/mapi-service.d.ts +6 -3
- package/leavitt/file-explorer/add-folder-modal.d.ts +6 -3
- package/leavitt/file-explorer/file-explorer.d.ts +6 -3
- package/leavitt/file-explorer/file-modal.d.ts +6 -3
- package/leavitt/file-explorer/folder-modal.d.ts +6 -3
- package/leavitt/user-feedback/provide-feedback-dialog.d.ts +6 -3
- package/leavitt/user-feedback/provide-feedback-dialog.js +6 -3
- package/leavitt/user-feedback/provide-feedback-dialog.js.map +1 -1
- package/leavitt/user-feedback/report-a-problem-dialog.d.ts +6 -3
- package/leavitt/user-feedback/report-a-problem-dialog.js +4 -2
- package/leavitt/user-feedback/report-a-problem-dialog.js.map +1 -1
- package/leavitt/user-feedback/user-feedback.d.ts +6 -3
- package/leavitt/user-feedback/user-feedback.js +10 -5
- package/leavitt/user-feedback/user-feedback.js.map +1 -1
- package/package.json +5 -5
- package/titanium/address-input/address-input.d.ts +3 -0
- package/titanium/address-input/address-input.js +16 -0
- package/titanium/address-input/address-input.js.map +1 -1
- package/titanium/helpers/load-while.d.ts +6 -3
- package/titanium/single-select-base/single-select-base.d.ts +6 -3
- package/titanium/smart-attachment-input/crop-and-save-image-dialog.d.ts +6 -3
|
@@ -49,6 +49,7 @@ declare const Api2ServiceMixin: <C extends Constructor<HTMLElement>>(base: C, op
|
|
|
49
49
|
readonly clientTop: number;
|
|
50
50
|
readonly clientWidth: number;
|
|
51
51
|
id: string;
|
|
52
|
+
innerHTML: string;
|
|
52
53
|
readonly localName: string;
|
|
53
54
|
readonly namespaceURI: string | null;
|
|
54
55
|
onfullscreenchange: ((this: Element, ev: Event) => any) | null;
|
|
@@ -88,12 +89,13 @@ declare const Api2ServiceMixin: <C extends Constructor<HTMLElement>>(base: C, op
|
|
|
88
89
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
89
90
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
90
91
|
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
92
|
+
getHTML(options?: GetHTMLOptions): string;
|
|
91
93
|
hasAttribute(qualifiedName: string): boolean;
|
|
92
94
|
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
|
93
95
|
hasAttributes(): boolean;
|
|
94
96
|
hasPointerCapture(pointerId: number): boolean;
|
|
95
97
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
96
|
-
insertAdjacentHTML(position: InsertPosition,
|
|
98
|
+
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
97
99
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
98
100
|
matches(selectors: string): boolean;
|
|
99
101
|
releasePointerCapture(pointerId: number): void;
|
|
@@ -101,7 +103,7 @@ declare const Api2ServiceMixin: <C extends Constructor<HTMLElement>>(base: C, op
|
|
|
101
103
|
removeAttributeNS(namespace: string | null, localName: string): void;
|
|
102
104
|
removeAttributeNode(attr: Attr): Attr;
|
|
103
105
|
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
104
|
-
requestPointerLock(): void
|
|
106
|
+
requestPointerLock(options?: PointerLockOptions): Promise<void>;
|
|
105
107
|
scroll(options?: ScrollToOptions): void;
|
|
106
108
|
scroll(x: number, y: number): void;
|
|
107
109
|
scrollBy(options?: ScrollToOptions): void;
|
|
@@ -211,7 +213,6 @@ declare const Api2ServiceMixin: <C extends Constructor<HTMLElement>>(base: C, op
|
|
|
211
213
|
before(...nodes: (Node | string)[]): void;
|
|
212
214
|
remove(): void;
|
|
213
215
|
replaceWith(...nodes: (Node | string)[]): void;
|
|
214
|
-
innerHTML: string;
|
|
215
216
|
readonly nextElementSibling: Element | null;
|
|
216
217
|
readonly previousElementSibling: Element | null;
|
|
217
218
|
readonly childElementCount: number;
|
|
@@ -253,7 +254,9 @@ declare const Api2ServiceMixin: <C extends Constructor<HTMLElement>>(base: C, op
|
|
|
253
254
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
254
255
|
onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
255
256
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
257
|
+
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
256
258
|
oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
259
|
+
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
257
260
|
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
258
261
|
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
259
262
|
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
@@ -49,6 +49,7 @@ declare const MapiServiceMixin: <C extends Constructor<HTMLElement>>(base: C, op
|
|
|
49
49
|
readonly clientTop: number;
|
|
50
50
|
readonly clientWidth: number;
|
|
51
51
|
id: string;
|
|
52
|
+
innerHTML: string;
|
|
52
53
|
readonly localName: string;
|
|
53
54
|
readonly namespaceURI: string | null;
|
|
54
55
|
onfullscreenchange: ((this: Element, ev: Event) => any) | null;
|
|
@@ -88,12 +89,13 @@ declare const MapiServiceMixin: <C extends Constructor<HTMLElement>>(base: C, op
|
|
|
88
89
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
89
90
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
90
91
|
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
92
|
+
getHTML(options?: GetHTMLOptions): string;
|
|
91
93
|
hasAttribute(qualifiedName: string): boolean;
|
|
92
94
|
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
|
93
95
|
hasAttributes(): boolean;
|
|
94
96
|
hasPointerCapture(pointerId: number): boolean;
|
|
95
97
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
96
|
-
insertAdjacentHTML(position: InsertPosition,
|
|
98
|
+
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
97
99
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
98
100
|
matches(selectors: string): boolean;
|
|
99
101
|
releasePointerCapture(pointerId: number): void;
|
|
@@ -101,7 +103,7 @@ declare const MapiServiceMixin: <C extends Constructor<HTMLElement>>(base: C, op
|
|
|
101
103
|
removeAttributeNS(namespace: string | null, localName: string): void;
|
|
102
104
|
removeAttributeNode(attr: Attr): Attr;
|
|
103
105
|
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
104
|
-
requestPointerLock(): void
|
|
106
|
+
requestPointerLock(options?: PointerLockOptions): Promise<void>;
|
|
105
107
|
scroll(options?: ScrollToOptions): void;
|
|
106
108
|
scroll(x: number, y: number): void;
|
|
107
109
|
scrollBy(options?: ScrollToOptions): void;
|
|
@@ -211,7 +213,6 @@ declare const MapiServiceMixin: <C extends Constructor<HTMLElement>>(base: C, op
|
|
|
211
213
|
before(...nodes: (Node | string)[]): void;
|
|
212
214
|
remove(): void;
|
|
213
215
|
replaceWith(...nodes: (Node | string)[]): void;
|
|
214
|
-
innerHTML: string;
|
|
215
216
|
readonly nextElementSibling: Element | null;
|
|
216
217
|
readonly previousElementSibling: Element | null;
|
|
217
218
|
readonly childElementCount: number;
|
|
@@ -253,7 +254,9 @@ declare const MapiServiceMixin: <C extends Constructor<HTMLElement>>(base: C, op
|
|
|
253
254
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
254
255
|
onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
255
256
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
257
|
+
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
256
258
|
oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
259
|
+
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
257
260
|
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
258
261
|
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
259
262
|
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
@@ -50,6 +50,7 @@ declare const AddFolderModal_base: {
|
|
|
50
50
|
readonly clientTop: number;
|
|
51
51
|
readonly clientWidth: number;
|
|
52
52
|
id: string;
|
|
53
|
+
innerHTML: string;
|
|
53
54
|
readonly localName: string;
|
|
54
55
|
readonly namespaceURI: string | null;
|
|
55
56
|
onfullscreenchange: ((this: Element, ev: Event) => any) | null;
|
|
@@ -89,12 +90,13 @@ declare const AddFolderModal_base: {
|
|
|
89
90
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
90
91
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
91
92
|
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
93
|
+
getHTML(options?: GetHTMLOptions): string;
|
|
92
94
|
hasAttribute(qualifiedName: string): boolean;
|
|
93
95
|
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
|
94
96
|
hasAttributes(): boolean;
|
|
95
97
|
hasPointerCapture(pointerId: number): boolean;
|
|
96
98
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
97
|
-
insertAdjacentHTML(position: InsertPosition,
|
|
99
|
+
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
98
100
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
99
101
|
matches(selectors: string): boolean;
|
|
100
102
|
releasePointerCapture(pointerId: number): void;
|
|
@@ -102,7 +104,7 @@ declare const AddFolderModal_base: {
|
|
|
102
104
|
removeAttributeNS(namespace: string | null, localName: string): void;
|
|
103
105
|
removeAttributeNode(attr: Attr): Attr;
|
|
104
106
|
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
105
|
-
requestPointerLock(): void
|
|
107
|
+
requestPointerLock(options?: PointerLockOptions): Promise<void>;
|
|
106
108
|
scroll(options?: ScrollToOptions): void;
|
|
107
109
|
scroll(x: number, y: number): void;
|
|
108
110
|
scrollBy(options?: ScrollToOptions): void;
|
|
@@ -212,7 +214,6 @@ declare const AddFolderModal_base: {
|
|
|
212
214
|
before(...nodes: (Node | string)[]): void;
|
|
213
215
|
remove(): void;
|
|
214
216
|
replaceWith(...nodes: (Node | string)[]): void;
|
|
215
|
-
innerHTML: string;
|
|
216
217
|
readonly nextElementSibling: Element | null;
|
|
217
218
|
readonly previousElementSibling: Element | null;
|
|
218
219
|
readonly childElementCount: number;
|
|
@@ -254,7 +255,9 @@ declare const AddFolderModal_base: {
|
|
|
254
255
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
255
256
|
onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
256
257
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
258
|
+
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
257
259
|
oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
260
|
+
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
258
261
|
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
259
262
|
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
260
263
|
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
@@ -60,6 +60,7 @@ declare const LeavittFileExplorer_base: {
|
|
|
60
60
|
readonly clientTop: number;
|
|
61
61
|
readonly clientWidth: number;
|
|
62
62
|
id: string;
|
|
63
|
+
innerHTML: string;
|
|
63
64
|
readonly localName: string;
|
|
64
65
|
readonly namespaceURI: string | null;
|
|
65
66
|
onfullscreenchange: ((this: Element, ev: Event) => any) | null;
|
|
@@ -99,12 +100,13 @@ declare const LeavittFileExplorer_base: {
|
|
|
99
100
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
100
101
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
101
102
|
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
103
|
+
getHTML(options?: GetHTMLOptions): string;
|
|
102
104
|
hasAttribute(qualifiedName: string): boolean;
|
|
103
105
|
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
|
104
106
|
hasAttributes(): boolean;
|
|
105
107
|
hasPointerCapture(pointerId: number): boolean;
|
|
106
108
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
107
|
-
insertAdjacentHTML(position: InsertPosition,
|
|
109
|
+
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
108
110
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
109
111
|
matches(selectors: string): boolean;
|
|
110
112
|
releasePointerCapture(pointerId: number): void;
|
|
@@ -112,7 +114,7 @@ declare const LeavittFileExplorer_base: {
|
|
|
112
114
|
removeAttributeNS(namespace: string | null, localName: string): void;
|
|
113
115
|
removeAttributeNode(attr: Attr): Attr;
|
|
114
116
|
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
115
|
-
requestPointerLock(): void
|
|
117
|
+
requestPointerLock(options?: PointerLockOptions): Promise<void>;
|
|
116
118
|
scroll(options?: ScrollToOptions): void;
|
|
117
119
|
scroll(x: number, y: number): void;
|
|
118
120
|
scrollBy(options?: ScrollToOptions): void;
|
|
@@ -222,7 +224,6 @@ declare const LeavittFileExplorer_base: {
|
|
|
222
224
|
before(...nodes: (Node | string)[]): void;
|
|
223
225
|
remove(): void;
|
|
224
226
|
replaceWith(...nodes: (Node | string)[]): void;
|
|
225
|
-
innerHTML: string;
|
|
226
227
|
readonly nextElementSibling: Element | null;
|
|
227
228
|
readonly previousElementSibling: Element | null;
|
|
228
229
|
readonly childElementCount: number;
|
|
@@ -264,7 +265,9 @@ declare const LeavittFileExplorer_base: {
|
|
|
264
265
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
265
266
|
onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
266
267
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
268
|
+
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
267
269
|
oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
270
|
+
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
268
271
|
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
269
272
|
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
270
273
|
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
@@ -53,6 +53,7 @@ declare const FileModal_base: {
|
|
|
53
53
|
readonly clientTop: number;
|
|
54
54
|
readonly clientWidth: number;
|
|
55
55
|
id: string;
|
|
56
|
+
innerHTML: string;
|
|
56
57
|
readonly localName: string;
|
|
57
58
|
readonly namespaceURI: string | null;
|
|
58
59
|
onfullscreenchange: ((this: Element, ev: Event) => any) | null;
|
|
@@ -92,12 +93,13 @@ declare const FileModal_base: {
|
|
|
92
93
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
93
94
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
94
95
|
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
96
|
+
getHTML(options?: GetHTMLOptions): string;
|
|
95
97
|
hasAttribute(qualifiedName: string): boolean;
|
|
96
98
|
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
|
97
99
|
hasAttributes(): boolean;
|
|
98
100
|
hasPointerCapture(pointerId: number): boolean;
|
|
99
101
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
100
|
-
insertAdjacentHTML(position: InsertPosition,
|
|
102
|
+
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
101
103
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
102
104
|
matches(selectors: string): boolean;
|
|
103
105
|
releasePointerCapture(pointerId: number): void;
|
|
@@ -105,7 +107,7 @@ declare const FileModal_base: {
|
|
|
105
107
|
removeAttributeNS(namespace: string | null, localName: string): void;
|
|
106
108
|
removeAttributeNode(attr: Attr): Attr;
|
|
107
109
|
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
108
|
-
requestPointerLock(): void
|
|
110
|
+
requestPointerLock(options?: PointerLockOptions): Promise<void>;
|
|
109
111
|
scroll(options?: ScrollToOptions): void;
|
|
110
112
|
scroll(x: number, y: number): void;
|
|
111
113
|
scrollBy(options?: ScrollToOptions): void;
|
|
@@ -215,7 +217,6 @@ declare const FileModal_base: {
|
|
|
215
217
|
before(...nodes: (Node | string)[]): void;
|
|
216
218
|
remove(): void;
|
|
217
219
|
replaceWith(...nodes: (Node | string)[]): void;
|
|
218
|
-
innerHTML: string;
|
|
219
220
|
readonly nextElementSibling: Element | null;
|
|
220
221
|
readonly previousElementSibling: Element | null;
|
|
221
222
|
readonly childElementCount: number;
|
|
@@ -257,7 +258,9 @@ declare const FileModal_base: {
|
|
|
257
258
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
258
259
|
onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
259
260
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
261
|
+
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
260
262
|
oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
263
|
+
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
261
264
|
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
262
265
|
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
263
266
|
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
@@ -53,6 +53,7 @@ declare const FolderModal_base: {
|
|
|
53
53
|
readonly clientTop: number;
|
|
54
54
|
readonly clientWidth: number;
|
|
55
55
|
id: string;
|
|
56
|
+
innerHTML: string;
|
|
56
57
|
readonly localName: string;
|
|
57
58
|
readonly namespaceURI: string | null;
|
|
58
59
|
onfullscreenchange: ((this: Element, ev: Event) => any) | null;
|
|
@@ -92,12 +93,13 @@ declare const FolderModal_base: {
|
|
|
92
93
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
93
94
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
94
95
|
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
96
|
+
getHTML(options?: GetHTMLOptions): string;
|
|
95
97
|
hasAttribute(qualifiedName: string): boolean;
|
|
96
98
|
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
|
97
99
|
hasAttributes(): boolean;
|
|
98
100
|
hasPointerCapture(pointerId: number): boolean;
|
|
99
101
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
100
|
-
insertAdjacentHTML(position: InsertPosition,
|
|
102
|
+
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
101
103
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
102
104
|
matches(selectors: string): boolean;
|
|
103
105
|
releasePointerCapture(pointerId: number): void;
|
|
@@ -105,7 +107,7 @@ declare const FolderModal_base: {
|
|
|
105
107
|
removeAttributeNS(namespace: string | null, localName: string): void;
|
|
106
108
|
removeAttributeNode(attr: Attr): Attr;
|
|
107
109
|
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
108
|
-
requestPointerLock(): void
|
|
110
|
+
requestPointerLock(options?: PointerLockOptions): Promise<void>;
|
|
109
111
|
scroll(options?: ScrollToOptions): void;
|
|
110
112
|
scroll(x: number, y: number): void;
|
|
111
113
|
scrollBy(options?: ScrollToOptions): void;
|
|
@@ -215,7 +217,6 @@ declare const FolderModal_base: {
|
|
|
215
217
|
before(...nodes: (Node | string)[]): void;
|
|
216
218
|
remove(): void;
|
|
217
219
|
replaceWith(...nodes: (Node | string)[]): void;
|
|
218
|
-
innerHTML: string;
|
|
219
220
|
readonly nextElementSibling: Element | null;
|
|
220
221
|
readonly previousElementSibling: Element | null;
|
|
221
222
|
readonly childElementCount: number;
|
|
@@ -257,7 +258,9 @@ declare const FolderModal_base: {
|
|
|
257
258
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
258
259
|
onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
259
260
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
261
|
+
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
260
262
|
oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
263
|
+
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
261
264
|
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
262
265
|
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
263
266
|
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
@@ -49,6 +49,7 @@ declare const ProvideFeedbackDialog_base: {
|
|
|
49
49
|
readonly clientTop: number;
|
|
50
50
|
readonly clientWidth: number;
|
|
51
51
|
id: string;
|
|
52
|
+
innerHTML: string;
|
|
52
53
|
readonly localName: string;
|
|
53
54
|
readonly namespaceURI: string | null;
|
|
54
55
|
onfullscreenchange: ((this: Element, ev: Event) => any) | null;
|
|
@@ -88,12 +89,13 @@ declare const ProvideFeedbackDialog_base: {
|
|
|
88
89
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
89
90
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
90
91
|
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
92
|
+
getHTML(options?: GetHTMLOptions): string;
|
|
91
93
|
hasAttribute(qualifiedName: string): boolean;
|
|
92
94
|
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
|
93
95
|
hasAttributes(): boolean;
|
|
94
96
|
hasPointerCapture(pointerId: number): boolean;
|
|
95
97
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
96
|
-
insertAdjacentHTML(position: InsertPosition,
|
|
98
|
+
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
97
99
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
98
100
|
matches(selectors: string): boolean;
|
|
99
101
|
releasePointerCapture(pointerId: number): void;
|
|
@@ -101,7 +103,7 @@ declare const ProvideFeedbackDialog_base: {
|
|
|
101
103
|
removeAttributeNS(namespace: string | null, localName: string): void;
|
|
102
104
|
removeAttributeNode(attr: Attr): Attr;
|
|
103
105
|
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
104
|
-
requestPointerLock(): void
|
|
106
|
+
requestPointerLock(options?: PointerLockOptions): Promise<void>;
|
|
105
107
|
scroll(options?: ScrollToOptions): void;
|
|
106
108
|
scroll(x: number, y: number): void;
|
|
107
109
|
scrollBy(options?: ScrollToOptions): void;
|
|
@@ -211,7 +213,6 @@ declare const ProvideFeedbackDialog_base: {
|
|
|
211
213
|
before(...nodes: (Node | string)[]): void;
|
|
212
214
|
remove(): void;
|
|
213
215
|
replaceWith(...nodes: (Node | string)[]): void;
|
|
214
|
-
innerHTML: string;
|
|
215
216
|
readonly nextElementSibling: Element | null;
|
|
216
217
|
readonly previousElementSibling: Element | null;
|
|
217
218
|
readonly childElementCount: number;
|
|
@@ -253,7 +254,9 @@ declare const ProvideFeedbackDialog_base: {
|
|
|
253
254
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
254
255
|
onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
255
256
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
257
|
+
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
256
258
|
oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
259
|
+
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
257
260
|
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
258
261
|
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
259
262
|
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
@@ -15,7 +15,7 @@ import { dialogZIndexHack } from '../../titanium/hacks/dialog-zindex-hack';
|
|
|
15
15
|
import { dialogCloseNavigationHack, dialogOpenNavigationHack } from '../../titanium/hacks/dialog-navigation-hack';
|
|
16
16
|
const feedbackApiService = new ApiService(new AuthenticatedTokenProvider());
|
|
17
17
|
feedbackApiService.baseUrl = isDevelopment ? 'https://devapi3.leavitt.com/' : 'https://api3.leavitt.com/';
|
|
18
|
-
feedbackApiService.addHeader('X-LGAppName', '
|
|
18
|
+
feedbackApiService.addHeader('X-LGAppName', 'IssueTracking');
|
|
19
19
|
Object.freeze(feedbackApiService);
|
|
20
20
|
let ProvideFeedbackDialog = class ProvideFeedbackDialog extends LoadWhile(LitElement) {
|
|
21
21
|
#dialog_accessor_storage;
|
|
@@ -41,10 +41,13 @@ let ProvideFeedbackDialog = class ProvideFeedbackDialog extends LoadWhile(LitEle
|
|
|
41
41
|
}
|
|
42
42
|
const dto = {
|
|
43
43
|
SiteName: location.hostname,
|
|
44
|
-
|
|
44
|
+
PathName: window.location.pathname + window.location.search,
|
|
45
|
+
IssueType: 'Feedback',
|
|
46
|
+
Description: this.textArea.value,
|
|
47
|
+
Attachments: [],
|
|
45
48
|
};
|
|
46
49
|
try {
|
|
47
|
-
const post = feedbackApiService.postAsync('
|
|
50
|
+
const post = feedbackApiService.postAsync('Issues/ReportIssue', dto, { sendAsFormData: true });
|
|
48
51
|
this.dispatchEvent(new PendingStateEvent(post));
|
|
49
52
|
this.loadWhile(post);
|
|
50
53
|
const entity = (await post).entity;
|
|
@@ -1 +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,4BAA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AC;gBACpC,IAAI,CAAC,QAAQ,CAAC,UAAU,EAAE,CAAC;gBAC3B,OAAO;YACT,CAAC;YACD,CAAC,CAAC,cAAc,EAAE,CAAC;QACrB,CAAC;;;;;;;;;;;;;8CAaqC,IAAI,CAAC,SAAS;;uEAEW,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;;AA5GoC;IAApC,KAAK,CAAC,WAAW,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,CA8GjC"}
|
|
@@ -50,6 +50,7 @@ declare const ReportAProblemDialog_base: {
|
|
|
50
50
|
readonly clientTop: number;
|
|
51
51
|
readonly clientWidth: number;
|
|
52
52
|
id: string;
|
|
53
|
+
innerHTML: string;
|
|
53
54
|
readonly localName: string;
|
|
54
55
|
readonly namespaceURI: string | null;
|
|
55
56
|
onfullscreenchange: ((this: Element, ev: Event) => any) | null;
|
|
@@ -89,12 +90,13 @@ declare const ReportAProblemDialog_base: {
|
|
|
89
90
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
90
91
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
91
92
|
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
93
|
+
getHTML(options?: GetHTMLOptions): string;
|
|
92
94
|
hasAttribute(qualifiedName: string): boolean;
|
|
93
95
|
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
|
94
96
|
hasAttributes(): boolean;
|
|
95
97
|
hasPointerCapture(pointerId: number): boolean;
|
|
96
98
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
97
|
-
insertAdjacentHTML(position: InsertPosition,
|
|
99
|
+
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
98
100
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
99
101
|
matches(selectors: string): boolean;
|
|
100
102
|
releasePointerCapture(pointerId: number): void;
|
|
@@ -102,7 +104,7 @@ declare const ReportAProblemDialog_base: {
|
|
|
102
104
|
removeAttributeNS(namespace: string | null, localName: string): void;
|
|
103
105
|
removeAttributeNode(attr: Attr): Attr;
|
|
104
106
|
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
105
|
-
requestPointerLock(): void
|
|
107
|
+
requestPointerLock(options?: PointerLockOptions): Promise<void>;
|
|
106
108
|
scroll(options?: ScrollToOptions): void;
|
|
107
109
|
scroll(x: number, y: number): void;
|
|
108
110
|
scrollBy(options?: ScrollToOptions): void;
|
|
@@ -212,7 +214,6 @@ declare const ReportAProblemDialog_base: {
|
|
|
212
214
|
before(...nodes: (Node | string)[]): void;
|
|
213
215
|
remove(): void;
|
|
214
216
|
replaceWith(...nodes: (Node | string)[]): void;
|
|
215
|
-
innerHTML: string;
|
|
216
217
|
readonly nextElementSibling: Element | null;
|
|
217
218
|
readonly previousElementSibling: Element | null;
|
|
218
219
|
readonly childElementCount: number;
|
|
@@ -254,7 +255,9 @@ declare const ReportAProblemDialog_base: {
|
|
|
254
255
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
255
256
|
onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
256
257
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
258
|
+
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
257
259
|
oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
260
|
+
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
258
261
|
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
259
262
|
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
260
263
|
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
@@ -16,7 +16,7 @@ import { dialogCloseNavigationHack, dialogOpenNavigationHack } from '../../titan
|
|
|
16
16
|
import { dialogZIndexHack } from '../../titanium/hacks/dialog-zindex-hack';
|
|
17
17
|
const websiteBugApiService = new ApiService(new AuthenticatedTokenProvider());
|
|
18
18
|
websiteBugApiService.baseUrl = isDevelopment ? 'https://devapi3.leavitt.com/' : 'https://api3.leavitt.com/';
|
|
19
|
-
websiteBugApiService.addHeader('X-LGAppName', '
|
|
19
|
+
websiteBugApiService.addHeader('X-LGAppName', 'IssueTracking');
|
|
20
20
|
Object.freeze(websiteBugApiService);
|
|
21
21
|
let ReportAProblemDialog = class ReportAProblemDialog extends LoadWhile(LitElement) {
|
|
22
22
|
#dialog_accessor_storage;
|
|
@@ -46,11 +46,13 @@ let ReportAProblemDialog = class ReportAProblemDialog extends LoadWhile(LitEleme
|
|
|
46
46
|
}
|
|
47
47
|
const dto = {
|
|
48
48
|
SiteName: location.hostname,
|
|
49
|
+
PathName: window.location.pathname + window.location.search,
|
|
50
|
+
IssueType: 'Bug',
|
|
49
51
|
Description: this.textArea.value,
|
|
50
52
|
Attachments: (this.imageInput?.getFiles() ?? []).map((o) => o.file),
|
|
51
53
|
};
|
|
52
54
|
try {
|
|
53
|
-
const post = websiteBugApiService.postAsync('
|
|
55
|
+
const post = websiteBugApiService.postAsync('Issues/ReportIssue', dto, { sendAsFormData: true });
|
|
54
56
|
this.dispatchEvent(new PendingStateEvent(post));
|
|
55
57
|
this.loadWhile(post);
|
|
56
58
|
const entity = (await post).entity;
|
|
@@ -1 +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,EAAE,gBAAgB,EAAE,MAAM,yCAAyC,CAAC;AAK3E,MAAM,oBAAoB,GAAG,IAAI,UAAU,CAAC,IAAI,0BAA0B,EAAE,CAAC,CAAC;AAC9E,oBAAoB,CAAC,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,8BAA8B,CAAC,CAAC,CAAC,2BAA2B,CAAC;AAC5G,oBAAoB,CAAC,SAAS,CAAC,aAAa,EAAE,
|
|
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;AA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AAG,EAAE,CAAC,IAAI,CAAC,OAAO,EAAE;;;KAG9E,CAAC;IACJ,CAAC;;AA9HoC;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,CAgIhC"}
|
|
@@ -52,6 +52,7 @@ declare const LeavittUserFeedback_base: {
|
|
|
52
52
|
readonly clientTop: number;
|
|
53
53
|
readonly clientWidth: number;
|
|
54
54
|
id: string;
|
|
55
|
+
innerHTML: string;
|
|
55
56
|
readonly localName: string;
|
|
56
57
|
readonly namespaceURI: string | null;
|
|
57
58
|
onfullscreenchange: ((this: Element, ev: Event) => any) | null;
|
|
@@ -91,12 +92,13 @@ declare const LeavittUserFeedback_base: {
|
|
|
91
92
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
92
93
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
93
94
|
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
95
|
+
getHTML(options?: GetHTMLOptions): string;
|
|
94
96
|
hasAttribute(qualifiedName: string): boolean;
|
|
95
97
|
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
|
96
98
|
hasAttributes(): boolean;
|
|
97
99
|
hasPointerCapture(pointerId: number): boolean;
|
|
98
100
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
99
|
-
insertAdjacentHTML(position: InsertPosition,
|
|
101
|
+
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
100
102
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
101
103
|
matches(selectors: string): boolean;
|
|
102
104
|
releasePointerCapture(pointerId: number): void;
|
|
@@ -104,7 +106,7 @@ declare const LeavittUserFeedback_base: {
|
|
|
104
106
|
removeAttributeNS(namespace: string | null, localName: string): void;
|
|
105
107
|
removeAttributeNode(attr: Attr): Attr;
|
|
106
108
|
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
107
|
-
requestPointerLock(): void
|
|
109
|
+
requestPointerLock(options?: PointerLockOptions): Promise<void>;
|
|
108
110
|
scroll(options?: ScrollToOptions): void;
|
|
109
111
|
scroll(x: number, y: number): void;
|
|
110
112
|
scrollBy(options?: ScrollToOptions): void;
|
|
@@ -214,7 +216,6 @@ declare const LeavittUserFeedback_base: {
|
|
|
214
216
|
before(...nodes: (Node | string)[]): void;
|
|
215
217
|
remove(): void;
|
|
216
218
|
replaceWith(...nodes: (Node | string)[]): void;
|
|
217
|
-
innerHTML: string;
|
|
218
219
|
readonly nextElementSibling: Element | null;
|
|
219
220
|
readonly previousElementSibling: Element | null;
|
|
220
221
|
readonly childElementCount: number;
|
|
@@ -256,7 +257,9 @@ declare const LeavittUserFeedback_base: {
|
|
|
256
257
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
257
258
|
onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
258
259
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
260
|
+
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
259
261
|
oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
262
|
+
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
260
263
|
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
261
264
|
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
262
265
|
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
@@ -16,11 +16,11 @@ import ApiService from '../api-service//api-service';
|
|
|
16
16
|
import { ShowSnackbarEvent } from '../../titanium/snackbar/show-snackbar-event';
|
|
17
17
|
const websiteBugApiService = new ApiService(new AuthenticatedTokenProvider());
|
|
18
18
|
websiteBugApiService.baseUrl = isDevelopment ? 'https://devapi3.leavitt.com/' : 'https://api3.leavitt.com/';
|
|
19
|
-
websiteBugApiService.addHeader('X-LGAppName', '
|
|
19
|
+
websiteBugApiService.addHeader('X-LGAppName', 'IssueTracking');
|
|
20
20
|
Object.freeze(websiteBugApiService);
|
|
21
21
|
const feedbackApiService = new ApiService(new AuthenticatedTokenProvider());
|
|
22
22
|
feedbackApiService.baseUrl = isDevelopment ? 'https://devapi3.leavitt.com/' : 'https://api3.leavitt.com/';
|
|
23
|
-
feedbackApiService.addHeader('X-LGAppName', '
|
|
23
|
+
feedbackApiService.addHeader('X-LGAppName', 'IssueTracking');
|
|
24
24
|
Object.freeze(feedbackApiService);
|
|
25
25
|
let LeavittUserFeedback = class LeavittUserFeedback extends LoadWhile(LitElement) {
|
|
26
26
|
#isActive_accessor_storage = false;
|
|
@@ -50,11 +50,13 @@ let LeavittUserFeedback = class LeavittUserFeedback extends LoadWhile(LitElement
|
|
|
50
50
|
}
|
|
51
51
|
const dto = {
|
|
52
52
|
SiteName: location.hostname,
|
|
53
|
+
PathName: window.location.pathname + window.location.search,
|
|
54
|
+
IssueType: 'Bug',
|
|
53
55
|
Description: this.textArea.value,
|
|
54
56
|
Attachments: (this.imageInput?.getFiles() ?? []).map((o) => o.file),
|
|
55
57
|
};
|
|
56
58
|
try {
|
|
57
|
-
const post = websiteBugApiService.postAsync('
|
|
59
|
+
const post = websiteBugApiService.postAsync('Issues/ReportIssue', dto, { sendAsFormData: true });
|
|
58
60
|
this.dispatchEvent(new PendingStateEvent(post));
|
|
59
61
|
this.loadWhile(post);
|
|
60
62
|
const entity = (await post).entity;
|
|
@@ -80,10 +82,13 @@ let LeavittUserFeedback = class LeavittUserFeedback extends LoadWhile(LitElement
|
|
|
80
82
|
}
|
|
81
83
|
const dto = {
|
|
82
84
|
SiteName: location.hostname,
|
|
83
|
-
|
|
85
|
+
PathName: window.location.pathname + window.location.search,
|
|
86
|
+
IssueType: 'Feedback',
|
|
87
|
+
Description: this.textArea.value,
|
|
88
|
+
Attachments: [],
|
|
84
89
|
};
|
|
85
90
|
try {
|
|
86
|
-
const post = feedbackApiService.postAsync('
|
|
91
|
+
const post = feedbackApiService.postAsync('Issues/ReportIssue', dto, { sendAsFormData: true });
|
|
87
92
|
this.dispatchEvent(new PendingStateEvent(post));
|
|
88
93
|
this.loadWhile(post);
|
|
89
94
|
const entity = (await post).entity;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user-feedback.js","sourceRoot":"","sources":["user-feedback.ts"],"names":[],"mappings":";AAAA,OAAO,8BAA8B,CAAC;AACtC,OAAO,0BAA0B,CAAC;AAClC,OAAO,8DAA8D,CAAC;AAEtE,OAAO,0CAA0C,CAAC;AAClD,OAAO,6CAA6C,CAAC;AACrD,OAAO,gCAAgC,CAAC;AACxC,OAAO,yBAAyB,CAAC;AAEjC,OAAO,EAAE,UAAU,EAAkB,GAAG,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AAC5D,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1E,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;AAGzF,OAAO,UAAU,MAAM,6BAA6B,CAAC;AAErD,OAAO,EAAE,iBAAiB,EAAE,MAAM,6CAA6C,CAAC;AAEhF,MAAM,oBAAoB,GAAG,IAAI,UAAU,CAAC,IAAI,0BAA0B,EAAE,CAAC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AC,IAAI,CAAA;;;;;;;;;;;;;sBAaI;YACV,CAAC,CAAC,IAAI,CAAA;;;;;;;;;;;sBAWI;;;2CAGqB,GAAG,EAAE,CAAC,CAAC,IAAI,CAAC,WAAW,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,EAAE,CAAC,cAAc,IAAI,CAAC,SAAS;;;;;KAKjJ,CAAC;IACJ,CAAC;;AAlLqC;IAArC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;mDAAoC;AAEtC;IAAzB,KAAK,EAAE;sDAA0C;AAEA;IAAjD,KAAK,CAAC,wBAAwB,CAAC;mDAAgD;AACrB;IAA1D,KAAK,CAAC,iCAAiC,CAAC;qDAAkE;AANhG,mBAAmB;IAD/B,aAAa,CAAC,uBAAuB,CAAC;GAC1B,mBAAmB,CAoL/B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@leavittsoftware/web",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.11.1",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "",
|
|
6
6
|
"files": [
|
|
@@ -22,12 +22,12 @@
|
|
|
22
22
|
"bowser": "^2.11.0",
|
|
23
23
|
"countup.js": "^2.8.0",
|
|
24
24
|
"cropperjs": "*",
|
|
25
|
-
"dayjs": "^1.11.
|
|
25
|
+
"dayjs": "^1.11.13",
|
|
26
26
|
"fuse.js": "^7.0.0",
|
|
27
27
|
"jwt-decode": "^4.0.0",
|
|
28
|
-
"promise-parallel-throttle": "^3.
|
|
28
|
+
"promise-parallel-throttle": "^3.5.0",
|
|
29
29
|
"regexparam": "~3.0.0",
|
|
30
|
-
"tslib": "^2.
|
|
30
|
+
"tslib": "^2.7.0"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
33
|
"lit": ">=3.0.0"
|
|
@@ -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": "db7e36b51d22ace15be855c9a474a2f7a191c287"
|
|
44
44
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { PropertyValues } from 'lit';
|
|
1
2
|
import './google-address-input';
|
|
2
3
|
import './manual-address-dialog';
|
|
3
4
|
import '@material/web/iconbutton/icon-button';
|
|
@@ -21,7 +22,9 @@ export declare class TitaniumAddressInput extends GoogleAddressInput {
|
|
|
21
22
|
*/
|
|
22
23
|
accessor showCounty: boolean;
|
|
23
24
|
private accessor manualAddressDialog;
|
|
25
|
+
private accessor hasSelection;
|
|
24
26
|
static styles: import("lit").CSSResult[];
|
|
27
|
+
update(changed: PropertyValues<this>): void;
|
|
25
28
|
renderTrailingSlot(): import("lit-html").TemplateResult<1>;
|
|
26
29
|
renderTrailingInputSlot(): import("lit-html").TemplateResult<1>;
|
|
27
30
|
}
|
|
@@ -30,6 +30,9 @@ let TitaniumAddressInput = class TitaniumAddressInput extends GoogleAddressInput
|
|
|
30
30
|
#manualAddressDialog_accessor_storage;
|
|
31
31
|
get manualAddressDialog() { return this.#manualAddressDialog_accessor_storage; }
|
|
32
32
|
set manualAddressDialog(value) { this.#manualAddressDialog_accessor_storage = value; }
|
|
33
|
+
#hasSelection_accessor_storage = false;
|
|
34
|
+
get hasSelection() { return this.#hasSelection_accessor_storage; }
|
|
35
|
+
set hasSelection(value) { this.#hasSelection_accessor_storage = value; }
|
|
33
36
|
static { this.styles = [
|
|
34
37
|
...GoogleAddressInput.styles,
|
|
35
38
|
css `
|
|
@@ -39,8 +42,18 @@ let TitaniumAddressInput = class TitaniumAddressInput extends GoogleAddressInput
|
|
|
39
42
|
position: relative;
|
|
40
43
|
--_supporting-text-trailing-space: 165px;
|
|
41
44
|
}
|
|
45
|
+
|
|
46
|
+
:host([has-selection]) {
|
|
47
|
+
--md-outlined-text-field-with-trailing-icon-trailing-space: 36px;
|
|
48
|
+
}
|
|
42
49
|
`,
|
|
43
50
|
]; }
|
|
51
|
+
update(changed) {
|
|
52
|
+
if (changed.has('selected')) {
|
|
53
|
+
this.hasSelection = !!this.selected;
|
|
54
|
+
}
|
|
55
|
+
super.update(changed);
|
|
56
|
+
}
|
|
44
57
|
renderTrailingSlot() {
|
|
45
58
|
return html `<manual-address-dialog
|
|
46
59
|
.showCounty=${this.showCounty}
|
|
@@ -79,6 +92,9 @@ __decorate([
|
|
|
79
92
|
__decorate([
|
|
80
93
|
query('manual-address-dialog')
|
|
81
94
|
], TitaniumAddressInput.prototype, "manualAddressDialog", null);
|
|
95
|
+
__decorate([
|
|
96
|
+
property({ type: Boolean, attribute: 'has-selection', reflect: true })
|
|
97
|
+
], TitaniumAddressInput.prototype, "hasSelection", null);
|
|
82
98
|
TitaniumAddressInput = __decorate([
|
|
83
99
|
customElement('titanium-address-input')
|
|
84
100
|
], TitaniumAddressInput);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"address-input.js","sourceRoot":"","sources":["address-input.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,IAAI,
|
|
1
|
+
{"version":3,"file":"address-input.js","sourceRoot":"","sources":["address-input.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,IAAI,EAAkB,MAAM,KAAK,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACnE,OAAO,wBAAwB,CAAC;AAChC,OAAO,yBAAyB,CAAC;AAEjC,OAAO,sCAAsC,CAAC;AAC9C,OAAO,yBAAyB,CAAC;AAEjC,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAG5D;;;;;;;GAOG;AAEI,IAAM,oBAAoB,GAA1B,MAAM,oBA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AAE,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;gBAClF,IAAI,CAAC,cAAc,EAAE,CAAC;YACxB,CAAC;QACH,CAAC;;;;KAIJ,CAAC;IACJ,CAAC;;AA/DgE;IAAhE,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,CAAC;uDAAuC;AAK9B;IAA/D,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,CAAC;sDAAsC;AAE3C;IAAhD,KAAK,CAAC,uBAAuB,CAAC;+DAA2D;AAED;IAAxF,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;wDAAgD;AAb5G,oBAAoB;IADhC,aAAa,CAAC,wBAAwB,CAAC;GAC3B,oBAAoB,CAoEhC"}
|
|
@@ -50,6 +50,7 @@ export declare const LoadWhile: <C extends Constructor<HTMLElement>>(base: C) =>
|
|
|
50
50
|
readonly clientTop: number;
|
|
51
51
|
readonly clientWidth: number;
|
|
52
52
|
id: string;
|
|
53
|
+
innerHTML: string;
|
|
53
54
|
readonly localName: string;
|
|
54
55
|
readonly namespaceURI: string | null;
|
|
55
56
|
onfullscreenchange: ((this: Element, ev: Event) => any) | null;
|
|
@@ -89,12 +90,13 @@ export declare const LoadWhile: <C extends Constructor<HTMLElement>>(base: C) =>
|
|
|
89
90
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
90
91
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
91
92
|
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
93
|
+
getHTML(options?: GetHTMLOptions): string;
|
|
92
94
|
hasAttribute(qualifiedName: string): boolean;
|
|
93
95
|
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
|
94
96
|
hasAttributes(): boolean;
|
|
95
97
|
hasPointerCapture(pointerId: number): boolean;
|
|
96
98
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
97
|
-
insertAdjacentHTML(position: InsertPosition,
|
|
99
|
+
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
98
100
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
99
101
|
matches(selectors: string): boolean;
|
|
100
102
|
releasePointerCapture(pointerId: number): void;
|
|
@@ -102,7 +104,7 @@ export declare const LoadWhile: <C extends Constructor<HTMLElement>>(base: C) =>
|
|
|
102
104
|
removeAttributeNS(namespace: string | null, localName: string): void;
|
|
103
105
|
removeAttributeNode(attr: Attr): Attr;
|
|
104
106
|
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
105
|
-
requestPointerLock(): void
|
|
107
|
+
requestPointerLock(options?: PointerLockOptions): Promise<void>;
|
|
106
108
|
scroll(options?: ScrollToOptions): void;
|
|
107
109
|
scroll(x: number, y: number): void;
|
|
108
110
|
scrollBy(options?: ScrollToOptions): void;
|
|
@@ -212,7 +214,6 @@ export declare const LoadWhile: <C extends Constructor<HTMLElement>>(base: C) =>
|
|
|
212
214
|
before(...nodes: (Node | string)[]): void;
|
|
213
215
|
remove(): void;
|
|
214
216
|
replaceWith(...nodes: (Node | string)[]): void;
|
|
215
|
-
innerHTML: string;
|
|
216
217
|
readonly nextElementSibling: Element | null;
|
|
217
218
|
readonly previousElementSibling: Element | null;
|
|
218
219
|
readonly childElementCount: number;
|
|
@@ -254,7 +255,9 @@ export declare const LoadWhile: <C extends Constructor<HTMLElement>>(base: C) =>
|
|
|
254
255
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
255
256
|
onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
256
257
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
258
|
+
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
257
259
|
oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
260
|
+
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
258
261
|
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
259
262
|
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
260
263
|
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
@@ -54,6 +54,7 @@ declare const TitaniumSingleSelectBase_base: {
|
|
|
54
54
|
readonly clientTop: number;
|
|
55
55
|
readonly clientWidth: number;
|
|
56
56
|
id: string;
|
|
57
|
+
innerHTML: string;
|
|
57
58
|
readonly localName: string;
|
|
58
59
|
readonly namespaceURI: string | null;
|
|
59
60
|
onfullscreenchange: ((this: Element, ev: Event) => any) | null;
|
|
@@ -93,12 +94,13 @@ declare const TitaniumSingleSelectBase_base: {
|
|
|
93
94
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
94
95
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
95
96
|
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
97
|
+
getHTML(options?: GetHTMLOptions): string;
|
|
96
98
|
hasAttribute(qualifiedName: string): boolean;
|
|
97
99
|
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
|
98
100
|
hasAttributes(): boolean;
|
|
99
101
|
hasPointerCapture(pointerId: number): boolean;
|
|
100
102
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
101
|
-
insertAdjacentHTML(position: InsertPosition,
|
|
103
|
+
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
102
104
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
103
105
|
matches(selectors: string): boolean;
|
|
104
106
|
releasePointerCapture(pointerId: number): void;
|
|
@@ -106,7 +108,7 @@ declare const TitaniumSingleSelectBase_base: {
|
|
|
106
108
|
removeAttributeNS(namespace: string | null, localName: string): void;
|
|
107
109
|
removeAttributeNode(attr: Attr): Attr;
|
|
108
110
|
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
109
|
-
requestPointerLock(): void
|
|
111
|
+
requestPointerLock(options?: PointerLockOptions): Promise<void>;
|
|
110
112
|
scroll(options?: ScrollToOptions): void;
|
|
111
113
|
scroll(x: number, y: number): void;
|
|
112
114
|
scrollBy(options?: ScrollToOptions): void;
|
|
@@ -216,7 +218,6 @@ declare const TitaniumSingleSelectBase_base: {
|
|
|
216
218
|
before(...nodes: (Node | string)[]): void;
|
|
217
219
|
remove(): void;
|
|
218
220
|
replaceWith(...nodes: (Node | string)[]): void;
|
|
219
|
-
innerHTML: string;
|
|
220
221
|
readonly nextElementSibling: Element | null;
|
|
221
222
|
readonly previousElementSibling: Element | null;
|
|
222
223
|
readonly childElementCount: number;
|
|
@@ -258,7 +259,9 @@ declare const TitaniumSingleSelectBase_base: {
|
|
|
258
259
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
259
260
|
onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
260
261
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
262
|
+
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
261
263
|
oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
264
|
+
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
262
265
|
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
263
266
|
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
264
267
|
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
@@ -54,6 +54,7 @@ declare const CropAndSaveImageDialog_base: {
|
|
|
54
54
|
readonly clientTop: number;
|
|
55
55
|
readonly clientWidth: number;
|
|
56
56
|
id: string;
|
|
57
|
+
innerHTML: string;
|
|
57
58
|
readonly localName: string;
|
|
58
59
|
readonly namespaceURI: string | null;
|
|
59
60
|
onfullscreenchange: ((this: Element, ev: Event) => any) | null;
|
|
@@ -93,12 +94,13 @@ declare const CropAndSaveImageDialog_base: {
|
|
|
93
94
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
94
95
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
95
96
|
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
97
|
+
getHTML(options?: GetHTMLOptions): string;
|
|
96
98
|
hasAttribute(qualifiedName: string): boolean;
|
|
97
99
|
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
|
98
100
|
hasAttributes(): boolean;
|
|
99
101
|
hasPointerCapture(pointerId: number): boolean;
|
|
100
102
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
101
|
-
insertAdjacentHTML(position: InsertPosition,
|
|
103
|
+
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
102
104
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
103
105
|
matches(selectors: string): boolean;
|
|
104
106
|
releasePointerCapture(pointerId: number): void;
|
|
@@ -106,7 +108,7 @@ declare const CropAndSaveImageDialog_base: {
|
|
|
106
108
|
removeAttributeNS(namespace: string | null, localName: string): void;
|
|
107
109
|
removeAttributeNode(attr: Attr): Attr;
|
|
108
110
|
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
109
|
-
requestPointerLock(): void
|
|
111
|
+
requestPointerLock(options?: PointerLockOptions): Promise<void>;
|
|
110
112
|
scroll(options?: ScrollToOptions): void;
|
|
111
113
|
scroll(x: number, y: number): void;
|
|
112
114
|
scrollBy(options?: ScrollToOptions): void;
|
|
@@ -216,7 +218,6 @@ declare const CropAndSaveImageDialog_base: {
|
|
|
216
218
|
before(...nodes: (Node | string)[]): void;
|
|
217
219
|
remove(): void;
|
|
218
220
|
replaceWith(...nodes: (Node | string)[]): void;
|
|
219
|
-
innerHTML: string;
|
|
220
221
|
readonly nextElementSibling: Element | null;
|
|
221
222
|
readonly previousElementSibling: Element | null;
|
|
222
223
|
readonly childElementCount: number;
|
|
@@ -258,7 +259,9 @@ declare const CropAndSaveImageDialog_base: {
|
|
|
258
259
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
259
260
|
onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
260
261
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
262
|
+
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
261
263
|
oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
264
|
+
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
262
265
|
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
263
266
|
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
264
267
|
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|