@covalent/components 4.16.0-beta.1 → 6.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 (205) hide show
  1. package/action-ribbon.mjs +148 -0
  2. package/alert.mjs +140 -0
  3. package/app-shell.mjs +94 -0
  4. package/button.mjs +20 -0
  5. package/card.mjs +70 -0
  6. package/check-list-item.mjs +18 -0
  7. package/checkbox.mjs +20 -0
  8. package/circular-progress.mjs +17 -0
  9. package/code-snippet.mjs +12142 -0
  10. package/covalent.mjs +44 -0
  11. package/covalent.umd.js +299 -0
  12. package/dialog.mjs +20 -0
  13. package/drawer.mjs +20 -0
  14. package/empty-state.mjs +66 -0
  15. package/icon-button.mjs +20 -0
  16. package/icon-check-toggle.mjs +71 -0
  17. package/icon-radio-toggle.mjs +62 -0
  18. package/icon.mjs +17 -0
  19. package/linear-progress.mjs +20 -0
  20. package/list-expansion.mjs +55 -0
  21. package/list-item.mjs +49 -0
  22. package/list.mjs +17 -0
  23. package/menu.mjs +17 -0
  24. package/nav-list-item.mjs +41 -0
  25. package/package.json +1 -1
  26. package/radio-list-item.mjs +18 -0
  27. package/radio.mjs +20 -0
  28. package/select.mjs +20 -0
  29. package/side-sheet.mjs +35 -0
  30. package/slider-range.mjs +17 -0
  31. package/slider.mjs +17 -0
  32. package/snackbar.mjs +20 -0
  33. package/status-header-item.mjs +28 -0
  34. package/status-header.mjs +74 -0
  35. package/switch.mjs +20 -0
  36. package/tab-bar.mjs +17 -0
  37. package/tab.mjs +20 -0
  38. package/text-lockup.mjs +53 -0
  39. package/textarea.mjs +20 -0
  40. package/textfield.mjs +24 -0
  41. package/textfield2.mjs +5 -0
  42. package/toolbar.mjs +23 -0
  43. package/tooltip.mjs +189 -0
  44. package/top-app-bar-fixed.mjs +24 -0
  45. package/top-app-bar.mjs +24 -0
  46. package/top-app-bar2.mjs +5 -0
  47. package/tree-list-item.mjs +82 -0
  48. package/tree-list.mjs +43 -0
  49. package/typography.mjs +31 -0
  50. package/actionRibbon.js +0 -16
  51. package/actionRibbon.js.LICENSE.txt +0 -75
  52. package/alert.js +0 -19
  53. package/alert.js.LICENSE.txt +0 -75
  54. package/appShell.js +0 -96
  55. package/appShell.js.LICENSE.txt +0 -93
  56. package/button.js +0 -38
  57. package/button.js.LICENSE.txt +0 -53
  58. package/card.js +0 -17
  59. package/card.js.LICENSE.txt +0 -23
  60. package/checkbox.js +0 -40
  61. package/checkbox.js.LICENSE.txt +0 -53
  62. package/circularProgress.js +0 -58
  63. package/circularProgress.js.LICENSE.txt +0 -41
  64. package/codeSnippet.js +0 -8
  65. package/codeSnippet.js.LICENSE.txt +0 -23
  66. package/dialog.js +0 -28
  67. package/dialog.js.LICENSE.txt +0 -104
  68. package/drawer.js +0 -18
  69. package/drawer.js.LICENSE.txt +0 -52
  70. package/emptyState.js +0 -25
  71. package/emptyState.js.LICENSE.txt +0 -29
  72. package/formField.js +0 -7
  73. package/formField.js.LICENSE.txt +0 -46
  74. package/icon.js +0 -2
  75. package/icon.js.LICENSE.txt +0 -29
  76. package/iconButton.js +0 -26
  77. package/iconButton.js.LICENSE.txt +0 -47
  78. package/iconCheckbox.js +0 -51
  79. package/iconCheckbox.js.LICENSE.txt +0 -53
  80. package/iconRadio.js +0 -43
  81. package/iconRadio.js.LICENSE.txt +0 -47
  82. package/icons/covalent-icons.css +0 -365
  83. package/icons/covalent-icons.eot +0 -0
  84. package/icons/covalent-icons.svg +0 -224
  85. package/icons/covalent-icons.ttf +0 -0
  86. package/icons/covalent-icons.woff +0 -0
  87. package/icons/favicon.ico +0 -0
  88. package/index.js +0 -993
  89. package/index.js.LICENSE.txt +0 -191
  90. package/linearProgress.js +0 -28
  91. package/linearProgress.js.LICENSE.txt +0 -41
  92. package/list.js +0 -44
  93. package/list.js.LICENSE.txt +0 -41
  94. package/listCheckItem.js +0 -77
  95. package/listCheckItem.js.LICENSE.txt +0 -53
  96. package/listExpansion.js +0 -47
  97. package/listExpansion.js.LICENSE.txt +0 -41
  98. package/listItem.js +0 -27
  99. package/listItem.js.LICENSE.txt +0 -41
  100. package/listNavItem.js +0 -27
  101. package/listNavItem.js.LICENSE.txt +0 -41
  102. package/listRadioItem.js +0 -70
  103. package/listRadioItem.js.LICENSE.txt +0 -47
  104. package/menu.js +0 -83
  105. package/menu.js.LICENSE.txt +0 -87
  106. package/radio.js +0 -33
  107. package/radio.js.LICENSE.txt +0 -47
  108. package/select.js +0 -176
  109. package/select.js.LICENSE.txt +0 -93
  110. package/sideSheet.js +0 -28
  111. package/sideSheet.js.LICENSE.txt +0 -104
  112. package/slider.js +0 -63
  113. package/slider.js.LICENSE.txt +0 -93
  114. package/sliderRange.js +0 -113
  115. package/sliderRange.js.LICENSE.txt +0 -93
  116. package/snackBar.js +0 -12
  117. package/snackBar.js.LICENSE.txt +0 -47
  118. package/src/action-ribbon/action-ribbon-base.d.ts +0 -28
  119. package/src/action-ribbon/action-ribbon.d.ts +0 -14
  120. package/src/alert/alert-base.d.ts +0 -29
  121. package/src/alert/alert.d.ts +0 -14
  122. package/src/app-shell/app-shell.d.ts +0 -27
  123. package/src/button/button.d.ts +0 -9
  124. package/src/card/card-base.d.ts +0 -24
  125. package/src/card/card.d.ts +0 -9
  126. package/src/checkbox/checkbox.d.ts +0 -9
  127. package/src/chips/chip-base.d.ts +0 -51
  128. package/src/chips/chip-set-base.d.ts +0 -32
  129. package/src/chips/chip-set.d.ts +0 -14
  130. package/src/chips/chip.d.ts +0 -14
  131. package/src/chips/foundation.d.ts +0 -59
  132. package/src/circular-progress/circular-progress.d.ts +0 -9
  133. package/src/code-snippet/code-snippet.d.ts +0 -20
  134. package/src/dialog/dialog.d.ts +0 -9
  135. package/src/drawer/drawer.d.ts +0 -9
  136. package/src/empty-state/empty-state.d.ts +0 -15
  137. package/src/formfield/formfield.d.ts +0 -9
  138. package/src/icon/icon.d.ts +0 -9
  139. package/src/icon-button/icon-button.d.ts +0 -9
  140. package/src/icon-checkbox/icon-check-toggle.d.ts +0 -14
  141. package/src/icon-radio/icon-radio-toggle.d.ts +0 -13
  142. package/src/index.d.ts +0 -44
  143. package/src/linear-progress/linear-progress.d.ts +0 -9
  144. package/src/list/check-list-item.d.ts +0 -9
  145. package/src/list/list-expansion.d.ts +0 -17
  146. package/src/list/list-item.d.ts +0 -11
  147. package/src/list/list.d.ts +0 -9
  148. package/src/list/nav-list-item.d.ts +0 -11
  149. package/src/list/radio-list-item.d.ts +0 -9
  150. package/src/menu/menu.d.ts +0 -9
  151. package/src/radio/radio.d.ts +0 -9
  152. package/src/select/select.d.ts +0 -9
  153. package/src/side-sheet/side-sheet.d.ts +0 -17
  154. package/src/slider/slider-range.d.ts +0 -9
  155. package/src/slider/slider.d.ts +0 -9
  156. package/src/snackbar/snackbar.d.ts +0 -9
  157. package/src/status-header/status-header-base.d.ts +0 -8
  158. package/src/status-header/status-header-item.d.ts +0 -16
  159. package/src/status-header/status-header.d.ts +0 -14
  160. package/src/switch/switch.d.ts +0 -9
  161. package/src/tab/tab-bar.d.ts +0 -9
  162. package/src/tab/tab.d.ts +0 -9
  163. package/src/text-lockup/text-lockup.d.ts +0 -16
  164. package/src/textarea/textarea.d.ts +0 -9
  165. package/src/textfield/textfield.d.ts +0 -9
  166. package/src/toolbar/toolbar.d.ts +0 -9
  167. package/src/tooltip/tooltip.d.ts +0 -26
  168. package/src/tooltip/tooltip.foundation.d.ts +0 -211
  169. package/src/top-app-bar/top-app-bar-fixed.d.ts +0 -9
  170. package/src/top-app-bar/top-app-bar.d.ts +0 -9
  171. package/src/tree-list/tree-list-item.d.ts +0 -15
  172. package/src/tree-list/tree-list.d.ts +0 -10
  173. package/src/typography/typography.d.ts +0 -11
  174. package/statusHeader.js +0 -22
  175. package/statusHeader.js.LICENSE.txt +0 -23
  176. package/statusHeaderItem.js +0 -2
  177. package/statusHeaderItem.js.LICENSE.txt +0 -17
  178. package/switch.js +0 -63
  179. package/switch.js.LICENSE.txt +0 -70
  180. package/tab.js +0 -35
  181. package/tab.js.LICENSE.txt +0 -41
  182. package/tabBar.js +0 -53
  183. package/tabBar.js.LICENSE.txt +0 -41
  184. package/textArea.js +0 -96
  185. package/textArea.js.LICENSE.txt +0 -47
  186. package/textField.js +0 -69
  187. package/textField.js.LICENSE.txt +0 -47
  188. package/textLockup.js +0 -5
  189. package/textLockup.js.LICENSE.txt +0 -23
  190. package/theme.css +0 -1
  191. package/theme.js +0 -1
  192. package/toolbar.js +0 -19
  193. package/toolbar.js.LICENSE.txt +0 -58
  194. package/tooltip.js +0 -19
  195. package/tooltip.js.LICENSE.txt +0 -63
  196. package/topAppBar.js +0 -19
  197. package/topAppBar.js.LICENSE.txt +0 -64
  198. package/topAppBarFixed.js +0 -19
  199. package/topAppBarFixed.js.LICENSE.txt +0 -64
  200. package/treeList.js +0 -8
  201. package/treeList.js.LICENSE.txt +0 -17
  202. package/treeListItem.js +0 -24
  203. package/treeListItem.js.LICENSE.txt +0 -23
  204. package/typography.js +0 -2
  205. package/typography.js.LICENSE.txt +0 -17
