@ncino/web-components 8.0.0-preview.23 → 8.0.0-preview.25

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.
Files changed (34) hide show
  1. package/dist/components/accordion/gator/group/accordion-group.gator.js +1 -1
  2. package/dist/components/badge/gator/badge.gator.js +2 -2
  3. package/dist/components/banner/gator/banner.gator.js +1 -1
  4. package/dist/components/breadcrumbs/gator/breadcrumb/breadcrumb.gator.js +2 -2
  5. package/dist/components/button-card/gator/button-card.gator.js +3 -3
  6. package/dist/components/checkbox/checkbox.gator.js +2 -2
  7. package/dist/components/display-card/gator/display-card.gator.js +2 -2
  8. package/dist/components/fab/gator/fab.gator.js +4 -4
  9. package/dist/components/guided-nav/gator/guided-nav/guided-nav.gator.js +5 -3
  10. package/dist/components/guided-nav/gator/guided-nav-step/guided-nav-step.gator.js +23 -14
  11. package/dist/components/guided-nav/gator/guided-nav-substep/guided-nav-substep.gator.js +9 -7
  12. package/dist/components/illustration/gator/illustration.gator.js +1 -1
  13. package/dist/components/list/gator/list/list.gator.js +5 -5
  14. package/dist/components/list/gator/list-item/list-item.gator.js +19 -19
  15. package/dist/components/progress-stepper/stepper-item/stepper-item.gator.js +37 -0
  16. package/dist/components/radio/radio.gator.js +2 -2
  17. package/dist/components/radio-group/radio-group.gator.js +2 -2
  18. package/dist/components/tooltip/tooltip.js +1 -1
  19. package/dist/packages/web-components/src/components/guided-nav/gator/guided-nav-step/guided-nav-step.gator.scss.js +1 -1
  20. package/dist/packages/web-components/src/components/guided-nav/gator/guided-nav-substep/guided-nav-substep.gator.scss.js +1 -1
  21. package/dist/packages/web-components/src/components/progress-stepper/stepper-item/stepper-item.gator.scss.js +1 -0
  22. package/dist/types/components/guided-nav/gator/guided-nav-step/guided-nav-step.gator.d.ts +9 -4
  23. package/dist/types/components/guided-nav/gator/guided-nav-substep/guided-nav-substep.gator.d.ts +5 -3
  24. package/dist/types/components/list/gator/list/list.gator.d.ts +2 -1
  25. package/dist/types/components/list/gator/list-item/list-item.gator.d.ts +5 -1
  26. package/dist/types/components/progress-stepper/stepper-item/stepper-item.gator.d.ts +27 -0
  27. package/dist/types/components/progress-stepper/stepper-item/stepper-item.gator.test.d.ts +0 -0
  28. package/dist/types/utils/components/slot-placeholder/slot-placeholder.d.ts +2 -0
  29. package/dist/types/utils/mixins/attribute-deletion.d.ts +0 -9
  30. package/dist/utils/components/ngc-component.js +1 -1
  31. package/dist/utils/components/slot-placeholder/slot-placeholder.js +15 -6
  32. package/dist/utils/mixins/attribute-deletion.js +1 -1
  33. package/package.json +1 -1
  34. package/web-types.json +125 -160
@@ -1,14 +1,14 @@
1
- import"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/reactive-element.js";import{html as u}from"../../../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/lit-html.js";import{LitElement as f}from"../../../../node_modules/.pnpm/lit-element@4.2.1/node_modules/lit-element/lit-element.js";import{ifDefined as d}from"../../../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/if-defined.js";import{customElement as I}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/custom-element.js";import{property as r}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/property.js";import{state as c}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/state.js";import"../list-item/list-item.gator.js";import{NgcDivider as p}from"../../../divider/gator/divider.gator.js";import{KEY_CONSTANTS as m}from"../../../../consts/key-constants.js";import{NgcComponent as y}from"../../../../utils/components/ngc-component.js";var b=Object.defineProperty,v=Object.getOwnPropertyDescriptor,i=(t,e,l,o)=>{for(var a=o>1?void 0:o?v(e,l):e,n=t.length-1,h;n>=0;n--)(h=t[n])&&(a=(o?h(e,l,a):h(a))||a);return o&&a&&b(e,l,a),a};let s=class extends y{constructor(){super(...arguments),this.id="",this.density="default",this.selectable=!1,this.multiselect=!1,this.ariaLabelledBy="",this.ariaLabelledByElements=null,this.ariaDescribedByElements=null,this.title="",this.fauxFocus=!1,this.hideCheckmarks=!1,this.ariaLabel=null,this._selectedListItem=null,this._activeIndex=0,this._totalListItems=0,this._listItemsWithEventListeners=new Set}updated(t){if(t.has("density")&&this.assignChildNodeDensity(),(this.selectable||this.multiselect)&&this.updateSlottedItems(),t.has("hideCheckmarks")&&this.assignChildNodeHideCheckmark(),t.has("ariaLabelledByElements")&&this.ariaLabelledByElements){const e=this.shadowRoot?.getElementById(this.id);e&&(e.ariaLabelledByElements=this.ariaLabelledByElements)}if(t.has("ariaDescribedByElements")&&this.ariaDescribedByElements){const e=this.shadowRoot?.getElementById(this.id);e&&(e.ariaDescribedByElements=this.ariaDescribedByElements)}t.has("_activeIndex")&&t.get("_activeIndex")!==this._activeIndex&&this._setFauxFocusToCurrentItem()}render(){return u`
1
+ import"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/reactive-element.js";import{html as u}from"../../../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/lit-html.js";import{LitElement as f}from"../../../../node_modules/.pnpm/lit-element@4.2.1/node_modules/lit-element/lit-element.js";import{ifDefined as n}from"../../../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/if-defined.js";import{customElement as I}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/custom-element.js";import{property as l}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/property.js";import{state as c}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/state.js";import"../list-item/list-item.gator.js";import{NgcDivider as p}from"../../../divider/gator/divider.gator.js";import{KEY_CONSTANTS as m}from"../../../../consts/key-constants.js";import{NgcComponent as y}from"../../../../utils/components/ngc-component.js";var b=Object.defineProperty,v=Object.getOwnPropertyDescriptor,i=(t,e,r,o)=>{for(var a=o>1?void 0:o?v(e,r):e,h=t.length-1,d;h>=0;h--)(d=t[h])&&(a=(o?d(e,r,a):d(a))||a);return o&&a&&b(e,r,a),a};let s=class extends y{constructor(){super(...arguments),this.id="",this.density="default",this.selectable=!1,this.multiselect=!1,this.ariaLabelledBy="",this.ariaLabelledByElements=null,this.ariaDescribedByElements=null,this.title="",this.fauxFocus=!1,this.hideCheckmarks=!1,this.ariaLabel=null,this.role=null,this._selectedListItem=null,this._activeIndex=0,this._totalListItems=0,this._listItemsWithEventListeners=new Set}updated(t){if(t.has("density")&&this.assignChildNodeDensity(),(t.has("selectable")||t.has("multiselect"))&&this.updateSlottedItems(),t.has("hideCheckmarks")&&this.assignChildNodeHideCheckmark(),t.has("ariaLabelledByElements")&&this.ariaLabelledByElements){const e=this.shadowRoot?.getElementById(this.id);e&&(e.ariaLabelledByElements=this.ariaLabelledByElements)}if(t.has("ariaDescribedByElements")&&this.ariaDescribedByElements){const e=this.shadowRoot?.getElementById(this.id);e&&(e.ariaDescribedByElements=this.ariaDescribedByElements)}t.has("_activeIndex")&&t.get("_activeIndex")!==this._activeIndex&&this._setFauxFocusToCurrentItem()}render(){return u`
2
2
  <div
3
3
  class="gator-list"
4
4
  title="${this.title}"
5
5
  role="${this.listRole}"
6
- aria-label="${d(this.dataset.ariaLabel)}"
6
+ aria-label="${n(this.dataset.ariaLabel)}"
7
7
  id="${this.id}"
8
8
  @keydown="${this.handleKeyUp}"
9
- aria-multiselectable=${this.multiselect}
10
- aria-activedescendant=${d(d(this.selectable?this._selectedListItem:void 0))}
9
+ aria-multiselectable=${n(this.multiselect?"true":void 0)}
10
+ aria-activedescendant=${n(n(this.selectable?this._selectedListItem:void 0))}
11
11
  >
12
12
  <slot @slotchange="${this.handleSlotChanged}"></slot>
13
13
  </div>
