@leavittsoftware/web 9.9.0 → 10.0.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.
Files changed (223) hide show
  1. package/.ncurc.js +1 -1
  2. package/CLAUDE.md +1320 -0
  3. package/LICENSE.md +1 -1
  4. package/leavitt/api-service/api-service.js +3 -2
  5. package/leavitt/api-service/api-service.js.map +1 -1
  6. package/leavitt/api-service/blob-response.js +1 -0
  7. package/leavitt/api-service/blob-response.js.map +1 -1
  8. package/leavitt/app/app-logo.js +1 -1
  9. package/leavitt/app/app-logo.js.map +1 -1
  10. package/leavitt/app/app-main-content-container.js +5 -0
  11. package/leavitt/app/app-main-content-container.js.map +1 -1
  12. package/leavitt/app/app-navigation-header.js +10 -10
  13. package/leavitt/app/app-navigation-header.js.map +1 -1
  14. package/leavitt/company-select/company-select.js +2 -2
  15. package/leavitt/company-select/company-select.js.map +1 -1
  16. package/leavitt/email-history-viewer/email-history-viewer-filled-filter-dialog.d.ts +3 -369
  17. package/leavitt/email-history-viewer/email-history-viewer-filled-filter-dialog.js +15 -9
  18. package/leavitt/email-history-viewer/email-history-viewer-filled-filter-dialog.js.map +1 -1
  19. package/leavitt/email-history-viewer/email-history-viewer-filled.d.ts +3 -374
  20. package/leavitt/email-history-viewer/email-history-viewer-filled.js +15 -33
  21. package/leavitt/email-history-viewer/email-history-viewer-filled.js.map +1 -1
  22. package/leavitt/email-history-viewer/view-email-template-info-dialog.d.ts +3 -369
  23. package/leavitt/email-history-viewer/view-email-template-info-dialog.js +12 -5
  24. package/leavitt/email-history-viewer/view-email-template-info-dialog.js.map +1 -1
  25. package/leavitt/email-history-viewer/view-sent-email-dialog.d.ts +3 -369
  26. package/leavitt/email-history-viewer/view-sent-email-dialog.js +13 -6
  27. package/leavitt/email-history-viewer/view-sent-email-dialog.js.map +1 -1
  28. package/leavitt/error-page/error-page.d.ts +5 -2
  29. package/leavitt/error-page/error-page.js +136 -37
  30. package/leavitt/error-page/error-page.js.map +1 -1
  31. package/leavitt/file-explorer/add-folder-modal.d.ts +3 -369
  32. package/leavitt/file-explorer/add-folder-modal.js +13 -6
  33. package/leavitt/file-explorer/add-folder-modal.js.map +1 -1
  34. package/leavitt/file-explorer/file-explorer-image.js.map +1 -1
  35. package/leavitt/file-explorer/file-explorer.d.ts +5 -371
  36. package/leavitt/file-explorer/file-explorer.js +35 -30
  37. package/leavitt/file-explorer/file-explorer.js.map +1 -1
  38. package/leavitt/file-explorer/file-list-item.js.map +1 -1
  39. package/leavitt/file-explorer/file-modal.d.ts +3 -369
  40. package/leavitt/file-explorer/file-modal.js +12 -5
  41. package/leavitt/file-explorer/file-modal.js.map +1 -1
  42. package/leavitt/file-explorer/folder-list-item.js.map +1 -1
  43. package/leavitt/file-explorer/folder-modal.d.ts +3 -369
  44. package/leavitt/file-explorer/folder-modal.js +12 -5
  45. package/leavitt/file-explorer/folder-modal.js.map +1 -1
  46. package/leavitt/person-company-select/person-company-select.js +5 -3
  47. package/leavitt/person-company-select/person-company-select.js.map +1 -1
  48. package/leavitt/person-group-select/person-group-select.js +5 -3
  49. package/leavitt/person-group-select/person-group-select.js.map +1 -1
  50. package/leavitt/person-select/person-select.js +3 -2
  51. package/leavitt/person-select/person-select.js.map +1 -1
  52. package/leavitt/profile-picture/profile-picture-menu.js +2 -0
  53. package/leavitt/profile-picture/profile-picture-menu.js.map +1 -1
  54. package/leavitt/profile-picture/profile-picture.js +4 -4
  55. package/leavitt/profile-picture/profile-picture.js.map +1 -1
  56. package/leavitt/service-worker-notifier/service-worker-notifier.js.map +1 -1
  57. package/leavitt/theme/theme-preference.js +4 -0
  58. package/leavitt/theme/theme-preference.js.map +1 -1
  59. package/leavitt/user-feedback/provide-feedback-dialog.d.ts +3 -369
  60. package/leavitt/user-feedback/provide-feedback-dialog.js +11 -4
  61. package/leavitt/user-feedback/provide-feedback-dialog.js.map +1 -1
  62. package/leavitt/user-feedback/report-a-problem-dialog.d.ts +3 -369
  63. package/leavitt/user-feedback/report-a-problem-dialog.js +11 -4
  64. package/leavitt/user-feedback/report-a-problem-dialog.js.map +1 -1
  65. package/leavitt/user-manager/auth-zero-lg-user-manager.js +5 -5
  66. package/leavitt/user-manager/auth-zero-lg-user-manager.js.map +1 -1
  67. package/package.json +8 -10
  68. package/titanium/address-input/address-input.js +0 -2
  69. package/titanium/address-input/address-input.js.map +1 -1
  70. package/titanium/address-input/google-address-input.d.ts +1 -0
  71. package/titanium/address-input/google-address-input.js +62 -45
  72. package/titanium/address-input/google-address-input.js.map +1 -1
  73. package/titanium/address-input/google-maps-process-shim.d.ts +2 -0
  74. package/titanium/address-input/google-maps-process-shim.js +12 -0
  75. package/titanium/address-input/google-maps-process-shim.js.map +1 -0
  76. package/titanium/address-input/manual-address-dialog.d.ts +2 -7
  77. package/titanium/address-input/manual-address-dialog.js +21 -34
  78. package/titanium/address-input/manual-address-dialog.js.map +1 -1
  79. package/titanium/address-input/utils/place-result-to-address.d.ts +1 -1
  80. package/titanium/address-input/utils/place-result-to-address.js +31 -30
  81. package/titanium/address-input/utils/place-result-to-address.js.map +1 -1
  82. package/titanium/chip/chip.d.ts +0 -1
  83. package/titanium/chip/chip.js +7 -17
  84. package/titanium/chip/chip.js.map +1 -1
  85. package/titanium/chip-multi-select/chip-multi-select.d.ts +3 -8
  86. package/titanium/chip-multi-select/chip-multi-select.js +41 -62
  87. package/titanium/chip-multi-select/chip-multi-select.js.map +1 -1
  88. package/titanium/circle-loading-indicator/circle-loading-indicator.js +5 -5
  89. package/titanium/circle-loading-indicator/circle-loading-indicator.js.map +1 -1
  90. package/titanium/confirmation-dialog/confirmation-dialog.js +2 -0
  91. package/titanium/confirmation-dialog/confirmation-dialog.js.map +1 -1
  92. package/titanium/data-table/data-table-action-bar.js +1 -5
  93. package/titanium/data-table/data-table-action-bar.js.map +1 -1
  94. package/titanium/data-table/data-table-core-reorder-dialog.d.ts +3 -369
  95. package/titanium/data-table/data-table-core-reorder-dialog.js +10 -3
  96. package/titanium/data-table/data-table-core-reorder-dialog.js.map +1 -1
  97. package/titanium/data-table/data-table-core-reorder-item.js.map +1 -1
  98. package/titanium/data-table/data-table-core-settings-choose-columns-dialog.js.map +1 -1
  99. package/titanium/data-table/data-table-core-settings-choose-columns-item.js +3 -3
  100. package/titanium/data-table/data-table-core-settings-choose-columns-item.js.map +1 -1
  101. package/titanium/data-table/data-table-core-settings-sort-dialog.js.map +1 -1
  102. package/titanium/data-table/data-table-core-settings-sort-item.js +3 -3
  103. package/titanium/data-table/data-table-core-settings-sort-item.js.map +1 -1
  104. package/titanium/data-table/data-table-core.d.ts +5 -369
  105. package/titanium/data-table/data-table-core.js +13 -2
  106. package/titanium/data-table/data-table-core.js.map +1 -1
  107. package/titanium/data-table/draggable-item-base.js +6 -0
  108. package/titanium/data-table/draggable-item-base.js.map +1 -1
  109. package/titanium/data-table/filter-controller.js.map +1 -1
  110. package/titanium/data-table/page-control.d.ts +3 -8
  111. package/titanium/data-table/page-control.js +13 -33
  112. package/titanium/data-table/page-control.js.map +1 -1
  113. package/titanium/date-input/date-input.d.ts +1 -6
  114. package/titanium/date-input/date-input.js +8 -44
  115. package/titanium/date-input/date-input.js.map +1 -1
  116. package/titanium/date-range-selector/date-range-selector.d.ts +1 -6
  117. package/titanium/date-range-selector/date-range-selector.js +15 -35
  118. package/titanium/date-range-selector/date-range-selector.js.map +1 -1
  119. package/titanium/drawer/drawer.d.ts +1 -6
  120. package/titanium/drawer/drawer.js +4 -23
  121. package/titanium/drawer/drawer.js.map +1 -1
  122. package/titanium/event-bus/event-bus.js.map +1 -1
  123. package/titanium/helpers/debouncer.js.map +1 -1
  124. package/titanium/helpers/helpers.d.ts +0 -1
  125. package/titanium/helpers/helpers.js +0 -1
  126. package/titanium/helpers/helpers.js.map +1 -1
  127. package/titanium/helpers/pending-state-catcher.d.ts +7 -406
  128. package/titanium/helpers/pending-state-catcher.js +85 -82
  129. package/titanium/helpers/pending-state-catcher.js.map +1 -1
  130. package/titanium/input-validator/filled-input-validator.js.map +1 -1
  131. package/titanium/profile-picture-stack/profile-picture-stack.js +2 -2
  132. package/titanium/profile-picture-stack/profile-picture-stack.js.map +1 -1
  133. package/titanium/search-input/filled-search-input.js.map +1 -1
  134. package/titanium/show-hide/show-hide.d.ts +1 -6
  135. package/titanium/show-hide/show-hide.js +2 -18
  136. package/titanium/show-hide/show-hide.js.map +1 -1
  137. package/titanium/single-select-base/single-select-base.d.ts +11 -381
  138. package/titanium/single-select-base/single-select-base.js +43 -50
  139. package/titanium/single-select-base/single-select-base.js.map +1 -1
  140. package/titanium/smart-attachment-input/crop-and-save-image-dialog.d.ts +3 -369
  141. package/titanium/smart-attachment-input/crop-and-save-image-dialog.js +21 -16
  142. package/titanium/smart-attachment-input/crop-and-save-image-dialog.js.map +1 -1
  143. package/titanium/smart-attachment-input/image-preview-dialog.js.map +1 -1
  144. package/titanium/smart-attachment-input/smart-attachment-input.d.ts +1 -6
  145. package/titanium/smart-attachment-input/smart-attachment-input.js +5 -18
  146. package/titanium/smart-attachment-input/smart-attachment-input.js.map +1 -1
  147. package/titanium/snackbar/snackbar-stack.js +2 -2
  148. package/titanium/snackbar/snackbar-stack.js.map +1 -1
  149. package/titanium/snackbar/snackbars/http-error-snackbar.js +1 -1
  150. package/titanium/snackbar/snackbars/http-error-snackbar.js.map +1 -1
  151. package/titanium/snackbar/snackbars/simple-snackbar.js +3 -3
  152. package/titanium/snackbar/snackbars/simple-snackbar.js.map +1 -1
  153. package/titanium/toolbar/toolbar.js +1 -1
  154. package/titanium/toolbar/toolbar.js.map +1 -1
  155. package/leavitt/api-service/object-to-form-data.test.d.ts +0 -2
  156. package/leavitt/api-service/object-to-form-data.test.js +0 -229
  157. package/leavitt/api-service/object-to-form-data.test.js.map +0 -1
  158. package/leavitt/email-history-viewer/email-history-view-list-filter-dialog.d.ts +0 -394
  159. package/leavitt/email-history-viewer/email-history-view-list-filter-dialog.js +0 -233
  160. package/leavitt/email-history-viewer/email-history-view-list-filter-dialog.js.map +0 -1
  161. package/leavitt/email-history-viewer/email-history-viewer.d.ts +0 -413
  162. package/leavitt/email-history-viewer/email-history-viewer.js +0 -403
  163. package/leavitt/email-history-viewer/email-history-viewer.js.map +0 -1
  164. package/leavitt/user-feedback/user-feedback.d.ts +0 -390
  165. package/leavitt/user-feedback/user-feedback.js +0 -221
  166. package/leavitt/user-feedback/user-feedback.js.map +0 -1
  167. package/titanium/access-denied-page/access-denied-page.d.ts +0 -16
  168. package/titanium/access-denied-page/access-denied-page.js +0 -359
  169. package/titanium/access-denied-page/access-denied-page.js.map +0 -1
  170. package/titanium/card/card.d.ts +0 -24
  171. package/titanium/card/card.js +0 -188
  172. package/titanium/card/card.js.map +0 -1
  173. package/titanium/confirm-dialog/confirm-dialog-open-event.d.ts +0 -10
  174. package/titanium/confirm-dialog/confirm-dialog-open-event.js +0 -12
  175. package/titanium/confirm-dialog/confirm-dialog-open-event.js.map +0 -1
  176. package/titanium/confirm-dialog/confirm-dialog.d.ts +0 -25
  177. package/titanium/confirm-dialog/confirm-dialog.js +0 -104
  178. package/titanium/confirm-dialog/confirm-dialog.js.map +0 -1
  179. package/titanium/data-table/data-table-header.d.ts +0 -68
  180. package/titanium/data-table/data-table-header.js +0 -295
  181. package/titanium/data-table/data-table-header.js.map +0 -1
  182. package/titanium/data-table/data-table-item.d.ts +0 -99
  183. package/titanium/data-table/data-table-item.js +0 -561
  184. package/titanium/data-table/data-table-item.js.map +0 -1
  185. package/titanium/data-table/data-table.d.ts +0 -127
  186. package/titanium/data-table/data-table.js +0 -688
  187. package/titanium/data-table/data-table.js.map +0 -1
  188. package/titanium/duration-input/duration-input.d.ts +0 -31
  189. package/titanium/duration-input/duration-input.js +0 -126
  190. package/titanium/duration-input/duration-input.js.map +0 -1
  191. package/titanium/duration-input/outlined-duration-input.d.ts +0 -30
  192. package/titanium/duration-input/outlined-duration-input.js +0 -109
  193. package/titanium/duration-input/outlined-duration-input.js.map +0 -1
  194. package/titanium/error-page/error-page.d.ts +0 -16
  195. package/titanium/error-page/error-page.js +0 -95
  196. package/titanium/error-page/error-page.js.map +0 -1
  197. package/titanium/extendable-outlined-text-field/extendable-outlined-text-field.d.ts +0 -168
  198. package/titanium/extendable-outlined-text-field/extendable-outlined-text-field.js +0 -373
  199. package/titanium/extendable-outlined-text-field/extendable-outlined-text-field.js.map +0 -1
  200. package/titanium/full-page-loading-indicator/full-page-loading-indicator.d.ts +0 -17
  201. package/titanium/full-page-loading-indicator/full-page-loading-indicator.js +0 -121
  202. package/titanium/full-page-loading-indicator/full-page-loading-indicator.js.map +0 -1
  203. package/titanium/header/header.d.ts +0 -39
  204. package/titanium/header/header.js +0 -167
  205. package/titanium/header/header.js.map +0 -1
  206. package/titanium/helpers/load-while.d.ts +0 -374
  207. package/titanium/helpers/load-while.js +0 -28
  208. package/titanium/helpers/load-while.js.map +0 -1
  209. package/titanium/input-validator/input-validator.d.ts +0 -20
  210. package/titanium/input-validator/input-validator.js +0 -48
  211. package/titanium/input-validator/input-validator.js.map +0 -1
  212. package/titanium/input-validator/outlined-input-validator.d.ts +0 -20
  213. package/titanium/input-validator/outlined-input-validator.js +0 -48
  214. package/titanium/input-validator/outlined-input-validator.js.map +0 -1
  215. package/titanium/search-input/search-input.d.ts +0 -29
  216. package/titanium/search-input/search-input.js +0 -123
  217. package/titanium/search-input/search-input.js.map +0 -1
  218. package/titanium/service-worker-notifier/service-worker-notifier.d.ts +0 -9
  219. package/titanium/service-worker-notifier/service-worker-notifier.js +0 -58
  220. package/titanium/service-worker-notifier/service-worker-notifier.js.map +0 -1
  221. package/titanium/youtube-input/youtube-input.d.ts +0 -20
  222. package/titanium/youtube-input/youtube-input.js +0 -72
  223. package/titanium/youtube-input/youtube-input.js.map +0 -1
