@ncino/web-components 8.0.0-preview.24 → 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.
@@ -1 +1 @@
1
- var r={};export{r as __exports};
1
+ var e={exports:{}};export{e as __module};
@@ -1 +1 @@
1
- var e={exports:{}};export{e as __module};
1
+ var r={};export{r as __exports};
@@ -1,6 +1,8 @@
1
- import"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/reactive-element.js";import{html as o}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 l}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/custom-element.js";import{NjcGuidedNav as c}from"../../guided-nav.js";import"../../../list/gator/list/list.gator.js";import"../../../list/gator/list-item/list-item.gator.js";import"../guided-nav-step/guided-nav-step.gator.js";import"../guided-nav-substep/guided-nav-substep.gator.js";import{toasterService as a}from"../../../../services/toaster-service.js";var h=Object.getOwnPropertyDescriptor,S=(e,t,r,s)=>{for(var i=s>1?void 0:s?h(t,r):t,n=e.length-1,p;n>=0;n--)(p=e[n])&&(i=p(i)||i);return i};let u=class extends c{connectedCallback(){super.connectedCallback(),this._createToaster()}render(){return o`
1
+ import"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/reactive-element.js";import{html as o}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 l}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/custom-element.js";import{NjcGuidedNav as c}from"../../guided-nav.js";import"../../../list/gator/list/list.gator.js";import"../../../list/gator/list-item/list-item.gator.js";import"../guided-nav-step/guided-nav-step.gator.js";import"../guided-nav-substep/guided-nav-substep.gator.js";import{toasterService as a}from"../../../../services/toaster-service.js";var h=Object.getOwnPropertyDescriptor,S=(e,t,s,i)=>{for(var r=i>1?void 0:i?h(t,s):t,n=e.length-1,p;n>=0;n--)(p=e[n])&&(r=p(r)||r);return r};let u=class extends c{connectedCallback(){super.connectedCallback(),this._createToaster()}render(){return o`
2
2
  <div class="ngc-guided-nav">
3
- <ngc-list aria-label="Guided Navigation Steps">
3
+ <ngc-list
4
+ aria-label="Guided Navigation Steps"
5
+ role="list">
4
6
  ${this.steps.map(e=>o`
5
7
  <ngc-guided-nav-step
6
8
  .step="${e}"
@@ -14,4 +16,4 @@ import"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@
14
16
  `)}
15
17
  </ngc-list>
16
18
  </div>