14
- `}get listRole(){return this.selectable?"listbox":"list"}handleSlotChanged(){this.updateSlottedItems()}updateSlottedItems(){if(this.listItems){this._totalListItems=0;for(const[t,e]of this.listItems.entries())this._totalListItems++,this.selectable?(e.selectable=!0,e.role="option"):e.role="listitem",e.multiselect=this.multiselect,this._listItemsWithEventListeners.has(e)||(e.addEventListener("selected",l=>{this._selectedListItem=l.detail.id,this._activeIndex=t,this.multiselect?(e.selected=!e.selected,e.multiselect=!0):(this.unselectAllListItems(),e.selected=!0)}),this._listItemsWithEventListeners.add(e));this.setCurrentListItem()}}setFalseFocusToValue(t){if(this.listItems){for(const[e,l]of this.listItems.entries())if(l.value==t)return this._activeIndex=e,l}}setCurrentListItem(){if(!this.listItems)return;let t;this._activeIndex===-1&&(this._activeIndex=this._totalListItems-1),this._activeIndex>=this._totalListItems&&(this._activeIndex=0);for(const[e,l]of this.listItems.entries())l.currentListItem=e===this._activeIndex,l.currentListItem&&(t=l);return t}_setFauxFocusToCurrentItem(){this.listItems?.forEach(t=>{t.currentListItem?this.fauxFocus?t.falseFocus():t.focus():this.fauxFocus&&t.removeFalseFocus()})}falseFocusFirstItem(){return this._activeIndex=0,this.setCurrentListItem()}falseFocusPreviousItem(){return this._activeIndex--,this.setCurrentListItem()}falseFocusNextItem(){return this._activeIndex++,this.setCurrentListItem()}selectFalseFocusedItem(){if(this.listItems)for(const t of this.listItems)t.falseFocusing&&t.selectItem()}unselectAllListItems(){if(this.listItems)for(const t of this.listItems)t.selected=!1}handleKeyUp(t){switch(t.key){case m.UP:this._activeIndex--,this.setCurrentListItem(),t.preventDefault();break;case m.DOWN:this._activeIndex++,this.setCurrentListItem(),t.preventDefault();break}}get nodes(){return this.shadowRoot?.querySelector("slot")?.assignedElements()}get listItems(){return this.shadowRoot?.querySelector("slot")?.assignedElements().filter(t=>t.nodeName==="NGC-LIST-ITEM")}assignChildNodeDensity(){if(this.nodes)for(const t of this.nodes)(t.nodeName=="NGC-LIST-ITEM"||t.nodeName=="NGC-DIVIDER")&&((t||p).density=this.density)}assignChildNodeHideCheckmark(){if(this.listItems)for(const t of this.listItems)t.hasAttribute("hide-checkmark")||(t.hideCheckmark=this.hideCheckmarks)}};s.shadowRootOptions={...f.shadowRootOptions,mode:"open"};i([r()],s.prototype,"id",2);i([r()],s.prototype,"density",2);i([r({type:Boolean})],s.prototype,"selectable",2);i([r({type:Boolean})],s.prototype,"multiselect",2);i([r({attribute:"aria-labelledby"})],s.prototype,"ariaLabelledBy",2);i([r({type:Array,attribute:"aria-labelled-by-elements"})],s.prototype,"ariaLabelledByElements",2);i([r({type:Array,attribute:"aria-described-by-elements"})],s.prototype,"ariaDescribedByElements",2);i([r({attribute:"aria-describedby"})],s.prototype,"ariaDescribedby",2);i([r()],s.prototype,"title",2);i([r({type:Boolean,attribute:"faux-focus"})],s.prototype,"fauxFocus",2);i([r({type:Boolean,attribute:"hide-checkmarks"})],s.prototype,"hideCheckmarks",2);i([r({attribute:"aria-label"})],s.prototype,"ariaLabel",2);i([c()],s.prototype,"_selectedListItem",2);i([c()],s.prototype,"_activeIndex",2);s=i([I("ngc-list")],s);export{s as NgcList};
14
+ `}get listRole(){return this.dataset.role?this.dataset.role:this.selectable?"listbox":"list"}handleSlotChanged(){this.updateSlottedItems()}updateSlottedItems(){if(this.listItems){this._totalListItems=0;for(const[t,e]of this.listItems.entries())this._totalListItems++,this.selectable?(e.selectable=!0,e.setAttribute("role","option")):(e.selectable=!1,e.setAttribute("role","listitem")),e.multiselect=this.multiselect,this._listItemsWithEventListeners.has(e)||(e.addEventListener("selected",r=>{this._selectedListItem=r.detail.id,this._activeIndex=t,this.multiselect?(e.selected=!e.selected,e.multiselect=!0):(this.unselectAllListItems(),e.selected=!0)}),this._listItemsWithEventListeners.add(e));this.setCurrentListItem()}}setFalseFocusToValue(t){if(this.listItems){for(const[e,r]of this.listItems.entries())if(r.value==t)return this._activeIndex=e,r}}setCurrentListItem(){if(!this.listItems)return;let t;this._activeIndex===-1&&(this._activeIndex=this._totalListItems-1),this._activeIndex>=this._totalListItems&&(this._activeIndex=0);for(const[e,r]of this.listItems.entries())r.currentListItem=e===this._activeIndex,r.currentListItem&&(t=r);return t}_setFauxFocusToCurrentItem(){this.listItems?.forEach(t=>{t.currentListItem?this.fauxFocus?t.falseFocus():t.focus():this.fauxFocus&&t.removeFalseFocus()})}falseFocusFirstItem(){return this._activeIndex=0,this.setCurrentListItem()}falseFocusPreviousItem(){return this._activeIndex--,this.setCurrentListItem()}falseFocusNextItem(){return this._activeIndex++,this.setCurrentListItem()}selectFalseFocusedItem(){if(this.listItems)for(const t of this.listItems)t.falseFocusing&&t.selectItem()}unselectAllListItems(){if(this.listItems)for(const t of this.listItems)t.selected=!1}handleKeyUp(t){switch(t.key){case m.UP:this._activeIndex--,this.setCurrentListItem(),t.preventDefault();break;case m.DOWN:this._activeIndex++,this.setCurrentListItem(),t.preventDefault();break}}get nodes(){return this.shadowRoot?.querySelector("slot")?.assignedElements()}get listItems(){return this.shadowRoot?.querySelector("slot")?.assignedElements().filter(t=>t.nodeName==="NGC-LIST-ITEM")}assignChildNodeDensity(){if(this.nodes)for(const t of this.nodes)(t.nodeName=="NGC-LIST-ITEM"||t.nodeName=="NGC-DIVIDER")&&((t||p).density=this.density)}assignChildNodeHideCheckmark(){if(this.listItems)for(const t of this.listItems)t.hasAttribute("hide-checkmark")||(t.hideCheckmark=this.hideCheckmarks)}};s.shadowRootOptions={...f.shadowRootOptions,mode:"open"};i([l()],s.prototype,"id",2);i([l()],s.prototype,"density",2);i([l({type:Boolean})],s.prototype,"selectable",2);i([l({type:Boolean})],s.prototype,"multiselect",2);i([l({attribute:"aria-labelledby"})],s.prototype,"ariaLabelledBy",2);i([l({type:Array,attribute:"aria-labelled-by-elements"})],s.prototype,"ariaLabelledByElements",2);i([l({type:Array,attribute:"aria-described-by-elements"})],s.prototype,"ariaDescribedByElements",2);i([l({attribute:"aria-describedby"})],s.prototype,"ariaDescribedby",2);i([l()],s.prototype,"title",2);i([l({type:Boolean,attribute:"faux-focus"})],s.prototype,"fauxFocus",2);i([l({type:Boolean,attribute:"hide-checkmarks"})],s.prototype,"hideCheckmarks",2);i([l({attribute:"aria-label"})],s.prototype,"ariaLabel",2);i([l({type:String})],s.prototype,"role",2);i([c()],s.prototype,"_selectedListItem",2);i([c()],s.prototype,"_activeIndex",2);s=i([I("ngc-list")],s);export{s as NgcList};
@@ -1,21 +1,21 @@
1
- import"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/reactive-element.js";import{html as m}from"../../../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/lit-html.js";import{LitElement as u}from"../../../../node_modules/.pnpm/lit-element@4.2.1/node_modules/lit-element/lit-element.js";import{customElement as h}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/custom-element.js";import{property as r}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/property.js";import{state as d}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/state.js";import f from"../../../../packages/web-components/src/components/list/gator/list-item/list-item.gator.scss.js";import{createRef as b,ref as v}from"../../../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/ref.js";import"../../../icon/gator/icon.gator.js";import"../../../icon/gator/templates/add-link.js";import"../../../icon/gator/templates/airplane.js";import"../../../icon/gator/templates/alarm.js";import"../../../icon/gator/templates/apartment.js";import"../../../icon/gator/templates/arrow-around.js";import"../../../icon/gator/templates/arrow-down.js";import"../../../icon/gator/templates/arrow-left.js";import"../../../icon/gator/templates/arrow-line-left.js";import"../../../icon/gator/templates/arrow-line-right.js";import"../../../icon/gator/templates/arrow-right.js";import"../../../icon/gator/templates/arrow-up.js";import"../../../icon/gator/templates/bank.js";import"../../../icon/gator/templates/bell-disabled.js";import"../../../icon/gator/templates/bell.js";import"../../../icon/gator/templates/binoculars.js";import"../../../icon/gator/templates/book.js";import"../../../icon/gator/templates/box.js";import"../../../icon/gator/templates/brain.js";import"../../../icon/gator/templates/cake.js";import"../../../icon/gator/templates/calculator.js";import"../../../icon/gator/templates/calendar.js";import"../../../icon/gator/templates/camera.js";import"../../../icon/gator/templates/caret-up-down.js";import"../../../icon/gator/templates/case.js";import"../../../icon/gator/templates/chart-bar-horizontal.js";import"../../../icon/gator/templates/chart-bar.js";import"../../../icon/gator/templates/chart-donut.js";import"../../../icon/gator/templates/chart-line.js";import"../../../icon/gator/templates/chart-pie.js";import"../../../icon/gator/templates/chart-rise.js";import"../../../icon/gator/templates/chart-scatter.js";import"../../../icon/gator/templates/chat-circle-ai.js";import"../../../icon/gator/templates/chat-circle-dots.js";import"../../../icon/gator/templates/chat-circle-slash.js";import"../../../icon/gator/templates/chat-circle-text.js";import"../../../icon/gator/templates/chat-circle.js";import"../../../icon/gator/templates/chat.js";import"../../../icon/gator/templates/check-circle-filled.js";import"../../../icon/gator/templates/check-circle.js";import"../../../icon/gator/templates/check.js";import"../../../icon/gator/templates/checkbox-indeterminate.js";import"../../../icon/gator/templates/checkbox-selected.js";import"../../../icon/gator/templates/checkbox.js";import"../../../icon/gator/templates/checkerboard.js";import"../../../icon/gator/templates/chevron-down.js";import"../../../icon/gator/templates/chevron-left.js";import"../../../icon/gator/templates/chevron-right.js";import"../../../icon/gator/templates/chevron-up.js";import"../../../icon/gator/templates/circle-arrow-down.js";import"../../../icon/gator/templates/circle-arrow-left.js";import"../../../icon/gator/templates/circle-arrow-right.js";import"../../../icon/gator/templates/circle-arrow-up.js";import"../../../icon/gator/templates/circle-dashed.js";import"../../../icon/gator/templates/circle-filled.js";import"../../../icon/gator/templates/circle.js";import"../../../icon/gator/templates/city.js";import"../../../icon/gator/templates/clipboard.js";import"../../../icon/gator/templates/clock-clockwise.js";import"../../../icon/gator/templates/clock-counter-clockwise.js";import"../../../icon/gator/templates/clock.js";import"../../../icon/gator/templates/collapse.js";import"../../../icon/gator/templates/cone.js";import"../../../icon/gator/templates/contact-info.js";import"../../../icon/gator/templates/copy.js";import"../../../icon/gator/templates/credit-card.js";import"../../../icon/gator/templates/crop.js";import"../../../icon/gator/templates/crosshairs.js";import"../../../icon/gator/templates/currency-dollar-simple.js";import"../../../icon/gator/templates/currency-eur.js";import"../../../icon/gator/templates/currency-gbp.js";import"../../../icon/gator/templates/currency-inr.js";import"../../../icon/gator/templates/currency-jpy.js";import"../../../icon/gator/templates/currency-krw.js";import"../../../icon/gator/templates/currency-kzt.js";import"../../../icon/gator/templates/currency-ngn.js";import"../../../icon/gator/templates/currency-rub.js";import"../../../icon/gator/templates/cursor-arrow.js";import"../../../icon/gator/templates/cursor-hand.js";import"../../../icon/gator/templates/cursor.js";import"../../../icon/gator/templates/dashboard.js";import"../../../icon/gator/templates/delete.js";import"../../../icon/gator/templates/dna.js";import"../../../icon/gator/templates/document-add.js";import"../../../icon/gator/templates/document-ai.js";import"../../../icon/gator/templates/document-check.js";import"../../../icon/gator/templates/document-e-sign.js";import"../../../icon/gator/templates/document-image.js";import"../../../icon/gator/templates/document-pdf.js";import"../../../icon/gator/templates/document-sign.js";import"../../../icon/gator/templates/document-zip.js";import"../../../icon/gator/templates/document.js";import"../../../icon/gator/templates/dollar-bills.js";import"../../../icon/gator/templates/dollar-house.js";import"../../../icon/gator/templates/down-payment.js";import"../../../icon/gator/templates/download.js";import"../../../icon/gator/templates/drag-drop.js";import"../../../icon/gator/templates/earth.js";import"../../../icon/gator/templates/exclude-square.js";import"../../../icon/gator/templates/exit-circle.js";import"../../../icon/gator/templates/exit-left.js";import"../../../icon/gator/templates/exit.js";import"../../../icon/gator/templates/expand-arrows.js";import"../../../icon/gator/templates/expand.js";import"../../../icon/gator/templates/export.js";import"../../../icon/gator/templates/eye-closed.js";import"../../../icon/gator/templates/eye-crossed.js";import"../../../icon/gator/templates/eye.js";import"../../../icon/gator/templates/facebook-logo.js";import"../../../icon/gator/templates/file-code.js";import"../../../icon/gator/templates/files.js";import"../../../icon/gator/templates/filter-funnel.js";import"../../../icon/gator/templates/filters-2.js";import"../../../icon/gator/templates/filters.js";import"../../../icon/gator/templates/flags/flag-ad-andorra.js";import"../../../icon/gator/templates/flags/flag-ae-united-arab-emirates.js";import"../../../icon/gator/templates/flags/flag-af-afghanistan.js";import"../../../icon/gator/templates/flags/flag-ag-antigua-and-barbuda.js";import"../../../icon/gator/templates/flags/flag-ai-anguilla.js";import"../../../icon/gator/templates/flags/flag-al-albania.js";import"../../../icon/gator/templates/flags/flag-am-armenia.js";import"../../../icon/gator/templates/flags/flag-ao-angola.js";import"../../../icon/gator/templates/flags/flag-aq-antarctica.js";import"../../../icon/gator/templates/flags/flag-ar-argentina.js";import"../../../icon/gator/templates/flags/flag-as-american-smoa.js";import"../../../icon/gator/templates/flags/flag-at-austria.js";import"../../../icon/gator/templates/flags/flag-au-australia.js";import"../../../icon/gator/templates/flags/flag-aw-aruba.js";import"../../../icon/gator/templates/flags/flag-ax-aland-islands.js";import"../../../icon/gator/templates/flags/flag-az-azerbaijan.js";import"../../../icon/gator/templates/flags/flag-ba-bosnia-and-herzegovina.js";import"../../../icon/gator/templates/flags/flag-bb-barbados.js";import"../../../icon/gator/templates/flags/flag-bd-bangladesh.js";import"../../../icon/gator/templates/flags/flag-be-belgium.js";import"../../../icon/gator/templates/flags/flag-bf-burkina-faso.js";import"../../../icon/gator/templates/flags/flag-bg-bulgaria.js";import"../../../icon/gator/templates/flags/flag-bh-bahrain.js";import"../../../icon/gator/templates/flags/flag-bi-burundi.js";import"../../../icon/gator/templates/flags/flag-bj-benin.js";import"../../../icon/gator/templates/flags/flag-bl-saint-barthelemy.js";import"../../../icon/gator/templates/flags/flag-bm-bermuda.js";import"../../../icon/gator/templates/flags/flag-bn-brunei-darussalam.js";import"../../../icon/gator/templates/flags/flag-bo-bolivia.js";import"../../../icon/gator/templates/flags/flag-bq-bo-bonaire.js";import"../../../icon/gator/templates/flags/flag-bq-sa-sba.js";import"../../../icon/gator/templates/flags/flag-bq-se-snt-eustatius.js";import"../../../icon/gator/templates/flags/flag-br-brazil.js";import"../../../icon/gator/templates/flags/flag-bs-bahamas.js";import"../../../icon/gator/templates/flags/flag-bt-bhutan.js";import"../../../icon/gator/templates/flags/flag-bv-bouvet-island.js";import"../../../icon/gator/templates/flags/flag-bw-botswana.js";import"../../../icon/gator/templates/flags/flag-by-belarus.js";import"../../../icon/gator/templates/flags/flag-bz-belize.js";import"../../../icon/gator/templates/flags/flag-ca-canada.js";import"../../../icon/gator/templates/flags/flag-cc-cocos-keeling-islands.js";import"../../../icon/gator/templates/flags/flag-cd-democratic-republic-of-the-congo.js";import"../../../icon/gator/templates/flags/flag-cf-central-african-republic.js";import"../../../icon/gator/templates/flags/flag-cg-republic-of-the-congo.js";import"../../../icon/gator/templates/flags/flag-ch-switzerland.js";import"../../../icon/gator/templates/flags/flag-ci-côte-divoire-ivory-coast.js";import"../../../icon/gator/templates/flags/flag-ck-cook-islands.js";import"../../../icon/gator/templates/flags/flag-cl-chile.js";import"../../../icon/gator/templates/flags/flag-cm-cameroon.js";import"../../../icon/gator/templates/flags/flag-cn-china.js";import"../../../icon/gator/templates/flags/flag-co-colombia.js";import"../../../icon/gator/templates/flags/flag-cr-costa-rica.js";import"../../../icon/gator/templates/flags/flag-cu-cuba.js";import"../../../icon/gator/templates/flags/flag-cv-cabo-verde.js";import"../../../icon/gator/templates/flags/flag-cw-curaçao.js";import"../../../icon/gator/templates/flags/flag-cx-christmas-island.js";import"../../../icon/gator/templates/flags/flag-cy-cyprus.js";import"../../../icon/gator/templates/flags/flag-cz-czech-republic.js";import"../../../icon/gator/templates/flags/flag-de-germany.js";import"../../../icon/gator/templates/flags/flag-dj-djibouti.js";import"../../../icon/gator/templates/flags/flag-dk-denmark.js";import"../../../icon/gator/templates/flags/flag-dm-dominica.js";import"../../../icon/gator/templates/flags/flag-do-dominican-republic.js";import"../../../icon/gator/templates/flags/flag-dz-algeria.js";import"../../../icon/gator/templates/flags/flag-ec-ecuador.js";import"../../../icon/gator/templates/flags/flag-ee-estonia.js";import"../../../icon/gator/templates/flags/flag-eg-egypt.js";import"../../../icon/gator/templates/flags/flag-eh-western-sahara.js";import"../../../icon/gator/templates/flags/flag-er-eritrea.js";import"../../../icon/gator/templates/flags/flag-es-sain.js";import"../../../icon/gator/templates/flags/flag-et-ethiopia.js";import"../../../icon/gator/templates/flags/flag-fi-finland.js";import"../../../icon/gator/templates/flags/flag-fj-fiji.js";import"../../../icon/gator/templates/flags/flag-fk-falkland-islands.js";import"../../../icon/gator/templates/flags/flag-fm-federated-states-of-micronesia.js";import"../../../icon/gator/templates/flags/flag-fo-faroe-islands.js";import"../../../icon/gator/templates/flags/flag-fr-france.js";import"../../../icon/gator/templates/flags/flag-ga-gabon.js";import"../../../icon/gator/templates/flags/flag-gb-eng-england.js";import"../../../icon/gator/templates/flags/flag-gb-nir-northern-ireland.js";import"../../../icon/gator/templates/flags/flag-gb-sct-sotland.js";import"../../../icon/gator/templates/flags/flag-gb-ukm-united-kingdom.js";import"../../../icon/gator/templates/flags/flag-gb-wls-wales.js";import"../../../icon/gator/templates/flags/flag-gd-grenada.js";import"../../../icon/gator/templates/flags/flag-ge-georgia.js";import"../../../icon/gator/templates/flags/flag-gf-french-guiana.js";import"../../../icon/gator/templates/flags/flag-gg-guernsey.js";import"../../../icon/gator/templates/flags/flag-gh-ghana.js";import"../../../icon/gator/templates/flags/flag-gi-gibraltar.js";import"../../../icon/gator/templates/flags/flag-gl-greenland.js";import"../../../icon/gator/templates/flags/flag-gm-gambia.js";import"../../../icon/gator/templates/flags/flag-gn-guinea.js";import"../../../icon/gator/templates/flags/flag-gp-guadeloupe-2.js";import"../../../icon/gator/templates/flags/flag-gp-guadeloupe.js";import"../../../icon/gator/templates/flags/flag-gq-equatorial-guinea.js";import"../../../icon/gator/templates/flags/flag-gr-greece.js";import"../../../icon/gator/templates/flags/flag-gs-s-georgia-and-s-sandwich-islands.js";import"../../../icon/gator/templates/flags/flag-gt-guatemala.js";import"../../../icon/gator/templates/flags/flag-gu-guam.js";import"../../../icon/gator/templates/flags/flag-gw-guinea-bissau.js";import"../../../icon/gator/templates/flags/flag-gy-guyana.js";import"../../../icon/gator/templates/flags/flag-hk-hong-kong.js";import"../../../icon/gator/templates/flags/flag-hm-heard-and-mcdonald-islands.js";import"../../../icon/gator/templates/flags/flag-hn-honduras.js";import"../../../icon/gator/templates/flags/flag-hr-croatia-hrvatska.js";import"../../../icon/gator/templates/flags/flag-ht-haiti.js";import"../../../icon/gator/templates/flags/flag-hu-hungary.js";import"../../../icon/gator/templates/flags/flag-id-indonesia.js";import"../../../icon/gator/templates/flags/flag-ie-ireland.js";import"../../../icon/gator/templates/flags/flag-il-isreal.js";import"../../../icon/gator/templates/flags/flag-im-isle-of-man.js";import"../../../icon/gator/templates/flags/flag-in-india.js";import"../../../icon/gator/templates/flags/flag-io-british-indian-ocean-territory.js";import"../../../icon/gator/templates/flags/flag-iq-iraq.js";import"../../../icon/gator/templates/flags/flag-ir-iran.js";import"../../../icon/gator/templates/flags/flag-is-iceland.js";import"../../../icon/gator/templates/flags/flag-it-italy.js";import"../../../icon/gator/templates/flags/flag-je-jersey.js";import"../../../icon/gator/templates/flags/flag-jm-jamaica.js";import"../../../icon/gator/templates/flags/flag-jo-jordan.js";import"../../../icon/gator/templates/flags/flag-jp-japan.js";import"../../../icon/gator/templates/flags/flag-ke-kenia.js";import"../../../icon/gator/templates/flags/flag-kg-kyrgyzstan.js";import"../../../icon/gator/templates/flags/flag-kh-cambodia.js";import"../../../icon/gator/templates/flags/flag-ki--kiribati.js";import"../../../icon/gator/templates/flags/flag-km-comoros.js";import"../../../icon/gator/templates/flags/flag-kn-saint-kitts-and-nevis.js";import"../../../icon/gator/templates/flags/flag-kp-korea-north.js";import"../../../icon/gator/templates/flags/flag-kr-korea-south.js";import"../../../icon/gator/templates/flags/flag-kw-kuwait.js";import"../../../icon/gator/templates/flags/flag-ky-cayman-islands.js";import"../../../icon/gator/templates/flags/flag-kz-kazakhstan.js";import"../../../icon/gator/templates/flags/flag-la-laos.js";import"../../../icon/gator/templates/flags/flag-lb-lebanon.js";import"../../../icon/gator/templates/flags/flag-lc-saint-lucia.js";import"../../../icon/gator/templates/flags/flag-li-liechtenstein.js";import"../../../icon/gator/templates/flags/flag-lk-sri-lanka.js";import"../../../icon/gator/templates/flags/flag-lr-liberia.js";import"../../../icon/gator/templates/flags/flag-ls-lesotho.js";import"../../../icon/gator/templates/flags/flag-lt-lithuania.js";import"../../../icon/gator/templates/flags/flag-lu-luxembourg.js";import"../../../icon/gator/templates/flags/flag-lv-latvia.js";import"../../../icon/gator/templates/flags/flag-ly-libya.js";import"../../../icon/gator/templates/flags/flag-ma-morocco.js";import"../../../icon/gator/templates/flags/flag-mc-monaco.js";import"../../../icon/gator/templates/flags/flag-md-moldova.js";import"../../../icon/gator/templates/flags/flag-me-montenegro.js";import"../../../icon/gator/templates/flags/flag-mf-saint-martin.js";import"../../../icon/gator/templates/flags/flag-mg-madagascar.js";import"../../../icon/gator/templates/flags/flag-mh-marshall-islands.js";import"../../../icon/gator/templates/flags/flag-mk-north-macedonia.js";import"../../../icon/gator/templates/flags/flag-ml-mali.js";import"../../../icon/gator/templates/flags/flag-mm-myanmar.js";import"../../../icon/gator/templates/flags/flag-mn-mongolia.js";import"../../../icon/gator/templates/flags/flag-mo-macao.js";import"../../../icon/gator/templates/flags/flag-mp-northern-mariana-islands.js";import"../../../icon/gator/templates/flags/flag-mq-martinique-2.js";import"../../../icon/gator/templates/flags/flag-mq-martinique.js";import"../../../icon/gator/templates/flags/flag-mr-mauritania.js";import"../../../icon/gator/templates/flags/flag-ms-montserrat.js";import"../../../icon/gator/templates/flags/flag-mt-malta.js";import"../../../icon/gator/templates/flags/flag-mu-mauritius.js";import"../../../icon/gator/templates/flags/flag-mv-maldives.js";import"../../../icon/gator/templates/flags/flag-mw-malawi.js";import"../../../icon/gator/templates/flags/flag-mx-mexico.js";import"../../../icon/gator/templates/flags/flag-my-malaysia.js";import"../../../icon/gator/templates/flags/flag-mz-mozambique.js";import"../../../icon/gator/templates/flags/flag-na-namibia.js";import"../../../icon/gator/templates/flags/flag-nc-new-caledonia.js";import"../../../icon/gator/templates/flags/flag-ne-niger.js";import"../../../icon/gator/templates/flags/flag-nf-norfolk-island.js";import"../../../icon/gator/templates/flags/flag-ng-nigeria.js";import"../../../icon/gator/templates/flags/flag-ni-nicaragua.js";import"../../../icon/gator/templates/flags/flag-nl-netherlands.js";import"../../../icon/gator/templates/flags/flag-no-norway.js";import"../../../icon/gator/templates/flags/flag-np-nepal.js";import"../../../icon/gator/templates/flags/flag-nr-nauru.js";import"../../../icon/gator/templates/flags/flag-nu-niue.js";import"../../../icon/gator/templates/flags/flag-nz-new-zealand-aotearoa.js";import"../../../icon/gator/templates/flags/flag-om-oman.js";import"../../../icon/gator/templates/flags/flag-pa-panama.js";import"../../../icon/gator/templates/flags/flag-pe-peru.js";import"../../../icon/gator/templates/flags/flag-pf-french-polynesia.js";import"../../../icon/gator/templates/flags/flag-pg-papua-new-guinea.js";import"../../../icon/gator/templates/flags/flag-ph-philippines.js";import"../../../icon/gator/templates/flags/flag-pk-pakistan.js";import"../../../icon/gator/templates/flags/flag-pl-poland.js";import"../../../icon/gator/templates/flags/flag-pm-saint-pierre-and-miquelon.js";import"../../../icon/gator/templates/flags/flag-pm-st-pierre-and-miquelon.js";import"../../../icon/gator/templates/flags/flag-pn-pitcairn-islands.js";import"../../../icon/gator/templates/flags/flag-pr-puerto-rico.js";import"../../../icon/gator/templates/flags/flag-ps-palestinian-territory.js";import"../../../icon/gator/templates/flags/flag-pt-portugal.js";import"../../../icon/gator/templates/flags/flag-pw-palau.js";import"../../../icon/gator/templates/flags/flag-py-paraguay.js";import"../../../icon/gator/templates/flags/flag-qa-qatar.js";import"../../../icon/gator/templates/flags/flag-re-reunion.js";import"../../../icon/gator/templates/flags/flag-ro-romania.js";import"../../../icon/gator/templates/flags/flag-rs-srbia.js";import"../../../icon/gator/templates/flags/flag-ru-russian-federation.js";import"../../../icon/gator/templates/flags/flag-rw-rwanda.js";import"../../../icon/gator/templates/flags/flag-sa-sudi-arabia.js";import"../../../icon/gator/templates/flags/flag-sb-slomon-islands.js";import"../../../icon/gator/templates/flags/flag-sc-sychelles.js";import"../../../icon/gator/templates/flags/flag-sd-sdan.js";import"../../../icon/gator/templates/flags/flag-se-seden.js";import"../../../icon/gator/templates/flags/flag-sg-sngapore.js";import"../../../icon/gator/templates/flags/flag-sh-sint-helena.js";import"../../../icon/gator/templates/flags/flag-si-sovenia.js";import"../../../icon/gator/templates/flags/flag-sj-salbard-and-jan-mayen.js";import"../../../icon/gator/templates/flags/flag-sk-sovakia.js";import"../../../icon/gator/templates/flags/flag-sl-serra-leone.js";import"../../../icon/gator/templates/flags/flag-sm-sn-marino.js";import"../../../icon/gator/templates/flags/flag-sn-snegal.js";import"../../../icon/gator/templates/flags/flag-so-smalia.js";import"../../../icon/gator/templates/flags/flag-sr-sriname.js";import"../../../icon/gator/templates/flags/flag-ss-south-sudan.js";import"../../../icon/gator/templates/flags/flag-st-so-tome-and-principe.js";import"../../../icon/gator/templates/flags/flag-sv-el-slvador.js";import"../../../icon/gator/templates/flags/flag-sx-snt-maarten.js";import"../../../icon/gator/templates/flags/flag-sy-sria.js";import"../../../icon/gator/templates/flags/flag-sz-saziland.js";import"../../../icon/gator/templates/flags/flag-tc-turks-and-caicos-islands.js";import"../../../icon/gator/templates/flags/flag-td-chad.js";import"../../../icon/gator/templates/flags/flag-tf-french-southern-and-antarctic-lands.js";import"../../../icon/gator/templates/flags/flag-tg-togo.js";import"../../../icon/gator/templates/flags/flag-th-thailand.js";import"../../../icon/gator/templates/flags/flag-tj-tajikistan.js";import"../../../icon/gator/templates/flags/flag-tk-tokelau.js";import"../../../icon/gator/templates/flags/flag-tl-timor-leste.js";import"../../../icon/gator/templates/flags/flag-tm-turkmenistan.js";import"../../../icon/gator/templates/flags/flag-tn-tunisia.js";import"../../../icon/gator/templates/flags/flag-to-tonga.js";import"../../../icon/gator/templates/flags/flag-tr-turkey.js";import"../../../icon/gator/templates/flags/flag-tt-trinidad-and-tobago.js";import"../../../icon/gator/templates/flags/flag-tv-tuvalu.js";import"../../../icon/gator/templates/flags/flag-tw-taiwan.js";import"../../../icon/gator/templates/flags/flag-tz-tanzania.js";import"../../../icon/gator/templates/flags/flag-ua-ukraine.js";import"../../../icon/gator/templates/flags/flag-ug-uganda.js";import"../../../icon/gator/templates/flags/flag-um-united-states-minor-outlying-islands.js";import"../../../icon/gator/templates/flags/flag-us-united-states.js";import"../../../icon/gator/templates/flags/flag-uy-uruguay.js";import"../../../icon/gator/templates/flags/flag-uz-uzbekistan.js";import"../../../icon/gator/templates/flags/flag-va-vatican-city-state.js";import"../../../icon/gator/templates/flags/flag-vc-saint-vincent-and-the-grenadines.js";import"../../../icon/gator/templates/flags/flag-ve-venezuela.js";import"../../../icon/gator/templates/flags/flag-vg-virgin-islands-british.js";import"../../../icon/gator/templates/flags/flag-vi-virgin-islands-us.js";import"../../../icon/gator/templates/flags/flag-vn-vietnam.js";import"../../../icon/gator/templates/flags/flag-vu-vanuatu.js";import"../../../icon/gator/templates/flags/flag-wf-wallis-and-futuna.js";import"../../../icon/gator/templates/flags/flag-ws-smoa.js";import"../../../icon/gator/templates/flags/flag-ye-yemen.js";import"../../../icon/gator/templates/flags/flag-yt-unf-mayotte.js";import"../../../icon/gator/templates/flags/flag-za-south-africa.js";import"../../../icon/gator/templates/flags/flag-zm-zambia.js";import"../../../icon/gator/templates/flags/flag-zw-zimbabwe.js";import"../../../icon/gator/templates/flame.js";import"../../../icon/gator/templates/flash-off.js";import"../../../icon/gator/templates/flash-on.js";import"../../../icon/gator/templates/folder.js";import"../../../icon/gator/templates/gauge.js";import"../../../icon/gator/templates/grid-four.js";import"../../../icon/gator/templates/grid-nine.js";import"../../../icon/gator/templates/hammer.js";import"../../../icon/gator/templates/hand-pointing.js";import"../../../icon/gator/templates/heart.js";import"../../../icon/gator/templates/home-door.js";import"../../../icon/gator/templates/home-finance-arrow.js";import"../../../icon/gator/templates/home-finance.js";import"../../../icon/gator/templates/home-search.js";import"../../../icon/gator/templates/house-simple.js";import"../../../icon/gator/templates/house.js";import"../../../icon/gator/templates/inbox.js";import"../../../icon/gator/templates/info.js";import"../../../icon/gator/templates/instagram-logo.js";import"../../../icon/gator/templates/interest-rate.js";import"../../../icon/gator/templates/invoice.js";import"../../../icon/gator/templates/kanban.js";import"../../../icon/gator/templates/label.js";import"../../../icon/gator/templates/laptop.js";import"../../../icon/gator/templates/layout.js";import"../../../icon/gator/templates/lightbulb-filament.js";import"../../../icon/gator/templates/lightbulb.js";import"../../../icon/gator/templates/link.js";import"../../../icon/gator/templates/linkedin-logo.js";import"../../../icon/gator/templates/list-star.js";import"../../../icon/gator/templates/list.js";import"../../../icon/gator/templates/loading-spinner-gif.js";import"../../../icon/gator/templates/loading.js";import"../../../icon/gator/templates/lock.js";import"../../../icon/gator/templates/magic-wand.js";import"../../../icon/gator/templates/mail-open.js";import"../../../icon/gator/templates/mail.js";import"../../../icon/gator/templates/mailbox.js";import"../../../icon/gator/templates/map.js";import"../../../icon/gator/templates/menu-hamburger.js";import"../../../icon/gator/templates/microsoft-excel-logo.js";import"../../../icon/gator/templates/microsoft-outlook-logo.js";import"../../../icon/gator/templates/microsoft-powerpoint-logo.js";import"../../../icon/gator/templates/microsoft-teams-logo.js";import"../../../icon/gator/templates/microsoft-word-logo.js";import"../../../icon/gator/templates/minus-circle.js";import"../../../icon/gator/templates/minus-square.js";import"../../../icon/gator/templates/minus.js";import"../../../icon/gator/templates/mobile-phone-2.js";import"../../../icon/gator/templates/monitor.js";import"../../../icon/gator/templates/move-doc.js";import"../../../icon/gator/templates/move.js";import"../../../icon/gator/templates/music.js";import"../../../icon/gator/templates/number-0.js";import"../../../icon/gator/templates/number-1.js";import"../../../icon/gator/templates/number-10.js";import"../../../icon/gator/templates/number-2.js";import"../../../icon/gator/templates/number-3.js";import"../../../icon/gator/templates/number-4.js";import"../../../icon/gator/templates/number-5.js";import"../../../icon/gator/templates/number-6.js";import"../../../icon/gator/templates/number-7.js";import"../../../icon/gator/templates/number-8.js";import"../../../icon/gator/templates/number-9.js";import"../../../icon/gator/templates/overflow-menu.js";import"../../../icon/gator/templates/paper-airplane.js";import"../../../icon/gator/templates/paperclip.js";import"../../../icon/gator/templates/pause-circle.js";import"../../../icon/gator/templates/pause.js";import"../../../icon/gator/templates/payments/payment-amazon-pay.js";import"../../../icon/gator/templates/payments/payment-amex.js";import"../../../icon/gator/templates/payments/payment-apple-pay.js";import"../../../icon/gator/templates/payments/payment-discover.js";import"../../../icon/gator/templates/payments/payment-google-pay.js";import"../../../icon/gator/templates/payments/payment-mastercard.js";import"../../../icon/gator/templates/payments/payment-visa.js";import"../../../icon/gator/templates/pen.js";import"../../../icon/gator/templates/pencil-paper.js";import"../../../icon/gator/templates/pencil.js";import"../../../icon/gator/templates/people-multiple.js";import"../../../icon/gator/templates/people-share.js";import"../../../icon/gator/templates/percent.js";import"../../../icon/gator/templates/person-add.js";import"../../../icon/gator/templates/person-check.js";import"../../../icon/gator/templates/person-lock.js";import"../../../icon/gator/templates/person.js";import"../../../icon/gator/templates/phone-alert.js";import"../../../icon/gator/templates/phone-mobile.js";import"../../../icon/gator/templates/phone.js";import"../../../icon/gator/templates/picture.js";import"../../../icon/gator/templates/pin.js";import"../../../icon/gator/templates/pinterest-logo.js";import"../../../icon/gator/templates/play-circle.js";import"../../../icon/gator/templates/play.js";import"../../../icon/gator/templates/plus-circle.js";import"../../../icon/gator/templates/plus.js";import"../../../icon/gator/templates/printer.js";import"../../../icon/gator/templates/question-chat-bubble.js";import"../../../icon/gator/templates/question-circle.js";import"../../../icon/gator/templates/question-mark.js";import"../../../icon/gator/templates/radio-selected.js";import"../../../icon/gator/templates/radio.js";import"../../../icon/gator/templates/receipt.js";import"../../../icon/gator/templates/restricted-filled.js";import"../../../icon/gator/templates/restricted.js";import"../../../icon/gator/templates/robot.js";import"../../../icon/gator/templates/sandals.js";import"../../../icon/gator/templates/save.js";import"../../../icon/gator/templates/screen.js";import"../../../icon/gator/templates/search.js";import"../../../icon/gator/templates/selection.js";import"../../../icon/gator/templates/send-filled.js";import"../../../icon/gator/templates/send.js";import"../../../icon/gator/templates/settings.js";import"../../../icon/gator/templates/share-1.js";import"../../../icon/gator/templates/share-2.js";import"../../../icon/gator/templates/shield-lock.js";import"../../../icon/gator/templates/shield-warning.js";import"../../../icon/gator/templates/sidebar-simple.js";import"../../../icon/gator/templates/sidebar.js";import"../../../icon/gator/templates/smart-home.js";import"../../../icon/gator/templates/sort-arrow-solid-down.js";import"../../../icon/gator/templates/sort-arrow-solid-left.js";import"../../../icon/gator/templates/sort-arrow-solid-right.js";import"../../../icon/gator/templates/sort-arrow-solid-up-down.js";import"../../../icon/gator/templates/sort-arrow-solid-up.js";import"../../../icon/gator/templates/sort-reverse-variant.js";import"../../../icon/gator/templates/sort-variant.js";import"../../../icon/gator/templates/sparkle-filled.js";import"../../../icon/gator/templates/sparkle.js";import"../../../icon/gator/templates/speech-bubble.js";import"../../../icon/gator/templates/square-split-horizontal.js";import"../../../icon/gator/templates/square-split-vertical.js";import"../../../icon/gator/templates/square.js";import"../../../icon/gator/templates/stack.js";import"../../../icon/gator/templates/stamp.js";import"../../../icon/gator/templates/star-four-filled.js";import"../../../icon/gator/templates/star-four.js";import"../../../icon/gator/templates/star.js";import"../../../icon/gator/templates/stopwatch.js";import"../../../icon/gator/templates/sun.js";import"../../../icon/gator/templates/sync.js";import"../../../icon/gator/templates/tab-arrows.js";import"../../../icon/gator/templates/table.js";import"../../../icon/gator/templates/target.js";import"../../../icon/gator/templates/text-aa.js";import"../../../icon/gator/templates/thumbs-down.js";import"../../../icon/gator/templates/thumbs-up.js";import"../../../icon/gator/templates/tools.js";import"../../../icon/gator/templates/touch-id.js";import"../../../icon/gator/templates/trash.js";import"../../../icon/gator/templates/trend-up.js";import"../../../icon/gator/templates/twitter-logo.js";import"../../../icon/gator/templates/unlink.js";import"../../../icon/gator/templates/unlock.js";import"../../../icon/gator/templates/upload.js";import"../../../icon/gator/templates/video.js";import"../../../icon/gator/templates/waffle.js";import"../../../icon/gator/templates/warning-circle.js";import"../../../icon/gator/templates/warning-diamond.js";import"../../../icon/gator/templates/warning-filled.js";import"../../../icon/gator/templates/warning-octagon.js";import"../../../icon/gator/templates/warning.js";import"../../../icon/gator/templates/wet-sign.js";import"../../../icon/gator/templates/wifi-off.js";import"../../../icon/gator/templates/wifi.js";import"../../../icon/gator/templates/x-logo.js";import"../../../icon/gator/templates/yelp-logo.js";import"../../../icon/gator/templates/youtube-logo.js";import"../../../icon/gator/templates/zillow-logo.js";import"../../../tooltip/gator/tooltip.gator.js";import{ifDefined as y}from"../../../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/if-defined.js";import{NgcComponent as c}from"../../../../utils/components/ngc-component.js";import{classMap as g}from"../../../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/class-map.js";import{unsafeCSS as I}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/css-tag.js";var $=Object.defineProperty,x=Object.getOwnPropertyDescriptor,o=(i,e,l,s)=>{for(var p=s>1?void 0:s?x(e,l):e,n=i.length-1,a;n>=0;n--)(a=i[n])&&(p=(s?a(e,l,p):a(p))||p);return s&&p&&$(e,l,p),p};let t=class extends c{constructor(){super(...arguments),this.id="",this.text="",this.value="",this.subtitle=null,this.density="default",this.selectable=!1,this.selected=!1,this.multiselect=!1,this.endIcon=null,this.startIcon=null,this.currentListItem=!1,this.fauxFocus=!1,this.iconOnly=!1,this.hideCheckmark=!1,this.role=null,this.falseFocusing=!1,this.listItemRef=b()}connectedCallback(){super.connectedCallback(),this.fauxFocus&&(this.delegatesARIA=!1),this.setRole(),this.setAriaSelected()}updated(i){super.updated(i),i.has("selected")&&this.setAriaSelected(),i.has("role")&&this.setRole()}render(){return m`
1
+ import"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/reactive-element.js";import{html as p}from"../../../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/lit-html.js";import{LitElement as d}from"../../../../node_modules/.pnpm/lit-element@4.2.1/node_modules/lit-element/lit-element.js";import{customElement as u}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/custom-element.js";import{property as o}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/property.js";import{state as h}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/state.js";import f from"../../../../packages/web-components/src/components/list/gator/list-item/list-item.gator.scss.js";import{createRef as b,ref as y}from"../../../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/ref.js";import"../../../icon/gator/icon.gator.js";import"../../../icon/gator/templates/add-link.js";import"../../../icon/gator/templates/airplane.js";import"../../../icon/gator/templates/alarm.js";import"../../../icon/gator/templates/apartment.js";import"../../../icon/gator/templates/arrow-around.js";import"../../../icon/gator/templates/arrow-down.js";import"../../../icon/gator/templates/arrow-left.js";import"../../../icon/gator/templates/arrow-line-left.js";import"../../../icon/gator/templates/arrow-line-right.js";import"../../../icon/gator/templates/arrow-right.js";import"../../../icon/gator/templates/arrow-up.js";import"../../../icon/gator/templates/bank.js";import"../../../icon/gator/templates/bell-disabled.js";import"../../../icon/gator/templates/bell.js";import"../../../icon/gator/templates/binoculars.js";import"../../../icon/gator/templates/book.js";import"../../../icon/gator/templates/box.js";import"../../../icon/gator/templates/brain.js";import"../../../icon/gator/templates/cake.js";import"../../../icon/gator/templates/calculator.js";import"../../../icon/gator/templates/calendar.js";import"../../../icon/gator/templates/camera.js";import"../../../icon/gator/templates/caret-up-down.js";import"../../../icon/gator/templates/case.js";import"../../../icon/gator/templates/chart-bar-horizontal.js";import"../../../icon/gator/templates/chart-bar.js";import"../../../icon/gator/templates/chart-donut.js";import"../../../icon/gator/templates/chart-line.js";import"../../../icon/gator/templates/chart-pie.js";import"../../../icon/gator/templates/chart-rise.js";import"../../../icon/gator/templates/chart-scatter.js";import"../../../icon/gator/templates/chat-circle-ai.js";import"../../../icon/gator/templates/chat-circle-dots.js";import"../../../icon/gator/templates/chat-circle-slash.js";import"../../../icon/gator/templates/chat-circle-text.js";import"../../../icon/gator/templates/chat-circle.js";import"../../../icon/gator/templates/chat.js";import"../../../icon/gator/templates/check-circle-filled.js";import"../../../icon/gator/templates/check-circle.js";import"../../../icon/gator/templates/check.js";import"../../../icon/gator/templates/checkbox-indeterminate.js";import"../../../icon/gator/templates/checkbox-selected.js";import"../../../icon/gator/templates/checkbox.js";import"../../../icon/gator/templates/checkerboard.js";import"../../../icon/gator/templates/chevron-down.js";import"../../../icon/gator/templates/chevron-left.js";import"../../../icon/gator/templates/chevron-right.js";import"../../../icon/gator/templates/chevron-up.js";import"../../../icon/gator/templates/circle-arrow-down.js";import"../../../icon/gator/templates/circle-arrow-left.js";import"../../../icon/gator/templates/circle-arrow-right.js";import"../../../icon/gator/templates/circle-arrow-up.js";import"../../../icon/gator/templates/circle-dashed.js";import"../../../icon/gator/templates/circle-filled.js";import"../../../icon/gator/templates/circle.js";import"../../../icon/gator/templates/city.js";import"../../../icon/gator/templates/clipboard.js";import"../../../icon/gator/templates/clock-clockwise.js";import"../../../icon/gator/templates/clock-counter-clockwise.js";import"../../../icon/gator/templates/clock.js";import"../../../icon/gator/templates/collapse.js";import"../../../icon/gator/templates/cone.js";import"../../../icon/gator/templates/contact-info.js";import"../../../icon/gator/templates/copy.js";import"../../../icon/gator/templates/credit-card.js";import"../../../icon/gator/templates/crop.js";import"../../../icon/gator/templates/crosshairs.js";import"../../../icon/gator/templates/currency-dollar-simple.js";import"../../../icon/gator/templates/currency-eur.js";import"../../../icon/gator/templates/currency-gbp.js";import"../../../icon/gator/templates/currency-inr.js";import"../../../icon/gator/templates/currency-jpy.js";import"../../../icon/gator/templates/currency-krw.js";import"../../../icon/gator/templates/currency-kzt.js";import"../../../icon/gator/templates/currency-ngn.js";import"../../../icon/gator/templates/currency-rub.js";import"../../../icon/gator/templates/cursor-arrow.js";import"../../../icon/gator/templates/cursor-hand.js";import"../../../icon/gator/templates/cursor.js";import"../../../icon/gator/templates/dashboard.js";import"../../../icon/gator/templates/delete.js";import"../../../icon/gator/templates/dna.js";import"../../../icon/gator/templates/document-add.js";import"../../../icon/gator/templates/document-ai.js";import"../../../icon/gator/templates/document-check.js";import"../../../icon/gator/templates/document-e-sign.js";import"../../../icon/gator/templates/document-image.js";import"../../../icon/gator/templates/document-pdf.js";import"../../../icon/gator/templates/document-sign.js";import"../../../icon/gator/templates/document-zip.js";import"../../../icon/gator/templates/document.js";import"../../../icon/gator/templates/dollar-bills.js";import"../../../icon/gator/templates/dollar-house.js";import"../../../icon/gator/templates/down-payment.js";import"../../../icon/gator/templates/download.js";import"../../../icon/gator/templates/drag-drop.js";import"../../../icon/gator/templates/earth.js";import"../../../icon/gator/templates/exclude-square.js";import"../../../icon/gator/templates/exit-circle.js";import"../../../icon/gator/templates/exit-left.js";import"../../../icon/gator/templates/exit.js";import"../../../icon/gator/templates/expand-arrows.js";import"../../../icon/gator/templates/expand.js";import"../../../icon/gator/templates/export.js";import"../../../icon/gator/templates/eye-closed.js";import"../../../icon/gator/templates/eye-crossed.js";import"../../../icon/gator/templates/eye.js";import"../../../icon/gator/templates/facebook-logo.js";import"../../../icon/gator/templates/file-code.js";import"../../../icon/gator/templates/files.js";import"../../../icon/gator/templates/filter-funnel.js";import"../../../icon/gator/templates/filters-2.js";import"../../../icon/gator/templates/filters.js";import"../../../icon/gator/templates/flags/flag-ad-andorra.js";import"../../../icon/gator/templates/flags/flag-ae-united-arab-emirates.js";import"../../../icon/gator/templates/flags/flag-af-afghanistan.js";import"../../../icon/gator/templates/flags/flag-ag-antigua-and-barbuda.js";import"../../../icon/gator/templates/flags/flag-ai-anguilla.js";import"../../../icon/gator/templates/flags/flag-al-albania.js";import"../../../icon/gator/templates/flags/flag-am-armenia.js";import"../../../icon/gator/templates/flags/flag-ao-angola.js";import"../../../icon/gator/templates/flags/flag-aq-antarctica.js";import"../../../icon/gator/templates/flags/flag-ar-argentina.js";import"../../../icon/gator/templates/flags/flag-as-american-smoa.js";import"../../../icon/gator/templates/flags/flag-at-austria.js";import"../../../icon/gator/templates/flags/flag-au-australia.js";import"../../../icon/gator/templates/flags/flag-aw-aruba.js";import"../../../icon/gator/templates/flags/flag-ax-aland-islands.js";import"../../../icon/gator/templates/flags/flag-az-azerbaijan.js";import"../../../icon/gator/templates/flags/flag-ba-bosnia-and-herzegovina.js";import"../../../icon/gator/templates/flags/flag-bb-barbados.js";import"../../../icon/gator/templates/flags/flag-bd-bangladesh.js";import"../../../icon/gator/templates/flags/flag-be-belgium.js";import"../../../icon/gator/templates/flags/flag-bf-burkina-faso.js";import"../../../icon/gator/templates/flags/flag-bg-bulgaria.js";import"../../../icon/gator/templates/flags/flag-bh-bahrain.js";import"../../../icon/gator/templates/flags/flag-bi-burundi.js";import"../../../icon/gator/templates/flags/flag-bj-benin.js";import"../../../icon/gator/templates/flags/flag-bl-saint-barthelemy.js";import"../../../icon/gator/templates/flags/flag-bm-bermuda.js";import"../../../icon/gator/templates/flags/flag-bn-brunei-darussalam.js";import"../../../icon/gator/templates/flags/flag-bo-bolivia.js";import"../../../icon/gator/templates/flags/flag-bq-bo-bonaire.js";import"../../../icon/gator/templates/flags/flag-bq-sa-sba.js";import"../../../icon/gator/templates/flags/flag-bq-se-snt-eustatius.js";import"../../../icon/gator/templates/flags/flag-br-brazil.js";import"../../../icon/gator/templates/flags/flag-bs-bahamas.js";import"../../../icon/gator/templates/flags/flag-bt-bhutan.js";import"../../../icon/gator/templates/flags/flag-bv-bouvet-island.js";import"../../../icon/gator/templates/flags/flag-bw-botswana.js";import"../../../icon/gator/templates/flags/flag-by-belarus.js";import"../../../icon/gator/templates/flags/flag-bz-belize.js";import"../../../icon/gator/templates/flags/flag-ca-canada.js";import"../../../icon/gator/templates/flags/flag-cc-cocos-keeling-islands.js";import"../../../icon/gator/templates/flags/flag-cd-democratic-republic-of-the-congo.js";import"../../../icon/gator/templates/flags/flag-cf-central-african-republic.js";import"../../../icon/gator/templates/flags/flag-cg-republic-of-the-congo.js";import"../../../icon/gator/templates/flags/flag-ch-switzerland.js";import"../../../icon/gator/templates/flags/flag-ci-côte-divoire-ivory-coast.js";import"../../../icon/gator/templates/flags/flag-ck-cook-islands.js";import"../../../icon/gator/templates/flags/flag-cl-chile.js";import"../../../icon/gator/templates/flags/flag-cm-cameroon.js";import"../../../icon/gator/templates/flags/flag-cn-china.js";import"../../../icon/gator/templates/flags/flag-co-colombia.js";import"../../../icon/gator/templates/flags/flag-cr-costa-rica.js";import"../../../icon/gator/templates/flags/flag-cu-cuba.js";import"../../../icon/gator/templates/flags/flag-cv-cabo-verde.js";import"../../../icon/gator/templates/flags/flag-cw-curaçao.js";import"../../../icon/gator/templates/flags/flag-cx-christmas-island.js";import"../../../icon/gator/templates/flags/flag-cy-cyprus.js";import"../../../icon/gator/templates/flags/flag-cz-czech-republic.js";import"../../../icon/gator/templates/flags/flag-de-germany.js";import"../../../icon/gator/templates/flags/flag-dj-djibouti.js";import"../../../icon/gator/templates/flags/flag-dk-denmark.js";import"../../../icon/gator/templates/flags/flag-dm-dominica.js";import"../../../icon/gator/templates/flags/flag-do-dominican-republic.js";import"../../../icon/gator/templates/flags/flag-dz-algeria.js";import"../../../icon/gator/templates/flags/flag-ec-ecuador.js";import"../../../icon/gator/templates/flags/flag-ee-estonia.js";import"../../../icon/gator/templates/flags/flag-eg-egypt.js";import"../../../icon/gator/templates/flags/flag-eh-western-sahara.js";import"../../../icon/gator/templates/flags/flag-er-eritrea.js";import"../../../icon/gator/templates/flags/flag-es-sain.js";import"../../../icon/gator/templates/flags/flag-et-ethiopia.js";import"../../../icon/gator/templates/flags/flag-fi-finland.js";import"../../../icon/gator/templates/flags/flag-fj-fiji.js";import"../../../icon/gator/templates/flags/flag-fk-falkland-islands.js";import"../../../icon/gator/templates/flags/flag-fm-federated-states-of-micronesia.js";import"../../../icon/gator/templates/flags/flag-fo-faroe-islands.js";import"../../../icon/gator/templates/flags/flag-fr-france.js";import"../../../icon/gator/templates/flags/flag-ga-gabon.js";import"../../../icon/gator/templates/flags/flag-gb-eng-england.js";import"../../../icon/gator/templates/flags/flag-gb-nir-northern-ireland.js";import"../../../icon/gator/templates/flags/flag-gb-sct-sotland.js";import"../../../icon/gator/templates/flags/flag-gb-ukm-united-kingdom.js";import"../../../icon/gator/templates/flags/flag-gb-wls-wales.js";import"../../../icon/gator/templates/flags/flag-gd-grenada.js";import"../../../icon/gator/templates/flags/flag-ge-georgia.js";import"../../../icon/gator/templates/flags/flag-gf-french-guiana.js";import"../../../icon/gator/templates/flags/flag-gg-guernsey.js";import"../../../icon/gator/templates/flags/flag-gh-ghana.js";import"../../../icon/gator/templates/flags/flag-gi-gibraltar.js";import"../../../icon/gator/templates/flags/flag-gl-greenland.js";import"../../../icon/gator/templates/flags/flag-gm-gambia.js";import"../../../icon/gator/templates/flags/flag-gn-guinea.js";import"../../../icon/gator/templates/flags/flag-gp-guadeloupe-2.js";import"../../../icon/gator/templates/flags/flag-gp-guadeloupe.js";import"../../../icon/gator/templates/flags/flag-gq-equatorial-guinea.js";import"../../../icon/gator/templates/flags/flag-gr-greece.js";import"../../../icon/gator/templates/flags/flag-gs-s-georgia-and-s-sandwich-islands.js";import"../../../icon/gator/templates/flags/flag-gt-guatemala.js";import"../../../icon/gator/templates/flags/flag-gu-guam.js";import"../../../icon/gator/templates/flags/flag-gw-guinea-bissau.js";import"../../../icon/gator/templates/flags/flag-gy-guyana.js";import"../../../icon/gator/templates/flags/flag-hk-hong-kong.js";import"../../../icon/gator/templates/flags/flag-hm-heard-and-mcdonald-islands.js";import"../../../icon/gator/templates/flags/flag-hn-honduras.js";import"../../../icon/gator/templates/flags/flag-hr-croatia-hrvatska.js";import"../../../icon/gator/templates/flags/flag-ht-haiti.js";import"../../../icon/gator/templates/flags/flag-hu-hungary.js";import"../../../icon/gator/templates/flags/flag-id-indonesia.js";import"../../../icon/gator/templates/flags/flag-ie-ireland.js";import"../../../icon/gator/templates/flags/flag-il-isreal.js";import"../../../icon/gator/templates/flags/flag-im-isle-of-man.js";import"../../../icon/gator/templates/flags/flag-in-india.js";import"../../../icon/gator/templates/flags/flag-io-british-indian-ocean-territory.js";import"../../../icon/gator/templates/flags/flag-iq-iraq.js";import"../../../icon/gator/templates/flags/flag-ir-iran.js";import"../../../icon/gator/templates/flags/flag-is-iceland.js";import"../../../icon/gator/templates/flags/flag-it-italy.js";import"../../../icon/gator/templates/flags/flag-je-jersey.js";import"../../../icon/gator/templates/flags/flag-jm-jamaica.js";import"../../../icon/gator/templates/flags/flag-jo-jordan.js";import"../../../icon/gator/templates/flags/flag-jp-japan.js";import"../../../icon/gator/templates/flags/flag-ke-kenia.js";import"../../../icon/gator/templates/flags/flag-kg-kyrgyzstan.js";import"../../../icon/gator/templates/flags/flag-kh-cambodia.js";import"../../../icon/gator/templates/flags/flag-ki--kiribati.js";import"../../../icon/gator/templates/flags/flag-km-comoros.js";import"../../../icon/gator/templates/flags/flag-kn-saint-kitts-and-nevis.js";import"../../../icon/gator/templates/flags/flag-kp-korea-north.js";import"../../../icon/gator/templates/flags/flag-kr-korea-south.js";import"../../../icon/gator/templates/flags/flag-kw-kuwait.js";import"../../../icon/gator/templates/flags/flag-ky-cayman-islands.js";import"../../../icon/gator/templates/flags/flag-kz-kazakhstan.js";import"../../../icon/gator/templates/flags/flag-la-laos.js";import"../../../icon/gator/templates/flags/flag-lb-lebanon.js";import"../../../icon/gator/templates/flags/flag-lc-saint-lucia.js";import"../../../icon/gator/templates/flags/flag-li-liechtenstein.js";import"../../../icon/gator/templates/flags/flag-lk-sri-lanka.js";import"../../../icon/gator/templates/flags/flag-lr-liberia.js";import"../../../icon/gator/templates/flags/flag-ls-lesotho.js";import"../../../icon/gator/templates/flags/flag-lt-lithuania.js";import"../../../icon/gator/templates/flags/flag-lu-luxembourg.js";import"../../../icon/gator/templates/flags/flag-lv-latvia.js";import"../../../icon/gator/templates/flags/flag-ly-libya.js";import"../../../icon/gator/templates/flags/flag-ma-morocco.js";import"../../../icon/gator/templates/flags/flag-mc-monaco.js";import"../../../icon/gator/templates/flags/flag-md-moldova.js";import"../../../icon/gator/templates/flags/flag-me-montenegro.js";import"../../../icon/gator/templates/flags/flag-mf-saint-martin.js";import"../../../icon/gator/templates/flags/flag-mg-madagascar.js";import"../../../icon/gator/templates/flags/flag-mh-marshall-islands.js";import"../../../icon/gator/templates/flags/flag-mk-north-macedonia.js";import"../../../icon/gator/templates/flags/flag-ml-mali.js";import"../../../icon/gator/templates/flags/flag-mm-myanmar.js";import"../../../icon/gator/templates/flags/flag-mn-mongolia.js";import"../../../icon/gator/templates/flags/flag-mo-macao.js";import"../../../icon/gator/templates/flags/flag-mp-northern-mariana-islands.js";import"../../../icon/gator/templates/flags/flag-mq-martinique-2.js";import"../../../icon/gator/templates/flags/flag-mq-martinique.js";import"../../../icon/gator/templates/flags/flag-mr-mauritania.js";import"../../../icon/gator/templates/flags/flag-ms-montserrat.js";import"../../../icon/gator/templates/flags/flag-mt-malta.js";import"../../../icon/gator/templates/flags/flag-mu-mauritius.js";import"../../../icon/gator/templates/flags/flag-mv-maldives.js";import"../../../icon/gator/templates/flags/flag-mw-malawi.js";import"../../../icon/gator/templates/flags/flag-mx-mexico.js";import"../../../icon/gator/templates/flags/flag-my-malaysia.js";import"../../../icon/gator/templates/flags/flag-mz-mozambique.js";import"../../../icon/gator/templates/flags/flag-na-namibia.js";import"../../../icon/gator/templates/flags/flag-nc-new-caledonia.js";import"../../../icon/gator/templates/flags/flag-ne-niger.js";import"../../../icon/gator/templates/flags/flag-nf-norfolk-island.js";import"../../../icon/gator/templates/flags/flag-ng-nigeria.js";import"../../../icon/gator/templates/flags/flag-ni-nicaragua.js";import"../../../icon/gator/templates/flags/flag-nl-netherlands.js";import"../../../icon/gator/templates/flags/flag-no-norway.js";import"../../../icon/gator/templates/flags/flag-np-nepal.js";import"../../../icon/gator/templates/flags/flag-nr-nauru.js";import"../../../icon/gator/templates/flags/flag-nu-niue.js";import"../../../icon/gator/templates/flags/flag-nz-new-zealand-aotearoa.js";import"../../../icon/gator/templates/flags/flag-om-oman.js";import"../../../icon/gator/templates/flags/flag-pa-panama.js";import"../../../icon/gator/templates/flags/flag-pe-peru.js";import"../../../icon/gator/templates/flags/flag-pf-french-polynesia.js";import"../../../icon/gator/templates/flags/flag-pg-papua-new-guinea.js";import"../../../icon/gator/templates/flags/flag-ph-philippines.js";import"../../../icon/gator/templates/flags/flag-pk-pakistan.js";import"../../../icon/gator/templates/flags/flag-pl-poland.js";import"../../../icon/gator/templates/flags/flag-pm-saint-pierre-and-miquelon.js";import"../../../icon/gator/templates/flags/flag-pm-st-pierre-and-miquelon.js";import"../../../icon/gator/templates/flags/flag-pn-pitcairn-islands.js";import"../../../icon/gator/templates/flags/flag-pr-puerto-rico.js";import"../../../icon/gator/templates/flags/flag-ps-palestinian-territory.js";import"../../../icon/gator/templates/flags/flag-pt-portugal.js";import"../../../icon/gator/templates/flags/flag-pw-palau.js";import"../../../icon/gator/templates/flags/flag-py-paraguay.js";import"../../../icon/gator/templates/flags/flag-qa-qatar.js";import"../../../icon/gator/templates/flags/flag-re-reunion.js";import"../../../icon/gator/templates/flags/flag-ro-romania.js";import"../../../icon/gator/templates/flags/flag-rs-srbia.js";import"../../../icon/gator/templates/flags/flag-ru-russian-federation.js";import"../../../icon/gator/templates/flags/flag-rw-rwanda.js";import"../../../icon/gator/templates/flags/flag-sa-sudi-arabia.js";import"../../../icon/gator/templates/flags/flag-sb-slomon-islands.js";import"../../../icon/gator/templates/flags/flag-sc-sychelles.js";import"../../../icon/gator/templates/flags/flag-sd-sdan.js";import"../../../icon/gator/templates/flags/flag-se-seden.js";import"../../../icon/gator/templates/flags/flag-sg-sngapore.js";import"../../../icon/gator/templates/flags/flag-sh-sint-helena.js";import"../../../icon/gator/templates/flags/flag-si-sovenia.js";import"../../../icon/gator/templates/flags/flag-sj-salbard-and-jan-mayen.js";import"../../../icon/gator/templates/flags/flag-sk-sovakia.js";import"../../../icon/gator/templates/flags/flag-sl-serra-leone.js";import"../../../icon/gator/templates/flags/flag-sm-sn-marino.js";import"../../../icon/gator/templates/flags/flag-sn-snegal.js";import"../../../icon/gator/templates/flags/flag-so-smalia.js";import"../../../icon/gator/templates/flags/flag-sr-sriname.js";import"../../../icon/gator/templates/flags/flag-ss-south-sudan.js";import"../../../icon/gator/templates/flags/flag-st-so-tome-and-principe.js";import"../../../icon/gator/templates/flags/flag-sv-el-slvador.js";import"../../../icon/gator/templates/flags/flag-sx-snt-maarten.js";import"../../../icon/gator/templates/flags/flag-sy-sria.js";import"../../../icon/gator/templates/flags/flag-sz-saziland.js";import"../../../icon/gator/templates/flags/flag-tc-turks-and-caicos-islands.js";import"../../../icon/gator/templates/flags/flag-td-chad.js";import"../../../icon/gator/templates/flags/flag-tf-french-southern-and-antarctic-lands.js";import"../../../icon/gator/templates/flags/flag-tg-togo.js";import"../../../icon/gator/templates/flags/flag-th-thailand.js";import"../../../icon/gator/templates/flags/flag-tj-tajikistan.js";import"../../../icon/gator/templates/flags/flag-tk-tokelau.js";import"../../../icon/gator/templates/flags/flag-tl-timor-leste.js";import"../../../icon/gator/templates/flags/flag-tm-turkmenistan.js";import"../../../icon/gator/templates/flags/flag-tn-tunisia.js";import"../../../icon/gator/templates/flags/flag-to-tonga.js";import"../../../icon/gator/templates/flags/flag-tr-turkey.js";import"../../../icon/gator/templates/flags/flag-tt-trinidad-and-tobago.js";import"../../../icon/gator/templates/flags/flag-tv-tuvalu.js";import"../../../icon/gator/templates/flags/flag-tw-taiwan.js";import"../../../icon/gator/templates/flags/flag-tz-tanzania.js";import"../../../icon/gator/templates/flags/flag-ua-ukraine.js";import"../../../icon/gator/templates/flags/flag-ug-uganda.js";import"../../../icon/gator/templates/flags/flag-um-united-states-minor-outlying-islands.js";import"../../../icon/gator/templates/flags/flag-us-united-states.js";import"../../../icon/gator/templates/flags/flag-uy-uruguay.js";import"../../../icon/gator/templates/flags/flag-uz-uzbekistan.js";import"../../../icon/gator/templates/flags/flag-va-vatican-city-state.js";import"../../../icon/gator/templates/flags/flag-vc-saint-vincent-and-the-grenadines.js";import"../../../icon/gator/templates/flags/flag-ve-venezuela.js";import"../../../icon/gator/templates/flags/flag-vg-virgin-islands-british.js";import"../../../icon/gator/templates/flags/flag-vi-virgin-islands-us.js";import"../../../icon/gator/templates/flags/flag-vn-vietnam.js";import"../../../icon/gator/templates/flags/flag-vu-vanuatu.js";import"../../../icon/gator/templates/flags/flag-wf-wallis-and-futuna.js";import"../../../icon/gator/templates/flags/flag-ws-smoa.js";import"../../../icon/gator/templates/flags/flag-ye-yemen.js";import"../../../icon/gator/templates/flags/flag-yt-unf-mayotte.js";import"../../../icon/gator/templates/flags/flag-za-south-africa.js";import"../../../icon/gator/templates/flags/flag-zm-zambia.js";import"../../../icon/gator/templates/flags/flag-zw-zimbabwe.js";import"../../../icon/gator/templates/flame.js";import"../../../icon/gator/templates/flash-off.js";import"../../../icon/gator/templates/flash-on.js";import"../../../icon/gator/templates/folder.js";import"../../../icon/gator/templates/gauge.js";import"../../../icon/gator/templates/grid-four.js";import"../../../icon/gator/templates/grid-nine.js";import"../../../icon/gator/templates/hammer.js";import"../../../icon/gator/templates/hand-pointing.js";import"../../../icon/gator/templates/heart.js";import"../../../icon/gator/templates/home-door.js";import"../../../icon/gator/templates/home-finance-arrow.js";import"../../../icon/gator/templates/home-finance.js";import"../../../icon/gator/templates/home-search.js";import"../../../icon/gator/templates/house-simple.js";import"../../../icon/gator/templates/house.js";import"../../../icon/gator/templates/inbox.js";import"../../../icon/gator/templates/info.js";import"../../../icon/gator/templates/instagram-logo.js";import"../../../icon/gator/templates/interest-rate.js";import"../../../icon/gator/templates/invoice.js";import"../../../icon/gator/templates/kanban.js";import"../../../icon/gator/templates/label.js";import"../../../icon/gator/templates/laptop.js";import"../../../icon/gator/templates/layout.js";import"../../../icon/gator/templates/lightbulb-filament.js";import"../../../icon/gator/templates/lightbulb.js";import"../../../icon/gator/templates/link.js";import"../../../icon/gator/templates/linkedin-logo.js";import"../../../icon/gator/templates/list-star.js";import"../../../icon/gator/templates/list.js";import"../../../icon/gator/templates/loading-spinner-gif.js";import"../../../icon/gator/templates/loading.js";import"../../../icon/gator/templates/lock.js";import"../../../icon/gator/templates/magic-wand.js";import"../../../icon/gator/templates/mail-open.js";import"../../../icon/gator/templates/mail.js";import"../../../icon/gator/templates/mailbox.js";import"../../../icon/gator/templates/map.js";import"../../../icon/gator/templates/menu-hamburger.js";import"../../../icon/gator/templates/microsoft-excel-logo.js";import"../../../icon/gator/templates/microsoft-outlook-logo.js";import"../../../icon/gator/templates/microsoft-powerpoint-logo.js";import"../../../icon/gator/templates/microsoft-teams-logo.js";import"../../../icon/gator/templates/microsoft-word-logo.js";import"../../../icon/gator/templates/minus-circle.js";import"../../../icon/gator/templates/minus-square.js";import"../../../icon/gator/templates/minus.js";import"../../../icon/gator/templates/mobile-phone-2.js";import"../../../icon/gator/templates/monitor.js";import"../../../icon/gator/templates/move-doc.js";import"../../../icon/gator/templates/move.js";import"../../../icon/gator/templates/music.js";import"../../../icon/gator/templates/number-0.js";import"../../../icon/gator/templates/number-1.js";import"../../../icon/gator/templates/number-10.js";import"../../../icon/gator/templates/number-2.js";import"../../../icon/gator/templates/number-3.js";import"../../../icon/gator/templates/number-4.js";import"../../../icon/gator/templates/number-5.js";import"../../../icon/gator/templates/number-6.js";import"../../../icon/gator/templates/number-7.js";import"../../../icon/gator/templates/number-8.js";import"../../../icon/gator/templates/number-9.js";import"../../../icon/gator/templates/overflow-menu.js";import"../../../icon/gator/templates/paper-airplane.js";import"../../../icon/gator/templates/paperclip.js";import"../../../icon/gator/templates/pause-circle.js";import"../../../icon/gator/templates/pause.js";import"../../../icon/gator/templates/payments/payment-amazon-pay.js";import"../../../icon/gator/templates/payments/payment-amex.js";import"../../../icon/gator/templates/payments/payment-apple-pay.js";import"../../../icon/gator/templates/payments/payment-discover.js";import"../../../icon/gator/templates/payments/payment-google-pay.js";import"../../../icon/gator/templates/payments/payment-mastercard.js";import"../../../icon/gator/templates/payments/payment-visa.js";import"../../../icon/gator/templates/pen.js";import"../../../icon/gator/templates/pencil-paper.js";import"../../../icon/gator/templates/pencil.js";import"../../../icon/gator/templates/people-multiple.js";import"../../../icon/gator/templates/people-share.js";import"../../../icon/gator/templates/percent.js";import"../../../icon/gator/templates/person-add.js";import"../../../icon/gator/templates/person-check.js";import"../../../icon/gator/templates/person-lock.js";import"../../../icon/gator/templates/person.js";import"../../../icon/gator/templates/phone-alert.js";import"../../../icon/gator/templates/phone-mobile.js";import"../../../icon/gator/templates/phone.js";import"../../../icon/gator/templates/picture.js";import"../../../icon/gator/templates/pin.js";import"../../../icon/gator/templates/pinterest-logo.js";import"../../../icon/gator/templates/play-circle.js";import"../../../icon/gator/templates/play.js";import"../../../icon/gator/templates/plus-circle.js";import"../../../icon/gator/templates/plus.js";import"../../../icon/gator/templates/printer.js";import"../../../icon/gator/templates/question-chat-bubble.js";import"../../../icon/gator/templates/question-circle.js";import"../../../icon/gator/templates/question-mark.js";import"../../../icon/gator/templates/radio-selected.js";import"../../../icon/gator/templates/radio.js";import"../../../icon/gator/templates/receipt.js";import"../../../icon/gator/templates/restricted-filled.js";import"../../../icon/gator/templates/restricted.js";import"../../../icon/gator/templates/robot.js";import"../../../icon/gator/templates/sandals.js";import"../../../icon/gator/templates/save.js";import"../../../icon/gator/templates/screen.js";import"../../../icon/gator/templates/search.js";import"../../../icon/gator/templates/selection.js";import"../../../icon/gator/templates/send-filled.js";import"../../../icon/gator/templates/send.js";import"../../../icon/gator/templates/settings.js";import"../../../icon/gator/templates/share-1.js";import"../../../icon/gator/templates/share-2.js";import"../../../icon/gator/templates/shield-lock.js";import"../../../icon/gator/templates/shield-warning.js";import"../../../icon/gator/templates/sidebar-simple.js";import"../../../icon/gator/templates/sidebar.js";import"../../../icon/gator/templates/smart-home.js";import"../../../icon/gator/templates/sort-arrow-solid-down.js";import"../../../icon/gator/templates/sort-arrow-solid-left.js";import"../../../icon/gator/templates/sort-arrow-solid-right.js";import"../../../icon/gator/templates/sort-arrow-solid-up-down.js";import"../../../icon/gator/templates/sort-arrow-solid-up.js";import"../../../icon/gator/templates/sort-reverse-variant.js";import"../../../icon/gator/templates/sort-variant.js";import"../../../icon/gator/templates/sparkle-filled.js";import"../../../icon/gator/templates/sparkle.js";import"../../../icon/gator/templates/speech-bubble.js";import"../../../icon/gator/templates/square-split-horizontal.js";import"../../../icon/gator/templates/square-split-vertical.js";import"../../../icon/gator/templates/square.js";import"../../../icon/gator/templates/stack.js";import"../../../icon/gator/templates/stamp.js";import"../../../icon/gator/templates/star-four-filled.js";import"../../../icon/gator/templates/star-four.js";import"../../../icon/gator/templates/star.js";import"../../../icon/gator/templates/stopwatch.js";import"../../../icon/gator/templates/sun.js";import"../../../icon/gator/templates/sync.js";import"../../../icon/gator/templates/tab-arrows.js";import"../../../icon/gator/templates/table.js";import"../../../icon/gator/templates/target.js";import"../../../icon/gator/templates/text-aa.js";import"../../../icon/gator/templates/thumbs-down.js";import"../../../icon/gator/templates/thumbs-up.js";import"../../../icon/gator/templates/tools.js";import"../../../icon/gator/templates/touch-id.js";import"../../../icon/gator/templates/trash.js";import"../../../icon/gator/templates/trend-up.js";import"../../../icon/gator/templates/twitter-logo.js";import"../../../icon/gator/templates/unlink.js";import"../../../icon/gator/templates/unlock.js";import"../../../icon/gator/templates/upload.js";import"../../../icon/gator/templates/video.js";import"../../../icon/gator/templates/waffle.js";import"../../../icon/gator/templates/warning-circle.js";import"../../../icon/gator/templates/warning-diamond.js";import"../../../icon/gator/templates/warning-filled.js";import"../../../icon/gator/templates/warning-octagon.js";import"../../../icon/gator/templates/warning.js";import"../../../icon/gator/templates/wet-sign.js";import"../../../icon/gator/templates/wifi-off.js";import"../../../icon/gator/templates/wifi.js";import"../../../icon/gator/templates/x-logo.js";import"../../../icon/gator/templates/yelp-logo.js";import"../../../icon/gator/templates/youtube-logo.js";import"../../../icon/gator/templates/zillow-logo.js";import"../../../tooltip/gator/tooltip.gator.js";import{ifDefined as v}from"../../../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/if-defined.js";import{NgcComponent as c}from"../../../../utils/components/ngc-component.js";import{classMap as I}from"../../../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/class-map.js";import{unsafeCSS as g}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/css-tag.js";var $=Object.defineProperty,x=Object.getOwnPropertyDescriptor,r=(t,m,l,s)=>{for(var e=s>1?void 0:s?x(m,l):m,a=t.length-1,n;a>=0;a--)(n=t[a])&&(e=(s?n(m,l,e):n(e))||e);return s&&e&&$(m,l,e),e};let i=class extends c{constructor(){super(...arguments),this.id="",this.text="",this.value="",this.subtitle=null,this.density="default",this.selectable=!1,this.selected=!1,this.multiselect=!1,this.endIcon=null,this.startIcon=null,this.currentListItem=!1,this.fauxFocus=!1,this.iconOnly=!1,this.hideCheckmark=!1,this.role=null,this.ariaExpanded=null,this.ariaCurrent=null,this.falseFocusing=!1,this.listItemRef=b()}connectedCallback(){super.connectedCallback(),this.fauxFocus&&(this.delegatesARIA=!1)}updated(t){super.updated(t),(t.has("selected")||t.has("selectable"))&&this.setAriaSelected(),t.has("role")&&(this.setRole(),this.setAriaSelected()),t.has("ariaExpanded")&&this.setAriaExpanded(),t.has("ariaCurrent")&&this.setAriaCurrent()}render(){return p`
2
2
  <div
3
- ${v(this.listItemRef)}
4
- class=${g(this.classes)}
3
+ ${y(this.listItemRef)}
4
+ class=${I(this.classes)}
5
5
  id="${this.replacedStringId}"
6
6
  tabindex="${this._tabIndex}"
7
- @mousedown=${i=>i.preventDefault()}
8
- @click=${()=>this.handleListItemClicked()}
9
- @keyup="${i=>this.handleItemKeyUp(i)}"
7
+ @mousedown=${t=>t.preventDefault()}
8
+ @click=${t=>this.handleListItemClicked(t)}
9
+ @keyup="${t=>this.handleItemKeyUp(t)}"
10
10
  >
11
11
  <div class="gator-list-item-content">
12
12
  <div class="gator-list-item-top">
13
13
  ${this.interactionIconContent}
14
14
  ${this.leftIconContent}
15
- ${this.iconOnly?null:m`<div class="gator-list-item-title">${this.text}</div>`}
15
+ ${this.iconOnly?null:p`<div class="gator-list-item-title">${this.text}</div>`}
16
16
  ${this.endMarkup}
17
17
  </div>
18
- ${!this.iconOnly&&this.subtitle?m`
18
+ ${!this.iconOnly&&this.subtitle?p`
19
19
  <div class="gator-list-item-bottom">
20
20
  ${this.subtitleSpacerElement}
21
21
  <div class="gator-list-item-subtitle">
@@ -29,22 +29,22 @@ import"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@
29
29
  <slot></slot>
30
30
  </div>
31
31
  </div>
32
- ${this.iconOnly?m`<ngc-tooltip reference-id=${this.replacedStringId} placement="right">${this.text}</ngc-tooltip>`:null}
33
- `}get classes(){return{"gator-list-item":!0,[`gator-list-item-density_${this.density}`]:this.density!==null,"gator-list-item_selectable":this.selectable,"gator-list-item-multiselect":this.multiselect,"gator-list-item-selected":this.selected,"gator-list-item-faux-focus":this.falseFocusing}}get replacedStringId(){return(this.dataset.id||this.id).replace(" ","")||""}get _tabIndex(){return this.tabindex!=null?this.tabindex:this.fauxFocus||!this.selectable?-1:this.currentListItem?0:-1}get subtitleSpacerElement(){return m`
34
- ${this.selectable?m`<div class="gator-list-item-subtitle-spacer"></div>`:null}
35
- ${this.startIcon?m`<div class="gator-list-item-subtitle-spacer"></div>`:null}
36
- `}get interactionIconContent(){if(!this.selectable||this.iconOnly||this.hideCheckmark)return null;const i=this.multiselect?this.selected?"checkbox-selected":"checkbox":this.selected?"check":null;return m`
32
+ ${this.iconOnly?p`<ngc-tooltip reference-id=${this.replacedStringId} placement="right">${this.text}</ngc-tooltip>`:null}
33
+ `}get classes(){return{"gator-list-item":!0,[`gator-list-item-density_${this.density}`]:this.density!==null,"gator-list-item_selectable":this.selectable,"gator-list-item-multiselect":this.multiselect,"gator-list-item-selected":this.selected,"gator-list-item-faux-focus":this.falseFocusing}}get replacedStringId(){return(this.dataset.id||this.id).replace(" ","")||""}get _tabIndex(){return this.tabindex!=null?this.tabindex:this.fauxFocus||!this.selectable?-1:this.currentListItem?0:-1}get subtitleSpacerElement(){return p`
34
+ ${this.selectable?p`<div class="gator-list-item-subtitle-spacer"></div>`:null}
35
+ ${this.startIcon?p`<div class="gator-list-item-subtitle-spacer"></div>`:null}
36
+ `}get interactionIconContent(){if(!this.selectable||this.iconOnly||this.hideCheckmark)return null;const t=this.multiselect?this.selected?"checkbox-selected":"checkbox":this.selected?"check":null;return p`
37
37
  <div class="gator-list-item-interaction-icon" aria-hidden="true">
38
- ${i?m`<ngc-icon name="${i}"></ngc-icon>`:null}
38
+ ${t?p`<ngc-icon name="${t}"></ngc-icon>`:null}
39
39
  </div>
40
- `}get leftIconContent(){return this.startIcon?m`
41
- <div class="gator-list-item-start-icon" aria-hidden="${!this.iconOnly}" aria-label="${y(this.text)}">
40
+ `}get leftIconContent(){return this.startIcon?p`
41
+ <div class="gator-list-item-start-icon" aria-hidden="${!this.iconOnly}" aria-label="${v(this.text)}">
42
42
  <ngc-icon name="${this.startIcon}"></ngc-icon>
43
43
  </div>
44
- `:null}get endMarkup(){return this.iconOnly?null:m`
44
+ `:null}get endMarkup(){return this.iconOnly?null:p`
45
45
  <div class="gator-list-item-end" aria-hidden="true">
46
46
  <slot name="end">
47
- ${this.endIcon?m`<ngc-icon name="${this.endIcon}"></ngc-icon>`:null}
47
+ ${this.endIcon?p`<ngc-icon name="${this.endIcon}"></ngc-icon>`:null}
48
48
  </slot>
49
49
  </div>
50
- `}click(){this.handleListItemClicked()}handleListItemClicked(){this.selectable&&this.dispatchEvent(new CustomEvent("selected",{bubbles:!0,composed:!0,detail:{id:this.id,value:this.value}}))}handleItemKeyUp(i){(i.key==="Enter"||i.key===" ")&&(this.handleListItemClicked(),i.preventDefault())}selectItem(){this.selected=!0,this.handleListItemClicked()}falseFocus(){this.falseFocusing=!0,this.listItemRef.value&&this.listItemRef.value.scrollIntoView({block:"nearest"})}removeFalseFocus(){this.falseFocusing=!1}setAriaSelected(){this.role==="option"&&(this.fauxFocus?(this.setAttribute("aria-selected",`${this.selected}`),this.listItemRef.value?.removeAttribute("aria-selected")):(this.removeAttribute("aria-selected"),this.listItemRef.value?.setAttribute("aria-selected",`${this.selected}`)))}setRole(){if(this.role){if(!this.delegatesARIA){this.setAttribute("role",this.role),this.listItemRef.value?.removeAttribute("role");return}this.listItemRef.value?.setAttribute("role",this.role),this.removeAttribute("role")}}};t.shadowRootOptions={...u.shadowRootOptions,delegatesFocus:!0,mode:"open"};t.styles=[...c.styles,I(f)];o([r()],t.prototype,"id",2);o([r()],t.prototype,"text",2);o([r()],t.prototype,"value",2);o([r()],t.prototype,"subtitle",2);o([r()],t.prototype,"density",2);o([r({type:Boolean})],t.prototype,"selectable",2);o([r({type:Boolean})],t.prototype,"selected",2);o([r({type:Boolean})],t.prototype,"multiselect",2);o([r({attribute:"end-icon"})],t.prototype,"endIcon",2);o([r({attribute:"start-icon"})],t.prototype,"startIcon",2);o([r({type:Boolean,attribute:"current-list-item"})],t.prototype,"currentListItem",2);o([r({type:Boolean,attribute:"faux-focus"})],t.prototype,"fauxFocus",2);o([r({type:Boolean,attribute:"icon-only"})],t.prototype,"iconOnly",2);o([r({type:Boolean,attribute:"hide-checkmark"})],t.prototype,"hideCheckmark",2);o([r()],t.prototype,"role",2);o([r({type:Number})],t.prototype,"tabindex",2);o([d()],t.prototype,"falseFocusing",2);t=o([h("ngc-list-item")],t);export{t as NgcListItem};
50
+ `}click(){this.handleListItemClicked()}handleListItemClicked(t,m="click"){this.selectable&&(t instanceof PointerEvent&&t.buttons!==0&&(m="keyboard"),this.dispatchEvent(new CustomEvent("selected",{bubbles:!0,composed:!0,detail:{id:this.id,value:this.value,interactionType:m}})))}handleItemKeyUp(t){if((this.role||this.dataset.role)==="link"){t.key==="Enter"&&(t.preventDefault(),this.handleListItemClicked(t,"keyboard"));return}(t.key==="Enter"||t.key===" ")&&(t.preventDefault(),this.handleListItemClicked(t,"keyboard"))}selectItem(){this.selected=!0,this.handleListItemClicked()}falseFocus(){this.falseFocusing=!0,this.listItemRef.value&&this.listItemRef.value.scrollIntoView({block:"nearest"})}removeFalseFocus(){this.falseFocusing=!1}setAriaSelected(){if(this.dataset.role!=="option"){this.listItemRef.value?.removeAttribute("aria-selected");return}this.fauxFocus?(this.setAttribute("aria-selected",`${this.selected}`),this.listItemRef.value?.removeAttribute("aria-selected")):(this.removeAttribute("aria-selected"),this.listItemRef.value?.setAttribute("aria-selected",`${this.selected}`))}setAriaExpanded(){this.dataset.ariaExpanded&&this.listItemRef.value?.setAttribute("aria-expanded",this.dataset.ariaExpanded)}setRole(){this.dataset.role&&this.listItemRef.value?.setAttribute("role",this.dataset.role)}setAriaCurrent(){this.dataset.ariaCurrent&&this.listItemRef.value?.setAttribute("aria-current",this.dataset.ariaCurrent)}};i.shadowRootOptions={...d.shadowRootOptions,delegatesFocus:!0,mode:"open"};i.styles=[...c.styles,g(f)];r([o()],i.prototype,"id",2);r([o()],i.prototype,"text",2);r([o()],i.prototype,"value",2);r([o()],i.prototype,"subtitle",2);r([o()],i.prototype,"density",2);r([o({type:Boolean})],i.prototype,"selectable",2);r([o({type:Boolean})],i.prototype,"selected",2);r([o({type:Boolean})],i.prototype,"multiselect",2);r([o({attribute:"end-icon"})],i.prototype,"endIcon",2);r([o({attribute:"start-icon"})],i.prototype,"startIcon",2);r([o({type:Boolean,attribute:"current-list-item"})],i.prototype,"currentListItem",2);r([o({type:Boolean,attribute:"faux-focus"})],i.prototype,"fauxFocus",2);r([o({type:Boolean,attribute:"icon-only"})],i.prototype,"iconOnly",2);r([o({type:Boolean,attribute:"hide-checkmark"})],i.prototype,"hideCheckmark",2);r([o()],i.prototype,"role",2);r([o({type:Number})],i.prototype,"tabindex",2);r([o({type:Boolean,attribute:"aria-expanded"})],i.prototype,"ariaExpanded",2);r([o({type:String,attribute:"aria-current"})],i.prototype,"ariaCurrent",2);r([h()],i.prototype,"falseFocusing",2);i=r([u("ngc-list-item")],i);export{i as NgcListItem};
@@ -0,0 +1,37 @@
1
+ import"../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/reactive-element.js";import{html as c}from"../../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/lit-html.js";import"../../../node_modules/.pnpm/lit-element@4.2.1/node_modules/lit-element/lit-element.js";import{customElement as h}from"../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/custom-element.js";import{property as i}from"../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/property.js";import{state as u}from"../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/state.js";import v from"../../../packages/web-components/src/components/progress-stepper/stepper-item/stepper-item.gator.scss.js";import f from"../../../packages/web-components/src/tokens/semantic-new.tokens.scss.js";import g from"../../../packages/web-components/src/tokens/primitive-new.tokens.scss.js";import{classMap as b}from"../../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/class-map.js";import{ifDefined as y}from"../../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/if-defined.js";import{NgcComponent as d}from"../../../utils/components/ngc-component.js";import{unsafeCSS as m}from"../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/css-tag.js";var _=Object.defineProperty,$=Object.getOwnPropertyDescriptor,k=Object.getPrototypeOf,S=Reflect.get,e=(r,o,a,l)=>{for(var s=l>1?void 0:l?$(o,a):o,n=r.length-1,p;n>=0;n--)(p=r[n])&&(s=(l?p(o,a,s):p(s))||s);return l&&s&&_(o,a,s),s},w=(r,o,a)=>S(k(r),a,o);let t=class extends d{constructor(){super(...arguments),this.variant="incomplete",this.vertical=!1,this.disabled=!1,this.skeleton=!1,this.active=!1,this._orientation=this.vertical?"vertical":"horizontal"}updated(r){r.has("vertical")&&(this._orientation=this.vertical?"vertical":"horizontal")}render(){return c`
2
+ <div class="${b(this.classes)}">
3
+ <div class="gator-stepper-item-${this._orientation}">
4
+ <div class="icon-line-${this._orientation==="vertical"?"column":"row"}">
5
+ <slot name="icon">
6
+ <ngc-icon-button
7
+ id="step-icon"
8
+ icon-name="${this.icon}"
9
+ size="medium"
10
+ ?skeleton=${this.skeleton}
11
+ ?disabled=${this.disabled}
12
+ .aria-label="${this.stepTitle}"
13
+ ></ngc-icon-button>
14
+ <ngc-tooltip reference-id="step-icon" placement="top">
15
+ ${this.stepTitle}
16
+ </ngc-tooltip>
17
+ </slot>
18
+ <div class="stepper-line"></div>
19
+ </div>
20
+ ${this.skeleton?this.skeletonMarkup:this.labelMarkup}
21
+ </div>
22
+ </div>
23
+ `}get labelMarkup(){return c`
24
+ <slot name="content">
25
+ <div class="stepper-item-content">
26
+ <div class="stepper-label-container">
27
+ <slot name="start"></slot>
28
+ <div class="stepper-label-text">
29
+ <span class="stepper-title" tabindex="${y(this.titleTabIndex)}">${this.stepTitle}</span>
30
+ <span class="stepper-subtitle">${this.stepSubtitle}</span>
31
+ </div>
32
+ <slot name="end"></slot>
33
+ </div>
34
+ <slot name="body"></slot>
35
+ </div>
36
+ </slot>
37
+ `}get titleTabIndex(){return this.stepTitle&&!this.disabled?0:void 0}get skeletonMarkup(){return c`<span class="stepper-title-skeleton"><ngc-skeleton-loader full-width height="12" radius="999"></ngc-skeleton-loader></span>`}get classes(){return{"gator-stepper-item":!0,[`gator-stepper-item-${this.variant}`]:!0,"gator-stepper-item_disabled":this.disabled,"gator-stepper-item_skeleton":this.skeleton,"gator-stepper-item_active":this.active}}get icon(){if(this.iconName)return this.iconName;switch(this.variant){case"current":return"circle-filled";case"success":return"check-circle-filled";case"warning":return"warning-filled";case"error":return"restricted-filled";case"ai":return"sparkle-filled";case"incomplete":default:return"circle-dashed"}}};t.styles=[...w(t,t,"styles").filter(d.primitiveAndSemanticStyleFilter),m(g),m(f),m(v)];e([i({type:String})],t.prototype,"variant",2);e([i({type:Boolean})],t.prototype,"vertical",2);e([i({type:Boolean})],t.prototype,"disabled",2);e([i({type:Boolean})],t.prototype,"skeleton",2);e([i({type:Boolean})],t.prototype,"active",2);e([i({type:String,attribute:"step-title"})],t.prototype,"stepTitle",2);e([i({type:String,attribute:"step-subtitle"})],t.prototype,"stepSubtitle",2);e([i({type:String,attribute:"icon-name"})],t.prototype,"iconName",2);e([u()],t.prototype,"_orientation",2);t=e([h("ngc-stepper-item")],t);export{t as NgcStepperItem};
@@ -1,4 +1,4 @@
1
- import"../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/reactive-element.js";import{html as p,nothing as u}from"../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/lit-html.js";import"../../node_modules/.pnpm/lit-element@4.2.1/node_modules/lit-element/lit-element.js";import{customElement as c}from"../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/custom-element.js";import{property as d}from"../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/property.js";import{createRef as m,ref as f}from"../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/ref.js";import{generateRandomId as b,getElementId as g}from"../../utils/string-utils.js";import{NgcInputText as v}from"../input/gator/input-text/input-text.gator.js";import{NgcInputBase as x}from"../input/base/input-base.gator.js";import y from"../../packages/web-components/src/tokens/primitive-new.tokens.scss.js";import k from"../../packages/web-components/src/tokens/semantic-new.tokens.scss.js";import T from"../../packages/web-components/src/components/radio/radio.gator.scss.js";import{unsafeCSS as h}from"../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/css-tag.js";var $=Object.defineProperty,R=Object.getOwnPropertyDescriptor,_=Object.getPrototypeOf,I=Reflect.get,a=(e,r,s,o)=>{for(var i=o>1?void 0:o?R(r,s):r,l=e.length-1,n;l>=0;l--)(n=e[l])&&(i=(o?n(r,s,i):n(i))||i);return o&&i&&$(r,s,i),i},C=(e,r,s)=>I(_(e),s,r);let t=class extends v{constructor(){super(...arguments),this.titleText="",this.selected=!1,this.radioTabindex=-1,this.grouped=!1,this.inputRef=m(),this._randomId=b()}updated(e){super.updated(e),e.has("errorText")&&this.inputRef.value&&this.inputRef.value.setCustomValidity(this.errorText?"true":""),e.has("selected")&&this.inputRef.value&&(this.inputRef.value.checked=this.selected)}connectedCallback(){super.connectedCallback(),this.addEventListener("click",this.click)}render(){return this.skeleton?this.skeletonMarkup:p`
1
+ import"../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/reactive-element.js";import{html as p,nothing as u}from"../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/lit-html.js";import"../../node_modules/.pnpm/lit-element@4.2.1/node_modules/lit-element/lit-element.js";import{customElement as c}from"../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/custom-element.js";import{property as d}from"../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/property.js";import{createRef as m,ref as f}from"../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/ref.js";import{generateRandomId as b,getElementId as g}from"../../utils/string-utils.js";import{NgcInputText as v}from"../input/gator/input-text/input-text.gator.js";import{NgcInputBase as x}from"../input/base/input-base.gator.js";import y from"../../packages/web-components/src/tokens/primitive-new.tokens.scss.js";import k from"../../packages/web-components/src/tokens/semantic-new.tokens.scss.js";import $ from"../../packages/web-components/src/components/radio/radio.gator.scss.js";import{unsafeCSS as h}from"../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/css-tag.js";var T=Object.defineProperty,R=Object.getOwnPropertyDescriptor,_=Object.getPrototypeOf,I=Reflect.get,a=(e,r,s,o)=>{for(var i=o>1?void 0:o?R(r,s):r,l=e.length-1,n;l>=0;l--)(n=e[l])&&(i=(o?n(r,s,i):n(i))||i);return o&&i&&T(r,s,i),i},C=(e,r,s)=>I(_(e),s,r);let t=class extends v{constructor(){super(...arguments),this.titleText="",this.selected=!1,this.radioTabindex=-1,this.grouped=!1,this.inputRef=m(),this._randomId=b()}updated(e){super.updated(e),e.has("errorText")&&this.inputRef.value&&this.inputRef.value.setCustomValidity(this.errorText?"true":""),e.has("selected")&&this.inputRef.value&&(this.inputRef.value.checked=this.selected)}connectedCallback(){super.connectedCallback(),this.addEventListener("click",this.click)}render(){return this.skeleton?this.skeletonMarkup:p`
2
2
  <div class="gator-form-element">
3
3
  <div id="${this.elementId}-radio" class="gator-radio">
4
4
  <div class="gator-radio-input-wrapper">
@@ -31,4 +31,4 @@ import"../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/re
31
31
  <ngc-skeleton-loader width="18" height="18" radius="999"></ngc-skeleton-loader>
32
32
  <ngc-skeleton-loader width="50" height="18" radius="2"></ngc-skeleton-loader>
33
33
  </div>
34
- `}get elementId(){return g(this.id,this._randomId)}get tabindex(){let e=this.radioTabindex;return this.selected&&(e=0),this.disabled&&(e=-1),e}handleChange(){this.selected=!this.selected,this.dispatchEvent(new CustomEvent("change",{bubbles:!0,detail:this.value}))}click(){this.disabled||this.inputRef.value?.click()}focus(){this.disabled||this.inputRef.value?.focus()}};t.styles=[...C(t,t,"styles").filter(x.primitiveAndSemanticStyleFilter),h(y),h(k),h(T)];a([d({type:String,attribute:"title-text"})],t.prototype,"titleText",2);a([d({type:Boolean})],t.prototype,"selected",2);a([d({type:Number,attribute:"radio-tabindex"})],t.prototype,"radioTabindex",2);a([d({type:Boolean,attribute:"grouped"})],t.prototype,"grouped",2);t=a([c("ngc-radio")],t);export{t as NgcRadio};
34
+ `}get elementId(){return g(this.id,this._randomId)}get tabindex(){let e=this.radioTabindex;return this.selected&&(e=0),this.disabled&&(e=-1),e}handleChange(){this.selected=!this.selected,this.dispatchEvent(new CustomEvent("change",{bubbles:!0,detail:this.value}))}click(){this.disabled||this.inputRef.value?.click()}focus(){this.disabled||this.inputRef.value?.focus()}};t.styles=[...C(t,t,"styles").filter(x.primitiveAndSemanticStyleFilter),h(y),h(k),h($)];a([d({type:String,attribute:"title-text"})],t.prototype,"titleText",2);a([d({type:Boolean})],t.prototype,"selected",2);a([d({type:Number,attribute:"radio-tabindex"})],t.prototype,"radioTabindex",2);a([d({type:Boolean,attribute:"grouped"})],t.prototype,"grouped",2);t=a([c("ngc-radio")],t);export{t as NgcRadio};
@@ -1,4 +1,4 @@
1
- import"../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/reactive-element.js";import{html as n}from"../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/lit-html.js";import"../../node_modules/.pnpm/lit-element@4.2.1/node_modules/lit-element/lit-element.js";import{customElement as u}from"../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/custom-element.js";import{property as c}from"../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/property.js";import{ifDefined as f}from"../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/if-defined.js";import{createRef as g,ref as b}from"../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/ref.js";import{generateRandomId as v,getElementId as y}from"../../utils/string-utils.js";import{handleDataTestid as $}from"../../utils/datatestid-utils.js";import{KEY_CONSTANTS as d}from"../../consts/key-constants.js";import{NgcInputBase as x}from"../input/base/input-base.gator.js";import{NgcInputText as R}from"../input/gator/input-text/input-text.gator.js";import"../radio/radio.gator.js";import T from"../../packages/web-components/src/tokens/primitive-new.tokens.scss.js";import E from"../../packages/web-components/src/tokens/semantic-new.tokens.scss.js";import I from"../../packages/web-components/src/components/radio-group/radio-group.gator.scss.js";import{unsafeCSS as m}from"../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/css-tag.js";var S=Object.defineProperty,_=Object.getOwnPropertyDescriptor,O=Object.getPrototypeOf,w=Reflect.get,p=(e,t,s,o)=>{for(var r=o>1?void 0:o?_(t,s):t,l=e.length-1,i;l>=0;l--)(i=e[l])&&(r=(o?i(t,s,r):i(r))||r);return o&&r&&S(t,s,r),r},A=(e,t,s)=>w(O(e),s,t);let a=class extends R{constructor(){super(...arguments),this.options=[],this._randomId=v(),this.groupRef=g()}render(){return n`
1
+ import"../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/reactive-element.js";import{html as n}from"../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/lit-html.js";import"../../node_modules/.pnpm/lit-element@4.2.1/node_modules/lit-element/lit-element.js";import{customElement as u}from"../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/custom-element.js";import{property as c}from"../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/property.js";import{ifDefined as f}from"../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/if-defined.js";import{createRef as g,ref as b}from"../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/ref.js";import{generateRandomId as v,getElementId as y}from"../../utils/string-utils.js";import{handleDataTestid as $}from"../../utils/datatestid-utils.js";import{KEY_CONSTANTS as d}from"../../consts/key-constants.js";import{NgcInputBase as x}from"../input/base/input-base.gator.js";import{NgcInputText as R}from"../input/gator/input-text/input-text.gator.js";import"../radio/radio.gator.js";import E from"../../packages/web-components/src/tokens/primitive-new.tokens.scss.js";import I from"../../packages/web-components/src/tokens/semantic-new.tokens.scss.js";import T from"../../packages/web-components/src/components/radio-group/radio-group.gator.scss.js";import{unsafeCSS as m}from"../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/css-tag.js";var S=Object.defineProperty,_=Object.getOwnPropertyDescriptor,O=Object.getPrototypeOf,w=Reflect.get,p=(e,t,s,o)=>{for(var r=o>1?void 0:o?_(t,s):t,l=e.length-1,i;l>=0;l--)(i=e[l])&&(r=(o?i(t,s,r):i(r))||r);return o&&r&&S(t,s,r),r},A=(e,t,s)=>w(O(e),s,t);let a=class extends R{constructor(){super(...arguments),this.options=[],this._randomId=v(),this.groupRef=g()}render(){return n`
2
2
  <div class="gator-radio-group-container" ${b(this.groupRef)} role="group">
3
3
  ${this.label?n`
4
4
  <ngc-input-label
@@ -31,4 +31,4 @@ import"../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/re
31
31
  error-text=${this.errorText}
32
32
  ></ngc-radio>
33
33
  `)}
34
- `}get radioElements(){if(this.options.length>0)return this.shadowRoot?.querySelectorAll("ngc-radio");const e=this.shadowRoot?.querySelector("slot")?.assignedElements();return e&&e.length===1&&e[0]instanceof HTMLSlotElement?e[0].assignedElements():e}get describedBy(){const e=[];return this.errorText&&e.push(`${this.elementId}-error`),this.helpText&&e.push(`${this.elementId}-help`),e.join(" ")}handleRadioSelectionChange(e){const t=e;t.stopImmediatePropagation(),this.value=t.detail.value??t.detail,this.dispatchEvent(new CustomEvent("change",{bubbles:!0,composed:!0,detail:this.value}))}handleRadioKeydown(e){const t=this.radioElements;if(t){const s=Array.from(t).findIndex(i=>i.selected),o=e.key===d.RIGHT||e.key===d.DOWN,r=e.key===d.LEFT||e.key===d.UP,l=e.key===d.SPACE;if(o||r||l){e.preventDefault();let i=s===-1?0:s;o?i=(i+1)%t.length:r?i=(i-1+t.length)%t.length:l&&s===-1&&(i=0);const h=t[i];h&&(h.focus(),h.click())}}}updated(){this.radioElements?.forEach((e,t)=>{e.selected=this.value===e.value,e.disabled=this.disabled,e.errorText=this.errorText,e.grouped=!0,e.radioTabindex=this.getItemTabindex(t),e.skeleton=this.skeleton,$(e,this.dataTestid,`radio-${t}`)}),requestAnimationFrame(()=>{const e=this.shadowRoot?.querySelector("ngc-input-label"),t=this.shadowRoot?.querySelectorAll("ngc-help-text");e&&this.groupRef.value&&(this.groupRef.value.ariaLabelledByElements=[e]),t&&this.groupRef.value&&(this.groupRef.value.ariaDescribedByElements=Array.from(t))})}getItemTabindex(e){return e===0&&!this.value?0:-1}};a.styles=[...A(a,a,"styles").filter(x.primitiveAndSemanticStyleFilter),m(T),m(E),m(I)];p([c({type:Array})],a.prototype,"options",2);a=p([u("ngc-radio-group")],a);export{a as NgcRadioGroup};
34
+ `}get radioElements(){if(this.options.length>0)return this.shadowRoot?.querySelectorAll("ngc-radio");const e=this.shadowRoot?.querySelector("slot")?.assignedElements();return e&&e.length===1&&e[0]instanceof HTMLSlotElement?e[0].assignedElements():e}get describedBy(){const e=[];return this.errorText&&e.push(`${this.elementId}-error`),this.helpText&&e.push(`${this.elementId}-help`),e.join(" ")}handleRadioSelectionChange(e){const t=e;t.stopImmediatePropagation(),this.value=t.detail.value??t.detail,this.dispatchEvent(new CustomEvent("change",{bubbles:!0,composed:!0,detail:this.value}))}handleRadioKeydown(e){const t=this.radioElements;if(t){const s=Array.from(t).findIndex(i=>i.selected),o=e.key===d.RIGHT||e.key===d.DOWN,r=e.key===d.LEFT||e.key===d.UP,l=e.key===d.SPACE;if(o||r||l){e.preventDefault();let i=s===-1?0:s;o?i=(i+1)%t.length:r?i=(i-1+t.length)%t.length:l&&s===-1&&(i=0);const h=t[i];h&&(h.focus(),h.click())}}}updated(){this.radioElements?.forEach((e,t)=>{e.selected=this.value===e.value,e.disabled=this.disabled,e.errorText=this.errorText,e.grouped=!0,e.radioTabindex=this.getItemTabindex(t),e.skeleton=this.skeleton,$(e,this.dataTestid,`radio-${t}`)}),requestAnimationFrame(()=>{const e=this.shadowRoot?.querySelector("ngc-input-label"),t=this.shadowRoot?.querySelectorAll("ngc-help-text");e&&this.groupRef.value&&(this.groupRef.value.ariaLabelledByElements=[e]),t&&this.groupRef.value&&(this.groupRef.value.ariaDescribedByElements=Array.from(t))})}getItemTabindex(e){return e===0&&!this.value?0:-1}};a.styles=[...A(a,a,"styles").filter(x.primitiveAndSemanticStyleFilter),m(E),m(I),m(T)];p([c({type:Array})],a.prototype,"options",2);a=p([u("ngc-radio-group")],a);export{a as NgcRadioGroup};
@@ -1 +1 @@
1
- import{property as l}from"../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/property.js";import{createRef as u}from"../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/ref.js";import{KEY_CONSTANTS as m}from"../../consts/key-constants.js";import{generateRandomId as _}from"../../utils/string-utils.js";import{TestableLitElement as v}from"../../utils/components/testable-lit-element/testable-lit-element.js";import{handleDataTestid as c}from"../../utils/datatestid-utils.js";import{getFirstFocusableElement as y}from"../../utils/accessibility-utils.js";var T=Object.defineProperty,f=(h,e,i,o)=>{for(var t=void 0,s=h.length-1,r;s>=0;s--)(r=h[s])&&(t=r(e,i,t)||t);return t&&T(e,i,t),t};class d extends v{constructor(){super(...arguments),this.referenceId="",this.placement="top-end",this.xOffset=0,this.yOffset=0,this._tooltipRef=u(),this._forceOpen=!1,this._mousedInsideTooltip=!1,this.tooltipId=_()}firstUpdated(){if(this._tooltipRef.value&&(this._tooltipRef.value.style.visibility="hidden",this._tooltipRef.value.style.opacity="0"),!this.referenceId)return;const e=this.referenceElement,i=this._tooltipRef.value;if(e&&i){c(e,this.dataTestid,"trigger"),c(i,this.dataTestid,"tooltip");let o;e.shadowRoot?.delegatesFocus?o=y(e):o=e,o&&(o.ariaDescribedByElements=[this]),e.addEventListener("mouseenter",()=>this.showTooltip()),e.addEventListener("mouseleave",t=>this._handleMouseLeave(t,e,i)),e.addEventListener("focusin",()=>this.showTooltip()),e.addEventListener("focusout",()=>this.hideTooltip()),i.addEventListener("mouseenter",()=>this.showTooltip()),i.addEventListener("mouseleave",t=>{if(this._mousedInsideTooltip){this.hideTooltip();return}this._handleMouseLeave(t,e,i)}),document.addEventListener("keydown",t=>{t.key===m.ESCAPE&&(this._forceOpen=!1,this.hideTooltip())})}}get referenceElement(){let e=document.querySelector(`#${this.referenceId}`);return e||(e=document.querySelector(`[data-id="${this.referenceId}"]`)?.shadowRoot?.querySelector(`#${this.referenceId}`)),e}_handleMouseLeave(e,i,o){const t=i.getBoundingClientRect(),s=o.getBoundingClientRect(),r=this._isMouseInside(e,t,-5),n=this._isMouseInside(e,s,25);!r&&!n&&this.hideTooltip(),n&&(this._mousedInsideTooltip=!0)}_isMouseInside(e,i,o=0){const{left:t,right:s,top:r,bottom:n}=i,a=e.clientX,p=e.clientY;return a>=t-o&&a<=s+o&&p>=r-o&&p<=n+o}toggleTooltip(){this._forceOpen=!this._forceOpen,this._forceOpen?this.showTooltip():this.hideTooltip()}disconnectedCallback(){this._cleanup&&this._cleanup(),super.disconnectedCallback()}showTooltip(){this.assignPosition(),this._tooltipRef.value&&(this._tooltipRef.value.style.visibility="visible",this._tooltipRef.value.style.opacity="1")}hideTooltip(){this._forceOpen||this._tooltipRef.value&&(this._tooltipRef.value.style.visibility="hidden",this._tooltipRef.value.style.opacity="0")}assignPosition(){}}f([l({attribute:"reference-id"})],d.prototype,"referenceId");f([l()],d.prototype,"placement");f([l({type:Number,attribute:"x-offset"})],d.prototype,"xOffset");f([l({type:Number,attribute:"y-offset"})],d.prototype,"yOffset");export{d as NjcTooltip};
1
+ import{property as l}from"../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/property.js";import{createRef as u}from"../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/ref.js";import{KEY_CONSTANTS as m}from"../../consts/key-constants.js";import{generateRandomId as _}from"../../utils/string-utils.js";import{TestableLitElement as v}from"../../utils/components/testable-lit-element/testable-lit-element.js";import{handleDataTestid as c}from"../../utils/datatestid-utils.js";import{getFirstFocusableElement as y}from"../../utils/accessibility-utils.js";var T=Object.defineProperty,f=(h,e,i,o)=>{for(var t=void 0,s=h.length-1,n;s>=0;s--)(n=h[s])&&(t=n(e,i,t)||t);return t&&T(e,i,t),t};class d extends v{constructor(){super(...arguments),this.referenceId="",this.placement="top-end",this.xOffset=0,this.yOffset=0,this._tooltipRef=u(),this._forceOpen=!1,this._mousedInsideTooltip=!1,this.tooltipId=_()}firstUpdated(){if(this._tooltipRef.value&&(this._tooltipRef.value.style.visibility="hidden",this._tooltipRef.value.style.opacity="0"),!this.referenceId)return;const e=this.referenceElement,i=this._tooltipRef.value;if(e&&i){c(e,this.dataTestid,"trigger"),c(i,this.dataTestid,"tooltip");let o;e.shadowRoot?.delegatesFocus?o=y(e):o=e,o&&(o.ariaDescribedByElements=[this]),e.addEventListener("mouseenter",()=>this.showTooltip()),e.addEventListener("mouseleave",t=>this._handleMouseLeave(t,e,i)),e.addEventListener("focusin",()=>this.showTooltip()),e.addEventListener("focusout",()=>this.hideTooltip()),i.addEventListener("mouseenter",()=>this.showTooltip()),i.addEventListener("mouseleave",t=>{if(this._mousedInsideTooltip){this.hideTooltip();return}this._handleMouseLeave(t,e,i)}),document.addEventListener("keydown",t=>{t.key===m.ESCAPE&&(this._forceOpen=!1,this.hideTooltip())})}}get referenceElement(){let e=this.parentElement?.querySelector(`#${this.referenceId}`);return e||(e=document.getElementById(this.referenceId)),e||(e=document.querySelector(`[data-id="${this.referenceId}"]`)?.shadowRoot?.querySelector(`#${this.referenceId}`)),e}_handleMouseLeave(e,i,o){const t=i.getBoundingClientRect(),s=o.getBoundingClientRect(),n=this._isMouseInside(e,t,-5),r=this._isMouseInside(e,s,25);!n&&!r&&this.hideTooltip(),r&&(this._mousedInsideTooltip=!0)}_isMouseInside(e,i,o=0){const{left:t,right:s,top:n,bottom:r}=i,a=e.clientX,p=e.clientY;return a>=t-o&&a<=s+o&&p>=n-o&&p<=r+o}toggleTooltip(){this._forceOpen=!this._forceOpen,this._forceOpen?this.showTooltip():this.hideTooltip()}disconnectedCallback(){this._cleanup&&this._cleanup(),super.disconnectedCallback()}showTooltip(){this.assignPosition(),this._tooltipRef.value&&(this._tooltipRef.value.style.visibility="visible",this._tooltipRef.value.style.opacity="1")}hideTooltip(){this._forceOpen||this._tooltipRef.value&&(this._tooltipRef.value.style.visibility="hidden",this._tooltipRef.value.style.opacity="0")}assignPosition(){}}f([l({attribute:"reference-id"})],d.prototype,"referenceId");f([l()],d.prototype,"placement");f([l({type:Number,attribute:"x-offset"})],d.prototype,"xOffset");f([l({type:Number,attribute:"y-offset"})],d.prototype,"yOffset");export{d as NjcTooltip};
@@ -1 +1 @@
1
- const e=".ngc-guided-nav-step{border-radius:.5rem;margin-bottom:.5rem;--ngc-list-item-start-icon-color: var(--icon-color-disabled);--ngc-list-item-background: transparent;--ngc-list-item-hover-background: transparent;--ngc-list-item-selected-background: transparent;--ngc-list-item-focus-border-radius: .5rem;--ngc-list-item-pressed-border-radius: .5rem}.ngc-guided-nav-step .ngc-guided-nav-substeps ngc-guided-nav-substep:last-child{--ngc-guided-nav-substep-border-radius: 0 0 .5rem .5rem}.ngc-guided-nav-step:hover,.ngc-guided-nav-step-selected{background-color:var(--color-surface-brand)}.ngc-guided-nav-step-current{--ngc-list-item-start-icon-color: var(--icon-color-primary)}.ngc-guided-nav-step-complete:not(.ngc-guided-nav-step-current){--ngc-list-item-start-icon-color: var(--color-icon-success)}";export{e as default};
1
+ const e=".ngc-guided-nav-step{border-radius:.5rem;margin-bottom:.5rem;--ngc-list-item-start-icon-color: var(--color-icon-disabled);--ngc-list-item-background: transparent;--ngc-list-item-hover-background: transparent;--ngc-list-item-selected-background: transparent;--ngc-list-item-focus-border-radius: .5rem;--ngc-list-item-pressed-border-radius: .5rem}.ngc-guided-nav-step .ngc-guided-nav-substeps ngc-guided-nav-substep:last-child{--ngc-guided-nav-substep-border-radius: 0 0 .5rem .5rem}.ngc-guided-nav-step:hover{background-color:var(--color-surface-brand)}.ngc-guided-nav-step:active{--ngc-list-item-pressed-background: var(--color-surface-brand-secondary)}.ngc-guided-nav-step-selected,.ngc-guided-nav-step-expanded{background-color:var(--color-surface-brand)}.ngc-guided-nav-step-current{--ngc-list-item-start-icon-color: var(--color-icon-brand)}.ngc-guided-nav-step-complete:not(.ngc-guided-nav-step-current){--ngc-list-item-start-icon-color: var(--color-icon-success)}";export{e as default};
@@ -1 +1 @@
1
- const e=".ngc-guided-nav-substep{border-radius:var(--ngc-guided-nav-substep-border-radius);--ngc-list-item-padding: var(--spacing-gap-8, .5rem) var(--spacing-gap-16, 1rem) var(--spacing-gap-8, .5rem) 3rem;--ngc-list-item-background: transparent;--ngc-list-item-hover-background: transparent;--ngc-list-item-selected-background: transparent}.ngc-guided-nav-substep:hover{background-color:var(--color-surface-brand-hover)}.ngc-guided-nav-substep-selected{font-weight:700}";export{e as default};
1
+ const e=".ngc-guided-nav-substep{border-radius:var(--ngc-guided-nav-substep-border-radius);--ngc-list-item-padding: var(--spacing-gap-8, .5rem) var(--spacing-gap-16, 1rem) var(--spacing-gap-8, .5rem) 3rem;--ngc-list-item-background: transparent;--ngc-list-item-hover-background: transparent;--ngc-list-item-selected-background: transparent}.ngc-guided-nav-substep:hover{background-color:var(--color-surface-brand-secondary)}.ngc-guided-nav-substep:active{--ngc-list-item-pressed-background: var(--color-surface-brand-tertiary)}.ngc-guided-nav-substep-selected{font-weight:700}";export{e as default};
@@ -0,0 +1 @@
1
+ const r='.gator-stepper-item{display:flex;align-items:center;justify-content:flex-start;line-height:var(--line-height-body-1, 24px);font-family:var(--font-family-body, "Open Sans"),sans-serif;font-size:var(--font-size-body-1, 17px);color:var(--color-text-primary);background:transparent;border:none;padding:.5rem 1rem;min-width:72px;min-height:50px;border-radius:var(--border-radius-medium, 8px)}.stepper-line{display:flex;flex:1;border-radius:var(--border-radius-circle);background-color:var(--color-surface-tertiary);width:100%;height:100%}.stepper-item-content{display:flex;flex-direction:column;align-items:start;width:100%}.stepper-label-container{display:flex;width:100%;flex-shrink:0;gap:8px;align-items:center}.stepper-label-text{display:flex;flex-direction:column;gap:2px;width:100%;align-items:start}.stepper-subtitle{font-size:var(--font-size-body-3);color:var(--color-text-secondary)}.gator-stepper-item-horizontal{display:flex;flex-direction:column;align-items:flex-start;width:100%;gap:8px}.gator-stepper-item-horizontal .stepper-line{margin-left:4px;height:2px}.gator-stepper-item-horizontal .icon-line-row{display:flex;align-items:center;width:100%}.gator-stepper-item-horizontal .stepper-label{padding-right:24px}.gator-stepper-item-vertical{display:flex;flex-direction:row;align-items:flex-start;gap:8px;min-height:50px;height:100%;width:100%}.gator-stepper-item-vertical .stepper-line{margin-top:4px;width:2px}.gator-stepper-item-vertical .icon-line-column{display:flex;flex-direction:column;align-items:center;min-height:inherit;align-self:stretch;flex-grow:1}.gator-stepper-item-vertical .stepper-label-container{margin-top:2px}.gator-stepper-item-vertical .stepper-title-skeleton{margin-top:10px}.gator-stepper-item-incomplete{--ngc-icon-button-background-color: var(--color-surface-tertiary);--ngc-icon-button-icon-color: var(--color-icon-primary)}.gator-stepper-item-incomplete .stepper-line{background-color:var(--color-border-tertiary)}.gator-stepper-item-incomplete.gator-stepper-item_active .stepper-line{background-color:var(--color-border-secondary)}.gator-stepper-item-current{--ngc-icon-button-background-color: var(--color-surface-brand-tertiary);--ngc-icon-button-icon-color: var(--color-icon-brand)}.gator-stepper-item-current .stepper-line{background-color:var(--color-border-brand-tertiary)}.gator-stepper-item-current.gator-stepper-item_active .stepper-line{background-color:var(--color-border-brand)}.gator-stepper-item-success{--ngc-icon-button-background-color: var(--color-surface-success);--ngc-icon-button-icon-color: var(--color-icon-success)}.gator-stepper-item-success .stepper-line{background-color:var(--color-border-success)}.gator-stepper-item-success.gator-stepper-item_active .stepper-line{background-color:var(--color-border-success-secondary)}.gator-stepper-item-warning{--ngc-icon-button-background-color: var(--color-surface-warning);--ngc-icon-button-icon-color: var(--color-icon-warning)}.gator-stepper-item-warning .stepper-line{background-color:var(--color-border-warning)}.gator-stepper-item-warning.gator-stepper-item_active .stepper-line{background-color:var(--color-border-warning-secondary)}.gator-stepper-item-error{--ngc-icon-button-background-color: var(--color-surface-error);--ngc-icon-button-icon-color: var(--color-icon-error)}.gator-stepper-item-error .stepper-line{background-color:var(--color-border-error)}.gator-stepper-item-error.gator-stepper-item_active .stepper-line{background-color:var(--color-border-error-secondary)}.gator-stepper-item-ai{--ngc-icon-button-background-color: var(--color-surface-purple);--ngc-icon-button-icon-color: var(--color-icon-ai)}.gator-stepper-item-ai .stepper-line{background-color:var(--color-border-purple)}.gator-stepper-item-ai.gator-stepper-item_active .stepper-line{background-color:var(--color-border-purple-secondary)}.gator-stepper-item_disabled{--ngc-icon-button-background-color: var(--color-surface-disabled);--ngc-icon-button-disabled-color: var(--color-icon-disabled);color:var(--color-text-disabled);pointer-events:none}.gator-stepper-item_disabled .stepper-line,.gator-stepper-item_skeleton .stepper-line{background-color:var(--color-border-disabled)}.gator-stepper-item_active .stepper-title{font-weight:600}.stepper-title:hover{text-decoration:underline;cursor:pointer}.stepper-title:focus-visible{border-radius:var(--border-radius-small, 4px);outline:var(--ngc-stepper-item-focus-outline, 2px solid var(--color-border-neutral, #1F1F1F));outline-offset:2px}.stepper-title-skeleton{width:100%;height:100%}ngc-skeleton-loader{width:100%;display:flex}';export{r as default};
@@ -1,11 +1,12 @@
1
- import { NgcListItem } from '../../../list/gator/list-item/list-item.gator.ts';
1
+ import { PropertyValues } from 'lit';
2
2
  import { NJC_GUIDED_NAV_STEP_STATE, NjcGuidedNavSelectedStep, NjcGuidedNavStep, NjcGuidedNavSubstep } from '../../guided-nav.ts';
