@ncino/web-components 2.2.0-preview.7 → 3.0.0-preview.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/accordion/gator/base/accordion.gator.js +1 -1
- package/dist/components/accordion/gator/group/accordion-group.gator.js +1 -1
- package/dist/components/accordion/index.js +1 -1
- package/dist/components/alert/gator/base/alert.gator.js +1 -1
- package/dist/components/alert/index.js +1 -1
- package/dist/components/banner/gator/banner.gator.js +1 -1
- package/dist/components/banner/index.js +1 -1
- package/dist/components/boolean/boolean.gator.js +1 -1
- package/dist/components/boolean/index.js +1 -1
- package/dist/components/checkbox/checkbox.gator.js +1 -1
- package/dist/components/checkbox/index.js +1 -1
- package/dist/components/checkbox-group/checkbox-group.gator.js +1 -1
- package/dist/components/checkbox-group/index.js +1 -1
- package/dist/components/date-picker/base/gator/datepicker.gator.js +1 -1
- package/dist/components/display-card/gator/display-card.gator.js +1 -1
- package/dist/components/display-card/index.js +1 -1
- package/dist/components/headline-card/gator/headline-card.gator.js +1 -1
- package/dist/components/headline-card/index.js +1 -1
- package/dist/components/icon/gator/icon.gator.js +1 -1
- package/dist/components/icon/gator/index.js +1 -1
- package/dist/components/icon/index.js +1 -1
- package/dist/components/icon-button/gator/icon-button.gator.js +1 -1
- package/dist/components/icon-button/index.js +1 -1
- package/dist/components/input/base/input-base.gator.js +1 -1
- package/dist/components/input/gator/dropdown/input-dropdown.gator.js +27 -12
- package/dist/components/input/gator/help-text/help-text.gator.js +1 -1
- package/dist/components/input/gator/input-currency/input-currency.gator.js +1 -1
- package/dist/components/input/gator/input-date/input-date.gator.js +1 -1
- package/dist/components/input/gator/input-file/file-uploaded-preview/file-upload-preview.gator.js +19 -0
- package/dist/components/input/gator/input-file/input-file.gator.js +59 -0
- package/dist/components/input/gator/input-masked/input-masked.gator.js +1 -1
- package/dist/components/input/gator/input-percent/input-percent.gator.js +1 -1
- package/dist/components/input/gator/input-phone/input-phone.gator.js +1 -1
- package/dist/components/input/gator/input-text/input-text.gator.js +2 -2
- package/dist/components/input/gator/input-textarea/input-textarea.gator.js +1 -1
- package/dist/components/input/index.gator.js +1 -1
- package/dist/components/input/index.js +1 -1
- package/dist/components/list/gator/list/index.js +1 -1
- package/dist/components/list/gator/list/list.gator.js +3 -2
- package/dist/components/list/gator/list-item/index.js +1 -1
- package/dist/components/list/gator/list-item/list-item.gator.js +1 -1
- package/dist/components/list/index.js +1 -1
- package/dist/components/modal/gator/modal.gator.js +1 -1
- package/dist/components/modal/index.js +1 -1
- package/dist/components/progress-bar/gator/progress-bar.gator.js +1 -1
- package/dist/components/progress-bar/index.js +1 -1
- package/dist/components/radio/index.js +1 -1
- package/dist/components/radio/radio.gator.js +1 -1
- package/dist/components/radio-group/index.js +1 -1
- package/dist/components/radio-group/radio-group.gator.js +1 -1
- package/dist/components/selection-box/index.js +1 -1
- package/dist/components/selection-box/selection-box.gator.js +1 -1
- package/dist/components/selection-box-group/index.js +1 -1
- package/dist/components/selection-box-group/selection-box-group.gator.js +1 -1
- package/dist/components/table/gator/table.gator.js +1 -1
- package/dist/components/table/index.js +1 -1
- package/dist/components/text-link/gator/text-link.gator.js +1 -1
- package/dist/components/text-link/index.js +1 -1
- package/dist/components/toast/gator/base/toast.gator.js +1 -1
- package/dist/components/toast/index.js +1 -1
- package/dist/index.gator.js +1 -1
- package/dist/index.js +1 -1
- package/dist/index.slds.js +1 -1
- package/dist/types/components/icon/gator/icon.gator.d.ts +7 -2
- package/dist/types/components/input/base/input-base.d.ts +1 -1
- package/dist/types/components/input/gator/dropdown/input-dropdown.gator.d.ts +16 -2
- package/dist/types/components/input/gator/input-file/file-uploaded-preview/file-upload-preview.gator.d.ts +12 -0
- package/dist/types/components/input/gator/input-file/input-file.gator.d.ts +43 -0
- package/dist/types/components/input/gator/input-file/input-file.gator.test.d.ts +0 -0
- package/dist/types/components/input/gator/input-text/input-text.gator.d.ts +1 -1
- package/dist/types/components/input/index.gator.d.ts +2 -0
- package/dist/types/utils/components/ngc-component.d.ts +4 -0
- package/dist/types/utils/components/slot-placeholder/slot-placeholder.d.ts +1 -0
- package/dist/utils/components/ngc-component.js +1 -0
- package/dist/utils/components/slot-placeholder/index.js +1 -1
- package/dist/utils/components/slot-placeholder/slot-placeholder.js +5 -2
- package/package.json +2 -1
- package/web-types.json +280 -95
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./gator/icon-button.gator.js";import"../../assets/index-chunk2.js";import"../../assets/index-chunk3.js";import"../button/slds/button.slds.js";import"../button/button.js";import"../../assets/index-chunk.js";import"../../utils/components/testable-lit-element/testable-lit-element.js";import"../../utils/mixins/attribute-deletion.js";import"../../assets/index-chunk10.js";import"../button/gator/button.gator.js";import"../loading-spinner/gator/loading-spinner.gator.js";import"../loading-spinner/loading-spinner.js";import"../../assets/index-chunk5.js";import"../../assets/index-chunk6.js";import"../../assets/index-chunk7.js";import"../icon/slds/icon.slds.js";import"../icon/icon.js";import"../icon/gator/icon.gator.js";import"../icon/gator/templates/add-link.js";import"../icon/icon-registry.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.js";import"../icon/gator/templates/bell-disabled.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-rise.js";import"../icon/gator/templates/chat.js";import"../icon/gator/templates/check.js";import"../icon/gator/templates/check-circle.js";import"../icon/gator/templates/checkbox.js";import"../icon/gator/templates/checkbox-selected.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.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-filled.js";import"../icon/gator/templates/city.js";import"../icon/gator/templates/clipboard.js";import"../icon/gator/templates/clock.js";import"../icon/gator/templates/clock-clockwise.js";import"../icon/gator/templates/clock-counter-clockwise.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.js";import"../icon/gator/templates/cursor-arrow.js";import"../icon/gator/templates/cursor-hand.js";import"../icon/gator/templates/dashboard.js";import"../icon/gator/templates/delete.js";import"../icon/gator/templates/dna.js";import"../icon/gator/templates/document.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/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/exit.js";import"../icon/gator/templates/exit-circle.js";import"../icon/gator/templates/exit-left.js";import"../icon/gator/templates/expand.js";import"../icon/gator/templates/expand-arrows.js";import"../icon/gator/templates/export.js";import"../icon/gator/templates/eye.js";import"../icon/gator/templates/eye-closed.js";import"../icon/gator/templates/eye-crossed.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.js";import"../icon/gator/templates/filters-2.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/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.js";import"../icon/gator/templates/home-finance-arrow.js";import"../icon/gator/templates/home-search.js";import"../icon/gator/templates/house.js";import"../icon/gator/templates/house-simple.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/label.js";import"../icon/gator/templates/laptop.js";import"../icon/gator/templates/layout.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.js";import"../icon/gator/templates/loading.js";import"../icon/gator/templates/loading-spinner-gif.js";import"../icon/gator/templates/lock.js";import"../icon/gator/templates/magic-wand.js";import"../icon/gator/templates/mail.js";import"../icon/gator/templates/mail-open.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.js";import"../icon/gator/templates/minus-circle.js";import"../icon/gator/templates/minus-square.js";import"../icon/gator/templates/mobile-phone-2.js";import"../icon/gator/templates/monitor.js";import"../icon/gator/templates/move.js";import"../icon/gator/templates/move-doc.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/pen.js";import"../icon/gator/templates/pencil.js";import"../icon/gator/templates/pencil-paper.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.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/phone.js";import"../icon/gator/templates/phone-alert.js";import"../icon/gator/templates/phone-mobile.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.js";import"../icon/gator/templates/plus-circle.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.js";import"../icon/gator/templates/radio-selected.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/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.js";import"../icon/gator/templates/sidebar-simple.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.js";import"../icon/gator/templates/sort-arrow-solid-up-down.js";import"../icon/gator/templates/sort-reverse-variant.js";import"../icon/gator/templates/sort-variant.js";import"../icon/gator/templates/sparkle.js";import"../icon/gator/templates/sparkle-filled.js";import"../icon/gator/templates/speech-bubble.js";import"../icon/gator/templates/stack.js";import"../icon/gator/templates/stamp.js";import"../icon/gator/templates/star.js";import"../icon/gator/templates/star-four.js";import"../icon/gator/templates/star-four-filled.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/target.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/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/warning.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/wet-sign.js";import"../icon/gator/templates/wifi.js";import"../icon/gator/templates/wifi-off.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"../skeleton-loader/gator/skeleton-loader.gator.js";import"../../assets/index-chunk8.js";import"../../assets/index-chunk9.js";import"./icon-button.js";
|
|
1
|
+
import"./gator/icon-button.gator.js";import"../../assets/index-chunk2.js";import"../../assets/index-chunk3.js";import"../button/slds/button.slds.js";import"../button/button.js";import"../../assets/index-chunk.js";import"../../utils/components/testable-lit-element/testable-lit-element.js";import"../../utils/mixins/attribute-deletion.js";import"../../assets/index-chunk10.js";import"../button/gator/button.gator.js";import"../loading-spinner/gator/loading-spinner.gator.js";import"../loading-spinner/loading-spinner.js";import"../../assets/index-chunk5.js";import"../../assets/index-chunk6.js";import"../../assets/index-chunk7.js";import"../icon/slds/icon.slds.js";import"../icon/icon.js";import"../icon/gator/icon.gator.js";import"../icon/gator/templates/add-link.js";import"../icon/icon-registry.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.js";import"../icon/gator/templates/bell-disabled.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-rise.js";import"../icon/gator/templates/chat.js";import"../icon/gator/templates/check.js";import"../icon/gator/templates/check-circle.js";import"../icon/gator/templates/checkbox.js";import"../icon/gator/templates/checkbox-selected.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.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-filled.js";import"../icon/gator/templates/city.js";import"../icon/gator/templates/clipboard.js";import"../icon/gator/templates/clock.js";import"../icon/gator/templates/clock-clockwise.js";import"../icon/gator/templates/clock-counter-clockwise.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.js";import"../icon/gator/templates/cursor-arrow.js";import"../icon/gator/templates/cursor-hand.js";import"../icon/gator/templates/dashboard.js";import"../icon/gator/templates/delete.js";import"../icon/gator/templates/dna.js";import"../icon/gator/templates/document.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/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/exit.js";import"../icon/gator/templates/exit-circle.js";import"../icon/gator/templates/exit-left.js";import"../icon/gator/templates/expand.js";import"../icon/gator/templates/expand-arrows.js";import"../icon/gator/templates/export.js";import"../icon/gator/templates/eye.js";import"../icon/gator/templates/eye-closed.js";import"../icon/gator/templates/eye-crossed.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.js";import"../icon/gator/templates/filters-2.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/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.js";import"../icon/gator/templates/home-finance-arrow.js";import"../icon/gator/templates/home-search.js";import"../icon/gator/templates/house.js";import"../icon/gator/templates/house-simple.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/label.js";import"../icon/gator/templates/laptop.js";import"../icon/gator/templates/layout.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.js";import"../icon/gator/templates/loading.js";import"../icon/gator/templates/loading-spinner-gif.js";import"../icon/gator/templates/lock.js";import"../icon/gator/templates/magic-wand.js";import"../icon/gator/templates/mail.js";import"../icon/gator/templates/mail-open.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.js";import"../icon/gator/templates/minus-circle.js";import"../icon/gator/templates/minus-square.js";import"../icon/gator/templates/mobile-phone-2.js";import"../icon/gator/templates/monitor.js";import"../icon/gator/templates/move.js";import"../icon/gator/templates/move-doc.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/pen.js";import"../icon/gator/templates/pencil.js";import"../icon/gator/templates/pencil-paper.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.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/phone.js";import"../icon/gator/templates/phone-alert.js";import"../icon/gator/templates/phone-mobile.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.js";import"../icon/gator/templates/plus-circle.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.js";import"../icon/gator/templates/radio-selected.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/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.js";import"../icon/gator/templates/sidebar-simple.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.js";import"../icon/gator/templates/sort-arrow-solid-up-down.js";import"../icon/gator/templates/sort-reverse-variant.js";import"../icon/gator/templates/sort-variant.js";import"../icon/gator/templates/sparkle.js";import"../icon/gator/templates/sparkle-filled.js";import"../icon/gator/templates/speech-bubble.js";import"../icon/gator/templates/stack.js";import"../icon/gator/templates/stamp.js";import"../icon/gator/templates/star.js";import"../icon/gator/templates/star-four.js";import"../icon/gator/templates/star-four-filled.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/target.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/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/warning.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/wet-sign.js";import"../icon/gator/templates/wifi.js";import"../icon/gator/templates/wifi-off.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"../../utils/components/ngc-component.js";import"../skeleton-loader/gator/skeleton-loader.gator.js";import"../../assets/index-chunk8.js";import"../../assets/index-chunk9.js";import"./icon-button.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as i,x as o}from"../../../assets/index-chunk2.js";import"../gator/input-label/input-label.gator.js";import"../gator/help-text/help-text.gator.js";import"../../icon/gator/icon.gator.js";import"../../icon/gator/templates/add-link.js";import"../../icon/gator/templates/airplane.js";import"../../icon/gator/templates/alarm.js";import"../../icon/gator/templates/apartment.js";import"../../icon/gator/templates/arrow-around.js";import"../../icon/gator/templates/arrow-down.js";import"../../icon/gator/templates/arrow-left.js";import"../../icon/gator/templates/arrow-line-left.js";import"../../icon/gator/templates/arrow-line-right.js";import"../../icon/gator/templates/arrow-right.js";import"../../icon/gator/templates/arrow-up.js";import"../../icon/gator/templates/bank.js";import"../../icon/gator/templates/bell.js";import"../../icon/gator/templates/bell-disabled.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-rise.js";import"../../icon/gator/templates/chat.js";import"../../icon/gator/templates/check.js";import"../../icon/gator/templates/check-circle.js";import"../../icon/gator/templates/checkbox.js";import"../../icon/gator/templates/checkbox-selected.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.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-filled.js";import"../../icon/gator/templates/city.js";import"../../icon/gator/templates/clipboard.js";import"../../icon/gator/templates/clock.js";import"../../icon/gator/templates/clock-clockwise.js";import"../../icon/gator/templates/clock-counter-clockwise.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.js";import"../../icon/gator/templates/cursor-arrow.js";import"../../icon/gator/templates/cursor-hand.js";import"../../icon/gator/templates/dashboard.js";import"../../icon/gator/templates/delete.js";import"../../icon/gator/templates/dna.js";import"../../icon/gator/templates/document.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/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/exit.js";import"../../icon/gator/templates/exit-circle.js";import"../../icon/gator/templates/exit-left.js";import"../../icon/gator/templates/expand.js";import"../../icon/gator/templates/expand-arrows.js";import"../../icon/gator/templates/export.js";import"../../icon/gator/templates/eye.js";import"../../icon/gator/templates/eye-closed.js";import"../../icon/gator/templates/eye-crossed.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.js";import"../../icon/gator/templates/filters-2.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/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.js";import"../../icon/gator/templates/home-finance-arrow.js";import"../../icon/gator/templates/home-search.js";import"../../icon/gator/templates/house.js";import"../../icon/gator/templates/house-simple.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/label.js";import"../../icon/gator/templates/laptop.js";import"../../icon/gator/templates/layout.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.js";import"../../icon/gator/templates/loading.js";import"../../icon/gator/templates/loading-spinner-gif.js";import"../../icon/gator/templates/lock.js";import"../../icon/gator/templates/magic-wand.js";import"../../icon/gator/templates/mail.js";import"../../icon/gator/templates/mail-open.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.js";import"../../icon/gator/templates/minus-circle.js";import"../../icon/gator/templates/minus-square.js";import"../../icon/gator/templates/mobile-phone-2.js";import"../../icon/gator/templates/monitor.js";import"../../icon/gator/templates/move.js";import"../../icon/gator/templates/move-doc.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/pen.js";import"../../icon/gator/templates/pencil.js";import"../../icon/gator/templates/pencil-paper.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.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/phone.js";import"../../icon/gator/templates/phone-alert.js";import"../../icon/gator/templates/phone-mobile.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.js";import"../../icon/gator/templates/plus-circle.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.js";import"../../icon/gator/templates/radio-selected.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/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.js";import"../../icon/gator/templates/sidebar-simple.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.js";import"../../icon/gator/templates/sort-arrow-solid-up-down.js";import"../../icon/gator/templates/sort-reverse-variant.js";import"../../icon/gator/templates/sort-variant.js";import"../../icon/gator/templates/sparkle.js";import"../../icon/gator/templates/sparkle-filled.js";import"../../icon/gator/templates/speech-bubble.js";import"../../icon/gator/templates/stack.js";import"../../icon/gator/templates/stamp.js";import"../../icon/gator/templates/star.js";import"../../icon/gator/templates/star-four.js";import"../../icon/gator/templates/star-four-filled.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/target.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/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/warning.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/wet-sign.js";import"../../icon/gator/templates/wifi.js";import"../../icon/gator/templates/wifi-off.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{s as l}from"../../../assets/index-chunk6.js";import{p as c}from"../../../assets/index-chunk5.js";import{I as u}from"./input-base.js";import{e as d}from"../../../assets/index-chunk8.js";import{r as g}from"../../../assets/index-chunk4.js";import"../../../assets/index-chunk3.js";import"../../../assets/index-chunk.js";import"../../../utils/mixins/attribute-deletion.js";import"../../icon/icon-registry.js";import"../../../utils/components/testable-lit-element/testable-lit-element.js";import"../../../assets/index-chunk9.js";const f='input,textarea{border:none}input:focus,textarea:focus{outline:none}.gator-form-element-control:focus-within:not(.gator-disabled){outline:2px solid var(--ngc-input-border-color-focused, #1F1F1F)!important;border:1px solid transparent!important}.gator-form-element{display:block;margin-bottom:1rem}.gator-form-element-control{padding:var(--ngc-input-padding);display:flex;flex-direction:column}.gator-input,.gator-faux-input{display:flex;width:100%;height:100%;font-size:var(--ngc-input-font-size, 1.0625rem);font-family:var(--text-family-sans-serif, "Open Sans", sans-serif)}.gator-form-element-control{margin:.5rem 0;border:1px solid var(--ngc-input-border-color, #BFBFBF);border-radius:var(--ngc-input-border-radius, 2px);flex:1}.gator-form-element-control:hover:not(.gator-disabled){border:1px solid var(--ngc-input-border-color-hovered, #1F1F1F);outline:none}.gator-has-error{border-color:var(--ngc-input-error-border)!important}.gator-disabled{background:var(--color-surface-secondary, #F7F7F7);border:none;cursor:not-allowed}.gator-disabled input,.gator-disabled textarea{background-color:transparent;cursor:not-allowed}.gator-form-element-control-icon-right{display:flex;align-items:center}.gator-input-container{max-width:var(--ngc-input-max-width, 200px);display:flex;align-items:center;position:relative}.gator-input-start,.gator-input-end{display:flex;align-items:center;font-family:var(--text-family-sans-serif),sans-serif;font-size:var(--text-size-body-1)}.gator-input-start{margin-right:.5rem}.gator-cursor-pointer{cursor:pointer}',h=":root,:host{--ngc-input-error-border: var(--color-error, #D0021B);--ngc-input-border-color: var(--color-grey-40, #BFBFBF);--ngc-input-border-color-focused: var(--color-stroke-brand, #1F1F1F);--ngc-input-border-color-hovered: var(--color-stroke-interactive, #0052CC);--ngc-input-min-width: 200px;--ngc-input-padding: var(--spacing-3, .75rem) var(--spacing-4, 1rem);--ngc-input-border-radius: var(--radius-sm, .125rem);--ngc-input-max-width: 100%;--ngc-input-font-size: 17px}";var x=Object.defineProperty,b=(n,r,a,v)=>{for(var t=void 0,p=n.length-1,s;p>=0;p--)(s=n[p])&&(t=s(r,a,t)||t);return t&&x(r,a,t),t};const e=class e extends u{constructor(){super(...arguments),this.controlRef=d()}get shouldHaveStartMarkup(){return this.startIcon||this._startIconAsText}get shouldHaveEndMarkup(){return this.endIcon||this.type==="password"}get startIconMarkup(){return this.startIcon?o`<ngc-icon .name="${this.startIcon}"></ngc-icon>`:null}get endIconMarkup(){return this.endIcon?o`
|
|
1
|
+
import{a as i,x as o}from"../../../assets/index-chunk2.js";import"../gator/input-label/input-label.gator.js";import"../gator/help-text/help-text.gator.js";import"../../icon/gator/icon.gator.js";import"../../icon/gator/templates/add-link.js";import"../../icon/gator/templates/airplane.js";import"../../icon/gator/templates/alarm.js";import"../../icon/gator/templates/apartment.js";import"../../icon/gator/templates/arrow-around.js";import"../../icon/gator/templates/arrow-down.js";import"../../icon/gator/templates/arrow-left.js";import"../../icon/gator/templates/arrow-line-left.js";import"../../icon/gator/templates/arrow-line-right.js";import"../../icon/gator/templates/arrow-right.js";import"../../icon/gator/templates/arrow-up.js";import"../../icon/gator/templates/bank.js";import"../../icon/gator/templates/bell.js";import"../../icon/gator/templates/bell-disabled.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-rise.js";import"../../icon/gator/templates/chat.js";import"../../icon/gator/templates/check.js";import"../../icon/gator/templates/check-circle.js";import"../../icon/gator/templates/checkbox.js";import"../../icon/gator/templates/checkbox-selected.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.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-filled.js";import"../../icon/gator/templates/city.js";import"../../icon/gator/templates/clipboard.js";import"../../icon/gator/templates/clock.js";import"../../icon/gator/templates/clock-clockwise.js";import"../../icon/gator/templates/clock-counter-clockwise.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.js";import"../../icon/gator/templates/cursor-arrow.js";import"../../icon/gator/templates/cursor-hand.js";import"../../icon/gator/templates/dashboard.js";import"../../icon/gator/templates/delete.js";import"../../icon/gator/templates/dna.js";import"../../icon/gator/templates/document.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/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/exit.js";import"../../icon/gator/templates/exit-circle.js";import"../../icon/gator/templates/exit-left.js";import"../../icon/gator/templates/expand.js";import"../../icon/gator/templates/expand-arrows.js";import"../../icon/gator/templates/export.js";import"../../icon/gator/templates/eye.js";import"../../icon/gator/templates/eye-closed.js";import"../../icon/gator/templates/eye-crossed.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.js";import"../../icon/gator/templates/filters-2.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/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.js";import"../../icon/gator/templates/home-finance-arrow.js";import"../../icon/gator/templates/home-search.js";import"../../icon/gator/templates/house.js";import"../../icon/gator/templates/house-simple.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/label.js";import"../../icon/gator/templates/laptop.js";import"../../icon/gator/templates/layout.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.js";import"../../icon/gator/templates/loading.js";import"../../icon/gator/templates/loading-spinner-gif.js";import"../../icon/gator/templates/lock.js";import"../../icon/gator/templates/magic-wand.js";import"../../icon/gator/templates/mail.js";import"../../icon/gator/templates/mail-open.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.js";import"../../icon/gator/templates/minus-circle.js";import"../../icon/gator/templates/minus-square.js";import"../../icon/gator/templates/mobile-phone-2.js";import"../../icon/gator/templates/monitor.js";import"../../icon/gator/templates/move.js";import"../../icon/gator/templates/move-doc.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/pen.js";import"../../icon/gator/templates/pencil.js";import"../../icon/gator/templates/pencil-paper.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.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/phone.js";import"../../icon/gator/templates/phone-alert.js";import"../../icon/gator/templates/phone-mobile.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.js";import"../../icon/gator/templates/plus-circle.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.js";import"../../icon/gator/templates/radio-selected.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/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.js";import"../../icon/gator/templates/sidebar-simple.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.js";import"../../icon/gator/templates/sort-arrow-solid-up-down.js";import"../../icon/gator/templates/sort-reverse-variant.js";import"../../icon/gator/templates/sort-variant.js";import"../../icon/gator/templates/sparkle.js";import"../../icon/gator/templates/sparkle-filled.js";import"../../icon/gator/templates/speech-bubble.js";import"../../icon/gator/templates/stack.js";import"../../icon/gator/templates/stamp.js";import"../../icon/gator/templates/star.js";import"../../icon/gator/templates/star-four.js";import"../../icon/gator/templates/star-four-filled.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/target.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/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/warning.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/wet-sign.js";import"../../icon/gator/templates/wifi.js";import"../../icon/gator/templates/wifi-off.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{s as l}from"../../../assets/index-chunk6.js";import{p as c}from"../../../assets/index-chunk5.js";import{I as u}from"./input-base.js";import{e as d}from"../../../assets/index-chunk8.js";import{r as g}from"../../../assets/index-chunk4.js";import"../../../assets/index-chunk3.js";import"../../../assets/index-chunk.js";import"../../../utils/mixins/attribute-deletion.js";import"../../icon/icon-registry.js";import"../../../utils/components/ngc-component.js";import"../../../utils/components/testable-lit-element/testable-lit-element.js";import"../../../assets/index-chunk9.js";const f='input,textarea{border:none}input:focus,textarea:focus{outline:none}.gator-form-element-control:focus-within:not(.gator-disabled){outline:2px solid var(--ngc-input-border-color-focused, #1F1F1F)!important;border:1px solid transparent!important}.gator-form-element{display:block;margin-bottom:1rem}.gator-form-element-control{padding:var(--ngc-input-padding);display:flex;flex-direction:column}.gator-input,.gator-faux-input{display:flex;width:100%;height:100%;font-size:var(--ngc-input-font-size, 1.0625rem);font-family:var(--text-family-sans-serif, "Open Sans", sans-serif)}.gator-form-element-control{margin:.5rem 0;border:1px solid var(--ngc-input-border-color, #BFBFBF);border-radius:var(--ngc-input-border-radius, 2px);flex:1}.gator-form-element-control:hover:not(.gator-disabled){border:1px solid var(--ngc-input-border-color-hovered, #1F1F1F);outline:none}.gator-has-error{border-color:var(--ngc-input-error-border)!important}.gator-disabled{background:var(--color-surface-secondary, #F7F7F7);border:none;cursor:not-allowed}.gator-disabled input,.gator-disabled textarea{background-color:transparent;cursor:not-allowed}.gator-form-element-control-icon-right{display:flex;align-items:center}.gator-input-container{max-width:var(--ngc-input-max-width, 200px);display:flex;align-items:center;position:relative}.gator-input-start,.gator-input-end{display:flex;align-items:center;font-family:var(--text-family-sans-serif),sans-serif;font-size:var(--text-size-body-1)}.gator-input-start{margin-right:.5rem}.gator-cursor-pointer{cursor:pointer}',h=":root,:host{--ngc-input-error-border: var(--color-error, #D0021B);--ngc-input-border-color: var(--color-grey-40, #BFBFBF);--ngc-input-border-color-focused: var(--color-stroke-brand, #1F1F1F);--ngc-input-border-color-hovered: var(--color-stroke-interactive, #0052CC);--ngc-input-min-width: 200px;--ngc-input-padding: var(--spacing-3, .75rem) var(--spacing-4, 1rem);--ngc-input-border-radius: var(--radius-sm, .125rem);--ngc-input-max-width: 100%;--ngc-input-font-size: 17px}";var x=Object.defineProperty,b=(n,r,a,v)=>{for(var t=void 0,p=n.length-1,s;p>=0;p--)(s=n[p])&&(t=s(r,a,t)||t);return t&&x(r,a,t),t};const e=class e extends u{constructor(){super(...arguments),this.controlRef=d()}get shouldHaveStartMarkup(){return this.startIcon||this._startIconAsText}get shouldHaveEndMarkup(){return this.endIcon||this.type==="password"}get startIconMarkup(){return this.startIcon?o`<ngc-icon .name="${this.startIcon}"></ngc-icon>`:null}get endIconMarkup(){return this.endIcon?o`
|
|
2
2
|
<ngc-icon .name="${this.endIcon}"></ngc-icon>`:null}get labelMarkup(){return o`
|
|
3
3
|
<ngc-input-label
|
|
4
4
|
.for="${this.id}"
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import{a as v,x as l}from"../../../../assets/index-chunk2.js";import"../input-label/input-label.gator.js";import"../help-text/help-text.gator.js";import"../../../icon/gator/icon.gator.js";import"../../../icon/gator/templates/add-link.js";import"../../../icon/gator/templates/airplane.js";import"../../../icon/gator/templates/alarm.js";import"../../../icon/gator/templates/apartment.js";import"../../../icon/gator/templates/arrow-around.js";import"../../../icon/gator/templates/arrow-down.js";import"../../../icon/gator/templates/arrow-left.js";import"../../../icon/gator/templates/arrow-line-left.js";import"../../../icon/gator/templates/arrow-line-right.js";import"../../../icon/gator/templates/arrow-right.js";import"../../../icon/gator/templates/arrow-up.js";import"../../../icon/gator/templates/bank.js";import"../../../icon/gator/templates/bell.js";import"../../../icon/gator/templates/bell-disabled.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-rise.js";import"../../../icon/gator/templates/chat.js";import"../../../icon/gator/templates/check.js";import"../../../icon/gator/templates/check-circle.js";import"../../../icon/gator/templates/checkbox.js";import"../../../icon/gator/templates/checkbox-selected.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.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-filled.js";import"../../../icon/gator/templates/city.js";import"../../../icon/gator/templates/clipboard.js";import"../../../icon/gator/templates/clock.js";import"../../../icon/gator/templates/clock-clockwise.js";import"../../../icon/gator/templates/clock-counter-clockwise.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.js";import"../../../icon/gator/templates/cursor-arrow.js";import"../../../icon/gator/templates/cursor-hand.js";import"../../../icon/gator/templates/dashboard.js";import"../../../icon/gator/templates/delete.js";import"../../../icon/gator/templates/dna.js";import"../../../icon/gator/templates/document.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/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/exit.js";import"../../../icon/gator/templates/exit-circle.js";import"../../../icon/gator/templates/exit-left.js";import"../../../icon/gator/templates/expand.js";import"../../../icon/gator/templates/expand-arrows.js";import"../../../icon/gator/templates/export.js";import"../../../icon/gator/templates/eye.js";import"../../../icon/gator/templates/eye-closed.js";import"../../../icon/gator/templates/eye-crossed.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.js";import"../../../icon/gator/templates/filters-2.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/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.js";import"../../../icon/gator/templates/home-finance-arrow.js";import"../../../icon/gator/templates/home-search.js";import"../../../icon/gator/templates/house.js";import"../../../icon/gator/templates/house-simple.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/label.js";import"../../../icon/gator/templates/laptop.js";import"../../../icon/gator/templates/layout.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.js";import"../../../icon/gator/templates/loading.js";import"../../../icon/gator/templates/loading-spinner-gif.js";import"../../../icon/gator/templates/lock.js";import"../../../icon/gator/templates/magic-wand.js";import"../../../icon/gator/templates/mail.js";import"../../../icon/gator/templates/mail-open.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.js";import"../../../icon/gator/templates/minus-circle.js";import"../../../icon/gator/templates/minus-square.js";import"../../../icon/gator/templates/mobile-phone-2.js";import"../../../icon/gator/templates/monitor.js";import"../../../icon/gator/templates/move.js";import"../../../icon/gator/templates/move-doc.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/pen.js";import"../../../icon/gator/templates/pencil.js";import"../../../icon/gator/templates/pencil-paper.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.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/phone.js";import"../../../icon/gator/templates/phone-alert.js";import"../../../icon/gator/templates/phone-mobile.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.js";import"../../../icon/gator/templates/plus-circle.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.js";import"../../../icon/gator/templates/radio-selected.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/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.js";import"../../../icon/gator/templates/sidebar-simple.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.js";import"../../../icon/gator/templates/sort-arrow-solid-up-down.js";import"../../../icon/gator/templates/sort-reverse-variant.js";import"../../../icon/gator/templates/sort-variant.js";import"../../../icon/gator/templates/sparkle.js";import"../../../icon/gator/templates/sparkle-filled.js";import"../../../icon/gator/templates/speech-bubble.js";import"../../../icon/gator/templates/stack.js";import"../../../icon/gator/templates/stamp.js";import"../../../icon/gator/templates/star.js";import"../../../icon/gator/templates/star-four.js";import"../../../icon/gator/templates/star-four-filled.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/target.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/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/warning.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/wet-sign.js";import"../../../icon/gator/templates/wifi.js";import"../../../icon/gator/templates/wifi-off.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"../../../list/gator/list/list.gator.js";import"../../../list/gator/list-item/list-item.gator.js";import{t as b}from"../../../../assets/index-chunk3.js";import{n as d}from"../../../../assets/index-chunk.js";import{r as c}from"../../../../assets/index-chunk4.js";import{e as u,n as m}from"../../../../assets/index-chunk8.js";import{a as x,c as y,b as g}from"../../../../assets/index-chunk12.js";import{K as r}from"../../../../consts/key-constants.js";import{N as w}from"../../base/input-base.gator.js";import{f as $,a as _}from"../../../../utils/places-utils.js";import{f as R}from"../../../../utils/industry-utils.js";import{f as D}from"../../../../utils/phone-utils.js";import{o as f}from"../../../../assets/index-chunk7.js";import"../../../../assets/index-chunk5.js";import"../../../../assets/index-chunk6.js";import"../../../../utils/mixins/attribute-deletion.js";import"../../../icon/icon-registry.js";import"../../../../utils/components/testable-lit-element/testable-lit-element.js";import"../../../divider/gator/divider.gator.js";import"../../../divider/divider.js";import"../../../../assets/index-chunk9.js";import"../../base/input-base.js";const C=':root,:host{--ngc-input-dropdown-list-max-height: 14rem}.gator-dropdown-listbox{position:absolute;width:max-content;top:0;left:0;display:none;max-height:var(--ngc-input-dropdown-list-max-height);overflow-y:scroll;overflow-x:hidden;border-radius:var(--radius-card-medium, .5rem);padding:var(--spacing-padding-margin-8, .5rem) 2px;background:var(--color-surface-primary-white, #FFF);box-shadow:var(--shadow-x-offset-0, 0px) var(--shadow-shadow-3-dropdown-property-1-y-offset, 7px) var(--shadow-shadow-3-dropdown-property-1-blur, 12px) var(--shadow-shadow-3-dropdown-property-1-spread, 0px) var(--shadow-color-10, rgba(31, 31, 31, .1)),var(--shadow-x-offset-0, 0px) var(--shadow-shadow-3-dropdown-property-2-y-offset, 8px) var(--shadow-shadow-3-dropdown-property-2-blur, 16px) var(--shadow-shadow-3-dropdown-property-2-spread, 0px) var(--shadow-color-8, rgba(31, 31, 31, .08)),var(--shadow-x-offset-0, 0px) var(--shadow-shadow-3-dropdown-property-3-y-offset, 9px) var(--shadow-shadow-3-dropdown-property-3-blur, 18px) var(--shadow-shadow-3-dropdown-property-3-spread, 0px) var(--shadow-color-8, rgba(31, 31, 31, .08))}.gator-form-element-control:focus-visible:not(.gator-disabled){outline:2px solid var(--ngc-input-border-color-focused, #1F1F1F)!important;border:1px solid transparent!important}.gator-dropdown-listbox_expanded{display:block;z-index:1}.gator-faux-input-placeholder{color:var(--text-color-placeholder, #6D6D6D);font-family:var(--text-family-body, "Open Sans");font-size:var(--text-size-body-1, 1.0625rem);line-height:var(--text-line-height-body-1, 1.5rem);letter-spacing:var(--text-letter-spacing-default, 0rem)}';var F=Object.defineProperty,k=Object.getOwnPropertyDescriptor,P=Object.getPrototypeOf,I=Reflect.get,a=(t,i,o,p)=>{for(var s=p>1?void 0:p?k(i,o):i,n=t.length-1,h;n>=0;n--)(h=t[n])&&(s=(p?h(i,o,s):h(s))||s);return p&&s&&F(i,o,s),s},O=(t,i,o)=>I(P(t),o,i);let e=class extends w{constructor(){super(...arguments),this.options=[],this.autocomplete=!1,this.valueDisplayed=!1,this._expanded=!1,this._searchValue="",this.listboxRef=u(),this.listRef=u(),this.inputRef=u()}render(){return l`
|
|
1
|
+
import{a as v,x as p}from"../../../../assets/index-chunk2.js";import"../input-label/input-label.gator.js";import"../help-text/help-text.gator.js";import"../../../icon/gator/icon.gator.js";import"../../../icon/gator/templates/add-link.js";import"../../../icon/gator/templates/airplane.js";import"../../../icon/gator/templates/alarm.js";import"../../../icon/gator/templates/apartment.js";import"../../../icon/gator/templates/arrow-around.js";import"../../../icon/gator/templates/arrow-down.js";import"../../../icon/gator/templates/arrow-left.js";import"../../../icon/gator/templates/arrow-line-left.js";import"../../../icon/gator/templates/arrow-line-right.js";import"../../../icon/gator/templates/arrow-right.js";import"../../../icon/gator/templates/arrow-up.js";import"../../../icon/gator/templates/bank.js";import"../../../icon/gator/templates/bell.js";import"../../../icon/gator/templates/bell-disabled.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-rise.js";import"../../../icon/gator/templates/chat.js";import"../../../icon/gator/templates/check.js";import"../../../icon/gator/templates/check-circle.js";import"../../../icon/gator/templates/checkbox.js";import"../../../icon/gator/templates/checkbox-selected.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.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-filled.js";import"../../../icon/gator/templates/city.js";import"../../../icon/gator/templates/clipboard.js";import"../../../icon/gator/templates/clock.js";import"../../../icon/gator/templates/clock-clockwise.js";import"../../../icon/gator/templates/clock-counter-clockwise.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.js";import"../../../icon/gator/templates/cursor-arrow.js";import"../../../icon/gator/templates/cursor-hand.js";import"../../../icon/gator/templates/dashboard.js";import"../../../icon/gator/templates/delete.js";import"../../../icon/gator/templates/dna.js";import"../../../icon/gator/templates/document.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/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/exit.js";import"../../../icon/gator/templates/exit-circle.js";import"../../../icon/gator/templates/exit-left.js";import"../../../icon/gator/templates/expand.js";import"../../../icon/gator/templates/expand-arrows.js";import"../../../icon/gator/templates/export.js";import"../../../icon/gator/templates/eye.js";import"../../../icon/gator/templates/eye-closed.js";import"../../../icon/gator/templates/eye-crossed.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.js";import"../../../icon/gator/templates/filters-2.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/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.js";import"../../../icon/gator/templates/home-finance-arrow.js";import"../../../icon/gator/templates/home-search.js";import"../../../icon/gator/templates/house.js";import"../../../icon/gator/templates/house-simple.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/label.js";import"../../../icon/gator/templates/laptop.js";import"../../../icon/gator/templates/layout.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.js";import"../../../icon/gator/templates/loading.js";import"../../../icon/gator/templates/loading-spinner-gif.js";import"../../../icon/gator/templates/lock.js";import"../../../icon/gator/templates/magic-wand.js";import"../../../icon/gator/templates/mail.js";import"../../../icon/gator/templates/mail-open.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.js";import"../../../icon/gator/templates/minus-circle.js";import"../../../icon/gator/templates/minus-square.js";import"../../../icon/gator/templates/mobile-phone-2.js";import"../../../icon/gator/templates/monitor.js";import"../../../icon/gator/templates/move.js";import"../../../icon/gator/templates/move-doc.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/pen.js";import"../../../icon/gator/templates/pencil.js";import"../../../icon/gator/templates/pencil-paper.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.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/phone.js";import"../../../icon/gator/templates/phone-alert.js";import"../../../icon/gator/templates/phone-mobile.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.js";import"../../../icon/gator/templates/plus-circle.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.js";import"../../../icon/gator/templates/radio-selected.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/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.js";import"../../../icon/gator/templates/sidebar-simple.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.js";import"../../../icon/gator/templates/sort-arrow-solid-up-down.js";import"../../../icon/gator/templates/sort-reverse-variant.js";import"../../../icon/gator/templates/sort-variant.js";import"../../../icon/gator/templates/sparkle.js";import"../../../icon/gator/templates/sparkle-filled.js";import"../../../icon/gator/templates/speech-bubble.js";import"../../../icon/gator/templates/stack.js";import"../../../icon/gator/templates/stamp.js";import"../../../icon/gator/templates/star.js";import"../../../icon/gator/templates/star-four.js";import"../../../icon/gator/templates/star-four-filled.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/target.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/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/warning.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/wet-sign.js";import"../../../icon/gator/templates/wifi.js";import"../../../icon/gator/templates/wifi-off.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"../../../list/gator/list/list.gator.js";import"../../../list/gator/list-item/list-item.gator.js";import"../../../icon-button/gator/icon-button.gator.js";import{t as b}from"../../../../assets/index-chunk3.js";import{n as m}from"../../../../assets/index-chunk.js";import{r as c}from"../../../../assets/index-chunk4.js";import{e as h,n}from"../../../../assets/index-chunk8.js";import{a as g,c as x,b as y}from"../../../../assets/index-chunk12.js";import{K as r}from"../../../../consts/key-constants.js";import{N as w}from"../../base/input-base.gator.js";import{f as $,a as _}from"../../../../utils/places-utils.js";import{f as R}from"../../../../utils/industry-utils.js";import{f as D}from"../../../../utils/phone-utils.js";import{o as f}from"../../../../assets/index-chunk7.js";import"../../../../assets/index-chunk5.js";import"../../../../assets/index-chunk6.js";import"../../../../utils/mixins/attribute-deletion.js";import"../../../icon/icon-registry.js";import"../../../../utils/components/ngc-component.js";import"../../../../utils/components/testable-lit-element/testable-lit-element.js";import"../../../divider/gator/divider.gator.js";import"../../../divider/divider.js";import"../../../button/slds/button.slds.js";import"../../../button/button.js";import"../../../../assets/index-chunk10.js";import"../../../button/gator/button.gator.js";import"../../../loading-spinner/gator/loading-spinner.gator.js";import"../../../loading-spinner/loading-spinner.js";import"../../../icon/slds/icon.slds.js";import"../../../icon/icon.js";import"../../../skeleton-loader/gator/skeleton-loader.gator.js";import"../../../icon-button/icon-button.js";import"../../../../assets/index-chunk9.js";import"../../base/input-base.js";const C=':root,:host{--ngc-input-dropdown-list-max-height: 14rem}ngc-icon-button{--ngc-icon-button-hover-box-shadow: none;margin-top:-.5rem;margin-bottom:-.5rem}.gator-dropdown-listbox{position:absolute;width:max-content;top:0;left:0;display:none;max-height:var(--ngc-input-dropdown-list-max-height);overflow-y:scroll;overflow-x:hidden;border-radius:var(--radius-card-medium, .5rem);padding:var(--spacing-padding-margin-8, .5rem) 2px;background:var(--color-surface-primary-white, #FFF);box-shadow:var(--shadow-x-offset-0, 0px) var(--shadow-shadow-3-dropdown-property-1-y-offset, 7px) var(--shadow-shadow-3-dropdown-property-1-blur, 12px) var(--shadow-shadow-3-dropdown-property-1-spread, 0px) var(--shadow-color-10, rgba(31, 31, 31, .1)),var(--shadow-x-offset-0, 0px) var(--shadow-shadow-3-dropdown-property-2-y-offset, 8px) var(--shadow-shadow-3-dropdown-property-2-blur, 16px) var(--shadow-shadow-3-dropdown-property-2-spread, 0px) var(--shadow-color-8, rgba(31, 31, 31, .08)),var(--shadow-x-offset-0, 0px) var(--shadow-shadow-3-dropdown-property-3-y-offset, 9px) var(--shadow-shadow-3-dropdown-property-3-blur, 18px) var(--shadow-shadow-3-dropdown-property-3-spread, 0px) var(--shadow-color-8, rgba(31, 31, 31, .08))}.gator-form-element-control:focus-visible:not(.gator-disabled){outline:2px solid var(--ngc-input-border-color-focused, #1F1F1F)!important;border:1px solid transparent!important}.gator-dropdown-listbox_expanded{display:block;z-index:1}.gator-faux-input-placeholder{color:var(--text-color-placeholder, #6D6D6D);font-family:var(--text-family-body, "Open Sans");font-size:var(--text-size-body-1, 1.0625rem);line-height:var(--text-line-height-body-1, 1.5rem);letter-spacing:var(--text-letter-spacing-default, 0rem)}.gator-dropdown-listbox-message{display:flex;padding:var(--spacing-gap-8, .5rem) var(--spacing-gap-16, 1rem);align-items:flex-start;gap:var(--spacing-gap-8, .5rem);align-self:stretch;color:var(--text-color-placeholder, #6D6D6D);font-family:var(--text-family-body, "Open Sans");font-size:var(--text-size-body-1, 1.0625rem)}';var O=Object.defineProperty,k=Object.getOwnPropertyDescriptor,M=Object.getPrototypeOf,A=Reflect.get,a=(t,e,i,s)=>{for(var l=s>1?void 0:s?k(e,i):e,d=t.length-1,u;d>=0;d--)(u=t[d])&&(l=(s?u(e,i,l):u(l))||l);return s&&l&&O(e,i,l),l},I=(t,e,i)=>A(M(t),i,e);let o=class extends w{constructor(){super(...arguments),this.options=[],this.autocomplete=!1,this.valueDisplayed=!1,this.maxAutocompleteResults=250,this._expanded=!1,this._searchValue="",this.listboxRef=h(),this.listRef=h(),this.inputRef=h(),this.noResultsMessage="No results found. Refine your search."}render(){return p`
|
|
2
2
|
<div class="gator-form-element">
|
|
3
3
|
<slot name="label">
|
|
4
4
|
${this.label?this.labelMarkup:null}
|
|
5
5
|
</slot>
|
|
6
6
|
<div
|
|
7
|
-
${
|
|
7
|
+
${n(this.controlRef)}
|
|
8
8
|
class="gator-form-element-control ${this.errorClass} ${this.disabledClass}"
|
|
9
9
|
data-testid=${f(this.dataTestid)}-listbox
|
|
10
10
|
aria-controls="listbox-${this.id}"
|
|
@@ -22,13 +22,13 @@ import{a as v,x as l}from"../../../../assets/index-chunk2.js";import"../input-la
|
|
|
22
22
|
@focusout="${this._topLevelFocusOut}"
|
|
23
23
|
>
|
|
24
24
|
<div class="gator-input-container">
|
|
25
|
-
${this.shouldHaveStartMarkup?
|
|
25
|
+
${this.shouldHaveStartMarkup?p`
|
|
26
26
|
<div class="gator-input-start">
|
|
27
27
|
${this.startIconMarkup}
|
|
28
28
|
</div>`:null}
|
|
29
|
-
${this.autocomplete?
|
|
29
|
+
${this.autocomplete?p`
|
|
30
30
|
<input
|
|
31
|
-
${
|
|
31
|
+
${n(this.inputRef)}
|
|
32
32
|
type="${this.type}"
|
|
33
33
|
.id="${this.id}"
|
|
34
34
|
.placeholder="${this.placeholder}"
|
|
@@ -46,6 +46,7 @@ import{a as v,x as l}from"../../../../assets/index-chunk2.js";import"../input-la
|
|
|
46
46
|
`:this.fauxInputMarkup}
|
|
47
47
|
|
|
48
48
|
<div class="gator-input-end">
|
|
49
|
+
${this.clearIconButtonMarkup}
|
|
49
50
|
${this.endIconMarkup}
|
|
50
51
|
</div>
|
|
51
52
|
</div>
|
|
@@ -56,25 +57,27 @@ import{a as v,x as l}from"../../../../assets/index-chunk2.js";import"../input-la
|
|
|
56
57
|
|
|
57
58
|
${this.listboxMarkup}
|
|
58
59
|
</div>
|
|
59
|
-
`}_topLevelFocusOut(t){t.relatedTarget||(this._expanded=!1)}_handleControlFocusIn(){var t;this.disabled||this.autocomplete&&((t=this.inputRef.value)==null||t.focus())}firstUpdated(){this._expanded&&this.toggleListbox(r.ENTER,!0)}updated(){var t,i,
|
|
60
|
+
`}_topLevelFocusOut(t){t.relatedTarget||(this._expanded=!1)}_handleControlFocusIn(){var t;this.disabled||this.autocomplete&&((t=this.inputRef.value)==null||t.focus())}firstUpdated(){this._expanded&&this.toggleListbox(r.ENTER,!0)}updated(){var t,e,i,s;this._expanded&&this.value&&((t=this.controlRef.value)==null||t.setAttribute("aria-activedescendant",this.replacedActiveDescendant)),this._expanded&&!this.value&&(this._activeDescendant=(i=(e=this.shadowRoot)==null?void 0:e.querySelector("ngc-list-item"))==null?void 0:i.id,(s=this.controlRef.value)==null||s.setAttribute("aria-activedescendant",this.replacedActiveDescendant))}get fauxInputMarkup(){return p`
|
|
60
61
|
<div class="gator-faux-input ${this.showPlaceholder?"gator-faux-input-placeholder":null}">
|
|
61
62
|
${this.displayedValue||this.placeholder}
|
|
62
63
|
</div>
|
|
63
|
-
`}get displayedValue(){var t;return this.value?this.valueDisplayed?this.value:((t=this.displayedOptions.find(
|
|
64
|
+
`}get displayedValue(){var t;return this.value?this.valueDisplayed?this.value:((t=this.displayedOptions.find(e=>e.value===this.value))==null?void 0:t.label)??this.value:""}get showPlaceholder(){return this.placeholder&&!this.value}get replacedActiveDescendant(){return this._activeDescendant?this._activeDescendant.replace(" ",""):""}get listboxMarkup(){return p`
|
|
64
65
|
<div
|
|
65
|
-
${
|
|
66
|
+
${n(this.listboxRef)}
|
|
66
67
|
class="gator-dropdown-listbox ${this._expanded?"gator-dropdown-listbox_expanded":""}"
|
|
67
68
|
>
|
|
69
|
+
${this.listboxMessageMarkup}
|
|
68
70
|
<ngc-list
|
|
69
71
|
.id="listbox-${this.id}"
|
|
70
|
-
${
|
|
72
|
+
${n(this.listRef)}
|
|
71
73
|
selectable
|
|
72
74
|
@selected="${this.handleSelected}"
|
|
73
75
|
faux-focus
|
|
74
76
|
.title="${this.label||this.placeholder} List"
|
|
75
77
|
.aria-labelledby="dropdown-label-${this.id}"
|
|
78
|
+
.ariaDescribedby=${this.listboxMessageMarkup?`listbox-message-${this.id}`:void 0}
|
|
76
79
|
>
|
|
77
|
-
${this.displayedOptions.map(t=>
|
|
80
|
+
${this.displayedOptions.map(t=>p`
|
|
78
81
|
<ngc-list-item
|
|
79
82
|
text="${t.label}"
|
|
80
83
|
value="${t.value}"
|
|
@@ -85,11 +88,23 @@ import{a as v,x as l}from"../../../../assets/index-chunk2.js";import"../input-la
|
|
|
85
88
|
`)}
|
|
86
89
|
</ngc-list>
|
|
87
90
|
</div>
|
|
88
|
-
`}get
|
|
91
|
+
`}get listboxMessageMarkup(){if(!this.autocomplete)return null;let t;return this.displayedOptions.length===0&&(t=this.noResultsMessage),this.resultsExceedMax&&(t=this.resultsExceedMaxMessage),t?p`
|
|
92
|
+
<div class="gator-dropdown-listbox-message" id="listbox-message-${this.id}" data-testid="${this.dataTestid}-listbox-message">
|
|
93
|
+
${t}
|
|
94
|
+
</div>
|
|
95
|
+
`:null}get resultsExceedMaxMessage(){return`Showing ${this.maxAutocompleteResults} results. Refine your search to see more.`}get displayedOptions(){return this.autocomplete?this.limitedOptions:this.filteredOptions}get filteredOptions(){let t=this.options;return this.dataType==="country"?t=$():this.dataType==="state"&&this.countryCode?t=_(this.countryCode):this.dataType==="naics"?t=R():this.dataType==="phoneCodes"&&(t=D()),this._searchValue?[...t.filter(i=>i.label.toLowerCase().includes(this._searchValue.toLowerCase()))]:t}get limitedOptions(){return this.filteredOptions.slice(0,this.maxAutocompleteResults)}get resultsExceedMax(){return!this.autocomplete||!this.maxAutocompleteResults?!1:this.filteredOptions.length>this.maxAutocompleteResults}handleSelected(t){var e;t.stopImmediatePropagation(),this._expanded=!1,this._activeDescendant=void 0,(e=this.controlRef.value)==null||e.removeAttribute("aria-activedescendant"),this.emitChangeEvent(t.detail.value)}handleComboboxKeydown(t){var e,i;!this._expanded&&(t.key===r.ENTER||t.key===r.SPACE||t.key===r.DOWN)?this.toggleListbox(t.key,!1):this._expanded&&this.listRef.value&&((t.key===r.ENTER||t.key===r.SPACE)&&this.listRef.value.selectFalseFocusedItem(),t.key===r.DOWN&&(this._activeDescendant=this.listRef.value.falseFocusNextItem(),(e=this.controlRef.value)==null||e.setAttribute("aria-activedescendant",this.replacedActiveDescendant)),t.key===r.UP&&(this._activeDescendant=this.listRef.value.falseFocusPreviousItem(),(i=this.controlRef.value)==null||i.setAttribute("aria-activedescendant",this.replacedActiveDescendant))),t.key===r.ESCAPE&&(this._expanded=!1)}get errorClass(){return this.errorText?"gator-has-error":""}get disabledClass(){return this.disabled?"gator-disabled":"gator-cursor-pointer"}get labelMarkup(){return p`
|
|
89
96
|
<ngc-input-label
|
|
90
97
|
.for="dropdown-label-${this.id}"
|
|
91
98
|
.required="${this.required}"
|
|
92
99
|
type="div"
|
|
93
100
|
>
|
|
94
101
|
${this.label}
|
|
95
|
-
</ngc-input-label>`}toggleListbox(t,
|
|
102
|
+
</ngc-input-label>`}toggleListbox(t,e){var i;this.disabled||(e||(this._expanded=!this._expanded),setTimeout(()=>{var s;this.assignPosition(),this.listRef.value&&(t==r.DOWN||!this.value)?this._activeDescendant=this.listRef.value.falseFocusFirstItem():this.value&&this.listRef.value&&(this._activeDescendant=this.listRef.value.setFalseFocusToValue(this.value)),this._expanded&&((s=this.controlRef.value)==null||s.setAttribute("aria-activedescendant",this.replacedActiveDescendant))}),this._expanded||(this._activeDescendant=void 0,(i=this.controlRef.value)==null||i.removeAttribute("aria-activedescendant")))}get endIconMarkup(){return p`<ngc-icon .name="${this.endIcon||"chevron-down"}"></ngc-icon>`}get clearIconButtonMarkup(){var t;return!this.autocomplete||!this.value&&!((t=this.inputRef.value)!=null&&t.value)?null:p`
|
|
103
|
+
<ngc-icon-button
|
|
104
|
+
data-testid="${this.dataTestid}-clear-button"
|
|
105
|
+
icon-name="exit"
|
|
106
|
+
aria-label="Clear"
|
|
107
|
+
size="medium"
|
|
108
|
+
@click="${this.clearValue}"
|
|
109
|
+
></ngc-icon-button>
|
|
110
|
+
`}clearValue(){var t;this.inputRef.value&&(this.inputRef.value.value=""),this._searchValue="",(t=this.inputRef.value)==null||t.focus(),this.emitChangeEvent("")}assignPosition(){const t=this.controlRef.value;!this.listboxRef||!this.listboxRef.value||!t||(this._cleanup=g(t,this.listboxRef.value,async()=>{if(!this.listboxRef||!this.listboxRef.value||!t)return;const{x:e,y:i,placement:s}=await x(t,this.listboxRef.value,{placement:"bottom-start",middleware:[y({alignment:"start",allowedPlacements:["top","bottom"]})]});let l=s==="bottom-start"?4:-4;Object.assign(this.listboxRef.value.style,{left:`${e}px`,top:`${i+l}px`,width:`${this.listWidth??t.clientWidth}px`})}))}handleInput(t){let e=t.target;e.value.length===0&&this.emitChangeEvent(""),this._searchValue=e.value,this._expanded=!0}handleInputKeydown(t){if((t.key===r.DOWN||t.key===r.UP)&&t.preventDefault(),t.key===r.SPACE){t.stopPropagation();return}}emitChangeEvent(t){this.dispatchEvent(new CustomEvent("change",{bubbles:!0,detail:{value:t}}))}};o.styles=[...I(o,o,"styles"),v(C)];a([m({type:Array})],o.prototype,"options",2);a([m({type:Boolean})],o.prototype,"autocomplete",2);a([m({type:String,attribute:"data-type"})],o.prototype,"dataType",2);a([m({type:String,attribute:"country-code"})],o.prototype,"countryCode",2);a([m({type:String,attribute:"list-width"})],o.prototype,"listWidth",2);a([m({type:Boolean,attribute:"value-displayed"})],o.prototype,"valueDisplayed",2);a([m({type:Number,attribute:"max-autocomplete-results"})],o.prototype,"maxAutocompleteResults",2);a([c()],o.prototype,"_activeDescendant",2);a([c()],o.prototype,"_expanded",2);a([c()],o.prototype,"_searchValue",2);o=a([b("ngc-input-dropdown")],o);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
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.js";import"../../../icon/gator/templates/bell-disabled.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-rise.js";import"../../../icon/gator/templates/chat.js";import"../../../icon/gator/templates/check.js";import"../../../icon/gator/templates/check-circle.js";import"../../../icon/gator/templates/checkbox.js";import"../../../icon/gator/templates/checkbox-selected.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.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-filled.js";import"../../../icon/gator/templates/city.js";import"../../../icon/gator/templates/clipboard.js";import"../../../icon/gator/templates/clock.js";import"../../../icon/gator/templates/clock-clockwise.js";import"../../../icon/gator/templates/clock-counter-clockwise.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.js";import"../../../icon/gator/templates/cursor-arrow.js";import"../../../icon/gator/templates/cursor-hand.js";import"../../../icon/gator/templates/dashboard.js";import"../../../icon/gator/templates/delete.js";import"../../../icon/gator/templates/dna.js";import"../../../icon/gator/templates/document.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/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/exit.js";import"../../../icon/gator/templates/exit-circle.js";import"../../../icon/gator/templates/exit-left.js";import"../../../icon/gator/templates/expand.js";import"../../../icon/gator/templates/expand-arrows.js";import"../../../icon/gator/templates/export.js";import"../../../icon/gator/templates/eye.js";import"../../../icon/gator/templates/eye-closed.js";import"../../../icon/gator/templates/eye-crossed.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.js";import"../../../icon/gator/templates/filters-2.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/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.js";import"../../../icon/gator/templates/home-finance-arrow.js";import"../../../icon/gator/templates/home-search.js";import"../../../icon/gator/templates/house.js";import"../../../icon/gator/templates/house-simple.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/label.js";import"../../../icon/gator/templates/laptop.js";import"../../../icon/gator/templates/layout.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.js";import"../../../icon/gator/templates/loading.js";import"../../../icon/gator/templates/loading-spinner-gif.js";import"../../../icon/gator/templates/lock.js";import"../../../icon/gator/templates/magic-wand.js";import"../../../icon/gator/templates/mail.js";import"../../../icon/gator/templates/mail-open.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.js";import"../../../icon/gator/templates/minus-circle.js";import"../../../icon/gator/templates/minus-square.js";import"../../../icon/gator/templates/mobile-phone-2.js";import"../../../icon/gator/templates/monitor.js";import"../../../icon/gator/templates/move.js";import"../../../icon/gator/templates/move-doc.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/pen.js";import"../../../icon/gator/templates/pencil.js";import"../../../icon/gator/templates/pencil-paper.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.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/phone.js";import"../../../icon/gator/templates/phone-alert.js";import"../../../icon/gator/templates/phone-mobile.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.js";import"../../../icon/gator/templates/plus-circle.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.js";import"../../../icon/gator/templates/radio-selected.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/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.js";import"../../../icon/gator/templates/sidebar-simple.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.js";import"../../../icon/gator/templates/sort-arrow-solid-up-down.js";import"../../../icon/gator/templates/sort-reverse-variant.js";import"../../../icon/gator/templates/sort-variant.js";import"../../../icon/gator/templates/sparkle.js";import"../../../icon/gator/templates/sparkle-filled.js";import"../../../icon/gator/templates/speech-bubble.js";import"../../../icon/gator/templates/stack.js";import"../../../icon/gator/templates/stamp.js";import"../../../icon/gator/templates/star.js";import"../../../icon/gator/templates/star-four.js";import"../../../icon/gator/templates/star-four-filled.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/target.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/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/warning.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/wet-sign.js";import"../../../icon/gator/templates/wifi.js";import"../../../icon/gator/templates/wifi-off.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{a as p,r as g,x as l}from"../../../../assets/index-chunk2.js";import{t as h}from"../../../../assets/index-chunk3.js";import{n as s}from"../../../../assets/index-chunk.js";import{p as f}from"../../../../assets/index-chunk5.js";import{s as x}from"../../../../assets/index-chunk6.js";import"../../../icon/icon-registry.js";const v=".gator-help-text{display:flex;align-content:center;gap:.25rem;font-family:var(--gator-help-text-font-family);font-weight:var(--gator-help-text-font-weight);font-size:var(--gator-help-text-font-size);line-height:var(--gator-help-text-line-height);color:var(--gator-help-text-color)}.is-error{color:var(--gator-help-text-error-color)}",y=':host{--gator-help-text-color: var(--color-text-secondary);--gator-help-text-error-color: var(--color-text-error);--gator-help-text-font-family: var(--text-family-sans-serif, "Open Sans", sans-serif);--gator-help-text-font-weight: 400;--gator-help-text-font-size: .9375rem;--gator-help-text-line-height: 1.375rem}';var u=Object.defineProperty,d=Object.getOwnPropertyDescriptor,m=(c,o,e,i)=>{for(var t=i>1?void 0:i?d(o,e):o,n=c.length-1,a;n>=0;n--)(a=c[n])&&(t=(i?a(o,e,t):a(t))||t);return i&&t&&u(o,e,t),t};let r=class extends g{constructor(){super(...arguments),this.id="",this.icon=!1,this.error=!1}render(){return l`
|
|
1
|
+
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.js";import"../../../icon/gator/templates/bell-disabled.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-rise.js";import"../../../icon/gator/templates/chat.js";import"../../../icon/gator/templates/check.js";import"../../../icon/gator/templates/check-circle.js";import"../../../icon/gator/templates/checkbox.js";import"../../../icon/gator/templates/checkbox-selected.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.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-filled.js";import"../../../icon/gator/templates/city.js";import"../../../icon/gator/templates/clipboard.js";import"../../../icon/gator/templates/clock.js";import"../../../icon/gator/templates/clock-clockwise.js";import"../../../icon/gator/templates/clock-counter-clockwise.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.js";import"../../../icon/gator/templates/cursor-arrow.js";import"../../../icon/gator/templates/cursor-hand.js";import"../../../icon/gator/templates/dashboard.js";import"../../../icon/gator/templates/delete.js";import"../../../icon/gator/templates/dna.js";import"../../../icon/gator/templates/document.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/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/exit.js";import"../../../icon/gator/templates/exit-circle.js";import"../../../icon/gator/templates/exit-left.js";import"../../../icon/gator/templates/expand.js";import"../../../icon/gator/templates/expand-arrows.js";import"../../../icon/gator/templates/export.js";import"../../../icon/gator/templates/eye.js";import"../../../icon/gator/templates/eye-closed.js";import"../../../icon/gator/templates/eye-crossed.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.js";import"../../../icon/gator/templates/filters-2.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/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.js";import"../../../icon/gator/templates/home-finance-arrow.js";import"../../../icon/gator/templates/home-search.js";import"../../../icon/gator/templates/house.js";import"../../../icon/gator/templates/house-simple.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/label.js";import"../../../icon/gator/templates/laptop.js";import"../../../icon/gator/templates/layout.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.js";import"../../../icon/gator/templates/loading.js";import"../../../icon/gator/templates/loading-spinner-gif.js";import"../../../icon/gator/templates/lock.js";import"../../../icon/gator/templates/magic-wand.js";import"../../../icon/gator/templates/mail.js";import"../../../icon/gator/templates/mail-open.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.js";import"../../../icon/gator/templates/minus-circle.js";import"../../../icon/gator/templates/minus-square.js";import"../../../icon/gator/templates/mobile-phone-2.js";import"../../../icon/gator/templates/monitor.js";import"../../../icon/gator/templates/move.js";import"../../../icon/gator/templates/move-doc.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/pen.js";import"../../../icon/gator/templates/pencil.js";import"../../../icon/gator/templates/pencil-paper.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.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/phone.js";import"../../../icon/gator/templates/phone-alert.js";import"../../../icon/gator/templates/phone-mobile.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.js";import"../../../icon/gator/templates/plus-circle.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.js";import"../../../icon/gator/templates/radio-selected.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/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.js";import"../../../icon/gator/templates/sidebar-simple.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.js";import"../../../icon/gator/templates/sort-arrow-solid-up-down.js";import"../../../icon/gator/templates/sort-reverse-variant.js";import"../../../icon/gator/templates/sort-variant.js";import"../../../icon/gator/templates/sparkle.js";import"../../../icon/gator/templates/sparkle-filled.js";import"../../../icon/gator/templates/speech-bubble.js";import"../../../icon/gator/templates/stack.js";import"../../../icon/gator/templates/stamp.js";import"../../../icon/gator/templates/star.js";import"../../../icon/gator/templates/star-four.js";import"../../../icon/gator/templates/star-four-filled.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/target.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/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/warning.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/wet-sign.js";import"../../../icon/gator/templates/wifi.js";import"../../../icon/gator/templates/wifi-off.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{a as p,r as g,x as l}from"../../../../assets/index-chunk2.js";import{t as h}from"../../../../assets/index-chunk3.js";import{n as s}from"../../../../assets/index-chunk.js";import{p as f}from"../../../../assets/index-chunk5.js";import{s as x}from"../../../../assets/index-chunk6.js";import"../../../icon/icon-registry.js";import"../../../../utils/components/ngc-component.js";import"../../../../utils/components/testable-lit-element/testable-lit-element.js";const v=".gator-help-text{display:flex;align-content:center;gap:.25rem;font-family:var(--gator-help-text-font-family);font-weight:var(--gator-help-text-font-weight);font-size:var(--gator-help-text-font-size);line-height:var(--gator-help-text-line-height);color:var(--gator-help-text-color)}.is-error{color:var(--gator-help-text-error-color)}",y=':host{--gator-help-text-color: var(--color-text-secondary);--gator-help-text-error-color: var(--color-text-error);--gator-help-text-font-family: var(--text-family-sans-serif, "Open Sans", sans-serif);--gator-help-text-font-weight: 400;--gator-help-text-font-size: .9375rem;--gator-help-text-line-height: 1.375rem}';var u=Object.defineProperty,d=Object.getOwnPropertyDescriptor,m=(c,o,e,i)=>{for(var t=i>1?void 0:i?d(o,e):o,n=c.length-1,a;n>=0;n--)(a=c[n])&&(t=(i?a(o,e,t):a(t))||t);return i&&t&&u(o,e,t),t};let r=class extends g{constructor(){super(...arguments),this.id="",this.icon=!1,this.error=!1}render(){return l`
|
|
2
2
|
<div class="gator-help-text${this.error?" is-error":""}" id=${this.id}>
|
|
3
3
|
${this.icon?this.iconMarkup:""}
|
|
4
4
|
<slot></slot>
|