@@ -1,17 +0,0 @@
1
- import { CovalentDialogBase } from '../dialog/dialog';
2
- declare global {
3
- interface HTMLElementTagNameMap {
4
- 'td-side-sheet': CovalentSideSheet;
5
- }
6
- }
7
- /**
8
- * Side sheet element.
9
- *
10
- * @slot - This element has a slot
11
- */
12
- export declare class CovalentSideSheet extends CovalentDialogBase {
13
- static styles: import("lit").CSSResult[];
14
- pushed: boolean;
15
- noPadding: boolean;
16
- constructor();
17
- }
@@ -1,9 +0,0 @@
1
- import { SliderRangeBase } from '@material/mwc-slider/slider-range-base';
2
- declare global {
3
- interface HTMLElementTagNameMap {
4
- 'td-slider-range': CovalentSliderRangeBase;
5
- }
6
- }
7
- export declare class CovalentSliderRangeBase extends SliderRangeBase {
8
- static styles: import("lit").CSSResult[];
9
- }
@@ -1,9 +0,0 @@
1
- import { SliderSingleBase } from '@material/mwc-slider/slider-single-base';
2
- declare global {
3
- interface HTMLElementTagNameMap {
4
- 'td-slider': CovalentSliderBase;
5
- }
6
- }
7
- export declare class CovalentSliderBase extends SliderSingleBase {
8
- static styles: import("lit").CSSResult[];
9
- }
@@ -1,9 +0,0 @@
1
- import { SnackbarBase } from '@material/mwc-snackbar/mwc-snackbar-base';
2
- declare global {
3
- interface HTMLElementTagNameMap {
4
- 'td-snackbar': CovalentSnackbarBase;
5
- }
6
- }
7
- export declare class CovalentSnackbarBase extends SnackbarBase {
8
- static styles: import("lit").CSSResult[];
9
- }
@@ -1,8 +0,0 @@
1
- import { LitElement } from 'lit';
2
- export declare class StatusHeaderBase extends LitElement {
3
- state: 'active' | 'positive' | 'caution' | 'error' | 'neutral';
4
- statusText: string;
5
- statusHelper: string;
6
- titleText: string;
7
- protected render(): import("lit-html").TemplateResult<1>;
8
- }
@@ -1,16 +0,0 @@
1
- import { LitElement } from 'lit';
2
- declare global {
3
- interface HTMLElementTagNameMap {
4
- 'td-status-header-item': CovalentStatusHeaderItem;
5
- }
6
- }
7
- /**
8
- * Status header item
9
- *
10
- * @slot - This element has a slot
11
- */
12
- export declare class CovalentStatusHeaderItem extends LitElement {
13
- static styles: import("lit").CSSResult[];
14
- label: string;
15
- render(): import("lit-html").TemplateResult<1>;
16
- }
@@ -1,14 +0,0 @@
1
- import { StatusHeaderBase } from './status-header-base';
2
- /**
3
- * Status header
4
- *
5
- * @slot - This element has a slot
6
- */
7
- export declare class CovalentStatusHeader extends StatusHeaderBase {
8
- static styles: import("lit").CSSResult[];
9
- }
10
- declare global {
11
- interface HTMLElementTagNameMap {
12
- 'td-status-header': CovalentStatusHeader;
13
- }
14
- }
@@ -1,9 +0,0 @@
1
- import { SwitchBase } from '@material/mwc-switch/mwc-switch-base';
2
- declare global {
3
- interface HTMLElementTagNameMap {
4
- 'td-switch': CovalentSwitchBase;
5
- }
6
- }
7
- export declare class CovalentSwitchBase extends SwitchBase {
8
- static styles: import("lit").CSSResult[];
9
- }
@@ -1,9 +0,0 @@
1
- import { TabBarBase } from '@material/mwc-tab-bar/mwc-tab-bar-base';
2
- declare global {
3
- interface HTMLElementTagNameMap {
4
- 'td-tab-bar': CovalentTabBarBase;
5
- }
6
- }
7
- export declare class CovalentTabBarBase extends TabBarBase {
8
- static styles: import("lit").CSSResult[];
9
- }
package/src/tab/tab.d.ts DELETED
@@ -1,9 +0,0 @@
1
- import { TabBase } from '@material/mwc-tab/mwc-tab-base';
2
- declare global {
3
- interface HTMLElementTagNameMap {
4
- 'td-tab': CovalentTabBase;
5
- }
6
- }
7
- export declare class CovalentTabBase extends TabBase {
8
- static styles: import("lit").CSSResult[];
9
- }
@@ -1,16 +0,0 @@
1
- import { LitElement, nothing } from 'lit';
2
- declare global {
3
- interface HTMLElementTagNameMap {
4
- 'td-text-lockup': CovalentTextLockup;
5
- }
6
- }
7
- export declare class CovalentTextLockup extends LitElement {
8
- static styles: import("lit").CSSResult[];
9
- subText: string;
10
- icon?: string;
11
- state?: 'active' | 'positive' | 'negative' | 'caution';
12
- scale: 'large' | 'small';
13
- trailingSubText: boolean;
14
- render(): import("lit-html").TemplateResult<1>;
15
- renderIcon(): import("lit-html").TemplateResult<1> | typeof nothing;
16
- }
@@ -1,9 +0,0 @@
1
- import { TextAreaBase } from '@material/mwc-textarea/mwc-textarea-base';
2
- declare global {
3
- interface HTMLElementTagNameMap {
4
- 'td-textarea': CovalentTextAreaBase;
5
- }
6
- }
7
- export declare class CovalentTextAreaBase extends TextAreaBase {
8
- static styles: import("lit").CSSResult[];
9
- }
@@ -1,9 +0,0 @@
1
- import { TextFieldBase } from '@material/mwc-textfield/mwc-textfield-base';
2
- declare global {
3
- interface HTMLElementTagNameMap {
4
- 'td-textfield': CovalentTextFieldBase;
5
- }
6
- }
7
- export declare class CovalentTextFieldBase extends TextFieldBase {
8
- static styles: import("lit").CSSResult[];
9
- }
@@ -1,9 +0,0 @@
1
- import { TopAppBarBase } from '@material/mwc-top-app-bar/mwc-top-app-bar-base';
2
- declare global {
3
- interface HTMLElementTagNameMap {
4
- 'td-toolbar': CovalentToolbarBase;
5
- }
6
- }
7
- export declare class CovalentToolbarBase extends TopAppBarBase {
8
- static styles: import("lit").CSSResult[];
9
- }
@@ -1,26 +0,0 @@
1
- import { MDCTooltipAdapter } from '@material/tooltip';
2
- import { LitElement, PropertyValues } from 'lit';
3
- import { MDCTooltipFoundation } from './tooltip.foundation';
4
- declare global {
5
- interface HTMLElementTagNameMap {
6
- 'td-tooltip': CovalentTooltipBase;
7
- }
8
- }
9
- export declare class CovalentTooltipBase extends LitElement {
10
- protected mdcFoundation: MDCTooltipFoundation;
11
- protected readonly mdcFoundationClass: typeof MDCTooltipFoundation;
12
- static styles: import("lit").CSSResult[];
13
- protected mdcRoot: HTMLElement;
14
- protected mdcSurface: HTMLElement;
15
- anchor?: HTMLElement;
16
- richTitle?: string;
17
- rich?: boolean;
18
- persistent?: HTMLElement;
19
- showDelay?: number;
20
- hideDelay?: number;
21
- protected createAdapter(): MDCTooltipAdapter;
22
- protected updated(changedProps: PropertyValues): void;
23
- protected firstUpdated(): Promise<void>;
24
- disconnectedCallback(): void;
25
- render(): import("lit-html").TemplateResult<1>;
26
- }
@@ -1,211 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2020 Google Inc.
4
- *
5
- * Permission is hereby granted, free of charge, to any person obtaining a copy
6
- * of this software and associated documentation files (the "Software"), to deal
7
- * in the Software without restriction, including without limitation the rights
8
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- * copies of the Software, and to permit persons to whom the Software is
10
- * furnished to do so, subject to the following conditions:
11
- *
12
- * The above copyright notice and this permission notice shall be included in
13
- * all copies or substantial portions of the Software.
14
- *
15
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
- * THE SOFTWARE.
22
- */
23
- import { MDCFoundation } from '@material/base/foundation';
24
- import { EventType, SpecificEventListener } from '@material/base/types';
25
- import { MDCTooltipAdapter } from '@material/tooltip';
26
- import { AnchorBoundaryType, PositionWithCaret, XPosition, YPosition } from '@material/tooltip';
27
- export declare class MDCTooltipFoundation extends MDCFoundation<MDCTooltipAdapter> {
28
- static get defaultAdapter(): MDCTooltipAdapter;
29
- private interactiveTooltip;
30
- private richTooltip;
31
- private persistentTooltip;
32
- private hasCaret;
33
- private tooltipShown;
34
- private anchorGap;
35
- private xTooltipPos;
36
- private yTooltipPos;
37
- private tooltipPositionWithCaret;
38
- private readonly minViewportTooltipThreshold;
39
- private hideDelayMs;
40
- private showDelayMs;
41
- private anchorRect;
42
- private parentRect;
43
- private frameId;
44
- private hideTimeout;
45
- private showTimeout;
46
- private readonly animFrame;
47
- private readonly anchorBlurHandler;
48
- private readonly documentClickHandler;
49
- private readonly documentKeydownHandler;
50
- private readonly tooltipMouseEnterHandler;
51
- private readonly tooltipMouseLeaveHandler;
52
- private readonly richTooltipFocusOutHandler;
53
- private readonly windowScrollHandler;
54
- private readonly windowResizeHandler;
55
- private readonly addAncestorScrollEventListeners;
56
- private readonly removeAncestorScrollEventListeners;
57
- constructor(adapter?: Partial<MDCTooltipAdapter>);
58
- init(): void;
59
- isShown(): boolean;
60
- isRich(): boolean;
61
- isPersistent(): boolean;
62
- handleAnchorMouseEnter(): void;
63
- handleAnchorTouchstart(): void;
64
- private preventContextMenuOnLongTouch;
65
- handleAnchorTouchend(): void;
66
- handleAnchorFocus(evt: FocusEvent): void;
67
- handleAnchorMouseLeave(): void;
68
- handleAnchorClick(): void;
69
- handleDocumentClick(evt: MouseEvent): void;
70
- handleKeydown(evt: KeyboardEvent): void;
71
- private handleAnchorBlur;
72
- private handleTooltipMouseEnter;
73
- private handleTooltipMouseLeave;
74
- private handleRichTooltipFocusOut;
75
- private handleWindowScrollEvent;
76
- /**
77
- * On window resize or scroll, check the anchor position and size and
78
- * repostion tooltip if necessary.
79
- */
80
- private handleWindowChangeEvent;
81
- show(): void;
82
- hide(): void;
83
- handleTransitionEnd(): void;
84
- private clearAllAnimationClasses;
85
- setTooltipPosition(position: {
86
- xPos?: XPosition;
87
- yPos?: YPosition;
88
- withCaretPos?: PositionWithCaret;
89
- }): void;
90
- setAnchorBoundaryType(type: AnchorBoundaryType): void;
91
- setShowDelay(delayMs: number): void;
92
- setHideDelay(delayMs: number): void;
93
- private isTooltipMultiline;
94
- private positionPlainTooltip;
95
- private positionRichTooltip;
96
- /**
97
- * Calculates the position of the tooltip. A tooltip will be placed beneath
98
- * the anchor element and aligned either with the 'start'/'end' edge of the
99
- * anchor element or the 'center'.
100
- *
101
- * Tooltip alignment is selected such that the tooltip maintains a threshold
102
- * distance away from the viewport (defaulting to 'center' alignment). If the
103
- * placement of the anchor prevents this threshold distance from being
104
- * maintained, the tooltip is positioned so that it does not collide with the
105
- * viewport.
106
- *
107
- * Users can specify an alignment, however, if this alignment results in the
108
- * tooltip colliding with the viewport, this specification is overwritten.
109
- */
110
- private calculateTooltipStyles;
111
- /**
112
- * Calculates the `left` distance for the tooltip.
113
- * Returns the distance value and a string indicating the x-axis transform-
114
- * origin that should be used when animating the tooltip.
115
- */
116
- private calculateXTooltipDistance;
117
- /**
118
- * Given the values for the horizontal alignments of the tooltip, calculates
119
- * which of these options would result in the tooltip maintaining the required
120
- * threshold distance vs which would result in the tooltip staying within the
121
- * viewport.
122
- *
123
- * A Set of values is returned holding the distances that would honor the
124
- * above requirements. Following the logic for determining the tooltip
125
- * position, if all alignments violate the threshold, then the returned Set
126
- * contains values that keep the tooltip within the viewport.
127
- */
128
- private determineValidPositionOptions;
129
- private positionHonorsViewportThreshold;
130
- private positionDoesntCollideWithViewport;
131
- /**
132
- * Calculates the `top` distance for the tooltip.
133
- * Returns the distance value and a string indicating the y-axis transform-
134
- * origin that should be used when animating the tooltip.
135
- */
136
- private calculateYTooltipDistance;
137
- /**
138
- * Given the values for above/below alignment of the tooltip, calculates
139
- * which of these options would result in the tooltip maintaining the required
140
- * threshold distance vs which would result in the tooltip staying within the
141
- * viewport.
142
- *
143
- * A Set of values is returned holding the distances that would honor the
144
- * above requirements. Following the logic for determining the tooltip
145
- * position, if all possible alignments violate the threshold, then the
146
- * returned Set contains values that keep the tooltip within the viewport.
147
- */
148
- private determineValidYPositionOptions;
149
- private yPositionHonorsViewportThreshold;
150
- private yPositionDoesntCollideWithViewport;
151
- private calculateTooltipWithCaretStyles;
152
- private calculateXWithCaretDistanceOptions;
153
- private calculateYWithCaretDistanceOptions;
154
- private repositionTooltipOnAnchorMove;
155
- /**
156
- * Given a list of x/y position options for a rich tooltip with caret, checks
157
- * if valid x/y combinations of these position options are either within the
158
- * viewport threshold, or simply within the viewport. Returns a map with the
159
- * valid x/y position combinations that all either honor the viewport
160
- * threshold or are simply inside within the viewport.
161
- */
162
- private validateTooltipWithCaretDistances;
163
- /**
164
- * Method for generating a horizontal and vertical position for the tooltip if
165
- * all other calculated values are considered invalid. This would only happen
166
- * in situations of very small viewports/large tooltips.
167
- */
168
- private generateBackupPositionOption;
169
- /**
170
- * Given a list of valid position options for a rich tooltip with caret,
171
- * returns the option that should be used.
172
- */
173
- private determineTooltipWithCaretDistance;
174
- /**
175
- * Returns the corresponding PositionWithCaret enum for the proivded
176
- * XPositionWithCaret and YPositionWithCaret enums. This mapping exists so our
177
- * public API accepts only PositionWithCaret enums (as all combinations of
178
- * XPositionWithCaret and YPositionWithCaret are not valid), but internally we
179
- * can calculate the X and Y positions of a rich tooltip with caret
180
- * separately.
181
- */
182
- private caretPositionOptionsMapping;
183
- /**
184
- * Given a PositionWithCaret, applies the correct styles to the caret element
185
- * so that it is positioned properly on the rich tooltip.
186
- * Returns the x and y positions of the caret, to be used as the
187
- * transform-origin on the tooltip itself for entrance animations.
188
- */
189
- private setCaretPositionStyles;
190
- /**
191
- * Given a PositionWithCaret, determines the correct styles to position the
192
- * caret properly on the rich tooltip.
193
- */
194
- private calculateCaretPositionOnTooltip;
195
- private clearShowTimeout;
196
- private clearHideTimeout;
197
- /**
198
- * Method that allows user to specify additional elements that should have a
199
- * scroll event listener attached to it. This should be used in instances
200
- * where the anchor element is placed inside a scrollable container, and will
201
- * ensure that the tooltip will stay attached to the anchor on scroll.
202
- */
203
- attachScrollHandler(addEventListenerFn: <K extends EventType>(event: K, handler: SpecificEventListener<K>) => void): void;
204
- /**
205
- * Must be used in conjunction with #attachScrollHandler. Removes the scroll
206
- * event handler from elements on the page.
207
- */
208
- removeScrollHandler(removeEventHandlerFn: <K extends EventType>(event: K, handler: SpecificEventListener<K>) => void): void;
209
- destroy(): void;
210
- }
211
- export default MDCTooltipFoundation;
@@ -1,9 +0,0 @@
1
- import { TopAppBarFixedBase } from '@material/mwc-top-app-bar-fixed/mwc-top-app-bar-fixed-base';
2
- declare global {
3
- interface HTMLElementTagNameMap {
4
- 'td-top-app-bar-fixed': CovalentTopAppBaraFixedBase;
5
- }
6
- }
7
- export declare class CovalentTopAppBaraFixedBase extends TopAppBarFixedBase {
8
- static styles: import("lit").CSSResult[];
9
- }
@@ -1,9 +0,0 @@
1
- import { TopAppBarBase } from '@material/mwc-top-app-bar/mwc-top-app-bar-base';
2
- declare global {
3
- interface HTMLElementTagNameMap {
4
- 'td-top-app-bar': CovalentTopAppBarBase;
5
- }
6
- }
7
- export declare class CovalentTopAppBarBase extends TopAppBarBase {
8
- static styles: import("lit").CSSResult[];
9
- }
@@ -1,15 +0,0 @@
1
- import { LitElement } from 'lit';
2
- declare global {
3
- interface HTMLElementTagNameMap {
4
- 'td-tree-list-item': CovalentTreeListItem;
5
- }
6
- }
7
- export declare class CovalentTreeListItem extends LitElement {
8
- static styles: import("lit").CSSResult[];
9
- isOpen: boolean;
10
- icon: string;
11
- indentLevel: number;
12
- indentMultiple: number;
13
- render(): import("lit-html").TemplateResult<1>;
14
- private _handleClick;
15
- }
@@ -1,10 +0,0 @@
1
- import { LitElement } from 'lit';
2
- declare global {
3
- interface HTMLElementTagNameMap {
4
- 'td-tree-list': CovalentTreeList;
5
- }
6
- }
7
- export declare class CovalentTreeList extends LitElement {
8
- static styles: import("lit").CSSResult[];
9
- render(): import("lit-html").TemplateResult<1>;
10
- }
@@ -1,11 +0,0 @@
1
- import { LitElement } from 'lit';
2
- declare global {
3
- interface HTMLElementTagNameMap {
4
- 'td-typography': CovalentTypography;
5
- }
6
- }
7
- export declare class CovalentTypography extends LitElement {
8
- static styles: import("lit").CSSResult[];
9
- scale: string;
10
- render(): import("lit-html").TemplateResult<1>;
11
- }
package/statusHeader.js DELETED
@@ -1,22 +0,0 @@
1
- /*! For license information please see statusHeader.js.LICENSE.txt */
2
- (()=>{"use strict";var t={655:(t,e,s)=>{function i(t,e,s,i){var r,n=arguments.length,o=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,s,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(n<3?r(o):n>3?r(e,s,o):r(e,s))||o);return n>3&&o&&Object.defineProperty(e,s,o),o}function r(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}s.d(e,{gn:()=>i,w6:()=>r}),Object.create,Object.create},8701:(t,e,s)=>{s.d(e,{ec:()=>l,i1:()=>d,iv:()=>h});const i=window,r=i.ShadowRoot&&(void 0===i.ShadyCSS||i.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,n=Symbol(),o=new WeakMap;class a{constructor(t,e,s){if(this._$cssResult$=!0,s!==n)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(r&&void 0===t){const s=void 0!==e&&1===e.length;s&&(t=o.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&o.set(e,t))}return t}toString(){return this.cssText}}const h=(t,...e)=>{const s=1===t.length?t[0]:e.reduce(((e,s,i)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[i+1]),t[0]);return new a(s,t,n)},l=(t,e)=>{r?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const s=document.createElement("style"),r=i.litNonce;void 0!==r&&s.setAttribute("nonce",r),s.textContent=e.cssText,t.appendChild(s)}))},d=r?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return(t=>new a("string"==typeof t?t:t+"",void 0,n))(e)})(t):t},5713:(t,e,s)=>{s.d(e,{M:()=>i});const i=t=>e=>"function"==typeof e?((t,e)=>(customElements.define(t,e),e))(t,e):((t,e)=>{const{kind:s,elements:i}=e;return{kind:s,elements:i,finisher(e){customElements.define(t,e)}}})(t,e)},760:(t,e,s)=>{s.d(e,{C:()=>r});const i=(t,e)=>"method"===e.kind&&e.descriptor&&!("value"in e.descriptor)?{...e,finisher(s){s.createProperty(e.key,t)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:e.key,initializer(){"function"==typeof e.initializer&&(this[e.key]=e.initializer.call(this))},finisher(s){s.createProperty(e.key,t)}};function r(t){return(e,s)=>void 0!==s?((t,e,s)=>{e.constructor.createProperty(s,t)})(t,e,s):i(t,e)}},7935:(t,e,s)=>{var i;null===(i=window.HTMLSlotElement)||void 0===i||i.prototype.assignedElements},43:(t,e,s)=>{s(7935)},8732:(t,e,s)=>{s.d(e,{fl:()=>u,iv:()=>r.iv});var i,r=s(8701);const n=window,o=n.trustedTypes,a=o?o.emptyScript:"",h=n.reactiveElementPolyfillSupport,l={toAttribute(t,e){switch(e){case Boolean:t=t?a:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let s=t;switch(e){case Boolean:s=null!==t;break;case Number:s=null===t?null:Number(t);break;case Object:case Array:try{s=JSON.parse(t)}catch(t){s=null}}return s}},d=(t,e)=>e!==t&&(e==e||t==t),c={attribute:!0,type:String,converter:l,reflect:!1,hasChanged:d};class u extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var e;this.finalize(),(null!==(e=this.h)&&void 0!==e?e:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,s)=>{const i=this._$Ep(s,e);void 0!==i&&(this._$Ev.set(i,s),t.push(i))})),t}static createProperty(t,e=c){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const s="symbol"==typeof t?Symbol():"__"+t,i=this.getPropertyDescriptor(t,s,e);void 0!==i&&Object.defineProperty(this.prototype,t,i)}}static getPropertyDescriptor(t,e,s){return{get(){return this[e]},set(i){const r=this[t];this[e]=i,this.requestUpdate(t,r,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||c}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),void 0!==t.h&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const s of e)this.createProperty(s,t[s])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const s=new Set(t.flat(1/0).reverse());for(const t of s)e.unshift((0,r.i1)(t))}else void 0!==t&&e.push((0,r.i1)(t));return e}static _$Ep(t,e){const s=e.attribute;return!1===s?void 0:"string"==typeof s?s:"string"==typeof t?t.toLowerCase():void 0}u(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,s;(null!==(e=this._$ES)&&void 0!==e?e:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(s=t.hostConnected)||void 0===s||s.call(t))}removeController(t){var e;null===(e=this._$ES)||void 0===e||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.set(e,this[e]),delete this[e])}))}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return(0,r.ec)(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$EO(t,e,s=c){var i;const r=this.constructor._$Ep(t,s);if(void 0!==r&&!0===s.reflect){const n=(void 0!==(null===(i=s.converter)||void 0===i?void 0:i.toAttribute)?s.converter:l).toAttribute(e,s.type);this._$El=t,null==n?this.removeAttribute(r):this.setAttribute(r,n),this._$El=null}}_$AK(t,e){var s;const i=this.constructor,r=i._$Ev.get(t);if(void 0!==r&&this._$El!==r){const t=i.getPropertyOptions(r),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(s=t.converter)||void 0===s?void 0:s.fromAttribute)?t.converter:l;this._$El=r,this[r]=n.fromAttribute(e,t.type),this._$El=null}}requestUpdate(t,e,s){let i=!0;void 0!==t&&(((s=s||this.constructor.getPropertyOptions(t)).hasChanged||d)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===s.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,s))):i=!1),!this.isUpdatePending&&i&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach(((t,e)=>this[e]=t)),this._$Ei=void 0);let e=!1;const s=this._$AL;try{e=this.shouldUpdate(s),e?(this.willUpdate(s),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(s)):this._$Ek()}catch(t){throw e=!1,this._$Ek(),t}e&&this._$AE(s)}willUpdate(t){}_$AE(t){var e;null===(e=this._$ES)||void 0===e||e.forEach((t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,e)=>this._$EO(e,this[e],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}}u.finalized=!0,u.elementProperties=new Map,u.elementStyles=[],u.shadowRootOptions={mode:"open"},null==h||h({ReactiveElement:u}),(null!==(i=n.reactiveElementVersions)&&void 0!==i?i:n.reactiveElementVersions=[]).push("1.5.0")},8922:(t,e,s)=>{s.d(e,{dy:()=>o.dy,iv:()=>n.iv,oi:()=>a});var i,r,n=s(8732),o=s(3692);class a extends n.fl{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const s=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=s.firstChild),s}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=(0,o.sY)(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return o.Jb}}a.finalized=!0,a._$litElement$=!0,null===(i=globalThis.litElementHydrateSupport)||void 0===i||i.call(globalThis,{LitElement:a});const h=globalThis.litElementPolyfillSupport;null==h||h({LitElement:a}),(null!==(r=globalThis.litElementVersions)&&void 0!==r?r:globalThis.litElementVersions=[]).push("3.2.2")},875:(t,e,s)=>{s.d(e,{XM:()=>r,Xe:()=>n,pX:()=>i});const i={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},r=t=>(...e)=>({_$litDirective$:t,values:e});class n{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,s){this._$Ct=t,this._$AM=e,this._$Ci=s}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}},7499:(t,e,s)=>{s.d(e,{$:()=>n});var i=s(3692),r=s(875);const n=(0,r.XM)(class extends r.Xe{constructor(t){var e;if(super(t),t.type!==r.pX.ATTRIBUTE||"class"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){var s,r;if(void 0===this.nt){this.nt=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(s=this.st)||void 0===s?void 0:s.has(t))&&this.nt.add(t);return this.render(e)}const n=t.element.classList;this.nt.forEach((t=>{t in e||(n.remove(t),this.nt.delete(t))}));for(const t in e){const s=!!e[t];s===this.nt.has(t)||(null===(r=this.st)||void 0===r?void 0:r.has(t))||(s?(n.add(t),this.nt.add(t)):(n.remove(t),this.nt.delete(t)))}return i.Jb}})},3692:(t,e,s)=>{var i;s.d(e,{Jb:()=>E,dy:()=>b,sY:()=>L});const r=window,n=r.trustedTypes,o=n?n.createPolicy("lit-html",{createHTML:t=>t}):void 0,a=`lit$${(Math.random()+"").slice(9)}$`,h="?"+a,l=`<${h}>`,d=document,c=(t="")=>d.createComment(t),u=t=>null===t||"object"!=typeof t&&"function"!=typeof t,p=Array.isArray,v=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,f=/-->/g,g=/>/g,m=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),$=/'/g,y=/"/g,_=/^(?:script|style|textarea|title)$/i,A=t=>(e,...s)=>({_$litType$:t,strings:e,values:s}),b=A(1),E=(A(2),Symbol.for("lit-noChange")),S=Symbol.for("lit-nothing"),x=new WeakMap,w=d.createTreeWalker(d,129,null,!1),C=(t,e)=>{const s=t.length-1,i=[];let r,n=2===e?"<svg>":"",h=v;for(let e=0;e<s;e++){const s=t[e];let o,d,c=-1,u=0;for(;u<s.length&&(h.lastIndex=u,d=h.exec(s),null!==d);)u=h.lastIndex,h===v?"!--"===d[1]?h=f:void 0!==d[1]?h=g:void 0!==d[2]?(_.test(d[2])&&(r=RegExp("</"+d[2],"g")),h=m):void 0!==d[3]&&(h=m):h===m?">"===d[0]?(h=null!=r?r:v,c=-1):void 0===d[1]?c=-2:(c=h.lastIndex-d[2].length,o=d[1],h=void 0===d[3]?m:'"'===d[3]?y:$):h===y||h===$?h=m:h===f||h===g?h=v:(h=m,r=void 0);const p=h===m&&t[e+1].startsWith("/>")?" ":"";n+=h===v?s+l:c>=0?(i.push(o),s.slice(0,c)+"$lit$"+s.slice(c)+a+p):s+a+(-2===c?(i.push(void 0),e):p)}const d=n+(t[s]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==o?o.createHTML(d):d,i]};class T{constructor({strings:t,_$litType$:e},s){let i;this.parts=[];let r=0,o=0;const l=t.length-1,d=this.parts,[u,p]=C(t,e);if(this.el=T.createElement(u,s),w.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(i=w.nextNode())&&d.length<l;){if(1===i.nodeType){if(i.hasAttributes()){const t=[];for(const e of i.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(a)){const s=p[o++];if(t.push(e),void 0!==s){const t=i.getAttribute(s.toLowerCase()+"$lit$").split(a),e=/([.?@])?(.*)/.exec(s);d.push({type:1,index:r,name:e[2],strings:t,ctor:"."===e[1]?H:"?"===e[1]?M:"@"===e[1]?N:U})}else d.push({type:6,index:r})}for(const e of t)i.removeAttribute(e)}if(_.test(i.tagName)){const t=i.textContent.split(a),e=t.length-1;if(e>0){i.textContent=n?n.emptyScript:"";for(let s=0;s<e;s++)i.append(t[s],c()),w.nextNode(),d.push({type:2,index:++r});i.append(t[e],c())}}}else if(8===i.nodeType)if(i.data===h)d.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(a,t+1));)d.push({type:7,index:r}),t+=a.length-1}r++}}static createElement(t,e){const s=d.createElement("template");return s.innerHTML=t,s}}function k(t,e,s=t,i){var r,n,o,a;if(e===E)return e;let h=void 0!==i?null===(r=s._$Co)||void 0===r?void 0:r[i]:s._$Cl;const l=u(e)?void 0:e._$litDirective$;return(null==h?void 0:h.constructor)!==l&&(null===(n=null==h?void 0:h._$AO)||void 0===n||n.call(h,!1),void 0===l?h=void 0:(h=new l(t),h._$AT(t,s,i)),void 0!==i?(null!==(o=(a=s)._$Co)&&void 0!==o?o:a._$Co=[])[i]=h:s._$Cl=h),void 0!==h&&(e=k(t,h._$AS(t,e.values),h,i)),e}class O{constructor(t,e){this.u=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}v(t){var e;const{el:{content:s},parts:i}=this._$AD,r=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:d).importNode(s,!0);w.currentNode=r;let n=w.nextNode(),o=0,a=0,h=i[0];for(;void 0!==h;){if(o===h.index){let e;2===h.type?e=new P(n,n.nextSibling,this,t):1===h.type?e=new h.ctor(n,h.name,h.strings,this,t):6===h.type&&(e=new j(n,this,t)),this.u.push(e),h=i[++a]}o!==(null==h?void 0:h.index)&&(n=w.nextNode(),o++)}return r}p(t){let e=0;for(const s of this.u)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}}class P{constructor(t,e,s,i){var r;this.type=2,this._$AH=S,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=i,this._$Cm=null===(r=null==i?void 0:i.isConnected)||void 0===r||r}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cm}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=k(this,t,e),u(t)?t===S||null==t||""===t?(this._$AH!==S&&this._$AR(),this._$AH=S):t!==this._$AH&&t!==E&&this.g(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>p(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.k(t):this.g(t)}O(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}g(t){this._$AH!==S&&u(this._$AH)?this._$AA.nextSibling.data=t:this.T(d.createTextNode(t)),this._$AH=t}$(t){var e;const{values:s,_$litType$:i}=t,r="number"==typeof i?this._$AC(t):(void 0===i.el&&(i.el=T.createElement(i.h,this.options)),i);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===r)this._$AH.p(s);else{const t=new O(r,this),e=t.v(this.options);t.p(s),this.T(e),this._$AH=t}}_$AC(t){let e=x.get(t.strings);return void 0===e&&x.set(t.strings,e=new T(t)),e}k(t){p(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let s,i=0;for(const r of t)i===e.length?e.push(s=new P(this.O(c()),this.O(c()),this,this.options)):s=e[i],s._$AI(r),i++;i<e.length&&(this._$AR(s&&s._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){var s;for(null===(s=this._$AP)||void 0===s||s.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cm=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class U{constructor(t,e,s,i,r){this.type=1,this._$AH=S,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=r,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=S}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,s,i){const r=this.strings;let n=!1;if(void 0===r)t=k(this,t,e,0),n=!u(t)||t!==this._$AH&&t!==E,n&&(this._$AH=t);else{const i=t;let o,a;for(t=r[0],o=0;o<r.length-1;o++)a=k(this,i[s+o],e,o),a===E&&(a=this._$AH[o]),n||(n=!u(a)||a!==this._$AH[o]),a===S?t=S:t!==S&&(t+=(null!=a?a:"")+r[o+1]),this._$AH[o]=a}n&&!i&&this.j(t)}j(t){t===S?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class H extends U{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===S?void 0:t}}const R=n?n.emptyScript:"";class M extends U{constructor(){super(...arguments),this.type=4}j(t){t&&t!==S?this.element.setAttribute(this.name,R):this.element.removeAttribute(this.name)}}class N extends U{constructor(t,e,s,i,r){super(t,e,s,i,r),this.type=5}_$AI(t,e=this){var s;if((t=null!==(s=k(this,t,e,0))&&void 0!==s?s:S)===E)return;const i=this._$AH,r=t===S&&i!==S||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,n=t!==S&&(i===S||r);r&&this.element.removeEventListener(this.name,this,i),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,s;"function"==typeof this._$AH?this._$AH.call(null!==(s=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==s?s:this.element,t):this._$AH.handleEvent(t)}}class j{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){k(this,t)}}const z=r.litHtmlPolyfillSupport;null==z||z(T,P),(null!==(i=r.litHtmlVersions)&&void 0!==i?i:r.litHtmlVersions=[]).push("2.5.0");const L=(t,e,s)=>{var i,r;const n=null!==(i=null==s?void 0:s.renderBefore)&&void 0!==i?i:e;let o=n._$litPart$;if(void 0===o){const t=null!==(r=null==s?void 0:s.renderBefore)&&void 0!==r?r:null;n._$litPart$=o=new P(e.insertBefore(c(),t),t,void 0,null!=s?s:{})}return o._$AI(t),o}},9662:(t,e,s)=>{s.d(e,{Cb:()=>r.C,Mo:()=>i.M});var i=s(5713),r=s(760);s(7935),s(43)},8810:(t,e,s)=>{s.d(e,{$:()=>i.$});var i=s(7499)},5862:(t,e,s)=>{s.d(e,{dy:()=>i.dy,iv:()=>i.iv,oi:()=>i.oi}),s(8732),s(3692);var i=s(8922)}},e={};function s(i){var r=e[i];if(void 0!==r)return r.exports;var n=e[i]={exports:{}};return t[i](n,n.exports,s),n.exports}s.d=(t,e)=>{for(var i in e)s.o(e,i)&&!s.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},s.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{var t=s(655),e=s(9662),i=s(5862),r=s(8810);class n extends i.oi{constructor(){super(...arguments),this.state="neutral",this.statusText="",this.statusHelper="",this.titleText=""}render(){const t={active:"active"===this.state,caution:"caution"===this.state,error:"error"===this.state,positive:"positive"===this.state};return i.dy`
3
- <div class="status-header ${(0,r.$)(t)}">
4
- <div class="status-header-title">
5
- <div class="status-header-title-text">${this.titleText}</div>
6
- <slot name="status-header-actions"></slot>
7
- </div>
8
- <div class="status-header-status">
9
- <div class="status-header-icon">
10
- <slot name="status-header-icon"></slot>
11
- </div>
12
- <div class="status-header-text-block">
13
- <div class="status-header-text">${this.statusText}</div>
14
- <div class="status-header-helper">${this.statusHelper}</div>
15
- </div>
16
- <div class="status-header-slot">
17
- <slot name="status-header-text"></slot>
18
- </div>
19
- </div>
20
- <slot></slot>
21
- </div>
22
- `}}(0,t.gn)([(0,e.Cb)(),(0,t.w6)("design:type",String)],n.prototype,"state",void 0),(0,t.gn)([(0,e.Cb)({type:String}),(0,t.w6)("design:type",Object)],n.prototype,"statusText",void 0),(0,t.gn)([(0,e.Cb)({type:String}),(0,t.w6)("design:type",Object)],n.prototype,"statusHelper",void 0),(0,t.gn)([(0,e.Cb)({type:String}),(0,t.w6)("design:type",Object)],n.prototype,"titleText",void 0);const o=i.iv`.status-header{--td-status-header-background:transparent;--td-status-header-icon-background:var( --mdc-theme-surface-neutral-highlight-hover );--td-status-header-icon-color:var(--mdc-theme-text-icon-on-background);--td-status-header-status-color:var(--mdc-theme-on-surface);background-color:var(--td-status-header-background)}.status-header .status-header-content{max-width:inherit;flex-direction:column}.status-header .status-header-icon{background-color:var(--td-status-header-icon-background);color:var(--td-status-header-icon-color)}.status-header .status-header-text{--mdc-theme-primary:var(--mdc-theme-surface-neutral-highlight-hover);--mdc-theme-on-surface:var(--mdc-theme-text-icon-on-background);color:var(--td-status-header-status-color)}.status-header .status-header-helper{color:var(--mdc-theme-text-secondary-on-background)}.status-header .status-header-title-text{color:var(--mdc-theme-on-surface)}.status-header.active{--td-status-header-background:var( --mdc-theme-surface-secondary-highlight );--td-status-header-icon-background:var( --mdc-theme-surface-secondary-highlight-hover );--td-status-header-icon-color:var(--mdc-theme-secondary);--td-status-header-status-color:var(--mdc-theme-secondary)}.status-header.caution{--td-status-header-background:var(--mdc-theme-surface-caution-highlight);--td-status-header-icon-background:var( --mdc-theme-surface-caution-highlight-hover );--td-status-header-icon-color:var(--mdc-theme-caution);--td-status-header-status-color:var(--mdc-theme-caution)}.status-header.error{--td-status-header-background:var( --mdc-theme-surface-negative-highlight );--td-status-header-icon-background:var( --mdc-theme-surface-negative-highlight-hover );--td-status-header-icon-color:var(--mdc-theme-negative);--td-status-header-status-color:var(--mdc-theme-negative)}.status-header.positive{--td-status-header-background:var( --mdc-theme-surface-positive-highlight );--td-status-header-icon-background:var( --mdc-theme-surface-positive-highlight-hover );--td-status-header-icon-color:var(--mdc-theme-positive);--td-status-header-status-color:var(--mdc-theme-positive)}.status-header-title{padding:0 0 16px 16px;height:fit-content;display:flex;justify-content:space-between;align-items:center}.status-header-title-text{font-family:var(--mdc-typography-headline6-font-family);font-size:var(--mdc-typography-headline6-font-size);font-weight:var(--mdc-typography-headline6-font-weight);line-height:var(--mdc-typography-headline6-line-height)}.status-header-text{font-family:var(--mdc-typography-body2-font-family);font-size:var(--mdc-typography-body2-font-size);font-weight:var(--mdc-typography-body2-font-weight);line-height:var(--mdc-typography-body2-line-height)}.status-header-icon{--mdc-icon-size:36px;border-radius:50%;min-width:72px;height:72px;display:flex;justify-content:center;align-items:center}.status-header-status{padding-left:32px;padding-bottom:16px;display:flex;flex-direction:row;align-items:center}.status-header-text-block{display:flex;flex-direction:column;margin-left:12px;margin-right:56px}.status-header-text-block .status-header-helper{font-family:var(--mdc-typography-caption-font-family);font-size:var(--mdc-typography-caption-font-size);font-weight:var(--mdc-typography-caption-font-weight);line-height:var(--mdc-typography-caption-line-height)}`;let a=class extends n{};a.styles=[o],a=(0,t.gn)([(0,e.Mo)("td-status-header")],a)})()})();
@@ -1,23 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2017 Google LLC
4
- * SPDX-License-Identifier: BSD-3-Clause
5
- */
6
-
7
- /**
8
- * @license
9
- * Copyright 2018 Google LLC
10
- * SPDX-License-Identifier: BSD-3-Clause
11
- */
12
-
13
- /**
14
- * @license
15
- * Copyright 2019 Google LLC
16
- * SPDX-License-Identifier: BSD-3-Clause
17
- */
18
-
19
- /**
20
- * @license
21
- * Copyright 2021 Google LLC
22
- * SPDX-License-Identifier: BSD-3-Clause
23
- */
@@ -1,2 +0,0 @@
1
- /*! For license information please see statusHeaderItem.js.LICENSE.txt */
2
- (()=>{"use strict";var t={655:(t,e,i)=>{function s(t,e,i,s){var n,o=arguments.length,r=o<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,s);else for(var l=t.length-1;l>=0;l--)(n=t[l])&&(r=(o<3?n(r):o>3?n(e,i,r):n(e,i))||r);return o>3&&r&&Object.defineProperty(e,i,r),r}function n(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}i.d(e,{gn:()=>s,w6:()=>n}),Object.create,Object.create},8701:(t,e,i)=>{i.d(e,{ec:()=>a,i1:()=>d,iv:()=>h});const s=window,n=s.ShadowRoot&&(void 0===s.ShadyCSS||s.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,o=Symbol(),r=new WeakMap;class l{constructor(t,e,i){if(this._$cssResult$=!0,i!==o)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(n&&void 0===t){const i=void 0!==e&&1===e.length;i&&(t=r.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&r.set(e,t))}return t}toString(){return this.cssText}}const h=(t,...e)=>{const i=1===t.length?t[0]:e.reduce(((e,i,s)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[s+1]),t[0]);return new l(i,t,o)},a=(t,e)=>{n?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const i=document.createElement("style"),n=s.litNonce;void 0!==n&&i.setAttribute("nonce",n),i.textContent=e.cssText,t.appendChild(i)}))},d=n?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return(t=>new l("string"==typeof t?t:t+"",void 0,o))(e)})(t):t},5713:(t,e,i)=>{i.d(e,{M:()=>s});const s=t=>e=>"function"==typeof e?((t,e)=>(customElements.define(t,e),e))(t,e):((t,e)=>{const{kind:i,elements:s}=e;return{kind:i,elements:s,finisher(e){customElements.define(t,e)}}})(t,e)},760:(t,e,i)=>{i.d(e,{C:()=>n});const s=(t,e)=>"method"===e.kind&&e.descriptor&&!("value"in e.descriptor)?{...e,finisher(i){i.createProperty(e.key,t)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:e.key,initializer(){"function"==typeof e.initializer&&(this[e.key]=e.initializer.call(this))},finisher(i){i.createProperty(e.key,t)}};function n(t){return(e,i)=>void 0!==i?((t,e,i)=>{e.constructor.createProperty(i,t)})(t,e,i):s(t,e)}},7935:(t,e,i)=>{var s;null===(s=window.HTMLSlotElement)||void 0===s||s.prototype.assignedElements},43:(t,e,i)=>{i(7935)},8732:(t,e,i)=>{i.d(e,{fl:()=>p,iv:()=>n.iv});var s,n=i(8701);const o=window,r=o.trustedTypes,l=r?r.emptyScript:"",h=o.reactiveElementPolyfillSupport,a={toAttribute(t,e){switch(e){case Boolean:t=t?l:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},d=(t,e)=>e!==t&&(e==e||t==t),c={attribute:!0,type:String,converter:a,reflect:!1,hasChanged:d};class p extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var e;this.finalize(),(null!==(e=this.h)&&void 0!==e?e:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,i)=>{const s=this._$Ep(i,e);void 0!==s&&(this._$Ev.set(s,i),t.push(s))})),t}static createProperty(t,e=c){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const i="symbol"==typeof t?Symbol():"__"+t,s=this.getPropertyDescriptor(t,i,e);void 0!==s&&Object.defineProperty(this.prototype,t,s)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(s){const n=this[t];this[e]=s,this.requestUpdate(t,n,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||c}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),void 0!==t.h&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const i of e)this.createProperty(i,t[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)e.unshift((0,n.i1)(t))}else void 0!==t&&e.push((0,n.i1)(t));return e}static _$Ep(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}u(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,i;(null!==(e=this._$ES)&&void 0!==e?e:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(i=t.hostConnected)||void 0===i||i.call(t))}removeController(t){var e;null===(e=this._$ES)||void 0===e||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.set(e,this[e]),delete this[e])}))}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return(0,n.ec)(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$EO(t,e,i=c){var s;const n=this.constructor._$Ep(t,i);if(void 0!==n&&!0===i.reflect){const o=(void 0!==(null===(s=i.converter)||void 0===s?void 0:s.toAttribute)?i.converter:a).toAttribute(e,i.type);this._$El=t,null==o?this.removeAttribute(n):this.setAttribute(n,o),this._$El=null}}_$AK(t,e){var i;const s=this.constructor,n=s._$Ev.get(t);if(void 0!==n&&this._$El!==n){const t=s.getPropertyOptions(n),o="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(i=t.converter)||void 0===i?void 0:i.fromAttribute)?t.converter:a;this._$El=n,this[n]=o.fromAttribute(e,t.type),this._$El=null}}requestUpdate(t,e,i){let s=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||d)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,i))):s=!1),!this.isUpdatePending&&s&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach(((t,e)=>this[e]=t)),this._$Ei=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(i)):this._$Ek()}catch(t){throw e=!1,this._$Ek(),t}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;null===(e=this._$ES)||void 0===e||e.forEach((t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,e)=>this._$EO(e,this[e],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}}p.finalized=!0,p.elementProperties=new Map,p.elementStyles=[],p.shadowRootOptions={mode:"open"},null==h||h({ReactiveElement:p}),(null!==(s=o.reactiveElementVersions)&&void 0!==s?s:o.reactiveElementVersions=[]).push("1.5.0")},8922:(t,e,i)=>{i.d(e,{dy:()=>r.dy,iv:()=>o.iv,oi:()=>l});var s,n,o=i(8732),r=i(3692);class l extends o.fl{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=(0,r.sY)(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return r.Jb}}l.finalized=!0,l._$litElement$=!0,null===(s=globalThis.litElementHydrateSupport)||void 0===s||s.call(globalThis,{LitElement:l});const h=globalThis.litElementPolyfillSupport;null==h||h({LitElement:l}),(null!==(n=globalThis.litElementVersions)&&void 0!==n?n:globalThis.litElementVersions=[]).push("3.2.2")},3692:(t,e,i)=>{var s;i.d(e,{Jb:()=>E,dy:()=>b,sY:()=>L});const n=window,o=n.trustedTypes,r=o?o.createPolicy("lit-html",{createHTML:t=>t}):void 0,l=`lit$${(Math.random()+"").slice(9)}$`,h="?"+l,a=`<${h}>`,d=document,c=(t="")=>d.createComment(t),p=t=>null===t||"object"!=typeof t&&"function"!=typeof t,u=Array.isArray,v=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,$=/-->/g,f=/>/g,_=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),y=/'/g,m=/"/g,A=/^(?:script|style|textarea|title)$/i,g=t=>(e,...i)=>({_$litType$:t,strings:e,values:i}),b=g(1),E=(g(2),Symbol.for("lit-noChange")),S=Symbol.for("lit-nothing"),w=new WeakMap,C=d.createTreeWalker(d,129,null,!1),x=(t,e)=>{const i=t.length-1,s=[];let n,o=2===e?"<svg>":"",h=v;for(let e=0;e<i;e++){const i=t[e];let r,d,c=-1,p=0;for(;p<i.length&&(h.lastIndex=p,d=h.exec(i),null!==d);)p=h.lastIndex,h===v?"!--"===d[1]?h=$:void 0!==d[1]?h=f:void 0!==d[2]?(A.test(d[2])&&(n=RegExp("</"+d[2],"g")),h=_):void 0!==d[3]&&(h=_):h===_?">"===d[0]?(h=null!=n?n:v,c=-1):void 0===d[1]?c=-2:(c=h.lastIndex-d[2].length,r=d[1],h=void 0===d[3]?_:'"'===d[3]?m:y):h===m||h===y?h=_:h===$||h===f?h=v:(h=_,n=void 0);const u=h===_&&t[e+1].startsWith("/>")?" ":"";o+=h===v?i+a:c>=0?(s.push(r),i.slice(0,c)+"$lit$"+i.slice(c)+l+u):i+l+(-2===c?(s.push(void 0),e):u)}const d=o+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==r?r.createHTML(d):d,s]};class P{constructor({strings:t,_$litType$:e},i){let s;this.parts=[];let n=0,r=0;const a=t.length-1,d=this.parts,[p,u]=x(t,e);if(this.el=P.createElement(p,i),C.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(s=C.nextNode())&&d.length<a;){if(1===s.nodeType){if(s.hasAttributes()){const t=[];for(const e of s.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(l)){const i=u[r++];if(t.push(e),void 0!==i){const t=s.getAttribute(i.toLowerCase()+"$lit$").split(l),e=/([.?@])?(.*)/.exec(i);d.push({type:1,index:n,name:e[2],strings:t,ctor:"."===e[1]?T:"?"===e[1]?N:"@"===e[1]?M:R})}else d.push({type:6,index:n})}for(const e of t)s.removeAttribute(e)}if(A.test(s.tagName)){const t=s.textContent.split(l),e=t.length-1;if(e>0){s.textContent=o?o.emptyScript:"";for(let i=0;i<e;i++)s.append(t[i],c()),C.nextNode(),d.push({type:2,index:++n});s.append(t[e],c())}}}else if(8===s.nodeType)if(s.data===h)d.push({type:2,index:n});else{let t=-1;for(;-1!==(t=s.data.indexOf(l,t+1));)d.push({type:7,index:n}),t+=l.length-1}n++}}static createElement(t,e){const i=d.createElement("template");return i.innerHTML=t,i}}function O(t,e,i=t,s){var n,o,r,l;if(e===E)return e;let h=void 0!==s?null===(n=i._$Co)||void 0===n?void 0:n[s]:i._$Cl;const a=p(e)?void 0:e._$litDirective$;return(null==h?void 0:h.constructor)!==a&&(null===(o=null==h?void 0:h._$AO)||void 0===o||o.call(h,!1),void 0===a?h=void 0:(h=new a(t),h._$AT(t,i,s)),void 0!==s?(null!==(r=(l=i)._$Co)&&void 0!==r?r:l._$Co=[])[s]=h:i._$Cl=h),void 0!==h&&(e=O(t,h._$AS(t,e.values),h,s)),e}class U{constructor(t,e){this.u=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}v(t){var e;const{el:{content:i},parts:s}=this._$AD,n=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:d).importNode(i,!0);C.currentNode=n;let o=C.nextNode(),r=0,l=0,h=s[0];for(;void 0!==h;){if(r===h.index){let e;2===h.type?e=new H(o,o.nextSibling,this,t):1===h.type?e=new h.ctor(o,h.name,h.strings,this,t):6===h.type&&(e=new j(o,this,t)),this.u.push(e),h=s[++l]}r!==(null==h?void 0:h.index)&&(o=C.nextNode(),r++)}return n}p(t){let e=0;for(const i of this.u)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class H{constructor(t,e,i,s){var n;this.type=2,this._$AH=S,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=s,this._$Cm=null===(n=null==s?void 0:s.isConnected)||void 0===n||n}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cm}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=O(this,t,e),p(t)?t===S||null==t||""===t?(this._$AH!==S&&this._$AR(),this._$AH=S):t!==this._$AH&&t!==E&&this.g(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>u(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.k(t):this.g(t)}O(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}g(t){this._$AH!==S&&p(this._$AH)?this._$AA.nextSibling.data=t:this.T(d.createTextNode(t)),this._$AH=t}$(t){var e;const{values:i,_$litType$:s}=t,n="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=P.createElement(s.h,this.options)),s);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===n)this._$AH.p(i);else{const t=new U(n,this),e=t.v(this.options);t.p(i),this.T(e),this._$AH=t}}_$AC(t){let e=w.get(t.strings);return void 0===e&&w.set(t.strings,e=new P(t)),e}k(t){u(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,s=0;for(const n of t)s===e.length?e.push(i=new H(this.O(c()),this.O(c()),this,this.options)):i=e[s],i._$AI(n),s++;s<e.length&&(this._$AR(i&&i._$AB.nextSibling,s),e.length=s)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cm=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class R{constructor(t,e,i,s,n){this.type=1,this._$AH=S,this._$AN=void 0,this.element=t,this.name=e,this._$AM=s,this.options=n,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=S}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,s){const n=this.strings;let o=!1;if(void 0===n)t=O(this,t,e,0),o=!p(t)||t!==this._$AH&&t!==E,o&&(this._$AH=t);else{const s=t;let r,l;for(t=n[0],r=0;r<n.length-1;r++)l=O(this,s[i+r],e,r),l===E&&(l=this._$AH[r]),o||(o=!p(l)||l!==this._$AH[r]),l===S?t=S:t!==S&&(t+=(null!=l?l:"")+n[r+1]),this._$AH[r]=l}o&&!s&&this.j(t)}j(t){t===S?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class T extends R{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===S?void 0:t}}const k=o?o.emptyScript:"";class N extends R{constructor(){super(...arguments),this.type=4}j(t){t&&t!==S?this.element.setAttribute(this.name,k):this.element.removeAttribute(this.name)}}class M extends R{constructor(t,e,i,s,n){super(t,e,i,s,n),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=O(this,t,e,0))&&void 0!==i?i:S)===E)return;const s=this._$AH,n=t===S&&s!==S||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,o=t!==S&&(s===S||n);n&&this.element.removeEventListener(this.name,this,s),o&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class j{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){O(this,t)}}const z=n.litHtmlPolyfillSupport;null==z||z(P,H),(null!==(s=n.litHtmlVersions)&&void 0!==s?s:n.litHtmlVersions=[]).push("2.5.0");const L=(t,e,i)=>{var s,n;const o=null!==(s=null==i?void 0:i.renderBefore)&&void 0!==s?s:e;let r=o._$litPart$;if(void 0===r){const t=null!==(n=null==i?void 0:i.renderBefore)&&void 0!==n?n:null;o._$litPart$=r=new H(e.insertBefore(c(),t),t,void 0,null!=i?i:{})}return r._$AI(t),r}},9662:(t,e,i)=>{i.d(e,{Cb:()=>n.C,Mo:()=>s.M});var s=i(5713),n=i(760);i(7935),i(43)},5862:(t,e,i)=>{i.d(e,{dy:()=>s.dy,iv:()=>s.iv,oi:()=>s.oi}),i(8732),i(3692);var s=i(8922)}},e={};function i(s){var n=e[s];if(void 0!==n)return n.exports;var o=e[s]={exports:{}};return t[s](o,o.exports,i),o.exports}i.d=(t,e)=>{for(var s in e)i.o(e,s)&&!i.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{var t=i(655),e=i(5862),s=i(9662);const n=e.iv`:host{--td-status-header-item-width:178px;display:flex;padding:14px 16px;align-items:center;font-family:var(--mdc-typography-body2-font-family);font-size:var(--mdc-typography-body2-font-size);font-weight:var(--mdc-typography-body2-font-weight);line-height:var(--mdc-typography-body2-line-height)}span{display:inline-block;width:var(--td-status-header-item-width);color:var(--mdc-theme-text-secondary-on-background)}`;let o=class extends e.oi{render(){return e.dy`<span>${this.label}</span> <slot></slot>`}};o.styles=[n],(0,t.gn)([(0,s.Cb)(),(0,t.w6)("design:type",String)],o.prototype,"label",void 0),o=(0,t.gn)([(0,s.Mo)("td-status-header-item")],o)})()})();
@@ -1,17 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2017 Google LLC
4
- * SPDX-License-Identifier: BSD-3-Clause
5
- */
6
-
7
- /**
8
- * @license
9
- * Copyright 2019 Google LLC
10
- * SPDX-License-Identifier: BSD-3-Clause
11
- */
12
-
13
- /**
14
- * @license
15
- * Copyright 2021 Google LLC
16
- * SPDX-License-Identifier: BSD-3-Clause
17
- */