17
- `}_getStepState(e){if(e.substeps&&e.substeps.length>0){const s=e.substeps?.length??0,i=e.substeps?.filter(d=>d.complete).length??0,n=i>0&&i<s;return i===s?"complete":n?"current":"incomplete"}const r=!(this.steps[this.steps.indexOf(e)-1]?.complete??!1);return e.complete?"complete":r?"incomplete":"current"}_handleStepSelected(e,t){e.preventDefault(),e.stopPropagation(),this._moveToStep(t)}_handleSubstepSelected(e,t){e.preventDefault(),this._moveToSubstep(t)}_moveToStep(e){if(this.forwardNavigationDisabled){const t=this._getStepState(e);if(!(t==="current"||t==="complete")){this._showForwardNavigationErrorToast();return}}this._dispatchChangeEvent({step:e.id,substep:e.substeps?.[0]?.id??null})}_moveToSubstep(e){if(this.forwardNavigationDisabled&&!this._isSubstepCompleteOrNext(e)){this._showForwardNavigationErrorToast();return}this._dispatchChangeEvent({...this.selectedStep,substep:e.id})}_isSubstepCompleteOrNext(e){if(e.complete)return!0;const t=this.steps.find(s=>s.id===this.selectedStep?.step);return!t||!t.substeps?!1:t?.substeps?.findIndex(s=>s.complete===!1)-1===t.substeps.indexOf(e)-1}_createToaster(){if(document.querySelector("ngc-toaster"))return;const e=document.createElement("ngc-toaster");e.position="bottom-right",e.defaultToastOptions={duration:5e3,dismissible:!0},document.body.appendChild(e)}_showForwardNavigationErrorToast(){a.error(this.forwardNavigationDisabledErrorMessage)}_dispatchChangeEvent(e){const t=new CustomEvent("change",{composed:!0,bubbles:!0,detail:{value:e}});this.dispatchEvent(t)}moveToNextStep(){const e=this.steps.find(r=>r.id===this.selectedStep?.step);if(!e)return;if(e.substeps&&e.substeps.length>0&&this.selectedStep?.substep){const r=e.substeps.findIndex(i=>i.id===this.selectedStep?.substep),s=e.substeps[r+1];if(s){this._moveToSubstep(s);return}}const t=this.steps[this.steps.indexOf(e)+1];t&&this._moveToStep(t)}moveToPreviousStep(){const e=this.steps.find(r=>r.id===this.selectedStep?.step);if(!e)return;if(e.substeps&&e.substeps.length>0&&this.selectedStep?.substep){const r=e.substeps.findIndex(i=>i.id===this.selectedStep?.substep),s=e.substeps[r-1];if(s){this._moveToSubstep(s);return}}const t=this.steps[this.steps.indexOf(e)-1];t&&this._dispatchChangeEvent({step:t.id,substep:t.substeps?.[t.substeps.length-1]?.id??null})}getCurrentStepProgress(){const e=this.steps.find(n=>n.id===this.selectedStep?.step);if(!e)return 0;const t=this.steps.indexOf(e),r=this.steps.slice(0,t).reduce((n,p)=>n+(p.substeps?.length||1),0);let s=0;if(this.selectedStep?.substep&&e.substeps?.length){const n=e.substeps.findIndex(p=>p.id===this.selectedStep?.substep);n>-1&&(s=n)}return(r+s)/this._totalStepsAndSubsteps*100}};u=S([l("ngc-guided-nav")],u);export{u as NgcGuidedNav};
19
+ `}_getStepState(e){if(e.substeps&&e.substeps.length>0){const i=e.substeps?.length??0,r=e.substeps?.filter(d=>d.complete).length??0,n=r>0&&r<i;return r===i?"complete":n?"current":"incomplete"}const s=!(this.steps[this.steps.indexOf(e)-1]?.complete??!1);return e.complete?"complete":s?"incomplete":"current"}_handleStepSelected(e,t){e.preventDefault(),e.stopPropagation(),this._moveToStep(t)}_handleSubstepSelected(e,t,s){e.preventDefault(),this._moveToSubstep(t,s)}_moveToStep(e){if(this.forwardNavigationDisabled){const t=this._getStepState(e);if(!(t==="current"||t==="complete")){this._showForwardNavigationErrorToast();return}}this._dispatchChangeEvent({step:e.id,substep:e.substeps?.[0]?.id??null})}_moveToSubstep(e,t){if(this.forwardNavigationDisabled&&!this._isSubstepCompleteOrNext(e)){this._showForwardNavigationErrorToast();return}const s=t??this.selectedStep?.step;this._dispatchChangeEvent({step:s,substep:e.id})}_isSubstepCompleteOrNext(e){if(e.complete)return!0;const t=this.steps.find(i=>i.id===this.selectedStep?.step);return!t||!t.substeps?!1:t?.substeps?.findIndex(i=>i.complete===!1)-1===t.substeps.indexOf(e)-1}_createToaster(){if(document.querySelector("ngc-toaster"))return;const e=document.createElement("ngc-toaster");e.position="bottom-right",e.defaultToastOptions={duration:5e3,dismissible:!0},document.body.appendChild(e)}_showForwardNavigationErrorToast(){a.error(this.forwardNavigationDisabledErrorMessage)}_dispatchChangeEvent(e){const t=new CustomEvent("change",{composed:!0,bubbles:!0,detail:{value:e}});this.dispatchEvent(t)}moveToNextStep(){const e=this.steps.find(s=>s.id===this.selectedStep?.step);if(!e)return;if(e.substeps&&e.substeps.length>0&&this.selectedStep?.substep){const s=e.substeps.findIndex(r=>r.id===this.selectedStep?.substep),i=e.substeps[s+1];if(i){this._moveToSubstep(i,e.id);return}}const t=this.steps[this.steps.indexOf(e)+1];t&&this._moveToStep(t)}moveToPreviousStep(){const e=this.steps.find(s=>s.id===this.selectedStep?.step);if(!e)return;if(e.substeps&&e.substeps.length>0&&this.selectedStep?.substep){const s=e.substeps.findIndex(r=>r.id===this.selectedStep?.substep),i=e.substeps[s-1];if(i){this._moveToSubstep(i,e.id);return}}const t=this.steps[this.steps.indexOf(e)-1];t&&this._dispatchChangeEvent({step:t.id,substep:t.substeps?.[t.substeps.length-1]?.id??null})}getCurrentStepProgress(){const e=this.steps.find(n=>n.id===this.selectedStep?.step);if(!e)return 0;const t=this.steps.indexOf(e),s=this.steps.slice(0,t).reduce((n,p)=>n+(p.substeps?.length||1),0);let i=0;if(this.selectedStep?.substep&&e.substeps?.length){const n=e.substeps.findIndex(p=>p.id===this.selectedStep?.substep);n>-1&&(i=n)}return(s+i)/this._totalStepsAndSubsteps*100}};u=S([l("ngc-guided-nav")],u);export{u as NgcGuidedNav};
@@ -1,34 +1,43 @@
1
- import"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/reactive-element.js";import{nothing as d,html as o}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 m}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{classMap as g}from"../../../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/class-map.js";import h from"../../../../packages/web-components/src/tokens/primitive.tokens.scss.js";import b from"../../../../packages/web-components/src/tokens/semantic.tokens.scss.js";import S from"../../../../packages/web-components/src/components/guided-nav/gator/guided-nav-step/guided-nav-step.gator.scss.js";import{NgcListItem as _}from"../../../list/gator/list-item/list-item.gator.js";import{unsafeCSS as u}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/css-tag.js";var f=Object.defineProperty,v=Object.getOwnPropertyDescriptor,$=Object.getPrototypeOf,y=Reflect.get,p=(e,t,r,n)=>{for(var i=n>1?void 0:n?v(t,r):t,l=e.length-1,a;l>=0;l--)(a=e[l])&&(i=(n?a(t,r,i):a(i))||i);return n&&i&&f(t,r,i),i},C=(e,t,r)=>y($(e),r,t);let s=class extends _{constructor(){super(...arguments),this.step={id:"",value:"",text:""},this.selectedStep={step:"",substep:null},this.state="complete",this.onStepSelected=()=>{},this.onSubstepSelected=()=>{},this.badgeContent=null}render(){return o`
2
- <div class="${g(this._stepClasses)}" role="listitem">
1
+ import"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/reactive-element.js";import{nothing as m,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 b}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/custom-element.js";import{property as a}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/property.js";import{state as _}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/state.js";import{classMap as u}from"../../../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/class-map.js";import S from"../../../../packages/web-components/src/components/guided-nav/gator/guided-nav-step/guided-nav-step.gator.scss.js";import f from"../../../../packages/web-components/src/tokens/primitive-new.tokens.scss.js";import $ from"../../../../packages/web-components/src/tokens/semantic-new.tokens.scss.js";import"../../../list/gator/list-item/list-item.gator.js";import{NgcComponent as h}from"../../../../utils/components/ngc-component.js";import{ifDefined as v}from"../../../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/if-defined.js";import{unsafeCSS as o}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/css-tag.js";var x=Object.defineProperty,y=Object.getOwnPropertyDescriptor,E=Object.getPrototypeOf,C=Reflect.get,p=(e,s,r,n)=>{for(var i=n>1?void 0:n?y(s,r):s,d=e.length-1,l;d>=0;d--)(l=e[d])&&(i=(n?l(s,r,i):l(i))||i);return n&&i&&x(s,r,i),i},g=(e,s,r)=>C(E(e),r,s);let t=class extends h{constructor(){super(...arguments),this.step={id:"",value:"",text:""},this.selectedStep={step:"",substep:null},this.state="complete",this.onStepSelected=()=>{},this.onSubstepSelected=()=>{},this.badgeContent=null,this._substepsExpanded=!1}updated(e){(e.has("_isSelected")||e.has("selectedStep"))&&(this._substepsExpanded=this._hasSubsteps&&this._isSelected||!1)}render(){return c`
2
+ <div class="${u(this._stepClasses)}" role="listitem">
3
3
  <ngc-list-item
4
4
  id="${this.step.id}"
5
- class="${g(this._stepListItemClasses)}"
5
+ class="${u(this._stepListItemClasses)}"
6
6
  text="${this.step.text}"
7
7
  value="${this.step.value}"
8
8
  start-icon="${this._stepProgressIcon}"
9
9
  hide-checkmark
10
- tabindex="0"
10
+ .tabindex="${0}"
11
11
  ?current-list-item="${this.state==="current"}"
12
12
  ?selected="${this._isSelected}"
13
13
  selectable
14
- @selected="${e=>this.onStepSelected(e,this.step)}"
15
- >
16
- ${this.badgeContent?o`<ngc-badge slot="end">${this.badgeContent}</ngc-badge>`:d}
17
- </ngc-list-item>
14
+ @selected="${this.handleSelected}"
15
+ role="${this._hasSubsteps?"button":"link"}"
16
+ aria-current="${!this._hasSubsteps&&this._isSelected?"step":"false"}"
17
+ aria-expanded=${v(this._hasSubsteps?this._substepsExpanded:void 0)}
18
+ >
19
+ ${this.badgeContent?c`<ngc-badge slot="end">${this.badgeContent}</ngc-badge>`:m}
20
+ </ngc-list-item>
18
21
  ${this._substepElementsMarkup}
19
22
  </div>
20
- `}get _stepClasses(){return{"ngc-guided-nav-step":!0,"ngc-guided-nav-step-selected":this._isSelected}}get _stepListItemClasses(){return{"ngc-guided-nav-step-complete":this.state==="complete","ngc-guided-nav-step-current":this.state==="current"}}get _stepProgressIcon(){switch(this.state){case"complete":return"check-circle";case"current":return"circle-arrow-right";case"incomplete":return"circle-filled";default:return"circle-filled"}}get _substepElementsMarkup(){return this._isSelected?o`
21
- <ngc-list class="ngc-guided-nav-substeps">
22
- ${this._substeps?.map((e,t)=>{const r=this._getSubstepState(e,this._substeps[t-1]),n=this._isSelected&&this.selectedStep.substep===e.id;return o`
23
+ `}get _stepClasses(){return{"ngc-guided-nav-step":!0,"ngc-guided-nav-step-selected":this._isSelected,"ngc-guided-nav-step-expanded":this._substepsExpanded}}get _stepListItemClasses(){return{"ngc-guided-nav-step-complete":this.state==="complete","ngc-guided-nav-step-current":this.state==="current"}}get _stepProgressIcon(){switch(this.state){case"complete":return"check-circle";case"current":return"circle-arrow-right";case"incomplete":return"circle-filled";default:return"circle-filled"}}get _hasSubsteps(){return this.step.substeps&&this.step.substeps.length>0}get _substepElementsMarkup(){return c`
24
+ <ngc-list
25
+ class="ngc-guided-nav-substeps ${this._substepsExpanded?"":"gator-visually-hidden"}"
26
+ aria-label="${this.step.text}"
27
+ aria-hidden="${!this._substepsExpanded}"
28
+ role="list">
29
+ ${this._substeps?.map((e,s)=>{const r=this._getSubstepState(e,this._substeps[s-1]),n=this._isSelected&&this.selectedStep.substep===e.id;return c`
23
30
  <ngc-guided-nav-substep
24
- class="${t===this._substeps.length-1?"ngc-guided-nav-substep-last":""}"
31
+ class="${s===this._substeps.length-1?"ngc-guided-nav-substep-last":""}"
25
32
  .substep="${e}"
26
33
  .state="${r}"
27
- .onSubstepSelected="${this.onSubstepSelected}"
34
+ .parentStepId="${this.step.id}"
35
+ .onSubstepSelected="${(i,d,l)=>this.onSubstepSelected(i,d,l)}"
28
36
  ?selected="${n}"
29
37
  selectable
30
38
  .badgeContent="${e.badgeContent}"
39
+ ?isHidden="${!this._substepsExpanded}"
31
40
  ></ngc-guided-nav-substep>
32
41
  `})}
33
42
  </ngc-list>
34
- `:d}get _isSelected(){return this.selectedStep?.step===this.step.id}get _substeps(){return this.step.substeps??[]}_getSubstepState(e,t){return e.complete?"complete":t?.complete||!t?"current":"incomplete"}};s.shadowRootOptions={...C(s,s,"shadowRootOptions"),delegatesFocus:!0};s.styles=[u(h),u(b),u(S)];p([c()],s.prototype,"step",2);p([c()],s.prototype,"selectedStep",2);p([c()],s.prototype,"state",2);p([c({type:Function})],s.prototype,"onStepSelected",2);p([c({type:Function})],s.prototype,"onSubstepSelected",2);p([c({type:String})],s.prototype,"badgeContent",2);s=p([m("ngc-guided-nav-step")],s);export{s as NgcGuidedNavStep};
43
+ `}handleSelected(e){if(e.detail.interactionType==="keyboard"&&this._hasSubsteps){this._substepsExpanded=!this._substepsExpanded;return}this.onStepSelected(e,this.step)}get _isSelected(){return this.selectedStep?.step===this.step.id}get _substeps(){return this.step.substeps??[]}_getSubstepState(e,s){return e.complete?"complete":s?.complete||!s?"current":"incomplete"}};t.shadowRootOptions={...g(t,t,"shadowRootOptions"),delegatesFocus:!0};t.styles=[...g(t,t,"styles").filter(h.primitiveAndSemanticStyleFilter),o(f),o($),o(S)];p([a()],t.prototype,"step",2);p([a()],t.prototype,"selectedStep",2);p([a()],t.prototype,"state",2);p([a({type:Function})],t.prototype,"onStepSelected",2);p([a({type:Function})],t.prototype,"onSubstepSelected",2);p([a({type:String})],t.prototype,"badgeContent",2);p([_()],t.prototype,"_substepsExpanded",2);t=p([b("ngc-guided-nav-step")],t);export{t as NgcGuidedNavStep};
@@ -1,16 +1,18 @@
1
- import"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/reactive-element.js";import{nothing as d,html 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 b}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{classMap as m}from"../../../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/class-map.js";import g from"../../../../packages/web-components/src/components/guided-nav/gator/guided-nav-substep/guided-nav-substep.gator.scss.js";import h from"../../../../packages/web-components/src/tokens/primitive.tokens.scss.js";import v from"../../../../packages/web-components/src/tokens/semantic.tokens.scss.js";import{NgcListItem as f}from"../../../list/gator/list-item/list-item.gator.js";import{unsafeCSS as c}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/css-tag.js";var y=Object.defineProperty,_=Object.getOwnPropertyDescriptor,s=(p,o,n,i)=>{for(var t=i>1?void 0:i?_(o,n):o,a=p.length-1,l;a>=0;a--)(l=p[a])&&(t=(i?l(o,n,t):l(t))||t);return i&&t&&y(o,n,t),t};let e=class extends f{constructor(){super(...arguments),this.substep={id:"",value:"",text:"",complete:!1},this.selected=!1,this.state="complete",this.onSubstepSelected=()=>{}}render(){return u`
2
- <div class="${m(this._substepClasses)}" role="listitem">
1
+ import"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/reactive-element.js";import{nothing as b,html 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 g}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{classMap as d}from"../../../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/class-map.js";import h from"../../../../packages/web-components/src/components/guided-nav/gator/guided-nav-substep/guided-nav-substep.gator.scss.js";import f from"../../../../packages/web-components/src/tokens/primitive-new.tokens.scss.js";import v from"../../../../packages/web-components/src/tokens/semantic-new.tokens.scss.js";import"../../../list/gator/list-item/list-item.gator.js";import{NgcComponent as m}from"../../../../utils/components/ngc-component.js";import{unsafeCSS as c}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/css-tag.js";var _=Object.defineProperty,y=Object.getOwnPropertyDescriptor,S=Object.getPrototypeOf,C=Reflect.get,r=(t,p,n,o)=>{for(var s=o>1?void 0:o?y(p,n):p,a=t.length-1,l;a>=0;a--)(l=t[a])&&(s=(o?l(p,n,s):l(s))||s);return o&&s&&_(p,n,s),s},$=(t,p,n)=>C(S(t),n,p);let e=class extends m{constructor(){super(...arguments),this.substep={id:"",value:"",text:"",complete:!1},this.selected=!1,this.state="complete",this.isHidden=!1,this.onSubstepSelected=()=>{}}render(){return u`
2
+ <div class="${d(this._substepClasses)}" role="listitem">
3
3
  <ngc-list-item
