@ncino/web-components 7.0.0-preview.1 → 7.0.0-preview.3

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,6 +1,6 @@
1
- import"../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/reactive-element.js";import{html as l}from"../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/lit-html.js";import"../../node_modules/.pnpm/lit-element@4.2.0/node_modules/lit-element/lit-element.js";import{customElement as h}from"../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/custom-element.js";import{property as d}from"../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/property.js";import{generateRandomId as p,getElementId as m}from"../../utils/string-utils.js";import u from"../../packages/web-components/src/components/checkbox-group/checkbox-group.gator.scss.js";import"../checkbox/checkbox.gator.js";import"../input/gator/input-label/input-label.gator.js";import"../input/gator/help-text/help-text.gator.js";import{handleDataTestid as b}from"../../utils/datatestid-utils.js";import{ifDefined as g}from"../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/directives/if-defined.js";import{NgcInputText as f}from"../input/gator/input-text/input-text.gator.js";import{unsafeCSS as x}from"../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/css-tag.js";var v=Object.defineProperty,$=Object.getOwnPropertyDescriptor,y=Object.getPrototypeOf,_=Reflect.get,c=(e,t,s,r)=>{for(var o=r>1?void 0:r?$(t,s):t,n=e.length-1,a;n>=0;n--)(a=e[n])&&(o=(r?a(t,s,o):a(o))||o);return r&&o&&v(t,s,o),o},k=(e,t,s)=>_(y(e),s,t);let i=class extends f{constructor(){super(...arguments),this.options=[],this._randomId=p()}render(){const e=this.elementId;return l`
2
- <div class="gator-checkbox-group-container">
3
- ${this.label?l`<ngc-input-label id="${e}-label" data-testid=${g(this.labelDataTestid)}>${this.label}</ngc-input-label>`:null}
1
+ import"../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/reactive-element.js";import{html as l}from"../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/lit-html.js";import"../../node_modules/.pnpm/lit-element@4.2.0/node_modules/lit-element/lit-element.js";import{customElement as h}from"../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/custom-element.js";import{property as d}from"../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/property.js";import{generateRandomId as p,getElementId as u}from"../../utils/string-utils.js";import m from"../../packages/web-components/src/components/checkbox-group/checkbox-group.gator.scss.js";import"../checkbox/checkbox.gator.js";import"../input/gator/input-label/input-label.gator.js";import"../input/gator/help-text/help-text.gator.js";import{handleDataTestid as g}from"../../utils/datatestid-utils.js";import{ifDefined as b}from"../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/directives/if-defined.js";import{NgcInputText as f}from"../input/gator/input-text/input-text.gator.js";import{createRef as x,ref as v}from"../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/directives/ref.js";import{unsafeCSS as y}from"../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/css-tag.js";var $=Object.defineProperty,E=Object.getOwnPropertyDescriptor,_=Object.getPrototypeOf,k=Reflect.get,c=(e,t,o,r)=>{for(var s=r>1?void 0:r?E(t,o):t,a=e.length-1,n;a>=0;a--)(n=e[a])&&(s=(r?n(t,o,s):n(s))||s);return r&&s&&$(t,o,s),s},R=(e,t,o)=>k(_(e),o,t);let i=class extends f{constructor(){super(...arguments),this.options=[],this._randomId=p(),this.groupRef=x()}render(){const e=this.elementId;return l`
2
+ <div class="gator-checkbox-group-container" ${v(this.groupRef)} role="group">
3
+ ${this.label?l`<ngc-input-label id="${e}-label" data-testid=${b(this.labelDataTestid)}>${this.label}</ngc-input-label>`:null}
4
4
  <div id="${e}-group"
5
5
  role="group"
6
6
  class="gator-checkbox-group"
@@ -11,7 +11,7 @@ import"../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/re
11
11
  </div>
12
12
  ${this.bottomText}
13
13
  </div>
14
- `}get elementId(){return m(this.id,this._randomId)}get describedBy(){const e=[];return this.errorText&&e.push(`${this.elementId}-error`),this.helpText&&e.push(`${this.elementId}-help`),e.join(" ")}get checkboxesFromOptions(){return l`
14
+ `}get elementId(){return u(this.id,this._randomId)}get describedBy(){const e=[];return this.errorText&&e.push(`${this.elementId}-error`),this.helpText&&e.push(`${this.elementId}-help`),e.join(" ")}get checkboxesFromOptions(){return l`
15
15
  ${this.options.map(e=>l`
16
16
  <ngc-checkbox
17
17
  value="${e.value}"
@@ -20,4 +20,4 @@ import"../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/re
20
20
  >
21
21
  </ngc-checkbox>
22
22
  `)}
23
- `}handleCheckboxSelectionChange(e){const t=e;e.stopImmediatePropagation();const s=new Set(this.value?.split(";"));t.detail.selected?s.add(t.detail.value):s.delete(t.detail.value),this.value=Array.from(s).join(";"),this.dispatchEvent(new CustomEvent("change",{bubbles:!0,composed:!0,detail:this.value}))}get checkboxElements(){if(this.options.length>0)return this.shadowRoot?.querySelectorAll("ngc-checkbox");const e=this.shadowRoot?.querySelector("slot")?.assignedElements();return e&&e.length===1&&e[0]instanceof HTMLSlotElement?e[0].assignedElements():e}updated(){const e=new Set(this.value?.split(";")),t=this.checkboxElements;t&&t.length>0&&t.forEach((s,r)=>{const o=s;o.selected=e.has(o.value),o.disabled=this.disabled,o.errorText=this.errorText,o.grouped=!0,b(o,this.dataTestid,`checkbox-${r}`)})}};i.styles=[...k(i,i,"styles"),x(u)];c([d({type:Array})],i.prototype,"options",2);i=c([h("ngc-checkbox-group")],i);export{i as NgcCheckboxGroup};
23
+ `}handleCheckboxSelectionChange(e){const t=e;e.stopImmediatePropagation();const o=new Set(this.value?.split(";"));t.detail.selected?o.add(t.detail.value):o.delete(t.detail.value),this.value=Array.from(o).join(";"),this.dispatchEvent(new CustomEvent("change",{bubbles:!0,composed:!0,detail:this.value}))}get checkboxElements(){if(this.options.length>0)return this.shadowRoot?.querySelectorAll("ngc-checkbox");const e=this.shadowRoot?.querySelector("slot")?.assignedElements();return e&&e.length===1&&e[0]instanceof HTMLSlotElement?e[0].assignedElements():e}updated(){const e=new Set(this.value?.split(";")),t=this.checkboxElements;t&&t.length>0&&t.forEach((o,r)=>{const s=o;s.selected=e.has(s.value),s.disabled=this.disabled,s.errorText=this.errorText,s.grouped=!0,g(s,this.dataTestid,`checkbox-${r}`)}),requestAnimationFrame(()=>{const o=this.shadowRoot?.querySelector("ngc-input-label"),r=this.shadowRoot?.querySelectorAll("ngc-help-text");o&&this.groupRef.value&&(this.groupRef.value.ariaLabelledByElements=[o]),r&&this.groupRef.value&&(this.groupRef.value.ariaDescribedByElements=Array.from(r))})}};i.styles=[...R(i,i,"styles"),y(m)];c([d({type:Array})],i.prototype,"options",2);i=c([h("ngc-checkbox-group")],i);export{i as NgcCheckboxGroup};
@@ -1,4 +1,4 @@
1
- import"../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/reactive-element.js";import{html as i}from"../../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/lit-html.js";import"../../../node_modules/.pnpm/lit-element@4.2.0/node_modules/lit-element/lit-element.js";import"../gator/input-label/input-label.gator.js";import"../gator/help-text/help-text.gator.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/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.js";import"../../icon/gator/templates/check-circle.js";import"../../icon/gator/templates/check.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-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-1.js";import"../../icon/gator/templates/number-2.js";import"../../icon/gator/templates/number-3.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.js";import"../../icon/gator/templates/pause-circle.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.js";import"../../icon/gator/templates/play-circle.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.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.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-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 u from"../../../packages/web-components/src/components/input/input.gator.scss.js";import c from"../../../packages/web-components/src/tokens/semantic.tokens.scss.js";import g from"../../../packages/web-components/src/tokens/primitive.tokens.scss.js";import b from"../../../packages/web-components/src/components/input/input.gator.tokens.scss.js";import{InputBase as I}from"./input-base.js";import{createRef as f}from"../../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/directives/ref.js";import{state as h}from"../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/state.js";import{ifDefined as l}from"../../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/directives/if-defined.js";import{unsafeCSS as o}from"../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/css-tag.js";var x=Object.defineProperty,d=(s,t,n,T)=>{for(var r=void 0,m=s.length-1,a;m>=0;m--)(a=s[m])&&(r=a(t,n,r)||r);return r&&x(t,n,r),r};const e=class e extends I{constructor(){super(...arguments),this.controlRef=f()}get shouldHaveStartMarkup(){return this.startIcon||this._startIconAsText}get shouldHaveEndMarkup(){return this.endIcon||this.type==="password"}get startIconMarkup(){return this.startIcon?i`<ngc-icon
1
+ import"../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/reactive-element.js";import{html as i}from"../../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/lit-html.js";import"../../../node_modules/.pnpm/lit-element@4.2.0/node_modules/lit-element/lit-element.js";import"../gator/input-label/input-label.gator.js";import"../gator/help-text/help-text.gator.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/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.js";import"../../icon/gator/templates/check-circle.js";import"../../icon/gator/templates/check.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-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-1.js";import"../../icon/gator/templates/number-2.js";import"../../icon/gator/templates/number-3.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.js";import"../../icon/gator/templates/pause-circle.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.js";import"../../icon/gator/templates/play-circle.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.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.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-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 u from"../../../packages/web-components/src/components/input/input.gator.scss.js";import c from"../../../packages/web-components/src/tokens/semantic.tokens.scss.js";import g from"../../../packages/web-components/src/tokens/primitive.tokens.scss.js";import b from"../../../packages/web-components/src/components/input/input.gator.tokens.scss.js";import f from"../../../packages/web-components/src/styles/_gator-utils.scss.js";import{InputBase as I}from"./input-base.js";import{createRef as x}from"../../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/directives/ref.js";import{state as h}from"../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/state.js";import{ifDefined as l}from"../../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/directives/if-defined.js";import{unsafeCSS as o}from"../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/css-tag.js";var T=Object.defineProperty,d=(s,t,n,$)=>{for(var r=void 0,m=s.length-1,a;m>=0;m--)(a=s[m])&&(r=a(t,n,r)||r);return r&&T(t,n,r),r};const e=class e extends I{constructor(){super(...arguments),this.controlRef=x()}get shouldHaveStartMarkup(){return this.startIcon||this._startIconAsText}get shouldHaveEndMarkup(){return this.endIcon||this.type==="password"}get startIconMarkup(){return this.startIcon?i`<ngc-icon
2
2
  id="${this.startIconId}"
