@limetech/lime-elements 40.18.2 → 40.18.3
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/CHANGELOG.md +12 -0
- package/dist/cjs/limel-breadcrumbs_6.cjs.entry.js +68 -29
- package/dist/cjs/limel-helper-line_3.cjs.entry.js +9 -19
- package/dist/cjs/limel-picker.cjs.entry.js +9 -14
- package/dist/cjs/limel-select.cjs.entry.js +9 -168
- package/dist/cjs/typeahead-CnyIjog_.js +194 -0
- package/dist/collection/components/input-field/input-field.js +68 -29
- package/dist/collection/components/list/list.js +9 -19
- package/dist/collection/components/picker/picker.js +9 -14
- package/dist/collection/util/typeahead.js +26 -0
- package/dist/esm/limel-breadcrumbs_6.entry.js +69 -30
- package/dist/esm/limel-helper-line_3.entry.js +9 -19
- package/dist/esm/limel-picker.entry.js +9 -14
- package/dist/esm/limel-select.entry.js +1 -160
- package/dist/esm/typeahead-DOlnT3wh.js +188 -0
- package/dist/lime-elements/lime-elements.esm.js +1 -1
- package/dist/lime-elements/p-70272ea2.entry.js +1 -0
- package/dist/lime-elements/p-93a2d3b3.entry.js +159 -0
- package/dist/lime-elements/p-c1678d3a.entry.js +23 -0
- package/dist/lime-elements/p-ea11f365.entry.js +1 -0
- package/dist/lime-elements/p-fYs7n6yY.js +1 -0
- package/dist/types/components/input-field/input-field.d.ts +6 -6
- package/dist/types/util/typeahead.d.ts +16 -0
- package/package.json +1 -1
- package/dist/lime-elements/p-27d7c255.entry.js +0 -159
- package/dist/lime-elements/p-3c861ca8.entry.js +0 -23
- package/dist/lime-elements/p-6aae3f58.entry.js +0 -1
- package/dist/lime-elements/p-7af16e1d.entry.js +0 -1
|
@@ -188,26 +188,16 @@ const List = class {
|
|
|
188
188
|
this.listElement.removeEventListener('mousedown', this.handleItemMouseDown);
|
|
189
189
|
this.listElement.addEventListener('mousedown', this.handleItemMouseDown);
|
|
190
190
|
this.mdcList = new MDCList(element);
|
|
191
|
-
//
|
|
192
|
-
//
|
|
191
|
+
// MDC's typeahead (`hasTypeahead`) is left off, so that typed
|
|
192
|
+
// characters are not taken from a field with a list under it. The list
|
|
193
|
+
// test in `list.e2e.tsx` fails if it is turned on. `limel-select` has
|
|
194
|
+
// its own typeahead, see `src/util/typeahead.ts`.
|
|
193
195
|
//
|
|
194
|
-
// MDC
|
|
195
|
-
//
|
|
196
|
-
//
|
|
197
|
-
//
|
|
198
|
-
//
|
|
199
|
-
// Do not "fix" this by adding MDC's class name to `limel-list-item`.
|
|
200
|
-
// That revives MDC's typeahead along with three behaviors that cannot
|
|
201
|
-
// be configured from the outside: a hard coded 300ms buffer, `Enter`
|
|
202
|
-
// being ignored for as long as that buffer lives (its `notifyAction`
|
|
203
|
-
// is guarded by `isTypeaheadInProgress`), and the space bar being
|
|
204
|
-
// excluded from matches. It would also collide with `limel-menu`,
|
|
205
|
-
// where single characters are used as item hotkeys.
|
|
206
|
-
//
|
|
207
|
-
// `limel-select` implements its own typeahead instead, see
|
|
208
|
-
// `src/util/typeahead.ts`. It intercepts typed characters in the
|
|
209
|
-
// capture phase on this very element, so they never reach MDC.
|
|
210
|
-
this.mdcList.hasTypeahead = true;
|
|
196
|
+
// Adding MDC's class name to `limel-list-item` does nothing while it is
|
|
197
|
+
// off. Turning it on as well would bring its 300ms buffer, `Enter`
|
|
198
|
+
// being ignored while the buffer lives and the space bar being left out
|
|
199
|
+
// of matches, none of which can be configured, and it would collide
|
|
200
|
+
// with the single characters that `limel-menu` uses as hotkeys.
|
|
211
201
|
};
|
|
212
202
|
/**
|
|
213
203
|
* Focus the pressed list item directly, without scrolling.
|
|
@@ -3,6 +3,7 @@ import { t as translations } from './translations-Drl5LNAD.js';
|
|
|
3
3
|
import { i as isDescendant } from './dom-B9Ofc5RB.js';
|
|
4
4
|
import { E as ESCAPE, T as TAB, a as ENTER, A as ARROW_UP, b as ARROW_DOWN } from './keycodes-Bu6-QXrA.js';
|
|
5
5
|
import { c as createRandomString } from './random-string-BrjD-ITe.js';
|
|
6
|
+
import { i as isTextEditingKey } from './typeahead-DOlnT3wh.js';
|
|
6
7
|
import { a as getIconFillColor, g as getIconName } from './get-icon-props-CgNJbSP4.js';
|
|
7
8
|
import { d as debounce } from './debounce-B67JMchz.js';
|
|
8
9
|
import './language-ChagAaNf.js';
|
|
@@ -195,7 +196,7 @@ const Picker = class {
|
|
|
195
196
|
props.maxItems = 1;
|
|
196
197
|
}
|
|
197
198
|
return [
|
|
198
|
-
h("limel-chip-set", Object.assign({ key: '
|
|
199
|
+
h("limel-chip-set", Object.assign({ key: 'c3f4fd001d63a287a8a9f447f7c9df65279fbc34', type: "input", inputType: "search", label: this.label, helperText: this.helperText, leadingIcon: this.leadingIcon, value: this.chips, disabled: this.disabled, invalid: this.invalid, delimiter: this.renderDelimiter(), readonly: this.readonly, required: this.required, searchLabel: this.searchLabel, language: this.language, onInput: this.handleTextInput, onKeyDown: this.handleInputKeyDown, onChange: this.handleChange, onInteract: this.handleInteract, onStartEdit: this.handleInputFieldFocus, onStopEdit: this.handleStopEditAndBlur, emptyInputOnBlur: false, emptyInputOnChange: false, clearAllButton: this.multiple && !this.chipSetEditMode }, props)),
|
|
199
200
|
this.renderDropdown(),
|
|
200
201
|
];
|
|
201
202
|
}
|
|
@@ -243,7 +244,7 @@ const Picker = class {
|
|
|
243
244
|
'is-on-top': this.actionPosition === 'top',
|
|
244
245
|
'is-at-bottom': this.actionPosition === 'bottom',
|
|
245
246
|
'has-position-sticky': this.actionScrollBehavior === 'sticky',
|
|
246
|
-
}, badgeIcons: true, type: 'selectable', onChange: this.handleActionListChange, items: this.actions.map(this.removeUnusedPropertiesOnAction) }),
|
|
247
|
+
}, badgeIcons: true, type: 'selectable', onChange: this.handleActionListChange, onKeyDown: this.onListKeyDown, items: this.actions.map(this.removeUnusedPropertiesOnAction) }),
|
|
247
248
|
];
|
|
248
249
|
}
|
|
249
250
|
removeUnusedPropertiesOnAction(action) {
|
|
@@ -307,7 +308,7 @@ const Picker = class {
|
|
|
307
308
|
return h("p", { style: style }, text);
|
|
308
309
|
}
|
|
309
310
|
renderListResult() {
|
|
310
|
-
return (h("limel-list", { badgeIcons: this.badgeIcons, onChange: this.handleListChange, onKeyDown: this.onListKeyDown, type: "selectable", items: this.items }));
|
|
311
|
+
return (h("limel-list", { "data-suggestions": "", badgeIcons: this.badgeIcons, onChange: this.handleListChange, onKeyDown: this.onListKeyDown, type: "selectable", items: this.items }));
|
|
311
312
|
}
|
|
312
313
|
onListKeyDown(event) {
|
|
313
314
|
if (event.key === ESCAPE) {
|
|
@@ -319,7 +320,7 @@ const Picker = class {
|
|
|
319
320
|
this.chipSet.setFocus();
|
|
320
321
|
return;
|
|
321
322
|
}
|
|
322
|
-
if ([TAB, ENTER].includes(event.key)) {
|
|
323
|
+
if ([TAB, ENTER].includes(event.key) || isTextEditingKey(event)) {
|
|
323
324
|
this.chipSet.setFocus();
|
|
324
325
|
}
|
|
325
326
|
}
|
|
@@ -448,10 +449,7 @@ const Picker = class {
|
|
|
448
449
|
* @param event - event
|
|
449
450
|
*/
|
|
450
451
|
handleInputKeyDown(event) {
|
|
451
|
-
|
|
452
|
-
!event.altKey &&
|
|
453
|
-
!event.metaKey &&
|
|
454
|
-
!event.shiftKey;
|
|
452
|
+
var _a;
|
|
455
453
|
const isUp = event.key === ARROW_UP;
|
|
456
454
|
const isDown = event.key === ARROW_DOWN;
|
|
457
455
|
const isEscape = event.key === ESCAPE;
|
|
@@ -461,14 +459,14 @@ const Picker = class {
|
|
|
461
459
|
this.handleEscape();
|
|
462
460
|
return;
|
|
463
461
|
}
|
|
464
|
-
if (!
|
|
462
|
+
if (!isUp && !isDown) {
|
|
465
463
|
return;
|
|
466
464
|
}
|
|
467
|
-
const list = document.querySelector(` #${this.portalId} limel-list`);
|
|
465
|
+
const list = (_a = document.querySelector(` #${this.portalId} limel-list[data-suggestions]`)) !== null && _a !== void 0 ? _a : document.querySelector(` #${this.portalId} limel-list`);
|
|
468
466
|
if (!list) {
|
|
469
467
|
return;
|
|
470
468
|
}
|
|
471
|
-
if (
|
|
469
|
+
if (isDown) {
|
|
472
470
|
// Match by class only (not `:first-child`) so a leading
|
|
473
471
|
// `ListSeparator` doesn't shadow the first focusable item.
|
|
474
472
|
const listElement = list.shadowRoot.querySelector('.mdc-deprecated-list-item');
|
|
@@ -479,9 +477,6 @@ const Picker = class {
|
|
|
479
477
|
listElement.focus();
|
|
480
478
|
return;
|
|
481
479
|
}
|
|
482
|
-
if (!isUp) {
|
|
483
|
-
return;
|
|
484
|
-
}
|
|
485
480
|
const listItems = list.shadowRoot.querySelectorAll('.mdc-deprecated-list-item');
|
|
486
481
|
const listElement = [...listItems].at(-1);
|
|
487
482
|
if (!listElement) {
|
|
@@ -3,6 +3,7 @@ import { b as isMobileDevice } from './device-B-tmXAXV.js';
|
|
|
3
3
|
import { b as ARROW_DOWN, A as ARROW_UP, S as SPACEBAR, a as ENTER } from './keycodes-Bu6-QXrA.js';
|
|
4
4
|
import { i as isMultiple } from './multiple-BylwpiM6.js';
|
|
5
5
|
import { c as createRandomString } from './random-string-BrjD-ITe.js';
|
|
6
|
+
import { T as TypeaheadBuffer, N as NO_TYPEAHEAD_MATCH, a as isTypeaheadKey, f as findTypeaheadMatch } from './typeahead-DOlnT3wh.js';
|
|
6
7
|
import { r as renderListComponent } from './render-list-component-J1IzNpbv.js';
|
|
7
8
|
import { b as getIconColor, g as getIconName } from './get-icon-props-CgNJbSP4.js';
|
|
8
9
|
import { M as MDCFloatingLabel } from './component-CyFeUQ0l.js';
|
|
@@ -254,166 +255,6 @@ var MDCSelectHelperText = /** @class */ (function (_super) {
|
|
|
254
255
|
return MDCSelectHelperText;
|
|
255
256
|
}(MDCComponent));
|
|
256
257
|
|
|
257
|
-
/**
|
|
258
|
-
* These helpers implement "type to jump", the behavior a native `<select>` has:
|
|
259
|
-
* typing characters moves to the option whose text starts with those
|
|
260
|
-
* characters. Characters accumulate into a short-lived buffer, so typing
|
|
261
|
-
* `n`, `e` finds "Netherlands" instead of re-matching on `n` every time.
|
|
262
|
-
*
|
|
263
|
-
* The matching itself is pure and stateless — all the state lives in a
|
|
264
|
-
* `TypeaheadBuffer`, which owns the timer that discards the buffer once the
|
|
265
|
-
* user stops typing.
|
|
266
|
-
*/
|
|
267
|
-
/**
|
|
268
|
-
* How long a buffer of typed characters is kept before it is discarded, in
|
|
269
|
-
* milliseconds. Roughly matches a native `<select>`.
|
|
270
|
-
*/
|
|
271
|
-
const TYPEAHEAD_BUFFER_TIMEOUT = 1000;
|
|
272
|
-
/**
|
|
273
|
-
* Returned by `findTypeaheadMatch` when nothing matched.
|
|
274
|
-
*/
|
|
275
|
-
const NO_TYPEAHEAD_MATCH = -1;
|
|
276
|
-
/**
|
|
277
|
-
* Whether a keyboard event should be treated as a typed character.
|
|
278
|
-
*
|
|
279
|
-
* The space bar counts as a character here. Whether a *bare* space should
|
|
280
|
-
* start a buffer, or keep whatever meaning it has in the consuming component,
|
|
281
|
-
* is the consumer's decision.
|
|
282
|
-
*
|
|
283
|
-
* `shiftKey` is allowed, since capital letters are typed with it, and
|
|
284
|
-
* `event.repeat` is allowed, since holding a key down cycles through matches
|
|
285
|
-
* in a native `<select>` too.
|
|
286
|
-
*
|
|
287
|
-
* @param event - the keyboard event to inspect
|
|
288
|
-
* @returns `true` when the event represents a typed character
|
|
289
|
-
*/
|
|
290
|
-
function isTypeaheadKey(event) {
|
|
291
|
-
return (event.key.length === 1 &&
|
|
292
|
-
!event.altKey &&
|
|
293
|
-
!event.ctrlKey &&
|
|
294
|
-
!event.metaKey &&
|
|
295
|
-
!event.isComposing);
|
|
296
|
-
}
|
|
297
|
-
/**
|
|
298
|
-
* Find the candidate to move to for a given buffer of typed characters.
|
|
299
|
-
*
|
|
300
|
-
* Two different searches are used, mirroring a native `<select>`:
|
|
301
|
-
* - When the buffer is a single character, possibly repeated (`b`, `bb`,
|
|
302
|
-
* `bbb`), only that character is matched and the search starts *after*
|
|
303
|
-
* `currentIndex`. Pressing the same key repeatedly therefore cycles through
|
|
304
|
-
* all candidates starting with it.
|
|
305
|
-
* - Otherwise the whole buffer is matched and the search starts *at*
|
|
306
|
-
* `currentIndex`, so continuing to type on an already-matching candidate
|
|
307
|
-
* keeps it rather than jumping to the next one.
|
|
308
|
-
*
|
|
309
|
-
* Both searches wrap around the end of the list.
|
|
310
|
-
*
|
|
311
|
-
* @param candidates - the candidates to search, index-aligned with the rows
|
|
312
|
-
* they are rendered as. Use `null` for rows that can never match, such as
|
|
313
|
-
* separators, so that they still occupy their index.
|
|
314
|
-
* @param buffer - the characters typed so far
|
|
315
|
-
* @param currentIndex - the index to search from. Anything outside
|
|
316
|
-
* `candidates` is treated as "no current candidate", and the search starts
|
|
317
|
-
* from the beginning.
|
|
318
|
-
* @returns the index of the matching candidate, or `NO_TYPEAHEAD_MATCH`
|
|
319
|
-
*/
|
|
320
|
-
function findTypeaheadMatch(candidates, buffer, currentIndex) {
|
|
321
|
-
const count = candidates.length;
|
|
322
|
-
const query = buffer.toLowerCase();
|
|
323
|
-
if (!query || count === 0) {
|
|
324
|
-
return NO_TYPEAHEAD_MATCH;
|
|
325
|
-
}
|
|
326
|
-
const characters = [...query];
|
|
327
|
-
const cycles = isSingleDistinctCharacter(characters);
|
|
328
|
-
const needle = cycles ? characters[0] : query;
|
|
329
|
-
// Cycling starts one past the current candidate, so that pressing the same
|
|
330
|
-
// key again advances. Matching several characters starts at it, so that
|
|
331
|
-
// continuing to type keeps a candidate that already matches.
|
|
332
|
-
const offset = cycles ? 1 : 0;
|
|
333
|
-
const hasCurrent = currentIndex >= 0 && currentIndex < count;
|
|
334
|
-
const start = hasCurrent ? (currentIndex + offset) % count : 0;
|
|
335
|
-
for (let step = 0; step < count; step += 1) {
|
|
336
|
-
const index = (start + step) % count;
|
|
337
|
-
if (candidateMatches(candidates[index], needle)) {
|
|
338
|
-
return index;
|
|
339
|
-
}
|
|
340
|
-
}
|
|
341
|
-
return NO_TYPEAHEAD_MATCH;
|
|
342
|
-
}
|
|
343
|
-
/**
|
|
344
|
-
* Whether a string consists of a single character, possibly repeated. Also
|
|
345
|
-
* `true` for one character on its own, which is what makes a single key press
|
|
346
|
-
* advance past the current candidate rather than re-matching it.
|
|
347
|
-
*
|
|
348
|
-
* Takes the characters already split apart, so that the caller and this
|
|
349
|
-
* function agree on what "a character" is for anything outside the basic
|
|
350
|
-
* multilingual plane.
|
|
351
|
-
*
|
|
352
|
-
* @param characters - the characters of the string
|
|
353
|
-
* @returns `true` when every character is the same
|
|
354
|
-
*/
|
|
355
|
-
function isSingleDistinctCharacter(characters) {
|
|
356
|
-
return characters.every((character) => character === characters[0]);
|
|
357
|
-
}
|
|
358
|
-
/**
|
|
359
|
-
* @param candidate - the candidate to test, or `null` for a row that can
|
|
360
|
-
* never match
|
|
361
|
-
* @param needle - the lower cased characters to match
|
|
362
|
-
* @returns `true` when the candidate starts with the given characters
|
|
363
|
-
*/
|
|
364
|
-
function candidateMatches(candidate, needle) {
|
|
365
|
-
var _a;
|
|
366
|
-
if (!candidate || candidate.disabled) {
|
|
367
|
-
return false;
|
|
368
|
-
}
|
|
369
|
-
const text = (_a = candidate.text) === null || _a === void 0 ? void 0 : _a.trim().toLowerCase();
|
|
370
|
-
return !!text && text.startsWith(needle);
|
|
371
|
-
}
|
|
372
|
-
/**
|
|
373
|
-
* Accumulates typed characters, and discards them again once the user stops
|
|
374
|
-
* typing for `TYPEAHEAD_BUFFER_TIMEOUT`.
|
|
375
|
-
*/
|
|
376
|
-
class TypeaheadBuffer {
|
|
377
|
-
constructor(timeout = TYPEAHEAD_BUFFER_TIMEOUT) {
|
|
378
|
-
this.buffer = '';
|
|
379
|
-
this.timeout = timeout;
|
|
380
|
-
}
|
|
381
|
-
/**
|
|
382
|
-
* The characters typed so far.
|
|
383
|
-
*/
|
|
384
|
-
get value() {
|
|
385
|
-
return this.buffer;
|
|
386
|
-
}
|
|
387
|
-
/**
|
|
388
|
-
* Whether nothing has been typed, or the buffer has been discarded.
|
|
389
|
-
*/
|
|
390
|
-
get isEmpty() {
|
|
391
|
-
return this.buffer === '';
|
|
392
|
-
}
|
|
393
|
-
/**
|
|
394
|
-
* Append a character, and restart the timer that discards the buffer.
|
|
395
|
-
*
|
|
396
|
-
* @param character - the character to append
|
|
397
|
-
* @returns the buffer, including the appended character
|
|
398
|
-
*/
|
|
399
|
-
append(character) {
|
|
400
|
-
this.buffer += character;
|
|
401
|
-
clearTimeout(this.resetTimeoutId);
|
|
402
|
-
this.resetTimeoutId = setTimeout(() => {
|
|
403
|
-
this.clear();
|
|
404
|
-
}, this.timeout);
|
|
405
|
-
return this.buffer;
|
|
406
|
-
}
|
|
407
|
-
/**
|
|
408
|
-
* Discard the buffer, and cancel the timer that would have discarded it.
|
|
409
|
-
*/
|
|
410
|
-
clear() {
|
|
411
|
-
this.buffer = '';
|
|
412
|
-
clearTimeout(this.resetTimeoutId);
|
|
413
|
-
this.resetTimeoutId = undefined;
|
|
414
|
-
}
|
|
415
|
-
}
|
|
416
|
-
|
|
417
258
|
const TRIGGER_ID = 's-trigger';
|
|
418
259
|
const LABEL_ID = 's-label';
|
|
419
260
|
const SELECTED_TEXT_ID = 's-selected-text';
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
import { B as BACKSPACE, D as DELETE, S as SPACEBAR } from './keycodes-Bu6-QXrA.js';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* These helpers implement "type to jump", the behavior a native `<select>` has:
|
|
5
|
+
* typing characters moves to the option whose text starts with those
|
|
6
|
+
* characters. Characters accumulate into a short-lived buffer, so typing
|
|
7
|
+
* `n`, `e` finds "Netherlands" instead of re-matching on `n` every time.
|
|
8
|
+
*
|
|
9
|
+
* The matching itself is pure and stateless — all the state lives in a
|
|
10
|
+
* `TypeaheadBuffer`, which owns the timer that discards the buffer once the
|
|
11
|
+
* user stops typing.
|
|
12
|
+
*
|
|
13
|
+
* `isTextEditingKey` is for the other side of a list: a field with a list
|
|
14
|
+
* under it uses it to tell which keys belong to the field.
|
|
15
|
+
*/
|
|
16
|
+
/**
|
|
17
|
+
* How long a buffer of typed characters is kept before it is discarded, in
|
|
18
|
+
* milliseconds. Roughly matches a native `<select>`.
|
|
19
|
+
*/
|
|
20
|
+
const TYPEAHEAD_BUFFER_TIMEOUT = 1000;
|
|
21
|
+
/**
|
|
22
|
+
* Returned by `findTypeaheadMatch` when nothing matched.
|
|
23
|
+
*/
|
|
24
|
+
const NO_TYPEAHEAD_MATCH = -1;
|
|
25
|
+
/**
|
|
26
|
+
* Whether a keyboard event should be treated as a typed character.
|
|
27
|
+
*
|
|
28
|
+
* The space bar counts as a character here. Whether a *bare* space should
|
|
29
|
+
* start a buffer, or keep whatever meaning it has in the consuming component,
|
|
30
|
+
* is the consumer's decision.
|
|
31
|
+
*
|
|
32
|
+
* `shiftKey` is allowed, since capital letters are typed with it, and
|
|
33
|
+
* `event.repeat` is allowed, since holding a key down cycles through matches
|
|
34
|
+
* in a native `<select>` too.
|
|
35
|
+
*
|
|
36
|
+
* @param event - the keyboard event to inspect
|
|
37
|
+
* @returns `true` when the event represents a typed character
|
|
38
|
+
*/
|
|
39
|
+
function isTypeaheadKey(event) {
|
|
40
|
+
return (event.key.length === 1 &&
|
|
41
|
+
!event.altKey &&
|
|
42
|
+
!event.ctrlKey &&
|
|
43
|
+
!event.metaKey &&
|
|
44
|
+
!event.isComposing);
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Find the candidate to move to for a given buffer of typed characters.
|
|
48
|
+
*
|
|
49
|
+
* Two different searches are used, mirroring a native `<select>`:
|
|
50
|
+
* - When the buffer is a single character, possibly repeated (`b`, `bb`,
|
|
51
|
+
* `bbb`), only that character is matched and the search starts *after*
|
|
52
|
+
* `currentIndex`. Pressing the same key repeatedly therefore cycles through
|
|
53
|
+
* all candidates starting with it.
|
|
54
|
+
* - Otherwise the whole buffer is matched and the search starts *at*
|
|
55
|
+
* `currentIndex`, so continuing to type on an already-matching candidate
|
|
56
|
+
* keeps it rather than jumping to the next one.
|
|
57
|
+
*
|
|
58
|
+
* Both searches wrap around the end of the list.
|
|
59
|
+
*
|
|
60
|
+
* @param candidates - the candidates to search, index-aligned with the rows
|
|
61
|
+
* they are rendered as. Use `null` for rows that can never match, such as
|
|
62
|
+
* separators, so that they still occupy their index.
|
|
63
|
+
* @param buffer - the characters typed so far
|
|
64
|
+
* @param currentIndex - the index to search from. Anything outside
|
|
65
|
+
* `candidates` is treated as "no current candidate", and the search starts
|
|
66
|
+
* from the beginning.
|
|
67
|
+
* @returns the index of the matching candidate, or `NO_TYPEAHEAD_MATCH`
|
|
68
|
+
*/
|
|
69
|
+
function findTypeaheadMatch(candidates, buffer, currentIndex) {
|
|
70
|
+
const count = candidates.length;
|
|
71
|
+
const query = buffer.toLowerCase();
|
|
72
|
+
if (!query || count === 0) {
|
|
73
|
+
return NO_TYPEAHEAD_MATCH;
|
|
74
|
+
}
|
|
75
|
+
const characters = [...query];
|
|
76
|
+
const cycles = isSingleDistinctCharacter(characters);
|
|
77
|
+
const needle = cycles ? characters[0] : query;
|
|
78
|
+
// Cycling starts one past the current candidate, so that pressing the same
|
|
79
|
+
// key again advances. Matching several characters starts at it, so that
|
|
80
|
+
// continuing to type keeps a candidate that already matches.
|
|
81
|
+
const offset = cycles ? 1 : 0;
|
|
82
|
+
const hasCurrent = currentIndex >= 0 && currentIndex < count;
|
|
83
|
+
const start = hasCurrent ? (currentIndex + offset) % count : 0;
|
|
84
|
+
for (let step = 0; step < count; step += 1) {
|
|
85
|
+
const index = (start + step) % count;
|
|
86
|
+
if (candidateMatches(candidates[index], needle)) {
|
|
87
|
+
return index;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
return NO_TYPEAHEAD_MATCH;
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* Whether a string consists of a single character, possibly repeated. Also
|
|
94
|
+
* `true` for one character on its own, which is what makes a single key press
|
|
95
|
+
* advance past the current candidate rather than re-matching it.
|
|
96
|
+
*
|
|
97
|
+
* Takes the characters already split apart, so that the caller and this
|
|
98
|
+
* function agree on what "a character" is for anything outside the basic
|
|
99
|
+
* multilingual plane.
|
|
100
|
+
*
|
|
101
|
+
* @param characters - the characters of the string
|
|
102
|
+
* @returns `true` when every character is the same
|
|
103
|
+
*/
|
|
104
|
+
function isSingleDistinctCharacter(characters) {
|
|
105
|
+
return characters.every((character) => character === characters[0]);
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* @param candidate - the candidate to test, or `null` for a row that can
|
|
109
|
+
* never match
|
|
110
|
+
* @param needle - the lower cased characters to match
|
|
111
|
+
* @returns `true` when the candidate starts with the given characters
|
|
112
|
+
*/
|
|
113
|
+
function candidateMatches(candidate, needle) {
|
|
114
|
+
var _a;
|
|
115
|
+
if (!candidate || candidate.disabled) {
|
|
116
|
+
return false;
|
|
117
|
+
}
|
|
118
|
+
const text = (_a = candidate.text) === null || _a === void 0 ? void 0 : _a.trim().toLowerCase();
|
|
119
|
+
return !!text && text.startsWith(needle);
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* Accumulates typed characters, and discards them again once the user stops
|
|
123
|
+
* typing for `TYPEAHEAD_BUFFER_TIMEOUT`.
|
|
124
|
+
*/
|
|
125
|
+
class TypeaheadBuffer {
|
|
126
|
+
constructor(timeout = TYPEAHEAD_BUFFER_TIMEOUT) {
|
|
127
|
+
this.buffer = '';
|
|
128
|
+
this.timeout = timeout;
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* The characters typed so far.
|
|
132
|
+
*/
|
|
133
|
+
get value() {
|
|
134
|
+
return this.buffer;
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* Whether nothing has been typed, or the buffer has been discarded.
|
|
138
|
+
*/
|
|
139
|
+
get isEmpty() {
|
|
140
|
+
return this.buffer === '';
|
|
141
|
+
}
|
|
142
|
+
/**
|
|
143
|
+
* Append a character, and restart the timer that discards the buffer.
|
|
144
|
+
*
|
|
145
|
+
* @param character - the character to append
|
|
146
|
+
* @returns the buffer, including the appended character
|
|
147
|
+
*/
|
|
148
|
+
append(character) {
|
|
149
|
+
this.buffer += character;
|
|
150
|
+
clearTimeout(this.resetTimeoutId);
|
|
151
|
+
this.resetTimeoutId = setTimeout(() => {
|
|
152
|
+
this.clear();
|
|
153
|
+
}, this.timeout);
|
|
154
|
+
return this.buffer;
|
|
155
|
+
}
|
|
156
|
+
/**
|
|
157
|
+
* Discard the buffer, and cancel the timer that would have discarded it.
|
|
158
|
+
*/
|
|
159
|
+
clear() {
|
|
160
|
+
this.buffer = '';
|
|
161
|
+
clearTimeout(this.resetTimeoutId);
|
|
162
|
+
this.resetTimeoutId = undefined;
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
/**
|
|
166
|
+
* Whether a keyboard event edits text: a typed character, or Backspace or
|
|
167
|
+
* Delete. A bare space is left out, since on an option of a list it selects
|
|
168
|
+
* the option.
|
|
169
|
+
*
|
|
170
|
+
* A character typed with Option, or with AltGr, which is reported as Ctrl and
|
|
171
|
+
* Alt together, counts, since many layouts type `@` and `$` that way. A
|
|
172
|
+
* shortcut with Ctrl or Meta does not.
|
|
173
|
+
*
|
|
174
|
+
* @param event - the keyboard event to inspect
|
|
175
|
+
* @returns `true` when the event edits text
|
|
176
|
+
*/
|
|
177
|
+
function isTextEditingKey(event) {
|
|
178
|
+
if (event.key === BACKSPACE || event.key === DELETE) {
|
|
179
|
+
return true;
|
|
180
|
+
}
|
|
181
|
+
const isCharacter = event.key.length === 1 &&
|
|
182
|
+
event.key !== SPACEBAR &&
|
|
183
|
+
!event.metaKey &&
|
|
184
|
+
!event.isComposing;
|
|
185
|
+
return isCharacter && (!event.ctrlKey || event.altKey);
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
export { NO_TYPEAHEAD_MATCH as N, TypeaheadBuffer as T, isTypeaheadKey as a, findTypeaheadMatch as f, isTextEditingKey as i };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,g as l,b as a}from"./p-BU9IJqli.js";export{s as setNonce}from"./p-BU9IJqli.js";(()=>{const l=import.meta.url,a={};return""!==l&&(a.resourcesUrl=new URL(".",l).href),e(a)})().then((async e=>(await l(),a(JSON.parse('[["p-be0a8125",[[17,"limel-text-editor",{"contentType":[1,"content-type"],"language":[513],"disabled":[516],"readonly":[516],"helperText":[513,"helper-text"],"placeholder":[513],"label":[513],"invalid":[516],"value":[513],"customElements":[16],"inlineImages":[16],"triggers":[16],"required":[516],"allowResize":[516,"allow-resize"],"ui":[513],"flushPendingChanges":[64],"clear":[64]}]]],["p-49a53f0b",[[1,"limel-file-viewer",{"url":[513],"filename":[513],"alt":[513],"allowFullscreen":[516,"allow-fullscreen"],"allowOpenInNewTab":[516,"allow-open-in-new-tab"],"allowDownload":[516,"allow-download"],"language":[1],"officeViewer":[513,"office-viewer"],"actions":[16],"isFullscreen":[32],"fileType":[32],"loading":[32],"fileUrl":[32],"email":[32]},null,{"url":[{"watchUrl":0}]}]]],["p-22c44279",[[257,"limel-card",{"heading":[513],"subheading":[513],"image":[16],"icon":[513],"value":[1],"actions":[16],"clickable":[516],"orientation":[513],"selected":[516],"show3dEffect":[516,"show-3d-effect"],"canScrollUp":[32],"canScrollDown":[32]}]]],["p-29815107",[[1,"limel-file",{"value":[16],"label":[513],"helperText":[513,"helper-text"],"required":[516],"disabled":[516],"readonly":[516],"invalid":[516],"loading":[516],"accept":[513],"resizeImage":[16],"language":[1],"resizingFile":[32]},null,{"value":[{"handleValueChange":0}]}]]],["p-2c29c27f",[[1,"limel-code-diff",{"oldValue":[1,"old-value"],"newValue":[1,"new-value"],"oldHeading":[513,"old-heading"],"newHeading":[513,"new-heading"],"layout":[513],"contextLines":[514,"context-lines"],"lineWrapping":[516,"line-wrapping"],"language":[513],"reformatJson":[516,"reformat-json"],"translationLanguage":[513,"translation-language"],"diffResult":[32],"liveAnnouncement":[32],"copyState":[32],"searchVisible":[32],"searchTerm":[32],"currentMatchIndex":[32]},null,{"oldValue":[{"watchInputs":0}],"newValue":[{"watchInputs":0}],"contextLines":[{"watchInputs":0}],"reformatJson":[{"watchInputs":0}],"layout":[{"watchInputs":0}]}]]],["p-2a375a65",[[0,"limel-list-item",{"language":[513],"value":[8],"text":[513],"secondaryText":[513,"secondary-text"],"disabled":[516],"icon":[1],"iconSize":[513,"icon-size"],"badgeIcon":[516,"badge-icon"],"selected":[516],"actions":[16],"primaryComponent":[16],"image":[16],"type":[513]}]]],["p-7af16e1d",[[17,"limel-picker",{"disabled":[4],"readonly":[516],"label":[1],"searchLabel":[1,"search-label"],"helperText":[513,"helper-text"],"leadingIcon":[1,"leading-icon"],"emptyResultMessage":[1,"empty-result-message"],"language":[1],"required":[4],"invalid":[516],"value":[16],"searcher":[16],"allItems":[16],"multiple":[4],"delimiter":[513],"actions":[16],"actionPosition":[1,"action-position"],"actionScrollBehavior":[1,"action-scroll-behavior"],"badgeIcons":[516,"badge-icons"],"items":[32],"textValue":[32],"loading":[32],"chips":[32]},null,{"disabled":[{"onDisabledChange":0}],"value":[{"onChangeValue":0}]}]]],["p-519603f5",[[17,"limel-split-button",{"label":[513],"primary":[516],"icon":[513],"disabled":[516],"loading":[516],"loadingFailed":[516,"loading-failed"],"items":[16]}]]],["p-a7a84633",[[1,"limel-pagination",{"page":[2],"pageSize":[514,"page-size"],"totalItems":[514,"total-items"],"loading":[516],"language":[513],"liveMessage":[32],"openGap":[32]},null,{"language":[{"handleLanguageChange":0}]}]]],["p-c8f09dd5",[[1,"limel-color-picker",{"value":[513],"label":[513],"helperText":[513,"helper-text"],"tooltipLabel":[513,"tooltip-label"],"required":[516],"disabled":[516],"readonly":[516],"invalid":[516],"placeholder":[513],"manualInput":[516,"manual-input"],"palette":[16],"paletteColumnCount":[514,"palette-column-count"],"isOpen":[32]}]]],["p-565c85ac",[[1,"limel-form",{"schema":[16],"value":[16],"disabled":[4],"propsFactory":[16],"transformErrors":[16],"errors":[16],"headingLevel":[2,"heading-level"],"revealErrors":[4,"reveal-errors"],"highlightedField":[16]},null,{"headingLevel":[{"handleHeadingLevelChange":0}],"highlightedField":[{"handleHighlightedFieldChange":0}]}]]],["p-5d9a2877",[[1,"limel-profile-picture",{"language":[513],"label":[513],"icon":[1],"helperText":[1,"helper-text"],"disabled":[516],"readonly":[516],"required":[516],"invalid":[516],"loading":[516],"value":[1],"imageFit":[513,"image-fit"],"accept":[513],"resize":[16],"objectUrl":[32],"imageError":[32],"isErrorMessagePopoverOpen":[32]},null,{"value":[{"handleValueChange":0}]}]]],["p-eb5a18ff",[[1,"limel-dock",{"dockItems":[16],"dockFooterItems":[16],"accessibleLabel":[513,"accessible-label"],"expanded":[516],"allowResize":[516,"allow-resize"],"mobileBreakPoint":[514,"mobile-break-point"],"language":[513],"useMobileLayout":[32]},null,{"mobileBreakPoint":[{"watchMobileBreakPoint":0}]}]]],["p-9e30d206",[[1,"limel-snackbar",{"open":[516],"message":[1],"timeout":[514],"actionText":[1,"action-text"],"dismissible":[4],"multiline":[4],"language":[1],"offset":[32],"isOpen":[32],"closing":[32],"show":[64]},[[0,"changeOffset","onChangeIndex"]],{"open":[{"watchOpen":0}]}]]],["p-7035d93d",[[257,"limel-tab-panel",{"tabs":[1040],"orientation":[513],"allowTabReorder":[516,"allow-tab-reorder"]},null,{"tabs":[{"tabsChanged":0}]}]]],["p-958396b5",[[1,"limel-date-picker",{"disabled":[516],"readonly":[516],"invalid":[516],"label":[513],"placeholder":[513],"helperText":[513,"helper-text"],"required":[516],"value":[16],"type":[513],"format":[513],"language":[513],"formatter":[16],"internalFormat":[32],"showPortal":[32]}]]],["p-dd383c12",[[257,"limel-side-panel",{"label":[1],"language":[513],"closeLabel":[1,"close-label"],"stack":[16],"actions":[16],"closeOnEscape":[4,"close-on-escape"],"fullScreen":[516,"full-screen"],"widthRange":[32]},[[0,"close","stopContentEventAtHost"],[0,"changeWidth","stopContentEventAtHost"]],{"stack":[{"handleBacksChange":0}],"fullScreen":[{"handleBacksChange":0}]}]]],["p-5f2a34ed",[[1,"limel-button-group",{"value":[16],"disabled":[516],"selectedButtonId":[32]},null,{"value":[{"valueChanged":0}]}]]],["p-9bbf2612",[[1,"limel-chart",{"language":[513],"accessibleLabel":[513,"accessible-label"],"accessibleItemsLabel":[513,"accessible-items-label"],"accessibleValuesLabel":[513,"accessible-values-label"],"displayAxisLabels":[516,"display-axis-labels"],"displayItemText":[516,"display-item-text"],"displayItemValue":[516,"display-item-value"],"displayItemPercentage":[516,"display-item-percentage"],"items":[16],"type":[513],"orientation":[513],"maxValue":[514,"max-value"],"axisIncrement":[514,"axis-increment"],"loading":[516]},null,{"items":[{"handleChange":0}],"axisIncrement":[{"handleChange":0}],"maxValue":[{"handleChange":0}],"type":[{"handleChange":0}]}]]],["p-3c861ca8",[[1,"limel-select",{"disabled":[516],"readonly":[516],"invalid":[516],"required":[516],"label":[513],"helperText":[513,"helper-text"],"value":[16],"options":[16],"multiple":[4],"menuOpen":[32]},null,{"value":[{"resetHasChanged":0}],"options":[{"resetHasChanged":0},{"updateHasRichOptions":0},{"resetTypeaheadOnItemsChange":0}],"required":[{"resetTypeaheadOnItemsChange":0}],"menuOpen":[{"watchOpen":0}]}]]],["p-40a48f70",[[1,"limel-slider",{"disabled":[516],"readonly":[516],"factor":[514],"label":[513],"helperText":[513,"helper-text"],"required":[516],"invalid":[516],"displaysPercentageColors":[516,"displays-percentage-colors"],"unit":[513],"language":[513],"value":[514],"valuemax":[514],"valuemin":[514],"step":[514],"percentageClass":[32],"displayValue":[32],"isUnset":[32]},null,{"value":[{"watchValue":0}]}]]],["p-a608ebe3",[[257,"limel-info-tile",{"value":[520],"icon":[1],"label":[513],"prefix":[513],"suffix":[513],"disabled":[516],"reducedPresence":[516,"reduced-presence"],"badge":[520],"loading":[516],"link":[16],"progress":[16],"hasPrimarySlot":[32]}]]],["p-0c314c3c",[[1,"limel-table",{"data":[16],"columns":[16],"mode":[513],"layout":[513],"pageSize":[514,"page-size"],"totalRows":[514,"total-rows"],"sorting":[16],"activeRow":[1040],"movableColumns":[516,"movable-columns"],"movableRows":[516,"movable-rows"],"sortableColumns":[516,"sortable-columns"],"loading":[516],"page":[514],"emptyMessage":[1,"empty-message"],"aggregates":[16],"selectable":[516],"selection":[16],"language":[513],"paginationLocation":[513,"pagination-location"]},null,{"totalRows":[{"totalRowsChanged":0}],"pageSize":[{"pageSizeChanged":0}],"page":[{"pageChanged":0}],"activeRow":[{"activeRowChanged":0}],"data":[{"updateData":0}],"columns":[{"updateColumns":0}],"aggregates":[{"updateAggregates":0}],"selection":[{"updateSelection":0}],"selectable":[{"updateSelectable":0}],"movableRows":[{"updateMovableRows":0}],"sortableColumns":[{"updateSortableColumns":0}],"sorting":[{"updateSorting":0}]}]]],["p-586ee40c",[[1,"limel-shortcut",{"icon":[513],"label":[513],"disabled":[516],"badge":[520],"link":[16]}]]],["p-b80433be",[[1,"limel-switch",{"label":[513],"disabled":[516],"readonly":[516],"invalid":[516],"value":[516],"helperText":[513,"helper-text"],"readonlyLabels":[16],"fieldId":[32]}]]],["p-be2b8c1e",[[1,"limel-code-editor",{"value":[1],"language":[1],"readonly":[516],"disabled":[516],"invalid":[516],"required":[516],"label":[513],"helperText":[513,"helper-text"],"lineNumbers":[516,"line-numbers"],"lineWrapping":[516,"line-wrapping"],"fold":[516],"lint":[516],"colorScheme":[513,"color-scheme"],"translationLanguage":[513,"translation-language"],"showCopyButton":[516,"show-copy-button"],"random":[32],"wasCopied":[32]},null,{"value":[{"watchValue":0}],"disabled":[{"watchDisabled":0}],"readonly":[{"watchReadonly":0}],"invalid":[{"watchInvalid":0}],"required":[{"watchRequired":0}],"helperText":[{"watchHelperText":0}]}]]],["p-b983531f",[[257,"limel-dialog",{"heading":[1],"fullscreen":[516],"open":[1540],"closingActions":[16]},null,{"open":[{"watchHandler":0}],"closingActions":[{"closingActionsChanged":0}]}]]],["p-da4b4a81",[[1,"limel-menu-item-meta",{"commandText":[513,"command-text"],"hotkey":[513],"disabled":[516],"badge":[8],"showChevron":[4,"show-chevron"]}]]],["p-271662d4",[[1,"limel-progress-flow",{"flowItems":[16],"disabled":[4],"readonly":[4]}]]],["p-2f5face5",[[257,"limel-banner",{"message":[513],"icon":[513],"isOpen":[32],"open":[64],"close":[64]}]]],["p-55abec82",[[0,"limel-radio-button-group",{"items":[16],"selectedItem":[16],"disabled":[516],"badgeIcons":[516,"badge-icons"],"maxLinesSecondaryText":[514,"max-lines-secondary-text"]}]]],["p-cced022b",[[1,"limel-ai-avatar",{"isThinking":[516,"is-thinking"],"mode":[513],"variant":[513],"language":[513]},null,{"isThinking":[{"onIsThinkingChange":0}]}]]],["p-4b75e653",[[1,"limel-config",{"config":[16]}]]],["p-05c1f5a0",[[257,"limel-flex-container",{"direction":[513],"justify":[513],"align":[513],"reverse":[516]}]]],["p-c73f4160",[[257,"limel-grid"]]],["p-164e1ad0",[[257,"limel-masonry-layout",{"ordered":[516],"containerHeight":[32]},null,{"ordered":[{"onOrderedChange":0}]}]]],["p-545c087b",[[257,"limel-email-viewer",{"email":[16],"fallbackUrl":[513,"fallback-url"],"language":[513],"allowRemoteImages":[4,"allow-remote-images"],"allowRemoteImagesState":[32]},null,{"email":[{"resetAllowRemoteImages":0}]}]]],["p-f8566c5b",[[17,"limel-prosemirror-adapter",{"contentType":[1,"content-type"],"value":[1],"language":[513],"disabled":[516],"customElements":[16],"inlineImages":[16],"triggerCharacters":[16],"ui":[1],"accessibleLabel":[1,"accessible-label"],"accessibleDescription":[1,"accessible-description"],"accessiblePlaceholder":[1,"accessible-placeholder"],"required":[4],"invalid":[4],"view":[32],"actionBarItems":[32],"link":[32],"isLinkMenuOpen":[32],"flushPendingChanges":[64],"clear":[64]},null,{"accessibleLabel":[{"watchEditableAttributes":0}],"accessibleDescription":[{"watchEditableAttributes":0}],"accessiblePlaceholder":[{"watchEditableAttributes":0}],"required":[{"watchEditableAttributes":0}],"invalid":[{"watchEditableAttributes":0}],"disabled":[{"watchDisabled":0}],"value":[{"watchValue":0}]}]]],["p-300f80e7",[[1,"limel-pagination-jump",{"open":[516],"page":[2],"pageCount":[2,"page-count"],"loading":[4],"language":[1],"value":[32]},null,{"language":[{"handleLanguageChange":0}],"open":[{"handleOpenChange":0}]}]]],["p-783fd221",[[0,"limel-dock-button",{"item":[16],"expanded":[516],"useMobileLayout":[516,"use-mobile-layout"],"isOpen":[32]},null,{"isOpen":[{"openWatcher":0}]}]]],["p-fdc7da58",[[1,"limel-tab-bar",{"tabs":[1040],"orientation":[513],"allowTabReorder":[516,"allow-tab-reorder"]},null,{"tabs":[{"tabsChanged":0}],"orientation":[{"orientationChanged":0}]}]]],["p-3ae5fb67",[[17,"limel-color-picker-palette",{"value":[513],"label":[513],"helperText":[513,"helper-text"],"placeholder":[513],"required":[516],"invalid":[516],"manualInput":[516,"manual-input"],"columnCount":[514,"column-count"],"palette":[16]}]]],["p-68129487",[[0,"limel-form-header",{"heading":[1],"headingLevel":[2,"heading-level"],"description":[1],"help":[1]}]]],["p-fad7a3fa",[[17,"limel-resize-handle",{"location":[513],"resizableRegionLabel":[513,"resizable-region-label"],"language":[513],"value":[2],"min":[2],"max":[2],"isPointerOver":[32],"hasKeyboardFocus":[32]}]]],["p-7235d147",[[1,"limel-checkbox",{"disabled":[516],"readonly":[516],"invalid":[516],"label":[513],"helperText":[513,"helper-text"],"checked":[516],"indeterminate":[516],"required":[516],"readonlyLabels":[16],"modified":[32]},null,{"checked":[{"handleCheckedChange":0}],"indeterminate":[{"handleIndeterminateChange":0}],"readonly":[{"handleReadonlyChange":0}]}]]],["p-a2dc6645",[[257,"limel-callout",{"heading":[513],"icon":[513],"type":[513],"language":[1]}]]],["p-f97ec7a5",[[0,"limel-progress-flow-item",{"item":[16],"disabled":[4],"readonly":[4],"currentStep":[4,"current-step"]}]]],["p-26347009",[[1,"limel-circular-progress",{"value":[2],"maxValue":[2,"max-value"],"prefix":[513],"suffix":[1],"displayPercentageColors":[4,"display-percentage-colors"],"size":[513]}]]],["p-d0908a85",[[1,"limel-flatpickr-adapter",{"value":[16],"type":[1],"format":[1],"isOpen":[4,"is-open"],"inputElement":[16],"language":[1],"formatter":[16]}]]],["p-7f1a1ed5",[[0,"limel-radio-button",{"checked":[516],"disabled":[516],"id":[1],"label":[1],"onChange":[16]}]]],["p-55f7c9f5",[[1,"limel-badge",{"label":[520]}]]],["p-7aae3d13",[[1,"limel-icon",{"size":[513],"name":[513],"badge":[516],"svgClass":[513,"svg-class"]},null,{"name":[{"loadIcon":0}],"svgClass":[{"applySvgClass":0}]}]]],["p-6aae3f58",[[17,"limel-list",{"items":[16],"badgeIcons":[4,"badge-icons"],"iconSize":[1,"icon-size"],"type":[1],"maxLinesSecondaryText":[2,"max-lines-secondary-text"]},null,{"type":[{"handleType":0}],"items":[{"itemsChanged":0}]}],[260,"limel-notched-outline",{"required":[516],"readonly":[516],"invalid":[516],"disabled":[516],"label":[513],"labelId":[513,"label-id"],"labelElementId":[513,"label-element-id"],"hasValue":[516,"has-value"],"hasLeadingIcon":[516,"has-leading-icon"],"hasFloatingLabel":[516,"has-floating-label"]}],[0,"limel-helper-line",{"helperText":[513,"helper-text"],"length":[514],"maxLength":[514,"max-length"],"invalid":[516],"helperTextId":[513,"helper-text-id"]}]]],["p-27d7c255",[[257,"limel-menu",{"items":[16],"disabled":[516],"openDirection":[513,"open-direction"],"surfaceWidth":[513,"surface-width"],"open":[1540],"badgeIcons":[516,"badge-icons"],"gridLayout":[516,"grid-layout"],"loading":[516],"currentSubMenu":[1040],"rootItem":[16],"searcher":[16],"searchPlaceholder":[1,"search-placeholder"],"emptyResultMessage":[1,"empty-result-message"],"keepOpenOnSelect":[516,"keep-open-on-select"],"loadingSubItems":[32],"searchValue":[32],"searchResults":[32]},null,{"items":[{"itemsWatcher":0}],"open":[{"openWatcher":0}]}],[1,"limel-breadcrumbs",{"items":[16],"divider":[1]}],[17,"limel-menu-list",{"items":[16],"badgeIcons":[4,"badge-icons"],"iconSize":[1,"icon-size"]},null,{"items":[{"itemsChanged":0}]}],[17,"limel-input-field",{"disabled":[516],"readonly":[516],"invalid":[516],"label":[513],"placeholder":[513],"helperText":[513,"helper-text"],"prefix":[513],"suffix":[513],"required":[516],"value":[513],"trailingIcon":[513,"trailing-icon"],"leadingIcon":[513,"leading-icon"],"pattern":[513],"type":[513],"formatNumber":[516,"format-number"],"step":[520],"max":[514],"min":[514],"maxlength":[514],"minlength":[514],"completions":[16],"showLink":[516,"show-link"],"locale":[513],"isFocused":[32],"wasInvalid":[32],"showCompletions":[32],"getSelectionStart":[64],"getSelectionEnd":[64],"getSelectionDirection":[64]},null,{"value":[{"valueWatcher":0}],"completions":[{"completionsWatcher":0}]}],[257,"limel-menu-surface",{"open":[4],"allowClicksElement":[16]}],[1,"limel-spinner",{"size":[513],"limeBranded":[4,"lime-branded"]}]]],["p-513d2a5e",[[17,"limel-chip-set",{"value":[16],"type":[513],"label":[513],"helperText":[513,"helper-text"],"disabled":[516],"readonly":[516],"invalid":[516],"inputType":[513,"input-type"],"maxItems":[514,"max-items"],"required":[516],"searchLabel":[513,"search-label"],"emptyInputOnBlur":[516,"empty-input-on-blur"],"emptyInputOnChange":[516,"empty-input-on-change"],"clearAllButton":[4,"clear-all-button"],"leadingIcon":[513,"leading-icon"],"delimiter":[513],"autocomplete":[513],"language":[1],"editMode":[32],"textValue":[32],"blurred":[32],"inputChipIndexSelected":[32],"selectedChipIds":[32],"getEditMode":[64],"setFocus":[64],"emptyInput":[64]},null,{"readonly":[{"handleReadonlyChange":0}],"value":[{"handleChangeChips":0}]}]]],["p-65eafc85",[[1,"limel-text-editor-link-menu",{"link":[16],"language":[513],"isOpen":[516,"is-open"]}]]],["p-153e91e1",[[257,"limel-header",{"icon":[1],"heading":[1],"subheading":[1],"supportingText":[1,"supporting-text"],"subheadingDivider":[1,"subheading-divider"]}]]],["p-e8255f0b",[[257,"limel-collapsible-section",{"isOpen":[1540,"is-open"],"header":[513],"headingLevel":[2,"heading-level"],"icon":[1],"invalid":[516],"actions":[16],"language":[513]},null,{"headingLevel":[{"handleHeadingLevelChange":0}]}]]],["p-cc8d6198",[[1,"limel-3d-hover-effect-glow"]]],["p-7d27d572",[[0,"limel-drag-handle",{"dragDirection":[513,"drag-direction"],"tooltipOpenDirection":[513,"tooltip-open-direction"],"language":[513]}],[257,"limel-scroller",{"orientation":[513],"canScrollToStart":[32],"canScrollToEnd":[32],"reveal":[64]}]]],["p-a81f6962",[[257,"limel-file-dropzone",{"accept":[513],"disabled":[4],"text":[1],"helperText":[1,"helper-text"],"hasFileToDrop":[32]}],[257,"limel-file-input",{"accept":[513],"disabled":[516],"multiple":[516]}]]],["p-85318636",[[1,"limel-dynamic-label",{"value":[8],"defaultLabel":[16],"labels":[16]}]]],["p-f35880ef",[[1,"limel-help",{"value":[1],"trigger":[1],"readMoreLink":[16],"openDirection":[513,"open-direction"],"isOpen":[32]}],[1,"limel-help-content",{"value":[1],"readMoreLink":[16]}]]],["p-813cb15c",[[17,"limel-button",{"label":[513],"primary":[516],"outlined":[516],"icon":[513],"disabled":[516],"loading":[516],"loadingFailed":[516,"loading-failed"],"justLoaded":[32]},null,{"loading":[{"loadingWatcher":0}]}]]],["p-565e5ea7",[[17,"limel-icon-button",{"icon":[1],"elevated":[516],"label":[513],"helperLabel":[513,"helper-label"],"disabled":[516]}]]],["p-19681a98",[[1,"limel-markdown",{"value":[1],"whitelist":[16],"lazyLoadImages":[516,"lazy-load-images"],"removeEmptyParagraphs":[516,"remove-empty-paragraphs"],"adaptColorContrast":[516,"adapt-color-contrast"],"toMarkdown":[64]},null,{"value":[{"textChanged":0}],"whitelist":[{"handleWhitelistChange":0}],"removeEmptyParagraphs":[{"handleRemoveEmptyParagraphsChange":0}],"adaptColorContrast":[{"handleAdaptColorContrastChange":0}]}]]],["p-e0ab0046",[[1,"limel-tooltip",{"elementId":[513,"element-id"],"label":[513],"helperLabel":[513,"helper-label"],"hotkey":[513],"maxlength":[514],"openDirection":[513,"open-direction"],"open":[32]},null,{"label":[{"watchDescription":0}],"helperLabel":[{"watchDescription":0}],"hotkey":[{"watchDescription":0}]}],[1,"limel-tooltip-content",{"label":[513],"helperLabel":[513,"helper-label"],"maxlength":[514],"hotkey":[513]}],[1,"limel-hotkey",{"value":[513],"disabled":[516]}],[257,"limel-portal",{"openDirection":[513,"open-direction"],"position":[513],"containerId":[513,"container-id"],"containerStyle":[16],"inheritParentWidth":[516,"inherit-parent-width"],"visible":[516],"anchor":[16]},null,{"visible":[{"onVisible":0}]}]]],["p-67acf39d",[[17,"limel-chip",{"language":[513],"text":[513],"icon":[1],"image":[16],"link":[16],"badge":[520],"disabled":[516],"readonly":[516],"selected":[516],"invalid":[516],"removable":[516],"type":[513],"loading":[516],"progress":[514],"identifier":[520],"size":[513],"menuItems":[16]}],[1,"limel-linear-progress",{"language":[513],"value":[514],"indeterminate":[516],"accessibleLabel":[513,"accessible-label"]},null,{"value":[{"watchValue":0}]}]]],["p-707d4b28",[[1,"limel-action-bar",{"actions":[16],"accessibleLabel":[513,"accessible-label"],"language":[1],"layout":[513],"collapsible":[516],"openDirection":[513,"open-direction"],"overflowCutoff":[32]}],[0,"limel-action-bar-overflow-menu",{"items":[16],"openDirection":[513,"open-direction"]}],[0,"limel-action-bar-item",{"item":[16],"isVisible":[516,"is-visible"],"selected":[516]}]]],["p-895a68c5",[[257,"limel-popover",{"open":[4],"openDirection":[513,"open-direction"],"popupRole":[1,"popup-role"],"accessibleLabel":[1,"accessible-label"]},null,{"open":[{"watchOpen":0}]}],[1,"limel-popover-surface",{"contentCollection":[16],"popupRole":[1,"popup-role"],"accessibleLabel":[1,"accessible-label"]}]]]]'),e))));
|
|
1
|
+
import{p as e,g as l,b as a}from"./p-BU9IJqli.js";export{s as setNonce}from"./p-BU9IJqli.js";(()=>{const l=import.meta.url,a={};return""!==l&&(a.resourcesUrl=new URL(".",l).href),e(a)})().then((async e=>(await l(),a(JSON.parse('[["p-be0a8125",[[17,"limel-text-editor",{"contentType":[1,"content-type"],"language":[513],"disabled":[516],"readonly":[516],"helperText":[513,"helper-text"],"placeholder":[513],"label":[513],"invalid":[516],"value":[513],"customElements":[16],"inlineImages":[16],"triggers":[16],"required":[516],"allowResize":[516,"allow-resize"],"ui":[513],"flushPendingChanges":[64],"clear":[64]}]]],["p-49a53f0b",[[1,"limel-file-viewer",{"url":[513],"filename":[513],"alt":[513],"allowFullscreen":[516,"allow-fullscreen"],"allowOpenInNewTab":[516,"allow-open-in-new-tab"],"allowDownload":[516,"allow-download"],"language":[1],"officeViewer":[513,"office-viewer"],"actions":[16],"isFullscreen":[32],"fileType":[32],"loading":[32],"fileUrl":[32],"email":[32]},null,{"url":[{"watchUrl":0}]}]]],["p-22c44279",[[257,"limel-card",{"heading":[513],"subheading":[513],"image":[16],"icon":[513],"value":[1],"actions":[16],"clickable":[516],"orientation":[513],"selected":[516],"show3dEffect":[516,"show-3d-effect"],"canScrollUp":[32],"canScrollDown":[32]}]]],["p-29815107",[[1,"limel-file",{"value":[16],"label":[513],"helperText":[513,"helper-text"],"required":[516],"disabled":[516],"readonly":[516],"invalid":[516],"loading":[516],"accept":[513],"resizeImage":[16],"language":[1],"resizingFile":[32]},null,{"value":[{"handleValueChange":0}]}]]],["p-2c29c27f",[[1,"limel-code-diff",{"oldValue":[1,"old-value"],"newValue":[1,"new-value"],"oldHeading":[513,"old-heading"],"newHeading":[513,"new-heading"],"layout":[513],"contextLines":[514,"context-lines"],"lineWrapping":[516,"line-wrapping"],"language":[513],"reformatJson":[516,"reformat-json"],"translationLanguage":[513,"translation-language"],"diffResult":[32],"liveAnnouncement":[32],"copyState":[32],"searchVisible":[32],"searchTerm":[32],"currentMatchIndex":[32]},null,{"oldValue":[{"watchInputs":0}],"newValue":[{"watchInputs":0}],"contextLines":[{"watchInputs":0}],"reformatJson":[{"watchInputs":0}],"layout":[{"watchInputs":0}]}]]],["p-2a375a65",[[0,"limel-list-item",{"language":[513],"value":[8],"text":[513],"secondaryText":[513,"secondary-text"],"disabled":[516],"icon":[1],"iconSize":[513,"icon-size"],"badgeIcon":[516,"badge-icon"],"selected":[516],"actions":[16],"primaryComponent":[16],"image":[16],"type":[513]}]]],["p-ea11f365",[[17,"limel-picker",{"disabled":[4],"readonly":[516],"label":[1],"searchLabel":[1,"search-label"],"helperText":[513,"helper-text"],"leadingIcon":[1,"leading-icon"],"emptyResultMessage":[1,"empty-result-message"],"language":[1],"required":[4],"invalid":[516],"value":[16],"searcher":[16],"allItems":[16],"multiple":[4],"delimiter":[513],"actions":[16],"actionPosition":[1,"action-position"],"actionScrollBehavior":[1,"action-scroll-behavior"],"badgeIcons":[516,"badge-icons"],"items":[32],"textValue":[32],"loading":[32],"chips":[32]},null,{"disabled":[{"onDisabledChange":0}],"value":[{"onChangeValue":0}]}]]],["p-519603f5",[[17,"limel-split-button",{"label":[513],"primary":[516],"icon":[513],"disabled":[516],"loading":[516],"loadingFailed":[516,"loading-failed"],"items":[16]}]]],["p-a7a84633",[[1,"limel-pagination",{"page":[2],"pageSize":[514,"page-size"],"totalItems":[514,"total-items"],"loading":[516],"language":[513],"liveMessage":[32],"openGap":[32]},null,{"language":[{"handleLanguageChange":0}]}]]],["p-c8f09dd5",[[1,"limel-color-picker",{"value":[513],"label":[513],"helperText":[513,"helper-text"],"tooltipLabel":[513,"tooltip-label"],"required":[516],"disabled":[516],"readonly":[516],"invalid":[516],"placeholder":[513],"manualInput":[516,"manual-input"],"palette":[16],"paletteColumnCount":[514,"palette-column-count"],"isOpen":[32]}]]],["p-565c85ac",[[1,"limel-form",{"schema":[16],"value":[16],"disabled":[4],"propsFactory":[16],"transformErrors":[16],"errors":[16],"headingLevel":[2,"heading-level"],"revealErrors":[4,"reveal-errors"],"highlightedField":[16]},null,{"headingLevel":[{"handleHeadingLevelChange":0}],"highlightedField":[{"handleHighlightedFieldChange":0}]}]]],["p-5d9a2877",[[1,"limel-profile-picture",{"language":[513],"label":[513],"icon":[1],"helperText":[1,"helper-text"],"disabled":[516],"readonly":[516],"required":[516],"invalid":[516],"loading":[516],"value":[1],"imageFit":[513,"image-fit"],"accept":[513],"resize":[16],"objectUrl":[32],"imageError":[32],"isErrorMessagePopoverOpen":[32]},null,{"value":[{"handleValueChange":0}]}]]],["p-eb5a18ff",[[1,"limel-dock",{"dockItems":[16],"dockFooterItems":[16],"accessibleLabel":[513,"accessible-label"],"expanded":[516],"allowResize":[516,"allow-resize"],"mobileBreakPoint":[514,"mobile-break-point"],"language":[513],"useMobileLayout":[32]},null,{"mobileBreakPoint":[{"watchMobileBreakPoint":0}]}]]],["p-9e30d206",[[1,"limel-snackbar",{"open":[516],"message":[1],"timeout":[514],"actionText":[1,"action-text"],"dismissible":[4],"multiline":[4],"language":[1],"offset":[32],"isOpen":[32],"closing":[32],"show":[64]},[[0,"changeOffset","onChangeIndex"]],{"open":[{"watchOpen":0}]}]]],["p-7035d93d",[[257,"limel-tab-panel",{"tabs":[1040],"orientation":[513],"allowTabReorder":[516,"allow-tab-reorder"]},null,{"tabs":[{"tabsChanged":0}]}]]],["p-958396b5",[[1,"limel-date-picker",{"disabled":[516],"readonly":[516],"invalid":[516],"label":[513],"placeholder":[513],"helperText":[513,"helper-text"],"required":[516],"value":[16],"type":[513],"format":[513],"language":[513],"formatter":[16],"internalFormat":[32],"showPortal":[32]}]]],["p-dd383c12",[[257,"limel-side-panel",{"label":[1],"language":[513],"closeLabel":[1,"close-label"],"stack":[16],"actions":[16],"closeOnEscape":[4,"close-on-escape"],"fullScreen":[516,"full-screen"],"widthRange":[32]},[[0,"close","stopContentEventAtHost"],[0,"changeWidth","stopContentEventAtHost"]],{"stack":[{"handleBacksChange":0}],"fullScreen":[{"handleBacksChange":0}]}]]],["p-5f2a34ed",[[1,"limel-button-group",{"value":[16],"disabled":[516],"selectedButtonId":[32]},null,{"value":[{"valueChanged":0}]}]]],["p-9bbf2612",[[1,"limel-chart",{"language":[513],"accessibleLabel":[513,"accessible-label"],"accessibleItemsLabel":[513,"accessible-items-label"],"accessibleValuesLabel":[513,"accessible-values-label"],"displayAxisLabels":[516,"display-axis-labels"],"displayItemText":[516,"display-item-text"],"displayItemValue":[516,"display-item-value"],"displayItemPercentage":[516,"display-item-percentage"],"items":[16],"type":[513],"orientation":[513],"maxValue":[514,"max-value"],"axisIncrement":[514,"axis-increment"],"loading":[516]},null,{"items":[{"handleChange":0}],"axisIncrement":[{"handleChange":0}],"maxValue":[{"handleChange":0}],"type":[{"handleChange":0}]}]]],["p-c1678d3a",[[1,"limel-select",{"disabled":[516],"readonly":[516],"invalid":[516],"required":[516],"label":[513],"helperText":[513,"helper-text"],"value":[16],"options":[16],"multiple":[4],"menuOpen":[32]},null,{"value":[{"resetHasChanged":0}],"options":[{"resetHasChanged":0},{"updateHasRichOptions":0},{"resetTypeaheadOnItemsChange":0}],"required":[{"resetTypeaheadOnItemsChange":0}],"menuOpen":[{"watchOpen":0}]}]]],["p-40a48f70",[[1,"limel-slider",{"disabled":[516],"readonly":[516],"factor":[514],"label":[513],"helperText":[513,"helper-text"],"required":[516],"invalid":[516],"displaysPercentageColors":[516,"displays-percentage-colors"],"unit":[513],"language":[513],"value":[514],"valuemax":[514],"valuemin":[514],"step":[514],"percentageClass":[32],"displayValue":[32],"isUnset":[32]},null,{"value":[{"watchValue":0}]}]]],["p-a608ebe3",[[257,"limel-info-tile",{"value":[520],"icon":[1],"label":[513],"prefix":[513],"suffix":[513],"disabled":[516],"reducedPresence":[516,"reduced-presence"],"badge":[520],"loading":[516],"link":[16],"progress":[16],"hasPrimarySlot":[32]}]]],["p-0c314c3c",[[1,"limel-table",{"data":[16],"columns":[16],"mode":[513],"layout":[513],"pageSize":[514,"page-size"],"totalRows":[514,"total-rows"],"sorting":[16],"activeRow":[1040],"movableColumns":[516,"movable-columns"],"movableRows":[516,"movable-rows"],"sortableColumns":[516,"sortable-columns"],"loading":[516],"page":[514],"emptyMessage":[1,"empty-message"],"aggregates":[16],"selectable":[516],"selection":[16],"language":[513],"paginationLocation":[513,"pagination-location"]},null,{"totalRows":[{"totalRowsChanged":0}],"pageSize":[{"pageSizeChanged":0}],"page":[{"pageChanged":0}],"activeRow":[{"activeRowChanged":0}],"data":[{"updateData":0}],"columns":[{"updateColumns":0}],"aggregates":[{"updateAggregates":0}],"selection":[{"updateSelection":0}],"selectable":[{"updateSelectable":0}],"movableRows":[{"updateMovableRows":0}],"sortableColumns":[{"updateSortableColumns":0}],"sorting":[{"updateSorting":0}]}]]],["p-586ee40c",[[1,"limel-shortcut",{"icon":[513],"label":[513],"disabled":[516],"badge":[520],"link":[16]}]]],["p-b80433be",[[1,"limel-switch",{"label":[513],"disabled":[516],"readonly":[516],"invalid":[516],"value":[516],"helperText":[513,"helper-text"],"readonlyLabels":[16],"fieldId":[32]}]]],["p-be2b8c1e",[[1,"limel-code-editor",{"value":[1],"language":[1],"readonly":[516],"disabled":[516],"invalid":[516],"required":[516],"label":[513],"helperText":[513,"helper-text"],"lineNumbers":[516,"line-numbers"],"lineWrapping":[516,"line-wrapping"],"fold":[516],"lint":[516],"colorScheme":[513,"color-scheme"],"translationLanguage":[513,"translation-language"],"showCopyButton":[516,"show-copy-button"],"random":[32],"wasCopied":[32]},null,{"value":[{"watchValue":0}],"disabled":[{"watchDisabled":0}],"readonly":[{"watchReadonly":0}],"invalid":[{"watchInvalid":0}],"required":[{"watchRequired":0}],"helperText":[{"watchHelperText":0}]}]]],["p-b983531f",[[257,"limel-dialog",{"heading":[1],"fullscreen":[516],"open":[1540],"closingActions":[16]},null,{"open":[{"watchHandler":0}],"closingActions":[{"closingActionsChanged":0}]}]]],["p-da4b4a81",[[1,"limel-menu-item-meta",{"commandText":[513,"command-text"],"hotkey":[513],"disabled":[516],"badge":[8],"showChevron":[4,"show-chevron"]}]]],["p-271662d4",[[1,"limel-progress-flow",{"flowItems":[16],"disabled":[4],"readonly":[4]}]]],["p-2f5face5",[[257,"limel-banner",{"message":[513],"icon":[513],"isOpen":[32],"open":[64],"close":[64]}]]],["p-55abec82",[[0,"limel-radio-button-group",{"items":[16],"selectedItem":[16],"disabled":[516],"badgeIcons":[516,"badge-icons"],"maxLinesSecondaryText":[514,"max-lines-secondary-text"]}]]],["p-cced022b",[[1,"limel-ai-avatar",{"isThinking":[516,"is-thinking"],"mode":[513],"variant":[513],"language":[513]},null,{"isThinking":[{"onIsThinkingChange":0}]}]]],["p-4b75e653",[[1,"limel-config",{"config":[16]}]]],["p-05c1f5a0",[[257,"limel-flex-container",{"direction":[513],"justify":[513],"align":[513],"reverse":[516]}]]],["p-c73f4160",[[257,"limel-grid"]]],["p-164e1ad0",[[257,"limel-masonry-layout",{"ordered":[516],"containerHeight":[32]},null,{"ordered":[{"onOrderedChange":0}]}]]],["p-545c087b",[[257,"limel-email-viewer",{"email":[16],"fallbackUrl":[513,"fallback-url"],"language":[513],"allowRemoteImages":[4,"allow-remote-images"],"allowRemoteImagesState":[32]},null,{"email":[{"resetAllowRemoteImages":0}]}]]],["p-f8566c5b",[[17,"limel-prosemirror-adapter",{"contentType":[1,"content-type"],"value":[1],"language":[513],"disabled":[516],"customElements":[16],"inlineImages":[16],"triggerCharacters":[16],"ui":[1],"accessibleLabel":[1,"accessible-label"],"accessibleDescription":[1,"accessible-description"],"accessiblePlaceholder":[1,"accessible-placeholder"],"required":[4],"invalid":[4],"view":[32],"actionBarItems":[32],"link":[32],"isLinkMenuOpen":[32],"flushPendingChanges":[64],"clear":[64]},null,{"accessibleLabel":[{"watchEditableAttributes":0}],"accessibleDescription":[{"watchEditableAttributes":0}],"accessiblePlaceholder":[{"watchEditableAttributes":0}],"required":[{"watchEditableAttributes":0}],"invalid":[{"watchEditableAttributes":0}],"disabled":[{"watchDisabled":0}],"value":[{"watchValue":0}]}]]],["p-300f80e7",[[1,"limel-pagination-jump",{"open":[516],"page":[2],"pageCount":[2,"page-count"],"loading":[4],"language":[1],"value":[32]},null,{"language":[{"handleLanguageChange":0}],"open":[{"handleOpenChange":0}]}]]],["p-783fd221",[[0,"limel-dock-button",{"item":[16],"expanded":[516],"useMobileLayout":[516,"use-mobile-layout"],"isOpen":[32]},null,{"isOpen":[{"openWatcher":0}]}]]],["p-fdc7da58",[[1,"limel-tab-bar",{"tabs":[1040],"orientation":[513],"allowTabReorder":[516,"allow-tab-reorder"]},null,{"tabs":[{"tabsChanged":0}],"orientation":[{"orientationChanged":0}]}]]],["p-3ae5fb67",[[17,"limel-color-picker-palette",{"value":[513],"label":[513],"helperText":[513,"helper-text"],"placeholder":[513],"required":[516],"invalid":[516],"manualInput":[516,"manual-input"],"columnCount":[514,"column-count"],"palette":[16]}]]],["p-68129487",[[0,"limel-form-header",{"heading":[1],"headingLevel":[2,"heading-level"],"description":[1],"help":[1]}]]],["p-fad7a3fa",[[17,"limel-resize-handle",{"location":[513],"resizableRegionLabel":[513,"resizable-region-label"],"language":[513],"value":[2],"min":[2],"max":[2],"isPointerOver":[32],"hasKeyboardFocus":[32]}]]],["p-7235d147",[[1,"limel-checkbox",{"disabled":[516],"readonly":[516],"invalid":[516],"label":[513],"helperText":[513,"helper-text"],"checked":[516],"indeterminate":[516],"required":[516],"readonlyLabels":[16],"modified":[32]},null,{"checked":[{"handleCheckedChange":0}],"indeterminate":[{"handleIndeterminateChange":0}],"readonly":[{"handleReadonlyChange":0}]}]]],["p-a2dc6645",[[257,"limel-callout",{"heading":[513],"icon":[513],"type":[513],"language":[1]}]]],["p-f97ec7a5",[[0,"limel-progress-flow-item",{"item":[16],"disabled":[4],"readonly":[4],"currentStep":[4,"current-step"]}]]],["p-26347009",[[1,"limel-circular-progress",{"value":[2],"maxValue":[2,"max-value"],"prefix":[513],"suffix":[1],"displayPercentageColors":[4,"display-percentage-colors"],"size":[513]}]]],["p-d0908a85",[[1,"limel-flatpickr-adapter",{"value":[16],"type":[1],"format":[1],"isOpen":[4,"is-open"],"inputElement":[16],"language":[1],"formatter":[16]}]]],["p-7f1a1ed5",[[0,"limel-radio-button",{"checked":[516],"disabled":[516],"id":[1],"label":[1],"onChange":[16]}]]],["p-55f7c9f5",[[1,"limel-badge",{"label":[520]}]]],["p-7aae3d13",[[1,"limel-icon",{"size":[513],"name":[513],"badge":[516],"svgClass":[513,"svg-class"]},null,{"name":[{"loadIcon":0}],"svgClass":[{"applySvgClass":0}]}]]],["p-70272ea2",[[17,"limel-list",{"items":[16],"badgeIcons":[4,"badge-icons"],"iconSize":[1,"icon-size"],"type":[1],"maxLinesSecondaryText":[2,"max-lines-secondary-text"]},null,{"type":[{"handleType":0}],"items":[{"itemsChanged":0}]}],[260,"limel-notched-outline",{"required":[516],"readonly":[516],"invalid":[516],"disabled":[516],"label":[513],"labelId":[513,"label-id"],"labelElementId":[513,"label-element-id"],"hasValue":[516,"has-value"],"hasLeadingIcon":[516,"has-leading-icon"],"hasFloatingLabel":[516,"has-floating-label"]}],[0,"limel-helper-line",{"helperText":[513,"helper-text"],"length":[514],"maxLength":[514,"max-length"],"invalid":[516],"helperTextId":[513,"helper-text-id"]}]]],["p-93a2d3b3",[[257,"limel-menu",{"items":[16],"disabled":[516],"openDirection":[513,"open-direction"],"surfaceWidth":[513,"surface-width"],"open":[1540],"badgeIcons":[516,"badge-icons"],"gridLayout":[516,"grid-layout"],"loading":[516],"currentSubMenu":[1040],"rootItem":[16],"searcher":[16],"searchPlaceholder":[1,"search-placeholder"],"emptyResultMessage":[1,"empty-result-message"],"keepOpenOnSelect":[516,"keep-open-on-select"],"loadingSubItems":[32],"searchValue":[32],"searchResults":[32]},null,{"items":[{"itemsWatcher":0}],"open":[{"openWatcher":0}]}],[1,"limel-breadcrumbs",{"items":[16],"divider":[1]}],[17,"limel-menu-list",{"items":[16],"badgeIcons":[4,"badge-icons"],"iconSize":[1,"icon-size"]},null,{"items":[{"itemsChanged":0}]}],[17,"limel-input-field",{"disabled":[516],"readonly":[516],"invalid":[516],"label":[513],"placeholder":[513],"helperText":[513,"helper-text"],"prefix":[513],"suffix":[513],"required":[516],"value":[513],"trailingIcon":[513,"trailing-icon"],"leadingIcon":[513,"leading-icon"],"pattern":[513],"type":[513],"formatNumber":[516,"format-number"],"step":[520],"max":[514],"min":[514],"maxlength":[514],"minlength":[514],"completions":[16],"showLink":[516,"show-link"],"locale":[513],"isFocused":[32],"wasInvalid":[32],"showCompletions":[32],"getSelectionStart":[64],"getSelectionEnd":[64],"getSelectionDirection":[64]},null,{"value":[{"valueWatcher":0}],"completions":[{"completionsWatcher":0}]}],[257,"limel-menu-surface",{"open":[4],"allowClicksElement":[16]}],[1,"limel-spinner",{"size":[513],"limeBranded":[4,"lime-branded"]}]]],["p-513d2a5e",[[17,"limel-chip-set",{"value":[16],"type":[513],"label":[513],"helperText":[513,"helper-text"],"disabled":[516],"readonly":[516],"invalid":[516],"inputType":[513,"input-type"],"maxItems":[514,"max-items"],"required":[516],"searchLabel":[513,"search-label"],"emptyInputOnBlur":[516,"empty-input-on-blur"],"emptyInputOnChange":[516,"empty-input-on-change"],"clearAllButton":[4,"clear-all-button"],"leadingIcon":[513,"leading-icon"],"delimiter":[513],"autocomplete":[513],"language":[1],"editMode":[32],"textValue":[32],"blurred":[32],"inputChipIndexSelected":[32],"selectedChipIds":[32],"getEditMode":[64],"setFocus":[64],"emptyInput":[64]},null,{"readonly":[{"handleReadonlyChange":0}],"value":[{"handleChangeChips":0}]}]]],["p-65eafc85",[[1,"limel-text-editor-link-menu",{"link":[16],"language":[513],"isOpen":[516,"is-open"]}]]],["p-153e91e1",[[257,"limel-header",{"icon":[1],"heading":[1],"subheading":[1],"supportingText":[1,"supporting-text"],"subheadingDivider":[1,"subheading-divider"]}]]],["p-e8255f0b",[[257,"limel-collapsible-section",{"isOpen":[1540,"is-open"],"header":[513],"headingLevel":[2,"heading-level"],"icon":[1],"invalid":[516],"actions":[16],"language":[513]},null,{"headingLevel":[{"handleHeadingLevelChange":0}]}]]],["p-cc8d6198",[[1,"limel-3d-hover-effect-glow"]]],["p-7d27d572",[[0,"limel-drag-handle",{"dragDirection":[513,"drag-direction"],"tooltipOpenDirection":[513,"tooltip-open-direction"],"language":[513]}],[257,"limel-scroller",{"orientation":[513],"canScrollToStart":[32],"canScrollToEnd":[32],"reveal":[64]}]]],["p-a81f6962",[[257,"limel-file-dropzone",{"accept":[513],"disabled":[4],"text":[1],"helperText":[1,"helper-text"],"hasFileToDrop":[32]}],[257,"limel-file-input",{"accept":[513],"disabled":[516],"multiple":[516]}]]],["p-85318636",[[1,"limel-dynamic-label",{"value":[8],"defaultLabel":[16],"labels":[16]}]]],["p-f35880ef",[[1,"limel-help",{"value":[1],"trigger":[1],"readMoreLink":[16],"openDirection":[513,"open-direction"],"isOpen":[32]}],[1,"limel-help-content",{"value":[1],"readMoreLink":[16]}]]],["p-813cb15c",[[17,"limel-button",{"label":[513],"primary":[516],"outlined":[516],"icon":[513],"disabled":[516],"loading":[516],"loadingFailed":[516,"loading-failed"],"justLoaded":[32]},null,{"loading":[{"loadingWatcher":0}]}]]],["p-565e5ea7",[[17,"limel-icon-button",{"icon":[1],"elevated":[516],"label":[513],"helperLabel":[513,"helper-label"],"disabled":[516]}]]],["p-19681a98",[[1,"limel-markdown",{"value":[1],"whitelist":[16],"lazyLoadImages":[516,"lazy-load-images"],"removeEmptyParagraphs":[516,"remove-empty-paragraphs"],"adaptColorContrast":[516,"adapt-color-contrast"],"toMarkdown":[64]},null,{"value":[{"textChanged":0}],"whitelist":[{"handleWhitelistChange":0}],"removeEmptyParagraphs":[{"handleRemoveEmptyParagraphsChange":0}],"adaptColorContrast":[{"handleAdaptColorContrastChange":0}]}]]],["p-e0ab0046",[[1,"limel-tooltip",{"elementId":[513,"element-id"],"label":[513],"helperLabel":[513,"helper-label"],"hotkey":[513],"maxlength":[514],"openDirection":[513,"open-direction"],"open":[32]},null,{"label":[{"watchDescription":0}],"helperLabel":[{"watchDescription":0}],"hotkey":[{"watchDescription":0}]}],[1,"limel-tooltip-content",{"label":[513],"helperLabel":[513,"helper-label"],"maxlength":[514],"hotkey":[513]}],[1,"limel-hotkey",{"value":[513],"disabled":[516]}],[257,"limel-portal",{"openDirection":[513,"open-direction"],"position":[513],"containerId":[513,"container-id"],"containerStyle":[16],"inheritParentWidth":[516,"inherit-parent-width"],"visible":[516],"anchor":[16]},null,{"visible":[{"onVisible":0}]}]]],["p-67acf39d",[[17,"limel-chip",{"language":[513],"text":[513],"icon":[1],"image":[16],"link":[16],"badge":[520],"disabled":[516],"readonly":[516],"selected":[516],"invalid":[516],"removable":[516],"type":[513],"loading":[516],"progress":[514],"identifier":[520],"size":[513],"menuItems":[16]}],[1,"limel-linear-progress",{"language":[513],"value":[514],"indeterminate":[516],"accessibleLabel":[513,"accessible-label"]},null,{"value":[{"watchValue":0}]}]]],["p-707d4b28",[[1,"limel-action-bar",{"actions":[16],"accessibleLabel":[513,"accessible-label"],"language":[1],"layout":[513],"collapsible":[516],"openDirection":[513,"open-direction"],"overflowCutoff":[32]}],[0,"limel-action-bar-overflow-menu",{"items":[16],"openDirection":[513,"open-direction"]}],[0,"limel-action-bar-item",{"item":[16],"isVisible":[516,"is-visible"],"selected":[516]}]]],["p-895a68c5",[[257,"limel-popover",{"open":[4],"openDirection":[513,"open-direction"],"popupRole":[1,"popup-role"],"accessibleLabel":[1,"accessible-label"]},null,{"open":[{"watchOpen":0}]}],[1,"limel-popover-surface",{"contentCollection":[16],"popupRole":[1,"popup-role"],"accessibleLabel":[1,"accessible-label"]}]]]]'),e))));
|