@ncino/web-components 4.3.0-preview.2 → 4.3.0-preview.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/checkbox/checkbox.gator.js +9 -6
- package/dist/components/table/gator/__tests__/test-table-data.js +1 -1
- package/dist/components/table/gator/table.gator.js +30 -18
- package/dist/packages/web-components/src/components/table/gator/table.gator.scss.js +1 -1
- package/dist/types/components/checkbox/checkbox.gator.d.ts +4 -0
- package/dist/types/components/table/gator/__tests__/test-table-data.d.ts +31 -0
- package/dist/types/components/table/gator/table.gator.d.ts +2 -0
- package/package.json +1 -1
- package/web-types.json +6 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{customElement as h}from"../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/custom-element.js";import{property as p}from"../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/property.js";import{generateRandomId as d,getElementId as c}from"../../utils/string-utils.js";import u from"../../packages/web-components/src/tokens/primitive.tokens.scss.js";import f from"../../packages/web-components/src/tokens/semantic.tokens.scss.js";import b from"../../packages/web-components/src/components/checkbox/checkbox.gator.scss.js";import"../icon/gator/icon.gator.js";import"../icon/gator/templates/add-link.js";import"../icon/gator/templates/airplane.js";import"../icon/gator/templates/alarm.js";import"../icon/gator/templates/apartment.js";import"../icon/gator/templates/arrow-around.js";import"../icon/gator/templates/arrow-down.js";import"../icon/gator/templates/arrow-left.js";import"../icon/gator/templates/arrow-line-left.js";import"../icon/gator/templates/arrow-line-right.js";import"../icon/gator/templates/arrow-right.js";import"../icon/gator/templates/arrow-up.js";import"../icon/gator/templates/bank.js";import"../icon/gator/templates/bell-disabled.js";import"../icon/gator/templates/bell.js";import"../icon/gator/templates/binoculars.js";import"../icon/gator/templates/book.js";import"../icon/gator/templates/box.js";import"../icon/gator/templates/cake.js";import"../icon/gator/templates/calculator.js";import"../icon/gator/templates/calendar.js";import"../icon/gator/templates/camera.js";import"../icon/gator/templates/caret-up-down.js";import"../icon/gator/templates/case.js";import"../icon/gator/templates/chart-bar-horizontal.js";import"../icon/gator/templates/chart-bar.js";import"../icon/gator/templates/chart-donut.js";import"../icon/gator/templates/chart-line.js";import"../icon/gator/templates/chart-pie.js";import"../icon/gator/templates/chart-rise.js";import"../icon/gator/templates/chart-scatter.js";import"../icon/gator/templates/chat.js";import"../icon/gator/templates/check-circle.js";import"../icon/gator/templates/check.js";import"../icon/gator/templates/checkbox-selected.js";import"../icon/gator/templates/checkbox.js";import"../icon/gator/templates/checkerboard.js";import"../icon/gator/templates/chevron-down.js";import"../icon/gator/templates/chevron-left.js";import"../icon/gator/templates/chevron-right.js";import"../icon/gator/templates/chevron-up.js";import"../icon/gator/templates/circle-arrow-down.js";import"../icon/gator/templates/circle-arrow-left.js";import"../icon/gator/templates/circle-arrow-right.js";import"../icon/gator/templates/circle-arrow-up.js";import"../icon/gator/templates/circle-dashed.js";import"../icon/gator/templates/circle-filled.js";import"../icon/gator/templates/circle.js";import"../icon/gator/templates/city.js";import"../icon/gator/templates/clipboard.js";import"../icon/gator/templates/clock-clockwise.js";import"../icon/gator/templates/clock-counter-clockwise.js";import"../icon/gator/templates/clock.js";import"../icon/gator/templates/collapse.js";import"../icon/gator/templates/cone.js";import"../icon/gator/templates/contact-info.js";import"../icon/gator/templates/copy.js";import"../icon/gator/templates/credit-card.js";import"../icon/gator/templates/crop.js";import"../icon/gator/templates/crosshairs.js";import"../icon/gator/templates/currency-dollar-simple.js";import"../icon/gator/templates/currency-eur.js";import"../icon/gator/templates/currency-gbp.js";import"../icon/gator/templates/currency-inr.js";import"../icon/gator/templates/currency-jpy.js";import"../icon/gator/templates/currency-krw.js";import"../icon/gator/templates/currency-kzt.js";import"../icon/gator/templates/currency-ngn.js";import"../icon/gator/templates/currency-rub.js";import"../icon/gator/templates/cursor-arrow.js";import"../icon/gator/templates/cursor-hand.js";import"../icon/gator/templates/cursor.js";import"../icon/gator/templates/dashboard.js";import"../icon/gator/templates/delete.js";import"../icon/gator/templates/dna.js";import"../icon/gator/templates/document-add.js";import"../icon/gator/templates/document-check.js";import"../icon/gator/templates/document-e-sign.js";import"../icon/gator/templates/document-image.js";import"../icon/gator/templates/document-pdf.js";import"../icon/gator/templates/document-sign.js";import"../icon/gator/templates/document-zip.js";import"../icon/gator/templates/document.js";import"../icon/gator/templates/dollar-bills.js";import"../icon/gator/templates/dollar-house.js";import"../icon/gator/templates/down-payment.js";import"../icon/gator/templates/download.js";import"../icon/gator/templates/drag-drop.js";import"../icon/gator/templates/earth.js";import"../icon/gator/templates/exclude-square.js";import"../icon/gator/templates/exit-circle.js";import"../icon/gator/templates/exit-left.js";import"../icon/gator/templates/exit.js";import"../icon/gator/templates/expand-arrows.js";import"../icon/gator/templates/expand.js";import"../icon/gator/templates/export.js";import"../icon/gator/templates/eye-closed.js";import"../icon/gator/templates/eye-crossed.js";import"../icon/gator/templates/eye.js";import"../icon/gator/templates/facebook-logo.js";import"../icon/gator/templates/file-code.js";import"../icon/gator/templates/files.js";import"../icon/gator/templates/filter-funnel.js";import"../icon/gator/templates/filters-2.js";import"../icon/gator/templates/filters.js";import"../icon/gator/templates/flags/flag-ad-andorra.js";import"../icon/gator/templates/flags/flag-ae-united-arab-emirates.js";import"../icon/gator/templates/flags/flag-af-afghanistan.js";import"../icon/gator/templates/flags/flag-ag-antigua-and-barbuda.js";import"../icon/gator/templates/flags/flag-ai-anguilla.js";import"../icon/gator/templates/flags/flag-al-albania.js";import"../icon/gator/templates/flags/flag-am-armenia.js";import"../icon/gator/templates/flags/flag-ao-angola.js";import"../icon/gator/templates/flags/flag-aq-antarctica.js";import"../icon/gator/templates/flags/flag-ar-argentina.js";import"../icon/gator/templates/flags/flag-as-american-smoa.js";import"../icon/gator/templates/flags/flag-at-austria.js";import"../icon/gator/templates/flags/flag-au-australia.js";import"../icon/gator/templates/flags/flag-aw-aruba.js";import"../icon/gator/templates/flags/flag-ax-aland-islands.js";import"../icon/gator/templates/flags/flag-az-azerbaijan.js";import"../icon/gator/templates/flags/flag-ba-bosnia-and-herzegovina.js";import"../icon/gator/templates/flags/flag-bb-barbados.js";import"../icon/gator/templates/flags/flag-bd-bangladesh.js";import"../icon/gator/templates/flags/flag-be-belgium.js";import"../icon/gator/templates/flags/flag-bf-burkina-faso.js";import"../icon/gator/templates/flags/flag-bg-bulgaria.js";import"../icon/gator/templates/flags/flag-bh-bahrain.js";import"../icon/gator/templates/flags/flag-bi-burundi.js";import"../icon/gator/templates/flags/flag-bj-benin.js";import"../icon/gator/templates/flags/flag-bl-saint-barthelemy.js";import"../icon/gator/templates/flags/flag-bm-bermuda.js";import"../icon/gator/templates/flags/flag-bn-brunei-darussalam.js";import"../icon/gator/templates/flags/flag-bo-bolivia.js";import"../icon/gator/templates/flags/flag-bq-bo-bonaire.js";import"../icon/gator/templates/flags/flag-bq-sa-sba.js";import"../icon/gator/templates/flags/flag-bq-se-snt-eustatius.js";import"../icon/gator/templates/flags/flag-br-brazil.js";import"../icon/gator/templates/flags/flag-bs-bahamas.js";import"../icon/gator/templates/flags/flag-bt-bhutan.js";import"../icon/gator/templates/flags/flag-bv-bouvet-island.js";import"../icon/gator/templates/flags/flag-bw-botswana.js";import"../icon/gator/templates/flags/flag-by-belarus.js";import"../icon/gator/templates/flags/flag-bz-belize.js";import"../icon/gator/templates/flags/flag-ca-canada.js";import"../icon/gator/templates/flags/flag-cc-cocos-keeling-islands.js";import"../icon/gator/templates/flags/flag-cd-democratic-republic-of-the-congo.js";import"../icon/gator/templates/flags/flag-cf-central-african-republic.js";import"../icon/gator/templates/flags/flag-cg-republic-of-the-congo.js";import"../icon/gator/templates/flags/flag-ch-switzerland.js";import"../icon/gator/templates/flags/flag-ci-côte-divoire-ivory-coast.js";import"../icon/gator/templates/flags/flag-ck-cook-islands.js";import"../icon/gator/templates/flags/flag-cl-chile.js";import"../icon/gator/templates/flags/flag-cm-cameroon.js";import"../icon/gator/templates/flags/flag-cn-china.js";import"../icon/gator/templates/flags/flag-co-colombia.js";import"../icon/gator/templates/flags/flag-cr-costa-rica.js";import"../icon/gator/templates/flags/flag-cu-cuba.js";import"../icon/gator/templates/flags/flag-cv-cabo-verde.js";import"../icon/gator/templates/flags/flag-cw-curaçao.js";import"../icon/gator/templates/flags/flag-cx-christmas-island.js";import"../icon/gator/templates/flags/flag-cy-cyprus.js";import"../icon/gator/templates/flags/flag-cz-czech-republic.js";import"../icon/gator/templates/flags/flag-de-germany.js";import"../icon/gator/templates/flags/flag-dj-djibouti.js";import"../icon/gator/templates/flags/flag-dk-denmark.js";import"../icon/gator/templates/flags/flag-dm-dominica.js";import"../icon/gator/templates/flags/flag-do-dominican-republic.js";import"../icon/gator/templates/flags/flag-dz-algeria.js";import"../icon/gator/templates/flags/flag-ec-ecuador.js";import"../icon/gator/templates/flags/flag-ee-estonia.js";import"../icon/gator/templates/flags/flag-eg-egypt.js";import"../icon/gator/templates/flags/flag-eh-western-sahara.js";import"../icon/gator/templates/flags/flag-er-eritrea.js";import"../icon/gator/templates/flags/flag-es-sain.js";import"../icon/gator/templates/flags/flag-et-ethiopia.js";import"../icon/gator/templates/flags/flag-fi-finland.js";import"../icon/gator/templates/flags/flag-fj-fiji.js";import"../icon/gator/templates/flags/flag-fk-falkland-islands.js";import"../icon/gator/templates/flags/flag-fm-federated-states-of-micronesia.js";import"../icon/gator/templates/flags/flag-fo-faroe-islands.js";import"../icon/gator/templates/flags/flag-fr-france.js";import"../icon/gator/templates/flags/flag-ga-gabon.js";import"../icon/gator/templates/flags/flag-gb-eng-england.js";import"../icon/gator/templates/flags/flag-gb-nir-northern-ireland.js";import"../icon/gator/templates/flags/flag-gb-sct-sotland.js";import"../icon/gator/templates/flags/flag-gb-ukm-united-kingdom.js";import"../icon/gator/templates/flags/flag-gb-wls-wales.js";import"../icon/gator/templates/flags/flag-gd-grenada.js";import"../icon/gator/templates/flags/flag-ge-georgia.js";import"../icon/gator/templates/flags/flag-gf-french-guiana.js";import"../icon/gator/templates/flags/flag-gg-guernsey.js";import"../icon/gator/templates/flags/flag-gh-ghana.js";import"../icon/gator/templates/flags/flag-gi-gibraltar.js";import"../icon/gator/templates/flags/flag-gl-greenland.js";import"../icon/gator/templates/flags/flag-gm-gambia.js";import"../icon/gator/templates/flags/flag-gn-guinea.js";import"../icon/gator/templates/flags/flag-gp-guadeloupe-2.js";import"../icon/gator/templates/flags/flag-gp-guadeloupe.js";import"../icon/gator/templates/flags/flag-gq-equatorial-guinea.js";import"../icon/gator/templates/flags/flag-gr-greece.js";import"../icon/gator/templates/flags/flag-gs-s-georgia-and-s-sandwich-islands.js";import"../icon/gator/templates/flags/flag-gt-guatemala.js";import"../icon/gator/templates/flags/flag-gu-guam.js";import"../icon/gator/templates/flags/flag-gw-guinea-bissau.js";import"../icon/gator/templates/flags/flag-gy-guyana.js";import"../icon/gator/templates/flags/flag-hk-hong-kong.js";import"../icon/gator/templates/flags/flag-hm-heard-and-mcdonald-islands.js";import"../icon/gator/templates/flags/flag-hn-honduras.js";import"../icon/gator/templates/flags/flag-hr-croatia-hrvatska.js";import"../icon/gator/templates/flags/flag-ht-haiti.js";import"../icon/gator/templates/flags/flag-hu-hungary.js";import"../icon/gator/templates/flags/flag-id-indonesia.js";import"../icon/gator/templates/flags/flag-ie-ireland.js";import"../icon/gator/templates/flags/flag-il-isreal.js";import"../icon/gator/templates/flags/flag-im-isle-of-man.js";import"../icon/gator/templates/flags/flag-in-india.js";import"../icon/gator/templates/flags/flag-io-british-indian-ocean-territory.js";import"../icon/gator/templates/flags/flag-iq-iraq.js";import"../icon/gator/templates/flags/flag-ir-iran.js";import"../icon/gator/templates/flags/flag-is-iceland.js";import"../icon/gator/templates/flags/flag-it-italy.js";import"../icon/gator/templates/flags/flag-je-jersey.js";import"../icon/gator/templates/flags/flag-jm-jamaica.js";import"../icon/gator/templates/flags/flag-jo-jordan.js";import"../icon/gator/templates/flags/flag-jp-japan.js";import"../icon/gator/templates/flags/flag-ke-kenia.js";import"../icon/gator/templates/flags/flag-kg-kyrgyzstan.js";import"../icon/gator/templates/flags/flag-kh-cambodia.js";import"../icon/gator/templates/flags/flag-ki--kiribati.js";import"../icon/gator/templates/flags/flag-km-comoros.js";import"../icon/gator/templates/flags/flag-kn-saint-kitts-and-nevis.js";import"../icon/gator/templates/flags/flag-kp-korea-north.js";import"../icon/gator/templates/flags/flag-kr-korea-south.js";import"../icon/gator/templates/flags/flag-kw-kuwait.js";import"../icon/gator/templates/flags/flag-ky-cayman-islands.js";import"../icon/gator/templates/flags/flag-kz-kazakhstan.js";import"../icon/gator/templates/flags/flag-la-laos.js";import"../icon/gator/templates/flags/flag-lb-lebanon.js";import"../icon/gator/templates/flags/flag-lc-saint-lucia.js";import"../icon/gator/templates/flags/flag-li-liechtenstein.js";import"../icon/gator/templates/flags/flag-lk-sri-lanka.js";import"../icon/gator/templates/flags/flag-lr-liberia.js";import"../icon/gator/templates/flags/flag-ls-lesotho.js";import"../icon/gator/templates/flags/flag-lt-lithuania.js";import"../icon/gator/templates/flags/flag-lu-luxembourg.js";import"../icon/gator/templates/flags/flag-lv-latvia.js";import"../icon/gator/templates/flags/flag-ly-libya.js";import"../icon/gator/templates/flags/flag-ma-morocco.js";import"../icon/gator/templates/flags/flag-mc-monaco.js";import"../icon/gator/templates/flags/flag-md-moldova.js";import"../icon/gator/templates/flags/flag-me-montenegro.js";import"../icon/gator/templates/flags/flag-mf-saint-martin.js";import"../icon/gator/templates/flags/flag-mg-madagascar.js";import"../icon/gator/templates/flags/flag-mh-marshall-islands.js";import"../icon/gator/templates/flags/flag-mk-north-macedonia.js";import"../icon/gator/templates/flags/flag-ml-mali.js";import"../icon/gator/templates/flags/flag-mm-myanmar.js";import"../icon/gator/templates/flags/flag-mn-mongolia.js";import"../icon/gator/templates/flags/flag-mo-macao.js";import"../icon/gator/templates/flags/flag-mp-northern-mariana-islands.js";import"../icon/gator/templates/flags/flag-mq-martinique-2.js";import"../icon/gator/templates/flags/flag-mq-martinique.js";import"../icon/gator/templates/flags/flag-mr-mauritania.js";import"../icon/gator/templates/flags/flag-ms-montserrat.js";import"../icon/gator/templates/flags/flag-mt-malta.js";import"../icon/gator/templates/flags/flag-mu-mauritius.js";import"../icon/gator/templates/flags/flag-mv-maldives.js";import"../icon/gator/templates/flags/flag-mw-malawi.js";import"../icon/gator/templates/flags/flag-mx-mexico.js";import"../icon/gator/templates/flags/flag-my-malaysia.js";import"../icon/gator/templates/flags/flag-mz-mozambique.js";import"../icon/gator/templates/flags/flag-na-namibia.js";import"../icon/gator/templates/flags/flag-nc-new-caledonia.js";import"../icon/gator/templates/flags/flag-ne-niger.js";import"../icon/gator/templates/flags/flag-nf-norfolk-island.js";import"../icon/gator/templates/flags/flag-ng-nigeria.js";import"../icon/gator/templates/flags/flag-ni-nicaragua.js";import"../icon/gator/templates/flags/flag-nl-netherlands.js";import"../icon/gator/templates/flags/flag-no-norway.js";import"../icon/gator/templates/flags/flag-np-nepal.js";import"../icon/gator/templates/flags/flag-nr-nauru.js";import"../icon/gator/templates/flags/flag-nu-niue.js";import"../icon/gator/templates/flags/flag-nz-new-zealand-aotearoa.js";import"../icon/gator/templates/flags/flag-om-oman.js";import"../icon/gator/templates/flags/flag-pa-panama.js";import"../icon/gator/templates/flags/flag-pe-peru.js";import"../icon/gator/templates/flags/flag-pf-french-polynesia.js";import"../icon/gator/templates/flags/flag-pg-papua-new-guinea.js";import"../icon/gator/templates/flags/flag-ph-philippines.js";import"../icon/gator/templates/flags/flag-pk-pakistan.js";import"../icon/gator/templates/flags/flag-pl-poland.js";import"../icon/gator/templates/flags/flag-pm-saint-pierre-and-miquelon.js";import"../icon/gator/templates/flags/flag-pm-st-pierre-and-miquelon.js";import"../icon/gator/templates/flags/flag-pn-pitcairn-islands.js";import"../icon/gator/templates/flags/flag-pr-puerto-rico.js";import"../icon/gator/templates/flags/flag-ps-palestinian-territory.js";import"../icon/gator/templates/flags/flag-pt-portugal.js";import"../icon/gator/templates/flags/flag-pw-palau.js";import"../icon/gator/templates/flags/flag-py-paraguay.js";import"../icon/gator/templates/flags/flag-qa-qatar.js";import"../icon/gator/templates/flags/flag-re-reunion.js";import"../icon/gator/templates/flags/flag-ro-romania.js";import"../icon/gator/templates/flags/flag-rs-srbia.js";import"../icon/gator/templates/flags/flag-ru-russian-federation.js";import"../icon/gator/templates/flags/flag-rw-rwanda.js";import"../icon/gator/templates/flags/flag-sa-sudi-arabia.js";import"../icon/gator/templates/flags/flag-sb-slomon-islands.js";import"../icon/gator/templates/flags/flag-sc-sychelles.js";import"../icon/gator/templates/flags/flag-sd-sdan.js";import"../icon/gator/templates/flags/flag-se-seden.js";import"../icon/gator/templates/flags/flag-sg-sngapore.js";import"../icon/gator/templates/flags/flag-sh-sint-helena.js";import"../icon/gator/templates/flags/flag-si-sovenia.js";import"../icon/gator/templates/flags/flag-sj-salbard-and-jan-mayen.js";import"../icon/gator/templates/flags/flag-sk-sovakia.js";import"../icon/gator/templates/flags/flag-sl-serra-leone.js";import"../icon/gator/templates/flags/flag-sm-sn-marino.js";import"../icon/gator/templates/flags/flag-sn-snegal.js";import"../icon/gator/templates/flags/flag-so-smalia.js";import"../icon/gator/templates/flags/flag-sr-sriname.js";import"../icon/gator/templates/flags/flag-ss-south-sudan.js";import"../icon/gator/templates/flags/flag-st-so-tome-and-principe.js";import"../icon/gator/templates/flags/flag-sv-el-slvador.js";import"../icon/gator/templates/flags/flag-sx-snt-maarten.js";import"../icon/gator/templates/flags/flag-sy-sria.js";import"../icon/gator/templates/flags/flag-sz-saziland.js";import"../icon/gator/templates/flags/flag-tc-turks-and-caicos-islands.js";import"../icon/gator/templates/flags/flag-td-chad.js";import"../icon/gator/templates/flags/flag-tf-french-southern-and-antarctic-lands.js";import"../icon/gator/templates/flags/flag-tg-togo.js";import"../icon/gator/templates/flags/flag-th-thailand.js";import"../icon/gator/templates/flags/flag-tj-tajikistan.js";import"../icon/gator/templates/flags/flag-tk-tokelau.js";import"../icon/gator/templates/flags/flag-tl-timor-leste.js";import"../icon/gator/templates/flags/flag-tm-turkmenistan.js";import"../icon/gator/templates/flags/flag-tn-tunisia.js";import"../icon/gator/templates/flags/flag-to-tonga.js";import"../icon/gator/templates/flags/flag-tr-turkey.js";import"../icon/gator/templates/flags/flag-tt-trinidad-and-tobago.js";import"../icon/gator/templates/flags/flag-tv-tuvalu.js";import"../icon/gator/templates/flags/flag-tw-taiwan.js";import"../icon/gator/templates/flags/flag-tz-tanzania.js";import"../icon/gator/templates/flags/flag-ua-ukraine.js";import"../icon/gator/templates/flags/flag-ug-uganda.js";import"../icon/gator/templates/flags/flag-um-united-states-minor-outlying-islands.js";import"../icon/gator/templates/flags/flag-us-united-states.js";import"../icon/gator/templates/flags/flag-uy-uruguay.js";import"../icon/gator/templates/flags/flag-uz-uzbekistan.js";import"../icon/gator/templates/flags/flag-va-vatican-city-state.js";import"../icon/gator/templates/flags/flag-vc-saint-vincent-and-the-grenadines.js";import"../icon/gator/templates/flags/flag-ve-venezuela.js";import"../icon/gator/templates/flags/flag-vg-virgin-islands-british.js";import"../icon/gator/templates/flags/flag-vi-virgin-islands-us.js";import"../icon/gator/templates/flags/flag-vn-vietnam.js";import"../icon/gator/templates/flags/flag-vu-vanuatu.js";import"../icon/gator/templates/flags/flag-wf-wallis-and-futuna.js";import"../icon/gator/templates/flags/flag-ws-smoa.js";import"../icon/gator/templates/flags/flag-ye-yemen.js";import"../icon/gator/templates/flags/flag-yt-unf-mayotte.js";import"../icon/gator/templates/flags/flag-za-south-africa.js";import"../icon/gator/templates/flags/flag-zm-zambia.js";import"../icon/gator/templates/flags/flag-zw-zimbabwe.js";import"../icon/gator/templates/flame.js";import"../icon/gator/templates/flash-off.js";import"../icon/gator/templates/flash-on.js";import"../icon/gator/templates/folder.js";import"../icon/gator/templates/gauge.js";import"../icon/gator/templates/grid-four.js";import"../icon/gator/templates/grid-nine.js";import"../icon/gator/templates/hammer.js";import"../icon/gator/templates/hand-pointing.js";import"../icon/gator/templates/heart.js";import"../icon/gator/templates/home-door.js";import"../icon/gator/templates/home-finance-arrow.js";import"../icon/gator/templates/home-finance.js";import"../icon/gator/templates/home-search.js";import"../icon/gator/templates/house-simple.js";import"../icon/gator/templates/house.js";import"../icon/gator/templates/inbox.js";import"../icon/gator/templates/info.js";import"../icon/gator/templates/instagram-logo.js";import"../icon/gator/templates/interest-rate.js";import"../icon/gator/templates/invoice.js";import"../icon/gator/templates/kanban.js";import"../icon/gator/templates/label.js";import"../icon/gator/templates/laptop.js";import"../icon/gator/templates/layout.js";import"../icon/gator/templates/lightbulb-filament.js";import"../icon/gator/templates/lightbulb.js";import"../icon/gator/templates/link.js";import"../icon/gator/templates/linkedin-logo.js";import"../icon/gator/templates/list-star.js";import"../icon/gator/templates/list.js";import"../icon/gator/templates/loading-spinner-gif.js";import"../icon/gator/templates/loading.js";import"../icon/gator/templates/lock.js";import"../icon/gator/templates/magic-wand.js";import"../icon/gator/templates/mail-open.js";import"../icon/gator/templates/mail.js";import"../icon/gator/templates/mailbox.js";import"../icon/gator/templates/map.js";import"../icon/gator/templates/menu-hamburger.js";import"../icon/gator/templates/microsoft-excel-logo.js";import"../icon/gator/templates/microsoft-outlook-logo.js";import"../icon/gator/templates/microsoft-powerpoint-logo.js";import"../icon/gator/templates/microsoft-teams-logo.js";import"../icon/gator/templates/microsoft-word-logo.js";import"../icon/gator/templates/minus-circle.js";import"../icon/gator/templates/minus-square.js";import"../icon/gator/templates/minus.js";import"../icon/gator/templates/mobile-phone-2.js";import"../icon/gator/templates/monitor.js";import"../icon/gator/templates/move-doc.js";import"../icon/gator/templates/move.js";import"../icon/gator/templates/music.js";import"../icon/gator/templates/number-1.js";import"../icon/gator/templates/number-2.js";import"../icon/gator/templates/number-3.js";import"../icon/gator/templates/overflow-menu.js";import"../icon/gator/templates/paper-airplane.js";import"../icon/gator/templates/paperclip.js";import"../icon/gator/templates/payments/payment-amazon-pay.js";import"../icon/gator/templates/payments/payment-amex.js";import"../icon/gator/templates/payments/payment-apple-pay.js";import"../icon/gator/templates/payments/payment-discover.js";import"../icon/gator/templates/payments/payment-google-pay.js";import"../icon/gator/templates/payments/payment-mastercard.js";import"../icon/gator/templates/payments/payment-visa.js";import"../icon/gator/templates/pen.js";import"../icon/gator/templates/pencil-paper.js";import"../icon/gator/templates/pencil.js";import"../icon/gator/templates/people-multiple.js";import"../icon/gator/templates/people-share.js";import"../icon/gator/templates/percent.js";import"../icon/gator/templates/person-add.js";import"../icon/gator/templates/person-check.js";import"../icon/gator/templates/person-lock.js";import"../icon/gator/templates/person.js";import"../icon/gator/templates/phone-alert.js";import"../icon/gator/templates/phone-mobile.js";import"../icon/gator/templates/phone.js";import"../icon/gator/templates/picture.js";import"../icon/gator/templates/pin.js";import"../icon/gator/templates/pinterest-logo.js";import"../icon/gator/templates/plus-circle.js";import"../icon/gator/templates/plus.js";import"../icon/gator/templates/printer.js";import"../icon/gator/templates/question-chat-bubble.js";import"../icon/gator/templates/question-circle.js";import"../icon/gator/templates/question-mark.js";import"../icon/gator/templates/radio-selected.js";import"../icon/gator/templates/radio.js";import"../icon/gator/templates/receipt.js";import"../icon/gator/templates/restricted.js";import"../icon/gator/templates/sandals.js";import"../icon/gator/templates/save.js";import"../icon/gator/templates/screen.js";import"../icon/gator/templates/search.js";import"../icon/gator/templates/selection.js";import"../icon/gator/templates/settings.js";import"../icon/gator/templates/share-1.js";import"../icon/gator/templates/share-2.js";import"../icon/gator/templates/shield-lock.js";import"../icon/gator/templates/shield-warning.js";import"../icon/gator/templates/sidebar-simple.js";import"../icon/gator/templates/sidebar.js";import"../icon/gator/templates/smart-home.js";import"../icon/gator/templates/sort-arrow-solid-down.js";import"../icon/gator/templates/sort-arrow-solid-left.js";import"../icon/gator/templates/sort-arrow-solid-right.js";import"../icon/gator/templates/sort-arrow-solid-up-down.js";import"../icon/gator/templates/sort-arrow-solid-up.js";import"../icon/gator/templates/sort-reverse-variant.js";import"../icon/gator/templates/sort-variant.js";import"../icon/gator/templates/sparkle-filled.js";import"../icon/gator/templates/sparkle.js";import"../icon/gator/templates/speech-bubble.js";import"../icon/gator/templates/square-split-horizontal.js";import"../icon/gator/templates/square-split-vertical.js";import"../icon/gator/templates/square.js";import"../icon/gator/templates/stack.js";import"../icon/gator/templates/stamp.js";import"../icon/gator/templates/star-four-filled.js";import"../icon/gator/templates/star-four.js";import"../icon/gator/templates/star.js";import"../icon/gator/templates/stopwatch.js";import"../icon/gator/templates/sun.js";import"../icon/gator/templates/sync.js";import"../icon/gator/templates/tab-arrows.js";import"../icon/gator/templates/table.js";import"../icon/gator/templates/target.js";import"../icon/gator/templates/text-aa.js";import"../icon/gator/templates/thumbs-down.js";import"../icon/gator/templates/thumbs-up.js";import"../icon/gator/templates/tools.js";import"../icon/gator/templates/touch-id.js";import"../icon/gator/templates/trash.js";import"../icon/gator/templates/trend-up.js";import"../icon/gator/templates/twitter-logo.js";import"../icon/gator/templates/unlink.js";import"../icon/gator/templates/unlock.js";import"../icon/gator/templates/upload.js";import"../icon/gator/templates/video.js";import"../icon/gator/templates/waffle.js";import"../icon/gator/templates/warning-circle.js";import"../icon/gator/templates/warning-diamond.js";import"../icon/gator/templates/warning-octagon.js";import"../icon/gator/templates/warning.js";import"../icon/gator/templates/wet-sign.js";import"../icon/gator/templates/wifi-off.js";import"../icon/gator/templates/wifi.js";import"../icon/gator/templates/x-logo.js";import"../icon/gator/templates/yelp-logo.js";import"../icon/gator/templates/youtube-logo.js";import"../icon/gator/templates/zillow-logo.js";import{TestableLitElement as v}from"../../utils/components/testable-lit-element/testable-lit-element.js";import"../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/reactive-element.js";import{html as y}from"../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/lit-html.js";import{LitElement as x}from"../../node_modules/.pnpm/lit-element@4.2.0/node_modules/lit-element/lit-element.js";import{createRef as g,ref as R}from"../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/directives/ref.js";import{unsafeCSS as n}from"../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/css-tag.js";var E=Object.defineProperty,k=Object.getOwnPropertyDescriptor,r=(t,m,s,e)=>{for(var o=e>1?void 0:e?k(m,s):m,a=t.length-1,l;a>=0;a--)(l=t[a])&&(o=(e?l(m,s,o):l(o))||o);return e&&o&&E(m,s,o),o};let i=class extends v{constructor(){super(...arguments),this.id="",this.titleText="",this.value="",this.selected=!1,this.indeterminate=!1,this.disabled=!1,this.hasError=!1,this._randomId=d(),this.inputRef=g()}updated(t){super.updated(t),t.has("indeterminate")&&this.inputRef.value&&(this.inputRef.value.indeterminate=this.indeterminate),t.has("hasError")&&this.inputRef.value&&this.inputRef.value.setCustomValidity(this.hasError?"true":"")}render(){const t=this.elementId;return y`
|
|
1
|
+
import{customElement as d}from"../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/custom-element.js";import{property as o}from"../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/property.js";import{generateRandomId as c,getElementId as u}from"../../utils/string-utils.js";import f from"../../packages/web-components/src/tokens/primitive.tokens.scss.js";import b from"../../packages/web-components/src/tokens/semantic.tokens.scss.js";import v from"../../packages/web-components/src/components/checkbox/checkbox.gator.scss.js";import"../icon/gator/icon.gator.js";import"../icon/gator/templates/add-link.js";import"../icon/gator/templates/airplane.js";import"../icon/gator/templates/alarm.js";import"../icon/gator/templates/apartment.js";import"../icon/gator/templates/arrow-around.js";import"../icon/gator/templates/arrow-down.js";import"../icon/gator/templates/arrow-left.js";import"../icon/gator/templates/arrow-line-left.js";import"../icon/gator/templates/arrow-line-right.js";import"../icon/gator/templates/arrow-right.js";import"../icon/gator/templates/arrow-up.js";import"../icon/gator/templates/bank.js";import"../icon/gator/templates/bell-disabled.js";import"../icon/gator/templates/bell.js";import"../icon/gator/templates/binoculars.js";import"../icon/gator/templates/book.js";import"../icon/gator/templates/box.js";import"../icon/gator/templates/cake.js";import"../icon/gator/templates/calculator.js";import"../icon/gator/templates/calendar.js";import"../icon/gator/templates/camera.js";import"../icon/gator/templates/caret-up-down.js";import"../icon/gator/templates/case.js";import"../icon/gator/templates/chart-bar-horizontal.js";import"../icon/gator/templates/chart-bar.js";import"../icon/gator/templates/chart-donut.js";import"../icon/gator/templates/chart-line.js";import"../icon/gator/templates/chart-pie.js";import"../icon/gator/templates/chart-rise.js";import"../icon/gator/templates/chart-scatter.js";import"../icon/gator/templates/chat.js";import"../icon/gator/templates/check-circle.js";import"../icon/gator/templates/check.js";import"../icon/gator/templates/checkbox-selected.js";import"../icon/gator/templates/checkbox.js";import"../icon/gator/templates/checkerboard.js";import"../icon/gator/templates/chevron-down.js";import"../icon/gator/templates/chevron-left.js";import"../icon/gator/templates/chevron-right.js";import"../icon/gator/templates/chevron-up.js";import"../icon/gator/templates/circle-arrow-down.js";import"../icon/gator/templates/circle-arrow-left.js";import"../icon/gator/templates/circle-arrow-right.js";import"../icon/gator/templates/circle-arrow-up.js";import"../icon/gator/templates/circle-dashed.js";import"../icon/gator/templates/circle-filled.js";import"../icon/gator/templates/circle.js";import"../icon/gator/templates/city.js";import"../icon/gator/templates/clipboard.js";import"../icon/gator/templates/clock-clockwise.js";import"../icon/gator/templates/clock-counter-clockwise.js";import"../icon/gator/templates/clock.js";import"../icon/gator/templates/collapse.js";import"../icon/gator/templates/cone.js";import"../icon/gator/templates/contact-info.js";import"../icon/gator/templates/copy.js";import"../icon/gator/templates/credit-card.js";import"../icon/gator/templates/crop.js";import"../icon/gator/templates/crosshairs.js";import"../icon/gator/templates/currency-dollar-simple.js";import"../icon/gator/templates/currency-eur.js";import"../icon/gator/templates/currency-gbp.js";import"../icon/gator/templates/currency-inr.js";import"../icon/gator/templates/currency-jpy.js";import"../icon/gator/templates/currency-krw.js";import"../icon/gator/templates/currency-kzt.js";import"../icon/gator/templates/currency-ngn.js";import"../icon/gator/templates/currency-rub.js";import"../icon/gator/templates/cursor-arrow.js";import"../icon/gator/templates/cursor-hand.js";import"../icon/gator/templates/cursor.js";import"../icon/gator/templates/dashboard.js";import"../icon/gator/templates/delete.js";import"../icon/gator/templates/dna.js";import"../icon/gator/templates/document-add.js";import"../icon/gator/templates/document-check.js";import"../icon/gator/templates/document-e-sign.js";import"../icon/gator/templates/document-image.js";import"../icon/gator/templates/document-pdf.js";import"../icon/gator/templates/document-sign.js";import"../icon/gator/templates/document-zip.js";import"../icon/gator/templates/document.js";import"../icon/gator/templates/dollar-bills.js";import"../icon/gator/templates/dollar-house.js";import"../icon/gator/templates/down-payment.js";import"../icon/gator/templates/download.js";import"../icon/gator/templates/drag-drop.js";import"../icon/gator/templates/earth.js";import"../icon/gator/templates/exclude-square.js";import"../icon/gator/templates/exit-circle.js";import"../icon/gator/templates/exit-left.js";import"../icon/gator/templates/exit.js";import"../icon/gator/templates/expand-arrows.js";import"../icon/gator/templates/expand.js";import"../icon/gator/templates/export.js";import"../icon/gator/templates/eye-closed.js";import"../icon/gator/templates/eye-crossed.js";import"../icon/gator/templates/eye.js";import"../icon/gator/templates/facebook-logo.js";import"../icon/gator/templates/file-code.js";import"../icon/gator/templates/files.js";import"../icon/gator/templates/filter-funnel.js";import"../icon/gator/templates/filters-2.js";import"../icon/gator/templates/filters.js";import"../icon/gator/templates/flags/flag-ad-andorra.js";import"../icon/gator/templates/flags/flag-ae-united-arab-emirates.js";import"../icon/gator/templates/flags/flag-af-afghanistan.js";import"../icon/gator/templates/flags/flag-ag-antigua-and-barbuda.js";import"../icon/gator/templates/flags/flag-ai-anguilla.js";import"../icon/gator/templates/flags/flag-al-albania.js";import"../icon/gator/templates/flags/flag-am-armenia.js";import"../icon/gator/templates/flags/flag-ao-angola.js";import"../icon/gator/templates/flags/flag-aq-antarctica.js";import"../icon/gator/templates/flags/flag-ar-argentina.js";import"../icon/gator/templates/flags/flag-as-american-smoa.js";import"../icon/gator/templates/flags/flag-at-austria.js";import"../icon/gator/templates/flags/flag-au-australia.js";import"../icon/gator/templates/flags/flag-aw-aruba.js";import"../icon/gator/templates/flags/flag-ax-aland-islands.js";import"../icon/gator/templates/flags/flag-az-azerbaijan.js";import"../icon/gator/templates/flags/flag-ba-bosnia-and-herzegovina.js";import"../icon/gator/templates/flags/flag-bb-barbados.js";import"../icon/gator/templates/flags/flag-bd-bangladesh.js";import"../icon/gator/templates/flags/flag-be-belgium.js";import"../icon/gator/templates/flags/flag-bf-burkina-faso.js";import"../icon/gator/templates/flags/flag-bg-bulgaria.js";import"../icon/gator/templates/flags/flag-bh-bahrain.js";import"../icon/gator/templates/flags/flag-bi-burundi.js";import"../icon/gator/templates/flags/flag-bj-benin.js";import"../icon/gator/templates/flags/flag-bl-saint-barthelemy.js";import"../icon/gator/templates/flags/flag-bm-bermuda.js";import"../icon/gator/templates/flags/flag-bn-brunei-darussalam.js";import"../icon/gator/templates/flags/flag-bo-bolivia.js";import"../icon/gator/templates/flags/flag-bq-bo-bonaire.js";import"../icon/gator/templates/flags/flag-bq-sa-sba.js";import"../icon/gator/templates/flags/flag-bq-se-snt-eustatius.js";import"../icon/gator/templates/flags/flag-br-brazil.js";import"../icon/gator/templates/flags/flag-bs-bahamas.js";import"../icon/gator/templates/flags/flag-bt-bhutan.js";import"../icon/gator/templates/flags/flag-bv-bouvet-island.js";import"../icon/gator/templates/flags/flag-bw-botswana.js";import"../icon/gator/templates/flags/flag-by-belarus.js";import"../icon/gator/templates/flags/flag-bz-belize.js";import"../icon/gator/templates/flags/flag-ca-canada.js";import"../icon/gator/templates/flags/flag-cc-cocos-keeling-islands.js";import"../icon/gator/templates/flags/flag-cd-democratic-republic-of-the-congo.js";import"../icon/gator/templates/flags/flag-cf-central-african-republic.js";import"../icon/gator/templates/flags/flag-cg-republic-of-the-congo.js";import"../icon/gator/templates/flags/flag-ch-switzerland.js";import"../icon/gator/templates/flags/flag-ci-côte-divoire-ivory-coast.js";import"../icon/gator/templates/flags/flag-ck-cook-islands.js";import"../icon/gator/templates/flags/flag-cl-chile.js";import"../icon/gator/templates/flags/flag-cm-cameroon.js";import"../icon/gator/templates/flags/flag-cn-china.js";import"../icon/gator/templates/flags/flag-co-colombia.js";import"../icon/gator/templates/flags/flag-cr-costa-rica.js";import"../icon/gator/templates/flags/flag-cu-cuba.js";import"../icon/gator/templates/flags/flag-cv-cabo-verde.js";import"../icon/gator/templates/flags/flag-cw-curaçao.js";import"../icon/gator/templates/flags/flag-cx-christmas-island.js";import"../icon/gator/templates/flags/flag-cy-cyprus.js";import"../icon/gator/templates/flags/flag-cz-czech-republic.js";import"../icon/gator/templates/flags/flag-de-germany.js";import"../icon/gator/templates/flags/flag-dj-djibouti.js";import"../icon/gator/templates/flags/flag-dk-denmark.js";import"../icon/gator/templates/flags/flag-dm-dominica.js";import"../icon/gator/templates/flags/flag-do-dominican-republic.js";import"../icon/gator/templates/flags/flag-dz-algeria.js";import"../icon/gator/templates/flags/flag-ec-ecuador.js";import"../icon/gator/templates/flags/flag-ee-estonia.js";import"../icon/gator/templates/flags/flag-eg-egypt.js";import"../icon/gator/templates/flags/flag-eh-western-sahara.js";import"../icon/gator/templates/flags/flag-er-eritrea.js";import"../icon/gator/templates/flags/flag-es-sain.js";import"../icon/gator/templates/flags/flag-et-ethiopia.js";import"../icon/gator/templates/flags/flag-fi-finland.js";import"../icon/gator/templates/flags/flag-fj-fiji.js";import"../icon/gator/templates/flags/flag-fk-falkland-islands.js";import"../icon/gator/templates/flags/flag-fm-federated-states-of-micronesia.js";import"../icon/gator/templates/flags/flag-fo-faroe-islands.js";import"../icon/gator/templates/flags/flag-fr-france.js";import"../icon/gator/templates/flags/flag-ga-gabon.js";import"../icon/gator/templates/flags/flag-gb-eng-england.js";import"../icon/gator/templates/flags/flag-gb-nir-northern-ireland.js";import"../icon/gator/templates/flags/flag-gb-sct-sotland.js";import"../icon/gator/templates/flags/flag-gb-ukm-united-kingdom.js";import"../icon/gator/templates/flags/flag-gb-wls-wales.js";import"../icon/gator/templates/flags/flag-gd-grenada.js";import"../icon/gator/templates/flags/flag-ge-georgia.js";import"../icon/gator/templates/flags/flag-gf-french-guiana.js";import"../icon/gator/templates/flags/flag-gg-guernsey.js";import"../icon/gator/templates/flags/flag-gh-ghana.js";import"../icon/gator/templates/flags/flag-gi-gibraltar.js";import"../icon/gator/templates/flags/flag-gl-greenland.js";import"../icon/gator/templates/flags/flag-gm-gambia.js";import"../icon/gator/templates/flags/flag-gn-guinea.js";import"../icon/gator/templates/flags/flag-gp-guadeloupe-2.js";import"../icon/gator/templates/flags/flag-gp-guadeloupe.js";import"../icon/gator/templates/flags/flag-gq-equatorial-guinea.js";import"../icon/gator/templates/flags/flag-gr-greece.js";import"../icon/gator/templates/flags/flag-gs-s-georgia-and-s-sandwich-islands.js";import"../icon/gator/templates/flags/flag-gt-guatemala.js";import"../icon/gator/templates/flags/flag-gu-guam.js";import"../icon/gator/templates/flags/flag-gw-guinea-bissau.js";import"../icon/gator/templates/flags/flag-gy-guyana.js";import"../icon/gator/templates/flags/flag-hk-hong-kong.js";import"../icon/gator/templates/flags/flag-hm-heard-and-mcdonald-islands.js";import"../icon/gator/templates/flags/flag-hn-honduras.js";import"../icon/gator/templates/flags/flag-hr-croatia-hrvatska.js";import"../icon/gator/templates/flags/flag-ht-haiti.js";import"../icon/gator/templates/flags/flag-hu-hungary.js";import"../icon/gator/templates/flags/flag-id-indonesia.js";import"../icon/gator/templates/flags/flag-ie-ireland.js";import"../icon/gator/templates/flags/flag-il-isreal.js";import"../icon/gator/templates/flags/flag-im-isle-of-man.js";import"../icon/gator/templates/flags/flag-in-india.js";import"../icon/gator/templates/flags/flag-io-british-indian-ocean-territory.js";import"../icon/gator/templates/flags/flag-iq-iraq.js";import"../icon/gator/templates/flags/flag-ir-iran.js";import"../icon/gator/templates/flags/flag-is-iceland.js";import"../icon/gator/templates/flags/flag-it-italy.js";import"../icon/gator/templates/flags/flag-je-jersey.js";import"../icon/gator/templates/flags/flag-jm-jamaica.js";import"../icon/gator/templates/flags/flag-jo-jordan.js";import"../icon/gator/templates/flags/flag-jp-japan.js";import"../icon/gator/templates/flags/flag-ke-kenia.js";import"../icon/gator/templates/flags/flag-kg-kyrgyzstan.js";import"../icon/gator/templates/flags/flag-kh-cambodia.js";import"../icon/gator/templates/flags/flag-ki--kiribati.js";import"../icon/gator/templates/flags/flag-km-comoros.js";import"../icon/gator/templates/flags/flag-kn-saint-kitts-and-nevis.js";import"../icon/gator/templates/flags/flag-kp-korea-north.js";import"../icon/gator/templates/flags/flag-kr-korea-south.js";import"../icon/gator/templates/flags/flag-kw-kuwait.js";import"../icon/gator/templates/flags/flag-ky-cayman-islands.js";import"../icon/gator/templates/flags/flag-kz-kazakhstan.js";import"../icon/gator/templates/flags/flag-la-laos.js";import"../icon/gator/templates/flags/flag-lb-lebanon.js";import"../icon/gator/templates/flags/flag-lc-saint-lucia.js";import"../icon/gator/templates/flags/flag-li-liechtenstein.js";import"../icon/gator/templates/flags/flag-lk-sri-lanka.js";import"../icon/gator/templates/flags/flag-lr-liberia.js";import"../icon/gator/templates/flags/flag-ls-lesotho.js";import"../icon/gator/templates/flags/flag-lt-lithuania.js";import"../icon/gator/templates/flags/flag-lu-luxembourg.js";import"../icon/gator/templates/flags/flag-lv-latvia.js";import"../icon/gator/templates/flags/flag-ly-libya.js";import"../icon/gator/templates/flags/flag-ma-morocco.js";import"../icon/gator/templates/flags/flag-mc-monaco.js";import"../icon/gator/templates/flags/flag-md-moldova.js";import"../icon/gator/templates/flags/flag-me-montenegro.js";import"../icon/gator/templates/flags/flag-mf-saint-martin.js";import"../icon/gator/templates/flags/flag-mg-madagascar.js";import"../icon/gator/templates/flags/flag-mh-marshall-islands.js";import"../icon/gator/templates/flags/flag-mk-north-macedonia.js";import"../icon/gator/templates/flags/flag-ml-mali.js";import"../icon/gator/templates/flags/flag-mm-myanmar.js";import"../icon/gator/templates/flags/flag-mn-mongolia.js";import"../icon/gator/templates/flags/flag-mo-macao.js";import"../icon/gator/templates/flags/flag-mp-northern-mariana-islands.js";import"../icon/gator/templates/flags/flag-mq-martinique-2.js";import"../icon/gator/templates/flags/flag-mq-martinique.js";import"../icon/gator/templates/flags/flag-mr-mauritania.js";import"../icon/gator/templates/flags/flag-ms-montserrat.js";import"../icon/gator/templates/flags/flag-mt-malta.js";import"../icon/gator/templates/flags/flag-mu-mauritius.js";import"../icon/gator/templates/flags/flag-mv-maldives.js";import"../icon/gator/templates/flags/flag-mw-malawi.js";import"../icon/gator/templates/flags/flag-mx-mexico.js";import"../icon/gator/templates/flags/flag-my-malaysia.js";import"../icon/gator/templates/flags/flag-mz-mozambique.js";import"../icon/gator/templates/flags/flag-na-namibia.js";import"../icon/gator/templates/flags/flag-nc-new-caledonia.js";import"../icon/gator/templates/flags/flag-ne-niger.js";import"../icon/gator/templates/flags/flag-nf-norfolk-island.js";import"../icon/gator/templates/flags/flag-ng-nigeria.js";import"../icon/gator/templates/flags/flag-ni-nicaragua.js";import"../icon/gator/templates/flags/flag-nl-netherlands.js";import"../icon/gator/templates/flags/flag-no-norway.js";import"../icon/gator/templates/flags/flag-np-nepal.js";import"../icon/gator/templates/flags/flag-nr-nauru.js";import"../icon/gator/templates/flags/flag-nu-niue.js";import"../icon/gator/templates/flags/flag-nz-new-zealand-aotearoa.js";import"../icon/gator/templates/flags/flag-om-oman.js";import"../icon/gator/templates/flags/flag-pa-panama.js";import"../icon/gator/templates/flags/flag-pe-peru.js";import"../icon/gator/templates/flags/flag-pf-french-polynesia.js";import"../icon/gator/templates/flags/flag-pg-papua-new-guinea.js";import"../icon/gator/templates/flags/flag-ph-philippines.js";import"../icon/gator/templates/flags/flag-pk-pakistan.js";import"../icon/gator/templates/flags/flag-pl-poland.js";import"../icon/gator/templates/flags/flag-pm-saint-pierre-and-miquelon.js";import"../icon/gator/templates/flags/flag-pm-st-pierre-and-miquelon.js";import"../icon/gator/templates/flags/flag-pn-pitcairn-islands.js";import"../icon/gator/templates/flags/flag-pr-puerto-rico.js";import"../icon/gator/templates/flags/flag-ps-palestinian-territory.js";import"../icon/gator/templates/flags/flag-pt-portugal.js";import"../icon/gator/templates/flags/flag-pw-palau.js";import"../icon/gator/templates/flags/flag-py-paraguay.js";import"../icon/gator/templates/flags/flag-qa-qatar.js";import"../icon/gator/templates/flags/flag-re-reunion.js";import"../icon/gator/templates/flags/flag-ro-romania.js";import"../icon/gator/templates/flags/flag-rs-srbia.js";import"../icon/gator/templates/flags/flag-ru-russian-federation.js";import"../icon/gator/templates/flags/flag-rw-rwanda.js";import"../icon/gator/templates/flags/flag-sa-sudi-arabia.js";import"../icon/gator/templates/flags/flag-sb-slomon-islands.js";import"../icon/gator/templates/flags/flag-sc-sychelles.js";import"../icon/gator/templates/flags/flag-sd-sdan.js";import"../icon/gator/templates/flags/flag-se-seden.js";import"../icon/gator/templates/flags/flag-sg-sngapore.js";import"../icon/gator/templates/flags/flag-sh-sint-helena.js";import"../icon/gator/templates/flags/flag-si-sovenia.js";import"../icon/gator/templates/flags/flag-sj-salbard-and-jan-mayen.js";import"../icon/gator/templates/flags/flag-sk-sovakia.js";import"../icon/gator/templates/flags/flag-sl-serra-leone.js";import"../icon/gator/templates/flags/flag-sm-sn-marino.js";import"../icon/gator/templates/flags/flag-sn-snegal.js";import"../icon/gator/templates/flags/flag-so-smalia.js";import"../icon/gator/templates/flags/flag-sr-sriname.js";import"../icon/gator/templates/flags/flag-ss-south-sudan.js";import"../icon/gator/templates/flags/flag-st-so-tome-and-principe.js";import"../icon/gator/templates/flags/flag-sv-el-slvador.js";import"../icon/gator/templates/flags/flag-sx-snt-maarten.js";import"../icon/gator/templates/flags/flag-sy-sria.js";import"../icon/gator/templates/flags/flag-sz-saziland.js";import"../icon/gator/templates/flags/flag-tc-turks-and-caicos-islands.js";import"../icon/gator/templates/flags/flag-td-chad.js";import"../icon/gator/templates/flags/flag-tf-french-southern-and-antarctic-lands.js";import"../icon/gator/templates/flags/flag-tg-togo.js";import"../icon/gator/templates/flags/flag-th-thailand.js";import"../icon/gator/templates/flags/flag-tj-tajikistan.js";import"../icon/gator/templates/flags/flag-tk-tokelau.js";import"../icon/gator/templates/flags/flag-tl-timor-leste.js";import"../icon/gator/templates/flags/flag-tm-turkmenistan.js";import"../icon/gator/templates/flags/flag-tn-tunisia.js";import"../icon/gator/templates/flags/flag-to-tonga.js";import"../icon/gator/templates/flags/flag-tr-turkey.js";import"../icon/gator/templates/flags/flag-tt-trinidad-and-tobago.js";import"../icon/gator/templates/flags/flag-tv-tuvalu.js";import"../icon/gator/templates/flags/flag-tw-taiwan.js";import"../icon/gator/templates/flags/flag-tz-tanzania.js";import"../icon/gator/templates/flags/flag-ua-ukraine.js";import"../icon/gator/templates/flags/flag-ug-uganda.js";import"../icon/gator/templates/flags/flag-um-united-states-minor-outlying-islands.js";import"../icon/gator/templates/flags/flag-us-united-states.js";import"../icon/gator/templates/flags/flag-uy-uruguay.js";import"../icon/gator/templates/flags/flag-uz-uzbekistan.js";import"../icon/gator/templates/flags/flag-va-vatican-city-state.js";import"../icon/gator/templates/flags/flag-vc-saint-vincent-and-the-grenadines.js";import"../icon/gator/templates/flags/flag-ve-venezuela.js";import"../icon/gator/templates/flags/flag-vg-virgin-islands-british.js";import"../icon/gator/templates/flags/flag-vi-virgin-islands-us.js";import"../icon/gator/templates/flags/flag-vn-vietnam.js";import"../icon/gator/templates/flags/flag-vu-vanuatu.js";import"../icon/gator/templates/flags/flag-wf-wallis-and-futuna.js";import"../icon/gator/templates/flags/flag-ws-smoa.js";import"../icon/gator/templates/flags/flag-ye-yemen.js";import"../icon/gator/templates/flags/flag-yt-unf-mayotte.js";import"../icon/gator/templates/flags/flag-za-south-africa.js";import"../icon/gator/templates/flags/flag-zm-zambia.js";import"../icon/gator/templates/flags/flag-zw-zimbabwe.js";import"../icon/gator/templates/flame.js";import"../icon/gator/templates/flash-off.js";import"../icon/gator/templates/flash-on.js";import"../icon/gator/templates/folder.js";import"../icon/gator/templates/gauge.js";import"../icon/gator/templates/grid-four.js";import"../icon/gator/templates/grid-nine.js";import"../icon/gator/templates/hammer.js";import"../icon/gator/templates/hand-pointing.js";import"../icon/gator/templates/heart.js";import"../icon/gator/templates/home-door.js";import"../icon/gator/templates/home-finance-arrow.js";import"../icon/gator/templates/home-finance.js";import"../icon/gator/templates/home-search.js";import"../icon/gator/templates/house-simple.js";import"../icon/gator/templates/house.js";import"../icon/gator/templates/inbox.js";import"../icon/gator/templates/info.js";import"../icon/gator/templates/instagram-logo.js";import"../icon/gator/templates/interest-rate.js";import"../icon/gator/templates/invoice.js";import"../icon/gator/templates/kanban.js";import"../icon/gator/templates/label.js";import"../icon/gator/templates/laptop.js";import"../icon/gator/templates/layout.js";import"../icon/gator/templates/lightbulb-filament.js";import"../icon/gator/templates/lightbulb.js";import"../icon/gator/templates/link.js";import"../icon/gator/templates/linkedin-logo.js";import"../icon/gator/templates/list-star.js";import"../icon/gator/templates/list.js";import"../icon/gator/templates/loading-spinner-gif.js";import"../icon/gator/templates/loading.js";import"../icon/gator/templates/lock.js";import"../icon/gator/templates/magic-wand.js";import"../icon/gator/templates/mail-open.js";import"../icon/gator/templates/mail.js";import"../icon/gator/templates/mailbox.js";import"../icon/gator/templates/map.js";import"../icon/gator/templates/menu-hamburger.js";import"../icon/gator/templates/microsoft-excel-logo.js";import"../icon/gator/templates/microsoft-outlook-logo.js";import"../icon/gator/templates/microsoft-powerpoint-logo.js";import"../icon/gator/templates/microsoft-teams-logo.js";import"../icon/gator/templates/microsoft-word-logo.js";import"../icon/gator/templates/minus-circle.js";import"../icon/gator/templates/minus-square.js";import"../icon/gator/templates/minus.js";import"../icon/gator/templates/mobile-phone-2.js";import"../icon/gator/templates/monitor.js";import"../icon/gator/templates/move-doc.js";import"../icon/gator/templates/move.js";import"../icon/gator/templates/music.js";import"../icon/gator/templates/number-1.js";import"../icon/gator/templates/number-2.js";import"../icon/gator/templates/number-3.js";import"../icon/gator/templates/overflow-menu.js";import"../icon/gator/templates/paper-airplane.js";import"../icon/gator/templates/paperclip.js";import"../icon/gator/templates/payments/payment-amazon-pay.js";import"../icon/gator/templates/payments/payment-amex.js";import"../icon/gator/templates/payments/payment-apple-pay.js";import"../icon/gator/templates/payments/payment-discover.js";import"../icon/gator/templates/payments/payment-google-pay.js";import"../icon/gator/templates/payments/payment-mastercard.js";import"../icon/gator/templates/payments/payment-visa.js";import"../icon/gator/templates/pen.js";import"../icon/gator/templates/pencil-paper.js";import"../icon/gator/templates/pencil.js";import"../icon/gator/templates/people-multiple.js";import"../icon/gator/templates/people-share.js";import"../icon/gator/templates/percent.js";import"../icon/gator/templates/person-add.js";import"../icon/gator/templates/person-check.js";import"../icon/gator/templates/person-lock.js";import"../icon/gator/templates/person.js";import"../icon/gator/templates/phone-alert.js";import"../icon/gator/templates/phone-mobile.js";import"../icon/gator/templates/phone.js";import"../icon/gator/templates/picture.js";import"../icon/gator/templates/pin.js";import"../icon/gator/templates/pinterest-logo.js";import"../icon/gator/templates/plus-circle.js";import"../icon/gator/templates/plus.js";import"../icon/gator/templates/printer.js";import"../icon/gator/templates/question-chat-bubble.js";import"../icon/gator/templates/question-circle.js";import"../icon/gator/templates/question-mark.js";import"../icon/gator/templates/radio-selected.js";import"../icon/gator/templates/radio.js";import"../icon/gator/templates/receipt.js";import"../icon/gator/templates/restricted.js";import"../icon/gator/templates/sandals.js";import"../icon/gator/templates/save.js";import"../icon/gator/templates/screen.js";import"../icon/gator/templates/search.js";import"../icon/gator/templates/selection.js";import"../icon/gator/templates/settings.js";import"../icon/gator/templates/share-1.js";import"../icon/gator/templates/share-2.js";import"../icon/gator/templates/shield-lock.js";import"../icon/gator/templates/shield-warning.js";import"../icon/gator/templates/sidebar-simple.js";import"../icon/gator/templates/sidebar.js";import"../icon/gator/templates/smart-home.js";import"../icon/gator/templates/sort-arrow-solid-down.js";import"../icon/gator/templates/sort-arrow-solid-left.js";import"../icon/gator/templates/sort-arrow-solid-right.js";import"../icon/gator/templates/sort-arrow-solid-up-down.js";import"../icon/gator/templates/sort-arrow-solid-up.js";import"../icon/gator/templates/sort-reverse-variant.js";import"../icon/gator/templates/sort-variant.js";import"../icon/gator/templates/sparkle-filled.js";import"../icon/gator/templates/sparkle.js";import"../icon/gator/templates/speech-bubble.js";import"../icon/gator/templates/square-split-horizontal.js";import"../icon/gator/templates/square-split-vertical.js";import"../icon/gator/templates/square.js";import"../icon/gator/templates/stack.js";import"../icon/gator/templates/stamp.js";import"../icon/gator/templates/star-four-filled.js";import"../icon/gator/templates/star-four.js";import"../icon/gator/templates/star.js";import"../icon/gator/templates/stopwatch.js";import"../icon/gator/templates/sun.js";import"../icon/gator/templates/sync.js";import"../icon/gator/templates/tab-arrows.js";import"../icon/gator/templates/table.js";import"../icon/gator/templates/target.js";import"../icon/gator/templates/text-aa.js";import"../icon/gator/templates/thumbs-down.js";import"../icon/gator/templates/thumbs-up.js";import"../icon/gator/templates/tools.js";import"../icon/gator/templates/touch-id.js";import"../icon/gator/templates/trash.js";import"../icon/gator/templates/trend-up.js";import"../icon/gator/templates/twitter-logo.js";import"../icon/gator/templates/unlink.js";import"../icon/gator/templates/unlock.js";import"../icon/gator/templates/upload.js";import"../icon/gator/templates/video.js";import"../icon/gator/templates/waffle.js";import"../icon/gator/templates/warning-circle.js";import"../icon/gator/templates/warning-diamond.js";import"../icon/gator/templates/warning-octagon.js";import"../icon/gator/templates/warning.js";import"../icon/gator/templates/wet-sign.js";import"../icon/gator/templates/wifi-off.js";import"../icon/gator/templates/wifi.js";import"../icon/gator/templates/x-logo.js";import"../icon/gator/templates/yelp-logo.js";import"../icon/gator/templates/youtube-logo.js";import"../icon/gator/templates/zillow-logo.js";import{TestableLitElement as y}from"../../utils/components/testable-lit-element/testable-lit-element.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 x}from"../../node_modules/.pnpm/lit-element@4.2.0/node_modules/lit-element/lit-element.js";import{createRef as g,ref as R}from"../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/directives/ref.js";import{unsafeCSS as n}from"../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/css-tag.js";var $=Object.defineProperty,E=Object.getOwnPropertyDescriptor,r=(t,m,s,e)=>{for(var p=e>1?void 0:e?E(m,s):m,a=t.length-1,l;a>=0;a--)(l=t[a])&&(p=(e?l(m,s,p):l(p))||p);return e&&p&&$(m,s,p),p};let i=class extends y{constructor(){super(...arguments),this.id="",this.titleText="",this.value="",this.selected=!1,this.indeterminate=!1,this.hideLabel=!1,this.disabled=!1,this.hasError=!1,this._randomId=c(),this.inputRef=g()}updated(t){super.updated(t),t.has("indeterminate")&&this.inputRef.value&&(this.inputRef.value.indeterminate=this.indeterminate),t.has("hasError")&&this.inputRef.value&&this.inputRef.value.setCustomValidity(this.hasError?"true":"")}render(){const t=this.elementId;return h`
|
|
2
2
|
<div id="${t}-checkbox" class="gator-checkbox">
|
|
3
3
|
<div class="gator-checkbox-input-wrapper">
|
|
4
4
|
<input
|
|
@@ -10,11 +10,14 @@ import{customElement as h}from"../../node_modules/.pnpm/@lit_reactive-element@2.
|
|
|
10
10
|
?disabled="${this.disabled}"
|
|
11
11
|
aria-labelledby="${t}-checkbox"
|
|
12
12
|
@change="${this.handleChange}"
|
|
13
|
+
aria-label="${this.titleText}"
|
|
13
14
|
/>
|
|
14
15
|
</div>
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
${this.hideLabel?null:h`
|
|
17
|
+
<label class="gator-checkbox-title">
|
|
18
|
+
${this.titleText}
|
|
19
|
+
<slot></slot>
|
|
20
|
+
</label>
|
|
21
|
+
`}
|
|
19
22
|
</div>
|
|
20
|
-
`}get elementId(){return
|
|
23
|
+
`}get elementId(){return u(this.id,this._randomId)}handleChange(){this.selected=!this.selected,this.dispatchEvent(new CustomEvent("change",{bubbles:!0,detail:{value:this.value,selected:this.selected}}))}click(){var t;(t=this.inputRef.value)==null||t.click()}};i.shadowRootOptions={...x.shadowRootOptions,delegatesFocus:!0,mode:"open"};i.styles=[n(v),n(f),n(b)];r([o({type:String})],i.prototype,"id",2);r([o({type:String,attribute:"title-text"})],i.prototype,"titleText",2);r([o({type:String})],i.prototype,"value",2);r([o({type:Boolean})],i.prototype,"selected",2);r([o({type:Boolean})],i.prototype,"indeterminate",2);r([o({type:Boolean,attribute:"hide-label"})],i.prototype,"hideLabel",2);r([o({type:Boolean})],i.prototype,"disabled",2);r([o({type:Boolean,attribute:"has-error"})],i.prototype,"hasError",2);i=r([d("ngc-checkbox")],i);export{i as NgcCheckbox};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function t(){return[{amount:"392.62",date:"2012-02-01T23:00:00.000Z",business:"Mohr Group",name:"Auto Loan Account 8145",type:"withdrawal",account:"99082877",selected:!0},{amount:"393.59",date:"2012-02-01T23:00:00.000Z",business:"Goodwin - Johnson",name:"Personal Loan Account 0538",type:"deposit",account:"12225144"},{amount:"964.47",date:"2012-02-01T23:00:00.000Z",business:"Nienow - Strosin",name:"Savings Account 8691",type:"payment",account:"98822518"},{amount:"51.38",date:"2012-02-01T23:00:00.000Z",business:"Rosenbaum Inc",name:"Money Market Account 4536",type:"deposit",account:"26946392",selected:!0},{amount:"691.89",date:"2012-02-01T23:00:00.000Z",business:"Yundt Group",name:"Personal Loan Account 0201",type:"deposit",account:"02532136"},{amount:"675.05",date:"2012-02-01T23:00:00.000Z",business:"Mertz - Krajcik",name:"Personal Loan Account 3150",type:"withdrawal",account:"56962516"},{amount:"304.58",date:"2012-02-01T23:00:00.000Z",business:"Doyle - Baumbach",name:"Money Market Account 9760",type:"withdrawal",account:"77263343"},{amount:"415.99",date:"2012-02-01T23:00:00.000Z",business:"King - Mitchell",name:"Credit Card Account 2820",type:"withdrawal",account:"26728093"},{amount:"538.01",date:"2012-02-01T23:00:00.000Z",business:"Gibson, Marks and Borer",name:"Checking Account 4107",type:"withdrawal",account:"33480290"},{amount:"395.43",date:"2012-02-01T23:00:00.000Z",business:"Graham Group",name:"Investment Account 8159",type:"payment",account:"10021492"},{amount:"643.06",date:"2012-02-01T23:00:00.000Z",business:"Harris - Zulauf",name:"Auto Loan Account 6205",type:"withdrawal",account:"37757471"},{amount:"100.00",date:"2012-02-01T23:00:00.000Z",business:"Hahn, Krajcik and Krajcik",name:"Credit Card Account 1950",type:"payment",account:"10021492"},{amount:"100.00",date:"2012-02-01T23:00:00.000Z",business:"Hahn, Krajcik and Krajcik",name:"Credit Card Account 1950",type:"payment",account:"10021492"},{amount:"140.00",date:"2014-02-01T23:00:00.000Z",business:"nCino",name:"Credit Card Account 1950",type:"payment",account:"10052192"}]}function a(){return[{amount:"392.62",date:"2012-02-01T23:00:00.000Z",business:"Mohr Group",name:"Auto Loan Account 8145",type:"withdrawal",account:"99082877",selected:!0},{amount:"393.59",date:"2012-02-01T23:00:00.000Z",business:"Goodwin - Johnson",name:"Personal Loan Account 0538",type:"deposit",account:"12225144"},{isTableHeader:!0,headerText:"Some Category"},{amount:"964.47",date:"2012-02-01T23:00:00.000Z",business:"Nienow - Strosin",name:"Savings Account 8691",type:"payment",account:"98822518"},{amount:"51.38",date:"2012-02-01T23:00:00.000Z",business:"Rosenbaum Inc",name:"Money Market Account 4536",type:"deposit",account:"26946392",selected:!0},{amount:"691.89",date:"2012-02-01T23:00:00.000Z",business:"Yundt Group",name:"Personal Loan Account 0201",type:"deposit",account:"02532136"},{amount:"415.99",date:"2012-02-01T23:00:00.000Z",business:"King - Mitchell",name:"Credit Card Account 2820",type:"withdrawal",account:"26728093"},{isTableHeader:!0,headerText:"Some Other Category"},{amount:"100.00",date:"2012-02-01T23:00:00.000Z",business:"Hahn, Krajcik and Krajcik",name:"Credit Card Account 1950",type:"payment",account:"10021492"},{amount:"100.00",date:"2012-02-01T23:00:00.000Z",business:"Hahn, Krajcik and Krajcik",name:"Credit Card Account 1950",type:"payment",account:"10021492"},{amount:"140.00",date:"2014-02-01T23:00:00.000Z",business:"nCino",name:"Credit Card Account 1950",type:"payment",account:"10052192"}]}export{t as getTestData,a as getTestDataWithHeader};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import"../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/reactive-element.js";import{nothing as
|
|
1
|
+
import"../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/reactive-element.js";import{nothing as p,html as r}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 b}from"../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/custom-element.js";import{property as c}from"../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/property.js";import{state as u}from"../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/state.js";import m from"../../../packages/web-components/src/components/table/table.tokens.scss.js";import f from"../../../packages/web-components/src/components/table/gator/table.gator.scss.js";import $ from"../../../packages/web-components/src/tokens/primitive.tokens.scss.js";import w from"../../../packages/web-components/src/tokens/semantic.tokens.scss.js";import{NjcTable as y}from"../table.js";import"../../checkbox/checkbox.gator.js";import{unsafeHTML as P}from"../../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/directives/unsafe-html.js";import{msg as T}from"../../../node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/init/install.js";import"../../../node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/init/runtime.js";import{unsafeCSS as h}from"../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/css-tag.js";var C=Object.defineProperty,R=Object.getOwnPropertyDescriptor,n=(e,t,s,l)=>{for(var a=l>1?void 0:l?R(t,s):t,o=e.length-1,d;o>=0;o--)(d=e[o])&&(a=(l?d(t,s,a):d(a))||a);return l&&a&&C(t,s,a),a};let i=class extends y{constructor(){super(...arguments),this.elevated=!1,this.includePagination=!1,this.selectedRows=[],this._currentPage=1}render(){return this.columns?this.renderWrapper(this.getTableHeader(this.columns),this.getTableBody(this.columns,this.displayedRowData)):null}get tableElevatedClass(){return this.elevated?"gator-table-elevated":""}renderWrapper(e,t){return r`
|
|
2
2
|
<table class="gator-table ${this.tableElevatedClass}" role="grid" aria-labelledby="${this.tableAriaLabelledBy}">
|
|
3
3
|
${e} ${t}
|
|
4
4
|
</table>
|
|
5
|
-
${this.includePagination?
|
|
5
|
+
${this.includePagination?r`
|
|
6
6
|
<ngc-table-pagination
|
|
7
7
|
items-per-page="${this.itemsPerPage}"
|
|
8
8
|
total-items="${this.data.length}"
|
|
@@ -10,33 +10,45 @@ import"../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit
|
|
|
10
10
|
@pagechanged="${this.handlePageChanged}"
|
|
11
11
|
@itemsperpagechanged="${this.handleItemsPerPageChanged}"
|
|
12
12
|
></ngc-table-pagination>
|
|
13
|
-
`:
|
|
14
|
-
`}handlePageChanged(e){this._currentPage=e.detail.page}handleItemsPerPageChanged(e){this.itemsPerPage=e.detail.itemsPerPage}getTableHeader(e){const t=e.map(this.getTableHeaderColumn);return this.selectable&&t.unshift(
|
|
13
|
+
`:p}
|
|
14
|
+
`}handlePageChanged(e){this._currentPage=e.detail.page}handleItemsPerPageChanged(e){this.itemsPerPage=e.detail.itemsPerPage}getTableHeader(e){const t=e.map(this.getTableHeaderColumn);return this.selectable&&t.unshift(r`<th id="col-select" scope="col">
|
|
15
15
|
<ngc-checkbox
|
|
16
|
+
title-text="${T("Select All")}"
|
|
17
|
+
hide-label
|
|
16
18
|
?selected="${this.selectedRows.length===this.data.length}"
|
|
17
|
-
@change="${
|
|
19
|
+
@change="${s=>this.handleSelectAll(s)}"
|
|
18
20
|
></ngc-checkbox>
|
|
19
|
-
</th>`),
|
|
21
|
+
</th>`),r`
|
|
20
22
|
<thead role="rowgroup">
|
|
21
23
|
<tr role="row">
|
|
22
24
|
${t}
|
|
23
25
|
</tr>
|
|
24
26
|
</thead>
|
|
25
|
-
`}handleSelectAll(e){e.detail.selected?(this.selectedRows=[...this.data],this.data.forEach(t=>{t.selected=e.detail.selected})):(this.selectedRows=[],this.data.forEach(t=>{t.selected=!1})),this.dispatchEvent(new CustomEvent("selectall",{bubbles:!0,detail:{selectedRows:this.selectedRows}})),this.requestUpdate()}getTableHeaderColumn(e){return
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
`}handleSelectAll(e){e.detail.selected?(this.selectedRows=[...this.data],this.data.forEach(t=>{t.selected=e.detail.selected})):(this.selectedRows=[],this.data.forEach(t=>{t.selected=!1})),this.dispatchEvent(new CustomEvent("selectall",{bubbles:!0,detail:{selectedRows:this.selectedRows}})),this.requestUpdate()}getTableHeaderColumn(e){const t=`col-${e.field}`;return r`<th id="${t}" scope="col">${e.name}</th>`}getTableBody(e,t){const s=[];let l={rows:[]};return t.forEach(a=>{a.isTableHeader?((l.rows.length>0||l.header)&&s.push(l),l={header:a,rows:[]}):l.rows.push(a)}),(l.rows.length>0||l.header)&&s.push(l),s.length===0&&t.length>0&&s.push({rows:t}),r`
|
|
28
|
+
${s.map(a=>this.getCategoryBody(a,e))}
|
|
29
|
+
`}getCategoryBody(e,t){let s="",l="",a="";e.header&&(s=e.header.headerText||e.header.categoryText||e.header.name||"Category",a=`category-${s.toLowerCase().replace(/\s+/g,"-")}`,l=a);const o=e.header?this.getTableHeaderRow(t,e.header):"",d=e.rows.map(g=>this.getTableBodyRow(g,t,a));return r`
|
|
30
|
+
<tbody role="rowgroup" ${l?r`aria-labelledby="${l}"`:""}>
|
|
31
|
+
${o}
|
|
32
|
+
${d}
|
|
33
|
+
</tbody>
|
|
34
|
+
`}getTableBodyRow(e,t,s){const l=t.map(a=>this.getTableBodyCell(e,a,s));if(this.selectable){const a=s?`col-select ${s}`:"col-select";l.unshift(r`<td role="gridcell" class="gator-table-checkbox-column" headers="${a}">
|
|
30
35
|
<ngc-checkbox
|
|
36
|
+
label="test"
|
|
31
37
|
?selected="${e.selected}"
|
|
32
|
-
@change="${
|
|
38
|
+
@change="${o=>this.handleTableBodyRowSelected(o,e)}"
|
|
33
39
|
></ngc-checkbox>
|
|
34
|
-
</td>`)
|
|
40
|
+
</td>`)}return r`
|
|
35
41
|
<tr role="row" class="${this.selectable&&e.selected?"gator-table-row-selected":""}">
|
|
36
42
|
${l}
|
|
37
43
|
</tr>
|
|
38
|
-
`}
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
44
|
+
`}getTableHeaderRow(e,t){const s=this.selectable?e.length+1:e.length,l=t.headerText||t.categoryText||t.name||"Category";return r`
|
|
45
|
+
<tr role="row" class="gator-table-category-header">
|
|
46
|
+
<th role="rowheader" colspan="${s}" scope="rowgroup" class="gator-table-header-cell" id="${`category-${l.toLowerCase().replace(/\s+/g,"-")}`}">
|
|
47
|
+
${l}
|
|
48
|
+
</th>
|
|
49
|
+
</tr>
|
|
50
|
+
`}handleTableBodyRowSelected(e,t){e.detail.selected?(t.selected=!0,this.selectedRows.push(t)):(t.selected=!1,this.selectedRows=this.selectedRows.filter(s=>s!==t)),this.dispatchEvent(new CustomEvent("rowselected",{bubbles:!0,detail:{data:t,selectedRows:this.selectedRows}})),this.requestUpdate()}get displayedRowData(){if(!this.includePagination)return this.data;const e=(this._currentPage-1)*this.itemsPerPage,t=e+this.itemsPerPage;return this.data.slice(e,t)}getTableBodyCell(e,t,s){const l=`col-${t.field}`,a=s?`${l} ${s}`:l;return r`
|
|
51
|
+
<td role="gridcell" headers="${a}">
|
|
52
|
+
${P(this.getValueForCell(e,t))}
|
|
53
|
+
</td>
|
|
54
|
+
`}getValueForCell(e,t){return typeof t.cellRenderer=="function"?t.cellRenderer(e):e[t.field]}};i.styles=[h(w),h($),h(m),h(f)];n([c({type:Boolean})],i.prototype,"elevated",2);n([c({type:Boolean,attribute:"include-pagination"})],i.prototype,"includePagination",2);n([u()],i.prototype,"_currentPage",2);i=n([b("ngc-table")],i);export{i as NgcTable};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const r='.gator-table{font-family:var(--text-family-body),"Open Sans",sans-serif;border-spacing:0;width:100%;overflow:auto;border-radius:var(--ngc-table-border-radius, 1rem)
|
|
1
|
+
const r='.gator-table{font-family:var(--text-family-body),"Open Sans",sans-serif;border-spacing:0;width:100%;overflow:auto;border-radius:var(--ngc-table-border-radius, 1rem);background-color:var(--ngc-table-row-background-color, var(--color-surface-primary-white, #FFF))}.gator-table thead>tr{height:3rem;min-height:3rem}.gator-table thead>tr :first-child{border-top-left-radius:var(--ngc-table-border-radius, 1rem)}.gator-table thead>tr :last-child{border-top-right-radius:var(--ngc-table-border-radius, 1rem)}.gator-table tbody>tr,.gator-table tfoot>tr{min-height:3rem;height:3rem}.gator-table th{background:var(--ngc-table-header-background-color, #F3F5F7);text-align:left;padding:var(--spacing-padding-margin-8, .5rem) var(--spacing-padding-margin-16, 1rem);border-bottom:1px solid var(--ngc-table-header-border-bottom-color, #E5E5E5)}.gator-table th:hover{background:var(--ngc-table-header-background-color-hover, #E4ECF2)}.gator-table [dir=rtl] th.mat-header-cell{text-align:right}.gator-table td{padding:var(--spacing-padding-margin-8, .5rem) var(--spacing-padding-margin-16, 1rem);border-bottom:1px solid var(--ngc-table-row-border-bottom-color, #E5E5E5)}.gator-table tr:has(td:hover){background:var(--ngc-table-row-background-color-hover, var(--color-surface-hover, #F7F7F7))}.gator-table th:first-of-type,.gator-table td:first-of-type{padding-left:24px}.gator-table [dir=rtl] th:first-of-type,.gator-table [dir=rtl] td:first-of-type{padding-left:0;padding-right:24px}.gator-table th:last-of-type,.gator-table td:last-of-type{padding-right:24px}.gator-table [dir=rtl] th:last-of-type,.gator-table [dir=rtl] td:last-of-type{padding-right:0;padding-left:24px}.gator-table-checkbox-column{width:1%}.gator-table-row-selected{background-color:var(--ngc-table-row-background-color-selected, var(--color-surface-brand, #F3F5F7))}.gator-table-elevated{box-shadow:var(--shadow-x-offset-0, 0px) var(--shadow-shadow-1-card-property-1-y-offset, 1px) var(--shadow-shadow-1-card-property-1-blur, 1.5px) var(--shadow-shadow-1-card-property-1-spread, 0px) var(--shadow-color-4, rgba(31, 31, 31, .04)),var(--shadow-x-offset-0, 0px) var(--shadow-shadow-1-card-property-2-y-offset, 2px) var(--shadow-shadow-1-card-property-2-blur, 5px) var(--shadow-shadow-1-card-property-2-spread, 0px) var(--shadow-color-10, rgba(31, 31, 31, .1)),var(--shadow-x-offset-0, 0px) var(--shadow-shadow-1-card-property-3-y-offset, 3px) var(--shadow-shadow-1-card-property-3-blur, 9px) var(--shadow-shadow-1-card-property-3-spread, 6px) var(--shadow-color-5, rgba(31, 31, 31, .05))}.gator-table-category-header,.gator-table-category-header:hover{background-color:var(--ngc-table-header-background-color, #F3F5F7)}.gator-table-category-header th{border-bottom:none!important;padding:var(--spacing-padding-margin-8, .5rem) var(--spacing-padding-margin-16, 1rem)!important;font-weight:700;background-color:var(--ngc-table-header-background-color, #F3F5F7);color:var(--text-color-primary-base, #1F1F1F);line-height:var(--text-line-height-subtitle-2, 1.375rem);letter-spacing:var(--text-letter-spacing-default, 0rem)}';export{r as default};
|
|
@@ -26,6 +26,10 @@ export declare class NgcCheckbox extends TestableLitElement {
|
|
|
26
26
|
*/
|
|
27
27
|
selected: boolean;
|
|
28
28
|
indeterminate: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* @property {boolean} hideLabel - Whether the label is hidden from view and only used for a11y purposes.
|
|
31
|
+
*/
|
|
32
|
+
hideLabel: boolean;
|
|
29
33
|
/**
|
|
30
34
|
* @property {boolean} disabled - Indicates whether the checkbox button is disabled.
|
|
31
35
|
*/
|
|
@@ -15,3 +15,34 @@ export declare function getTestData(): ({
|
|
|
15
15
|
account: string;
|
|
16
16
|
selected?: undefined;
|
|
17
17
|
})[];
|
|
18
|
+
export declare function getTestDataWithHeader(): ({
|
|
19
|
+
amount: string;
|
|
20
|
+
date: string;
|
|
21
|
+
business: string;
|
|
22
|
+
name: string;
|
|
23
|
+
type: string;
|
|
24
|
+
account: string;
|
|
25
|
+
selected: boolean;
|
|
26
|
+
isTableHeader?: undefined;
|
|
27
|
+
headerText?: undefined;
|
|
28
|
+
} | {
|
|
29
|
+
amount: string;
|
|
30
|
+
date: string;
|
|
31
|
+
business: string;
|
|
32
|
+
name: string;
|
|
33
|
+
type: string;
|
|
34
|
+
account: string;
|
|
35
|
+
selected?: undefined;
|
|
36
|
+
isTableHeader?: undefined;
|
|
37
|
+
headerText?: undefined;
|
|
38
|
+
} | {
|
|
39
|
+
isTableHeader: boolean;
|
|
40
|
+
headerText: string;
|
|
41
|
+
amount?: undefined;
|
|
42
|
+
date?: undefined;
|
|
43
|
+
business?: undefined;
|
|
44
|
+
name?: undefined;
|
|
45
|
+
type?: undefined;
|
|
46
|
+
account?: undefined;
|
|
47
|
+
selected?: undefined;
|
|
48
|
+
})[];
|
|
@@ -14,7 +14,9 @@ export declare class NgcTable extends NjcTable {
|
|
|
14
14
|
handleSelectAll(event: CustomEvent): void;
|
|
15
15
|
private getTableHeaderColumn;
|
|
16
16
|
private getTableBody;
|
|
17
|
+
private getCategoryBody;
|
|
17
18
|
private getTableBodyRow;
|
|
19
|
+
private getTableHeaderRow;
|
|
18
20
|
handleTableBodyRowSelected(event: CustomEvent, rowData: RowData): void;
|
|
19
21
|
get displayedRowData(): RowData[];
|
|
20
22
|
private getTableBodyCell;
|
package/package.json
CHANGED
package/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"name": "@ncino/web-components",
|
|
4
|
-
"version": "4.3.0-preview.
|
|
4
|
+
"version": "4.3.0-preview.2",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -1750,6 +1750,10 @@
|
|
|
1750
1750
|
"name": "indeterminate",
|
|
1751
1751
|
"value": { "type": "boolean", "default": "false" }
|
|
1752
1752
|
},
|
|
1753
|
+
{
|
|
1754
|
+
"name": "hide-label",
|
|
1755
|
+
"value": { "type": "boolean", "default": "false" }
|
|
1756
|
+
},
|
|
1753
1757
|
{
|
|
1754
1758
|
"name": "disabled",
|
|
1755
1759
|
"value": { "type": "boolean", "default": "false" }
|
|
@@ -1771,6 +1775,7 @@
|
|
|
1771
1775
|
{ "name": "value", "type": "string" },
|
|
1772
1776
|
{ "name": "selected", "type": "boolean" },
|
|
1773
1777
|
{ "name": "indeterminate", "type": "boolean" },
|
|
1778
|
+
{ "name": "hideLabel", "type": "boolean" },
|
|
1774
1779
|
{ "name": "disabled", "type": "boolean" },
|
|
1775
1780
|
{ "name": "hasError", "type": "boolean" },
|
|
1776
1781
|
{ "name": "inputRef", "type": "Ref<HTMLInputElement>" },
|