@ixfx/components 0.10.8 → 0.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundle/index.d.ts +151 -1173
- package/bundle/index.d.ts.map +1 -1
- package/bundle/index.js +748 -1328
- package/bundle/index.js.map +1 -1
- package/dist/ac-text.d.ts +1 -1
- package/dist/{ac-token--_vCHXWw.d.ts → ac-token-TCLAZeVg.d.ts} +2 -2
- package/dist/{ac-token--_vCHXWw.d.ts.map → ac-token-TCLAZeVg.d.ts.map} +1 -1
- package/dist/ac-token.d.ts +1 -1
- package/dist/{button-BYuf72aR.d.ts → button-CTL45aBl.d.ts} +2 -2
- package/dist/{button-BYuf72aR.d.ts.map → button-CTL45aBl.d.ts.map} +1 -1
- package/dist/button.d.ts +1 -1
- package/dist/colour-picker.d.ts +1 -1
- package/dist/crumbs.d.ts +1 -1
- package/dist/{data-grid-3yIylIH-.d.ts → data-grid-BWrtE8H9.d.ts} +4 -4
- package/dist/{data-grid-3yIylIH-.d.ts.map → data-grid-BWrtE8H9.d.ts.map} +1 -1
- package/dist/data-grid.d.ts +1 -1
- package/dist/{detail-list-ccWFyhEc.d.ts → detail-list-DxQZkK-C.d.ts} +4 -4
- package/dist/{detail-list-ccWFyhEc.d.ts.map → detail-list-DxQZkK-C.d.ts.map} +1 -1
- package/dist/detail-list.d.ts +2 -2
- package/dist/{grid-list-BnOVgtLI.d.ts → grid-list-ChgYpUUq.d.ts} +2 -2
- package/dist/{grid-list-BnOVgtLI.d.ts.map → grid-list-ChgYpUUq.d.ts.map} +1 -1
- package/dist/grid-list.d.ts +1 -1
- package/dist/{grouped-item-lister-DETte0Dh.d.ts → grouped-item-lister-Bhyo-dkH.d.ts} +2 -2
- package/dist/{grouped-item-lister-DETte0Dh.d.ts.map → grouped-item-lister-Bhyo-dkH.d.ts.map} +1 -1
- package/dist/grouped-item-lister.d.ts +1 -1
- package/dist/{icon-CDGprSdE.d.ts → icon-DR_3rSyZ.d.ts} +2 -2
- package/dist/icon-DR_3rSyZ.d.ts.map +1 -0
- package/dist/icons.d.ts +2 -2
- package/dist/incr-search.d.ts +1 -1
- package/dist/{index-tq6f8007.d.ts → index-BOUaDIW-.d.ts} +2 -2
- package/dist/{index-tq6f8007.d.ts.map → index-BOUaDIW-.d.ts.map} +1 -1
- package/dist/{index-CoqtMSd9.d.ts → index-BUB5SICW.d.ts} +2 -2
- package/dist/{index-CoqtMSd9.d.ts.map → index-BUB5SICW.d.ts.map} +1 -1
- package/dist/{index-5-cwYpmx.d.ts → index-CHbuPyLL.d.ts} +2 -2
- package/dist/{index-5-cwYpmx.d.ts.map → index-CHbuPyLL.d.ts.map} +1 -1
- package/dist/{index-UvnoZUAo.d.ts → index-CJ5fshD3.d.ts} +2 -2
- package/dist/{index-UvnoZUAo.d.ts.map → index-CJ5fshD3.d.ts.map} +1 -1
- package/dist/{index-RImMNo0r.d.ts → index-PjiaGpA5.d.ts} +3 -3
- package/dist/{index-RImMNo0r.d.ts.map → index-PjiaGpA5.d.ts.map} +1 -1
- package/dist/{index-CYndvTWH.d.ts → index-garxxqgV.d.ts} +2 -2
- package/dist/{index-CYndvTWH.d.ts.map → index-garxxqgV.d.ts.map} +1 -1
- package/dist/index.d.ts +18 -18
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +20 -10
- package/dist/index.js.map +1 -1
- package/dist/{labelled-input-base-DiTme1JO.d.ts → labelled-input-base-Dp_9KP0G.d.ts} +2 -2
- package/dist/{labelled-input-base-DiTme1JO.d.ts.map → labelled-input-base-Dp_9KP0G.d.ts.map} +1 -1
- package/dist/labelled-radial-input.d.ts +2 -2
- package/dist/labelled-radial-input.d.ts.map +1 -1
- package/dist/labelled-range-input.d.ts +1 -1
- package/dist/labelled-slider-input.d.ts +1 -1
- package/dist/{menu-item-CZi9vy5O.d.ts → menu-item-ZmkXNjek.d.ts} +2 -2
- package/dist/{menu-item-CZi9vy5O.d.ts.map → menu-item-ZmkXNjek.d.ts.map} +1 -1
- package/dist/menu.d.ts +2 -2
- package/dist/miller.d.ts +1 -1
- package/dist/panel.d.ts +1 -1
- package/dist/{split-layout-JK3xWVX2.d.ts → split-layout-C5SYbDrq.d.ts} +2 -2
- package/dist/{split-layout-JK3xWVX2.d.ts.map → split-layout-C5SYbDrq.d.ts.map} +1 -1
- package/dist/split-layout.d.ts +1 -1
- package/dist/{tab-list-pqfKaVAE.d.ts → tab-list-v8mKX7Fu.d.ts} +2 -2
- package/dist/{tab-list-pqfKaVAE.d.ts.map → tab-list-v8mKX7Fu.d.ts.map} +1 -1
- package/dist/tabs.d.ts +1 -1
- package/dist/{titlebar-Tqu-VvMU.d.ts → titlebar-B5zSTZnF.d.ts} +2 -2
- package/dist/{titlebar-Tqu-VvMU.d.ts.map → titlebar-B5zSTZnF.d.ts.map} +1 -1
- package/dist/titlebar.d.ts +1 -1
- package/dist/tree.d.ts +1 -1
- package/dist/{vertical-list-9dJ1R1hU.d.ts → vertical-list-R25WqAVO.d.ts} +2 -2
- package/dist/{vertical-list-9dJ1R1hU.d.ts.map → vertical-list-R25WqAVO.d.ts.map} +1 -1
- package/dist/vertical-list.d.ts +1 -1
- package/docs-user/index.json +2 -2
- package/package.json +160 -4
- package/dist/icon-CDGprSdE.d.ts.map +0 -1
package/bundle/index.d.ts
CHANGED
|
@@ -1,1031 +1,9 @@
|
|
|
1
|
+
import { CSSResult, CSSResultGroup, LitElement, PropertyValues, ReactiveController, ReactiveControllerHost, TemplateResult, html, nothing } from "lit";
|
|
1
2
|
import { FzfOptions } from "fzf";
|
|
2
3
|
import { CommandId, CommandRegistry, KeyboardManager } from "@clinth/ui-commands";
|
|
3
4
|
import { Colour } from "@ixfx/visual";
|
|
4
5
|
import { TraversableTree } from "@ixfx/collections";
|
|
5
6
|
import "@clinth/vcanvas";
|
|
6
|
-
//#region node_modules/.pnpm/@lit+reactive-element@2.1.2/node_modules/@lit/reactive-element/development/css-tag.d.ts
|
|
7
|
-
/**
|
|
8
|
-
* A CSSResult or native CSSStyleSheet.
|
|
9
|
-
*
|
|
10
|
-
* In browsers that support constructible CSS style sheets, CSSStyleSheet
|
|
11
|
-
* object can be used for styling along side CSSResult from the `css`
|
|
12
|
-
* template tag.
|
|
13
|
-
*/
|
|
14
|
-
type CSSResultOrNative = CSSResult | CSSStyleSheet;
|
|
15
|
-
type CSSResultArray = Array<CSSResultOrNative | CSSResultArray>;
|
|
16
|
-
/**
|
|
17
|
-
* A single CSSResult, CSSStyleSheet, or an array or nested arrays of those.
|
|
18
|
-
*/
|
|
19
|
-
type CSSResultGroup = CSSResultOrNative | CSSResultArray;
|
|
20
|
-
/**
|
|
21
|
-
* A container for a string of CSS text, that may be used to create a CSSStyleSheet.
|
|
22
|
-
*
|
|
23
|
-
* CSSResult is the return value of `css`-tagged template literals and
|
|
24
|
-
* `unsafeCSS()`. In order to ensure that CSSResults are only created via the
|
|
25
|
-
* `css` tag and `unsafeCSS()`, CSSResult cannot be constructed directly.
|
|
26
|
-
*/
|
|
27
|
-
declare class CSSResult {
|
|
28
|
-
['_$cssResult$']: boolean;
|
|
29
|
-
readonly cssText: string;
|
|
30
|
-
private _styleSheet?;
|
|
31
|
-
private _strings;
|
|
32
|
-
private constructor();
|
|
33
|
-
get styleSheet(): CSSStyleSheet | undefined;
|
|
34
|
-
toString(): string;
|
|
35
|
-
}
|
|
36
|
-
//#endregion
|
|
37
|
-
//#region node_modules/.pnpm/@lit+reactive-element@2.1.2/node_modules/@lit/reactive-element/development/reactive-controller.d.ts
|
|
38
|
-
/**
|
|
39
|
-
* @license
|
|
40
|
-
* Copyright 2021 Google LLC
|
|
41
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
42
|
-
*/
|
|
43
|
-
/**
|
|
44
|
-
* An object that can host Reactive Controllers and call their lifecycle
|
|
45
|
-
* callbacks.
|
|
46
|
-
*/
|
|
47
|
-
interface ReactiveControllerHost {
|
|
48
|
-
/**
|
|
49
|
-
* Adds a controller to the host, which sets up the controller's lifecycle
|
|
50
|
-
* methods to be called with the host's lifecycle.
|
|
51
|
-
*/
|
|
52
|
-
addController(controller: ReactiveController): void;
|
|
53
|
-
/**
|
|
54
|
-
* Removes a controller from the host.
|
|
55
|
-
*/
|
|
56
|
-
removeController(controller: ReactiveController): void;
|
|
57
|
-
/**
|
|
58
|
-
* Requests a host update which is processed asynchronously. The update can
|
|
59
|
-
* be waited on via the `updateComplete` property.
|
|
60
|
-
*/
|
|
61
|
-
requestUpdate(): void;
|
|
62
|
-
/**
|
|
63
|
-
* Returns a Promise that resolves when the host has completed updating.
|
|
64
|
-
* The Promise value is a boolean that is `true` if the element completed the
|
|
65
|
-
* update without triggering another update. The Promise result is `false` if
|
|
66
|
-
* a property was set inside `updated()`. If the Promise is rejected, an
|
|
67
|
-
* exception was thrown during the update.
|
|
68
|
-
*
|
|
69
|
-
* @return A promise of a boolean that indicates if the update resolved
|
|
70
|
-
* without triggering another update.
|
|
71
|
-
*/
|
|
72
|
-
readonly updateComplete: Promise<boolean>;
|
|
73
|
-
}
|
|
74
|
-
/**
|
|
75
|
-
* A Reactive Controller is an object that enables sub-component code
|
|
76
|
-
* organization and reuse by aggregating the state, behavior, and lifecycle
|
|
77
|
-
* hooks related to a single feature.
|
|
78
|
-
*
|
|
79
|
-
* Controllers are added to a host component, or other object that implements
|
|
80
|
-
* the `ReactiveControllerHost` interface, via the `addController()` method.
|
|
81
|
-
* They can hook their host components's lifecycle by implementing one or more
|
|
82
|
-
* of the lifecycle callbacks, or initiate an update of the host component by
|
|
83
|
-
* calling `requestUpdate()` on the host.
|
|
84
|
-
*/
|
|
85
|
-
interface ReactiveController {
|
|
86
|
-
/**
|
|
87
|
-
* Called when the host is connected to the component tree. For custom
|
|
88
|
-
* element hosts, this corresponds to the `connectedCallback()` lifecycle,
|
|
89
|
-
* which is only called when the component is connected to the document.
|
|
90
|
-
*/
|
|
91
|
-
hostConnected?(): void;
|
|
92
|
-
/**
|
|
93
|
-
* Called when the host is disconnected from the component tree. For custom
|
|
94
|
-
* element hosts, this corresponds to the `disconnectedCallback()` lifecycle,
|
|
95
|
-
* which is called the host or an ancestor component is disconnected from the
|
|
96
|
-
* document.
|
|
97
|
-
*/
|
|
98
|
-
hostDisconnected?(): void;
|
|
99
|
-
/**
|
|
100
|
-
* Called during the client-side host update, just before the host calls
|
|
101
|
-
* its own update.
|
|
102
|
-
*
|
|
103
|
-
* Code in `update()` can depend on the DOM as it is not called in
|
|
104
|
-
* server-side rendering.
|
|
105
|
-
*/
|
|
106
|
-
hostUpdate?(): void;
|
|
107
|
-
/**
|
|
108
|
-
* Called after a host update, just before the host calls firstUpdated and
|
|
109
|
-
* updated. It is not called in server-side rendering.
|
|
110
|
-
*
|
|
111
|
-
*/
|
|
112
|
-
hostUpdated?(): void;
|
|
113
|
-
}
|
|
114
|
-
//#endregion
|
|
115
|
-
//#region node_modules/.pnpm/@lit+reactive-element@2.1.2/node_modules/@lit/reactive-element/development/reactive-element.d.ts
|
|
116
|
-
/**
|
|
117
|
-
* Converts property values to and from attribute values.
|
|
118
|
-
*/
|
|
119
|
-
interface ComplexAttributeConverter<Type = unknown, TypeHint = unknown> {
|
|
120
|
-
/**
|
|
121
|
-
* Called to convert an attribute value to a property
|
|
122
|
-
* value.
|
|
123
|
-
*/
|
|
124
|
-
fromAttribute?(value: string | null, type?: TypeHint): Type;
|
|
125
|
-
/**
|
|
126
|
-
* Called to convert a property value to an attribute
|
|
127
|
-
* value.
|
|
128
|
-
*
|
|
129
|
-
* It returns unknown instead of string, to be compatible with
|
|
130
|
-
* https://github.com/WICG/trusted-types (and similar efforts).
|
|
131
|
-
*/
|
|
132
|
-
toAttribute?(value: Type, type?: TypeHint): unknown;
|
|
133
|
-
}
|
|
134
|
-
type AttributeConverter<Type = unknown, TypeHint = unknown> = ComplexAttributeConverter<Type> | ((value: string | null, type?: TypeHint) => Type);
|
|
135
|
-
/**
|
|
136
|
-
* Defines options for a property accessor.
|
|
137
|
-
*/
|
|
138
|
-
interface PropertyDeclaration<Type = unknown, TypeHint = unknown> {
|
|
139
|
-
/**
|
|
140
|
-
* When set to `true`, indicates the property is internal private state. The
|
|
141
|
-
* property should not be set by users. When using TypeScript, this property
|
|
142
|
-
* should be marked as `private` or `protected`, and it is also a common
|
|
143
|
-
* practice to use a leading `_` in the name. The property is not added to
|
|
144
|
-
* `observedAttributes`.
|
|
145
|
-
*/
|
|
146
|
-
readonly state?: boolean;
|
|
147
|
-
/**
|
|
148
|
-
* Indicates how and whether the property becomes an observed attribute.
|
|
149
|
-
* If the value is `false`, the property is not added to `observedAttributes`.
|
|
150
|
-
* If true or absent, the lowercased property name is observed (e.g. `fooBar`
|
|
151
|
-
* becomes `foobar`). If a string, the string value is observed (e.g
|
|
152
|
-
* `attribute: 'foo-bar'`).
|
|
153
|
-
*/
|
|
154
|
-
readonly attribute?: boolean | string;
|
|
155
|
-
/**
|
|
156
|
-
* Indicates the type of the property. This is used only as a hint for the
|
|
157
|
-
* `converter` to determine how to convert the attribute
|
|
158
|
-
* to/from a property.
|
|
159
|
-
*/
|
|
160
|
-
readonly type?: TypeHint;
|
|
161
|
-
/**
|
|
162
|
-
* Indicates how to convert the attribute to/from a property. If this value
|
|
163
|
-
* is a function, it is used to convert the attribute value a the property
|
|
164
|
-
* value. If it's an object, it can have keys for `fromAttribute` and
|
|
165
|
-
* `toAttribute`. If no `toAttribute` function is provided and
|
|
166
|
-
* `reflect` is set to `true`, the property value is set directly to the
|
|
167
|
-
* attribute. A default `converter` is used if none is provided; it supports
|
|
168
|
-
* `Boolean`, `String`, `Number`, `Object`, and `Array`. Note,
|
|
169
|
-
* when a property changes and the converter is used to update the attribute,
|
|
170
|
-
* the property is never updated again as a result of the attribute changing,
|
|
171
|
-
* and vice versa.
|
|
172
|
-
*/
|
|
173
|
-
readonly converter?: AttributeConverter<Type, TypeHint>;
|
|
174
|
-
/**
|
|
175
|
-
* Indicates if the property should reflect to an attribute.
|
|
176
|
-
* If `true`, when the property is set, the attribute is set using the
|
|
177
|
-
* attribute name determined according to the rules for the `attribute`
|
|
178
|
-
* property option and the value of the property converted using the rules
|
|
179
|
-
* from the `converter` property option.
|
|
180
|
-
*/
|
|
181
|
-
readonly reflect?: boolean;
|
|
182
|
-
/**
|
|
183
|
-
* A function that indicates if a property should be considered changed when
|
|
184
|
-
* it is set. The function should take the `newValue` and `oldValue` and
|
|
185
|
-
* return `true` if an update should be requested.
|
|
186
|
-
*/
|
|
187
|
-
hasChanged?(value: Type, oldValue: Type): boolean;
|
|
188
|
-
/**
|
|
189
|
-
* Indicates whether an accessor will be created for this property. By
|
|
190
|
-
* default, an accessor will be generated for this property that requests an
|
|
191
|
-
* update when set. If this flag is `true`, no accessor will be created, and
|
|
192
|
-
* it will be the user's responsibility to call
|
|
193
|
-
* `this.requestUpdate(propertyName, oldValue)` to request an update when
|
|
194
|
-
* the property changes.
|
|
195
|
-
*/
|
|
196
|
-
readonly noAccessor?: boolean;
|
|
197
|
-
/**
|
|
198
|
-
* When `true`, uses the initial value of the property as the default value,
|
|
199
|
-
* which changes how attributes are handled:
|
|
200
|
-
* - The initial value does *not* reflect, even if the `reflect` option is `true`.
|
|
201
|
-
* Subsequent changes to the property will reflect, even if they are equal to the
|
|
202
|
-
* default value.
|
|
203
|
-
* - When the attribute is removed, the property is set to the default value
|
|
204
|
-
* - The initial value will not trigger an old value in the `changedProperties` map
|
|
205
|
-
* argument to update lifecycle methods.
|
|
206
|
-
*
|
|
207
|
-
* When set, properties must be initialized, either with a field initializer, or an
|
|
208
|
-
* assignment in the constructor. Not initializing the property may lead to
|
|
209
|
-
* improper handling of subsequent property assignments.
|
|
210
|
-
*
|
|
211
|
-
* While this behavior is opt-in, most properties that reflect to attributes should
|
|
212
|
-
* use `useDefault: true` so that their initial values do not reflect.
|
|
213
|
-
*/
|
|
214
|
-
useDefault?: boolean;
|
|
215
|
-
}
|
|
216
|
-
/**
|
|
217
|
-
* Map of properties to PropertyDeclaration options. For each property an
|
|
218
|
-
* accessor is made, and the property is processed according to the
|
|
219
|
-
* PropertyDeclaration options.
|
|
220
|
-
*/
|
|
221
|
-
interface PropertyDeclarations {
|
|
222
|
-
readonly [key: string]: PropertyDeclaration;
|
|
223
|
-
}
|
|
224
|
-
type PropertyDeclarationMap = Map<PropertyKey, PropertyDeclaration>;
|
|
225
|
-
/**
|
|
226
|
-
* A Map of property keys to values.
|
|
227
|
-
*
|
|
228
|
-
* Takes an optional type parameter T, which when specified as a non-any,
|
|
229
|
-
* non-unknown type, will make the Map more strongly-typed, associating the map
|
|
230
|
-
* keys with their corresponding value type on T.
|
|
231
|
-
*
|
|
232
|
-
* Use `PropertyValues<this>` when overriding ReactiveElement.update() and
|
|
233
|
-
* other lifecycle methods in order to get stronger type-checking on keys
|
|
234
|
-
* and values.
|
|
235
|
-
*/
|
|
236
|
-
type PropertyValues<T = any> = T extends object ? PropertyValueMap<T> : Map<PropertyKey, unknown>;
|
|
237
|
-
/**
|
|
238
|
-
* Do not use, instead prefer {@linkcode PropertyValues}.
|
|
239
|
-
*/
|
|
240
|
-
interface PropertyValueMap<T> extends Map<PropertyKey, unknown> {
|
|
241
|
-
get<K extends keyof T>(k: K): T[K] | undefined;
|
|
242
|
-
set<K extends keyof T>(key: K, value: T[K]): this;
|
|
243
|
-
has<K extends keyof T>(k: K): boolean;
|
|
244
|
-
delete<K extends keyof T>(k: K): boolean;
|
|
245
|
-
}
|
|
246
|
-
/**
|
|
247
|
-
* A string representing one of the supported dev mode warning categories.
|
|
248
|
-
*/
|
|
249
|
-
type WarningKind = 'change-in-update' | 'migration' | 'async-perform-update';
|
|
250
|
-
type Initializer = (element: ReactiveElement) => void;
|
|
251
|
-
declare global {
|
|
252
|
-
interface SymbolConstructor {
|
|
253
|
-
readonly metadata: unique symbol;
|
|
254
|
-
}
|
|
255
|
-
}
|
|
256
|
-
declare global {
|
|
257
|
-
var litPropertyMetadata: WeakMap<object, Map<PropertyKey, PropertyDeclaration>>;
|
|
258
|
-
}
|
|
259
|
-
/**
|
|
260
|
-
* Base element class which manages element properties and attributes. When
|
|
261
|
-
* properties change, the `update` method is asynchronously called. This method
|
|
262
|
-
* should be supplied by subclasses to render updates as desired.
|
|
263
|
-
* @noInheritDoc
|
|
264
|
-
*/
|
|
265
|
-
declare abstract class ReactiveElement extends HTMLElement implements ReactiveControllerHost {
|
|
266
|
-
/**
|
|
267
|
-
* Read or set all the enabled warning categories for this class.
|
|
268
|
-
*
|
|
269
|
-
* This property is only used in development builds.
|
|
270
|
-
*
|
|
271
|
-
* @nocollapse
|
|
272
|
-
* @category dev-mode
|
|
273
|
-
*/
|
|
274
|
-
static enabledWarnings?: WarningKind[];
|
|
275
|
-
/**
|
|
276
|
-
* Enable the given warning category for this class.
|
|
277
|
-
*
|
|
278
|
-
* This method only exists in development builds, so it should be accessed
|
|
279
|
-
* with a guard like:
|
|
280
|
-
*
|
|
281
|
-
* ```ts
|
|
282
|
-
* // Enable for all ReactiveElement subclasses
|
|
283
|
-
* ReactiveElement.enableWarning?.('migration');
|
|
284
|
-
*
|
|
285
|
-
* // Enable for only MyElement and subclasses
|
|
286
|
-
* MyElement.enableWarning?.('migration');
|
|
287
|
-
* ```
|
|
288
|
-
*
|
|
289
|
-
* @nocollapse
|
|
290
|
-
* @category dev-mode
|
|
291
|
-
*/
|
|
292
|
-
static enableWarning?: (warningKind: WarningKind) => void;
|
|
293
|
-
/**
|
|
294
|
-
* Disable the given warning category for this class.
|
|
295
|
-
*
|
|
296
|
-
* This method only exists in development builds, so it should be accessed
|
|
297
|
-
* with a guard like:
|
|
298
|
-
*
|
|
299
|
-
* ```ts
|
|
300
|
-
* // Disable for all ReactiveElement subclasses
|
|
301
|
-
* ReactiveElement.disableWarning?.('migration');
|
|
302
|
-
*
|
|
303
|
-
* // Disable for only MyElement and subclasses
|
|
304
|
-
* MyElement.disableWarning?.('migration');
|
|
305
|
-
* ```
|
|
306
|
-
*
|
|
307
|
-
* @nocollapse
|
|
308
|
-
* @category dev-mode
|
|
309
|
-
*/
|
|
310
|
-
static disableWarning?: (warningKind: WarningKind) => void;
|
|
311
|
-
/**
|
|
312
|
-
* Adds an initializer function to the class that is called during instance
|
|
313
|
-
* construction.
|
|
314
|
-
*
|
|
315
|
-
* This is useful for code that runs against a `ReactiveElement`
|
|
316
|
-
* subclass, such as a decorator, that needs to do work for each
|
|
317
|
-
* instance, such as setting up a `ReactiveController`.
|
|
318
|
-
*
|
|
319
|
-
* ```ts
|
|
320
|
-
* const myDecorator = (target: typeof ReactiveElement, key: string) => {
|
|
321
|
-
* target.addInitializer((instance: ReactiveElement) => {
|
|
322
|
-
* // This is run during construction of the element
|
|
323
|
-
* new MyController(instance);
|
|
324
|
-
* });
|
|
325
|
-
* }
|
|
326
|
-
* ```
|
|
327
|
-
*
|
|
328
|
-
* Decorating a field will then cause each instance to run an initializer
|
|
329
|
-
* that adds a controller:
|
|
330
|
-
*
|
|
331
|
-
* ```ts
|
|
332
|
-
* class MyElement extends LitElement {
|
|
333
|
-
* @myDecorator foo;
|
|
334
|
-
* }
|
|
335
|
-
* ```
|
|
336
|
-
*
|
|
337
|
-
* Initializers are stored per-constructor. Adding an initializer to a
|
|
338
|
-
* subclass does not add it to a superclass. Since initializers are run in
|
|
339
|
-
* constructors, initializers will run in order of the class hierarchy,
|
|
340
|
-
* starting with superclasses and progressing to the instance's class.
|
|
341
|
-
*
|
|
342
|
-
* @nocollapse
|
|
343
|
-
*/
|
|
344
|
-
static addInitializer(initializer: Initializer): void;
|
|
345
|
-
static _initializers?: Initializer[];
|
|
346
|
-
/**
|
|
347
|
-
* Maps attribute names to properties; for example `foobar` attribute to
|
|
348
|
-
* `fooBar` property. Created lazily on user subclasses when finalizing the
|
|
349
|
-
* class.
|
|
350
|
-
* @nocollapse
|
|
351
|
-
*/
|
|
352
|
-
private static __attributeToPropertyMap;
|
|
353
|
-
/**
|
|
354
|
-
* Marks class as having been finalized, which includes creating properties
|
|
355
|
-
* from `static properties`, but does *not* include all properties created
|
|
356
|
-
* from decorators.
|
|
357
|
-
* @nocollapse
|
|
358
|
-
*/
|
|
359
|
-
protected static finalized: true | undefined;
|
|
360
|
-
/**
|
|
361
|
-
* Memoized list of all element properties, including any superclass
|
|
362
|
-
* properties. Created lazily on user subclasses when finalizing the class.
|
|
363
|
-
*
|
|
364
|
-
* @nocollapse
|
|
365
|
-
* @category properties
|
|
366
|
-
*/
|
|
367
|
-
static elementProperties: PropertyDeclarationMap;
|
|
368
|
-
/**
|
|
369
|
-
* User-supplied object that maps property names to `PropertyDeclaration`
|
|
370
|
-
* objects containing options for configuring reactive properties. When
|
|
371
|
-
* a reactive property is set the element will update and render.
|
|
372
|
-
*
|
|
373
|
-
* By default properties are public fields, and as such, they should be
|
|
374
|
-
* considered as primarily settable by element users, either via attribute or
|
|
375
|
-
* the property itself.
|
|
376
|
-
*
|
|
377
|
-
* Generally, properties that are changed by the element should be private or
|
|
378
|
-
* protected fields and should use the `state: true` option. Properties
|
|
379
|
-
* marked as `state` do not reflect from the corresponding attribute
|
|
380
|
-
*
|
|
381
|
-
* However, sometimes element code does need to set a public property. This
|
|
382
|
-
* should typically only be done in response to user interaction, and an event
|
|
383
|
-
* should be fired informing the user; for example, a checkbox sets its
|
|
384
|
-
* `checked` property when clicked and fires a `changed` event. Mutating
|
|
385
|
-
* public properties should typically not be done for non-primitive (object or
|
|
386
|
-
* array) properties. In other cases when an element needs to manage state, a
|
|
387
|
-
* private property set with the `state: true` option should be used. When
|
|
388
|
-
* needed, state properties can be initialized via public properties to
|
|
389
|
-
* facilitate complex interactions.
|
|
390
|
-
* @nocollapse
|
|
391
|
-
* @category properties
|
|
392
|
-
*/
|
|
393
|
-
static properties: PropertyDeclarations;
|
|
394
|
-
/**
|
|
395
|
-
* Memoized list of all element styles.
|
|
396
|
-
* Created lazily on user subclasses when finalizing the class.
|
|
397
|
-
* @nocollapse
|
|
398
|
-
* @category styles
|
|
399
|
-
*/
|
|
400
|
-
static elementStyles: Array<CSSResultOrNative>;
|
|
401
|
-
/**
|
|
402
|
-
* Array of styles to apply to the element. The styles should be defined
|
|
403
|
-
* using the {@linkcode css} tag function, via constructible stylesheets, or
|
|
404
|
-
* imported from native CSS module scripts.
|
|
405
|
-
*
|
|
406
|
-
* Note on Content Security Policy:
|
|
407
|
-
*
|
|
408
|
-
* Element styles are implemented with `<style>` tags when the browser doesn't
|
|
409
|
-
* support adopted StyleSheets. To use such `<style>` tags with the style-src
|
|
410
|
-
* CSP directive, the style-src value must either include 'unsafe-inline' or
|
|
411
|
-
* `nonce-<base64-value>` with `<base64-value>` replaced be a server-generated
|
|
412
|
-
* nonce.
|
|
413
|
-
*
|
|
414
|
-
* To provide a nonce to use on generated `<style>` elements, set
|
|
415
|
-
* `window.litNonce` to a server-generated nonce in your page's HTML, before
|
|
416
|
-
* loading application code:
|
|
417
|
-
*
|
|
418
|
-
* ```html
|
|
419
|
-
* <script>
|
|
420
|
-
* // Generated and unique per request:
|
|
421
|
-
* window.litNonce = 'a1b2c3d4';
|
|
422
|
-
* </script>
|
|
423
|
-
* ```
|
|
424
|
-
* @nocollapse
|
|
425
|
-
* @category styles
|
|
426
|
-
*/
|
|
427
|
-
static styles?: CSSResultGroup;
|
|
428
|
-
/**
|
|
429
|
-
* Returns a list of attributes corresponding to the registered properties.
|
|
430
|
-
* @nocollapse
|
|
431
|
-
* @category attributes
|
|
432
|
-
*/
|
|
433
|
-
static get observedAttributes(): string[];
|
|
434
|
-
private __instanceProperties?;
|
|
435
|
-
/**
|
|
436
|
-
* Creates a property accessor on the element prototype if one does not exist
|
|
437
|
-
* and stores a {@linkcode PropertyDeclaration} for the property with the
|
|
438
|
-
* given options. The property setter calls the property's `hasChanged`
|
|
439
|
-
* property option or uses a strict identity check to determine whether or not
|
|
440
|
-
* to request an update.
|
|
441
|
-
*
|
|
442
|
-
* This method may be overridden to customize properties; however,
|
|
443
|
-
* when doing so, it's important to call `super.createProperty` to ensure
|
|
444
|
-
* the property is setup correctly. This method calls
|
|
445
|
-
* `getPropertyDescriptor` internally to get a descriptor to install.
|
|
446
|
-
* To customize what properties do when they are get or set, override
|
|
447
|
-
* `getPropertyDescriptor`. To customize the options for a property,
|
|
448
|
-
* implement `createProperty` like this:
|
|
449
|
-
*
|
|
450
|
-
* ```ts
|
|
451
|
-
* static createProperty(name, options) {
|
|
452
|
-
* options = Object.assign(options, {myOption: true});
|
|
453
|
-
* super.createProperty(name, options);
|
|
454
|
-
* }
|
|
455
|
-
* ```
|
|
456
|
-
*
|
|
457
|
-
* @nocollapse
|
|
458
|
-
* @category properties
|
|
459
|
-
*/
|
|
460
|
-
static createProperty(name: PropertyKey, options?: PropertyDeclaration): void;
|
|
461
|
-
/**
|
|
462
|
-
* Returns a property descriptor to be defined on the given named property.
|
|
463
|
-
* If no descriptor is returned, the property will not become an accessor.
|
|
464
|
-
* For example,
|
|
465
|
-
*
|
|
466
|
-
* ```ts
|
|
467
|
-
* class MyElement extends LitElement {
|
|
468
|
-
* static getPropertyDescriptor(name, key, options) {
|
|
469
|
-
* const defaultDescriptor =
|
|
470
|
-
* super.getPropertyDescriptor(name, key, options);
|
|
471
|
-
* const setter = defaultDescriptor.set;
|
|
472
|
-
* return {
|
|
473
|
-
* get: defaultDescriptor.get,
|
|
474
|
-
* set(value) {
|
|
475
|
-
* setter.call(this, value);
|
|
476
|
-
* // custom action.
|
|
477
|
-
* },
|
|
478
|
-
* configurable: true,
|
|
479
|
-
* enumerable: true
|
|
480
|
-
* }
|
|
481
|
-
* }
|
|
482
|
-
* }
|
|
483
|
-
* ```
|
|
484
|
-
*
|
|
485
|
-
* @nocollapse
|
|
486
|
-
* @category properties
|
|
487
|
-
*/
|
|
488
|
-
protected static getPropertyDescriptor(name: PropertyKey, key: string | symbol, options: PropertyDeclaration): PropertyDescriptor | undefined;
|
|
489
|
-
/**
|
|
490
|
-
* Returns the property options associated with the given property.
|
|
491
|
-
* These options are defined with a `PropertyDeclaration` via the `properties`
|
|
492
|
-
* object or the `@property` decorator and are registered in
|
|
493
|
-
* `createProperty(...)`.
|
|
494
|
-
*
|
|
495
|
-
* Note, this method should be considered "final" and not overridden. To
|
|
496
|
-
* customize the options for a given property, override
|
|
497
|
-
* {@linkcode createProperty}.
|
|
498
|
-
*
|
|
499
|
-
* @nocollapse
|
|
500
|
-
* @final
|
|
501
|
-
* @category properties
|
|
502
|
-
*/
|
|
503
|
-
static getPropertyOptions(name: PropertyKey): PropertyDeclaration<unknown, unknown>;
|
|
504
|
-
static [Symbol.metadata]: object & Record<PropertyKey, unknown>;
|
|
505
|
-
/**
|
|
506
|
-
* Initializes static own properties of the class used in bookkeeping
|
|
507
|
-
* for element properties, initializers, etc.
|
|
508
|
-
*
|
|
509
|
-
* Can be called multiple times by code that needs to ensure these
|
|
510
|
-
* properties exist before using them.
|
|
511
|
-
*
|
|
512
|
-
* This method ensures the superclass is finalized so that inherited
|
|
513
|
-
* property metadata can be copied down.
|
|
514
|
-
* @nocollapse
|
|
515
|
-
*/
|
|
516
|
-
private static __prepare;
|
|
517
|
-
/**
|
|
518
|
-
* Finishes setting up the class so that it's ready to be registered
|
|
519
|
-
* as a custom element and instantiated.
|
|
520
|
-
*
|
|
521
|
-
* This method is called by the ReactiveElement.observedAttributes getter.
|
|
522
|
-
* If you override the observedAttributes getter, you must either call
|
|
523
|
-
* super.observedAttributes to trigger finalization, or call finalize()
|
|
524
|
-
* yourself.
|
|
525
|
-
*
|
|
526
|
-
* @nocollapse
|
|
527
|
-
*/
|
|
528
|
-
protected static finalize(): void;
|
|
529
|
-
/**
|
|
530
|
-
* Options used when calling `attachShadow`. Set this property to customize
|
|
531
|
-
* the options for the shadowRoot; for example, to create a closed
|
|
532
|
-
* shadowRoot: `{mode: 'closed'}`.
|
|
533
|
-
*
|
|
534
|
-
* Note, these options are used in `createRenderRoot`. If this method
|
|
535
|
-
* is customized, options should be respected if possible.
|
|
536
|
-
* @nocollapse
|
|
537
|
-
* @category rendering
|
|
538
|
-
*/
|
|
539
|
-
static shadowRootOptions: ShadowRootInit;
|
|
540
|
-
/**
|
|
541
|
-
* Takes the styles the user supplied via the `static styles` property and
|
|
542
|
-
* returns the array of styles to apply to the element.
|
|
543
|
-
* Override this method to integrate into a style management system.
|
|
544
|
-
*
|
|
545
|
-
* Styles are deduplicated preserving the _last_ instance in the list. This
|
|
546
|
-
* is a performance optimization to avoid duplicated styles that can occur
|
|
547
|
-
* especially when composing via subclassing. The last item is kept to try
|
|
548
|
-
* to preserve the cascade order with the assumption that it's most important
|
|
549
|
-
* that last added styles override previous styles.
|
|
550
|
-
*
|
|
551
|
-
* @nocollapse
|
|
552
|
-
* @category styles
|
|
553
|
-
*/
|
|
554
|
-
protected static finalizeStyles(styles?: CSSResultGroup): Array<CSSResultOrNative>;
|
|
555
|
-
/**
|
|
556
|
-
* Node or ShadowRoot into which element DOM should be rendered. Defaults
|
|
557
|
-
* to an open shadowRoot.
|
|
558
|
-
* @category rendering
|
|
559
|
-
*/
|
|
560
|
-
readonly renderRoot: HTMLElement | DocumentFragment;
|
|
561
|
-
/**
|
|
562
|
-
* Returns the property name for the given attribute `name`.
|
|
563
|
-
* @nocollapse
|
|
564
|
-
*/
|
|
565
|
-
private static __attributeNameForProperty;
|
|
566
|
-
private __updatePromise;
|
|
567
|
-
/**
|
|
568
|
-
* True if there is a pending update as a result of calling `requestUpdate()`.
|
|
569
|
-
* Should only be read.
|
|
570
|
-
* @category updates
|
|
571
|
-
*/
|
|
572
|
-
isUpdatePending: boolean;
|
|
573
|
-
/**
|
|
574
|
-
* Is set to `true` after the first update. The element code cannot assume
|
|
575
|
-
* that `renderRoot` exists before the element `hasUpdated`.
|
|
576
|
-
* @category updates
|
|
577
|
-
*/
|
|
578
|
-
hasUpdated: boolean;
|
|
579
|
-
/**
|
|
580
|
-
* Records property default values when the
|
|
581
|
-
* `useDefault` option is used.
|
|
582
|
-
*/
|
|
583
|
-
private __defaultValues?;
|
|
584
|
-
/**
|
|
585
|
-
* Properties that should be reflected when updated.
|
|
586
|
-
*/
|
|
587
|
-
private __reflectingProperties?;
|
|
588
|
-
/**
|
|
589
|
-
* Name of currently reflecting property
|
|
590
|
-
*/
|
|
591
|
-
private __reflectingProperty;
|
|
592
|
-
/**
|
|
593
|
-
* Set of controllers.
|
|
594
|
-
*/
|
|
595
|
-
private __controllers?;
|
|
596
|
-
constructor();
|
|
597
|
-
/**
|
|
598
|
-
* Internal only override point for customizing work done when elements
|
|
599
|
-
* are constructed.
|
|
600
|
-
*/
|
|
601
|
-
private __initialize;
|
|
602
|
-
/**
|
|
603
|
-
* Registers a `ReactiveController` to participate in the element's reactive
|
|
604
|
-
* update cycle. The element automatically calls into any registered
|
|
605
|
-
* controllers during its lifecycle callbacks.
|
|
606
|
-
*
|
|
607
|
-
* If the element is connected when `addController()` is called, the
|
|
608
|
-
* controller's `hostConnected()` callback will be immediately called.
|
|
609
|
-
* @category controllers
|
|
610
|
-
*/
|
|
611
|
-
addController(controller: ReactiveController): void;
|
|
612
|
-
/**
|
|
613
|
-
* Removes a `ReactiveController` from the element.
|
|
614
|
-
* @category controllers
|
|
615
|
-
*/
|
|
616
|
-
removeController(controller: ReactiveController): void;
|
|
617
|
-
/**
|
|
618
|
-
* Fixes any properties set on the instance before upgrade time.
|
|
619
|
-
* Otherwise these would shadow the accessor and break these properties.
|
|
620
|
-
* The properties are stored in a Map which is played back after the
|
|
621
|
-
* constructor runs.
|
|
622
|
-
*/
|
|
623
|
-
private __saveInstanceProperties;
|
|
624
|
-
/**
|
|
625
|
-
* Returns the node into which the element should render and by default
|
|
626
|
-
* creates and returns an open shadowRoot. Implement to customize where the
|
|
627
|
-
* element's DOM is rendered. For example, to render into the element's
|
|
628
|
-
* childNodes, return `this`.
|
|
629
|
-
*
|
|
630
|
-
* @return Returns a node into which to render.
|
|
631
|
-
* @category rendering
|
|
632
|
-
*/
|
|
633
|
-
protected createRenderRoot(): HTMLElement | DocumentFragment;
|
|
634
|
-
/**
|
|
635
|
-
* On first connection, creates the element's renderRoot, sets up
|
|
636
|
-
* element styling, and enables updating.
|
|
637
|
-
* @category lifecycle
|
|
638
|
-
*/
|
|
639
|
-
connectedCallback(): void;
|
|
640
|
-
/**
|
|
641
|
-
* Note, this method should be considered final and not overridden. It is
|
|
642
|
-
* overridden on the element instance with a function that triggers the first
|
|
643
|
-
* update.
|
|
644
|
-
* @category updates
|
|
645
|
-
*/
|
|
646
|
-
protected enableUpdating(_requestedUpdate: boolean): void;
|
|
647
|
-
/**
|
|
648
|
-
* Allows for `super.disconnectedCallback()` in extensions while
|
|
649
|
-
* reserving the possibility of making non-breaking feature additions
|
|
650
|
-
* when disconnecting at some point in the future.
|
|
651
|
-
* @category lifecycle
|
|
652
|
-
*/
|
|
653
|
-
disconnectedCallback(): void;
|
|
654
|
-
/**
|
|
655
|
-
* Synchronizes property values when attributes change.
|
|
656
|
-
*
|
|
657
|
-
* Specifically, when an attribute is set, the corresponding property is set.
|
|
658
|
-
* You should rarely need to implement this callback. If this method is
|
|
659
|
-
* overridden, `super.attributeChangedCallback(name, _old, value)` must be
|
|
660
|
-
* called.
|
|
661
|
-
*
|
|
662
|
-
* See [responding to attribute changes](https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_custom_elements#responding_to_attribute_changes)
|
|
663
|
-
* on MDN for more information about the `attributeChangedCallback`.
|
|
664
|
-
* @category attributes
|
|
665
|
-
*/
|
|
666
|
-
attributeChangedCallback(name: string, _old: string | null, value: string | null): void;
|
|
667
|
-
private __propertyToAttribute;
|
|
668
|
-
/**
|
|
669
|
-
* Requests an update which is processed asynchronously. This should be called
|
|
670
|
-
* when an element should update based on some state not triggered by setting
|
|
671
|
-
* a reactive property. In this case, pass no arguments. It should also be
|
|
672
|
-
* called when manually implementing a property setter. In this case, pass the
|
|
673
|
-
* property `name` and `oldValue` to ensure that any configured property
|
|
674
|
-
* options are honored.
|
|
675
|
-
*
|
|
676
|
-
* @param name name of requesting property
|
|
677
|
-
* @param oldValue old value of requesting property
|
|
678
|
-
* @param options property options to use instead of the previously
|
|
679
|
-
* configured options
|
|
680
|
-
* @param useNewValue if true, the newValue argument is used instead of
|
|
681
|
-
* reading the property value. This is important to use if the reactive
|
|
682
|
-
* property is a standard private accessor, as opposed to a plain
|
|
683
|
-
* property, since private members can't be dynamically read by name.
|
|
684
|
-
* @param newValue the new value of the property. This is only used if
|
|
685
|
-
* `useNewValue` is true.
|
|
686
|
-
* @category updates
|
|
687
|
-
*/
|
|
688
|
-
requestUpdate(name?: PropertyKey, oldValue?: unknown, options?: PropertyDeclaration, useNewValue?: boolean, newValue?: unknown): void;
|
|
689
|
-
/**
|
|
690
|
-
* Sets up the element to asynchronously update.
|
|
691
|
-
*/
|
|
692
|
-
private __enqueueUpdate;
|
|
693
|
-
/**
|
|
694
|
-
* Schedules an element update. You can override this method to change the
|
|
695
|
-
* timing of updates by returning a Promise. The update will await the
|
|
696
|
-
* returned Promise, and you should resolve the Promise to allow the update
|
|
697
|
-
* to proceed. If this method is overridden, `super.scheduleUpdate()`
|
|
698
|
-
* must be called.
|
|
699
|
-
*
|
|
700
|
-
* For instance, to schedule updates to occur just before the next frame:
|
|
701
|
-
*
|
|
702
|
-
* ```ts
|
|
703
|
-
* override protected async scheduleUpdate(): Promise<unknown> {
|
|
704
|
-
* await new Promise((resolve) => requestAnimationFrame(() => resolve()));
|
|
705
|
-
* super.scheduleUpdate();
|
|
706
|
-
* }
|
|
707
|
-
* ```
|
|
708
|
-
* @category updates
|
|
709
|
-
*/
|
|
710
|
-
protected scheduleUpdate(): void | Promise<unknown>;
|
|
711
|
-
/**
|
|
712
|
-
* Performs an element update. Note, if an exception is thrown during the
|
|
713
|
-
* update, `firstUpdated` and `updated` will not be called.
|
|
714
|
-
*
|
|
715
|
-
* Call `performUpdate()` to immediately process a pending update. This should
|
|
716
|
-
* generally not be needed, but it can be done in rare cases when you need to
|
|
717
|
-
* update synchronously.
|
|
718
|
-
*
|
|
719
|
-
* @category updates
|
|
720
|
-
*/
|
|
721
|
-
protected performUpdate(): void;
|
|
722
|
-
/**
|
|
723
|
-
* Invoked before `update()` to compute values needed during the update.
|
|
724
|
-
*
|
|
725
|
-
* Implement `willUpdate` to compute property values that depend on other
|
|
726
|
-
* properties and are used in the rest of the update process.
|
|
727
|
-
*
|
|
728
|
-
* ```ts
|
|
729
|
-
* willUpdate(changedProperties) {
|
|
730
|
-
* // only need to check changed properties for an expensive computation.
|
|
731
|
-
* if (changedProperties.has('firstName') || changedProperties.has('lastName')) {
|
|
732
|
-
* this.sha = computeSHA(`${this.firstName} ${this.lastName}`);
|
|
733
|
-
* }
|
|
734
|
-
* }
|
|
735
|
-
*
|
|
736
|
-
* render() {
|
|
737
|
-
* return html`SHA: ${this.sha}`;
|
|
738
|
-
* }
|
|
739
|
-
* ```
|
|
740
|
-
*
|
|
741
|
-
* @category updates
|
|
742
|
-
*/
|
|
743
|
-
protected willUpdate(_changedProperties: PropertyValues): void;
|
|
744
|
-
private __markUpdated;
|
|
745
|
-
/**
|
|
746
|
-
* Returns a Promise that resolves when the element has completed updating.
|
|
747
|
-
* The Promise value is a boolean that is `true` if the element completed the
|
|
748
|
-
* update without triggering another update. The Promise result is `false` if
|
|
749
|
-
* a property was set inside `updated()`. If the Promise is rejected, an
|
|
750
|
-
* exception was thrown during the update.
|
|
751
|
-
*
|
|
752
|
-
* To await additional asynchronous work, override the `getUpdateComplete`
|
|
753
|
-
* method. For example, it is sometimes useful to await a rendered element
|
|
754
|
-
* before fulfilling this Promise. To do this, first await
|
|
755
|
-
* `super.getUpdateComplete()`, then any subsequent state.
|
|
756
|
-
*
|
|
757
|
-
* @return A promise of a boolean that resolves to true if the update completed
|
|
758
|
-
* without triggering another update.
|
|
759
|
-
* @category updates
|
|
760
|
-
*/
|
|
761
|
-
get updateComplete(): Promise<boolean>;
|
|
762
|
-
/**
|
|
763
|
-
* Override point for the `updateComplete` promise.
|
|
764
|
-
*
|
|
765
|
-
* It is not safe to override the `updateComplete` getter directly due to a
|
|
766
|
-
* limitation in TypeScript which means it is not possible to call a
|
|
767
|
-
* superclass getter (e.g. `super.updateComplete.then(...)`) when the target
|
|
768
|
-
* language is ES5 (https://github.com/microsoft/TypeScript/issues/338).
|
|
769
|
-
* This method should be overridden instead. For example:
|
|
770
|
-
*
|
|
771
|
-
* ```ts
|
|
772
|
-
* class MyElement extends LitElement {
|
|
773
|
-
* override async getUpdateComplete() {
|
|
774
|
-
* const result = await super.getUpdateComplete();
|
|
775
|
-
* await this._myChild.updateComplete;
|
|
776
|
-
* return result;
|
|
777
|
-
* }
|
|
778
|
-
* }
|
|
779
|
-
* ```
|
|
780
|
-
*
|
|
781
|
-
* @return A promise of a boolean that resolves to true if the update completed
|
|
782
|
-
* without triggering another update.
|
|
783
|
-
* @category updates
|
|
784
|
-
*/
|
|
785
|
-
protected getUpdateComplete(): Promise<boolean>;
|
|
786
|
-
/**
|
|
787
|
-
* Controls whether or not `update()` should be called when the element requests
|
|
788
|
-
* an update. By default, this method always returns `true`, but this can be
|
|
789
|
-
* customized to control when to update.
|
|
790
|
-
*
|
|
791
|
-
* @param _changedProperties Map of changed properties with old values
|
|
792
|
-
* @category updates
|
|
793
|
-
*/
|
|
794
|
-
protected shouldUpdate(_changedProperties: PropertyValues): boolean;
|
|
795
|
-
/**
|
|
796
|
-
* Updates the element. This method reflects property values to attributes.
|
|
797
|
-
* It can be overridden to render and keep updated element DOM.
|
|
798
|
-
* Setting properties inside this method will *not* trigger
|
|
799
|
-
* another update.
|
|
800
|
-
*
|
|
801
|
-
* @param _changedProperties Map of changed properties with old values
|
|
802
|
-
* @category updates
|
|
803
|
-
*/
|
|
804
|
-
protected update(_changedProperties: PropertyValues): void;
|
|
805
|
-
/**
|
|
806
|
-
* Invoked whenever the element is updated. Implement to perform
|
|
807
|
-
* post-updating tasks via DOM APIs, for example, focusing an element.
|
|
808
|
-
*
|
|
809
|
-
* Setting properties inside this method will trigger the element to update
|
|
810
|
-
* again after this update cycle completes.
|
|
811
|
-
*
|
|
812
|
-
* @param _changedProperties Map of changed properties with old values
|
|
813
|
-
* @category updates
|
|
814
|
-
*/
|
|
815
|
-
protected updated(_changedProperties: PropertyValues): void;
|
|
816
|
-
/**
|
|
817
|
-
* Invoked when the element is first updated. Implement to perform one time
|
|
818
|
-
* work on the element after update.
|
|
819
|
-
*
|
|
820
|
-
* ```ts
|
|
821
|
-
* firstUpdated() {
|
|
822
|
-
* this.renderRoot.getElementById('my-text-area').focus();
|
|
823
|
-
* }
|
|
824
|
-
* ```
|
|
825
|
-
*
|
|
826
|
-
* Setting properties inside this method will trigger the element to update
|
|
827
|
-
* again after this update cycle completes.
|
|
828
|
-
*
|
|
829
|
-
* @param _changedProperties Map of changed properties with old values
|
|
830
|
-
* @category updates
|
|
831
|
-
*/
|
|
832
|
-
protected firstUpdated(_changedProperties: PropertyValues): void;
|
|
833
|
-
}
|
|
834
|
-
//#endregion
|
|
835
|
-
//#region node_modules/.pnpm/lit-html@3.3.3/node_modules/lit-html/development/lit-html.d.ts
|
|
836
|
-
/** TemplateResult types */
|
|
837
|
-
declare const HTML_RESULT = 1;
|
|
838
|
-
declare const SVG_RESULT = 2;
|
|
839
|
-
declare const MATHML_RESULT = 3;
|
|
840
|
-
type ResultType = typeof HTML_RESULT | typeof SVG_RESULT | typeof MATHML_RESULT;
|
|
841
|
-
/**
|
|
842
|
-
* The return type of the template tag functions, {@linkcode html} and
|
|
843
|
-
* {@linkcode svg} when it hasn't been compiled by @lit-labs/compiler.
|
|
844
|
-
*
|
|
845
|
-
* A `TemplateResult` object holds all the information about a template
|
|
846
|
-
* expression required to render it: the template strings, expression values,
|
|
847
|
-
* and type of template (html or svg).
|
|
848
|
-
*
|
|
849
|
-
* `TemplateResult` objects do not create any DOM on their own. To create or
|
|
850
|
-
* update DOM you need to render the `TemplateResult`. See
|
|
851
|
-
* [Rendering](https://lit.dev/docs/components/rendering) for more information.
|
|
852
|
-
*
|
|
853
|
-
*/
|
|
854
|
-
type UncompiledTemplateResult<T extends ResultType = ResultType> = {
|
|
855
|
-
['_$litType$']: T;
|
|
856
|
-
strings: TemplateStringsArray;
|
|
857
|
-
values: unknown[];
|
|
858
|
-
};
|
|
859
|
-
/**
|
|
860
|
-
* The return type of the template tag functions, {@linkcode html} and
|
|
861
|
-
* {@linkcode svg}.
|
|
862
|
-
*
|
|
863
|
-
* A `TemplateResult` object holds all the information about a template
|
|
864
|
-
* expression required to render it: the template strings, expression values,
|
|
865
|
-
* and type of template (html or svg).
|
|
866
|
-
*
|
|
867
|
-
* `TemplateResult` objects do not create any DOM on their own. To create or
|
|
868
|
-
* update DOM you need to render the `TemplateResult`. See
|
|
869
|
-
* [Rendering](https://lit.dev/docs/components/rendering) for more information.
|
|
870
|
-
*
|
|
871
|
-
* In Lit 4, this type will be an alias of
|
|
872
|
-
* MaybeCompiledTemplateResult, so that code will get type errors if it assumes
|
|
873
|
-
* that Lit templates are not compiled. When deliberately working with only
|
|
874
|
-
* one, use either {@linkcode CompiledTemplateResult} or
|
|
875
|
-
* {@linkcode UncompiledTemplateResult} explicitly.
|
|
876
|
-
*/
|
|
877
|
-
type TemplateResult<T extends ResultType = ResultType> = UncompiledTemplateResult<T>;
|
|
878
|
-
/**
|
|
879
|
-
* Interprets a template literal as an HTML template that can efficiently
|
|
880
|
-
* render to and update a container.
|
|
881
|
-
*
|
|
882
|
-
* ```ts
|
|
883
|
-
* const header = (title: string) => html`<h1>${title}</h1>`;
|
|
884
|
-
* ```
|
|
885
|
-
*
|
|
886
|
-
* The `html` tag returns a description of the DOM to render as a value. It is
|
|
887
|
-
* lazy, meaning no work is done until the template is rendered. When rendering,
|
|
888
|
-
* if a template comes from the same expression as a previously rendered result,
|
|
889
|
-
* it's efficiently updated instead of replaced.
|
|
890
|
-
*/
|
|
891
|
-
declare const html: (strings: TemplateStringsArray, ...values: unknown[]) => TemplateResult<1>;
|
|
892
|
-
/**
|
|
893
|
-
* A sentinel value that signals a ChildPart to fully clear its content.
|
|
894
|
-
*
|
|
895
|
-
* ```ts
|
|
896
|
-
* const button = html`${
|
|
897
|
-
* user.isAdmin
|
|
898
|
-
* ? html`<button>DELETE</button>`
|
|
899
|
-
* : nothing
|
|
900
|
-
* }`;
|
|
901
|
-
* ```
|
|
902
|
-
*
|
|
903
|
-
* Prefer using `nothing` over other falsy values as it provides a consistent
|
|
904
|
-
* behavior between various expression binding contexts.
|
|
905
|
-
*
|
|
906
|
-
* In child expressions, `undefined`, `null`, `''`, and `nothing` all behave the
|
|
907
|
-
* same and render no nodes. In attribute expressions, `nothing` _removes_ the
|
|
908
|
-
* attribute, while `undefined` and `null` will render an empty string. In
|
|
909
|
-
* property expressions `nothing` becomes `undefined`.
|
|
910
|
-
*/
|
|
911
|
-
declare const nothing: unique symbol;
|
|
912
|
-
/**
|
|
913
|
-
* Object specifying options for controlling lit-html rendering. Note that
|
|
914
|
-
* while `render` may be called multiple times on the same `container` (and
|
|
915
|
-
* `renderBefore` reference node) to efficiently update the rendered content,
|
|
916
|
-
* only the options passed in during the first render are respected during
|
|
917
|
-
* the lifetime of renders to that unique `container` + `renderBefore`
|
|
918
|
-
* combination.
|
|
919
|
-
*/
|
|
920
|
-
interface RenderOptions {
|
|
921
|
-
/**
|
|
922
|
-
* An object to use as the `this` value for event listeners. It's often
|
|
923
|
-
* useful to set this to the host component rendering a template.
|
|
924
|
-
*/
|
|
925
|
-
host?: object;
|
|
926
|
-
/**
|
|
927
|
-
* A DOM node before which to render content in the container.
|
|
928
|
-
*/
|
|
929
|
-
renderBefore?: ChildNode | null;
|
|
930
|
-
/**
|
|
931
|
-
* Node used for cloning the template (`importNode` will be called on this
|
|
932
|
-
* node). This controls the `ownerDocument` of the rendered DOM, along with
|
|
933
|
-
* any inherited context. Defaults to the global `document`.
|
|
934
|
-
*/
|
|
935
|
-
creationScope?: {
|
|
936
|
-
importNode(node: Node, deep?: boolean): Node;
|
|
937
|
-
};
|
|
938
|
-
/**
|
|
939
|
-
* The initial connected state for the top-level part being rendered. If no
|
|
940
|
-
* `isConnected` option is set, `AsyncDirective`s will be connected by
|
|
941
|
-
* default. Set to `false` if the initial render occurs in a disconnected tree
|
|
942
|
-
* and `AsyncDirective`s should see `isConnected === false` for their initial
|
|
943
|
-
* render. The `part.setConnected()` method must be used subsequent to initial
|
|
944
|
-
* render to change the connected state of the part.
|
|
945
|
-
*/
|
|
946
|
-
isConnected?: boolean;
|
|
947
|
-
}
|
|
948
|
-
//#endregion
|
|
949
|
-
//#region node_modules/.pnpm/lit-element@4.2.2/node_modules/lit-element/development/lit-element.d.ts
|
|
950
|
-
/**
|
|
951
|
-
* Base element class that manages element properties and attributes, and
|
|
952
|
-
* renders a lit-html template.
|
|
953
|
-
*
|
|
954
|
-
* To define a component, subclass `LitElement` and implement a
|
|
955
|
-
* `render` method to provide the component's template. Define properties
|
|
956
|
-
* using the {@linkcode LitElement.properties properties} property or the
|
|
957
|
-
* {@linkcode property} decorator.
|
|
958
|
-
*/
|
|
959
|
-
declare class LitElement extends ReactiveElement {
|
|
960
|
-
static ['_$litElement$']: boolean;
|
|
961
|
-
/**
|
|
962
|
-
* @category rendering
|
|
963
|
-
*/
|
|
964
|
-
readonly renderOptions: RenderOptions;
|
|
965
|
-
private __childPart;
|
|
966
|
-
/**
|
|
967
|
-
* @category rendering
|
|
968
|
-
*/
|
|
969
|
-
protected createRenderRoot(): HTMLElement | DocumentFragment;
|
|
970
|
-
/**
|
|
971
|
-
* Updates the element. This method reflects property values to attributes
|
|
972
|
-
* and calls `render` to render DOM via lit-html. Setting properties inside
|
|
973
|
-
* this method will *not* trigger another update.
|
|
974
|
-
* @param changedProperties Map of changed properties with old values
|
|
975
|
-
* @category updates
|
|
976
|
-
*/
|
|
977
|
-
protected update(changedProperties: PropertyValues): void;
|
|
978
|
-
/**
|
|
979
|
-
* Invoked when the component is added to the document's DOM.
|
|
980
|
-
*
|
|
981
|
-
* In `connectedCallback()` you should setup tasks that should only occur when
|
|
982
|
-
* the element is connected to the document. The most common of these is
|
|
983
|
-
* adding event listeners to nodes external to the element, like a keydown
|
|
984
|
-
* event handler added to the window.
|
|
985
|
-
*
|
|
986
|
-
* ```ts
|
|
987
|
-
* connectedCallback() {
|
|
988
|
-
* super.connectedCallback();
|
|
989
|
-
* addEventListener('keydown', this._handleKeydown);
|
|
990
|
-
* }
|
|
991
|
-
* ```
|
|
992
|
-
*
|
|
993
|
-
* Typically, anything done in `connectedCallback()` should be undone when the
|
|
994
|
-
* element is disconnected, in `disconnectedCallback()`.
|
|
995
|
-
*
|
|
996
|
-
* @category lifecycle
|
|
997
|
-
*/
|
|
998
|
-
connectedCallback(): void;
|
|
999
|
-
/**
|
|
1000
|
-
* Invoked when the component is removed from the document's DOM.
|
|
1001
|
-
*
|
|
1002
|
-
* This callback is the main signal to the element that it may no longer be
|
|
1003
|
-
* used. `disconnectedCallback()` should ensure that nothing is holding a
|
|
1004
|
-
* reference to the element (such as event listeners added to nodes external
|
|
1005
|
-
* to the element), so that it is free to be garbage collected.
|
|
1006
|
-
*
|
|
1007
|
-
* ```ts
|
|
1008
|
-
* disconnectedCallback() {
|
|
1009
|
-
* super.disconnectedCallback();
|
|
1010
|
-
* window.removeEventListener('keydown', this._handleKeydown);
|
|
1011
|
-
* }
|
|
1012
|
-
* ```
|
|
1013
|
-
*
|
|
1014
|
-
* An element may be re-connected after being disconnected.
|
|
1015
|
-
*
|
|
1016
|
-
* @category lifecycle
|
|
1017
|
-
*/
|
|
1018
|
-
disconnectedCallback(): void;
|
|
1019
|
-
/**
|
|
1020
|
-
* Invoked on each update to perform rendering tasks. This method may return
|
|
1021
|
-
* any value renderable by lit-html's `ChildPart` - typically a
|
|
1022
|
-
* `TemplateResult`. Setting properties inside this method will *not* trigger
|
|
1023
|
-
* the element to update.
|
|
1024
|
-
* @category rendering
|
|
1025
|
-
*/
|
|
1026
|
-
protected render(): unknown;
|
|
1027
|
-
}
|
|
1028
|
-
//#endregion
|
|
1029
7
|
//#region src/icons/icon.d.ts
|
|
1030
8
|
declare class IxfxIconElement extends LitElement {
|
|
1031
9
|
#private;
|
|
@@ -1036,9 +14,9 @@ declare class IxfxIconElement extends LitElement {
|
|
|
1036
14
|
rotate: string;
|
|
1037
15
|
connectedCallback(): void;
|
|
1038
16
|
disconnectedCallback(): void;
|
|
1039
|
-
protected render(): typeof nothing
|
|
17
|
+
protected render(): import("lit").TemplateResult<1> | typeof nothing;
|
|
1040
18
|
protected updated(changed: Map<string, unknown>): void;
|
|
1041
|
-
static styles: CSSResult[];
|
|
19
|
+
static styles: import("lit").CSSResult[];
|
|
1042
20
|
}
|
|
1043
21
|
declare global {
|
|
1044
22
|
interface HTMLElementTagNameMap {
|
|
@@ -1137,8 +115,8 @@ declare class AcTextElement extends LitElement {
|
|
|
1137
115
|
focus(options?: FocusOptions, selectionStart?: number, selectionEnd?: number): void;
|
|
1138
116
|
focusWithValue(value: string, selectionStart?: number, selectionEnd?: number): void;
|
|
1139
117
|
selectRange(start: number, end?: number): void;
|
|
1140
|
-
protected render(): TemplateResult<1>;
|
|
1141
|
-
static styles: CSSResult[];
|
|
118
|
+
protected render(): import("lit").TemplateResult<1>;
|
|
119
|
+
static styles: import("lit").CSSResult[];
|
|
1142
120
|
}
|
|
1143
121
|
declare global {
|
|
1144
122
|
interface HTMLElementTagNameMap {
|
|
@@ -1295,8 +273,8 @@ declare class AcTokenElement extends LitElement {
|
|
|
1295
273
|
connectedCallback(): void;
|
|
1296
274
|
disconnectedCallback(): void;
|
|
1297
275
|
protected updated(changedProps: PropertyValues): void;
|
|
1298
|
-
protected render(): TemplateResult<1>;
|
|
1299
|
-
static styles: CSSResult[];
|
|
276
|
+
protected render(): import("lit").TemplateResult<1>;
|
|
277
|
+
static styles: import("lit").CSSResult[];
|
|
1300
278
|
}
|
|
1301
279
|
declare global {
|
|
1302
280
|
interface HTMLElementTagNameMap {
|
|
@@ -1345,8 +323,8 @@ declare class TitlebarElement extends LitElement {
|
|
|
1345
323
|
private _onToggleClick;
|
|
1346
324
|
private _onCloseClick;
|
|
1347
325
|
private _getCaretIcon;
|
|
1348
|
-
protected render(): TemplateResult<1>;
|
|
1349
|
-
static styles: CSSResult[];
|
|
326
|
+
protected render(): import("lit").TemplateResult<1>;
|
|
327
|
+
static styles: import("lit").CSSResult[];
|
|
1350
328
|
}
|
|
1351
329
|
declare global {
|
|
1352
330
|
interface HTMLElementTagNameMap {
|
|
@@ -1373,7 +351,7 @@ type BottomDrawerCommand = `expand` | `collapse` | `toggle`;
|
|
|
1373
351
|
declare function bottomDrawerCommandId(name: string, command: BottomDrawerCommand): string;
|
|
1374
352
|
declare class BottomDrawerElement extends LitElement {
|
|
1375
353
|
#private;
|
|
1376
|
-
static styles: CSSResult[];
|
|
354
|
+
static styles: import("lit").CSSResult[];
|
|
1377
355
|
open: boolean;
|
|
1378
356
|
height: number;
|
|
1379
357
|
minHeight: number;
|
|
@@ -1450,9 +428,9 @@ declare class ButtonElement extends LitElement {
|
|
|
1450
428
|
* attribute).
|
|
1451
429
|
*/
|
|
1452
430
|
value: boolean;
|
|
1453
|
-
protected _renderIcon(): typeof nothing
|
|
1454
|
-
protected render(): TemplateResult<1>;
|
|
1455
|
-
static styles: CSSResult[];
|
|
431
|
+
protected _renderIcon(): import("lit").TemplateResult<1> | typeof nothing;
|
|
432
|
+
protected render(): import("lit").TemplateResult<1>;
|
|
433
|
+
static styles: import("lit").CSSResult[];
|
|
1456
434
|
}
|
|
1457
435
|
declare global {
|
|
1458
436
|
interface HTMLElementTagNameMap {
|
|
@@ -1495,7 +473,7 @@ declare class RadioGroup extends LitElement {
|
|
|
1495
473
|
protected firstUpdated(): void;
|
|
1496
474
|
protected updated(changedProperties: PropertyValues): void;
|
|
1497
475
|
protected render(): unknown;
|
|
1498
|
-
static styles: CSSResult[];
|
|
476
|
+
static styles: import("lit").CSSResult[];
|
|
1499
477
|
}
|
|
1500
478
|
type RadioGroupChangeDetail = {
|
|
1501
479
|
readonly checked: boolean;
|
|
@@ -1515,7 +493,7 @@ declare class MenuContainer extends LitElement {
|
|
|
1515
493
|
keyboardManager?: KeyboardManager;
|
|
1516
494
|
private _popover;
|
|
1517
495
|
private tickled;
|
|
1518
|
-
static styles: CSSResult[];
|
|
496
|
+
static styles: import("lit").CSSResult[];
|
|
1519
497
|
private _updateIconSections;
|
|
1520
498
|
private _propagateContext;
|
|
1521
499
|
updated(changedProperties: Map<string, unknown>): void;
|
|
@@ -1523,7 +501,7 @@ declare class MenuContainer extends LitElement {
|
|
|
1523
501
|
* Sync data-input-mode to :host so CSS variables cascade to slotted items
|
|
1524
502
|
*/
|
|
1525
503
|
willUpdate(changed: Map<PropertyKey, unknown>): void;
|
|
1526
|
-
render(): TemplateResult<1>;
|
|
504
|
+
render(): import("lit").TemplateResult<1>;
|
|
1527
505
|
private _getMenuItems;
|
|
1528
506
|
/**
|
|
1529
507
|
* Sync .tickled class on slotted items to match controller state
|
|
@@ -1591,8 +569,8 @@ declare class MenuTrigger extends LitElement {
|
|
|
1591
569
|
private _handleCommand;
|
|
1592
570
|
private _handleRadioChange;
|
|
1593
571
|
private _handleContextMenu;
|
|
1594
|
-
static styles: CSSResult[];
|
|
1595
|
-
render(): TemplateResult<1>;
|
|
572
|
+
static styles: import("lit").CSSResult[];
|
|
573
|
+
render(): import("lit").TemplateResult<1>;
|
|
1596
574
|
}
|
|
1597
575
|
declare global {
|
|
1598
576
|
interface HTMLElementTagNameMap {
|
|
@@ -1625,8 +603,8 @@ declare class MenuItem extends LitElement {
|
|
|
1625
603
|
willUpdate(changedProperties: Map<string, unknown>): void;
|
|
1626
604
|
updated(changedProperties: Map<string, unknown>): void;
|
|
1627
605
|
private _getShortcut;
|
|
1628
|
-
static styles: CSSResult[];
|
|
1629
|
-
render(): TemplateResult<1>;
|
|
606
|
+
static styles: import("lit").CSSResult[];
|
|
607
|
+
render(): import("lit").TemplateResult<1>;
|
|
1630
608
|
}
|
|
1631
609
|
declare global {
|
|
1632
610
|
interface HTMLElementTagNameMap {
|
|
@@ -1671,12 +649,12 @@ declare class SplitButton extends ButtonElement {
|
|
|
1671
649
|
private _handleCaretClick;
|
|
1672
650
|
private _handlePrimaryKeyDown;
|
|
1673
651
|
private _handleCaretKeyDown;
|
|
1674
|
-
protected render(): TemplateResult<1>;
|
|
652
|
+
protected render(): import("lit").TemplateResult<1>;
|
|
1675
653
|
private _renderCaret;
|
|
1676
654
|
private _renderLoadingOrItems;
|
|
1677
655
|
private _renderDefault;
|
|
1678
656
|
private _renderSwitcher;
|
|
1679
|
-
static styles: CSSResult[];
|
|
657
|
+
static styles: import("lit").CSSResult[];
|
|
1680
658
|
}
|
|
1681
659
|
declare global {
|
|
1682
660
|
interface HTMLElementTagNameMap {
|
|
@@ -1687,7 +665,7 @@ declare global {
|
|
|
1687
665
|
//#region src/checkbox/checkbox.d.ts
|
|
1688
666
|
declare class Checkbox extends LitElement {
|
|
1689
667
|
#private;
|
|
1690
|
-
static styles: CSSResult[];
|
|
668
|
+
static styles: import("lit").CSSResult[];
|
|
1691
669
|
checked: boolean;
|
|
1692
670
|
disabled: boolean;
|
|
1693
671
|
indeterminate: boolean;
|
|
@@ -1778,7 +756,7 @@ declare abstract class LabelledInputBase extends LitElement {
|
|
|
1778
756
|
value: number;
|
|
1779
757
|
}>) => void;
|
|
1780
758
|
protected _syncValue(v: number): void;
|
|
1781
|
-
protected _renderEditableNumber(): typeof nothing
|
|
759
|
+
protected _renderEditableNumber(): import("lit").TemplateResult<1> | typeof nothing;
|
|
1782
760
|
updated(changedProperties: Map<string, unknown>): void;
|
|
1783
761
|
}
|
|
1784
762
|
//#endregion
|
|
@@ -1792,8 +770,8 @@ declare class LabelledRangeInput extends LabelledInputBase {
|
|
|
1792
770
|
/** Pass-through: enables wheel-on-hover for the inner slider and editable-number. */
|
|
1793
771
|
lighttouch: boolean;
|
|
1794
772
|
switchHeight: number;
|
|
1795
|
-
protected _renderEditableNumber(): TemplateResult<1>;
|
|
1796
|
-
render(): TemplateResult<1>;
|
|
773
|
+
protected _renderEditableNumber(): import("lit").TemplateResult<1>;
|
|
774
|
+
render(): import("lit").TemplateResult<1>;
|
|
1797
775
|
static styles: CSSResultGroup;
|
|
1798
776
|
}
|
|
1799
777
|
declare global {
|
|
@@ -1861,7 +839,7 @@ declare class ColourPicker extends LitElement {
|
|
|
1861
839
|
private _parseRangeString;
|
|
1862
840
|
private _normalizeRange;
|
|
1863
841
|
private _clampToRange;
|
|
1864
|
-
render(): TemplateResult<1>;
|
|
842
|
+
render(): import("lit").TemplateResult<1>;
|
|
1865
843
|
firstUpdated(changedProperties: PropertyValues): void;
|
|
1866
844
|
updated(changedProperties: PropertyValues): void;
|
|
1867
845
|
_updateGradients(): void;
|
|
@@ -1943,7 +921,7 @@ declare class ColourPickerPopup extends LitElement {
|
|
|
1943
921
|
private _onSwatchClick;
|
|
1944
922
|
private _dispatchInput;
|
|
1945
923
|
private _dispatchChange;
|
|
1946
|
-
render(): TemplateResult<1>;
|
|
924
|
+
render(): import("lit").TemplateResult<1>;
|
|
1947
925
|
static styles: CSSResultGroup;
|
|
1948
926
|
}
|
|
1949
927
|
declare global {
|
|
@@ -2602,9 +1580,9 @@ declare class NarrowedTextElement extends LitElement {
|
|
|
2602
1580
|
deleteItem(value: string): boolean;
|
|
2603
1581
|
private _selectItem;
|
|
2604
1582
|
private _updateValueFromSelected;
|
|
2605
|
-
protected render(): TemplateResult<1>;
|
|
1583
|
+
protected render(): import("lit").TemplateResult<1>;
|
|
2606
1584
|
private _getContainerStyle;
|
|
2607
|
-
static styles: CSSResult[];
|
|
1585
|
+
static styles: import("lit").CSSResult[];
|
|
2608
1586
|
}
|
|
2609
1587
|
declare global {
|
|
2610
1588
|
interface HTMLElementTagNameMap {
|
|
@@ -2702,8 +1680,8 @@ declare class CrumbNavigationElement extends LitElement implements TreeComponent
|
|
|
2702
1680
|
revealKey(key: string): boolean;
|
|
2703
1681
|
/** `TreeComponent` parity — a crumb path is a single selection, so only the last node is kept. */
|
|
2704
1682
|
selectMany(nodes: Iterable<TreeNode>): void;
|
|
2705
|
-
render(): TemplateResult<1>;
|
|
2706
|
-
static styles: CSSResult[];
|
|
1683
|
+
render(): import("lit").TemplateResult<1>;
|
|
1684
|
+
static styles: import("lit").CSSResult[];
|
|
2707
1685
|
}
|
|
2708
1686
|
declare global {
|
|
2709
1687
|
interface HTMLElementTagNameMap {
|
|
@@ -2768,8 +1746,8 @@ declare class CrumbPathElement extends LitElement {
|
|
|
2768
1746
|
protected updated(changedProperties: PropertyValues): void;
|
|
2769
1747
|
setPath(newPath: string): void;
|
|
2770
1748
|
getPath(): string;
|
|
2771
|
-
protected render(): TemplateResult<1>;
|
|
2772
|
-
static styles: CSSResult[];
|
|
1749
|
+
protected render(): import("lit").TemplateResult<1>;
|
|
1750
|
+
static styles: import("lit").CSSResult[];
|
|
2773
1751
|
}
|
|
2774
1752
|
declare global {
|
|
2775
1753
|
interface HTMLElementTagNameMap {
|
|
@@ -2820,7 +1798,7 @@ type FormattingOptions = {
|
|
|
2820
1798
|
};
|
|
2821
1799
|
declare class DataDisplayComponent extends LitElement {
|
|
2822
1800
|
#private;
|
|
2823
|
-
static styles: CSSResult[];
|
|
1801
|
+
static styles: import("lit").CSSResult[];
|
|
2824
1802
|
automap: boolean;
|
|
2825
1803
|
previousValue: Record<string, unknown> | undefined;
|
|
2826
1804
|
_container: HTMLElement;
|
|
@@ -3288,7 +2266,7 @@ declare function registerListSearchCommands<T>(registry: CommandRegistry<unknown
|
|
|
3288
2266
|
*
|
|
3289
2267
|
* See `docs/infra-incremental.md`.
|
|
3290
2268
|
*/
|
|
3291
|
-
declare const listSearchStyles: CSSResult;
|
|
2269
|
+
declare const listSearchStyles: import("lit").CSSResult;
|
|
3292
2270
|
//#endregion
|
|
3293
2271
|
//#region src/incr-search/tree-list-search-adapter.d.ts
|
|
3294
2272
|
type TreeSearchItem = {
|
|
@@ -3325,8 +2303,8 @@ declare class MenuBar extends LitElement {
|
|
|
3325
2303
|
private _handleTriggerClose;
|
|
3326
2304
|
private _handleFocusIn;
|
|
3327
2305
|
private _handleKeydown;
|
|
3328
|
-
static styles: CSSResult;
|
|
3329
|
-
render(): TemplateResult<1>;
|
|
2306
|
+
static styles: import("lit").CSSResult;
|
|
2307
|
+
render(): import("lit").TemplateResult<1>;
|
|
3330
2308
|
}
|
|
3331
2309
|
declare global {
|
|
3332
2310
|
interface HTMLElementTagNameMap {
|
|
@@ -3350,8 +2328,8 @@ declare class MenuCheckItem extends LitElement {
|
|
|
3350
2328
|
willUpdate(changedProperties: Map<string, unknown>): void;
|
|
3351
2329
|
updated(changedProperties: Map<string, unknown>): void;
|
|
3352
2330
|
private _getShortcut;
|
|
3353
|
-
static styles: CSSResult[];
|
|
3354
|
-
render(): TemplateResult<1>;
|
|
2331
|
+
static styles: import("lit").CSSResult[];
|
|
2332
|
+
render(): import("lit").TemplateResult<1>;
|
|
3355
2333
|
}
|
|
3356
2334
|
declare global {
|
|
3357
2335
|
interface HTMLElementTagNameMap {
|
|
@@ -3408,8 +2386,8 @@ declare class MenuSubTrigger extends LitElement {
|
|
|
3408
2386
|
private _handleSubmenuMouseLeave;
|
|
3409
2387
|
private _handleClick;
|
|
3410
2388
|
private _handleKeydown;
|
|
3411
|
-
static styles: CSSResult[];
|
|
3412
|
-
render(): TemplateResult<1>;
|
|
2389
|
+
static styles: import("lit").CSSResult[];
|
|
2390
|
+
render(): import("lit").TemplateResult<1>;
|
|
3413
2391
|
}
|
|
3414
2392
|
declare global {
|
|
3415
2393
|
interface HTMLElementTagNameMap {
|
|
@@ -3419,8 +2397,8 @@ declare global {
|
|
|
3419
2397
|
//#endregion
|
|
3420
2398
|
//#region src/menu/menu-separator.d.ts
|
|
3421
2399
|
declare class MenuSeparator extends LitElement {
|
|
3422
|
-
static styles: CSSResult[];
|
|
3423
|
-
render(): TemplateResult<1>;
|
|
2400
|
+
static styles: import("lit").CSSResult[];
|
|
2401
|
+
render(): import("lit").TemplateResult<1>;
|
|
3424
2402
|
}
|
|
3425
2403
|
declare global {
|
|
3426
2404
|
interface HTMLElementTagNameMap {
|
|
@@ -3431,8 +2409,8 @@ declare global {
|
|
|
3431
2409
|
//#region src/menu/menu-header.d.ts
|
|
3432
2410
|
declare class MenuHeader extends LitElement {
|
|
3433
2411
|
label: string;
|
|
3434
|
-
static styles: CSSResult[];
|
|
3435
|
-
render(): TemplateResult<1>;
|
|
2412
|
+
static styles: import("lit").CSSResult[];
|
|
2413
|
+
render(): import("lit").TemplateResult<1>;
|
|
3436
2414
|
}
|
|
3437
2415
|
declare global {
|
|
3438
2416
|
interface HTMLElementTagNameMap {
|
|
@@ -3457,8 +2435,8 @@ declare class MenuRadioItem extends LitElement {
|
|
|
3457
2435
|
groupValue: string;
|
|
3458
2436
|
iconName: string;
|
|
3459
2437
|
private handleClick;
|
|
3460
|
-
static styles: CSSResult[];
|
|
3461
|
-
render(): TemplateResult<1>;
|
|
2438
|
+
static styles: import("lit").CSSResult[];
|
|
2439
|
+
render(): import("lit").TemplateResult<1>;
|
|
3462
2440
|
}
|
|
3463
2441
|
declare global {
|
|
3464
2442
|
interface HTMLElementTagNameMap {
|
|
@@ -3475,8 +2453,8 @@ declare class MenuRadioGroup extends LitElement {
|
|
|
3475
2453
|
private updateSlottedValues;
|
|
3476
2454
|
private handleRadioSelect;
|
|
3477
2455
|
updated(changedProperties: Map<string, unknown>): void;
|
|
3478
|
-
static styles: CSSResult;
|
|
3479
|
-
render(): TemplateResult<1>;
|
|
2456
|
+
static styles: import("lit").CSSResult;
|
|
2457
|
+
render(): import("lit").TemplateResult<1>;
|
|
3480
2458
|
}
|
|
3481
2459
|
declare global {
|
|
3482
2460
|
interface HTMLElementTagNameMap {
|
|
@@ -3542,8 +2520,8 @@ declare class PanTextElement extends LitElement {
|
|
|
3542
2520
|
*/
|
|
3543
2521
|
private _measure;
|
|
3544
2522
|
private _textStyle;
|
|
3545
|
-
protected render(): TemplateResult<1>;
|
|
3546
|
-
static styles: CSSResult[];
|
|
2523
|
+
protected render(): import("lit").TemplateResult<1>;
|
|
2524
|
+
static styles: import("lit").CSSResult[];
|
|
3547
2525
|
}
|
|
3548
2526
|
declare global {
|
|
3549
2527
|
interface HTMLElementTagNameMap {
|
|
@@ -3620,7 +2598,7 @@ interface DataGridElementEventMap {
|
|
|
3620
2598
|
}
|
|
3621
2599
|
declare class DataGridElement extends LitElement {
|
|
3622
2600
|
#private;
|
|
3623
|
-
static styles: CSSResult[];
|
|
2601
|
+
static styles: import("lit").CSSResult[];
|
|
3624
2602
|
columns: DataGridColumn[];
|
|
3625
2603
|
rows: unknown[];
|
|
3626
2604
|
selectionMode: DataGridSelectionMode;
|
|
@@ -3807,7 +2785,7 @@ declare class DataGridElement extends LitElement {
|
|
|
3807
2785
|
renderedKeys(): string[];
|
|
3808
2786
|
private _findFirstVisibleCol;
|
|
3809
2787
|
private _findLastVisibleCol;
|
|
3810
|
-
protected render(): TemplateResult<1>;
|
|
2788
|
+
protected render(): import("lit").TemplateResult<1>;
|
|
3811
2789
|
}
|
|
3812
2790
|
declare global {
|
|
3813
2791
|
interface HTMLElementTagNameMap {
|
|
@@ -3838,7 +2816,7 @@ interface DataTableElementEventMap {
|
|
|
3838
2816
|
}
|
|
3839
2817
|
declare class DataTableElement extends LitElement {
|
|
3840
2818
|
#private;
|
|
3841
|
-
static styles: CSSResult[];
|
|
2819
|
+
static styles: import("lit").CSSResult[];
|
|
3842
2820
|
rows: readonly DataTableRow[];
|
|
3843
2821
|
selectedIndex: number | undefined;
|
|
3844
2822
|
/**
|
|
@@ -4160,8 +3138,8 @@ declare class VerticalListElement extends LitElement {
|
|
|
4160
3138
|
private _onClick;
|
|
4161
3139
|
private _onDblClick;
|
|
4162
3140
|
private _activateItem;
|
|
4163
|
-
static styles: CSSResult[];
|
|
4164
|
-
render(): TemplateResult<1>;
|
|
3141
|
+
static styles: import("lit").CSSResult[];
|
|
3142
|
+
render(): import("lit").TemplateResult<1>;
|
|
4165
3143
|
}
|
|
4166
3144
|
declare global {
|
|
4167
3145
|
interface HTMLElementTagNameMap {
|
|
@@ -4354,8 +3332,8 @@ declare class DetailListElement extends LitElement {
|
|
|
4354
3332
|
private _onDblClick;
|
|
4355
3333
|
private _onWheel;
|
|
4356
3334
|
private _activateItem;
|
|
4357
|
-
static styles: CSSResult[];
|
|
4358
|
-
render(): TemplateResult<1>;
|
|
3335
|
+
static styles: import("lit").CSSResult[];
|
|
3336
|
+
render(): import("lit").TemplateResult<1>;
|
|
4359
3337
|
}
|
|
4360
3338
|
declare global {
|
|
4361
3339
|
interface HTMLElementTagNameMap {
|
|
@@ -4634,8 +3612,8 @@ declare class DockPanelElement extends LitElement {
|
|
|
4634
3612
|
private _dispatchDragStart;
|
|
4635
3613
|
private _onTitlebarToggle;
|
|
4636
3614
|
private _onTitlebarClose;
|
|
4637
|
-
protected render(): TemplateResult<1>;
|
|
4638
|
-
static styles: CSSResult[];
|
|
3615
|
+
protected render(): import("lit").TemplateResult<1>;
|
|
3616
|
+
static styles: import("lit").CSSResult[];
|
|
4639
3617
|
}
|
|
4640
3618
|
declare global {
|
|
4641
3619
|
interface HTMLElementTagNameMap {
|
|
@@ -4736,8 +3714,8 @@ declare class SplitPanelElement extends LitElement {
|
|
|
4736
3714
|
whenSmall: string;
|
|
4737
3715
|
collapsed: boolean;
|
|
4738
3716
|
snap: string;
|
|
4739
|
-
render(): TemplateResult<1>;
|
|
4740
|
-
static styles: CSSResult[];
|
|
3717
|
+
render(): import("lit").TemplateResult<1>;
|
|
3718
|
+
static styles: import("lit").CSSResult[];
|
|
4741
3719
|
}
|
|
4742
3720
|
declare global {
|
|
4743
3721
|
interface HTMLElementTagNameMap {
|
|
@@ -4803,11 +3781,11 @@ declare class SplitLayoutElement extends LitElement {
|
|
|
4803
3781
|
private _onPointerUp;
|
|
4804
3782
|
private _emitResize;
|
|
4805
3783
|
private _emitChange;
|
|
4806
|
-
protected render(): typeof nothing
|
|
3784
|
+
protected render(): import("lit").TemplateResult<1> | typeof nothing;
|
|
4807
3785
|
private _getTrackSizes;
|
|
4808
3786
|
private _resolveTracks;
|
|
4809
3787
|
private _renderGutter;
|
|
4810
|
-
static styles: CSSResult[];
|
|
3788
|
+
static styles: import("lit").CSSResult[];
|
|
4811
3789
|
}
|
|
4812
3790
|
declare global {
|
|
4813
3791
|
interface HTMLElementTagNameMap {
|
|
@@ -4879,9 +3857,9 @@ declare class TabListItemElement extends LitElement {
|
|
|
4879
3857
|
*/
|
|
4880
3858
|
private _updateStatusContent;
|
|
4881
3859
|
firstUpdated(): void;
|
|
4882
|
-
render(): TemplateResult<1>;
|
|
3860
|
+
render(): import("lit").TemplateResult<1>;
|
|
4883
3861
|
private _onCloseClick;
|
|
4884
|
-
static styles: CSSResult[];
|
|
3862
|
+
static styles: import("lit").CSSResult[];
|
|
4885
3863
|
}
|
|
4886
3864
|
declare global {
|
|
4887
3865
|
interface HTMLElementTagNameMap {
|
|
@@ -4922,12 +3900,12 @@ declare class TabListElement extends LitElement {
|
|
|
4922
3900
|
labelNogrow: boolean;
|
|
4923
3901
|
shrink: boolean;
|
|
4924
3902
|
dragMode: TabListDragMode;
|
|
4925
|
-
render(): TemplateResult<1>;
|
|
3903
|
+
render(): import("lit").TemplateResult<1>;
|
|
4926
3904
|
firstUpdated(): void;
|
|
4927
3905
|
updated(changedProperties: PropertyValues): void;
|
|
4928
3906
|
getSelectedElement(): TabListItemElement | undefined;
|
|
4929
3907
|
selectElement(el: HTMLElement): void;
|
|
4930
|
-
static styles: CSSResult[];
|
|
3908
|
+
static styles: import("lit").CSSResult[];
|
|
4931
3909
|
}
|
|
4932
3910
|
declare global {
|
|
4933
3911
|
interface HTMLElementTagNameMap {
|
|
@@ -5233,13 +4211,13 @@ declare class DockHostElement extends LitElement {
|
|
|
5233
4211
|
private _returnToolbar;
|
|
5234
4212
|
private _returnAllToolbars;
|
|
5235
4213
|
private _emitChange;
|
|
5236
|
-
protected render(): TemplateResult<1>;
|
|
4214
|
+
protected render(): import("lit").TemplateResult<1>;
|
|
5237
4215
|
private _renderNode;
|
|
5238
4216
|
private _renderSplit;
|
|
5239
4217
|
private _renderLeaf;
|
|
5240
4218
|
private _renderTabItem;
|
|
5241
4219
|
private _stripCaretRect;
|
|
5242
|
-
static styles: CSSResult[];
|
|
4220
|
+
static styles: import("lit").CSSResult[];
|
|
5243
4221
|
}
|
|
5244
4222
|
declare global {
|
|
5245
4223
|
interface HTMLElementTagNameMap {
|
|
@@ -5455,7 +4433,7 @@ declare class EditableLabel extends LitElement {
|
|
|
5455
4433
|
protected _shouldUseDisplayText(): boolean;
|
|
5456
4434
|
protected _isAllowedInput(char: string): boolean;
|
|
5457
4435
|
private _defaultValidator;
|
|
5458
|
-
render(): TemplateResult<1>;
|
|
4436
|
+
render(): import("lit").TemplateResult<1>;
|
|
5459
4437
|
updated(changed: PropertyValues): void;
|
|
5460
4438
|
static styles: CSSResult[];
|
|
5461
4439
|
}
|
|
@@ -5509,7 +4487,7 @@ declare class EditableNumber extends EditableNumber_base {
|
|
|
5509
4487
|
noDrag: boolean;
|
|
5510
4488
|
precision: number;
|
|
5511
4489
|
constructor();
|
|
5512
|
-
render(): TemplateResult<1>;
|
|
4490
|
+
render(): import("lit").TemplateResult<1>;
|
|
5513
4491
|
private _stopNativeInput;
|
|
5514
4492
|
connectedCallback(): void;
|
|
5515
4493
|
disconnectedCallback(): void;
|
|
@@ -5574,7 +4552,7 @@ declare class FormGroupElement extends LitElement {
|
|
|
5574
4552
|
firstUpdated(): void;
|
|
5575
4553
|
disconnectedCallback(): void;
|
|
5576
4554
|
private _moveChildren;
|
|
5577
|
-
protected render(): TemplateResult<1>;
|
|
4555
|
+
protected render(): import("lit").TemplateResult<1>;
|
|
5578
4556
|
}
|
|
5579
4557
|
declare global {
|
|
5580
4558
|
interface HTMLElementTagNameMap {
|
|
@@ -5589,7 +4567,7 @@ declare class FormPartElement extends LitElement {
|
|
|
5589
4567
|
protected createRenderRoot(): this;
|
|
5590
4568
|
connectedCallback(): void;
|
|
5591
4569
|
private _ensureId;
|
|
5592
|
-
protected render(): TemplateResult<1>;
|
|
4570
|
+
protected render(): import("lit").TemplateResult<1>;
|
|
5593
4571
|
}
|
|
5594
4572
|
declare global {
|
|
5595
4573
|
interface HTMLElementTagNameMap {
|
|
@@ -5772,7 +4750,7 @@ declare function prefersReducedMotion(): boolean;
|
|
|
5772
4750
|
* one-line rule binding `.<row>.ixfx-item-entering` / `.ixfx-item-leaving` to
|
|
5773
4751
|
* these, plus a `prefers-reduced-motion` guard on its own selectors.
|
|
5774
4752
|
*/
|
|
5775
|
-
declare const listItemFadeKeyframes: CSSResult;
|
|
4753
|
+
declare const listItemFadeKeyframes: import("lit").CSSResult;
|
|
5776
4754
|
interface ListItemMotionOptions {
|
|
5777
4755
|
/**
|
|
5778
4756
|
* Animation duration in ms. When omitted, the element's
|
|
@@ -6293,7 +5271,7 @@ declare class TickledController<T = number> implements ReactiveController {
|
|
|
6293
5271
|
* }
|
|
6294
5272
|
* ```
|
|
6295
5273
|
*/
|
|
6296
|
-
declare const tickledStyles: CSSResult;
|
|
5274
|
+
declare const tickledStyles: import("lit").CSSResult;
|
|
6297
5275
|
/**
|
|
6298
5276
|
* Shared item styling for tickled components.
|
|
6299
5277
|
*
|
|
@@ -6301,7 +5279,7 @@ declare const tickledStyles: CSSResult;
|
|
|
6301
5279
|
* Components should import this in addition to `tickledStyles` and can override
|
|
6302
5280
|
* CSS variables to customize appearance.
|
|
6303
5281
|
*/
|
|
6304
|
-
declare const tickledItemStyles: CSSResult;
|
|
5282
|
+
declare const tickledItemStyles: import("lit").CSSResult;
|
|
6305
5283
|
//#endregion
|
|
6306
5284
|
//#region src/interaction/tree-keyboard-controller.d.ts
|
|
6307
5285
|
type TreeKeyboardNavItemId = string;
|
|
@@ -6440,7 +5418,7 @@ interface GridListFullElementEventMap extends GridListElementEventMap {
|
|
|
6440
5418
|
//#region src/grid-list/grid-list.d.ts
|
|
6441
5419
|
declare class GridListElement<T = unknown> extends LitElement {
|
|
6442
5420
|
#private;
|
|
6443
|
-
static styles: CSSResult[];
|
|
5421
|
+
static styles: import("lit").CSSResult[];
|
|
6444
5422
|
selectionMode: ListSelectionMode;
|
|
6445
5423
|
interactionMode: ListInteractionMode;
|
|
6446
5424
|
/**
|
|
@@ -6798,8 +5776,8 @@ declare class PanelElement extends LitElement {
|
|
|
6798
5776
|
keepToolbar: boolean;
|
|
6799
5777
|
private _onTitlebarToggle;
|
|
6800
5778
|
private _onCloseClick;
|
|
6801
|
-
protected render(): TemplateResult<1>;
|
|
6802
|
-
static styles: CSSResult[];
|
|
5779
|
+
protected render(): import("lit").TemplateResult<1>;
|
|
5780
|
+
static styles: import("lit").CSSResult[];
|
|
6803
5781
|
}
|
|
6804
5782
|
declare global {
|
|
6805
5783
|
interface HTMLElementTagNameMap {
|
|
@@ -6832,7 +5810,7 @@ declare class GroupedItemListerElement<T = unknown> extends LitElement {
|
|
|
6832
5810
|
connectedCallback(): void;
|
|
6833
5811
|
disconnectedCallback(): void;
|
|
6834
5812
|
protected updated(changed: PropertyValues): void;
|
|
6835
|
-
protected render(): typeof nothing
|
|
5813
|
+
protected render(): import("lit").TemplateResult<1> | typeof nothing;
|
|
6836
5814
|
}
|
|
6837
5815
|
declare global {
|
|
6838
5816
|
interface HTMLElementTagNameMap {
|
|
@@ -6952,7 +5930,7 @@ declare class TreeBaseElement extends LitElement implements TreeComponent, TreeS
|
|
|
6952
5930
|
dropDepth?: number;
|
|
6953
5931
|
};
|
|
6954
5932
|
protected _renderNode(node: TreeNode, depth: number): TemplateResult;
|
|
6955
|
-
static styles: CSSResult[];
|
|
5933
|
+
static styles: import("lit").CSSResult[];
|
|
6956
5934
|
}
|
|
6957
5935
|
declare global {
|
|
6958
5936
|
interface HTMLElementTagNameMap {
|
|
@@ -7006,7 +5984,7 @@ declare class TreeListElement extends TreeBaseElement {
|
|
|
7006
5984
|
protected render(): TemplateResult<1>;
|
|
7007
5985
|
protected renderNodeContent(node: TreeNode, depth: number): TemplateResult;
|
|
7008
5986
|
protected _renderNode(node: TreeNode, depth: number): TemplateResult;
|
|
7009
|
-
static styles: CSSResult[];
|
|
5987
|
+
static styles: import("lit").CSSResult[];
|
|
7010
5988
|
}
|
|
7011
5989
|
declare global {
|
|
7012
5990
|
interface HTMLElementTagNameMap {
|
|
@@ -7181,7 +6159,7 @@ declare class IxfxHexEditorElement extends LitElement {
|
|
|
7181
6159
|
private _pointerMode;
|
|
7182
6160
|
private _currentDragDiff;
|
|
7183
6161
|
private _shiftClickTarget;
|
|
7184
|
-
static styles: CSSResult;
|
|
6162
|
+
static styles: import("lit").CSSResult;
|
|
7185
6163
|
setData(data: Uint8Array): void;
|
|
7186
6164
|
undo(): void;
|
|
7187
6165
|
redo(): void;
|
|
@@ -7216,7 +6194,7 @@ declare class IxfxHexEditorElement extends LitElement {
|
|
|
7216
6194
|
private _isRowShaded;
|
|
7217
6195
|
private _isHexShaded;
|
|
7218
6196
|
private _isTextShaded;
|
|
7219
|
-
protected render(): TemplateResult<1>;
|
|
6197
|
+
protected render(): import("lit").TemplateResult<1>;
|
|
7220
6198
|
private _renderRow;
|
|
7221
6199
|
private _renderColumn;
|
|
7222
6200
|
private _renderHexCell;
|
|
@@ -7532,8 +6510,8 @@ declare class HyperbolicTreeListElement extends LitElement implements TreeCompon
|
|
|
7532
6510
|
node: TreeNode;
|
|
7533
6511
|
depth: number;
|
|
7534
6512
|
}>;
|
|
7535
|
-
protected render(): TemplateResult<1>;
|
|
7536
|
-
static styles: CSSResult[];
|
|
6513
|
+
protected render(): import("lit").TemplateResult<1>;
|
|
6514
|
+
static styles: import("lit").CSSResult[];
|
|
7537
6515
|
}
|
|
7538
6516
|
declare global {
|
|
7539
6517
|
interface HTMLElementTagNameMap {
|
|
@@ -7872,8 +6850,8 @@ declare class IcicleTreeListElement extends LitElement implements TreeComponent,
|
|
|
7872
6850
|
node: TreeNode;
|
|
7873
6851
|
depth: number;
|
|
7874
6852
|
}>;
|
|
7875
|
-
protected render(): TemplateResult<1>;
|
|
7876
|
-
static styles: CSSResult[];
|
|
6853
|
+
protected render(): import("lit").TemplateResult<1>;
|
|
6854
|
+
static styles: import("lit").CSSResult[];
|
|
7877
6855
|
}
|
|
7878
6856
|
declare global {
|
|
7879
6857
|
interface HTMLElementTagNameMap {
|
|
@@ -8005,7 +6983,7 @@ declare class RadialInputElement extends RadialInputElement_base {
|
|
|
8005
6983
|
protected updated(changed: PropertyValues): void;
|
|
8006
6984
|
disconnectedCallback(): void;
|
|
8007
6985
|
firstUpdated(): void;
|
|
8008
|
-
static styles: CSSResult[];
|
|
6986
|
+
static styles: import("lit").CSSResult[];
|
|
8009
6987
|
}
|
|
8010
6988
|
declare global {
|
|
8011
6989
|
interface HTMLElementTagNameMap {
|
|
@@ -8031,8 +7009,8 @@ declare class LabelledRadialInput extends LabelledInputBase {
|
|
|
8031
7009
|
private _isWide;
|
|
8032
7010
|
private _getEffectivePrecision;
|
|
8033
7011
|
protected _handleResize(entries: ResizeObserverEntry[]): void;
|
|
8034
|
-
protected _renderEditableNumber(): typeof nothing
|
|
8035
|
-
render(): TemplateResult<1>;
|
|
7012
|
+
protected _renderEditableNumber(): import("lit").TemplateResult<1> | typeof nothing;
|
|
7013
|
+
render(): import("lit").TemplateResult<1>;
|
|
8036
7014
|
private _getTooltipValue;
|
|
8037
7015
|
static styles: CSSResultGroup;
|
|
8038
7016
|
}
|
|
@@ -8200,7 +7178,7 @@ declare class SliderInputElement extends SliderInputElement_base {
|
|
|
8200
7178
|
render(): unknown;
|
|
8201
7179
|
protected updated(changed: PropertyValues): void;
|
|
8202
7180
|
disconnectedCallback(): void;
|
|
8203
|
-
static styles: CSSResult[];
|
|
7181
|
+
static styles: import("lit").CSSResult[];
|
|
8204
7182
|
}
|
|
8205
7183
|
declare global {
|
|
8206
7184
|
interface HTMLElementTagNameMap {
|
|
@@ -8223,9 +7201,9 @@ declare class LabelledSliderInput extends LabelledInputBase {
|
|
|
8223
7201
|
/** Pass-through: enables wheel-on-hover for the inner slider and editable-number. */
|
|
8224
7202
|
lighttouch: boolean;
|
|
8225
7203
|
switchHeight: number;
|
|
8226
|
-
protected _renderEditableNumber(): TemplateResult<1>;
|
|
7204
|
+
protected _renderEditableNumber(): import("lit").TemplateResult<1>;
|
|
8227
7205
|
protected _syncValue(v: number): void;
|
|
8228
|
-
render(): TemplateResult<1>;
|
|
7206
|
+
render(): import("lit").TemplateResult<1>;
|
|
8229
7207
|
static styles: CSSResultGroup;
|
|
8230
7208
|
}
|
|
8231
7209
|
declare global {
|
|
@@ -8276,8 +7254,8 @@ declare class LedElement extends LitElement {
|
|
|
8276
7254
|
* No-op unless {@link mode} is `pulse`.
|
|
8277
7255
|
*/
|
|
8278
7256
|
pulse(): void;
|
|
8279
|
-
protected render(): TemplateResult<1>;
|
|
8280
|
-
static styles: CSSResult;
|
|
7257
|
+
protected render(): import("lit").TemplateResult<1>;
|
|
7258
|
+
static styles: import("lit").CSSResult;
|
|
8281
7259
|
}
|
|
8282
7260
|
declare global {
|
|
8283
7261
|
interface HTMLElementTagNameMap {
|
|
@@ -8570,7 +7548,7 @@ declare class MillerBaseElement extends LitElement implements TreeComponent, Tre
|
|
|
8570
7548
|
* Called by subclasses when pointer leaves the column container.
|
|
8571
7549
|
*/
|
|
8572
7550
|
protected _handleColumnPointerLeave(): void;
|
|
8573
|
-
static styles: CSSResult[];
|
|
7551
|
+
static styles: import("lit").CSSResult[];
|
|
8574
7552
|
}
|
|
8575
7553
|
declare global {
|
|
8576
7554
|
interface HTMLElementTagNameMap {
|
|
@@ -8615,7 +7593,7 @@ interface MillerBaseElement {
|
|
|
8615
7593
|
declare class MillerListElement extends MillerBaseElement {
|
|
8616
7594
|
#private;
|
|
8617
7595
|
protected renderColumnContent(nodes: TreeNode[], depth: number): TemplateResult;
|
|
8618
|
-
static styles: CSSResult[];
|
|
7596
|
+
static styles: import("lit").CSSResult[];
|
|
8619
7597
|
}
|
|
8620
7598
|
declare global {
|
|
8621
7599
|
interface HTMLElementTagNameMap {
|
|
@@ -8747,7 +7725,7 @@ interface MulticolListElement {
|
|
|
8747
7725
|
}
|
|
8748
7726
|
declare class MulticolListElement extends LitElement {
|
|
8749
7727
|
#private;
|
|
8750
|
-
static styles: CSSResult[];
|
|
7728
|
+
static styles: import("lit").CSSResult[];
|
|
8751
7729
|
categories: readonly MulticolCategory[];
|
|
8752
7730
|
dataProvider?: IDataProvider<MulticolQuery, MulticolItem>;
|
|
8753
7731
|
selectionMode: ListSelectionMode;
|
|
@@ -8772,7 +7750,7 @@ declare class MulticolListElement extends LitElement {
|
|
|
8772
7750
|
values: readonly string[];
|
|
8773
7751
|
}>;
|
|
8774
7752
|
clearSelection(): void;
|
|
8775
|
-
protected render(): TemplateResult<1>;
|
|
7753
|
+
protected render(): import("lit").TemplateResult<1>;
|
|
8776
7754
|
protected updated(changedProperties: Map<string, unknown>): void;
|
|
8777
7755
|
private _renderColumn;
|
|
8778
7756
|
private _getCategoryLabel;
|
|
@@ -8856,8 +7834,8 @@ declare class NotificationPillElement extends LitElement {
|
|
|
8856
7834
|
icon?: string;
|
|
8857
7835
|
dismissing: boolean;
|
|
8858
7836
|
notificationId: string;
|
|
8859
|
-
protected render(): TemplateResult<1>;
|
|
8860
|
-
static styles: CSSResult[];
|
|
7837
|
+
protected render(): import("lit").TemplateResult<1>;
|
|
7838
|
+
static styles: import("lit").CSSResult[];
|
|
8861
7839
|
}
|
|
8862
7840
|
declare global {
|
|
8863
7841
|
interface HTMLElementTagNameMap {
|
|
@@ -8946,8 +7924,8 @@ declare class PanelGroupElement extends LitElement {
|
|
|
8946
7924
|
*/
|
|
8947
7925
|
private _computeGapIndex;
|
|
8948
7926
|
private _computeCaretStyle;
|
|
8949
|
-
protected render(): TemplateResult<1>;
|
|
8950
|
-
static styles: CSSResult;
|
|
7927
|
+
protected render(): import("lit").TemplateResult<1>;
|
|
7928
|
+
static styles: import("lit").CSSResult;
|
|
8951
7929
|
}
|
|
8952
7930
|
declare global {
|
|
8953
7931
|
interface HTMLElementTagNameMap {
|
|
@@ -9145,8 +8123,8 @@ declare class PlotSingleAxis extends LitElement {
|
|
|
9145
8123
|
* @param clientX
|
|
9146
8124
|
*/
|
|
9147
8125
|
getIndexFromClientX(clientX: number): number;
|
|
9148
|
-
render(): TemplateResult<1>;
|
|
9149
|
-
static styles: CSSResult;
|
|
8126
|
+
render(): import("lit").TemplateResult<1>;
|
|
8127
|
+
static styles: import("lit").CSSResult;
|
|
9150
8128
|
}
|
|
9151
8129
|
type PlotSingleAxisPointerMoveDetail = {
|
|
9152
8130
|
readonly clientX: number;
|
|
@@ -9227,8 +8205,8 @@ declare class PlotMultiAxis extends LitElement {
|
|
|
9227
8205
|
* Returns a copy of the series names
|
|
9228
8206
|
*/
|
|
9229
8207
|
get series(): string[];
|
|
9230
|
-
protected render(): TemplateResult<1>;
|
|
9231
|
-
static styles: CSSResult;
|
|
8208
|
+
protected render(): import("lit").TemplateResult<1>;
|
|
8209
|
+
static styles: import("lit").CSSResult;
|
|
9232
8210
|
}
|
|
9233
8211
|
declare global {
|
|
9234
8212
|
interface HTMLElementTagNameMap {
|
|
@@ -9330,8 +8308,8 @@ declare class PlotHistogram extends LitElement {
|
|
|
9330
8308
|
protected firstUpdated(_changed: PropertyValues): void;
|
|
9331
8309
|
protected updated(changed: PropertyValues): void;
|
|
9332
8310
|
disconnectedCallback(): void;
|
|
9333
|
-
render(): TemplateResult<1>;
|
|
9334
|
-
static styles: CSSResult;
|
|
8311
|
+
render(): import("lit").TemplateResult<1>;
|
|
8312
|
+
static styles: import("lit").CSSResult;
|
|
9335
8313
|
}
|
|
9336
8314
|
declare global {
|
|
9337
8315
|
interface HTMLElementTagNameMap {
|
|
@@ -9373,8 +8351,8 @@ declare class PlotXyAxis extends LitElement {
|
|
|
9373
8351
|
clear(): void;
|
|
9374
8352
|
protected firstUpdated(_changed: PropertyValues): void;
|
|
9375
8353
|
protected updated(changed: PropertyValues): void;
|
|
9376
|
-
render(): TemplateResult<1>;
|
|
9377
|
-
static styles: CSSResult;
|
|
8354
|
+
render(): import("lit").TemplateResult<1>;
|
|
8355
|
+
static styles: import("lit").CSSResult;
|
|
9378
8356
|
}
|
|
9379
8357
|
declare global {
|
|
9380
8358
|
interface HTMLElementTagNameMap {
|
|
@@ -9385,7 +8363,7 @@ declare global {
|
|
|
9385
8363
|
//#region src/polar-pad/polar-pad.d.ts
|
|
9386
8364
|
declare const PolarPad_base: typeof LitElement & (new (...args: any[]) => WheelNudgeConsumer);
|
|
9387
8365
|
declare class PolarPad extends PolarPad_base {
|
|
9388
|
-
static styles: CSSResult[];
|
|
8366
|
+
static styles: import("lit").CSSResult[];
|
|
9389
8367
|
/** Current angle in degrees. 0 = right, increases clockwise. */
|
|
9390
8368
|
angle: number;
|
|
9391
8369
|
/** Current radius 0–1. 0 = origin, 1 = edge. */
|
|
@@ -9469,7 +8447,7 @@ declare class TooltipElement extends LitElement {
|
|
|
9469
8447
|
anchor: string;
|
|
9470
8448
|
value: unknown;
|
|
9471
8449
|
icon?: string;
|
|
9472
|
-
protected render(): TemplateResult<1>;
|
|
8450
|
+
protected render(): import("lit").TemplateResult<1>;
|
|
9473
8451
|
protected createRenderRoot(): this;
|
|
9474
8452
|
}
|
|
9475
8453
|
declare global {
|
|
@@ -9517,7 +8495,7 @@ declare class RangeInput extends RangeInput_base {
|
|
|
9517
8495
|
* the host listener fires under `lighttouch` or when focus is on the host.
|
|
9518
8496
|
*/
|
|
9519
8497
|
_applyWheelDelta(direction: WheelDirection, _event: WheelEvent): void;
|
|
9520
|
-
render(): TemplateResult<1>;
|
|
8498
|
+
render(): import("lit").TemplateResult<1>;
|
|
9521
8499
|
static styles: CSSResultGroup;
|
|
9522
8500
|
}
|
|
9523
8501
|
declare global {
|
|
@@ -9578,7 +8556,7 @@ declare class RangeMultiElement extends LitElement {
|
|
|
9578
8556
|
_onPointerDown(event: PointerEvent): false | undefined;
|
|
9579
8557
|
protected firstUpdated(_changedProperties: PropertyValues): void;
|
|
9580
8558
|
protected render(): unknown;
|
|
9581
|
-
static styles: CSSResult[];
|
|
8559
|
+
static styles: import("lit").CSSResult[];
|
|
9582
8560
|
}
|
|
9583
8561
|
declare global {
|
|
9584
8562
|
interface HTMLElementTagNameMap {
|
|
@@ -9611,7 +8589,7 @@ declare class RangeElement extends RangeElement_base {
|
|
|
9611
8589
|
*/
|
|
9612
8590
|
_applyWheelDelta(direction: WheelDirection, _event: WheelEvent): void;
|
|
9613
8591
|
protected render(): unknown;
|
|
9614
|
-
static styles: CSSResult[];
|
|
8592
|
+
static styles: import("lit").CSSResult[];
|
|
9615
8593
|
}
|
|
9616
8594
|
declare global {
|
|
9617
8595
|
interface HTMLElementMap {
|
|
@@ -9632,7 +8610,7 @@ interface RatingElementEventMap {
|
|
|
9632
8610
|
input: RatingInputEvent;
|
|
9633
8611
|
}
|
|
9634
8612
|
declare class RatingElement extends LitElement {
|
|
9635
|
-
static styles: CSSResult[];
|
|
8613
|
+
static styles: import("lit").CSSResult[];
|
|
9636
8614
|
value: number;
|
|
9637
8615
|
max: number;
|
|
9638
8616
|
allowHalf: boolean;
|
|
@@ -9646,7 +8624,7 @@ declare class RatingElement extends LitElement {
|
|
|
9646
8624
|
private _effective;
|
|
9647
8625
|
private _commit;
|
|
9648
8626
|
private _calc;
|
|
9649
|
-
protected render(): TemplateResult<1>;
|
|
8627
|
+
protected render(): import("lit").TemplateResult<1>;
|
|
9650
8628
|
firstUpdated(): void;
|
|
9651
8629
|
}
|
|
9652
8630
|
declare global {
|
|
@@ -9679,7 +8657,7 @@ interface SelectHorizElement {
|
|
|
9679
8657
|
}
|
|
9680
8658
|
declare const SelectHorizElement_base: typeof LitElement & (new (...args: any[]) => WheelNudgeConsumer);
|
|
9681
8659
|
declare class SelectHorizElement extends SelectHorizElement_base {
|
|
9682
|
-
static styles: CSSResult[];
|
|
8660
|
+
static styles: import("lit").CSSResult[];
|
|
9683
8661
|
private _selectedIndex;
|
|
9684
8662
|
private _slottedItems;
|
|
9685
8663
|
private tickled;
|
|
@@ -9689,7 +8667,7 @@ declare class SelectHorizElement extends SelectHorizElement_base {
|
|
|
9689
8667
|
set selectedValue(value: string | null);
|
|
9690
8668
|
get selectedItem(): HTMLElement | null;
|
|
9691
8669
|
get items(): HTMLCollection;
|
|
9692
|
-
protected render(): TemplateResult<1>;
|
|
8670
|
+
protected render(): import("lit").TemplateResult<1>;
|
|
9693
8671
|
willUpdate(changed: Map<PropertyKey, unknown>): void;
|
|
9694
8672
|
private _onSlotChange;
|
|
9695
8673
|
private _syncTickled;
|
|
@@ -9739,7 +8717,7 @@ declare class ShapefillValueElement extends ShapefillValueElement_base {
|
|
|
9739
8717
|
render(): unknown;
|
|
9740
8718
|
protected updated(changed: PropertyValues): void;
|
|
9741
8719
|
disconnectedCallback(): void;
|
|
9742
|
-
static styles: CSSResult[];
|
|
8720
|
+
static styles: import("lit").CSSResult[];
|
|
9743
8721
|
}
|
|
9744
8722
|
declare global {
|
|
9745
8723
|
interface HTMLElementTagNameMap {
|
|
@@ -9823,8 +8801,8 @@ declare class SlidingNumberElement extends LitElement {
|
|
|
9823
8801
|
protected updated(): void;
|
|
9824
8802
|
private _spin;
|
|
9825
8803
|
private _renderCell;
|
|
9826
|
-
protected render(): TemplateResult<1>;
|
|
9827
|
-
static styles: CSSResult;
|
|
8804
|
+
protected render(): import("lit").TemplateResult<1>;
|
|
8805
|
+
static styles: import("lit").CSSResult;
|
|
9828
8806
|
}
|
|
9829
8807
|
declare global {
|
|
9830
8808
|
interface HTMLElementTagNameMap {
|
|
@@ -9878,8 +8856,8 @@ declare class SnackbarElement extends LitElement {
|
|
|
9878
8856
|
private _scheduleHide;
|
|
9879
8857
|
private _cancelShow;
|
|
9880
8858
|
private _cancelHide;
|
|
9881
|
-
static styles: CSSResult[];
|
|
9882
|
-
protected render(): TemplateResult<1>;
|
|
8859
|
+
static styles: import("lit").CSSResult[];
|
|
8860
|
+
protected render(): import("lit").TemplateResult<1>;
|
|
9883
8861
|
}
|
|
9884
8862
|
declare global {
|
|
9885
8863
|
interface HTMLElementTagNameMap {
|
|
@@ -9891,7 +8869,7 @@ declare global {
|
|
|
9891
8869
|
type SnapLogic = `centre` | `balanced`;
|
|
9892
8870
|
type ClickSnapMode = `closest` | `step`;
|
|
9893
8871
|
declare class SnapContainer extends LitElement {
|
|
9894
|
-
static styles: CSSResult;
|
|
8872
|
+
static styles: import("lit").CSSResult;
|
|
9895
8873
|
orientation: `horizontal` | `vertical`;
|
|
9896
8874
|
snapPositions: number;
|
|
9897
8875
|
snapLogic: SnapLogic;
|
|
@@ -10008,8 +8986,8 @@ declare class SwipeElement extends SwipeElement_base {
|
|
|
10008
8986
|
//#endregion
|
|
10009
8987
|
//#region src/tabs/tab-panel.d.ts
|
|
10010
8988
|
declare class TabPanelElement extends LitElement {
|
|
10011
|
-
render(): TemplateResult<1>;
|
|
10012
|
-
static styles: CSSResult[];
|
|
8989
|
+
render(): import("lit").TemplateResult<1>;
|
|
8990
|
+
static styles: import("lit").CSSResult[];
|
|
10013
8991
|
}
|
|
10014
8992
|
declare global {
|
|
10015
8993
|
interface HTMLElementTagNameMap {
|
|
@@ -10033,7 +9011,7 @@ declare class TabPanelsElement extends LitElement {
|
|
|
10033
9011
|
* Triggered after panel is selected
|
|
10034
9012
|
*/
|
|
10035
9013
|
onSelectedPanel?: (id: string, el: TabPanelElement) => void;
|
|
10036
|
-
render(): TemplateResult<1>;
|
|
9014
|
+
render(): import("lit").TemplateResult<1>;
|
|
10037
9015
|
getSelectedElement(): TabPanelElement | undefined;
|
|
10038
9016
|
syncWithList(el: TabListElement): void;
|
|
10039
9017
|
selectPanel(id: string): boolean | undefined;
|
|
@@ -10053,7 +9031,7 @@ declare class TabPanelsElement extends LitElement {
|
|
|
10053
9031
|
* Returns true if a panel was found and selected.
|
|
10054
9032
|
*/
|
|
10055
9033
|
selectTab(nameOrTitle: string): boolean;
|
|
10056
|
-
static styles: CSSResult;
|
|
9034
|
+
static styles: import("lit").CSSResult;
|
|
10057
9035
|
}
|
|
10058
9036
|
declare global {
|
|
10059
9037
|
interface HTMLElementTagNameMap {
|
|
@@ -10175,8 +9153,8 @@ declare class TextShimmerElement extends LitElement {
|
|
|
10175
9153
|
text: string;
|
|
10176
9154
|
/** When set, the sweep stops and the text shows flat base colour. */
|
|
10177
9155
|
paused: boolean;
|
|
10178
|
-
protected render(): TemplateResult<1>;
|
|
10179
|
-
static styles: CSSResult;
|
|
9156
|
+
protected render(): import("lit").TemplateResult<1>;
|
|
9157
|
+
static styles: import("lit").CSSResult;
|
|
10180
9158
|
}
|
|
10181
9159
|
declare global {
|
|
10182
9160
|
interface HTMLElementTagNameMap {
|
|
@@ -10404,7 +9382,7 @@ declare function resolveCssVars(host: HTMLElement): CssVars;
|
|
|
10404
9382
|
*/
|
|
10405
9383
|
declare class TimelineTrackTabElement extends LitElement {
|
|
10406
9384
|
#private;
|
|
10407
|
-
static styles: CSSResult[];
|
|
9385
|
+
static styles: import("lit").CSSResult[];
|
|
10408
9386
|
label: string;
|
|
10409
9387
|
trackKey: string;
|
|
10410
9388
|
selected: boolean;
|
|
@@ -10412,7 +9390,7 @@ declare class TimelineTrackTabElement extends LitElement {
|
|
|
10412
9390
|
resizable: boolean;
|
|
10413
9391
|
connectedCallback(): void;
|
|
10414
9392
|
disconnectedCallback(): void;
|
|
10415
|
-
protected render(): TemplateResult<1>;
|
|
9393
|
+
protected render(): import("lit").TemplateResult<1>;
|
|
10416
9394
|
}
|
|
10417
9395
|
declare global {
|
|
10418
9396
|
interface HTMLElementTagNameMap {
|
|
@@ -10442,7 +9420,7 @@ type VCanvasElement$1 = HTMLElement & {
|
|
|
10442
9420
|
};
|
|
10443
9421
|
declare class IxfxTimelineElement extends LitElement {
|
|
10444
9422
|
#private;
|
|
10445
|
-
static styles: CSSResult[];
|
|
9423
|
+
static styles: import("lit").CSSResult[];
|
|
10446
9424
|
tracks: TimelineTrack[];
|
|
10447
9425
|
events: TimelineEvent[];
|
|
10448
9426
|
min: number;
|
|
@@ -10543,7 +9521,7 @@ declare class IxfxTimelineElement extends LitElement {
|
|
|
10543
9521
|
* scrolling, invalidating canvas, dispatching events).
|
|
10544
9522
|
*/
|
|
10545
9523
|
protected updated(changedProps: PropertyValues): void;
|
|
10546
|
-
protected render(): TemplateResult<1>;
|
|
9524
|
+
protected render(): import("lit").TemplateResult<1>;
|
|
10547
9525
|
}
|
|
10548
9526
|
declare global {
|
|
10549
9527
|
interface HTMLElementTagNameMap {
|
|
@@ -10573,7 +9551,7 @@ type VCanvasElement = HTMLElement & {
|
|
|
10573
9551
|
declare function attachTimelineInteractions(host: IxfxTimelineElement, vcanvasEl: VCanvasElement): (() => void);
|
|
10574
9552
|
//#endregion
|
|
10575
9553
|
//#region src/timeline/timeline-styles.d.ts
|
|
10576
|
-
declare const timelineStyles: CSSResult;
|
|
9554
|
+
declare const timelineStyles: import("lit").CSSResult;
|
|
10577
9555
|
//#endregion
|
|
10578
9556
|
//#region src/toolbar/toolbar-group.d.ts
|
|
10579
9557
|
declare class ToolbarGroupElement extends LitElement {
|
|
@@ -10584,8 +9562,8 @@ declare class ToolbarGroupElement extends LitElement {
|
|
|
10584
9562
|
* Shows the vertical grab handle; drag starts from the handle only.
|
|
10585
9563
|
*/
|
|
10586
9564
|
reorderable: boolean;
|
|
10587
|
-
static styles: CSSResult[];
|
|
10588
|
-
protected render(): TemplateResult<1>;
|
|
9565
|
+
static styles: import("lit").CSSResult[];
|
|
9566
|
+
protected render(): import("lit").TemplateResult<1>;
|
|
10589
9567
|
}
|
|
10590
9568
|
declare global {
|
|
10591
9569
|
interface HTMLElementTagNameMap {
|
|
@@ -10645,7 +9623,7 @@ declare class ToolbarElement extends LitElement {
|
|
|
10645
9623
|
private _inner;
|
|
10646
9624
|
private _popover;
|
|
10647
9625
|
private _slot;
|
|
10648
|
-
static styles: CSSResult[];
|
|
9626
|
+
static styles: import("lit").CSSResult[];
|
|
10649
9627
|
connectedCallback(): void;
|
|
10650
9628
|
protected firstUpdated(): void;
|
|
10651
9629
|
protected updated(changed: Map<string, unknown>): void;
|
|
@@ -10715,7 +9693,7 @@ declare class ToolbarElement extends LitElement {
|
|
|
10715
9693
|
private _scheduleMeasure;
|
|
10716
9694
|
private _measure;
|
|
10717
9695
|
private _toggleOverflow;
|
|
10718
|
-
protected render(): TemplateResult<1>;
|
|
9696
|
+
protected render(): import("lit").TemplateResult<1>;
|
|
10719
9697
|
}
|
|
10720
9698
|
declare global {
|
|
10721
9699
|
interface HTMLElementTagNameMap {
|
|
@@ -10744,8 +9722,8 @@ declare class TransitoryLabelElement extends LitElement {
|
|
|
10744
9722
|
protected updated(changed: PropertyValues): void;
|
|
10745
9723
|
private _startTransition;
|
|
10746
9724
|
private _onTransitionEnd;
|
|
10747
|
-
protected render(): TemplateResult<1>;
|
|
10748
|
-
static styles: CSSResult;
|
|
9725
|
+
protected render(): import("lit").TemplateResult<1>;
|
|
9726
|
+
static styles: import("lit").CSSResult;
|
|
10749
9727
|
}
|
|
10750
9728
|
declare global {
|
|
10751
9729
|
interface HTMLElementTagNameMap {
|
|
@@ -11145,8 +10123,8 @@ declare class TreemapListElement extends LitElement implements TreeComponent, Tr
|
|
|
11145
10123
|
node: TreeNode;
|
|
11146
10124
|
depth: number;
|
|
11147
10125
|
}>;
|
|
11148
|
-
protected render(): TemplateResult<1>;
|
|
11149
|
-
static styles: CSSResult[];
|
|
10126
|
+
protected render(): import("lit").TemplateResult<1>;
|
|
10127
|
+
static styles: import("lit").CSSResult[];
|
|
11150
10128
|
}
|
|
11151
10129
|
declare global {
|
|
11152
10130
|
interface HTMLElementTagNameMap {
|
|
@@ -11203,8 +10181,8 @@ declare class TwoSplitLayoutElement extends LitElement {
|
|
|
11203
10181
|
firstUpdated(): void;
|
|
11204
10182
|
updated(changedProperties: Map<string, unknown>): void;
|
|
11205
10183
|
getZone(): HTMLElement | undefined;
|
|
11206
|
-
render(): TemplateResult<1>;
|
|
11207
|
-
static styles: CSSResult[];
|
|
10184
|
+
render(): import("lit").TemplateResult<1>;
|
|
10185
|
+
static styles: import("lit").CSSResult[];
|
|
11208
10186
|
}
|
|
11209
10187
|
declare global {
|
|
11210
10188
|
interface HTMLElementTagNameMap {
|
|
@@ -11218,7 +10196,7 @@ declare function monitorIndeterminate(targetElOrQuery: string | HTMLElement, wat
|
|
|
11218
10196
|
//#region src/xy-pad/xy-pad.d.ts
|
|
11219
10197
|
declare const XyPad_base: typeof LitElement & (new (...args: any[]) => WheelNudgeConsumer);
|
|
11220
10198
|
declare class XyPad extends XyPad_base {
|
|
11221
|
-
static styles: CSSResult[];
|
|
10199
|
+
static styles: import("lit").CSSResult[];
|
|
11222
10200
|
xMin: number;
|
|
11223
10201
|
xMax: number;
|
|
11224
10202
|
x: number;
|