4
- class=${m(this._substepListItemClasses)}
4
+ class=${d(this._substepListItemClasses)}
5
5
  text="${this.substep.text}"
6
6
  .value="${this.substep.value}"
7
- tabindex="0"
7
+ .tabindex="${this.isHidden?-1:0}"
8
+ role="link"
9
+ aria-current="${this.selected?"step":"false"}"
8
10
  hide-checkmark
9
11
  ?selected="${this.selected}"
10
12
  selectable
11
- @selected="${p=>this.onSubstepSelected(p,this.substep)}"
13
+ @selected="${t=>this.onSubstepSelected(t,this.substep,this._substepParentStepId)}"
12
14
  >
13
- ${this.badgeContent?u`<ngc-badge slot="end">${this.badgeContent}</ngc-badge>`:d}
15
+ ${this.badgeContent?u`<ngc-badge slot="end">${this.badgeContent}</ngc-badge>`:b}
14
16
  </ngc-list-item>
15
17
  </div>
16
- `}get _substepClasses(){return{"ngc-guided-nav-substep":!0,"ngc-guided-nav-substep-selected":this.selected}}get _substepListItemClasses(){return{"ngc-guided-nav-substep-complete":this.state==="complete","ngc-guided-nav-substep-current":this.state==="current"}}};e.styles=[c(h),c(v),c(g)];s([r()],e.prototype,"substep",2);s([r({type:Boolean})],e.prototype,"selected",2);s([r()],e.prototype,"state",2);s([r()],e.prototype,"badgeContent",2);s([r({type:Function})],e.prototype,"onSubstepSelected",2);e=s([b("ngc-guided-nav-substep")],e);export{e as NgcGuidedNavSubstep};
18
+ `}get _substepClasses(){return{"ngc-guided-nav-substep":!0,"ngc-guided-nav-substep-selected":this.selected}}get _substepListItemClasses(){return{"ngc-guided-nav-substep-complete":this.state==="complete","ngc-guided-nav-substep-current":this.state==="current"}}get _substepParentStepId(){return(this.parentElement?.parentElement?.parentNode).host.step.id}};e.styles=[...$(e,e,"styles").filter(m.primitiveAndSemanticStyleFilter),c(f),c(v),c(h)];r([i()],e.prototype,"substep",2);r([i({type:Boolean})],e.prototype,"selected",2);r([i()],e.prototype,"state",2);r([i({type:Boolean})],e.prototype,"isHidden",2);r([i()],e.prototype,"badgeContent",2);r([i({type:Function})],e.prototype,"onSubstepSelected",2);e=r([g("ngc-guided-nav-substep")],e);export{e as NgcGuidedNavSubstep};
@@ -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};
@@ -1 +1 @@
1
- import{__module as a}from"../../../../../_virtual/index6.js";import{__require as k}from"../../../color-convert@2.0.1/node_modules/color-convert/index.js";a.exports;var d;function j(){return d?a.exports:(d=1,(function(p){const u=(r,e)=>(...o)=>`\x1B[${r(...o)+e}m`,B=(r,e)=>(...o)=>{const t=r(...o);return`\x1B[${38+e};5;${t}m`},f=(r,e)=>(...o)=>{const t=r(...o);return`\x1B[${38+e};2;${t[0]};${t[1]};${t[2]}m`},g=r=>r,m=(r,e,o)=>[r,e,o],s=(r,e,o)=>{Object.defineProperty(r,e,{get:()=>{const t=o();return Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0}),t},enumerable:!0,configurable:!0})};let c;const i=(r,e,o,t)=>{c===void 0&&(c=k());const l=t?10:0,n={};for(const[b,h]of Object.entries(c)){const y=b==="ansi16"?"ansi":b;b===e?n[y]=r(o,l):typeof h=="object"&&(n[y]=r(h[e],l))}return n};function C(){const r=new Map,e={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};e.color.gray=e.color.blackBright,e.bgColor.bgGray=e.bgColor.bgBlackBright,e.color.grey=e.color.blackBright,e.bgColor.bgGrey=e.bgColor.bgBlackBright;for(const[o,t]of Object.entries(e)){for(const[l,n]of Object.entries(t))e[l]={open:`\x1B[${n[0]}m`,close:`\x1B[${n[1]}m`},t[l]=e[l],r.set(n[0],n[1]);Object.defineProperty(e,o,{value:t,enumerable:!1})}return Object.defineProperty(e,"codes",{value:r,enumerable:!1}),e.color.close="\x1B[39m",e.bgColor.close="\x1B[49m",s(e.color,"ansi",()=>i(u,"ansi16",g,!1)),s(e.color,"ansi256",()=>i(B,"ansi256",g,!1)),s(e.color,"ansi16m",()=>i(f,"rgb",m,!1)),s(e.bgColor,"ansi",()=>i(u,"ansi16",g,!0)),s(e.bgColor,"ansi256",()=>i(B,"ansi256",g,!0)),s(e.bgColor,"ansi16m",()=>i(f,"rgb",m,!0)),e}Object.defineProperty(p,"exports",{enumerable:!0,get:C})})(a),a.exports)}export{j as __require};
1
+ import{__module as a}from"../../../../../_virtual/index5.js";import{__require as k}from"../../../color-convert@2.0.1/node_modules/color-convert/index.js";a.exports;var d;function j(){return d?a.exports:(d=1,(function(p){const u=(r,e)=>(...o)=>`\x1B[${r(...o)+e}m`,B=(r,e)=>(...o)=>{const t=r(...o);return`\x1B[${38+e};5;${t}m`},f=(r,e)=>(...o)=>{const t=r(...o);return`\x1B[${38+e};2;${t[0]};${t[1]};${t[2]}m`},g=r=>r,m=(r,e,o)=>[r,e,o],s=(r,e,o)=>{Object.defineProperty(r,e,{get:()=>{const t=o();return Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0}),t},enumerable:!0,configurable:!0})};let c;const i=(r,e,o,t)=>{c===void 0&&(c=k());const l=t?10:0,n={};for(const[b,h]of Object.entries(c)){const y=b==="ansi16"?"ansi":b;b===e?n[y]=r(o,l):typeof h=="object"&&(n[y]=r(h[e],l))}return n};function C(){const r=new Map,e={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};e.color.gray=e.color.blackBright,e.bgColor.bgGray=e.bgColor.bgBlackBright,e.color.grey=e.color.blackBright,e.bgColor.bgGrey=e.bgColor.bgBlackBright;for(const[o,t]of Object.entries(e)){for(const[l,n]of Object.entries(t))e[l]={open:`\x1B[${n[0]}m`,close:`\x1B[${n[1]}m`},t[l]=e[l],r.set(n[0],n[1]);Object.defineProperty(e,o,{value:t,enumerable:!1})}return Object.defineProperty(e,"codes",{value:r,enumerable:!1}),e.color.close="\x1B[39m",e.bgColor.close="\x1B[49m",s(e.color,"ansi",()=>i(u,"ansi16",g,!1)),s(e.color,"ansi256",()=>i(B,"ansi256",g,!1)),s(e.color,"ansi16m",()=>i(f,"rgb",m,!1)),s(e.bgColor,"ansi",()=>i(u,"ansi16",g,!0)),s(e.bgColor,"ansi256",()=>i(B,"ansi256",g,!0)),s(e.bgColor,"ansi16m",()=>i(f,"rgb",m,!0)),e}Object.defineProperty(p,"exports",{enumerable:!0,get:C})})(a),a.exports)}export{j as __require};
@@ -1 +1 @@
1
- import{__exports as e}from"../../../../../_virtual/index5.js";import{__require as E}from"./lib/client.js";import{__require as U}from"./lib/dispatcher.js";import{__require as I}from"./lib/core/errors.js";import{__require as S}from"./lib/pool.js";import{__require as T}from"./lib/balanced-pool.js";import{__require as O}from"./lib/agent.js";import{__require as v}from"./lib/core/util.js";import{__require as x}from"./lib/api/index.js";import{__require as L}from"./lib/core/connect.js";import{__require as W}from"./lib/mock/mock-client.js";import{__require as $}from"./lib/mock/mock-agent.js";import{__require as B}from"./lib/mock/mock-pool.js";import{__require as z}from"./lib/mock/mock-errors.js";import{__require as J}from"./lib/proxy-agent.js";import{__require as K}from"./lib/handler/RetryHandler.js";import{__require as N}from"./lib/global.js";import{__require as Q}from"./lib/handler/DecoratorHandler.js";import{__require as V}from"./lib/handler/RedirectHandler.js";import{__require as X}from"./lib/interceptor/redirectInterceptor.js";import{__require as Y}from"./lib/fetch/index.js";import{__require as Z}from"./lib/fetch/headers.js";import{__require as ee}from"./lib/fetch/response.js";import{__require as re}from"./lib/fetch/request.js";import{__require as oe}from"./lib/fetch/formdata.js";import{__require as ie}from"./lib/fetch/file.js";import{__require as te}from"./lib/fileapi/filereader.js";import{__require as ae}from"./lib/fetch/global.js";import{__require as ne}from"./lib/cache/cachestorage.js";import{__require as se}from"./lib/cache/symbols.js";import{__require as ce}from"./lib/cookies/index.js";import{__require as ue}from"./lib/fetch/dataURL.js";import{__require as me}from"./lib/websocket/websocket.js";var h;function Be(){if(h)return e;h=1;const g=E(),_=U(),f=I(),k=S(),y=T(),b=O(),t=v(),{InvalidArgumentError:u}=f,a=x(),C=L(),R=W(),M=$(),D=B(),A=z(),P=J(),w=K(),{getGlobalDispatcher:d,setGlobalDispatcher:H}=N(),G=Q(),F=V(),j=X();let q;try{q=!0}catch{q=!1}Object.assign(_.prototype,a),e.Dispatcher=_,e.Client=g,e.Pool=k,e.BalancedPool=y,e.Agent=b,e.ProxyAgent=P,e.RetryHandler=w,e.DecoratorHandler=G,e.RedirectHandler=F,e.createRedirectInterceptor=j,e.buildConnector=C,e.errors=f;function s(i){return(o,r,n)=>{if(typeof r=="function"&&(n=r,r=null),!o||typeof o!="string"&&typeof o!="object"&&!(o instanceof URL))throw new u("invalid url");if(r!=null&&typeof r!="object")throw new u("invalid opts");if(r&&r.path!=null){if(typeof r.path!="string")throw new u("invalid opts.path");let p=r.path;r.path.startsWith("/")||(p=`/${p}`),o=new URL(t.parseOrigin(o).origin+p)}else r||(r=typeof o=="object"?o:{}),o=t.parseURL(o);const{agent:c,dispatcher:m=d()}=r;if(c)throw new u("unsupported opts.agent. Did you mean opts.client?");return i.call(m,{...r,origin:o.origin,path:o.search?`${o.pathname}${o.search}`:o.pathname,method:r.method||(r.body?"PUT":"GET")},n)}}if(e.setGlobalDispatcher=H,e.getGlobalDispatcher=d,t.nodeMajor>16||t.nodeMajor===16&&t.nodeMinor>=8){let i=null;e.fetch=async function(p){i||(i=Y().fetch);try{return await i(...arguments)}catch(l){throw typeof l=="object"&&Error.captureStackTrace(l,this),l}},e.Headers=Z().Headers,e.Response=ee().Response,e.Request=re().Request,e.FormData=oe().FormData,e.File=ie().File,e.FileReader=te().FileReader;const{setGlobalOrigin:o,getGlobalOrigin:r}=ae();e.setGlobalOrigin=o,e.getGlobalOrigin=r;const{CacheStorage:n}=ne(),{kConstruct:c}=se();e.caches=new n(c)}if(t.nodeMajor>=16){const{deleteCookie:i,getCookies:o,getSetCookies:r,setCookie:n}=ce();e.deleteCookie=i,e.getCookies=o,e.getSetCookies=r,e.setCookie=n;const{parseMIMEType:c,serializeAMimeType:m}=ue();e.parseMIMEType=c,e.serializeAMimeType=m}if(t.nodeMajor>=18&&q){const{WebSocket:i}=me();e.WebSocket=i}return e.request=s(a.request),e.stream=s(a.stream),e.pipeline=s(a.pipeline),e.connect=s(a.connect),e.upgrade=s(a.upgrade),e.MockClient=R,e.MockPool=D,e.MockAgent=M,e.mockErrors=A,e}export{Be as __require};
1
+ import{__exports as e}from"../../../../../_virtual/index6.js";import{__require as E}from"./lib/client.js";import{__require as U}from"./lib/dispatcher.js";import{__require as I}from"./lib/core/errors.js";import{__require as S}from"./lib/pool.js";import{__require as T}from"./lib/balanced-pool.js";import{__require as O}from"./lib/agent.js";import{__require as v}from"./lib/core/util.js";import{__require as x}from"./lib/api/index.js";import{__require as L}from"./lib/core/connect.js";import{__require as W}from"./lib/mock/mock-client.js";import{__require as $}from"./lib/mock/mock-agent.js";import{__require as B}from"./lib/mock/mock-pool.js";import{__require as z}from"./lib/mock/mock-errors.js";import{__require as J}from"./lib/proxy-agent.js";import{__require as K}from"./lib/handler/RetryHandler.js";import{__require as N}from"./lib/global.js";import{__require as Q}from"./lib/handler/DecoratorHandler.js";import{__require as V}from"./lib/handler/RedirectHandler.js";import{__require as X}from"./lib/interceptor/redirectInterceptor.js";import{__require as Y}from"./lib/fetch/index.js";import{__require as Z}from"./lib/fetch/headers.js";import{__require as ee}from"./lib/fetch/response.js";import{__require as re}from"./lib/fetch/request.js";import{__require as oe}from"./lib/fetch/formdata.js";import{__require as ie}from"./lib/fetch/file.js";import{__require as te}from"./lib/fileapi/filereader.js";import{__require as ae}from"./lib/fetch/global.js";import{__require as ne}from"./lib/cache/cachestorage.js";import{__require as se}from"./lib/cache/symbols.js";import{__require as ce}from"./lib/cookies/index.js";import{__require as ue}from"./lib/fetch/dataURL.js";import{__require as me}from"./lib/websocket/websocket.js";var h;function Be(){if(h)return e;h=1;const g=E(),_=U(),f=I(),k=S(),y=T(),b=O(),t=v(),{InvalidArgumentError:u}=f,a=x(),C=L(),R=W(),M=$(),D=B(),A=z(),P=J(),w=K(),{getGlobalDispatcher:d,setGlobalDispatcher:H}=N(),G=Q(),F=V(),j=X();let q;try{q=!0}catch{q=!1}Object.assign(_.prototype,a),e.Dispatcher=_,e.Client=g,e.Pool=k,e.BalancedPool=y,e.Agent=b,e.ProxyAgent=P,e.RetryHandler=w,e.DecoratorHandler=G,e.RedirectHandler=F,e.createRedirectInterceptor=j,e.buildConnector=C,e.errors=f;function s(i){return(o,r,n)=>{if(typeof r=="function"&&(n=r,r=null),!o||typeof o!="string"&&typeof o!="object"&&!(o instanceof URL))throw new u("invalid url");if(r!=null&&typeof r!="object")throw new u("invalid opts");if(r&&r.path!=null){if(typeof r.path!="string")throw new u("invalid opts.path");let p=r.path;r.path.startsWith("/")||(p=`/${p}`),o=new URL(t.parseOrigin(o).origin+p)}else r||(r=typeof o=="object"?o:{}),o=t.parseURL(o);const{agent:c,dispatcher:m=d()}=r;if(c)throw new u("unsupported opts.agent. Did you mean opts.client?");return i.call(m,{...r,origin:o.origin,path:o.search?`${o.pathname}${o.search}`:o.pathname,method:r.method||(r.body?"PUT":"GET")},n)}}if(e.setGlobalDispatcher=H,e.getGlobalDispatcher=d,t.nodeMajor>16||t.nodeMajor===16&&t.nodeMinor>=8){let i=null;e.fetch=async function(p){i||(i=Y().fetch);try{return await i(...arguments)}catch(l){throw typeof l=="object"&&Error.captureStackTrace(l,this),l}},e.Headers=Z().Headers,e.Response=ee().Response,e.Request=re().Request,e.FormData=oe().FormData,e.File=ie().File,e.FileReader=te().FileReader;const{setGlobalOrigin:o,getGlobalOrigin:r}=ae();e.setGlobalOrigin=o,e.getGlobalOrigin=r;const{CacheStorage:n}=ne(),{kConstruct:c}=se();e.caches=new n(c)}if(t.nodeMajor>=16){const{deleteCookie:i,getCookies:o,getSetCookies:r,setCookie:n}=ce();e.deleteCookie=i,e.getCookies=o,e.getSetCookies=r,e.setCookie=n;const{parseMIMEType:c,serializeAMimeType:m}=ue();e.parseMIMEType=c,e.serializeAMimeType=m}if(t.nodeMajor>=18&&q){const{WebSocket:i}=me();e.WebSocket=i}return e.request=s(a.request),e.stream=s(a.stream),e.pipeline=s(a.pipeline),e.connect=s(a.connect),e.upgrade=s(a.upgrade),e.MockClient=R,e.MockPool=D,e.MockAgent=M,e.mockErrors=A,e}export{Be as __require};
@@ -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};
@@ -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;
@@ -1,15 +1,17 @@
1
- import { NgcListItem } from '../../../list/gator/list-item/list-item.gator.ts';
2
1
  import { NJC_GUIDED_NAV_STEP_STATE, NjcGuidedNavSubstep } from '../../guided-nav.ts';
