@ncino/web-components 4.1.0 → 4.2.0
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.
- package/dist/components/input/gator/input-file/file-uploaded-preview/file-upload-preview.gator.js +10 -5
- package/dist/components/input/gator/input-file/input-file.gator.js +22 -20
- package/dist/packages/web-components/src/components/button-group/gator/button-group.gator.scss.js +1 -1
- package/dist/packages/web-components/src/components/input/gator/input-file/file-uploaded-preview/file-upload-preview.gator.scss.js +1 -1
- package/dist/packages/web-components/src/components/input/gator/input-file/input-file.gator.scss.js +1 -1
- package/dist/types/components/input/gator/input-file/file-uploaded-preview/file-upload-preview.gator.d.ts +8 -0
- package/dist/types/components/input/gator/input-file/input-file.gator.d.ts +18 -7
- package/dist/utils/vitest-a11y-utils.js +1 -1
- package/package.json +1 -1
- package/web-types.json +19 -6
- /package/dist/node_modules/.pnpm/{@vitest_browser@3.2.0_msw@2.7.3_@types_node@22.15.21_typescript@5.8.3__playwright@1.52._69fe3aa5bafb5870129d66fd4b43fd69 → @vitest_browser@3.2.0_msw@2.7.3_@types_node@22.15.29_typescript@5.8.3__playwright@1.52._b8e25df0066052f4b376435335cc964b}/node_modules/@vitest/browser/context.js +0 -0
- /package/dist/node_modules/.pnpm/{vitest@3.2.0_@types_debug@4.1.12_@types_node@22.15.21_@vitest_browser@3.2.0_@vitest_ui@_14788fcd511f0c706d416dcd7d5ee669 → vitest@3.2.0_@types_debug@4.1.12_@types_node@22.15.29_@vitest_browser@3.2.0_@vitest_ui@_380928fb48d45118a64498d466bac5bf}/node_modules/vitest/dist/chunks/_commonjsHelpers.BFTU3MAI.js +0 -0
- /package/dist/node_modules/.pnpm/{vitest@3.2.0_@types_debug@4.1.12_@types_node@22.15.21_@vitest_browser@3.2.0_@vitest_ui@_14788fcd511f0c706d416dcd7d5ee669 → vitest@3.2.0_@types_debug@4.1.12_@types_node@22.15.29_@vitest_browser@3.2.0_@vitest_ui@_380928fb48d45118a64498d466bac5bf}/node_modules/vitest/dist/chunks/date.Bq6ZW5rf.js +0 -0
- /package/dist/node_modules/.pnpm/{vitest@3.2.0_@types_debug@4.1.12_@types_node@22.15.21_@vitest_browser@3.2.0_@vitest_ui@_14788fcd511f0c706d416dcd7d5ee669 → vitest@3.2.0_@types_debug@4.1.12_@types_node@22.15.29_@vitest_browser@3.2.0_@vitest_ui@_380928fb48d45118a64498d466bac5bf}/node_modules/vitest/dist/chunks/utils.XdZDrNZV.js +0 -0
- /package/dist/node_modules/.pnpm/{vitest@3.2.0_@types_debug@4.1.12_@types_node@22.15.21_@vitest_browser@3.2.0_@vitest_ui@_14788fcd511f0c706d416dcd7d5ee669 → vitest@3.2.0_@types_debug@4.1.12_@types_node@22.15.29_@vitest_browser@3.2.0_@vitest_ui@_380928fb48d45118a64498d466bac5bf}/node_modules/vitest/dist/chunks/vi.bdSIJ99Y.js +0 -0
package/dist/components/input/gator/input-file/file-uploaded-preview/file-upload-preview.gator.js
CHANGED
|
@@ -1,14 +1,19 @@
|
|
|
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 s}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 f}from"../../../../../utils/components/ngc-component.js";import u from"../../../../../packages/web-components/src/components/input/gator/input-file/file-uploaded-preview/file-upload-preview.gator.scss.js";import{msg as a}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 d}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,_=Object.getPrototypeOf,w=Reflect.get,n=(p,r,i,m)=>{for(var t=m>1?void 0:m?h(r,i):r,e=p.length-1,l;e>=0;e--)(l=p[e])&&(t=(m?l(r,i,t):l(t))||t);return m&&t&&g(r,i,t),t},y=(p,r,i)=>w(_(p),i,r);let o=class extends f{constructor(){super(...arguments),this.value=[]}render(){return s`
|
|
2
|
-
<div class="gator-file-upload-preview">
|
|
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`
|
|
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">
|
|
5
5
|
<slot name="icon">
|
|
6
|
-
|
|
6
|
+
${this.defaultIconContent}
|
|
7
7
|
</slot>
|
|
8
8
|
</div>
|
|
9
9
|
<div class="gator-file-upload-preview-content">
|
|
10
10
|
<slot name="content">
|
|
11
|
-
|
|
11
|
+
<div class="gator-file-upload-preview-content-text">
|
|
12
|
+
${this.contentText}
|
|
13
|
+
</div>
|
|
14
|
+
<div class="gator-file-upload-preview-content-error-text">
|
|
15
|
+
${this.errorText}
|
|
16
|
+
</div>
|
|
12
17
|
</slot>
|
|
13
18
|
</div>
|
|
14
19
|
</div>
|
|
@@ -16,4 +21,4 @@ import{customElement as v}from"../../../../../node_modules/.pnpm/@lit_reactive-e
|
|
|
16
21
|
<slot name="actions"></slot>
|
|
17
22
|
</div>
|
|
18
23
|
</div>
|
|
19
|
-
`}get contentText(){return this.value?this.value.length>1?
|
|
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};
|
|
@@ -1,38 +1,40 @@
|
|
|
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 n}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 s}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 z 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 a}from"../../../../node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/init/install.js";import{localized as _}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{unsafeCSS as $}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/css-tag.js";var y=Object.defineProperty,C=Object.getOwnPropertyDescriptor,R=Object.getPrototypeOf,w=Reflect.get,e=(t,i,m,r)=>{for(var o=r>1?void 0:r?C(i,m):i,l=t.length-1,d;l>=0;l--)(d=t[l])&&(o=(r?d(i,m,o):d(o))||o);return r&&o&&y(i,m,o),o},x=(t,i,m)=>w(R(t),m,i);let p=class extends v{constructor(){super(...arguments),this.value=[],this.accept=void 0,this.state="default",this.size="default",this.dropzoneRef=u(),this.hiddenInputContainerRef=u(),this.previewRef=u(),this._loadedDropzone=!1,this._uploadFailed=!1}render(){return s`
|
|
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`
|
|
2
2
|
${this.labelMarkup}
|
|
3
|
-
<div class="
|
|
3
|
+
<div class="${b(this.dropzoneClasses)}" ${h(this.dropzoneRef)}>
|
|
4
4
|
<div class="gator-dropzone-content">
|
|
5
5
|
<div class="gator-dropzone-content-heading">
|
|
6
|
-
<ngc-button
|
|
6
|
+
<ngc-button
|
|
7
|
+
variant="secondary"
|
|
8
|
+
@click="${this.handleButtonClick}"
|
|
9
|
+
?disabled="${this.disabled}"
|
|
10
|
+
>
|
|
7
11
|
<div class="gator-dropzone-button-content">
|
|
8
12
|
<ngc-icon name="upload"></ngc-icon>
|
|
9
|
-
${
|
|
13
|
+
${l("Select Files")}
|
|
10
14
|
</div>
|
|
11
15
|
</ngc-button>
|
|
12
|
-
<span>
|
|
13
|
-
${a("or drop them here")}
|
|
14
|
-
</span>
|
|
16
|
+
<span>${l("or drop them here")}</span>
|
|
15
17
|
</div>
|
|
16
|
-
${this.size!=="small"?
|
|
18
|
+
${this.size!=="small"?a`
|
|
17
19
|
<div class="gator-dropzone-content-accepted-files">
|
|
18
20
|
${this.displayedAcceptsString}
|
|
19
21
|
</div>`:null}
|
|
20
22
|
</div>
|
|
21
23
|
</div>
|
|
24
|
+
|
|
22
25
|
<div class="gator-dropzone-uploaded-files">
|
|
23
26
|
<slot name="preview">
|
|
24
|
-
${this.value&&this.value.length>0
|
|
25
|
-
|
|
27
|
+
${this.value&&this.value.length>0?a`
|
|
28
|
+
<ngc-file-upload-preview
|
|
29
|
+
.value="${this.value}"
|
|
30
|
+
${h(this.previewRef)}
|
|
31
|
+
></ngc-file-upload-preview>`:null}
|
|
26
32
|
</slot>
|
|
27
33
|
</div>
|
|
28
|
-
${this.size==="small"?this.
|
|
34
|
+
${this.size==="small"&&this.hasError?this.displayedAcceptsString:null}
|
|
29
35
|
<div class="gator-hidden-input-container" ${h(this.hiddenInputContainerRef)}></div>
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
<ngc-help-text icon="warning" error
|
|
36
|
-
data-testid=${this.errorMessageDataTestid}>
|
|
37
|
-
${a("Unsupported file type.")}
|
|
38
|
-
</ngc-help-text>`:null}get hasError(){return this.errorText||this._uploadFailed}sendChangeEvent(){this.dispatchEvent(new CustomEvent("change",{bubbles:!0,detail:{value:this.value}}))}handleButtonClick(){var t;(t=this.inputElement)==null||t.click()}get displayedAcceptsString(){if(this.hasError)return this.errorTextMarkup;let t=a("Accepted file types")+": ";return this.accept?t+=this.accept.split(",").map(i=>i.replace(/^\./,"")).join(", "):t+=a("Any"),t}get inputElement(){var t;return(t=this.hiddenInputContainerRef.value)==null?void 0:t.querySelector("input")}};p.styles=[...x(p,p,"styles"),$(z)];e([n({type:Array})],p.prototype,"value",2);e([n({type:String})],p.prototype,"accept",2);e([n({type:String})],p.prototype,"state",2);e([n({type:String})],p.prototype,"size",2);e([f()],p.prototype,"_uploadFailed",2);p=e([c("ngc-input-file"),_()],p);export{p as NgcInputFile};
|
|
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`
|
|
37
|
+
<ngc-help-text icon="warning" error data-testid=${this.errorMessageDataTestid}>
|
|
38
|
+
${this.errorTextString} ${this.errorText?null:i}
|
|
39
|
+
</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};
|
package/dist/packages/web-components/src/components/button-group/gator/button-group.gator.scss.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const t=".gator-button-group{display:flex;align-items:center;justify-content:var(--ngc-button-group-justify-content, auto);gap:var(--ngc-button-group-gap, 1rem)}.gator-button-group_horizontal{flex-direction:row}.gator-button-group_stacked{flex-direction:column}::slotted(.gator-button-group_overflow){display:flex;position:absolute;visibility:hidden;height:auto;overflow:hidden;white-space:nowrap}";export{t as default};
|
|
@@ -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}.gator-file-upload-preview-actions{display:flex;justify-content:end}';export{e as default};
|
|
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};
|
package/dist/packages/web-components/src/components/input/gator/input-file/input-file.gator.scss.js
CHANGED
|
@@ -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_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)}';export{e as default};
|
|
@@ -2,8 +2,16 @@ 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
|
+
/**
|
|
6
|
+
@property errorText - The error text within the file preview. When populated the preview is put into an error state.
|
|
7
|
+
@type string
|
|
8
|
+
*/
|
|
9
|
+
errorText: string;
|
|
5
10
|
render(): import('lit').TemplateResult<1>;
|
|
6
11
|
get contentText(): string | import('lit').TemplateResult;
|
|
12
|
+
get inErrorState(): string;
|
|
13
|
+
get defaultIconContent(): import('lit').TemplateResult<1>;
|
|
14
|
+
get errorClass(): "" | "gator-file-upload-preview_error";
|
|
7
15
|
}
|
|
8
16
|
declare global {
|
|
9
17
|
interface HTMLElementTagNameMap {
|
|
@@ -19,22 +19,33 @@ export declare class NgcInputFile extends NgcInputBase {
|
|
|
19
19
|
* @property {string} size The visual size of the input
|
|
20
20
|
*/
|
|
21
21
|
size: string;
|
|
22
|
+
/**
|
|
23
|
+
* @property {boolean} multiple If true, allows multiple files to be selected
|
|
24
|
+
*/
|
|
25
|
+
multiple: boolean;
|
|
22
26
|
dropzoneRef: Ref<HTMLDivElement>;
|
|
23
27
|
hiddenInputContainerRef: Ref<HTMLDivElement>;
|
|
24
28
|
previewRef: Ref<NgcFileUploadPreview>;
|
|
25
|
-
_loadedDropzone: boolean;
|
|
26
29
|
private _dropzone;
|
|
30
|
+
private _observer;
|
|
27
31
|
_uploadFailed: boolean;
|
|
32
|
+
private _loadedDropzone;
|
|
33
|
+
_multipleUploadFailure: boolean;
|
|
28
34
|
render(): import('lit').TemplateResult<1>;
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
35
|
+
get dropzoneClasses(): {
|
|
36
|
+
'gator-dropzone': boolean;
|
|
37
|
+
'gator-dropzone_small': boolean;
|
|
38
|
+
'gator-dropzone_error': string | boolean;
|
|
39
|
+
'gator-dropzone_disabled': boolean;
|
|
40
|
+
};
|
|
41
|
+
updated(changedProps: Map<string, unknown>): void;
|
|
42
|
+
get errorTextString(): string;
|
|
33
43
|
get hasError(): string | boolean;
|
|
34
44
|
sendChangeEvent(): void;
|
|
35
45
|
handleButtonClick(): void;
|
|
36
|
-
get displayedAcceptsString(): string | import('lit').TemplateResult<1
|
|
37
|
-
get inputElement(): HTMLInputElement
|
|
46
|
+
get displayedAcceptsString(): string | import('lit').TemplateResult<1>;
|
|
47
|
+
get inputElement(): HTMLInputElement;
|
|
48
|
+
disconnectedCallback(): void;
|
|
38
49
|
}
|
|
39
50
|
declare global {
|
|
40
51
|
interface HTMLElementTagNameMap {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{page as n}from"../node_modules/.pnpm/@vitest_browser@3.2.0_msw@2.7.3_@types_node@22.15.
|
|
1
|
+
import{page as n}from"../node_modules/.pnpm/@vitest_browser@3.2.0_msw@2.7.3_@types_node@22.15.29_typescript@5.8.3__playwright@1.52._b8e25df0066052f4b376435335cc964b/node_modules/@vitest/browser/context.js";import a from"../_virtual/axe.js";import{a as o}from"../node_modules/.pnpm/vitest@3.2.0_@types_debug@4.1.12_@types_node@22.15.29_@vitest_browser@3.2.0_@vitest_ui@_380928fb48d45118a64498d466bac5bf/node_modules/vitest/dist/chunks/vi.bdSIJ99Y.js";const p="Supercalifragilisticexpialidocious".repeat(10);async function u(e){return(await a.run(e)).violations}async function x(e){const t=await u(e);o(t,`Expected no axe core violations, but got ${t.length}`).toHaveLength(0)}function h(){return n.viewport(320,256)}function g(e){let t;if(e.scrollWidth!==0?t=e:e.shadowRoot?t=e.shadowRoot.firstElementChild:t=e.firstElementChild,t){const r=t.scrollWidth>t.clientWidth;return o(r).toBe(!1)}return o(!0).toBe(!1)}function w(e,t,r){var l;let i=e.querySelector(":focus-visible");if(i||(i=(l=e.shadowRoot)==null?void 0:l.querySelector(":focus-visible")),i){const s=getComputedStyle(i).getPropertyValue(t);return o(s).toContain(r)}return o(!0).toBe(!1)}export{w as expectComponentFocusStyle,g as expectComponentNotToHaveHorizontalScrollbar,x as expectNoAxeViolations,h as resizeWindowForReflowTest,u as runAxeAndGetViolations,p as superLongStringForReflowTest};
|
package/package.json
CHANGED
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.
|
|
4
|
+
"version": "4.1.0",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -3633,6 +3633,10 @@
|
|
|
3633
3633
|
"doc-url": "",
|
|
3634
3634
|
"attributes": [
|
|
3635
3635
|
{ "name": "value", "value": { "type": "File[]", "default": "[]" } },
|
|
3636
|
+
{
|
|
3637
|
+
"name": "error-text",
|
|
3638
|
+
"value": { "type": "string", "default": "''" }
|
|
3639
|
+
},
|
|
3636
3640
|
{
|
|
3637
3641
|
"name": "delegatesARIA",
|
|
3638
3642
|
"description": "A boolean property that determines whether ARIA-related attributes\n(e.g., `aria-label`, `aria-labelledby`, `role`, etc.) are managed\nby the host element or delegated to the component.\n\n- When `true` (default), ARIA attributes are removed from the host\n and managed internally by the component.\n- When `false`, previously removed ARIA attributes are restored\n to the host element.",
|
|
@@ -3647,7 +3651,11 @@
|
|
|
3647
3651
|
"js": {
|
|
3648
3652
|
"properties": [
|
|
3649
3653
|
{ "name": "value", "type": "File[]" },
|
|
3654
|
+
{ "name": "errorText", "type": "string" },
|
|
3650
3655
|
{ "name": "contentText" },
|
|
3656
|
+
{ "name": "inErrorState" },
|
|
3657
|
+
{ "name": "defaultIconContent" },
|
|
3658
|
+
{ "name": "errorClass" },
|
|
3651
3659
|
{
|
|
3652
3660
|
"name": "shouldApplyAttributeDeletion",
|
|
3653
3661
|
"description": "Determines whether attribute deletion should be applied.\nThis is controlled by the `delegatesARIA` property.",
|
|
@@ -3690,6 +3698,10 @@
|
|
|
3690
3698
|
"name": "size",
|
|
3691
3699
|
"value": { "type": "string", "default": "'default'" }
|
|
3692
3700
|
},
|
|
3701
|
+
{
|
|
3702
|
+
"name": "multiple",
|
|
3703
|
+
"value": { "type": "boolean", "default": "false" }
|
|
3704
|
+
},
|
|
3693
3705
|
{ "name": "id", "value": { "type": "string", "default": "''" } },
|
|
3694
3706
|
{
|
|
3695
3707
|
"name": "required",
|
|
@@ -3762,20 +3774,20 @@
|
|
|
3762
3774
|
{ "name": "accept", "type": "string | undefined" },
|
|
3763
3775
|
{ "name": "state", "type": "string" },
|
|
3764
3776
|
{ "name": "size", "type": "string" },
|
|
3777
|
+
{ "name": "multiple", "type": "boolean" },
|
|
3765
3778
|
{ "name": "dropzoneRef", "type": "Ref<HTMLDivElement>" },
|
|
3766
3779
|
{
|
|
3767
3780
|
"name": "hiddenInputContainerRef",
|
|
3768
3781
|
"type": "Ref<HTMLDivElement>"
|
|
3769
3782
|
},
|
|
3770
3783
|
{ "name": "previewRef", "type": "Ref<NgcFileUploadPreview>" },
|
|
3771
|
-
{ "name": "_loadedDropzone", "type": "boolean" },
|
|
3772
3784
|
{ "name": "_uploadFailed", "type": "boolean" },
|
|
3773
|
-
{ "name": "
|
|
3774
|
-
{ "name": "
|
|
3775
|
-
{ "name": "
|
|
3785
|
+
{ "name": "_multipleUploadFailure", "type": "boolean" },
|
|
3786
|
+
{ "name": "dropzoneClasses" },
|
|
3787
|
+
{ "name": "errorTextString" },
|
|
3776
3788
|
{ "name": "hasError" },
|
|
3777
3789
|
{ "name": "displayedAcceptsString" },
|
|
3778
|
-
{ "name": "inputElement" },
|
|
3790
|
+
{ "name": "inputElement", "type": "HTMLInputElement" },
|
|
3779
3791
|
{ "name": "controlRef", "type": "Ref<HTMLDivElement>" },
|
|
3780
3792
|
{ "name": "shouldHaveStartMarkup" },
|
|
3781
3793
|
{ "name": "shouldHaveEndMarkup" },
|
|
@@ -3788,6 +3800,7 @@
|
|
|
3788
3800
|
{ "name": "helpTextMarkup" },
|
|
3789
3801
|
{ "name": "helpTextId" },
|
|
3790
3802
|
{ "name": "bottomText" },
|
|
3803
|
+
{ "name": "errorTextMarkup" },
|
|
3791
3804
|
{ "name": "errorTextId" },
|
|
3792
3805
|
{ "name": "ariaDescribedby" },
|
|
3793
3806
|
{ "name": "controlClasses" },
|