3
- export declare class NgcGuidedNavStep extends NgcListItem {
3
+ import { NgcComponent } from '../../../../utils/components/ngc-component.ts';
4
+ export declare class NgcGuidedNavStep extends NgcComponent {
4
5
  static shadowRootOptions: {
5
6
  delegatesFocus: boolean;
6
- mode: ShadowRootMode;
7
7
  clonable?: boolean;
8
8
  customElementRegistry?: CustomElementRegistry;
9
+ mode: ShadowRootMode;
9
10
  serializable?: boolean;
10
11
  slotAssignment?: SlotAssignmentMode;
11
12
  };
@@ -14,13 +15,17 @@ export declare class NgcGuidedNavStep extends NgcListItem {
14
15
  selectedStep: NjcGuidedNavSelectedStep;
15
16
  state: NJC_GUIDED_NAV_STEP_STATE;
16
17
  onStepSelected: (event: Event, step: NjcGuidedNavStep) => void;
17
- onSubstepSelected: (event: Event, step: NjcGuidedNavSubstep) => void;
18
+ onSubstepSelected: (event: Event, substep: NjcGuidedNavSubstep, parentStepId: string) => void;
18
19
  badgeContent: string | null;
20
+ _substepsExpanded: boolean;
21
+ updated(_changedProperties: PropertyValues): void;
19
22
  render(): import('lit').TemplateResult<1>;
20
23
  private get _stepClasses();
21
24
  private get _stepListItemClasses();
22
25
  private get _stepProgressIcon();
26
+ private get _hasSubsteps();
23
27
  private get _substepElementsMarkup();
28
+ handleSelected(e: CustomEvent): void;
24
29
  private get _isSelected();
25
30
  private get _substeps();
26
31
  private _getSubstepState;