@cas-smartdesign/combo-box 7.2.5
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/LICENSE +8 -0
- package/dist/combo-box-with-externals.js +189 -0
- package/dist/combo-box-with-externals.js.map +7 -0
- package/dist/combo-box.d.ts +130 -0
- package/dist/combo-box.mjs +439 -0
- package/dist/combo-box.mjs.map +1 -0
- package/dist/docs/2_basic-examples.js +1 -0
- package/dist/docs/3_filtering.js +1 -0
- package/dist/docs/4_lazy_loading.js +1 -0
- package/dist/docs/5_unusual_data.js +1 -0
- package/dist/docs/6_validation_example.js +1 -0
- package/dist/docs/doc.css +1 -0
- package/dist/docs/doc.mjs +1641 -0
- package/dist/docs/index.html +26 -0
- package/dist/docs/monkey.svg +55 -0
- package/dist/docs/placeholder.svg +4 -0
- package/npm-third-party-licenses.json +197 -0
- package/package.json +40 -0
- package/readme.md +62 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"combo-box.mjs","sources":["../toggle.svg?raw","../clear.svg?raw","../combo-box.ts"],"sourcesContent":["export default \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" class=\\\"toggle-button\\\" slot=\\\"suffix\\\" viewBox=\\\"0 0 16 16\\\">\\r\\n <path d=\\\"M13 4v2l-5 5-5-5v-2l5 5z\\\"/>\\r\\n</svg>\\r\\n\"","export default \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" class=\\\"clear-button\\\" slot=\\\"suffix\\\" viewBox=\\\"0 0 16 16\\\">\\r\\n <path d=\\\"M12.96 4.46l-1.42-1.42-3.54 3.55-3.54-3.55-1.42 1.42 3.55 3.54-3.55 3.54 1.42 1.42 3.54-3.55 3.54 3.55 1.42-1.42-3.55-3.54 3.55-3.54z\\\"/>\\r\\n</svg>\\r\\n\"","/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { unsafeCSS, PropertyValues, css, TemplateResult, html } from \"lit\";\nimport { property } from \"lit/decorators/property.js\";\nimport { createPopper, Instance as Popper } from \"@popperjs/core\";\nimport SDInput, { CustomEventMap as InputCustomEventMap } from \"@cas-smartdesign/lit-input\";\nimport VirtualList, { SelectionType, ItemGenerator, ListDataProvider } from \"@cas-smartdesign/virtual-list\";\nimport { ItemData, generator } from \"@cas-smartdesign/list-item\";\n\nconst TAG_NAME = \"sd-combo-box\";\n\nfunction debounce<T>(func: (...args: T[]) => unknown, delay: number): typeof func {\n let timeout: number;\n return function (...args: T[]) {\n if (timeout != null) {\n clearTimeout(timeout);\n }\n timeout = window.setTimeout(() => func(...args), delay);\n };\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n [TAG_NAME]: ComboBox;\n }\n}\n\nimport style from \"./style.scss?inline\";\nimport toggleSvg from \"./toggle.svg?raw\";\nimport clearSvg from \"./clear.svg?raw\";\n\nexport type ComboBoxValue = {\n index: number;\n item: ItemData | any;\n};\nexport type InMemoryFilter = (filterText: string, item: any) => boolean;\nexport type DataResponse = {\n items: any[];\n finalSizeIsKnown: boolean;\n};\n\nlet idCounter = 0;\n\nexport interface ISelectionEvent {\n selection: ComboBoxValue | string;\n isCustomValue: boolean;\n}\nexport interface IFilterChangeEvent {\n value: string;\n}\n\nexport interface CustomEventMap extends InputCustomEventMap {\n \"selection-change\": CustomEvent<ISelectionEvent>;\n \"filter-change\": CustomEvent<IFilterChangeEvent>;\n}\n\nexport default interface ComboBox {\n addEventListener<K extends keyof CustomEventMap>(\n event: K,\n listener: ((this: this, ev: CustomEventMap[K]) => unknown) | null,\n options?: AddEventListenerOptions | boolean,\n ): void;\n addEventListener(\n type: string,\n callback: EventListenerOrEventListenerObject | null,\n options?: AddEventListenerOptions | boolean,\n ): void;\n removeEventListener<K extends keyof CustomEventMap>(\n type: K,\n listener: (this: this, ev: CustomEventMap[K]) => unknown,\n options?: boolean | EventListenerOptions,\n ): void;\n removeEventListener(\n type: string,\n listener: EventListenerOrEventListenerObject,\n options?: boolean | EventListenerOptions,\n ): void;\n dispatchEvent<EventType extends CustomEventMap[keyof CustomEventMap]>(event: EventType): boolean;\n}\n\nexport default class ComboBox extends SDInput {\n public static readonly ID: string = TAG_NAME;\n public static ensureDefined = (): void => {\n VirtualList.ensureDefined();\n if (!customElements.get(ComboBox.ID)) {\n customElements.define(ComboBox.ID, ComboBox);\n }\n };\n static formAssociated = true;\n\n private static readonly DATA_REQUEST_CANCELLED: string = \"cancel_data_request\";\n\n @property({ type: Boolean, reflect: true })\n public opened = false;\n @property({ type: Number, attribute: \"item-height\" })\n public itemHeight = 50;\n @property({ type: Boolean, attribute: \"allow-custom-value\", reflect: true })\n public allowCustomValue: boolean;\n @property({ type: Boolean, attribute: \"trigger-only\", reflect: true })\n public triggerOnly: boolean;\n @property({ type: Boolean, attribute: \"null-setting-disallowed\", reflect: true })\n public nullSettingDisallowed: boolean;\n @property({ type: String, attribute: \"display-value-path\", noAccessor: true })\n public displayValuePath = \"caption\";\n @property({ type: String, attribute: \"filter-property\", noAccessor: true })\n public filterProperty: string;\n @property({ type: String, attribute: true, reflect: true })\n public id: string = ComboBox.ID + \"_\" + idCounter++;\n\n public inMemoryFilter: InMemoryFilter = (filterText, item) => {\n if (!filterText) {\n return true;\n }\n const lowerCaseFilter = filterText.toLowerCase();\n if (typeof item.caption == \"string\" && item.caption.toLowerCase().includes(lowerCaseFilter)) {\n return true;\n }\n if (typeof item.description == \"string\" && item.description.toLowerCase().includes(lowerCaseFilter)) {\n return true;\n }\n return false;\n };\n\n public filterText: string;\n public minimumOverlayWidth = 250;\n\n private _comboBoxValue: ComboBoxValue | string;\n private _clearButton: SVGElement;\n private _toggleButton: SVGElement;\n private _popper: Popper;\n private _list: VirtualList;\n private _dataProvider: ListDataProvider;\n private _itemGenerator: ItemGenerator = generator;\n private _itemCache: any[] = [];\n private _declarativeItems: HTMLElement[];\n private _onDataRequest: (filterText: string, page: number) => Promise<DataResponse>;\n private _pendingDataRequest: { cancel: (reason?: any) => void };\n private _openedByFilterTextChange: boolean;\n private _lastRequestedPage: number;\n private _lastRequestedFilterText: string;\n\n constructor() {\n super();\n this._dataProvider = new ListDataProvider();\n this._dataProvider.finalSizeIsKnown = true;\n }\n\n public get clearFilterOnLazyLoadedSelection(): boolean {\n return this.triggerOnly;\n }\n\n /**\n * @deprecated The method should not be used.\n * Use {@link ComboBox#triggerOnly} instead.\n * @param {boolean} value\n */\n public set clearFilterOnLazyLoadedSelection(value: boolean) {\n console.warn(\n \"Using clearFilterOnLazyLoadedSelection setting on a combo-box is deprecated. Use triggerOnly instead.\",\n );\n this.triggerOnly = value;\n }\n\n public get itemGenerator(): ItemGenerator {\n return this._itemGenerator;\n }\n\n public set itemGenerator(value: ItemGenerator) {\n this._itemGenerator = value;\n if (this._list) {\n this._list.itemGenerator = this._itemGenerator;\n }\n }\n\n public get items(): any[] {\n return this._itemCache;\n }\n\n public set items(items: any[]) {\n this._itemCache = items;\n if (this.value && !this.comboBoxValue) {\n this.updateComboBoxValueFromValue();\n }\n this.filterItemsInMemory();\n if (this.opened && this._popper) {\n this._popper.update();\n }\n }\n\n public get finalSizeIsKnown(): boolean {\n return this._dataProvider.finalSizeIsKnown;\n }\n\n public set finalSizeIsKnown(value: boolean) {\n this._dataProvider.finalSizeIsKnown = value;\n }\n\n public configureLazyLoad(onDataRequest: (filterText: string, page: number) => Promise<DataResponse>): void {\n if (!onDataRequest) {\n throw new Error(\"It is not possible to configure lazy load without a given onDataRequest calback.\");\n }\n this._dataProvider.finalSizeIsKnown = false;\n this._onDataRequest = onDataRequest;\n this._dataProvider.onDataRequest = (page: number) => {\n this.requestData(page, false);\n };\n }\n\n public get comboBoxValue(): ComboBoxValue | string {\n return this._comboBoxValue;\n }\n\n public set comboBoxValue(value: ComboBoxValue | string) {\n this._comboBoxValue = value;\n this.updateInputValue(null);\n }\n\n public get selectedIndex(): number {\n if (this.isCustomValue(this.comboBoxValue) || !this.comboBoxValue) {\n return -1;\n }\n return this.comboBoxValue.index;\n }\n\n public get displayValue(): string {\n return this.value;\n }\n\n public open(): void {\n this.opened = true;\n }\n\n static get styles() {\n return [\n css`\n ${unsafeCSS(style)}\n `,\n ];\n }\n\n public disconnectedCallback(): void {\n super.disconnectedCallback();\n if (this._popper) {\n this._popper.destroy();\n this._popper = null;\n }\n }\n\n public render(): TemplateResult {\n return html`\n ${super.render()}\n <slot @slotchange=${this.onDefaultSlotChange} id=\"default-slot\"></slot>\n `;\n }\n\n public attributeChangedCallback(name: string, oldValue: string, newValue: string): void {\n super.attributeChangedCallback(name, oldValue, newValue);\n if (oldValue !== newValue) {\n switch (name) {\n case \"opened\": {\n this.handleOpenedStateChange();\n break;\n }\n case \"item-height\": {\n if (this._list) {\n this._list.itemHeight = this.itemHeight;\n }\n break;\n }\n case \"id\": {\n this.updateListId();\n break;\n }\n }\n }\n }\n\n public firstUpdated(changedProperties: PropertyValues): void {\n super.firstUpdated(changedProperties);\n\n if (this.value && !this.comboBoxValue) {\n this.updateComboBoxValueFromValue();\n }\n window.requestAnimationFrame(() => {\n this.initClearButtton();\n this.initToggleButtton();\n\n this.addEventListener(\"click\", () => {\n if (!this.disabled) {\n this.opened = !this.opened;\n }\n });\n this.addEventListener(\"keydown\", (event: KeyboardEvent) => {\n if (!this.disabled) {\n this.handleKeyDown(event);\n }\n });\n });\n this.inputElement.setAttribute(\"role\", \"combobox\");\n this.inputElement.setAttribute(\"aria-autocomplete\", \"list\");\n }\n\n private updateComboBoxValueFromValue() {\n if (this.value) {\n const selectedIndex = this._itemCache.findIndex((item) => item[this.displayValuePath] === this.value);\n if (selectedIndex > -1) {\n this._comboBoxValue = { index: selectedIndex, item: this._itemCache[selectedIndex] };\n } else if (this.allowCustomValue) {\n this._comboBoxValue = this.value;\n } else {\n this._comboBoxValue = null;\n }\n }\n }\n\n public updated(changedProperties: PropertyValues): void {\n super.updated(changedProperties);\n if (changedProperties.has(\"currentText\")) {\n if (this.currentText) {\n this.setAttribute(\"has-value\", \"\");\n if (this._clearButton) {\n this._clearButton.style.display = \"\";\n }\n } else {\n this.removeAttribute(\"has-value\");\n }\n } else if (changedProperties.has(\"triggerOnly\") && this._list) {\n this._list.selectionType = this.triggerOnly ? SelectionType.TriggerOnly : SelectionType.Single;\n }\n }\n\n private initClearButtton(): void {\n const clearButtonTemplate = document.createElement(\"template\");\n clearButtonTemplate.innerHTML = clearSvg;\n this._clearButton = clearButtonTemplate.content.firstChild as SVGElement;\n this.appendChild(this._clearButton);\n\n this._clearButton.addEventListener(\"click\", (event) => {\n event.preventDefault();\n event.stopPropagation();\n this.opened = false;\n this.clearValue();\n });\n }\n\n private initToggleButtton(): void {\n const toggleButtonTemplate = document.createElement(\"template\");\n toggleButtonTemplate.innerHTML = toggleSvg;\n this._toggleButton = toggleButtonTemplate.content.firstChild as SVGElement;\n this.appendChild(this._toggleButton);\n\n this._toggleButton.addEventListener(\"click\", (event) => {\n event.preventDefault();\n event.stopPropagation();\n this.opened = !this.opened;\n this.select();\n });\n }\n\n private debouncedFilterItemsInMemory = debounce(this.filterItemsInMemory.bind(this), 200);\n private filterItemsInMemory(): void {\n if (this.isLazyLoadConfigured) {\n return;\n }\n let filteredInMemory = false;\n if (this.filterText) {\n if (this.filterProperty) {\n this._dataProvider.items = this._itemCache.filter((item) => {\n return item[this.filterProperty] && String(item[this.filterProperty]).indexOf(this.filterText) > -1;\n });\n filteredInMemory = true;\n } else if (this.inMemoryFilter) {\n this._dataProvider.items = this._itemCache.filter((item) => this.inMemoryFilter(this.filterText, item));\n filteredInMemory = true;\n }\n }\n if (!filteredInMemory) {\n this._dataProvider.items = this._itemCache;\n } else {\n this._list.focusIndex = null;\n }\n if (this.opened && this._popper) {\n this._popper.update();\n }\n }\n\n private ensureListAndPopperInitialized(): void {\n if (!this._list) {\n this._list = document.createElement(VirtualList.ID) as VirtualList;\n this.updateListId();\n this._list.classList.add(\"combo-box-dropdown\");\n this._list.itemHeight = this.itemHeight;\n this._list.itemGenerator = this.itemGenerator;\n this._list.selectionType = this.triggerOnly ? SelectionType.TriggerOnly : SelectionType.Single;\n this._list.setAttribute(\"focus-target\", \"\");\n Object.assign(this._list.style, {\n zIndex: \"21000\",\n boxShadow: `rgba(0, 0, 0, 0.14) 0px 2px 2px 0px,\n rgba(0, 0, 0, 0.12) 0px 1px 5px 0px,\n rgba(0, 0, 0, 0.2) 0px 3px 1px -2px`,\n background: \"white\",\n overflowY: \"auto\",\n });\n this._list.addEventListener(\"selection\", this.handleSelection);\n this._dataProvider.connectList(this._list);\n }\n if (!this._popper) {\n // eslint-disable-next-line @typescript-eslint/no-this-alias\n const comboBox = this;\n this._popper = createPopper(this, this._list, {\n placement: \"bottom-start\",\n modifiers: [\n {\n name: \"computeStyles\",\n options: {\n gpuAcceleration: true,\n },\n },\n {\n name: \"hide\",\n enabled: false,\n },\n {\n name: \"closeIfReferenceHidden\",\n enabled: true,\n phase: \"afterWrite\",\n fn({ state }) {\n const comboBox = state.elements.reference as ComboBox;\n comboBox.closeIfNotVisible();\n },\n },\n {\n name: \"offset\",\n options: {\n offset: ({ placement }) => {\n if (placement.indexOf(\"top\") > -1) {\n return [0, -parseInt(getComputedStyle(comboBox).paddingTop, 10)];\n }\n if (placement.indexOf(\"bottom\") > -1) {\n return [0, -parseInt(getComputedStyle(comboBox).paddingBottom, 10)];\n }\n return [0, 0];\n },\n },\n },\n {\n name: \"adjustWidthIfNeeded\",\n enabled: true,\n phase: \"read\",\n fn({ state }) {\n const list = state.elements.popper as VirtualList;\n list.increaseWidthOnNextRenderIfNeeded();\n },\n },\n ],\n });\n }\n }\n\n private closeIfNotVisible(): void {\n const elementFromPoint = this.elementFromMiddleOfComboBox();\n // elementFromPoint might be the list itself in Safari, thus it needs to be checked as well (Fixes: 244485)\n if (\n !this.contains(elementFromPoint) &&\n !this.shadowRoot.contains(elementFromPoint) &&\n elementFromPoint !== this._list\n ) {\n if (this.triggerOnly) {\n this.value = null;\n }\n this.opened = false;\n }\n }\n\n private elementFromMiddleOfComboBox(): Element {\n const rect = this.getBoundingClientRect();\n return document.elementFromPoint(rect.left + rect.width / 2, rect.top + rect.height / 2);\n }\n\n private handleSelection = (event: CustomEvent) => {\n const selectedItem = this._dataProvider.items[event.detail.index];\n if (!event.detail.selected) {\n // null selection is not allowed via clicking inside the dropdown\n this._list.selectedIndices = [event.detail.index];\n }\n this.comboBoxValue = { index: this._itemCache.indexOf(selectedItem), item: selectedItem };\n this.dispatchSelectionChangeEvent();\n this.opened = false;\n };\n\n private async handleOpenedStateChange(): Promise<void> {\n this.inputElement.setAttribute(\"aria-expanded\", String(this.opened));\n if (this.opened) {\n if (!this.disabled) {\n this.ensureListAndPopperInitialized();\n\n if (\n this.isLazyLoadConfigured &&\n (this.items.length == 0 || this._lastRequestedFilterText != this.filterText)\n ) {\n this.requestData(0, this._lastRequestedFilterText != this.filterText);\n }\n\n this.updateDropdownSizes();\n this.ownerDocument.body.appendChild(this._list);\n this.updateFocusAndSelectedIndexFromValue();\n\n window.requestAnimationFrame(() => {\n if (this._popper) {\n this._popper.update();\n }\n });\n\n window.addEventListener(\"pointerdown\", this.handleWindowPointerDown);\n\n if (!this.allowCustomValue && !this._openedByFilterTextChange) {\n this.select();\n }\n }\n this._openedByFilterTextChange = false;\n } else {\n await this._list.updateComplete;\n if (this._popper) {\n await this._popper.update;\n }\n this.ownerDocument.body.removeChild(this._list);\n window.removeEventListener(\"pointerdown\", this.handleWindowPointerDown);\n this.updateValueOnClose();\n this.clearFilter();\n this.setSelectionRange(0, 0);\n this.inputElement.removeAttribute(\"aria-activedescendant\");\n\n if (this._popper) {\n this._popper.destroy();\n this._popper = null;\n }\n }\n }\n\n private updateValueOnClose(): void {\n const oldValue = this.comboBoxValue || \"\";\n if (this.nullSettingDisallowed && !this.value && this.comboBoxValue) {\n this.restorePreviousSelection();\n } else if (this.value !== this.convertToDisplayValue(null)) {\n // value change only if needed\n const focusedItem = this._dataProvider.items[this._list.focusIndex] as any;\n if (focusedItem && focusedItem[this.displayValuePath] === this.value) {\n if (focusedItem.disabled) {\n return;\n }\n // 1. select focused item if the input's value is the same\n this.comboBoxValue = { index: this._itemCache.indexOf(focusedItem), item: focusedItem };\n } else if (this.allowCustomValue || !this.value) {\n // 2. set as a custom or empty value\n this.comboBoxValue = this.value;\n } else {\n // 3. try to search for an identical item\n const selectedIndex = this._itemCache.findIndex(\n (item) => item[this.displayValuePath] === this.value && !item.disabled,\n );\n if (selectedIndex > -1) {\n this.comboBoxValue = { index: selectedIndex, item: this._itemCache[selectedIndex] };\n } else {\n this.restorePreviousSelection(); // Fixes C1XRTYID\n }\n }\n }\n if (oldValue !== (this.comboBoxValue || \"\")) {\n this.dispatchSelectionChangeEvent();\n }\n }\n\n private restorePreviousSelection() {\n this.updateInputValue(null);\n }\n\n private updateFocusAndSelectedIndexFromValue(): void {\n if (this.comboBoxValue && !this.isCustomValue(this.comboBoxValue) && !this._openedByFilterTextChange) {\n let index = this.comboBoxValue.index;\n if (index == -1 || this.isLazyLoadConfigured) {\n index = this.items.indexOf(this.comboBoxValue.item);\n if (index == -1) {\n const selectedId = this.comboBoxValue.item.id;\n if (selectedId != null) {\n index = this.items.findIndex((item) => item.id == selectedId);\n }\n }\n }\n this._list.focusIndex = index;\n this._list.selectedIndices = index == -1 ? [] : [index];\n } else {\n this._list.focusIndex = -1;\n this._list.selectedIndices = [];\n }\n this.updateActiveDescendant();\n }\n\n private handleWindowPointerDown = (event: PointerEvent) => {\n const contains = event.target instanceof Node && this.contains(event.target);\n if (!contains && this.opened && event.composedPath().indexOf(this._list) === -1) {\n if (this.triggerOnly) {\n this.value = null;\n }\n this.opened = false;\n }\n };\n\n private handleKeyDown = (event: KeyboardEvent) => {\n switch (event.key) {\n case \"Down\":\n case \"ArrowDown\": {\n event.preventDefault();\n this.navigateInList(+1);\n break;\n }\n case \"Up\":\n case \"ArrowUp\": {\n event.preventDefault();\n this.navigateInList(-1);\n break;\n }\n case \"Enter\": {\n if (this.opened) {\n event.preventDefault();\n event.stopPropagation();\n this.opened = false;\n }\n break;\n }\n case \"Escape\": {\n if (this.opened) {\n event.preventDefault();\n event.stopPropagation();\n if (\n this._list.selectedIndices.indexOf(this._list.focusIndex) > -1 &&\n this._dataProvider.items.length > this._list.focusIndex\n ) {\n this.opened = false;\n } else {\n this.clearFilter();\n this.updateInputValue(null);\n this.updateFocusAndSelectedIndexFromValue();\n this._list.selectedIndices.push(this._list.focusIndex);\n }\n }\n break;\n }\n case \"Tab\": {\n if (this.opened) {\n if (this.triggerOnly) {\n this.value = null;\n }\n this.opened = false;\n }\n break;\n }\n }\n };\n\n private navigateInList(offset: number): void {\n if (!this.opened) {\n this.opened = true;\n } else {\n if (this._list.focusIndex == null) {\n if (offset > 0) {\n this._list.focusIndex = 0;\n } else {\n this._list.focusIndex = Math.max(0, this._dataProvider.items.length - 1);\n }\n } else {\n this._list.focusIndex = Math.max(\n 0,\n Math.min(this._dataProvider.items.length - 1, this._list.focusIndex + offset),\n );\n }\n this.updateInputValue(this._dataProvider.items[this._list.focusIndex] as ItemData | any);\n this.updateActiveDescendant();\n if (!this.allowCustomValue) {\n this.select();\n }\n }\n }\n\n private updateActiveDescendant() {\n const focusedListItem = this._list && this._list.getListItem(this._list.focusIndex);\n if (focusedListItem) {\n this.inputElement.setAttribute(\"aria-activedescendant\", focusedListItem.id);\n } else {\n this.inputElement.removeAttribute(\"aria-activedescendant\");\n }\n }\n\n private updateInputValue(item: ItemData): void {\n this.updateComplete.then(() => {\n this.value = this.convertToDisplayValue(item);\n });\n }\n\n private convertToDisplayValue(item: ItemData): string {\n if (item) {\n return item[this.displayValuePath];\n } else if (this.comboBoxValue) {\n if (this.isCustomValue(this.comboBoxValue)) {\n return this.comboBoxValue;\n } else {\n return this.comboBoxValue.item[this.displayValuePath];\n }\n } else {\n return null;\n }\n }\n\n protected fireValueChange(immediate?: boolean): void {\n if (immediate) {\n if (this.filterText !== this.value) {\n this.filterText = this.value;\n if (!this.opened) {\n this._openedByFilterTextChange = true;\n this.opened = true;\n }\n this.dispatchFilterChangeEvent();\n this.debouncedFilterItemsInMemory();\n }\n }\n // consume both change events triggered from input, combo box provides a different API for that\n }\n\n private clearValue(): void {\n if (!this.nullSettingDisallowed) {\n this.value = null;\n this.inputElement.removeAttribute(\"aria-activedescendant\");\n if (this._list) {\n this._list.selectedIndices = [];\n }\n this.clearFilter();\n if (this.comboBoxValue) {\n this.comboBoxValue = null;\n this.dispatchSelectionChangeEvent();\n }\n }\n }\n\n private clearFilter(): void {\n if (this.filterText != null) {\n this.filterText = undefined;\n this.filterItemsInMemory();\n this.dispatchFilterChangeEvent();\n }\n }\n\n private updateDropdownSizes(): void {\n const viewportHeight = window.innerHeight || document.documentElement.clientHeight;\n const overlayMaxHeight = (viewportHeight - this.offsetHeight) * 0.5;\n Object.assign(this._list.style, {\n maxHeight: `${overlayMaxHeight}px`,\n minWidth: `${Math.max(this.offsetWidth, this.minimumOverlayWidth)}px`,\n maxWidth: `max(50vw, ${this.offsetWidth}px)`,\n });\n }\n\n private updateListId() {\n if (this.inputElement && this._list) {\n this._list.id = this.id + \"_list\";\n this.inputElement.setAttribute(\"aria-controls\", this._list.id);\n }\n }\n\n private isCustomValue(value: ComboBoxValue | string): value is string {\n return typeof value === \"string\";\n }\n\n private dispatchSelectionChangeEvent(): void {\n this.updateComplete\n .then(() => {\n this.dispatchEvent(\n new CustomEvent<ISelectionEvent>(\"selection-change\", {\n detail: {\n selection: this.comboBoxValue,\n isCustomValue: this.isCustomValue(this.comboBoxValue),\n },\n }),\n );\n if (this.triggerOnly) {\n this.comboBoxValue = null;\n } else {\n const comboBoxValue = this.comboBoxValue;\n if (typeof comboBoxValue === \"string\") {\n this.setFormValue(comboBoxValue);\n } else {\n this.setFormValue(comboBoxValue?.item?.caption);\n }\n }\n })\n .catch((e) => {\n console.error(\"Could not dispatch selection change event due to:\", e);\n });\n }\n\n private dispatchFilterChangeEvent(): void {\n this.dispatchEvent(\n new CustomEvent<IFilterChangeEvent>(\"filter-change\", {\n detail: { value: this.filterText },\n composed: true,\n }),\n );\n this.debouncedRequestData(0, true);\n }\n\n private get isLazyLoadConfigured(): boolean {\n return !!this._onDataRequest;\n }\n\n /**\n * Used only when lazy loading is configured.\n */\n private debouncedRequestData = debounce(this.requestData.bind(this), 250);\n private requestData(page: number, filterChanged: boolean) {\n if (this.isLazyLoadConfigured) {\n if (!this.opened) {\n if (filterChanged) {\n this._dataProvider.items = [];\n this._itemCache = [];\n }\n return;\n }\n if (this._lastRequestedPage == page && this._lastRequestedFilterText == this.filterText) {\n return;\n }\n if (this._pendingDataRequest) {\n this._pendingDataRequest.cancel(ComboBox.DATA_REQUEST_CANCELLED);\n }\n const cancellationPromise = new Promise<DataResponse>((_resolve, reject) => {\n this._pendingDataRequest = { cancel: reject };\n });\n this._lastRequestedPage = page;\n this._lastRequestedFilterText = this.filterText;\n this.setAttribute(\"loading\", \"\");\n Promise.race([cancellationPromise, this._onDataRequest(this._lastRequestedFilterText, page)])\n .then((dataResponse) => {\n if (this.filterText == this._lastRequestedFilterText && this._lastRequestedPage == page) {\n this._dataProvider.finalSizeIsKnown = dataResponse.finalSizeIsKnown;\n if (filterChanged) {\n this._dataProvider.items = dataResponse.items;\n this._itemCache = dataResponse.items;\n } else {\n this._dataProvider.addItems(dataResponse.items);\n this._itemCache = this._dataProvider.items;\n }\n if (this._list) {\n this._list.itemCount = this._dataProvider.items.length;\n }\n if (this._popper && this.opened) {\n if (this.comboBoxValue && !this.isCustomValue(this.comboBoxValue)) {\n const selectedItem = this.comboBoxValue.item;\n if (\n this._list.selectedIndices.length == 0 ||\n this.items[this._list.selectedIndices[0]] != selectedItem\n ) {\n let index = this.items.indexOf(selectedItem);\n if (index == -1) {\n const selectedId = selectedItem.id;\n if (selectedId != null) {\n index = this.items.findIndex((item) => item.id == selectedId);\n }\n }\n this.comboBoxValue.index = index;\n this._list.selectedIndices = index == -1 ? [] : [index];\n }\n }\n this.updateDropdownSizes();\n this._popper.update();\n }\n }\n this._pendingDataRequest = null;\n this.removeAttribute(\"loading\");\n })\n .catch((e) => {\n if (e !== ComboBox.DATA_REQUEST_CANCELLED) {\n console.error(\n `Data could not be loaded for filter \"${this._lastRequestedFilterText}\" and page number \"${page}\" due to the following error:\\n${e}`,\n );\n this._dataProvider.finalSizeIsKnown = true;\n\n if (this.items.length == 0) {\n this.opened = false;\n } else if (this._list) {\n this._list.itemCount = this.items.length;\n }\n this.removeAttribute(\"loading\");\n }\n this._pendingDataRequest = null;\n });\n }\n }\n\n private get defaultSlot(): HTMLSlotElement {\n return this.shadowRoot.querySelector(\"#default-slot\");\n }\n\n private onDefaultSlotChange(): void {\n this._declarativeItems = this.defaultSlot.assignedElements() as HTMLElement[];\n if (this._declarativeItems.length > 0) {\n this.finalSizeIsKnown = true;\n this.itemGenerator = (_data, index) => {\n return this._declarativeItems[index].cloneNode(true) as HTMLElement;\n };\n this.items = this._declarativeItems.map((item) => {\n const data = {\n caption: item.getAttribute(\"caption\"),\n description: item.getAttribute(\"description\"),\n };\n if (\"caption\" != this.displayValuePath && \"description\" != this.displayValuePath) {\n data[this.displayValuePath] =\n item[this.displayValuePath] || item.getAttribute(this.displayValuePath);\n }\n return data;\n });\n }\n }\n}\n\nComboBox.ensureDefined();\n"],"names":["toggleSvg","clearSvg","TAG_NAME","debounce","func","delay","timeout","args","idCounter","_ComboBox","_a","SDInput","filterText","item","lowerCaseFilter","generator","event","selectedItem","ListDataProvider","value","items","onDataRequest","page","css","unsafeCSS","style","html","name","oldValue","newValue","changedProperties","selectedIndex","SelectionType","clearButtonTemplate","toggleButtonTemplate","filteredInMemory","VirtualList","comboBox","createPopper","state","placement","elementFromPoint","rect","focusedItem","index","selectedId","offset","focusedListItem","immediate","overlayMaxHeight","comboBoxValue","e","filterChanged","cancellationPromise","_resolve","reject","dataResponse","_data","data","__decorateClass","property","ComboBox"],"mappings":";;;;;;u4KAAeA,IAAA;AAAA;AAAA;AAAA,GCAAC,IAAA;AAAA;AAAA;AAAA;;;;;;ACQf,MAAMC,IAAW;AAEjB,SAASC,EAAYC,GAAiCC,GAA4B;AAC1E,MAAAC;AACJ,SAAO,YAAaC,GAAW;AAC3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,KAChB,eAAA,OAAOA,EAAS,IAAIA,CAAQ;AAC/C,GAEJA,EAAO,iBAAiB,IAExBA,EAAwB,yBAAiC,uBAV7DA;AAaWiD,EAAA;AAAA,EADNC,EAAS,EAAE,MAAM,SAAS,SAAS,IAAM;AAAA,GAZzBnD,EAaV,WAAA,UAAA,CAAA;AAEAkD,EAAA;AAAA,EADNC,EAAS,EAAE,MAAM,QAAQ,WAAW,eAAe;AAAA,GAdnCnD,EAeV,WAAA,cAAA,CAAA;AAEAkD,EAAA;AAAA,EADNC,EAAS,EAAE,MAAM,SAAS,WAAW,sBAAsB,SAAS,IAAM;AAAA,GAhB1DnD,EAiBV,WAAA,oBAAA,CAAA;AAEAkD,EAAA;AAAA,EADNC,EAAS,EAAE,MAAM,SAAS,WAAW,gBAAgB,SAAS,IAAM;AAAA,GAlBpDnD,EAmBV,WAAA,eAAA,CAAA;AAEAkD,EAAA;AAAA,EADNC,EAAS,EAAE,MAAM,SAAS,WAAW,2BAA2B,SAAS,IAAM;AAAA,GApB/DnD,EAqBV,WAAA,yBAAA,CAAA;AAEAkD,EAAA;AAAA,EADNC,EAAS,EAAE,MAAM,QAAQ,WAAW,sBAAsB,YAAY,IAAM;AAAA,GAtB5DnD,EAuBV,WAAA,oBAAA,CAAA;AAEAkD,EAAA;AAAA,EADNC,EAAS,EAAE,MAAM,QAAQ,WAAW,mBAAmB,YAAY,IAAM;AAAA,GAxBzDnD,EAyBV,WAAA,kBAAA,CAAA;AAEAkD,EAAA;AAAA,EADNC,EAAS,EAAE,MAAM,QAAQ,WAAW,IAAM,SAAS,IAAM;AAAA,GA1BzCnD,EA2BV,WAAA,MAAA,CAAA;AA3BX,IAAqBoD,IAArBpD;AAy0BAoD,EAAS,cAAc;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./doc.mjs";const c="monkey.svg",s=[];s.push({caption:"Item A",description:"This is A",icon:c});s.push({caption:"Item B",description:"This is B",icon:c});s.push({caption:"Item C",description:"This is C",icon:c});const l=document.querySelector("#basic-examples-container");l.querySelectorAll("sd-combo-box").forEach(e=>{e.items=s,e.addEventListener("selection-change",i=>{var t;console.log(`Selection change for combobox #${e.id}`);const o=(t=i.detail)==null?void 0:t.selection;o?i.detail.isCustomValue?console.log(`The entered custom value is '${o}'`):console.log(`The selected item is ${o.item.caption}`):console.log("Item is deselected")})});l.querySelectorAll(".trigger-only-example-wrapper").forEach(e=>{const i=e.querySelector("sd-combo-box[trigger-only]"),o=e.querySelector("span");i.addEventListener("selection-change",t=>{const n=t.detail.selection;if(t.detail.isCustomValue)o.textContent=n;else if(n){const r=n;o.textContent=r.item.caption}})});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const n="ABCDEFGHIJKLMNOPQRSTUVWXYZ".split(""),i=n.map(e=>({caption:`Every item starts with this looooong prefix: Item ${e}`,description:`This is ${e}`,index:n.indexOf(e),rightContentGenerator:()=>{const t=document.createElement("span");return t.innerText=`${n.indexOf(e)}`,t.style.padding="8px",t}})),o=document.querySelector("#custom-property-filtering");o.items=i;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./doc.mjs";const f=[{firstName:"Linoel",lastName:"Bukac"},{firstName:"Lucho",lastName:"Giacopello"},{firstName:"Rik",lastName:"Lapham"},{firstName:"Gunner",lastName:"Dewsbury"},{firstName:"Penelope",lastName:"Vakhonin"},{firstName:"Wells",lastName:"Partkya"},{firstName:"Toma",lastName:"McCrillis"},{firstName:"Korey",lastName:"Pues"},{firstName:"Huberto",lastName:"Dirand"},{firstName:"Annette",lastName:"Todarini"},{firstName:"Dionne",lastName:"Benez"},{firstName:"Thaxter",lastName:"Last"},{firstName:"Maegan",lastName:"Unitt"},{firstName:"Jephthah",lastName:"Paolino"},{firstName:"Reinald",lastName:"Branston"},{firstName:"Raeann",lastName:"Giacovazzo"},{firstName:"Violetta",lastName:"Lynn"},{firstName:"Eben",lastName:"Baughn"},{firstName:"Carlin",lastName:"Itzkowicz"},{firstName:"Karry",lastName:"Armell"},{firstName:"Karel",lastName:"O'Mullally"},{firstName:"Gustaf",lastName:"Sudlow"},{firstName:"Marcelline",lastName:"Bosward"},{firstName:"Zsazsa",lastName:"Feetham"},{firstName:"Raviv",lastName:"Bownes"},{firstName:"Keelby",lastName:"Ridgedell"},{firstName:"Miner",lastName:"Bechley"},{firstName:"Lind",lastName:"Cotterell"},{firstName:"Audy",lastName:"Barhem"},{firstName:"Delmar",lastName:"Grestie"},{firstName:"Janetta",lastName:"Davenhill"},{firstName:"Lizzie",lastName:"Manville"},{firstName:"Royce",lastName:"Borgnol"},{firstName:"Alexandra",lastName:"Plose"},{firstName:"Annabela",lastName:"Golson"},{firstName:"Fania",lastName:"Lurcock"},{firstName:"Dalis",lastName:"Goodwell"},{firstName:"Louisa",lastName:"Milburn"},{firstName:"Engelbert",lastName:"Saxon"},{firstName:"Elbertina",lastName:"Batiste"},{firstName:"Vikky",lastName:"Gherardesci"},{firstName:"Cecilius",lastName:"Cranston"},{firstName:"Kellina",lastName:"Abbotts"},{firstName:"Tristan",lastName:"Whitnell"},{firstName:"Leigh",lastName:"Smallridge"},{firstName:"Rahel",lastName:"Hurry"},{firstName:"Ravi",lastName:"Durtnall"},{firstName:"Vally",lastName:"Hacun"},{firstName:"Terence",lastName:"Starten"},{firstName:"Mattheus",lastName:"Darkott"},{firstName:"Zilvia",lastName:"Baline"},{firstName:"Emmaline",lastName:"Moline"},{firstName:"Hana",lastName:"Markwick"},{firstName:"Hertha",lastName:"Janicijevic"},{firstName:"Tadd",lastName:"Purbrick"},{firstName:"Mariellen",lastName:"Malthouse"},{firstName:"Nina",lastName:"Cratchley"},{firstName:"Sergent",lastName:"Oran"},{firstName:"Neilla",lastName:"Kleimt"},{firstName:"Cyndi",lastName:"Mattessen"},{firstName:"Geno",lastName:"Collinwood"},{firstName:"Rabi",lastName:"Kaley"},{firstName:"Piper",lastName:"Ollander"},{firstName:"Tammara",lastName:"Ricardet"},{firstName:"Biddie",lastName:"Predohl"},{firstName:"Fletcher",lastName:"Rolance"},{firstName:"Shannon",lastName:"Thorlby"},{firstName:"Sherlock",lastName:"Beltzner"},{firstName:"Hort",lastName:"Johannesson"},{firstName:"Almeria",lastName:"Ganning"},{firstName:"Marcelline",lastName:"Seed"},{firstName:"Minor",lastName:"Dominick"},{firstName:"Desi",lastName:"Tocknell"},{firstName:"Hortense",lastName:"Dudderidge"},{firstName:"Bethina",lastName:"Meriguet"},{firstName:"Brynne",lastName:"Merrett"},{firstName:"Daren",lastName:"Krikorian"},{firstName:"Corry",lastName:"Cawston"},{firstName:"Kerianne",lastName:"Valett"},{firstName:"Hilda",lastName:"Schleicher"},{firstName:"Jacquelynn",lastName:"Gerbi"},{firstName:"Bobina",lastName:"Clynman"},{firstName:"Klarrisa",lastName:"Howgill"},{firstName:"Samuele",lastName:"Greetland"},{firstName:"Normy",lastName:"Orum"},{firstName:"Khalil",lastName:"Brough"},{firstName:"Dewie",lastName:"Stanlake"},{firstName:"Mord",lastName:"Vermer"},{firstName:"Timmie",lastName:"Mottram"},{firstName:"Meyer",lastName:"Roder"},{firstName:"Charmion",lastName:"Canham"},{firstName:"Jacob",lastName:"Dring"},{firstName:"Adolf",lastName:"Knotte"},{firstName:"Lenee",lastName:"Ligertwood"},{firstName:"Jolee",lastName:"English"},{firstName:"Kimble",lastName:"Marcinkowski"},{firstName:"Kacy",lastName:"Thickens"},{firstName:"Lin",lastName:"Stirland"},{firstName:"Mort",lastName:"Osgodby"},{firstName:"Price",lastName:"Antusch"},{firstName:"Carlene",lastName:"Golbourn"},{firstName:"Jordanna",lastName:"Robuchon"},{firstName:"Nona",lastName:"Gunby"},{firstName:"Becky",lastName:"Cheng"},{firstName:"Charlene",lastName:"Canadine"},{firstName:"Amelina",lastName:"Pretsel"},{firstName:"Domenico",lastName:"MacCaffery"},{firstName:"Dolph",lastName:"Prinett"},{firstName:"Alasdair",lastName:"Wheelband"},{firstName:"Bernice",lastName:"Phlipon"},{firstName:"Felipa",lastName:"Crookshank"},{firstName:"Julia",lastName:"Hannan"},{firstName:"Miran",lastName:"Cleugh"},{firstName:"Dun",lastName:"Duckerin"},{firstName:"Amerigo",lastName:"Foad"},{firstName:"Ame",lastName:"Chominski"},{firstName:"Sukey",lastName:"Jakubovski"},{firstName:"Doyle",lastName:"Kamena"},{firstName:"Alyson",lastName:"Adkins"},{firstName:"Field",lastName:"Richley"},{firstName:"Allie",lastName:"Grigorio"},{firstName:"Britte",lastName:"Hupe"},{firstName:"Gustie",lastName:"Thorneywork"},{firstName:"Allyce",lastName:"Gonzales"},{firstName:"Uriel",lastName:"Bampkin"},{firstName:"Alwin",lastName:"Shutler"},{firstName:"Halie",lastName:"Dilkes"},{firstName:"Karena",lastName:"Sumption"},{firstName:"Jo-ann",lastName:"McKinlay"},{firstName:"Clarisse",lastName:"Peterken"},{firstName:"Sybil",lastName:"Vagg"},{firstName:"Elsinore",lastName:"Netting"},{firstName:"Case",lastName:"Look"},{firstName:"Agnes",lastName:"Gingell"},{firstName:"Kristien",lastName:"Maryman"},{firstName:"Gerhard",lastName:"Wastall"},{firstName:"Wanda",lastName:"Guilbert"},{firstName:"Laryssa",lastName:"Grieswood"},{firstName:"Jerrilyn",lastName:"Feighry"},{firstName:"Daveen",lastName:"Pickhaver"},{firstName:"Donielle",lastName:"MacArthur"},{firstName:"Mack",lastName:"Spoure"},{firstName:"Ulysses",lastName:"Cummins"},{firstName:"Morry",lastName:"Shilvock"},{firstName:"Marijo",lastName:"Medgewick"},{firstName:"Reese",lastName:"Gaskin"},{firstName:"Beilul",lastName:"Collings"},{firstName:"Shirline",lastName:"Capsey"},{firstName:"Rory",lastName:"Luscott"},{firstName:"Gabi",lastName:"O'Hollegan"},{firstName:"Rafaelita",lastName:"Scough"},{firstName:"Joye",lastName:"Vasin"},{firstName:"Koenraad",lastName:"Freeman"},{firstName:"Mariam",lastName:"Lechmere"},{firstName:"Gavrielle",lastName:"Bockman"},{firstName:"Karlotta",lastName:"Dufour"},{firstName:"Margot",lastName:"Schulze"},{firstName:"Jacquie",lastName:"Slayton"},{firstName:"Gradeigh",lastName:"Shackesby"},{firstName:"Annamaria",lastName:"Macquire"},{firstName:"Marcy",lastName:"Benton"},{firstName:"Consuelo",lastName:"Brocklehurst"},{firstName:"Ericha",lastName:"MacSweeney"},{firstName:"Emilia",lastName:"Caddies"},{firstName:"Amye",lastName:"Wilbore"},{firstName:"Bonnibelle",lastName:"Rakes"},{firstName:"Arleyne",lastName:"Vassie"},{firstName:"Lilla",lastName:"Haddleton"},{firstName:"Marline",lastName:"Philipet"},{firstName:"Manda",lastName:"MacGibbon"},{firstName:"Hilliard",lastName:"Kittley"},{firstName:"Towny",lastName:"Watsam"},{firstName:"Dahlia",lastName:"Gaffer"},{firstName:"Emmalyn",lastName:"Cavilla"},{firstName:"Merola",lastName:"Wohler"},{firstName:"Waylan",lastName:"Kolinsky"},{firstName:"Malia",lastName:"Janusik"},{firstName:"Deena",lastName:"Giovanazzi"},{firstName:"Reuven",lastName:"Lodevick"},{firstName:"Any",lastName:"Dosdill"},{firstName:"Sande",lastName:"Ivatt"},{firstName:"Vanda",lastName:"Avramovich"},{firstName:"Gillian",lastName:"Dowry"},{firstName:"Viviene",lastName:"Jimmison"},{firstName:"Thea",lastName:"Jantot"},{firstName:"Urban",lastName:"Dixon"},{firstName:"Kathie",lastName:"Meyer"},{firstName:"Noam",lastName:"Irvin"},{firstName:"Conni",lastName:"Lemerle"},{firstName:"Marlena",lastName:"Guage"},{firstName:"Archie",lastName:"Egerton"},{firstName:"Stacia",lastName:"Doone"},{firstName:"Korella",lastName:"Audsley"},{firstName:"Mignon",lastName:"Cannell"},{firstName:"Eddie",lastName:"Scrowton"},{firstName:"Sheila",lastName:"Dalgetty"},{firstName:"Gage",lastName:"Geratasch"},{firstName:"Amandi",lastName:"Caulwell"},{firstName:"Leela",lastName:"Moulton"},{firstName:"Tally",lastName:"Lanphere"},{firstName:"Chip",lastName:"Brobak"},{firstName:"Reinaldos",lastName:"Repp"},{firstName:"Margaretta",lastName:"Lusher"},{firstName:"Anatole",lastName:"Stubs"},{firstName:"Norean",lastName:"Brewood"},{firstName:"Shaina",lastName:"Hubble"},{firstName:"Wake",lastName:"Strotone"},{firstName:"Patricia",lastName:"Toner"},{firstName:"Syd",lastName:"Anthona"},{firstName:"Kevan",lastName:"Lavender"},{firstName:"Alikee",lastName:"Manwaring"},{firstName:"Aurea",lastName:"Loiterton"},{firstName:"Johnna",lastName:"Dowles"},{firstName:"Shalna",lastName:"Muffin"},{firstName:"Danya",lastName:"Pardoe"},{firstName:"Arda",lastName:"Panniers"},{firstName:"Nickolaus",lastName:"Dunn"},{firstName:"Annaliese",lastName:"Marquot"},{firstName:"Conroy",lastName:"Benfield"},{firstName:"Rutter",lastName:"Bridgstock"},{firstName:"Waylen",lastName:"Millins"},{firstName:"Meredith",lastName:"Salmoni"},{firstName:"Lindy",lastName:"Braley"},{firstName:"Angelico",lastName:"Benallack"},{firstName:"Margarete",lastName:"Edgson"},{firstName:"Jere",lastName:"Bignal"},{firstName:"Orren",lastName:"Brisset"},{firstName:"Heywood",lastName:"Paley"},{firstName:"Jillayne",lastName:"Allbones"},{firstName:"Belita",lastName:"Cypler"},{firstName:"Andreas",lastName:"Knox"},{firstName:"Angil",lastName:"Deval"},{firstName:"Aurelie",lastName:"Copcote"},{firstName:"Jessie",lastName:"Wolfendell"},{firstName:"Immanuel",lastName:"Hudspeth"},{firstName:"Kathye",lastName:"Greenaway"},{firstName:"Ximenez",lastName:"Romayn"},{firstName:"Becky",lastName:"Hailwood"},{firstName:"Dedra",lastName:"McGrane"},{firstName:"Reg",lastName:"Dohrmann"},{firstName:"Cesare",lastName:"Divisek"},{firstName:"Fairleigh",lastName:"Kelsow"},{firstName:"Ichabod",lastName:"Farquarson"},{firstName:"Ellyn",lastName:"Aldersea"},{firstName:"Rubetta",lastName:"Rubra"},{firstName:"Rosaleen",lastName:"Antowski"},{firstName:"Milicent",lastName:"Mowson"},{firstName:"Fenelia",lastName:"Dobel"},{firstName:"Gayel",lastName:"Pigne"},{firstName:"Fawne",lastName:"Heads"},{firstName:"Atalanta",lastName:"Cosbee"},{firstName:"Ola",lastName:"Knoton"},{firstName:"Thorstein",lastName:"Lenihan"},{firstName:"Em",lastName:"McIlheran"},{firstName:"Melany",lastName:"Call"},{firstName:"Christal",lastName:"MacDunlevy"},{firstName:"Harrison",lastName:"Kingswood"},{firstName:"Toddie",lastName:"Mickan"},{firstName:"Anton",lastName:"Myring"},{firstName:"Afton",lastName:"Symons"},{firstName:"Patrizius",lastName:"Wellbank"},{firstName:"Julieta",lastName:"Kynnd"},{firstName:"Damara",lastName:"Knapton"},{firstName:"Bink",lastName:"Geikie"},{firstName:"Yardley",lastName:"De Maine"},{firstName:"Valery",lastName:"Bowler"},{firstName:"Dietrich",lastName:"Surridge"},{firstName:"Ruby",lastName:"Iskov"},{firstName:"Kimball",lastName:"MacConnechie"},{firstName:"Sosanna",lastName:"Milstead"},{firstName:"Alasdair",lastName:"Deluca"},{firstName:"Errol",lastName:"Synnott"},{firstName:"Geneva",lastName:"Sheran"},{firstName:"Chandler",lastName:"Daubney"},{firstName:"Nester",lastName:"Minster"},{firstName:"Lemmy",lastName:"Walkling"},{firstName:"D'arcy",lastName:"Biaggiotti"},{firstName:"Lida",lastName:"Massingham"},{firstName:"Evanne",lastName:"Glendenning"},{firstName:"Kinsley",lastName:"Linklet"},{firstName:"Rosemarie",lastName:"Lissenden"},{firstName:"Vanny",lastName:"Frid"},{firstName:"Dorisa",lastName:"Norbury"},{firstName:"Shaine",lastName:"Badby"},{firstName:"Monique",lastName:"Burling"},{firstName:"Paulita",lastName:"Kime"},{firstName:"Jeannine",lastName:"Lydon"},{firstName:"Keary",lastName:"Castilla"},{firstName:"Giacomo",lastName:"McCroary"},{firstName:"Adriaens",lastName:"Fardell"},{firstName:"Bendix",lastName:"Mottinelli"},{firstName:"Connie",lastName:"Kalisz"},{firstName:"Eldredge",lastName:"Conry"},{firstName:"Buck",lastName:"Hayller"},{firstName:"Isabella",lastName:"Lugden"},{firstName:"Caria",lastName:"Bricklebank"},{firstName:"Mathian",lastName:"Wilcock"},{firstName:"Terrell",lastName:"Moens"},{firstName:"Haslett",lastName:"McAuslene"},{firstName:"Lorant",lastName:"Wharrier"},{firstName:"Lennie",lastName:"Pury"},{firstName:"Dwight",lastName:"Cardon"},{firstName:"Ariel",lastName:"Tenant"},{firstName:"Wilfred",lastName:"Southward"},{firstName:"Mendel",lastName:"McCarry"},{firstName:"Giustino",lastName:"Ferrand"},{firstName:"Jasen",lastName:"Izzatt"},{firstName:"Gregory",lastName:"Scothorn"},{firstName:"Orton",lastName:"Lydiard"},{firstName:"Jody",lastName:"Goodson"},{firstName:"Melosa",lastName:"Surphliss"},{firstName:"Nero",lastName:"Mulqueeny"},{firstName:"Noll",lastName:"Giacoppoli"},{firstName:"Cathi",lastName:"Krale"},{firstName:"Patricio",lastName:"Diggin"},{firstName:"Kynthia",lastName:"Mollatt"},{firstName:"Cyrill",lastName:"Sawrey"},{firstName:"Aharon",lastName:"World"},{firstName:"Hamil",lastName:"Crommett"},{firstName:"Jaquelyn",lastName:"Chesnut"},{firstName:"Giorgia",lastName:"Winborn"},{firstName:"Demott",lastName:"Mumbey"},{firstName:"Marylynne",lastName:"Beauchop"},{firstName:"Brunhilda",lastName:"Cassell"},{firstName:"Hewe",lastName:"Felix"},{firstName:"Zane",lastName:"Minor"},{firstName:"Dorisa",lastName:"Heskins"},{firstName:"Bern",lastName:"Glavin"},{firstName:"Pat",lastName:"Scotney"},{firstName:"Coretta",lastName:"Sancroft"},{firstName:"Ronnie",lastName:"Trembath"},{firstName:"Ron",lastName:"Spurrior"},{firstName:"Jemmy",lastName:"Ninnis"},{firstName:"Ulrica",lastName:"Brereton"},{firstName:"Brigg",lastName:"Mc Cahey"},{firstName:"Benoite",lastName:"Twentyman"},{firstName:"Kilian",lastName:"Axcell"},{firstName:"Claudette",lastName:"Klimmek"},{firstName:"Mattheus",lastName:"Glennon"},{firstName:"Myrlene",lastName:"Tommei"},{firstName:"Rollin",lastName:"Fredson"},{firstName:"Dannel",lastName:"Rawstron"},{firstName:"Baron",lastName:"Dalston"},{firstName:"Pennie",lastName:"Norvill"},{firstName:"Alysia",lastName:"Butterworth"},{firstName:"Sallee",lastName:"Charlick"},{firstName:"Neilla",lastName:"Durbyn"},{firstName:"Morena",lastName:"Dyneley"},{firstName:"Sissie",lastName:"D'Ambrogio"},{firstName:"Nero",lastName:"Mallabone"},{firstName:"Jaymie",lastName:"Loade"},{firstName:"Clark",lastName:"Braden"},{firstName:"Agata",lastName:"Robjents"},{firstName:"Demetra",lastName:"Mallock"},{firstName:"Cayla",lastName:"Ing"},{firstName:"Nathalia",lastName:"Punchard"},{firstName:"Augustina",lastName:"Pietranek"},{firstName:"Lynde",lastName:"Beevor"},{firstName:"Grannie",lastName:"Triswell"},{firstName:"Piggy",lastName:"Rozzier"},{firstName:"Brittne",lastName:"Bodham"},{firstName:"Tasha",lastName:"Nodes"},{firstName:"Joelie",lastName:"Stede"},{firstName:"Alley",lastName:"Bonnett"},{firstName:"Julia",lastName:"Dymott"},{firstName:"Quintana",lastName:"Tigwell"},{firstName:"Margarethe",lastName:"Capper"},{firstName:"Jabez",lastName:"Ineson"},{firstName:"Grange",lastName:"Coomes"},{firstName:"Erek",lastName:"Gonthard"},{firstName:"Waldo",lastName:"Guido"},{firstName:"Otes",lastName:"Matczak"},{firstName:"Northrop",lastName:"McClements"},{firstName:"Farica",lastName:"Punton"},{firstName:"Janelle",lastName:"Styan"},{firstName:"Terza",lastName:"Bruhnicke"},{firstName:"Gav",lastName:"Humphrys"},{firstName:"Morris",lastName:"Bessey"},{firstName:"Nicholas",lastName:"Covotti"},{firstName:"Audre",lastName:"Gauvin"},{firstName:"Melisenda",lastName:"Gostling"},{firstName:"Clari",lastName:"Littlejohn"},{firstName:"Marta",lastName:"Cheale"},{firstName:"Gustavus",lastName:"Binham"},{firstName:"Keen",lastName:"Eldrett"},{firstName:"Arri",lastName:"Stefanovic"},{firstName:"Jolie",lastName:"Hymans"},{firstName:"Camella",lastName:"Whitcomb"},{firstName:"Erin",lastName:"Guppey"},{firstName:"Dolph",lastName:"Chidlow"},{firstName:"Merilyn",lastName:"Ironmonger"},{firstName:"Karlan",lastName:"Simak"},{firstName:"Riannon",lastName:"Kield"},{firstName:"Barris",lastName:"Swedeland"},{firstName:"Fred",lastName:"Crucetti"},{firstName:"Dorella",lastName:"McPaik"},{firstName:"Ive",lastName:"Van Bruggen"},{firstName:"Addison",lastName:"Joules"},{firstName:"Giovanni",lastName:"Ricardo"},{firstName:"Morna",lastName:"Patinkin"},{firstName:"Marga",lastName:"Diplock"},{firstName:"Burgess",lastName:"Palser"},{firstName:"Marlene",lastName:"Morffew"},{firstName:"Marwin",lastName:"Dikels"},{firstName:"Ryley",lastName:"Oaker"},{firstName:"Uta",lastName:"Keir"},{firstName:"Micky",lastName:"Ling"},{firstName:"Fara",lastName:"Measen"},{firstName:"Nadya",lastName:"Haruard"},{firstName:"Brnaba",lastName:"Butterick"},{firstName:"Felita",lastName:"Harsum"},{firstName:"Bealle",lastName:"Perren"},{firstName:"Karina",lastName:"Tremethack"},{firstName:"Joly",lastName:"Fenech"},{firstName:"Viviana",lastName:"Greir"},{firstName:"Kippie",lastName:"Marco"},{firstName:"Clarissa",lastName:"Willoughby"},{firstName:"Benji",lastName:"Asch"},{firstName:"Sheree",lastName:"Hursey"},{firstName:"Bel",lastName:"Trenchard"},{firstName:"Kenton",lastName:"Cejka"},{firstName:"Patrizia",lastName:"Bellanger"},{firstName:"Roby",lastName:"Hylden"},{firstName:"Spike",lastName:"Reeson"},{firstName:"Valentine",lastName:"Dolligon"},{firstName:"Becky",lastName:"Tunnicliffe"},{firstName:"Emmalee",lastName:"Leehane"},{firstName:"Nonna",lastName:"Johnston"},{firstName:"Barbara",lastName:"Myring"},{firstName:"Myrilla",lastName:"Lawfull"},{firstName:"Sherm",lastName:"Simounet"},{firstName:"Farleigh",lastName:"Gemelli"},{firstName:"Joya",lastName:"Tresise"},{firstName:"Klaus",lastName:"Gudd"},{firstName:"Lionello",lastName:"Royden"},{firstName:"Tobye",lastName:"Kollach"},{firstName:"Mathe",lastName:"Stenton"},{firstName:"Chrissy",lastName:"Sicha"},{firstName:"Kerrie",lastName:"Beak"},{firstName:"Noni",lastName:"Domanek"},{firstName:"Hedy",lastName:"Stirling"},{firstName:"Lisa",lastName:"Dulson"},{firstName:"Winny",lastName:"Vella"},{firstName:"Joann",lastName:"Leechman"},{firstName:"Andree",lastName:"Hoble"},{firstName:"Charmaine",lastName:"Connochie"},{firstName:"Cornie",lastName:"Chuney"},{firstName:"Minerva",lastName:"Wedgbrow"},{firstName:"Dar",lastName:"Tomczynski"},{firstName:"Carolann",lastName:"Hartin"},{firstName:"Gareth",lastName:"Luxen"},{firstName:"Eadie",lastName:"Kings"},{firstName:"Constance",lastName:"Blade"},{firstName:"Cristina",lastName:"Oganesian"},{firstName:"Jackson",lastName:"Dunbar"},{firstName:"Coretta",lastName:"Kemer"},{firstName:"Oby",lastName:"Dhennin"},{firstName:"Lib",lastName:"Cargenven"},{firstName:"Jeanne",lastName:"Bellringer"},{firstName:"Fax",lastName:"Harrild"},{firstName:"Svend",lastName:"Higbin"},{firstName:"Tadio",lastName:"Strass"},{firstName:"Cass",lastName:"Scarf"},{firstName:"Kris",lastName:"Ferriman"},{firstName:"Phil",lastName:"Kearey"},{firstName:"Ermentrude",lastName:"Patise"},{firstName:"Morgan",lastName:"Nurcombe"},{firstName:"Alfi",lastName:"Hutchens"},{firstName:"Nance",lastName:"Jopp"},{firstName:"Maia",lastName:"Fanshaw"},{firstName:"Francois",lastName:"Kiln"},{firstName:"Devin",lastName:"Silman"},{firstName:"Gale",lastName:"Morsey"},{firstName:"Madeleine",lastName:"Langran"},{firstName:"Forrester",lastName:"Goomes"},{firstName:"Harp",lastName:"Clews"},{firstName:"Bernadette",lastName:"Atyea"},{firstName:"Rufus",lastName:"McCrillis"},{firstName:"Obadiah",lastName:"Ledur"},{firstName:"Engelbert",lastName:"Webborn"},{firstName:"Jeno",lastName:"Matussevich"},{firstName:"Nicoli",lastName:"Aleksashin"},{firstName:"Jojo",lastName:"Snodden"},{firstName:"Dudley",lastName:"Tucknott"},{firstName:"Rosina",lastName:"Holehouse"},{firstName:"Ophelie",lastName:"Parkhouse"},{firstName:"Biron",lastName:"Robbey"},{firstName:"Hieronymus",lastName:"Galer"},{firstName:"Stanislaus",lastName:"Halms"},{firstName:"Honor",lastName:"Trousdell"},{firstName:"Carrie",lastName:"Jikylls"},{firstName:"Lenna",lastName:"Keerl"},{firstName:"Jarret",lastName:"Proske"},{firstName:"Reggis",lastName:"Pitherick"},{firstName:"Casandra",lastName:"Mitchelson"},{firstName:"Barbaraanne",lastName:"Mabbe"},{firstName:"Esmaria",lastName:"Ruller"},{firstName:"Kipp",lastName:"Slingsby"},{firstName:"Liv",lastName:"Ashard"},{firstName:"Bel",lastName:"Hessentaler"},{firstName:"Abrahan",lastName:"Hanniger"},{firstName:"Noel",lastName:"Battlestone"},{firstName:"Bertie",lastName:"Plumm"},{firstName:"Lanae",lastName:"Burrows"},{firstName:"Arman",lastName:"Poulston"},{firstName:"Candace",lastName:"Lapenna"},{firstName:"Artur",lastName:"Marchetti"},{firstName:"Melonie",lastName:"Brendish"},{firstName:"Wileen",lastName:"Keymar"},{firstName:"Lindon",lastName:"Marsland"},{firstName:"Weidar",lastName:"Hartigan"},{firstName:"Robinett",lastName:"Sibthorpe"},{firstName:"Steward",lastName:"Godball"},{firstName:"Luis",lastName:"Djokovic"},{firstName:"Barb",lastName:"Spridgen"},{firstName:"Phyllys",lastName:"Eggerton"},{firstName:"Lorry",lastName:"Shapiro"},{firstName:"Tabby",lastName:"Howard"},{firstName:"Mace",lastName:"Fillis"},{firstName:"Ermin",lastName:"Wickstead"},{firstName:"Donella",lastName:"Lewington"},{firstName:"Trula",lastName:"Mounch"},{firstName:"Emlynn",lastName:"Bohman"},{firstName:"Merle",lastName:"Reinhart"},{firstName:"Rodolfo",lastName:"Kobpac"},{firstName:"Delbert",lastName:"Bellanger"},{firstName:"Consuelo",lastName:"Petken"},{firstName:"Marita",lastName:"Arnett"},{firstName:"Georges",lastName:"Constanza"},{firstName:"Boony",lastName:"Celiz"},{firstName:"Cherin",lastName:"Savege"},{firstName:"Shanon",lastName:"Raffan"},{firstName:"Alisha",lastName:"Paulusch"},{firstName:"Nels",lastName:"Purse"},{firstName:"Addi",lastName:"Kinvan"},{firstName:"Sibel",lastName:"Blaber"},{firstName:"Dorey",lastName:"Biffin"},{firstName:"Amelia",lastName:"MacHostie"},{firstName:"Cord",lastName:"Layzell"},{firstName:"De",lastName:"Paintain"},{firstName:"Mellicent",lastName:"Aime"},{firstName:"Tildi",lastName:"Ragge"},{firstName:"Murry",lastName:"Willder"},{firstName:"Yoshiko",lastName:"Lidgett"},{firstName:"Audrie",lastName:"Michelmore"},{firstName:"Hagen",lastName:"Beaufoy"},{firstName:"Jennie",lastName:"Sickamore"},{firstName:"Merrily",lastName:"Beaby"},{firstName:"Darline",lastName:"Cohane"},{firstName:"Jeniffer",lastName:"Willes"},{firstName:"Federica",lastName:"Godbehere"},{firstName:"Dorette",lastName:"Scalera"},{firstName:"Bibbie",lastName:"Paddle"},{firstName:"Stephi",lastName:"Crompton"},{firstName:"Garner",lastName:"Hitschke"},{firstName:"Cad",lastName:"Pay"},{firstName:"Hans",lastName:"Alday"},{firstName:"Suzie",lastName:"Scarsbrooke"},{firstName:"Misti",lastName:"Spriggs"},{firstName:"Annabel",lastName:"Butterley"},{firstName:"Arri",lastName:"Jamary"},{firstName:"Bernete",lastName:"Lowton"},{firstName:"Dexter",lastName:"Romney"},{firstName:"Llywellyn",lastName:"Morecomb"},{firstName:"Waylen",lastName:"Gamon"},{firstName:"Darcy",lastName:"Benny"},{firstName:"Gusella",lastName:"Lakin"},{firstName:"Catharine",lastName:"Ambrosch"},{firstName:"Shani",lastName:"Guyet"},{firstName:"Vernen",lastName:"Jirasek"},{firstName:"Valentine",lastName:"Glasscoe"},{firstName:"Emmerich",lastName:"Carlson"},{firstName:"George",lastName:"Trewin"},{firstName:"Rivkah",lastName:"Wherry"},{firstName:"Eydie",lastName:"Fidler"},{firstName:"Clari",lastName:"Pichmann"},{firstName:"Aggi",lastName:"Heskins"},{firstName:"Jephthah",lastName:"Hadye"},{firstName:"Coletta",lastName:"Antonignetti"},{firstName:"Astrid",lastName:"Gepson"},{firstName:"Celestina",lastName:"Willder"},{firstName:"Esme",lastName:"Monelli"},{firstName:"George",lastName:"Maunton"},{firstName:"Owen",lastName:"Durbann"},{firstName:"Bernelle",lastName:"Mancer"},{firstName:"Beale",lastName:"O'Sharry"},{firstName:"Suellen",lastName:"Piggens"},{firstName:"Gabey",lastName:"Dory"},{firstName:"Georg",lastName:"Syrett"},{firstName:"Hobey",lastName:"Kibby"},{firstName:"Derick",lastName:"Metherell"},{firstName:"Culver",lastName:"Briiginshaw"},{firstName:"Darrell",lastName:"Chuck"},{firstName:"Charita",lastName:"Eagan"},{firstName:"Marshall",lastName:"Dolohunty"},{firstName:"Rolfe",lastName:"Cassley"},{firstName:"Dorette",lastName:"Wren"},{firstName:"Lesley",lastName:"Twatt"},{firstName:"Betteann",lastName:"Riste"},{firstName:"Emlyn",lastName:"Lemmertz"},{firstName:"Mahalia",lastName:"Feige"},{firstName:"Rosene",lastName:"Soane"},{firstName:"Patrizio",lastName:"Lefever"},{firstName:"Pattie",lastName:"Scandred"},{firstName:"Rudolf",lastName:"Shyres"},{firstName:"Hubey",lastName:"Bletsoe"},{firstName:"Carter",lastName:"Salman"},{firstName:"Idell",lastName:"Ogbourne"},{firstName:"Delcina",lastName:"Thwaite"},{firstName:"Vivian",lastName:"MacPhee"},{firstName:"Hyacinth",lastName:"Schwandt"},{firstName:"Catina",lastName:"Willgoss"},{firstName:"Purcell",lastName:"Vagges"},{firstName:"Sharl",lastName:"Sanja"},{firstName:"Netti",lastName:"Gostridge"},{firstName:"Micky",lastName:"MacDowal"},{firstName:"Morrie",lastName:"Cottham"},{firstName:"Brenda",lastName:"Pavey"},{firstName:"Nessie",lastName:"Gradon"},{firstName:"Dani",lastName:"Beebee"},{firstName:"Maritsa",lastName:"Jaime"},{firstName:"Fonzie",lastName:"Anstead"},{firstName:"Annmarie",lastName:"Tomaszewski"},{firstName:"Maurine",lastName:"Cianelli"},{firstName:"Diahann",lastName:"Tomkiss"},{firstName:"Dwain",lastName:"Schoales"},{firstName:"Sky",lastName:"Burless"},{firstName:"Forster",lastName:"Scapelhorn"},{firstName:"Grier",lastName:"Rhydderch"},{firstName:"Arther",lastName:"Squibbes"},{firstName:"Lucias",lastName:"Lamball"},{firstName:"Levey",lastName:"Usmar"},{firstName:"Wileen",lastName:"Bonniface"},{firstName:"Roxie",lastName:"McGrady"},{firstName:"Dalli",lastName:"Skaife d'Ingerthorpe"},{firstName:"Deloria",lastName:"Baglin"},{firstName:"Thornton",lastName:"Witt"},{firstName:"Happy",lastName:"Schiersch"},{firstName:"Sam",lastName:"Berkley"},{firstName:"Jackqueline",lastName:"Cammis"},{firstName:"Athena",lastName:"Bote"},{firstName:"Cacilia",lastName:"Forsythe"},{firstName:"Issy",lastName:"Cockroft"},{firstName:"Lark",lastName:"Scipsey"},{firstName:"Bil",lastName:"Boomes"},{firstName:"Luise",lastName:"Vesque"},{firstName:"Jarrid",lastName:"Apfler"},{firstName:"Sidney",lastName:"Oneill"},{firstName:"Drusy",lastName:"Veque"},{firstName:"Birk",lastName:"Mingaud"},{firstName:"Kalle",lastName:"Mumbray"},{firstName:"Maynard",lastName:"Hobben"},{firstName:"Sibbie",lastName:"Diemer"},{firstName:"Graeme",lastName:"Hebditch"},{firstName:"Jillana",lastName:"Gavaran"},{firstName:"Yancy",lastName:"Bortolussi"},{firstName:"Nick",lastName:"Neubigging"},{firstName:"Pierette",lastName:"Vowels"},{firstName:"Noellyn",lastName:"Pioch"},{firstName:"Silva",lastName:"Stringfellow"},{firstName:"Nikolaus",lastName:"Purslow"},{firstName:"Tomaso",lastName:"Whyteman"},{firstName:"Dexter",lastName:"McArt"},{firstName:"Inigo",lastName:"Pimbley"},{firstName:"Pavlov",lastName:"Karys"},{firstName:"Kerry",lastName:"Sessuns"},{firstName:"Kleon",lastName:"Pogue"},{firstName:"Lettie",lastName:"Noble"},{firstName:"Hazlett",lastName:"Vidyapin"},{firstName:"Faun",lastName:"Eloi"},{firstName:"Che",lastName:"Woollends"},{firstName:"Marcello",lastName:"Wilson"},{firstName:"Clifford",lastName:"Byfield"},{firstName:"Padgett",lastName:"Compford"},{firstName:"Kelsi",lastName:"Lunny"},{firstName:"Lexine",lastName:"Ertel"},{firstName:"Ki",lastName:"Amerighi"},{firstName:"Mavis",lastName:"Stiell"},{firstName:"Maressa",lastName:"Fentem"},{firstName:"Teriann",lastName:"Laister"},{firstName:"Pansy",lastName:"Giraths"},{firstName:"Arline",lastName:"McFarlan"},{firstName:"Pierson",lastName:"Beyne"},{firstName:"Tyne",lastName:"Elstow"},{firstName:"Luce",lastName:"Werrilow"},{firstName:"Connor",lastName:"Celand"},{firstName:"Brena",lastName:"Faloon"},{firstName:"Ezekiel",lastName:"Hankey"},{firstName:"Kerk",lastName:"Sumers"},{firstName:"Adlai",lastName:"Earie"},{firstName:"Linnet",lastName:"Firpo"},{firstName:"Robby",lastName:"Gascoyne"},{firstName:"Demeter",lastName:"Ferns"},{firstName:"Lucas",lastName:"Mitchard"},{firstName:"Elfreda",lastName:"Buxsey"},{firstName:"Sherwin",lastName:"Styan"},{firstName:"Ashton",lastName:"Eastlake"},{firstName:"Rasia",lastName:"McCreadie"},{firstName:"Tirrell",lastName:"Lissandre"},{firstName:"Genovera",lastName:"Kelner"},{firstName:"Riannon",lastName:"Clowton"},{firstName:"Paige",lastName:"Beames"},{firstName:"Murdock",lastName:"Mackrill"},{firstName:"Sasha",lastName:"Berrey"},{firstName:"Michal",lastName:"Myring"},{firstName:"Salaidh",lastName:"Snaden"},{firstName:"Erinna",lastName:"Anchor"},{firstName:"Selle",lastName:"Chesser"},{firstName:"Tomlin",lastName:"McKeachie"},{firstName:"Adair",lastName:"Gavriel"},{firstName:"Rheba",lastName:"Chitty"},{firstName:"Eliza",lastName:"Liven"},{firstName:"Nat",lastName:"Tubbles"},{firstName:"Kalila",lastName:"Belchamber"},{firstName:"Osbourne",lastName:"Grimditch"},{firstName:"Drusilla",lastName:"Arnould"},{firstName:"Barbara-anne",lastName:"Albinson"},{firstName:"Casar",lastName:"Tate"},{firstName:"Astra",lastName:"Le Sarr"},{firstName:"Orran",lastName:"Coneybeare"},{firstName:"Donny",lastName:"Aldus"},{firstName:"Rebecka",lastName:"Beardshall"},{firstName:"Giovanni",lastName:"Poker"},{firstName:"Laurence",lastName:"Nettle"},{firstName:"Harli",lastName:"Marler"},{firstName:"Tansy",lastName:"Rice"},{firstName:"Shepherd",lastName:"Couch"},{firstName:"Oswald",lastName:"Crole"},{firstName:"Frazer",lastName:"Fairholme"},{firstName:"Alyda",lastName:"Zimmermeister"},{firstName:"Claretta",lastName:"Levensky"},{firstName:"Tabatha",lastName:"Senussi"},{firstName:"Armstrong",lastName:"Flann"},{firstName:"Pauly",lastName:"Maddrell"},{firstName:"Tiffy",lastName:"Duinkerk"},{firstName:"Korella",lastName:"Lawty"},{firstName:"Marji",lastName:"Connal"},{firstName:"Lavina",lastName:"Bemand"},{firstName:"Sim",lastName:"Gardiner"},{firstName:"Joanne",lastName:"Lettley"},{firstName:"Edeline",lastName:"Fogg"},{firstName:"Erastus",lastName:"Ditty"},{firstName:"Nerte",lastName:"Gibbeson"},{firstName:"Tabatha",lastName:"Cann"},{firstName:"Sloane",lastName:"Gatherer"},{firstName:"Bibi",lastName:"Geikie"},{firstName:"Hayes",lastName:"Blindmann"},{firstName:"Fields",lastName:"Knott"},{firstName:"Marybelle",lastName:"Odde"},{firstName:"Gabriel",lastName:"Bowmaker"},{firstName:"Torrey",lastName:"Begwell"},{firstName:"Trever",lastName:"Perel"},{firstName:"Jannelle",lastName:"Stickells"},{firstName:"Arlyne",lastName:"McRorie"},{firstName:"Earle",lastName:"Skone"},{firstName:"Octavius",lastName:"Glendining"},{firstName:"Demeter",lastName:"Monan"},{firstName:"Karna",lastName:"Soane"},{firstName:"Min",lastName:"Galton"},{firstName:"Cissiee",lastName:"Hurling"},{firstName:"Rodge",lastName:"Overlow"},{firstName:"Aluin",lastName:"Bealton"},{firstName:"Sabra",lastName:"Stearn"},{firstName:"Chen",lastName:"Leming"},{firstName:"Matthias",lastName:"Berkelay"},{firstName:"Nanci",lastName:"Collingwood"},{firstName:"Xaviera",lastName:"Ducaen"},{firstName:"Faina",lastName:"Di Carli"},{firstName:"Conn",lastName:"Boyan"},{firstName:"Sam",lastName:"Gebhardt"},{firstName:"Abbie",lastName:"Dever"},{firstName:"Towney",lastName:"Freer"},{firstName:"Bari",lastName:"Sisland"},{firstName:"Scott",lastName:"Jancar"},{firstName:"Nikolai",lastName:"Justis"},{firstName:"Kaela",lastName:"Jerromes"},{firstName:"Cordelie",lastName:"MacAnespie"},{firstName:"Guntar",lastName:"Brodnecke"},{firstName:"Florette",lastName:"Frushard"},{firstName:"Brit",lastName:"Schrinel"},{firstName:"Jodie",lastName:"Matuskiewicz"},{firstName:"Pierson",lastName:"Pippin"},{firstName:"Nathalie",lastName:"Faltskog"},{firstName:"Amelie",lastName:"Quartermaine"},{firstName:"Nikkie",lastName:"Dwelling"},{firstName:"Adan",lastName:"Rickersy"},{firstName:"Elden",lastName:"Langelay"},{firstName:"Aubine",lastName:"Clamp"},{firstName:"Rahal",lastName:"Outerbridge"},{firstName:"Ethelda",lastName:"Brasier"},{firstName:"Helsa",lastName:"Willbraham"},{firstName:"Forest",lastName:"Partridge"},{firstName:"Lem",lastName:"Janisson"},{firstName:"Elly",lastName:"Copins"},{firstName:"Rawley",lastName:"Morey"},{firstName:"Giff",lastName:"Dampier"},{firstName:"Norri",lastName:"Tuminini"},{firstName:"Thacher",lastName:"Perren"},{firstName:"Harmon",lastName:"Fitzsimon"},{firstName:"Earvin",lastName:"Weatherhead"},{firstName:"Hillier",lastName:"Richemond"},{firstName:"Kandy",lastName:"Gledstane"},{firstName:"Jana",lastName:"Tasch"},{firstName:"Doro",lastName:"Eisikowitz"},{firstName:"Pavel",lastName:"Stowe"},{firstName:"Madalena",lastName:"Tuminini"},{firstName:"Jeanna",lastName:"Bertouloume"},{firstName:"Lutero",lastName:"Bashford"},{firstName:"Atalanta",lastName:"Torns"},{firstName:"Goddard",lastName:"Georgot"},{firstName:"Lyndsay",lastName:"Hendrix"},{firstName:"Rachel",lastName:"Lavalle"},{firstName:"Kathie",lastName:"Ruos"},{firstName:"Gayleen",lastName:"Kennea"},{firstName:"Tim",lastName:"Mogford"},{firstName:"Ariel",lastName:"Slaight"},{firstName:"Norry",lastName:"Bainbrigge"},{firstName:"Klara",lastName:"Lidgard"},{firstName:"Brod",lastName:"Dallaway"},{firstName:"Marna",lastName:"Couthard"},{firstName:"Selestina",lastName:"Waldock"},{firstName:"Joane",lastName:"Dight"},{firstName:"Rourke",lastName:"Tivenan"},{firstName:"Candis",lastName:"O'Kennavain"},{firstName:"Dreddy",lastName:"Perschke"},{firstName:"Viki",lastName:"Skerme"},{firstName:"Prinz",lastName:"Dysart"},{firstName:"Nicky",lastName:"Terrill"},{firstName:"Rene",lastName:"Sultan"},{firstName:"Dev",lastName:"Duberry"},{firstName:"Franciskus",lastName:"Spata"},{firstName:"Emanuele",lastName:"Basketter"},{firstName:"Meredith",lastName:"Rime"},{firstName:"Donnajean",lastName:"Rohmer"},{firstName:"Nevins",lastName:"Hawkyens"},{firstName:"Benedicta",lastName:"Roycroft"},{firstName:"Micki",lastName:"Erik"},{firstName:"Anni",lastName:"Tinner"},{firstName:"Bessy",lastName:"Bearfoot"},{firstName:"Damon",lastName:"Laurenz"},{firstName:"Marvin",lastName:"Eustace"},{firstName:"Joanne",lastName:"Watkinson"},{firstName:"Evyn",lastName:"Servante"},{firstName:"Maxy",lastName:"Bockin"},{firstName:"Velma",lastName:"Storrock"},{firstName:"Cele",lastName:"Brindley"},{firstName:"Bourke",lastName:"Ridges"},{firstName:"Creigh",lastName:"Streat"},{firstName:"Sherri",lastName:"Perse"},{firstName:"Roze",lastName:"Giddens"},{firstName:"Guthrie",lastName:"Westhoff"},{firstName:"Sascha",lastName:"Glover"},{firstName:"Stevena",lastName:"Salterne"},{firstName:"Leelah",lastName:"Beefon"},{firstName:"Alejandro",lastName:"Jorck"},{firstName:"Sherye",lastName:"Heazel"},{firstName:"Lynett",lastName:"Husbands"},{firstName:"Row",lastName:"Shuttell"},{firstName:"Perri",lastName:"Grinter"},{firstName:"Emmery",lastName:"Waby"},{firstName:"Lester",lastName:"Hyndson"},{firstName:"Linoel",lastName:"Willcock"},{firstName:"Cherilyn",lastName:"Inkles"},{firstName:"Myrta",lastName:"Jameson"},{firstName:"Corliss",lastName:"Sciacovelli"},{firstName:"Aleece",lastName:"Brady"},{firstName:"Elaina",lastName:"Wipfler"},{firstName:"Christie",lastName:"Ropert"},{firstName:"Joann",lastName:"Sporton"},{firstName:"Kirby",lastName:"Rowlands"},{firstName:"Evin",lastName:"Thring"},{firstName:"Garth",lastName:"Bolmann"},{firstName:"Hettie",lastName:"Tregear"},{firstName:"Niall",lastName:"Attride"},{firstName:"Westbrooke",lastName:"Rodge"},{firstName:"Eugenio",lastName:"Sandwick"},{firstName:"Ephrem",lastName:"Parkes"},{firstName:"Dion",lastName:"Scotland"},{firstName:"Adams",lastName:"Kaes"},{firstName:"Sherrie",lastName:"Leaburn"},{firstName:"Milli",lastName:"Cornthwaite"},{firstName:"Ester",lastName:"Fassum"},{firstName:"Maddie",lastName:"Dhenin"},{firstName:"Skelly",lastName:"Cosins"},{firstName:"Danila",lastName:"Aldis"},{firstName:"Elicia",lastName:"Beushaw"},{firstName:"Christa",lastName:"Godbold"},{firstName:"Courtnay",lastName:"De Giovanni"},{firstName:"Abey",lastName:"Van den Broek"},{firstName:"Tobi",lastName:"Clixby"},{firstName:"Tiffany",lastName:"Murrum"},{firstName:"Ellis",lastName:"Tourne"},{firstName:"Wilmer",lastName:"Ellaway"},{firstName:"Cesya",lastName:"Dragoe"},{firstName:"Elyssa",lastName:"Ferries"},{firstName:"Brnaba",lastName:"Mil"},{firstName:"Allayne",lastName:"Vallerine"},{firstName:"Dulciana",lastName:"Gentry"},{firstName:"Laureen",lastName:"Brisson"},{firstName:"Joaquin",lastName:"Griniov"},{firstName:"Corrie",lastName:"Van Hove"},{firstName:"Markus",lastName:"Adlam"},{firstName:"Nerissa",lastName:"McAtamney"},{firstName:"Mariette",lastName:"Dungate"},{firstName:"Robinette",lastName:"De Fraine"},{firstName:"Lesya",lastName:"Sunman"},{firstName:"Kellie",lastName:"McAline"},{firstName:"Erasmus",lastName:"Siviter"},{firstName:"Land",lastName:"Weine"},{firstName:"Lacy",lastName:"Woodyeare"},{firstName:"Illa",lastName:"Schiefersten"},{firstName:"Kristina",lastName:"Crosi"},{firstName:"Meyer",lastName:"Haggata"},{firstName:"Mal",lastName:"Pendre"},{firstName:"Rene",lastName:"Jablonski"},{firstName:"Viviana",lastName:"Donoher"},{firstName:"Bevvy",lastName:"MacArdle"},{firstName:"Binky",lastName:"Guillain"},{firstName:"Joyce",lastName:"Gossipin"},{firstName:"Marie-jeanne",lastName:"Digle"},{firstName:"Roseann",lastName:"Camelia"},{firstName:"Georgiana",lastName:"Izakoff"},{firstName:"Evanne",lastName:"Palmby"},{firstName:"Stevie",lastName:"Filgate"},{firstName:"Jervis",lastName:"Major"},{firstName:"Brena",lastName:"Scandroot"},{firstName:"Wally",lastName:"Rigeby"},{firstName:"Cordie",lastName:"Zelley"},{firstName:"Hubie",lastName:"Van Arsdall"},{firstName:"Pavla",lastName:"Kivelle"},{firstName:"Robyn",lastName:"Miquelet"},{firstName:"Harbert",lastName:"Shillabeare"},{firstName:"Alexina",lastName:"Riply"},{firstName:"Dael",lastName:"Kohn"},{firstName:"Nicolas",lastName:"Cotterel"},{firstName:"Kirstyn",lastName:"McCart"},{firstName:"Linnea",lastName:"McKitterick"},{firstName:"Janenna",lastName:"Wackett"},{firstName:"Minta",lastName:"Hallin"},{firstName:"Ursola",lastName:"Deyes"},{firstName:"Marco",lastName:"Pryn"},{firstName:"Kit",lastName:"Kopps"},{firstName:"Mallory",lastName:"Loudian"},{firstName:"Maggi",lastName:"Phinn"},{firstName:"Katerine",lastName:"Muncaster"},{firstName:"Katerine",lastName:"Elks"},{firstName:"Marietta",lastName:"Hamments"},{firstName:"Nalani",lastName:"Ponnsett"},{firstName:"Jeffie",lastName:"Salvin"},{firstName:"Sidney",lastName:"Dahlen"},{firstName:"Tobe",lastName:"Clynman"},{firstName:"Derrek",lastName:"Jorissen"},{firstName:"Nona",lastName:"Guinane"},{firstName:"Major",lastName:"Jickles"},{firstName:"Helenka",lastName:"Mewes"},{firstName:"Brockie",lastName:"MacGillivray"},{firstName:"Bobbye",lastName:"Bail"},{firstName:"Frieda",lastName:"Worsham"},{firstName:"Ambur",lastName:"Leavey"},{firstName:"Davine",lastName:"Beaglehole"},{firstName:"Priscella",lastName:"St Louis"},{firstName:"Mohandis",lastName:"Conneau"},{firstName:"Clemmie",lastName:"Dovington"},{firstName:"Ophelie",lastName:"Binge"},{firstName:"Lucienne",lastName:"Zemler"},{firstName:"Fredia",lastName:"MacRierie"},{firstName:"Genny",lastName:"Charopen"},{firstName:"Mindy",lastName:"Clemendet"},{firstName:"Deerdre",lastName:"O' Connell"},{firstName:"Rosemonde",lastName:"Trace"},{firstName:"Herbie",lastName:"Tolliday"},{firstName:"Herby",lastName:"Dundredge"},{firstName:"Sonnnie",lastName:"Chatten"},{firstName:"Julina",lastName:"Wickett"},{firstName:"Leela",lastName:"Lucian"},{firstName:"Ninon",lastName:"Flanaghan"},{firstName:"Terencio",lastName:"Morl"},{firstName:"Ramsey",lastName:"Cuxon"},{firstName:"Juliann",lastName:"Arrol"},{firstName:"Silvan",lastName:"Flatt"},{firstName:"Cathrine",lastName:"Archbould"},{firstName:"Claudette",lastName:"Shevelin"},{firstName:"Marlane",lastName:"Brawn"},{firstName:"Nanci",lastName:"Howatt"},{firstName:"Colleen",lastName:"Beining"},{firstName:"Helge",lastName:"Geldard"},{firstName:"Jeannie",lastName:"Tosney"},{firstName:"Rebecka",lastName:"Duggon"},{firstName:"Kalvin",lastName:"Fleckno"},{firstName:"Denny",lastName:"Ashplant"},{firstName:"Valene",lastName:"Josling"},{firstName:"Ethelyn",lastName:"Breazeall"},{firstName:"Miguela",lastName:"Jirka"},{firstName:"Sherilyn",lastName:"Bodd"},{firstName:"Gay",lastName:"Lanceter"},{firstName:"Aime",lastName:"Pee"},{firstName:"Brandise",lastName:"Gamble"},{firstName:"Charyl",lastName:"Toffolini"},{firstName:"Therese",lastName:"Janota"},{firstName:"Aaren",lastName:"Phair"}],c="./placeholder.svg",h="./monkey.svg";class l{constructor(e={}){this.options=e}configureLazyLoad(e,a){e.configureLazyLoad((t,s)=>new Promise((i,r)=>{setTimeout(()=>{this.options.dataRequestRandomFails&&Math.random()>.4?r(new Error("random fail :(")):i(this.createData(s,100,t))},a??1e3)}))}createData(e,a,t){const s=[],i=e*a;let r=!1,d=0;for(let m=0;m<f.length;m++){const n=f[m];if(m===f.length-1&&(r=!0),(!t||n.firstName.indexOf(t)>-1||n.lastName.indexOf(t)>-1)&&(d++>=i&&s.push(this.createItem(n,m)),d==i+a))break}return{items:s,finalSizeIsKnown:r}}createItem(e,a){const t={id:a,caption:e.firstName,description:e.lastName,index:a,rightContentGenerator:()=>{const s=document.createElement("span");return s.innerText=`${a}`,s.style.padding="8px",s}};return this.options.hierarchical?t.level=Math.floor(Math.random()*8):(t.iconPlaceholder=c,a%2==0&&(t.icon=h)),t}}const N=document.querySelector("#lazy-loading-examples-container");new l().configureLazyLoad(N.querySelector("#lazy-loading-example"));new l({hierarchical:!0}).configureLazyLoad(N.querySelector("#hierarchical-example"));new l({dataRequestRandomFails:!0}).configureLazyLoad(N.querySelector("#random-fail-example"));const y=N.querySelector("sd-combo-box[trigger-only]"),u=N.querySelector("#trigger-only-selection-message");new l().configureLazyLoad(y);y.addEventListener("selection-change",o=>{const e=o.detail.selection;if(e){const a=e;u.textContent=a.item.caption}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./doc.mjs";const n="./monkey.svg",t="ABCDEFGHIJKLMNOPQRSTUVWXYZ".split(""),i=[];t.forEach(e=>{for(let o=0;o<10;o++)i.push({caption:`Item ${e}`,description:`This is ${e}`,icon:n})});const s=t.map(e=>({caption:`Every item starts with this looooong prefix: Item ${e}`,description:`This is ${e}`})),c=t.map(e=>({caption:`Every item starts with this looooong prefix: Item ${e}`,description:""})),m=document.querySelector("#duplicate-example");m.items=i;m.comboBoxValue={index:88,item:i[88]};document.querySelector("#long-prefixes-example").items=s;document.querySelector("#long-prefixes-large-example").items=s;document.querySelector("#long-prefixes-line-clamp-example").items=c;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h as s}from"./doc.mjs";const n="./monkey.svg",i=[];i.push({caption:"Item A",description:"This is A",icon:n});i.push({caption:"Item B",description:"This is B",icon:n});i.push({caption:"Item C",description:"This is C",icon:n});document.querySelectorAll("#validation-examples-container sd-combo-box").forEach(e=>{e.items=i,t(e),e.addEventListener("selection-change",a=>{t(e)})});function t(e){e.comboBoxValue?(e.validationMessage=null,e.validationLevel=null):(e.validationMessage="Should not be empty",e.validationLevel=s.Error)}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.markdown-body{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;margin:0;color:#1f2328;background-color:#fff;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Noto Sans,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:16px;line-height:1.5;word-wrap:break-word}.markdown-body .octicon{display:inline-block;fill:currentColor;vertical-align:text-bottom}.markdown-body h1:hover .anchor .octicon-link:before,.markdown-body h2:hover .anchor .octicon-link:before,.markdown-body h3:hover .anchor .octicon-link:before,.markdown-body h4:hover .anchor .octicon-link:before,.markdown-body h5:hover .anchor .octicon-link:before,.markdown-body h6:hover .anchor .octicon-link:before{width:16px;height:16px;content:" ";display:inline-block;background-color:currentColor;-webkit-mask-image:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' version='1.1' aria-hidden='true'><path fill-rule='evenodd' d='M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z'></path></svg>");mask-image:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' version='1.1' aria-hidden='true'><path fill-rule='evenodd' d='M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z'></path></svg>")}.markdown-body details,.markdown-body figcaption,.markdown-body figure{display:block}.markdown-body summary{display:list-item}.markdown-body [hidden]{display:none!important}.markdown-body a{background-color:transparent;color:#0969da;text-decoration:none}.markdown-body abbr[title]{border-bottom:none;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.markdown-body b,.markdown-body strong{font-weight:600}.markdown-body dfn{font-style:italic}.markdown-body h1{margin:.67em 0;font-weight:600;padding-bottom:.3em;font-size:2em;border-bottom:1px solid hsla(210,18%,87%,1)}.markdown-body mark{background-color:#fff8c5;color:#1f2328}.markdown-body small{font-size:90%}.markdown-body sub,.markdown-body sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}.markdown-body sub{bottom:-.25em}.markdown-body sup{top:-.5em}.markdown-body img{border-style:none;max-width:100%;box-sizing:content-box;background-color:#fff}.markdown-body code,.markdown-body kbd,.markdown-body pre,.markdown-body samp{font-family:monospace;font-size:1em}.markdown-body figure{margin:1em 40px}.markdown-body hr{box-sizing:content-box;overflow:hidden;background:transparent;border-bottom:1px solid hsla(210,18%,87%,1);height:.25em;padding:0;margin:24px 0;background-color:#d0d7de;border:0}.markdown-body input{font:inherit;margin:0;overflow:visible;font-family:inherit;font-size:inherit;line-height:inherit}.markdown-body [type=button],.markdown-body [type=reset],.markdown-body [type=submit]{-webkit-appearance:button;-moz-appearance:button;appearance:button}.markdown-body [type=checkbox],.markdown-body [type=radio]{box-sizing:border-box;padding:0}.markdown-body [type=number]::-webkit-inner-spin-button,.markdown-body [type=number]::-webkit-outer-spin-button{height:auto}.markdown-body [type=search]::-webkit-search-cancel-button,.markdown-body [type=search]::-webkit-search-decoration{-webkit-appearance:none;-moz-appearance:none;appearance:none}.markdown-body ::-webkit-input-placeholder{color:inherit;opacity:.54}.markdown-body ::-webkit-file-upload-button{-webkit-appearance:button;-moz-appearance:button;appearance:button;font:inherit}.markdown-body a:hover{text-decoration:underline}.markdown-body ::placeholder{color:#6e7781;opacity:1}.markdown-body hr:before{display:table;content:""}.markdown-body hr:after{display:table;clear:both;content:""}.markdown-body table{border-spacing:0;border-collapse:collapse;display:block;width:max-content;max-width:100%;overflow:auto}.markdown-body td,.markdown-body th{padding:0}.markdown-body details summary{cursor:pointer}.markdown-body details:not([open])>*:not(summary){display:none!important}.markdown-body a:focus,.markdown-body [role=button]:focus,.markdown-body input[type=radio]:focus,.markdown-body input[type=checkbox]:focus{outline:2px solid #0969da;outline-offset:-2px;box-shadow:none}.markdown-body a:focus:not(:focus-visible),.markdown-body [role=button]:focus:not(:focus-visible),.markdown-body input[type=radio]:focus:not(:focus-visible),.markdown-body input[type=checkbox]:focus:not(:focus-visible){outline:solid 1px transparent}.markdown-body a:focus-visible,.markdown-body [role=button]:focus-visible,.markdown-body input[type=radio]:focus-visible,.markdown-body input[type=checkbox]:focus-visible{outline:2px solid #0969da;outline-offset:-2px;box-shadow:none}.markdown-body a:not([class]):focus,.markdown-body a:not([class]):focus-visible,.markdown-body input[type=radio]:focus,.markdown-body input[type=radio]:focus-visible,.markdown-body input[type=checkbox]:focus,.markdown-body input[type=checkbox]:focus-visible{outline-offset:0}.markdown-body kbd{display:inline-block;padding:3px 5px;font:11px ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;line-height:10px;color:#1f2328;vertical-align:middle;background-color:#f6f8fa;border:solid 1px rgba(175,184,193,.2);border-bottom-color:#afb8c133;border-radius:6px;box-shadow:inset 0 -1px #afb8c133}.markdown-body h1,.markdown-body h2,.markdown-body h3,.markdown-body h4,.markdown-body h5,.markdown-body h6{margin-top:24px;margin-bottom:16px;font-weight:600;line-height:1.25}.markdown-body h2{font-weight:600;padding-bottom:.3em;font-size:1.5em;border-bottom:1px solid hsla(210,18%,87%,1)}.markdown-body h3{font-weight:600;font-size:1.25em}.markdown-body h4{font-weight:600;font-size:1em}.markdown-body h5{font-weight:600;font-size:.875em}.markdown-body h6{font-weight:600;font-size:.85em;color:#656d76}.markdown-body p{margin-top:0;margin-bottom:10px}.markdown-body blockquote{margin:0;padding:0 1em;color:#656d76;border-left:.25em solid #d0d7de}.markdown-body ul,.markdown-body ol{margin-top:0;margin-bottom:0;padding-left:2em}.markdown-body ol ol,.markdown-body ul ol{list-style-type:lower-roman}.markdown-body ul ul ol,.markdown-body ul ol ol,.markdown-body ol ul ol,.markdown-body ol ol ol{list-style-type:lower-alpha}.markdown-body dd{margin-left:0}.markdown-body tt,.markdown-body code,.markdown-body samp{font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px}.markdown-body pre{margin-top:0;margin-bottom:0;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px;word-wrap:normal}.markdown-body .octicon{display:inline-block;overflow:visible!important;vertical-align:text-bottom;fill:currentColor}.markdown-body input::-webkit-outer-spin-button,.markdown-body input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.markdown-body .mr-2{margin-right:8px!important}.markdown-body:before{display:table;content:""}.markdown-body:after{display:table;clear:both;content:""}.markdown-body>*:first-child{margin-top:0!important}.markdown-body>*:last-child{margin-bottom:0!important}.markdown-body a:not([href]){color:inherit;text-decoration:none}.markdown-body .absent{color:#d1242f}.markdown-body .anchor{float:left;padding-right:4px;margin-left:-20px;line-height:1}.markdown-body .anchor:focus{outline:none}.markdown-body p,.markdown-body blockquote,.markdown-body ul,.markdown-body ol,.markdown-body dl,.markdown-body table,.markdown-body pre,.markdown-body details{margin-top:0;margin-bottom:16px}.markdown-body blockquote>:first-child{margin-top:0}.markdown-body blockquote>:last-child{margin-bottom:0}.markdown-body h1 .octicon-link,.markdown-body h2 .octicon-link,.markdown-body h3 .octicon-link,.markdown-body h4 .octicon-link,.markdown-body h5 .octicon-link,.markdown-body h6 .octicon-link{color:#1f2328;vertical-align:middle;visibility:hidden}.markdown-body h1:hover .anchor,.markdown-body h2:hover .anchor,.markdown-body h3:hover .anchor,.markdown-body h4:hover .anchor,.markdown-body h5:hover .anchor,.markdown-body h6:hover .anchor{text-decoration:none}.markdown-body h1:hover .anchor .octicon-link,.markdown-body h2:hover .anchor .octicon-link,.markdown-body h3:hover .anchor .octicon-link,.markdown-body h4:hover .anchor .octicon-link,.markdown-body h5:hover .anchor .octicon-link,.markdown-body h6:hover .anchor .octicon-link{visibility:visible}.markdown-body h1 tt,.markdown-body h1 code,.markdown-body h2 tt,.markdown-body h2 code,.markdown-body h3 tt,.markdown-body h3 code,.markdown-body h4 tt,.markdown-body h4 code,.markdown-body h5 tt,.markdown-body h5 code,.markdown-body h6 tt,.markdown-body h6 code{padding:0 .2em;font-size:inherit}.markdown-body summary h1,.markdown-body summary h2,.markdown-body summary h3,.markdown-body summary h4,.markdown-body summary h5,.markdown-body summary h6{display:inline-block}.markdown-body summary h1 .anchor,.markdown-body summary h2 .anchor,.markdown-body summary h3 .anchor,.markdown-body summary h4 .anchor,.markdown-body summary h5 .anchor,.markdown-body summary h6 .anchor{margin-left:-40px}.markdown-body summary h1,.markdown-body summary h2{padding-bottom:0;border-bottom:0}.markdown-body ul.no-list,.markdown-body ol.no-list{padding:0;list-style-type:none}.markdown-body ol[type="a s"]{list-style-type:lower-alpha}.markdown-body ol[type="A s"]{list-style-type:upper-alpha}.markdown-body ol[type="i s"]{list-style-type:lower-roman}.markdown-body ol[type="I s"]{list-style-type:upper-roman}.markdown-body ol[type="1"]{list-style-type:decimal}.markdown-body div>ol:not([type]){list-style-type:decimal}.markdown-body ul ul,.markdown-body ul ol,.markdown-body ol ol,.markdown-body ol ul{margin-top:0;margin-bottom:0}.markdown-body li>p{margin-top:16px}.markdown-body li+li{margin-top:.25em}.markdown-body dl{padding:0}.markdown-body dl dt{padding:0;margin-top:16px;font-size:1em;font-style:italic;font-weight:600}.markdown-body dl dd{padding:0 16px;margin-bottom:16px}.markdown-body table th{font-weight:600}.markdown-body table th,.markdown-body table td{padding:6px 13px;border:1px solid #d0d7de}.markdown-body table td>:last-child{margin-bottom:0}.markdown-body table tr{background-color:#fff;border-top:1px solid hsla(210,18%,87%,1)}.markdown-body table tr:nth-child(2n){background-color:#f6f8fa}.markdown-body table img{background-color:transparent}.markdown-body img[align=right]{padding-left:20px}.markdown-body img[align=left]{padding-right:20px}.markdown-body .emoji{max-width:none;vertical-align:text-top;background-color:transparent}.markdown-body span.frame{display:block;overflow:hidden}.markdown-body span.frame>span{display:block;float:left;width:auto;padding:7px;margin:13px 0 0;overflow:hidden;border:1px solid #d0d7de}.markdown-body span.frame span img{display:block;float:left}.markdown-body span.frame span span{display:block;padding:5px 0 0;clear:both;color:#1f2328}.markdown-body span.align-center{display:block;overflow:hidden;clear:both}.markdown-body span.align-center>span{display:block;margin:13px auto 0;overflow:hidden;text-align:center}.markdown-body span.align-center span img{margin:0 auto;text-align:center}.markdown-body span.align-right{display:block;overflow:hidden;clear:both}.markdown-body span.align-right>span{display:block;margin:13px 0 0;overflow:hidden;text-align:right}.markdown-body span.align-right span img{margin:0;text-align:right}.markdown-body span.float-left{display:block;float:left;margin-right:13px;overflow:hidden}.markdown-body span.float-left span{margin:13px 0 0}.markdown-body span.float-right{display:block;float:right;margin-left:13px;overflow:hidden}.markdown-body span.float-right>span{display:block;margin:13px auto 0;overflow:hidden;text-align:right}.markdown-body code,.markdown-body tt{padding:.2em .4em;margin:0;font-size:85%;white-space:break-spaces;background-color:#afb8c133;border-radius:6px}.markdown-body code br,.markdown-body tt br{display:none}.markdown-body del code{text-decoration:inherit}.markdown-body samp{font-size:85%}.markdown-body pre code{font-size:100%}.markdown-body pre>code{padding:0;margin:0;word-break:normal;white-space:pre;background:transparent;border:0}.markdown-body .highlight{margin-bottom:16px}.markdown-body .highlight pre{margin-bottom:0;word-break:normal}.markdown-body .highlight pre,.markdown-body pre{padding:16px;overflow:auto;font-size:85%;line-height:1.45;color:#1f2328;background-color:#f6f8fa;border-radius:6px}.markdown-body pre code,.markdown-body pre tt{display:inline;max-width:auto;padding:0;margin:0;overflow:visible;line-height:inherit;word-wrap:normal;background-color:transparent;border:0}.markdown-body .csv-data td,.markdown-body .csv-data th{padding:5px;overflow:hidden;font-size:12px;line-height:1;text-align:left;white-space:nowrap}.markdown-body .csv-data .blob-num{padding:10px 8px 9px;text-align:right;background:#fff;border:0}.markdown-body .csv-data tr{border-top:0}.markdown-body .csv-data th{font-weight:600;background:#f6f8fa;border-top:0}.markdown-body [data-footnote-ref]:before{content:"["}.markdown-body [data-footnote-ref]:after{content:"]"}.markdown-body .footnotes{font-size:12px;color:#656d76;border-top:1px solid #d0d7de}.markdown-body .footnotes ol{padding-left:16px}.markdown-body .footnotes ol ul{display:inline-block;padding-left:16px;margin-top:16px}.markdown-body .footnotes li{position:relative}.markdown-body .footnotes li:target:before{position:absolute;top:-8px;right:-8px;bottom:-8px;left:-24px;pointer-events:none;content:"";border:2px solid #0969da;border-radius:6px}.markdown-body .footnotes li:target{color:#1f2328}.markdown-body .footnotes .data-footnote-backref g-emoji{font-family:monospace}.markdown-body .pl-c{color:#57606a}.markdown-body .pl-c1,.markdown-body .pl-s .pl-v{color:#0550ae}.markdown-body .pl-e,.markdown-body .pl-en{color:#6639ba}.markdown-body .pl-smi,.markdown-body .pl-s .pl-s1{color:#24292f}.markdown-body .pl-ent{color:#116329}.markdown-body .pl-k{color:#cf222e}.markdown-body .pl-s,.markdown-body .pl-pds,.markdown-body .pl-s .pl-pse .pl-s1,.markdown-body .pl-sr,.markdown-body .pl-sr .pl-cce,.markdown-body .pl-sr .pl-sre,.markdown-body .pl-sr .pl-sra{color:#0a3069}.markdown-body .pl-v,.markdown-body .pl-smw{color:#953800}.markdown-body .pl-bu{color:#82071e}.markdown-body .pl-ii{color:#f6f8fa;background-color:#82071e}.markdown-body .pl-c2{color:#f6f8fa;background-color:#cf222e}.markdown-body .pl-sr .pl-cce{font-weight:700;color:#116329}.markdown-body .pl-ml{color:#3b2300}.markdown-body .pl-mh,.markdown-body .pl-mh .pl-en,.markdown-body .pl-ms{font-weight:700;color:#0550ae}.markdown-body .pl-mi{font-style:italic;color:#24292f}.markdown-body .pl-mb{font-weight:700;color:#24292f}.markdown-body .pl-md{color:#82071e;background-color:#ffebe9}.markdown-body .pl-mi1{color:#116329;background-color:#dafbe1}.markdown-body .pl-mc{color:#953800;background-color:#ffd8b5}.markdown-body .pl-mi2{color:#eaeef2;background-color:#0550ae}.markdown-body .pl-mdr{font-weight:700;color:#8250df}.markdown-body .pl-ba{color:#57606a}.markdown-body .pl-sg{color:#8c959f}.markdown-body .pl-corl{text-decoration:underline;color:#0a3069}.markdown-body g-emoji{display:inline-block;min-width:1ch;font-family:"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;font-size:1em;font-style:normal!important;font-weight:400;line-height:1;vertical-align:-.075em}.markdown-body g-emoji img{width:1em;height:1em}.markdown-body .task-list-item{list-style-type:none}.markdown-body .task-list-item label{font-weight:400}.markdown-body .task-list-item.enabled label{cursor:pointer}.markdown-body .task-list-item+.task-list-item{margin-top:4px}.markdown-body .task-list-item .handle{display:none}.markdown-body .task-list-item-checkbox{margin:0 .2em .25em -1.4em;vertical-align:middle}.markdown-body .contains-task-list:dir(rtl) .task-list-item-checkbox{margin:0 -1.6em .25em .2em}.markdown-body .contains-task-list{position:relative}.markdown-body .contains-task-list:hover .task-list-item-convert-container,.markdown-body .contains-task-list:focus-within .task-list-item-convert-container{display:block;width:auto;height:24px;overflow:visible;clip:auto}.markdown-body ::-webkit-calendar-picker-indicator{filter:invert(50%)}.markdown-body .markdown-alert{padding:8px 16px;margin-bottom:16px;color:inherit;border-left:.25em solid #d0d7de}.markdown-body .markdown-alert>:first-child{margin-top:0}.markdown-body .markdown-alert>:last-child{margin-bottom:0}.markdown-body .markdown-alert .markdown-alert-title{display:flex;font-weight:500;align-items:center;line-height:1}.markdown-body .markdown-alert.markdown-alert-note{border-left-color:#0969da}.markdown-body .markdown-alert.markdown-alert-note .markdown-alert-title{color:#0969da}.markdown-body .markdown-alert.markdown-alert-important{border-left-color:#8250df}.markdown-body .markdown-alert.markdown-alert-important .markdown-alert-title{color:#8250df}.markdown-body .markdown-alert.markdown-alert-warning{border-left-color:#9a6700}.markdown-body .markdown-alert.markdown-alert-warning .markdown-alert-title{color:#9a6700}.markdown-body .markdown-alert.markdown-alert-tip{border-left-color:#1f883d}.markdown-body .markdown-alert.markdown-alert-tip .markdown-alert-title{color:#1a7f37}.markdown-body .markdown-alert.markdown-alert-caution{border-left-color:#cf222e}.markdown-body .markdown-alert.markdown-alert-caution .markdown-alert-title{color:#d1242f}
|