@limetech/lime-elements 33.14.0-next.5 → 33.14.0-next.9
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/dist/cjs/lime-elements.cjs.js +1 -1
- package/dist/cjs/limel-list_3.cjs.entry.js +36 -14
- package/dist/cjs/limel-menu.cjs.entry.js +49 -1
- package/dist/cjs/limel-tooltip.cjs.entry.js +6 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/list/list-renderer.js +33 -13
- package/dist/collection/components/list/list.css +16 -2
- package/dist/collection/components/list/list.js +2 -0
- package/dist/collection/components/menu/menu.js +56 -6
- package/dist/collection/components/tooltip/tooltip-content.js +2 -2
- package/dist/collection/components/tooltip/tooltip.js +10 -4
- package/dist/esm/lime-elements.js +1 -1
- package/dist/esm/limel-list_3.entry.js +36 -14
- package/dist/esm/limel-menu.entry.js +49 -1
- package/dist/esm/limel-tooltip.entry.js +6 -1
- package/dist/esm/loader.js +1 -1
- package/dist/lime-elements/lime-elements.esm.js +1 -1
- package/dist/lime-elements/p-63e4f918.entry.js +1 -0
- package/dist/lime-elements/p-b0b18dfc.entry.js +1 -0
- package/dist/lime-elements/p-e078c459.entry.js +177 -0
- package/dist/types/components/list/list-renderer.d.ts +8 -6
- package/dist/types/components/menu/menu.d.ts +11 -3
- package/dist/types/components/menu/menu.types.d.ts +7 -0
- package/dist/types/components/tooltip/tooltip.d.ts +2 -0
- package/dist/types/components.d.ts +3 -3
- package/package.json +1 -1
- package/dist/lime-elements/p-1f3b6139.entry.js +0 -1
- package/dist/lime-elements/p-4e6042f7.entry.js +0 -1
- package/dist/lime-elements/p-8e8219ac.entry.js +0 -177
|
@@ -55,6 +55,22 @@ const Menu = class {
|
|
|
55
55
|
* obsolete.
|
|
56
56
|
*/
|
|
57
57
|
this.fixed = false;
|
|
58
|
+
this.setTriggerAttributes = (element) => {
|
|
59
|
+
const attributes = {
|
|
60
|
+
'aria-haspopup': true,
|
|
61
|
+
'aria-expanded': this.open,
|
|
62
|
+
disabled: this.disabled,
|
|
63
|
+
role: 'button',
|
|
64
|
+
};
|
|
65
|
+
for (const [key, value] of Object.entries(attributes)) {
|
|
66
|
+
if (!value) {
|
|
67
|
+
element.removeAttribute(key);
|
|
68
|
+
}
|
|
69
|
+
else {
|
|
70
|
+
element.setAttribute(key, String(value));
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
};
|
|
58
74
|
this.onClose = () => {
|
|
59
75
|
this.cancel.emit();
|
|
60
76
|
this.open = false;
|
|
@@ -76,6 +92,18 @@ const Menu = class {
|
|
|
76
92
|
this.select.emit(event.detail);
|
|
77
93
|
this.open = false;
|
|
78
94
|
};
|
|
95
|
+
this.setListElement = (element) => {
|
|
96
|
+
this.list = element;
|
|
97
|
+
};
|
|
98
|
+
this.focusMenuItem = () => {
|
|
99
|
+
var _a;
|
|
100
|
+
const activeElement = this.list.shadowRoot.activeElement;
|
|
101
|
+
activeElement === null || activeElement === void 0 ? void 0 : activeElement.blur();
|
|
102
|
+
const listItems = this.items.filter(this.isListItem);
|
|
103
|
+
const selectedIndex = Math.max(listItems.findIndex((item) => item.selected), 0);
|
|
104
|
+
const menuElements = Array.from(this.list.shadowRoot.querySelectorAll('[role="menuitem"]'));
|
|
105
|
+
(_a = menuElements[selectedIndex]) === null || _a === void 0 ? void 0 : _a.focus();
|
|
106
|
+
};
|
|
79
107
|
this.portalId = randomString.createRandomString();
|
|
80
108
|
}
|
|
81
109
|
componentDidLoad() {
|
|
@@ -84,6 +112,16 @@ const Menu = class {
|
|
|
84
112
|
console.warn('Using limel-menu with the default trigger is deprecated. Please provide your own trigger element.');
|
|
85
113
|
}
|
|
86
114
|
}
|
|
115
|
+
openWatcher() {
|
|
116
|
+
if (!this.open) {
|
|
117
|
+
return;
|
|
118
|
+
}
|
|
119
|
+
const observer = new IntersectionObserver(() => {
|
|
120
|
+
observer.unobserve(this.list);
|
|
121
|
+
this.focusMenuItem();
|
|
122
|
+
});
|
|
123
|
+
observer.observe(this.list);
|
|
124
|
+
}
|
|
87
125
|
render() {
|
|
88
126
|
const cssProperties = this.getCssProperties();
|
|
89
127
|
const dropdownZIndex = getComputedStyle(this.host).getPropertyValue('--dropdown-z-index');
|
|
@@ -93,7 +131,11 @@ const Menu = class {
|
|
|
93
131
|
const portalPosition = this.getPortalPosition();
|
|
94
132
|
return (index.h("div", { class: "mdc-menu-surface--anchor", onClick: this.onTriggerClick }, index.h("slot", { name: "trigger" }, this.renderTrigger()), index.h("limel-portal", { class: portalClasses, style: portalPosition, visible: this.open, containerId: this.portalId, openDirection: this.openDirection, position: this.fixed ? 'fixed' : 'absolute', containerStyle: { 'z-index': dropdownZIndex } }, index.h("limel-menu-surface", { open: this.open, onDismiss: this.onClose, style: cssProperties }, index.h("limel-list", { class: {
|
|
95
133
|
'has-grid-layout has-interactive-items': this.gridLayout,
|
|
96
|
-
}, items: this.items, type: "menu", badgeIcons: this.badgeIcons, onChange: this.onListChange })))));
|
|
134
|
+
}, items: this.items, type: "menu", badgeIcons: this.badgeIcons, onChange: this.onListChange, ref: this.setListElement })))));
|
|
135
|
+
}
|
|
136
|
+
componentDidRender() {
|
|
137
|
+
const slotElement = this.host.shadowRoot.querySelector('slot');
|
|
138
|
+
slotElement.assignedElements().forEach(this.setTriggerAttributes);
|
|
97
139
|
}
|
|
98
140
|
renderTrigger() {
|
|
99
141
|
return (index.h("button", { class: `
|
|
@@ -128,7 +170,13 @@ const Menu = class {
|
|
|
128
170
|
});
|
|
129
171
|
return zipObject.zipObject(propertyNames, values);
|
|
130
172
|
}
|
|
173
|
+
isListItem(item) {
|
|
174
|
+
return !('separator' in item);
|
|
175
|
+
}
|
|
131
176
|
get host() { return index.getElement(this); }
|
|
177
|
+
static get watchers() { return {
|
|
178
|
+
"open": ["openWatcher"]
|
|
179
|
+
}; }
|
|
132
180
|
};
|
|
133
181
|
Menu.style = menuCss;
|
|
134
182
|
|
|
@@ -11,9 +11,13 @@ const Tooltip = class {
|
|
|
11
11
|
constructor(hostRef) {
|
|
12
12
|
index.registerInstance(this, hostRef);
|
|
13
13
|
this.showTooltip = () => {
|
|
14
|
-
|
|
14
|
+
const tooltipDelay = 500;
|
|
15
|
+
this.showTooltipTimeoutHandle = window.setTimeout(() => {
|
|
16
|
+
this.open = true;
|
|
17
|
+
}, tooltipDelay);
|
|
15
18
|
};
|
|
16
19
|
this.hideTooltip = () => {
|
|
20
|
+
clearTimeout(this.showTooltipTimeoutHandle);
|
|
17
21
|
this.open = false;
|
|
18
22
|
};
|
|
19
23
|
this.portalId = randomString.createRandomString();
|
|
@@ -30,6 +34,7 @@ const Tooltip = class {
|
|
|
30
34
|
const tooltipZIndex = getComputedStyle(this.host).getPropertyValue('--tooltip-z-index');
|
|
31
35
|
return (index.h("div", { class: "trigger-anchor" }, index.h("limel-portal", { visible: this.open, containerId: this.portalId, containerStyle: {
|
|
32
36
|
'z-index': tooltipZIndex,
|
|
37
|
+
'pointer-events': 'none',
|
|
33
38
|
} }, index.h("limel-tooltip-content", { label: this.label, helperLabel: this.helperLabel, role: "tooltip", "aria-hidden": !this.open, id: this.tooltipId }))));
|
|
34
39
|
}
|
|
35
40
|
setOwnerAriaLabel() {
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -14,7 +14,7 @@ const patchEsm = () => {
|
|
|
14
14
|
const defineCustomElements = (win, options) => {
|
|
15
15
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
16
16
|
return patchEsm().then(() => {
|
|
17
|
-
return index.bootstrapLazy([["limel-picker.cjs",[[1,"limel-picker",{"disabled":[4],"readonly":[516],"label":[1],"searchLabel":[1,"search-label"],"leadingIcon":[1,"leading-icon"],"emptyResultMessage":[1,"empty-result-message"],"required":[4],"value":[16],"searcher":[16],"multiple":[4],"delimiter":[513],"displayFullList":[4,"display-full-list"],"actions":[16],"actionPosition":[1,"action-position"],"actionScrollBehavior":[1,"action-scroll-behavior"],"items":[32],"textValue":[32],"loading":[32],"chips":[32]}]]],["limel-date-picker.cjs",[[1,"limel-date-picker",{"disabled":[516],"readonly":[516],"invalid":[516],"label":[513],"helperText":[513,"helper-text"],"required":[516],"value":[16],"type":[513],"format":[513],"language":[513],"formattedValue":[32],"internalFormat":[32],"showPortal":[32]}]]],["limel-select.cjs",[[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]}]]],["limel-tab-panel.cjs",[[1,"limel-tab-panel",{"tabs":[1040]}]]],["limel-file.cjs",[[1,"limel-file",{"value":[16],"label":[513],"required":[516],"disabled":[516],"readonly":[516],"accept":[513],"language":[1],"isDraggingOverDropZone":[32]}]]],["limel-menu.cjs",[[1,"limel-menu",{"label":[513],"items":[16],"disabled":[516],"openDirection":[513,"open-direction"],"open":[1540],"badgeIcons":[516,"badge-icons"],"gridLayout":[516,"grid-layout"],"fixed":[4]}]]],["limel-button.cjs",[[1,"limel-button",{"label":[513],"primary":[516],"outlined":[516],"icon":[513],"disabled":[516],"loading":[516]}]]],["limel-collapsible-section.cjs",[[1,"limel-collapsible-section",{"isOpen":[1540,"is-open"],"header":[1],"actions":[16]}]]],["limel-dialog.cjs",[[1,"limel-dialog",{"heading":[1],"fullscreen":[516],"open":[1540],"closingActions":[16]}]]],["limel-popover.cjs",[[1,"limel-popover",{"open":[4]}]]],["limel-progress-flow.cjs",[[1,"limel-progress-flow",{"flowItems":[16],"disabled":[4],"readonly":[4]}]]],["limel-tooltip.cjs",[[1,"limel-tooltip",{"label":[
|
|
17
|
+
return index.bootstrapLazy([["limel-picker.cjs",[[1,"limel-picker",{"disabled":[4],"readonly":[516],"label":[1],"searchLabel":[1,"search-label"],"leadingIcon":[1,"leading-icon"],"emptyResultMessage":[1,"empty-result-message"],"required":[4],"value":[16],"searcher":[16],"multiple":[4],"delimiter":[513],"displayFullList":[4,"display-full-list"],"actions":[16],"actionPosition":[1,"action-position"],"actionScrollBehavior":[1,"action-scroll-behavior"],"items":[32],"textValue":[32],"loading":[32],"chips":[32]}]]],["limel-date-picker.cjs",[[1,"limel-date-picker",{"disabled":[516],"readonly":[516],"invalid":[516],"label":[513],"helperText":[513,"helper-text"],"required":[516],"value":[16],"type":[513],"format":[513],"language":[513],"formattedValue":[32],"internalFormat":[32],"showPortal":[32]}]]],["limel-select.cjs",[[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]}]]],["limel-tab-panel.cjs",[[1,"limel-tab-panel",{"tabs":[1040]}]]],["limel-file.cjs",[[1,"limel-file",{"value":[16],"label":[513],"required":[516],"disabled":[516],"readonly":[516],"accept":[513],"language":[1],"isDraggingOverDropZone":[32]}]]],["limel-menu.cjs",[[1,"limel-menu",{"label":[513],"items":[16],"disabled":[516],"openDirection":[513,"open-direction"],"open":[1540],"badgeIcons":[516,"badge-icons"],"gridLayout":[516,"grid-layout"],"fixed":[4]}]]],["limel-button.cjs",[[1,"limel-button",{"label":[513],"primary":[516],"outlined":[516],"icon":[513],"disabled":[516],"loading":[516]}]]],["limel-collapsible-section.cjs",[[1,"limel-collapsible-section",{"isOpen":[1540,"is-open"],"header":[1],"actions":[16]}]]],["limel-dialog.cjs",[[1,"limel-dialog",{"heading":[1],"fullscreen":[516],"open":[1540],"closingActions":[16]}]]],["limel-popover.cjs",[[1,"limel-popover",{"open":[4]}]]],["limel-progress-flow.cjs",[[1,"limel-progress-flow",{"flowItems":[16],"disabled":[4],"readonly":[4]}]]],["limel-tooltip.cjs",[[1,"limel-tooltip",{"label":[513],"helperLabel":[513,"helper-label"],"elementId":[513,"element-id"],"open":[32]}]]],["limel-banner.cjs",[[1,"limel-banner",{"message":[513],"icon":[513],"isOpen":[32],"open":[64],"close":[64]}]]],["limel-button-group.cjs",[[1,"limel-button-group",{"value":[16],"disabled":[516],"selectedButtonId":[32]}]]],["limel-table.cjs",[[1,"limel-table",{"data":[16],"columns":[16],"mode":[1],"pageSize":[2,"page-size"],"totalRows":[2,"total-rows"],"sorting":[16],"activeRow":[1040],"movableColumns":[4,"movable-columns"],"loading":[4],"page":[2],"emptyMessage":[1,"empty-message"]}]]],["limel-checkbox.cjs",[[1,"limel-checkbox",{"disabled":[516],"readonly":[516],"label":[513],"checked":[516],"required":[516],"modified":[32]}]]],["limel-circular-progress.cjs",[[1,"limel-circular-progress",{"value":[2],"maxValue":[2,"max-value"],"suffix":[1],"displayPercentageColors":[4,"display-percentage-colors"],"size":[513]}]]],["limel-code-editor.cjs",[[1,"limel-code-editor",{"value":[1],"language":[1],"readonly":[4],"lineNumbers":[4,"line-numbers"],"colorScheme":[1,"color-scheme"],"random":[32]}]]],["limel-config.cjs",[[1,"limel-config",{"config":[16]}]]],["limel-flex-container.cjs",[[1,"limel-flex-container",{"direction":[513],"justify":[513],"align":[513],"reverse":[516]}]]],["limel-form.cjs",[[1,"limel-form",{"schema":[16],"value":[16],"propsFactory":[16]}]]],["limel-grid.cjs",[[1,"limel-grid"]]],["limel-linear-progress.cjs",[[1,"limel-linear-progress",{"value":[2],"indeterminate":[4]}]]],["limel-slider.cjs",[[1,"limel-slider",{"disabled":[516],"readonly":[516],"factor":[514],"label":[513],"helperText":[513,"helper-text"],"unit":[513],"value":[514],"valuemax":[514],"valuemin":[514],"step":[514],"percentageClass":[32]}]]],["limel-snackbar.cjs",[[1,"limel-snackbar",{"message":[1],"timeout":[2],"actionText":[1,"action-text"],"dismissible":[4],"multiline":[4],"language":[1],"show":[64]}]]],["limel-switch.cjs",[[1,"limel-switch",{"label":[513],"disabled":[516],"readonly":[516],"value":[516],"fieldId":[32]}]]],["limel-badge.cjs",[[1,"limel-badge",{"label":[514]}]]],["limel-icon.cjs",[[1,"limel-icon",{"size":[513],"name":[513],"badge":[516]}]]],["limel-tab-bar.cjs",[[1,"limel-tab-bar",{"tabs":[1040],"canScrollLeft":[32],"canScrollRight":[32]},[[9,"resize","handleWindowResize"]]]]],["limel-header.cjs",[[1,"limel-header",{"icon":[1],"heading":[1],"subheading":[1],"supportingText":[1,"supporting-text"]}]]],["limel-progress-flow-item.cjs",[[0,"limel-progress-flow-item",{"item":[16],"disabled":[4],"readonly":[4]}]]],["limel-popover-surface.cjs",[[1,"limel-popover-surface",{"contentCollection":[16]}]]],["limel-tooltip-content.cjs",[[1,"limel-tooltip-content",{"label":[513],"helperLabel":[513,"helper-label"]}]]],["limel-list_3.cjs",[[1,"limel-list",{"items":[16],"badgeIcons":[4,"badge-icons"],"iconSize":[1,"icon-size"],"type":[1],"maxLinesSecondaryText":[2,"max-lines-secondary-text"]}],[1,"limel-menu-surface",{"open":[4],"allowClicksElement":[16]}],[1,"limel-portal",{"openDirection":[1,"open-direction"],"position":[1],"containerId":[1,"container-id"],"containerStyle":[16],"parent":[16],"inheritParentWidth":[4,"inherit-parent-width"],"visible":[4]}]]],["limel-flatpickr-adapter_2.cjs",[[1,"limel-input-field",{"disabled":[516],"readonly":[516],"invalid":[516],"label":[513],"helperText":[513,"helper-text"],"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"],"isFocused":[32],"isModified":[32],"showCompletions":[32]}],[1,"limel-flatpickr-adapter",{"value":[16],"type":[1],"format":[1],"isOpen":[4,"is-open"],"inputElement":[16],"language":[1]}]]],["limel-chip-set.cjs",[[1,"limel-chip-set",{"value":[16],"type":[513],"label":[513],"disabled":[516],"readonly":[516],"maxItems":[514,"max-items"],"required":[516],"searchLabel":[513,"search-label"],"emptyInputOnBlur":[516,"empty-input-on-blur"],"clearAllButton":[4,"clear-all-button"],"leadingIcon":[513,"leading-icon"],"delimiter":[513],"language":[1],"editMode":[32],"textValue":[32],"blurred":[32],"inputChipIndexSelected":[32],"getEditMode":[64],"setFocus":[64],"emptyInput":[64]}]]],["limel-icon-button.cjs",[[1,"limel-icon-button",{"icon":[513],"elevated":[516],"label":[513],"disabled":[516],"relayout":[64]}]]],["limel-spinner.cjs",[[1,"limel-spinner",{"size":[513],"limeBranded":[4,"lime-branded"]}]]]], options);
|
|
18
18
|
});
|
|
19
19
|
};
|
|
20
20
|
|
|
@@ -16,6 +16,9 @@ export class ListRenderer {
|
|
|
16
16
|
this.twoLines = items.some((item) => {
|
|
17
17
|
return 'secondaryText' in item && !!item.secondaryText;
|
|
18
18
|
});
|
|
19
|
+
this.commandKey = items.some((item) => {
|
|
20
|
+
return 'commandText' in item && !!item.commandText;
|
|
21
|
+
});
|
|
19
22
|
this.hasIcons = items.some((item) => {
|
|
20
23
|
return 'icon' in item && !!item.icon;
|
|
21
24
|
});
|
|
@@ -40,6 +43,7 @@ export class ListRenderer {
|
|
|
40
43
|
selectable: selectableListTypes.includes(this.config.type),
|
|
41
44
|
'mdc-deprecated-list--avatar-list': this.avatarList,
|
|
42
45
|
'list--compact': this.twoLines &&
|
|
46
|
+
this.commandKey &&
|
|
43
47
|
['small', 'x-small'].includes(this.config.iconSize),
|
|
44
48
|
};
|
|
45
49
|
return (h("ul", { class: classNames, "aria-hidden": (this.config.type === 'menu').toString(), role: role, "aria-orientation": "vertical" }, items.map(this.renderListItem)));
|
|
@@ -50,7 +54,7 @@ export class ListRenderer {
|
|
|
50
54
|
* Returns `undefined` if no item should have the attribute set.
|
|
51
55
|
* See https://github.com/material-components/material-components-web/tree/e66a43a75fef4f9179e24856649518e15e279a04/packages/mdc-list#accessibility
|
|
52
56
|
*
|
|
53
|
-
* @param {Array<ListItem | ListSeparator>} items the items of the list, including any `ListSeparator`:s
|
|
57
|
+
* @param {Array<ListItem | ListSeparator | MenuItems>} items the items of the list, including any `ListSeparator`:s
|
|
54
58
|
* @returns {number} the index as per the description
|
|
55
59
|
*/
|
|
56
60
|
getIndexForWhichToApplyTabIndex(items) {
|
|
@@ -77,7 +81,7 @@ export class ListRenderer {
|
|
|
77
81
|
/**
|
|
78
82
|
* Render a single list item
|
|
79
83
|
*
|
|
80
|
-
* @param {ListItem | ListSeparator} item the item to render
|
|
84
|
+
* @param {ListItem | ListSeparator | MenuItems} item the item to render
|
|
81
85
|
* @param {number} index the index the item had in the `items` array
|
|
82
86
|
* @returns {HTMLElement} the list item
|
|
83
87
|
*/
|
|
@@ -99,24 +103,40 @@ export class ListRenderer {
|
|
|
99
103
|
}
|
|
100
104
|
return (h("li", Object.assign({ class: classNames, role: this.config.type === 'menu' ? 'menuitem' : '', "aria-disabled": item.disabled ? 'true' : 'false', "aria-selected": item.selected ? 'true' : 'false', "data-index": index }, attributes),
|
|
101
105
|
item.icon ? this.renderIcon(this.config, item) : null,
|
|
102
|
-
this.renderText(item
|
|
106
|
+
this.renderText(item),
|
|
103
107
|
this.twoLines && this.avatarList ? this.renderDivider() : null,
|
|
104
108
|
this.renderActionMenu(item.actions)));
|
|
105
109
|
}
|
|
106
110
|
/**
|
|
107
111
|
* Render the text of the list item
|
|
108
112
|
*
|
|
109
|
-
* @param {
|
|
110
|
-
* @param {string} secondaryText secondary text for the list item
|
|
113
|
+
* @param {ListItem | MenuItem} item the list item
|
|
111
114
|
* @returns {HTMLElement | string} the text for the list item
|
|
112
115
|
*/
|
|
113
|
-
renderText(
|
|
114
|
-
if (
|
|
115
|
-
return h("span", { class: "mdc-deprecated-list-item__text" }, text);
|
|
116
|
+
renderText(item) {
|
|
117
|
+
if (this.isSimpleItem(item)) {
|
|
118
|
+
return (h("span", { class: "mdc-deprecated-list-item__text" }, item.text));
|
|
119
|
+
}
|
|
120
|
+
return (h("div", { class: "mdc-deprecated-list-item__text" },
|
|
121
|
+
h("div", { class: "mdc-deprecated-list-item__primary-command-text" },
|
|
122
|
+
h("div", { class: "mdc-deprecated-list-item__primary-text" }, item.text),
|
|
123
|
+
this.renderCommandText(item)),
|
|
124
|
+
h("div", { class: "mdc-deprecated-list-item__secondary-text" }, item.secondaryText)));
|
|
125
|
+
}
|
|
126
|
+
renderCommandText(item) {
|
|
127
|
+
if (!('commandText' in item)) {
|
|
128
|
+
return;
|
|
129
|
+
}
|
|
130
|
+
return (h("div", { class: "mdc-deprecated-list-item__command-text" }, item.commandText));
|
|
131
|
+
}
|
|
132
|
+
isSimpleItem(item) {
|
|
133
|
+
if ('commandText' in item) {
|
|
134
|
+
return false;
|
|
135
|
+
}
|
|
136
|
+
if ('secondaryText' in item) {
|
|
137
|
+
return false;
|
|
116
138
|
}
|
|
117
|
-
return
|
|
118
|
-
h("span", { class: "mdc-deprecated-list-item__primary-text" }, text),
|
|
119
|
-
h("span", { class: "mdc-deprecated-list-item__secondary-text" }, secondaryText)));
|
|
139
|
+
return true;
|
|
120
140
|
}
|
|
121
141
|
/**
|
|
122
142
|
* Render an icon for a list item
|
|
@@ -177,13 +197,13 @@ export class ListRenderer {
|
|
|
177
197
|
if (this.hasIcons) {
|
|
178
198
|
return [
|
|
179
199
|
item.icon ? this.renderIcon(config, item) : null,
|
|
180
|
-
this.renderText(item
|
|
200
|
+
this.renderText(item),
|
|
181
201
|
h("div", { class: "mdc-deprecated-list-item__meta" }, itemTemplate),
|
|
182
202
|
];
|
|
183
203
|
}
|
|
184
204
|
return [
|
|
185
205
|
h("div", { class: "mdc-deprecated-list-item__graphic" }, itemTemplate),
|
|
186
|
-
this.renderText(item
|
|
206
|
+
this.renderText(item),
|
|
187
207
|
];
|
|
188
208
|
}
|
|
189
209
|
}
|
|
@@ -3136,16 +3136,30 @@ a.mdc-list-item {
|
|
|
3136
3136
|
margin-bottom: 0.25rem;
|
|
3137
3137
|
}
|
|
3138
3138
|
.mdc-deprecated-list .mdc-deprecated-list-item__secondary-text,
|
|
3139
|
-
.mdc-deprecated-list .mdc-deprecated-list-item__primary-text
|
|
3139
|
+
.mdc-deprecated-list .mdc-deprecated-list-item__primary-text,
|
|
3140
|
+
.mdc-deprecated-list .mdc-deprecated-list-item__command-text {
|
|
3140
3141
|
margin: 0;
|
|
3141
3142
|
}
|
|
3142
3143
|
.mdc-deprecated-list .mdc-deprecated-list-item__secondary-text:before, .mdc-deprecated-list .mdc-deprecated-list-item__secondary-text:after,
|
|
3143
3144
|
.mdc-deprecated-list .mdc-deprecated-list-item__primary-text:before,
|
|
3144
|
-
.mdc-deprecated-list .mdc-deprecated-list-item__primary-text:after
|
|
3145
|
+
.mdc-deprecated-list .mdc-deprecated-list-item__primary-text:after,
|
|
3146
|
+
.mdc-deprecated-list .mdc-deprecated-list-item__command-text:before,
|
|
3147
|
+
.mdc-deprecated-list .mdc-deprecated-list-item__command-text:after {
|
|
3145
3148
|
display: none;
|
|
3146
3149
|
}
|
|
3150
|
+
.mdc-deprecated-list .mdc-deprecated-list-item__command-text {
|
|
3151
|
+
color: rgb(var(--contrast-800));
|
|
3152
|
+
margin-left: 0.7rem;
|
|
3153
|
+
}
|
|
3147
3154
|
.mdc-deprecated-list .mdc-deprecated-list-item__text {
|
|
3148
3155
|
align-self: center;
|
|
3156
|
+
width: 100%;
|
|
3157
|
+
}
|
|
3158
|
+
.mdc-deprecated-list .mdc-deprecated-list-item__primary-command-text {
|
|
3159
|
+
display: flex;
|
|
3160
|
+
flex-direction: row;
|
|
3161
|
+
justify-content: space-between;
|
|
3162
|
+
align-items: baseline;
|
|
3149
3163
|
}
|
|
3150
3164
|
.mdc-deprecated-list limel-icon.mdc-deprecated-list-item__graphic {
|
|
3151
3165
|
display: block;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Component, Event, h, Prop, Element, } from '@stencil/core';
|
|
1
|
+
import { Component, Event, h, Prop, Element, Watch, } from '@stencil/core';
|
|
2
2
|
import { createRandomString } from '../../util/random-string';
|
|
3
3
|
import { zipObject } from 'lodash-es';
|
|
4
4
|
/**
|
|
@@ -10,6 +10,7 @@ import { zipObject } from 'lodash-es';
|
|
|
10
10
|
* @exampleComponent limel-example-menu-badge-icons
|
|
11
11
|
* @exampleComponent limel-example-menu-grid
|
|
12
12
|
* @exampleComponent limel-example-menu-composite
|
|
13
|
+
* @exampleComponent limel-example-menu-hotkeys
|
|
13
14
|
*/
|
|
14
15
|
export class Menu {
|
|
15
16
|
constructor() {
|
|
@@ -52,6 +53,22 @@ export class Menu {
|
|
|
52
53
|
* obsolete.
|
|
53
54
|
*/
|
|
54
55
|
this.fixed = false;
|
|
56
|
+
this.setTriggerAttributes = (element) => {
|
|
57
|
+
const attributes = {
|
|
58
|
+
'aria-haspopup': true,
|
|
59
|
+
'aria-expanded': this.open,
|
|
60
|
+
disabled: this.disabled,
|
|
61
|
+
role: 'button',
|
|
62
|
+
};
|
|
63
|
+
for (const [key, value] of Object.entries(attributes)) {
|
|
64
|
+
if (!value) {
|
|
65
|
+
element.removeAttribute(key);
|
|
66
|
+
}
|
|
67
|
+
else {
|
|
68
|
+
element.setAttribute(key, String(value));
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
};
|
|
55
72
|
this.onClose = () => {
|
|
56
73
|
this.cancel.emit();
|
|
57
74
|
this.open = false;
|
|
@@ -73,6 +90,18 @@ export class Menu {
|
|
|
73
90
|
this.select.emit(event.detail);
|
|
74
91
|
this.open = false;
|
|
75
92
|
};
|
|
93
|
+
this.setListElement = (element) => {
|
|
94
|
+
this.list = element;
|
|
95
|
+
};
|
|
96
|
+
this.focusMenuItem = () => {
|
|
97
|
+
var _a;
|
|
98
|
+
const activeElement = this.list.shadowRoot.activeElement;
|
|
99
|
+
activeElement === null || activeElement === void 0 ? void 0 : activeElement.blur();
|
|
100
|
+
const listItems = this.items.filter(this.isListItem);
|
|
101
|
+
const selectedIndex = Math.max(listItems.findIndex((item) => item.selected), 0);
|
|
102
|
+
const menuElements = Array.from(this.list.shadowRoot.querySelectorAll('[role="menuitem"]'));
|
|
103
|
+
(_a = menuElements[selectedIndex]) === null || _a === void 0 ? void 0 : _a.focus();
|
|
104
|
+
};
|
|
76
105
|
this.portalId = createRandomString();
|
|
77
106
|
}
|
|
78
107
|
componentDidLoad() {
|
|
@@ -81,6 +110,16 @@ export class Menu {
|
|
|
81
110
|
console.warn('Using limel-menu with the default trigger is deprecated. Please provide your own trigger element.');
|
|
82
111
|
}
|
|
83
112
|
}
|
|
113
|
+
openWatcher() {
|
|
114
|
+
if (!this.open) {
|
|
115
|
+
return;
|
|
116
|
+
}
|
|
117
|
+
const observer = new IntersectionObserver(() => {
|
|
118
|
+
observer.unobserve(this.list);
|
|
119
|
+
this.focusMenuItem();
|
|
120
|
+
});
|
|
121
|
+
observer.observe(this.list);
|
|
122
|
+
}
|
|
84
123
|
render() {
|
|
85
124
|
const cssProperties = this.getCssProperties();
|
|
86
125
|
const dropdownZIndex = getComputedStyle(this.host).getPropertyValue('--dropdown-z-index');
|
|
@@ -94,7 +133,11 @@ export class Menu {
|
|
|
94
133
|
h("limel-menu-surface", { open: this.open, onDismiss: this.onClose, style: cssProperties },
|
|
95
134
|
h("limel-list", { class: {
|
|
96
135
|
'has-grid-layout has-interactive-items': this.gridLayout,
|
|
97
|
-
}, items: this.items, type: "menu", badgeIcons: this.badgeIcons, onChange: this.onListChange })))));
|
|
136
|
+
}, items: this.items, type: "menu", badgeIcons: this.badgeIcons, onChange: this.onListChange, ref: this.setListElement })))));
|
|
137
|
+
}
|
|
138
|
+
componentDidRender() {
|
|
139
|
+
const slotElement = this.host.shadowRoot.querySelector('slot');
|
|
140
|
+
slotElement.assignedElements().forEach(this.setTriggerAttributes);
|
|
98
141
|
}
|
|
99
142
|
renderTrigger() {
|
|
100
143
|
return (h("button", { class: `
|
|
@@ -130,6 +173,9 @@ export class Menu {
|
|
|
130
173
|
});
|
|
131
174
|
return zipObject(propertyNames, values);
|
|
132
175
|
}
|
|
176
|
+
isListItem(item) {
|
|
177
|
+
return !('separator' in item);
|
|
178
|
+
}
|
|
133
179
|
static get is() { return "limel-menu"; }
|
|
134
180
|
static get encapsulation() { return "shadow"; }
|
|
135
181
|
static get originalStyleUrls() { return {
|
|
@@ -164,15 +210,15 @@ export class Menu {
|
|
|
164
210
|
"type": "unknown",
|
|
165
211
|
"mutable": false,
|
|
166
212
|
"complexType": {
|
|
167
|
-
"original": "Array<
|
|
168
|
-
"resolved": "(
|
|
213
|
+
"original": "Array<MenuItem | ListSeparator>",
|
|
214
|
+
"resolved": "(ListSeparator | MenuItem)[]",
|
|
169
215
|
"references": {
|
|
170
216
|
"Array": {
|
|
171
217
|
"location": "global"
|
|
172
218
|
},
|
|
173
|
-
"
|
|
219
|
+
"MenuItem": {
|
|
174
220
|
"location": "import",
|
|
175
|
-
"path": "
|
|
221
|
+
"path": "./menu.types"
|
|
176
222
|
},
|
|
177
223
|
"ListSeparator": {
|
|
178
224
|
"location": "import",
|
|
@@ -342,4 +388,8 @@ export class Menu {
|
|
|
342
388
|
}
|
|
343
389
|
}]; }
|
|
344
390
|
static get elementRef() { return "host"; }
|
|
391
|
+
static get watchers() { return [{
|
|
392
|
+
"propName": "open",
|
|
393
|
+
"methodName": "openWatcher"
|
|
394
|
+
}]; }
|
|
345
395
|
}
|
|
@@ -34,7 +34,7 @@ export class TooltipContent {
|
|
|
34
34
|
"text": "Short descriptive text of the owner element."
|
|
35
35
|
},
|
|
36
36
|
"attribute": "label",
|
|
37
|
-
"reflect":
|
|
37
|
+
"reflect": true
|
|
38
38
|
},
|
|
39
39
|
"helperLabel": {
|
|
40
40
|
"type": "string",
|
|
@@ -51,7 +51,7 @@ export class TooltipContent {
|
|
|
51
51
|
"text": "Additional helper text for the element.\nExample usage can be a keyboard shortcut to activate the function of the\nowner element."
|
|
52
52
|
},
|
|
53
53
|
"attribute": "helper-label",
|
|
54
|
-
"reflect":
|
|
54
|
+
"reflect": true
|
|
55
55
|
}
|
|
56
56
|
}; }
|
|
57
57
|
}
|
|
@@ -14,13 +14,18 @@ import { createRandomString } from '../../util/random-string';
|
|
|
14
14
|
* ```
|
|
15
15
|
*
|
|
16
16
|
* @exampleComponent limel-example-tooltip
|
|
17
|
+
* @private
|
|
17
18
|
*/
|
|
18
19
|
export class Tooltip {
|
|
19
20
|
constructor() {
|
|
20
21
|
this.showTooltip = () => {
|
|
21
|
-
|
|
22
|
+
const tooltipDelay = 500;
|
|
23
|
+
this.showTooltipTimeoutHandle = window.setTimeout(() => {
|
|
24
|
+
this.open = true;
|
|
25
|
+
}, tooltipDelay);
|
|
22
26
|
};
|
|
23
27
|
this.hideTooltip = () => {
|
|
28
|
+
clearTimeout(this.showTooltipTimeoutHandle);
|
|
24
29
|
this.open = false;
|
|
25
30
|
};
|
|
26
31
|
this.portalId = createRandomString();
|
|
@@ -38,6 +43,7 @@ export class Tooltip {
|
|
|
38
43
|
return (h("div", { class: "trigger-anchor" },
|
|
39
44
|
h("limel-portal", { visible: this.open, containerId: this.portalId, containerStyle: {
|
|
40
45
|
'z-index': tooltipZIndex,
|
|
46
|
+
'pointer-events': 'none',
|
|
41
47
|
} },
|
|
42
48
|
h("limel-tooltip-content", { label: this.label, helperLabel: this.helperLabel, role: "tooltip", "aria-hidden": !this.open, id: this.tooltipId }))));
|
|
43
49
|
}
|
|
@@ -91,7 +97,7 @@ export class Tooltip {
|
|
|
91
97
|
"text": "Short descriptive text of the owner element."
|
|
92
98
|
},
|
|
93
99
|
"attribute": "label",
|
|
94
|
-
"reflect":
|
|
100
|
+
"reflect": true
|
|
95
101
|
},
|
|
96
102
|
"helperLabel": {
|
|
97
103
|
"type": "string",
|
|
@@ -108,7 +114,7 @@ export class Tooltip {
|
|
|
108
114
|
"text": "Additional helper text for the element.\nExample usage can be a keyboard shortcut to activate the function of the\nowner element."
|
|
109
115
|
},
|
|
110
116
|
"attribute": "helper-label",
|
|
111
|
-
"reflect":
|
|
117
|
+
"reflect": true
|
|
112
118
|
},
|
|
113
119
|
"elementId": {
|
|
114
120
|
"type": "string",
|
|
@@ -125,7 +131,7 @@ export class Tooltip {
|
|
|
125
131
|
"text": "ID of the owner element that the tooltip should describe.\nMust be a child within the same document fragment as the tooltip element\nitself."
|
|
126
132
|
},
|
|
127
133
|
"attribute": "element-id",
|
|
128
|
-
"reflect":
|
|
134
|
+
"reflect": true
|
|
129
135
|
}
|
|
130
136
|
}; }
|
|
131
137
|
static get states() { return {
|
|
@@ -13,5 +13,5 @@ const patchBrowser = () => {
|
|
|
13
13
|
};
|
|
14
14
|
|
|
15
15
|
patchBrowser().then(options => {
|
|
16
|
-
return bootstrapLazy([["limel-picker",[[1,"limel-picker",{"disabled":[4],"readonly":[516],"label":[1],"searchLabel":[1,"search-label"],"leadingIcon":[1,"leading-icon"],"emptyResultMessage":[1,"empty-result-message"],"required":[4],"value":[16],"searcher":[16],"multiple":[4],"delimiter":[513],"displayFullList":[4,"display-full-list"],"actions":[16],"actionPosition":[1,"action-position"],"actionScrollBehavior":[1,"action-scroll-behavior"],"items":[32],"textValue":[32],"loading":[32],"chips":[32]}]]],["limel-date-picker",[[1,"limel-date-picker",{"disabled":[516],"readonly":[516],"invalid":[516],"label":[513],"helperText":[513,"helper-text"],"required":[516],"value":[16],"type":[513],"format":[513],"language":[513],"formattedValue":[32],"internalFormat":[32],"showPortal":[32]}]]],["limel-select",[[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]}]]],["limel-tab-panel",[[1,"limel-tab-panel",{"tabs":[1040]}]]],["limel-file",[[1,"limel-file",{"value":[16],"label":[513],"required":[516],"disabled":[516],"readonly":[516],"accept":[513],"language":[1],"isDraggingOverDropZone":[32]}]]],["limel-menu",[[1,"limel-menu",{"label":[513],"items":[16],"disabled":[516],"openDirection":[513,"open-direction"],"open":[1540],"badgeIcons":[516,"badge-icons"],"gridLayout":[516,"grid-layout"],"fixed":[4]}]]],["limel-button",[[1,"limel-button",{"label":[513],"primary":[516],"outlined":[516],"icon":[513],"disabled":[516],"loading":[516]}]]],["limel-collapsible-section",[[1,"limel-collapsible-section",{"isOpen":[1540,"is-open"],"header":[1],"actions":[16]}]]],["limel-dialog",[[1,"limel-dialog",{"heading":[1],"fullscreen":[516],"open":[1540],"closingActions":[16]}]]],["limel-popover",[[1,"limel-popover",{"open":[4]}]]],["limel-progress-flow",[[1,"limel-progress-flow",{"flowItems":[16],"disabled":[4],"readonly":[4]}]]],["limel-tooltip",[[1,"limel-tooltip",{"label":[
|
|
16
|
+
return bootstrapLazy([["limel-picker",[[1,"limel-picker",{"disabled":[4],"readonly":[516],"label":[1],"searchLabel":[1,"search-label"],"leadingIcon":[1,"leading-icon"],"emptyResultMessage":[1,"empty-result-message"],"required":[4],"value":[16],"searcher":[16],"multiple":[4],"delimiter":[513],"displayFullList":[4,"display-full-list"],"actions":[16],"actionPosition":[1,"action-position"],"actionScrollBehavior":[1,"action-scroll-behavior"],"items":[32],"textValue":[32],"loading":[32],"chips":[32]}]]],["limel-date-picker",[[1,"limel-date-picker",{"disabled":[516],"readonly":[516],"invalid":[516],"label":[513],"helperText":[513,"helper-text"],"required":[516],"value":[16],"type":[513],"format":[513],"language":[513],"formattedValue":[32],"internalFormat":[32],"showPortal":[32]}]]],["limel-select",[[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]}]]],["limel-tab-panel",[[1,"limel-tab-panel",{"tabs":[1040]}]]],["limel-file",[[1,"limel-file",{"value":[16],"label":[513],"required":[516],"disabled":[516],"readonly":[516],"accept":[513],"language":[1],"isDraggingOverDropZone":[32]}]]],["limel-menu",[[1,"limel-menu",{"label":[513],"items":[16],"disabled":[516],"openDirection":[513,"open-direction"],"open":[1540],"badgeIcons":[516,"badge-icons"],"gridLayout":[516,"grid-layout"],"fixed":[4]}]]],["limel-button",[[1,"limel-button",{"label":[513],"primary":[516],"outlined":[516],"icon":[513],"disabled":[516],"loading":[516]}]]],["limel-collapsible-section",[[1,"limel-collapsible-section",{"isOpen":[1540,"is-open"],"header":[1],"actions":[16]}]]],["limel-dialog",[[1,"limel-dialog",{"heading":[1],"fullscreen":[516],"open":[1540],"closingActions":[16]}]]],["limel-popover",[[1,"limel-popover",{"open":[4]}]]],["limel-progress-flow",[[1,"limel-progress-flow",{"flowItems":[16],"disabled":[4],"readonly":[4]}]]],["limel-tooltip",[[1,"limel-tooltip",{"label":[513],"helperLabel":[513,"helper-label"],"elementId":[513,"element-id"],"open":[32]}]]],["limel-banner",[[1,"limel-banner",{"message":[513],"icon":[513],"isOpen":[32],"open":[64],"close":[64]}]]],["limel-button-group",[[1,"limel-button-group",{"value":[16],"disabled":[516],"selectedButtonId":[32]}]]],["limel-table",[[1,"limel-table",{"data":[16],"columns":[16],"mode":[1],"pageSize":[2,"page-size"],"totalRows":[2,"total-rows"],"sorting":[16],"activeRow":[1040],"movableColumns":[4,"movable-columns"],"loading":[4],"page":[2],"emptyMessage":[1,"empty-message"]}]]],["limel-checkbox",[[1,"limel-checkbox",{"disabled":[516],"readonly":[516],"label":[513],"checked":[516],"required":[516],"modified":[32]}]]],["limel-circular-progress",[[1,"limel-circular-progress",{"value":[2],"maxValue":[2,"max-value"],"suffix":[1],"displayPercentageColors":[4,"display-percentage-colors"],"size":[513]}]]],["limel-code-editor",[[1,"limel-code-editor",{"value":[1],"language":[1],"readonly":[4],"lineNumbers":[4,"line-numbers"],"colorScheme":[1,"color-scheme"],"random":[32]}]]],["limel-config",[[1,"limel-config",{"config":[16]}]]],["limel-flex-container",[[1,"limel-flex-container",{"direction":[513],"justify":[513],"align":[513],"reverse":[516]}]]],["limel-form",[[1,"limel-form",{"schema":[16],"value":[16],"propsFactory":[16]}]]],["limel-grid",[[1,"limel-grid"]]],["limel-linear-progress",[[1,"limel-linear-progress",{"value":[2],"indeterminate":[4]}]]],["limel-slider",[[1,"limel-slider",{"disabled":[516],"readonly":[516],"factor":[514],"label":[513],"helperText":[513,"helper-text"],"unit":[513],"value":[514],"valuemax":[514],"valuemin":[514],"step":[514],"percentageClass":[32]}]]],["limel-snackbar",[[1,"limel-snackbar",{"message":[1],"timeout":[2],"actionText":[1,"action-text"],"dismissible":[4],"multiline":[4],"language":[1],"show":[64]}]]],["limel-switch",[[1,"limel-switch",{"label":[513],"disabled":[516],"readonly":[516],"value":[516],"fieldId":[32]}]]],["limel-badge",[[1,"limel-badge",{"label":[514]}]]],["limel-icon",[[1,"limel-icon",{"size":[513],"name":[513],"badge":[516]}]]],["limel-tab-bar",[[1,"limel-tab-bar",{"tabs":[1040],"canScrollLeft":[32],"canScrollRight":[32]},[[9,"resize","handleWindowResize"]]]]],["limel-header",[[1,"limel-header",{"icon":[1],"heading":[1],"subheading":[1],"supportingText":[1,"supporting-text"]}]]],["limel-progress-flow-item",[[0,"limel-progress-flow-item",{"item":[16],"disabled":[4],"readonly":[4]}]]],["limel-popover-surface",[[1,"limel-popover-surface",{"contentCollection":[16]}]]],["limel-tooltip-content",[[1,"limel-tooltip-content",{"label":[513],"helperLabel":[513,"helper-label"]}]]],["limel-list_3",[[1,"limel-list",{"items":[16],"badgeIcons":[4,"badge-icons"],"iconSize":[1,"icon-size"],"type":[1],"maxLinesSecondaryText":[2,"max-lines-secondary-text"]}],[1,"limel-menu-surface",{"open":[4],"allowClicksElement":[16]}],[1,"limel-portal",{"openDirection":[1,"open-direction"],"position":[1],"containerId":[1,"container-id"],"containerStyle":[16],"parent":[16],"inheritParentWidth":[4,"inherit-parent-width"],"visible":[4]}]]],["limel-flatpickr-adapter_2",[[1,"limel-input-field",{"disabled":[516],"readonly":[516],"invalid":[516],"label":[513],"helperText":[513,"helper-text"],"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"],"isFocused":[32],"isModified":[32],"showCompletions":[32]}],[1,"limel-flatpickr-adapter",{"value":[16],"type":[1],"format":[1],"isOpen":[4,"is-open"],"inputElement":[16],"language":[1]}]]],["limel-chip-set",[[1,"limel-chip-set",{"value":[16],"type":[513],"label":[513],"disabled":[516],"readonly":[516],"maxItems":[514,"max-items"],"required":[516],"searchLabel":[513,"search-label"],"emptyInputOnBlur":[516,"empty-input-on-blur"],"clearAllButton":[4,"clear-all-button"],"leadingIcon":[513,"leading-icon"],"delimiter":[513],"language":[1],"editMode":[32],"textValue":[32],"blurred":[32],"inputChipIndexSelected":[32],"getEditMode":[64],"setFocus":[64],"emptyInput":[64]}]]],["limel-icon-button",[[1,"limel-icon-button",{"icon":[513],"elevated":[516],"label":[513],"disabled":[516],"relayout":[64]}]]],["limel-spinner",[[1,"limel-spinner",{"size":[513],"limeBranded":[4,"lime-branded"]}]]]], options);
|
|
17
17
|
});
|