@kubex/zinc 1.0.99 → 1.0.100

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.
@@ -24094,7 +24094,7 @@
24094
24094
  "type": {
24095
24095
  "text": "string"
24096
24096
  },
24097
- "description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
24097
+ "description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
24098
24098
  "attribute": "form",
24099
24099
  "reflects": true
24100
24100
  },
@@ -24937,7 +24937,7 @@
24937
24937
  "type": {
24938
24938
  "text": "string"
24939
24939
  },
24940
- "description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
24940
+ "description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
24941
24941
  "fieldName": "form"
24942
24942
  },
24943
24943
  {
@@ -31994,7 +31994,7 @@
31994
31994
  "package": {
31995
31995
  "name": "@kubex/zinc",
31996
31996
  "description": "A collection of web components for building web applications based off of @shoelace-style/Shoelace",
31997
- "version": "1.0.99",
31997
+ "version": "1.0.100",
31998
31998
  "author": "",
31999
31999
  "license": "MIT"
32000
32000
  }
@@ -2800,7 +2800,7 @@
2800
2800
  },
2801
2801
  {
2802
2802
  "name": "form",
2803
- "description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
2803
+ "description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
2804
2804
  "values": []
2805
2805
  },
2806
2806
  {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "name": "@kubex/zinc",
4
- "version": "1.0.99",
4
+ "version": "1.0.100",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -6219,7 +6219,7 @@
6219
6219
  },
6220
6220
  {
6221
6221
  "name": "form",
6222
- "description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
6222
+ "description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
6223
6223
  "value": { "type": "string" }
6224
6224
  },
6225
6225
  {
@@ -6478,7 +6478,7 @@
6478
6478
  },
6479
6479
  {
6480
6480
  "name": "form",
6481
- "description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
6481
+ "description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
6482
6482
  "type": "string"
6483
6483
  },
