@tylertech/forge 2.16.0 → 2.16.2-dev.0
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/custom-elements.json +451 -467
- package/dist/esm/app-bar/help-button/index.js +1 -1
- package/dist/esm/app-bar/index.js +1 -1
- package/dist/esm/autocomplete/index.js +1 -1
- package/dist/esm/chunks/{chunk.4RPIQ65C.js → chunk.27TSALYN.js} +2 -2
- package/dist/esm/chunks/{chunk.4RPIQ65C.js.map → chunk.27TSALYN.js.map} +2 -2
- package/dist/esm/chunks/{chunk.26XTVQKW.js → chunk.2NSEMS3F.js} +2 -2
- package/dist/esm/chunks/chunk.7AEMNSV3.js +7 -0
- package/dist/esm/chunks/chunk.7AEMNSV3.js.map +7 -0
- package/dist/esm/chunks/{chunk.YUCLBBES.js → chunk.ASJHDPFL.js} +2 -2
- package/dist/esm/chunks/{chunk.K4DGAJOM.js → chunk.CDUN4ONU.js} +2 -2
- package/dist/esm/chunks/{chunk.P4EW5GAS.js → chunk.D6MLVA5G.js} +2 -2
- package/dist/esm/chunks/{chunk.7B3AZYBR.js → chunk.EE25TGNW.js} +2 -2
- package/dist/esm/chunks/{chunk.7LI25R6R.js → chunk.ELV22KTH.js} +2 -2
- package/dist/esm/chunks/{chunk.REH25ELY.js → chunk.LJU5WSSF.js} +2 -2
- package/dist/esm/chunks/{chunk.4Y7EPWU2.js → chunk.LYM6SPBV.js} +2 -2
- package/dist/esm/chunks/{chunk.J2VLKZWP.js → chunk.MBDF4C2J.js} +2 -2
- package/dist/esm/chunks/{chunk.J2VLKZWP.js.map → chunk.MBDF4C2J.js.map} +1 -1
- package/dist/esm/chunks/{chunk.MUEXD4SD.js → chunk.NSOALSSD.js} +2 -2
- package/dist/esm/chunks/chunk.TBY35XZK.js +7 -0
- package/dist/esm/chunks/chunk.TBY35XZK.js.map +7 -0
- package/dist/esm/chunks/{chunk.UDAWTDPV.js → chunk.V6PXSHJ4.js} +2 -2
- package/dist/esm/chunks/{chunk.22OZJNVS.js → chunk.XBW46N2J.js} +2 -2
- package/dist/esm/chunks/{chunk.PWKRTM6B.js → chunk.XZOIRI4V.js} +2 -2
- package/dist/esm/chunks/chunk.ZWTTBW3O.js +7 -0
- package/dist/esm/chunks/chunk.ZWTTBW3O.js.map +7 -0
- package/dist/esm/date-picker/index.js +1 -1
- package/dist/esm/date-range-picker/index.js +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/list-dropdown/index.js +1 -1
- package/dist/esm/menu/index.js +1 -1
- package/dist/esm/paginator/index.js +1 -1
- package/dist/esm/select/core/index.js +1 -1
- package/dist/esm/select/index.js +1 -1
- package/dist/esm/select/select/index.js +1 -1
- package/dist/esm/select/select-dropdown/index.js +1 -1
- package/dist/esm/split-view/index.js +1 -1
- package/dist/esm/split-view/split-view/index.js +1 -1
- package/dist/esm/split-view/split-view-panel/index.js +1 -1
- package/dist/esm/time-picker/index.js +1 -1
- package/esm/autocomplete/autocomplete-adapter.d.ts +0 -2
- package/esm/autocomplete/autocomplete-adapter.js +0 -4
- package/esm/autocomplete/autocomplete-foundation.js +0 -11
- package/esm/date-picker/base/base-date-picker-foundation.js +1 -1
- package/esm/list-dropdown/list-dropdown-adapter.js +1 -1
- package/esm/list-dropdown/list-dropdown-utils.d.ts +1 -1
- package/esm/list-dropdown/list-dropdown-utils.js +7 -4
- package/esm/split-view/split-view/split-view-adapter.js +3 -1
- package/esm/split-view/split-view-panel/split-view-panel.js +1 -1
- package/package.json +2 -2
- package/dist/esm/chunks/chunk.IP3OQKGW.js +0 -7
- package/dist/esm/chunks/chunk.IP3OQKGW.js.map +0 -7
- package/dist/esm/chunks/chunk.KKMKGN2I.js +0 -7
- package/dist/esm/chunks/chunk.KKMKGN2I.js.map +0 -7
- package/dist/esm/chunks/chunk.VPH7GX4C.js +0 -7
- package/dist/esm/chunks/chunk.VPH7GX4C.js.map +0 -7
- /package/dist/esm/chunks/{chunk.26XTVQKW.js.map → chunk.2NSEMS3F.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.YUCLBBES.js.map → chunk.ASJHDPFL.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.K4DGAJOM.js.map → chunk.CDUN4ONU.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.P4EW5GAS.js.map → chunk.D6MLVA5G.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.7B3AZYBR.js.map → chunk.EE25TGNW.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.7LI25R6R.js.map → chunk.ELV22KTH.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.REH25ELY.js.map → chunk.LJU5WSSF.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.4Y7EPWU2.js.map → chunk.LYM6SPBV.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.MUEXD4SD.js.map → chunk.NSOALSSD.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.UDAWTDPV.js.map → chunk.V6PXSHJ4.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.22OZJNVS.js.map → chunk.XBW46N2J.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.PWKRTM6B.js.map → chunk.XZOIRI4V.js.map} +0 -0
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2023 Tyler Technologies, Inc.
|
|
4
|
+
* License: Apache-2.0
|
|
5
|
+
*/
|
|
6
|
+
import{c as re}from"./chunk.YWVKDJXZ.js";import{a as se,b as le}from"./chunk.MLV25D2G.js";import{b as j}from"./chunk.UT7QUGAO.js";import{a as F}from"./chunk.HMCOY5WC.js";import{a as ne}from"./chunk.GO5A4GKZ.js";import{a as te}from"./chunk.NSOALSSD.js";import{h as pe,i as ae}from"./chunk.TBY35XZK.js";import{b as oe}from"./chunk.KU5CXXGS.js";import{c as ee}from"./chunk.KE6GOYAB.js";import{e as Z}from"./chunk.RG6CDWEX.js";import{b as Q}from"./chunk.VAKNDCLP.js";import{a as C,e as ie}from"./chunk.V7WKXEZC.js";import{c as W,g as K,h as q}from"./chunk.MZLPUI6R.js";import{a as A}from"./chunk.YI4JTY4T.js";import{d as Y,l as X,m as J}from"./chunk.JHBCYICS.js";import{a as z}from"./chunk.ARJ3EVVO.js";import{a as $}from"./chunk.Y66GSZJB.js";import{a as R}from"./chunk.G5MGGEFP.js";import{a}from"./chunk.KTGSZEAG.js";import{a as H,b as G,c as V}from"./chunk.BE7PZANN.js";import{a as k,e as U,g as L}from"./chunk.Y4GKBJGI.js";import{m as B,r as N,s as M,u as D}from"./chunk.PN26D52V.js";import{a as y,b as h,c as x,j as T,k as f,l as S,n as w,o as P}from"./chunk.J2M2MXP2.js";import{a as E,f as p}from"./chunk.MCIQXNKY.js";var g=`${G}autocomplete`,me={MODE:"mode",MULTIPLE:"multiple",DEBOUNCE:"debounce",FILTER_ON_FOCUS:"filter-on-focus",FILTER_FOCUS_FIRST:"filter-focus-first",ALLOW_UNMATCHED:"allow-unmatched",POPUP_TARGET:"popup-target",POPUP_CLASSES:"popup-classes",OPTION_LIMIT:"option-limit",OBSERVE_SCROLL:"observe-scroll",OBSERVE_SCROLL_THRESHOLD:"observe-scroll-threshold",SYNC_POPUP_WIDTH:"sync-popup-width",OPEN:"open",MATCH_KEY:"match-key",FILTER_TEXT:"filter-text",DROPDOWN_ICON_OPEN:"data-forge-dropdown-icon-open"},fe={INPUT:ne.selectors.INPUT,DROPDOWN_ICON:"[data-forge-dropdown-icon],[data-forge-dropdown-icon],[forge-dropdown-icon],.forge-dropdown-icon",CLEAR_BUTTON:"[data-forge-autocomplete-clear],[forge-autocomplete-clear]"},ve={DEFAULT_DEBOUNCE_TIME:500,NUM_SKELETON_ITEMS:3},be={CHANGE:`${g}-change`,SELECT:`${g}-select`,SCROLLED_BOTTOM:`${g}-scrolled-bottom`},o={elementName:g,attributes:me,selectors:fe,numbers:ve,events:be},ue=(e=>(e.Default="default",e.Stateless="stateless",e))(ue||{});var O=class extends R{constructor(e){super(e);this.setInputElement()}setInputElement(){let e=N(this._component,o.selectors.INPUT,!1);return e.length&&(this._inputElement=e[0]),this._inputElement}setInputAttribute(e,t){this._inputElement.setAttribute(e,t)}addInputListener(e,t){this._inputElement.addEventListener(e,t)}removeInputListener(e,t){this._inputElement.removeEventListener(e,t)}initializeInputAccessibility(e){this._inputElement.setAttribute("autocomplete","off"),this._inputElement.setAttribute("role","combobox"),this._inputElement.setAttribute("aria-live","polite"),this._inputElement.setAttribute("aria-atomic","true"),this._inputElement.setAttribute("aria-haspopup","true"),this._inputElement.setAttribute("aria-expanded","false"),this._inputElement.setAttribute("aria-autocomplete","list")}isWrappingChipField(){return!!this._component.querySelector(F.elementName)}show(e,t){this._targetElement=this._getTargetElement(t),this._targetElement&&(this._listDropdown=new pe(this._targetElement,e),this._listDropdown.open(),this._inputElement.setAttribute("aria-expanded","true"),this._inputElement.setAttribute("aria-controls",`list-dropdown-popup-${e.id}`),this._tryToggleDropdownIconRotation(!0))}hide(e){if(!this._listDropdown)return;let{targetElement:t}=this._listDropdown.dropdownElement;t.removeEventListener(C.events.BLUR,e),this.setBusyVisibility(!1),this._tryToggleDropdownIconRotation(!1),this._inputElement.removeAttribute("aria-activedescendant"),this._inputElement.removeAttribute("aria-controls"),this._inputElement.setAttribute("aria-expanded","false"),this._listDropdown.close(),this._listDropdown=void 0}setBusyVisibility(e){var t;(t=this._listDropdown)==null||t.setBusyVisibility(e)}setDismissListener(e){if(!this._listDropdown||!this._listDropdown.dropdownElement)return;let t=this._listDropdown.dropdownElement;t.targetElement&&t.targetElement.addEventListener(C.events.BLUR,e)}focus(){window.requestAnimationFrame(()=>this._inputElement.focus())}setOptions(e){var t;(t=this._listDropdown)==null||t.setOptions(e)}appendOptions(e){var t;(t=this._listDropdown)==null||t.appendOptions(e)}setSelectedText(e){this._inputElement.value=e}getInputValue(){return this._inputElement.value}setInputValue(e){this._inputElement.value=e}selectInputValue(){window.requestAnimationFrame(()=>this._inputElement.select())}isFocusWithinPopup(e){return!this._listDropdown||!this._listDropdown.dropdownElement?!1:this._listDropdown.dropdownElement.contains(e)}hasFocus(){let e=M();return e===this._inputElement||this.isFocusWithinPopup(e)}hasInputElement(){return!!this._inputElement}setDropdownIconListener(e,t){window.requestAnimationFrame(()=>{let i=this._component.querySelector(o.selectors.DROPDOWN_ICON);i&&i.addEventListener(e,t)})}removeDropdownIconListener(e,t){let i=this._component.querySelector(o.selectors.DROPDOWN_ICON);i&&i.removeEventListener(e,t)}setClearButtonListener(e,t){window.requestAnimationFrame(()=>{let i=this._component.querySelector(o.selectors.CLEAR_BUTTON);i&&i.addEventListener(e,t)})}removeClearButtonListener(e,t){let i=this._component.querySelector(o.selectors.CLEAR_BUTTON);i&&i.removeEventListener(e,t)}propagateKey(e){var t;(t=this._listDropdown)==null||t.handleKey(e)}updateActiveDescendant(e){!this._targetElement||D(this._inputElement,!!e,"aria-activedescendant",e)}getTargetElementWidth(e){return this._targetElement||(this._targetElement=this._getTargetElement(e)),this._targetElement.getBoundingClientRect().width}getPopupElement(){var e,t;return(t=(e=this._listDropdown)==null?void 0:e.dropdownElement)!=null?t:null}activateFirstOption(){var e;(e=this._listDropdown)==null||e.activateFirstOption()}activateSelectedOption(){var e;(e=this._listDropdown)==null||e.activateSelectedOption()}activateOptionByIndex(e){var t;(t=this._listDropdown)==null||t.activateOption(e)}getActiveOptionIndex(){var e,t;return(t=(e=this._listDropdown)==null?void 0:e.getActiveOptionIndex())!=null?t:null}clearActiveOption(){var e;(e=this._listDropdown)==null||e.clearActiveOption()}setSelectedOptions(e){if(this._listDropdown){let t=e.map(i=>i.value);this._listDropdown.setSelectedValues(t)}}queueDropdownPositionUpdate(){!this.getPopupElement()||window.requestAnimationFrame(()=>{let e=this.getPopupElement();e==null||e.position()})}_getTargetElement(e){return e?this._component.querySelector(e)||this._getDefaultTargetElement():this._getDefaultTargetElement()}_getDefaultTargetElement(){let e=this._component.querySelector("forge-text-field");if(e&&e.shadowRoot){let i=L(e,se.selectors.ROOT);if(i)return i}let t=this._component.querySelector("forge-chip-field");if(t&&t.shadowRoot){let i=L(t,F.selectors.ROOT);if(i)return i}return this._component.querySelector("input")||this._component}_tryToggleDropdownIconRotation(e){let t=this._component.querySelector(o.selectors.DROPDOWN_ICON);t&&D(t,e,o.attributes.DROPDOWN_ICON_OPEN)}};var de=(e=>(e[e.Option=0]="Option",e[e.Group=1]="Group",e))(de||{});function v(u,d){let e=u.some(i=>h(i)&&T(i)&&i.hasOwnProperty("options")&&(i.hasOwnProperty("text")||i.hasOwnProperty("builder"))),t=u.some(i=>h(i)&&T(i)&&i.hasOwnProperty("label")&&i.hasOwnProperty("value"));return e&&d===1||t&&d===0}function ce(u,d){return u.find(e=>e.value===d)}function b(u,d,e=null){return e?!(e in u.value)||!(e in d)?!1:w(u.value[e],d[e]):w(u.value,d)}var I=class extends ae{constructor(e){super();this._adapter=e;this._isInitialized=!1;this._isDropdownOpen=!1;this._mode="default";this._multiple=!1;this._debounce=o.numbers.DEFAULT_DEBOUNCE_TIME;this._allowUnmatched=!1;this._filterOnFocus=!0;this._filterFocusFirst=!0;this._options=[];this._filterText="";this._selectedOptions=[];this._values=[];this._pendingFilterPromises=[];this._matchKey=null;this._clickListener=t=>this._onClick(t),this._focusListener=()=>this._onFocus(),this._blurListener=t=>this._onBlur(t),this._keydownListener=t=>this._onKeydown(t),this._dropdownIconClickListener=t=>this._onDropdownIconClick(t),this._dropdownScrollEndListener=()=>this._onDropdownScrollEnd(),this._dropdownIconMouseDownListener=t=>this._onDropdownIconMouseDown(t),this._clearButtonListener=t=>this._onClear(t),this._dismissListener=()=>this._onDismiss(),this._activeChangeListener=t=>this._adapter.updateActiveDescendant(t),this._targetWidthCallback=()=>this._adapter.getTargetElementWidth(this._popupTarget),this._identifier=y()}async initialize(){if(!this._adapter.hasInputElement()&&!this._adapter.setInputElement())throw new Error("An input element is required as a child of the autocomplete component.");if(this._setInputListener(),this._setFilterCallback(),this._attachListeners(),this._initializeAccessibility(),this._values.length){if(!this._selectedOptions.length){try{await this._executeFilter()}catch(e){console.error(e)}this._updateSelectedOptions(this._values)}this._adapter.setSelectedText(this._getSelectedText())}this._isInitialized=!0}disconnect(){this._isInitialized&&(this._detachListeners(),this._isInitialized=!1),this._isDropdownOpen&&this._closeDropdown()}_attachListeners(){this._adapter.addInputListener("click",this._clickListener),this._adapter.addInputListener("focus",this._focusListener),this._adapter.addInputListener("blur",this._blurListener),this._adapter.addInputListener("input",this._inputListener),this._adapter.addInputListener("keydown",this._keydownListener),this._adapter.setDropdownIconListener("click",this._dropdownIconClickListener),this._adapter.setDropdownIconListener("mousedown",this._dropdownIconMouseDownListener),this._adapter.setClearButtonListener("click",this._clearButtonListener)}_detachListeners(){this._adapter.removeInputListener("click",this._clickListener),this._adapter.removeInputListener("focus",this._focusListener),this._adapter.removeInputListener("blur",this._blurListener),this._adapter.removeInputListener("input",this._inputListener),this._adapter.removeInputListener("keydown",this._keydownListener),this._adapter.removeDropdownIconListener("click",this._dropdownIconClickListener),this._adapter.removeDropdownIconListener("mousedown",this._dropdownIconMouseDownListener),this._adapter.removeClearButtonListener("click",this._clearButtonListener)}_setInputListener(){this._inputListener=e=>this._onInput(e)}_setFilterCallback(){this._filterFn=h(this._debounce)&&this._debounce>0?P(this._debounceFilter,this._debounce,!1):this._debounceFilter}_initializeAccessibility(){this._adapter.initializeInputAccessibility(this._identifier)}get _flatOptions(){return v(this._options,1)?this._options.reduce((e,t)=>e.concat(t.options),[]):this._options}_onClick(e){!this._isDropdownOpen&&this._filterOnFocus&&this._showDropdown()}_onDropdownIconMouseDown(e){e.preventDefault()}_onDropdownIconClick(e){this._isDropdownOpen?this._closeDropdown():(this._adapter.focus(),window.requestAnimationFrame(()=>this._showDropdown()))}_onClear(e){this._clearValue(),this._adapter.setSelectedText(this._getSelectedText())}_onDropdownScrollEnd(){this._adapter.emitHostEvent(o.events.SCROLLED_BOTTOM)}_onFocus(){!this._isDropdownOpen&&this._adapter.getInputValue()&&!A.isMobile&&this._adapter.selectInputValue()}_onBlur(e){this._adapter.isFocusWithinPopup(e.relatedTarget)||this._applyBlur()}_applyBlur(){this._isDropdownOpen&&this._closeDropdown(),this._mode!=="stateless"&&(this._selectedOptions.length?this._adapter.setSelectedText(this._getSelectedText()):this._allowUnmatched||(this._filterText="",this._adapter.setSelectedText("")))}_onInput(e){this._selectedOptions.length&&!this._multiple&&(!this._adapter.getInputValue()||this._allowUnmatched)&&!this._adapter.isWrappingChipField()&&(this._selectedOptions=[],this._values=[],this._emitChangeEvent()),this._filterText=this._adapter.getInputValue(),this._filterFn()}async _debounceFilter({checkFocus:e=!0}={}){if(!e&&!this._adapter.hasFocus()){this._pendingFilterPromises=[],this._isDropdownOpen&&this._closeDropdown();return}let t=this._filterText,i=this._executeFilter();this._pendingFilterPromises.push(i),this._isDropdownOpen?this._adapter.setBusyVisibility(!0):this._showDropdown({filter:!1});try{await i}catch(n){this._pendingFilterPromises=[],this._isDropdownOpen&&this._closeDropdown();return}if(t===this._filterText)this._pendingFilterPromises=[],this._onFilterComplete();else{let n=this._pendingFilterPromises.indexOf(i);n!==-1&&this._pendingFilterPromises.splice(n,1)}}_onKeydown(e){switch(e.key){case"Tab":this._isDropdownOpen&&!this._multiple&&this._selectActiveOption(!1);break;case"Esc":case"Escape":this._isDropdownOpen&&(e.preventDefault(),e.stopPropagation(),this._closeDropdown());break;case"Down":case"ArrowDown":e.preventDefault(),this._isDropdownOpen?this._adapter.propagateKey(e.key):this._showDropdown({activateFirst:!0,activateSelected:!0});break;case"Up":case"ArrowUp":e.preventDefault(),this._isDropdownOpen&&this._adapter.propagateKey(e.key);break;case"Enter":case"Home":case"End":this._isDropdownOpen&&(e.key==="Enter"&&e.stopPropagation(),e.preventDefault(),this._adapter.propagateKey(e.key));break;case"Backspace":case"Delete":let t=e.target,i=this._adapter.getInputValue(),n=t.value.substring(t.selectionStart,t.selectionEnd)===t.value,l=i.length===1&&t.selectionEnd===1,c=i.length===1&&t.selectionEnd===0,_=!i||n||l||c;!this._adapter.isWrappingChipField()&&_&&!this._multiple&&this._values.length&&this._clearValue();break}}_executeFilter(e=!0,t=!1){if(!this._filter||typeof this._filter!="function")throw new Error('A filter callback must be provided. Did you set the "filter" property?');let i=this._filter,n=e?this._filterText:"",l=t?this._getValue():null;return new Promise((c,_)=>Promise.resolve(i(n,l)).then(r=>{this._options=r,c(this._options)}).catch(r=>_(`An unexpected error occurred while filtering: ${r}`)))}_onFilterComplete(){if(!this._adapter.hasFocus()){this._isDropdownOpen&&this._closeDropdown();return}if(this._options.length){let e=this._allowUnmatched&&!this._selectedOptions.length;this._dropdownReady({userTriggered:e}),this._filterFocusFirst&&this._filterText&&this._adapter.activateFirstOption()}else this._closeDropdown()}_clearValue(){this._selectedOptions=[],this._values=[],this._isDropdownOpen&&(this._adapter.setSelectedOptions([]),this._adapter.clearActiveOption()),this._emitChangeEvent()}async _showDropdown({filter:e=!0,userTriggered:t=!0,activateFirst:i=!1,activateSelected:n=!1}={}){let l=this._allowUnmatched&&!this._selectedOptions.length;this._isDropdownOpen=!0;let c;if(this._optionBuilder){let r=this._optionBuilder;c=(m,_e)=>r(m,this._filterText,_e)}let _={options:this._options,multiple:this._multiple,selectedValues:[...this._values],id:`forge-autocomplete-${this._identifier}`,asyncStyle:"skeleton",optionLimit:this._optionLimit,popupClasses:this._popupClasses,headerBuilder:this._popupHeaderBuilder,footerBuilder:this._popupFooterBuilder,transform:r=>{if(this._filterText){let m=$(r,this._filterText);if(m)return m}return r},allowBusy:!0,optionBuilder:c,syncWidth:this._syncPopupWidth,observeScroll:this._observeScroll,observeScrollThreshold:this._observeScrollThreshold,scrollEndListener:this._dropdownScrollEndListener,activeChangeCallback:this._activeChangeListener,targetWidthCallback:this._targetWidthCallback,selectCallback:r=>this._onSelect(r),closeCallback:()=>this._closeDropdown()};if(this._adapter.show(_,this._popupTarget),this._adapter.toggleHostAttribute(o.attributes.OPEN,this._isDropdownOpen),e){this._options.length&&this._adapter.setBusyVisibility(!0);try{await this._executeFilter(l)}catch(r){console.error(r)}this._updateSelectedOptions(this._values)}this._pendingFilterPromises.length||this._dropdownReady({userTriggered:t,activateFirst:i,activateSelected:n})}_dropdownReady({userTriggered:e=!0,activateFirst:t=!1,activateSelected:i=!1}={}){if(!this._isDropdownOpen||!this._options.length||e&&!this._adapter.hasFocus()){this._closeDropdown();return}this._sortSelectedOptions(),this._adapter.setBusyVisibility(!1),this._adapter.setOptions(this._options),this._adapter.setSelectedOptions(this._selectedOptions),this._adapter.setDismissListener(this._dismissListener),i&&this._selectedOptions.length?this._adapter.activateSelectedOption():t&&this._adapter.activateFirstOption()}_closeDropdown(){this._multiple&&(this._filterText=""),this._isDropdownOpen=!1,this._adapter.hide(this._dismissListener),this._sortSelectedOptions(),this._adapter.toggleHostAttribute(o.attributes.OPEN,this._isDropdownOpen)}_sortSelectedOptions(){if(this._multiple&&this._selectedOptions.length&&v(this._options,0)){let e=[],t=[];this._options.forEach(i=>{this._selectedOptions.find(n=>b(n,i.value,this._matchKey))?e.push(i):t.push(i)}),this._options=[...e,...t]}}async _onSelect(e,t=!0){if(this._valueChanging)return;if(this._mode==="stateless"){let n={value:e};this._adapter.emitHostEvent(o.events.SELECT,n,!0,!0)&&(this._filterText="",this._multiple||this._closeDropdown());return}let i=()=>{let l=this._flatOptions.find(r=>b(r,e,this._matchKey)),c=l?l.value:"",_=l?l.label:"";if(this._multiple){let r=ce(this._selectedOptions,c);if(r){let m=this._selectedOptions.indexOf(r);this._selectedOptions.splice(m,1)}else this._selectedOptions.push(l)}else h(c)?(this._selectedOptions[0]=l,this._filterText=_):(this._selectedOptions=[],this._filterText="");this._isDropdownOpen&&this._adapter.setSelectedOptions(this._selectedOptions),this._values=this._selectedOptions.map(r=>r.value),this._adapter.setSelectedText(this._getSelectedText()),!A.isMobile&&t&&this._adapter.selectInputValue(),this._emitChangeEvent(),this._tryUpdateDropdownPosition()};this._isDropdownOpen&&!this._multiple&&this._closeDropdown(),typeof this._beforeValueChange=="function"?(this._valueChanging=Promise.resolve(this._beforeValueChange.call(null,e,this._matchKey)),await this._valueChanging?i():this._tryUpdateDropdownPosition(),this._valueChanging=void 0):i()}_selectActiveOption(e=!0){let t=this._adapter.getActiveOptionIndex();if(typeof t=="number"&&t>=0){let i=this._flatOptions[t];i&&this._onSelect(i.value,e)}}_emitChangeEvent(){this._adapter.emitHostEvent(o.events.CHANGE,this._getValue(),!0)}_tryUpdateDropdownPosition(){this._isDropdownOpen&&this._adapter.queueDropdownPositionUpdate()}_getValue(){return this._values?this._values.length?this._multiple?[...this._values]:this._values[0]:this._multiple?[]:null:null}_getSelectedText(){var e,t;return this._adapter.isWrappingChipField()?"":this._selectedTextBuilder?this._selectedTextBuilder(this._selectedOptions):this._multiple?this._values.length?this._values.length===1?(t=(e=this._selectedOptions[0])==null?void 0:e.label)!=null?t:"":`${this._values.length} options selected`:"":this._selectedOptions.filter(i=>i&&i.label).map(i=>i.label).join(" ").trim()}_onDismiss(){this._closeDropdown()}async _applyValue(e){let t=[];this._selectedOptions=[],Array.isArray(e)?t=e:t=h(e)?[e]:[],!this._multiple&&t.length>1&&(t=[t[0]]),v(t,0)?(this._values=t.map(n=>n.value),this._selectedOptions=t):this._values=t;let i=this._flatOptions;if(t.length&&i.length&&this._updateSelectedOptions(t),this._values.length&&!this._selectedOptions.length&&!!this._filter&&this._isInitialized){try{await this._executeFilter(!1,!0)}catch(n){console.error(n)}this._updateSelectedOptions(this._values)}this._multiple?this._filterText="":this._filterText=this._selectedOptions.length?this._selectedOptions[0].label:"",this._isInitialized&&this._adapter.setSelectedText(this._getSelectedText()),this._isDropdownOpen&&this._adapter.setSelectedOptions(this._selectedOptions)}_updateSelectedOptions(e){let t=[...this._flatOptions,...this._selectedOptions];if(this._selectedOptions.length&&(this._selectedOptions=[]),v(e,0))for(let i of e){let n=t.find(l=>b(l,i.value,this._matchKey));n?this._selectedOptions.push(n):this._selectedOptions.push(i)}else for(let i of e){let n=t.find(l=>b(l,i,this._matchKey));n?this._selectedOptions.push(n):this._allowUnmatched&&this._selectedOptions.push({label:i,value:i})}}get mode(){return this._mode}set mode(e){this._mode!==e&&(this._mode=e,this._mode==="stateless"&&(this._selectedOptions=[],this._isDropdownOpen&&this._closeDropdown()),this._adapter.setHostAttribute(o.attributes.MODE,this._mode))}get multiple(){return this._multiple}set multiple(e){this._multiple!==e&&(this._multiple=e,this._adapter.setHostAttribute(o.attributes.MULTIPLE,h(this._multiple)?this._multiple.toString():""))}get value(){return this._getValue()}set value(e){let t=[];e==null?t=[]:Array.isArray(e)?t=JSON.parse(JSON.stringify(e)):x(e)?t=[e]:t=[JSON.parse(JSON.stringify(e))],(t.length!==this._values.length||t.some(n=>!this._values.includes(n)))&&this._applyValue(e)}get filterOnFocus(){return this._filterOnFocus}set filterOnFocus(e){this._filterOnFocus!==e&&(this._filterOnFocus=e,this._adapter.setHostAttribute(o.attributes.FILTER_ON_FOCUS,h(this._filterOnFocus)?this._filterOnFocus.toString():""))}get filterFocusFirst(){return this._filterFocusFirst}set filterFocusFirst(e){this._filterFocusFirst!==e&&(this._filterFocusFirst=e,this._adapter.toggleHostAttribute(o.attributes.FILTER_FOCUS_FIRST,this._filterFocusFirst))}get allowUnmatched(){return this._allowUnmatched}set allowUnmatched(e){this._allowUnmatched!==e&&(this._allowUnmatched=e,h(this._allowUnmatched)&&this._adapter.setHostAttribute(o.attributes.ALLOW_UNMATCHED,this._allowUnmatched.toString()))}get matchKey(){return this._matchKey}set matchKey(e){this._matchKey!==e&&(this._matchKey=e)}get popupTarget(){return this._popupTarget}set popupTarget(e){this._popupTarget!==e&&(this._popupTarget=e)}get filterText(){return this._filterText}set filterText(e){this._filterText!==e&&(this._filterText=this._allowUnmatched?e:"",this._isInitialized&&this._allowUnmatched&&(this._adapter.setInputValue(this._filterText),this._isDropdownOpen&&this._debounceFilter({checkFocus:!1})))}get popupClasses(){return Array.isArray(this._popupClasses)?[...this._popupClasses]:[this._popupClasses]}set popupClasses(e){this._popupClasses!==e&&(this._popupClasses=Array.isArray(e)?[...e]:[e])}set popupHeaderBuilder(e){this._popupHeaderBuilder=e}set popupFooterBuilder(e){this._popupFooterBuilder=e}get syncPopupWidth(){return this._syncPopupWidth}set syncPopupWidth(e){this._syncPopupWidth!==e&&(this._syncPopupWidth=e)}get optionLimit(){return this._optionLimit}set optionLimit(e){this._optionLimit!==e&&(this._optionLimit=e)}get debounce(){return this._debounce}set debounce(e){this._debounce!==e&&(this._debounce=e,this._isInitialized&&this._setFilterCallback(),this._adapter.setHostAttribute(o.attributes.DEBOUNCE,h(this._debounce)?this._debounce.toString():""))}get optionBuilder(){return this._optionBuilder}set optionBuilder(e){this._optionBuilder=e}get filter(){return this._filter}set filter(e){this._filter!==e&&(this._filter=e,this._isInitialized&&this._values.length&&!this._flatOptions.length&&!!this._filter&&this._executeFilter().then(()=>{this._updateSelectedOptions(this._values),this._adapter.setSelectedText(this._getSelectedText())}))}get selectedTextBuilder(){return this._selectedTextBuilder}set selectedTextBuilder(e){this._selectedTextBuilder=e,this._selectedOptions.length&&this._adapter.setSelectedText(this._getSelectedText())}get observeScroll(){return this._observeScroll}set observeScroll(e){this._observeScroll=e}get observeScrollThreshold(){return this._observeScrollThreshold}set observeScrollThreshold(e){this._observeScrollThreshold=e}appendOptions(e){!this._isDropdownOpen||(this._options=[...this._options,...e],this._adapter.appendOptions(e))}get isInitialized(){return this._isInitialized}get open(){return this._isDropdownOpen}set open(e){this._isDropdownOpen!==e&&(e?this._showDropdown({userTriggered:!1}):this._closeDropdown())}get beforeValueChange(){return this._beforeValueChange}set beforeValueChange(e){e!==this._beforeValueChange&&(this._beforeValueChange=e)}get popupElement(){return this._adapter.getPopupElement()}};var ge="<template><slot></slot></template>",Oe=":host{display:block}:host([hidden]){display:none}",s=class extends te{constructor(){super();Y.define([W,q,K]),U(this,ge,Oe),this._foundation=new I(new O(this))}static get observedAttributes(){return[o.attributes.MODE,o.attributes.MULTIPLE,o.attributes.DEBOUNCE,o.attributes.FILTER_ON_FOCUS,o.attributes.FILTER_FOCUS_FIRST,o.attributes.ALLOW_UNMATCHED,o.attributes.POPUP_TARGET,o.attributes.POPUP_CLASSES,o.attributes.OBSERVE_SCROLL,o.attributes.OBSERVE_SCROLL_THRESHOLD,o.attributes.OPTION_LIMIT,o.attributes.SYNC_POPUP_WIDTH,o.attributes.OPEN,o.attributes.MATCH_KEY,o.attributes.FILTER_TEXT]}connectedCallback(){this.querySelector(o.selectors.INPUT)?this._foundation.initialize():B(this,o.selectors.INPUT).then(()=>this._foundation.initialize())}disconnectedCallback(){this._foundation.disconnect()}attributeChangedCallback(e,t,i){switch(super.attributeChangedCallback(e,t,i),e){case o.attributes.MODE:this.mode=i;break;case o.attributes.MULTIPLE:this.multiple=f(i);break;case o.attributes.DEBOUNCE:this.debounce=S(i);break;case o.attributes.FILTER_ON_FOCUS:this.filterOnFocus=f(i);break;case o.attributes.FILTER_FOCUS_FIRST:this.filterFocusFirst=f(i);break;case o.attributes.ALLOW_UNMATCHED:this.allowUnmatched=f(i);break;case o.attributes.POPUP_TARGET:this.popupTarget=i;break;case o.attributes.OPEN:this.open=f(i);break;case o.attributes.MATCH_KEY:this.matchKey=i;break;case o.attributes.FILTER_TEXT:this.filterText=i;break}}appendOptions(e){this._foundation.appendOptions(e)}openDropdown(){this.open=!0}closeDropdown(){this.open=!1}};p([a()],s.prototype,"mode",2),p([a()],s.prototype,"multiple",2),p([a()],s.prototype,"value",2),p([a()],s.prototype,"debounce",2),p([a()],s.prototype,"filterOnFocus",2),p([a()],s.prototype,"filterFocusFirst",2),p([a()],s.prototype,"allowUnmatched",2),p([a()],s.prototype,"popupTarget",2),p([a()],s.prototype,"filterText",2),p([a()],s.prototype,"optionBuilder",2),p([a()],s.prototype,"filter",2),p([a()],s.prototype,"selectedTextBuilder",2),p([a()],s.prototype,"open",2),p([a()],s.prototype,"matchKey",2),p([a({set:!1})],s.prototype,"isInitialized",2),p([a({set:!1})],s.prototype,"popupElement",2),p([a()],s.prototype,"beforeValueChange",2),s=p([H({name:o.elementName,dependencies:[re,ie,ee,Z,j,oe,Q,X]})],s);var he=class extends z{constructor(e){super(e)}_build(){let e=document.createElement(o.elementName);return this._attachTextField(e),e}get textFieldDelegate(){return this._textFieldDelegate}get value(){return this._element.value}set value(e){this._element.value=e}get disabled(){return this._textFieldDelegate.inputElement.disabled}set disabled(e){this._textFieldDelegate.inputElement.disabled=e}get invalid(){return this._textFieldDelegate.invalid||!1}set invalid(e){this._textFieldDelegate.invalid=e}onChange(e){this._element.addEventListener(o.events.CHANGE,t=>e(t.detail))}onFocus(e){this._textFieldDelegate.inputElement.addEventListener("focus",t=>e(t))}onBlur(e){this._textFieldDelegate.inputElement.addEventListener("blur",t=>e(t))}_attachTextField(e){var i,n,l,c,_,r;let t={props:E({},(n=(i=this._config.options)==null?void 0:i.textFieldDelegateConfig)==null?void 0:n.props),options:E({},(c=(l=this._config.options)==null?void 0:l.textFieldDelegateConfig)==null?void 0:c.options)};t.options||(t.options={}),((_=this._config.options)==null?void 0:_.useDropdownIcon)!==!1&&!((r=t.options)!=null&&r.trailingElement)&&(t.options.trailingElement=this._createDropdownIconElement()),this._textFieldDelegate=new le(t),e.appendChild(this._textFieldDelegate.element)}_createDropdownIconElement(){let e={props:{slot:"trailing",name:"arrow_drop_down"},options:{attributes:{"forge-dropdown-icon":""}}};return new J(e).element}};function Ht(){k(s)}export{o as a,ue as b,O as c,de as d,v as e,ce as f,b as g,I as h,s as i,he as j,Ht as k};
|
|
7
|
+
//# sourceMappingURL=chunk.ZWTTBW3O.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/autocomplete/autocomplete-constants.ts", "../../src/autocomplete/autocomplete-adapter.ts", "../../src/autocomplete/autocomplete-utils.ts", "../../src/autocomplete/autocomplete-foundation.ts", "../../src/autocomplete/autocomplete.ts", "../../src/autocomplete/autocomplete-component-delegate.ts", "../../src/autocomplete/index.ts"],
|
|
4
|
+
"sourcesContent": ["import { COMPONENT_NAME_PREFIX, KEYSTROKE_DEBOUNCE_THRESHOLD } from '../constants';\nimport { IListItemComponent } from '../list';\nimport { IListDropdownConfig, IListDropdownOption, IListDropdownOptionGroup, ListDropdownOptionGroupBuilder } from '../list-dropdown';\nimport { IPopupPosition } from '../popup';\nimport { FIELD_CONSTANTS } from '../field/field-constants';\n\nconst elementName: keyof HTMLElementTagNameMap = `${COMPONENT_NAME_PREFIX}autocomplete`;\n\nconst attributes = {\n MODE: 'mode',\n MULTIPLE: 'multiple',\n DEBOUNCE: 'debounce',\n FILTER_ON_FOCUS: 'filter-on-focus',\n FILTER_FOCUS_FIRST: 'filter-focus-first',\n ALLOW_UNMATCHED: 'allow-unmatched',\n POPUP_TARGET: 'popup-target',\n POPUP_CLASSES: 'popup-classes',\n OPTION_LIMIT: 'option-limit',\n OBSERVE_SCROLL: 'observe-scroll',\n OBSERVE_SCROLL_THRESHOLD: 'observe-scroll-threshold',\n SYNC_POPUP_WIDTH: 'sync-popup-width',\n OPEN: 'open',\n MATCH_KEY: 'match-key',\n FILTER_TEXT: 'filter-text',\n DROPDOWN_ICON_OPEN: 'data-forge-dropdown-icon-open'\n};\n\nconst selectors = {\n INPUT: FIELD_CONSTANTS.selectors.INPUT,\n DROPDOWN_ICON: '[data-forge-dropdown-icon],[data-forge-dropdown-icon],[forge-dropdown-icon],.forge-dropdown-icon',\n CLEAR_BUTTON: '[data-forge-autocomplete-clear],[forge-autocomplete-clear]'\n};\n\nconst numbers = {\n DEFAULT_DEBOUNCE_TIME: KEYSTROKE_DEBOUNCE_THRESHOLD,\n NUM_SKELETON_ITEMS: 3\n};\n\nconst events = {\n CHANGE: `${elementName}-change`,\n SELECT: `${elementName}-select`,\n SCROLLED_BOTTOM: `${elementName}-scrolled-bottom`\n};\n\nexport const AUTOCOMPLETE_CONSTANTS = {\n elementName,\n attributes,\n selectors,\n numbers,\n events\n};\n\nexport type AutocompleteOptionBuilder<T = any> = (option: IAutocompleteOption<T>, filterText: string, parentElement: IListItemComponent) => HTMLElement;\nexport type AutocompleteOptionGroupBuilder<T = any> = ListDropdownOptionGroupBuilder<T>;\nexport type AutocompleteFilterCallback<T = any> = (filterText: string, value: T | null) => IAutocompleteOption<T>[] | IAutocompleteOptionGroup<T>[] | Promise<IAutocompleteOption<T>[] | IAutocompleteOptionGroup<T>[]>;\nexport type AutocompleteSelectedTextBuilder<T = any> = (selectedOptions: Array<IAutocompleteOption<T>>) => string;\n\nexport enum AutocompleteMode {\n Default = 'default',\n Stateless = 'stateless'\n}\n\nexport interface IAutocompleteOption<T = any> extends IListDropdownOption<T> {}\nexport interface IAutocompleteOptionGroup<T = any> extends IListDropdownOptionGroup<T> {}\n\nexport interface IAutocompletePopupConfiguration {\n filterText: string;\n popupTarget: string;\n dropdownConfig: IListDropdownConfig;\n popupClasses: string[];\n popupOffset: IPopupPosition;\n syncPopupWidth: boolean;\n listener: (value: string) => void;\n scrollEndListener: () => void;\n}\n\nexport interface IAutocompleteSelectEventData<T = any> {\n value: T;\n}\n", "import { getShadowElement, deepQuerySelectorAll, getActiveElement, toggleAttribute } from '@tylertech/forge-core';\nimport { BaseAdapter, IBaseAdapter } from '../core/base/base-adapter';\nimport { IAutocompleteComponent } from './autocomplete';\nimport { AUTOCOMPLETE_CONSTANTS, IAutocompleteOption, IAutocompleteOptionGroup } from './autocomplete-constants';\nimport { TEXT_FIELD_CONSTANTS } from '../text-field';\nimport { IListDropdown, IListDropdownConfig, ListDropdown } from '../list-dropdown';\nimport { CHIP_FIELD_CONSTANTS } from '../chip-field';\nimport { IPopupComponent, POPUP_CONSTANTS } from '../popup';\n\nexport interface IAutocompleteAdapter extends IBaseAdapter {\n setInputElement(): HTMLInputElement;\n setInputAttribute(name: string, value: string): void;\n addInputListener(type: string, listener: (evt: Event) => void): void;\n removeInputListener(type: string, listener: (evt: Event) => void): void;\n initializeInputAccessibility(identifier: string): void;\n isWrappingChipField(): boolean;\n show(config: IListDropdownConfig, popupTarget: string): void;\n hide(listener: () => void): void;\n focus(): void;\n setOptions(options: IAutocompleteOption[] | IAutocompleteOptionGroup[]): void;\n appendOptions(options: IAutocompleteOption[] | IAutocompleteOptionGroup[]): void;\n setSelectedText(value: string): void;\n getInputValue(): string;\n setInputValue(value: string): void;\n selectInputValue(): void;\n setDismissListener(listener: () => void): void;\n isFocusWithinPopup(target: HTMLElement): boolean;\n hasFocus(): boolean;\n hasInputElement(): boolean;\n setDropdownIconListener(type: string, listener: EventListener): void;\n removeDropdownIconListener(type: string, listener: EventListener): void;\n setClearButtonListener(type: string, listener: EventListener): void;\n removeClearButtonListener(type: string, listener: EventListener): void;\n getPopupElement(): HTMLElement | null;\n propagateKey(key: string): void;\n updateActiveDescendant(id: string): void;\n getTargetElementWidth(selector: string): number;\n activateFirstOption(): void;\n activateSelectedOption(): void;\n activateOptionByIndex(value: number): void;\n setBusyVisibility(busy: boolean): void;\n getActiveOptionIndex(): number | null;\n clearActiveOption(): void;\n setSelectedOptions(options: IAutocompleteOption[]): void;\n queueDropdownPositionUpdate(): void;\n}\n\n/**\n * The DOM adapter for the `<forge-autocomplete>` element.\n */\nexport class AutocompleteAdapter extends BaseAdapter<IAutocompleteComponent> implements IAutocompleteAdapter {\n private _inputElement: HTMLInputElement;\n private _listDropdown?: IListDropdown;\n private _targetElement?: HTMLElement;\n \n constructor(component: IAutocompleteComponent) {\n super(component);\n this.setInputElement();\n }\n\n public setInputElement(): HTMLInputElement {\n const inputElements = deepQuerySelectorAll(this._component, AUTOCOMPLETE_CONSTANTS.selectors.INPUT, false);\n if (inputElements.length) {\n this._inputElement = inputElements[0] as HTMLInputElement;\n }\n return this._inputElement;\n }\n\n public setInputAttribute(name: string, value: string): void {\n this._inputElement.setAttribute(name, value);\n }\n\n public addInputListener(type: string, listener: (evt: Event) => void): void {\n this._inputElement.addEventListener(type, listener);\n }\n\n public removeInputListener(type: string, listener: (evt: Event) => void): void {\n this._inputElement.removeEventListener(type, listener);\n }\n\n public initializeInputAccessibility(identifier: string): void {\n this._inputElement.setAttribute('autocomplete', 'off');\n this._inputElement.setAttribute('role', 'combobox');\n this._inputElement.setAttribute('aria-live', 'polite');\n this._inputElement.setAttribute('aria-atomic', 'true');\n this._inputElement.setAttribute('aria-haspopup', 'true');\n this._inputElement.setAttribute('aria-expanded', 'false');\n this._inputElement.setAttribute('aria-autocomplete', 'list');\n }\n\n public isWrappingChipField(): boolean {\n return !!this._component.querySelector(CHIP_FIELD_CONSTANTS.elementName);\n }\n\n public show(config: IListDropdownConfig, popupTarget: string): void {\n this._targetElement = this._getTargetElement(popupTarget);\n if (!this._targetElement) {\n return;\n }\n this._listDropdown = new ListDropdown(this._targetElement, config);\n this._listDropdown.open();\n this._inputElement.setAttribute('aria-expanded', 'true');\n this._inputElement.setAttribute('aria-controls', `list-dropdown-popup-${config.id}`);\n this._tryToggleDropdownIconRotation(true);\n }\n\n public hide(listener: () => void): void {\n if (!this._listDropdown) {\n return;\n }\n const { targetElement } = this._listDropdown.dropdownElement as IPopupComponent;\n targetElement.removeEventListener(POPUP_CONSTANTS.events.BLUR, listener);\n this.setBusyVisibility(false);\n this._tryToggleDropdownIconRotation(false);\n this._inputElement.removeAttribute('aria-activedescendant');\n this._inputElement.removeAttribute('aria-controls');\n this._inputElement.setAttribute('aria-expanded', 'false');\n this._listDropdown.close();\n this._listDropdown = undefined;\n }\n\n\n public setBusyVisibility(isVisible: boolean): void {\n this._listDropdown?.setBusyVisibility(isVisible);\n }\n\n public setDismissListener(listener: () => void): void {\n if (!this._listDropdown || !this._listDropdown.dropdownElement) {\n return;\n }\n const dropdownElement = this._listDropdown.dropdownElement as IPopupComponent;\n if (dropdownElement.targetElement) {\n dropdownElement.targetElement.addEventListener(POPUP_CONSTANTS.events.BLUR, listener);\n }\n }\n\n public focus(): void {\n window.requestAnimationFrame(() => this._inputElement.focus());\n }\n\n public setOptions(options: IAutocompleteOption[] | IAutocompleteOptionGroup[]): void {\n this._listDropdown?.setOptions(options);\n }\n\n public appendOptions(options: IAutocompleteOption[] | IAutocompleteOptionGroup[]): void {\n this._listDropdown?.appendOptions(options);\n }\n\n public setSelectedText(value: string): void {\n this._inputElement.value = value;\n }\n\n public getInputValue(): string {\n return this._inputElement.value;\n }\n\n public setInputValue(value: string): void {\n this._inputElement.value = value;\n }\n\n public selectInputValue(): void {\n window.requestAnimationFrame(() => this._inputElement.select());\n }\n\n public isFocusWithinPopup(target: HTMLElement): boolean {\n if (!this._listDropdown || !this._listDropdown.dropdownElement) {\n return false;\n }\n return this._listDropdown.dropdownElement.contains(target);\n }\n\n public hasFocus(): boolean {\n const activeElement = getActiveElement() as HTMLElement;\n return activeElement === this._inputElement || this.isFocusWithinPopup(activeElement);\n }\n\n public hasInputElement(): boolean {\n return !!this._inputElement;\n }\n\n public setDropdownIconListener(type: string, listener: EventListener): void {\n window.requestAnimationFrame(() => {\n const dropdownIcon = this._component.querySelector(AUTOCOMPLETE_CONSTANTS.selectors.DROPDOWN_ICON);\n if (dropdownIcon) {\n dropdownIcon.addEventListener(type, listener);\n }\n });\n }\n\n public removeDropdownIconListener(type: string, listener: EventListener): void {\n const dropdownIcon = this._component.querySelector(AUTOCOMPLETE_CONSTANTS.selectors.DROPDOWN_ICON);\n if (dropdownIcon) {\n dropdownIcon.removeEventListener(type, listener);\n }\n }\n\n public setClearButtonListener(type: string, listener: EventListener): void {\n window.requestAnimationFrame(() => {\n const clearButton = this._component.querySelector(AUTOCOMPLETE_CONSTANTS.selectors.CLEAR_BUTTON);\n if (clearButton) {\n clearButton.addEventListener(type, listener);\n }\n });\n }\n\n public removeClearButtonListener(type: string, listener: EventListener): void {\n const clearButton = this._component.querySelector(AUTOCOMPLETE_CONSTANTS.selectors.CLEAR_BUTTON);\n if (clearButton) {\n clearButton.removeEventListener(type, listener);\n }\n }\n\n public propagateKey(key: string): void {\n this._listDropdown?.handleKey(key);\n }\n\n public updateActiveDescendant(id: string): void {\n if (!this._targetElement) {\n return;\n }\n toggleAttribute(this._inputElement, !!id, 'aria-activedescendant', id);\n }\n\n public getTargetElementWidth(selector: string): number {\n if (!this._targetElement) {\n this._targetElement = this._getTargetElement(selector);\n }\n return this._targetElement.getBoundingClientRect().width;\n }\n\n public getPopupElement(): HTMLElement | null {\n return this._listDropdown?.dropdownElement ?? null;\n }\n\n public activateFirstOption(): void {\n this._listDropdown?.activateFirstOption();\n }\n\n public activateSelectedOption(): void {\n this._listDropdown?.activateSelectedOption();\n }\n\n public activateOptionByIndex(value: number): void {\n this._listDropdown?.activateOption(value);\n }\n\n public getActiveOptionIndex(): number | null {\n return this._listDropdown?.getActiveOptionIndex() ?? null;\n }\n\n public clearActiveOption(): void {\n this._listDropdown?.clearActiveOption();\n }\n\n public setSelectedOptions(options: IAutocompleteOption[]): void {\n if (this._listDropdown) {\n const values = options.map(o => o.value);\n this._listDropdown.setSelectedValues(values);\n }\n }\n\n public queueDropdownPositionUpdate(): void {\n if (!this.getPopupElement()) {\n return;\n }\n // We need to wait for the next animation frame to ensure that the layout has been updated\n window.requestAnimationFrame(() => {\n const dropdownEl = this.getPopupElement() as IPopupComponent | undefined;\n dropdownEl?.position();\n });\n }\n\n private _getTargetElement(selector?: string): HTMLElement {\n return selector ? this._component.querySelector(selector) || this._getDefaultTargetElement() : this._getDefaultTargetElement();\n }\n\n private _getDefaultTargetElement(): HTMLElement {\n // This component is often used with the text-field, if so, let's target our popup around one if its internal elements for proper alignnment\n const textField = this._component.querySelector('forge-text-field');\n if (textField && textField.shadowRoot) {\n const textFieldRoot = getShadowElement(textField, TEXT_FIELD_CONSTANTS.selectors.ROOT) as HTMLElement;\n if (textFieldRoot) {\n return textFieldRoot;\n }\n }\n\n // This component is often used with the chip-field, if so, let's target our popup around one if its internal elements for proper alignnment\n const chipField = this._component.querySelector('forge-chip-field');\n if (chipField && chipField.shadowRoot) {\n const chipFieldRoot = getShadowElement(chipField, CHIP_FIELD_CONSTANTS.selectors.ROOT) as HTMLElement;\n if (chipFieldRoot) {\n return chipFieldRoot;\n }\n }\n\n return this._component.querySelector('input') || this._component;\n }\n\n private _tryToggleDropdownIconRotation(state: boolean): void {\n const dropdownIcon = this._component.querySelector(AUTOCOMPLETE_CONSTANTS.selectors.DROPDOWN_ICON) as HTMLElement;\n if (dropdownIcon) {\n toggleAttribute(dropdownIcon, state, AUTOCOMPLETE_CONSTANTS.attributes.DROPDOWN_ICON_OPEN);\n }\n }\n}\n", "import { IAutocompleteOption, IAutocompleteOptionGroup } from './autocomplete-constants';\nimport { isDefined, isObject, isDeepEqual } from '@tylertech/forge-core';\n\n/** The available option types. */\nexport enum OptionType { Option, Group }\n\n/**\n * Determines if the provided options are of the specified type.\n * @param options The options either grouped or individual.\n * @param type The type of option to detect.\n */\nexport function isOptionType(options: IAutocompleteOption[] | IAutocompleteOptionGroup[], type: OptionType): boolean {\n const isOptionGroups = options.some((o: IAutocompleteOption | IAutocompleteOptionGroup) => isDefined(o) && isObject(o) && o.hasOwnProperty('options') && (o.hasOwnProperty('text') || o.hasOwnProperty('builder')));\n const isOptionTypes = options.some((o: IAutocompleteOption | IAutocompleteOptionGroup) => isDefined(o) && isObject(o) && o.hasOwnProperty('label') && o.hasOwnProperty('value'));\n return (isOptionGroups && type === OptionType.Group) || (isOptionTypes && type === OptionType.Option);\n}\n\n/** A utility function to find the matching option in the provided options by the value provided. */\nexport function getSelectedOption(options: IAutocompleteOption[], value: string): IAutocompleteOption | undefined {\n return options.find(o => o.value === value);\n}\n\n/** A predicate function that will determine if an option value is equal regardless of primitive type or complex object type. */\nexport function optionEqualPredicate(option: IAutocompleteOption, value: any, property: string | null = null): boolean {\n if (property) {\n if (!(property in option.value) || !(property in value)) {\n return false;\n }\n return isDeepEqual(option.value[property], value[property]);\n }\n return isDeepEqual(option.value, value);\n}\n", "import { debounce, isDefined, isString, Platform, randomChars } from '@tylertech/forge-core';\nimport { highlightTextHTML } from '../core';\nimport { IListItemComponent } from '../list';\nimport { IListDropdownConfig, IListDropdownOption, ListDropdownAsyncStyle, ListDropdownFooterBuilder, ListDropdownHeaderBuilder, ListDropdownOptionBuilder } from '../list-dropdown';\nimport { IListDropdownAwareFoundation, ListDropdownAwareFoundation } from '../list-dropdown/list-dropdown-aware-foundation';\nimport { IAutocompleteAdapter } from './autocomplete-adapter';\nimport { AutocompleteFilterCallback, AutocompleteMode, AutocompleteOptionBuilder, AutocompleteSelectedTextBuilder, AUTOCOMPLETE_CONSTANTS, IAutocompleteOption, IAutocompleteOptionGroup, IAutocompleteSelectEventData } from './autocomplete-constants';\nimport { getSelectedOption, isOptionType, optionEqualPredicate, OptionType } from './autocomplete-utils';\n\nexport interface IAutocompleteFoundation extends IListDropdownAwareFoundation {\n mode: AutocompleteMode;\n multiple: boolean;\n value: string | string[] | IAutocompleteOption | IAutocompleteOption[] | null | undefined;\n debounce: number;\n filterOnFocus: boolean;\n filterFocusFirst: boolean;\n allowUnmatched: boolean;\n popupTarget: string;\n filterText: string;\n optionBuilder: AutocompleteOptionBuilder | null | undefined;\n filter: AutocompleteFilterCallback | null | undefined;\n selectedTextBuilder: AutocompleteSelectedTextBuilder;\n isInitialized: boolean;\n open: boolean;\n matchKey: string | null | undefined;\n appendOptions(options: IAutocompleteOption[] | IAutocompleteOptionGroup[]): void;\n beforeValueChange: (value: any) => boolean | Promise<boolean>;\n}\n\n/**\n * The foundation class behind the `<forge-autocomplete>` element.\n */\nexport class AutocompleteFoundation extends ListDropdownAwareFoundation implements IAutocompleteFoundation {\n private _isInitialized = false;\n private _isDropdownOpen = false;\n private _mode: AutocompleteMode = AutocompleteMode.Default;\n private _multiple = false;\n private _debounce = AUTOCOMPLETE_CONSTANTS.numbers.DEFAULT_DEBOUNCE_TIME;\n private _allowUnmatched = false;\n private _popupTarget: string;\n private _filterOnFocus = true;\n private _filterFocusFirst = true;\n private _optionBuilder?: AutocompleteOptionBuilder | null;\n private _filter?: AutocompleteFilterCallback | null;\n private _selectedTextBuilder: AutocompleteSelectedTextBuilder;\n private _options: IAutocompleteOption[] | IAutocompleteOptionGroup[] = [];\n private _filterText = '';\n private _selectedOptions: IAutocompleteOption[] = [];\n private _values: any[] = [];\n private _pendingFilterPromises: Array<Promise<IAutocompleteOption[] | IAutocompleteOptionGroup[]>> = [];\n private _identifier: string;\n private _matchKey?: string | null = null;\n private _filterFn: () => Promise<void>;\n private _clickListener: (evt: MouseEvent) => void;\n private _focusListener: (evt: FocusEvent) => void;\n private _blurListener: (evt: FocusEvent) => void;\n private _inputListener: (evt: KeyboardEvent) => void;\n private _keydownListener: (evt: KeyboardEvent) => void;\n private _dropdownIconClickListener: (evt: MouseEvent) => void;\n private _dropdownIconMouseDownListener: (evt: MouseEvent) => void;\n private _clearButtonListener: (evt: MouseEvent) => void;\n private _dropdownScrollEndListener: () => void;\n private _dismissListener: () => void;\n private _activeChangeListener: (id: string) => void;\n private _targetWidthCallback: () => number;\n private _beforeValueChange: (value: any) => boolean | Promise<boolean>;\n private _valueChanging: Promise<boolean> | undefined;\n\n constructor(private _adapter: IAutocompleteAdapter) {\n super();\n this._clickListener = evt => this._onClick(evt);\n this._focusListener = () => this._onFocus();\n this._blurListener = evt => this._onBlur(evt);\n this._keydownListener = evt => this._onKeydown(evt);\n this._dropdownIconClickListener = evt => this._onDropdownIconClick(evt);\n this._dropdownScrollEndListener = () => this._onDropdownScrollEnd();\n this._dropdownIconMouseDownListener = evt => this._onDropdownIconMouseDown(evt);\n this._clearButtonListener = evt => this._onClear(evt);\n this._dismissListener = () => this._onDismiss();\n this._activeChangeListener = id => this._adapter.updateActiveDescendant(id);\n this._targetWidthCallback = () => this._adapter.getTargetElementWidth(this._popupTarget);\n this._identifier = randomChars();\n }\n\n public async initialize(): Promise<void> {\n if (!this._adapter.hasInputElement() && !this._adapter.setInputElement()) {\n throw new Error('An input element is required as a child of the autocomplete component.');\n }\n\n this._setInputListener();\n this._setFilterCallback();\n this._attachListeners();\n this._initializeAccessibility();\n\n if (this._values.length) {\n if (!this._selectedOptions.length) {\n try {\n await this._executeFilter();\n } catch (e) {\n console.error(e);\n }\n this._updateSelectedOptions(this._values);\n }\n this._adapter.setSelectedText(this._getSelectedText());\n }\n\n this._isInitialized = true;\n }\n\n public disconnect(): void {\n if (this._isInitialized) {\n this._detachListeners();\n this._isInitialized = false;\n }\n if (this._isDropdownOpen) {\n this._closeDropdown();\n }\n }\n\n private _attachListeners(): void {\n this._adapter.addInputListener('click', this._clickListener);\n this._adapter.addInputListener('focus', this._focusListener);\n this._adapter.addInputListener('blur', this._blurListener);\n this._adapter.addInputListener('input', this._inputListener);\n this._adapter.addInputListener('keydown', this._keydownListener);\n this._adapter.setDropdownIconListener('click', this._dropdownIconClickListener);\n this._adapter.setDropdownIconListener('mousedown', this._dropdownIconMouseDownListener);\n this._adapter.setClearButtonListener('click', this._clearButtonListener);\n }\n\n private _detachListeners(): void {\n this._adapter.removeInputListener('click', this._clickListener);\n this._adapter.removeInputListener('focus', this._focusListener);\n this._adapter.removeInputListener('blur', this._blurListener);\n this._adapter.removeInputListener('input', this._inputListener);\n this._adapter.removeInputListener('keydown', this._keydownListener);\n this._adapter.removeDropdownIconListener('click', this._dropdownIconClickListener);\n this._adapter.removeDropdownIconListener('mousedown', this._dropdownIconMouseDownListener);\n this._adapter.removeClearButtonListener('click', this._clearButtonListener);\n }\n\n private _setInputListener(): void {\n this._inputListener = (evt: KeyboardEvent) => this._onInput(evt);\n }\n\n private _setFilterCallback(): void {\n this._filterFn = isDefined(this._debounce) && this._debounce > 0 ? debounce(this._debounceFilter, this._debounce, false) : this._debounceFilter;\n }\n\n private _initializeAccessibility(): void {\n this._adapter.initializeInputAccessibility(this._identifier);\n }\n\n private get _flatOptions(): IAutocompleteOption[] {\n if (isOptionType(this._options, OptionType.Group)) {\n return (this._options as IAutocompleteOptionGroup[]).reduce((previousValue, currentValue) => previousValue.concat(currentValue.options), [] as IAutocompleteOption[]);\n }\n return this._options as IAutocompleteOption[];\n }\n\n private _onClick(evt: MouseEvent): void {\n if (!this._isDropdownOpen && this._filterOnFocus) {\n this._showDropdown();\n }\n }\n\n private _onDropdownIconMouseDown(evt: MouseEvent): void {\n evt.preventDefault(); // Always avoid changing focus when clicking the dropdown\n }\n\n private _onDropdownIconClick(evt: MouseEvent): void {\n if (!this._isDropdownOpen) {\n this._adapter.focus();\n window.requestAnimationFrame(() => this._showDropdown());\n } else {\n this._closeDropdown();\n }\n }\n\n private _onClear(evt: MouseEvent): void {\n this._clearValue();\n this._adapter.setSelectedText(this._getSelectedText());\n }\n\n private _onDropdownScrollEnd(): void {\n this._adapter.emitHostEvent(AUTOCOMPLETE_CONSTANTS.events.SCROLLED_BOTTOM);\n }\n\n private _onFocus(): void {\n if (!this._isDropdownOpen && this._adapter.getInputValue() && !Platform.isMobile) {\n this._adapter.selectInputValue();\n }\n }\n\n private _onBlur(evt: FocusEvent): void {\n // If the blur event was triggered by an element within the popup then ignore it\n if (this._adapter.isFocusWithinPopup(evt.relatedTarget as HTMLElement)) {\n return;\n }\n\n this._applyBlur();\n }\n\n private _applyBlur(): void {\n if (this._isDropdownOpen) {\n this._closeDropdown();\n }\n\n // If we are in stateless mode, we don't need to do anything further\n if (this._mode === AutocompleteMode.Stateless) {\n return;\n }\n\n if (!this._selectedOptions.length) {\n if (!this._allowUnmatched) {\n this._filterText = '';\n this._adapter.setSelectedText('');\n }\n } else {\n this._adapter.setSelectedText(this._getSelectedText());\n }\n }\n\n private _onInput(evt: KeyboardEvent): void {\n if (this._selectedOptions.length && !this._multiple && (!this._adapter.getInputValue() || this._allowUnmatched) && !this._adapter.isWrappingChipField()) {\n this._selectedOptions = [];\n this._values = [];\n this._emitChangeEvent();\n }\n this._filterText = this._adapter.getInputValue();\n this._filterFn();\n }\n\n private async _debounceFilter({ checkFocus = true } = {}): Promise<void> {\n // There is the potential that the user could have started a filter, then moved focus to another element\n // while a debounced filter is running. This check detects that scenario and stops all pending filters.\n if (!checkFocus && !this._adapter.hasFocus()) {\n this._pendingFilterPromises = [];\n if (this._isDropdownOpen) {\n this._closeDropdown();\n }\n return;\n }\n\n // Keep track of these variables so we can use them when each filter callback completes\n const filterText = this._filterText; // Filter text just before the execution\n const filterPromise = this._executeFilter(); // Execute the filter and keep track of the filter promise object for use after it resolves\n\n // Keep track of all pending promises\n this._pendingFilterPromises.push(filterPromise);\n\n // If the dropdown is open, show the spinner and execute the filter. If not open, then we need to\n // show the dropdown (which will handle showing the spinner and executing the filter for us) so\n // we use the promise from that method instead.\n if (this._isDropdownOpen) {\n this._adapter.setBusyVisibility(true);\n } else {\n this._showDropdown({ filter: false });\n }\n\n try {\n await filterPromise;\n } catch {\n // When an exception occurs, we just flush the pending promises and clean up\n this._pendingFilterPromises = [];\n if (this._isDropdownOpen) {\n this._closeDropdown();\n }\n return;\n }\n\n // We only continue if the filter text before this result matches the latest filter text\n if (filterText === this._filterText) {\n this._pendingFilterPromises = [];\n this._onFilterComplete();\n } else {\n // If this is not the latest filter result, we ignore it and remove it from the pending promises\n const promiseIndex = this._pendingFilterPromises.indexOf(filterPromise);\n if (promiseIndex !== -1) {\n this._pendingFilterPromises.splice(promiseIndex, 1);\n }\n }\n }\n\n private _onKeydown(evt: KeyboardEvent): void {\n switch (evt.key) {\n case 'Tab':\n if (this._isDropdownOpen && !this._multiple) {\n this._selectActiveOption(false);\n }\n break;\n case 'Esc':\n case 'Escape':\n if (this._isDropdownOpen) {\n evt.preventDefault();\n evt.stopPropagation();\n this._closeDropdown();\n }\n break;\n case 'Down':\n case 'ArrowDown':\n evt.preventDefault();\n if (!this._isDropdownOpen) {\n this._showDropdown({ activateFirst: true, activateSelected: true });\n } else {\n this._adapter.propagateKey(evt.key);\n }\n break;\n case 'Up':\n case 'ArrowUp':\n evt.preventDefault();\n if (this._isDropdownOpen) {\n this._adapter.propagateKey(evt.key);\n }\n break;\n case 'Enter':\n case 'Home':\n case 'End':\n if (this._isDropdownOpen) {\n if (evt.key === 'Enter') {\n evt.stopPropagation();\n }\n evt.preventDefault();\n this._adapter.propagateKey(evt.key);\n }\n break;\n case 'Backspace':\n case 'Delete':\n const input = evt.target as HTMLInputElement;\n const value = this._adapter.getInputValue();\n const isRemovingAllChars = input.value.substring(input.selectionStart as number, input.selectionEnd as number) === input.value;\n const isBackspacingLastChar = value.length === 1 && input.selectionEnd === 1;\n const isDeletingLastChar = value.length === 1 && input.selectionEnd === 0;\n const isEmpty = !value || isRemovingAllChars || isBackspacingLastChar || isDeletingLastChar;\n \n // We only clear the value on empty when not around a chip-field and NOT in multiple mode\n if (!this._adapter.isWrappingChipField() && isEmpty && !this._multiple && this._values.length) {\n this._clearValue();\n }\n break;\n }\n }\n\n private _executeFilter(sendFilterText = true, sendValue = false): Promise<IAutocompleteOption[] | IAutocompleteOptionGroup[]> {\n if (!this._filter || typeof this._filter !== 'function') {\n throw new Error('A filter callback must be provided. Did you set the \"filter\" property?');\n }\n const filter = this._filter;\n\n const filterText = sendFilterText ? this._filterText : '';\n const value = sendValue ? this._getValue() : null;\n\n return new Promise<IAutocompleteOption[] | IAutocompleteOptionGroup[]>((resolve, reject) => {\n return Promise.resolve(filter(filterText, value))\n .then(options => {\n this._options = options;\n resolve(this._options);\n })\n .catch(e => reject(`An unexpected error occurred while filtering: ${e}`));\n });\n }\n\n private _onFilterComplete(): void {\n if (!this._adapter.hasFocus()) {\n if (this._isDropdownOpen) {\n this._closeDropdown();\n }\n return;\n }\n\n if (this._options.length) {\n const sendFilterText = this._allowUnmatched && !this._selectedOptions.length;\n this._dropdownReady({ userTriggered: sendFilterText });\n\n if (this._filterFocusFirst && this._filterText) {\n this._adapter.activateFirstOption();\n }\n } else {\n this._closeDropdown();\n }\n }\n\n private _clearValue(): void {\n this._selectedOptions = [];\n this._values = [];\n\n if (this._isDropdownOpen) {\n this._adapter.setSelectedOptions([]);\n this._adapter.clearActiveOption();\n }\n\n this._emitChangeEvent();\n }\n\n private async _showDropdown({ filter = true, userTriggered = true, activateFirst = false, activateSelected = false } = {}): Promise<void> {\n const sendFilterText = this._allowUnmatched && !this._selectedOptions.length;\n this._isDropdownOpen = true;\n let listOptionBuilder: ListDropdownOptionBuilder<HTMLElement> | undefined;\n if (this._optionBuilder) {\n const optionBuilder = this._optionBuilder;\n listOptionBuilder = (option: IListDropdownOption, parentElement: HTMLElement) => {\n return optionBuilder(option, this._filterText, parentElement as IListItemComponent);\n };\n }\n const config: IListDropdownConfig = {\n options: this._options,\n multiple: this._multiple,\n selectedValues: [...this._values],\n id: `forge-autocomplete-${this._identifier}`,\n asyncStyle: ListDropdownAsyncStyle.Skeleton,\n optionLimit: this._optionLimit,\n popupClasses: this._popupClasses,\n headerBuilder: this._popupHeaderBuilder,\n footerBuilder: this._popupFooterBuilder,\n transform: label => {\n if (this._filterText) {\n // Highlight the filter text within the label\n const highlightElement = highlightTextHTML(label, this._filterText);\n if (highlightElement) {\n return highlightElement;\n }\n }\n return label;\n },\n allowBusy: true,\n optionBuilder: listOptionBuilder,\n syncWidth: this._syncPopupWidth,\n observeScroll: this._observeScroll,\n observeScrollThreshold: this._observeScrollThreshold,\n scrollEndListener: this._dropdownScrollEndListener,\n activeChangeCallback: this._activeChangeListener,\n targetWidthCallback: this._targetWidthCallback,\n selectCallback: (value: any) => this._onSelect(value),\n closeCallback: () => this._closeDropdown()\n };\n\n this._adapter.show(config, this._popupTarget);\n this._adapter.toggleHostAttribute(AUTOCOMPLETE_CONSTANTS.attributes.OPEN, this._isDropdownOpen);\n\n if (filter) {\n if (this._options.length) {\n this._adapter.setBusyVisibility(true);\n }\n try {\n await this._executeFilter(sendFilterText);\n } catch (e) {\n console.error(e);\n }\n this._updateSelectedOptions(this._values);\n }\n\n // If we have any pending filter promises, then we will let those complete and update the dropdown separately after\n if (this._pendingFilterPromises.length) {\n return;\n }\n\n this._dropdownReady({ userTriggered, activateFirst, activateSelected });\n }\n\n private _dropdownReady({ userTriggered = true, activateFirst = false, activateSelected = false } = {}): void {\n if (!this._isDropdownOpen || !this._options.length || (userTriggered && !this._adapter.hasFocus())) {\n this._closeDropdown();\n return;\n }\n\n this._sortSelectedOptions();\n this._adapter.setBusyVisibility(false);\n this._adapter.setOptions(this._options);\n this._adapter.setSelectedOptions(this._selectedOptions);\n this._adapter.setDismissListener(this._dismissListener);\n\n if (activateSelected && this._selectedOptions.length) {\n this._adapter.activateSelectedOption();\n } else if (activateFirst) {\n this._adapter.activateFirstOption();\n }\n }\n\n private _closeDropdown(): void {\n if (this._multiple) {\n this._filterText = '';\n }\n this._isDropdownOpen = false;\n this._adapter.hide(this._dismissListener);\n this._sortSelectedOptions();\n this._adapter.toggleHostAttribute(AUTOCOMPLETE_CONSTANTS.attributes.OPEN, this._isDropdownOpen);\n }\n\n private _sortSelectedOptions(): void {\n // When in multiple selection mode, we need to make sure that the selected options appear at the top of the list\n if (this._multiple && this._selectedOptions.length && isOptionType(this._options, OptionType.Option)) {\n const selectedOptions: IAutocompleteOption[] = [];\n const unselectedOptions: IAutocompleteOption[] = [];\n\n (this._options as IAutocompleteOption[]).forEach(option => {\n if (this._selectedOptions.find(o => optionEqualPredicate(o, option.value, this._matchKey))) {\n selectedOptions.push(option);\n } else {\n unselectedOptions.push(option);\n }\n });\n\n this._options = [...selectedOptions, ...unselectedOptions];\n }\n }\n\n /**\n * Handles selecting an item in the dropdown.\n * @param {string} selectedValue The string value to select.\n */\n private async _onSelect(selectedValue: string, keepFocus = true): Promise<void> {\n if (this._valueChanging) {\n return;\n }\n\n // If we are in stateless mode, then we need to just emit an event when selecting an option. The\n // selected values are not tracked in stateless mode\n if (this._mode === AutocompleteMode.Stateless) {\n const data: IAutocompleteSelectEventData = { value: selectedValue };\n const result = this._adapter.emitHostEvent(AUTOCOMPLETE_CONSTANTS.events.SELECT, data, true, true);\n if (result) {\n this._filterText = '';\n if (!this._multiple) {\n this._closeDropdown();\n }\n }\n return;\n }\n\n const select = (): void => {\n const flatOptions = this._flatOptions;\n const option = flatOptions.find(o => optionEqualPredicate(o, selectedValue, this._matchKey)) as IAutocompleteOption;\n const value = option ? option.value : '';\n const label = option ? option.label : '';\n\n if (this._multiple) {\n const selectedOption = getSelectedOption(this._selectedOptions, value);\n if (selectedOption) {\n const index = this._selectedOptions.indexOf(selectedOption);\n this._selectedOptions.splice(index, 1);\n } else {\n this._selectedOptions.push(option);\n }\n } else {\n if (isDefined(value)) {\n this._selectedOptions[0] = option;\n this._filterText = label;\n } else {\n this._selectedOptions = [];\n this._filterText = '';\n }\n }\n\n // Update the dropdown selection status if its open\n if (this._isDropdownOpen) {\n this._adapter.setSelectedOptions(this._selectedOptions);\n }\n\n // Keep the values in sync with the currently selected options\n this._values = this._selectedOptions.map(o => o.value);\n\n // Update the selected text in the input\n this._adapter.setSelectedText(this._getSelectedText());\n\n // Select the text in the input to allow for the next filter\n if (!Platform.isMobile && keepFocus) {\n this._adapter.selectInputValue();\n }\n\n this._emitChangeEvent();\n this._tryUpdateDropdownPosition();\n };\n\n // We close the dropdown immediately if in single selection mode\n if (this._isDropdownOpen && !this._multiple) {\n this._closeDropdown();\n }\n\n if (typeof this._beforeValueChange === 'function') {\n this._valueChanging = Promise.resolve(this._beforeValueChange.call(null, selectedValue, this._matchKey));\n const shouldContinue = await this._valueChanging;\n if (shouldContinue) {\n select();\n } else {\n this._tryUpdateDropdownPosition();\n }\n this._valueChanging = undefined;\n } else {\n select();\n }\n }\n\n private _selectActiveOption(keepFocus = true): void {\n const activeOptionIndex = this._adapter.getActiveOptionIndex();\n if (typeof activeOptionIndex === 'number' && activeOptionIndex >= 0) {\n const option = this._flatOptions[activeOptionIndex];\n if (option) {\n this._onSelect(option.value, keepFocus);\n }\n }\n }\n\n private _emitChangeEvent(): void {\n this._adapter.emitHostEvent(AUTOCOMPLETE_CONSTANTS.events.CHANGE, this._getValue(), true);\n }\n\n private _tryUpdateDropdownPosition(): void {\n if (this._isDropdownOpen) {\n this._adapter.queueDropdownPositionUpdate();\n }\n }\n\n /**\n * Retrieves the current value(s) from the selected options array based on whether\n * we are in multi-select mode or not.\n */\n private _getValue(): string | string[] | null | undefined {\n if (!this._values) {\n return null;\n }\n\n if (!this._values.length) {\n return this._multiple ? [] : null;\n }\n\n return this._multiple ? [...this._values] : this._values[0];\n }\n\n /**\n * Creates the selected text value from the selected label values.\n */\n private _getSelectedText(): string {\n if (this._adapter.isWrappingChipField()) {\n return '';\n }\n\n if (this._selectedTextBuilder) {\n return this._selectedTextBuilder(this._selectedOptions);\n } else {\n if (this._multiple) {\n if (this._values.length) {\n if (this._values.length === 1) {\n return this._selectedOptions[0]?.label ?? '';\n } else {\n return `${this._values.length} options selected`;\n }\n } else {\n return '';\n }\n } else {\n return this._selectedOptions.filter(o => o && o.label).map(o => o.label).join(' ').trim();\n }\n }\n }\n\n /**\n * Handles the user dismissing the dropdown. This is only called if the blur event was triggered\n * from within the popup element itself (in a custom template most likely).\n * @param keepFocus Keep focus on the dropdown or not.\n */\n private _onDismiss(): void {\n this._closeDropdown();\n }\n\n private async _applyValue(value: string | string[] | IAutocompleteOption | IAutocompleteOption[] | null | undefined): Promise<void> {\n let values: any[] = [];\n this._selectedOptions = [];\n\n if (!Array.isArray(value)) {\n values = isDefined(value) ? [value] : [];\n } else {\n values = value;\n }\n\n // If this is not a multi-select, then make sure we only allow one selected value\n if (!this._multiple && values.length > 1) {\n values = [values[0]];\n }\n\n if (isOptionType(values, OptionType.Option)) {\n this._values = values.map((o: IAutocompleteOption) => o.value);\n this._selectedOptions = values as IAutocompleteOption[];\n } else {\n this._values = values as any[];\n }\n\n // Ensure that the values passed are actually existing options\n const allOptions = this._flatOptions;\n if (values.length && allOptions.length) {\n this._updateSelectedOptions(values);\n }\n\n // Execute the filter now if we have a value, but not options yet (only if it has been initialized already)\n if (this._values.length && !this._selectedOptions.length && !!this._filter && this._isInitialized) {\n try {\n await this._executeFilter(false, true);\n } catch (e) {\n console.error(e);\n }\n this._updateSelectedOptions(this._values);\n }\n\n // Update filter text to match the label when on in multiselect mode\n if (!this._multiple) {\n this._filterText = this._selectedOptions.length ? this._selectedOptions[0].label : '';\n } else {\n this._filterText = '';\n }\n\n // Update the state of the component based on the existence of a selected value\n if (this._isInitialized) {\n this._adapter.setSelectedText(this._getSelectedText());\n }\n\n // When the value is changed programmatically we should update the selected options\n if (this._isDropdownOpen) {\n this._adapter.setSelectedOptions(this._selectedOptions);\n }\n }\n\n private _updateSelectedOptions(values: Array<any | IAutocompleteOption>): void {\n const flatOptions = [...this._flatOptions, ...this._selectedOptions];\n\n if (this._selectedOptions.length) {\n this._selectedOptions = [];\n }\n\n if (isOptionType(values, OptionType.Option)) {\n for (const option of values as IAutocompleteOption[]) {\n const actualOption = flatOptions.find(o => optionEqualPredicate(o, option.value, this._matchKey));\n if (actualOption) {\n this._selectedOptions.push(actualOption);\n } else {\n this._selectedOptions.push(option);\n }\n }\n } else {\n for (const value of values as any[]) {\n const actualOption = flatOptions.find(o => optionEqualPredicate(o, value, this._matchKey));\n if (actualOption) {\n this._selectedOptions.push(actualOption);\n } else if (this._allowUnmatched) {\n this._selectedOptions.push({ label: value, value });\n }\n }\n }\n }\n\n /** Gets/sets the mode state. */\n public get mode(): AutocompleteMode {\n return this._mode;\n }\n public set mode(value: AutocompleteMode) {\n if (this._mode !== value) {\n this._mode = value;\n if (this._mode === AutocompleteMode.Stateless) {\n this._selectedOptions = [];\n if (this._isDropdownOpen) {\n this._closeDropdown();\n }\n }\n this._adapter.setHostAttribute(AUTOCOMPLETE_CONSTANTS.attributes.MODE, this._mode);\n }\n }\n\n /** Gets/sets the multi-select state. */\n public get multiple(): boolean {\n return this._multiple;\n }\n public set multiple(value: boolean) {\n if (this._multiple !== value) {\n this._multiple = value;\n this._adapter.setHostAttribute(AUTOCOMPLETE_CONSTANTS.attributes.MULTIPLE, isDefined(this._multiple) ? this._multiple.toString() : '');\n }\n }\n\n /** Gets/sets the value of the component. */\n public get value(): string | string[] | IAutocompleteOption | IAutocompleteOption[] | null | undefined {\n return this._getValue();\n }\n public set value(value: string | string[] | IAutocompleteOption | IAutocompleteOption[] | null | undefined) {\n let values: Array<string | IAutocompleteOption | IAutocompleteOption[] | string[]> = [];\n\n if (value == null) {\n values = [];\n } else if (Array.isArray(value)) {\n values = JSON.parse(JSON.stringify(value));\n } else if (isString(value)) {\n values = [value];\n } else {\n values = [JSON.parse(JSON.stringify(value))];\n }\n\n const hasNewValue = values.length !== this._values.length || values.some(v => !this._values.includes(v));\n if (!hasNewValue) {\n return;\n }\n\n // We only apply the new values if they have actually changed\n this._applyValue(value);\n }\n\n /** Gets/sets filter on focus settings which controls whether the dropdown displays automatically when focused. */\n public get filterOnFocus(): boolean {\n return this._filterOnFocus;\n }\n public set filterOnFocus(value: boolean) {\n if (this._filterOnFocus !== value) {\n this._filterOnFocus = value;\n this._adapter.setHostAttribute(AUTOCOMPLETE_CONSTANTS.attributes.FILTER_ON_FOCUS, isDefined(this._filterOnFocus) ? this._filterOnFocus.toString() : '');\n }\n }\n\n /** Gets/sets whether the first option in the dropdown will be focused automatically when opened or not. */\n public get filterFocusFirst(): boolean {\n return this._filterFocusFirst;\n }\n public set filterFocusFirst(value: boolean) {\n if (this._filterFocusFirst !== value) {\n this._filterFocusFirst = value;\n this._adapter.toggleHostAttribute(AUTOCOMPLETE_CONSTANTS.attributes.FILTER_FOCUS_FIRST, this._filterFocusFirst);\n }\n }\n\n /** Controls whether unmatched text entered by the user will stay visible an option in the dropdown is not found. */\n public get allowUnmatched(): boolean {\n return this._allowUnmatched;\n }\n public set allowUnmatched(value: boolean) {\n if (this._allowUnmatched !== value) {\n this._allowUnmatched = value;\n\n if (isDefined(this._allowUnmatched)) {\n this._adapter.setHostAttribute(AUTOCOMPLETE_CONSTANTS.attributes.ALLOW_UNMATCHED, this._allowUnmatched.toString());\n }\n }\n }\n\n /** Gets/sets the property key to match the value to an option. */\n public get matchKey(): string | null | undefined {\n return this._matchKey;\n }\n public set matchKey(value: string | null | undefined) {\n if (this._matchKey !== value) {\n this._matchKey = value;\n }\n }\n\n /** Gets/sets the selector that will be used to find an element to attach the popup to. Defaults to the input element. */\n public get popupTarget(): string {\n return this._popupTarget;\n }\n public set popupTarget(value: string) {\n if (this._popupTarget !== value) {\n this._popupTarget = value;\n }\n }\n\n /**\n * Gets/sets the filter text.\n * \n * Setting the filter text only applies when allowUnmatched is enabled.\n */\n public get filterText(): string {\n return this._filterText;\n }\n public set filterText(value: string) {\n if (this._filterText !== value) {\n this._filterText = this._allowUnmatched ? value : '';\n\n if (this._isInitialized && this._allowUnmatched) {\n this._adapter.setInputValue(this._filterText);\n\n if (this._isDropdownOpen) {\n this._debounceFilter({ checkFocus: false });\n }\n }\n }\n }\n\n /** Gets/sets the list of classes to apply to the popup element. */\n public get popupClasses(): string | string[] {\n return Array.isArray(this._popupClasses) ? [...this._popupClasses] : [this._popupClasses];\n }\n public set popupClasses(value: string | string[]) {\n if (this._popupClasses !== value) {\n this._popupClasses = Array.isArray(value) ? [...value] : [value];\n }\n }\n\n /** Gets/sets the builder callback to use for the popup header. */\n public set popupHeaderBuilder(value: ListDropdownHeaderBuilder) {\n this._popupHeaderBuilder = value;\n }\n\n /** Gets/sets the builder callback to use for the popup footer. */\n public set popupFooterBuilder(value: ListDropdownFooterBuilder) {\n this._popupFooterBuilder = value;\n }\n\n /** Gets/sets whether the popup width is synchronized with the popup target. */\n public get syncPopupWidth(): boolean {\n return this._syncPopupWidth;\n }\n public set syncPopupWidth(value: boolean) {\n if (this._syncPopupWidth !== value) {\n this._syncPopupWidth = value;\n }\n }\n\n /** Gets/sets the maximum number of options to display in the dropdown. */\n public get optionLimit(): number {\n return this._optionLimit;\n }\n public set optionLimit(value: number) {\n if (this._optionLimit !== value) {\n this._optionLimit = value;\n }\n }\n\n /** Gets/sets the debounce delay (milliseconds) for keyboard events. */\n public get debounce(): number {\n return this._debounce;\n }\n public set debounce(value: number) {\n if (this._debounce !== value) {\n this._debounce = value;\n\n if (this._isInitialized) {\n this._setFilterCallback();\n }\n\n this._adapter.setHostAttribute(AUTOCOMPLETE_CONSTANTS.attributes.DEBOUNCE, isDefined(this._debounce) ? this._debounce.toString() : '');\n }\n }\n\n /** Sets the item builder callback that will be executed when building the option list in the dropdown. */\n public get optionBuilder(): AutocompleteOptionBuilder | null | undefined {\n return this._optionBuilder;\n }\n public set optionBuilder(fn: AutocompleteOptionBuilder | null | undefined) {\n this._optionBuilder = fn;\n }\n\n /** Sets the filter callback that will be executed when fetching options for the autocomplete dropdown. */\n public get filter(): AutocompleteFilterCallback | null | undefined {\n return this._filter;\n }\n public set filter(cb: AutocompleteFilterCallback | null | undefined) {\n if (this._filter !== cb) {\n this._filter = cb;\n\n // If we have a value, but don't have any options yet then execute the filter\n if (this._isInitialized && this._values.length && !this._flatOptions.length && !!this._filter) {\n this._executeFilter().then(() => {\n this._updateSelectedOptions(this._values);\n this._adapter.setSelectedText(this._getSelectedText());\n });\n }\n }\n }\n\n /** Sets the selected text builder callback that will be executed when getting the selected text. */\n public get selectedTextBuilder(): AutocompleteSelectedTextBuilder {\n return this._selectedTextBuilder;\n }\n public set selectedTextBuilder(fn: AutocompleteSelectedTextBuilder) {\n this._selectedTextBuilder = fn;\n\n // If there are selected options, set the selected text again\n if (this._selectedOptions.length) {\n this._adapter.setSelectedText(this._getSelectedText());\n }\n }\n\n public get observeScroll(): boolean {\n return this._observeScroll;\n }\n public set observeScroll(value: boolean) {\n this._observeScroll = value;\n }\n\n public get observeScrollThreshold(): number {\n return this._observeScrollThreshold;\n }\n public set observeScrollThreshold(value: number) {\n this._observeScrollThreshold = value;\n }\n\n public appendOptions(options: IAutocompleteOption[] | IAutocompleteOptionGroup[]): void {\n if (!this._isDropdownOpen) {\n return;\n }\n this._options = [...this._options, ...options] as IAutocompleteOption[] | IAutocompleteOptionGroup[];\n this._adapter.appendOptions(options);\n }\n\n public get isInitialized(): boolean {\n return this._isInitialized;\n }\n\n public get open(): boolean {\n return this._isDropdownOpen;\n }\n public set open(value: boolean) {\n if (this._isDropdownOpen !== value) {\n if (value) {\n this._showDropdown({ userTriggered: false });\n } else {\n this._closeDropdown();\n }\n }\n }\n\n public get beforeValueChange(): (value: any) => boolean | Promise<boolean> {\n return this._beforeValueChange;\n }\n public set beforeValueChange(value: (value: any) => boolean | Promise<boolean>) {\n if (value !== this._beforeValueChange) {\n this._beforeValueChange = value;\n }\n }\n\n public get popupElement(): HTMLElement | null {\n return this._adapter.getPopupElement();\n }\n}\n", "import { attachShadowTemplate, coerceBoolean, coerceNumber, CustomElement, ensureChild, FoundationProperty } from '@tylertech/forge-core';\nimport { tylIconArrowDropDown, tylIconCheckBox, tylIconCheckBoxOutlineBlank } from '@tylertech/tyler-icons/standard';\nimport { DividerComponent } from '../divider';\nimport { IconComponent, IconRegistry } from '../icon';\nimport { LinearProgressComponent } from '../linear-progress';\nimport { ListComponent, ListItemComponent } from '../list';\nimport { IListDropdownAware, ListDropdownAware } from '../list-dropdown/list-dropdown-aware';\nimport { PopupComponent } from '../popup';\nimport { SkeletonComponent } from '../skeleton';\nimport { TextFieldComponent } from '../text-field';\nimport { AutocompleteAdapter } from './autocomplete-adapter';\nimport { AutocompleteFilterCallback, AutocompleteMode, AutocompleteOptionBuilder, AutocompleteSelectedTextBuilder, AUTOCOMPLETE_CONSTANTS, IAutocompleteOption, IAutocompleteOptionGroup, IAutocompleteSelectEventData } from './autocomplete-constants';\nimport { AutocompleteFoundation } from './autocomplete-foundation';\n\nconst template = '<template><slot></slot></template>';\nconst styles = ':host{display:block}:host([hidden]){display:none}';\n\nexport interface IAutocompleteComponent extends IListDropdownAware {\n mode: `${AutocompleteMode}`;\n multiple: boolean;\n value: any;\n debounce: number;\n filterOnFocus: boolean;\n filterFocusFirst: boolean;\n allowUnmatched: boolean;\n matchKey: string | null | undefined;\n popupTarget: string;\n filterText: string;\n filter: AutocompleteFilterCallback | null | undefined;\n optionBuilder: AutocompleteOptionBuilder | null | undefined;\n selectedTextBuilder: AutocompleteSelectedTextBuilder;\n popupElement: HTMLElement | null;\n beforeValueChange: (value: any) => boolean | Promise<boolean>;\n isInitialized: boolean;\n open: boolean;\n appendOptions(options: IAutocompleteOption[] | IAutocompleteOptionGroup[]): void;\n openDropdown(): void;\n closeDropdown(): void;\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'forge-autocomplete': IAutocompleteComponent;\n }\n\n interface HTMLElementEventMap {\n 'forge-autocomplete-change': CustomEvent<any>;\n 'forge-autocomplete-select': CustomEvent<IAutocompleteSelectEventData>;\n 'forge-autocomplete-scrolled-bottom': CustomEvent<void>;\n }\n}\n\n/**\n * The custom element class behind the `<forge-autocomplete>` element.\n * \n * @tag forge-autocomplete\n */\n@CustomElement({\n name: AUTOCOMPLETE_CONSTANTS.elementName,\n dependencies: [\n TextFieldComponent,\n PopupComponent,\n ListComponent,\n ListItemComponent,\n DividerComponent,\n SkeletonComponent,\n LinearProgressComponent,\n IconComponent\n ]\n})\nexport class AutocompleteComponent extends ListDropdownAware implements IAutocompleteComponent {\n public static get observedAttributes(): string[] {\n return [\n AUTOCOMPLETE_CONSTANTS.attributes.MODE,\n AUTOCOMPLETE_CONSTANTS.attributes.MULTIPLE,\n AUTOCOMPLETE_CONSTANTS.attributes.DEBOUNCE,\n AUTOCOMPLETE_CONSTANTS.attributes.FILTER_ON_FOCUS,\n AUTOCOMPLETE_CONSTANTS.attributes.FILTER_FOCUS_FIRST,\n AUTOCOMPLETE_CONSTANTS.attributes.ALLOW_UNMATCHED,\n AUTOCOMPLETE_CONSTANTS.attributes.POPUP_TARGET,\n AUTOCOMPLETE_CONSTANTS.attributes.POPUP_CLASSES,\n AUTOCOMPLETE_CONSTANTS.attributes.OBSERVE_SCROLL,\n AUTOCOMPLETE_CONSTANTS.attributes.OBSERVE_SCROLL_THRESHOLD,\n AUTOCOMPLETE_CONSTANTS.attributes.OPTION_LIMIT,\n AUTOCOMPLETE_CONSTANTS.attributes.SYNC_POPUP_WIDTH,\n AUTOCOMPLETE_CONSTANTS.attributes.OPEN,\n AUTOCOMPLETE_CONSTANTS.attributes.MATCH_KEY,\n AUTOCOMPLETE_CONSTANTS.attributes.FILTER_TEXT\n ];\n }\n\n private _foundation: AutocompleteFoundation;\n\n constructor() {\n super();\n IconRegistry.define([tylIconArrowDropDown, tylIconCheckBox, tylIconCheckBoxOutlineBlank]);\n attachShadowTemplate(this, template, styles);\n this._foundation = new AutocompleteFoundation(new AutocompleteAdapter(this));\n }\n\n public connectedCallback(): void {\n if (this.querySelector(AUTOCOMPLETE_CONSTANTS.selectors.INPUT)) {\n this._foundation.initialize();\n } else {\n ensureChild(this, AUTOCOMPLETE_CONSTANTS.selectors.INPUT).then(() => this._foundation.initialize());\n }\n }\n\n public disconnectedCallback(): void {\n this._foundation.disconnect();\n }\n\n public attributeChangedCallback(name: string, oldValue: string, newValue: string): void {\n super.attributeChangedCallback(name, oldValue, newValue);\n switch (name) {\n case AUTOCOMPLETE_CONSTANTS.attributes.MODE:\n this.mode = newValue as AutocompleteMode;\n break;\n case AUTOCOMPLETE_CONSTANTS.attributes.MULTIPLE:\n this.multiple = coerceBoolean(newValue);\n break;\n case AUTOCOMPLETE_CONSTANTS.attributes.DEBOUNCE:\n this.debounce = coerceNumber(newValue);\n break;\n case AUTOCOMPLETE_CONSTANTS.attributes.FILTER_ON_FOCUS:\n this.filterOnFocus = coerceBoolean(newValue);\n break;\n case AUTOCOMPLETE_CONSTANTS.attributes.FILTER_FOCUS_FIRST:\n this.filterFocusFirst = coerceBoolean(newValue);\n break;\n case AUTOCOMPLETE_CONSTANTS.attributes.ALLOW_UNMATCHED:\n this.allowUnmatched = coerceBoolean(newValue);\n break;\n case AUTOCOMPLETE_CONSTANTS.attributes.POPUP_TARGET:\n this.popupTarget = newValue;\n break;\n case AUTOCOMPLETE_CONSTANTS.attributes.OPEN:\n this.open = coerceBoolean(newValue);\n break;\n case AUTOCOMPLETE_CONSTANTS.attributes.MATCH_KEY:\n this.matchKey = newValue;\n break;\n case AUTOCOMPLETE_CONSTANTS.attributes.FILTER_TEXT:\n this.filterText = newValue;\n break;\n }\n }\n\n /** Gets/sets the interaction mode. */\n @FoundationProperty()\n public declare mode: `${AutocompleteMode}`;\n\n /** Gets/sets the multi-select state. */\n @FoundationProperty()\n public declare multiple: boolean;\n\n /** Gets/sets the value. */\n @FoundationProperty()\n public declare value: any;\n\n /** Gets/sets the debounce delay (milliseconds) for keyboard events. */\n @FoundationProperty()\n public declare debounce: number;\n\n /** Gets/sets filter on focus settings which controls whether the dropdown displays automatically when focused. */\n @FoundationProperty()\n public declare filterOnFocus: boolean;\n\n /** Gets/sets whether the first option in the dropdown will be focused automatically when opened or not. */\n @FoundationProperty()\n public declare filterFocusFirst: boolean;\n\n /** Controls whether unmatched text entered by the user will stay visible an option in the dropdown is not found. */\n @FoundationProperty()\n public declare allowUnmatched: boolean;\n\n /** Gets/sets the selector that will be used to find an element to attach the popup to. Defaults to the input element. */\n @FoundationProperty()\n public declare popupTarget: string;\n\n /**\n * Gets/sets the filter text.\n * \n * Setting the filter text only applies when allowUnmatched is enabled.\n */\n @FoundationProperty()\n public declare filterText: string;\n\n /** Sets the option builder callback that will be executed when building the option list in the dropdown. */\n @FoundationProperty()\n public declare optionBuilder: AutocompleteOptionBuilder | null | undefined;\n\n /** Sets the filter callback that will be executed when fetching options for the autocomplete dropdown. */\n @FoundationProperty()\n public declare filter: AutocompleteFilterCallback | null | undefined;\n\n /** Sets the selected text builder callback that will be executed when getting the selected text. */\n @FoundationProperty()\n public declare selectedTextBuilder: AutocompleteSelectedTextBuilder;\n\n /** Controls the open state of the dropdown. */\n @FoundationProperty()\n public declare open: boolean;\n\n /** Gets/sets the property key to match the value to an option. */\n @FoundationProperty()\n public declare matchKey: string | null | undefined;\n\n /** Returns whether the component has been initialized or not yet. */\n @FoundationProperty({ set: false })\n public declare isInitialized: boolean;\n\n /** Gets the currently active popup element when the dropdown is open. */\n @FoundationProperty({ set: false })\n public declare popupElement: HTMLElement | null;\n\n /** Sets the callback to be executed when the user selects an option, before the UI is updated to allow for validation. */\n @FoundationProperty()\n public declare beforeValueChange: (value: any) => boolean | Promise<boolean>;\n\n /** Adds options to the dropdown while it is open. Has no effect if the dropdown is closed. */\n public appendOptions(options: IAutocompleteOption[] | IAutocompleteOptionGroup[]): void {\n this._foundation.appendOptions(options);\n }\n\n /** Opens the dropdown. */\n public openDropdown(): void {\n this.open = true;\n }\n\n /** Closes the dropdown. */\n public closeDropdown(): void {\n this.open = false;\n }\n}\n", "import { FormFieldComponentDelegate, IFormFieldComponentDelegateOptions } from '../core/delegates/form-field-component-delegate';\nimport { ITextFieldComponent, TextFieldComponentDelegate, ITextFieldComponentDelegateOptions } from '../text-field';\nimport { IAutocompleteComponent } from './autocomplete';\nimport { AUTOCOMPLETE_CONSTANTS } from './autocomplete-constants';\nimport { IconComponentDelegate, IIconComponentDelegateConfig } from '../icon';\nimport { IBaseComponentDelegateConfig } from '../core/delegates/base-component-delegate';\nimport { ITextFieldComponentDelegateConfig } from '../text-field/text-field-component-delegate';\n\nexport type AutocompleteComponentDelegateProps = Partial<IAutocompleteComponent>;\nexport interface IAutocompleteComponentDelegateOptions extends IFormFieldComponentDelegateOptions {\n useDropdownIcon?: boolean;\n textFieldDelegateConfig?: ITextFieldComponentDelegateConfig;\n}\n\nexport interface IAutocompleteComponentDelegateConfig extends IBaseComponentDelegateConfig<IAutocompleteComponent, IAutocompleteComponentDelegateOptions> {}\n\nexport class AutocompleteComponentDelegate extends FormFieldComponentDelegate<IAutocompleteComponent, IAutocompleteComponentDelegateOptions> {\n private _textFieldDelegate: TextFieldComponentDelegate;\n\n constructor(config?: IAutocompleteComponentDelegateConfig) {\n super(config);\n }\n\n protected _build(): IAutocompleteComponent {\n const autocomplete = document.createElement(AUTOCOMPLETE_CONSTANTS.elementName) as IAutocompleteComponent;\n this._attachTextField(autocomplete);\n return autocomplete;\n }\n\n public get textFieldDelegate(): TextFieldComponentDelegate {\n return this._textFieldDelegate;\n }\n\n public get value(): any {\n return this._element.value;\n }\n public set value(value: any) {\n this._element.value = value;\n }\n\n public get disabled(): boolean {\n return this._textFieldDelegate.inputElement.disabled;\n }\n public set disabled(value: boolean) {\n this._textFieldDelegate.inputElement.disabled = value;\n }\n\n public get invalid(): boolean {\n return this._textFieldDelegate.invalid || false;\n }\n public set invalid(value: boolean) {\n this._textFieldDelegate.invalid = value;\n }\n\n public onChange(listener: (value: string) => void): void {\n this._element.addEventListener(AUTOCOMPLETE_CONSTANTS.events.CHANGE, (evt: CustomEvent) => listener(evt.detail));\n }\n\n public onFocus(listener: (evt: FocusEvent) => void): void {\n this._textFieldDelegate.inputElement.addEventListener('focus', (evt: FocusEvent) => listener(evt));\n }\n\n public onBlur(listener: (evt: FocusEvent) => void): void {\n this._textFieldDelegate.inputElement.addEventListener('blur', (evt: FocusEvent) => listener(evt));\n }\n\n private _attachTextField(autocomplete: IAutocompleteComponent): void {\n const textFieldConfig: ITextFieldComponentDelegateConfig = {\n props: { ...this._config.options?.textFieldDelegateConfig?.props },\n options: { ...this._config.options?.textFieldDelegateConfig?.options }\n };\n\n if (!textFieldConfig.options) {\n textFieldConfig.options = {};\n }\n\n if (this._config.options?.useDropdownIcon !== false && !textFieldConfig.options?.trailingElement) {\n textFieldConfig.options.trailingElement = this._createDropdownIconElement();\n }\n\n this._textFieldDelegate = new TextFieldComponentDelegate(textFieldConfig);\n autocomplete.appendChild(this._textFieldDelegate.element);\n }\n\n private _createDropdownIconElement(): HTMLElement {\n const config: IIconComponentDelegateConfig = {\n props: {\n slot: 'trailing',\n name: 'arrow_drop_down'\n },\n options: {\n attributes: { 'forge-dropdown-icon': '' }\n }\n };\n return new IconComponentDelegate(config).element;\n }\n}\n", "import { defineCustomElement } from '@tylertech/forge-core';\n\nimport { AutocompleteComponent } from './autocomplete';\n\nexport * from './autocomplete-adapter';\nexport * from './autocomplete-component-delegate';\nexport * from './autocomplete-constants';\nexport * from './autocomplete-foundation';\nexport * from './autocomplete-utils';\nexport * from './autocomplete';\n\nexport function defineAutocompleteComponent(): void {\n defineCustomElement(AutocompleteComponent);\n}\n"],
|
|
5
|
+
"mappings": "+lCAMA,IAAMA,EAA2C,GAAGC,gBAE9CC,GAAa,CACjB,KAAM,OACN,SAAU,WACV,SAAU,WACV,gBAAiB,kBACjB,mBAAoB,qBACpB,gBAAiB,kBACjB,aAAc,eACd,cAAe,gBACf,aAAc,eACd,eAAgB,iBAChB,yBAA0B,2BAC1B,iBAAkB,mBAClB,KAAM,OACN,UAAW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AO,CACL,KAAM,WACN,KAAM,iBACR,EACA,QAAS,CACP,WAAY,CAAE,sBAAuB,EAAG,CAC1C,CACF,EACA,OAAO,IAAIe,EAAsBf,CAAM,EAAE,OAC3C,CACF,ECrFO,SAASgB,IAAoC,CAClDC,EAAoBC,CAAqB,CAC3C",
|
|
6
|
+
"names": ["elementName", "COMPONENT_NAME_PREFIX", "attributes", "selectors", "FIELD_CONSTANTS", "numbers", "events", "AUTOCOMPLETE_CONSTANTS", "AutocompleteMode", "AutocompleteAdapter", "BaseAdapter", "component", "inputElements", "deepQuerySelectorAll", "AUTOCOMPLETE_CONSTANTS", "name", "value", "type", "listener", "identifier", "CHIP_FIELD_CONSTANTS", "config", "popupTarget", "ListDropdown", "targetElement", "POPUP_CONSTANTS", "isVisible", "_a", "dropdownElement", "options", "target", "activeElement", "getActiveElement", "dropdownIcon", "clearButton", "key", "id", "toggleAttribute", "selector", "_b", "values", "o", "dropdownEl", "textField", "textFieldRoot", "getShadowElement", "TEXT_FIELD_CONSTANTS", "chipField", "chipFieldRoot", "state", "OptionType", "isOptionType", "options", "type", "isOptionGroups", "o", "isDefined", "isObject", "isOptionTypes", "getSelectedOption", "value", "optionEqualPredicate", "option", "property", "isDeepEqual", "AutocompleteFoundation", "ListDropdownAwareFoundation", "_adapter", "AUTOCOMPLETE_CONSTANTS", "evt", "id", "randomChars", "isDefined", "debounce", "isOptionType", "previousValue", "currentValue", "Platform", "checkFocus", "filterText", "filterPromise", "e", "promiseIndex", "input", "value", "isRemovingAllChars", "isBackspacingLastChar", "isDeletingLastChar", "isEmpty", "sendFilterText", "sendValue", "filter", "resolve", "reject", "options", "userTriggered", "activateFirst", "activateSelected", "listOptionBuilder", "optionBuilder", "option", "parentElement", "config", "label", "highlightElement", "highlightTextHTML", "selectedOptions", "unselectedOptions", "o", "optionEqualPredicate", "selectedValue", "keepFocus", "data", "select", "selectedOption", "getSelectedOption", "index", "activeOptionIndex", "_a", "_b", "values", "allOptions", "flatOptions", "actualOption", "isString", "v", "fn", "cb", "template", "styles", "AutocompleteComponent", "ListDropdownAware", "IconRegistry", "tylIconArrowDropDown", "tylIconCheckBox", "tylIconCheckBoxOutlineBlank", "attachShadowTemplate", "AutocompleteFoundation", "AutocompleteAdapter", "AUTOCOMPLETE_CONSTANTS", "ensureChild", "name", "oldValue", "newValue", "coerceBoolean", "coerceNumber", "options", "__decorateClass", "FoundationProperty", "CustomElement", "TextFieldComponent", "PopupComponent", "ListComponent", "ListItemComponent", "DividerComponent", "SkeletonComponent", "LinearProgressComponent", "IconComponent", "AutocompleteComponentDelegate", "FormFieldComponentDelegate", "config", "autocomplete", "AUTOCOMPLETE_CONSTANTS", "value", "listener", "evt", "_a", "_b", "_c", "_d", "_e", "_f", "textFieldConfig", "__spreadValues", "TextFieldComponentDelegate", "IconComponentDelegate", "defineAutocompleteComponent", "defineCustomElement", "AutocompleteComponent"]
|
|
7
|
+
}
|
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
* Copyright 2023 Tyler Technologies, Inc.
|
|
4
4
|
* License: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
-
import{a,b,c,d,e,f}from"../chunks/chunk.
|
|
6
|
+
import{a,b,c,d,e,f}from"../chunks/chunk.XZOIRI4V.js";import"../chunks/chunk.27TSALYN.js";import"../chunks/chunk.6OKJPSUE.js";import"../chunks/chunk.DT7MZR5Y.js";import"../chunks/chunk.O4FB4BV5.js";import"../chunks/chunk.YPZNIYQL.js";import"../chunks/chunk.YWVKDJXZ.js";import"../chunks/chunk.MLV25D2G.js";import"../chunks/chunk.A47X5VG3.js";import"../chunks/chunk.DONAMICM.js";import"../chunks/chunk.ZUNZKRRK.js";import"../chunks/chunk.GO5A4GKZ.js";import"../chunks/chunk.6YPD6CQM.js";import"../chunks/chunk.4DAIIJ37.js";import"../chunks/chunk.I5BAZWUF.js";import"../chunks/chunk.V7WKXEZC.js";import"../chunks/chunk.7A6MX6CS.js";import"../chunks/chunk.WY7DECJD.js";import"../chunks/chunk.2DXG2R3M.js";import"../chunks/chunk.F3MP6AXF.js";import"../chunks/chunk.MZLPUI6R.js";import"../chunks/chunk.4WPFFNLH.js";import"../chunks/chunk.G45OZEIS.js";import"../chunks/chunk.YI4JTY4T.js";import"../chunks/chunk.3KQL7VAZ.js";import"../chunks/chunk.JHBCYICS.js";import"../chunks/chunk.6KTLOA7V.js";import"../chunks/chunk.SKLCDWYQ.js";import"../chunks/chunk.ARJ3EVVO.js";import"../chunks/chunk.FVRSGKJD.js";import"../chunks/chunk.U6WGJELL.js";import"../chunks/chunk.7XFU2W25.js";import"../chunks/chunk.U6FJJGO3.js";import"../chunks/chunk.Y66GSZJB.js";import"../chunks/chunk.47A2CN5U.js";import"../chunks/chunk.G5MGGEFP.js";import"../chunks/chunk.KTGSZEAG.js";import"../chunks/chunk.BE7PZANN.js";import"../chunks/chunk.Y4GKBJGI.js";import"../chunks/chunk.PN26D52V.js";import"../chunks/chunk.J2M2MXP2.js";import"../chunks/chunk.MCIQXNKY.js";export{a as DATE_PICKER_CONSTANTS,b as DatePickerAdapter,d as DatePickerComponent,e as DatePickerComponentDelegate,c as DatePickerFoundation,f as defineDatePickerComponent};
|
|
7
7
|
//# sourceMappingURL=index.js.map
|
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
* Copyright 2023 Tyler Technologies, Inc.
|
|
4
4
|
* License: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
-
import{a,b,c,d,e,f,g}from"../chunks/chunk.
|
|
6
|
+
import{a,b,c,d,e,f,g}from"../chunks/chunk.EE25TGNW.js";import"../chunks/chunk.27TSALYN.js";import"../chunks/chunk.6OKJPSUE.js";import"../chunks/chunk.DT7MZR5Y.js";import"../chunks/chunk.O4FB4BV5.js";import"../chunks/chunk.YPZNIYQL.js";import"../chunks/chunk.YWVKDJXZ.js";import"../chunks/chunk.MLV25D2G.js";import"../chunks/chunk.A47X5VG3.js";import"../chunks/chunk.DONAMICM.js";import"../chunks/chunk.ZUNZKRRK.js";import"../chunks/chunk.GO5A4GKZ.js";import"../chunks/chunk.6YPD6CQM.js";import"../chunks/chunk.4DAIIJ37.js";import"../chunks/chunk.I5BAZWUF.js";import"../chunks/chunk.V7WKXEZC.js";import"../chunks/chunk.7A6MX6CS.js";import"../chunks/chunk.WY7DECJD.js";import"../chunks/chunk.2DXG2R3M.js";import"../chunks/chunk.F3MP6AXF.js";import"../chunks/chunk.MZLPUI6R.js";import"../chunks/chunk.4WPFFNLH.js";import"../chunks/chunk.G45OZEIS.js";import"../chunks/chunk.YI4JTY4T.js";import"../chunks/chunk.3KQL7VAZ.js";import"../chunks/chunk.JHBCYICS.js";import"../chunks/chunk.6KTLOA7V.js";import"../chunks/chunk.SKLCDWYQ.js";import"../chunks/chunk.ARJ3EVVO.js";import"../chunks/chunk.FVRSGKJD.js";import"../chunks/chunk.U6WGJELL.js";import"../chunks/chunk.7XFU2W25.js";import"../chunks/chunk.U6FJJGO3.js";import"../chunks/chunk.Y66GSZJB.js";import"../chunks/chunk.47A2CN5U.js";import"../chunks/chunk.G5MGGEFP.js";import"../chunks/chunk.KTGSZEAG.js";import"../chunks/chunk.BE7PZANN.js";import"../chunks/chunk.Y4GKBJGI.js";import"../chunks/chunk.PN26D52V.js";import"../chunks/chunk.J2M2MXP2.js";import"../chunks/chunk.MCIQXNKY.js";export{b as DATE_RANGE_PICKER_CONSTANTS,a as DatePickerRange,f as DateRangeComponentDelegate,c as DateRangePickerAdapter,e as DateRangePickerComponent,d as DateRangePickerFoundation,g as defineDateRangePickerComponent};
|
|
7
7
|
//# sourceMappingURL=index.js.map
|
package/dist/esm/index.js
CHANGED
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
* Copyright 2023 Tyler Technologies, Inc.
|
|
4
4
|
* License: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
-
import{a as Cj}from"./chunks/chunk.4Y7EPWU2.js";import"./chunks/chunk.WINL2C7Q.js";import{a as mj,b as nj,c as oj,d as pj,e as qj,f as tj,g as vj}from"./chunks/chunk.P3IA2WTO.js";import{a as rj,b as sj,c as uj}from"./chunks/chunk.EGRUD7S7.js";import{a as vi,b as wi,c as xi,d as yi,e as zi,f as Ai,g as Bi,h as Ci,i as Di}from"./chunks/chunk.IJW7Z6YD.js";import"./chunks/chunk.TLCGGWBO.js";import{a as Ji,b as Ki,c as Li,d as Mi,e as Ni,f as Oi,g as Pi}from"./chunks/chunk.4FSAAN6W.js";import{a as Ii}from"./chunks/chunk.JHY2CKEH.js";import{a as Ei,b as Fi,c as Gi,d as Hi}from"./chunks/chunk.HPDBSBQJ.js";import{a as Qi,b as Ri,c as Si,d as Ti,e as Ui,f as Vi,g as Wi,h as Xi,i as Yi,j as Zi,k as _i,l as $i,m as aj,n as bj,o as cj,p as dj,q as ej,r as fj,s as gj}from"./chunks/chunk.26XTVQKW.js";import{a as hj,b as ij,c as jj,d as kj,e as lj}from"./chunks/chunk.4NI63FGK.js";import"./chunks/chunk.X2RP4QW3.js";import{a as hi,b as ii,c as ji,d as ki}from"./chunks/chunk.IP3OQKGW.js";import{a as Kh,b as Lh,c as Mh,d as Nh,e as Oh,f as Ph,g as Qh,h as Rh,i as Sh,j as Th,k as Uh,l as Vh,m as Wh,n as Xh,o as Yh,p as Zh,q as _h,r as $h,s as ai,t as bi,u as ci,v as di,w as ei,x as fi,y as gi}from"./chunks/chunk.J2VLKZWP.js";import"./chunks/chunk.LIKJD4SK.js";import{a as wj,b as xj,c as yj,d as zj,e as Aj,f as Bj}from"./chunks/chunk.Y5A7RQ5M.js";import"./chunks/chunk.E4NCI7MS.js";import{a as qi,b as ri,c as si,d as ti,e as ui}from"./chunks/chunk.BUCIIOGE.js";import{a as li,b as mi,c as ni,d as oi,e as pi}from"./chunks/chunk.HI2DQJZG.js";import{a as Gh,b as Hh,c as Ih,d as Jh}from"./chunks/chunk.ILRWZHH3.js";import"./chunks/chunk.AJJILT3A.js";import{a as vh,b as wh,c as xh,d as yh,e as zh}from"./chunks/chunk.7UKA4E5A.js";import{a as Ah,b as Bh,c as Ch,d as Dh,e as Eh,f as Fh}from"./chunks/chunk.BTBHIIGI.js";import{a as Lg,b as Mg,c as Ng}from"./chunks/chunk.AFLH5HUG.js";import{a as Og,b as Pg,c as Qg,d as th,e as uh}from"./chunks/chunk.UDAWTDPV.js";import{a as sh}from"./chunks/chunk.YUCLBBES.js";import{a as Xg,b as Yg,c as hh,d as lh,e as mh}from"./chunks/chunk.REH25ELY.js";import{a as nh,b as oh,c as ph,d as qh,e as rh}from"./chunks/chunk.K4DGAJOM.js";import{a as ih,b as jh,c as kh}from"./chunks/chunk.WP4QOOIS.js";import"./chunks/chunk.MNFGVNDI.js";import{a as Rg,b as Sg,c as Tg,d as Ug,e as Vg,f as Wg,g as Zg,h as gh}from"./chunks/chunk.7LI25R6R.js";import{a as dh,b as eh,c as fh}from"./chunks/chunk.77Y3EABF.js";import{a as _g,b as $g,c as ah,d as bh,e as ch}from"./chunks/chunk.LYOQ2RGP.js";import"./chunks/chunk.WF2MFLG4.js";import{a as Cf,b as Df,c as Ef}from"./chunks/chunk.H4Z4DHPA.js";import{a as Ff,b as Gf,c as Hf,d as If,e as Jf,f as Kf,g as Lf,h as Mf,i as Nf,j as Of,k as Pf}from"./chunks/chunk.ROR6JMAE.js";import{a as Qf,b as Rf,c as Sf,d as Tf,e as Uf,f as Vf}from"./chunks/chunk.INCKI5IX.js";import"./chunks/chunk.QQDDGRY6.js";import{a as gf,b as hf,c as jf}from"./chunks/chunk.RBAVT3XQ.js";import{a as pf,b as qf,c as rf}from"./chunks/chunk.JEN6YP2Q.js";import{a as kf,b as lf,c as mf,d as nf,e as of}from"./chunks/chunk.K2C4W3CO.js";import{a as cf,b as df,c as ef,d as ff}from"./chunks/chunk.UBD2DPQN.js";import{a as sf,b as tf,c as uf,d as vf,e as wf,f as xf}from"./chunks/chunk.RYMPSU4J.js";import{a as yf,b as zf,c as Af,d as Bf}from"./chunks/chunk.VC2BG2RS.js";import{a as Te,b as Ue,c as Ve,d as We,e as Xe,f as Ye}from"./chunks/chunk.PWKRTM6B.js";import{a as Me,b as Ne,c as Oe,d as Pe,e as Qe,f as Re,g as Se}from"./chunks/chunk.7B3AZYBR.js";import"./chunks/chunk.4RPIQ65C.js";import{a as Ze,b as _e,c as $e,d as af,e as bf}from"./chunks/chunk.PYIFIHDK.js";import{a as Fe,b as Ge,c as He,d as Ie,e as Je,f as Ke,g as Le}from"./chunks/chunk.2BNDXFI5.js";import"./chunks/chunk.MHEJZJT3.js";import{a as $c}from"./chunks/chunk.IGTXLDZS.js";import{A as te,B as ue,C as ve,D as we,E as xe,F as ye,G as Be,a as Vd,b as Wd,c as Xd,d as Yd,e as Zd,f as _d,g as $d,h as ae,i as be,j as ce,k as de,l as ee,m as fe,n as ge,o as he,p as ie,q as je,r as ke,s as le,t as me,u as ne,v as oe,w as pe,x as qe,y as re,z as se}from"./chunks/chunk.6OKJPSUE.js";import{A as Rd,B as Sd,C as Td,D as Ud,E as ze,F as Ae,a as qd,b as rd,c as sd,d as td,e as ud,f as vd,g as wd,h as xd,i as yd,j as zd,k as Bd,l as Cd,m as Dd,n as Ed,o as Fd,p as Gd,q as Hd,r as Id,s as Jd,t as Kd,u as Ld,v as Md,w as Nd,x as Od,y as Pd,z as Qd}from"./chunks/chunk.DT7MZR5Y.js";import{a as fd,b as gd,c as hd,d as id,e as jd,f as kd,g as ld,h as md,i as nd,j as od,k as pd}from"./chunks/chunk.O4FB4BV5.js";import{a as Ad}from"./chunks/chunk.YPZNIYQL.js";import{a as Ce,b as De,c as Ee}from"./chunks/chunk.Y72NANFX.js";import{a as eb,b as fb,c as wb,d as xb,e as yb,f as zb,g as Ab,h as Bb,i as Cb,j as Db,k as Eb}from"./chunks/chunk.VPH7GX4C.js";import{a as $a,b as ab,c as bb,d as db}from"./chunks/chunk.YWVKDJXZ.js";import{a as _a,b as cb}from"./chunks/chunk.MLV25D2G.js";import{a as qa,b as ra,c as sa}from"./chunks/chunk.UT7QUGAO.js";import{a as gb,b as hb,c as ib,d as tb,e as ub,f as vb}from"./chunks/chunk.HMCOY5WC.js";import"./chunks/chunk.A47X5VG3.js";import"./chunks/chunk.DONAMICM.js";import{a as Wa,b as Xa,c as Ya,d as Za}from"./chunks/chunk.ZUNZKRRK.js";import"./chunks/chunk.GO5A4GKZ.js";import"./chunks/chunk.CKS5A4YN.js";import{a as pb,b as qb,c as rb,d as sb}from"./chunks/chunk.5FPFRE4H.js";import{a as ob}from"./chunks/chunk.DYNEJBYK.js";import{a as jb,b as kb,c as lb,d as mb,e as nb}from"./chunks/chunk.C7AN6FMW.js";import{a as jc,b as kc,c as lc,d as mc,e as nc}from"./chunks/chunk.N4PVZUJX.js";import{a as Dc,b as Ec,c as Fc,d as Gc,e as Hc}from"./chunks/chunk.RB5BTA5N.js";import{a as zc,b as Ac,c as Bc,d as Cc}from"./chunks/chunk.RE5X26QT.js";import{a as wc,b as xc,c as yc}from"./chunks/chunk.72AUOVCD.js";import{a as oc,b as pc,c as qc,d as rc,e as sc,f as tc,g as uc,h as vc}from"./chunks/chunk.G3ZTZ4AN.js";import{a as Sc,b as Tc,c as Uc,d as Vc,e as Wc}from"./chunks/chunk.K6AFP52A.js";import{a as Qb,b as Rb,c as Sb,d as Tb,e as Ub}from"./chunks/chunk.F2B24WLK.js";import{a as ad,b as bd,c as cd,d as dd,e as ed}from"./chunks/chunk.PALRSBSY.js";import{a as Xc,b as Yc,c as Zc,d as _c}from"./chunks/chunk.BJE6O5ES.js";import{a as la,b as ma,c as na,d as oa,e as pa}from"./chunks/chunk.7BESNUTG.js";import{a as ga,b as ha,c as ia,d as ja,e as ka}from"./chunks/chunk.GCR7QZRO.js";import{a as g,b as h,c as da,d as ea,e as fa}from"./chunks/chunk.4BEI55KI.js";import{a as $f,b as ag,c as bg,d as cg,e as dg,f as Kg}from"./chunks/chunk.T76JYRPR.js";import{a as sg,b as tg,c as ug,d as vg,e as wg}from"./chunks/chunk.P4EW5GAS.js";import{a as Wf,b as Xf,c as Yf,d as Zf,e as _f}from"./chunks/chunk.22OZJNVS.js";import"./chunks/chunk.MUEXD4SD.js";import"./chunks/chunk.KKMKGN2I.js";import{a as Ta,b as Ua,c as Va}from"./chunks/chunk.KU5CXXGS.js";import"./chunks/chunk.FZQCBRPK.js";import{a as Ja,b as Ka,c as La,d as Ma}from"./chunks/chunk.KE6GOYAB.js";import{a as wa,b as xa,c as Fa,d as Ga,e as Ha,f as Ia}from"./chunks/chunk.RG6CDWEX.js";import"./chunks/chunk.6YPD6CQM.js";import{a as Nc,b as Oc,c as Pc,d as Qc,e as Rc}from"./chunks/chunk.TWZXQQQO.js";import{a as ta,b as ua,c as va}from"./chunks/chunk.VAKNDCLP.js";import"./chunks/chunk.V4TCOZLK.js";import"./chunks/chunk.4DAIIJ37.js";import{a as kg,b as lg,c as mg}from"./chunks/chunk.XUW3GG46.js";import{a as ng,b as og,c as pg,d as qg,e as rg}from"./chunks/chunk.XZ4WI7VK.js";import{a as Vb,b as Wb,c as Xb,d as Yb,e as Zb,f as _b}from"./chunks/chunk.TR5YMNJJ.js";import{a as Fg,b as Gg,c as Hg,d as Ig,e as Jg}from"./chunks/chunk.Q7LFOS2I.js";import{a as xg,b as yg,c as zg,d as Dg,e as Eg}from"./chunks/chunk.XQ2EQIDS.js";import{a as Ag,b as Bg,c as Cg}from"./chunks/chunk.HBMNXZES.js";import{a as Ib,b as Jb,c as Mb,d as Nb,e as Ob,f as Pb}from"./chunks/chunk.SXTTEIIH.js";import{a as Kb,b as Lb}from"./chunks/chunk.J6WCFQSS.js";import{a as Fb,b as Gb,c as Hb}from"./chunks/chunk.BJZ7RB5F.js";import{a as Ic,b as Jc,c as Kc,d as Lc,e as Mc}from"./chunks/chunk.I5BAZWUF.js";import{a as Na,b as Oa,c as Pa,d as Qa,e as Ra,f as Sa}from"./chunks/chunk.V7WKXEZC.js";import{a as $b,b as ac,c as bc,d as cc}from"./chunks/chunk.7A6MX6CS.js";import{a as ya,b as za,c as Aa,d as Ba,e as Ca,f as Da,g as Ea}from"./chunks/chunk.WY7DECJD.js";import"./chunks/chunk.2DXG2R3M.js";import"./chunks/chunk.F3MP6AXF.js";import{a as eg,b as fg,c as gg,d as hg,e as ig,f as jg}from"./chunks/chunk.FRYLJWYL.js";import"./chunks/chunk.MZLPUI6R.js";import{a as ec,b as fc,c as gc,d as hc,e as ic}from"./chunks/chunk.4WPFFNLH.js";import{a as dc}from"./chunks/chunk.G45OZEIS.js";import"./chunks/chunk.YI4JTY4T.js";import"./chunks/chunk.3KQL7VAZ.js";import{a as R,b as S,c as T,d as U,e as V,f as W,g as X,h as Y,i as Z,j as _,k as $,l as aa,m as ba,n as ca}from"./chunks/chunk.JHBCYICS.js";import"./chunks/chunk.6KTLOA7V.js";import"./chunks/chunk.SKLCDWYQ.js";import{a as j}from"./chunks/chunk.ARJ3EVVO.js";import{a as K,b as L,c as M,d as N,e as O,f as P,g as Q}from"./chunks/chunk.FVRSGKJD.js";import{a as k,b as l,c as m,d as n,e as o,f as p,g as q,h as t,i as u,j as v,k as w,l as x,m as y,n as z,o as A,p as B,q as C}from"./chunks/chunk.U6WGJELL.js";import{a as r,b as s}from"./chunks/chunk.7XFU2W25.js";import"./chunks/chunk.U6FJJGO3.js";import{a as D,b as E,c as F,d as G,e as H,f as I,g as J}from"./chunks/chunk.Y66GSZJB.js";import{a as i}from"./chunks/chunk.47A2CN5U.js";import{a as b}from"./chunks/chunk.G5MGGEFP.js";import"./chunks/chunk.KTGSZEAG.js";import{b as c,c as d,d as e,e as f}from"./chunks/chunk.BE7PZANN.js";import{l as a}from"./chunks/chunk.Y4GKBJGI.js";import"./chunks/chunk.PN26D52V.js";import"./chunks/chunk.J2M2MXP2.js";import"./chunks/chunk.MCIQXNKY.js";export{Ki as ACCEPTABLE_KEYS,ma as ACCORDION_CONSTANTS,Ic as ALLOWED_CHILDREN,ag as APP_BAR_CONSTANTS,ug as APP_BAR_HELP_BUTTON_CONSTANTS,kg as APP_BAR_MENU_BUTTON_CONSTANTS,og as APP_BAR_NOTIFICATION_BUTTON_CONSTANTS,Fg as APP_BAR_PROFILE_BUTTON_CONSTANTS,eg as APP_BAR_SEARCH_CONSTANTS,eb as AUTOCOMPLETE_CONSTANTS,Ib as AVATAR_CONSTANTS,la as AccordionAdapter,oa as AccordionComponent,na as AccordionFoundation,bg as AppBarAdapter,dg as AppBarComponent,cg as AppBarFoundation,sg as AppBarHelpButtonAdapter,vg as AppBarHelpButtonComponent,tg as AppBarHelpButtonFoundation,lg as AppBarMenuButtonComponent,ng as AppBarNotificationButtonAdapter,qg as AppBarNotificationButtonComponent,pg as AppBarNotificationButtonFoundation,Gg as AppBarProfileButtonAdapter,Ig as AppBarProfileButtonComponent,Hg as AppBarProfileButtonFoundation,hg as AppBarSearchAdapter,ig as AppBarSearchComponent,gg as AppBarSearchFoundation,wb as AutocompleteAdapter,Cb as AutocompleteComponent,Db as AutocompleteComponentDelegate,Bb as AutocompleteFoundation,fb as AutocompleteMode,Jb as AvatarAdapter,Nb as AvatarComponent,Ob as AvatarComponentDelegate,Mb as AvatarFoundation,Qb as BACKDROP_CONSTANTS,Vb as BADGE_CONSTANTS,jc as BANNER_CONSTANTS,cf as BASE_DRAWER_CONSTANTS,Rg as BASE_SELECT_CONSTANTS,Dc as BOTTOM_SHEET_CONSTANTS,Sc as BUSY_INDICATOR_CONSTANTS,Jc as BUTTON_CONSTANTS,Xc as BUTTON_TOGGLE_CONSTANTS,ad as BUTTON_TOGGLE_GROUP_CONSTANTS,Rb as BackdropAdapter,Tb as BackdropComponent,Sb as BackdropFoundation,Wb as BadgeAdapter,Yb as BadgeComponent,Zb as BadgeComponentDelegate,Xb as BadgeFoundation,kc as BannerAdapter,mc as BannerComponent,lc as BannerFoundation,b as BaseAdapter,a as BaseComponent,i as BaseComponentDelegate,df as BaseDrawerAdapter,ff as BaseDrawerComponent,ef as BaseDrawerFoundation,gh as BaseSelectAdapter,Zg as BaseSelectComponent,Wg as BaseSelectFoundation,Ec as BottomSheetAdapter,Gc as BottomSheetComponent,Fc as BottomSheetFoundation,Tc as BusyIndicatorAdapter,Vc as BusyIndicatorComponent,Uc as BusyIndicatorFoundation,Kc as ButtonComponent,Lc as ButtonComponentDelegate,Yc as ButtonToggleAdapter,_c as ButtonToggleComponent,Zc as ButtonToggleFoundation,bd as ButtonToggleGroupAdapter,dd as ButtonToggleGroupComponent,cd as ButtonToggleGroupFoundation,qd as CALENDAR_CONSTANTS,ze as CALENDAR_DROPDOWN_CONSTANTS,fd as CALENDAR_MENU_CONSTANTS,Ce as CARD_CONSTANTS,f as CDN_BASE_URL,qc as CHECKBOX_CONSTANTS,kb as CHIP_CONSTANTS,gb as CHIP_FIELD_CONSTANTS,jb as CHIP_SET_CONSTANTS,Nc as CIRCULAR_PROGRESS_CONSTANTS,Fb as COLOR_CONSTANTS,Fe as COLOR_PICKER_CONSTANTS,c as COMPONENT_NAME_PREFIX,ve as CalendarAdapter,xe as CalendarComponent,ye as CalendarComponentDelegate,Ae as CalendarDropdown,we as CalendarFoundation,md as CalendarMenuAdapter,od as CalendarMenuComponent,nd as CalendarMenuFoundation,sd as CalendarMonthFocus,De as CardComponent,wi as CellAlign,sc as CheckboxAdapter,tc as CheckboxComponent,uc as CheckboxComponentDelegate,rc as CheckboxFoundation,lb as ChipAdapter,nb as ChipComponent,hb as ChipFieldAdapter,tb as ChipFieldComponent,ub as ChipFieldComponentDelegate,ib as ChipFieldFoundation,mb as ChipFoundation,pb as ChipSetAdapter,rb as ChipSetComponent,qb as ChipSetFoundation,Oc as CircularProgressAdapter,Qc as CircularProgressComponent,Pc as CircularProgressFoundation,Ie as ColorPickerAdapter,Ke as ColorPickerComponent,Je as ColorPickerFoundation,He as ColorPickerValueType,Te as DATE_PICKER_CONSTANTS,Ne as DATE_RANGE_PICKER_CONSTANTS,Ge as DEFAULT_COLOR,fg as DEFAULT_COMBINED_OPTIONS,K as DEFAULT_DATE_MASK,Ze as DIALOG_CONSTANTS,qa as DIVIDER_CONSTANTS,gf as DRAWER_CONSTANTS,L as DateInputMask,Ue as DatePickerAdapter,We as DatePickerComponent,Xe as DatePickerComponentDelegate,Ve as DatePickerFoundation,Me as DatePickerRange,Ad as DateRange,Re as DateRangeComponentDelegate,Oe as DateRangePickerAdapter,Qe as DateRangePickerComponent,Pe as DateRangePickerFoundation,rd as DayOfWeek,$e as DialogAdapter,af as DialogComponent,_e as DialogFoundation,ra as DividerComponent,hf as DrawerComponent,ga as EXPANSION_PANEL_CONSTANTS,ha as ExpansionPanelAdapter,ja as ExpansionPanelComponent,ia as ExpansionPanelFoundation,sf as FILE_PICKER_CONSTANTS,yf as FLOATING_ACTION_BUTTON_CONSTANTS,Xa as FLOATING_LABEL_CONSTANTS,tf as FilePickerAdapter,vf as FilePickerComponent,wf as FilePickerComponentDelegate,uf as FilePickerFoundation,zf as FloatingActionButton,Af as FloatingActionButtonComponentDelegate,Za as FloatingLabel,Wa as FloatingLabelAdapter,Ya as FloatingLabelFoundation,za as ForgeRipple,Aa as ForgeRippleFoundation,j as FormFieldComponentDelegate,y as HAS_MERIDIEM_REGEX,$b as ICON_BUTTON_CONSTANTS,e as ICON_CLASS_NAME,R as ICON_CONSTANTS,S as ICON_REGISTRY_KEY,Cf as INLINE_MESSAGE_CONSTANTS,k as ISO_8601_REGEX,l as ISO_TIMEZONE_REGEX,T as IconAdapter,ac as IconButtonComponent,bc as IconButtonComponentDelegate,aa as IconComponent,ba as IconComponentDelegate,$ as IconFoundation,U as IconRegistry,Df as InlineMessageComponent,Ff as KEYBOARD_SHORTCUT_CONSTANTS,Li as KEYCODE_MAP,d as KEYSTROKE_DEBOUNCE_THRESHOLD,Hf as KeyboardShortcutAdapter,Of as KeyboardShortcutComponent,Nf as KeyboardShortcutFoundation,Qf as LABEL_VALUE_CONSTANTS,ta as LINEAR_PROGRESS_CONSTANTS,wa as LIST_CONSTANTS,xa as LIST_ITEM_CONSTANTS,Rf as LabelValueAdapter,Tf as LabelValueComponent,Uf as LabelValueComponentDelegate,Sf as LabelValueFoundation,ua as LinearProgressComponent,Ja as ListAdapter,La as ListComponent,Ka as ListFoundation,Fa as ListItemAdapter,Ha as ListItemComponent,Ga as ListItemFoundation,Wf as MENU_CONSTANTS,pf as MINI_DRAWER_CONSTANTS,lf as MODAL_DRAWER_CONSTANTS,Xf as MenuAdapter,Zf as MenuComponent,Yf as MenuFoundation,qf as MiniDrawerComponent,kf as ModalDrawerAdapter,nf as ModalDrawerComponent,mf as ModalDrawerFoundation,g as OPEN_ICON_CONSTANTS,$g as OPTION_CONSTANTS,dh as OPTION_GROUP_CONSTANTS,da as OpenIconAdapter,ea as OpenIconComponent,h as OpenIconFoundation,_g as OptionAdapter,bh as OptionComponent,ah as OptionFoundation,eh as OptionGroupComponent,xb as OptionType,Lg as PAGE_STATE_CONSTANTS,Og as PAGINATOR_CONSTANTS,x as PARSEABLE_TIME_FORMAT,Na as POPUP_CONSTANTS,vh as PRODUCT_ICON_CONSTANTS,xg as PROFILE_CARD_CONSTANTS,Mg as PageStateComponent,Qg as PaginatorAdapter,th as PaginatorComponent,Pg as PaginatorFoundation,Pa as PopupAdapter,Oa as PopupAnimationType,Ra as PopupComponent,Qa as PopupFoundation,wh as ProductIconAdapter,yh as ProductIconComponent,xh as ProductIconFoundation,yg as ProfileCardAdapter,Dg as ProfileCardComponent,zg as ProfileCardFoundation,Ah as QUANTITY_FIELD_CONSTANTS,Bh as QuantityFieldAdapter,Dh as QuantityFieldComponent,Eh as QuantityFieldComponentDelegate,Ch as QuantityFieldFoundation,wc as RADIO_CONSTANTS,ya as RIPPLE_CONSTANTS,xc as RadioComponent,Ba as RippleAdapter,Da as RippleComponent,Ca as RippleFoundation,ih as SCAFFOLD_CONSTANTS,nh as SELECT_CONSTANTS,Xg as SELECT_DROPDOWN_CONSTANTS,Ta as SKELETON_CONSTANTS,Gh as SLIDER_CONSTANTS,di as SPLIT_VIEW_CONSTANTS,Kh as SPLIT_VIEW_PANEL_CONSTANTS,wj as STACK_CONSTANTS,qi as STEPPER_CONSTANTS,li as STEP_CONSTANTS,zc as SWITCH_CONSTANTS,jh as ScaffoldComponent,oh as SelectAdapter,qh as SelectComponent,sh as SelectComponentDelegate,hh as SelectDropdownAdapter,lh as SelectDropdownComponent,Yg as SelectDropdownFoundation,ph as SelectFoundation,Sg as SelectOptionType,Ua as SkeletonComponent,Hh as SliderComponent,Ih as SliderComponentDelegate,xi as SortDirection,hi as SplitViewAdapter,Lh as SplitViewAnimatingLayer,ji as SplitViewComponent,ii as SplitViewFoundation,ei as SplitViewPanelAdapter,fi as SplitViewPanelComponent,ci as SplitViewPanelFoundation,yj as StackAdapter,xj as StackAlignMode,Aj as StackComponent,zj as StackFoundation,mi as StepAdapter,oi as StepComponent,ni as StepFoundation,ri as StepperAdapter,ti as StepperComponent,si as StepperFoundation,Ac as SwitchComponent,Bc as SwitchComponentDelegate,vi as TABLE_CONSTANTS,Ji as TAB_BAR_CONSTANTS,Ei as TAB_CONSTANTS,_a as TEXT_FIELD_CONSTANTS,Qi as TIME_PICKER_CONSTANTS,hj as TOAST_CONSTANTS,Ag as TOOLBAR_CONSTANTS,dc as TOOLTIP_CONSTANTS,M as TWELVE_HOUR_TIME_MASK,N as TWELVE_HOUR_TIME_MASK_WITH_SECONDS,w as TWELVE_HOUR_TIME_REGEX,O as TWENTY_FOUR_HOUR_TIME_MASK,P as TWENTY_FOUR_HOUR_TIME_MASK_WITH_SECONDS,v as TWENTY_FOUR_HOUR_TIME_REGEX,Fi as TabAdapter,Ni as TabBarAdapter,Oi as TabBarComponent,Mi as TabBarFoundation,Hi as TabComponent,Gi as TabFoundation,zi as TableAdapter,Ci as TableComponent,yi as TableFilterType,Bi as TableFoundation,Ai as TableRow,$a as TextFieldAdapter,bb as TextFieldComponent,cb as TextFieldComponentDelegate,ab as TextFieldFoundation,Q as TimeInputMask,Ri as TimePickerAdapter,ej as TimePickerComponent,fj as TimePickerComponentDelegate,dj as TimePickerFoundation,ij as ToastAdapter,kj as ToastComponent,jj as ToastFoundation,Bg as ToolbarComponent,fc as TooltipAdapter,hc as TooltipComponent,gc as TooltipFoundation,rj as VIEW_CONSTANTS,mj as VIEW_SWITCHER_CONSTANTS,nj as ViewAnimationDirection,sj as ViewComponent,pj as ViewSwitcherAdapter,oj as ViewSwitcherAnimationType,tj as ViewSwitcherComponent,qj as ViewSwitcherFoundation,ec as attachTooltip,X as awaitIconDefinition,Uh as clampSize,Oh as clearState,te as coerceDateFromValue,bi as createOverlay,t as createSvgFromString,pa as defineAccordionComponent,Kg as defineAppBarComponent,wg as defineAppBarHelpButtonComponent,mg as defineAppBarMenuButtonComponent,rg as defineAppBarNotificationButtonComponent,Jg as defineAppBarProfileButtonComponent,jg as defineAppBarSearchComponent,Eb as defineAutocompleteComponent,Pb as defineAvatarComponent,Ub as defineBackdropComponent,_b as defineBadgeComponent,nc as defineBannerComponent,Hc as defineBottomSheetComponent,Wc as defineBusyIndicatorComponent,Mc as defineButtonComponent,$c as defineButtonToggleComponent,ed as defineButtonToggleGroupComponent,Be as defineCalendarComponent,pd as defineCalendarMenuComponent,Ee as defineCardComponent,vc as defineCheckboxComponent,ob as defineChipComponent,vb as defineChipFieldComponent,sb as defineChipSetComponent,Rc as defineCircularProgressComponent,Le as defineColorPickerComponent,Cj as defineComponents,Ye as defineDatePickerComponent,Se as defineDateRangePickerComponent,bf as defineDialogComponent,sa as defineDividerComponent,jf as defineDrawerComponent,ka as defineExpansionPanelComponent,xf as defineFilePickerComponent,Bf as defineFloatingActionButtonComponent,cc as defineIconButtonComponent,ca as defineIconComponent,Ef as defineInlineMessageComponent,Pf as defineKeyboardShortcutComponent,Vf as defineLabelValueComponent,va as defineLinearProgressComponent,Ma as defineListComponent,Ia as defineListItemComponent,_f as defineMenuComponent,rf as defineMiniDrawerComponent,of as defineModalDrawerComponent,fa as defineOpenIconComponent,ch as defineOptionComponent,fh as defineOptionGroupComponent,Ng as definePageStateComponent,uh as definePaginatorComponent,Sa as definePopupComponent,zh as defineProductIconComponent,Eg as defineProfileCardComponent,Fh as defineQuantityFieldComponent,yc as defineRadioComponent,Ea as defineRippleComponent,kh as defineScaffoldComponent,rh as defineSelectComponent,mh as defineSelectDropdownComponent,Va as defineSkeletonComponent,Jh as defineSliderComponent,ki as defineSplitViewComponent,gi as defineSplitViewPanelComponent,Bj as defineStackComponent,pi as defineStepComponent,ui as defineStepperComponent,Cc as defineSwitchComponent,Pi as defineTabBarComponent,Ii as defineTabComponent,Di as defineTableComponent,db as defineTextFieldComponent,gj as defineTimePickerComponent,lj as defineToastComponent,Cg as defineToolbarComponent,ic as defineTooltipComponent,uj as defineViewComponent,vj as defineViewSwitcherComponent,If as elementAcceptsTextInput,$f as elementName,s as eventIncludesArrowKey,Sd as eventIncludesDate,Td as eventIncludesElement,Z as fetchIconContent,Mf as fixKey,n as formatDate,Od as getAccessibleHeader,ne as getAllYearOptions,W as getCachedIcon,Qd as getClearButton,Hb as getColor,bj as getCurrentTimeOfDayMillis,Yh as getCursor,Gd as getDateElement,Cd as getDateId,ee as getDateRangeFromDates,Fd as getDateRow,Hd as getDateSpacerElement,fe as getDatesFromDateRange,he as getDatesInRange,Ed as getDayElement,Bd as getDayId,ie as getEventDescriptions,Jd as getEventElement,Id as getEventWrapperElement,Dd as getEventWrapperId,re as getEventsOnDate,Xd as getFirstDateOfWeek,Zd as getFirstDayOfMonth,xd as getFirstDayOfWeekForLocale,Pd as getFooter,gd as getGrid,hd as getGridItems,Zh as getHandleIcon,Ld as getHeader,qe as getIndexOfDate,p as getLastDateOfMonth,Yd as getLastDateOfWeek,id as getList,jd as getListItems,ud as getLocalizedDayOfMonth,td as getLocalizedDayOfWeek,vd as getLocalizedMonth,wd as getLocalizedYear,ge as getMinAndMaxDates,Lf as getModiferKeysString,Md as getMonthButtonContent,Vd as getMonthDates,q as getMonthLength,le as getMonthOptions,se as getMultipleFromRange,ai as getPixelDimension,kd as getScrollSpy,zb as getSelectedOption,_d as getSortedDaysOfWeek,_h as getSplitViewPanelSibling,Lb as getTextColor,Gb as getThemeColor,Rd as getTodayButton,Kd as getTooltip,Xh as getValuenow,Wd as getWeekDates,yd as getWeekendDaysForLocale,Nd as getYearButtonContent,me as getYearOptions,Wh as handleBoundariesAfterResize,Vh as handleBoundariesDuringResize,D as highlightTextHTML,Zi as hoursToMillis,Mh as initState,pe as isDisabled,ae as isInMonth,be as isInRange,Ug as isOptionGroupObject,Vg as isOptionObject,yb as isOptionType,zd as isRtlLocale,u as isSafeSvg,o as isSameDate,Tg as isSelectOptionType,oe as isSelected,B as isSupportedTimeFormat,$d as isToday,Qh as keyboardResize,Kf as matchKeyCombination,Sh as maxResize,cj as mergeDateWithTime,Ui as millisToHours,Wi as millisToMinutes,Vi as millisToMinutesClamped,Yi as millisToSeconds,Xi as millisToSecondsClamped,Ti as millisToTimeString,Rh as minResize,_i as minutesToMillis,pc as numbers,Ab as optionEqualPredicate,je as parseDateOffset,m as parseDateString,Jf as parseKeyCombinations,$h as parseSize,ke as parseYearRange,F as percentToPixels,G as pixelsToPercent,Ph as pointerResize,r as proxyShadowScrollEvent,Kb as randomHexColor,ld as removeAllExceptLastChild,Y as removeIconListener,Th as resizeSibling,J as safeMax,I as safeMin,_ as sanitizeExternalType,V as sanitizeSvgContent,H as scaleValue,$i as secondsToMillis,Nh as setState,Ud as setTabindexOnElement,ue as shouldHandleEvent,ce as sortDates,de as splitIntoWeeks,oc as strings,aj as stripSecondsFromMillis,Gf as textInputTypes,Si as timeStringToMillis,A as tokenize12HourTimeString,z as tokenize24HourTimeString,C as tryCoerceTimeString,E as userInteractionListener};
|
|
6
|
+
import{a as Cj}from"./chunks/chunk.LYM6SPBV.js";import"./chunks/chunk.WINL2C7Q.js";import{a as mj,b as nj,c as oj,d as pj,e as qj,f as tj,g as vj}from"./chunks/chunk.P3IA2WTO.js";import{a as rj,b as sj,c as uj}from"./chunks/chunk.EGRUD7S7.js";import{a as vi,b as wi,c as xi,d as yi,e as zi,f as Ai,g as Bi,h as Ci,i as Di}from"./chunks/chunk.IJW7Z6YD.js";import"./chunks/chunk.TLCGGWBO.js";import{a as Ji,b as Ki,c as Li,d as Mi,e as Ni,f as Oi,g as Pi}from"./chunks/chunk.4FSAAN6W.js";import{a as Ii}from"./chunks/chunk.JHY2CKEH.js";import{a as Ei,b as Fi,c as Gi,d as Hi}from"./chunks/chunk.HPDBSBQJ.js";import{a as Qi,b as Ri,c as Si,d as Ti,e as Ui,f as Vi,g as Wi,h as Xi,i as Yi,j as Zi,k as _i,l as $i,m as aj,n as bj,o as cj,p as dj,q as ej,r as fj,s as gj}from"./chunks/chunk.2NSEMS3F.js";import{a as hj,b as ij,c as jj,d as kj,e as lj}from"./chunks/chunk.4NI63FGK.js";import"./chunks/chunk.X2RP4QW3.js";import{a as hi,b as ii,c as ji,d as ki}from"./chunks/chunk.7AEMNSV3.js";import{a as Kh,b as Lh,c as Mh,d as Nh,e as Oh,f as Ph,g as Qh,h as Rh,i as Sh,j as Th,k as Uh,l as Vh,m as Wh,n as Xh,o as Yh,p as Zh,q as _h,r as $h,s as ai,t as bi,u as ci,v as di,w as ei,x as fi,y as gi}from"./chunks/chunk.MBDF4C2J.js";import"./chunks/chunk.LIKJD4SK.js";import{a as wj,b as xj,c as yj,d as zj,e as Aj,f as Bj}from"./chunks/chunk.Y5A7RQ5M.js";import"./chunks/chunk.E4NCI7MS.js";import{a as qi,b as ri,c as si,d as ti,e as ui}from"./chunks/chunk.BUCIIOGE.js";import{a as li,b as mi,c as ni,d as oi,e as pi}from"./chunks/chunk.HI2DQJZG.js";import{a as Gh,b as Hh,c as Ih,d as Jh}from"./chunks/chunk.ILRWZHH3.js";import"./chunks/chunk.AJJILT3A.js";import{a as vh,b as wh,c as xh,d as yh,e as zh}from"./chunks/chunk.7UKA4E5A.js";import{a as Ah,b as Bh,c as Ch,d as Dh,e as Eh,f as Fh}from"./chunks/chunk.BTBHIIGI.js";import{a as Lg,b as Mg,c as Ng}from"./chunks/chunk.AFLH5HUG.js";import{a as Og,b as Pg,c as Qg,d as th,e as uh}from"./chunks/chunk.V6PXSHJ4.js";import{a as sh}from"./chunks/chunk.ASJHDPFL.js";import{a as Xg,b as Yg,c as hh,d as lh,e as mh}from"./chunks/chunk.LJU5WSSF.js";import{a as nh,b as oh,c as ph,d as qh,e as rh}from"./chunks/chunk.CDUN4ONU.js";import{a as ih,b as jh,c as kh}from"./chunks/chunk.WP4QOOIS.js";import"./chunks/chunk.MNFGVNDI.js";import{a as Rg,b as Sg,c as Tg,d as Ug,e as Vg,f as Wg,g as Zg,h as gh}from"./chunks/chunk.ELV22KTH.js";import{a as dh,b as eh,c as fh}from"./chunks/chunk.77Y3EABF.js";import{a as _g,b as $g,c as ah,d as bh,e as ch}from"./chunks/chunk.LYOQ2RGP.js";import"./chunks/chunk.WF2MFLG4.js";import{a as Cf,b as Df,c as Ef}from"./chunks/chunk.H4Z4DHPA.js";import{a as Ff,b as Gf,c as Hf,d as If,e as Jf,f as Kf,g as Lf,h as Mf,i as Nf,j as Of,k as Pf}from"./chunks/chunk.ROR6JMAE.js";import{a as Qf,b as Rf,c as Sf,d as Tf,e as Uf,f as Vf}from"./chunks/chunk.INCKI5IX.js";import"./chunks/chunk.QQDDGRY6.js";import{a as gf,b as hf,c as jf}from"./chunks/chunk.RBAVT3XQ.js";import{a as pf,b as qf,c as rf}from"./chunks/chunk.JEN6YP2Q.js";import{a as kf,b as lf,c as mf,d as nf,e as of}from"./chunks/chunk.K2C4W3CO.js";import{a as cf,b as df,c as ef,d as ff}from"./chunks/chunk.UBD2DPQN.js";import{a as sf,b as tf,c as uf,d as vf,e as wf,f as xf}from"./chunks/chunk.RYMPSU4J.js";import{a as yf,b as zf,c as Af,d as Bf}from"./chunks/chunk.VC2BG2RS.js";import{a as Te,b as Ue,c as Ve,d as We,e as Xe,f as Ye}from"./chunks/chunk.XZOIRI4V.js";import{a as Me,b as Ne,c as Oe,d as Pe,e as Qe,f as Re,g as Se}from"./chunks/chunk.EE25TGNW.js";import"./chunks/chunk.27TSALYN.js";import{a as Ze,b as _e,c as $e,d as af,e as bf}from"./chunks/chunk.PYIFIHDK.js";import{a as Fe,b as Ge,c as He,d as Ie,e as Je,f as Ke,g as Le}from"./chunks/chunk.2BNDXFI5.js";import"./chunks/chunk.MHEJZJT3.js";import{a as $c}from"./chunks/chunk.IGTXLDZS.js";import{A as te,B as ue,C as ve,D as we,E as xe,F as ye,G as Be,a as Vd,b as Wd,c as Xd,d as Yd,e as Zd,f as _d,g as $d,h as ae,i as be,j as ce,k as de,l as ee,m as fe,n as ge,o as he,p as ie,q as je,r as ke,s as le,t as me,u as ne,v as oe,w as pe,x as qe,y as re,z as se}from"./chunks/chunk.6OKJPSUE.js";import{A as Rd,B as Sd,C as Td,D as Ud,E as ze,F as Ae,a as qd,b as rd,c as sd,d as td,e as ud,f as vd,g as wd,h as xd,i as yd,j as zd,k as Bd,l as Cd,m as Dd,n as Ed,o as Fd,p as Gd,q as Hd,r as Id,s as Jd,t as Kd,u as Ld,v as Md,w as Nd,x as Od,y as Pd,z as Qd}from"./chunks/chunk.DT7MZR5Y.js";import{a as fd,b as gd,c as hd,d as id,e as jd,f as kd,g as ld,h as md,i as nd,j as od,k as pd}from"./chunks/chunk.O4FB4BV5.js";import{a as Ad}from"./chunks/chunk.YPZNIYQL.js";import{a as Ce,b as De,c as Ee}from"./chunks/chunk.Y72NANFX.js";import{a as eb,b as fb,c as wb,d as xb,e as yb,f as zb,g as Ab,h as Bb,i as Cb,j as Db,k as Eb}from"./chunks/chunk.ZWTTBW3O.js";import{a as $a,b as ab,c as bb,d as db}from"./chunks/chunk.YWVKDJXZ.js";import{a as _a,b as cb}from"./chunks/chunk.MLV25D2G.js";import{a as qa,b as ra,c as sa}from"./chunks/chunk.UT7QUGAO.js";import{a as gb,b as hb,c as ib,d as tb,e as ub,f as vb}from"./chunks/chunk.HMCOY5WC.js";import"./chunks/chunk.A47X5VG3.js";import"./chunks/chunk.DONAMICM.js";import{a as Wa,b as Xa,c as Ya,d as Za}from"./chunks/chunk.ZUNZKRRK.js";import"./chunks/chunk.GO5A4GKZ.js";import"./chunks/chunk.CKS5A4YN.js";import{a as pb,b as qb,c as rb,d as sb}from"./chunks/chunk.5FPFRE4H.js";import{a as ob}from"./chunks/chunk.DYNEJBYK.js";import{a as jb,b as kb,c as lb,d as mb,e as nb}from"./chunks/chunk.C7AN6FMW.js";import{a as jc,b as kc,c as lc,d as mc,e as nc}from"./chunks/chunk.N4PVZUJX.js";import{a as Dc,b as Ec,c as Fc,d as Gc,e as Hc}from"./chunks/chunk.RB5BTA5N.js";import{a as zc,b as Ac,c as Bc,d as Cc}from"./chunks/chunk.RE5X26QT.js";import{a as wc,b as xc,c as yc}from"./chunks/chunk.72AUOVCD.js";import{a as oc,b as pc,c as qc,d as rc,e as sc,f as tc,g as uc,h as vc}from"./chunks/chunk.G3ZTZ4AN.js";import{a as Sc,b as Tc,c as Uc,d as Vc,e as Wc}from"./chunks/chunk.K6AFP52A.js";import{a as Qb,b as Rb,c as Sb,d as Tb,e as Ub}from"./chunks/chunk.F2B24WLK.js";import{a as ad,b as bd,c as cd,d as dd,e as ed}from"./chunks/chunk.PALRSBSY.js";import{a as Xc,b as Yc,c as Zc,d as _c}from"./chunks/chunk.BJE6O5ES.js";import{a as la,b as ma,c as na,d as oa,e as pa}from"./chunks/chunk.7BESNUTG.js";import{a as ga,b as ha,c as ia,d as ja,e as ka}from"./chunks/chunk.GCR7QZRO.js";import{a as g,b as h,c as da,d as ea,e as fa}from"./chunks/chunk.4BEI55KI.js";import{a as $f,b as ag,c as bg,d as cg,e as dg,f as Kg}from"./chunks/chunk.T76JYRPR.js";import{a as sg,b as tg,c as ug,d as vg,e as wg}from"./chunks/chunk.D6MLVA5G.js";import{a as Wf,b as Xf,c as Yf,d as Zf,e as _f}from"./chunks/chunk.XBW46N2J.js";import"./chunks/chunk.NSOALSSD.js";import"./chunks/chunk.TBY35XZK.js";import{a as Ta,b as Ua,c as Va}from"./chunks/chunk.KU5CXXGS.js";import"./chunks/chunk.FZQCBRPK.js";import{a as Ja,b as Ka,c as La,d as Ma}from"./chunks/chunk.KE6GOYAB.js";import{a as wa,b as xa,c as Fa,d as Ga,e as Ha,f as Ia}from"./chunks/chunk.RG6CDWEX.js";import"./chunks/chunk.6YPD6CQM.js";import{a as Nc,b as Oc,c as Pc,d as Qc,e as Rc}from"./chunks/chunk.TWZXQQQO.js";import{a as ta,b as ua,c as va}from"./chunks/chunk.VAKNDCLP.js";import"./chunks/chunk.V4TCOZLK.js";import"./chunks/chunk.4DAIIJ37.js";import{a as kg,b as lg,c as mg}from"./chunks/chunk.XUW3GG46.js";import{a as ng,b as og,c as pg,d as qg,e as rg}from"./chunks/chunk.XZ4WI7VK.js";import{a as Vb,b as Wb,c as Xb,d as Yb,e as Zb,f as _b}from"./chunks/chunk.TR5YMNJJ.js";import{a as Fg,b as Gg,c as Hg,d as Ig,e as Jg}from"./chunks/chunk.Q7LFOS2I.js";import{a as xg,b as yg,c as zg,d as Dg,e as Eg}from"./chunks/chunk.XQ2EQIDS.js";import{a as Ag,b as Bg,c as Cg}from"./chunks/chunk.HBMNXZES.js";import{a as Ib,b as Jb,c as Mb,d as Nb,e as Ob,f as Pb}from"./chunks/chunk.SXTTEIIH.js";import{a as Kb,b as Lb}from"./chunks/chunk.J6WCFQSS.js";import{a as Fb,b as Gb,c as Hb}from"./chunks/chunk.BJZ7RB5F.js";import{a as Ic,b as Jc,c as Kc,d as Lc,e as Mc}from"./chunks/chunk.I5BAZWUF.js";import{a as Na,b as Oa,c as Pa,d as Qa,e as Ra,f as Sa}from"./chunks/chunk.V7WKXEZC.js";import{a as $b,b as ac,c as bc,d as cc}from"./chunks/chunk.7A6MX6CS.js";import{a as ya,b as za,c as Aa,d as Ba,e as Ca,f as Da,g as Ea}from"./chunks/chunk.WY7DECJD.js";import"./chunks/chunk.2DXG2R3M.js";import"./chunks/chunk.F3MP6AXF.js";import{a as eg,b as fg,c as gg,d as hg,e as ig,f as jg}from"./chunks/chunk.FRYLJWYL.js";import"./chunks/chunk.MZLPUI6R.js";import{a as ec,b as fc,c as gc,d as hc,e as ic}from"./chunks/chunk.4WPFFNLH.js";import{a as dc}from"./chunks/chunk.G45OZEIS.js";import"./chunks/chunk.YI4JTY4T.js";import"./chunks/chunk.3KQL7VAZ.js";import{a as R,b as S,c as T,d as U,e as V,f as W,g as X,h as Y,i as Z,j as _,k as $,l as aa,m as ba,n as ca}from"./chunks/chunk.JHBCYICS.js";import"./chunks/chunk.6KTLOA7V.js";import"./chunks/chunk.SKLCDWYQ.js";import{a as j}from"./chunks/chunk.ARJ3EVVO.js";import{a as K,b as L,c as M,d as N,e as O,f as P,g as Q}from"./chunks/chunk.FVRSGKJD.js";import{a as k,b as l,c as m,d as n,e as o,f as p,g as q,h as t,i as u,j as v,k as w,l as x,m as y,n as z,o as A,p as B,q as C}from"./chunks/chunk.U6WGJELL.js";import{a as r,b as s}from"./chunks/chunk.7XFU2W25.js";import"./chunks/chunk.U6FJJGO3.js";import{a as D,b as E,c as F,d as G,e as H,f as I,g as J}from"./chunks/chunk.Y66GSZJB.js";import{a as i}from"./chunks/chunk.47A2CN5U.js";import{a as b}from"./chunks/chunk.G5MGGEFP.js";import"./chunks/chunk.KTGSZEAG.js";import{b as c,c as d,d as e,e as f}from"./chunks/chunk.BE7PZANN.js";import{l as a}from"./chunks/chunk.Y4GKBJGI.js";import"./chunks/chunk.PN26D52V.js";import"./chunks/chunk.J2M2MXP2.js";import"./chunks/chunk.MCIQXNKY.js";export{Ki as ACCEPTABLE_KEYS,ma as ACCORDION_CONSTANTS,Ic as ALLOWED_CHILDREN,ag as APP_BAR_CONSTANTS,ug as APP_BAR_HELP_BUTTON_CONSTANTS,kg as APP_BAR_MENU_BUTTON_CONSTANTS,og as APP_BAR_NOTIFICATION_BUTTON_CONSTANTS,Fg as APP_BAR_PROFILE_BUTTON_CONSTANTS,eg as APP_BAR_SEARCH_CONSTANTS,eb as AUTOCOMPLETE_CONSTANTS,Ib as AVATAR_CONSTANTS,la as AccordionAdapter,oa as AccordionComponent,na as AccordionFoundation,bg as AppBarAdapter,dg as AppBarComponent,cg as AppBarFoundation,sg as AppBarHelpButtonAdapter,vg as AppBarHelpButtonComponent,tg as AppBarHelpButtonFoundation,lg as AppBarMenuButtonComponent,ng as AppBarNotificationButtonAdapter,qg as AppBarNotificationButtonComponent,pg as AppBarNotificationButtonFoundation,Gg as AppBarProfileButtonAdapter,Ig as AppBarProfileButtonComponent,Hg as AppBarProfileButtonFoundation,hg as AppBarSearchAdapter,ig as AppBarSearchComponent,gg as AppBarSearchFoundation,wb as AutocompleteAdapter,Cb as AutocompleteComponent,Db as AutocompleteComponentDelegate,Bb as AutocompleteFoundation,fb as AutocompleteMode,Jb as AvatarAdapter,Nb as AvatarComponent,Ob as AvatarComponentDelegate,Mb as AvatarFoundation,Qb as BACKDROP_CONSTANTS,Vb as BADGE_CONSTANTS,jc as BANNER_CONSTANTS,cf as BASE_DRAWER_CONSTANTS,Rg as BASE_SELECT_CONSTANTS,Dc as BOTTOM_SHEET_CONSTANTS,Sc as BUSY_INDICATOR_CONSTANTS,Jc as BUTTON_CONSTANTS,Xc as BUTTON_TOGGLE_CONSTANTS,ad as BUTTON_TOGGLE_GROUP_CONSTANTS,Rb as BackdropAdapter,Tb as BackdropComponent,Sb as BackdropFoundation,Wb as BadgeAdapter,Yb as BadgeComponent,Zb as BadgeComponentDelegate,Xb as BadgeFoundation,kc as BannerAdapter,mc as BannerComponent,lc as BannerFoundation,b as BaseAdapter,a as BaseComponent,i as BaseComponentDelegate,df as BaseDrawerAdapter,ff as BaseDrawerComponent,ef as BaseDrawerFoundation,gh as BaseSelectAdapter,Zg as BaseSelectComponent,Wg as BaseSelectFoundation,Ec as BottomSheetAdapter,Gc as BottomSheetComponent,Fc as BottomSheetFoundation,Tc as BusyIndicatorAdapter,Vc as BusyIndicatorComponent,Uc as BusyIndicatorFoundation,Kc as ButtonComponent,Lc as ButtonComponentDelegate,Yc as ButtonToggleAdapter,_c as ButtonToggleComponent,Zc as ButtonToggleFoundation,bd as ButtonToggleGroupAdapter,dd as ButtonToggleGroupComponent,cd as ButtonToggleGroupFoundation,qd as CALENDAR_CONSTANTS,ze as CALENDAR_DROPDOWN_CONSTANTS,fd as CALENDAR_MENU_CONSTANTS,Ce as CARD_CONSTANTS,f as CDN_BASE_URL,qc as CHECKBOX_CONSTANTS,kb as CHIP_CONSTANTS,gb as CHIP_FIELD_CONSTANTS,jb as CHIP_SET_CONSTANTS,Nc as CIRCULAR_PROGRESS_CONSTANTS,Fb as COLOR_CONSTANTS,Fe as COLOR_PICKER_CONSTANTS,c as COMPONENT_NAME_PREFIX,ve as CalendarAdapter,xe as CalendarComponent,ye as CalendarComponentDelegate,Ae as CalendarDropdown,we as CalendarFoundation,md as CalendarMenuAdapter,od as CalendarMenuComponent,nd as CalendarMenuFoundation,sd as CalendarMonthFocus,De as CardComponent,wi as CellAlign,sc as CheckboxAdapter,tc as CheckboxComponent,uc as CheckboxComponentDelegate,rc as CheckboxFoundation,lb as ChipAdapter,nb as ChipComponent,hb as ChipFieldAdapter,tb as ChipFieldComponent,ub as ChipFieldComponentDelegate,ib as ChipFieldFoundation,mb as ChipFoundation,pb as ChipSetAdapter,rb as ChipSetComponent,qb as ChipSetFoundation,Oc as CircularProgressAdapter,Qc as CircularProgressComponent,Pc as CircularProgressFoundation,Ie as ColorPickerAdapter,Ke as ColorPickerComponent,Je as ColorPickerFoundation,He as ColorPickerValueType,Te as DATE_PICKER_CONSTANTS,Ne as DATE_RANGE_PICKER_CONSTANTS,Ge as DEFAULT_COLOR,fg as DEFAULT_COMBINED_OPTIONS,K as DEFAULT_DATE_MASK,Ze as DIALOG_CONSTANTS,qa as DIVIDER_CONSTANTS,gf as DRAWER_CONSTANTS,L as DateInputMask,Ue as DatePickerAdapter,We as DatePickerComponent,Xe as DatePickerComponentDelegate,Ve as DatePickerFoundation,Me as DatePickerRange,Ad as DateRange,Re as DateRangeComponentDelegate,Oe as DateRangePickerAdapter,Qe as DateRangePickerComponent,Pe as DateRangePickerFoundation,rd as DayOfWeek,$e as DialogAdapter,af as DialogComponent,_e as DialogFoundation,ra as DividerComponent,hf as DrawerComponent,ga as EXPANSION_PANEL_CONSTANTS,ha as ExpansionPanelAdapter,ja as ExpansionPanelComponent,ia as ExpansionPanelFoundation,sf as FILE_PICKER_CONSTANTS,yf as FLOATING_ACTION_BUTTON_CONSTANTS,Xa as FLOATING_LABEL_CONSTANTS,tf as FilePickerAdapter,vf as FilePickerComponent,wf as FilePickerComponentDelegate,uf as FilePickerFoundation,zf as FloatingActionButton,Af as FloatingActionButtonComponentDelegate,Za as FloatingLabel,Wa as FloatingLabelAdapter,Ya as FloatingLabelFoundation,za as ForgeRipple,Aa as ForgeRippleFoundation,j as FormFieldComponentDelegate,y as HAS_MERIDIEM_REGEX,$b as ICON_BUTTON_CONSTANTS,e as ICON_CLASS_NAME,R as ICON_CONSTANTS,S as ICON_REGISTRY_KEY,Cf as INLINE_MESSAGE_CONSTANTS,k as ISO_8601_REGEX,l as ISO_TIMEZONE_REGEX,T as IconAdapter,ac as IconButtonComponent,bc as IconButtonComponentDelegate,aa as IconComponent,ba as IconComponentDelegate,$ as IconFoundation,U as IconRegistry,Df as InlineMessageComponent,Ff as KEYBOARD_SHORTCUT_CONSTANTS,Li as KEYCODE_MAP,d as KEYSTROKE_DEBOUNCE_THRESHOLD,Hf as KeyboardShortcutAdapter,Of as KeyboardShortcutComponent,Nf as KeyboardShortcutFoundation,Qf as LABEL_VALUE_CONSTANTS,ta as LINEAR_PROGRESS_CONSTANTS,wa as LIST_CONSTANTS,xa as LIST_ITEM_CONSTANTS,Rf as LabelValueAdapter,Tf as LabelValueComponent,Uf as LabelValueComponentDelegate,Sf as LabelValueFoundation,ua as LinearProgressComponent,Ja as ListAdapter,La as ListComponent,Ka as ListFoundation,Fa as ListItemAdapter,Ha as ListItemComponent,Ga as ListItemFoundation,Wf as MENU_CONSTANTS,pf as MINI_DRAWER_CONSTANTS,lf as MODAL_DRAWER_CONSTANTS,Xf as MenuAdapter,Zf as MenuComponent,Yf as MenuFoundation,qf as MiniDrawerComponent,kf as ModalDrawerAdapter,nf as ModalDrawerComponent,mf as ModalDrawerFoundation,g as OPEN_ICON_CONSTANTS,$g as OPTION_CONSTANTS,dh as OPTION_GROUP_CONSTANTS,da as OpenIconAdapter,ea as OpenIconComponent,h as OpenIconFoundation,_g as OptionAdapter,bh as OptionComponent,ah as OptionFoundation,eh as OptionGroupComponent,xb as OptionType,Lg as PAGE_STATE_CONSTANTS,Og as PAGINATOR_CONSTANTS,x as PARSEABLE_TIME_FORMAT,Na as POPUP_CONSTANTS,vh as PRODUCT_ICON_CONSTANTS,xg as PROFILE_CARD_CONSTANTS,Mg as PageStateComponent,Qg as PaginatorAdapter,th as PaginatorComponent,Pg as PaginatorFoundation,Pa as PopupAdapter,Oa as PopupAnimationType,Ra as PopupComponent,Qa as PopupFoundation,wh as ProductIconAdapter,yh as ProductIconComponent,xh as ProductIconFoundation,yg as ProfileCardAdapter,Dg as ProfileCardComponent,zg as ProfileCardFoundation,Ah as QUANTITY_FIELD_CONSTANTS,Bh as QuantityFieldAdapter,Dh as QuantityFieldComponent,Eh as QuantityFieldComponentDelegate,Ch as QuantityFieldFoundation,wc as RADIO_CONSTANTS,ya as RIPPLE_CONSTANTS,xc as RadioComponent,Ba as RippleAdapter,Da as RippleComponent,Ca as RippleFoundation,ih as SCAFFOLD_CONSTANTS,nh as SELECT_CONSTANTS,Xg as SELECT_DROPDOWN_CONSTANTS,Ta as SKELETON_CONSTANTS,Gh as SLIDER_CONSTANTS,di as SPLIT_VIEW_CONSTANTS,Kh as SPLIT_VIEW_PANEL_CONSTANTS,wj as STACK_CONSTANTS,qi as STEPPER_CONSTANTS,li as STEP_CONSTANTS,zc as SWITCH_CONSTANTS,jh as ScaffoldComponent,oh as SelectAdapter,qh as SelectComponent,sh as SelectComponentDelegate,hh as SelectDropdownAdapter,lh as SelectDropdownComponent,Yg as SelectDropdownFoundation,ph as SelectFoundation,Sg as SelectOptionType,Ua as SkeletonComponent,Hh as SliderComponent,Ih as SliderComponentDelegate,xi as SortDirection,hi as SplitViewAdapter,Lh as SplitViewAnimatingLayer,ji as SplitViewComponent,ii as SplitViewFoundation,ei as SplitViewPanelAdapter,fi as SplitViewPanelComponent,ci as SplitViewPanelFoundation,yj as StackAdapter,xj as StackAlignMode,Aj as StackComponent,zj as StackFoundation,mi as StepAdapter,oi as StepComponent,ni as StepFoundation,ri as StepperAdapter,ti as StepperComponent,si as StepperFoundation,Ac as SwitchComponent,Bc as SwitchComponentDelegate,vi as TABLE_CONSTANTS,Ji as TAB_BAR_CONSTANTS,Ei as TAB_CONSTANTS,_a as TEXT_FIELD_CONSTANTS,Qi as TIME_PICKER_CONSTANTS,hj as TOAST_CONSTANTS,Ag as TOOLBAR_CONSTANTS,dc as TOOLTIP_CONSTANTS,M as TWELVE_HOUR_TIME_MASK,N as TWELVE_HOUR_TIME_MASK_WITH_SECONDS,w as TWELVE_HOUR_TIME_REGEX,O as TWENTY_FOUR_HOUR_TIME_MASK,P as TWENTY_FOUR_HOUR_TIME_MASK_WITH_SECONDS,v as TWENTY_FOUR_HOUR_TIME_REGEX,Fi as TabAdapter,Ni as TabBarAdapter,Oi as TabBarComponent,Mi as TabBarFoundation,Hi as TabComponent,Gi as TabFoundation,zi as TableAdapter,Ci as TableComponent,yi as TableFilterType,Bi as TableFoundation,Ai as TableRow,$a as TextFieldAdapter,bb as TextFieldComponent,cb as TextFieldComponentDelegate,ab as TextFieldFoundation,Q as TimeInputMask,Ri as TimePickerAdapter,ej as TimePickerComponent,fj as TimePickerComponentDelegate,dj as TimePickerFoundation,ij as ToastAdapter,kj as ToastComponent,jj as ToastFoundation,Bg as ToolbarComponent,fc as TooltipAdapter,hc as TooltipComponent,gc as TooltipFoundation,rj as VIEW_CONSTANTS,mj as VIEW_SWITCHER_CONSTANTS,nj as ViewAnimationDirection,sj as ViewComponent,pj as ViewSwitcherAdapter,oj as ViewSwitcherAnimationType,tj as ViewSwitcherComponent,qj as ViewSwitcherFoundation,ec as attachTooltip,X as awaitIconDefinition,Uh as clampSize,Oh as clearState,te as coerceDateFromValue,bi as createOverlay,t as createSvgFromString,pa as defineAccordionComponent,Kg as defineAppBarComponent,wg as defineAppBarHelpButtonComponent,mg as defineAppBarMenuButtonComponent,rg as defineAppBarNotificationButtonComponent,Jg as defineAppBarProfileButtonComponent,jg as defineAppBarSearchComponent,Eb as defineAutocompleteComponent,Pb as defineAvatarComponent,Ub as defineBackdropComponent,_b as defineBadgeComponent,nc as defineBannerComponent,Hc as defineBottomSheetComponent,Wc as defineBusyIndicatorComponent,Mc as defineButtonComponent,$c as defineButtonToggleComponent,ed as defineButtonToggleGroupComponent,Be as defineCalendarComponent,pd as defineCalendarMenuComponent,Ee as defineCardComponent,vc as defineCheckboxComponent,ob as defineChipComponent,vb as defineChipFieldComponent,sb as defineChipSetComponent,Rc as defineCircularProgressComponent,Le as defineColorPickerComponent,Cj as defineComponents,Ye as defineDatePickerComponent,Se as defineDateRangePickerComponent,bf as defineDialogComponent,sa as defineDividerComponent,jf as defineDrawerComponent,ka as defineExpansionPanelComponent,xf as defineFilePickerComponent,Bf as defineFloatingActionButtonComponent,cc as defineIconButtonComponent,ca as defineIconComponent,Ef as defineInlineMessageComponent,Pf as defineKeyboardShortcutComponent,Vf as defineLabelValueComponent,va as defineLinearProgressComponent,Ma as defineListComponent,Ia as defineListItemComponent,_f as defineMenuComponent,rf as defineMiniDrawerComponent,of as defineModalDrawerComponent,fa as defineOpenIconComponent,ch as defineOptionComponent,fh as defineOptionGroupComponent,Ng as definePageStateComponent,uh as definePaginatorComponent,Sa as definePopupComponent,zh as defineProductIconComponent,Eg as defineProfileCardComponent,Fh as defineQuantityFieldComponent,yc as defineRadioComponent,Ea as defineRippleComponent,kh as defineScaffoldComponent,rh as defineSelectComponent,mh as defineSelectDropdownComponent,Va as defineSkeletonComponent,Jh as defineSliderComponent,ki as defineSplitViewComponent,gi as defineSplitViewPanelComponent,Bj as defineStackComponent,pi as defineStepComponent,ui as defineStepperComponent,Cc as defineSwitchComponent,Pi as defineTabBarComponent,Ii as defineTabComponent,Di as defineTableComponent,db as defineTextFieldComponent,gj as defineTimePickerComponent,lj as defineToastComponent,Cg as defineToolbarComponent,ic as defineTooltipComponent,uj as defineViewComponent,vj as defineViewSwitcherComponent,If as elementAcceptsTextInput,$f as elementName,s as eventIncludesArrowKey,Sd as eventIncludesDate,Td as eventIncludesElement,Z as fetchIconContent,Mf as fixKey,n as formatDate,Od as getAccessibleHeader,ne as getAllYearOptions,W as getCachedIcon,Qd as getClearButton,Hb as getColor,bj as getCurrentTimeOfDayMillis,Yh as getCursor,Gd as getDateElement,Cd as getDateId,ee as getDateRangeFromDates,Fd as getDateRow,Hd as getDateSpacerElement,fe as getDatesFromDateRange,he as getDatesInRange,Ed as getDayElement,Bd as getDayId,ie as getEventDescriptions,Jd as getEventElement,Id as getEventWrapperElement,Dd as getEventWrapperId,re as getEventsOnDate,Xd as getFirstDateOfWeek,Zd as getFirstDayOfMonth,xd as getFirstDayOfWeekForLocale,Pd as getFooter,gd as getGrid,hd as getGridItems,Zh as getHandleIcon,Ld as getHeader,qe as getIndexOfDate,p as getLastDateOfMonth,Yd as getLastDateOfWeek,id as getList,jd as getListItems,ud as getLocalizedDayOfMonth,td as getLocalizedDayOfWeek,vd as getLocalizedMonth,wd as getLocalizedYear,ge as getMinAndMaxDates,Lf as getModiferKeysString,Md as getMonthButtonContent,Vd as getMonthDates,q as getMonthLength,le as getMonthOptions,se as getMultipleFromRange,ai as getPixelDimension,kd as getScrollSpy,zb as getSelectedOption,_d as getSortedDaysOfWeek,_h as getSplitViewPanelSibling,Lb as getTextColor,Gb as getThemeColor,Rd as getTodayButton,Kd as getTooltip,Xh as getValuenow,Wd as getWeekDates,yd as getWeekendDaysForLocale,Nd as getYearButtonContent,me as getYearOptions,Wh as handleBoundariesAfterResize,Vh as handleBoundariesDuringResize,D as highlightTextHTML,Zi as hoursToMillis,Mh as initState,pe as isDisabled,ae as isInMonth,be as isInRange,Ug as isOptionGroupObject,Vg as isOptionObject,yb as isOptionType,zd as isRtlLocale,u as isSafeSvg,o as isSameDate,Tg as isSelectOptionType,oe as isSelected,B as isSupportedTimeFormat,$d as isToday,Qh as keyboardResize,Kf as matchKeyCombination,Sh as maxResize,cj as mergeDateWithTime,Ui as millisToHours,Wi as millisToMinutes,Vi as millisToMinutesClamped,Yi as millisToSeconds,Xi as millisToSecondsClamped,Ti as millisToTimeString,Rh as minResize,_i as minutesToMillis,pc as numbers,Ab as optionEqualPredicate,je as parseDateOffset,m as parseDateString,Jf as parseKeyCombinations,$h as parseSize,ke as parseYearRange,F as percentToPixels,G as pixelsToPercent,Ph as pointerResize,r as proxyShadowScrollEvent,Kb as randomHexColor,ld as removeAllExceptLastChild,Y as removeIconListener,Th as resizeSibling,J as safeMax,I as safeMin,_ as sanitizeExternalType,V as sanitizeSvgContent,H as scaleValue,$i as secondsToMillis,Nh as setState,Ud as setTabindexOnElement,ue as shouldHandleEvent,ce as sortDates,de as splitIntoWeeks,oc as strings,aj as stripSecondsFromMillis,Gf as textInputTypes,Si as timeStringToMillis,A as tokenize12HourTimeString,z as tokenize24HourTimeString,C as tryCoerceTimeString,E as userInteractionListener};
|
|
7
7
|
//# sourceMappingURL=index.js.map
|
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
* Copyright 2023 Tyler Technologies, Inc.
|
|
4
4
|
* License: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
-
import{a,b,c,d,f as e,g as f,h as g,j as h}from"../chunks/chunk.
|
|
6
|
+
import{a,b,c,d,f as e,g as f,h as g,j as h}from"../chunks/chunk.TBY35XZK.js";import"../chunks/chunk.KU5CXXGS.js";import"../chunks/chunk.KE6GOYAB.js";import"../chunks/chunk.RG6CDWEX.js";import"../chunks/chunk.6YPD6CQM.js";import"../chunks/chunk.VAKNDCLP.js";import"../chunks/chunk.V4TCOZLK.js";import"../chunks/chunk.4DAIIJ37.js";import"../chunks/chunk.V7WKXEZC.js";import"../chunks/chunk.WY7DECJD.js";import"../chunks/chunk.2DXG2R3M.js";import"../chunks/chunk.F3MP6AXF.js";import"../chunks/chunk.MZLPUI6R.js";import"../chunks/chunk.3KQL7VAZ.js";import"../chunks/chunk.JHBCYICS.js";import"../chunks/chunk.6KTLOA7V.js";import"../chunks/chunk.SKLCDWYQ.js";import"../chunks/chunk.ARJ3EVVO.js";import"../chunks/chunk.FVRSGKJD.js";import"../chunks/chunk.U6WGJELL.js";import"../chunks/chunk.7XFU2W25.js";import"../chunks/chunk.U6FJJGO3.js";import"../chunks/chunk.Y66GSZJB.js";import"../chunks/chunk.47A2CN5U.js";import"../chunks/chunk.G5MGGEFP.js";import"../chunks/chunk.KTGSZEAG.js";import"../chunks/chunk.BE7PZANN.js";import"../chunks/chunk.Y4GKBJGI.js";import"../chunks/chunk.PN26D52V.js";import"../chunks/chunk.J2M2MXP2.js";import"../chunks/chunk.MCIQXNKY.js";export{h as CascadingListDropdownAwareFoundation,b as DEFAULT_LIST_DROPDOWN_CONFIG,a as LIST_DROPDOWN_CONSTANTS,g as ListDropdown,f as ListDropdownAdapter,d as ListDropdownAsyncStyle,e as ListDropdownFoundation,c as ListDropdownType};
|
|
7
7
|
//# sourceMappingURL=index.js.map
|
package/dist/esm/menu/index.js
CHANGED
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
* Copyright 2023 Tyler Technologies, Inc.
|
|
4
4
|
* License: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
-
import{a,b,c,d,e}from"../chunks/chunk.
|
|
6
|
+
import{a,b,c,d,e}from"../chunks/chunk.XBW46N2J.js";import"../chunks/chunk.NSOALSSD.js";import"../chunks/chunk.TBY35XZK.js";import"../chunks/chunk.KU5CXXGS.js";import"../chunks/chunk.FZQCBRPK.js";import"../chunks/chunk.KE6GOYAB.js";import"../chunks/chunk.RG6CDWEX.js";import"../chunks/chunk.6YPD6CQM.js";import"../chunks/chunk.TWZXQQQO.js";import"../chunks/chunk.VAKNDCLP.js";import"../chunks/chunk.V4TCOZLK.js";import"../chunks/chunk.4DAIIJ37.js";import"../chunks/chunk.V7WKXEZC.js";import"../chunks/chunk.WY7DECJD.js";import"../chunks/chunk.2DXG2R3M.js";import"../chunks/chunk.F3MP6AXF.js";import"../chunks/chunk.MZLPUI6R.js";import"../chunks/chunk.3KQL7VAZ.js";import"../chunks/chunk.JHBCYICS.js";import"../chunks/chunk.6KTLOA7V.js";import"../chunks/chunk.SKLCDWYQ.js";import"../chunks/chunk.ARJ3EVVO.js";import"../chunks/chunk.FVRSGKJD.js";import"../chunks/chunk.U6WGJELL.js";import"../chunks/chunk.7XFU2W25.js";import"../chunks/chunk.U6FJJGO3.js";import"../chunks/chunk.Y66GSZJB.js";import"../chunks/chunk.47A2CN5U.js";import"../chunks/chunk.G5MGGEFP.js";import"../chunks/chunk.KTGSZEAG.js";import"../chunks/chunk.BE7PZANN.js";import"../chunks/chunk.Y4GKBJGI.js";import"../chunks/chunk.PN26D52V.js";import"../chunks/chunk.J2M2MXP2.js";import"../chunks/chunk.MCIQXNKY.js";export{a as MENU_CONSTANTS,b as MenuAdapter,d as MenuComponent,c as MenuFoundation,e as defineMenuComponent};
|
|
7
7
|
//# sourceMappingURL=index.js.map
|
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
* Copyright 2023 Tyler Technologies, Inc.
|
|
4
4
|
* License: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
-
import{a,b,c,d,e}from"../chunks/chunk.
|
|
6
|
+
import{a,b,c,d,e}from"../chunks/chunk.V6PXSHJ4.js";import"../chunks/chunk.ASJHDPFL.js";import"../chunks/chunk.LJU5WSSF.js";import"../chunks/chunk.CDUN4ONU.js";import"../chunks/chunk.WP4QOOIS.js";import"../chunks/chunk.MNFGVNDI.js";import"../chunks/chunk.ELV22KTH.js";import"../chunks/chunk.77Y3EABF.js";import"../chunks/chunk.LYOQ2RGP.js";import"../chunks/chunk.ZUNZKRRK.js";import"../chunks/chunk.GO5A4GKZ.js";import"../chunks/chunk.NSOALSSD.js";import"../chunks/chunk.TBY35XZK.js";import"../chunks/chunk.KU5CXXGS.js";import"../chunks/chunk.FZQCBRPK.js";import"../chunks/chunk.KE6GOYAB.js";import"../chunks/chunk.RG6CDWEX.js";import"../chunks/chunk.6YPD6CQM.js";import"../chunks/chunk.TWZXQQQO.js";import"../chunks/chunk.VAKNDCLP.js";import"../chunks/chunk.V4TCOZLK.js";import"../chunks/chunk.4DAIIJ37.js";import"../chunks/chunk.HBMNXZES.js";import"../chunks/chunk.V7WKXEZC.js";import"../chunks/chunk.7A6MX6CS.js";import"../chunks/chunk.WY7DECJD.js";import"../chunks/chunk.2DXG2R3M.js";import"../chunks/chunk.F3MP6AXF.js";import"../chunks/chunk.MZLPUI6R.js";import"../chunks/chunk.4WPFFNLH.js";import"../chunks/chunk.G45OZEIS.js";import"../chunks/chunk.YI4JTY4T.js";import"../chunks/chunk.3KQL7VAZ.js";import"../chunks/chunk.JHBCYICS.js";import"../chunks/chunk.6KTLOA7V.js";import"../chunks/chunk.SKLCDWYQ.js";import"../chunks/chunk.ARJ3EVVO.js";import"../chunks/chunk.FVRSGKJD.js";import"../chunks/chunk.U6WGJELL.js";import"../chunks/chunk.7XFU2W25.js";import"../chunks/chunk.U6FJJGO3.js";import"../chunks/chunk.Y66GSZJB.js";import"../chunks/chunk.47A2CN5U.js";import"../chunks/chunk.G5MGGEFP.js";import"../chunks/chunk.KTGSZEAG.js";import"../chunks/chunk.BE7PZANN.js";import"../chunks/chunk.Y4GKBJGI.js";import"../chunks/chunk.PN26D52V.js";import"../chunks/chunk.J2M2MXP2.js";import"../chunks/chunk.MCIQXNKY.js";export{a as PAGINATOR_CONSTANTS,c as PaginatorAdapter,d as PaginatorComponent,b as PaginatorFoundation,e as definePaginatorComponent};
|
|
7
7
|
//# sourceMappingURL=index.js.map
|
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
* Copyright 2023 Tyler Technologies, Inc.
|
|
4
4
|
* License: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
-
import"../../chunks/chunk.MNFGVNDI.js";import{a,b,c,d,e,f,g,h}from"../../chunks/chunk.
|
|
6
|
+
import"../../chunks/chunk.MNFGVNDI.js";import{a,b,c,d,e,f,g,h}from"../../chunks/chunk.ELV22KTH.js";import"../../chunks/chunk.77Y3EABF.js";import"../../chunks/chunk.LYOQ2RGP.js";import"../../chunks/chunk.NSOALSSD.js";import"../../chunks/chunk.TBY35XZK.js";import"../../chunks/chunk.KU5CXXGS.js";import"../../chunks/chunk.KE6GOYAB.js";import"../../chunks/chunk.RG6CDWEX.js";import"../../chunks/chunk.6YPD6CQM.js";import"../../chunks/chunk.VAKNDCLP.js";import"../../chunks/chunk.V4TCOZLK.js";import"../../chunks/chunk.4DAIIJ37.js";import"../../chunks/chunk.V7WKXEZC.js";import"../../chunks/chunk.WY7DECJD.js";import"../../chunks/chunk.2DXG2R3M.js";import"../../chunks/chunk.F3MP6AXF.js";import"../../chunks/chunk.MZLPUI6R.js";import"../../chunks/chunk.3KQL7VAZ.js";import"../../chunks/chunk.JHBCYICS.js";import"../../chunks/chunk.6KTLOA7V.js";import"../../chunks/chunk.SKLCDWYQ.js";import"../../chunks/chunk.ARJ3EVVO.js";import"../../chunks/chunk.FVRSGKJD.js";import"../../chunks/chunk.U6WGJELL.js";import"../../chunks/chunk.7XFU2W25.js";import"../../chunks/chunk.U6FJJGO3.js";import"../../chunks/chunk.Y66GSZJB.js";import"../../chunks/chunk.47A2CN5U.js";import"../../chunks/chunk.G5MGGEFP.js";import"../../chunks/chunk.KTGSZEAG.js";import"../../chunks/chunk.BE7PZANN.js";import"../../chunks/chunk.Y4GKBJGI.js";import"../../chunks/chunk.PN26D52V.js";import"../../chunks/chunk.J2M2MXP2.js";import"../../chunks/chunk.MCIQXNKY.js";export{a as BASE_SELECT_CONSTANTS,h as BaseSelectAdapter,g as BaseSelectComponent,f as BaseSelectFoundation,b as SelectOptionType,d as isOptionGroupObject,e as isOptionObject,c as isSelectOptionType};
|
|
7
7
|
//# sourceMappingURL=index.js.map
|
package/dist/esm/select/index.js
CHANGED
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
* Copyright 2023 Tyler Technologies, Inc.
|
|
4
4
|
* License: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
-
import{a as A}from"../chunks/chunk.
|
|
6
|
+
import{a as A}from"../chunks/chunk.ASJHDPFL.js";import{a as g,b as h,c as s,d as t,e as u}from"../chunks/chunk.LJU5WSSF.js";import{a as v,b as w,c as x,d as y,e as z}from"../chunks/chunk.CDUN4ONU.js";import"../chunks/chunk.WP4QOOIS.js";import"../chunks/chunk.MNFGVNDI.js";import{a,b,c,d,e,f,g as i,h as r}from"../chunks/chunk.ELV22KTH.js";import{a as o,b as p,c as q}from"../chunks/chunk.77Y3EABF.js";import{a as j,b as k,c as l,d as m,e as n}from"../chunks/chunk.LYOQ2RGP.js";import"../chunks/chunk.ZUNZKRRK.js";import"../chunks/chunk.GO5A4GKZ.js";import"../chunks/chunk.NSOALSSD.js";import"../chunks/chunk.TBY35XZK.js";import"../chunks/chunk.KU5CXXGS.js";import"../chunks/chunk.FZQCBRPK.js";import"../chunks/chunk.KE6GOYAB.js";import"../chunks/chunk.RG6CDWEX.js";import"../chunks/chunk.6YPD6CQM.js";import"../chunks/chunk.TWZXQQQO.js";import"../chunks/chunk.VAKNDCLP.js";import"../chunks/chunk.V4TCOZLK.js";import"../chunks/chunk.4DAIIJ37.js";import"../chunks/chunk.HBMNXZES.js";import"../chunks/chunk.V7WKXEZC.js";import"../chunks/chunk.7A6MX6CS.js";import"../chunks/chunk.WY7DECJD.js";import"../chunks/chunk.2DXG2R3M.js";import"../chunks/chunk.F3MP6AXF.js";import"../chunks/chunk.MZLPUI6R.js";import"../chunks/chunk.YI4JTY4T.js";import"../chunks/chunk.3KQL7VAZ.js";import"../chunks/chunk.JHBCYICS.js";import"../chunks/chunk.6KTLOA7V.js";import"../chunks/chunk.SKLCDWYQ.js";import"../chunks/chunk.ARJ3EVVO.js";import"../chunks/chunk.FVRSGKJD.js";import"../chunks/chunk.U6WGJELL.js";import"../chunks/chunk.7XFU2W25.js";import"../chunks/chunk.U6FJJGO3.js";import"../chunks/chunk.Y66GSZJB.js";import"../chunks/chunk.47A2CN5U.js";import"../chunks/chunk.G5MGGEFP.js";import"../chunks/chunk.KTGSZEAG.js";import"../chunks/chunk.BE7PZANN.js";import"../chunks/chunk.Y4GKBJGI.js";import"../chunks/chunk.PN26D52V.js";import"../chunks/chunk.J2M2MXP2.js";import"../chunks/chunk.MCIQXNKY.js";export{a as BASE_SELECT_CONSTANTS,r as BaseSelectAdapter,i as BaseSelectComponent,f as BaseSelectFoundation,k as OPTION_CONSTANTS,o as OPTION_GROUP_CONSTANTS,j as OptionAdapter,m as OptionComponent,l as OptionFoundation,p as OptionGroupComponent,v as SELECT_CONSTANTS,g as SELECT_DROPDOWN_CONSTANTS,w as SelectAdapter,y as SelectComponent,A as SelectComponentDelegate,s as SelectDropdownAdapter,t as SelectDropdownComponent,h as SelectDropdownFoundation,x as SelectFoundation,b as SelectOptionType,n as defineOptionComponent,q as defineOptionGroupComponent,z as defineSelectComponent,u as defineSelectDropdownComponent,d as isOptionGroupObject,e as isOptionObject,c as isSelectOptionType};
|
|
7
7
|
//# sourceMappingURL=index.js.map
|