3
- export declare class NgcGuidedNavSubstep extends NgcListItem {
2
+ import { NgcComponent } from '../../../../utils/components/ngc-component.ts';
3
+ export declare class NgcGuidedNavSubstep extends NgcComponent {
4
4
  static styles: import('lit').CSSResult[];
5
5
  substep: NjcGuidedNavSubstep;
6
6
  selected: boolean;
7
7
  state: NJC_GUIDED_NAV_STEP_STATE;
8
+ isHidden: boolean;
8
9
  badgeContent: string | undefined;
9
- onSubstepSelected: (event: Event, step: NjcGuidedNavSubstep) => void;
10
+ onSubstepSelected: (event: Event, substep: NjcGuidedNavSubstep, parentStepId: string) => void;
10
11
  render(): import('lit').TemplateResult<1>;
11
12
  private get _substepClasses();
12
13
  private get _substepListItemClasses();
14
+ private get _substepParentStepId();
13
15
  }
14
16
  declare global {
15
17
  interface HTMLElementTagNameMap {
@@ -53,13 +53,14 @@ export declare class NgcList extends NgcComponent {
53
53
  fauxFocus: boolean;
54
54
  hideCheckmarks: boolean;
55
55
  ariaLabel: string | null;
56
+ role: 'list' | 'listbox' | 'group' | null;
56
57
  _selectedListItem: string | null;
57
58
  _activeIndex: number;
58
59
  _totalListItems: number;
59
60
  private _listItemsWithEventListeners;
60
61
  updated(changedProperties: Map<string, unknown>): void;
61
62
  render(): import('lit').TemplateResult<1>;
62
- get listRole(): string;
63
+ get listRole(): 'listbox' | 'list' | 'group';
63
64
  handleSlotChanged(): void;
64
65
  updateSlottedItems(): void;
65
66
  setFalseFocusToValue(value: string | number | File | File[] | Date): NgcListItem | undefined;
@@ -76,6 +76,8 @@ export declare class NgcListItem extends NgcComponent {
76
76
  * @property {string} tabIndex The tab index of the list item
77
77
  */
78
78
  tabindex: number | undefined;
79
+ ariaExpanded: string | null;
80
+ ariaCurrent: string | null;
79
81
  falseFocusing: boolean;
80
82
  listItemRef: Ref<HTMLLIElement>;
81
83
  connectedCallback(): void;
@@ -96,13 +98,15 @@ export declare class NgcListItem extends NgcComponent {
96
98
  get leftIconContent(): import('lit').TemplateResult<1> | null;
97
99
  get endMarkup(): import('lit').TemplateResult<1> | null;
98
100
  click(): void;
99
- handleListItemClicked(): void;
101
+ handleListItemClicked(e?: Event, interactionType?: 'click' | 'keyboard'): void;
100
102
  private handleItemKeyUp;
101
103
  selectItem(): void;
102
104
  falseFocus(): void;
103
105
  removeFalseFocus(): void;
104
106
  setAriaSelected(): void;
107
+ setAriaExpanded(): void;
105
108
  setRole(): void;
109
+ setAriaCurrent(): void;
106
110
  }
107
111
  declare global {
108
112
  interface HTMLElementTagNameMap {
@@ -1,14 +1,5 @@
1
1
  import { LitElement } from 'lit';
2
2
  type Constructor<T = {}> = new (...args: any[]) => T;
3
- /**
4
- * A mixin that extends a LitElement-based class to handle the deletion and restoration
5
- * of specific attributes (e.g., ARIA attributes) from the host element. This is useful
6
- * for managing accessibility-related attributes dynamically based on the component's state.
7
- *
8
- * @template T - The base class to extend, typically a LitElement.
9
- * @param superClass - The base class to extend.
10
- * @returns A class that extends the base class with attribute deletion functionality.
11
- */
12
3
  export declare const AttributeDeletionMixin: <T extends Constructor<LitElement>>(superClass: T) => T;
13
4
  /**
14
5
  * Determines whether a given attribute should be removed from the host element.
@@ -1 +1 @@
1
- const b=s=>{class i extends s{constructor(){super(...arguments),this.attributesRemovedFromHost=new Map}attributeChangedCallback(t,e,r){if(!this.shouldApplyAttributeDeletion||!a(t)){super.attributeChangedCallback(t,e,r);return}this.removeAttributesFromHost(t,e,r)}get shouldApplyAttributeDeletion(){return this.delegatesARIA??!1}updated(t){super.updated(t),t.has("delegatesARIA")&&(this.delegatesARIA||this.restoreAttributesToHost())}removeAttributesFromHost(t,e,r){this.attributesRemovedFromHost.has(t)||this.attributesRemovedFromHost.set(t,e),this.removeAttribute(t);const o=u(t);r===null?delete this.dataset[o]:this.dataset[o]=r,this.requestUpdate(o,e)}restoreAttributesToHost(){this.attributesRemovedFromHost.forEach((t,e)=>{t!==null&&this.setAttribute(e,t)}),this.attributesRemovedFromHost.clear()}}return i};function a(s){return["aria-label","aria-labelledby","title","id","role","aria-haspopup"].includes(s)}function u(s){return s.replace(/-\w/g,i=>i[1].toUpperCase())}export{b as AttributeDeletionMixin,a as isAttributeToRemove};
1
+ const a=["aria-label","aria-labelledby","title","id","role","aria-haspopup","aria-expanded","aria-current"],d=r=>{class i extends r{constructor(){super(...arguments),this.attributesRemovedFromHost=new Map}attributeChangedCallback(t,e,s){if(!this.shouldApplyAttributeDeletion||!u(t)){super.attributeChangedCallback(t,e,s);return}this.removeAttributesFromHost(t,e,s)}get shouldApplyAttributeDeletion(){return this.delegatesARIA??!1}updated(t){super.updated(t),t.has("delegatesARIA")&&(this.delegatesARIA||this.restoreAttributesToHost())}removeAttributesFromHost(t,e,s){this.attributesRemovedFromHost.has(t)||this.attributesRemovedFromHost.set(t,e),this.removeAttribute(t);const o=l(t);s===null?delete this.dataset[o]:this.dataset[o]=s,this.requestUpdate(o,e)}restoreAttributesToHost(){this.attributesRemovedFromHost.forEach((t,e)=>{t!==null&&this.setAttribute(e,t)}),this.attributesRemovedFromHost.clear()}}return i};function u(r){return a.includes(r)}function l(r){return r.replace(/-\w/g,i=>i[1].toUpperCase())}export{d as AttributeDeletionMixin,u as isAttributeToRemove};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ncino/web-components",
3
3
  "author": "nCino",
4
- "version": "8.0.0-preview.24",
4
+ "version": "8.0.0-preview.25",
5
5
  "license": "(c) Copyright 2023 nCino, Inc., all rights reserved",
6
6
  "publishConfig": {
7
7
  "registry": "https://registry.npmjs.org/"
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "name": "@ncino/web-components",
4
- "version": "8.0.0-preview.23",
4
+ "version": "8.0.0-preview.24",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -2031,6 +2031,14 @@
2031
2031
  "value": { "type": "string | null", "default": "null" }
2032
2032
  },
2033
2033
  { "name": "tabindex", "value": { "type": "number | undefined" } },
2034
+ {
2035
+ "name": "aria-expanded",
2036
+ "value": { "type": "string | null", "default": "null" }
2037
+ },
2038
+ {
2039
+ "name": "aria-current",
2040
+ "value": { "type": "string | null", "default": "null" }
2041
+ },
2034
2042
  {
2035
2043
  "name": "delegatesARIA",
2036
2044
  "description": "A boolean property that determines whether ARIA-related attributes\n(e.g., `aria-label`, `aria-labelledby`, `role`, etc.) are managed\nby the host element or delegated to the component.\n\n- When `true` (default), ARIA attributes are removed from the host\n and managed internally by the component.\n- When `false`, previously removed ARIA attributes are restored\n to the host element.",
@@ -2064,6 +2072,8 @@
2064
2072
  { "name": "hideCheckmark", "type": "boolean" },
2065
2073
  { "name": "role", "type": "string | null" },
2066
2074
  { "name": "tabindex", "type": "number | undefined" },
2075
+ { "name": "ariaExpanded", "type": "string | null" },
2076
+ { "name": "ariaCurrent", "type": "string | null" },
2067
2077
  { "name": "falseFocusing", "type": "boolean" },
2068
2078
  { "name": "listItemRef", "type": "Ref<HTMLLIElement>" },
2069
2079
  { "name": "classes" },
@@ -2951,6 +2961,13 @@
2951
2961
  "name": "aria-label",
2952
2962
  "value": { "type": "string | null", "default": "null" }
2953
2963
  },
2964
+ {
2965
+ "name": "role",
2966
+ "value": {
2967
+ "type": "'list' | 'listbox' | 'group' | null",
2968
+ "default": "null"
2969
+ }
2970
+ },
2954
2971
  {
2955
2972
  "name": "delegatesARIA",
2956
2973
  "description": "A boolean property that determines whether ARIA-related attributes\n(e.g., `aria-label`, `aria-labelledby`, `role`, etc.) are managed\nby the host element or delegated to the component.\n\n- When `true` (default), ARIA attributes are removed from the host\n and managed internally by the component.\n- When `false`, previously removed ARIA attributes are restored\n to the host element.",
@@ -2989,10 +3006,11 @@
2989
3006
  { "name": "fauxFocus", "type": "boolean" },
2990
3007
  { "name": "hideCheckmarks", "type": "boolean" },
2991
3008
  { "name": "ariaLabel", "type": "string | null" },
3009
+ { "name": "role", "type": "'list' | 'listbox' | 'group' | null" },
2992
3010
  { "name": "_selectedListItem", "type": "string | null" },
2993
3011
  { "name": "_activeIndex", "type": "number" },
2994
3012
  { "name": "_totalListItems", "type": "number" },
2995
- { "name": "listRole", "type": "string" },
3013
+ { "name": "listRole", "type": "'listbox' | 'list' | 'group'" },
2996
3014
  { "name": "nodes" },
2997
3015
  { "name": "listItems", "type": "NgcListItem[] | undefined" },
2998
3016
  {
@@ -3016,7 +3034,7 @@
3016
3034
  },
3017
3035
  {
3018
3036
  "name": "ngc-guided-nav-step",
3019
- "description": "\n---\n\n\n### **Events:**\n - **selected**\n\n### **Methods:**\n - **removeAttributesFromHost(name: _string_, oldValue: _string_, newValue: _string_)** - Removes an attribute from the host element and stores its original value in the map.\nAlso updates the corresponding `dataset` property for the attribute.\n- **restoreAttributesToHost()** - Restores all previously removed attributes to the host element.\nClears the map of removed attributes after restoration.",
3037
+ "description": "\n---\n\n\n### **Methods:**\n - **removeAttributesFromHost(name: _string_, oldValue: _string_, newValue: _string_)** - Removes an attribute from the host element and stores its original value in the map.\nAlso updates the corresponding `dataset` property for the attribute.\n- **restoreAttributesToHost()** - Restores all previously removed attributes to the host element.\nClears the map of removed attributes after restoration.",
3020
3038
  "doc-url": "",
3021
3039
  "attributes": [
3022
3040
  {
@@ -3049,65 +3067,13 @@
3049
3067
  {
3050
3068
  "name": "onSubstepSelected",
3051
3069
  "value": {
3052
- "type": "(event: Event, step: NjcGuidedNavSubstep) => void"
3070
+ "type": "(event: Event, substep: NjcGuidedNavSubstep, parentStepId: string) => void"
3053
3071
  }
3054
3072
  },
3055
3073
  {
3056
3074
  "name": "badgeContent",
3057
3075
  "value": { "type": "string | null", "default": "null" }
3058
3076
  },
3059
- { "name": "id", "value": { "type": "string", "default": "''" } },
3060
- { "name": "text", "value": { "type": "string", "default": "''" } },
3061
- { "name": "value", "value": { "type": "string", "default": "''" } },
3062
- {
3063
- "name": "subtitle",
3064
- "value": { "type": "string | null", "default": "null" }
3065
- },
3066
- {
3067
- "name": "density",
3068
- "value": { "type": "string", "default": "'default'" }
3069
- },
3070
- {
3071
- "name": "selectable",
3072
- "value": { "type": "boolean", "default": "false" }
3073
- },
3074
- {
3075
- "name": "selected",
3076
- "value": { "type": "boolean", "default": "false" }
3077
- },
3078
- {
3079
- "name": "multiselect",
3080
- "value": { "type": "boolean", "default": "false" }
3081
- },
3082
- {
3083
- "name": "end-icon",
3084
- "value": { "type": "string | null", "default": "null" }
3085
- },
3086
- {
3087
- "name": "start-icon",
3088
- "value": { "type": "string | null", "default": "null" }
3089
- },
3090
- {
3091
- "name": "current-list-item",
3092
- "value": { "type": "boolean", "default": "false" }
3093
- },
3094
- {
3095
- "name": "faux-focus",
3096
- "value": { "type": "boolean", "default": "false" }
3097
- },
3098
- {
3099
- "name": "icon-only",
3100
- "value": { "type": "boolean", "default": "false" }
3101
- },
3102
- {
3103
- "name": "hide-checkmark",
3104
- "value": { "type": "boolean", "default": "false" }
3105
- },
3106
- {
3107
- "name": "role",
3108
- "value": { "type": "string | null", "default": "null" }
3109
- },
3110
- { "name": "tabindex", "value": { "type": "number | undefined" } },
3111
3077
  {
3112
3078
  "name": "delegatesARIA",
3113
3079
  "description": "A boolean property that determines whether ARIA-related attributes\n(e.g., `aria-label`, `aria-labelledby`, `role`, etc.) are managed\nby the host element or delegated to the component.\n\n- When `true` (default), ARIA attributes are removed from the host\n and managed internally by the component.\n- When `false`, previously removed ARIA attributes are restored\n to the host element.",
@@ -3122,7 +3088,7 @@
3122
3088
  "value": { "type": "string | undefined", "default": "undefined" }
3123
3089
  }
3124
3090
  ],
3125
- "events": [{ "name": "selected", "type": "CustomEvent" }],
3091
+ "events": [],
3126
3092
  "js": {
3127
3093
  "properties": [
3128
3094
  { "name": "step", "type": "NjcGuidedNavStep" },
@@ -3137,33 +3103,10 @@
3137
3103
  },
3138
3104
  {
3139
3105
  "name": "onSubstepSelected",
3140
- "type": "(event: Event, step: NjcGuidedNavSubstep) => void"
3106
+ "type": "(event: Event, substep: NjcGuidedNavSubstep, parentStepId: string) => void"
3141
3107
  },
3142
3108
  { "name": "badgeContent", "type": "string | null" },
3143
- { "name": "id", "type": "string" },
3144
- { "name": "text", "type": "string" },
3145
- { "name": "value", "type": "string" },
3146
- { "name": "subtitle", "type": "string | null" },
3147
- { "name": "density", "type": "string" },
3148
- { "name": "selectable", "type": "boolean" },
3149
- { "name": "selected", "type": "boolean" },
3150
- { "name": "multiselect", "type": "boolean" },
3151
- { "name": "endIcon", "type": "string | null" },
3152
- { "name": "startIcon", "type": "string | null" },
3153
- { "name": "currentListItem", "type": "boolean" },
3154
- { "name": "fauxFocus", "type": "boolean" },
3155
- { "name": "iconOnly", "type": "boolean" },
3156
- { "name": "hideCheckmark", "type": "boolean" },
3157
- { "name": "role", "type": "string | null" },
3158
- { "name": "tabindex", "type": "number | undefined" },
3159
- { "name": "falseFocusing", "type": "boolean" },
3160
- { "name": "listItemRef", "type": "Ref<HTMLLIElement>" },
3161
- { "name": "classes" },
3162
- { "name": "replacedStringId" },
3163
- { "name": "subtitleSpacerElement" },
3164
- { "name": "interactionIconContent" },
3165
- { "name": "leftIconContent" },
3166
- { "name": "endMarkup" },
3109
+ { "name": "_substepsExpanded", "type": "boolean" },
3167
3110
  {
3168
3111
  "name": "shouldApplyAttributeDeletion",
3169
3112
  "description": "Determines whether attribute deletion should be applied.\nThis is controlled by the `delegatesARIA` property.",
@@ -3180,12 +3123,12 @@
3180
3123
  { "name": "helpTextDataTestid" },
3181
3124
  { "name": "errorMessageDataTestid" }
3182
3125
  ],
3183
- "events": [{ "name": "selected", "type": "CustomEvent" }]
3126
+ "events": []
3184
3127
  }
3185
3128
  },
3186
3129
  {
3187
3130
  "name": "ngc-guided-nav-substep",
3188
- "description": "\n---\n\n\n### **Events:**\n - **selected**\n\n### **Methods:**\n - **removeAttributesFromHost(name: _string_, oldValue: _string_, newValue: _string_)** - Removes an attribute from the host element and stores its original value in the map.\nAlso updates the corresponding `dataset` property for the attribute.\n- **restoreAttributesToHost()** - Restores all previously removed attributes to the host element.\nClears the map of removed attributes after restoration.",
3131
+ "description": "\n---\n\n\n### **Methods:**\n - **removeAttributesFromHost(name: _string_, oldValue: _string_, newValue: _string_)** - Removes an attribute from the host element and stores its original value in the map.\nAlso updates the corresponding `dataset` property for the attribute.\n- **restoreAttributesToHost()** - Restores all previously removed attributes to the host element.\nClears the map of removed attributes after restoration.",
3189
3132
  "doc-url": "",
3190
3133
  "attributes": [
3191
3134
  {
@@ -3206,6 +3149,10 @@
3206
3149
  "default": "'complete'"
3207
3150
  }
3208
3151
  },
3152
+ {
3153
+ "name": "isHidden",
3154
+ "value": { "type": "boolean", "default": "false" }
3155
+ },
3209
3156
  {
3210
3157
  "name": "badgeContent",
3211
3158
  "value": { "type": "string | undefined" }
@@ -3213,57 +3160,9 @@
3213
3160
  {
3214
3161
  "name": "onSubstepSelected",
3215
3162
  "value": {
3216
- "type": "(event: Event, step: NjcGuidedNavSubstep) => void"
3163
+ "type": "(event: Event, substep: NjcGuidedNavSubstep, parentStepId: string) => void"
3217
3164
  }
3218
3165
  },
3219
- { "name": "id", "value": { "type": "string", "default": "''" } },
3220
- { "name": "text", "value": { "type": "string", "default": "''" } },
3221
- { "name": "value", "value": { "type": "string", "default": "''" } },
3222
- {
3223
- "name": "subtitle",
3224
- "value": { "type": "string | null", "default": "null" }
3225
- },
3226
- {
3227
- "name": "density",
3228
- "value": { "type": "string", "default": "'default'" }
3229
- },
3230
- {
3231
- "name": "selectable",
3232
- "value": { "type": "boolean", "default": "false" }
3233
- },
3234
- {
3235
- "name": "multiselect",
3236
- "value": { "type": "boolean", "default": "false" }
3237
- },
3238
- {
3239
- "name": "end-icon",
3240
- "value": { "type": "string | null", "default": "null" }
3241
- },
3242
- {
3243
- "name": "start-icon",
3244
- "value": { "type": "string | null", "default": "null" }
3245
- },
3246
- {
3247
- "name": "current-list-item",
3248
- "value": { "type": "boolean", "default": "false" }
3249
- },
3250
- {
3251
- "name": "faux-focus",
3252
- "value": { "type": "boolean", "default": "false" }
3253
- },
3254
- {
3255
- "name": "icon-only",
3256
- "value": { "type": "boolean", "default": "false" }
3257
- },
3258
- {
3259
- "name": "hide-checkmark",
3260
- "value": { "type": "boolean", "default": "false" }
3261
- },
3262
- {
3263
- "name": "role",
3264
- "value": { "type": "string | null", "default": "null" }
3265
- },
3266
- { "name": "tabindex", "value": { "type": "number | undefined" } },
3267
3166
  {
3268
3167
  "name": "delegatesARIA",
3269
3168
  "description": "A boolean property that determines whether ARIA-related attributes\n(e.g., `aria-label`, `aria-labelledby`, `role`, etc.) are managed\nby the host element or delegated to the component.\n\n- When `true` (default), ARIA attributes are removed from the host\n and managed internally by the component.\n- When `false`, previously removed ARIA attributes are restored\n to the host element.",
@@ -3278,7 +3177,7 @@
3278
3177
  "value": { "type": "string | undefined", "default": "undefined" }
3279
3178
  }
3280
3179
  ],
3281
- "events": [{ "name": "selected", "type": "CustomEvent" }],
3180
+ "events": [],
3282
3181
  "js": {
3283
3182
  "properties": [
3284
3183
  { "name": "substep", "type": "NjcGuidedNavSubstep" },
@@ -3287,34 +3186,12 @@
3287
3186
  "name": "state",
3288
3187
  "type": "'complete' | 'current' | 'incomplete'"
3289
3188
  },
3189
+ { "name": "isHidden", "type": "boolean" },
3290
3190
  { "name": "badgeContent", "type": "string | undefined" },
3291
3191
  {
3292
3192
  "name": "onSubstepSelected",
3293
- "type": "(event: Event, step: NjcGuidedNavSubstep) => void"
3193
+ "type": "(event: Event, substep: NjcGuidedNavSubstep, parentStepId: string) => void"
3294
3194
  },
3295
- { "name": "id", "type": "string" },
3296
- { "name": "text", "type": "string" },
3297
- { "name": "value", "type": "string" },
3298
- { "name": "subtitle", "type": "string | null" },
3299
- { "name": "density", "type": "string" },
3300
- { "name": "selectable", "type": "boolean" },
3301
- { "name": "multiselect", "type": "boolean" },
3302
- { "name": "endIcon", "type": "string | null" },
3303
- { "name": "startIcon", "type": "string | null" },
3304
- { "name": "currentListItem", "type": "boolean" },
3305
- { "name": "fauxFocus", "type": "boolean" },
3306
- { "name": "iconOnly", "type": "boolean" },
3307
- { "name": "hideCheckmark", "type": "boolean" },
3308
- { "name": "role", "type": "string | null" },
3309
- { "name": "tabindex", "type": "number | undefined" },
3310
- { "name": "falseFocusing", "type": "boolean" },
3311
- { "name": "listItemRef", "type": "Ref<HTMLLIElement>" },
3312
- { "name": "classes" },
3313
- { "name": "replacedStringId" },
3314
- { "name": "subtitleSpacerElement" },
3315
- { "name": "interactionIconContent" },
3316
- { "name": "leftIconContent" },
3317
- { "name": "endMarkup" },
3318
3195
  {
3319
3196
  "name": "shouldApplyAttributeDeletion",
3320
3197
  "description": "Determines whether attribute deletion should be applied.\nThis is controlled by the `delegatesARIA` property.",
@@ -3331,7 +3208,7 @@
3331
3208
  { "name": "helpTextDataTestid" },
3332
3209
  { "name": "errorMessageDataTestid" }
3333
3210
  ],
3334
- "events": [{ "name": "selected", "type": "CustomEvent" }]
3211
+ "events": []
3335
3212
  }
3336
3213
  },
3337
3214
  {