6484
6484
  {
package/dist/zn.d.ts CHANGED
@@ -2281,7 +2281,7 @@ declare module "components/select/select.component" {
2281
2281
  helpText: string;
2282
2282
  /**
2283
2283
  * By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you
2284
- * to place the form control outside of a form and associate it with the form that has this `id`. The form must be in
2284
+ * to place the form control outside a form and associate it with the form that has this `id`. The form must be in
2285
2285
  * the same document or shadow root for this to work.
2286
2286
  */
2287
2287
  form: string;
package/dist/zn.min.js CHANGED
@@ -2123,7 +2123,7 @@ rect.legend-mouseover-inactive,
2123
2123
  <zn-icon slot="action" src="close" size="16"
2124
2124
  @click=${n=>this.handleTagRemove(n,i)}></zn-icon>`}
2125
2125
  </zn-chip>
2126
- `;this.selectFirst=!1;this.distinct="";this.conditional="";this.maxResults=0;this.searchDebounce=300;this.searchParam="q";this.searchOnly=!1;this.handleDocumentFocusIn=i=>{let n=i.composedPath();this&&!n.includes(this)&&this.hide().then()};this.handleDocumentKeyDown=i=>{let n=i.target,r=n.closest(".select__clear")!==null,a=n.closest("zn-icon")!==null,s=n.closest(".select__expand-icon")!==null;if(!((r||a)&&!s)){if((i.key==="Escape"||i.key==="Tab")&&this.open&&!this.closeWatcher&&(i.preventDefault(),i.stopPropagation(),this.hide().then(),this.displayInput.focus({preventScroll:!0})),i.key==="Enter"||i.key===" "&&!this.search&&this.typeToSelectString===""){if(i.preventDefault(),i.stopImmediatePropagation(),!this.open){this.show().then();return}this.currentOption&&!this.currentOption.disabled&&(this.valueHasChanged=!0,this.multiple?this.toggleOptionSelection(this.currentOption):this.setSelectedOptions(this.currentOption),this.search&&(this.clearSearch(),this.multiple&&(this.displayInput.value="")),this.updateComplete.then(()=>{this.emit("zn-input"),this.emit("zn-change")}),this.multiple?this.search&&this.updateComplete.then(()=>{this.displayInput.value="",this.displayInput.focus({preventScroll:!0})}):(this.hide().then(),this.displayInput.focus({preventScroll:!0})));return}if(["ArrowUp","ArrowDown","Home","End"].includes(i.key)){let l=this.search?this.getVisibleOptions():this.getAllOptions(),c=l.indexOf(this.currentOption),d=Math.max(0,c);if(i.preventDefault(),!this.open&&(this.show().then(),this.currentOption))return;i.key==="ArrowDown"?(d=c+1,d>l.length-1&&(d=0)):i.key==="ArrowUp"?(d=c-1,d<0&&(d=l.length-1)):i.key==="Home"?d=0:i.key==="End"&&(d=l.length-1),this.setCurrentOption(l[d])}if(!this.search&&(i.key.length===1||i.key==="Backspace")){let l=this.getAllOptions();if(i.metaKey||i.ctrlKey||i.altKey)return;if(!this.open){if(i.key==="Backspace")return;this.show().then()}i.stopPropagation(),i.preventDefault(),clearTimeout(this.typeToSelectTimeout),this.typeToSelectTimeout=window.setTimeout(()=>this.typeToSelectString="",1e3),i.key==="Backspace"?this.typeToSelectString=this.typeToSelectString.slice(0,-1):this.typeToSelectString+=i.key.toLowerCase();for(let c of l)if(c.getTextLabel().toLowerCase().startsWith(this.typeToSelectString)){this.setCurrentOption(c);break}}}};this.handleDocumentMouseDown=i=>{let n=i.composedPath();this&&!n.includes(this)&&this.hide().then()}}get value(){return this._value}set value(i){if(this.multiple){if(!Array.isArray(i))if(i.trimStart().startsWith("["))try{let n=JSON.parse(i);i=Array.isArray(n)?n:i.split(" ")}catch(n){typeof i=="string"&&(i=i.split(" "))}else i=i.split(" ")}else i=Array.isArray(i)?i.join(" "):i;this._value!==i&&(this.valueHasChanged=!0,this._value=i,this.hasUpdated&&this.updateDependencies())}get validity(){var i;return(i=this.valueInput)==null?void 0:i.validity}get validationMessage(){var i;return(i=this.valueInput)==null?void 0:i.validationMessage}connectedCallback(){if(super.connectedCallback(),this.updateComplete.then(()=>this.handleDefaultSlotChange()),this.open=!1,this.cacheKey){let i=JSON.parse(localStorage.getItem("zn-linked-select-cache")||"{}");i[this.cacheKey]&&(this.value=i[this.cacheKey])}}disconnectedCallback(){var i;super.disconnectedCallback(),(i=this._fetchAbortController)==null||i.abort(),this._fetchAbortController=null,this._searchDebounceTimer!==null&&(clearTimeout(this._searchDebounceTimer),this._searchDebounceTimer=null)}updateHasInputPrefix(){var n;let i=((n=this.prefixSlot)==null?void 0:n.assignedElements({flatten:!0}))||[];this.inputPrefix=i.length>0}addOpenListeners(){var n;let i=this.getRootNode();i.addEventListener("focusin",this.handleDocumentFocusIn),i.addEventListener("keydown",this.handleDocumentKeyDown),document.addEventListener("mousedown",this.handleDocumentMouseDown),"CloseWatcher"in window&&((n=this.closeWatcher)==null||n.destroy(),this.closeWatcher=new CloseWatcher,this.closeWatcher.onclose=()=>{this.open&&(this.hide().then(),this.displayInput.focus({preventScroll:!0}))})}removeOpenListeners(){var n;let i=this.getRootNode();i.removeEventListener("focusin",this.handleDocumentFocusIn),i.removeEventListener("keydown",this.handleDocumentKeyDown),document.removeEventListener("mousedown",this.handleDocumentMouseDown),(n=this.closeWatcher)==null||n.destroy()}handleFocus(){this.hasFocus=!0,this.displayInput.setSelectionRange(0,0),this.emit("zn-focus")}handleBlur(){this.hasFocus=!1,this.emit("zn-blur")}handleLabelClick(){this.displayInput.focus()}handleComboboxMouseDown(i){let n=i.composedPath(),r=n.some(l=>l instanceof Element&&l.tagName.toLowerCase()==="zn-icon"),a=n.some(l=>l instanceof Element&&l.classList.contains("select__expand-icon")),s=n.some(l=>l instanceof Element&&l.classList.contains("select__prefix"));if(!((this.disabled||this._fetchLoading||this._fetchError||r)&&!a||s)){if(this.search&&this.open&&!a){i.preventDefault(),this.displayInput.focus({preventScroll:!0});return}i.preventDefault(),this.displayInput.focus({preventScroll:!0}),this.open=!this.open}}handleComboboxKeyDown(i){if(i.key==="Tab")return;i.composedPath().some(a=>{var s;return a instanceof Element&&((s=a.classList)==null?void 0:s.contains("select__prefix"))})||(i.stopPropagation(),this.handleDocumentKeyDown(i))}handleClearClick(i){i.stopPropagation(),this.value!==""&&(this.search&&(this.clearSearch(),this.displayInput.value=""),this.setSelectedOptions([]),this.displayInput.focus({preventScroll:!0}),this.updateComplete.then(()=>{this.emit("zn-clear"),this.emit("zn-input"),this.emit("zn-change")}))}handleClearMouseDown(i){i.stopPropagation(),i.preventDefault()}get _isRemoteSearch(){return this.search&&!!this.dataUri}handleSearchInput(){if(this.search)if(this._searchDisplayValue=this.displayInput.value,this._searchQuery=this._searchDisplayValue.toLowerCase(),this.open||this.show().then(),this._isRemoteSearch){if(this._searchDebounceTimer!==null&&(clearTimeout(this._searchDebounceTimer),this._searchDebounceTimer=null),!this._searchQuery){this.filterOptions();return}if(this._lastRemoteExhaustive&&this._lastRemoteQuery!==null&&this._searchQuery.startsWith(this._lastRemoteQuery)){this.filterOptions();return}this._noResultsVisible=!1,this._searchDebounceTimer=window.setTimeout(()=>{this._searchDebounceTimer=null,this.fetchOptions(this._searchQuery).then()},this.searchDebounce)}else this.filterOptions()}filterOptions(){let i=this.getAllOptions(),n=this._searchQuery;if(!n){i.forEach(r=>{r.hidden=!1}),this.getAllOptGroups().forEach(r=>{r.hidden=!1}),this._noResultsVisible=!1;return}if(i.forEach(r=>{if(r.selected&&r.hidden)return;let a=r.getTextLabel().toLowerCase(),s=r.value.toLowerCase(),l=a.includes(n)||s.includes(n);r.hidden=!l}),this.getAllOptGroups().forEach(r=>r.updateVisibility()),this._noResultsVisible=i.filter(r=>!r.selected).every(r=>r.hidden),this.currentOption&&this.currentOption.hidden){let r=i.find(a=>!a.hidden&&!a.disabled);r&&this.setCurrentOption(r)}}clearSearch(){this._searchQuery="",this._searchDisplayValue="",this._noResultsVisible=!1,this._searchDebounceTimer!==null&&(clearTimeout(this._searchDebounceTimer),this._searchDebounceTimer=null),this._searchLoading=!1,this.getAllOptions().forEach(n=>{n.hidden=!1}),this.getAllOptGroups().forEach(n=>{n.hidden=!1})}handleOptionClick(i){let r=i.target.closest("zn-option"),a=this.value;if(r&&!r.disabled){if(this.valueHasChanged=!0,this.multiple){if(this.maxOptions>0&&this.selectedOptions.length>=this.maxOptions&&!r.selected)return;this.toggleOptionSelection(r)}else this.setSelectedOptions(r);this.search&&(this.clearSearch(),this.multiple&&(this.displayInput.value="")),this.updateComplete.then(()=>{this.multiple&&this.search&&this.open&&(this.displayInput.value=""),this.displayInput.focus({preventScroll:!0})}),this.value!==a&&this.updateComplete.then(()=>{this.emit("zn-input"),this.emit("zn-change")}),this.multiple||(this.hide().then(),this.displayInput.focus({preventScroll:!0})),this.triggerSubmit&&this.formControlController.submit()}}handleDefaultSlotChange(){customElements.get("zn-option")||customElements.whenDefined("zn-option").then(()=>this.handleDefaultSlotChange());let i=this.getAllOptions(),n=this.valueHasChanged?this.value:this.defaultValue,r=Array.isArray(n)?n:[n],a=[];if(i.forEach(s=>a.push(s.value)),this.setSelectedOptions(i.filter(s=>r.includes(s.value))),!this.valueHasChanged){let s=i.filter(l=>l.hasAttribute("selected"));s.length&&(this.multiple?this.setSelectedOptions(s):this.setSelectedOptions(s[0]))}this.selectFirst&&this.selectedOptions.length===0&&i.length>0&&(this.setSelectedOptions(i[0]),this.valueHasChanged=!0,this.emit("zn-input"),this.emit("zn-change"))}handleTagRemove(i,n){i.stopPropagation(),i.stopImmediatePropagation(),this.disabled||(this.toggleOptionSelection(n,!1),this.updateComplete.then(()=>{this.emit("zn-input"),this.emit("zn-change")}))}getAllOptions(){let i=this.shadowRoot?[...this.shadowRoot.querySelectorAll(".select__listbox zn-option")]:[],n=[...this.querySelectorAll("zn-option")];return[...i,...n]}getAllOptGroups(){let i=this.shadowRoot?[...this.shadowRoot.querySelectorAll(".select__listbox zn-opt-group")]:[],n=[...this.querySelectorAll("zn-opt-group")];return[...i,...n]}getVisibleOptions(){return this.getAllOptions().filter(i=>!i.hidden)}getFirstOption(){return this.querySelector("zn-option")}setCurrentOption(i){var r;this.getAllOptions().forEach(a=>{a.current=!1,a.tabIndex=-1}),i&&(this.currentOption=i,i.current=!0,i.tabIndex=0,this.search&&this.open&&((r=this.shadowRoot)==null?void 0:r.activeElement)===this.displayInput||i.focus())}setSelectedOptions(i){let n=this.getAllOptions(),r=Array.isArray(i)?i:[i];n.forEach(a=>a.selected=!1),r.length&&r.forEach(a=>a.selected=!0),this.selectionChanged()}toggleOptionSelection(i,n){n===!0||n===!1?i.selected=n:i.selected=!i.selected,this.selectionChanged()}selectionChanged(){var n,r;this.selectedOptions=this.getAllOptions().filter(a=>a.selected),this._isRemoteSearch&&this.multiple&&(this._selectedRemoteItems=this.selectedOptions.map(a=>({key:a.value,value:a.getTextLabel()})));let i=this.valueHasChanged;if(this.multiple)this.getAllOptions().filter(a=>!a.multiple).forEach(a=>{a.multiple=!0}),this.value=this.selectedOptions.map(a=>a.value),this.value.length===0?this.displayLabel="":this.displayLabel=this.localize.term("numOptionsSelected",this.selectedOptions.length);else{this.getAllOptions().filter(s=>s.multiple).forEach(s=>{s.multiple=!1});let a=this.selectedOptions[0];this.value=(n=a==null?void 0:a.value)!=null?n:"",this.displayLabel=(r=a==null?void 0:a.getTextLabel())!=null?r:""}this.valueHasChanged=i,this.updateComplete.then(()=>{this.formControlController.updateValidity()})}get tags(){return this.selectedOptions.map((i,n)=>{if(n<this.maxOptionsVisible||this.maxOptionsVisible<=0){let r=this.getTag(i,n);return A`
2126
+ `;this.selectFirst=!1;this.distinct="";this.conditional="";this.maxResults=0;this.searchDebounce=300;this.searchParam="q";this.searchOnly=!1;this.handleDocumentFocusIn=i=>{let n=i.composedPath();this&&!n.includes(this)&&this.hide().then()};this.handleDocumentKeyDown=i=>{let n=i.target,r=n.closest(".select__clear")!==null,a=n.closest("zn-icon")!==null,s=n.closest(".select__expand-icon")!==null;if(!((r||a)&&!s)){if((i.key==="Escape"||i.key==="Tab")&&this.open&&!this.closeWatcher&&(i.preventDefault(),i.stopPropagation(),this.hide().then(),this.displayInput.focus({preventScroll:!0})),i.key==="Enter"||i.key===" "&&!this.search&&this.typeToSelectString===""){if(i.preventDefault(),i.stopImmediatePropagation(),!this.open){this.show().then();return}this.currentOption&&!this.currentOption.disabled&&(this.valueHasChanged=!0,this.multiple?this.toggleOptionSelection(this.currentOption):this.setSelectedOptions(this.currentOption),this.search&&(this.clearSearch(),this.multiple&&(this.displayInput.value="")),this.updateComplete.then(()=>{this.emit("zn-input"),this.emit("zn-change")}),this.multiple?this.search&&this.updateComplete.then(()=>{this.displayInput.value="",this.displayInput.focus({preventScroll:!0})}):(this.hide().then(),this.displayInput.focus({preventScroll:!0})));return}if(["ArrowUp","ArrowDown","Home","End"].includes(i.key)){let l=this.search?this.getVisibleOptions():this.getAllOptions(),c=l.indexOf(this.currentOption),d=Math.max(0,c);if(i.preventDefault(),!this.open&&(this.show().then(),this.currentOption))return;i.key==="ArrowDown"?(d=c+1,d>l.length-1&&(d=0)):i.key==="ArrowUp"?(d=c-1,d<0&&(d=l.length-1)):i.key==="Home"?d=0:i.key==="End"&&(d=l.length-1),this.setCurrentOption(l[d])}if(!this.search&&(i.key.length===1||i.key==="Backspace")){let l=this.getAllOptions();if(i.metaKey||i.ctrlKey||i.altKey)return;if(!this.open){if(i.key==="Backspace")return;this.show().then()}i.stopPropagation(),i.preventDefault(),clearTimeout(this.typeToSelectTimeout),this.typeToSelectTimeout=window.setTimeout(()=>this.typeToSelectString="",1e3),i.key==="Backspace"?this.typeToSelectString=this.typeToSelectString.slice(0,-1):this.typeToSelectString+=i.key.toLowerCase();for(let c of l)if(c.getTextLabel().toLowerCase().startsWith(this.typeToSelectString)){this.setCurrentOption(c);break}}}};this.handleDocumentMouseDown=i=>{let n=i.composedPath();this&&!n.includes(this)&&this.hide().then()}}get value(){return this._value}set value(i){if(this.multiple){if(!Array.isArray(i))if(i.trimStart().startsWith("["))try{let n=JSON.parse(i);i=Array.isArray(n)?n:i.split(" ")}catch(n){typeof i=="string"&&(i=i.split(" "))}else i=i.split(" ")}else i=Array.isArray(i)?i.join(" "):i;this._value!==i&&(this.valueHasChanged=!0,this._value=i,this.hasUpdated&&this.updateDependencies())}get validity(){var i;return(i=this.valueInput)==null?void 0:i.validity}get validationMessage(){var i;return(i=this.valueInput)==null?void 0:i.validationMessage}connectedCallback(){if(super.connectedCallback(),this.updateComplete.then(()=>this.handleDefaultSlotChange()),this.open=!1,this.cacheKey){let i=JSON.parse(localStorage.getItem("zn-linked-select-cache")||"{}");i[this.cacheKey]&&(this.value=i[this.cacheKey])}}disconnectedCallback(){var i;super.disconnectedCallback(),(i=this._fetchAbortController)==null||i.abort(),this._fetchAbortController=null,this._searchDebounceTimer!==null&&(clearTimeout(this._searchDebounceTimer),this._searchDebounceTimer=null)}updateHasInputPrefix(){var n;let i=((n=this.prefixSlot)==null?void 0:n.assignedElements({flatten:!0}))||[];this.inputPrefix=i.length>0}addOpenListeners(){var n;let i=this.getRootNode();i.addEventListener("focusin",this.handleDocumentFocusIn),i.addEventListener("keydown",this.handleDocumentKeyDown),document.addEventListener("mousedown",this.handleDocumentMouseDown),"CloseWatcher"in window&&((n=this.closeWatcher)==null||n.destroy(),this.closeWatcher=new CloseWatcher,this.closeWatcher.onclose=()=>{this.open&&(this.hide().then(),this.displayInput.focus({preventScroll:!0}))})}removeOpenListeners(){var n;let i=this.getRootNode();i.removeEventListener("focusin",this.handleDocumentFocusIn),i.removeEventListener("keydown",this.handleDocumentKeyDown),document.removeEventListener("mousedown",this.handleDocumentMouseDown),(n=this.closeWatcher)==null||n.destroy()}handleFocus(){this.hasFocus=!0,this.displayInput.setSelectionRange(0,0),this.emit("zn-focus")}handleBlur(){this.hasFocus=!1,this.emit("zn-blur")}handleLabelClick(){this.displayInput.focus()}handleComboboxMouseDown(i){let n=i.composedPath(),r=n.some(l=>l instanceof Element&&l.tagName.toLowerCase()==="zn-icon"),a=n.some(l=>l instanceof Element&&l.classList.contains("select__expand-icon")),s=n.some(l=>l instanceof Element&&l.classList.contains("select__prefix"));if(!((this.disabled||this._fetchLoading||this._fetchError||r)&&!a||s)){if(this.search&&this.open&&!a){i.preventDefault(),this.displayInput.focus({preventScroll:!0});return}i.preventDefault(),this.displayInput.focus({preventScroll:!0}),this.open=!this.open}}handleComboboxKeyDown(i){if(i.key==="Tab")return;i.composedPath().some(a=>{var s;return a instanceof Element&&((s=a.classList)==null?void 0:s.contains("select__prefix"))})||(i.stopPropagation(),this.handleDocumentKeyDown(i))}handleClearClick(i){i.stopPropagation(),this.value!==""&&(this.search&&(this.clearSearch(),this.displayInput.value=""),this.setSelectedOptions([]),this.displayInput.focus({preventScroll:!0}),this.updateComplete.then(()=>{this.emit("zn-clear"),this.emit("zn-input"),this.emit("zn-change"),this.triggerSubmit&&this.formControlController.submit()}))}handleClearMouseDown(i){i.stopPropagation(),i.preventDefault()}get _isRemoteSearch(){return this.search&&!!this.dataUri}handleSearchInput(){if(this.search)if(this._searchDisplayValue=this.displayInput.value,this._searchQuery=this._searchDisplayValue.toLowerCase(),this.open||this.show().then(),this._isRemoteSearch){if(this._searchDebounceTimer!==null&&(clearTimeout(this._searchDebounceTimer),this._searchDebounceTimer=null),!this._searchQuery){this.filterOptions();return}if(this._lastRemoteExhaustive&&this._lastRemoteQuery!==null&&this._searchQuery.startsWith(this._lastRemoteQuery)){this.filterOptions();return}this._noResultsVisible=!1,this._searchDebounceTimer=window.setTimeout(()=>{this._searchDebounceTimer=null,this.fetchOptions(this._searchQuery).then()},this.searchDebounce)}else this.filterOptions()}filterOptions(){let i=this.getAllOptions(),n=this._searchQuery;if(!n){i.forEach(r=>{r.hidden=!1}),this.getAllOptGroups().forEach(r=>{r.hidden=!1}),this._noResultsVisible=!1;return}if(i.forEach(r=>{if(r.selected&&r.hidden)return;let a=r.getTextLabel().toLowerCase(),s=r.value.toLowerCase(),l=a.includes(n)||s.includes(n);r.hidden=!l}),this.getAllOptGroups().forEach(r=>r.updateVisibility()),this._noResultsVisible=i.filter(r=>!r.selected).every(r=>r.hidden),this.currentOption&&this.currentOption.hidden){let r=i.find(a=>!a.hidden&&!a.disabled);r&&this.setCurrentOption(r)}}clearSearch(){this._searchQuery="",this._searchDisplayValue="",this._noResultsVisible=!1,this._searchDebounceTimer!==null&&(clearTimeout(this._searchDebounceTimer),this._searchDebounceTimer=null),this._searchLoading=!1,this.getAllOptions().forEach(n=>{n.hidden=!1}),this.getAllOptGroups().forEach(n=>{n.hidden=!1})}handleOptionClick(i){let r=i.target.closest("zn-option"),a=this.value;if(r&&!r.disabled){if(this.valueHasChanged=!0,this.multiple){if(this.maxOptions>0&&this.selectedOptions.length>=this.maxOptions&&!r.selected)return;this.toggleOptionSelection(r)}else this.setSelectedOptions(r);this.search&&(this.clearSearch(),this.multiple&&(this.displayInput.value="")),this.updateComplete.then(()=>{this.multiple&&this.search&&this.open&&(this.displayInput.value=""),this.displayInput.focus({preventScroll:!0})}),this.value!==a&&this.updateComplete.then(()=>{this.emit("zn-input"),this.emit("zn-change")}),this.multiple||(this.hide().then(),this.displayInput.focus({preventScroll:!0})),this.triggerSubmit&&this.formControlController.submit()}}handleDefaultSlotChange(){customElements.get("zn-option")||customElements.whenDefined("zn-option").then(()=>this.handleDefaultSlotChange());let i=this.getAllOptions(),n=this.valueHasChanged?this.value:this.defaultValue,r=Array.isArray(n)?n:[n],a=[];if(i.forEach(s=>a.push(s.value)),this.setSelectedOptions(i.filter(s=>r.includes(s.value))),!this.valueHasChanged){let s=i.filter(l=>l.hasAttribute("selected"));s.length&&(this.multiple?this.setSelectedOptions(s):this.setSelectedOptions(s[0]))}this.selectFirst&&this.selectedOptions.length===0&&i.length>0&&(this.setSelectedOptions(i[0]),this.valueHasChanged=!0,this.emit("zn-input"),this.emit("zn-change"))}handleTagRemove(i,n){i.stopPropagation(),i.stopImmediatePropagation(),this.disabled||(this.toggleOptionSelection(n,!1),this.updateComplete.then(()=>{this.emit("zn-input"),this.emit("zn-change")}))}getAllOptions(){let i=this.shadowRoot?[...this.shadowRoot.querySelectorAll(".select__listbox zn-option")]:[],n=[...this.querySelectorAll("zn-option")];return[...i,...n]}getAllOptGroups(){let i=this.shadowRoot?[...this.shadowRoot.querySelectorAll(".select__listbox zn-opt-group")]:[],n=[...this.querySelectorAll("zn-opt-group")];return[...i,...n]}getVisibleOptions(){return this.getAllOptions().filter(i=>!i.hidden)}getFirstOption(){return this.querySelector("zn-option")}setCurrentOption(i){var r;this.getAllOptions().forEach(a=>{a.current=!1,a.tabIndex=-1}),i&&(this.currentOption=i,i.current=!0,i.tabIndex=0,this.search&&this.open&&((r=this.shadowRoot)==null?void 0:r.activeElement)===this.displayInput||i.focus())}setSelectedOptions(i){let n=this.getAllOptions(),r=Array.isArray(i)?i:[i];n.forEach(a=>a.selected=!1),r.length&&r.forEach(a=>a.selected=!0),this.selectionChanged()}toggleOptionSelection(i,n){n===!0||n===!1?i.selected=n:i.selected=!i.selected,this.selectionChanged()}selectionChanged(){var n,r;this.selectedOptions=this.getAllOptions().filter(a=>a.selected),this._isRemoteSearch&&this.multiple&&(this._selectedRemoteItems=this.selectedOptions.map(a=>({key:a.value,value:a.getTextLabel()})));let i=this.valueHasChanged;if(this.multiple)this.getAllOptions().filter(a=>!a.multiple).forEach(a=>{a.multiple=!0}),this.value=this.selectedOptions.map(a=>a.value),this.value.length===0?this.displayLabel="":this.displayLabel=this.localize.term("numOptionsSelected",this.selectedOptions.length);else{this.getAllOptions().filter(s=>s.multiple).forEach(s=>{s.multiple=!1});let a=this.selectedOptions[0];this.value=(n=a==null?void 0:a.value)!=null?n:"",this.displayLabel=(r=a==null?void 0:a.getTextLabel())!=null?r:""}this.valueHasChanged=i,this.updateComplete.then(()=>{this.formControlController.updateValidity()})}get tags(){return this.selectedOptions.map((i,n)=>{if(n<this.maxOptionsVisible||this.maxOptionsVisible<=0){let r=this.getTag(i,n);return A`
2127
2127
  <div @zn-remove=${a=>this.handleTagRemove(a,i)}>
2128
2128
  ${typeof r=="string"?Dr(r):r}
2129
2129
  </div>`}else if(n===this.maxOptionsVisible)return A`
@@ -4988,7 +4988,7 @@ button {
4988
4988
  </div>
4989
4989
  </div>
4990
4990
  </div>
4991
- `}};Oi.dependencies={"zn-icon":ii,"zn-tooltip":Bo},Oi.styles=Q(P7),v([y()],Oi.prototype,"caption",2),v([y()],Oi.prototype,"description",2),v([y({type:Boolean})],Oi.prototype,"stacked",2),v([y({reflect:!0})],Oi.prototype,"size",2),v([y({attribute:"edit-on-hover",type:Boolean})],Oi.prototype,"editOnHover",2),v([y({attribute:"help-tooltip"})],Oi.prototype,"helpTooltip",2),v([y()],Oi.prototype,"icon",2),v([y()],Oi.prototype,"value",2),v([y({type:Boolean})],Oi.prototype,"inline",2),v([y({type:Boolean})],Oi.prototype,"grid",2),v([y({type:Boolean,attribute:"no-padding"})],Oi.prototype,"noPadding",2),v([y({type:Boolean,attribute:"align-end"})],Oi.prototype,"alignEnd",2),v([y({type:Boolean,attribute:"align-center"})],Oi.prototype,"alignCenter",2);var Toe=Oi;Oi.define("zn-item");var I7={AD:"Andorra",AE:"United Arab Emirates",AF:"Afghanistan",AG:"Antigua and Barbuda",AI:"Anguilla",AL:"Albania",AM:"Armenia",AO:"Angola",AQ:"Antarctica",AR:"Argentina",AS:"American Samoa",AT:"Austria",AU:"Australia",AW:"Aruba",AX:"Aland",AZ:"Azerbaijan",BA:"Bosnia and Herzegovina",BB:"Barbados",BD:"Bangladesh",BE:"Belgium",BF:"Burkina Faso",BG:"Bulgaria",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BL:"Saint Barthelemy",BM:"Bermuda",BN:"Brunei",BO:"Bolivia",BQ:"Bonaire",BR:"Brazil",BS:"Bahamas",BT:"Bhutan",BV:"Bouvet Island",BW:"Botswana",BY:"Belarus",BZ:"Belize",CA:"Canada",CC:"Cocos (Keeling) Islands",CD:"Democratic Republic of the Congo",CF:"Central African Republic",CG:"Republic of the Congo",CH:"Switzerland",CI:"Ivory Coast",CK:"Cook Islands",CL:"Chile",CM:"Cameroon",CN:"China",CO:"Colombia",CR:"Costa Rica",CU:"Cuba",CV:"Cape Verde",CW:"Curacao",CX:"Christmas Island",CY:"Cyprus",CZ:"Czech Republic",DE:"Germany",DJ:"Djibouti",DK:"Denmark",DM:"Dominica",DO:"Dominican Republic",DZ:"Algeria",EC:"Ecuador",EE:"Estonia",EG:"Egypt",EH:"Western Sahara",ER:"Eritrea",ES:"Spain",ET:"Ethiopia",FI:"Finland",FJ:"Fiji",FK:"Falkland Islands",FM:"Micronesia",FO:"Faroe Islands",FR:"France",GA:"Gabon",GB:"United Kingdom",GD:"Grenada",GE:"Georgia",GF:"French Guiana",GG:"Guernsey",GH:"Ghana",GI:"Gibraltar",GL:"Greenland",GM:"Gambia",GN:"Guinea",GP:"Guadeloupe",GQ:"Equatorial Guinea",GR:"Greece",GS:"South Georgia and the South Sandwich Islands",GT:"Guatemala",GU:"Guam",GW:"Guinea-Bissau",GY:"Guyana",HK:"Hong Kong",HM:"Heard Island and McDonald Islands",HN:"Honduras",HR:"Croatia",HT:"Haiti",HU:"Hungary",ID:"Indonesia",IE:"Ireland",IL:"Israel",IM:"Isle of Man",IN:"India",IO:"British Indian Ocean Territory",IQ:"Iraq",IR:"Iran",IS:"Iceland",IT:"Italy",JE:"Jersey",JM:"Jamaica",JO:"Jordan",JP:"Japan",KE:"Kenya",KG:"Kyrgyzstan",KH:"Cambodia",KI:"Kiribati",KM:"Comoros",KN:"Saint Kitts and Nevis",KP:"North Korea",KR:"South Korea",KW:"Kuwait",KY:"Cayman Islands",KZ:"Kazakhstan",LA:"Laos",LB:"Lebanon",LC:"Saint Lucia",LI:"Liechtenstein",LK:"Sri Lanka",LR:"Liberia",LS:"Lesotho",LT:"Lithuania",LU:"Luxembourg",LV:"Latvia",LY:"Libya",MA:"Morocco",MC:"Monaco",MD:"Moldova",ME:"Montenegro",MF:"Saint Martin",MG:"Madagascar",MH:"Marshall Islands",MK:"North Macedonia",ML:"Mali",MM:"Myanmar (Burma)",MN:"Mongolia",MO:"Macao",MP:"Northern Mariana Islands",MQ:"Martinique",MR:"Mauritania",MS:"Montserrat",MT:"Malta",MU:"Mauritius",MV:"Maldives",MW:"Malawi",MX:"Mexico",MY:"Malaysia",MZ:"Mozambique",NA:"Namibia",NC:"New Caledonia",NE:"Niger",NF:"Norfolk Island",NG:"Nigeria",NI:"Nicaragua",NL:"Netherlands",NO:"Norway",NP:"Nepal",NR:"Nauru",NU:"Niue",NZ:"New Zealand",OM:"Oman",PA:"Panama",PE:"Peru",PF:"French Polynesia",PG:"Papua New Guinea",PH:"Philippines",PK:"Pakistan",PL:"Poland",PM:"Saint Pierre and Miquelon",PN:"Pitcairn Islands",PR:"Puerto Rico",PS:"Palestine",PT:"Portugal",PW:"Palau",PY:"Paraguay",QA:"Qatar",RE:"Reunion",RO:"Romania",RS:"Serbia",RU:"Russia",RW:"Rwanda",SA:"Saudi Arabia",SB:"Solomon Islands",SC:"Seychelles",SD:"Sudan",SE:"Sweden",SG:"Singapore",SH:"Saint Helena",SI:"Slovenia",SJ:"Svalbard and Jan Mayen",SK:"Slovakia",SL:"Sierra Leone",SM:"San Marino",SN:"Senegal",SO:"Somalia",SR:"Suriname",SS:"South Sudan",ST:"Sao Tome and Principe",SV:"El Salvador",SX:"Sint Maarten",SY:"Syria",SZ:"Eswatini",TC:"Turks and Caicos Islands",TD:"Chad",TF:"French Southern Territories",TG:"Togo",TH:"Thailand",TJ:"Tajikistan",TK:"Tokelau",TL:"East Timor",TM:"Turkmenistan",TN:"Tunisia",TO:"Tonga",TR:"Turkey",TT:"Trinidad and Tobago",TV:"Tuvalu",TW:"Taiwan",TZ:"Tanzania",UA:"Ukraine",UG:"Uganda",UM:"U.S. Minor Outlying Islands",US:"United States",UY:"Uruguay",UZ:"Uzbekistan",VA:"Vatican City",VC:"Saint Vincent and the Grenadines",VE:"Venezuela",VG:"British Virgin Islands",VI:"U.S. Virgin Islands",VN:"Vietnam",VU:"Vanuatu",WF:"Wallis and Futuna",WS:"Samoa",XK:"Kosovo",YE:"Yemen",YT:"Mayotte",ZA:"South Africa",ZM:"Zambia",ZW:"Zimbabwe"},$7={AD:"\u{1F1E6}\u{1F1E9}",AE:"\u{1F1E6}\u{1F1EA}",AF:"\u{1F1E6}\u{1F1EB}",AG:"\u{1F1E6}\u{1F1EC}",AI:"\u{1F1E6}\u{1F1EE}",AL:"\u{1F1E6}\u{1F1F1}",AM:"\u{1F1E6}\u{1F1F2}",AO:"\u{1F1E6}\u{1F1F4}",AQ:"\u{1F1E6}\u{1F1F6}",AR:"\u{1F1E6}\u{1F1F7}",AS:"\u{1F1E6}\u{1F1F8}",AT:"\u{1F1E6}\u{1F1F9}",AU:"\u{1F1E6}\u{1F1FA}",AW:"\u{1F1E6}\u{1F1FC}",AX:"\u{1F1E6}\u{1F1FD}",AZ:"\u{1F1E6}\u{1F1FF}",BA:"\u{1F1E7}\u{1F1E6}",BB:"\u{1F1E7}\u{1F1E7}",BD:"\u{1F1E7}\u{1F1E9}",BE:"\u{1F1E7}\u{1F1EA}",BF:"\u{1F1E7}\u{1F1EB}",BG:"\u{1F1E7}\u{1F1EC}",BH:"\u{1F1E7}\u{1F1ED}",BI:"\u{1F1E7}\u{1F1EE}",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A}",YT:"\u{1F1FE}\u{1F1F9}",ZA:"\u{1F1FF}\u{1F1E6}",ZM:"\u{1F1FF}\u{1F1F2}",ZW:"\u{1F1FF}\u{1F1FC}"},Moe=["US","GB","CA","FR","DE","IT","ES","JP","CN","IN","BR","AU","MX","RU","ZA","KR","NL","SE","NO","FI"],Loe=[...Object.keys(I7)].sort((o,t)=>o.localeCompare(t)),qoe=[...Moe,...Loe],Roe=Array.from(new Set(qoe)),F7={getName:"country",getData:Roe.map(o=>({key:o,value:I7[o],prefix:$7[o]?$7[o]:""}))};var H7={ALL:"Albania Lek",AFN:"Afghanistan Afghani",ARS:"Argentina Peso",AWG:"Aruba Guilder",AUD:"Australia Dollar",AZN:"Azerbaijan New Manat",BSD:"Bahamas Dollar",BBD:"Barbados Dollar",BDT:"Bangladeshi taka",BYR:"Belarus Ruble",BZD:"Belize Dollar",BMD:"Bermuda Dollar",BOB:"Bolivia Boliviano",BAM:"Bosnia and Herzegovina Convertible Marka",BWP:"Botswana Pula",BGN:"Bulgaria Lev",BRL:"Brazil Real",BND:"Brunei Darussalam Dollar",KHR:"Cambodia Riel",CAD:"Canada Dollar",KYD:"Cayman Islands Dollar",CLP:"Chile Peso",CNY:"China Yuan Renminbi",COP:"Colombia Peso",CRC:"Costa Rica Colon",HRK:"Croatia Kuna",CUP:"Cuba Peso",CZK:"Czech Republic Koruna",DKK:"Denmark Krone",DOP:"Dominican Republic Peso",XCD:"East Caribbean Dollar",EGP:"Egypt Pound",SVC:"El Salvador Colon",EEK:"Estonia Kroon",EUR:"Euro Member Countries",FKP:"Falkland Islands (Malvinas) Pound",FJD:"Fiji Dollar",GHC:"Ghana Cedis",GIP:"Gibraltar Pound",GTQ:"Guatemala Quetzal",GGP:"Guernsey Pound",GYD:"Guyana Dollar",HNL:"Honduras Lempira",HKD:"Hong Kong Dollar",HUF:"Hungary Forint",ISK:"Iceland Krona",INR:"India Rupee",IDR:"Indonesia Rupiah",IRR:"Iran Rial",IMP:"Isle of Man Pound",ILS:"Israel Shekel",JMD:"Jamaica Dollar",JPY:"Japan Yen",JEP:"Jersey Pound",KZT:"Kazakhstan Tenge",KPW:"Korea (North) Won",KRW:"Korea (South) Won",KGS:"Kyrgyzstan Som",LAK:"Laos Kip",LVL:"Latvia Lat",LBP:"Lebanon Pound",LRD:"Liberia Dollar",LTL:"Lithuania Litas",MKD:"Macedonia Denar",MYR:"Malaysia Ringgit",MUR:"Mauritius Rupee",MXN:"Mexico Peso",MNT:"Mongolia Tughrik",MZN:"Mozambique Metical",NAD:"Namibia Dollar",NPR:"Nepal Rupee",ANG:"Netherlands Antilles Guilder",NZD:"New Zealand Dollar",NIO:"Nicaragua Cordoba",NGN:"Nigeria Naira",NOK:"Norway Krone",OMR:"Oman Rial",PKR:"Pakistan Rupee",PAB:"Panama Balboa",PYG:"Paraguay Guarani",PEN:"Peru Nuevo Sol",PHP:"Philippines Peso",PLN:"Poland Zloty",QAR:"Qatar Riyal",RON:"Romania New Leu",RUB:"Russia Ruble",SHP:"Saint Helena Pound",SAR:"Saudi Arabia Riyal",RSD:"Serbia Dinar",SCR:"Seychelles Rupee",SGD:"Singapore Dollar",SBD:"Solomon Islands Dollar",SOS:"Somalia Shilling",ZAR:"South Africa Rand",LKR:"Sri Lanka Rupee",SEK:"Sweden Krona",CHF:"Switzerland Franc",SRD:"Suriname Dollar",SYP:"Syria Pound",TWD:"Taiwan New Dollar",THB:"Thailand Baht",TTD:"Trinidad and Tobago Dollar",TRY:"Turkey Lira",TRL:"Turkey Lira",TVD:"Tuvalu Dollar",UAH:"Ukraine Hryvna",GBP:"Great British Pound",USD:"United States Dollar",UYU:"Uruguay Peso",UZS:"Uzbekistan Som",VEF:"Venezuela Bolivar",VND:"Viet Nam Dong",YER:"Yemen Rial",ZWD:"Zimbabwe Dollar"},N7={AED:"\u062F.\u0625",AFN:"\u060B",ALL:"L",AMD:"\u058F",ANG:"\u0192",AOA:"Kz",ARS:"$",AUD:"$",AWG:"\u0192",AZN:"\u20BC",BAM:"KM",BBD:"$",BDT:"\u09F3",BGN:"\u043B\u0432",BHD:".\u062F.\u0628",BIF:"FBu",BMD:"$",BND:"$",BOB:"$b",BOV:"BOV",BRL:"R$",BSD:"$",BTC:"\u20BF",BTN:"Nu.",BWP:"P",BYN:"Br",BYR:"Br",BZD:"BZ$",CAD:"$",CDF:"FC",CHE:"CHE",CHF:"CHF",CHW:"CHW",CLF:"CLF",CLP:"$",CNH:"\xA5",CNY:"\xA5",COP:"$",COU:"COU",CRC:"\u20A1",CUC:"$",CUP:"\u20B1",CVE:"$",CZK:"K\u010D",DJF:"Fdj",DKK:"kr",DOP:"RD$",DZD:"\u062F\u062C",EEK:"kr",EGP:"\xA3",ERN:"Nfk",ETB:"Br",ETH:"\u039E",EUR:"\u20AC",FJD:"$",FKP:"\xA3",GBP:"\xA3",GEL:"\u20BE",GGP:"\xA3",GHC:"\u20B5",GHS:"GH\u20B5",GIP:"\xA3",GMD:"D",GNF:"FG",GTQ:"Q",GYD:"$",HKD:"$",HNL:"L",HRK:"kn",HTG:"G",HUF:"Ft",IDR:"Rp",ILS:"\u20AA",IMP:"\xA3",INR:"\u20B9",IQD:"\u0639.\u062F",IRR:"\uFDFC",ISK:"kr",JEP:"\xA3",JMD:"J$",JOD:"JD",JPY:"\xA5",KES:"KSh",KGS:"\u043B\u0432",KHR:"\u17DB",KMF:"CF",KPW:"\u20A9",KRW:"\u20A9",KWD:"KD",KYD:"$",KZT:"\u20B8",LAK:"\u20AD",LBP:"\xA3",LKR:"\u20A8",LRD:"$",LSL:"M",LTC:"\u0141",LTL:"Lt",LVL:"Ls",LYD:"LD",MAD:"MAD",MDL:"lei",MGA:"Ar",MKD:"\u0434\u0435\u043D",MMK:"K",MNT:"\u20AE",MOP:"MOP$",MRO:"UM",MRU:"UM",MUR:"\u20A8",MVR:"Rf",MWK:"MK",MXN:"$",MXV:"MXV",MYR:"RM",MZN:"MT",NAD:"$",NGN:"\u20A6",NIO:"C$",NOK:"kr",NPR:"\u20A8",NZD:"$",OMR:"\uFDFC",PAB:"B/.",PEN:"S/.",PGK:"K",PHP:"\u20B1",PKR:"\u20A8",PLN:"z\u0142",PYG:"Gs",QAR:"\uFDFC",RMB:"\uFFE5",RON:"lei",RSD:"\u0414\u0438\u043D.",RUB:"\u20BD",RWF:"R\u20A3",SAR:"\uFDFC",SBD:"$",SCR:"\u20A8",SDG:"\u062C.\u0633.",SEK:"kr",SGD:"S$",SHP:"\xA3",SLL:"Le",SOS:"S",SRD:"$",SSP:"\xA3",STD:"Db",STN:"Db",SVC:"$",SYP:"\xA3",SZL:"E",THB:"\u0E3F",TJS:"SM",TMT:"T",TND:"\u062F.\u062A",TOP:"T$",TRL:"\u20A4",TRY:"\u20BA",TTD:"TT$",TVD:"$",TWD:"NT$",TZS:"TSh",UAH:"\u20B4",UGX:"USh",USD:"$",UYI:"UYI",UYU:"$U",UYW:"UYW",UZS:"\u043B\u0432",VEF:"Bs",VES:"Bs.S",VND:"\u20AB",VUV:"VT",WST:"WS$",XAF:"FCFA",XBT:"\u0243",XCD:"$",XOF:"CFA",XPF:"\u20A3",XSU:"Sucre",XUA:"XUA",YER:"\uFDFC",ZAR:"R",ZMW:"ZK",ZWD:"Z$",ZWL:"$"},Zk=["USD","EUR","GBP","CAD","AUD"],Doe=[...Object.keys(H7)].sort((o,t)=>o.localeCompare(t)),B7=(o=!1)=>{let t=Doe.filter(r=>!Zk.includes(r)),n=[...Zk,...t].map(r=>({key:r,value:r.concat(" - ").concat(H7[r]),prefix:N7[r]?N7[r]:""}));if(o){let r={key:Zk.join(","),value:"Common - USD, EUR, GBP, CAD & AUD",prefix:""};n.unshift(r)}return{getName:"currency",getData:n}};var W7={AF:"93",AL:"355",DZ:"213",AS:"1-684",AD:"376",AO:"244",AI:"1-264",AQ:"672",AG:"1-268",AR:"54",AM:"374",AW:"297",AU:"61",AT:"43",AZ:"994",BS:"1-242",BH:"973",BD:"880",BB:"1-246",BY:"375",BE:"32",BZ:"501",BJ:"229",BM:"1-441",BT:"975",BO:"591",BA:"387",BW:"267",BR:"55",IO:"246",VG:"1-284",BN:"673",BG:"359",BF:"226",BI:"257",KH:"855",CM:"237",CA:"1",CV:"238",KY:"1-345",CF:"236",TD:"235",CL:"56",CN:"86",CX:"61",CC:"61",CO:"57",KM:"269",CK:"682",CR:"506",HR:"385",CU:"53",CW:"599",CY:"357",CZ:"420",CD:"243",DK:"45",DJ:"253",DM:"1-767",DO:"1-809",TL:"670",EC:"593",EG:"20",SV:"503",GQ:"240",ER:"291",EE:"372",ET:"251",FK:"500",FO:"298",FJ:"679",FI:"358",FR:"33",PF:"689",GA:"241",GM:"220",GE:"995",DE:"49",GH:"233",GI:"350",GR:"30",GL:"299",GD:"1-473",GU:"1-671",GT:"502",GG:"44-1481",GN:"224",GW:"245",GY:"592",HT:"509",HN:"504",HK:"852",HU:"36",IS:"354",IN:"91",ID:"62",IR:"98",IQ:"964",IE:"353",IM:"44-1624",IL:"972",IT:"39",CI:"225",JM:"1-876",JP:"81",JE:"44-1534",JO:"962",KZ:"7",KE:"254",KI:"686",XK:"383",KW:"965",KG:"996",LA:"856",LV:"371",LB:"961",LS:"266",LR:"231",LY:"218",LI:"423",LT:"370",LU:"352",MO:"853",MK:"389",MG:"261",MW:"265",MY:"60",MV:"960",ML:"223",MT:"356",MH:"692",MR:"222",MU:"230",YT:"262",MX:"52",FM:"691",MD:"373",MC:"377",MN:"976",ME:"382",MS:"1-664",MA:"212",MZ:"258",MM:"95",NA:"264",NR:"674",NP:"977",NL:"31",AN:"599",NC:"687",NZ:"64",NI:"505",NE:"227",NG:"234",NU:"683",KP:"850",MP:"1-670",NO:"47",OM:"968",PK:"92",PW:"680",PS:"970",PA:"507",PG:"675",PY:"595",PE:"51",PH:"63",PN:"64",PL:"48",PT:"351",PR:"1-787",QA:"974",CG:"242",RE:"262",RO:"40",RU:"7",RW:"250",BL:"590",SH:"290",KN:"1-869",LC:"1-758",MF:"590",PM:"508",VC:"1-784",WS:"685",SM:"378",ST:"239",SA:"966",SN:"221",RS:"381",SC:"248",SL:"232",SG:"65",SX:"1-721",SK:"421",SI:"386",SB:"677",SO:"252",ZA:"27",KR:"82",SS:"211",ES:"34",LK:"94",SD:"249",SR:"597",SJ:"47",SZ:"268",SE:"46",CH:"41",SY:"963",TW:"886",TJ:"992",TZ:"255",TH:"66",TG:"228",TK:"690",TO:"676",TT:"1-868",TN:"216",TR:"90",TM:"993",TC:"1-649",TV:"688",VI:"1-340",UG:"256",UA:"380",AE:"971",GB:"44",US:"1",UY:"598",UZ:"998",VU:"678",VA:"379",VE:"58",VN:"84",WF:"681",EH:"212",YE:"967",ZM:"260",ZW:"263"},j7={AD:"\u{1F1E6}\u{1F1E9}",AE:"\u{1F1E6}\u{1F1EA}",AF:"\u{1F1E6}\u{1F1EB}",AG:"\u{1F1E6}\u{1F1EC}",AI:"\u{1F1E6}\u{1F1EE}",AL:"\u{1F1E6}\u{1F1F1}",AM:"\u{1F1E6}\u{1F1F2}",AO:"\u{1F1E6}\u{1F1F4}",AQ:"\u{1F1E6}\u{1F1F6}",AR:"\u{1F1E6}\u{1F1F7}",AS:"\u{1F1E6}\u{1F1F8}",AT:"\u{1F1E6}\u{1F1F9}",AU:"\u{1F1E6}\u{1F1FA}",AW:"\u{1F1E6}\u{1F1FC}",AX:"\u{1F1E6}\u{1F1FD}",AZ:"\u{1F1E6}\u{1F1FF}",BA:"\u{1F1E7}\u{1F1E6}",BB:"\u{1F1E7}\u{1F1E7}",BD:"\u{1F1E7}\u{1F1E9}",BE:"\u{1F1E7}\u{1F1EA}",BF:"\u{1F1E7}\u{1F1EB}",BG:"\u{1F1E7}\u{1F1EC}",BH:"\u{1F1E7}\u{1F1ED}",BI:"\u{1F1E7}\u{1F1EE}",BJ:"\u{1F1E7}\u{1F1EF}",BL:"\u{1F1E7}\u{1F1F1}",BM:"\u{1F1E7}\u{1F1F2}",BN:"\u{1F1E7}\u{1F1F3}",BO:"\u{1F1E7}\u{1F1F4}",BQ:"\u{1F1E7}\u{1F1F6}",B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X","RU","ZA","KR","NL","SE","NO","FI"],Poe=[...Object.keys(W7)].sort((o,t)=>o.localeCompare(t)),$oe=[...Ooe,...Poe],Ioe=Array.from(new Set($oe)),V7={getName:"Dial Prefix",getData:Ioe.map(o=>({key:o,value:`${o} +(${W7[o]})`,prefix:j7[o]?j7[o]:""}))};var Foe={AL:"Alabama",AK:"Alaska",AZ:"Arizona",AR:"Arkansas",CA:"California",CO:"Colorado",CT:"Connecticut",DE:"Delaware",FL:"Florida",GA:"Georgia",HI:"Hawaii",ID:"Idaho",IL:"Illinois",IN:"Indiana",IA:"Iowa",KS:"Kansas",KY:"Kentucky",LA:"Louisiana",ME:"Maine",MD:"Maryland",MA:"Massachusetts",MI:"Michigan",MN:"Minnesota",MS:"Mississippi",MO:"Missouri",MT:"Montana",NE:"Nebraska",NV:"Nevada",NH:"New Hampshire",NJ:"New Jersey",NM:"New Mexico",NY:"New York",NC:"North Carolina",ND:"North Dakota",OH:"Ohio",OK:"Oklahoma",OR:"Oregon",PA:"Pennsylvania",RI:"Rhode Island",SC:"South Carolina",SD:"South Dakota",TN:"Tennessee",TX:"Texas",UT:"Utah",VT:"Vermont",VA:"Virginia",WA:"Washington",WV:"West Virginia",WI:"Wisconsin",WY:"Wyoming",DC:"District of Columbia",AS:"American Samoa",GU:"Guam",MP:"Northern Mariana Islands",PR:"Puerto Rico",VI:"U.S. Virgin Islands"},U7={getName:"state",getData:Object.entries(Foe).map(([o,t])=>({key:o,value:t}))};var G7={getName:"Empty",getData:[]};var Y7=Z`@keyframes rotate-gradient{from{--rotate:0deg}to{--rotate:360deg}}:host{text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host *,:host *::before,:host *::after{box-sizing:border-box;border-width:0;border-style:solid;border-color:rgb(var(--zn-border-color))}[hidden]{display:none !important}.width-container,.form-container,.wide-form-container{height:100%;width:100%;margin:0 auto}.width-container{max-width:var(--zn-container)}.form-container{max-width:var(--zn-container-ph)}.wide-form-container{max-width:var(--zn-container-lg)}:host{display:block}.color-icon{width:var(--zn-spacing-medium);height:var(--zn-spacing-medium);display:block;border-radius:var(--zn-border-radius-circle);flex-shrink:0}.color-icon--red{background-color:var(--zn-color-red-500)}.color-icon--blue{background-color:var(--zn-color-blue-500)}.color-icon--orange{background-color:var(--zn-color-orange-500)}.color-icon--yellow{background-color:var(--zn-color-yellow-400)}.color-icon--indigo{background-color:var(--zn-color-indigo-500)}.color-icon--violet{background-color:var(--zn-color-violet-500)}.color-icon--green{background-color:var(--zn-color-green-500)}.color-icon--pink{background-color:var(--zn-color-pink-500)}.color-icon--gray{background-color:var(--zn-color-gray-500)}zn-select::part(listbox){max-height:300px}.select__icon{font-size:var(--zn-font-size-x-large);line-height:1;display:inline-flex;align-items:center}.select__icon:empty{display:none}:host([size=small]) .select__icon{padding-inline-start:var(--zn-input-spacing-small);margin-inline-end:var(--zn-input-spacing-small)}:host([size=small]) .select__icon--end{padding-inline-start:0;padding-inline-end:var(--zn-input-spacing-small);margin-inline-end:0;margin-inline-start:auto}:host([icon-position=end][size=small]) zn-select::part(combobox){padding-inline-start:var(--zn-input-spacing-small) !important}:host([icon-position=start][icon-empty][size=small]) zn-select::part(combobox){padding-inline-start:var(--zn-input-spacing-small) !important}:host([size=medium]) .select__icon{padding-inline-start:var(--zn-input-spacing-medium);margin-inline-end:var(--zn-input-spacing-medium)}:host([size=medium]) .select__icon--end{padding-inline-start:0;padding-inline-end:var(--zn-input-spacing-medium);margin-inline-end:0;margin-inline-start:auto}:host([icon-position=end][size=medium]) zn-select::part(combobox){padding-inline-start:var(--zn-input-spacing-medium) !important}:host([icon-position=start][icon-empty][size=medium]) zn-select::part(combobox){padding-inline-start:var(--zn-input-spacing-medium) !important}:host([size=large]) .select__icon{padding-inline-start:var(--zn-input-spacing-large);margin-inline-end:var(--zn-input-spacing-large)}:host([size=large]) .select__icon--end{padding-inline-start:0;padding-inline-end:var(--zn-input-spacing-large);margin-inline-end:0;margin-inline-start:auto}:host([icon-position=end][size=large]) zn-select::part(combobox){padding-inline-start:var(--zn-input-spacing-large) !important}:host([icon-position=start][icon-empty][size=large]) zn-select::part(combobox){padding-inline-start:var(--zn-input-spacing-large) !important}:host(:not([size])) .select__icon{padding-inline-start:var(--zn-input-spacing-medium);margin-inline-end:var(--zn-input-spacing-medium)}:host(:not([size])) .select__icon--end{padding-inline-start:0;padding-inline-end:var(--zn-input-spacing-medium);margin-inline-end:0;margin-inline-start:auto}:host([icon-position=end]:not([size])) zn-select::part(combobox),:host([icon-position=start][icon-empty]:not([size])) zn-select::part(combobox){padding-inline-start:var(--zn-input-spacing-medium) !important}`;var qt=class extends K{constructor(){super();this.value="";this.iconPosition="none";this.size="medium";this.allowAll=!1;this.allowCommon=!1;this.label="";this.labelTooltip="";this.contextNote="";this.placement="bottom";this.helpText="";this.required=!1;this.disabled=!1;this.iconOnly=!1;this.multiple=!1;this.selectFirst=!1;this.distinct="";this.conditional="";this.formControlController=new Ke(this);this.closeOnTab=i=>{this.select.open&&i.key==="Tab"&&this.select.hide().then()};this.handleInput=i=>{var r;let n=i.target;this.value=(r=n.value)!=null?r:this.multiple?[]:""};this.handleClear=()=>{this.value=this.multiple?[]:""};this.blur=()=>{this.select.blur()};this.iconOnly&&this.iconPosition==="none"&&(this.iconPosition="start")}get validationMessage(){return this.select.validationMessage}get validity(){return this.select.validity}connectedCallback(){super.connectedCallback(),window.addEventListener("keydown",this.closeOnTab)}disconnectedCallback(){var i;super.disconnectedCallback(),window.removeEventListener("keydown",this.closeOnTab),(i=this.selectObserver)==null||i.disconnect()}async firstUpdated(i){super.firstUpdated(i),this.select&&(await this.select.updateComplete,this.select.addEventListener("zn-change",()=>{this._updatePrefix()}),this._observeSelectDisabled()),this._updatePrefix()}async updated(i){super.updated(i),(i.has("value")||i.has("multiple"))&&this._normalizeValue(),(i.has("value")||i.has("provider")||i.has("iconPosition"))&&(this.select&&await this.select.updateComplete,this._updatePrefix())}checkValidity(){return this.select.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.select.reportValidity()}setCustomValidity(i){return this.select.setCustomValidity(i)}async handleValueChange(){await this.updateComplete,this.formControlController.updateValidity(),this.select&&(await this.select.updateComplete,await new Promise(i=>setTimeout(i,0))),this._updatePrefix()}getLocalProvider(i){switch(i){case"color":return wv;case"currency":return B7(this.allowCommon);case"country":return F7;case"phone":return V7;case"us-state":return U7;default:return G7}}render(){let i=this.getLocalProvider(this.provider),n=this.filter||[],r=i.getData;if(n.length){let a=n.map(s=>s.toUpperCase());r=i.getData.reduce((s,l)=>{let c=l.key.toUpperCase();if(c.includes(",")){let h=c.split(",").map(f=>f.trim()).filter(f=>a.includes(f));h.length>1&&s.push(Xe(ze({},l),{key:h.join(","),value:`Common - ${h.join(", ")}`}))}else a.includes(c)&&s.push(l);return s},[])}if(this.provider!=="color"&&this.allowAll){let l={key:"",value:{currency:"All Currencies",country:"All Countries",phone:"All Phones","us-state":"All States"}[this.provider]||"All",prefix:""};r=[l,...r.filter(c=>c.key!==l.key)]}return A`
4991
+ `}};Oi.dependencies={"zn-icon":ii,"zn-tooltip":Bo},Oi.styles=Q(P7),v([y()],Oi.prototype,"caption",2),v([y()],Oi.prototype,"description",2),v([y({type:Boolean})],Oi.prototype,"stacked",2),v([y({reflect:!0})],Oi.prototype,"size",2),v([y({attribute:"edit-on-hover",type:Boolean})],Oi.prototype,"editOnHover",2),v([y({attribute:"help-tooltip"})],Oi.prototype,"helpTooltip",2),v([y()],Oi.prototype,"icon",2),v([y()],Oi.prototype,"value",2),v([y({type:Boolean})],Oi.prototype,"inline",2),v([y({type:Boolean})],Oi.prototype,"grid",2),v([y({type:Boolean,attribute:"no-padding"})],Oi.prototype,"noPadding",2),v([y({type:Boolean,attribute:"align-end"})],Oi.prototype,"alignEnd",2),v([y({type:Boolean,attribute:"align-center"})],Oi.prototype,"alignCenter",2);var Toe=Oi;Oi.define("zn-item");var I7={AD:"Andorra",AE:"United Arab Emirates",AF:"Afghanistan",AG:"Antigua and Barbuda",AI:"Anguilla",AL:"Albania",AM:"Armenia",AO:"Angola",AQ:"Antarctica",AR:"Argentina",AS:"American Samoa",AT:"Austria",AU:"Australia",AW:"Aruba",AX:"Aland",AZ:"Azerbaijan",BA:"Bosnia and Herzegovina",BB:"Barbados",BD:"Bangladesh",BE:"Belgium",BF:"Burkina Faso",BG:"Bulgaria",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BL:"Saint Barthelemy",BM:"Bermuda",BN:"Brunei",BO:"Bolivia",BQ:"Bonaire",BR:"Brazil",BS:"Bahamas",BT:"Bhutan",BV:"Bouvet Island",BW:"Botswana",BY:"Belarus",BZ:"Belize",CA:"Canada",CC:"Cocos (Keeling) Islands",CD:"Democratic Republic of the Congo",CF:"Central African Republic",CG:"Republic of the Congo",CH:"Switzerland",CI:"Ivory Coast",CK:"Cook Islands",CL:"Chile",CM:"Cameroon",CN:"China",CO:"Colombia",CR:"Costa Rica",CU:"Cuba",CV:"Cape Verde",CW:"Curacao",CX:"Christmas Island",CY:"Cyprus",CZ:"Czech Republic",DE:"Germany",DJ:"Djibouti",DK:"Denmark",DM:"Dominica",DO:"Dominican Republic",DZ:"Algeria",EC:"Ecuador",EE:"Estonia",EG:"Egypt",EH:"Western Sahara",ER:"Eritrea",ES:"Spain",ET:"Ethiopia",FI:"Finland",FJ:"Fiji",FK:"Falkland Islands",FM:"Micronesia",FO:"Faroe Islands",FR:"France",GA:"Gabon",GB:"United Kingdom",GD:"Grenada",GE:"Georgia",GF:"French Guiana",GG:"Guernsey",GH:"Ghana",GI:"Gibraltar",GL:"Greenland",GM:"Gambia",GN:"Guinea",GP:"Guadeloupe",GQ:"Equatorial Guinea",GR:"Greece",GS:"South Georgia and the South Sandwich Islands",GT:"Guatemala",GU:"Guam",GW:"Guinea-Bissau",GY:"Guyana",HK:"Hong Kong",HM:"Heard Island and McDonald Islands",HN:"Honduras",HR:"Croatia",HT:"Haiti",HU:"Hungary",ID:"Indonesia",IE:"Ireland",IL:"Israel",IM:"Isle of Man",IN:"India",IO:"British Indian Ocean Territory",IQ:"Iraq",IR:"Iran",IS:"Iceland",IT:"Italy",JE:"Jersey",JM:"Jamaica",JO:"Jordan",JP:"Japan",KE:"Kenya",KG:"Kyrgyzstan",KH:"Cambodia",KI:"Kiribati",KM:"Comoros",KN:"Saint Kitts and Nevis",KP:"North Korea",KR:"South Korea",KW:"Kuwait",KY:"Cayman Islands",KZ:"Kazakhstan",LA:"Laos",LB:"Lebanon",LC:"Saint Lucia",LI:"Liechtenstein",LK:"Sri Lanka",LR:"Liberia",LS:"Lesotho",LT:"Lithuania",LU:"Luxembourg",LV:"Latvia",LY:"Libya",MA:"Morocco",MC:"Monaco",MD:"Moldova",ME:"Montenegro",MF:"Saint Martin",MG:"Madagascar",MH:"Marshall Islands",MK:"North Macedonia",ML:"Mali",MM:"Myanmar (Burma)",MN:"Mongolia",MO:"Macao",MP:"Northern Mariana Islands",MQ:"Martinique",MR:"Mauritania",MS:"Montserrat",MT:"Malta",MU:"Mauritius",MV:"Maldives",MW:"Malawi",MX:"Mexico",MY:"Malaysia",MZ:"Mozambique",NA:"Namibia",NC:"New Caledonia",NE:"Niger",NF:"Norfolk Island",NG:"Nigeria",NI:"Nicaragua",NL:"Netherlands",NO:"Norway",NP:"Nepal",NR:"Nauru",NU:"Niue",NZ:"New Zealand",OM:"Oman",PA:"Panama",PE:"Peru",PF:"French Polynesia",PG:"Papua New Guinea",PH:"Philippines",PK:"Pakistan",PL:"Poland",PM:"Saint Pierre and Miquelon",PN:"Pitcairn Islands",PR:"Puerto Rico",PS:"Palestine",PT:"Portugal",PW:"Palau",PY:"Paraguay",QA:"Qatar",RE:"Reunion",RO:"Romania",RS:"Serbia",RU:"Russia",RW:"Rwanda",SA:"Saudi Arabia",SB:"Solomon Islands",SC:"Seychelles",SD:"Sudan",SE:"Sweden",SG:"Singapore",SH:"Saint Helena",SI:"Slovenia",SJ:"Svalbard and Jan Mayen",SK:"Slovakia",SL:"Sierra Leone",SM:"San Marino",SN:"Senegal",SO:"Somalia",SR:"Suriname",SS:"South Sudan",ST:"Sao Tome and Principe",SV:"El Salvador",SX:"Sint Maarten",SY:"Syria",SZ:"Eswatini",TC:"Turks and Caicos Islands",TD:"Chad",TF:"French Southern Territories",TG:"Togo",TH:"Thailand",TJ:"Tajikistan",TK:"Tokelau",TL:"East Timor",TM:"Turkmenistan",TN:"Tunisia",TO:"Tonga",TR:"Turkey",TT:"Trinidad and Tobago",TV:"Tuvalu",TW:"Taiwan",TZ:"Tanzania",UA:"Ukraine",UG:"Uganda",UM:"U.S. Minor Outlying Islands",US:"United States",UY:"Uruguay",UZ:"Uzbekistan",VA:"Vatican City",VC:"Saint Vincent and the Grenadines",VE:"Venezuela",VG:"British Virgin Islands",VI:"U.S. Virgin Islands",VN:"Vietnam",VU:"Vanuatu",WF:"Wallis and Futuna",WS:"Samoa",XK:"Kosovo",YE:"Yemen",YT:"Mayotte",ZA:"South Africa",ZM:"Zambia",ZW:"Zimbabwe"},$7={AD:"\u{1F1E6}\u{1F1E9}",AE:"\u{1F1E6}\u{1F1EA}",AF:"\u{1F1E6}\u{1F1EB}",AG:"\u{1F1E6}\u{1F1EC}",AI:"\u{1F1E6}\u{1F1EE}",AL:"\u{1F1E6}\u{1F1F1}",AM:"\u{1F1E6}\u{1F1F2}",AO:"\u{1F1E6}\u{1F1F4}",AQ:"\u{1F1E6}\u{1F1F6}",AR:"\u{1F1E6}\u{1F1F7}",AS:"\u{1F1E6}\u{1F1F8}",AT:"\u{1F1E6}\u{1F1F9}",AU:"\u{1F1E6}\u{1F1FA}",AW:"\u{1F1E6}\u{1F1FC}",AX:"\u{1F1E6}\u{1F1FD}",AZ:"\u{1F1E6}\u{1F1FF}",BA:"\u{1F1E7}\u{1F1E6}",BB:"\u{1F1E7}\u{1F1E7}",BD:"\u{1F1E7}\u{1F1E9}",BE:"\u{1F1E7}\u{1F1EA}",BF:"\u{1F1E7}\u{1F1EB}",BG:"\u{1F1E7}\u{1F1EC}",BH:"\u{1F1E7}\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D}\u{1F1F0}",YE:"\u{1F1FE}\u{1F1EA}",YT:"\u{1F1FE}\u{1F1F9}",ZA:"\u{1F1FF}\u{1F1E6}",ZM:"\u{1F1FF}\u{1F1F2}",ZW:"\u{1F1FF}\u{1F1FC}"},Moe=["US","GB","CA","FR","DE","IT","ES","JP","CN","IN","BR","AU","MX","RU","ZA","KR","NL","SE","NO","FI"],Loe=[...Object.keys(I7)].sort((o,t)=>o.localeCompare(t)),qoe=[...Moe,...Loe],Roe=Array.from(new Set(qoe)),F7={getName:"country",getData:Roe.map(o=>({key:o,value:I7[o],prefix:$7[o]?$7[o]:""}))};var H7={ALL:"Albania Lek",AFN:"Afghanistan Afghani",ARS:"Argentina Peso",AWG:"Aruba Guilder",AUD:"Australia Dollar",AZN:"Azerbaijan New Manat",BSD:"Bahamas Dollar",BBD:"Barbados Dollar",BDT:"Bangladeshi taka",BYR:"Belarus Ruble",BZD:"Belize Dollar",BMD:"Bermuda Dollar",BOB:"Bolivia Boliviano",BAM:"Bosnia and Herzegovina Convertible Marka",BWP:"Botswana Pula",BGN:"Bulgaria Lev",BRL:"Brazil Real",BND:"Brunei Darussalam Dollar",KHR:"Cambodia Riel",CAD:"Canada Dollar",KYD:"Cayman Islands Dollar",CLP:"Chile Peso",CNY:"China Yuan Renminbi",COP:"Colombia Peso",CRC:"Costa Rica Colon",HRK:"Croatia Kuna",CUP:"Cuba Peso",CZK:"Czech Republic Koruna",DKK:"Denmark Krone",DOP:"Dominican Republic Peso",XCD:"East Caribbean Dollar",EGP:"Egypt Pound",SVC:"El Salvador Colon",EEK:"Estonia Kroon",EUR:"Euro Member Countries",FKP:"Falkland Islands (Malvinas) Pound",FJD:"Fiji Dollar",GHC:"Ghana Cedis",GIP:"Gibraltar Pound",GTQ:"Guatemala Quetzal",GGP:"Guernsey Pound",GYD:"Guyana Dollar",HNL:"Honduras Lempira",HKD:"Hong Kong Dollar",HUF:"Hungary Forint",ISK:"Iceland Krona",INR:"India Rupee",IDR:"Indonesia Rupiah",IRR:"Iran Rial",IMP:"Isle of Man Pound",ILS:"Israel Shekel",JMD:"Jamaica Dollar",JPY:"Japan Yen",JEP:"Jersey Pound",KZT:"Kazakhstan Tenge",KPW:"Korea (North) Won",KRW:"Korea (South) Won",KGS:"Kyrgyzstan Som",LAK:"Laos Kip",LVL:"Latvia Lat",LBP:"Lebanon Pound",LRD:"Liberia Dollar",LTL:"Lithuania Litas",MKD:"Macedonia Denar",MYR:"Malaysia Ringgit",MUR:"Mauritius Rupee",MXN:"Mexico Peso",MNT:"Mongolia Tughrik",MZN:"Mozambique Metical",NAD:"Namibia Dollar",NPR:"Nepal Rupee",ANG:"Netherlands Antilles Guilder",NZD:"New Zealand Dollar",NIO:"Nicaragua Cordoba",NGN:"Nigeria Naira",NOK:"Norway Krone",OMR:"Oman Rial",PKR:"Pakistan Rupee",PAB:"Panama Balboa",PYG:"Paraguay Guarani",PEN:"Peru Nuevo Sol",PHP:"Philippines Peso",PLN:"Poland Zloty",QAR:"Qatar Riyal",RON:"Romania New Leu",RUB:"Russia Ruble",SHP:"Saint Helena Pound",SAR:"Saudi Arabia Riyal",RSD:"Serbia Dinar",SCR:"Seychelles Rupee",SGD:"Singapore Dollar",SBD:"Solomon Islands Dollar",SOS:"Somalia Shilling",ZAR:"South Africa Rand",LKR:"Sri Lanka Rupee",SEK:"Sweden Krona",CHF:"Switzerland Franc",SRD:"Suriname Dollar",SYP:"Syria Pound",TWD:"Taiwan New Dollar",THB:"Thailand Baht",TTD:"Trinidad and Tobago Dollar",TRY:"Turkey Lira",TRL:"Turkey Lira",TVD:"Tuvalu Dollar",UAH:"Ukraine Hryvna",GBP:"Great British Pound",USD:"United States Dollar",UYU:"Uruguay Peso",UZS:"Uzbekistan Som",VEF:"Venezuela Bolivar",VND:"Viet Nam Dong",YER:"Yemen Rial",ZWD:"Zimbabwe Dollar"},N7={AED:"\u062F.\u0625",AFN:"\u060B",ALL:"L",AMD:"\u058F",ANG:"\u0192",AOA:"Kz",ARS:"$",AUD:"$",AWG:"\u0192",AZN:"\u20BC",BAM:"KM",BBD:"$",BDT:"\u09F3",BGN:"\u043B\u0432",BHD:".\u062F.\u0628",BIF:"FBu",BMD:"$",BND:"$",BOB:"$b",BOV:"BOV",BRL:"R$",BSD:"$",BTC:"\u20BF",BTN:"Nu.",BWP:"P",BYN:"Br",BYR:"Br",BZD:"BZ$",CAD:"$",CDF:"FC",CHE:"CHE",CHF:"CHF",CHW:"CHW",CLF:"CLF",CLP:"$",CNH:"\xA5",CNY:"\xA5",COP:"$",COU:"COU",CRC:"\u20A1",CUC:"$",CUP:"\u20B1",CVE:"$",CZK:"K\u010D",DJF:"Fdj",DKK:"kr",DOP:"RD$",DZD:"\u062F\u062C",EEK:"kr",EGP:"\xA3",ERN:"Nfk",ETB:"Br",ETH:"\u039E",EUR:"\u20AC",FJD:"$",FKP:"\xA3",GBP:"\xA3",GEL:"\u20BE",GGP:"\xA3",GHC:"\u20B5",GHS:"GH\u20B5",GIP:"\xA3",GMD:"D",GNF:"FG",GTQ:"Q",GYD:"$",HKD:"$",HNL:"L",HRK:"kn",HTG:"G",HUF:"Ft",IDR:"Rp",ILS:"\u20AA",IMP:"\xA3",INR:"\u20B9",IQD:"\u0639.\u062F",IRR:"\uFDFC",ISK:"kr",JEP:"\xA3",JMD:"J$",JOD:"JD",JPY:"\xA5",KES:"KSh",KGS:"\u043B\u0432",KHR:"\u17DB",KMF:"CF",KPW:"\u20A9",KRW:"\u20A9",KWD:"KD",KYD:"$",KZT:"\u20B8",LAK:"\u20AD",LBP:"\xA3",LKR:"\u20A8",LRD:"$",LSL:"M",LTC:"\u0141",LTL:"Lt",LVL:"Ls",LYD:"LD",MAD:"MAD",MDL:"lei",MGA:"Ar",MKD:"\u0434\u0435\u043D",MMK:"K",MNT:"\u20AE",MOP:"MOP$",MRO:"UM",MRU:"UM",MUR:"\u20A8",MVR:"Rf",MWK:"MK",MXN:"$",MXV:"MXV",MYR:"RM",MZN:"MT",NAD:"$",NGN:"\u20A6",NIO:"C$",NOK:"kr",NPR:"\u20A8",NZD:"$",OMR:"\uFDFC",PAB:"B/.",PEN:"S/.",PGK:"K",PHP:"\u20B1",PKR:"\u20A8",PLN:"z\u0142",PYG:"Gs",QAR:"\uFDFC",RMB:"\uFFE5",RON:"lei",RSD:"\u0414\u0438\u043D.",RUB:"\u20BD",RWF:"R\u20A3",SAR:"SAR",SBD:"$",SCR:"\u20A8",SDG:"\u062C.\u0633.",SEK:"kr",SGD:"S$",SHP:"\xA3",SLL:"Le",SOS:"S",SRD:"$",SSP:"\xA3",STD:"Db",STN:"Db",SVC:"$",SYP:"\xA3",SZL:"E",THB:"\u0E3F",TJS:"SM",TMT:"T",TND:"\u062F.\u062A",TOP:"T$",TRL:"\u20A4",TRY:"\u20BA",TTD:"TT$",TVD:"$",TWD:"NT$",TZS:"TSh",UAH:"\u20B4",UGX:"USh",USD:"$",UYI:"UYI",UYU:"$U",UYW:"UYW",UZS:"\u043B\u0432",VEF:"Bs",VES:"Bs.S",VND:"\u20AB",VUV:"VT",WST:"WS$",XAF:"FCFA",XBT:"\u0243",XCD:"$",XOF:"CFA",XPF:"\u20A3",XSU:"Sucre",XUA:"XUA",YER:"\uFDFC",ZAR:"R",ZMW:"ZK",ZWD:"Z$",ZWL:"$"},Zk=["USD","EUR","GBP","CAD","AUD"],Doe=[...Object.keys(H7)].sort((o,t)=>o.localeCompare(t)),B7=(o=!1)=>{let t=Doe.filter(r=>!Zk.includes(r)),n=[...Zk,...t].map(r=>({key:r,value:r.concat(" - ").concat(H7[r]),prefix:N7[r]?N7[r]:""}));if(o){let r={key:Zk.join(","),value:"Common - USD, EUR, GBP, CAD & AUD",prefix:""};n.unshift(r)}return{getName:"currency",getData:n}};var W7={AF:"93",AL:"355",DZ:"213",AS:"1-684",AD:"376",AO:"244",AI:"1-264",AQ:"672",AG:"1-268",AR:"54",AM:"374",AW:"297",AU:"61",AT:"43",AZ:"994",BS:"1-242",BH:"973",BD:"880",BB:"1-246",BY:"375",BE:"32",BZ:"501",BJ:"229",BM:"1-441",BT:"975",BO:"591",BA:"387",BW:"267",BR:"55",IO:"246",VG:"1-284",BN:"673",BG:"359",BF:"226",BI:"257",KH:"855",CM:"237",CA:"1",CV:"238",KY:"1-345",CF:"236",TD:"235",CL:"56",CN:"86",CX:"61",CC:"61",CO:"57",KM:"269",CK:"682",CR:"506",HR:"385",CU:"53",CW:"599",CY:"357",CZ:"420",CD:"243",DK:"45",DJ:"253",DM:"1-767",DO:"1-809",TL:"670",EC:"593",EG:"20",SV:"503",GQ:"240",ER:"291",EE:"372",ET:"251",FK:"500",FO:"298",FJ:"679",FI:"358",FR:"33",PF:"689",GA:"241",GM:"220",GE:"995",DE:"49",GH:"233",GI:"350",GR:"30",GL:"299",GD:"1-473",GU:"1-671",GT:"502",GG:"44-1481",GN:"224",GW:"245",GY:"592",HT:"509",HN:"504",HK:"852",HU:"36",IS:"354",IN:"91",ID:"62",IR:"98",IQ:"964",IE:"353",IM:"44-1624",IL:"972",IT:"39",CI:"225",JM:"1-876",JP:"81",JE:"44-1534",JO:"962",KZ:"7",KE:"254",KI:"686",XK:"383",KW:"965",KG:"996",LA:"856",LV:"371",LB:"961",LS:"266",LR:"231",LY:"218",LI:"423",LT:"370",LU:"352",MO:"853",MK:"389",MG:"261",MW:"265",MY:"60",MV:"960",ML:"223",MT:"356",MH:"692",MR:"222",MU:"230",YT:"262",MX:"52",FM:"691",MD:"373",MC:"377",MN:"976",ME:"382",MS:"1-664",MA:"212",MZ:"258",MM:"95",NA:"264",NR:"674",NP:"977",NL:"31",AN:"599",NC:"687",NZ:"64",NI:"505",NE:"227",NG:"234",NU:"683",KP:"850",MP:"1-670",NO:"47",OM:"968",PK:"92",PW:"680",PS:"970",PA:"507",PG:"675",PY:"595",PE:"51",PH:"63",PN:"64",PL:"48",PT:"351",PR:"1-787",QA:"974",CG:"242",RE:"262",RO:"40",RU:"7",RW:"250",BL:"590",SH:"290",KN:"1-869",LC:"1-758",MF:"590",PM:"508",VC:"1-784",WS:"685",SM:"378",ST:"239",SA:"966",SN:"221",RS:"381",SC:"248",SL:"232",SG:"65",SX:"1-721",SK:"421",SI:"386",SB:"677",SO:"252",ZA:"27",KR:"82",SS:"211",ES:"34",LK:"94",SD:"249",SR:"597",SJ:"47",SZ:"268",SE:"46",CH:"41",SY:"963",TW:"886",TJ:"992",TZ:"255",TH:"66",TG:"228",TK:"690",TO:"676",TT:"1-868",TN:"216",TR:"90",TM:"993",TC:"1-649",TV:"688",VI:"1-340",UG:"256",UA:"380",AE:"971",GB:"44",US:"1",UY:"598",UZ:"998",VU:"678",VA:"379",VE:"58",VN:"84",WF:"681",EH:"212",YE:"967",ZM:"260",ZW:"263"},j7={AD:"\u{1F1E6}\u{1F1E9}",AE:"\u{1F1E6}\u{1F1EA}",AF:"\u{1F1E6}\u{1F1EB}",AG:"\u{1F1E6}\u{1F1EC}",AI:"\u{1F1E6}\u{1F1EE}",AL:"\u{1F1E6}\u{1F1F1}",AM:"\u{1F1E6}\u{1F1F2}",AO:"\u{1F1E6}\u{1F1F4}",AQ:"\u{1F1E6}\u{1F1F6}",AR:"\u{1F1E6}\u{1F1F7}",AS:"\u{1F1E6}\u{1F1F8}",AT:"\u{1F1E6}\u{1F1F9}",AU:"\u{1F1E6}\u{1F1FA}",AW:"\u{1F1E6}\u{1F1FC}",AX:"\u{1F1E6}\u{1F1FD}",AZ:"\u{1F1E6}\u{1F1FF}",BA:"\u{1F1E7}\u{1F1E6}",BB:"\u{1F1E7}\u{1F1E7}",BD:"\u{1F1E7}\u{1F1E9}",BE:"\u{1F1E7}\u{1F1EA}",BF:"\u{1F1E7}\u{1F1EB}",BG:"\u{1F1E7}\u{1F1EC}",BH:"\u{1F1E7}\u{1F1ED}",BI:"\u{1F1E7}\u{1F1EE}",BJ:"\u{1F1E7}\u{1F1EF}",BL:"\u{1F1E7}\u{1F1F1}",BM:"\u{1F1E7}\u{1F1F2}",BN:"\u{1F1E7}\u{1F1F3}",BO:"\u{1F1E7}\u{1F1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","FR","DE","IT","ES","JP","CN","IN","BR","AU","MX","RU","ZA","KR","NL","SE","NO","FI"],Poe=[...Object.keys(W7)].sort((o,t)=>o.localeCompare(t)),$oe=[...Ooe,...Poe],Ioe=Array.from(new Set($oe)),V7={getName:"Dial Prefix",getData:Ioe.map(o=>({key:o,value:`${o} +(${W7[o]})`,prefix:j7[o]?j7[o]:""}))};var Foe={AL:"Alabama",AK:"Alaska",AZ:"Arizona",AR:"Arkansas",CA:"California",CO:"Colorado",CT:"Connecticut",DE:"Delaware",FL:"Florida",GA:"Georgia",HI:"Hawaii",ID:"Idaho",IL:"Illinois",IN:"Indiana",IA:"Iowa",KS:"Kansas",KY:"Kentucky",LA:"Louisiana",ME:"Maine",MD:"Maryland",MA:"Massachusetts",MI:"Michigan",MN:"Minnesota",MS:"Mississippi",MO:"Missouri",MT:"Montana",NE:"Nebraska",NV:"Nevada",NH:"New Hampshire",NJ:"New Jersey",NM:"New Mexico",NY:"New York",NC:"North Carolina",ND:"North Dakota",OH:"Ohio",OK:"Oklahoma",OR:"Oregon",PA:"Pennsylvania",RI:"Rhode Island",SC:"South Carolina",SD:"South Dakota",TN:"Tennessee",TX:"Texas",UT:"Utah",VT:"Vermont",VA:"Virginia",WA:"Washington",WV:"West Virginia",WI:"Wisconsin",WY:"Wyoming",DC:"District of Columbia",AS:"American Samoa",GU:"Guam",MP:"Northern Mariana Islands",PR:"Puerto Rico",VI:"U.S. Virgin Islands"},U7={getName:"state",getData:Object.entries(Foe).map(([o,t])=>({key:o,value:t}))};var G7={getName:"Empty",getData:[]};var Y7=Z`@keyframes rotate-gradient{from{--rotate:0deg}to{--rotate:360deg}}:host{text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host *,:host *::before,:host *::after{box-sizing:border-box;border-width:0;border-style:solid;border-color:rgb(var(--zn-border-color))}[hidden]{display:none !important}.width-container,.form-container,.wide-form-container{height:100%;width:100%;margin:0 auto}.width-container{max-width:var(--zn-container)}.form-container{max-width:var(--zn-container-ph)}.wide-form-container{max-width:var(--zn-container-lg)}:host{display:block}.color-icon{width:var(--zn-spacing-medium);height:var(--zn-spacing-medium);display:block;border-radius:var(--zn-border-radius-circle);flex-shrink:0}.color-icon--red{background-color:var(--zn-color-red-500)}.color-icon--blue{background-color:var(--zn-color-blue-500)}.color-icon--orange{background-color:var(--zn-color-orange-500)}.color-icon--yellow{background-color:var(--zn-color-yellow-400)}.color-icon--indigo{background-color:var(--zn-color-indigo-500)}.color-icon--violet{background-color:var(--zn-color-violet-500)}.color-icon--green{background-color:var(--zn-color-green-500)}.color-icon--pink{background-color:var(--zn-color-pink-500)}.color-icon--gray{background-color:var(--zn-color-gray-500)}zn-select::part(listbox){max-height:300px}.select__icon{font-size:var(--zn-font-size-x-large);line-height:1;display:inline-flex;align-items:center}.select__icon:empty{display:none}:host([size=small]) .select__icon{padding-inline-start:var(--zn-input-spacing-small);margin-inline-end:var(--zn-input-spacing-small)}:host([size=small]) .select__icon--end{padding-inline-start:0;padding-inline-end:var(--zn-input-spacing-small);margin-inline-end:0;margin-inline-start:auto}:host([icon-position=end][size=small]) zn-select::part(combobox){padding-inline-start:var(--zn-input-spacing-small) !important}:host([icon-position=start][icon-empty][size=small]) zn-select::part(combobox){padding-inline-start:var(--zn-input-spacing-small) !important}:host([size=medium]) .select__icon{padding-inline-start:var(--zn-input-spacing-medium);margin-inline-end:var(--zn-input-spacing-medium)}:host([size=medium]) .select__icon--end{padding-inline-start:0;padding-inline-end:var(--zn-input-spacing-medium);margin-inline-end:0;margin-inline-start:auto}:host([icon-position=end][size=medium]) zn-select::part(combobox){padding-inline-start:var(--zn-input-spacing-medium) !important}:host([icon-position=start][icon-empty][size=medium]) zn-select::part(combobox){padding-inline-start:var(--zn-input-spacing-medium) !important}:host([size=large]) .select__icon{padding-inline-start:var(--zn-input-spacing-large);margin-inline-end:var(--zn-input-spacing-large)}:host([size=large]) .select__icon--end{padding-inline-start:0;padding-inline-end:var(--zn-input-spacing-large);margin-inline-end:0;margin-inline-start:auto}:host([icon-position=end][size=large]) zn-select::part(combobox){padding-inline-start:var(--zn-input-spacing-large) !important}:host([icon-position=start][icon-empty][size=large]) zn-select::part(combobox){padding-inline-start:var(--zn-input-spacing-large) !important}:host(:not([size])) .select__icon{padding-inline-start:var(--zn-input-spacing-medium);margin-inline-end:var(--zn-input-spacing-medium)}:host(:not([size])) .select__icon--end{padding-inline-start:0;padding-inline-end:var(--zn-input-spacing-medium);margin-inline-end:0;margin-inline-start:auto}:host([icon-position=end]:not([size])) zn-select::part(combobox),:host([icon-position=start][icon-empty]:not([size])) zn-select::part(combobox){padding-inline-start:var(--zn-input-spacing-medium) !important}`;var qt=class extends K{constructor(){super();this.value="";this.iconPosition="none";this.size="medium";this.allowAll=!1;this.allowCommon=!1;this.label="";this.labelTooltip="";this.contextNote="";this.placement="bottom";this.helpText="";this.required=!1;this.disabled=!1;this.iconOnly=!1;this.multiple=!1;this.selectFirst=!1;this.distinct="";this.conditional="";this.formControlController=new Ke(this);this.closeOnTab=i=>{this.select.open&&i.key==="Tab"&&this.select.hide().then()};this.handleInput=i=>{var r;let n=i.target;this.value=(r=n.value)!=null?r:this.multiple?[]:""};this.handleClear=()=>{this.value=this.multiple?[]:""};this.blur=()=>{this.select.blur()};this.iconOnly&&this.iconPosition==="none"&&(this.iconPosition="start")}get validationMessage(){return this.select.validationMessage}get validity(){return this.select.validity}connectedCallback(){super.connectedCallback(),window.addEventListener("keydown",this.closeOnTab)}disconnectedCallback(){var i;super.disconnectedCallback(),window.removeEventListener("keydown",this.closeOnTab),(i=this.selectObserver)==null||i.disconnect()}async firstUpdated(i){super.firstUpdated(i),this.select&&(await this.select.updateComplete,this.select.addEventListener("zn-change",()=>{this._updatePrefix()}),this._observeSelectDisabled()),this._updatePrefix()}async updated(i){super.updated(i),(i.has("value")||i.has("multiple"))&&this._normalizeValue(),(i.has("value")||i.has("provider")||i.has("iconPosition"))&&(this.select&&await this.select.updateComplete,this._updatePrefix())}checkValidity(){return this.select.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.select.reportValidity()}setCustomValidity(i){return this.select.setCustomValidity(i)}async handleValueChange(){await this.updateComplete,this.formControlController.updateValidity(),this.select&&(await this.select.updateComplete,await new Promise(i=>setTimeout(i,0))),this._updatePrefix()}getLocalProvider(i){switch(i){case"color":return wv;case"currency":return B7(this.allowCommon);case"country":return F7;case"phone":return V7;case"us-state":return U7;default:return G7}}render(){let i=this.getLocalProvider(this.provider),n=this.filter||[],r=i.getData;if(n.length){let a=n.map(s=>s.toUpperCase());r=i.getData.reduce((s,l)=>{let c=l.key.toUpperCase();if(c.includes(",")){let h=c.split(",").map(f=>f.trim()).filter(f=>a.includes(f));h.length>1&&s.push(Xe(ze({},l),{key:h.join(","),value:`Common - ${h.join(", ")}`}))}else a.includes(c)&&s.push(l);return s},[])}if(this.provider!=="color"&&this.allowAll){let l={key:"",value:{currency:"All Currencies",country:"All Countries",phone:"All Phones","us-state":"All States"}[this.provider]||"All",prefix:""};r=[l,...r.filter(c=>c.key!==l.key)]}return A`
4992
4992
  <zn-select id="select"
4993
4993
  clearable=${this.clearable||qe}
4994
4994
  size="${this.size}"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kubex/zinc",
3
- "version": "1.0.99",
3
+ "version": "1.0.100",
4
4
  "description": "A collection of web components for building web applications based off of @shoelace-style/Shoelace",
5
5
  "keywords": [
6
6
  "web components",
@@ -254,7 +254,7 @@ const currencyCodeToSymbol: { [key: string]: string } = {
254
254
  'RSD': 'Дин.',
255
255
  'RUB': '₽',
256
256
  'RWF': 'R₣',
257
- 'SAR': '',
257
+ 'SAR': 'SAR',
258
258
  'SBD': '$',
259
259
  'SCR': '₨',
260
260
  'SDG': 'ج.س.',
@@ -294,7 +294,7 @@ export default class ZnSelect extends ZincElement implements ZincFormControl {
294
294
 
295
295
  /**
296
296
  * By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you
297
- * to place the form control outside of a form and associate it with the form that has this `id`. The form must be in
297
+ * to place the form control outside a form and associate it with the form that has this `id`. The form must be in
298
298
  * the same document or shadow root for this to work.
299
299
  */
300
300
  @property({reflect: true}) form: string;
@@ -684,6 +684,10 @@ export default class ZnSelect extends ZincElement implements ZincFormControl {
684
684
  this.emit('zn-clear');
685
685
  this.emit('zn-input');
686
686
  this.emit('zn-change');
687
+
688
+ if (this.triggerSubmit) {
689
+ this.formControlController.submit();
690
+ }
687
691
  });
688
692
  }
689
693
  }
@@ -1336,11 +1340,11 @@ export default class ZnSelect extends ZincElement implements ZincFormControl {
1336
1340
  const data: unknown = await response.json();
1337
1341
 
1338
1342
  // Count raw results before maxResults limiting to determine exhaustiveness
1339
- const rawCount = Array.isArray(data)
1340
- ? data.reduce((n: number, item: unknown) => {
1343
+ const rawCount: number = Array.isArray(data)
1344
+ ? (data as unknown[]).reduce<number>((n, item) => {
1341
1345
  if (item && typeof item === 'object' && 'group' in (item as Record<string, unknown>)) {
1342
1346
  const group = item as Record<string, unknown>;
1343
- return n + (Array.isArray(group.options) ? group.options.length : 0);
1347
+ return n + (Array.isArray(group.options) ? (group.options as unknown[]).length : 0);
1344
1348
  }
1345
1349
  return n + 1;
1346
1350
  }, 0)