3
3
  label="${l(this.iconAsLabel?this.label:void 0)}"
4
4
  .name="${this.startIcon}"
@@ -22,4 +22,4 @@ import"../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit
22
22
  data-testid=${l(this.errorMessageDataTestid)}
23
23
  id=${this.errorTextId}>
24
24
  ${this.errorText}
25
- </ngc-help-text>`:null}get errorTextId(){return`${this.id}-error-text`}get ariaDescribedby(){const t=[];return this._ariaDescribedBy&&t.push(this._ariaDescribedBy),this.errorTextMarkup&&t.push(this.errorTextId),this.helpTextMarkup&&t.push(this.helpTextId),t.length?t.join(" "):""}get controlClasses(){return{"gator-form-element-control":!0,"gator-has-error":this.errorTextMarkup!==null,"gator-disabled":this.disabled,"gator-readonly":this.readonly}}handleClick(t){}handleKeydown(t){}handleKeyup(t){}handleInputFocusIn(){this.controlRef.value?.classList.add("gator-input-has-focus")}handleInputFocusOut(){this.controlRef.value?.classList.remove("gator-input-has-focus")}dispatchChangeEvent(t){this.dispatchEvent(new CustomEvent("change",{bubbles:!0,composed:!0,detail:{value:t}}))}dispatchInputEvent(t){this.dispatchEvent(new CustomEvent("input",{bubbles:!0,composed:!0,detail:{value:t}}))}};e.styles=[o(u),o(c),o(g),o(b)];let p=e;d([h()],p.prototype,"_startIconAsText");d([h()],p.prototype,"_ariaDescribedBy");export{p as NgcInputBase};
25
+ </ngc-help-text>`:null}get errorTextId(){return`${this.id}-error-text`}get ariaDescribedby(){const t=[];return this._ariaDescribedBy&&t.push(this._ariaDescribedBy),this.errorTextMarkup&&t.push(this.errorTextId),this.helpTextMarkup&&t.push(this.helpTextId),t.length?t.join(" "):""}get controlClasses(){return{"gator-form-element-control":!0,"gator-has-error":this.errorTextMarkup!==null,"gator-disabled":this.disabled,"gator-readonly":this.readonly}}handleClick(t){}handleKeydown(t){}handleKeyup(t){}handleInputFocusIn(){this.controlRef.value?.classList.add("gator-input-has-focus")}handleInputFocusOut(){this.controlRef.value?.classList.remove("gator-input-has-focus")}dispatchChangeEvent(t){this.dispatchEvent(new CustomEvent("change",{bubbles:!0,composed:!0,detail:{value:t}}))}dispatchInputEvent(t){this.dispatchEvent(new CustomEvent("input",{bubbles:!0,composed:!0,detail:{value:t}}))}};e.styles=[o(u),o(c),o(g),o(b),o(f)];let p=e;d([h()],p.prototype,"_startIconAsText");d([h()],p.prototype,"_ariaDescribedBy");export{p as NgcInputBase};
@@ -1,11 +1,11 @@
1
- import"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/reactive-element.js";import{html as u}from"../../../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/lit-html.js";import{LitElement as d}from"../../../../node_modules/.pnpm/lit-element@4.2.0/node_modules/lit-element/lit-element.js";import"../input-label/input-label.gator.js";import"../help-text/help-text.gator.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/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.js";import"../../../icon/gator/templates/check-circle.js";import"../../../icon/gator/templates/check.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-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-1.js";import"../../../icon/gator/templates/number-2.js";import"../../../icon/gator/templates/number-3.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.js";import"../../../icon/gator/templates/pause-circle.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.js";import"../../../icon/gator/templates/play-circle.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.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.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-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 c from"../../../../packages/web-components/src/components/input/gator/input-textarea/input-textarea.gator.scss.js";import{customElement as f}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/custom-element.js";import{property as l}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/property.js";import{ref as h}from"../../../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/directives/ref.js";import{NgcInputText as g}from"../input-text/input-text.gator.js";import"../../base/input-base.gator.js";import{classMap as v}from"../../../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/directives/class-map.js";import{ifDefined as n}from"../../../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/directives/if-defined.js";import{unsafeCSS as $}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/css-tag.js";var y=Object.defineProperty,w=Object.getOwnPropertyDescriptor,b=Object.getPrototypeOf,x=Reflect.get,e=(t,o,p,m)=>{for(var i=m>1?void 0:m?w(o,p):o,s=t.length-1,a;s>=0;s--)(a=t[s])&&(i=(m?a(o,p,i):a(i))||i);return m&&i&&y(o,p,i),i},_=(t,o,p)=>x(b(t),p,o);let r=class extends g{constructor(){super(...arguments),this.rows=2,this.autoGrow=!1,this.noResize=!1}_autoGrowResize(){const t=this.inputRef.value;if(!t)return;if(!this.autoGrow){Object.assign(t.style,{height:"",minHeight:"",overflowY:""});return}t.style.height="";const o=this.rows||2,p=parseFloat(getComputedStyle(t).lineHeight||"20"),m=o*p;t.style.minHeight=`${m}px`;const i=t.scrollHeight-p;t.style.height=`${Math.max(i,m)}px`,t.style.overflowY="hidden"}handleInputEvent(t){super.handleInputEvent(t),this._autoGrowResize()}updated(t){super.updated(t),(t.has("autoGrow")||t.has("rows")||t.has("value"))&&this._autoGrowResize()}render(){return u`
1
+ import"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/reactive-element.js";import{html as n,nothing as u}from"../../../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/lit-html.js";import{LitElement as c}from"../../../../node_modules/.pnpm/lit-element@4.2.0/node_modules/lit-element/lit-element.js";import"../input-label/input-label.gator.js";import"../help-text/help-text.gator.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/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.js";import"../../../icon/gator/templates/check-circle.js";import"../../../icon/gator/templates/check.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-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-1.js";import"../../../icon/gator/templates/number-2.js";import"../../../icon/gator/templates/number-3.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.js";import"../../../icon/gator/templates/pause-circle.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.js";import"../../../icon/gator/templates/play-circle.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.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.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-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 g from"../../../../packages/web-components/src/components/input/gator/input-textarea/input-textarea.gator.scss.js";import{customElement as v}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/custom-element.js";import{property as l}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/property.js";import{ref as d}from"../../../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/directives/ref.js";import{NgcInputText as f}from"../input-text/input-text.gator.js";import"../../base/input-base.gator.js";import{classMap as $}from"../../../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/directives/class-map.js";import{ifDefined as h}from"../../../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/directives/if-defined.js";import{msg as y}from"../../../../node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/init/install.js";import"../../../../node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/init/runtime.js";import{unsafeCSS as b}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/css-tag.js";var x=Object.defineProperty,w=Object.getOwnPropertyDescriptor,R=Object.getPrototypeOf,_=Reflect.get,e=(t,o,p,m)=>{for(var i=m>1?void 0:m?w(o,p):o,a=t.length-1,s;a>=0;a--)(s=t[a])&&(i=(m?s(o,p,i):s(i))||i);return m&&i&&x(o,p,i),i},I=(t,o,p)=>_(R(t),p,o);let r=class extends f{constructor(){super(...arguments),this.rows=2,this.autoGrow=!1,this.noResize=!1}_autoGrowResize(){const t=this.inputRef.value;if(!t)return;if(!this.autoGrow){Object.assign(t.style,{height:"",minHeight:"",overflowY:""});return}t.style.height="";const o=this.rows||2,p=parseFloat(getComputedStyle(t).lineHeight||"20"),m=o*p;t.style.minHeight=`${m}px`;const i=t.scrollHeight-p;t.style.height=`${Math.max(i,m)}px`,t.style.overflowY="hidden"}handleInputEvent(t){super.handleInputEvent(t),this._autoGrowResize()}updated(t){super.updated(t),(t.has("autoGrow")||t.has("rows")||t.has("value"))&&this._autoGrowResize()}render(){return n`
2
2
  <div class="gator-form-element">
3
3
  ${this.labelMarkup}
4
- <div ${h(this.controlRef)} class=${v(this.controlClasses)}>
4
+ <div ${d(this.controlRef)} class=${$(this.controlClasses)}>
5
5
  <div class="gator-input-container">
6
6
  <textarea
7
- data-testid=${n(this.dataTestid)}-input
8
- ${h(this.inputRef)}
7
+ data-testid=${h(this.dataTestid)}-input
8
+ ${d(this.inputRef)}
9
9
  type="${this.type}"
10
10
  .id="${this.id}"
11
11
  .placeholder="${this.placeholder}"
@@ -16,8 +16,8 @@ import"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@
16
16
  style="${this.noResize?"resize: none;":""}"
17
17
  aria-invalid="${this.isAriaInvalid}"
18
18
  aria-required="${this.required}"
19
- minlength="${n(this.minLength)}"
20
- maxlength="${n(this.maxLength)}"
19
+ minlength="${h(this.minLength)}"
20
+ maxlength="${h(this.maxLength)}"
21
21
  rows="${this.rows}"
22
22
  @invalid="${this.handleNativeInputValidation}"
23
23
  aria-labelledby="${this.ariaLabelledbyValue}"
@@ -33,6 +33,22 @@ import"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@
33
33
  </div>
34
34
  </div>
35
35
  </div>
36
- ${this.bottomText}
36
+ <div class="gator-input-bottom-text">
37
+ <div>
38
+ ${this.bottomText}
39
+ </div>
40
+ ${this.characterCountVisualMarkup}
41
+ <div aria-live="polite" aria-atomic="true" class="gator-visually-hidden">
42
+ ${this.characterCountAriaLiveMarkup}
43
+ </div>
44
+ </div>
37
45
  </div>
38
- `}};r.shadowRootOptions={...d.shadowRootOptions,delegatesFocus:!0};r.styles=[..._(r,r,"styles"),$(c)];e([l({type:Number,attribute:"rows"})],r.prototype,"rows",2);e([l({type:Boolean,attribute:"auto-grow"})],r.prototype,"autoGrow",2);e([l({type:Boolean,attribute:"no-resize"})],r.prototype,"noResize",2);r=e([f("ngc-input-textarea")],r);export{r as NgcInputTextarea};
46
+ `}get characterCountVisualMarkup(){return this.maxLength?n`
47
+ <ngc-help-text class="gator-input-counter">
48
+ ${this.inputRef.value?.value.length||0} / ${this.maxLength}
49
+ </ngc-help-text>
50
+ `:u}get characterCountAriaLiveMarkup(){return this.maxLength?n`
51
+ <div id="${this.id}-counter">
52
+ ${y(`${this.inputRef.value?.value.length||0} of ${this.maxLength} characters`)}
53
+ </div>
54
+ `:u}get ariaDescribedby(){let t=super.ariaDescribedby;return this.maxLength&&(t+=` ${this.id}-counter`),t}};r.shadowRootOptions={...c.shadowRootOptions,delegatesFocus:!0};r.styles=[...I(r,r,"styles"),b(g)];e([l({type:Number,attribute:"rows"})],r.prototype,"rows",2);e([l({type:Boolean,attribute:"auto-grow"})],r.prototype,"autoGrow",2);e([l({type:Boolean,attribute:"no-resize"})],r.prototype,"noResize",2);r=e([v("ngc-input-textarea")],r);export{r as NgcInputTextarea};
@@ -1,4 +1,4 @@
1
- import"../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/reactive-element.js";import{html as h,nothing as u}from"../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/lit-html.js";import"../../node_modules/.pnpm/lit-element@4.2.0/node_modules/lit-element/lit-element.js";import{customElement as c}from"../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/custom-element.js";import{property as d}from"../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/property.js";import{generateRandomId as f,getElementId as m}from"../../utils/string-utils.js";import g from"../../packages/web-components/src/components/radio/radio.gator.tokens.scss.js";import b from"../../packages/web-components/src/components/radio/radio.gator.scss.js";import{createRef as v,ref as x}from"../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/directives/ref.js";import{NgcInputText as y}from"../input/gator/input-text/input-text.gator.js";import{unsafeCSS as p}from"../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/css-tag.js";var k=Object.defineProperty,T=Object.getOwnPropertyDescriptor,$=Object.getPrototypeOf,R=Reflect.get,a=(e,r,s,o)=>{for(var i=o>1?void 0:o?T(r,s):r,l=e.length-1,n;l>=0;l--)(n=e[l])&&(i=(o?n(r,s,i):n(i))||i);return o&&i&&k(r,s,i),i},_=(e,r,s)=>R($(e),s,r);let t=class extends y{constructor(){super(...arguments),this.titleText="",this.selected=!1,this.radioTabindex=-1,this.grouped=!1,this.inputRef=v(),this._randomId=f()}updated(e){super.updated(e),e.has("errorText")&&this.inputRef.value&&this.inputRef.value.setCustomValidity(this.errorText?"true":""),e.has("selected")&&this.inputRef.value&&(this.inputRef.value.checked=this.selected)}connectedCallback(){super.connectedCallback(),this.addEventListener("click",this.click)}render(){return this.skeleton?this.skeletonMarkup:h`
1
+ import"../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/reactive-element.js";import{html as h,nothing as u}from"../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/lit-html.js";import"../../node_modules/.pnpm/lit-element@4.2.0/node_modules/lit-element/lit-element.js";import{customElement as c}from"../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/custom-element.js";import{property as d}from"../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/property.js";import{generateRandomId as f,getElementId as m}from"../../utils/string-utils.js";import b from"../../packages/web-components/src/components/radio/radio.gator.tokens.scss.js";import g from"../../packages/web-components/src/components/radio/radio.gator.scss.js";import{createRef as v,ref as x}from"../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/directives/ref.js";import{NgcInputText as y}from"../input/gator/input-text/input-text.gator.js";import{unsafeCSS as p}from"../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/css-tag.js";var k=Object.defineProperty,T=Object.getOwnPropertyDescriptor,$=Object.getPrototypeOf,R=Reflect.get,a=(e,r,s,o)=>{for(var i=o>1?void 0:o?T(r,s):r,l=e.length-1,n;l>=0;l--)(n=e[l])&&(i=(o?n(r,s,i):n(i))||i);return o&&i&&k(r,s,i),i},_=(e,r,s)=>R($(e),s,r);let t=class extends y{constructor(){super(...arguments),this.titleText="",this.selected=!1,this.radioTabindex=-1,this.grouped=!1,this.inputRef=v(),this._randomId=f()}updated(e){super.updated(e),e.has("errorText")&&this.inputRef.value&&this.inputRef.value.setCustomValidity(this.errorText?"true":""),e.has("selected")&&this.inputRef.value&&(this.inputRef.value.checked=this.selected)}connectedCallback(){super.connectedCallback(),this.addEventListener("click",this.click)}render(){return this.skeleton?this.skeletonMarkup:h`
2
2
  <div class="gator-form-element">
3
3
  <div id="${this.elementId}-radio" class="gator-radio">
4
4
  <div class="gator-radio-input-wrapper">
@@ -13,6 +13,7 @@ import"../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/re
13
13
  tabindex=${this.tabindex}
14
14
  aria-labelledby="${this.elementId}-radio"
15
15
  @change="${this.handleChange}"
16
+ aria-describedby="${this.ariaDescribedby}"
16
17
  />
17
18
  </div>
18
19
  <label class="gator-radio-title">
@@ -30,4 +31,4 @@ import"../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/re
30
31
  <ngc-skeleton-loader width="18" height="18" radius="999"></ngc-skeleton-loader>
31
32
  <ngc-skeleton-loader width="50" height="18" radius="2"></ngc-skeleton-loader>
32
33
  </div>
33
- `}get elementId(){return m(this.id,this._randomId)}get tabindex(){let e=this.radioTabindex;return this.selected&&(e=0),this.disabled&&(e=-1),e}handleChange(){this.selected=!this.selected,this.dispatchEvent(new CustomEvent("change",{bubbles:!0,detail:this.value}))}click(){this.disabled||this.inputRef.value?.click()}focus(){this.disabled||this.inputRef.value?.focus()}};t.styles=[..._(t,t,"styles"),p(g),p(b)];a([d({type:String,attribute:"title-text"})],t.prototype,"titleText",2);a([d({type:Boolean})],t.prototype,"selected",2);a([d({type:Number,attribute:"radio-tabindex"})],t.prototype,"radioTabindex",2);a([d({type:Boolean,attribute:"grouped"})],t.prototype,"grouped",2);t=a([c("ngc-radio")],t);export{t as NgcRadio};
34
+ `}get elementId(){return m(this.id,this._randomId)}get tabindex(){let e=this.radioTabindex;return this.selected&&(e=0),this.disabled&&(e=-1),e}handleChange(){this.selected=!this.selected,this.dispatchEvent(new CustomEvent("change",{bubbles:!0,detail:this.value}))}click(){this.disabled||this.inputRef.value?.click()}focus(){this.disabled||this.inputRef.value?.focus()}};t.styles=[..._(t,t,"styles"),p(b),p(g)];a([d({type:String,attribute:"title-text"})],t.prototype,"titleText",2);a([d({type:Boolean})],t.prototype,"selected",2);a([d({type:Number,attribute:"radio-tabindex"})],t.prototype,"radioTabindex",2);a([d({type:Boolean,attribute:"grouped"})],t.prototype,"grouped",2);t=a([c("ngc-radio")],t);export{t as NgcRadio};
@@ -1,20 +1,20 @@
1
- import"../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/reactive-element.js";import{html as a}from"../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/lit-html.js";import"../../node_modules/.pnpm/lit-element@4.2.0/node_modules/lit-element/lit-element.js";import{customElement as p}from"../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/custom-element.js";import{property as c}from"../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/property.js";import{generateRandomId as u,getElementId as g}from"../../utils/string-utils.js";import{KEY_CONSTANTS as d}from"../../consts/key-constants.js";import f from"../../packages/web-components/src/components/radio-group/radio-group.gator.scss.js";import"../radio/radio.gator.js";import{handleDataTestid as b}from"../../utils/datatestid-utils.js";import{ifDefined as y}from"../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/directives/if-defined.js";import{NgcInputText as v}from"../input/gator/input-text/input-text.gator.js";import{unsafeCSS as $}from"../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/css-tag.js";var x=Object.defineProperty,I=Object.getOwnPropertyDescriptor,T=Object.getPrototypeOf,E=Reflect.get,m=(e,t,i,o)=>{for(var r=o>1?void 0:o?I(t,i):t,l=e.length-1,s;l>=0;l--)(s=e[l])&&(r=(o?s(t,i,r):s(r))||r);return o&&r&&x(t,i,r),r},_=(e,t,i)=>E(T(e),i,t);let n=class extends v{constructor(){super(...arguments),this.options=[],this._randomId=u()}render(){return a`
2
- <div class="gator-radio-group-container">
3
- ${this.label?a`<ngc-input-label id="${this.elementId}-label" data-testid=${y(this.labelDataTestid)} ?skeleton=${this.skeleton}>${this.label}</ngc-input-label>`:null}
1
+ import"../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/reactive-element.js";import{html as n}from"../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/lit-html.js";import"../../node_modules/.pnpm/lit-element@4.2.0/node_modules/lit-element/lit-element.js";import{customElement as p}from"../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/custom-element.js";import{property as m}from"../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/property.js";import{generateRandomId as c,getElementId as g}from"../../utils/string-utils.js";import{KEY_CONSTANTS as d}from"../../consts/key-constants.js";import f from"../../packages/web-components/src/components/radio-group/radio-group.gator.scss.js";import"../radio/radio.gator.js";import{handleDataTestid as b}from"../../utils/datatestid-utils.js";import{ifDefined as y}from"../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/directives/if-defined.js";import{NgcInputText as v}from"../input/gator/input-text/input-text.gator.js";import{createRef as $,ref as x}from"../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/directives/ref.js";import{unsafeCSS as E}from"../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/css-tag.js";var R=Object.defineProperty,T=Object.getOwnPropertyDescriptor,I=Object.getPrototypeOf,S=Reflect.get,u=(e,t,i,o)=>{for(var s=o>1?void 0:o?T(t,i):t,l=e.length-1,r;l>=0;l--)(r=e[l])&&(s=(o?r(t,i,s):r(s))||s);return o&&s&&R(t,i,s),s},_=(e,t,i)=>S(I(e),i,t);let a=class extends v{constructor(){super(...arguments),this.options=[],this._randomId=c(),this.groupRef=$()}render(){return n`
2
+ <div class="gator-radio-group-container" ${x(this.groupRef)} role="group">
3
+ ${this.label?n`<ngc-input-label id="${this.elementId}-label" data-testid=${y(this.labelDataTestid)} ?skeleton=${this.skeleton}>${this.label}</ngc-input-label>`:null}
4
4
  <div id="${this.elementId}-group"
5
- role="radiogroup"
6
- class="gator-radio-group"
7
- aria-labelledby="${this.elementId}-label"
8
- aria-describedby=${this.describedBy}
9
- @keydown=${this.handleRadioKeydown}
10
- @change=${this.handleRadioSelectionChange}
11
- >
12
- ${this.options.length>0?this.radiosFromOptions:a`<slot></slot>`}
5
+ role="radiogroup"
6
+ class="gator-radio-group"
7
+ aria-labelledby="${this.elementId}-label"
8
+ aria-describedby=${this.describedBy}
9
+ @keydown=${this.handleRadioKeydown}
10
+ @change=${this.handleRadioSelectionChange}
11
+ >
12
+ ${this.options.length>0?this.radiosFromOptions:n`<slot></slot>`}
13
13
  </div>
14
14
  </div>
15
15
  ${this.bottomText}
16
- `}get elementId(){return g(this.id,this._randomId)}get radiosFromOptions(){return a`
17
- ${this.options.map(e=>a`
16
+ `}get elementId(){return g(this.id,this._randomId)}get radiosFromOptions(){return n`
17
+ ${this.options.map(e=>n`
18
18
  <ngc-radio
19
19
  title-text=${e.title}
20
20
  value=${e.value}
@@ -23,4 +23,4 @@ import"../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/re
23
23
  error-text=${this.errorText}
24
24
  ></ngc-radio>
25
25
  `)}
26
- `}get radioElements(){if(this.options.length>0)return this.shadowRoot?.querySelectorAll("ngc-radio");const e=this.shadowRoot?.querySelector("slot")?.assignedElements();return e&&e.length===1&&e[0]instanceof HTMLSlotElement?e[0].assignedElements():e}get describedBy(){const e=[];return this.errorText&&e.push(`${this.elementId}-error`),this.helpText&&e.push(`${this.elementId}-help`),e.join(" ")}handleRadioSelectionChange(e){const t=e;t.stopImmediatePropagation(),this.value=t.detail.value??t.detail,this.dispatchEvent(new CustomEvent("change",{bubbles:!0,composed:!0,detail:this.value}))}handleRadioKeydown(e){const t=this.radioElements;if(t){const i=Array.from(t).findIndex(s=>s.selected),o=e.key===d.RIGHT||e.key===d.DOWN,r=e.key===d.LEFT||e.key===d.UP,l=e.key===d.SPACE;if(o||r||l){e.preventDefault();let s=i===-1?0:i;o?s=(s+1)%t.length:r?s=(s-1+t.length)%t.length:l&&i===-1&&(s=0);const h=t[s];h&&(h.focus(),h.click())}}}updated(){this.radioElements?.forEach((e,t)=>{e.selected=this.value===e.value,e.disabled=this.disabled,e.errorText=this.errorText,e.grouped=!0,e.radioTabindex=this.getItemTabindex(t),e.skeleton=this.skeleton,b(e,this.dataTestid,`radio-${t}`)})}getItemTabindex(e){return e===0&&!this.value?0:-1}};n.styles=[..._(n,n,"styles"),$(f)];m([c({type:Array})],n.prototype,"options",2);n=m([p("ngc-radio-group")],n);export{n as NgcRadioGroup};
26
+ `}get radioElements(){if(this.options.length>0)return this.shadowRoot?.querySelectorAll("ngc-radio");const e=this.shadowRoot?.querySelector("slot")?.assignedElements();return e&&e.length===1&&e[0]instanceof HTMLSlotElement?e[0].assignedElements():e}get describedBy(){const e=[];return this.errorText&&e.push(`${this.elementId}-error`),this.helpText&&e.push(`${this.elementId}-help`),e.join(" ")}handleRadioSelectionChange(e){const t=e;t.stopImmediatePropagation(),this.value=t.detail.value??t.detail,this.dispatchEvent(new CustomEvent("change",{bubbles:!0,composed:!0,detail:this.value}))}handleRadioKeydown(e){const t=this.radioElements;if(t){const i=Array.from(t).findIndex(r=>r.selected),o=e.key===d.RIGHT||e.key===d.DOWN,s=e.key===d.LEFT||e.key===d.UP,l=e.key===d.SPACE;if(o||s||l){e.preventDefault();let r=i===-1?0:i;o?r=(r+1)%t.length:s?r=(r-1+t.length)%t.length:l&&i===-1&&(r=0);const h=t[r];h&&(h.focus(),h.click())}}}updated(){this.radioElements?.forEach((e,t)=>{e.selected=this.value===e.value,e.disabled=this.disabled,e.errorText=this.errorText,e.grouped=!0,e.radioTabindex=this.getItemTabindex(t),e.skeleton=this.skeleton,b(e,this.dataTestid,`radio-${t}`)}),requestAnimationFrame(()=>{const e=this.shadowRoot?.querySelector("ngc-input-label"),t=this.shadowRoot?.querySelectorAll("ngc-help-text");e&&this.groupRef.value&&(this.groupRef.value.ariaLabelledByElements=[e]),t&&this.groupRef.value&&(this.groupRef.value.ariaDescribedByElements=Array.from(t))})}getItemTabindex(e){return e===0&&!this.value?0:-1}};a.styles=[..._(a,a,"styles"),E(f)];u([m({type:Array})],a.prototype,"options",2);a=u([p("ngc-radio-group")],a);export{a as NgcRadioGroup};
@@ -1 +1 @@
1
- const t=":host .gator-form-element-control{padding:0}:host textarea{padding:12px 30px 12px 16px;resize:vertical}:host .gator-icon-right{position:absolute;right:var(--spacing-3, .75rem);top:var(--spacing-3, .75rem)}";export{t as default};
1
+ const t=":host .gator-form-element-control{padding:0}:host textarea{padding:12px 30px 12px 16px;resize:vertical}:host .gator-icon-right{position:absolute;right:var(--spacing-3, .75rem);top:var(--spacing-3, .75rem)}.gator-input-bottom-text{display:flex;justify-content:space-between;align-items:start}.gator-input-bottom-text .gator-input-counter{flex-shrink:0}";export{t as default};
@@ -1 +1 @@
1
- const e=".gator-truncate{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gator-visually-hidden{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;opacity:0}";export{e as default};
1
+ const t=".gator-truncate{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gator-visually-hidden{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;opacity:0}";export{t as default};
@@ -1,5 +1,6 @@
1
1
  import { NgcCheckbox } from '../checkbox/checkbox.gator';
2
2
  import { NgcInputText } from '../input/gator/input-text/input-text.gator.ts';
3
+ import { Ref } from 'lit/directives/ref.js';
3
4
  /**
4
5
  * @slot - The checkboxes within the group
5
6
  */
@@ -14,6 +15,7 @@ export declare class NgcCheckboxGroup extends NgcInputText {
14
15
  */
15
16
  options: NGC_CHECKBOX_GROUP_OPTION[];
16
17
  private _randomId;
18
+ groupRef: Ref<HTMLElement>;
17
19
  render(): import('lit').TemplateResult<1>;
18
20
  get elementId(): string;
19
21
  get describedBy(): string;
@@ -1,3 +1,4 @@
1
+ import { nothing } from 'lit';
1
2
  import { NgcInputText } from '../input-text/input-text.gator.ts';
2
3
  export declare class NgcInputTextarea extends NgcInputText {
3
4
  static shadowRootOptions: {
@@ -29,6 +30,9 @@ export declare class NgcInputTextarea extends NgcInputText {
29
30
  handleInputEvent(e: Event): void;
30
31
  updated(changedProperties: Map<string, unknown>): void;
31
32
  render(): import('lit').TemplateResult<1>;
33
+ get characterCountVisualMarkup(): import('lit').TemplateResult<1> | typeof nothing;
34
+ get characterCountAriaLiveMarkup(): import('lit').TemplateResult<1> | typeof nothing;
35
+ get ariaDescribedby(): string;
32
36
  }
33
37
  declare global {
34
38
  interface HTMLElementTagNameMap {
@@ -1,5 +1,6 @@
1
1
  import { NgcRadio } from '../radio/radio.gator';
2
2
  import { NgcInputText } from '../input/gator/input-text/input-text.gator.ts';
3
+ import { Ref } from 'lit/directives/ref.js';
3
4
  /**
4
5
  * @slot - The radios within the group
5
6
  */
@@ -14,6 +15,7 @@ export declare class NgcRadioGroup extends NgcInputText {
14
15
  */
15
16
  options: NGC_RADIO_GROUP_OPTION[];
16
17
  private _randomId;
18
+ groupRef: Ref<HTMLElement>;
17
19
  render(): import('lit').TemplateResult<1>;
18
20
  get elementId(): string;
19
21
  get radiosFromOptions(): import('lit').TemplateResult<1>;
@@ -96,14 +96,26 @@ export declare const INPUT_BASE_ARGS: {
96
96
  };
97
97
  };
98
98
  minLength: {
99
+ name: string;
99
100
  description: string;
100
101
  control: string;
101
- table: {};
102
+ table: {
103
+ category: string;
104
+ defaultValue: {
105
+ summary: string;
106
+ };
107
+ };
102
108
  };
103
109
  maxLength: {
110
+ name: string;
104
111
  description: string;
105
112
  control: string;
106
- table: {};
113
+ table: {
114
+ category: string;
115
+ defaultValue: {
116
+ summary: string;
117
+ };
118
+ };
107
119
  };
108
120
  };
109
121
  export declare const INPUT_TEXT_ARGS: {
@@ -1 +1 @@
1
- import n from"../../packages/web-components/src/tokens/primitive.tokens.scss.js";import u from"../../packages/web-components/src/tokens/semantic.tokens.scss.js";import d from"../../packages/web-components/src/styles/_gator-utils.scss.js";import"../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/reactive-element.js";import"../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/lit-html.js";import"../../node_modules/.pnpm/lit-element@4.2.0/node_modules/lit-element/lit-element.js";import{TestableLitElement as v}from"./testable-lit-element/testable-lit-element.js";import{AttributeDeletionMixin as y}from"../mixins/attribute-deletion.js";import{property as l}from"../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/property.js";import{unsafeCSS as o}from"../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/css-tag.js";var A=Object.defineProperty,f=(s,p,m,h)=>{for(var t=void 0,r=s.length-1,a;r>=0;r--)(a=s[r])&&(t=a(p,m,t)||t);return t&&A(p,m,t),t};const i=class i extends y(v){constructor(){super(...arguments),this.delegatesARIA=!0,this.skeleton=!1}};i.styles=[o(n),o(u),o(d)];let e=i;f([l({type:Boolean})],e.prototype,"delegatesARIA");f([l({type:Boolean})],e.prototype,"skeleton");export{e as NgcComponent};
1
+ import n from"../../packages/web-components/src/tokens/primitive.tokens.scss.js";import u from"../../packages/web-components/src/tokens/semantic.tokens.scss.js";import y from"../../packages/web-components/src/styles/_gator-utils.scss.js";import"../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/reactive-element.js";import"../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/lit-html.js";import"../../node_modules/.pnpm/lit-element@4.2.0/node_modules/lit-element/lit-element.js";import{TestableLitElement as d}from"./testable-lit-element/testable-lit-element.js";import{AttributeDeletionMixin as v}from"../mixins/attribute-deletion.js";import{property as l}from"../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/property.js";import{unsafeCSS as o}from"../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/css-tag.js";var A=Object.defineProperty,f=(s,p,m,h)=>{for(var t=void 0,r=s.length-1,a;r>=0;r--)(a=s[r])&&(t=a(p,m,t)||t);return t&&A(p,m,t),t};const i=class i extends v(d){constructor(){super(...arguments),this.delegatesARIA=!0,this.skeleton=!1}};i.styles=[o(n),o(u),o(y)];let e=i;f([l({type:Boolean})],e.prototype,"delegatesARIA");f([l({type:Boolean})],e.prototype,"skeleton");export{e as NgcComponent};
@@ -1 +1 @@
1
- const n={errorText:{name:"error-text",description:"Custom error message to be displayed. This value overrides any native or internal error messaging. If this is set, the component will be styled in an error state.",table:{category:"Base Input",defaultValue:{summary:""}}},helpText:{name:"help-text",description:"Custom help text to be displayed inline below the component.",table:{category:"Base Input",defaultValue:{summary:""}}},placeholder:{description:"Placeholder text to be displayed in the input.",table:{category:"Base Input",defaultValue:{summary:""}}},value:{description:"Value of the component.",table:{category:"Base Input",defaultValue:{summary:"undefined"}}},label:{description:"Visible label for the component. This is the gold standard, best practice way to label an input for built in accessibility support. If this is not set, you must set the ariaLabelledByElements property for correct programmatic association between your custom label and the input element.",table:{category:"Base Input",defaultValue:{summary:""}}},ariaLabelledByElements:{name:"aria-labelled-by-elements",description:"Used to programmatically associate a custom label to the input. This should only be used when you are using a custom label outside of the ngc input component due to limitations of the shadow dom. Accepts a list of elements. For more information on ARIA element reflection, see [here](https://wicg.github.io/aom/aria-reflection-explainer.html).",type:{summary:"Element[]"},table:{category:"Base Input",defaultValue:{summary:""}}},required:{description:"Whether the component is required.",table:{category:"Base Input",defaultValue:{summary:"false"}}},disabled:{description:"Whether the component is disabled.",table:{category:"Base Input",defaultValue:{summary:"false"}}},readonly:{description:"Whether the component is readonly.",table:{category:"Base Input",defaultValue:{summary:"false"}}},id:{description:"Unique ID for the component. Required for accessibility.",table:{category:"Base Input",defaultValue:{summary:""}}},minLength:{description:"The minimum length of the input value. See more information [here](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/minlength).",control:"number",table:{}},maxLength:{description:"The maximum length of the input value. See more information [here](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/maxlength).",control:"number",table:{}}},i={pattern:{description:"The pattern attribute to be passed to the input. See more information [here](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/pattern).",control:"text",table:{defaultValue:{summary:"undefined"}}}},r={min:{description:"The min attribute defines the minimum value that is acceptable and valid for the input containing the attribute. If the value of the element is less than this, the element fails validation. This value must be less than or equal to the value of the max attribute. See more information [here](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/min).",control:"string"},max:{description:"The max attribute defines the maximum value that is acceptable and valid for the input containing the attribute. If the value of the element is greater than this, the element fails validation. This value must be greater than or equal to the value of the min attribute. See more information [here](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/max).",control:"string"},step:{description:"The step attribute to be passed to the input for number inputs. See more information [here](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/step).",control:"number",table:{defaultValue:{summary:"1"}}}},l={ariaDescription:{name:"aria-description",description:"The aria-description attribute for the component."}},s={skeleton:{description:"Whether the component should be rendered in a skeleton/loading state.",control:{type:"boolean"},table:{defaultValue:{summary:"false"}}}},u={startIcon:{name:"start-icon",description:"Icon to be displayed at the start of the component. Should be a valid icon name from the [icon library](?path=/story/components-icon--gator-icon-list).",control:{type:"text"},table:{category:"Optional Icon(s)"}}},m={endIcon:{name:"end-icon",description:"Icon to be displayed at the end of the component. Should be a valid icon name from the [icon library](?path=/story/components-icon--gator-icon-list).",control:{type:"text"},table:{category:"Optional Icon(s)"}}},c=(t,a)=>{let e,o={};for(e in t)t.hasOwnProperty(e)&&!a.includes(e)&&(o[e]=t[e]);return o},d=(t,a)=>{let e,o={};for(e in t)t.hasOwnProperty(e)&&a.includes(e)&&(o[e]=t[e]);return o};export{m as END_ICON_ARG,l as INPUT_A11Y_ARGS,n as INPUT_BASE_ARGS,r as INPUT_NUMERIC_ARGS,i as INPUT_TEXT_ARGS,s as SKELETON_ARG,u as START_ICON_ARG,c as argsExclude,d as argsOnly};
1
+ const n={errorText:{name:"error-text",description:"Custom error message to be displayed. This value overrides any native or internal error messaging. If this is set, the component will be styled in an error state.",table:{category:"Base Input",defaultValue:{summary:""}}},helpText:{name:"help-text",description:"Custom help text to be displayed inline below the component.",table:{category:"Base Input",defaultValue:{summary:""}}},placeholder:{description:"Placeholder text to be displayed in the input.",table:{category:"Base Input",defaultValue:{summary:""}}},value:{description:"Value of the component.",table:{category:"Base Input",defaultValue:{summary:"undefined"}}},label:{description:"Visible label for the component. This is the gold standard, best practice way to label an input for built in accessibility support. If this is not set, you must set the ariaLabelledByElements property for correct programmatic association between your custom label and the input element.",table:{category:"Base Input",defaultValue:{summary:""}}},ariaLabelledByElements:{name:"aria-labelled-by-elements",description:"Used to programmatically associate a custom label to the input. This should only be used when you are using a custom label outside of the ngc input component due to limitations of the shadow dom. Accepts a list of elements. For more information on ARIA element reflection, see [here](https://wicg.github.io/aom/aria-reflection-explainer.html).",type:{summary:"Element[]"},table:{category:"Base Input",defaultValue:{summary:""}}},required:{description:"Whether the component is required.",table:{category:"Base Input",defaultValue:{summary:"false"}}},disabled:{description:"Whether the component is disabled.",table:{category:"Base Input",defaultValue:{summary:"false"}}},readonly:{description:"Whether the component is readonly.",table:{category:"Base Input",defaultValue:{summary:"false"}}},id:{description:"Unique ID for the component. Required for accessibility.",table:{category:"Base Input",defaultValue:{summary:""}}},minLength:{name:"min-length",description:"The minimum length of the input value. See more information [here](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/minlength).",control:"number",table:{category:"Base Input",defaultValue:{summary:""}}},maxLength:{name:"max-length",description:"The maximum length of the input value. See more information [here](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/maxlength).",control:"number",table:{category:"Base Input",defaultValue:{summary:""}}}},i={pattern:{description:"The pattern attribute to be passed to the input. See more information [here](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/pattern).",control:"text",table:{defaultValue:{summary:"undefined"}}}},r={min:{description:"The min attribute defines the minimum value that is acceptable and valid for the input containing the attribute. If the value of the element is less than this, the element fails validation. This value must be less than or equal to the value of the max attribute. See more information [here](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/min).",control:"string"},max:{description:"The max attribute defines the maximum value that is acceptable and valid for the input containing the attribute. If the value of the element is greater than this, the element fails validation. This value must be greater than or equal to the value of the min attribute. See more information [here](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/max).",control:"string"},step:{description:"The step attribute to be passed to the input for number inputs. See more information [here](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/step).",control:"number",table:{defaultValue:{summary:"1"}}}},l={ariaDescription:{name:"aria-description",description:"The aria-description attribute for the component."}},s={skeleton:{description:"Whether the component should be rendered in a skeleton/loading state.",control:{type:"boolean"},table:{defaultValue:{summary:"false"}}}},u={startIcon:{name:"start-icon",description:"Icon to be displayed at the start of the component. Should be a valid icon name from the [icon library](?path=/story/components-icon--gator-icon-list).",control:{type:"text"},table:{category:"Optional Icon(s)"}}},m={endIcon:{name:"end-icon",description:"Icon to be displayed at the end of the component. Should be a valid icon name from the [icon library](?path=/story/components-icon--gator-icon-list).",control:{type:"text"},table:{category:"Optional Icon(s)"}}},c=(t,o)=>{let e,a={};for(e in t)t.hasOwnProperty(e)&&!o.includes(e)&&(a[e]=t[e]);return a},d=(t,o)=>{let e,a={};for(e in t)t.hasOwnProperty(e)&&o.includes(e)&&(a[e]=t[e]);return a};export{m as END_ICON_ARG,l as INPUT_A11Y_ARGS,n as INPUT_BASE_ARGS,r as INPUT_NUMERIC_ARGS,i as INPUT_TEXT_ARGS,s as SKELETON_ARG,u as START_ICON_ARG,c as argsExclude,d as argsOnly};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ncino/web-components",
3
3
  "author": "nCino",
4
- "version": "7.0.0-preview.1",
4
+ "version": "7.0.0-preview.3",
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": "6.1.0-preview.12",
4
+ "version": "7.0.0-preview.2",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -1285,6 +1285,7 @@
1285
1285
  "js": {
1286
1286
  "properties": [
1287
1287
  { "name": "options", "type": "NGC_RADIO_GROUP_OPTION[]" },
1288
+ { "name": "groupRef", "type": "Ref<HTMLElement>" },
1288
1289
  { "name": "elementId" },
1289
1290
  { "name": "radiosFromOptions" },
1290
1291
  { "name": "radioElements", "type": "NgcRadio[]" },
@@ -2579,6 +2580,7 @@
2579
2580
  "js": {
2580
2581
  "properties": [
2581
2582
  { "name": "options", "type": "NGC_CHECKBOX_GROUP_OPTION[]" },
2583
+ { "name": "groupRef", "type": "Ref<HTMLElement>" },
2582
2584
  { "name": "elementId" },
2583
2585
  { "name": "describedBy" },
2584
2586
  { "name": "checkboxesFromOptions" },
@@ -3729,6 +3731,9 @@
3729
3731
  { "name": "rows", "type": "number" },
3730
3732
  { "name": "autoGrow", "type": "boolean" },
3731
3733
  { "name": "noResize", "type": "boolean" },
3734
+ { "name": "characterCountVisualMarkup" },
3735
+ { "name": "characterCountAriaLiveMarkup" },
3736
+ { "name": "ariaDescribedby" },
3732
3737
  { "name": "inputRef", "type": "Ref<HTMLInputElement>" },
3733
3738
  { "name": "controlRef", "type": "Ref<HTMLDivElement>" },
3734
3739
  { "name": "for", "type": "string" },
@@ -3752,7 +3757,6 @@
3752
3757
  { "name": "helpTextId" },
3753
3758
  { "name": "bottomText" },
3754
3759
  { "name": "errorTextId" },
3755
- { "name": "ariaDescribedby" },
3756
3760
  { "name": "controlClasses" },
3757
3761
  { "name": "internals", "type": "ElementInternals" },
3758
3762
  { "name": "form", "type": "HTMLFormElement | null" },