@ncino/web-components 4.2.1-preview.3 → 4.3.0-preview.1

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,4 +1,4 @@
1
- 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 c}from"../../../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/property.js";import"../../../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/reactive-element.js";import{html as e}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"../../../../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/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/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/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{NgcComponent as u}from"../../../../../utils/components/ngc-component.js";import d from"../../../../../packages/web-components/src/components/input/gator/input-file/file-uploaded-preview/file-upload-preview.gator.scss.js";import{msg as s}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 f}from"../../../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/css-tag.js";var g=Object.defineProperty,h=Object.getOwnPropertyDescriptor,w=Object.getPrototypeOf,_=Reflect.get,l=(p,o,i,m)=>{for(var t=m>1?void 0:m?h(o,i):o,n=p.length-1,a;n>=0;n--)(a=p[n])&&(t=(m?a(o,i,t):a(t))||t);return m&&t&&g(o,i,t),t},x=(p,o,i)=>_(w(p),i,o);let r=class extends u{constructor(){super(...arguments),this.value=[],this.errorText=""}render(){return e`
1
+ import{customElement as u}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"../../../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/reactive-element.js";import{html as t}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"../../../../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/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/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/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{NgcComponent as d}from"../../../../../utils/components/ngc-component.js";import g from"../../../../../packages/web-components/src/components/input/gator/input-file/file-uploaded-preview/file-upload-preview.gator.scss.js";import{msg as n}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 v}from"../../../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/css-tag.js";var f=Object.defineProperty,h=Object.getOwnPropertyDescriptor,b=Object.getPrototypeOf,w=Reflect.get,a=(m,i,p,e)=>{for(var o=e>1?void 0:e?h(i,p):i,l=m.length-1,s;l>=0;l--)(s=m[l])&&(o=(e?s(i,p,o):s(o))||o);return e&&o&&f(i,p,o),o},x=(m,i,p)=>w(b(m),p,i);let r=class extends d{constructor(){super(...arguments),this.value=[],this.uploading=!1,this.errorText=""}render(){return t`
2
2
  <div class="gator-file-upload-preview ${this.errorClass}">
3
3
  <div class="gator-file-upload-preview-left">
4
4
  <div class="gator-file-upload-preview-icon">
@@ -14,11 +14,14 @@ import{customElement as v}from"../../../../../node_modules/.pnpm/@lit_reactive-e
14
14
  <div class="gator-file-upload-preview-content-error-text">
15
15
  ${this.errorText}
16
16
  </div>
17
+ ${this.uploadingMarkup}
17
18
  </slot>
18
19
  </div>
19
20
  </div>
20
21
  <div class="gator-file-upload-preview-actions">
21
- <slot name="actions"></slot>
22
+ ${this.actionsMarkup}
22
23
  </div>
23
24
  </div>
