@brad-frost-web/eddie-web-components 0.19.0 → 0.19.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cdn/chunks/ed-base.JxUYbHAR.js +105 -0
- package/cdn/chunks/index.browser.D527xXcp.js +4 -0
- package/cdn/chunks/lit.DtQjjw5z.js +585 -0
- package/cdn/chunks/vendor.lY5z9hnC.js +42 -0
- package/cdn/components/accordion/accordion.js +30 -0
- package/cdn/components/accordion-panel/accordion-panel.js +94 -0
- package/cdn/components/alert/alert.js +93 -0
- package/cdn/components/badge/badge.js +32 -0
- package/cdn/components/band/band.js +31 -0
- package/cdn/components/black-friday-banner/black-friday-banner.js +23 -0
- package/cdn/components/black-friday-modal/black-friday-modal.js +285 -0
- package/cdn/components/box/box.js +20 -0
- package/cdn/components/breadcrumbs/breadcrumbs.js +22 -0
- package/cdn/components/breadcrumbs-item/breadcrumbs-item.js +34 -0
- package/cdn/components/button/button.js +117 -0
- package/cdn/components/button-group/button-group.js +34 -0
- package/cdn/components/card/card.js +42 -0
- package/cdn/components/checkbox-field/checkbox-field.js +96 -0
- package/cdn/components/checkbox-field-item/checkbox-field-item.js +108 -0
- package/cdn/components/counter/counter.js +174 -0
- package/cdn/components/drawer/drawer.js +73 -0
- package/cdn/components/feature/feature.js +41 -0
- package/cdn/components/field-note/field-note.js +43 -0
- package/cdn/components/file-upload/file-upload.js +228 -0
- package/cdn/components/footer/footer.js +29 -0
- package/cdn/components/global-nav/global-nav.js +22 -0
- package/cdn/components/global-nav-item/global-nav-item.js +126 -0
- package/cdn/components/grid/grid.js +48 -0
- package/cdn/components/grid-item/grid-item.js +20 -0
- package/cdn/components/header/header.js +42 -0
- package/cdn/components/heading/heading.js +61 -0
- package/cdn/components/hero/hero.js +36 -0
- package/cdn/components/hr/hr.js +26 -0
- package/cdn/components/icon/icon.js +65 -0
- package/cdn/components/icon-link-list/icon-link-list.js +30 -0
- package/cdn/components/icon-link-list-item/icon-link-list-item.js +37 -0
- package/cdn/components/inline-checkbox/inline-checkbox.js +112 -0
- package/cdn/components/key-value-table/key-value-table.js +32 -0
- package/cdn/components/key-value-table-row/key-value-table-row.js +37 -0
- package/cdn/components/layout/layout.js +42 -0
- package/cdn/components/layout-container/layout-container.js +30 -0
- package/cdn/components/layout-section/layout-section.js +36 -0
- package/cdn/components/linelength-container/linelength-container.js +20 -0
- package/cdn/components/link-list/link-list.js +47 -0
- package/cdn/components/link-list-item/link-list-item.js +39 -0
- package/cdn/components/list/list.js +35 -0
- package/cdn/components/list-item/list-item.js +20 -0
- package/cdn/components/loading-indicator/loading-indicator.js +20 -0
- package/cdn/components/logo/logo.js +28 -0
- package/cdn/components/main/main.js +16 -0
- package/cdn/components/media-block/media-block.js +36 -0
- package/cdn/components/modal/modal.js +66 -0
- package/cdn/components/nav-container/nav-container.js +20 -0
- package/cdn/components/page-header/page-header.js +38 -0
- package/cdn/components/pagination/pagination.js +51 -0
- package/cdn/components/pagination-item/pagination-item.js +50 -0
- package/cdn/components/primary-nav/primary-nav.js +32 -0
- package/cdn/components/primary-nav-item/primary-nav-item.js +123 -0
- package/cdn/components/radio-field/radio-field.js +106 -0
- package/cdn/components/radio-field-item/radio-field-item.js +140 -0
- package/cdn/components/search-form/search-form.js +129 -0
- package/cdn/components/section/section.js +25 -0
- package/cdn/components/select-field/select-field.js +121 -0
- package/cdn/components/show-hide/show-hide.js +71 -0
- package/cdn/components/show-more/show-more.js +62 -0
- package/cdn/components/skeleton/skeleton.js +32 -0
- package/cdn/components/tab/tab.js +46 -0
- package/cdn/components/table/table.js +38 -0
- package/cdn/components/table-body/table-body.js +20 -0
- package/cdn/components/table-cell/table-cell.js +34 -0
- package/cdn/components/table-header/table-header.js +20 -0
- package/cdn/components/table-header-cell/table-header-cell.js +60 -0
- package/cdn/components/table-object/table-object.js +95 -0
- package/cdn/components/table-row/table-row.js +20 -0
- package/cdn/components/tabs/tabs.js +183 -0
- package/cdn/components/tag/tag.js +40 -0
- package/cdn/components/tag-list/tag-list.js +20 -0
- package/cdn/components/text-field/text-field.js +122 -0
- package/cdn/components/text-link/text-link.js +45 -0
- package/cdn/components/text-passage/text-passage.js +56 -0
- package/cdn/components/textarea-field/textarea-field.js +113 -0
- package/cdn/components/toast/toast.js +97 -0
- package/cdn/components/toggle/toggle.js +130 -0
- package/cdn/components/toolbar/toolbar.js +39 -0
- package/cdn/components/tooltip/tooltip.js +34 -0
- package/cdn/components/tooltip-trigger/tooltip-trigger.js +99 -0
- package/cdn/components/utility-nav/utility-nav.js +22 -0
- package/cdn/components/utility-nav-item/utility-nav-item.js +55 -0
- package/cdn/eddie-autoloader.js +136 -0
- package/cdn/eddie.js +88 -0
- package/components/EdElement.d.ts +61 -0
- package/components/EdElement.d.ts.map +1 -0
- package/components/EdElement.js +63 -0
- package/components/EdFormElement.d.ts +65 -0
- package/components/EdFormElement.d.ts.map +1 -0
- package/components/EdFormElement.js +46 -0
- package/components/accordion/{accordion.ts → accordion.d.ts} +12 -35
- package/components/accordion/accordion.d.ts.map +1 -0
- package/components/accordion/accordion.js +31 -0
- package/components/accordion-panel/accordion-panel.d.ts +70 -0
- package/components/accordion-panel/accordion-panel.d.ts.map +1 -0
- package/components/accordion-panel/accordion-panel.js +95 -0
- package/components/alert/alert.d.ts +104 -0
- package/components/alert/alert.d.ts.map +1 -0
- package/components/alert/alert.js +94 -0
- package/components/badge/badge.d.ts +32 -0
- package/components/badge/badge.d.ts.map +1 -0
- package/components/badge/badge.js +33 -0
- package/components/band/band.d.ts +32 -0
- package/components/band/band.d.ts.map +1 -0
- package/components/band/band.js +32 -0
- package/components/black-friday-banner/black-friday-banner.d.ts +14 -0
- package/components/black-friday-banner/black-friday-banner.d.ts.map +1 -0
- package/components/black-friday-banner/black-friday-banner.js +23 -0
- package/components/black-friday-modal/black-friday-modal.d.ts +135 -0
- package/components/black-friday-modal/black-friday-modal.d.ts.map +1 -0
- package/components/black-friday-modal/black-friday-modal.js +536 -0
- package/components/box/{box.ts → box.d.ts} +7 -25
- package/components/box/box.d.ts.map +1 -0
- package/components/box/box.js +20 -0
- package/components/breadcrumbs/{breadcrumbs.ts → breadcrumbs.d.ts} +7 -27
- package/components/breadcrumbs/breadcrumbs.d.ts.map +1 -0
- package/components/breadcrumbs/breadcrumbs.js +22 -0
- package/components/breadcrumbs-item/breadcrumbs-item.d.ts +47 -0
- package/components/breadcrumbs-item/breadcrumbs-item.d.ts.map +1 -0
- package/components/breadcrumbs-item/breadcrumbs-item.js +36 -0
- package/components/button/button.d.ts +104 -0
- package/components/button/button.d.ts.map +1 -0
- package/components/button/button.js +118 -0
- package/components/button-group/button-group.d.ts +42 -0
- package/components/button-group/button-group.d.ts.map +1 -0
- package/components/button-group/button-group.js +35 -0
- package/components/card/card.d.ts +52 -0
- package/components/card/card.d.ts.map +1 -0
- package/components/card/card.js +43 -0
- package/components/checkbox-field/checkbox-field.d.ts +92 -0
- package/components/checkbox-field/checkbox-field.d.ts.map +1 -0
- package/components/checkbox-field/checkbox-field.js +98 -0
- package/components/checkbox-field-item/checkbox-field-item.d.ts +81 -0
- package/components/checkbox-field-item/checkbox-field-item.d.ts.map +1 -0
- package/components/checkbox-field-item/checkbox-field-item.js +110 -0
- package/components/counter/counter.d.ts +130 -0
- package/components/counter/counter.d.ts.map +1 -0
- package/components/counter/counter.js +176 -0
- package/components/drawer/drawer.d.ts +62 -0
- package/components/drawer/drawer.d.ts.map +1 -0
- package/components/drawer/drawer.js +74 -0
- package/components/feature/feature.d.ts +27 -0
- package/components/feature/feature.d.ts.map +1 -0
- package/components/feature/feature.js +42 -0
- package/components/field-note/field-note.d.ts +33 -0
- package/components/field-note/field-note.d.ts.map +1 -0
- package/components/field-note/field-note.js +44 -0
- package/components/file-upload/file-upload.d.ts +148 -0
- package/components/file-upload/file-upload.d.ts.map +1 -0
- package/components/file-upload/file-upload.js +224 -0
- package/components/file-upload/file-upload.model.d.ts +24 -0
- package/components/file-upload/file-upload.model.d.ts.map +1 -0
- package/components/file-upload.model/file-upload.model.js +11 -0
- package/components/footer/{footer.ts → footer.d.ts} +7 -36
- package/components/footer/footer.d.ts.map +1 -0
- package/components/footer/footer.js +29 -0
- package/components/global-nav/global-nav.d.ts +14 -0
- package/components/global-nav/global-nav.d.ts.map +1 -0
- package/components/global-nav/global-nav.js +22 -0
- package/components/global-nav-item/global-nav-item.d.ts +80 -0
- package/components/global-nav-item/global-nav-item.d.ts.map +1 -0
- package/components/global-nav-item/global-nav-item.js +128 -0
- package/components/grid/grid.d.ts +59 -0
- package/components/grid/grid.d.ts.map +1 -0
- package/components/grid/grid.js +49 -0
- package/components/grid-item/{grid-item.ts → grid-item.d.ts} +7 -25
- package/components/grid-item/grid-item.d.ts.map +1 -0
- package/components/grid-item/grid-item.js +20 -0
- package/components/header/header.d.ts +28 -0
- package/components/header/header.d.ts.map +1 -0
- package/components/header/header.js +43 -0
- package/components/heading/heading.d.ts +35 -0
- package/components/heading/heading.d.ts.map +1 -0
- package/components/heading/heading.js +62 -0
- package/components/hero/hero.d.ts +22 -0
- package/components/hero/hero.d.ts.map +1 -0
- package/components/hero/hero.js +37 -0
- package/components/hr/hr.d.ts +33 -0
- package/components/hr/hr.d.ts.map +1 -0
- package/components/hr/hr.js +27 -0
- package/components/icon/icon.d.ts +59 -0
- package/components/icon/icon.d.ts.map +1 -0
- package/components/icon/icon.js +66 -0
- package/components/icon-link-list/icon-link-list.d.ts +19 -0
- package/components/icon-link-list/icon-link-list.d.ts.map +1 -0
- package/components/icon-link-list/icon-link-list.js +31 -0
- package/components/icon-link-list-item/icon-link-list-item.d.ts +23 -0
- package/components/icon-link-list-item/icon-link-list-item.d.ts.map +1 -0
- package/components/icon-link-list-item/icon-link-list-item.js +39 -0
- package/components/index.browser.js +4 -0
- package/components/inline-checkbox/inline-checkbox.d.ts +73 -0
- package/components/inline-checkbox/inline-checkbox.d.ts.map +1 -0
- package/components/inline-checkbox/inline-checkbox.js +114 -0
- package/components/key-value-table/{key-value-table.ts → key-value-table.d.ts} +12 -37
- package/components/key-value-table/key-value-table.d.ts.map +1 -0
- package/components/key-value-table/key-value-table.js +33 -0
- package/components/key-value-table-row/key-value-table-row.d.ts +41 -0
- package/components/key-value-table-row/key-value-table-row.d.ts.map +1 -0
- package/components/key-value-table-row/key-value-table-row.js +38 -0
- package/components/layout/layout.d.ts +56 -0
- package/components/layout/layout.d.ts.map +1 -0
- package/components/layout/layout.js +43 -0
- package/components/layout-container/layout-container.d.ts +31 -0
- package/components/layout-container/layout-container.d.ts.map +1 -0
- package/components/layout-container/layout-container.js +31 -0
- package/components/layout-section/layout-section.d.ts +41 -0
- package/components/layout-section/layout-section.d.ts.map +1 -0
- package/components/layout-section/layout-section.js +37 -0
- package/components/linelength-container/linelength-container.d.ts +14 -0
- package/components/linelength-container/linelength-container.d.ts.map +1 -0
- package/components/linelength-container/linelength-container.js +20 -0
- package/components/link-list/link-list.d.ts +84 -0
- package/components/link-list/link-list.d.ts.map +1 -0
- package/components/link-list/link-list.js +48 -0
- package/components/link-list-item/link-list-item.d.ts +43 -0
- package/components/link-list-item/link-list-item.d.ts.map +1 -0
- package/components/link-list-item/link-list-item.js +41 -0
- package/components/list/list.d.ts +33 -0
- package/components/list/list.d.ts.map +1 -0
- package/components/list/list.js +36 -0
- package/components/list-item/{list-item.ts → list-item.d.ts} +7 -25
- package/components/list-item/list-item.d.ts.map +1 -0
- package/components/list-item/list-item.js +20 -0
- package/components/loading-indicator/{loading-indicator.ts → loading-indicator.d.ts} +7 -25
- package/components/loading-indicator/loading-indicator.d.ts.map +1 -0
- package/components/loading-indicator/loading-indicator.js +20 -0
- package/components/logo/logo.d.ts +33 -0
- package/components/logo/logo.d.ts.map +1 -0
- package/components/logo/logo.js +29 -0
- package/components/main/{main.ts → main.d.ts} +7 -21
- package/components/main/main.d.ts.map +1 -0
- package/components/main/main.js +16 -0
- package/components/media-block/media-block.d.ts +24 -0
- package/components/media-block/media-block.d.ts.map +1 -0
- package/components/media-block/media-block.js +37 -0
- package/components/modal/modal.d.ts +57 -0
- package/components/modal/modal.d.ts.map +1 -0
- package/components/modal/modal.js +67 -0
- package/components/nav-container/{nav-container.ts → nav-container.d.ts} +7 -25
- package/components/nav-container/nav-container.d.ts.map +1 -0
- package/components/nav-container/nav-container.js +20 -0
- package/components/page-header/{page-header.ts → page-header.d.ts} +11 -40
- package/components/page-header/page-header.d.ts.map +1 -0
- package/components/page-header/page-header.js +39 -0
- package/components/pagination/pagination.d.ts +73 -0
- package/components/pagination/pagination.d.ts.map +1 -0
- package/components/pagination/pagination.js +52 -0
- package/components/pagination-item/pagination-item.d.ts +59 -0
- package/components/pagination-item/pagination-item.d.ts.map +1 -0
- package/components/pagination-item/pagination-item.js +52 -0
- package/components/primary-nav/{primary-nav.ts → primary-nav.d.ts} +16 -41
- package/components/primary-nav/primary-nav.d.ts.map +1 -0
- package/components/primary-nav/primary-nav.js +33 -0
- package/components/primary-nav-item/primary-nav-item.d.ts +92 -0
- package/components/primary-nav-item/primary-nav-item.d.ts.map +1 -0
- package/components/primary-nav-item/primary-nav-item.js +125 -0
- package/components/radio-field/radio-field.d.ts +100 -0
- package/components/radio-field/radio-field.d.ts.map +1 -0
- package/components/radio-field/radio-field.js +108 -0
- package/components/radio-field-item/radio-field-item.d.ts +100 -0
- package/components/radio-field-item/radio-field-item.d.ts.map +1 -0
- package/components/radio-field-item/radio-field-item.js +142 -0
- package/components/search-form/search-form.d.ts +109 -0
- package/components/search-form/search-form.d.ts.map +1 -0
- package/components/search-form/search-form.js +131 -0
- package/components/section/section.d.ts +23 -0
- package/components/section/section.d.ts.map +1 -0
- package/components/section/section.js +25 -0
- package/components/select-field/select-field.d.ts +114 -0
- package/components/select-field/select-field.d.ts.map +1 -0
- package/components/select-field/select-field.js +123 -0
- package/components/show-hide/show-hide.d.ts +75 -0
- package/components/show-hide/show-hide.d.ts.map +1 -0
- package/components/show-hide/show-hide.js +72 -0
- package/components/show-more/show-more.d.ts +51 -0
- package/components/show-more/show-more.d.ts.map +1 -0
- package/components/show-more/show-more.js +63 -0
- package/components/skeleton/skeleton.d.ts +31 -0
- package/components/skeleton/skeleton.d.ts.map +1 -0
- package/components/skeleton/skeleton.js +33 -0
- package/components/tab/tab.d.ts +56 -0
- package/components/tab/tab.d.ts.map +1 -0
- package/components/tab/tab.js +47 -0
- package/components/table/table.d.ts +48 -0
- package/components/table/table.d.ts.map +1 -0
- package/components/table/table.js +39 -0
- package/components/table-body/table-body.d.ts +17 -0
- package/components/table-body/table-body.d.ts.map +1 -0
- package/components/table-body/table-body.js +20 -0
- package/components/table-cell/table-cell.d.ts +42 -0
- package/components/table-cell/table-cell.d.ts.map +1 -0
- package/components/table-cell/table-cell.js +36 -0
- package/components/table-header/table-header.d.ts +17 -0
- package/components/table-header/table-header.d.ts.map +1 -0
- package/components/table-header/table-header.js +20 -0
- package/components/table-header-cell/table-header-cell.d.ts +67 -0
- package/components/table-header-cell/table-header-cell.d.ts.map +1 -0
- package/components/table-header-cell/table-header-cell.js +62 -0
- package/components/table-object/table-object.d.ts +66 -0
- package/components/table-object/table-object.d.ts.map +1 -0
- package/components/table-object/table-object.js +96 -0
- package/components/table-row/table-row.d.ts +17 -0
- package/components/table-row/table-row.d.ts.map +1 -0
- package/components/table-row/table-row.js +20 -0
- package/components/tabs/tabs.d.ts +124 -0
- package/components/tabs/tabs.d.ts.map +1 -0
- package/components/tabs/tabs.js +184 -0
- package/components/tag/tag.d.ts +46 -0
- package/components/tag/tag.d.ts.map +1 -0
- package/components/tag/tag.js +41 -0
- package/components/tag-list/{tag-list.ts → tag-list.d.ts} +7 -25
- package/components/tag-list/tag-list.d.ts.map +1 -0
- package/components/tag-list/tag-list.js +20 -0
- package/components/text-field/text-field.d.ts +107 -0
- package/components/text-field/text-field.d.ts.map +1 -0
- package/components/text-field/text-field.js +124 -0
- package/components/text-link/text-link.d.ts +53 -0
- package/components/text-link/text-link.d.ts.map +1 -0
- package/components/text-link/text-link.js +47 -0
- package/components/text-passage/text-passage.d.ts +52 -0
- package/components/text-passage/text-passage.d.ts.map +1 -0
- package/components/text-passage/text-passage.js +57 -0
- package/components/textarea-field/textarea-field.d.ts +101 -0
- package/components/textarea-field/textarea-field.d.ts.map +1 -0
- package/components/textarea-field/textarea-field.js +115 -0
- package/components/toast/toast.d.ts +114 -0
- package/components/toast/toast.d.ts.map +1 -0
- package/components/toast/toast.js +98 -0
- package/components/toggle/toggle.d.ts +105 -0
- package/components/toggle/toggle.d.ts.map +1 -0
- package/components/toggle/toggle.js +132 -0
- package/components/toolbar/toolbar.d.ts +50 -0
- package/components/toolbar/toolbar.d.ts.map +1 -0
- package/components/toolbar/toolbar.js +40 -0
- package/components/tooltip/tooltip.d.ts +28 -0
- package/components/tooltip/tooltip.d.ts.map +1 -0
- package/components/tooltip/tooltip.js +35 -0
- package/components/tooltip-trigger/tooltip-trigger.d.ts +46 -0
- package/components/tooltip-trigger/tooltip-trigger.d.ts.map +1 -0
- package/components/tooltip-trigger/tooltip-trigger.js +100 -0
- package/components/utility-nav/utility-nav.d.ts +14 -0
- package/components/utility-nav/utility-nav.d.ts.map +1 -0
- package/components/utility-nav/utility-nav.js +22 -0
- package/components/utility-nav-item/utility-nav-item.d.ts +38 -0
- package/components/utility-nav-item/utility-nav-item.d.ts.map +1 -0
- package/components/utility-nav-item/utility-nav-item.js +57 -0
- package/package.json +2 -2
- package/.eslintignore +0 -5
- package/.eslintrc.js +0 -67
- package/.nvmrc +0 -1
- package/.storybook/BFWTheme.js +0 -8
- package/.storybook/assets/images/1200x650.svg +0 -1
- package/.storybook/assets/images/120x40.svg +0 -1
- package/.storybook/assets/images/600x400.svg +0 -1
- package/.storybook/assets/images/800x400.svg +0 -1
- package/.storybook/assets/images/Logo.svg +0 -8
- package/.storybook/assets/images/ai-design-systems-social-card.png +0 -0
- package/.storybook/assets/images/atomic-design-social-card.png +0 -0
- package/.storybook/assets/images/black-friday-crowd.gif +0 -0
- package/.storybook/assets/images/mega-bundle.png +0 -0
- package/.storybook/assets/images/subatomic-atomic-bundle.png +0 -0
- package/.storybook/assets/images/subatomic-social-card.png +0 -0
- package/.storybook/components/f-po/f-po.scss +0 -17
- package/.storybook/components/f-po/f-po.ts +0 -33
- package/.storybook/components/system-docs/system-docs.scss +0 -1
- package/.storybook/components/system-docs/system-docs.stories.ts +0 -31
- package/.storybook/components/system-docs/system-docs.ts +0 -31
- package/.storybook/components/tier-1-tokens/animation.ts +0 -123
- package/.storybook/components/tier-1-tokens/border.ts +0 -127
- package/.storybook/components/tier-1-tokens/breakpoints.ts +0 -116
- package/.storybook/components/tier-1-tokens/colors.ts +0 -173
- package/.storybook/components/tier-1-tokens/shadows.ts +0 -114
- package/.storybook/components/tier-1-tokens/tier-1-tokens.scss +0 -15
- package/.storybook/components/tier-1-tokens/tier-1-tokens.stories.ts +0 -22
- package/.storybook/components/tier-2-tokens/animation.ts +0 -124
- package/.storybook/components/tier-2-tokens/border.ts +0 -123
- package/.storybook/components/tier-2-tokens/colors.ts +0 -199
- package/.storybook/components/tier-2-tokens/shadows.ts +0 -98
- package/.storybook/components/tier-2-tokens/tier-2-tokens.scss +0 -62
- package/.storybook/components/tier-2-tokens/tier-2-tokens.stories.ts +0 -19
- package/.storybook/components/tier-2-tokens/typography-presets-tier-2/typography-presets-tier-2.stories.ts +0 -10
- package/.storybook/components/tier-2-tokens/typography-presets-tier-2/typography-presets-tier-2.ts +0 -136
- package/.storybook/components/tier-3-tokens/component-tokens.ts +0 -318
- package/.storybook/components/tier-3-tokens/tier-3-tokens.scss +0 -9
- package/.storybook/components/tier-3-tokens/tier-3-tokens.stories.ts +0 -10
- package/.storybook/components/token-specimen/token-specimen.scss +0 -138
- package/.storybook/components/token-specimen/token-specimen.ts +0 -99
- package/.storybook/components/typography-specimen/typography-specimen.scss +0 -90
- package/.storybook/components/typography-specimen/typography-specimen.ts +0 -120
- package/.storybook/components/typography-tokens/typography-tokens.scss +0 -15
- package/.storybook/components/typography-tokens/typography-tokens.stories.ts +0 -10
- package/.storybook/components/typography-tokens/typography-tokens.ts +0 -225
- package/.storybook/components/utilities/display-utilities.ts +0 -44
- package/.storybook/components/utilities/spacing-margin-utilities.ts +0 -248
- package/.storybook/components/utilities/spacing-padding-utilities.ts +0 -248
- package/.storybook/components/utilities/typography-utilities.ts +0 -112
- package/.storybook/components/utilities/utilities.scss +0 -60
- package/.storybook/components/utilities/utilities.stories.ts +0 -18
- package/.storybook/components/utilities/visibility-utilities.ts +0 -147
- package/.storybook/main.ts +0 -17
- package/.storybook/manager.js +0 -10
- package/.storybook/pages/homepage/homepage.stories.ts +0 -13
- package/.storybook/pages/homepage/homepage.ts +0 -77
- package/.storybook/preview.ts +0 -120
- package/.storybook/themes.scss +0 -14
- package/.storybook/vitest.setup.ts +0 -7
- package/README.md +0 -57
- package/cdn/eddie-autoloader.ts +0 -197
- package/cdn/eddie.ts +0 -100
- package/components/EdElement.ts +0 -93
- package/components/EdFormElement.ts +0 -105
- package/components/accordion/accordion.scss +0 -13
- package/components/accordion/accordion.stories.ts +0 -67
- package/components/accordion/test/accordion.test.ts +0 -0
- package/components/accordion-panel/accordion-panel.scss +0 -88
- package/components/accordion-panel/accordion-panel.ts +0 -166
- package/components/accordion-panel/test/accordion-panel.test.ts +0 -0
- package/components/alert/alert.scss +0 -108
- package/components/alert/alert.stories.ts +0 -82
- package/components/alert/alert.ts +0 -189
- package/components/alert/test/alert.test.ts +0 -0
- package/components/badge/badge.scss +0 -37
- package/components/badge/badge.stories.ts +0 -36
- package/components/badge/badge.ts +0 -56
- package/components/badge/test/badge.test.ts +0 -0
- package/components/band/band.scss +0 -31
- package/components/band/band.stories.ts +0 -36
- package/components/band/band.ts +0 -56
- package/components/band/test/band.test.ts +0 -0
- package/components/black-friday-banner/black-friday-banner.scss +0 -23
- package/components/black-friday-banner/black-friday-banner.stories.ts +0 -14
- package/components/black-friday-banner/black-friday-banner.ts +0 -35
- package/components/black-friday-banner/test/black-friday-banner.test.ts +0 -0
- package/components/black-friday-modal/black-friday-drawer.stories.ts +0 -34
- package/components/black-friday-modal/black-friday-modal.scss +0 -238
- package/components/black-friday-modal/black-friday-modal.ts +0 -410
- package/components/box/box.scss +0 -20
- package/components/box/box.stories.ts +0 -21
- package/components/box/test/box.test.ts +0 -0
- package/components/breadcrumbs/breadcrumbs.scss +0 -22
- package/components/breadcrumbs/breadcrumbs.stories.ts +0 -30
- package/components/breadcrumbs/test/breadcrumbs.test.ts +0 -0
- package/components/breadcrumbs-item/breadcrumbs-item.scss +0 -45
- package/components/breadcrumbs-item/breadcrumbs-item.ts +0 -76
- package/components/breadcrumbs-item/test/breadcrumbs-item.test.ts +0 -0
- package/components/button/button.scss +0 -287
- package/components/button/button.stories.ts +0 -103
- package/components/button/button.ts +0 -203
- package/components/button/test/button.test.ts +0 -63
- package/components/button-group/button-group.scss +0 -71
- package/components/button-group/button-group.stories.ts +0 -45
- package/components/button-group/button-group.ts +0 -66
- package/components/button-group/test/button-group.test.ts +0 -0
- package/components/card/card.scss +0 -92
- package/components/card/card.stories.ts +0 -37
- package/components/card/card.ts +0 -88
- package/components/card/test/card.test.ts +0 -63
- package/components/checkbox-field/checkbox-field.scss +0 -35
- package/components/checkbox-field/checkbox-field.stories.ts +0 -65
- package/components/checkbox-field/checkbox-field.ts +0 -166
- package/components/checkbox-field/test/checkbox-field.test.ts +0 -0
- package/components/checkbox-field-item/checkbox-field-item.scss +0 -35
- package/components/checkbox-field-item/checkbox-field-item.ts +0 -169
- package/components/checkbox-field-item/test/checkbox-field-item.test.ts +0 -0
- package/components/counter/counter.scss +0 -52
- package/components/counter/counter.stories.ts +0 -32
- package/components/counter/counter.ts +0 -264
- package/components/counter/test/counter.test.ts +0 -0
- package/components/drawer/drawer.scss +0 -158
- package/components/drawer/drawer.stories.ts +0 -102
- package/components/drawer/drawer.ts +0 -119
- package/components/drawer/test/drawer.test.ts +0 -0
- package/components/feature/feature.scss +0 -63
- package/components/feature/feature.stories.ts +0 -36
- package/components/feature/feature.ts +0 -61
- package/components/feature/test/feature.test.ts +0 -0
- package/components/field-note/field-note.scss +0 -42
- package/components/field-note/field-note.stories.ts +0 -14
- package/components/field-note/field-note.ts +0 -66
- package/components/field-note/test/field-note.test.ts +0 -0
- package/components/file-upload/file-upload.model.ts +0 -32
- package/components/file-upload/file-upload.scss +0 -325
- package/components/file-upload/file-upload.stories.ts +0 -63
- package/components/file-upload/file-upload.ts +0 -411
- package/components/file-upload/test/file-upload.test.ts +0 -0
- package/components/footer/footer.scss +0 -13
- package/components/footer/footer.stories.ts +0 -32
- package/components/footer/test/footer.test.ts +0 -0
- package/components/global-nav/global-nav.scss +0 -19
- package/components/global-nav/global-nav.stories.ts +0 -18
- package/components/global-nav/global-nav.ts +0 -34
- package/components/global-nav/test/global-nav.test.ts +0 -0
- package/components/global-nav-item/global-nav-item.scss +0 -123
- package/components/global-nav-item/global-nav-item.ts +0 -186
- package/components/global-nav-item/test/global-nav-item.test.ts +0 -0
- package/components/grid/grid.scss +0 -323
- package/components/grid/grid.stories.ts +0 -432
- package/components/grid/grid.ts +0 -98
- package/components/grid/test/grid.test.ts +0 -0
- package/components/grid-item/grid-item.scss +0 -12
- package/components/grid-item/test/grid-item.test.ts +0 -0
- package/components/header/header.scss +0 -54
- package/components/header/header.stories.ts +0 -111
- package/components/header/header.ts +0 -65
- package/components/header/test/header.test.ts +0 -63
- package/components/heading/heading.scss +0 -130
- package/components/heading/heading.stories.ts +0 -135
- package/components/heading/heading.ts +0 -102
- package/components/heading/test/heading.test.ts +0 -0
- package/components/hero/hero.scss +0 -51
- package/components/hero/hero.stories.ts +0 -14
- package/components/hero/hero.ts +0 -50
- package/components/hero/test/hero.test.ts +0 -0
- package/components/hr/hr.scss +0 -19
- package/components/hr/hr.stories.ts +0 -29
- package/components/hr/hr.ts +0 -52
- package/components/hr/test/hr.test.ts +0 -0
- package/components/icon/icon.scss +0 -14
- package/components/icon/icon.stories.ts +0 -30
- package/components/icon/icon.ts +0 -115
- package/components/icon/test/icon.test.ts +0 -0
- package/components/icon-link-list/icon-link-list.scss +0 -47
- package/components/icon-link-list/icon-link-list.stories.ts +0 -31
- package/components/icon-link-list/icon-link-list.ts +0 -42
- package/components/icon-link-list/test/icon-link-list.test.ts +0 -0
- package/components/icon-link-list-item/icon-link-list-item.scss +0 -15
- package/components/icon-link-list-item/icon-link-list-item.ts +0 -52
- package/components/icon-link-list-item/test/icon-link-list-item.test.ts +0 -0
- package/components/inline-checkbox/inline-checkbox.scss +0 -45
- package/components/inline-checkbox/inline-checkbox.stories.ts +0 -36
- package/components/inline-checkbox/inline-checkbox.ts +0 -168
- package/components/inline-checkbox/test/inline-checkbox.test.ts +0 -0
- package/components/key-value-table/key-value-table.scss +0 -36
- package/components/key-value-table/key-value-table.stories.ts +0 -63
- package/components/key-value-table/test/key-value-table.test.ts +0 -0
- package/components/key-value-table-row/key-value-table-row.scss +0 -45
- package/components/key-value-table-row/key-value-table-row.ts +0 -69
- package/components/key-value-table-row/test/key-value-table-row.test.ts +0 -0
- package/components/layout/layout.scss +0 -201
- package/components/layout/layout.stories.ts +0 -307
- package/components/layout/layout.ts +0 -89
- package/components/layout/test/layout.test.ts +0 -0
- package/components/layout-container/layout-container.scss +0 -22
- package/components/layout-container/layout-container.stories.ts +0 -39
- package/components/layout-container/layout-container.ts +0 -54
- package/components/layout-container/test/layout-container.test.ts +0 -0
- package/components/layout-section/layout-section.scss +0 -11
- package/components/layout-section/layout-section.ts +0 -66
- package/components/layout-section/test/layout-section.test.ts +0 -0
- package/components/linelength-container/linelength-container.scss +0 -11
- package/components/linelength-container/linelength-container.stories.ts +0 -15
- package/components/linelength-container/linelength-container.ts +0 -33
- package/components/linelength-container/test/linelength-container.test.ts +0 -0
- package/components/link-list/link-list.scss +0 -112
- package/components/link-list/link-list.stories.ts +0 -153
- package/components/link-list/link-list.ts +0 -120
- package/components/link-list/test/link-list.test.ts +0 -0
- package/components/link-list-item/link-list-item.scss +0 -48
- package/components/link-list-item/link-list-item.ts +0 -75
- package/components/link-list-item/test/link-list-item.test.ts +0 -0
- package/components/list/list.scss +0 -51
- package/components/list/list.stories.ts +0 -62
- package/components/list/list.ts +0 -60
- package/components/list/test/list.test.ts +0 -0
- package/components/list-item/list-item.scss +0 -8
- package/components/list-item/test/list-item.test.ts +0 -0
- package/components/loading-indicator/loading-indicator.scss +0 -31
- package/components/loading-indicator/loading-indicator.stories.ts +0 -34
- package/components/loading-indicator/test/loading-indicator.test.ts +0 -0
- package/components/logo/logo.scss +0 -17
- package/components/logo/logo.stories.ts +0 -31
- package/components/logo/logo.ts +0 -54
- package/components/logo/test/logo.test.ts +0 -63
- package/components/main/main.scss +0 -14
- package/components/main/main.stories.ts +0 -24
- package/components/main/test/main.test.ts +0 -0
- package/components/media-block/media-block.scss +0 -40
- package/components/media-block/media-block.stories.ts +0 -20
- package/components/media-block/media-block.ts +0 -54
- package/components/media-block/test/media-block.test.ts +0 -0
- package/components/modal/modal.scss +0 -128
- package/components/modal/modal.stories.ts +0 -47
- package/components/modal/modal.ts +0 -115
- package/components/modal/test/modal.test.ts +0 -0
- package/components/nav-container/nav-container.scss +0 -39
- package/components/nav-container/nav-container.stories.ts +0 -31
- package/components/nav-container/test/nav-container.test.ts +0 -0
- package/components/page-header/page-header.scss +0 -39
- package/components/page-header/page-header.stories.ts +0 -29
- package/components/page-header/test/page-header.test.ts +0 -0
- package/components/pagination/pagination.scss +0 -16
- package/components/pagination/pagination.stories.ts +0 -81
- package/components/pagination/pagination.ts +0 -116
- package/components/pagination/test/pagination.test.ts +0 -0
- package/components/pagination-item/pagination-item.scss +0 -54
- package/components/pagination-item/pagination-item.ts +0 -96
- package/components/pagination-item/test/pagination-item.test.ts +0 -0
- package/components/primary-nav/primary-nav.scss +0 -35
- package/components/primary-nav/primary-nav.stories.ts +0 -91
- package/components/primary-nav/test/primary-nav.test.ts +0 -63
- package/components/primary-nav-item/primary-nav-item.scss +0 -154
- package/components/primary-nav-item/primary-nav-item.ts +0 -203
- package/components/primary-nav-item/test/primary-nav-item.test.ts +0 -63
- package/components/radio-field/radio-field.scss +0 -38
- package/components/radio-field/radio-field.stories.ts +0 -66
- package/components/radio-field/radio-field.ts +0 -183
- package/components/radio-field/test/radio-field.test.ts +0 -0
- package/components/radio-field-item/radio-field-item.scss +0 -142
- package/components/radio-field-item/radio-field-item.ts +0 -226
- package/components/radio-field-item/test/radio-field-item.test.ts +0 -0
- package/components/search-form/search-form.scss +0 -132
- package/components/search-form/search-form.stories.ts +0 -30
- package/components/search-form/search-form.ts +0 -219
- package/components/search-form/test/search-form.test.ts +0 -0
- package/components/section/section.scss +0 -21
- package/components/section/section.stories.ts +0 -54
- package/components/section/section.ts +0 -45
- package/components/section/test/section.test.ts +0 -0
- package/components/select-field/select-field.scss +0 -82
- package/components/select-field/select-field.stories.ts +0 -82
- package/components/select-field/select-field.ts +0 -230
- package/components/select-field/test/select-field.test.ts +0 -0
- package/components/show-hide/show-hide.scss +0 -25
- package/components/show-hide/show-hide.stories.ts +0 -26
- package/components/show-hide/show-hide.ts +0 -125
- package/components/show-hide/test/show-hide.test.ts +0 -0
- package/components/show-more/show-more.scss +0 -31
- package/components/show-more/show-more.stories.ts +0 -33
- package/components/show-more/show-more.ts +0 -97
- package/components/show-more/test/show-more.test.ts +0 -0
- package/components/skeleton/skeleton.scss +0 -56
- package/components/skeleton/skeleton.stories.ts +0 -16
- package/components/skeleton/skeleton.ts +0 -54
- package/components/skeleton/test/skeleton.test.ts +0 -0
- package/components/tab/tab.scss +0 -12
- package/components/tab/tab.ts +0 -88
- package/components/tab/test/tab.test.ts +0 -63
- package/components/table/table.scss +0 -46
- package/components/table/table.stories.ts +0 -406
- package/components/table/table.ts +0 -77
- package/components/table/test/table.test.ts +0 -0
- package/components/table-body/table-body.scss +0 -15
- package/components/table-body/table-body.ts +0 -35
- package/components/table-body/test/table-body.test.ts +0 -0
- package/components/table-cell/table-cell.scss +0 -44
- package/components/table-cell/table-cell.ts +0 -68
- package/components/table-cell/test/table-cell.test.ts +0 -0
- package/components/table-header/table-header.scss +0 -22
- package/components/table-header/table-header.ts +0 -35
- package/components/table-header/test/table-header.test.ts +0 -0
- package/components/table-header-cell/table-header-cell.scss +0 -74
- package/components/table-header-cell/table-header-cell.ts +0 -120
- package/components/table-header-cell/test/table-header-cell.test.ts +0 -0
- package/components/table-object/table-object.scss +0 -93
- package/components/table-object/table-object.stories.ts +0 -102
- package/components/table-object/table-object.ts +0 -156
- package/components/table-object/test/table-object.test.ts +0 -0
- package/components/table-row/table-row.scss +0 -37
- package/components/table-row/table-row.ts +0 -35
- package/components/table-row/test/table-row.test.ts +0 -0
- package/components/tabs/tabs.scss +0 -218
- package/components/tabs/tabs.stories.ts +0 -104
- package/components/tabs/tabs.ts +0 -307
- package/components/tabs/test/tabs.test.ts +0 -63
- package/components/tag/tag.scss +0 -39
- package/components/tag/tag.stories.ts +0 -38
- package/components/tag/tag.ts +0 -76
- package/components/tag/test/tag.test.ts +0 -0
- package/components/tag-list/tag-list.scss +0 -22
- package/components/tag-list/tag-list.stories.ts +0 -29
- package/components/tag-list/test/tag-list.test.ts +0 -0
- package/components/text-field/test/text-field.test.ts +0 -0
- package/components/text-field/text-field.scss +0 -51
- package/components/text-field/text-field.stories.ts +0 -52
- package/components/text-field/text-field.ts +0 -206
- package/components/text-link/test/text-link.test.ts +0 -0
- package/components/text-link/text-link.scss +0 -60
- package/components/text-link/text-link.stories.ts +0 -32
- package/components/text-link/text-link.ts +0 -90
- package/components/text-passage/test/text-passage.test.ts +0 -0
- package/components/text-passage/text-passage-light-dom.scss +0 -206
- package/components/text-passage/text-passage.scss +0 -6
- package/components/text-passage/text-passage.stories.ts +0 -235
- package/components/text-passage/text-passage.ts +0 -103
- package/components/textarea-field/test/textarea-field.test.ts +0 -0
- package/components/textarea-field/textarea-field.scss +0 -52
- package/components/textarea-field/textarea-field.stories.ts +0 -73
- package/components/textarea-field/textarea-field.ts +0 -197
- package/components/toast/test/toast.test.ts +0 -1
- package/components/toast/toast.scss +0 -124
- package/components/toast/toast.stories.ts +0 -85
- package/components/toast/toast.ts +0 -202
- package/components/toggle/test/toggle.test.ts +0 -0
- package/components/toggle/toggle.scss +0 -195
- package/components/toggle/toggle.stories.ts +0 -81
- package/components/toggle/toggle.ts +0 -220
- package/components/toolbar/test/toolbar.test.ts +0 -0
- package/components/toolbar/toolbar.scss +0 -93
- package/components/toolbar/toolbar.stories.ts +0 -145
- package/components/toolbar/toolbar.ts +0 -83
- package/components/tooltip/test/tooltip.test.ts +0 -0
- package/components/tooltip/tooltip.scss +0 -72
- package/components/tooltip/tooltip.stories.ts +0 -47
- package/components/tooltip/tooltip.ts +0 -55
- package/components/tooltip-trigger/test/tooltip-trigger.test.ts +0 -0
- package/components/tooltip-trigger/tooltip-trigger.scss +0 -75
- package/components/tooltip-trigger/tooltip-trigger.stories.ts +0 -28
- package/components/tooltip-trigger/tooltip-trigger.ts +0 -136
- package/components/utility-nav/test/utility-nav.test.ts +0 -0
- package/components/utility-nav/utility-nav.scss +0 -29
- package/components/utility-nav/utility-nav.stories.ts +0 -27
- package/components/utility-nav/utility-nav.ts +0 -34
- package/components/utility-nav-item/test/utility-nav-item.test.ts +0 -0
- package/components/utility-nav-item/utility-nav-item.scss +0 -63
- package/components/utility-nav-item/utility-nav-item.ts +0 -91
- package/custom-elements.json +0 -6701
- package/declaration.d.ts +0 -1
- package/directives/if-truthy.ts +0 -27
- package/directives/spread.ts +0 -34
- package/index.html +0 -16
- package/loaders/wca-loader.js +0 -51
- package/loaders/web-component-analyzer-loader.js +0 -35
- package/plop-templates/component/component.scss.hbs +0 -11
- package/plop-templates/component/component.stories.ts.hbs +0 -11
- package/plop-templates/component/component.ts.hbs +0 -32
- package/plop-templates/component/test/component.test.ts.hbs +0 -0
- package/plop-templates/page/page.stories.ts.hbs +0 -10
- package/plop-templates/page/page.ts.hbs +0 -25
- package/plopfile.cjs +0 -63
- package/tsconfig.json +0 -27
- package/vite-env.d.ts +0 -1
- package/vite.config.cdn.ts +0 -93
- package/vite.config.ts +0 -67
- package/vitest.config.ts +0 -34
- package/vitest.shims.d.ts +0 -1
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { i as u, b as d, n } from "./lit.DtQjjw5z.js";
|
|
2
|
+
import { c as h } from "./vendor.lY5z9hnC.js";
|
|
3
|
+
var p = Object.defineProperty, v = (l, t, s, a) => {
|
|
4
|
+
for (var e = void 0, i = l.length - 1, r; i >= 0; i--)
|
|
5
|
+
(r = l[i]) && (e = r(t, s, e) || e);
|
|
6
|
+
return e && p(t, s, e), e;
|
|
7
|
+
};
|
|
8
|
+
class o extends u {
|
|
9
|
+
/**
|
|
10
|
+
* Abstraction of `classnames` that automatically includes any style modifier
|
|
11
|
+
* as well as any set variants.
|
|
12
|
+
*
|
|
13
|
+
* It is expected that `variant` would be overridden in a subclass with more
|
|
14
|
+
* specific types, `@property() variant?: 'foo' | 'bar'`
|
|
15
|
+
*
|
|
16
|
+
* @param baseClassName
|
|
17
|
+
*/
|
|
18
|
+
componentClassNames(t, s = {}) {
|
|
19
|
+
return h(t, s);
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Check if a slot is empty
|
|
23
|
+
*
|
|
24
|
+
* @param slotName
|
|
25
|
+
*/
|
|
26
|
+
slotEmpty(t) {
|
|
27
|
+
return !this.querySelector(`[slot="${t}"]`);
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Check if a slot is not empty
|
|
31
|
+
*
|
|
32
|
+
* @param slotName
|
|
33
|
+
*/
|
|
34
|
+
slotNotEmpty(t) {
|
|
35
|
+
if (!this.slotEmpty(t))
|
|
36
|
+
return !this.slotEmpty(t);
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Dispatch a custom event.
|
|
40
|
+
*/
|
|
41
|
+
dispatch({ e: t, eventName: s, detailObj: a = {}, optionsObj: e = {} }) {
|
|
42
|
+
const i = {
|
|
43
|
+
bubbles: !0,
|
|
44
|
+
composed: !0,
|
|
45
|
+
...e,
|
|
46
|
+
detail: { ...t && { originalEvent: t }, ...a }
|
|
47
|
+
}, r = new CustomEvent(s, i);
|
|
48
|
+
return this.dispatchEvent(r), r;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Example render, should not be used
|
|
52
|
+
*/
|
|
53
|
+
render() {
|
|
54
|
+
return d`<slot></slot>`;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
v([
|
|
58
|
+
n()
|
|
59
|
+
], o.prototype, "styleModifier");
|
|
60
|
+
var f = Object.defineProperty, c = Object.getOwnPropertyDescriptor, m = (l, t, s, a) => {
|
|
61
|
+
for (var e = c(t, s), i = l.length - 1, r; i >= 0; i--)
|
|
62
|
+
(r = l[i]) && (e = r(t, s, e) || e);
|
|
63
|
+
return e && f(t, s, e), e;
|
|
64
|
+
};
|
|
65
|
+
class y extends o {
|
|
66
|
+
static {
|
|
67
|
+
this.formAssociated = !0;
|
|
68
|
+
}
|
|
69
|
+
get value() {
|
|
70
|
+
return this.internalValue;
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Sets the value of the form field.
|
|
74
|
+
* 1. Stores the new value so it can be retrieved by the getter.
|
|
75
|
+
* 2. Sets the current value of the control.
|
|
76
|
+
* 3. Updates the actual field.
|
|
77
|
+
* 4. Rerenders the component.
|
|
78
|
+
*/
|
|
79
|
+
set value(t) {
|
|
80
|
+
const s = this.value;
|
|
81
|
+
this.internalValue = t, this.type !== "checkbox" && this.type !== "radio" && this.internals.setFormValue(t), this.updateField(), this.requestUpdate("value", s);
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* update the actual field's value
|
|
85
|
+
*/
|
|
86
|
+
updateField() {
|
|
87
|
+
this.field && (this.value == null ? this.field.value = "" : this.field.value = this.value);
|
|
88
|
+
}
|
|
89
|
+
firstUpdated() {
|
|
90
|
+
this.type !== "checkbox" && this.type !== "radio" && (this.defaultValue = this.value || this.getAttribute("value") || null), this.updateField();
|
|
91
|
+
}
|
|
92
|
+
formResetCallback() {
|
|
93
|
+
this.value = this.defaultValue, this.updateField();
|
|
94
|
+
}
|
|
95
|
+
constructor() {
|
|
96
|
+
super(), this.internals = this.attachInternals();
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
m([
|
|
100
|
+
n()
|
|
101
|
+
], y.prototype, "value");
|
|
102
|
+
export {
|
|
103
|
+
o as E,
|
|
104
|
+
y as a
|
|
105
|
+
};
|
|
@@ -0,0 +1,585 @@
|
|
|
1
|
+
const x = globalThis, j = x.ShadowRoot && (x.ShadyCSS === void 0 || x.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Y = /* @__PURE__ */ Symbol(), B = /* @__PURE__ */ new WeakMap();
|
|
2
|
+
let nt = class {
|
|
3
|
+
constructor(t, e, s) {
|
|
4
|
+
if (this._$cssResult$ = !0, s !== Y) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
5
|
+
this.cssText = t, this.t = e;
|
|
6
|
+
}
|
|
7
|
+
get styleSheet() {
|
|
8
|
+
let t = this.o;
|
|
9
|
+
const e = this.t;
|
|
10
|
+
if (j && t === void 0) {
|
|
11
|
+
const s = e !== void 0 && e.length === 1;
|
|
12
|
+
s && (t = B.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), s && B.set(e, t));
|
|
13
|
+
}
|
|
14
|
+
return t;
|
|
15
|
+
}
|
|
16
|
+
toString() {
|
|
17
|
+
return this.cssText;
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
const ot = (r) => new nt(typeof r == "string" ? r : r + "", void 0, Y), ht = (r, t) => {
|
|
21
|
+
if (j) r.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
|
|
22
|
+
else for (const e of t) {
|
|
23
|
+
const s = document.createElement("style"), i = x.litNonce;
|
|
24
|
+
i !== void 0 && s.setAttribute("nonce", i), s.textContent = e.cssText, r.appendChild(s);
|
|
25
|
+
}
|
|
26
|
+
}, q = j ? (r) => r : (r) => r instanceof CSSStyleSheet ? ((t) => {
|
|
27
|
+
let e = "";
|
|
28
|
+
for (const s of t.cssRules) e += s.cssText;
|
|
29
|
+
return ot(e);
|
|
30
|
+
})(r) : r;
|
|
31
|
+
const { is: at, defineProperty: lt, getOwnPropertyDescriptor: ct, getOwnPropertyNames: dt, getOwnPropertySymbols: ut, getPrototypeOf: pt } = Object, T = globalThis, W = T.trustedTypes, $t = W ? W.emptyScript : "", _t = T.reactiveElementPolyfillSupport, b = (r, t) => r, M = { toAttribute(r, t) {
|
|
32
|
+
switch (t) {
|
|
33
|
+
case Boolean:
|
|
34
|
+
r = r ? $t : null;
|
|
35
|
+
break;
|
|
36
|
+
case Object:
|
|
37
|
+
case Array:
|
|
38
|
+
r = r == null ? r : JSON.stringify(r);
|
|
39
|
+
}
|
|
40
|
+
return r;
|
|
41
|
+
}, fromAttribute(r, t) {
|
|
42
|
+
let e = r;
|
|
43
|
+
switch (t) {
|
|
44
|
+
case Boolean:
|
|
45
|
+
e = r !== null;
|
|
46
|
+
break;
|
|
47
|
+
case Number:
|
|
48
|
+
e = r === null ? null : Number(r);
|
|
49
|
+
break;
|
|
50
|
+
case Object:
|
|
51
|
+
case Array:
|
|
52
|
+
try {
|
|
53
|
+
e = JSON.parse(r);
|
|
54
|
+
} catch {
|
|
55
|
+
e = null;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
return e;
|
|
59
|
+
} }, k = (r, t) => !at(r, t), V = { attribute: !0, type: String, converter: M, reflect: !1, useDefault: !1, hasChanged: k };
|
|
60
|
+
Symbol.metadata ??= /* @__PURE__ */ Symbol("metadata"), T.litPropertyMetadata ??= /* @__PURE__ */ new WeakMap();
|
|
61
|
+
let m = class extends HTMLElement {
|
|
62
|
+
static addInitializer(t) {
|
|
63
|
+
this._$Ei(), (this.l ??= []).push(t);
|
|
64
|
+
}
|
|
65
|
+
static get observedAttributes() {
|
|
66
|
+
return this.finalize(), this._$Eh && [...this._$Eh.keys()];
|
|
67
|
+
}
|
|
68
|
+
static createProperty(t, e = V) {
|
|
69
|
+
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) {
|
|
70
|
+
const s = /* @__PURE__ */ Symbol(), i = this.getPropertyDescriptor(t, s, e);
|
|
71
|
+
i !== void 0 && lt(this.prototype, t, i);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
static getPropertyDescriptor(t, e, s) {
|
|
75
|
+
const { get: i, set: n } = ct(this.prototype, t) ?? { get() {
|
|
76
|
+
return this[e];
|
|
77
|
+
}, set(o) {
|
|
78
|
+
this[e] = o;
|
|
79
|
+
} };
|
|
80
|
+
return { get: i, set(o) {
|
|
81
|
+
const a = i?.call(this);
|
|
82
|
+
n?.call(this, o), this.requestUpdate(t, a, s);
|
|
83
|
+
}, configurable: !0, enumerable: !0 };
|
|
84
|
+
}
|
|
85
|
+
static getPropertyOptions(t) {
|
|
86
|
+
return this.elementProperties.get(t) ?? V;
|
|
87
|
+
}
|
|
88
|
+
static _$Ei() {
|
|
89
|
+
if (this.hasOwnProperty(b("elementProperties"))) return;
|
|
90
|
+
const t = pt(this);
|
|
91
|
+
t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
|
|
92
|
+
}
|
|
93
|
+
static finalize() {
|
|
94
|
+
if (this.hasOwnProperty(b("finalized"))) return;
|
|
95
|
+
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(b("properties"))) {
|
|
96
|
+
const e = this.properties, s = [...dt(e), ...ut(e)];
|
|
97
|
+
for (const i of s) this.createProperty(i, e[i]);
|
|
98
|
+
}
|
|
99
|
+
const t = this[Symbol.metadata];
|
|
100
|
+
if (t !== null) {
|
|
101
|
+
const e = litPropertyMetadata.get(t);
|
|
102
|
+
if (e !== void 0) for (const [s, i] of e) this.elementProperties.set(s, i);
|
|
103
|
+
}
|
|
104
|
+
this._$Eh = /* @__PURE__ */ new Map();
|
|
105
|
+
for (const [e, s] of this.elementProperties) {
|
|
106
|
+
const i = this._$Eu(e, s);
|
|
107
|
+
i !== void 0 && this._$Eh.set(i, e);
|
|
108
|
+
}
|
|
109
|
+
this.elementStyles = this.finalizeStyles(this.styles);
|
|
110
|
+
}
|
|
111
|
+
static finalizeStyles(t) {
|
|
112
|
+
const e = [];
|
|
113
|
+
if (Array.isArray(t)) {
|
|
114
|
+
const s = new Set(t.flat(1 / 0).reverse());
|
|
115
|
+
for (const i of s) e.unshift(q(i));
|
|
116
|
+
} else t !== void 0 && e.push(q(t));
|
|
117
|
+
return e;
|
|
118
|
+
}
|
|
119
|
+
static _$Eu(t, e) {
|
|
120
|
+
const s = e.attribute;
|
|
121
|
+
return s === !1 ? void 0 : typeof s == "string" ? s : typeof t == "string" ? t.toLowerCase() : void 0;
|
|
122
|
+
}
|
|
123
|
+
constructor() {
|
|
124
|
+
super(), this._$Ep = void 0, this.isUpdatePending = !1, this.hasUpdated = !1, this._$Em = null, this._$Ev();
|
|
125
|
+
}
|
|
126
|
+
_$Ev() {
|
|
127
|
+
this._$ES = new Promise((t) => this.enableUpdating = t), this._$AL = /* @__PURE__ */ new Map(), this._$E_(), this.requestUpdate(), this.constructor.l?.forEach((t) => t(this));
|
|
128
|
+
}
|
|
129
|
+
addController(t) {
|
|
130
|
+
(this._$EO ??= /* @__PURE__ */ new Set()).add(t), this.renderRoot !== void 0 && this.isConnected && t.hostConnected?.();
|
|
131
|
+
}
|
|
132
|
+
removeController(t) {
|
|
133
|
+
this._$EO?.delete(t);
|
|
134
|
+
}
|
|
135
|
+
_$E_() {
|
|
136
|
+
const t = /* @__PURE__ */ new Map(), e = this.constructor.elementProperties;
|
|
137
|
+
for (const s of e.keys()) this.hasOwnProperty(s) && (t.set(s, this[s]), delete this[s]);
|
|
138
|
+
t.size > 0 && (this._$Ep = t);
|
|
139
|
+
}
|
|
140
|
+
createRenderRoot() {
|
|
141
|
+
const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
|
|
142
|
+
return ht(t, this.constructor.elementStyles), t;
|
|
143
|
+
}
|
|
144
|
+
connectedCallback() {
|
|
145
|
+
this.renderRoot ??= this.createRenderRoot(), this.enableUpdating(!0), this._$EO?.forEach((t) => t.hostConnected?.());
|
|
146
|
+
}
|
|
147
|
+
enableUpdating(t) {
|
|
148
|
+
}
|
|
149
|
+
disconnectedCallback() {
|
|
150
|
+
this._$EO?.forEach((t) => t.hostDisconnected?.());
|
|
151
|
+
}
|
|
152
|
+
attributeChangedCallback(t, e, s) {
|
|
153
|
+
this._$AK(t, s);
|
|
154
|
+
}
|
|
155
|
+
_$ET(t, e) {
|
|
156
|
+
const s = this.constructor.elementProperties.get(t), i = this.constructor._$Eu(t, s);
|
|
157
|
+
if (i !== void 0 && s.reflect === !0) {
|
|
158
|
+
const n = (s.converter?.toAttribute !== void 0 ? s.converter : M).toAttribute(e, s.type);
|
|
159
|
+
this._$Em = t, n == null ? this.removeAttribute(i) : this.setAttribute(i, n), this._$Em = null;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
_$AK(t, e) {
|
|
163
|
+
const s = this.constructor, i = s._$Eh.get(t);
|
|
164
|
+
if (i !== void 0 && this._$Em !== i) {
|
|
165
|
+
const n = s.getPropertyOptions(i), o = typeof n.converter == "function" ? { fromAttribute: n.converter } : n.converter?.fromAttribute !== void 0 ? n.converter : M;
|
|
166
|
+
this._$Em = i;
|
|
167
|
+
const a = o.fromAttribute(e, n.type);
|
|
168
|
+
this[i] = a ?? this._$Ej?.get(i) ?? a, this._$Em = null;
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
requestUpdate(t, e, s, i = !1, n) {
|
|
172
|
+
if (t !== void 0) {
|
|
173
|
+
const o = this.constructor;
|
|
174
|
+
if (i === !1 && (n = this[t]), s ??= o.getPropertyOptions(t), !((s.hasChanged ?? k)(n, e) || s.useDefault && s.reflect && n === this._$Ej?.get(t) && !this.hasAttribute(o._$Eu(t, s)))) return;
|
|
175
|
+
this.C(t, e, s);
|
|
176
|
+
}
|
|
177
|
+
this.isUpdatePending === !1 && (this._$ES = this._$EP());
|
|
178
|
+
}
|
|
179
|
+
C(t, e, { useDefault: s, reflect: i, wrapped: n }, o) {
|
|
180
|
+
s && !(this._$Ej ??= /* @__PURE__ */ new Map()).has(t) && (this._$Ej.set(t, o ?? e ?? this[t]), n !== !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 ??= /* @__PURE__ */ new Set()).add(t));
|
|
181
|
+
}
|
|
182
|
+
async _$EP() {
|
|
183
|
+
this.isUpdatePending = !0;
|
|
184
|
+
try {
|
|
185
|
+
await this._$ES;
|
|
186
|
+
} catch (e) {
|
|
187
|
+
Promise.reject(e);
|
|
188
|
+
}
|
|
189
|
+
const t = this.scheduleUpdate();
|
|
190
|
+
return t != null && await t, !this.isUpdatePending;
|
|
191
|
+
}
|
|
192
|
+
scheduleUpdate() {
|
|
193
|
+
return this.performUpdate();
|
|
194
|
+
}
|
|
195
|
+
performUpdate() {
|
|
196
|
+
if (!this.isUpdatePending) return;
|
|
197
|
+
if (!this.hasUpdated) {
|
|
198
|
+
if (this.renderRoot ??= this.createRenderRoot(), this._$Ep) {
|
|
199
|
+
for (const [i, n] of this._$Ep) this[i] = n;
|
|
200
|
+
this._$Ep = void 0;
|
|
201
|
+
}
|
|
202
|
+
const s = this.constructor.elementProperties;
|
|
203
|
+
if (s.size > 0) for (const [i, n] of s) {
|
|
204
|
+
const { wrapped: o } = n, a = this[i];
|
|
205
|
+
o !== !0 || this._$AL.has(i) || a === void 0 || this.C(i, void 0, n, a);
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
let t = !1;
|
|
209
|
+
const e = this._$AL;
|
|
210
|
+
try {
|
|
211
|
+
t = this.shouldUpdate(e), t ? (this.willUpdate(e), this._$EO?.forEach((s) => s.hostUpdate?.()), this.update(e)) : this._$EM();
|
|
212
|
+
} catch (s) {
|
|
213
|
+
throw t = !1, this._$EM(), s;
|
|
214
|
+
}
|
|
215
|
+
t && this._$AE(e);
|
|
216
|
+
}
|
|
217
|
+
willUpdate(t) {
|
|
218
|
+
}
|
|
219
|
+
_$AE(t) {
|
|
220
|
+
this._$EO?.forEach((e) => e.hostUpdated?.()), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
|
|
221
|
+
}
|
|
222
|
+
_$EM() {
|
|
223
|
+
this._$AL = /* @__PURE__ */ new Map(), this.isUpdatePending = !1;
|
|
224
|
+
}
|
|
225
|
+
get updateComplete() {
|
|
226
|
+
return this.getUpdateComplete();
|
|
227
|
+
}
|
|
228
|
+
getUpdateComplete() {
|
|
229
|
+
return this._$ES;
|
|
230
|
+
}
|
|
231
|
+
shouldUpdate(t) {
|
|
232
|
+
return !0;
|
|
233
|
+
}
|
|
234
|
+
update(t) {
|
|
235
|
+
this._$Eq &&= this._$Eq.forEach((e) => this._$ET(e, this[e])), this._$EM();
|
|
236
|
+
}
|
|
237
|
+
updated(t) {
|
|
238
|
+
}
|
|
239
|
+
firstUpdated(t) {
|
|
240
|
+
}
|
|
241
|
+
};
|
|
242
|
+
m.elementStyles = [], m.shadowRootOptions = { mode: "open" }, m[b("elementProperties")] = /* @__PURE__ */ new Map(), m[b("finalized")] = /* @__PURE__ */ new Map(), _t?.({ ReactiveElement: m }), (T.reactiveElementVersions ??= []).push("2.1.2");
|
|
243
|
+
const L = globalThis, Z = (r) => r, H = L.trustedTypes, F = H ? H.createPolicy("lit-html", { createHTML: (r) => r }) : void 0, tt = "$lit$", _ = `lit$${Math.random().toFixed(9).slice(2)}$`, et = "?" + _, ft = `<${et}>`, y = document, S = () => y.createComment(""), w = (r) => r === null || typeof r != "object" && typeof r != "function", z = Array.isArray, At = (r) => z(r) || typeof r?.[Symbol.iterator] == "function", R = `[
|
|
244
|
+
\f\r]`, E = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, J = /-->/g, K = />/g, f = RegExp(`>|${R}(?:([^\\s"'>=/]+)(${R}*=${R}*(?:[^
|
|
245
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), G = /'/g, Q = /"/g, st = /^(?:script|style|textarea|title)$/i, yt = (r) => (t, ...e) => ({ _$litType$: r, strings: t, values: e }), jt = yt(1), g = /* @__PURE__ */ Symbol.for("lit-noChange"), c = /* @__PURE__ */ Symbol.for("lit-nothing"), X = /* @__PURE__ */ new WeakMap(), A = y.createTreeWalker(y, 129);
|
|
246
|
+
function it(r, t) {
|
|
247
|
+
if (!z(r) || !r.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
248
|
+
return F !== void 0 ? F.createHTML(t) : t;
|
|
249
|
+
}
|
|
250
|
+
const gt = (r, t) => {
|
|
251
|
+
const e = r.length - 1, s = [];
|
|
252
|
+
let i, n = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", o = E;
|
|
253
|
+
for (let a = 0; a < e; a++) {
|
|
254
|
+
const h = r[a];
|
|
255
|
+
let d, u, l = -1, p = 0;
|
|
256
|
+
for (; p < h.length && (o.lastIndex = p, u = o.exec(h), u !== null); ) p = o.lastIndex, o === E ? u[1] === "!--" ? o = J : u[1] !== void 0 ? o = K : u[2] !== void 0 ? (st.test(u[2]) && (i = RegExp("</" + u[2], "g")), o = f) : u[3] !== void 0 && (o = f) : o === f ? u[0] === ">" ? (o = i ?? E, l = -1) : u[1] === void 0 ? l = -2 : (l = o.lastIndex - u[2].length, d = u[1], o = u[3] === void 0 ? f : u[3] === '"' ? Q : G) : o === Q || o === G ? o = f : o === J || o === K ? o = E : (o = f, i = void 0);
|
|
257
|
+
const $ = o === f && r[a + 1].startsWith("/>") ? " " : "";
|
|
258
|
+
n += o === E ? h + ft : l >= 0 ? (s.push(d), h.slice(0, l) + tt + h.slice(l) + _ + $) : h + _ + (l === -2 ? a : $);
|
|
259
|
+
}
|
|
260
|
+
return [it(r, n + (r[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), s];
|
|
261
|
+
};
|
|
262
|
+
class C {
|
|
263
|
+
constructor({ strings: t, _$litType$: e }, s) {
|
|
264
|
+
let i;
|
|
265
|
+
this.parts = [];
|
|
266
|
+
let n = 0, o = 0;
|
|
267
|
+
const a = t.length - 1, h = this.parts, [d, u] = gt(t, e);
|
|
268
|
+
if (this.el = C.createElement(d, s), A.currentNode = this.el.content, e === 2 || e === 3) {
|
|
269
|
+
const l = this.el.content.firstChild;
|
|
270
|
+
l.replaceWith(...l.childNodes);
|
|
271
|
+
}
|
|
272
|
+
for (; (i = A.nextNode()) !== null && h.length < a; ) {
|
|
273
|
+
if (i.nodeType === 1) {
|
|
274
|
+
if (i.hasAttributes()) for (const l of i.getAttributeNames()) if (l.endsWith(tt)) {
|
|
275
|
+
const p = u[o++], $ = i.getAttribute(l).split(_), U = /([.?@])?(.*)/.exec(p);
|
|
276
|
+
h.push({ type: 1, index: n, name: U[2], strings: $, ctor: U[1] === "." ? vt : U[1] === "?" ? Et : U[1] === "@" ? bt : N }), i.removeAttribute(l);
|
|
277
|
+
} else l.startsWith(_) && (h.push({ type: 6, index: n }), i.removeAttribute(l));
|
|
278
|
+
if (st.test(i.tagName)) {
|
|
279
|
+
const l = i.textContent.split(_), p = l.length - 1;
|
|
280
|
+
if (p > 0) {
|
|
281
|
+
i.textContent = H ? H.emptyScript : "";
|
|
282
|
+
for (let $ = 0; $ < p; $++) i.append(l[$], S()), A.nextNode(), h.push({ type: 2, index: ++n });
|
|
283
|
+
i.append(l[p], S());
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
} else if (i.nodeType === 8) if (i.data === et) h.push({ type: 2, index: n });
|
|
287
|
+
else {
|
|
288
|
+
let l = -1;
|
|
289
|
+
for (; (l = i.data.indexOf(_, l + 1)) !== -1; ) h.push({ type: 7, index: n }), l += _.length - 1;
|
|
290
|
+
}
|
|
291
|
+
n++;
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
static createElement(t, e) {
|
|
295
|
+
const s = y.createElement("template");
|
|
296
|
+
return s.innerHTML = t, s;
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
function v(r, t, e = r, s) {
|
|
300
|
+
if (t === g) return t;
|
|
301
|
+
let i = s !== void 0 ? e._$Co?.[s] : e._$Cl;
|
|
302
|
+
const n = w(t) ? void 0 : t._$litDirective$;
|
|
303
|
+
return i?.constructor !== n && (i?._$AO?.(!1), n === void 0 ? i = void 0 : (i = new n(r), i._$AT(r, e, s)), s !== void 0 ? (e._$Co ??= [])[s] = i : e._$Cl = i), i !== void 0 && (t = v(r, i._$AS(r, t.values), i, s)), t;
|
|
304
|
+
}
|
|
305
|
+
class mt {
|
|
306
|
+
constructor(t, e) {
|
|
307
|
+
this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
|
|
308
|
+
}
|
|
309
|
+
get parentNode() {
|
|
310
|
+
return this._$AM.parentNode;
|
|
311
|
+
}
|
|
312
|
+
get _$AU() {
|
|
313
|
+
return this._$AM._$AU;
|
|
314
|
+
}
|
|
315
|
+
u(t) {
|
|
316
|
+
const { el: { content: e }, parts: s } = this._$AD, i = (t?.creationScope ?? y).importNode(e, !0);
|
|
317
|
+
A.currentNode = i;
|
|
318
|
+
let n = A.nextNode(), o = 0, a = 0, h = s[0];
|
|
319
|
+
for (; h !== void 0; ) {
|
|
320
|
+
if (o === h.index) {
|
|
321
|
+
let d;
|
|
322
|
+
h.type === 2 ? d = new P(n, n.nextSibling, this, t) : h.type === 1 ? d = new h.ctor(n, h.name, h.strings, this, t) : h.type === 6 && (d = new St(n, this, t)), this._$AV.push(d), h = s[++a];
|
|
323
|
+
}
|
|
324
|
+
o !== h?.index && (n = A.nextNode(), o++);
|
|
325
|
+
}
|
|
326
|
+
return A.currentNode = y, i;
|
|
327
|
+
}
|
|
328
|
+
p(t) {
|
|
329
|
+
let e = 0;
|
|
330
|
+
for (const s of this._$AV) s !== void 0 && (s.strings !== void 0 ? (s._$AI(t, s, e), e += s.strings.length - 2) : s._$AI(t[e])), e++;
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
class P {
|
|
334
|
+
get _$AU() {
|
|
335
|
+
return this._$AM?._$AU ?? this._$Cv;
|
|
336
|
+
}
|
|
337
|
+
constructor(t, e, s, i) {
|
|
338
|
+
this.type = 2, this._$AH = c, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM = s, this.options = i, this._$Cv = i?.isConnected ?? !0;
|
|
339
|
+
}
|
|
340
|
+
get parentNode() {
|
|
341
|
+
let t = this._$AA.parentNode;
|
|
342
|
+
const e = this._$AM;
|
|
343
|
+
return e !== void 0 && t?.nodeType === 11 && (t = e.parentNode), t;
|
|
344
|
+
}
|
|
345
|
+
get startNode() {
|
|
346
|
+
return this._$AA;
|
|
347
|
+
}
|
|
348
|
+
get endNode() {
|
|
349
|
+
return this._$AB;
|
|
350
|
+
}
|
|
351
|
+
_$AI(t, e = this) {
|
|
352
|
+
t = v(this, t, e), w(t) ? t === c || t == null || t === "" ? (this._$AH !== c && this._$AR(), this._$AH = c) : t !== this._$AH && t !== g && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : At(t) ? this.k(t) : this._(t);
|
|
353
|
+
}
|
|
354
|
+
O(t) {
|
|
355
|
+
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
|
356
|
+
}
|
|
357
|
+
T(t) {
|
|
358
|
+
this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
|
|
359
|
+
}
|
|
360
|
+
_(t) {
|
|
361
|
+
this._$AH !== c && w(this._$AH) ? this._$AA.nextSibling.data = t : this.T(y.createTextNode(t)), this._$AH = t;
|
|
362
|
+
}
|
|
363
|
+
$(t) {
|
|
364
|
+
const { values: e, _$litType$: s } = t, i = typeof s == "number" ? this._$AC(t) : (s.el === void 0 && (s.el = C.createElement(it(s.h, s.h[0]), this.options)), s);
|
|
365
|
+
if (this._$AH?._$AD === i) this._$AH.p(e);
|
|
366
|
+
else {
|
|
367
|
+
const n = new mt(i, this), o = n.u(this.options);
|
|
368
|
+
n.p(e), this.T(o), this._$AH = n;
|
|
369
|
+
}
|
|
370
|
+
}
|
|
371
|
+
_$AC(t) {
|
|
372
|
+
let e = X.get(t.strings);
|
|
373
|
+
return e === void 0 && X.set(t.strings, e = new C(t)), e;
|
|
374
|
+
}
|
|
375
|
+
k(t) {
|
|
376
|
+
z(this._$AH) || (this._$AH = [], this._$AR());
|
|
377
|
+
const e = this._$AH;
|
|
378
|
+
let s, i = 0;
|
|
379
|
+
for (const n of t) i === e.length ? e.push(s = new P(this.O(S()), this.O(S()), this, this.options)) : s = e[i], s._$AI(n), i++;
|
|
380
|
+
i < e.length && (this._$AR(s && s._$AB.nextSibling, i), e.length = i);
|
|
381
|
+
}
|
|
382
|
+
_$AR(t = this._$AA.nextSibling, e) {
|
|
383
|
+
for (this._$AP?.(!1, !0, e); t !== this._$AB; ) {
|
|
384
|
+
const s = Z(t).nextSibling;
|
|
385
|
+
Z(t).remove(), t = s;
|
|
386
|
+
}
|
|
387
|
+
}
|
|
388
|
+
setConnected(t) {
|
|
389
|
+
this._$AM === void 0 && (this._$Cv = t, this._$AP?.(t));
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
class N {
|
|
393
|
+
get tagName() {
|
|
394
|
+
return this.element.tagName;
|
|
395
|
+
}
|
|
396
|
+
get _$AU() {
|
|
397
|
+
return this._$AM._$AU;
|
|
398
|
+
}
|
|
399
|
+
constructor(t, e, s, i, n) {
|
|
400
|
+
this.type = 1, this._$AH = c, this._$AN = void 0, this.element = t, this.name = e, this._$AM = i, this.options = n, s.length > 2 || s[0] !== "" || s[1] !== "" ? (this._$AH = Array(s.length - 1).fill(new String()), this.strings = s) : this._$AH = c;
|
|
401
|
+
}
|
|
402
|
+
_$AI(t, e = this, s, i) {
|
|
403
|
+
const n = this.strings;
|
|
404
|
+
let o = !1;
|
|
405
|
+
if (n === void 0) t = v(this, t, e, 0), o = !w(t) || t !== this._$AH && t !== g, o && (this._$AH = t);
|
|
406
|
+
else {
|
|
407
|
+
const a = t;
|
|
408
|
+
let h, d;
|
|
409
|
+
for (t = n[0], h = 0; h < n.length - 1; h++) d = v(this, a[s + h], e, h), d === g && (d = this._$AH[h]), o ||= !w(d) || d !== this._$AH[h], d === c ? t = c : t !== c && (t += (d ?? "") + n[h + 1]), this._$AH[h] = d;
|
|
410
|
+
}
|
|
411
|
+
o && !i && this.j(t);
|
|
412
|
+
}
|
|
413
|
+
j(t) {
|
|
414
|
+
t === c ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
|
|
415
|
+
}
|
|
416
|
+
}
|
|
417
|
+
class vt extends N {
|
|
418
|
+
constructor() {
|
|
419
|
+
super(...arguments), this.type = 3;
|
|
420
|
+
}
|
|
421
|
+
j(t) {
|
|
422
|
+
this.element[this.name] = t === c ? void 0 : t;
|
|
423
|
+
}
|
|
424
|
+
}
|
|
425
|
+
class Et extends N {
|
|
426
|
+
constructor() {
|
|
427
|
+
super(...arguments), this.type = 4;
|
|
428
|
+
}
|
|
429
|
+
j(t) {
|
|
430
|
+
this.element.toggleAttribute(this.name, !!t && t !== c);
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
class bt extends N {
|
|
434
|
+
constructor(t, e, s, i, n) {
|
|
435
|
+
super(t, e, s, i, n), this.type = 5;
|
|
436
|
+
}
|
|
437
|
+
_$AI(t, e = this) {
|
|
438
|
+
if ((t = v(this, t, e, 0) ?? c) === g) return;
|
|
439
|
+
const s = this._$AH, i = t === c && s !== c || t.capture !== s.capture || t.once !== s.once || t.passive !== s.passive, n = t !== c && (s === c || i);
|
|
440
|
+
i && this.element.removeEventListener(this.name, this, s), n && this.element.addEventListener(this.name, this, t), this._$AH = t;
|
|
441
|
+
}
|
|
442
|
+
handleEvent(t) {
|
|
443
|
+
typeof this._$AH == "function" ? this._$AH.call(this.options?.host ?? this.element, t) : this._$AH.handleEvent(t);
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
class St {
|
|
447
|
+
constructor(t, e, s) {
|
|
448
|
+
this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = s;
|
|
449
|
+
}
|
|
450
|
+
get _$AU() {
|
|
451
|
+
return this._$AM._$AU;
|
|
452
|
+
}
|
|
453
|
+
_$AI(t) {
|
|
454
|
+
v(this, t);
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
const wt = L.litHtmlPolyfillSupport;
|
|
458
|
+
wt?.(C, P), (L.litHtmlVersions ??= []).push("3.3.2");
|
|
459
|
+
const Ct = (r, t, e) => {
|
|
460
|
+
const s = e?.renderBefore ?? t;
|
|
461
|
+
let i = s._$litPart$;
|
|
462
|
+
if (i === void 0) {
|
|
463
|
+
const n = e?.renderBefore ?? null;
|
|
464
|
+
s._$litPart$ = i = new P(t.insertBefore(S(), n), n, void 0, e ?? {});
|
|
465
|
+
}
|
|
466
|
+
return i._$AI(r), i;
|
|
467
|
+
};
|
|
468
|
+
const I = globalThis;
|
|
469
|
+
let O = class extends m {
|
|
470
|
+
constructor() {
|
|
471
|
+
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
|
472
|
+
}
|
|
473
|
+
createRenderRoot() {
|
|
474
|
+
const t = super.createRenderRoot();
|
|
475
|
+
return this.renderOptions.renderBefore ??= t.firstChild, t;
|
|
476
|
+
}
|
|
477
|
+
update(t) {
|
|
478
|
+
const e = this.render();
|
|
479
|
+
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = Ct(e, this.renderRoot, this.renderOptions);
|
|
480
|
+
}
|
|
481
|
+
connectedCallback() {
|
|
482
|
+
super.connectedCallback(), this._$Do?.setConnected(!0);
|
|
483
|
+
}
|
|
484
|
+
disconnectedCallback() {
|
|
485
|
+
super.disconnectedCallback(), this._$Do?.setConnected(!1);
|
|
486
|
+
}
|
|
487
|
+
render() {
|
|
488
|
+
return g;
|
|
489
|
+
}
|
|
490
|
+
};
|
|
491
|
+
O._$litElement$ = !0, O.finalized = !0, I.litElementHydrateSupport?.({ LitElement: O });
|
|
492
|
+
const Pt = I.litElementPolyfillSupport;
|
|
493
|
+
Pt?.({ LitElement: O });
|
|
494
|
+
(I.litElementVersions ??= []).push("4.2.2");
|
|
495
|
+
const Ut = { attribute: !0, type: String, converter: M, reflect: !1, hasChanged: k }, xt = (r = Ut, t, e) => {
|
|
496
|
+
const { kind: s, metadata: i } = e;
|
|
497
|
+
let n = globalThis.litPropertyMetadata.get(i);
|
|
498
|
+
if (n === void 0 && globalThis.litPropertyMetadata.set(i, n = /* @__PURE__ */ new Map()), s === "setter" && ((r = Object.create(r)).wrapped = !0), n.set(e.name, r), s === "accessor") {
|
|
499
|
+
const { name: o } = e;
|
|
500
|
+
return { set(a) {
|
|
501
|
+
const h = t.get.call(this);
|
|
502
|
+
t.set.call(this, a), this.requestUpdate(o, h, r, !0, a);
|
|
503
|
+
}, init(a) {
|
|
504
|
+
return a !== void 0 && this.C(o, void 0, r, a), a;
|
|
505
|
+
} };
|
|
506
|
+
}
|
|
507
|
+
if (s === "setter") {
|
|
508
|
+
const { name: o } = e;
|
|
509
|
+
return function(a) {
|
|
510
|
+
const h = this[o];
|
|
511
|
+
t.call(this, a), this.requestUpdate(o, h, r, !0, a);
|
|
512
|
+
};
|
|
513
|
+
}
|
|
514
|
+
throw Error("Unsupported decorator location: " + s);
|
|
515
|
+
};
|
|
516
|
+
function Ot(r) {
|
|
517
|
+
return (t, e) => typeof e == "object" ? xt(r, t, e) : ((s, i, n) => {
|
|
518
|
+
const o = i.hasOwnProperty(n);
|
|
519
|
+
return i.constructor.createProperty(n, s), o ? Object.getOwnPropertyDescriptor(i, n) : void 0;
|
|
520
|
+
})(r, t, e);
|
|
521
|
+
}
|
|
522
|
+
function Lt(r) {
|
|
523
|
+
return Ot({ ...r, state: !0, attribute: !1 });
|
|
524
|
+
}
|
|
525
|
+
const rt = (r, t, e) => (e.configurable = !0, e.enumerable = !0, Reflect.decorate && typeof t != "object" && Object.defineProperty(r, t, e), e);
|
|
526
|
+
function zt(r, t) {
|
|
527
|
+
return (e, s, i) => {
|
|
528
|
+
const n = (o) => o.renderRoot?.querySelector(r) ?? null;
|
|
529
|
+
return rt(e, s, { get() {
|
|
530
|
+
return n(this);
|
|
531
|
+
} });
|
|
532
|
+
};
|
|
533
|
+
}
|
|
534
|
+
let Mt;
|
|
535
|
+
function It(r) {
|
|
536
|
+
return (t, e) => rt(t, e, { get() {
|
|
537
|
+
return (this.renderRoot ?? (Mt ??= document.createDocumentFragment())).querySelectorAll(r);
|
|
538
|
+
} });
|
|
539
|
+
}
|
|
540
|
+
const Bt = (r) => r ?? c;
|
|
541
|
+
const Ht = { CHILD: 2 }, Tt = (r) => (...t) => ({ _$litDirective$: r, values: t });
|
|
542
|
+
class Nt {
|
|
543
|
+
constructor(t) {
|
|
544
|
+
}
|
|
545
|
+
get _$AU() {
|
|
546
|
+
return this._$AM._$AU;
|
|
547
|
+
}
|
|
548
|
+
_$AT(t, e, s) {
|
|
549
|
+
this._$Ct = t, this._$AM = e, this._$Ci = s;
|
|
550
|
+
}
|
|
551
|
+
_$AS(t, e) {
|
|
552
|
+
return this.update(t, e);
|
|
553
|
+
}
|
|
554
|
+
update(t, e) {
|
|
555
|
+
return this.render(...e);
|
|
556
|
+
}
|
|
557
|
+
}
|
|
558
|
+
class D extends Nt {
|
|
559
|
+
constructor(t) {
|
|
560
|
+
if (super(t), this.it = c, t.type !== Ht.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
|
|
561
|
+
}
|
|
562
|
+
render(t) {
|
|
563
|
+
if (t === c || t == null) return this._t = void 0, this.it = t;
|
|
564
|
+
if (t === g) return t;
|
|
565
|
+
if (typeof t != "string") throw Error(this.constructor.directiveName + "() called with a non-string value");
|
|
566
|
+
if (t === this.it) return this._t;
|
|
567
|
+
this.it = t;
|
|
568
|
+
const e = [t];
|
|
569
|
+
return e.raw = e, this._t = { _$litType$: this.constructor.resultType, strings: e, values: [] };
|
|
570
|
+
}
|
|
571
|
+
}
|
|
572
|
+
D.directiveName = "unsafeHTML", D.resultType = 1;
|
|
573
|
+
const qt = Tt(D);
|
|
574
|
+
export {
|
|
575
|
+
c as A,
|
|
576
|
+
qt as a,
|
|
577
|
+
jt as b,
|
|
578
|
+
Lt as c,
|
|
579
|
+
It as d,
|
|
580
|
+
zt as e,
|
|
581
|
+
O as i,
|
|
582
|
+
Ot as n,
|
|
583
|
+
Bt as o,
|
|
584
|
+
ot as r
|
|
585
|
+
};
|