@@ -1,390 +0,0 @@
1
- import '../../titanium/header/header';
2
- import '../../titanium/card/card';
3
- import '../../titanium/smart-attachment-input/smart-attachment-input';
4
- import '@material/web/button/filled-tonal-button';
5
- import '@material/web/textfield/outlined-text-field';
6
- import '@material/web/tabs/primary-tab';
7
- import '@material/web/tabs/tabs';
8
- import { LitElement, PropertyValues } from 'lit';
9
- import { AuthZeroLgUserManager } from '../user-manager/auth-zero-lg-user-manager';
10
- declare const LeavittUserFeedback_base: {
11
- new (...args: any[]): {
12
- "__#private@#promiseCount": number;
13
- isLoading: boolean;
14
- loadWhile(promise: Promise<unknown>): Promise<void>;
15
- accessKey: string;
16
- readonly accessKeyLabel: string;
17
- autocapitalize: string;
18
- autocorrect: boolean;
19
- dir: string;
20
- draggable: boolean;
21
- hidden: boolean;
22
- inert: boolean;
23
- innerText: string;
24
- lang: string;
25
- readonly offsetHeight: number;
26
- readonly offsetLeft: number;
27
- readonly offsetParent: Element | null;
28
- readonly offsetTop: number;
29
- readonly offsetWidth: number;
30
- outerText: string;
31
- popover: string | null;
32
- spellcheck: boolean;
33
- title: string;
34
- translate: boolean;
35
- writingSuggestions: string;
36
- attachInternals(): ElementInternals;
37
- click(): void;
38
- hidePopover(): void;
39
- hidePopover(): void;
40
- showPopover(): void;
41
- showPopover(): void;
42
- togglePopover(options?: boolean): boolean;
43
- togglePopover(force: boolean): void;
44
- addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
45
- addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
46
- removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
47
- removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
48
- connectedCallback(): void;
49
- disconnectedCallback(): void;
50
- readonly attributes: NamedNodeMap;
51
- get classList(): DOMTokenList;
52
- set classList(value: string);
53
- className: string;
54
- readonly clientHeight: number;
55
- readonly clientLeft: number;
56
- readonly clientTop: number;
57
- readonly clientWidth: number;
58
- readonly currentCSSZoom: number;
59
- id: string;
60
- innerHTML: string;
61
- readonly localName: string;
62
- readonly namespaceURI: string | null;
63
- onfullscreenchange: ((this: Element, ev: Event) => any) | null;
64
- onfullscreenerror: ((this: Element, ev: Event) => any) | null;
65
- outerHTML: string;
66
- readonly ownerDocument: Document;
67
- get part(): DOMTokenList;
68
- set part(value: string);
69
- readonly prefix: string | null;
70
- readonly scrollHeight: number;
71
- scrollLeft: number;
72
- scrollTop: number;
73
- readonly scrollWidth: number;
74
- readonly shadowRoot: ShadowRoot | null;
75
- slot: string;
76
- readonly tagName: string;
77
- attachShadow(init: ShadowRootInit): ShadowRoot;
78
- checkVisibility(options?: CheckVisibilityOptions): boolean;
79
- closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
80
- closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
81
- closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
82
- closest<E extends Element = Element>(selectors: string): E | null;
83
- computedStyleMap(): StylePropertyMapReadOnly;
84
- getAttribute(qualifiedName: string): string | null;
85
- getAttributeNS(namespace: string | null, localName: string): string | null;
86
- getAttributeNames(): string[];
87
- getAttributeNode(qualifiedName: string): Attr | null;
88
- getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
89
- getBoundingClientRect(): DOMRect;
90
- getClientRects(): DOMRectList;
91
- getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
92
- getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
93
- getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
94
- getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
95
- getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
96
- getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
97
- getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
98
- getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
99
- getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
100
- getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
101
- getHTML(options?: GetHTMLOptions): string;
102
- hasAttribute(qualifiedName: string): boolean;
103
- hasAttributeNS(namespace: string | null, localName: string): boolean;
104
- hasAttributes(): boolean;
105
- hasPointerCapture(pointerId: number): boolean;
106
- insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
107
- insertAdjacentHTML(position: InsertPosition, string: string): void;
108
- insertAdjacentText(where: InsertPosition, data: string): void;
109
- matches(selectors: string): boolean;
110
- releasePointerCapture(pointerId: number): void;
111
- removeAttribute(qualifiedName: string): void;
112
- removeAttributeNS(namespace: string | null, localName: string): void;
113
- removeAttributeNode(attr: Attr): Attr;
114
- requestFullscreen(options?: FullscreenOptions): Promise<void>;
115
- requestPointerLock(options?: PointerLockOptions): Promise<void>;
116
- scroll(options?: ScrollToOptions): void;
117
- scroll(x: number, y: number): void;
118
- scrollBy(options?: ScrollToOptions): void;
119
- scrollBy(x: number, y: number): void;
120
- scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
121
- scrollTo(options?: ScrollToOptions): void;
122
- scrollTo(x: number, y: number): void;
123
- setAttribute(qualifiedName: string, value: string): void;
124
- setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
125
- setAttributeNode(attr: Attr): Attr | null;
126
- setAttributeNodeNS(attr: Attr): Attr | null;
127
- setHTMLUnsafe(html: string): void;
128
- setPointerCapture(pointerId: number): void;
129
- toggleAttribute(qualifiedName: string, force?: boolean): boolean;
130
- webkitMatchesSelector(selectors: string): boolean;
131
- get textContent(): string;
132
- set textContent(value: string | null);
133
- readonly baseURI: string;
134
- readonly childNodes: NodeListOf<ChildNode>;
135
- readonly firstChild: ChildNode | null;
136
- readonly isConnected: boolean;
137
- readonly lastChild: ChildNode | null;
138
- readonly nextSibling: ChildNode | null;
139
- readonly nodeName: string;
140
- readonly nodeType: number;
141
- nodeValue: string | null;
142
- readonly parentElement: HTMLElement | null;
143
- readonly parentNode: ParentNode | null;
144
- readonly previousSibling: ChildNode | null;
145
- appendChild<T extends Node>(node: T): T;
146
- cloneNode(subtree?: boolean): Node;
147
- compareDocumentPosition(other: Node): number;
148
- contains(other: Node | null): boolean;
149
- getRootNode(options?: GetRootNodeOptions): Node;
150
- hasChildNodes(): boolean;
151
- insertBefore<T extends Node>(node: T, child: Node | null): T;
152
- isDefaultNamespace(namespace: string | null): boolean;
153
- isEqualNode(otherNode: Node | null): boolean;
154
- isSameNode(otherNode: Node | null): boolean;
155
- lookupNamespaceURI(prefix: string | null): string | null;
156
- lookupPrefix(namespace: string | null): string | null;
157
- normalize(): void;
158
- removeChild<T extends Node>(child: T): T;
159
- replaceChild<T extends Node>(node: Node, child: T): T;
160
- readonly ELEMENT_NODE: 1;
161
- readonly ATTRIBUTE_NODE: 2;
162
- readonly TEXT_NODE: 3;
163
- readonly CDATA_SECTION_NODE: 4;
164
- readonly ENTITY_REFERENCE_NODE: 5;
165
- readonly ENTITY_NODE: 6;
166
- readonly PROCESSING_INSTRUCTION_NODE: 7;
167
- readonly COMMENT_NODE: 8;
168
- readonly DOCUMENT_NODE: 9;
169
- readonly DOCUMENT_TYPE_NODE: 10;
170
- readonly DOCUMENT_FRAGMENT_NODE: 11;
171
- readonly NOTATION_NODE: 12;
172
- readonly DOCUMENT_POSITION_DISCONNECTED: 1;
173
- readonly DOCUMENT_POSITION_PRECEDING: 2;
174
- readonly DOCUMENT_POSITION_FOLLOWING: 4;
175
- readonly DOCUMENT_POSITION_CONTAINS: 8;
176
- readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
177
- readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
178
- dispatchEvent(event: Event): boolean;
179
- ariaActiveDescendantElement: Element | null;
180
- ariaAtomic: string | null;
181
- ariaAutoComplete: string | null;
182
- ariaBrailleLabel: string | null;
183
- ariaBrailleRoleDescription: string | null;
184
- ariaBusy: string | null;
185
- ariaChecked: string | null;
186
- ariaColCount: string | null;
187
- ariaColIndex: string | null;
188
- ariaColIndexText: string | null;
189
- ariaColSpan: string | null;
190
- ariaControlsElements: ReadonlyArray<Element> | null;
191
- ariaCurrent: string | null;
192
- ariaDescribedByElements: ReadonlyArray<Element> | null;
193
- ariaDescription: string | null;
194
- ariaDetailsElements: ReadonlyArray<Element> | null;
195
- ariaDisabled: string | null;
196
- ariaErrorMessageElements: ReadonlyArray<Element> | null;
197
- ariaExpanded: string | null;
198
- ariaFlowToElements: ReadonlyArray<Element> | null;
199
- ariaHasPopup: string | null;
200
- ariaHidden: string | null;
201
- ariaInvalid: string | null;
202
- ariaKeyShortcuts: string | null;
203
- ariaLabel: string | null;
204
- ariaLabelledByElements: ReadonlyArray<Element> | null;
205
- ariaLevel: string | null;
206
- ariaLive: string | null;
207
- ariaModal: string | null;
208
- ariaMultiLine: string | null;
209
- ariaMultiSelectable: string | null;
210
- ariaOrientation: string | null;
211
- ariaOwnsElements: ReadonlyArray<Element> | null;
212
- ariaPlaceholder: string | null;
213
- ariaPosInSet: string | null;
214
- ariaPressed: string | null;
215
- ariaReadOnly: string | null;
216
- ariaRelevant: string | null;
217
- ariaRequired: string | null;
218
- ariaRoleDescription: string | null;
219
- ariaRowCount: string | null;
220
- ariaRowIndex: string | null;
221
- ariaRowIndexText: string | null;
222
- ariaRowSpan: string | null;
223
- ariaSelected: string | null;
224
- ariaSetSize: string | null;
225
- ariaSort: string | null;
226
- ariaValueMax: string | null;
227
- ariaValueMin: string | null;
228
- ariaValueNow: string | null;
229
- ariaValueText: string | null;
230
- role: string | null;
231
- animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
232
- getAnimations(options?: GetAnimationsOptions): Animation[];
233
- after(...nodes: (Node | string)[]): void;
234
- before(...nodes: (Node | string)[]): void;
235
- remove(): void;
236
- replaceWith(...nodes: (Node | string)[]): void;
237
- readonly nextElementSibling: Element | null;
238
- readonly previousElementSibling: Element | null;
239
- readonly childElementCount: number;
240
- readonly children: HTMLCollection;
241
- readonly firstElementChild: Element | null;
242
- readonly lastElementChild: Element | null;
243
- append(...nodes: (Node | string)[]): void;
244
- prepend(...nodes: (Node | string)[]): void;
245
- querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
246
- querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
247
- querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
248
- querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
249
- querySelector<E extends Element = Element>(selectors: string): E | null;
250
- querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
251
- querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
252
- querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
253
- querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
254
- querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
255
- replaceChildren(...nodes: (Node | string)[]): void;
256
- readonly assignedSlot: HTMLSlotElement | null;
257
- readonly attributeStyleMap: StylePropertyMap;
258
- get style(): CSSStyleDeclaration;
259
- set style(cssText: string);
260
- contentEditable: string;
261
- enterKeyHint: string;
262
- inputMode: string;
263
- readonly isContentEditable: boolean;
264
- onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
265
- onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
266
- onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
267
- onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
268
- onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
269
- onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
270
- onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
271
- onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
272
- onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
273
- onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
274
- oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
275
- oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
276
- oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
277
- onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
278
- onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
279
- onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
280
- oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
281
- oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
282
- oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
283
- oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
284
- oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
285
- oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
286
- ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
287
- ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
288
- ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
289
- ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
290
- ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
291
- ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
292
- ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
293
- ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
294
- ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
295
- onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
296
- onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
297
- onerror: OnErrorEventHandler;
298
- onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
299
- onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
300
- ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
301
- oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
302
- oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
303
- onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
304
- onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
305
- onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
306
- onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
307
- onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
308
- onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
309
- onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
310
- onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
311
- onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
312
- onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
313
- onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
314
- onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
315
- onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
316
- onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
317
- onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
318
- onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
319
- onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
320
- onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
321
- onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
322
- onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
323
- onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
324
- onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
325
- onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
326
- onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
327
- onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
328
- onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
329
- onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
330
- onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
331
- onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
332
- onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
333
- onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
334
- onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
335
- onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
336
- onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
337
- onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
338
- onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
339
- onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
340
- onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
341
- onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
342
- onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
343
- onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
344
- onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
345
- onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
346
- onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
347
- ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
348
- ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
349
- ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
350
- ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
351
- ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
352
- ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
353
- ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
354
- ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
355
- ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
356
- ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
357
- onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
358
- onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
359
- onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
360
- onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
361
- onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
362
- onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
363
- onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
364
- autofocus: boolean;
365
- readonly dataset: DOMStringMap;
366
- nonce?: string;
367
- tabIndex: number;
368
- blur(): void;
369
- focus(options?: FocusOptions): void;
370
- };
371
- get properties(): {
372
- isLoading: {
373
- type: BooleanConstructor;
374
- };
375
- };
376
- } & typeof LitElement;
377
- export declare class LeavittUserFeedback extends LeavittUserFeedback_base {
378
- #private;
379
- accessor userManager: AuthZeroLgUserManager;
380
- accessor isActive: boolean;
381
- private accessor activeIndex;
382
- private accessor textArea;
383
- private accessor imageInput;
384
- updated(changedProps: PropertyValues<this>): Promise<void>;
385
- reset(): void;
386
- static styles: import("lit").CSSResult[];
387
- render(): import("lit-html").TemplateResult<1>;
388
- }
389
- export {};
390
- //# sourceMappingURL=user-feedback.d.ts.map
@@ -1,221 +0,0 @@
1
- import { __decorate } from "tslib";
2
- import '../../titanium/header/header';
3
- import '../../titanium/card/card';
4
- import '../../titanium/smart-attachment-input/smart-attachment-input';
5
- import '@material/web/button/filled-tonal-button';
6
- import '@material/web/textfield/outlined-text-field';
7
- import '@material/web/tabs/primary-tab';
8
- import '@material/web/tabs/tabs';
9
- import { LitElement, css, html } from 'lit';
10
- import { customElement, property, query, state } from 'lit/decorators.js';
11
- import { LoadWhile, isDevelopment } from '../../titanium/helpers/helpers';
12
- import { PendingStateEvent } from '../../titanium/types/pending-state-event';
13
- import { h1, p } from '../../titanium/styles/styles';
14
- import ApiService from '../api-service//api-service';
15
- import { ShowSnackbarEvent } from '../../titanium/snackbar/show-snackbar-event';
16
- let LeavittUserFeedback = class LeavittUserFeedback extends LoadWhile(LitElement) {
17
- #userManager_accessor_storage;
18
- get userManager() { return this.#userManager_accessor_storage; }
19
- set userManager(value) { this.#userManager_accessor_storage = value; }
20
- #isActive_accessor_storage = false;
21
- get isActive() { return this.#isActive_accessor_storage; }
22
- set isActive(value) { this.#isActive_accessor_storage = value; }
23
- #activeIndex_accessor_storage = 0;
24
- get activeIndex() { return this.#activeIndex_accessor_storage; }
25
- set activeIndex(value) { this.#activeIndex_accessor_storage = value; }
26
- #textArea_accessor_storage;
27
- get textArea() { return this.#textArea_accessor_storage; }
28
- set textArea(value) { this.#textArea_accessor_storage = value; }
29
- #imageInput_accessor_storage;
30
- get imageInput() { return this.#imageInput_accessor_storage; }
31
- set imageInput(value) { this.#imageInput_accessor_storage = value; }
32
- async updated(changedProps) {
33
- if (changedProps.has('isActive') && this.isActive) {
34
- this.reset();
35
- }
36
- }
37
- reset() {
38
- this.imageInput?.reset();
39
- this.textArea?.reset();
40
- }
41
- async #submitProblem() {
42
- if (!this.textArea.reportValidity() || this.isLoading) {
43
- return;
44
- }
45
- const dto = {
46
- SiteName: location.hostname,
47
- PathName: window.location.pathname + window.location.search,
48
- IssueType: 'Bug',
49
- Description: this.textArea.value,
50
- Attachments: (this.imageInput?.getFiles() ?? []).map((o) => o.file),
51
- };
52
- try {
53
- const apiService = new ApiService(this.userManager);
54
- apiService.baseUrl = isDevelopment ? 'https://devapi3.leavitt.com/' : 'https://api3.leavitt.com/';
55
- apiService.addHeader('X-LGAppName', 'IssueTracking');
56
- const post = apiService.postAsync('Issues/ReportIssue', dto, { sendAsFormData: true });
57
- this.dispatchEvent(new PendingStateEvent(post));
58
- this.loadWhile(post);
59
- const entity = (await post).entity;
60
- if (!entity) {
61
- throw new Error('Error submitting problem. Please try again.');
62
- }
63
- else {
64
- this.dispatchEvent(new ShowSnackbarEvent('', {
65
- overrideTemplate: html `Thank you for bringing this issue to our attention!<br />
66
- <br />
67
- Our engineering teams will promptly investigate and address it.`,
68
- }));
69
- this.reset();
70
- }
71
- }
72
- catch (error) {
73
- this.dispatchEvent(new ShowSnackbarEvent(error));
74
- }
75
- }
76
- async #submitFeedback() {
77
- if (!this.textArea.reportValidity() || this.isLoading) {
78
- return;
79
- }
80
- const dto = {
81
- SiteName: location.hostname,
82
- PathName: window.location.pathname + window.location.search,
83
- IssueType: 'Feedback',
84
- Description: this.textArea.value,
85
- Attachments: [],
86
- };
87
- try {
88
- const apiService = new ApiService(this.userManager);
89
- apiService.baseUrl = isDevelopment ? 'https://devapi3.leavitt.com/' : 'https://api3.leavitt.com/';
90
- apiService.addHeader('X-LGAppName', 'IssueTracking');
91
- const post = apiService.postAsync('Issues/ReportIssue', dto, { sendAsFormData: true });
92
- this.dispatchEvent(new PendingStateEvent(post));
93
- this.loadWhile(post);
94
- const entity = (await post).entity;
95
- if (!entity) {
96
- throw new Error('Error submitting feedback. Please try again.');
97
- }
98
- else {
99
- this.dispatchEvent(new ShowSnackbarEvent('We appreciate your input, and we will promptly conduct a review!'));
100
- this.reset();
101
- }
102
- }
103
- catch (error) {
104
- this.dispatchEvent(new ShowSnackbarEvent(error));
105
- }
106
- }
107
- static { this.styles = [
108
- h1,
109
- p,
110
- css `
111
- :host {
112
- display: grid;
113
- grid-template-columns: minmax(0, 1fr);
114
- gap: 24px;
115
- }
116
-
117
- form {
118
- display: flex;
119
- flex-direction: column;
120
- gap: 24px;
121
- margin: 24px 0;
122
- }
123
-
124
- titanium-card {
125
- padding-top: 0;
126
- }
127
-
128
- md-tabs {
129
- margin-bottom: 16px;
130
- --md-primary-tab-container-shape: 12px;
131
- }
132
-
133
- md-outlined-text-field {
134
- resize: none;
135
- }
136
-
137
- [hidden] {
138
- display: none !important;
139
- }
140
- `,
141
- ]; }
142
- render() {
143
- return html `
144
- <titanium-header header="Report a problem" subHeader="Report bugs and provide feedback for this site" no-nav></titanium-header>
145
-
146
- <titanium-card>
147
- <md-tabs
148
- full-width
149
- @change=${(event) => {
150
- this.reset();
151
- this.activeIndex = event.target.activeTabIndex;
152
- }}
153
- >
154
- <md-primary-tab
155
- >Report a problem
156
- <md-icon slot="icon">person_alert</md-icon>
157
- </md-primary-tab>
158
- <md-primary-tab
159
- >Provide feedback
160
- <md-icon slot="icon">rate_review</md-icon>
161
- </md-primary-tab>
162
- </md-tabs>
163
-
164
- <main>
165
- ${this.activeIndex === 0
166
- ? html ` <form>
167
- <p full-width>
168
- Please be specific and provide screenshots of the issue if possible in your report. Your report goes directly to our engineering teams so it
169
- can be addressed as soon as possible.
170
- </p>
171
- <md-outlined-text-field type="textarea" problem label="Describe the issue" rows="5" required outlined></md-outlined-text-field>
172
- <titanium-smart-attachment-input
173
- multiple
174
- full-width
175
- label="Supporting files"
176
- noItemsText="No files"
177
- addButtonLabel="Add file"
178
- ></titanium-smart-attachment-input>
179
- </form>`
180
- : html ` <form>
181
- <p full-width>
182
- User feedback is a valuable tool that empowers our users to share their thoughts, suggestions, and concerns, helping us improve the overall
183
- user experience of our websites and tools. We welcome and appreciate user feedback as it enables us to make informed decisions and enhance our
184
- website based on the needs and expectations of our users.
185
- </p>
186
- <p full-width>
187
- 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
188
- carefully reviewed and planned into the next development cycle.
189
- </p>
190
- <md-outlined-text-field type="textarea" feedback label="Feedback" rows="5" required outlined></md-outlined-text-field>
191
- </form>`}
192
- </main>
193
- <span nav card-footer>
194
- <md-filled-tonal-button @click=${() => (this.activeIndex === 0 ? this.#submitProblem() : this.#submitFeedback())} ?disabled=${this.isLoading}
195
- >Submit</md-filled-tonal-button
196
- >
197
- </span>
198
- </titanium-card>
199
- `;
200
- }
201
- };
202
- __decorate([
203
- property({ type: Object })
204
- ], LeavittUserFeedback.prototype, "userManager", null);
205
- __decorate([
206
- property({ type: Boolean })
207
- ], LeavittUserFeedback.prototype, "isActive", null);
208
- __decorate([
209
- state()
210
- ], LeavittUserFeedback.prototype, "activeIndex", null);
211
- __decorate([
212
- query('md-outlined-text-field')
213
- ], LeavittUserFeedback.prototype, "textArea", null);
214
- __decorate([
215
- query('titanium-smart-attachment-input')
216
- ], LeavittUserFeedback.prototype, "imageInput", null);
217
- LeavittUserFeedback = __decorate([
218
- customElement('leavitt-user-feedback')
219
- ], LeavittUserFeedback);
220
- export { LeavittUserFeedback };
221
- //# sourceMappingURL=user-feedback.js.map
@@ -1 +0,0 @@
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,6C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AA0C;AAEA;IAAjD,KAAK,CAAC,wBAAwB,CAAC;mDAAgD;AACrB;IAA1D,KAAK,CAAC,iCAAiC,CAAC;qDAAkE;AAPhG,mBAAmB;IAD/B,aAAa,CAAC,uBAAuB,CAAC;GAC1B,mBAAmB,CA2L/B"}
@@ -1,16 +0,0 @@
1
- import { LitElement } from 'lit';
2
- /**
3
- * A pre-styled access denied page
4
- *
5
- * @element titanium-access-denied-page
6
- *
7
- */
8
- export declare class TitaniumAccessDeniedPage extends LitElement {
9
- /**
10
- * Reason text for the denial of access
11
- */
12
- accessor message: string;
13
- static styles: import("lit").CSSResult;
14
- render(): import("lit-html").TemplateResult<1>;
15
- }
16
- //# sourceMappingURL=access-denied-page.d.ts.map