24
- `}get contentText(){return this.value?this.value.length>1?s(e`${this.value.length} Files Uploaded`):this.value.length===1?`${this.value[0].name}`:"":s("No Files Uploaded")}get inErrorState(){return this.errorText}get defaultIconContent(){return this.inErrorState?e`<ngc-icon name="warning" background></ngc-icon>`:e`<ngc-icon name="document-check" background></ngc-icon>`}get errorClass(){return this.inErrorState?"gator-file-upload-preview_error":""}};r.styles=[...x(r,r,"styles"),f(d)];l([c({type:Array})],r.prototype,"value",2);l([c({attribute:"error-text"})],r.prototype,"errorText",2);r=l([v("ngc-file-upload-preview")],r);export{r as NgcFileUploadPreview};
25
+ `}get contentText(){return this.uploading?n("Uploading..."):!this.value||this.value.length===0?n("No Files Uploaded"):this.value.length>1?n(t`${this.value.length} Files Uploaded`):this.value.length===1?`${this.value[0].name}`:""}get uploadingMarkup(){return this.uploading?t`
26
+ <ngc-progress-bar variant="indeterminate"></ngc-progress-bar>
27
+ `:null}get actionsMarkup(){return this.uploading?t`<ngc-icon-button size="medium" icon-name="exit-circle" @click=${this.handleCancelUpload} .ariaLabel=${n("Cancel upload")}></ngc-icon-button>`:t`<slot name="actions"></slot>`}get inErrorState(){return this.errorText}get defaultIconContent(){return this.uploading?t`<ngc-icon name="document-image" background></ngc-icon>`:this.inErrorState?t`<ngc-icon name="warning" background></ngc-icon>`:t`<ngc-icon name="document-check" background></ngc-icon>`}get errorClass(){return this.inErrorState?"gator-file-upload-preview_error":""}handleCancelUpload(){this.dispatchEvent(new CustomEvent("cancel-upload",{bubbles:!0,composed:!0}))}};r.styles=[...x(r,r,"styles"),v(g)];a([c({type:Array})],r.prototype,"value",2);a([c({type:Boolean})],r.prototype,"uploading",2);a([c({attribute:"error-text"})],r.prototype,"errorText",2);r=a([u("ngc-file-upload-preview")],r);export{r as NgcFileUploadPreview};
@@ -1,4 +1,4 @@
1
- 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 s}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/property.js";import{state as c}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/state.js";import{NgcInputBase as v}from"../../base/input-base.gator.js";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 g from"../../../../node_modules/.pnpm/@deltablot_dropzone@7.3.1/node_modules/@deltablot/dropzone/dist/dropzone.js";import _ from"../../../../packages/web-components/src/components/input/gator/input-file/input-file.gator.scss.js";import{createRef as u,ref as h}from"../../../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/directives/ref.js";import"../input-label/input-label.gator.js";import"../../../button/gator/button.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/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/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/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"./file-uploaded-preview/file-upload-preview.gator.js";import{msg as l}from"../../../../node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/init/install.js";import{localized as z}from"../../../../node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/internal/localized-decorator.js";import"../../../../node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/init/runtime.js";import{classMap as b}from"../../../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/directives/class-map.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,F=Object.getOwnPropertyDescriptor,R=Object.getPrototypeOf,C=Reflect.get,e=(i,t,r,o)=>{for(var p=o>1?void 0:o?F(t,r):t,n=i.length-1,d;n>=0;n--)(d=i[n])&&(p=(o?d(t,r,p):d(p))||p);return o&&p&&$(t,r,p),p},w=(i,t,r)=>C(R(i),r,t);let m=class extends v{constructor(){super(...arguments),this.value=[],this.accept=void 0,this.state="default",this.size="default",this.multiple=!1,this.dropzoneRef=u(),this.hiddenInputContainerRef=u(),this.previewRef=u(),this._uploadFailed=!1,this._loadedDropzone=!1,this._multipleUploadFailure=!1}render(){return a`
1
+ 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 s}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/property.js";import{state as f}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/state.js";import{NgcInputBase as v}from"../../base/input-base.gator.js";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 g from"../../../../node_modules/.pnpm/@deltablot_dropzone@7.3.1/node_modules/@deltablot/dropzone/dist/dropzone.js";import _ from"../../../../packages/web-components/src/components/input/gator/input-file/input-file.gator.scss.js";import{createRef as u,ref as h}from"../../../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/directives/ref.js";import"../input-label/input-label.gator.js";import"../../../button/gator/button.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/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/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/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"./file-uploaded-preview/file-upload-preview.gator.js";import{msg as l}from"../../../../node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/init/install.js";import{localized as z}from"../../../../node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/internal/localized-decorator.js";import"../../../../node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/init/runtime.js";import{classMap as b}from"../../../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/directives/class-map.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,F=Object.getOwnPropertyDescriptor,R=Object.getPrototypeOf,C=Reflect.get,e=(i,t,r,o)=>{for(var m=o>1?void 0:o?F(t,r):t,n=i.length-1,d;n>=0;n--)(d=i[n])&&(m=(o?d(t,r,m):d(m))||m);return o&&m&&$(t,r,m),m},w=(i,t,r)=>C(R(i),r,t);let p=class extends v{constructor(){super(...arguments),this.value=[],this.accept=void 0,this.state="default",this.size="default",this.multiple=!1,this.uploading=!1,this.dropzoneRef=u(),this.hiddenInputContainerRef=u(),this.previewRef=u(),this._uploadFailed=!1,this._loadedDropzone=!1,this._multipleUploadFailure=!1}render(){return a`
2
2
  ${this.labelMarkup}
3
3
  <div class="${b(this.dropzoneClasses)}" ${h(this.dropzoneRef)}>
4
4
  <div class="gator-dropzone-content">
@@ -7,6 +7,7 @@ import{customElement as f}from"../../../../node_modules/.pnpm/@lit_reactive-elem
7
7
  variant="secondary"
8
8
  @click="${this.handleButtonClick}"
9
9
  ?disabled="${this.disabled}"
10
+ ?loading=${this.uploading&&!this.multiple}
10
11
  >
11
12
  <div class="gator-dropzone-button-content">
12
13
  <ngc-icon name="upload"></ngc-icon>
@@ -27,14 +28,16 @@ import{customElement as f}from"../../../../node_modules/.pnpm/@lit_reactive-elem
27
28
  ${this.value&&this.value.length>0?a`
28
29
  <ngc-file-upload-preview
29
30
  .value="${this.value}"
31
+ ?uploading="${this.uploading}"
30
32
  ${h(this.previewRef)}
31
- ></ngc-file-upload-preview>`:null}
33
+ ></ngc-file-upload-preview>
34
+ `:null}
32
35
  </slot>
33
36
  </div>
34
37
  ${this.size==="small"&&this.hasError?this.displayedAcceptsString:null}
35
38
  <div class="gator-hidden-input-container" ${h(this.hiddenInputContainerRef)}></div>
36
- `}get dropzoneClasses(){return{"gator-dropzone":!0,"gator-dropzone_small":this.size==="small","gator-dropzone_error":this.hasError,"gator-dropzone_disabled":this.disabled}}updated(i){if(!this.disabled){if(this.dropzoneRef.value&&this.hiddenInputContainerRef.value&&!this._loadedDropzone){const t=this;this._dropzone=new g(this.dropzoneRef.value,{url:"/file/post",autoProcessQueue:!1,previewsContainer:!1,acceptedFiles:this.accept,uploadMultiple:this.multiple,hiddenInputContainer:this.hiddenInputContainerRef.value,init:function(){var r,o;t.multiple?(r=this.hiddenFileInput)==null||r.setAttribute("multiple","true"):(o=this.hiddenFileInput)==null||o.removeAttribute("multiple")}}),this._observer=new MutationObserver(r=>{for(const o of r)for(const p of Array.from(o.addedNodes))p instanceof HTMLInputElement&&p.getAttribute("type")==="file"&&(t.multiple?p.setAttribute("multiple","true"):p.removeAttribute("multiple"))}),this._observer.observe(this.hiddenInputContainerRef.value,{childList:!0}),this._dropzone.on("addedfiles",r=>{var o;if(t.value??(t.value=[]),(o=t.dropzoneRef.value)==null||o.classList.remove("gator-dropzone_dragover"),!t.multiple&&r.length>1){t._multipleUploadFailure=!0;return}t._multipleUploadFailure=!1,t._uploadFailed=!1,t.multiple?t.value.push(...r):t.value=[...r],t.requestUpdate(),t.sendChangeEvent(),t.previewRef.value&&(t.previewRef.value.value=t.value,t.previewRef.value.requestUpdate())}),this._dropzone.on("error",r=>{t.value.find(o=>o.name===r.name)&&(t.value=t.value.filter(o=>o.name!==r.name)),t._uploadFailed=!0}),this._dropzone.on("dragover",()=>{var r;(r=t.dropzoneRef.value)==null||r.classList.add("gator-dropzone_dragover")}),this._dropzone.on("dragleave",()=>{var r;(r=t.dropzoneRef.value)==null||r.classList.remove("gator-dropzone_dragover")}),this._loadedDropzone=!0}if(this._dropzone&&(this._dropzone.options.acceptedFiles=this.accept,i.has("multiple"))){const t=this._dropzone.hiddenFileInput;this.multiple?(t==null||t.setAttribute("multiple","true"),this._dropzone.options.uploadMultiple=!0):(t==null||t.removeAttribute("multiple"),this._dropzone.options.uploadMultiple=!1)}}}get errorTextString(){let i="";return this._multipleUploadFailure&&(i=l("Please upload a single file. ")),this.errorText&&(i=this.errorText),this._uploadFailed&&(i=l("Unsupported file type.")),i}get hasError(){return this._multipleUploadFailure||this.errorText||this._uploadFailed}sendChangeEvent(){this.dispatchEvent(new CustomEvent("change",{bubbles:!0,detail:{value:this.value}}))}handleButtonClick(){var i;this.disabled||(i=this.inputElement)==null||i.click()}get displayedAcceptsString(){let i=l("Accepted file types")+": ";return this.accept?i+=this.accept.split(",").map(t=>t.replace(/^\./,"")).join(", "):i+=l("Any"),this.hasError?a`
39
+ `}get dropzoneClasses(){return{"gator-dropzone":!0,"gator-dropzone_small":this.size==="small","gator-dropzone_error":this.hasError,"gator-dropzone_disabled":this.disabled}}updated(i){if(!this.disabled){if(this.dropzoneRef.value&&this.hiddenInputContainerRef.value&&!this._loadedDropzone){const t=this;this._dropzone=new g(this.dropzoneRef.value,{url:"/file/post",autoProcessQueue:!1,previewsContainer:!1,acceptedFiles:this.accept,uploadMultiple:this.multiple,hiddenInputContainer:this.hiddenInputContainerRef.value,init:function(){var r,o;t.multiple?(r=this.hiddenFileInput)==null||r.setAttribute("multiple","true"):(o=this.hiddenFileInput)==null||o.removeAttribute("multiple")}}),this._observer=new MutationObserver(r=>{for(const o of r)for(const m of Array.from(o.addedNodes))m instanceof HTMLInputElement&&m.getAttribute("type")==="file"&&(t.multiple?m.setAttribute("multiple","true"):m.removeAttribute("multiple"))}),this._observer.observe(this.hiddenInputContainerRef.value,{childList:!0}),this._dropzone.on("addedfiles",r=>{var o;if(t.value??(t.value=[]),(o=t.dropzoneRef.value)==null||o.classList.remove("gator-dropzone_dragover"),!t.multiple&&r.length>1){t._multipleUploadFailure=!0;return}t._multipleUploadFailure=!1,t._uploadFailed=!1,t.multiple?t.value.push(...r):t.value=[...r],t.requestUpdate(),t.sendChangeEvent(),t.previewRef.value&&(t.previewRef.value.value=t.value,t.previewRef.value.requestUpdate())}),this._dropzone.on("error",r=>{t.value.find(o=>o.name===r.name)&&(t.value=t.value.filter(o=>o.name!==r.name)),t._uploadFailed=!0}),this._dropzone.on("dragover",()=>{var r;(r=t.dropzoneRef.value)==null||r.classList.add("gator-dropzone_dragover")}),this._dropzone.on("dragleave",()=>{var r;(r=t.dropzoneRef.value)==null||r.classList.remove("gator-dropzone_dragover")}),this._loadedDropzone=!0}if(this._dropzone&&(this._dropzone.options.acceptedFiles=this.accept,i.has("multiple"))){const t=this._dropzone.hiddenFileInput;this.multiple?(t==null||t.setAttribute("multiple","true"),this._dropzone.options.uploadMultiple=!0):(t==null||t.removeAttribute("multiple"),this._dropzone.options.uploadMultiple=!1)}}}get errorTextString(){let i="";return this._multipleUploadFailure&&(i=l("Please upload a single file. ")),this.errorText&&(i=this.errorText),this._uploadFailed&&(i=l("Unsupported file type.")),i}get hasError(){return this._multipleUploadFailure||this.errorText||this._uploadFailed}sendChangeEvent(){this.dispatchEvent(new CustomEvent("change",{bubbles:!0,detail:{value:this.value}}))}handleButtonClick(){var i;this.disabled||(i=this.inputElement)==null||i.click()}get displayedAcceptsString(){let i=l("Accepted file types")+": ";return this.accept?i+=this.accept.split(",").map(t=>t.replace(/^\./,"")).join(", "):i+=l("Any"),this.hasError?a`
37
40
  <ngc-help-text icon="warning" error data-testid=${this.errorMessageDataTestid}>
38
41
  ${this.errorTextString} ${this.errorText?null:i}
39
42
  </ngc-help-text>
40
- `:i}get inputElement(){var i;return(i=this.hiddenInputContainerRef.value)==null?void 0:i.querySelector('input[type="file"]')}disconnectedCallback(){var i;(i=super.disconnectedCallback)==null||i.call(this),this._observer&&(this._observer.disconnect(),this._observer=void 0)}};m.styles=[...w(m,m,"styles"),y(_)];e([s({type:Array})],m.prototype,"value",2);e([s({type:String})],m.prototype,"accept",2);e([s({type:String})],m.prototype,"state",2);e([s({type:String})],m.prototype,"size",2);e([s({type:Boolean,attribute:"multiple"})],m.prototype,"multiple",2);e([c()],m.prototype,"_uploadFailed",2);e([c()],m.prototype,"_multipleUploadFailure",2);m=e([f("ngc-input-file"),z()],m);export{m as NgcInputFile};
43
+ `:i}get inputElement(){var i;return(i=this.hiddenInputContainerRef.value)==null?void 0:i.querySelector('input[type="file"]')}disconnectedCallback(){var i;(i=super.disconnectedCallback)==null||i.call(this),this._observer&&(this._observer.disconnect(),this._observer=void 0)}};p.styles=[...w(p,p,"styles"),y(_)];e([s({type:Array})],p.prototype,"value",2);e([s({type:String})],p.prototype,"accept",2);e([s({type:String})],p.prototype,"state",2);e([s({type:String})],p.prototype,"size",2);e([s({type:Boolean,attribute:"multiple"})],p.prototype,"multiple",2);e([s({type:Boolean})],p.prototype,"uploading",2);e([f()],p.prototype,"_uploadFailed",2);e([f()],p.prototype,"_multipleUploadFailure",2);p=e([c("ngc-input-file"),z()],p);export{p as NgcInputFile};
@@ -1 +1 @@
1
- const e='.gator-file-upload-preview{font-family:var(--text-family-body, "Open Sans", sans-serif);display:flex;flex-direction:row;justify-content:space-between;border-radius:var(--radius-medium, 8px);border:1px solid var(--color-stroke-secondary, #BFBFBF);padding:var(--spacing-gap-12, 12px) var(--spacing-gap-16, 16px)}.gator-file-upload-preview-icon{display:flex;margin-right:var(--spacing-gap-16, 16px)}.gator-file-upload-preview-icon ngc-icon{--ngc-icon-border-radius: 50%;--ngc-icon-padding: var(--spacing-gap-8, 8px)}.gator-file-upload-preview-left{display:flex;flex-direction:row;align-items:center}.gator-file-upload-preview-content{display:flex;flex-direction:column}.gator-file-upload-preview-actions{display:flex;justify-content:end}.gator-file-upload-preview_error{font-size:var(--font-size-14, 14px);line-height:var(--line-height-20, 20px);margin-top:var(--spacing-gap-4, 4px);border:1px solid var(--color-stroke-error, #D8000C)}.gator-file-upload-preview_error .gator-file-upload-preview-icon,.gator-file-upload-preview_error .gator-file-upload-preview-content-error-text{color:var(--color-text-error, #D8000C);--ngc-icon-background-color: var(--color-surface-error, #FAEBE7)}';export{e as default};
1
+ const r='.gator-file-upload-preview{font-family:var(--text-family-body, "Open Sans", sans-serif);display:flex;flex-direction:row;justify-content:space-between;border-radius:var(--radius-medium, 8px);border:1px solid var(--color-stroke-secondary, #BFBFBF);padding:var(--spacing-gap-12, 12px) var(--spacing-gap-16, 16px)}.gator-file-upload-preview-icon{display:flex;margin-right:var(--spacing-gap-16, 16px)}.gator-file-upload-preview-icon ngc-icon{--ngc-icon-border-radius: 50%;--ngc-icon-padding: var(--spacing-gap-8, 8px)}.gator-file-upload-preview-left{display:flex;flex-direction:row;align-items:center;width:100%;margin-right:var(--spacing-gap-16, 16px)}.gator-file-upload-preview-content{display:flex;flex-direction:column;width:100%}.gator-file-upload-preview-actions{display:flex;justify-content:end;align-items:center}.gator-file-upload-preview_error{font-size:var(--font-size-14, 14px);line-height:var(--line-height-20, 20px);margin-top:var(--spacing-gap-4, 4px);border:1px solid var(--color-stroke-error, #D8000C)}.gator-file-upload-preview_error .gator-file-upload-preview-icon,.gator-file-upload-preview_error .gator-file-upload-preview-content-error-text{color:var(--color-text-error, #D8000C);--ngc-icon-background-color: var(--color-surface-error, #FAEBE7)}';export{r as default};
@@ -1 +1 @@
1
- const e='@keyframes passing-through{0%{opacity:0;transform:translateY(40px)}30%,70%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-40px)}}@keyframes slide-in{0%{opacity:0;transform:translateY(40px)}30%{opacity:1;transform:translateY(0)}}@keyframes pulse{0%{transform:scale(1)}10%{transform:scale(1.1)}20%{transform:scale(1)}}.dropzone,.dropzone *{box-sizing:border-box}.dropzone{min-height:150px;border:1px solid rgba(0,0,0,.8);border-radius:5px;padding:20px}.dropzone.dz-clickable{cursor:pointer}.dropzone.dz-clickable *{cursor:default}.dropzone.dz-clickable .dz-message,.dropzone.dz-clickable .dz-message *{cursor:pointer}.dropzone.dz-started .dz-message{display:none}.dropzone.dz-drag-hover{border-style:solid}.dropzone.dz-drag-hover .dz-message{opacity:.5}.dropzone .dz-message{text-align:center;margin:3em 0}.dropzone .dz-message .dz-button{background:none;color:inherit;border:none;padding:0;font:inherit;cursor:pointer;outline:inherit}.dropzone .dz-preview{position:relative;display:inline-block;vertical-align:top;margin:16px;min-height:100px}.dropzone .dz-preview:hover{z-index:1000}.dropzone .dz-preview.dz-file-preview .dz-image{border-radius:20px;background:#999;background:linear-gradient(to bottom,#eee,#ddd)}.dropzone .dz-preview.dz-file-preview .dz-details{opacity:1}.dropzone .dz-preview.dz-image-preview{background:#fff}.dropzone .dz-preview.dz-image-preview .dz-details{transition:opacity .2s linear}.dropzone .dz-preview .dz-remove{font-size:14px;text-align:center;display:block;cursor:pointer;border:none}.dropzone .dz-preview .dz-remove:hover{text-decoration:underline}.dropzone .dz-preview:hover .dz-details{opacity:1}.dropzone .dz-preview .dz-details{z-index:20;position:absolute;top:0;left:0;opacity:0;font-size:13px;min-width:100%;max-width:100%;padding:2em 1em;text-align:center;color:#000000e6;line-height:150%}.dropzone .dz-preview .dz-details .dz-size{margin-bottom:1em;font-size:16px}.dropzone .dz-preview .dz-details .dz-filename{white-space:nowrap}.dropzone .dz-preview .dz-details .dz-filename:hover span{border:1px solid rgba(200,200,200,.8);background-color:#fffc}.dropzone .dz-preview .dz-details .dz-filename:not(:hover){overflow:hidden;text-overflow:ellipsis}.dropzone .dz-preview .dz-details .dz-filename:not(:hover) span{border:1px solid transparent}.dropzone .dz-preview .dz-details .dz-filename span,.dropzone .dz-preview .dz-details .dz-size span{background-color:#fff6;padding:0 .4em;border-radius:3px}.dropzone .dz-preview:hover .dz-image img{transform:scale(1.05);filter:blur(8px)}.dropzone .dz-preview .dz-image{border-radius:20px;overflow:hidden;width:120px;height:120px;position:relative;display:block;z-index:10}.dropzone .dz-preview .dz-image img{display:block}.dropzone .dz-preview.dz-success .dz-success-mark{animation:passing-through 3s cubic-bezier(.77,0,.175,1)}.dropzone .dz-preview.dz-error .dz-error-mark{opacity:1;animation:slide-in 3s cubic-bezier(.77,0,.175,1)}.dropzone .dz-preview .dz-success-mark,.dropzone .dz-preview .dz-error-mark{pointer-events:none;opacity:0;z-index:500;position:absolute;display:block;top:50%;left:50%;margin-left:-27px;margin-top:-27px;background:#000c;border-radius:50%}.dropzone .dz-preview .dz-success-mark svg,.dropzone .dz-preview .dz-error-mark svg{display:block;width:54px;height:54px;fill:#fff}.dropzone .dz-preview.dz-processing .dz-progress{opacity:1;transition:all .2s linear}.dropzone .dz-preview.dz-complete .dz-progress{opacity:0;transition:opacity .4s ease-in}.dropzone .dz-preview:not(.dz-processing) .dz-progress{animation:pulse 6s ease infinite}.dropzone .dz-preview .dz-progress{opacity:1;z-index:1000;pointer-events:none;position:absolute;height:20px;top:50%;margin-top:-10px;left:15%;right:15%;border:3px solid rgba(0,0,0,.8);background:#000c;border-radius:10px;overflow:hidden}.dropzone .dz-preview .dz-progress .dz-upload{background:#fff;display:block;position:relative;height:100%;width:0;transition:width .3s ease-in-out;border-radius:17px}.dropzone .dz-preview.dz-error .dz-error-message{display:block}.dropzone .dz-preview.dz-error:hover .dz-error-message{opacity:1;pointer-events:auto}.dropzone .dz-preview .dz-error-message{pointer-events:none;z-index:1000;position:absolute;display:block;display:none;opacity:0;transition:opacity .3s ease;border-radius:8px;font-size:13px;top:130px;left:-10px;width:140px;background:#b10606;padding:.5em 1em;color:#fff}.dropzone .dz-preview .dz-error-message:after{content:"";position:absolute;top:-6px;left:64px;width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid rgb(177,6,6)}.gator-dropzone{font-family:var(--text-family-body, "Open Sans", sans-serif);display:flex;padding:var(--spacing-gap-24, 1.5rem);flex-direction:column;align-items:center;gap:var(--spacing-gap-16, 1rem);align-self:stretch;border-radius:var(--radius-medium, .5rem);border:var(--size-stroke-1, 1px) dashed var(--color-stroke-primary, #6D6D6D)}.gator-dropzone:hover{cursor:pointer;border:var(--size-stroke-1, 1px) dashed var(--color-stroke-primary-hover, #4B4B4B);background:var(--color-surface-hover, #F7F7F7)}.gator-dropzone_disabled{color:var(--text-color-disabled, #808080)!important;border:var(--size-stroke-1, 1px) dashed var(--color-stroke-disabled, #BFBFBF);background:var(--color-surface-disabled, #F2F2F2);cursor:not-allowed}.gator-dropzone_disabled:hover{cursor:not-allowed;border:var(--size-stroke-1, 1px) dashed var(--color-stroke-disabled, #BFBFBF);background:var(--color-surface-disabled, #F2F2F2)}.gator-dropzone_dragover{border:var(--size-stroke-2, 2px) solid var(--color-stroke-brand, #11395B)!important;background:var(--color-surface-brand-hover, #E4ECF2)!important;box-shadow:var(--shadow-x-offset-0, 0px) var(--shadow-shadow-1-card-property-1-y-offset, 1px) var(--shadow-shadow-1-card-property-1-blur, 1.5px) var(--shadow-shadow-1-card-property-1-spread, 0px) var(--shadow-color-4, rgba(31, 31, 31, .04)),var(--shadow-x-offset-0, 0px) var(--shadow-shadow-1-card-property-2-y-offset, 2px) var(--shadow-shadow-1-card-property-2-blur, 5px) var(--shadow-shadow-1-card-property-2-spread, 0px) var(--shadow-color-10, rgba(31, 31, 31, .1)),var(--shadow-x-offset-0, 0px) var(--shadow-shadow-1-card-property-3-y-offset, 3px) var(--shadow-shadow-1-card-property-3-blur, 9px) var(--shadow-shadow-1-card-property-3-spread, 6px) var(--shadow-color-5, rgba(31, 31, 31, .05))!important}.gator-dropzone_small{padding:var(--spacing-gap-8, .5rem);align-items:start}.gator-dropzone_error{border:var(--size-stroke-1, 1px) dashed var(--color-stroke-error, #AA330E)}ngc-icon{--ngc-icon-display: inline-flex}.gator-dropzone-content-heading{display:flex;align-items:center;gap:16px}.gator-dropzone-button-content{display:flex;flex-direction:row;align-items:center;gap:var(--spacing-gap-8, .5rem)}.gator-hidden-input-container{display:none}.gator-dropzone-content-accepted-files{display:flex;justify-content:center;gap:var(--spacing-padding-margin-4, 4px);color:var(--help-text-text-color-default, #6D6D6D);margin-top:1rem;text-align:center;font-size:var(--text-size-body-2, 15px);font-style:normal;font-weight:400;line-height:var(--text-line-height-body-2, 22px);letter-spacing:var(--text-letter-spacing-default, 0px)}.gator-dropzone-uploaded-files{margin-top:var(--spacing-gap-12, 12px)}';export{e as default};
1
+ const e='@keyframes passing-through{0%{opacity:0;transform:translateY(40px)}30%,70%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-40px)}}@keyframes slide-in{0%{opacity:0;transform:translateY(40px)}30%{opacity:1;transform:translateY(0)}}@keyframes pulse{0%{transform:scale(1)}10%{transform:scale(1.1)}20%{transform:scale(1)}}.dropzone,.dropzone *{box-sizing:border-box}.dropzone{min-height:150px;border:1px solid rgba(0,0,0,.8);border-radius:5px;padding:20px}.dropzone.dz-clickable{cursor:pointer}.dropzone.dz-clickable *{cursor:default}.dropzone.dz-clickable .dz-message,.dropzone.dz-clickable .dz-message *{cursor:pointer}.dropzone.dz-started .dz-message{display:none}.dropzone.dz-drag-hover{border-style:solid}.dropzone.dz-drag-hover .dz-message{opacity:.5}.dropzone .dz-message{text-align:center;margin:3em 0}.dropzone .dz-message .dz-button{background:none;color:inherit;border:none;padding:0;font:inherit;cursor:pointer;outline:inherit}.dropzone .dz-preview{position:relative;display:inline-block;vertical-align:top;margin:16px;min-height:100px}.dropzone .dz-preview:hover{z-index:1000}.dropzone .dz-preview.dz-file-preview .dz-image{border-radius:20px;background:#999;background:linear-gradient(to bottom,#eee,#ddd)}.dropzone .dz-preview.dz-file-preview .dz-details{opacity:1}.dropzone .dz-preview.dz-image-preview{background:#fff}.dropzone .dz-preview.dz-image-preview .dz-details{transition:opacity .2s linear}.dropzone .dz-preview .dz-remove{font-size:14px;text-align:center;display:block;cursor:pointer;border:none}.dropzone .dz-preview .dz-remove:hover{text-decoration:underline}.dropzone .dz-preview:hover .dz-details{opacity:1}.dropzone .dz-preview .dz-details{z-index:20;position:absolute;top:0;left:0;opacity:0;font-size:13px;min-width:100%;max-width:100%;padding:2em 1em;text-align:center;color:#000000e6;line-height:150%}.dropzone .dz-preview .dz-details .dz-size{margin-bottom:1em;font-size:16px}.dropzone .dz-preview .dz-details .dz-filename{white-space:nowrap}.dropzone .dz-preview .dz-details .dz-filename:hover span{border:1px solid rgba(200,200,200,.8);background-color:#fffc}.dropzone .dz-preview .dz-details .dz-filename:not(:hover){overflow:hidden;text-overflow:ellipsis}.dropzone .dz-preview .dz-details .dz-filename:not(:hover) span{border:1px solid transparent}.dropzone .dz-preview .dz-details .dz-filename span,.dropzone .dz-preview .dz-details .dz-size span{background-color:#fff6;padding:0 .4em;border-radius:3px}.dropzone .dz-preview:hover .dz-image img{transform:scale(1.05);filter:blur(8px)}.dropzone .dz-preview .dz-image{border-radius:20px;overflow:hidden;width:120px;height:120px;position:relative;display:block;z-index:10}.dropzone .dz-preview .dz-image img{display:block}.dropzone .dz-preview.dz-success .dz-success-mark{animation:passing-through 3s cubic-bezier(.77,0,.175,1)}.dropzone .dz-preview.dz-error .dz-error-mark{opacity:1;animation:slide-in 3s cubic-bezier(.77,0,.175,1)}.dropzone .dz-preview .dz-success-mark,.dropzone .dz-preview .dz-error-mark{pointer-events:none;opacity:0;z-index:500;position:absolute;display:block;top:50%;left:50%;margin-left:-27px;margin-top:-27px;background:#000c;border-radius:50%}.dropzone .dz-preview .dz-success-mark svg,.dropzone .dz-preview .dz-error-mark svg{display:block;width:54px;height:54px;fill:#fff}.dropzone .dz-preview.dz-processing .dz-progress{opacity:1;transition:all .2s linear}.dropzone .dz-preview.dz-complete .dz-progress{opacity:0;transition:opacity .4s ease-in}.dropzone .dz-preview:not(.dz-processing) .dz-progress{animation:pulse 6s ease infinite}.dropzone .dz-preview .dz-progress{opacity:1;z-index:1000;pointer-events:none;position:absolute;height:20px;top:50%;margin-top:-10px;left:15%;right:15%;border:3px solid rgba(0,0,0,.8);background:#000c;border-radius:10px;overflow:hidden}.dropzone .dz-preview .dz-progress .dz-upload{background:#fff;display:block;position:relative;height:100%;width:0;transition:width .3s ease-in-out;border-radius:17px}.dropzone .dz-preview.dz-error .dz-error-message{display:block}.dropzone .dz-preview.dz-error:hover .dz-error-message{opacity:1;pointer-events:auto}.dropzone .dz-preview .dz-error-message{pointer-events:none;z-index:1000;position:absolute;display:block;display:none;opacity:0;transition:opacity .3s ease;border-radius:8px;font-size:13px;top:130px;left:-10px;width:140px;background:#b10606;padding:.5em 1em;color:#fff}.dropzone .dz-preview .dz-error-message:after{content:"";position:absolute;top:-6px;left:64px;width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid rgb(177,6,6)}.gator-dropzone{font-family:var(--text-family-body, "Open Sans", sans-serif);display:flex;padding:var(--spacing-gap-24, 1.5rem);flex-direction:column;align-items:center;gap:var(--spacing-gap-16, 1rem);align-self:stretch;border-radius:var(--radius-medium, .5rem);border:var(--size-stroke-1, 1px) dashed var(--color-stroke-primary, #6D6D6D)}.gator-dropzone:hover{cursor:pointer;border:var(--size-stroke-1, 1px) dashed var(--color-stroke-primary-hover, #4B4B4B);background:var(--color-surface-hover, #F7F7F7)}.gator-dropzone_disabled{color:var(--text-color-disabled, #808080)!important;border:var(--size-stroke-1, 1px) dashed var(--color-stroke-disabled, #BFBFBF);background:var(--color-surface-disabled, #F2F2F2);cursor:not-allowed}.gator-dropzone_disabled:hover{cursor:not-allowed;border:var(--size-stroke-1, 1px) dashed var(--color-stroke-disabled, #BFBFBF);background:var(--color-surface-disabled, #F2F2F2)}.gator-dropzone_dragover{border:var(--size-stroke-2, 2px) solid var(--color-stroke-brand, #11395B)!important;background:var(--color-surface-brand-hover, #E4ECF2)!important;box-shadow:var(--shadow-x-offset-0, 0px) var(--shadow-shadow-1-card-property-1-y-offset, 1px) var(--shadow-shadow-1-card-property-1-blur, 1.5px) var(--shadow-shadow-1-card-property-1-spread, 0px) var(--shadow-color-4, rgba(31, 31, 31, .04)),var(--shadow-x-offset-0, 0px) var(--shadow-shadow-1-card-property-2-y-offset, 2px) var(--shadow-shadow-1-card-property-2-blur, 5px) var(--shadow-shadow-1-card-property-2-spread, 0px) var(--shadow-color-10, rgba(31, 31, 31, .1)),var(--shadow-x-offset-0, 0px) var(--shadow-shadow-1-card-property-3-y-offset, 3px) var(--shadow-shadow-1-card-property-3-blur, 9px) var(--shadow-shadow-1-card-property-3-spread, 6px) var(--shadow-color-5, rgba(31, 31, 31, .05))!important}.gator-dropzone_small{padding:var(--spacing-gap-8, .5rem);align-items:start}.gator-dropzone_error{border:var(--size-stroke-1, 1px) dashed var(--color-stroke-error, #AA330E)}ngc-icon{--ngc-icon-display: inline-flex}.gator-dropzone-content-heading{display:flex;align-items:center;gap:16px}.gator-dropzone-button-content{display:flex;flex-direction:row;align-items:center;gap:var(--spacing-gap-8, .5rem)}.gator-hidden-input-container{display:none}.gator-dropzone-content-accepted-files{display:flex;justify-content:center;gap:var(--spacing-padding-margin-4, 4px);color:var(--help-text-text-color-default, #6D6D6D);margin-top:1rem;text-align:center;font-size:var(--text-size-body-2, 15px);font-style:normal;font-weight:400;line-height:var(--text-line-height-body-2, 22px);letter-spacing:var(--text-letter-spacing-default, 0px)}.gator-dropzone-uploaded-files{margin-top:var(--spacing-gap-12, 12px);display:flex;flex-direction:column;gap:var(--spacing-gap-8, 8px)}';export{e as default};
@@ -2,6 +2,7 @@ import { NgcComponent } from '../../../../../utils/components/ngc-component.ts';
2
2
  export declare class NgcFileUploadPreview extends NgcComponent {
3
3
  static styles: import('lit').CSSResult[];
4
4
  value: File[];
5
+ uploading: boolean;
5
6
  /**
6
7
  @property errorText - The error text within the file preview. When populated the preview is put into an error state.
7
8
  @type string
@@ -9,9 +10,12 @@ export declare class NgcFileUploadPreview extends NgcComponent {
9
10
  errorText: string;
10
11
  render(): import('lit').TemplateResult<1>;
11
12
  get contentText(): string | import('lit').TemplateResult;
13
+ get uploadingMarkup(): import('lit').TemplateResult<1> | null;
14
+ get actionsMarkup(): import('lit').TemplateResult<1>;
12
15
  get inErrorState(): string;
13
16
  get defaultIconContent(): import('lit').TemplateResult<1>;
14
17
  get errorClass(): "" | "gator-file-upload-preview_error";
18
+ handleCancelUpload(): void;
15
19
  }
16
20
  declare global {
17
21
  interface HTMLElementTagNameMap {
@@ -23,6 +23,10 @@ export declare class NgcInputFile extends NgcInputBase {
23
23
  * @property {boolean} multiple If true, allows multiple files to be selected
24
24
  */
25
25
  multiple: boolean;
26
+ /**
27
+ * @property {boolean} uploading If true, shows an uploading state
28
+ */
29
+ uploading: boolean;
26
30
  dropzoneRef: Ref<HTMLDivElement>;
27
31
  hiddenInputContainerRef: Ref<HTMLDivElement>;
28
32
  previewRef: Ref<NgcFileUploadPreview>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ncino/web-components",
3
3
  "author": "nCino",
4
- "version": "4.2.1-preview.3",
4
+ "version": "4.3.0-preview.1",
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": "4.2.1-preview.2",
4
+ "version": "4.2.1",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -3629,10 +3629,14 @@
3629
3629
  },
3630
3630
  {
3631
3631
  "name": "ngc-file-upload-preview",
3632
- "description": "\n---\n\n\n### **Methods:**\n - **removeAttributesFromHost(name: _string_, oldValue: _string_, newValue: _string_)** - Removes an attribute from the host element and stores its original value in the map.\nAlso updates the corresponding `dataset` property for the attribute.\n- **restoreAttributesToHost()** - Restores all previously removed attributes to the host element.\nClears the map of removed attributes after restoration.",
3632
+ "description": "\n---\n\n\n### **Events:**\n - **cancel-upload**\n\n### **Methods:**\n - **removeAttributesFromHost(name: _string_, oldValue: _string_, newValue: _string_)** - Removes an attribute from the host element and stores its original value in the map.\nAlso updates the corresponding `dataset` property for the attribute.\n- **restoreAttributesToHost()** - Restores all previously removed attributes to the host element.\nClears the map of removed attributes after restoration.",
3633
3633
  "doc-url": "",
3634
3634
  "attributes": [
3635
3635
  { "name": "value", "value": { "type": "File[]", "default": "[]" } },
3636
+ {
3637
+ "name": "uploading",
3638
+ "value": { "type": "boolean", "default": "false" }
3639
+ },
3636
3640
  {
3637
3641
  "name": "error-text",
3638
3642
  "value": { "type": "string", "default": "''" }
@@ -3647,12 +3651,15 @@
3647
3651
  "value": { "type": "string | undefined", "default": "undefined" }
3648
3652
  }
3649
3653
  ],
3650
- "events": [],
3654
+ "events": [{ "name": "cancel-upload", "type": "CustomEvent" }],
3651
3655
  "js": {
3652
3656
  "properties": [
3653
3657
  { "name": "value", "type": "File[]" },
3658
+ { "name": "uploading", "type": "boolean" },
3654
3659
  { "name": "errorText", "type": "string" },
3655
3660
  { "name": "contentText" },
3661
+ { "name": "uploadingMarkup" },
3662
+ { "name": "actionsMarkup" },
3656
3663
  { "name": "inErrorState" },
3657
3664
  { "name": "defaultIconContent" },
3658
3665
  { "name": "errorClass" },
@@ -3671,7 +3678,7 @@
3671
3678
  { "name": "helpTextDataTestid" },
3672
3679
  { "name": "errorMessageDataTestid" }
3673
3680
  ],
3674
- "events": []
3681
+ "events": [{ "name": "cancel-upload", "type": "CustomEvent" }]
3675
3682
  }
3676
3683
  },
3677
3684
  {
@@ -3702,6 +3709,10 @@
3702
3709
  "name": "multiple",
3703
3710
  "value": { "type": "boolean", "default": "false" }
3704
3711
  },
3712
+ {
3713
+ "name": "uploading",
3714
+ "value": { "type": "boolean", "default": "false" }
3715
+ },
3705
3716
  { "name": "id", "value": { "type": "string", "default": "''" } },
3706
3717
  {
3707
3718
  "name": "required",
@@ -3775,6 +3786,7 @@
3775
3786
  { "name": "state", "type": "string" },
3776
3787
  { "name": "size", "type": "string" },
3777
3788
  { "name": "multiple", "type": "boolean" },
3789
+ { "name": "uploading", "type": "boolean" },
3778
3790
  { "name": "dropzoneRef", "type": "Ref<HTMLDivElement>" },
3779
3791
  {
3780
3792
  "name": "hiddenInputContainerRef",