@ncino/web-components 3.3.0 → 3.4.0-preview.2
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/_virtual/preload-helper.js +1 -1
- package/dist/components/accordion/accordion.js +1 -1
- 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/alert/alert.js +1 -1
- package/dist/components/alert/gator/base/alert.gator.js +1 -1
- package/dist/components/alert/gator/subtitle/alert-subtitle.gator.js +1 -1
- package/dist/components/alert/gator/title/alert-title.gator.js +1 -1
- package/dist/components/avatar/avatar.js +1 -1
- package/dist/components/avatar/gator/avatar.gator.js +1 -1
- package/dist/components/badge/badge.js +1 -1
- package/dist/components/badge/gator/badge.gator.js +1 -1
- package/dist/components/badge/slds/badge.slds.js +1 -1
- package/dist/components/banner/banner.js +1 -1
- package/dist/components/banner/gator/banner.gator.js +1 -1
- package/dist/components/boolean/boolean.gator.js +1 -1
- package/dist/components/breadcrumbs/gator/breadcrumb/breadcrumb.gator.js +1 -1
- package/dist/components/breadcrumbs/gator/container/breadcrumbs.gator.js +1 -1
- package/dist/components/button/button.js +1 -1
- package/dist/components/button/gator/button.gator.js +6 -4
- package/dist/components/button/slds/button.slds.js +1 -1
- package/dist/components/button-card/button-card.js +1 -1
- package/dist/components/button-card/gator/button-card.gator.js +1 -1
- package/dist/components/button-group/gator/button-group.gator.js +1 -1
- package/dist/components/card/card.js +1 -1
- package/dist/components/card/gator/base/card.gator.js +1 -1
- package/dist/components/card/gator/content/card-content.gator.js +1 -1
- package/dist/components/card/gator/footer/card-footer.gator.js +1 -1
- package/dist/components/card/gator/header/card-header.gator.js +1 -1
- package/dist/components/checkbox/checkbox.gator.js +1 -1
- package/dist/components/checkbox-group/checkbox-group.gator.js +1 -1
- package/dist/components/chip/chip.js +1 -1
- package/dist/components/chip/gator/chip.gator.js +1 -1
- package/dist/components/combobox/base/combobox.js +1 -1
- package/dist/components/combobox/base/combobox.slds.js +1 -1
- package/dist/components/combobox/combobox-item/combobox-item.js +1 -1
- package/dist/components/combobox/combobox-item/combobox-item.slds.js +1 -1
- package/dist/components/date-picker/base/datepicker.js +1 -1
- package/dist/components/date-picker/base/gator/datepicker.gator.js +4 -3
- package/dist/components/date-picker/year-month-selector/year-month-selector.gator.js +2 -2
- package/dist/components/display-card/display-card.js +1 -1
- package/dist/components/display-card/gator/display-card.gator.js +1 -1
- package/dist/components/divider/gator/divider.gator.js +1 -1
- package/dist/components/fab/fab.js +1 -1
- package/dist/components/fab/gator/fab.gator.js +1 -1
- package/dist/components/headline-card/gator/headline-card.gator.js +1 -1
- package/dist/components/headline-card/headline-card.js +1 -1
- package/dist/components/icon/gator/icon.gator.js +1 -1
- package/dist/components/icon/gator/templates/add-link.js +1 -1
- package/dist/components/icon/gator/templates/airplane.js +1 -1
- package/dist/components/icon/gator/templates/alarm.js +1 -1
- package/dist/components/icon/gator/templates/apartment.js +1 -1
- package/dist/components/icon/gator/templates/arrow-around.js +1 -1
- package/dist/components/icon/gator/templates/arrow-down.js +1 -1
- package/dist/components/icon/gator/templates/arrow-left.js +1 -1
- package/dist/components/icon/gator/templates/arrow-line-left.js +1 -1
- package/dist/components/icon/gator/templates/arrow-line-right.js +1 -1
- package/dist/components/icon/gator/templates/arrow-right.js +1 -1
- package/dist/components/icon/gator/templates/arrow-up.js +1 -1
- package/dist/components/icon/gator/templates/bank.js +1 -1
- package/dist/components/icon/gator/templates/bell-disabled.js +1 -1
- package/dist/components/icon/gator/templates/bell.js +1 -1
- package/dist/components/icon/gator/templates/binoculars.js +1 -1
- package/dist/components/icon/gator/templates/book.js +1 -1
- package/dist/components/icon/gator/templates/box.js +1 -1
- package/dist/components/icon/gator/templates/cake.js +1 -1
- package/dist/components/icon/gator/templates/calculator.js +1 -1
- package/dist/components/icon/gator/templates/calendar.js +1 -1
- package/dist/components/icon/gator/templates/camera.js +1 -1
- package/dist/components/icon/gator/templates/caret-up-down.js +1 -1
- package/dist/components/icon/gator/templates/case.js +1 -1
- package/dist/components/icon/gator/templates/chart-rise.js +1 -1
- package/dist/components/icon/gator/templates/chat.js +1 -1
- package/dist/components/icon/gator/templates/check-circle.js +1 -1
- package/dist/components/icon/gator/templates/check.js +1 -1
- package/dist/components/icon/gator/templates/checkbox-selected.js +1 -1
- package/dist/components/icon/gator/templates/checkbox.js +1 -1
- package/dist/components/icon/gator/templates/chevron-down.js +1 -1
- package/dist/components/icon/gator/templates/chevron-left.js +1 -1
- package/dist/components/icon/gator/templates/chevron-right.js +1 -1
- package/dist/components/icon/gator/templates/chevron-up.js +1 -1
- package/dist/components/icon/gator/templates/circle-arrow-down.js +1 -1
- package/dist/components/icon/gator/templates/circle-arrow-left.js +1 -1
- package/dist/components/icon/gator/templates/circle-arrow-right.js +1 -1
- package/dist/components/icon/gator/templates/circle-arrow-up.js +1 -1
- package/dist/components/icon/gator/templates/circle-filled.js +1 -1
- package/dist/components/icon/gator/templates/circle.js +1 -1
- package/dist/components/icon/gator/templates/city.js +1 -1
- package/dist/components/icon/gator/templates/clipboard.js +1 -1
- package/dist/components/icon/gator/templates/clock-clockwise.js +1 -1
- package/dist/components/icon/gator/templates/clock-counter-clockwise.js +1 -1
- package/dist/components/icon/gator/templates/clock.js +1 -1
- package/dist/components/icon/gator/templates/collapse.js +1 -1
- package/dist/components/icon/gator/templates/cone.js +1 -1
- package/dist/components/icon/gator/templates/contact-info.js +1 -1
- package/dist/components/icon/gator/templates/copy.js +1 -1
- package/dist/components/icon/gator/templates/credit-card.js +1 -1
- package/dist/components/icon/gator/templates/crop.js +1 -1
- package/dist/components/icon/gator/templates/crosshairs.js +1 -1
- package/dist/components/icon/gator/templates/currency-dollar-simple.js +1 -1
- package/dist/components/icon/gator/templates/currency-eur.js +1 -1
- package/dist/components/icon/gator/templates/currency-gbp.js +1 -1
- package/dist/components/icon/gator/templates/currency-inr.js +1 -1
- package/dist/components/icon/gator/templates/currency-jpy.js +1 -1
- package/dist/components/icon/gator/templates/currency-krw.js +1 -1
- package/dist/components/icon/gator/templates/currency-kzt.js +1 -1
- package/dist/components/icon/gator/templates/currency-ngn.js +1 -1
- package/dist/components/icon/gator/templates/currency-rub.js +1 -1
- package/dist/components/icon/gator/templates/cursor-arrow.js +1 -1
- package/dist/components/icon/gator/templates/cursor-hand.js +1 -1
- package/dist/components/icon/gator/templates/cursor.js +1 -1
- package/dist/components/icon/gator/templates/dashboard.js +1 -1
- package/dist/components/icon/gator/templates/delete.js +1 -1
- package/dist/components/icon/gator/templates/dna.js +1 -1
- package/dist/components/icon/gator/templates/document-add.js +1 -1
- package/dist/components/icon/gator/templates/document-check.js +1 -1
- package/dist/components/icon/gator/templates/document-e-sign.js +1 -1
- package/dist/components/icon/gator/templates/document-image.js +1 -1
- package/dist/components/icon/gator/templates/document-pdf.js +1 -1
- package/dist/components/icon/gator/templates/document-sign.js +1 -1
- package/dist/components/icon/gator/templates/document-zip.js +1 -1
- package/dist/components/icon/gator/templates/document.js +1 -1
- package/dist/components/icon/gator/templates/dollar-bills.js +1 -1
- package/dist/components/icon/gator/templates/dollar-house.js +1 -1
- package/dist/components/icon/gator/templates/down-payment.js +1 -1
- package/dist/components/icon/gator/templates/download.js +1 -1
- package/dist/components/icon/gator/templates/drag-drop.js +1 -1
- package/dist/components/icon/gator/templates/earth.js +1 -1
- package/dist/components/icon/gator/templates/exit-circle.js +1 -1
- package/dist/components/icon/gator/templates/exit-left.js +1 -1
- package/dist/components/icon/gator/templates/exit.js +1 -1
- package/dist/components/icon/gator/templates/expand-arrows.js +1 -1
- package/dist/components/icon/gator/templates/expand.js +1 -1
- package/dist/components/icon/gator/templates/export.js +1 -1
- package/dist/components/icon/gator/templates/eye-closed.js +1 -1
- package/dist/components/icon/gator/templates/eye-crossed.js +1 -1
- package/dist/components/icon/gator/templates/eye.js +1 -1
- package/dist/components/icon/gator/templates/facebook-logo.js +1 -1
- package/dist/components/icon/gator/templates/file-code.js +1 -1
- package/dist/components/icon/gator/templates/files.js +1 -1
- package/dist/components/icon/gator/templates/filter-funnel.js +1 -1
- package/dist/components/icon/gator/templates/filters-2.js +1 -1
- package/dist/components/icon/gator/templates/filters.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-ad-andorra.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-ae-united-arab-emirates.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-af-afghanistan.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-ag-antigua-and-barbuda.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-ai-anguilla.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-al-albania.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-am-armenia.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-ao-angola.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-aq-antarctica.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-ar-argentina.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-as-american-smoa.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-at-austria.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-au-australia.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-aw-aruba.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-ax-aland-islands.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-az-azerbaijan.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-ba-bosnia-and-herzegovina.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-bb-barbados.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-bd-bangladesh.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-be-belgium.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-bf-burkina-faso.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-bg-bulgaria.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-bh-bahrain.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-bi-burundi.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-bj-benin.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-bl-saint-barthelemy.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-bm-bermuda.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-bn-brunei-darussalam.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-bo-bolivia.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-bq-bo-bonaire.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-bq-sa-sba.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-bq-se-snt-eustatius.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-br-brazil.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-bs-bahamas.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-bt-bhutan.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-bv-bouvet-island.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-bw-botswana.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-by-belarus.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-bz-belize.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-ca-canada.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-cc-cocos-keeling-islands.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-cd-democratic-republic-of-the-congo.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-cf-central-african-republic.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-cg-republic-of-the-congo.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-ch-switzerland.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-ci-c/303/264te-divoire-ivory-coast.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-ck-cook-islands.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-cl-chile.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-cm-cameroon.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-cn-china.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-co-colombia.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-cr-costa-rica.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-cu-cuba.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-cv-cabo-verde.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-cw-cura/303/247ao.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-cx-christmas-island.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-cy-cyprus.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-cz-czech-republic.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-de-germany.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-dj-djibouti.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-dk-denmark.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-dm-dominica.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-do-dominican-republic.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-dz-algeria.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-ec-ecuador.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-ee-estonia.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-eg-egypt.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-eh-western-sahara.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-er-eritrea.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-es-sain.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-et-ethiopia.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-fi-finland.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-fj-fiji.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-fk-falkland-islands.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-fm-federated-states-of-micronesia.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-fo-faroe-islands.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-fr-france.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-ga-gabon.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-gb-eng-england.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-gb-nir-northern-ireland.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-gb-sct-sotland.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-gb-ukm-united-kingdom.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-gb-wls-wales.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-gd-grenada.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-ge-georgia.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-gf-french-guiana.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-gg-guernsey.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-gh-ghana.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-gi-gibraltar.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-gl-greenland.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-gm-gambia.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-gn-guinea.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-gp-guadeloupe-2.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-gp-guadeloupe.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-gq-equatorial-guinea.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-gr-greece.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-gs-s-georgia-and-s-sandwich-islands.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-gt-guatemala.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-gu-guam.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-gw-guinea-bissau.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-gy-guyana.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-hk-hong-kong.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-hm-heard-and-mcdonald-islands.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-hn-honduras.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-hr-croatia-hrvatska.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-ht-haiti.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-hu-hungary.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-id-indonesia.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-ie-ireland.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-il-isreal.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-im-isle-of-man.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-in-india.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-io-british-indian-ocean-territory.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-iq-iraq.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-ir-iran.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-is-iceland.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-it-italy.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-je-jersey.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-jm-jamaica.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-jo-jordan.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-jp-japan.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-ke-kenia.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-kg-kyrgyzstan.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-kh-cambodia.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-ki--kiribati.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-km-comoros.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-kn-saint-kitts-and-nevis.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-kp-korea-north.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-kr-korea-south.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-kw-kuwait.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-ky-cayman-islands.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-kz-kazakhstan.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-la-laos.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-lb-lebanon.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-lc-saint-lucia.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-li-liechtenstein.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-lk-sri-lanka.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-lr-liberia.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-ls-lesotho.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-lt-lithuania.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-lu-luxembourg.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-lv-latvia.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-ly-libya.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-ma-morocco.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-mc-monaco.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-md-moldova.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-me-montenegro.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-mf-saint-martin.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-mg-madagascar.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-mh-marshall-islands.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-mk-north-macedonia.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-ml-mali.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-mm-myanmar.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-mn-mongolia.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-mo-macao.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-mp-northern-mariana-islands.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-mq-martinique-2.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-mq-martinique.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-mr-mauritania.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-ms-montserrat.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-mt-malta.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-mu-mauritius.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-mv-maldives.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-mw-malawi.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-mx-mexico.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-my-malaysia.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-mz-mozambique.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-na-namibia.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-nc-new-caledonia.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-ne-niger.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-nf-norfolk-island.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-ng-nigeria.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-ni-nicaragua.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-nl-netherlands.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-no-norway.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-np-nepal.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-nr-nauru.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-nu-niue.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-nz-new-zealand-aotearoa.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-om-oman.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-pa-panama.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-pe-peru.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-pf-french-polynesia.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-pg-papua-new-guinea.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-ph-philippines.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-pk-pakistan.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-pl-poland.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-pm-saint-pierre-and-miquelon.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-pm-st-pierre-and-miquelon.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-pn-pitcairn-islands.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-pr-puerto-rico.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-ps-palestinian-territory.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-pt-portugal.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-pw-palau.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-py-paraguay.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-qa-qatar.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-re-reunion.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-ro-romania.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-rs-srbia.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-ru-russian-federation.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-rw-rwanda.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-sa-sudi-arabia.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-sb-slomon-islands.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-sc-sychelles.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-sd-sdan.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-se-seden.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-sg-sngapore.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-sh-sint-helena.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-si-sovenia.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-sj-salbard-and-jan-mayen.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-sk-sovakia.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-sl-serra-leone.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-sm-sn-marino.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-sn-snegal.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-so-smalia.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-sr-sriname.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-ss-south-sudan.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-st-so-tome-and-principe.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-sv-el-slvador.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-sx-snt-maarten.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-sy-sria.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-sz-saziland.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-tc-turks-and-caicos-islands.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-td-chad.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-tf-french-southern-and-antarctic-lands.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-tg-togo.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-th-thailand.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-tj-tajikistan.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-tk-tokelau.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-tl-timor-leste.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-tm-turkmenistan.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-tn-tunisia.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-to-tonga.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-tr-turkey.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-tt-trinidad-and-tobago.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-tv-tuvalu.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-tw-taiwan.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-tz-tanzania.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-ua-ukraine.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-ug-uganda.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-um-united-states-minor-outlying-islands.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-us-united-states.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-uy-uruguay.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-uz-uzbekistan.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-va-vatican-city-state.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-vc-saint-vincent-and-the-grenadines.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-ve-venezuela.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-vg-virgin-islands-british.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-vi-virgin-islands-us.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-vn-vietnam.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-vu-vanuatu.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-wf-wallis-and-futuna.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-ws-smoa.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-ye-yemen.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-yt-unf-mayotte.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-za-south-africa.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-zm-zambia.js +1 -1
- package/dist/components/icon/gator/templates/flags/flag-zw-zimbabwe.js +1 -1
- package/dist/components/icon/gator/templates/flame.js +1 -1
- package/dist/components/icon/gator/templates/flash-off.js +1 -1
- package/dist/components/icon/gator/templates/flash-on.js +1 -1
- package/dist/components/icon/gator/templates/folder.js +1 -1
- package/dist/components/icon/gator/templates/gauge.js +1 -1
- package/dist/components/icon/gator/templates/hammer.js +1 -1
- package/dist/components/icon/gator/templates/hand-pointing.js +1 -1
- package/dist/components/icon/gator/templates/heart.js +1 -1
- package/dist/components/icon/gator/templates/home-door.js +1 -1
- package/dist/components/icon/gator/templates/home-finance-arrow.js +1 -1
- package/dist/components/icon/gator/templates/home-finance.js +1 -1
- package/dist/components/icon/gator/templates/home-search.js +1 -1
- package/dist/components/icon/gator/templates/house-simple.js +1 -1
- package/dist/components/icon/gator/templates/house.js +1 -1
- package/dist/components/icon/gator/templates/inbox.js +1 -1
- package/dist/components/icon/gator/templates/info.js +1 -1
- package/dist/components/icon/gator/templates/instagram-logo.js +1 -1
- package/dist/components/icon/gator/templates/interest-rate.js +1 -1
- package/dist/components/icon/gator/templates/invoice.js +1 -1
- package/dist/components/icon/gator/templates/label.js +1 -1
- package/dist/components/icon/gator/templates/laptop.js +1 -1
- package/dist/components/icon/gator/templates/layout.js +1 -1
- package/dist/components/icon/gator/templates/lightbulb.js +1 -1
- package/dist/components/icon/gator/templates/link.js +1 -1
- package/dist/components/icon/gator/templates/linkedin-logo.js +1 -1
- package/dist/components/icon/gator/templates/list.js +1 -1
- package/dist/components/icon/gator/templates/loading-spinner-gif.js +1 -1
- package/dist/components/icon/gator/templates/loading.js +1 -1
- package/dist/components/icon/gator/templates/lock.js +1 -1
- package/dist/components/icon/gator/templates/magic-wand.js +1 -1
- package/dist/components/icon/gator/templates/mail-open.js +1 -1
- package/dist/components/icon/gator/templates/mail.js +1 -1
- package/dist/components/icon/gator/templates/mailbox.js +1 -1
- package/dist/components/icon/gator/templates/map.js +1 -1
- package/dist/components/icon/gator/templates/menu-hamburger.js +1 -1
- package/dist/components/icon/gator/templates/microsoft-excel-logo.js +1 -1
- package/dist/components/icon/gator/templates/microsoft-outlook-logo.js +1 -1
- package/dist/components/icon/gator/templates/microsoft-powerpoint-logo.js +1 -1
- package/dist/components/icon/gator/templates/microsoft-teams-logo.js +1 -1
- package/dist/components/icon/gator/templates/microsoft-word-logo.js +1 -1
- package/dist/components/icon/gator/templates/minus-circle.js +1 -1
- package/dist/components/icon/gator/templates/minus-square.js +1 -1
- package/dist/components/icon/gator/templates/minus.js +1 -1
- package/dist/components/icon/gator/templates/mobile-phone-2.js +1 -1
- package/dist/components/icon/gator/templates/monitor.js +1 -1
- package/dist/components/icon/gator/templates/move-doc.js +1 -1
- package/dist/components/icon/gator/templates/move.js +1 -1
- package/dist/components/icon/gator/templates/music.js +1 -1
- package/dist/components/icon/gator/templates/number-1.js +1 -1
- package/dist/components/icon/gator/templates/number-2.js +1 -1
- package/dist/components/icon/gator/templates/number-3.js +1 -1
- package/dist/components/icon/gator/templates/overflow-menu.js +1 -1
- package/dist/components/icon/gator/templates/paper-airplane.js +1 -1
- package/dist/components/icon/gator/templates/paperclip.js +1 -1
- package/dist/components/icon/gator/templates/payments/payment-amazon-pay.js +1 -1
- package/dist/components/icon/gator/templates/payments/payment-amex.js +1 -1
- package/dist/components/icon/gator/templates/payments/payment-apple-pay.js +1 -1
- package/dist/components/icon/gator/templates/payments/payment-discover.js +1 -1
- package/dist/components/icon/gator/templates/payments/payment-google-pay.js +1 -1
- package/dist/components/icon/gator/templates/payments/payment-mastercard.js +1 -1
- package/dist/components/icon/gator/templates/payments/payment-visa.js +1 -1
- package/dist/components/icon/gator/templates/pen.js +1 -1
- package/dist/components/icon/gator/templates/pencil-paper.js +1 -1
- package/dist/components/icon/gator/templates/pencil.js +1 -1
- package/dist/components/icon/gator/templates/people-multiple.js +1 -1
- package/dist/components/icon/gator/templates/people-share.js +1 -1
- package/dist/components/icon/gator/templates/percent.js +1 -1
- package/dist/components/icon/gator/templates/person-add.js +1 -1
- package/dist/components/icon/gator/templates/person-check.js +1 -1
- package/dist/components/icon/gator/templates/person-lock.js +1 -1
- package/dist/components/icon/gator/templates/person.js +1 -1
- package/dist/components/icon/gator/templates/phone-alert.js +1 -1
- package/dist/components/icon/gator/templates/phone-mobile.js +1 -1
- package/dist/components/icon/gator/templates/phone.js +1 -1
- package/dist/components/icon/gator/templates/picture.js +1 -1
- package/dist/components/icon/gator/templates/pin.js +1 -1
- package/dist/components/icon/gator/templates/pinterest-logo.js +1 -1
- package/dist/components/icon/gator/templates/plus-circle.js +1 -1
- package/dist/components/icon/gator/templates/plus.js +1 -1
- package/dist/components/icon/gator/templates/printer.js +1 -1
- package/dist/components/icon/gator/templates/question-chat-bubble.js +1 -1
- package/dist/components/icon/gator/templates/question-circle.js +1 -1
- package/dist/components/icon/gator/templates/question-mark.js +1 -1
- package/dist/components/icon/gator/templates/radio-selected.js +1 -1
- package/dist/components/icon/gator/templates/radio.js +1 -1
- package/dist/components/icon/gator/templates/receipt.js +1 -1
- package/dist/components/icon/gator/templates/restricted.js +1 -1
- package/dist/components/icon/gator/templates/sandals.js +1 -1
- package/dist/components/icon/gator/templates/save.js +1 -1
- package/dist/components/icon/gator/templates/screen.js +1 -1
- package/dist/components/icon/gator/templates/search.js +1 -1
- package/dist/components/icon/gator/templates/settings.js +1 -1
- package/dist/components/icon/gator/templates/share-1.js +1 -1
- package/dist/components/icon/gator/templates/share-2.js +1 -1
- package/dist/components/icon/gator/templates/shield-lock.js +1 -1
- package/dist/components/icon/gator/templates/shield-warning.js +1 -1
- package/dist/components/icon/gator/templates/sidebar-simple.js +1 -1
- package/dist/components/icon/gator/templates/sidebar.js +1 -1
- package/dist/components/icon/gator/templates/smart-home.js +1 -1
- package/dist/components/icon/gator/templates/sort-arrow-solid-down.js +1 -1
- package/dist/components/icon/gator/templates/sort-arrow-solid-left.js +1 -1
- package/dist/components/icon/gator/templates/sort-arrow-solid-right.js +1 -1
- package/dist/components/icon/gator/templates/sort-arrow-solid-up-down.js +1 -1
- package/dist/components/icon/gator/templates/sort-arrow-solid-up.js +1 -1
- package/dist/components/icon/gator/templates/sort-reverse-variant.js +1 -1
- package/dist/components/icon/gator/templates/sort-variant.js +1 -1
- package/dist/components/icon/gator/templates/sparkle-filled.js +1 -1
- package/dist/components/icon/gator/templates/sparkle.js +1 -1
- package/dist/components/icon/gator/templates/speech-bubble.js +1 -1
- package/dist/components/icon/gator/templates/stack.js +1 -1
- package/dist/components/icon/gator/templates/stamp.js +1 -1
- package/dist/components/icon/gator/templates/star-four-filled.js +1 -1
- package/dist/components/icon/gator/templates/star-four.js +1 -1
- package/dist/components/icon/gator/templates/star.js +1 -1
- package/dist/components/icon/gator/templates/stopwatch.js +1 -1
- package/dist/components/icon/gator/templates/sun.js +1 -1
- package/dist/components/icon/gator/templates/sync.js +1 -1
- package/dist/components/icon/gator/templates/tab-arrows.js +1 -1
- package/dist/components/icon/gator/templates/target.js +1 -1
- package/dist/components/icon/gator/templates/thumbs-down.js +1 -1
- package/dist/components/icon/gator/templates/thumbs-up.js +1 -1
- package/dist/components/icon/gator/templates/tools.js +1 -1
- package/dist/components/icon/gator/templates/touch-id.js +1 -1
- package/dist/components/icon/gator/templates/trash.js +1 -1
- package/dist/components/icon/gator/templates/twitter-logo.js +1 -1
- package/dist/components/icon/gator/templates/unlink.js +1 -1
- package/dist/components/icon/gator/templates/unlock.js +1 -1
- package/dist/components/icon/gator/templates/upload.js +1 -1
- package/dist/components/icon/gator/templates/video.js +1 -1
- package/dist/components/icon/gator/templates/warning-circle.js +1 -1
- package/dist/components/icon/gator/templates/warning-diamond.js +1 -1
- package/dist/components/icon/gator/templates/warning-octagon.js +1 -1
- package/dist/components/icon/gator/templates/warning.js +1 -1
- package/dist/components/icon/gator/templates/wet-sign.js +1 -1
- package/dist/components/icon/gator/templates/wifi-off.js +1 -1
- package/dist/components/icon/gator/templates/wifi.js +1 -1
- package/dist/components/icon/gator/templates/x-logo.js +1 -1
- package/dist/components/icon/gator/templates/yelp-logo.js +1 -1
- package/dist/components/icon/gator/templates/youtube-logo.js +1 -1
- package/dist/components/icon/gator/templates/zillow-logo.js +1 -1
- package/dist/components/icon/icon.js +1 -1
- package/dist/components/icon/slds/icon.slds.js +1 -1
- package/dist/components/icon-button/gator/icon-button.gator.js +6 -4
- package/dist/components/icon-button/icon-button.js +1 -1
- package/dist/components/illustration/gator/illustration.gator.js +18 -1
- package/dist/components/illustration/gator/templates/balloons.js +1 -1
- package/dist/components/illustration/gator/templates/check-with-pencil.js +1 -1
- package/dist/components/illustration/gator/templates/commercial.js +1 -1
- package/dist/components/illustration/gator/templates/consumer.js +1 -1
- package/dist/components/illustration/gator/templates/mortgage.js +1 -1
- package/dist/components/illustration/gator/templates/portfolio-analytics.js +1 -1
- package/dist/components/illustration/gator/templates/small-business.js +1 -1
- package/dist/components/illustration/gator/templates/treasury.js +1 -1
- package/dist/components/illustration/gator/templates/your-bank-placeholder.js +1 -1
- package/dist/components/illustration/gator/templates/your-bank.js +1 -1
- package/dist/components/input/base/input-base.gator.js +5 -5
- package/dist/components/input/base/input-base.js +1 -1
- package/dist/components/input/gator/dropdown/input-dropdown.gator.js +18 -23
- 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 +2 -1
- package/dist/components/input/gator/input-file/file-uploaded-preview/file-upload-preview.gator.js +1 -1
- package/dist/components/input/gator/input-file/input-file.gator.js +1 -1
- package/dist/components/input/gator/input-label/input-label.gator.js +2 -2
- 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-search/input-search.gator.js +5 -5
- package/dist/components/input/gator/input-text/input-text.gator.js +1 -1
- package/dist/components/input/gator/input-textarea/input-textarea.gator.js +2 -2
- package/dist/components/input/gator/input-time/input-time.gator.js +25 -0
- package/dist/components/input/index.gator.js +1 -1
- package/dist/components/input/index.js +1 -1
- package/dist/components/input/slds/input-error/input-error.slds.js +2 -2
- package/dist/components/input/slds/input-label/input-label.slds.js +1 -1
- package/dist/components/input/slds/input-text/input-text.slds.js +1 -1
- package/dist/components/input-rich-text/input-rich-text.js +1 -1
- package/dist/components/input-rich-text/input-rich-text.slds.js +2 -2
- package/dist/components/list/gator/list/list.gator.js +2 -4
- package/dist/components/list/gator/list-item/list-item.gator.js +7 -9
- package/dist/components/loading-spinner/gator/loading-spinner.gator.js +1 -1
- package/dist/components/loading-spinner/loading-spinner.js +1 -1
- package/dist/components/menu/base/gator/menu.gator.js +1 -1
- package/dist/components/menu/base/menu.js +1 -1
- package/dist/components/menu/base/slds/menu.slds.js +1 -1
- package/dist/components/menu/menu-divider/menu-divider.js +1 -1
- package/dist/components/menu/menu-divider/menu-divider.slds.js +1 -1
- package/dist/components/menu/menu-item/gator/menu-item.gator.js +1 -1
- package/dist/components/menu/menu-item/menu-item.js +1 -1
- package/dist/components/menu/menu-item/slds/menu-item.slds.js +1 -1
- package/dist/components/menu/menu-submenu/menu-submenu.js +1 -1
- package/dist/components/menu/menu-submenu/menu-submenu.slds.js +1 -1
- package/dist/components/modal/gator/modal.gator.js +7 -7
- package/dist/components/modal/modal.js +1 -1
- package/dist/components/page-header/gator/page-header.gator.js +1 -1
- package/dist/components/panel/gator/panel.gator.js +1 -1
- package/dist/components/pill/pill.js +1 -1
- package/dist/components/pill/pill.slds.js +1 -1
- package/dist/components/progress-bar/gator/progress-bar.gator.js +1 -1
- package/dist/components/radio/radio.gator.js +1 -1
- package/dist/components/radio-group/radio-group.gator.js +1 -1
- package/dist/components/scoped-notification/scoped-notification.js +1 -1
- package/dist/components/scoped-notification/scoped-notification.slds.js +1 -1
- package/dist/components/selection-box/selection-box.gator.js +1 -1
- package/dist/components/selection-box-group/selection-box-group.gator.js +4 -4
- package/dist/components/selector/gator/selector.gator.js +2 -2
- package/dist/components/skeleton-loader/gator/skeleton-loader.gator.js +1 -1
- package/dist/components/switch/gator/switch.gator.js +2 -2
- package/dist/components/switch/switch.js +1 -1
- package/dist/components/table/gator/table-controls/table-controls.gator.js +1 -1
- package/dist/components/table/gator/table-pagination/table-pagination.gator.js +1 -1
- package/dist/components/table/gator/table.gator.js +1 -1
- package/dist/components/table/table.js +1 -1
- package/dist/components/tabs/gator/tab/tab.gator.js +1 -1
- package/dist/components/tabs/gator/tabset/tabset.gator.js +14 -14
- package/dist/components/text-detail/gator/text-detail.gator.js +1 -1
- package/dist/components/text-detail/text-detail.js +1 -1
- package/dist/components/text-link/gator/text-link.gator.js +1 -1
- package/dist/components/text-link/text-link.js +1 -1
- package/dist/components/time-picker/gator/index.js +1 -0
- package/dist/components/time-picker/gator/time-picker.gator.js +125 -0
- package/dist/components/toast/gator/base/toast.gator.js +1 -1
- package/dist/components/toast/gator/subtitle/toast-subtitle.gator.js +1 -1
- package/dist/components/toast/gator/title/toast-title.gator.js +1 -1
- package/dist/components/toast/toast.js +1 -1
- package/dist/components/tooltip/gator/tooltip.gator.js +1 -1
- package/dist/components/tooltip/slds/tooltip.slds.js +1 -1
- package/dist/components/tooltip/tooltip.js +1 -1
- package/dist/index.gator.js +1 -1
- package/dist/index.js +1 -1
- package/dist/node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/property.js +5 -0
- package/dist/node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/reactive-element.js +5 -0
- package/dist/node_modules/.pnpm/{@vitest_expect@3.1.1 → @vitest_expect@3.1.2}/node_modules/@vitest/expect/dist/index.js +4 -4
- package/dist/node_modules/.pnpm/{@vitest_pretty-format@3.1.1 → @vitest_pretty-format@3.1.2}/node_modules/@vitest/pretty-format/dist/index.js +5 -5
- package/dist/node_modules/.pnpm/@vitest_runner@3.1.2/node_modules/@vitest/runner/dist/index.js +4 -0
- package/dist/node_modules/.pnpm/{@vitest_snapshot@3.1.1 → @vitest_snapshot@3.1.2}/node_modules/@vitest/snapshot/dist/index.js +1 -1
- package/dist/node_modules/.pnpm/{@vitest_utils@3.1.1 → @vitest_utils@3.1.2}/node_modules/@vitest/utils/dist/chunk-_commonjsHelpers.js +1 -1
- package/dist/node_modules/.pnpm/{@vitest_utils@3.1.1 → @vitest_utils@3.1.2}/node_modules/@vitest/utils/dist/diff.js +1 -1
- package/dist/node_modules/.pnpm/libphonenumber-js@1.12.7/node_modules/libphonenumber-js/metadata.min.json.js +1 -0
- package/dist/node_modules/.pnpm/lit-element@4.2.0/node_modules/lit-element/lit-element.js +5 -0
- package/dist/node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/directives/ref.js +5 -0
- package/dist/node_modules/.pnpm/{lit-html@3.2.1 → lit-html@3.3.0}/node_modules/lit-html/lit-html.js +1 -1
- package/dist/node_modules/.pnpm/{vitest@3.1.1_@types_debug@4.1.12_@types_node@22.13.10_@vitest_browser@3.1.1_@vitest_ui@_10eb3c608a954c2845bfad81b0d7d772/node_modules/vitest/dist/chunks/utils.CtocqOoE.js → vitest@3.1.2_@types_debug@4.1.12_@types_node@22.13.10_@vitest_browser@3.1.2_@vitest_ui@_b3e273fb96cdae5dad1113241e94b66d/node_modules/vitest/dist/chunks/utils.CgTj3MsC.js} +3 -2
- package/dist/node_modules/.pnpm/{vitest@3.1.1_@types_debug@4.1.12_@types_node@22.13.10_@vitest_browser@3.1.1_@vitest_ui@_10eb3c608a954c2845bfad81b0d7d772/node_modules/vitest/dist/chunks/vi.B-PuvDzu.js → vitest@3.1.2_@types_debug@4.1.12_@types_node@22.13.10_@vitest_browser@3.1.2_@vitest_ui@_b3e273fb96cdae5dad1113241e94b66d/node_modules/vitest/dist/chunks/vi.ClIskdbk.js} +1 -1
- package/dist/packages/web-components/src/components/button/gator/button.gator.scss.js +1 -1
- package/dist/packages/web-components/src/components/display-card/gator/display-card.gator.scss.js +1 -1
- package/dist/packages/web-components/src/components/illustration/gator/illustration.gator.scss.js +1 -1
- package/dist/packages/web-components/src/components/input/gator/input-time/input-time.gator.scss.js +1 -0
- package/dist/packages/web-components/src/components/input/input.gator.scss.js +1 -1
- package/dist/packages/web-components/src/components/time-picker/gator/time-picker.gator.scss.js +1 -0
- package/dist/types/components/checkbox-group/checkbox-group.gator.d.ts +1 -1
- package/dist/types/components/icon-button/icon-button.d.ts +10 -0
- package/dist/types/components/illustration/gator/illustration.gator.d.ts +20 -2
- package/dist/types/components/input/base/input-base.d.ts +1 -1
- package/dist/types/components/input/base/input-base.gator.d.ts +4 -2
- package/dist/types/components/input/gator/dropdown/input-dropdown.gator.d.ts +6 -2
- package/dist/types/components/input/gator/input-search/input-search.gator.d.ts +0 -2
- package/dist/types/components/input/gator/input-time/input-time.gator.d.ts +42 -0
- package/dist/types/components/input/gator/input-time/input-time.gator.test.d.ts +0 -0
- package/dist/types/components/input/index.gator.d.ts +1 -0
- package/dist/types/components/list/gator/list/list.gator.d.ts +13 -6
- package/dist/types/components/list/gator/list-item/list-item.gator.d.ts +4 -1
- package/dist/types/components/modal/gator/modal.gator.d.ts +3 -1
- package/dist/types/components/selection-box-group/selection-box-group.gator.d.ts +1 -1
- package/dist/types/components/selector/gator/selector.gator.d.ts +5 -0
- package/dist/types/components/tabs/gator/tabset/tabset.gator.d.ts +9 -3
- package/dist/types/components/time-picker/gator/index.d.ts +1 -0
- package/dist/types/components/time-picker/gator/time-picker.gator.d.ts +44 -0
- package/dist/types/components/time-picker/gator/time-picker.gator.test.d.ts +0 -0
- package/dist/types/custom-aria.d.js +1 -0
- package/dist/types/index.gator.d.ts +1 -0
- package/dist/types/utils/accessibility-utils.d.ts +1 -0
- package/dist/types/utils/components/ngc-component.d.ts +11 -0
- package/dist/types/utils/mixins/attribute-deletion.d.ts +15 -0
- package/dist/types/utils/reactivity-utils.d.ts +1 -0
- package/dist/types/utils/string-utils.d.ts +1 -0
- package/dist/types/utils/vitest-a11y-utils.d.ts +1 -0
- package/dist/utils/accessibility-utils.js +1 -0
- package/dist/utils/components/illustration-list/illustration-list.gator.js +1 -1
- package/dist/utils/components/ngc-component.js +1 -1
- package/dist/utils/components/slot-placeholder/slot-placeholder.js +2 -2
- package/dist/utils/components/testable-lit-element/testable-lit-element.js +1 -1
- package/dist/utils/mixins/attribute-deletion.js +1 -1
- package/dist/utils/reactivity-utils.js +1 -0
- package/dist/utils/storybook-args.js +1 -1
- package/dist/utils/string-utils.js +1 -1
- package/dist/utils/vitest-a11y-utils.js +1 -1
- package/package.json +19 -21
- package/web-types.json +651 -89
- package/dist/node_modules/.pnpm/@lit_reactive-element@2.0.4/node_modules/@lit/reactive-element/decorators/property.js +0 -5
- package/dist/node_modules/.pnpm/@lit_reactive-element@2.0.4/node_modules/@lit/reactive-element/reactive-element.js +0 -5
- package/dist/node_modules/.pnpm/@vitest_runner@3.1.1/node_modules/@vitest/runner/dist/index.js +0 -4
- package/dist/node_modules/.pnpm/libphonenumber-js@1.12.6/node_modules/libphonenumber-js/metadata.min.json.js +0 -1
- package/dist/node_modules/.pnpm/lit-element@4.1.1/node_modules/lit-element/lit-element.js +0 -5
- package/dist/node_modules/.pnpm/lit-html@3.2.1/node_modules/lit-html/directives/ref.js +0 -5
- package/dist/packages/web-components/src/components/illustration/illustration.tokens.scss.js +0 -1
- /package/dist/components/table/gator/{test-data → __tests__}/test-table-data.js +0 -0
- /package/dist/node_modules/.pnpm/{@lit_reactive-element@2.0.4 → @lit_reactive-element@2.1.0}/node_modules/@lit/reactive-element/css-tag.js +0 -0
- /package/dist/node_modules/.pnpm/{@lit_reactive-element@2.0.4 → @lit_reactive-element@2.1.0}/node_modules/@lit/reactive-element/decorators/custom-element.js +0 -0
- /package/dist/node_modules/.pnpm/{@lit_reactive-element@2.0.4 → @lit_reactive-element@2.1.0}/node_modules/@lit/reactive-element/decorators/state.js +0 -0
- /package/dist/node_modules/.pnpm/{@vitest_browser@3.1.1_msw@2.7.3_@types_node@22.13.10_typescript@5.8.2__playwright@1.51._f090b6db94019832c44d618c1c700bd2 → @vitest_browser@3.1.2_msw@2.7.3_@types_node@22.13.10_typescript@5.8.3__playwright@1.52._d9f437d9be40af4c1087950720317100}/node_modules/@vitest/browser/context.js +0 -0
- /package/dist/node_modules/.pnpm/{@vitest_runner@3.1.1 → @vitest_runner@3.1.2}/node_modules/@vitest/runner/dist/chunk-tasks.js +0 -0
- /package/dist/node_modules/.pnpm/{@vitest_spy@3.1.1 → @vitest_spy@3.1.2}/node_modules/@vitest/spy/dist/index.js +0 -0
- /package/dist/node_modules/.pnpm/{@vitest_utils@3.1.1 → @vitest_utils@3.1.2}/node_modules/@vitest/utils/dist/error.js +0 -0
- /package/dist/node_modules/.pnpm/{@vitest_utils@3.1.1 → @vitest_utils@3.1.2}/node_modules/@vitest/utils/dist/helpers.js +0 -0
- /package/dist/node_modules/.pnpm/{@vitest_utils@3.1.1 → @vitest_utils@3.1.2}/node_modules/@vitest/utils/dist/index.js +0 -0
- /package/dist/node_modules/.pnpm/{@vitest_utils@3.1.1 → @vitest_utils@3.1.2}/node_modules/@vitest/utils/dist/source-map.js +0 -0
- /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.6 → libphonenumber-js@1.12.7}/node_modules/libphonenumber-js/es6/ParseError.js +0 -0
- /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.6 → libphonenumber-js@1.12.7}/node_modules/libphonenumber-js/es6/PhoneNumber.js +0 -0
- /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.6 → libphonenumber-js@1.12.7}/node_modules/libphonenumber-js/es6/constants.js +0 -0
- /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.6 → libphonenumber-js@1.12.7}/node_modules/libphonenumber-js/es6/format.js +0 -0
- /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.6 → libphonenumber-js@1.12.7}/node_modules/libphonenumber-js/es6/helpers/RFC3966.js +0 -0
- /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.6 → libphonenumber-js@1.12.7}/node_modules/libphonenumber-js/es6/helpers/applyInternationalSeparatorStyle.js +0 -0
- /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.6 → libphonenumber-js@1.12.7}/node_modules/libphonenumber-js/es6/helpers/checkNumberLength.js +0 -0
- /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.6 → libphonenumber-js@1.12.7}/node_modules/libphonenumber-js/es6/helpers/extension/createExtensionPattern.js +0 -0
- /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.6 → libphonenumber-js@1.12.7}/node_modules/libphonenumber-js/es6/helpers/extension/extractExtension.js +0 -0
- /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.6 → libphonenumber-js@1.12.7}/node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCode.js +0 -0
- /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.6 → libphonenumber-js@1.12.7}/node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCodeFromInternationalNumberWithoutPlusSign.js +0 -0
- /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.6 → libphonenumber-js@1.12.7}/node_modules/libphonenumber-js/es6/helpers/extractFormattedPhoneNumberFromPossibleRfc3966NumberUri.js +0 -0
- /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.6 → libphonenumber-js@1.12.7}/node_modules/libphonenumber-js/es6/helpers/extractNationalNumber.js +0 -0
- /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.6 → libphonenumber-js@1.12.7}/node_modules/libphonenumber-js/es6/helpers/extractNationalNumberFromPossiblyIncompleteNumber.js +0 -0
- /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.6 → libphonenumber-js@1.12.7}/node_modules/libphonenumber-js/es6/helpers/extractPhoneContext.js +0 -0
- /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.6 → libphonenumber-js@1.12.7}/node_modules/libphonenumber-js/es6/helpers/formatNationalNumberUsingFormat.js +0 -0
- /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.6 → libphonenumber-js@1.12.7}/node_modules/libphonenumber-js/es6/helpers/getCountryByCallingCode.js +0 -0
- /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.6 → libphonenumber-js@1.12.7}/node_modules/libphonenumber-js/es6/helpers/getCountryByNationalNumber.js +0 -0
- /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.6 → libphonenumber-js@1.12.7}/node_modules/libphonenumber-js/es6/helpers/getIddPrefix.js +0 -0
- /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.6 → libphonenumber-js@1.12.7}/node_modules/libphonenumber-js/es6/helpers/getNumberType.js +0 -0
- /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.6 → libphonenumber-js@1.12.7}/node_modules/libphonenumber-js/es6/helpers/getPossibleCountriesForNumber.js +0 -0
- /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.6 → libphonenumber-js@1.12.7}/node_modules/libphonenumber-js/es6/helpers/isObject.js +0 -0
- /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.6 → libphonenumber-js@1.12.7}/node_modules/libphonenumber-js/es6/helpers/isViablePhoneNumber.js +0 -0
- /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.6 → libphonenumber-js@1.12.7}/node_modules/libphonenumber-js/es6/helpers/matchesEntirely.js +0 -0
- /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.6 → libphonenumber-js@1.12.7}/node_modules/libphonenumber-js/es6/helpers/parseDigits.js +0 -0
- /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.6 → libphonenumber-js@1.12.7}/node_modules/libphonenumber-js/es6/helpers/stripIddPrefix.js +0 -0
- /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.6 → libphonenumber-js@1.12.7}/node_modules/libphonenumber-js/es6/isPossible.js +0 -0
- /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.6 → libphonenumber-js@1.12.7}/node_modules/libphonenumber-js/es6/isValid.js +0 -0
- /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.6 → libphonenumber-js@1.12.7}/node_modules/libphonenumber-js/es6/metadata.js +0 -0
- /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.6 → libphonenumber-js@1.12.7}/node_modules/libphonenumber-js/es6/normalizeArguments.js +0 -0
- /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.6 → libphonenumber-js@1.12.7}/node_modules/libphonenumber-js/es6/parse.js +0 -0
- /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.6 → libphonenumber-js@1.12.7}/node_modules/libphonenumber-js/es6/parseIncompletePhoneNumber.js +0 -0
- /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.6 → libphonenumber-js@1.12.7}/node_modules/libphonenumber-js/es6/parsePhoneNumber.js +0 -0
- /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.6 → libphonenumber-js@1.12.7}/node_modules/libphonenumber-js/es6/parsePhoneNumberWithError_.js +0 -0
- /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.6 → libphonenumber-js@1.12.7}/node_modules/libphonenumber-js/es6/parsePhoneNumber_.js +0 -0
- /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.6 → libphonenumber-js@1.12.7}/node_modules/libphonenumber-js/es6/tools/semver-compare.js +0 -0
- /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.6 → libphonenumber-js@1.12.7}/node_modules/libphonenumber-js/min/exports/parsePhoneNumber.js +0 -0
- /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.6 → libphonenumber-js@1.12.7}/node_modules/libphonenumber-js/min/exports/withMetadataArgument.js +0 -0
- /package/dist/node_modules/.pnpm/{lit-html@3.2.1 → lit-html@3.3.0}/node_modules/lit-html/async-directive.js +0 -0
- /package/dist/node_modules/.pnpm/{lit-html@3.2.1 → lit-html@3.3.0}/node_modules/lit-html/directive-helpers.js +0 -0
- /package/dist/node_modules/.pnpm/{lit-html@3.2.1 → lit-html@3.3.0}/node_modules/lit-html/directive.js +0 -0
- /package/dist/node_modules/.pnpm/{lit-html@3.2.1 → lit-html@3.3.0}/node_modules/lit-html/directives/if-defined.js +0 -0
- /package/dist/node_modules/.pnpm/{lit-html@3.2.1 → lit-html@3.3.0}/node_modules/lit-html/directives/live.js +0 -0
- /package/dist/node_modules/.pnpm/{lit-html@3.2.1 → lit-html@3.3.0}/node_modules/lit-html/directives/unsafe-html.js +0 -0
- /package/dist/node_modules/.pnpm/{vitest@3.1.1_@types_debug@4.1.12_@types_node@22.13.10_@vitest_browser@3.1.1_@vitest_ui@_10eb3c608a954c2845bfad81b0d7d772 → vitest@3.1.2_@types_debug@4.1.12_@types_node@22.13.10_@vitest_browser@3.1.2_@vitest_ui@_b3e273fb96cdae5dad1113241e94b66d}/node_modules/vitest/dist/chunks/_commonjsHelpers.BFTU3MAI.js +0 -0
- /package/dist/node_modules/.pnpm/{vitest@3.1.1_@types_debug@4.1.12_@types_node@22.13.10_@vitest_browser@3.1.1_@vitest_ui@_10eb3c608a954c2845bfad81b0d7d772 → vitest@3.1.2_@types_debug@4.1.12_@types_node@22.13.10_@vitest_browser@3.1.2_@vitest_ui@_b3e273fb96cdae5dad1113241e94b66d}/node_modules/vitest/dist/chunks/date.CDOsz-HY.js +0 -0
- /package/dist/types/components/table/gator/{test-data → __tests__}/test-table-data.d.ts +0 -0
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import{customElement as m}from"../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/custom-element.js";import{property as p}from"../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/property.js";import{NgcComponent as d}from"../../../utils/components/ngc-component.js";import g from"../../../packages/web-components/src/components/time-picker/gator/time-picker.gator.scss.js";import"../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/reactive-element.js";import{html as h}from"../../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/lit-html.js";import{LitElement as f}from"../../../node_modules/.pnpm/lit-element@4.2.0/node_modules/lit-element/lit-element.js";import{msg as r}from"../../../node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/init/install.js";import"../../../node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/init/runtime.js";import{zeroPad as v}from"../../../utils/string-utils.js";import{KEY_CONSTANTS as n}from"../../../consts/key-constants.js";import"../../selector/gator/selector.gator.js";import"../../icon-button/gator/icon-button.gator.js";import"../../button/gator/button.gator.js";import{unsafeCSS as b}from"../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/css-tag.js";var y=Object.defineProperty,k=Object.getOwnPropertyDescriptor,w=Object.getPrototypeOf,O=Reflect.get,a=(e,t,o,i)=>{for(var s=i>1?void 0:i?k(t,o):t,l=e.length-1,u;l>=0;l--)(u=e[l])&&(s=(i?u(t,o,s):u(s))||s);return i&&s&&y(t,o,s),s},x=(e,t,o)=>O(w(e),o,t);let c=class extends d{constructor(){super(...arguments),this.hour=null,this.minute=null,this.timeOfDay=null}async updated(e){super.updated(e),(e.has("hour")||e.has("minute"))&&this.scrollToOptions()}firstUpdated(e){this.scrollToOptions()}render(){return h`
|
|
2
|
+
<div class="gator-time-picker" role="dialog" aria-modal="true" aria-label="${r("Select Time")}" @keydown="${this.handleTopLevelKeyUp}">
|
|
3
|
+
<div class="gator-time-picker-selection">
|
|
4
|
+
<div class="gator-time-picker-hours">
|
|
5
|
+
<div class="gator-time-picker-header">
|
|
6
|
+
hh
|
|
7
|
+
</div>
|
|
8
|
+
<div class="gator-time-picker-chevron">
|
|
9
|
+
<ngc-icon-button
|
|
10
|
+
@click="${this.selectPreviousHour}"
|
|
11
|
+
aria-label="${r("Previous Hour")}"
|
|
12
|
+
size="medium"
|
|
13
|
+
icon-name="chevron-up"
|
|
14
|
+
tabindex="-1"
|
|
15
|
+
></ngc-icon-button>
|
|
16
|
+
</div>
|
|
17
|
+
<div class="gator-time-picker-options" tabindex="-1" role="listbox" aria-label="${r("Hour Options")}">
|
|
18
|
+
${this.hourOptions}
|
|
19
|
+
</div>
|
|
20
|
+
<div class="gator-time-picker-chevron">
|
|
21
|
+
<ngc-icon-button
|
|
22
|
+
@click="${this.selectNextHour}"
|
|
23
|
+
aria-label="${r("Next Hour")}"
|
|
24
|
+
size="medium"
|
|
25
|
+
icon-name="chevron-down"
|
|
26
|
+
tabindex="-1"
|
|
27
|
+
></ngc-icon-button>
|
|
28
|
+
</div>
|
|
29
|
+
</div>
|
|
30
|
+
<div class="gator-time-picker-minutes">
|
|
31
|
+
<div class="gator-time-picker-header">
|
|
32
|
+
mm
|
|
33
|
+
</div>
|
|
34
|
+
<div class="gator-time-picker-chevron">
|
|
35
|
+
<ngc-icon-button
|
|
36
|
+
@click="${this.selectPreviousMinute}"
|
|
37
|
+
aria-label="${r("Previous Minute")}"
|
|
38
|
+
size="medium"
|
|
39
|
+
icon-name="chevron-up"
|
|
40
|
+
tabindex="-1"
|
|
41
|
+
></ngc-icon-button>
|
|
42
|
+
</div>
|
|
43
|
+
<div class="gator-time-picker-options" tabindex="-1" role="listbox" aria-label="${r("Minute Options")}">
|
|
44
|
+
${this.minuteOptions}
|
|
45
|
+
</div>
|
|
46
|
+
<div class="gator-time-picker-chevron">
|
|
47
|
+
<ngc-icon-button
|
|
48
|
+
@click="${this.selectNextMinute}"
|
|
49
|
+
aria-label="${r("Next Minute")}"
|
|
50
|
+
size="medium"
|
|
51
|
+
icon-name="chevron-down"
|
|
52
|
+
tabindex="-1"
|
|
53
|
+
></ngc-icon-button>
|
|
54
|
+
</div>
|
|
55
|
+
</div>
|
|
56
|
+
<div class="gator-time-picker-time-of-day">
|
|
57
|
+
<div class="gator-time-picker-header"></div>
|
|
58
|
+
<div class="gator-time-picker-options" tabindex="-1" role="listbox" aria-label="${r("Time of Day Options")}">
|
|
59
|
+
<ngc-selector
|
|
60
|
+
role="option"
|
|
61
|
+
aria-label="PM"
|
|
62
|
+
type="base"
|
|
63
|
+
?selected="${this.timeOfDay==="PM"}"
|
|
64
|
+
tabindex="${this.timeOfDay==="PM"?"0":"-1"}"
|
|
65
|
+
@select="${e=>this.handleSelectionChange(e,"timeOfDay")}"
|
|
66
|
+
@keydown="${this.focusOtherTimeOfDayOption}"
|
|
67
|
+
>
|
|
68
|
+
PM
|
|
69
|
+
</ngc-selector>
|
|
70
|
+
<ngc-selector
|
|
71
|
+
role="option"
|
|
72
|
+
aria-label="AM"
|
|
73
|
+
type="base"
|
|
74
|
+
?selected="${this.timeOfDay==="AM"}"
|
|
75
|
+
tabindex="${this.timeOfDay==="AM"?"0":"-1"}"
|
|
76
|
+
@select="${e=>this.handleSelectionChange(e,"timeOfDay")}"
|
|
77
|
+
@keydown="${this.focusOtherTimeOfDayOption}"
|
|
78
|
+
>
|
|
79
|
+
AM
|
|
80
|
+
</ngc-selector>
|
|
81
|
+
</div>
|
|
82
|
+
</div>
|
|
83
|
+
</div>
|
|
84
|
+
<div class="gator-time-picker-actions">
|
|
85
|
+
<div class="gator-time-picker-clear">
|
|
86
|
+
<ngc-button variant="base" @click="${this.sendClearEvent}">
|
|
87
|
+
${r("Clear")}
|
|
88
|
+
</ngc-button>
|
|
89
|
+
</div>
|
|
90
|
+
<div class="gator-time-picker-now">
|
|
91
|
+
<ngc-button
|
|
92
|
+
variant="base"
|
|
93
|
+
@click="${this.sendNowEvent}"
|
|
94
|
+
@keydown="${this.handleNowButtonKeyDown}"
|
|
95
|
+
>
|
|
96
|
+
${r("Now")}
|
|
97
|
+
</ngc-button>
|
|
98
|
+
</div>
|
|
99
|
+
</div>
|
|
100
|
+
</div>
|
|
101
|
+
`}scrollToOptions(){var o,i;const e=(o=this.shadowRoot)==null?void 0:o.querySelector(".gator-time-picker-hours ngc-selector[selected]");e&&e.scrollIntoView({behavior:"smooth",block:"center"});const t=(i=this.shadowRoot)==null?void 0:i.querySelector(".gator-time-picker-minutes ngc-selector[selected]");t&&t.scrollIntoView({behavior:"smooth",block:"center"})}get hourOptions(){return Array.from({length:12},(t,o)=>o+1).map(t=>{const o=v(t,2),i=this.hour==t||this.hour==0&&t==12?t:null;return h`
|
|
102
|
+
<ngc-selector
|
|
103
|
+
role="option"
|
|
104
|
+
type="base"
|
|
105
|
+
data-value="${o}"
|
|
106
|
+
?selected="${i}"
|
|
107
|
+
@select="${s=>this.handleSelectionChange(s,"hour")}"
|
|
108
|
+
tabindex="${this.hour===t?"0":"-1"}"
|
|
109
|
+
@keydown="${this.handleHourKeyDown}"
|
|
110
|
+
>
|
|
111
|
+
${o}
|
|
112
|
+
</ngc-selector>
|
|
113
|
+
`})}get minuteOptions(){return Array.from({length:60},(t,o)=>o+1).map(t=>{const o=t-1,i=o-1<9?`0${o}`:o;return h`
|
|
114
|
+
<ngc-selector
|
|
115
|
+
role="option"
|
|
116
|
+
type="base"
|
|
117
|
+
data-value="${i}"
|
|
118
|
+
?selected="${this.minute===o}"
|
|
119
|
+
@select="${s=>this.handleSelectionChange(s,"minute")}"
|
|
120
|
+
tabindex="${this.minute===o?"0":"-1"}"
|
|
121
|
+
@keydown="${this.handleMinuteKeyDown}"
|
|
122
|
+
>
|
|
123
|
+
${i}
|
|
124
|
+
</ngc-selector>
|
|
125
|
+
`})}handleMinuteKeyDown(e){e.key==n.UP&&(e.stopPropagation(),e.preventDefault(),this.focusPreviousMinute()),e.key==n.DOWN&&(e.stopPropagation(),e.preventDefault(),this.focusNextMinute())}handleHourKeyDown(e){var t;if(e.key==n.TAB&&e.shiftKey){e.preventDefault();const o=(t=this.shadowRoot)==null?void 0:t.querySelector(".gator-time-picker-now ngc-button");o&&o.focus()}e.key==n.UP&&(e.stopPropagation(),e.preventDefault(),this.focusPreviousHour()),e.key==n.DOWN&&(e.stopPropagation(),e.preventDefault(),this.focusNextHour())}selectNextHour(){if(this.hour&&this.hour<12){const e=this.hour+1;this.handleSelectionChange(new CustomEvent("change",{detail:{value:e}}),"hour")}}selectPreviousHour(){if(this.hour){const e=this.hour-1;this.handleSelectionChange(new CustomEvent("change",{detail:{value:e}}),"hour")}}selectNextMinute(){if(this.minute&&this.minute<59){const e=this.minute+1;this.handleSelectionChange(new CustomEvent("change",{detail:{value:e}}),"minute")}}selectPreviousMinute(){if(this.minute){const e=this.minute-1;this.handleSelectionChange(new CustomEvent("change",{detail:{value:e}}),"minute")}}handleSelectionChange(e,t){e.stopPropagation(),e.preventDefault();const o=e.detail.value;this.dispatchEvent(new CustomEvent("change",{bubbles:!1,composed:!0,detail:{[t]:o}}))}focusNextHour(){var t;let e=(t=this.shadowRoot)==null?void 0:t.querySelector(".gator-time-picker-hours .gator-time-picker-options ngc-selector[tabindex='0']");if(e){const o=e.nextElementSibling;o&&this.focusNewOption(o,e)}}focusPreviousHour(){var t;let e=(t=this.shadowRoot)==null?void 0:t.querySelector(".gator-time-picker-hours .gator-time-picker-options ngc-selector[tabindex='0']");if(e){const o=e.previousElementSibling;o&&this.focusNewOption(o,e)}}focusNextMinute(){var t;let e=(t=this.shadowRoot)==null?void 0:t.querySelector(".gator-time-picker-minutes .gator-time-picker-options ngc-selector[tabindex='0']");if(e){const o=e.nextElementSibling;o&&this.focusNewOption(o,e)}}focusPreviousMinute(){var t;let e=(t=this.shadowRoot)==null?void 0:t.querySelector(".gator-time-picker-minutes .gator-time-picker-options ngc-selector[tabindex='0']");if(e){const o=e.previousElementSibling;o&&this.focusNewOption(o,e)}}focusNewOption(e,t){t.setAttribute("tabindex","-1"),e.setAttribute("tabindex","0"),e.focus(),e.scrollIntoView({behavior:"smooth",block:"center"})}focusOtherTimeOfDayOption(e){var o;if(e.key!=n.DOWN&&e.key!=n.UP)return;e.stopPropagation(),e.preventDefault();let t=(o=this.shadowRoot)==null?void 0:o.querySelector(".gator-time-picker-time-of-day ngc-selector[tabindex='0']");if(t){let i=null;e.key==n.DOWN?i=t.nextElementSibling:i=t.previousElementSibling,i&&this.focusNewOption(i,t)}}sendClearEvent(){this.dispatchEvent(new CustomEvent("clear",{composed:!0}))}sendNowEvent(){this.dispatchEvent(new CustomEvent("now",{composed:!0}))}handleNowButtonKeyDown(e){var t;if(e.key==n.TAB&&!e.shiftKey){e.preventDefault();let o=(t=this.shadowRoot)==null?void 0:t.querySelector(".gator-time-picker-hours ngc-selector[tabindex='0']");o&&o.focus()}}focus(){var t;let e=(t=this.shadowRoot)==null?void 0:t.querySelector(".gator-time-picker-hours ngc-selector[tabindex='0']");e&&e.focus()}handleTopLevelKeyUp(e){e.key==n.ESCAPE&&(e.stopPropagation(),e.preventDefault(),this.dispatchEvent(new CustomEvent("close",{composed:!0})))}};c.shadowRootOptions={...f.shadowRootOptions,delegatesFocus:!0};c.styles=[...x(c,c,"styles"),b(g)];a([p({type:Number})],c.prototype,"hour",2);a([p({type:Number})],c.prototype,"minute",2);a([p({attribute:"time-of-day"})],c.prototype,"timeOfDay",2);c=a([m("ngc-time-picker")],c);export{c as NgcTimePicker};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{NjcToast as u}from"../../toast.js";import"../../../../node_modules/.pnpm/@lit_reactive-element@2.0
|
|
1
|
+
import{NjcToast as u}from"../../toast.js";import"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/reactive-element.js";import{html as e}from"../../../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/lit-html.js";import"../../../../node_modules/.pnpm/lit-element@4.2.0/node_modules/lit-element/lit-element.js";import{customElement as m}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/custom-element.js";import g from"../../../../packages/web-components/src/components/toast/gator/base/toast.gator.scss.js";import v from"../../../../packages/web-components/src/tokens/primitive.tokens.scss.js";import d from"../../../../packages/web-components/src/tokens/semantic.tokens.scss.js";import"../../../icon-button/gator/icon-button.gator.js";import{unsafeCSS as r}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/css-tag.js";var h=Object.getOwnPropertyDescriptor,b=(t,o,l,n)=>{for(var s=n>1?void 0:n?h(o,l):o,i=t.length-1,c;i>=0;i--)(c=t[i])&&(s=c(s)||s);return s};let a=class extends u{render(){return e`
|
|
2
2
|
<div
|
|
3
3
|
class="gator-toast ${this.variantClass}"
|
|
4
4
|
role="${this.ariaRole}"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{NjcToast as p}from"../../toast.js";import"../../../../node_modules/.pnpm/@lit_reactive-element@2.0
|
|
1
|
+
import{NjcToast as p}from"../../toast.js";import"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/reactive-element.js";import{html as f}from"../../../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/lit-html.js";import"../../../../node_modules/.pnpm/lit-element@4.2.0/node_modules/lit-element/lit-element.js";import{customElement as n}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/custom-element.js";import c from"../../../../packages/web-components/src/tokens/primitive.tokens.scss.js";import u from"../../../../packages/web-components/src/components/toast/gator/subtitle/toast-subtitle.gator.scss.js";import{unsafeCSS as l}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/css-tag.js";var v=Object.getOwnPropertyDescriptor,g=(o,e,a,m)=>{for(var t=m>1?void 0:m?v(e,a):e,r=o.length-1,i;r>=0;r--)(i=o[r])&&(t=i(t)||t);return t};let s=class extends p{render(){return f`
|
|
2
2
|
<div class="gator-toast-subtitle">
|
|
3
3
|
<slot></slot>
|
|
4
4
|
</div>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{NjcToast as p}from"../../toast.js";import"../../../../node_modules/.pnpm/@lit_reactive-element@2.0
|
|
1
|
+
import{NjcToast as p}from"../../toast.js";import"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/reactive-element.js";import{html as f}from"../../../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/lit-html.js";import"../../../../node_modules/.pnpm/lit-element@4.2.0/node_modules/lit-element/lit-element.js";import{customElement as n}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/custom-element.js";import c from"../../../../packages/web-components/src/tokens/primitive.tokens.scss.js";import v from"../../../../packages/web-components/src/components/toast/gator/title/toast-title.gator.scss.js";import{unsafeCSS as l}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/css-tag.js";var g=Object.getOwnPropertyDescriptor,u=(e,s,a,m)=>{for(var t=m>1?void 0:m?g(s,a):s,r=e.length-1,i;r>=0;r--)(i=e[r])&&(t=i(t)||t);return t};let o=class extends p{render(){return f`
|
|
2
2
|
<div class="gator-toast-title">
|
|
3
3
|
<slot></slot>
|
|
4
4
|
</div>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../../node_modules/.pnpm/@lit_reactive-element@2.0
|
|
1
|
+
import"../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/reactive-element.js";import"../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/lit-html.js";import{LitElement as l}from"../../node_modules/.pnpm/lit-element@4.2.0/node_modules/lit-element/lit-element.js";import{property as t}from"../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/property.js";var y=Object.defineProperty,e=(s,p,a,b)=>{for(var o=void 0,r=s.length-1,n;r>=0;r--)(n=s[r])&&(o=n(p,a,o)||o);return o&&y(p,a,o),o};class i extends l{constructor(){super(...arguments),this.variant="info",this.dismissible=!1,this.sticky=!1,this.exitIconLabel="",this.statusIconLabel="",this.title="",this.subtitle=""}}e([t()],i.prototype,"variant");e([t({type:Boolean})],i.prototype,"dismissible");e([t({type:Boolean})],i.prototype,"sticky");e([t({type:String,attribute:"exit-icon-label"})],i.prototype,"exitIconLabel");e([t({type:String,attribute:"status-icon-label"})],i.prototype,"statusIconLabel");e([t({type:String})],i.prototype,"title");e([t({type:String})],i.prototype,"subtitle");export{i as NjcToast};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{NjcTooltip as f}from"../tooltip.js";import"../../../node_modules/.pnpm/@lit_reactive-element@2.0
|
|
1
|
+
import{NjcTooltip as f}from"../tooltip.js";import"../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/reactive-element.js";import{html as a}from"../../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/lit-html.js";import{LitElement as m}from"../../../node_modules/.pnpm/lit-element@4.2.0/node_modules/lit-element/lit-element.js";import{ref as u}from"../../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/directives/ref.js";import{customElement as c}from"../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/custom-element.js";import h from"../../../packages/web-components/src/components/tooltip/gator/tooltip.gator.scss.js";import g from"../../../packages/web-components/src/components/tooltip/tooltip.scss.js";import b from"../../../packages/web-components/src/components/tooltip/tooltip.tokens.scss.js";import d from"../../../packages/web-components/src/tokens/primitive.tokens.scss.js";import _ from"../../../packages/web-components/src/tokens/semantic.tokens.scss.js";import{autoUpdate as v,computePosition as O}from"../../../node_modules/.pnpm/@floating-ui_dom@1.6.13/node_modules/@floating-ui/dom/dist/floating-ui.dom.js";import{unsafeCSS as o}from"../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/css-tag.js";var y=Object.getOwnPropertyDescriptor,x=(t,e,r,l)=>{for(var i=l>1?void 0:l?y(e,r):e,n=t.length-1,p;n>=0;n--)(p=t[n])&&(i=p(i)||i);return i};let s=class extends f{render(){return a`
|
|
2
2
|
<div ${u(this._tooltipRef)} class="gator-tooltip ${this.nubbinPositionClass}" role="tooltip" id="${this.tooltipId}">
|
|
3
3
|
<div class="gator-tooltip-body">
|
|
4
4
|
<slot></slot>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{NjcTooltip as u}from"../tooltip.js";import"../../../node_modules/.pnpm/@lit_reactive-element@2.0
|
|
1
|
+
import{NjcTooltip as u}from"../tooltip.js";import"../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/reactive-element.js";import{html as a}from"../../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/lit-html.js";import"../../../node_modules/.pnpm/lit-element@4.2.0/node_modules/lit-element/lit-element.js";import{ref as f}from"../../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/directives/ref.js";import{customElement as c}from"../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/custom-element.js";import m from"../../../packages/web-components/src/index.slds.scss.js";import b from"../../../packages/web-components/src/components/tooltip/tooltip.scss.js";import{autoUpdate as d,computePosition as h}from"../../../node_modules/.pnpm/@floating-ui_dom@1.6.13/node_modules/@floating-ui/dom/dist/floating-ui.dom.js";import{unsafeCSS as p}from"../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/css-tag.js";var _=Object.getOwnPropertyDescriptor,v=(t,e,o,n)=>{for(var s=n>1?void 0:n?_(e,o):e,i=t.length-1,l;i>=0;i--)(l=t[i])&&(s=l(s)||s);return s};let r=class extends u{render(){return a`
|
|
2
2
|
<div data-id="tooltip" ${f(this._tooltipRef)} class="slds-popover slds-popover_tooltip ${this.nubbinPositionClass}" role="tooltip">
|
|
3
3
|
<div class="slds-popover__body">
|
|
4
4
|
<slot></slot>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{property as l}from"../../node_modules/.pnpm/@lit_reactive-element@2.0
|
|
1
|
+
import{property as l}from"../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/property.js";import{createRef as u}from"../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/directives/ref.js";import{KEY_CONSTANTS as m}from"../../consts/key-constants.js";import{generateRandomId as _}from"../../utils/string-utils.js";import{TestableLitElement as v}from"../../utils/components/testable-lit-element/testable-lit-element.js";import{handleDataTestid as c}from"../../utils/datatestid-utils.js";import{getFirstFocusableElement as y}from"../../utils/accessibility-utils.js";var T=Object.defineProperty,f=(h,e,t,o)=>{for(var i=void 0,s=h.length-1,r;s>=0;s--)(r=h[s])&&(i=r(e,t,i)||i);return i&&T(e,t,i),i};class d extends v{constructor(){super(...arguments),this.referenceId="",this.placement="top-end",this.xOffset=0,this.yOffset=0,this._tooltipRef=u(),this._forceOpen=!1,this._mousedInsideTooltip=!1,this.tooltipId=_()}firstUpdated(){var o;if(this._tooltipRef.value&&(this._tooltipRef.value.style.visibility="hidden",this._tooltipRef.value.style.opacity="0"),!this.referenceId)return;const e=this.referenceElement,t=this._tooltipRef.value;if(e&&t){c(e,this.dataTestid,"trigger"),c(t,this.dataTestid,"tooltip");let i;(o=e.shadowRoot)!=null&&o.delegatesFocus?i=y(e):i=e,i&&(i.ariaDescribedByElements=[this]),e.addEventListener("mouseenter",()=>this.showTooltip()),e.addEventListener("mouseleave",s=>this._handleMouseLeave(s,e,t)),e.addEventListener("focusin",()=>this.showTooltip()),e.addEventListener("focusout",()=>this.hideTooltip()),t.addEventListener("mouseenter",()=>this.showTooltip()),t.addEventListener("mouseleave",s=>{if(this._mousedInsideTooltip){this.hideTooltip();return}this._handleMouseLeave(s,e,t)}),document.addEventListener("keydown",s=>{s.key===m.ESCAPE&&(this._forceOpen=!1,this.hideTooltip())})}}get referenceElement(){var t,o;let e=document.querySelector(`#${this.referenceId}`);return e||(e=(o=(t=document.querySelector(`[data-id="${this.referenceId}"]`))==null?void 0:t.shadowRoot)==null?void 0:o.querySelector(`#${this.referenceId}`)),e}_handleMouseLeave(e,t,o){const i=t.getBoundingClientRect(),s=o.getBoundingClientRect(),r=this._isMouseInside(e,i,-5),n=this._isMouseInside(e,s,25);!r&&!n&&this.hideTooltip(),n&&(this._mousedInsideTooltip=!0)}_isMouseInside(e,t,o=0){const{left:i,right:s,top:r,bottom:n}=t,p=e.clientX,a=e.clientY;return p>=i-o&&p<=s+o&&a>=r-o&&a<=n+o}toggleTooltip(){this._forceOpen=!this._forceOpen,this._forceOpen?this.showTooltip():this.hideTooltip()}disconnectedCallback(){this._cleanup&&this._cleanup()}showTooltip(){this.assignPosition(),this._tooltipRef.value&&(this._tooltipRef.value.style.visibility="visible",this._tooltipRef.value.style.opacity="1")}hideTooltip(){this._forceOpen||this._tooltipRef.value&&(this._tooltipRef.value.style.visibility="hidden",this._tooltipRef.value.style.opacity="0")}assignPosition(){}}f([l({attribute:"reference-id"})],d.prototype,"referenceId");f([l()],d.prototype,"placement");f([l({type:Number,attribute:"x-offset"})],d.prototype,"xOffset");f([l({type:Number,attribute:"y-offset"})],d.prototype,"yOffset");export{d as NjcTooltip};
|
package/dist/index.gator.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import*as o from"./components/accordion/gator/base/accordion.gator.js";import*as t from"./components/accordion/gator/group/accordion-group.gator.js";import*as r from"./components/alert/gator/base/alert.gator.js";import*as a from"./components/alert/gator/subtitle/alert-subtitle.gator.js";import*as e from"./components/alert/gator/title/alert-title.gator.js";import*as p from"./components/avatar/gator/avatar.gator.js";import"./components/badge/slds/badge.slds.js";import*as n from"./components/badge/gator/badge.gator.js";import*as s from"./components/banner/gator/banner.gator.js";import*as m from"./components/boolean/boolean.gator.js";import*as
|
|
1
|
+
import*as o from"./components/accordion/gator/base/accordion.gator.js";import*as t from"./components/accordion/gator/group/accordion-group.gator.js";import*as r from"./components/alert/gator/base/alert.gator.js";import*as a from"./components/alert/gator/subtitle/alert-subtitle.gator.js";import*as e from"./components/alert/gator/title/alert-title.gator.js";import*as p from"./components/avatar/gator/avatar.gator.js";import"./components/badge/slds/badge.slds.js";import*as n from"./components/badge/gator/badge.gator.js";import*as s from"./components/banner/gator/banner.gator.js";import*as m from"./components/boolean/boolean.gator.js";import*as i from"./components/breadcrumbs/gator/container/breadcrumbs.gator.js";import"./components/button/slds/button.slds.js";import*as c from"./components/button/gator/button.gator.js";import*as u from"./components/button-card/gator/button-card.gator.js";import*as x from"./components/button-group/gator/button-group.gator.js";import*as l from"./components/card/gator/base/card.gator.js";import*as d from"./components/card/gator/header/card-header.gator.js";import*as f from"./components/card/gator/content/card-content.gator.js";import*as N from"./components/card/gator/footer/card-footer.gator.js";import*as b from"./components/checkbox/checkbox.gator.js";import*as C from"./components/checkbox-group/checkbox-group.gator.js";import*as T from"./components/chip/gator/chip.gator.js";import*as h from"./components/display-card/gator/display-card.gator.js";import*as I from"./components/divider/gator/divider.gator.js";import*as B from"./components/fab/gator/fab.gator.js";import*as k from"./components/headline-card/gator/headline-card.gator.js";import*as P from"./components/input/gator/input-currency/input-currency.gator.js";import*as G from"./components/input/gator/input-date/input-date.gator.js";import*as L from"./components/input/gator/input-label/input-label.gator.js";import*as S from"./components/input/gator/help-text/help-text.gator.js";import*as D from"./components/input/gator/input-text/input-text.gator.js";import*as v from"./components/input/gator/input-textarea/input-textarea.gator.js";import*as w from"./components/input/gator/input-masked/input-masked.gator.js";import*as F from"./components/input/gator/input-percent/input-percent.gator.js";import*as H from"./components/input/gator/input-phone/input-phone.gator.js";import*as y from"./components/input/gator/dropdown/input-dropdown.gator.js";import*as A from"./components/input/gator/input-file/input-file.gator.js";import*as M from"./components/input/gator/input-file/file-uploaded-preview/file-upload-preview.gator.js";import*as U from"./components/input/gator/input-search/input-search.gator.js";import*as R from"./components/input/gator/input-time/input-time.gator.js";import"./components/icon/slds/icon.slds.js";import*as q from"./components/icon/gator/icon.gator.js";import*as z from"./components/icon-button/gator/icon-button.gator.js";import*as E from"./components/list/gator/list/list.gator.js";import*as J from"./components/list/gator/list-item/list-item.gator.js";import*as K from"./components/loading-spinner/gator/loading-spinner.gator.js";import"./components/menu/base/slds/menu.slds.js";import*as Q from"./components/menu/base/gator/menu.gator.js";import"./components/menu/menu-divider/menu-divider.slds.js";import"./components/menu/menu-item/slds/menu-item.slds.js";import*as X from"./components/menu/menu-item/gator/menu-item.gator.js";import"./components/menu/menu-submenu/menu-submenu.slds.js";import*as Z from"./components/modal/gator/modal.gator.js";import*as $ from"./components/page-header/gator/page-header.gator.js";import*as oo from"./components/panel/gator/panel.gator.js";import*as to from"./components/progress-bar/gator/progress-bar.gator.js";import*as ro from"./components/radio/radio.gator.js";import*as ao from"./components/radio-group/radio-group.gator.js";import*as eo from"./components/selection-box/selection-box.gator.js";import*as po from"./components/selection-box-group/selection-box-group.gator.js";import*as _o from"./components/skeleton-loader/gator/skeleton-loader.gator.js";import*as no from"./components/switch/gator/switch.gator.js";import*as so from"./components/tabs/gator/tabset/tabset.gator.js";import*as mo from"./components/tabs/gator/tab/tab.gator.js";import*as io from"./components/text-detail/gator/text-detail.gator.js";import*as go from"./components/text-link/gator/text-link.gator.js";import*as co from"./components/time-picker/gator/time-picker.gator.js";import*as uo from"./components/toast/gator/base/toast.gator.js";import*as xo from"./components/tooltip/gator/tooltip.gator.js";import"./components/tooltip/slds/tooltip.slds.js";import*as fo from"./components/table/gator/table.gator.js";import*as No from"./components/table/gator/table-pagination/table-pagination.gator.js";import*as bo from"./components/table/gator/table-controls/table-controls.gator.js";export{o as NgcAccordion,t as NgcAccordionGroup,r as NgcAlert,a as NgcAlertSubtitle,e as NgcAlertTitle,p as NgcAvatar,n as NgcBadge,s as NgcBanner,m as NgcBoolean,i as NgcBreadcrumbs,c as NgcButton,u as NgcButtonCard,x as NgcButtonGroup,l as NgcCard,f as NgcCardContent,N as NgcCardFooter,d as NgcCardHeader,b as NgcCheckbox,C as NgcCheckboxGroup,T as NgcChip,h as NgcDisplayCard,I as NgcDivider,B as NgcFab,k as NgcHeadlineCard,S as NgcHelpText,q as NgcIcon,z as NgcIconButton,P as NgcInputCurrency,G as NgcInputDate,y as NgcInputDropdown,A as NgcInputFile,M as NgcInputFileUploadedPreview,L as NgcInputLabel,w as NgcInputMasked,F as NgcInputPercent,H as NgcInputPhone,U as NgcInputSearch,D as NgcInputText,v as NgcInputTextarea,R as NgcInputTime,E as NgcList,J as NgcListItem,K as NgcLoadingSpinner,Q as NgcMenu,X as NgcMenuItem,Z as NgcModal,$ as NgcPageHeader,oo as NgcPanel,to as NgcProgressBar,ro as NgcRadio,ao as NgcRadioGroup,eo as NgcSelectionBox,po as NgcSelectionBoxGroup,_o as NgcSkeletonLoader,no as NgcSwitch,mo as NgcTab,fo as NgcTable,bo as NgcTableControls,No as NgcTablePagination,so as NgcTabs,io as NgcTextDetail,go as NgcTextLink,co as NgcTimePicker,uo as NgcToast,xo as NgcTooltip};
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import*as o from"./components/accordion/gator/base/accordion.gator.js";import*as t from"./components/accordion/gator/group/accordion-group.gator.js";import*as r from"./components/alert/gator/base/alert.gator.js";import*as a from"./components/alert/gator/subtitle/alert-subtitle.gator.js";import*as e from"./components/alert/gator/title/alert-title.gator.js";import*as
|
|
1
|
+
import*as o from"./components/accordion/gator/base/accordion.gator.js";import*as t from"./components/accordion/gator/group/accordion-group.gator.js";import*as r from"./components/alert/gator/base/alert.gator.js";import*as a from"./components/alert/gator/subtitle/alert-subtitle.gator.js";import*as e from"./components/alert/gator/title/alert-title.gator.js";import*as p from"./components/avatar/gator/avatar.gator.js";import*as s from"./components/badge/slds/badge.slds.js";import*as _ from"./components/badge/gator/badge.gator.js";import*as n from"./components/banner/gator/banner.gator.js";import*as m from"./components/boolean/boolean.gator.js";import*as i from"./components/breadcrumbs/gator/container/breadcrumbs.gator.js";import*as c from"./components/button/slds/button.slds.js";import*as g from"./components/button/gator/button.gator.js";import*as u from"./components/button-card/gator/button-card.gator.js";import*as x from"./components/card/gator/base/card.gator.js";import*as d from"./components/card/gator/header/card-header.gator.js";import*as l from"./components/card/gator/content/card-content.gator.js";import*as f from"./components/card/gator/footer/card-footer.gator.js";import*as N from"./components/checkbox/checkbox.gator.js";import*as b from"./components/checkbox-group/checkbox-group.gator.js";import*as I from"./components/chip/gator/chip.gator.js";import*as T from"./components/combobox/base/index.js";import*as h from"./components/combobox/combobox-item/index.js";import*as C from"./components/display-card/gator/display-card.gator.js";import*as B from"./components/divider/gator/divider.gator.js";import*as k from"./components/fab/gator/fab.gator.js";import*as L from"./components/headline-card/gator/headline-card.gator.js";import*as D from"./components/icon/slds/icon.slds.js";import*as S from"./components/icon/gator/icon.gator.js";import*as v from"./components/icon-button/gator/icon-button.gator.js";import*as G from"./components/input/gator/input-currency/input-currency.gator.js";import*as P from"./components/input/gator/input-date/input-date.gator.js";import*as M from"./components/input/gator/input-label/input-label.gator.js";import*as w from"./components/input/gator/help-text/help-text.gator.js";import*as F from"./components/input/gator/input-text/input-text.gator.js";import*as H from"./components/input/gator/input-textarea/input-textarea.gator.js";import*as y from"./components/input/gator/input-masked/input-masked.gator.js";import*as A from"./components/input/gator/input-percent/input-percent.gator.js";import*as R from"./components/input/gator/input-phone/input-phone.gator.js";import*as E from"./components/input/gator/dropdown/input-dropdown.gator.js";import*as U from"./components/input/gator/input-file/input-file.gator.js";import*as j from"./components/input/gator/input-file/file-uploaded-preview/file-upload-preview.gator.js";import*as q from"./components/input/gator/input-search/input-search.gator.js";import*as z from"./components/input/gator/input-time/input-time.gator.js";import*as J from"./components/input/slds/input-text/input-text.slds.js";import*as K from"./components/input/slds/input-error/input-error.slds.js";import*as O from"./components/input/slds/input-label/input-label.slds.js";import*as Q from"./components/input-rich-text/input-rich-text.slds.js";import*as V from"./components/list/gator/list/list.gator.js";import*as W from"./components/list/gator/list-item/list-item.gator.js";import*as X from"./components/menu/base/slds/menu.slds.js";import*as Y from"./components/menu/base/gator/menu.gator.js";import*as Z from"./components/menu/menu-divider/menu-divider.slds.js";import*as $ from"./components/menu/menu-item/slds/menu-item.slds.js";import*as oo from"./components/menu/menu-item/gator/menu-item.gator.js";import*as to from"./components/menu/menu-submenu/menu-submenu.slds.js";import*as ro from"./components/modal/gator/modal.gator.js";import*as ao from"./components/page-header/gator/page-header.gator.js";import*as eo from"./components/pill/pill.js";import*as po from"./components/radio/radio.gator.js";import*as so from"./components/radio-group/radio-group.gator.js";import*as _o from"./components/scoped-notification/scoped-notification.slds.js";import*as no from"./components/selection-box/selection-box.gator.js";import*as mo from"./components/selection-box-group/selection-box-group.gator.js";import*as io from"./components/skeleton-loader/gator/skeleton-loader.gator.js";import*as co from"./components/switch/gator/switch.gator.js";import*as go from"./components/tabs/gator/tabset/tabset.gator.js";import*as uo from"./components/tabs/gator/tab/tab.gator.js";import*as xo from"./components/text-detail/gator/text-detail.gator.js";import*as lo from"./components/text-link/gator/text-link.gator.js";import*as fo from"./components/toast/gator/base/toast.gator.js";import*as No from"./components/tooltip/gator/tooltip.gator.js";import*as bo from"./components/tooltip/slds/tooltip.slds.js";export{o as NgcAccordion,t as NgcAccordionGroup,r as NgcAlert,a as NgcAlertSubtitle,e as NgcAlertTitle,p as NgcAvatar,_ as NgcBadge,n as NgcBanner,m as NgcBoolean,i as NgcBreadcrumbs,g as NgcButton,u as NgcButtonCard,x as NgcCard,l as NgcCardContent,f as NgcCardFooter,d as NgcCardHeader,N as NgcCheckbox,b as NgcCheckboxGroup,I as NgcChip,C as NgcDisplayCard,B as NgcDivider,k as NgcFab,L as NgcHeadlineCard,w as NgcHelpText,S as NgcIcon,v as NgcIconButton,G as NgcInputCurrency,P as NgcInputDate,E as NgcInputDropdown,U as NgcInputFile,j as NgcInputFileUploadedPreview,M as NgcInputLabel,y as NgcInputMasked,A as NgcInputPercent,R as NgcInputPhone,q as NgcInputSearch,F as NgcInputText,H as NgcInputTextarea,z as NgcInputTime,V as NgcList,W as NgcListItem,Y as NgcMenu,oo as NgcMenuItem,ro as NgcModal,ao as NgcPageHeader,po as NgcRadio,so as NgcRadioGroup,no as NgcSelectionBox,mo as NgcSelectionBoxGroup,io as NgcSkeletonLoader,co as NgcSwitch,uo as NgcTab,go as NgcTabs,xo as NgcTextDetail,lo as NgcTextLink,fo as NgcToast,No as NgcTooltip,s as NscBadge,c as NscButton,T as NscCombobox,h as NscComboboxItem,D as NscIcon,K as NscInputError,O as NscInputLabel,Q as NscInputRichText,J as NscInputText,X as NscMenu,Z as NscMenuDivider,$ as NscMenuItem,to as NscMenuSubmenu,eo as NscPill,_o as NscScopedNotification,bo as NscTooltip};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import{notEqual as p,defaultConverter as l}from"../reactive-element.js";/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2017 Google LLC
|
|
4
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
5
|
+
*/const d={attribute:!0,type:String,converter:l,reflect:!1,hasChanged:p},u=(t=d,s,e)=>{const{kind:n,metadata:i}=e;let r=globalThis.litPropertyMetadata.get(i);if(r===void 0&&globalThis.litPropertyMetadata.set(i,r=new Map),n==="setter"&&((t=Object.create(t)).wrapped=!0),r.set(e.name,t),n==="accessor"){const{name:o}=e;return{set(a){const c=s.get.call(this);s.set.call(this,a),this.requestUpdate(o,c,t)},init(a){return a!==void 0&&this.C(o,void 0,t,a),a}}}if(n==="setter"){const{name:o}=e;return function(a){const c=this[o];s.call(this,a),this.requestUpdate(o,c,t)}}throw Error("Unsupported decorator location: "+n)};function f(t){return(s,e)=>typeof e=="object"?u(t,s,e):((n,i,r)=>{const o=i.hasOwnProperty(r);return i.constructor.createProperty(r,n),o?Object.getOwnPropertyDescriptor(i,r):void 0})(t,s,e)}export{f as property,u as standardProperty};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import{getCompatibleStyle as f,adoptStyles as y}from"./css-tag.js";import{CSSResult as C,css as M,supportsAdoptingStyleSheets as R,unsafeCSS as z}from"./css-tag.js";/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2017 Google LLC
|
|
4
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
5
|
+
*/const{is:m,defineProperty:g,getOwnPropertyDescriptor:b,getOwnPropertyNames:P,getOwnPropertySymbols:v,getPrototypeOf:w}=Object,n=globalThis,E=n.trustedTypes,S=E?E.emptyScript:"",d=n.reactiveElementPolyfillSupport,c=(a,t)=>a,u={toAttribute(a,t){switch(t){case Boolean:a=a?S:null;break;case Object:case Array:a=a==null?a:JSON.stringify(a)}return a},fromAttribute(a,t){let e=a;switch(t){case Boolean:e=a!==null;break;case Number:e=a===null?null:Number(a);break;case Object:case Array:try{e=JSON.parse(a)}catch{e=null}}return e}},$=(a,t)=>!m(a,t),_={attribute:!0,type:String,converter:u,reflect:!1,useDefault:!1,hasChanged:$};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),n.litPropertyMetadata??(n.litPropertyMetadata=new WeakMap);class l extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??(this.l=[])).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=_){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){const s=Symbol(),i=this.getPropertyDescriptor(t,s,e);i!==void 0&&g(this.prototype,t,i)}}static getPropertyDescriptor(t,e,s){const{get:i,set:r}=b(this.prototype,t)??{get(){return this[e]},set(o){this[e]=o}};return{get:i,set(o){const h=i==null?void 0:i.call(this);r==null||r.call(this,o),this.requestUpdate(t,h,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??_}static _$Ei(){if(this.hasOwnProperty(c("elementProperties")))return;const t=w(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(c("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(c("properties"))){const e=this.properties,s=[...P(e),...v(e)];for(const i of s)this.createProperty(i,e[i])}const t=this[Symbol.metadata];if(t!==null){const e=litPropertyMetadata.get(t);if(e!==void 0)for(const[s,i]of e)this.elementProperties.set(s,i)}this._$Eh=new Map;for(const[e,s]of this.elementProperties){const i=this._$Eu(e,s);i!==void 0&&this._$Eh.set(i,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const s=new Set(t.flat(1/0).reverse());for(const i of s)e.unshift(f(i))}else t!==void 0&&e.push(f(t));return e}static _$Eu(t,e){const s=e.attribute;return s===!1?void 0:typeof s=="string"?s:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var t;this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),(t=this.constructor.l)==null||t.forEach(e=>e(this))}addController(t){var e;(this._$EO??(this._$EO=new Set)).add(t),this.renderRoot!==void 0&&this.isConnected&&((e=t.hostConnected)==null||e.call(t))}removeController(t){var e;(e=this._$EO)==null||e.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return y(t,this.constructor.elementStyles),t}connectedCallback(){var t;this.renderRoot??(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$EO)==null||t.forEach(e=>{var s;return(s=e.hostConnected)==null?void 0:s.call(e)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$EO)==null||t.forEach(e=>{var s;return(s=e.hostDisconnected)==null?void 0:s.call(e)})}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$ET(t,e){var r;const s=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,s);if(i!==void 0&&s.reflect===!0){const o=(((r=s.converter)==null?void 0:r.toAttribute)!==void 0?s.converter:u).toAttribute(e,s.type);this._$Em=t,o==null?this.removeAttribute(i):this.setAttribute(i,o),this._$Em=null}}_$AK(t,e){var r,o;const s=this.constructor,i=s._$Eh.get(t);if(i!==void 0&&this._$Em!==i){const h=s.getPropertyOptions(i),p=typeof h.converter=="function"?{fromAttribute:h.converter}:((r=h.converter)==null?void 0:r.fromAttribute)!==void 0?h.converter:u;this._$Em=i,this[i]=p.fromAttribute(e,h.type)??((o=this._$Ej)==null?void 0:o.get(i))??null,this._$Em=null}}requestUpdate(t,e,s){var i;if(t!==void 0){const r=this.constructor,o=this[t];if(s??(s=r.getPropertyOptions(t)),!((s.hasChanged??$)(o,e)||s.useDefault&&s.reflect&&o===((i=this._$Ej)==null?void 0:i.get(t))&&!this.hasAttribute(r._$Eu(t,s))))return;this.C(t,e,s)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,e,{useDefault:s,reflect:i,wrapped:r},o){s&&!(this._$Ej??(this._$Ej=new Map)).has(t)&&(this._$Ej.set(t,o??e??this[t]),r!==!0||o!==void 0)||(this._$AL.has(t)||(this.hasUpdated||s||(e=void 0),this._$AL.set(t,e)),i===!0&&this._$Em!==t&&(this._$Eq??(this._$Eq=new Set)).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}const t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var s;if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??(this.renderRoot=this.createRenderRoot()),this._$Ep){for(const[r,o]of this._$Ep)this[r]=o;this._$Ep=void 0}const i=this.constructor.elementProperties;if(i.size>0)for(const[r,o]of i){const{wrapped:h}=o,p=this[r];h!==!0||this._$AL.has(r)||p===void 0||this.C(r,void 0,o,p)}}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),(s=this._$EO)==null||s.forEach(i=>{var r;return(r=i.hostUpdate)==null?void 0:r.call(i)}),this.update(e)):this._$EM()}catch(i){throw t=!1,this._$EM(),i}t&&this._$AE(e)}willUpdate(t){}_$AE(t){var e;(e=this._$EO)==null||e.forEach(s=>{var i;return(i=s.hostUpdated)==null?void 0:i.call(s)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&(this._$Eq=this._$Eq.forEach(e=>this._$ET(e,this[e]))),this._$EM()}updated(t){}firstUpdated(t){}}l.elementStyles=[],l.shadowRootOptions={mode:"open"},l[c("elementProperties")]=new Map,l[c("finalized")]=new Map,d==null||d({ReactiveElement:l}),(n.reactiveElementVersions??(n.reactiveElementVersions=[])).push("2.1.0");export{C as CSSResult,l as ReactiveElement,y as adoptStyles,M as css,u as defaultConverter,f as getCompatibleStyle,$ as notEqual,R as supportsAdoptingStyleSheets,z as unsafeCSS};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var xt=Object.defineProperty;var vt=(e,t,r)=>t in e?xt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var H=(e,t,r)=>vt(e,typeof t!="symbol"?t+"":t,r);import{diff as S,printDiffOrStringify as Nt}from"../../../../../@vitest_utils@3.1.
|
|
1
|
+
var xt=Object.defineProperty;var vt=(e,t,r)=>t in e?xt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var H=(e,t,r)=>vt(e,typeof t!="symbol"?t+"":t,r);import{diff as S,printDiffOrStringify as Nt}from"../../../../../@vitest_utils@3.1.2/node_modules/@vitest/utils/dist/diff.js";import E from"../../../../../tinyrainbow@2.0.0/node_modules/tinyrainbow/dist/browser.js";import{isMockFunction as V}from"../../../../../@vitest_spy@3.1.2/node_modules/@vitest/spy/dist/index.js";import{processError as Ot}from"../../../../../@vitest_utils@3.1.2/node_modules/@vitest/utils/dist/error.js";import{use as Tt,util as P}from"../../../../../chai@5.2.0/node_modules/chai/chai.js";import{getType as ut,isObject as q,assertTypes as O}from"../../../../../@vitest_utils@3.1.2/node_modules/@vitest/utils/dist/helpers.js";import{s as j}from"../../../../../@vitest_utils@3.1.2/node_modules/@vitest/utils/dist/chunk-_commonjsHelpers.js";const k=Symbol.for("matchers-object"),B=Symbol.for("$$jest-matchers-object"),ft=Symbol.for("expect-global"),ht=Symbol.for("asymmetric-matchers-object"),ae={toSatisfy(e,t,r){const{printReceived:a,printExpected:c,matcherHint:h}=this.utils,u=t(e);return{pass:u,message:()=>u?`${h(".not.toSatisfy","received","")}
|
|
2
2
|
|
|
3
3
|
Expected value to not satisfy:
|
|
4
4
|
${r||c(t)}
|
|
@@ -29,7 +29,7 @@ Expected: ${t}
|
|
|
29
29
|
Received: serializes to the same string
|
|
30
30
|
`:a}function Jt(e,t){return`${t} ${e}${t===1?"":"s"}`}function F(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e).filter(t=>{var r;return(r=Object.getOwnPropertyDescriptor(e,t))===null||r===void 0?void 0:r.enumerable})]}function Gt(e,t,r){let a=0;const c=(h=new WeakMap)=>(u,d)=>{if(Array.isArray(u)){if(Array.isArray(d)&&d.length===u.length)return d.map((m,n)=>c(h)(u[n],m))}else{if(u instanceof Date)return u;if(q(u)&&q(d)){if(g(u,d,[...r,w,R]))return d;const m={};h.set(u,m),typeof u.constructor=="function"&&typeof u.constructor.name=="string"&&Object.defineProperty(m,"constructor",{enumerable:!1,value:u.constructor});for(const n of F(u))z(d,n)?m[n]=h.has(u[n])?h.get(u[n]):c(h)(u[n],d[n]):h.has(u[n])||(a+=1,q(u[n])&&(a+=F(u[n]).length),c(h)(u[n],d[n]));if(F(m).length>0)return m}}return u};return{subset:c()(e,t),stripped:a}}if(!Object.prototype.hasOwnProperty.call(globalThis,k)){const e=new WeakMap,t=Object.create(null),r=[],a=Object.create(null);Object.defineProperty(globalThis,k,{get:()=>e}),Object.defineProperty(globalThis,B,{configurable:!0,get:()=>({state:e.get(globalThis[ft]),matchers:t,customEqualityTesters:r})}),Object.defineProperty(globalThis,ht,{get:()=>a})}function $t(e){return globalThis[k].get(e)}function ue(e,t){const r=globalThis[k],a=r.get(t)||{},c=Object.defineProperties(a,{...Object.getOwnPropertyDescriptors(a),...Object.getOwnPropertyDescriptors(e)});r.set(t,c)}class T{constructor(t,r=!1){H(this,"$$typeof",Symbol.for("jest.asymmetricMatcher"));this.sample=t,this.inverse=r}getMatcherContext(t){return{...$t(t||globalThis[ft]),equals:g,isNot:this.inverse,customTesters:G(),utils:{...dt(),diff:S,stringify:j,iterableEquality:w,subsetEquality:R}}}}T.prototype[Symbol.for("chai/inspect")]=function(e){const t=j(this,e.depth,{min:!0});return t.length<=e.truncate?t:`${this.toString()}{…}`};class nt extends T{constructor(t,r=!1){if(!v("String",t))throw new Error("Expected is not a string");super(t,r)}asymmetricMatch(t){const r=v("String",t)&&t.includes(this.sample);return this.inverse?!r:r}toString(){return`String${this.inverse?"Not":""}Containing`}getExpectedType(){return"string"}}class zt extends T{asymmetricMatch(t){return t!=null}toString(){return"Anything"}toAsymmetricMatcher(){return"Anything"}}class ot extends T{constructor(t,r=!1){super(t,r)}getPrototype(t){return Object.getPrototypeOf?Object.getPrototypeOf(t):t.constructor.prototype===t?null:t.constructor.prototype}hasProperty(t,r){return t?Object.prototype.hasOwnProperty.call(t,r)?!0:this.hasProperty(this.getPrototype(t),r):!1}asymmetricMatch(t){if(typeof this.sample!="object")throw new TypeError(`You must provide an object to ${this.toString()}, not '${typeof this.sample}'.`);let r=!0;const a=this.getMatcherContext();for(const c in this.sample)if(!this.hasProperty(t,c)||!g(this.sample[c],t[c],a.customTesters)){r=!1;break}return this.inverse?!r:r}toString(){return`Object${this.inverse?"Not":""}Containing`}getExpectedType(){return"object"}}class rt extends T{constructor(t,r=!1){super(t,r)}asymmetricMatch(t){if(!Array.isArray(this.sample))throw new TypeError(`You must provide an array to ${this.toString()}, not '${typeof this.sample}'.`);const r=this.getMatcherContext(),a=this.sample.length===0||Array.isArray(t)&&this.sample.every(c=>t.some(h=>g(c,h,r.customTesters)));return this.inverse?!a:a}toString(){return`Array${this.inverse?"Not":""}Containing`}getExpectedType(){return"array"}}class Kt extends T{constructor(t){if(typeof t>"u")throw new TypeError("any() expects to be passed a constructor function. Please pass one or use anything() to match any object.");super(t)}fnNameFor(t){if(t.name)return t.name;const a=Function.prototype.toString.call(t).match(/^(?:async)?\s*function\s*(?:\*\s*)?([\w$]+)\s*\(/);return a?a[1]:"<anonymous>"}asymmetricMatch(t){return this.sample===String?typeof t=="string"||t instanceof String:this.sample===Number?typeof t=="number"||t instanceof Number:this.sample===Function?typeof t=="function"||typeof t=="function":this.sample===Boolean?typeof t=="boolean"||t instanceof Boolean:this.sample===BigInt?typeof t=="bigint"||t instanceof BigInt:this.sample===Symbol?typeof t=="symbol"||t instanceof Symbol:this.sample===Object?typeof t=="object":t instanceof this.sample}toString(){return"Any"}getExpectedType(){return this.sample===String?"string":this.sample===Number?"number":this.sample===Function?"function":this.sample===Object?"object":this.sample===Boolean?"boolean":this.fnNameFor(this.sample)}toAsymmetricMatcher(){return`Any<${this.fnNameFor(this.sample)}>`}}class st extends T{constructor(t,r=!1){if(!v("String",t)&&!v("RegExp",t))throw new Error("Expected is not a String or a RegExp");super(new RegExp(t),r)}asymmetricMatch(t){const r=v("String",t)&&this.sample.test(t);return this.inverse?!r:r}toString(){return`String${this.inverse?"Not":""}Matching`}getExpectedType(){return"string"}}class it extends T{constructor(r,a=2,c=!1){if(!v("Number",r))throw new Error("Expected is not a Number");if(!v("Number",a))throw new Error("Precision is not a Number");super(r);H(this,"precision");this.inverse=c,this.precision=a}asymmetricMatch(r){if(!v("Number",r))return!1;let a=!1;return r===Number.POSITIVE_INFINITY&&this.sample===Number.POSITIVE_INFINITY||r===Number.NEGATIVE_INFINITY&&this.sample===Number.NEGATIVE_INFINITY?a=!0:a=Math.abs(this.sample-r)<10**-this.precision/2,this.inverse?!a:a}toString(){return`Number${this.inverse?"Not":""}CloseTo`}getExpectedType(){return"number"}toAsymmetricMatcher(){return[this.toString(),this.sample,`(${Jt("digit",this.precision)})`].join(" ")}}const fe=(e,t)=>{t.addMethod(e.expect,"anything",()=>new zt),t.addMethod(e.expect,"any",r=>new Kt(r)),t.addMethod(e.expect,"stringContaining",r=>new nt(r)),t.addMethod(e.expect,"objectContaining",r=>new ot(r)),t.addMethod(e.expect,"arrayContaining",r=>new rt(r)),t.addMethod(e.expect,"stringMatching",r=>new st(r)),t.addMethod(e.expect,"closeTo",(r,a)=>new it(r,a)),e.expect.not={stringContaining:r=>new nt(r,!0),objectContaining:r=>new ot(r,!0),arrayContaining:r=>new rt(r,!0),stringMatching:r=>new st(r,!0),closeTo:(r,a)=>new it(r,a,!0)}};function ct(e,t,r){const a=e.flag(t,"negate")?"not.":"",c=`${e.flag(t,"_name")}(${r?"expected":""})`,h=e.flag(t,"promise");return`expect(actual)${h?`.${h}`:""}.${a}${c}`}function at(e,t,r,a){const c=e;if(c&&t instanceof Promise){t=t.finally(()=>{if(!c.promises)return;const u=c.promises.indexOf(t);u!==-1&&c.promises.splice(u,1)}),c.promises||(c.promises=[]),c.promises.push(t);let h=!1;return c.onFinished??(c.onFinished=[]),c.onFinished.push(()=>{if(!h){var u;const m=(((u=globalThis.__vitest_worker__)===null||u===void 0?void 0:u.onFilterStackTrace)||(n=>n||""))(a.stack);console.warn([`Promise returned by \`${r}\` was not awaited. `,"Vitest currently auto-awaits hanging assertions at the end of the test, but this will cause the test to fail in Vitest 3. ",`Please remember to await the assertion.
|
|
31
31
|
`,m].join(""))}}),{then(u,d){return h=!0,t.then(u,d)},catch(u){return t.catch(u)},finally(u){return t.finally(u)},[Symbol.toStringTag]:"Promise"}}return t}function Et(e,t,r){return function(...a){if(t!=="withTest"&&e.flag(this,"_name",t),!e.flag(this,"soft"))return r.apply(this,a);const c=e.flag(this,"vitest-test");if(!c)throw new Error("expect.soft() can only be used inside a test");try{return r.apply(this,a)}catch(u){var h;c.result||(c.result={state:"fail"}),c.result.state="fail",(h=c.result).errors||(h.errors=[]),c.result.errors.push(Ot(u))}}}const he=(e,t)=>{const{AssertionError:r}=e,a=G();function c(n,o){const s=i=>{const l=Et(t,i,o);t.addMethod(e.Assertion.prototype,i,l),t.addMethod(globalThis[B].matchers,i,l)};Array.isArray(n)?n.forEach(i=>s(i)):s(n)}["throw","throws","Throw"].forEach(n=>{t.overwriteMethod(e.Assertion.prototype,n,o=>function(...s){const i=t.flag(this,"promise"),l=t.flag(this,"object"),f=t.flag(this,"negate");if(i==="rejects")t.flag(this,"object",()=>{throw l});else if(i==="resolves"&&typeof l!="function"){if(f)return;{const p=t.flag(this,"message")||"expected promise to throw an error, but it didn't",y={showDiff:!1};throw new r(p,y,t.flag(this,"ssfi"))}}o.apply(this,s)})}),c("withTest",function(n){return t.flag(this,"vitest-test",n),this}),c("toEqual",function(n){const o=t.flag(this,"object"),s=g(o,n,[...a,w]);return this.assert(s,"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",n,o)}),c("toStrictEqual",function(n){const o=t.flag(this,"object"),s=g(o,n,[...a,w,tt,U,et],!0);return this.assert(s,"expected #{this} to strictly equal #{exp}","expected #{this} to not strictly equal #{exp}",n,o)}),c("toBe",function(n){const o=this._obj,s=Object.is(o,n);let i="";return s||(g(o,n,[...a,w,tt,U,et],!0)?i="toStrictEqual":g(o,n,[...a,w])&&(i="toEqual")),this.assert(s,Ut(i),"expected #{this} not to be #{exp} // Object.is equality",n,o)}),c("toMatchObject",function(n){const o=this._obj,s=g(o,n,[...a,w,R]),i=t.flag(this,"negate"),{subset:l,stripped:f}=Gt(o,n,a);if(s&&i||!s&&!i){const p=t.getMessage(this,[s,"expected #{this} to match object #{exp}","expected #{this} to not match object #{exp}",n,l,!1]),y=f===0?p:`${p}
|
|
32
|
-
(${f} matching ${f===1?"property":"properties"} omitted from actual)`;throw new r(y,{showDiff:!0,expected:n,actual:l})}}),c("toMatch",function(n){const o=this._obj;if(typeof o!="string")throw new TypeError(`.toMatch() expects to receive a string, but got ${typeof o}`);return this.assert(typeof n=="string"?o.includes(n):o.match(n),"expected #{this} to match #{exp}","expected #{this} not to match #{exp}",n,o)}),c("toContain",function(n){const o=this._obj;if(typeof Node<"u"&&o instanceof Node){if(!(n instanceof Node))throw new TypeError(`toContain() expected a DOM node as the argument, but got ${typeof n}`);return this.assert(o.contains(n),"expected #{this} to contain element #{exp}","expected #{this} not to contain element #{exp}",n,o)}if(typeof DOMTokenList<"u"&&o instanceof DOMTokenList){O(n,"class name",["string"]);const i=t.flag(this,"negate")?o.value.replace(n,"").trim():`${o.value} ${n}`;return this.assert(o.contains(n),`expected "${o.value}" to contain "${n}"`,`expected "${o.value}" not to contain "${n}"`,i,o.value)}return typeof o=="string"&&typeof n=="string"?this.assert(o.includes(n),"expected #{this} to contain #{exp}","expected #{this} not to contain #{exp}",n,o):(o!=null&&typeof o!="string"&&t.flag(this,"object",Array.from(o)),this.contain(n))}),c("toContainEqual",function(n){const o=t.flag(this,"object"),s=Array.from(o).findIndex(i=>g(i,n,a));this.assert(s!==-1,"expected #{this} to deep equally contain #{exp}","expected #{this} to not deep equally contain #{exp}",n)}),c("toBeTruthy",function(){const n=t.flag(this,"object");this.assert(!!n,"expected #{this} to be truthy","expected #{this} to not be truthy",!0,n)}),c("toBeFalsy",function(){const n=t.flag(this,"object");this.assert(!n,"expected #{this} to be falsy","expected #{this} to not be falsy",!1,n)}),c("toBeGreaterThan",function(n){const o=this._obj;return O(o,"actual",["number","bigint"]),O(n,"expected",["number","bigint"]),this.assert(o>n,`expected ${o} to be greater than ${n}`,`expected ${o} to be not greater than ${n}`,n,o,!1)}),c("toBeGreaterThanOrEqual",function(n){const o=this._obj;return O(o,"actual",["number","bigint"]),O(n,"expected",["number","bigint"]),this.assert(o>=n,`expected ${o} to be greater than or equal to ${n}`,`expected ${o} to be not greater than or equal to ${n}`,n,o,!1)}),c("toBeLessThan",function(n){const o=this._obj;return O(o,"actual",["number","bigint"]),O(n,"expected",["number","bigint"]),this.assert(o<n,`expected ${o} to be less than ${n}`,`expected ${o} to be not less than ${n}`,n,o,!1)}),c("toBeLessThanOrEqual",function(n){const o=this._obj;return O(o,"actual",["number","bigint"]),O(n,"expected",["number","bigint"]),this.assert(o<=n,`expected ${o} to be less than or equal to ${n}`,`expected ${o} to be not less than or equal to ${n}`,n,o,!1)}),c("toBeNaN",function(){const n=t.flag(this,"object");this.assert(Number.isNaN(n),"expected #{this} to be NaN","expected #{this} not to be NaN",Number.NaN,n)}),c("toBeUndefined",function(){const n=t.flag(this,"object");this.assert(n===void 0,"expected #{this} to be undefined","expected #{this} not to be undefined",void 0,n)}),c("toBeNull",function(){const n=t.flag(this,"object");this.assert(n===null,"expected #{this} to be null","expected #{this} not to be null",null,n)}),c("toBeDefined",function(){const n=t.flag(this,"object");this.assert(typeof n<"u","expected #{this} to be defined","expected #{this} to be undefined",n)}),c("toBeTypeOf",function(n){const o=typeof this._obj,s=n===o;return this.assert(s,"expected #{this} to be type of #{exp}","expected #{this} not to be type of #{exp}",n,o)}),c("toBeInstanceOf",function(n){return this.instanceOf(n)}),c("toHaveLength",function(n){return this.have.length(n)}),c("toHaveProperty",function(...n){Array.isArray(n[0])&&(n[0]=n[0].map($=>String($).replace(/([.[\]])/g,"\\$1")).join("."));const o=this._obj,[s,i]=n,l=()=>Object.prototype.hasOwnProperty.call(o,s)?{value:o[s],exists:!0}:t.getPathInfo(o,s),{value:f,exists:p}=l(),y=p&&(n.length===1||g(i,f,a)),b=n.length===1?"":` with value ${t.objDisplay(i)}`;return this.assert(y,`expected #{this} to have property "${s}"${b}`,`expected #{this} to not have property "${s}"${b}`,i,p?f:void 0)}),c("toBeCloseTo",function(n,o=2){const s=this._obj;let i=!1,l=0,f=0;return n===Number.POSITIVE_INFINITY&&s===Number.POSITIVE_INFINITY||n===Number.NEGATIVE_INFINITY&&s===Number.NEGATIVE_INFINITY?i=!0:(l=10**-o/2,f=Math.abs(s-n),i=f<l),this.assert(i,`expected #{this} to be close to #{exp}, received difference is ${f}, but expected ${l}`,`expected #{this} to not be close to #{exp}, received difference is ${f}, but expected ${l}`,n,s,!1)});function h(n){if(!V(n._obj))throw new TypeError(`${t.inspect(n._obj)} is not a spy or a call to a spy!`)}function u(n){return h(n),n._obj}c(["toHaveBeenCalledTimes","toBeCalledTimes"],function(n){const o=u(this),s=o.getMockName(),i=o.mock.calls.length;return this.assert(i===n,`expected "${s}" to be called #{exp} times, but got ${i} times`,`expected "${s}" to not be called #{exp} times`,n,i,!1)}),c("toHaveBeenCalledOnce",function(){const n=u(this),o=n.getMockName(),s=n.mock.calls.length;return this.assert(s===1,`expected "${o}" to be called once, but got ${s} times`,`expected "${o}" to not be called once`,1,s,!1)}),c(["toHaveBeenCalled","toBeCalled"],function(){const n=u(this),o=n.getMockName(),s=n.mock.calls.length,i=s>0,l=t.flag(this,"negate");let f=t.getMessage(this,[i,`expected "${o}" to be called at least once`,`expected "${o}" to not be called at all, but actually been called ${s} times`,!0,i]);if(i&&l&&(f=Y(n,f)),i&&l||!i&&!l)throw new r(f)});function d(n,o){return n.length===o.length&&n.every((s,i)=>g(s,o[i],[...a,w]))}c(["toHaveBeenCalledWith","toBeCalledWith"],function(...n){const o=u(this),s=o.getMockName(),i=o.mock.calls.some(p=>d(p,n)),l=t.flag(this,"negate"),f=t.getMessage(this,[i,`expected "${s}" to be called with arguments: #{exp}`,`expected "${s}" to not be called with arguments: #{exp}`,n]);if(i&&l||!i&&!l)throw new r(Y(o,f,n))}),c("toHaveBeenCalledExactlyOnceWith",function(...n){const o=u(this),s=o.getMockName(),i=o.mock.calls.length,f=o.mock.calls.some(b=>d(b,n))&&i===1,p=t.flag(this,"negate"),y=t.getMessage(this,[f,`expected "${s}" to be called once with arguments: #{exp}`,`expected "${s}" to not be called once with arguments: #{exp}`,n]);if(f&&p||!f&&!p)throw new r(Y(o,y,n))}),c(["toHaveBeenNthCalledWith","nthCalledWith"],function(n,...o){const s=u(this),i=s.getMockName(),l=s.mock.calls[n-1],f=s.mock.calls.length,p=n<=f;this.assert(l&&d(l,o),`expected ${I(n)} "${i}" call to have been called with #{exp}${p?"":`, but called only ${f} times`}`,`expected ${I(n)} "${i}" call to not have been called with #{exp}`,o,l,p)}),c(["toHaveBeenLastCalledWith","lastCalledWith"],function(...n){const o=u(this),s=o.getMockName(),i=o.mock.calls[o.mock.calls.length-1];this.assert(i&&d(i,n),`expected last "${s}" call to have been called with #{exp}`,`expected last "${s}" call to not have been called with #{exp}`,n,i)});function m(n,o,s){const i=n.mock.invocationCallOrder,l=o.mock.invocationCallOrder;return i.length===0?!s:l.length===0?!1:i[0]<l[0]}c(["toHaveBeenCalledBefore"],function(n,o=!0){const s=u(this);if(!V(n))throw new TypeError(`${t.inspect(n)} is not a spy or a call to a spy`);this.assert(m(s,n,o),`expected "${s.getMockName()}" to have been called before "${n.getMockName()}"`,`expected "${s.getMockName()}" to not have been called before "${n.getMockName()}"`,n,s)}),c(["toHaveBeenCalledAfter"],function(n,o=!0){const s=u(this);if(!V(n))throw new TypeError(`${t.inspect(n)} is not a spy or a call to a spy`);this.assert(m(n,s,o),`expected "${s.getMockName()}" to have been called after "${n.getMockName()}"`,`expected "${s.getMockName()}" to not have been called after "${n.getMockName()}"`,n,s)}),c(["toThrow","toThrowError"],function(n){if(typeof n=="string"||typeof n>"u"||n instanceof RegExp)return this.throws(n===""?/^$/:n);const o=this._obj,s=t.flag(this,"promise"),i=t.flag(this,"negate");let l=null;if(s==="rejects")l=o;else if(s==="resolves"&&typeof o!="function"){if(i)return;{const f=t.flag(this,"message")||"expected promise to throw an error, but it didn't",p={showDiff:!1};throw new r(f,p,t.flag(this,"ssfi"))}}else{let f=!1;try{o()}catch(p){f=!0,l=p}if(!f&&!i){const p=t.flag(this,"message")||"expected function to throw an error, but it didn't",y={showDiff:!1};throw new r(p,y,t.flag(this,"ssfi"))}}if(typeof n=="function"){const f=n.name||n.prototype.constructor.name;return this.assert(l&&l instanceof n,`expected error to be instance of ${f}`,`expected error not to be instance of ${f}`,n,l)}if(n instanceof Error){const f=g(l,n,[...a,w]);return this.assert(f,"expected a thrown error to be #{exp}","expected a thrown error not to be #{exp}",n,l)}if(typeof n=="object"&&"asymmetricMatch"in n&&typeof n.asymmetricMatch=="function"){const f=n;return this.assert(l&&f.asymmetricMatch(l),"expected error to match asymmetric matcher","expected error not to match asymmetric matcher",f,l)}throw new Error(`"toThrow" expects string, RegExp, function, Error instance or asymmetric matcher, got "${typeof n}"`)}),[{name:"toHaveResolved",condition:n=>n.mock.settledResults.length>0&&n.mock.settledResults.some(({type:o})=>o==="fulfilled"),action:"resolved"},{name:["toHaveReturned","toReturn"],condition:n=>n.mock.calls.length>0&&n.mock.results.some(({type:o})=>o!=="throw"),action:"called"}].forEach(({name:n,condition:o,action:s})=>{c(n,function(){const i=u(this),l=i.getMockName(),f=o(i);this.assert(f,`expected "${l}" to be successfully ${s} at least once`,`expected "${l}" to not be successfully ${s}`,f,!f,!1)})}),[{name:"toHaveResolvedTimes",condition:(n,o)=>n.mock.settledResults.reduce((s,{type:i})=>i==="fulfilled"?++s:s,0)===o,action:"resolved"},{name:["toHaveReturnedTimes","toReturnTimes"],condition:(n,o)=>n.mock.results.reduce((s,{type:i})=>i==="throw"?s:++s,0)===o,action:"called"}].forEach(({name:n,condition:o,action:s})=>{c(n,function(i){const l=u(this),f=l.getMockName(),p=o(l,i);this.assert(p,`expected "${f}" to be successfully ${s} ${i} times`,`expected "${f}" to not be successfully ${s} ${i} times`,`expected resolved times: ${i}`,`received resolved times: ${p}`,!1)})}),[{name:"toHaveResolvedWith",condition:(n,o)=>n.mock.settledResults.some(({type:s,value:i})=>s==="fulfilled"&&g(o,i)),action:"resolve"},{name:["toHaveReturnedWith","toReturnWith"],condition:(n,o)=>n.mock.results.some(({type:s,value:i})=>s==="return"&&g(o,i)),action:"return"}].forEach(({name:n,condition:o,action:s})=>{c(n,function(i){const l=u(this),f=o(l,i),p=t.flag(this,"negate");if(f&&p||!f&&!p){const y=l.getMockName(),b=t.getMessage(this,[f,`expected "${y}" to ${s} with: #{exp} at least once`,`expected "${y}" to not ${s} with: #{exp}`,i]),$=s==="return"?l.mock.results:l.mock.settledResults;throw new r(Xt(l,$,b,i))}})}),[{name:"toHaveLastResolvedWith",condition:(n,o)=>{const s=n.mock.settledResults[n.mock.settledResults.length-1];return s&&s.type==="fulfilled"&&g(s.value,o)},action:"resolve"},{name:["toHaveLastReturnedWith","lastReturnedWith"],condition:(n,o)=>{const s=n.mock.results[n.mock.results.length-1];return s&&s.type==="return"&&g(s.value,o)},action:"return"}].forEach(({name:n,condition:o,action:s})=>{c(n,function(i){const l=u(this),f=s==="return"?l.mock.results:l.mock.settledResults,p=f[f.length-1],y=l.getMockName();this.assert(o(l,i),`expected last "${y}" call to ${s} #{exp}`,`expected last "${y}" call to not ${s} #{exp}`,i,p==null?void 0:p.value)})}),[{name:"toHaveNthResolvedWith",condition:(n,o,s)=>{const i=n.mock.settledResults[o-1];return i&&i.type==="fulfilled"&&g(i.value,s)},action:"resolve"},{name:["toHaveNthReturnedWith","nthReturnedWith"],condition:(n,o,s)=>{const i=n.mock.results[o-1];return i&&i.type==="return"&&g(i.value,s)},action:"return"}].forEach(({name:n,condition:o,action:s})=>{c(n,function(i,l){const f=u(this),p=f.getMockName(),b=(s==="return"?f.mock.results:f.mock.settledResults)[i-1],$=`${I(i)} call`;this.assert(o(f,i,l),`expected ${$} "${p}" call to ${s} #{exp}`,`expected ${$} "${p}" call to not ${s} #{exp}`,l,b==null?void 0:b.value)})}),c("withContext",function(n){for(const o in n)t.flag(this,o,n[o]);return this}),t.addProperty(e.Assertion.prototype,"resolves",function(){const o=new Error("resolves");t.flag(this,"promise","resolves"),t.flag(this,"error",o);const s=t.flag(this,"vitest-test"),i=t.flag(this,"object");if(t.flag(this,"poll"))throw new SyntaxError("expect.poll() is not supported in combination with .resolves");if(typeof(i==null?void 0:i.then)!="function")throw new TypeError(`You must provide a Promise to expect() when using .resolves, not '${typeof i}'.`);const l=new Proxy(this,{get:(f,p,y)=>{const b=Reflect.get(f,p,y);return typeof b!="function"?b instanceof e.Assertion?l:b:(...$)=>{t.flag(this,"_name",p);const C=i.then(N=>(t.flag(this,"object",N),b.call(this,...$)),N=>{const x=new r(`promise rejected "${t.inspect(N)}" instead of resolving`,{showDiff:!1});throw x.cause=N,x.stack=o.stack.replace(o.message,x.message),x});return at(s,C,ct(t,this,!!$.length),o)}}});return l}),t.addProperty(e.Assertion.prototype,"rejects",function(){const o=new Error("rejects");t.flag(this,"promise","rejects"),t.flag(this,"error",o);const s=t.flag(this,"vitest-test"),i=t.flag(this,"object"),l=typeof i=="function"?i():i;if(t.flag(this,"poll"))throw new SyntaxError("expect.poll() is not supported in combination with .rejects");if(typeof(l==null?void 0:l.then)!="function")throw new TypeError(`You must provide a Promise to expect() when using .rejects, not '${typeof l}'.`);const f=new Proxy(this,{get:(p,y,b)=>{const $=Reflect.get(p,y,b);return typeof $!="function"?$ instanceof e.Assertion?f:$:(...C)=>{t.flag(this,"_name",y);const N=l.then(x=>{const _=new r(`promise resolved "${t.inspect(x)}" instead of rejecting`,{showDiff:!0,expected:new Error("rejected promise"),actual:x});throw _.stack=o.stack.replace(o.message,_.message),_},x=>(t.flag(this,"object",x),$.call(this,...C)));return at(s,N,ct(t,this,!!C.length),o)}}});return f})};function I(e){const t=e%10,r=e%100;return t===1&&r!==11?`${e}st`:t===2&&r!==12?`${e}nd`:t===3&&r!==13?`${e}rd`:`${e}th`}function Y(e,t,r){return e.mock.calls&&(t+=E.gray(`
|
|
32
|
+
(${f} matching ${f===1?"property":"properties"} omitted from actual)`;throw new r(y,{showDiff:!0,expected:n,actual:l})}}),c("toMatch",function(n){const o=this._obj;if(typeof o!="string")throw new TypeError(`.toMatch() expects to receive a string, but got ${typeof o}`);return this.assert(typeof n=="string"?o.includes(n):o.match(n),"expected #{this} to match #{exp}","expected #{this} not to match #{exp}",n,o)}),c("toContain",function(n){const o=this._obj;if(typeof Node<"u"&&o instanceof Node){if(!(n instanceof Node))throw new TypeError(`toContain() expected a DOM node as the argument, but got ${typeof n}`);return this.assert(o.contains(n),"expected #{this} to contain element #{exp}","expected #{this} not to contain element #{exp}",n,o)}if(typeof DOMTokenList<"u"&&o instanceof DOMTokenList){O(n,"class name",["string"]);const i=t.flag(this,"negate")?o.value.replace(n,"").trim():`${o.value} ${n}`;return this.assert(o.contains(n),`expected "${o.value}" to contain "${n}"`,`expected "${o.value}" not to contain "${n}"`,i,o.value)}return typeof o=="string"&&typeof n=="string"?this.assert(o.includes(n),"expected #{this} to contain #{exp}","expected #{this} not to contain #{exp}",n,o):(o!=null&&typeof o!="string"&&t.flag(this,"object",Array.from(o)),this.contain(n))}),c("toContainEqual",function(n){const o=t.flag(this,"object"),s=Array.from(o).findIndex(i=>g(i,n,a));this.assert(s!==-1,"expected #{this} to deep equally contain #{exp}","expected #{this} to not deep equally contain #{exp}",n)}),c("toBeTruthy",function(){const n=t.flag(this,"object");this.assert(!!n,"expected #{this} to be truthy","expected #{this} to not be truthy",!0,n)}),c("toBeFalsy",function(){const n=t.flag(this,"object");this.assert(!n,"expected #{this} to be falsy","expected #{this} to not be falsy",!1,n)}),c("toBeGreaterThan",function(n){const o=this._obj;return O(o,"actual",["number","bigint"]),O(n,"expected",["number","bigint"]),this.assert(o>n,`expected ${o} to be greater than ${n}`,`expected ${o} to be not greater than ${n}`,n,o,!1)}),c("toBeGreaterThanOrEqual",function(n){const o=this._obj;return O(o,"actual",["number","bigint"]),O(n,"expected",["number","bigint"]),this.assert(o>=n,`expected ${o} to be greater than or equal to ${n}`,`expected ${o} to be not greater than or equal to ${n}`,n,o,!1)}),c("toBeLessThan",function(n){const o=this._obj;return O(o,"actual",["number","bigint"]),O(n,"expected",["number","bigint"]),this.assert(o<n,`expected ${o} to be less than ${n}`,`expected ${o} to be not less than ${n}`,n,o,!1)}),c("toBeLessThanOrEqual",function(n){const o=this._obj;return O(o,"actual",["number","bigint"]),O(n,"expected",["number","bigint"]),this.assert(o<=n,`expected ${o} to be less than or equal to ${n}`,`expected ${o} to be not less than or equal to ${n}`,n,o,!1)}),c("toBeNaN",function(){const n=t.flag(this,"object");this.assert(Number.isNaN(n),"expected #{this} to be NaN","expected #{this} not to be NaN",Number.NaN,n)}),c("toBeUndefined",function(){const n=t.flag(this,"object");this.assert(n===void 0,"expected #{this} to be undefined","expected #{this} not to be undefined",void 0,n)}),c("toBeNull",function(){const n=t.flag(this,"object");this.assert(n===null,"expected #{this} to be null","expected #{this} not to be null",null,n)}),c("toBeDefined",function(){const n=t.flag(this,"object");this.assert(typeof n<"u","expected #{this} to be defined","expected #{this} to be undefined",n)}),c("toBeTypeOf",function(n){const o=typeof this._obj,s=n===o;return this.assert(s,"expected #{this} to be type of #{exp}","expected #{this} not to be type of #{exp}",n,o)}),c("toBeInstanceOf",function(n){return this.instanceOf(n)}),c("toHaveLength",function(n){return this.have.length(n)}),c("toHaveProperty",function(...n){Array.isArray(n[0])&&(n[0]=n[0].map($=>String($).replace(/([.[\]])/g,"\\$1")).join("."));const o=this._obj,[s,i]=n,l=()=>Object.prototype.hasOwnProperty.call(o,s)?{value:o[s],exists:!0}:t.getPathInfo(o,s),{value:f,exists:p}=l(),y=p&&(n.length===1||g(i,f,a)),b=n.length===1?"":` with value ${t.objDisplay(i)}`;return this.assert(y,`expected #{this} to have property "${s}"${b}`,`expected #{this} to not have property "${s}"${b}`,i,p?f:void 0)}),c("toBeCloseTo",function(n,o=2){const s=this._obj;let i=!1,l=0,f=0;return n===Number.POSITIVE_INFINITY&&s===Number.POSITIVE_INFINITY||n===Number.NEGATIVE_INFINITY&&s===Number.NEGATIVE_INFINITY?i=!0:(l=10**-o/2,f=Math.abs(s-n),i=f<l),this.assert(i,`expected #{this} to be close to #{exp}, received difference is ${f}, but expected ${l}`,`expected #{this} to not be close to #{exp}, received difference is ${f}, but expected ${l}`,n,s,!1)});function h(n){if(!V(n._obj))throw new TypeError(`${t.inspect(n._obj)} is not a spy or a call to a spy!`)}function u(n){return h(n),n._obj}c(["toHaveBeenCalledTimes","toBeCalledTimes"],function(n){const o=u(this),s=o.getMockName(),i=o.mock.calls.length;return this.assert(i===n,`expected "${s}" to be called #{exp} times, but got ${i} times`,`expected "${s}" to not be called #{exp} times`,n,i,!1)}),c("toHaveBeenCalledOnce",function(){const n=u(this),o=n.getMockName(),s=n.mock.calls.length;return this.assert(s===1,`expected "${o}" to be called once, but got ${s} times`,`expected "${o}" to not be called once`,1,s,!1)}),c(["toHaveBeenCalled","toBeCalled"],function(){const n=u(this),o=n.getMockName(),s=n.mock.calls.length,i=s>0,l=t.flag(this,"negate");let f=t.getMessage(this,[i,`expected "${o}" to be called at least once`,`expected "${o}" to not be called at all, but actually been called ${s} times`,!0,i]);if(i&&l&&(f=Y(n,f)),i&&l||!i&&!l)throw new r(f)});function d(n,o){return n.length===o.length&&n.every((s,i)=>g(s,o[i],[...a,w]))}c(["toHaveBeenCalledWith","toBeCalledWith"],function(...n){const o=u(this),s=o.getMockName(),i=o.mock.calls.some(p=>d(p,n)),l=t.flag(this,"negate"),f=t.getMessage(this,[i,`expected "${s}" to be called with arguments: #{exp}`,`expected "${s}" to not be called with arguments: #{exp}`,n]);if(i&&l||!i&&!l)throw new r(Y(o,f,n))}),c("toHaveBeenCalledExactlyOnceWith",function(...n){const o=u(this),s=o.getMockName(),i=o.mock.calls.length,f=o.mock.calls.some(b=>d(b,n))&&i===1,p=t.flag(this,"negate"),y=t.getMessage(this,[f,`expected "${s}" to be called once with arguments: #{exp}`,`expected "${s}" to not be called once with arguments: #{exp}`,n]);if(f&&p||!f&&!p)throw new r(Y(o,y,n))}),c(["toHaveBeenNthCalledWith","nthCalledWith"],function(n,...o){const s=u(this),i=s.getMockName(),l=s.mock.calls[n-1],f=s.mock.calls.length,p=n<=f;this.assert(l&&d(l,o),`expected ${I(n)} "${i}" call to have been called with #{exp}${p?"":`, but called only ${f} times`}`,`expected ${I(n)} "${i}" call to not have been called with #{exp}`,o,l,p)}),c(["toHaveBeenLastCalledWith","lastCalledWith"],function(...n){const o=u(this),s=o.getMockName(),i=o.mock.calls[o.mock.calls.length-1];this.assert(i&&d(i,n),`expected last "${s}" call to have been called with #{exp}`,`expected last "${s}" call to not have been called with #{exp}`,n,i)});function m(n,o,s){const i=n.mock.invocationCallOrder,l=o.mock.invocationCallOrder;return i.length===0?!s:l.length===0?!1:i[0]<l[0]}c(["toHaveBeenCalledBefore"],function(n,o=!0){const s=u(this);if(!V(n))throw new TypeError(`${t.inspect(n)} is not a spy or a call to a spy`);this.assert(m(s,n,o),`expected "${s.getMockName()}" to have been called before "${n.getMockName()}"`,`expected "${s.getMockName()}" to not have been called before "${n.getMockName()}"`,n,s)}),c(["toHaveBeenCalledAfter"],function(n,o=!0){const s=u(this);if(!V(n))throw new TypeError(`${t.inspect(n)} is not a spy or a call to a spy`);this.assert(m(n,s,o),`expected "${s.getMockName()}" to have been called after "${n.getMockName()}"`,`expected "${s.getMockName()}" to not have been called after "${n.getMockName()}"`,n,s)}),c(["toThrow","toThrowError"],function(n){if(typeof n=="string"||typeof n>"u"||n instanceof RegExp)return this.throws(n===""?/^$/:n);const o=this._obj,s=t.flag(this,"promise"),i=t.flag(this,"negate");let l=null;if(s==="rejects")l=o;else if(s==="resolves"&&typeof o!="function"){if(i)return;{const f=t.flag(this,"message")||"expected promise to throw an error, but it didn't",p={showDiff:!1};throw new r(f,p,t.flag(this,"ssfi"))}}else{let f=!1;try{o()}catch(p){f=!0,l=p}if(!f&&!i){const p=t.flag(this,"message")||"expected function to throw an error, but it didn't",y={showDiff:!1};throw new r(p,y,t.flag(this,"ssfi"))}}if(typeof n=="function"){const f=n.name||n.prototype.constructor.name;return this.assert(l&&l instanceof n,`expected error to be instance of ${f}`,`expected error not to be instance of ${f}`,n,l)}if(n instanceof Error){const f=g(l,n,[...a,w]);return this.assert(f,"expected a thrown error to be #{exp}","expected a thrown error not to be #{exp}",n,l)}if(typeof n=="object"&&"asymmetricMatch"in n&&typeof n.asymmetricMatch=="function"){const f=n;return this.assert(l&&f.asymmetricMatch(l),"expected error to match asymmetric matcher","expected error not to match asymmetric matcher",f,l)}throw new Error(`"toThrow" expects string, RegExp, function, Error instance or asymmetric matcher, got "${typeof n}"`)}),[{name:"toHaveResolved",condition:n=>n.mock.settledResults.length>0&&n.mock.settledResults.some(({type:o})=>o==="fulfilled"),action:"resolved"},{name:["toHaveReturned","toReturn"],condition:n=>n.mock.calls.length>0&&n.mock.results.some(({type:o})=>o!=="throw"),action:"called"}].forEach(({name:n,condition:o,action:s})=>{c(n,function(){const i=u(this),l=i.getMockName(),f=o(i);this.assert(f,`expected "${l}" to be successfully ${s} at least once`,`expected "${l}" to not be successfully ${s}`,f,!f,!1)})}),[{name:"toHaveResolvedTimes",condition:(n,o)=>n.mock.settledResults.reduce((s,{type:i})=>i==="fulfilled"?++s:s,0)===o,action:"resolved"},{name:["toHaveReturnedTimes","toReturnTimes"],condition:(n,o)=>n.mock.results.reduce((s,{type:i})=>i==="throw"?s:++s,0)===o,action:"called"}].forEach(({name:n,condition:o,action:s})=>{c(n,function(i){const l=u(this),f=l.getMockName(),p=o(l,i);this.assert(p,`expected "${f}" to be successfully ${s} ${i} times`,`expected "${f}" to not be successfully ${s} ${i} times`,`expected resolved times: ${i}`,`received resolved times: ${p}`,!1)})}),[{name:"toHaveResolvedWith",condition:(n,o)=>n.mock.settledResults.some(({type:s,value:i})=>s==="fulfilled"&&g(o,i)),action:"resolve"},{name:["toHaveReturnedWith","toReturnWith"],condition:(n,o)=>n.mock.results.some(({type:s,value:i})=>s==="return"&&g(o,i)),action:"return"}].forEach(({name:n,condition:o,action:s})=>{c(n,function(i){const l=u(this),f=o(l,i),p=t.flag(this,"negate");if(f&&p||!f&&!p){const y=l.getMockName(),b=t.getMessage(this,[f,`expected "${y}" to ${s} with: #{exp} at least once`,`expected "${y}" to not ${s} with: #{exp}`,i]),$=s==="return"?l.mock.results:l.mock.settledResults;throw new r(Xt(l,$,b,i))}})}),[{name:"toHaveLastResolvedWith",condition:(n,o)=>{const s=n.mock.settledResults[n.mock.settledResults.length-1];return s&&s.type==="fulfilled"&&g(s.value,o)},action:"resolve"},{name:["toHaveLastReturnedWith","lastReturnedWith"],condition:(n,o)=>{const s=n.mock.results[n.mock.results.length-1];return s&&s.type==="return"&&g(s.value,o)},action:"return"}].forEach(({name:n,condition:o,action:s})=>{c(n,function(i){const l=u(this),f=s==="return"?l.mock.results:l.mock.settledResults,p=f[f.length-1],y=l.getMockName();this.assert(o(l,i),`expected last "${y}" call to ${s} #{exp}`,`expected last "${y}" call to not ${s} #{exp}`,i,p==null?void 0:p.value)})}),[{name:"toHaveNthResolvedWith",condition:(n,o,s)=>{const i=n.mock.settledResults[o-1];return i&&i.type==="fulfilled"&&g(i.value,s)},action:"resolve"},{name:["toHaveNthReturnedWith","nthReturnedWith"],condition:(n,o,s)=>{const i=n.mock.results[o-1];return i&&i.type==="return"&&g(i.value,s)},action:"return"}].forEach(({name:n,condition:o,action:s})=>{c(n,function(i,l){const f=u(this),p=f.getMockName(),b=(s==="return"?f.mock.results:f.mock.settledResults)[i-1],$=`${I(i)} call`;this.assert(o(f,i,l),`expected ${$} "${p}" call to ${s} #{exp}`,`expected ${$} "${p}" call to not ${s} #{exp}`,l,b==null?void 0:b.value)})}),c("withContext",function(n){for(const o in n)t.flag(this,o,n[o]);return this}),t.addProperty(e.Assertion.prototype,"resolves",function(){const o=new Error("resolves");t.flag(this,"promise","resolves"),t.flag(this,"error",o);const s=t.flag(this,"vitest-test"),i=t.flag(this,"object");if(t.flag(this,"poll"))throw new SyntaxError("expect.poll() is not supported in combination with .resolves");if(typeof(i==null?void 0:i.then)!="function")throw new TypeError(`You must provide a Promise to expect() when using .resolves, not '${typeof i}'.`);const l=new Proxy(this,{get:(f,p,y)=>{const b=Reflect.get(f,p,y);return typeof b!="function"?b instanceof e.Assertion?l:b:(...$)=>{t.flag(this,"_name",p);const C=i.then(N=>(t.flag(this,"object",N),b.call(this,...$)),N=>{const x=new r(`promise rejected "${t.inspect(N)}" instead of resolving`,{showDiff:!1});throw x.cause=N,x.stack=o.stack.replace(o.message,x.message),x});return at(s,C,ct(t,this,!!$.length),o)}}});return l}),t.addProperty(e.Assertion.prototype,"rejects",function(){const o=new Error("rejects");t.flag(this,"promise","rejects"),t.flag(this,"error",o);const s=t.flag(this,"vitest-test"),i=t.flag(this,"object"),l=typeof i=="function"?i():i;if(t.flag(this,"poll"))throw new SyntaxError("expect.poll() is not supported in combination with .rejects");if(typeof(l==null?void 0:l.then)!="function")throw new TypeError(`You must provide a Promise to expect() when using .rejects, not '${typeof l}'.`);const f=new Proxy(this,{get:(p,y,b)=>{const $=Reflect.get(p,y,b);return typeof $!="function"?$ instanceof e.Assertion?f:$:(...C)=>{t.flag(this,"_name",y);const N=l.then(x=>{const _=new r(`promise resolved "${t.inspect(x)}" instead of rejecting`,{showDiff:!0,expected:new Error("rejected promise"),actual:x});throw _.stack=o.stack.replace(o.message,_.message),_},x=>(t.flag(this,"object",x),$.call(this,...C)));return at(s,N,ct(t,this,!!C.length),o)}}});return f})};function I(e){const t=e%10,r=e%100;return t===1&&r!==11?`${e}st`:t===2&&r!==12?`${e}nd`:t===3&&r!==13?`${e}rd`:`${e}th`}function Y(e,t,r){return e.mock.calls.length&&(t+=E.gray(`
|
|
33
33
|
|
|
34
34
|
Received:
|
|
35
35
|
|
|
@@ -42,7 +42,7 @@ ${e.mock.calls.map((a,c)=>{let h=E.bold(` ${I(c+1)} ${e.getMockName()} call:
|
|
|
42
42
|
`)}`)),t+=E.gray(`
|
|
43
43
|
|
|
44
44
|
Number of calls: ${E.bold(e.mock.calls.length)}
|
|
45
|
-
`),t}function Xt(e,t,r,a){return r+=E.gray(`
|
|
45
|
+
`),t}function Xt(e,t,r,a){return t.length&&(r+=E.gray(`
|
|
46
46
|
|
|
47
47
|
Received:
|
|
48
48
|
|
|
@@ -52,7 +52,7 @@ ${t.map((c,h)=>{let u=E.bold(` ${I(h+1)} ${e.getMockName()} call return:
|
|
|
52
52
|
`).map(d=>` ${d}`).join(`
|
|
53
53
|
`),u+=`
|
|
54
54
|
`,u}).join(`
|
|
55
|
-
`)}`),r+=E.gray(`
|
|
55
|
+
`)}`)),r+=E.gray(`
|
|
56
56
|
|
|
57
57
|
Number of calls: ${E.bold(e.mock.calls.length)}
|
|
58
58
|
`),r}function Qt(e,t){const r=e._obj,a=P.flag(e,"negate"),c=P.flag(e,"promise")||"",h={...dt(),diff:S,stringify:j,iterableEquality:w,subsetEquality:R};return{state:{...$t(t),customTesters:G(),isNot:a,utils:h,promise:c,equals:g,suppressedErrors:[],soft:P.flag(e,"soft"),poll:P.flag(e,"poll")},isNot:a,obj:r}}class lt extends Error{constructor(t,r,a){super(t),this.actual=r,this.expected=a}}function Zt(e,t,r){return(a,c)=>{Object.entries(r).forEach(([h,u])=>{function d(...s){const{state:i,isNot:l,obj:f}=Qt(this,t),p=u.call(i,f,...s);if(p&&typeof p=="object"&&p instanceof Promise)return p.then(({pass:N,message:x,actual:_,expected:wt})=>{if(N&&l||!N&&!l)throw new lt(x(),_,wt)});const{pass:y,message:b,actual:$,expected:C}=p;if(y&&l||!y&&!l)throw new lt(b(),$,C)}const m=Et(c,h,d);c.addMethod(globalThis[B].matchers,h,m),c.addMethod(e.Assertion.prototype,h,m);class n extends T{constructor(i=!1,...l){super(l,i)}asymmetricMatch(i){const{pass:l}=u.call(this.getMatcherContext(t),i,...this.sample);return this.inverse?!l:l}toString(){return`${this.inverse?"not.":""}${h}`}getExpectedType(){return"any"}toAsymmetricMatcher(){return`${this.toString()}<${this.sample.map(i=>j(i)).join(", ")}>`}}const o=(...s)=>new n(!1,...s);Object.defineProperty(t,h,{configurable:!0,enumerable:!0,value:o,writable:!0}),Object.defineProperty(t.not,h,{configurable:!0,enumerable:!0,value:(...s)=>new n(!0,...s),writable:!0}),Object.defineProperty(globalThis[ht],h,{configurable:!0,enumerable:!0,value:o,writable:!0})})}}const pe=(e,t)=>{t.addMethod(e.expect,"extend",(r,a)=>{Tt(Zt(e,r,a))})};export{ht as ASYMMETRIC_MATCHERS_OBJECT,Kt as Any,zt as Anything,rt as ArrayContaining,T as AsymmetricMatcher,ft as GLOBAL_EXPECT,B as JEST_MATCHERS_OBJECT,fe as JestAsymmetricMatchers,he as JestChaiExpect,pe as JestExtend,k as MATCHERS_OBJECT,ot as ObjectContaining,nt as StringContaining,st as StringMatching,le as addCustomEqualityTesters,et as arrayBufferEquality,ae as customMatchers,g as equals,Ut as generateToBeMessage,F as getObjectKeys,Gt as getObjectSubset,$t as getState,v as isA,K as isAsymmetric,Dt as isImmutableUnorderedKeyed,Lt as isImmutableUnorderedSet,w as iterableEquality,Jt as pluralize,ue as setState,U as sparseArrayEquality,R as subsetEquality,tt as typeEquality};
|