scb-wc 0.1.2 → 0.1.4
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/README.md +194 -164
- package/all.js +91 -5
- package/blazor/CustomEvents.cs +83 -0
- package/blazor/ScbBlazorInteropBase.cs +4460 -1663
- package/blazor/scb-blazor-bridge.js +6827 -2517
- package/blazor/wrappers/ScbAccordion.razor +50 -0
- package/blazor/wrappers/ScbAppBar.razor +95 -0
- package/blazor/wrappers/ScbBreadcrumb.razor +59 -0
- package/blazor/wrappers/ScbCalendar.razor +100 -0
- package/blazor/wrappers/ScbCalendarCard.razor +189 -0
- package/blazor/wrappers/ScbCheckbox.razor +92 -0
- package/blazor/wrappers/ScbCollapse.razor +76 -0
- package/blazor/wrappers/ScbCookiesConsent.razor +106 -0
- package/blazor/wrappers/ScbDatepicker.razor +77 -0
- package/blazor/wrappers/ScbDialog.razor +72 -0
- package/blazor/wrappers/ScbDrawer.razor +64 -0
- package/blazor/wrappers/ScbDropZone.razor +168 -0
- package/blazor/wrappers/ScbDropdown.razor +76 -0
- package/blazor/wrappers/ScbHorizontalScroller.razor +137 -0
- package/blazor/wrappers/ScbList.razor +77 -0
- package/blazor/wrappers/ScbMenu.razor +71 -0
- package/blazor/wrappers/ScbNav.razor +92 -0
- package/blazor/wrappers/ScbNotificationCard.razor +122 -0
- package/blazor/wrappers/ScbOptionsMenu.razor +88 -0
- package/blazor/wrappers/ScbPagination.razor +80 -0
- package/blazor/wrappers/ScbRadioGroup.razor +94 -0
- package/blazor/wrappers/ScbSearch.razor +83 -0
- package/blazor/wrappers/ScbSegmentedButton.razor +85 -0
- package/blazor/wrappers/ScbSelect.razor +79 -0
- package/blazor/wrappers/ScbSlider.razor +96 -0
- package/blazor/wrappers/ScbSnackbar.razor +93 -0
- package/blazor/wrappers/ScbSwitch.razor +92 -0
- package/blazor/wrappers/ScbTable.razor +67 -0
- package/blazor/wrappers/ScbTableAdvanced.razor +78 -0
- package/blazor/wrappers/ScbTabs.razor +55 -0
- package/blazor/wrappers/ScbTextfield.razor +104 -0
- package/blazor/wrappers/ScbTooltip.razor +88 -0
- package/blazor/wrappers/ScbViz.razor +142 -0
- package/demo-data-preview.svg +12 -0
- package/dummy.png +0 -0
- package/fonts/inter/files/inter-latin-wght-italic.woff2 +0 -0
- package/fonts/inter/files/inter-latin-wght-normal.woff2 +0 -0
- package/fonts/material-symbols-outlined/files/material-symbols-outlined-latin-wght-normal.woff2 +0 -0
- package/index.js +91 -1
- package/mvc/components/all.js +90 -1
- package/mvc/components/scb-accordion/scb-accordion-item.js +211 -0
- package/mvc/components/scb-accordion/scb-accordion.js +44 -0
- package/mvc/components/scb-app-bar/scb-app-bar.js +166 -0
- package/mvc/components/scb-avatar/scb-avatar.js +111 -0
- package/mvc/components/scb-badge/scb-badge.js +80 -0
- package/mvc/components/scb-breadcrumb/scb-breadcrumb-item.js +14 -0
- package/mvc/components/scb-breadcrumb/scb-breadcrumb.js +96 -0
- package/mvc/components/scb-button/scb-button.js +268 -0
- package/mvc/components/scb-calendar/scb-calendar-event.js +6 -0
- package/mvc/components/scb-calendar/scb-calendar.js +168 -0
- package/mvc/components/scb-calendar-card/scb-calendar-card.js +346 -0
- package/mvc/components/scb-card/scb-card.js +761 -0
- package/mvc/components/scb-checkbox/scb-checkbox-group.js +33 -0
- package/mvc/components/scb-checkbox/scb-checkbox.js +140 -0
- package/mvc/components/scb-chevron/scb-chevron.js +121 -0
- package/mvc/components/scb-chip/scb-chip.js +66 -0
- package/mvc/components/scb-collapse/scb-collapse.js +89 -0
- package/mvc/components/scb-cookies-consent/scb-cookies-consent.js +78 -0
- package/mvc/components/scb-datepicker/scb-datepicker.js +296 -0
- package/mvc/components/scb-dialog/scb-dialog.js +265 -0
- package/mvc/components/scb-divider/scb-divider.js +69 -0
- package/mvc/components/scb-drawer/scb-drawer.js +128 -0
- package/mvc/components/scb-drop-zone/scb-drop-zone.js +555 -0
- package/mvc/components/scb-dropdown/scb-dropdown.js +306 -0
- package/mvc/components/scb-fab/scb-fab.js +108 -0
- package/mvc/components/scb-fact-card/scb-fact-card-content.js +46 -0
- package/mvc/components/scb-fact-card/scb-fact-card.js +226 -0
- package/mvc/components/scb-footer/scb-footer-section.js +3 -0
- package/mvc/components/scb-footer/scb-footer.js +210 -0
- package/mvc/components/scb-gallery-grid/scb-gallery-grid.js +131 -0
- package/mvc/components/scb-grid/scb-grid-item.js +11 -0
- package/mvc/components/scb-grid/scb-grid.js +98 -0
- package/mvc/components/scb-grid/scb-stack.js +33 -0
- package/mvc/components/scb-header/scb-header-menu-group.js +1 -0
- package/mvc/components/scb-header/scb-header-menu-item.js +5 -0
- package/mvc/components/scb-header/scb-header-tab.js +5 -0
- package/mvc/components/scb-header/scb-header-utility.js +1 -0
- package/mvc/components/scb-header/scb-header.js +681 -0
- package/mvc/components/scb-horizontal-scroller/scb-horizontal-scroller.js +196 -0
- package/mvc/components/scb-icon-button/scb-icon-button.js +171 -0
- package/mvc/components/scb-keyfigure-card/scb-keyfigure-card.js +212 -0
- package/mvc/components/scb-link/scb-link.js +61 -0
- package/mvc/components/scb-list/scb-list-item.js +153 -0
- package/mvc/components/scb-list/scb-list.js +26 -0
- package/mvc/components/scb-menu/scb-menu-item.js +205 -0
- package/mvc/components/scb-menu/scb-menu-section.js +42 -0
- package/mvc/components/scb-menu/scb-menu.js +81 -0
- package/mvc/components/scb-menu/scb-sub-menu.js +10 -0
- package/mvc/components/scb-nav/scb-nav-item.js +28 -0
- package/mvc/components/scb-nav/scb-nav.js +104 -0
- package/mvc/components/scb-notification-card/scb-notification-card.js +358 -0
- package/mvc/components/scb-options-menu/scb-options-menu-item.js +66 -0
- package/mvc/components/scb-options-menu/scb-options-menu.js +88 -0
- package/mvc/components/scb-options-menu/scb-options-sub-menu.js +34 -0
- package/mvc/components/scb-overlay/scb-overlay.js +49 -0
- package/mvc/components/scb-pagination/scb-pagination.js +312 -0
- package/mvc/components/scb-progress-indicator/scb-progress-indicator.js +87 -0
- package/mvc/components/scb-progress-stepper/scb-progress-step.js +147 -0
- package/mvc/components/scb-progress-stepper/scb-progress-stepper.js +62 -0
- package/mvc/components/scb-radio-button/scb-radio-button.js +132 -0
- package/mvc/components/scb-radio-button/scb-radio-group.js +43 -0
- package/mvc/components/scb-scrollspy/scb-scrollspy.js +79 -0
- package/mvc/components/scb-search/scb-search.js +292 -0
- package/mvc/components/scb-segmented-button/scb-segmented-button.js +32 -0
- package/mvc/components/scb-segmented-button/scb-segmented-item.js +74 -0
- package/mvc/components/scb-select/scb-select-option.js +61 -0
- package/mvc/components/scb-select/scb-select.js +284 -0
- package/mvc/components/scb-skeleton/scb-skeleton.js +38 -0
- package/mvc/components/scb-slider/scb-slider.js +27 -0
- package/mvc/components/scb-snackbar/scb-snackbar.js +128 -0
- package/mvc/components/scb-status-pill/scb-status-pill.js +45 -0
- package/mvc/components/scb-stepper/scb-step.js +239 -0
- package/mvc/components/scb-stepper/scb-stepper.js +139 -0
- package/mvc/components/scb-switch/scb-switch.js +59 -0
- package/mvc/components/scb-table/scb-table.js +51 -0
- package/mvc/components/scb-table-advanced/scb-table-advanced.js +76 -0
- package/mvc/components/scb-tabs/scb-primary-tab.js +6 -0
- package/mvc/components/scb-tabs/scb-secondary-tab.js +6 -0
- package/mvc/components/scb-tabs/scb-tabs.js +28 -0
- package/mvc/components/scb-textfield/scb-textfield.js +595 -0
- package/mvc/components/scb-toc/scb-toc-item.js +303 -0
- package/mvc/components/scb-toc/scb-toc.js +19 -0
- package/mvc/components/scb-tooltip/scb-tooltip.js +196 -0
- package/mvc/components/scb-vignette/scb-vignette.js +37 -0
- package/mvc/components/scb-viz/scb-viz-actions-runtime.js +2 -0
- package/mvc/components/scb-viz/scb-viz-print-runtime.js +98 -0
- package/mvc/components/scb-viz/scb-viz-series-differentiation-registry.js +1 -0
- package/mvc/components/scb-viz/scb-viz-series-differentiation-runtime.js +1 -0
- package/mvc/components/scb-viz/scb-viz-table-runtime.js +1 -0
- package/mvc/components/scb-viz/scb-viz.js +1140 -0
- package/mvc/fonts/inter/files/inter-latin-wght-italic.woff2 +0 -0
- package/mvc/fonts/inter/files/inter-latin-wght-normal.woff2 +0 -0
- package/mvc/fonts/material-symbols-outlined/files/material-symbols-outlined-latin-wght-normal.woff2 +0 -0
- package/mvc/scb-blazor-bridge.js +6827 -2517
- package/mvc/scb-logo.svg +20 -20
- package/mvc/scb-typography.css +1 -1
- package/mvc/scb-wc.css +3 -2
- package/mvc/scb.svg +13 -13
- package/mvc/vendor/assertClassBrand.js +1 -0
- package/mvc/vendor/classPrivateFieldGet2.js +1 -0
- package/mvc/vendor/decorate.js +1 -0
- package/mvc/vendor/preload-helper.js +1 -0
- package/mvc/vendor/vendor-lit.js +1 -0
- package/mvc/vendor/vendor-material.js +364 -0
- package/mvc/vendor/vendor.js +4 -0
- package/package.json +420 -77
- package/scb-accordion/scb-accordion-item.js +340 -0
- package/scb-accordion/scb-accordion.js +151 -0
- package/scb-app-bar/scb-app-bar.js +317 -0
- package/scb-avatar/scb-avatar.js +197 -0
- package/scb-badge/scb-badge.js +165 -0
- package/scb-breadcrumb/scb-breadcrumb-item.js +62 -0
- package/scb-breadcrumb/scb-breadcrumb.js +255 -0
- package/scb-button/scb-button.js +398 -0
- package/scb-calendar/scb-calendar-event.js +48 -0
- package/scb-calendar/scb-calendar.js +700 -0
- package/scb-calendar-card/scb-calendar-card.js +505 -0
- package/scb-card/scb-card.js +1231 -0
- package/scb-checkbox/scb-checkbox-group.js +104 -0
- package/scb-checkbox/scb-checkbox.js +316 -0
- package/scb-chevron/scb-chevron.js +144 -0
- package/scb-chip/scb-chip.js +234 -0
- package/scb-collapse/scb-collapse.js +231 -0
- package/scb-cookies-consent/scb-cookies-consent.js +164 -0
- package/scb-datepicker/scb-datepicker.js +470 -0
- package/scb-dialog/scb-dialog.js +574 -0
- package/scb-divider/scb-divider.js +119 -0
- package/scb-drawer/scb-drawer.js +297 -0
- package/scb-drop-zone/scb-drop-zone.js +965 -0
- package/scb-dropdown/scb-dropdown.js +598 -0
- package/scb-fab/scb-fab.js +190 -0
- package/scb-fact-card/scb-fact-card-content.js +82 -0
- package/scb-fact-card/scb-fact-card.js +376 -0
- package/scb-footer/scb-footer-section.js +23 -0
- package/scb-footer/scb-footer.js +343 -0
- package/scb-gallery-grid/scb-gallery-grid.js +242 -0
- package/scb-grid/scb-grid-item.js +81 -0
- package/scb-grid/scb-grid.js +200 -0
- package/scb-grid/scb-stack.js +120 -0
- package/scb-header/scb-header-menu-group.js +21 -0
- package/scb-header/scb-header-menu-item.js +22 -0
- package/scb-header/scb-header-tab.js +25 -0
- package/scb-header/scb-header-utility.js +27 -0
- package/scb-header/scb-header.js +1358 -0
- package/scb-horizontal-scroller/scb-horizontal-scroller.js +353 -0
- package/scb-icon-button/scb-icon-button.js +335 -0
- package/scb-keyfigure-card/scb-keyfigure-card.js +340 -0
- package/scb-link/scb-link.js +136 -0
- package/scb-list/scb-list-item.js +297 -0
- package/scb-list/scb-list.js +119 -0
- package/scb-menu/scb-menu-item.js +330 -0
- package/scb-menu/scb-menu-section.js +60 -0
- package/scb-menu/scb-menu.js +154 -0
- package/scb-menu/scb-sub-menu.js +36 -0
- package/scb-nav/scb-nav-item.js +96 -0
- package/scb-nav/scb-nav.js +263 -0
- package/scb-notification-card/scb-notification-card.js +479 -0
- package/scb-options-menu/scb-options-menu-item.js +218 -0
- package/scb-options-menu/scb-options-menu.js +237 -0
- package/scb-options-menu/scb-options-sub-menu.js +69 -0
- package/scb-overlay/scb-overlay.js +144 -0
- package/scb-pagination/scb-pagination.js +438 -0
- package/scb-progress-indicator/scb-progress-indicator.js +199 -0
- package/scb-progress-stepper/scb-progress-step.js +213 -0
- package/scb-progress-stepper/scb-progress-stepper.js +132 -0
- package/scb-radio-button/scb-radio-button.js +249 -0
- package/scb-radio-button/scb-radio-group.js +216 -0
- package/scb-scrollspy/scb-scrollspy.js +670 -0
- package/scb-search/scb-search.js +643 -0
- package/scb-segmented-button/scb-segmented-button.js +215 -0
- package/scb-segmented-button/scb-segmented-item.js +133 -0
- package/scb-select/scb-select-option.js +88 -0
- package/scb-select/scb-select.js +517 -0
- package/scb-skeleton/scb-skeleton.js +92 -0
- package/scb-slider/scb-slider.js +98 -0
- package/scb-snackbar/scb-snackbar.js +223 -0
- package/scb-status-pill/scb-status-pill.js +100 -0
- package/scb-stepper/scb-step.js +311 -0
- package/scb-stepper/scb-stepper.js +325 -0
- package/scb-switch/scb-switch.js +182 -0
- package/scb-table/scb-table.js +202 -0
- package/scb-table-advanced/scb-table-advanced.js +327 -0
- package/scb-tabs/scb-primary-tab.js +68 -0
- package/scb-tabs/scb-secondary-tab.js +68 -0
- package/scb-tabs/scb-tabs.js +100 -0
- package/scb-test-components/index.d.ts +90 -0
- package/scb-test-components/scb-accordion/scb-accordion-item.d.ts +39 -0
- package/scb-test-components/scb-accordion/scb-accordion.d.ts +27 -0
- package/scb-test-components/scb-app-bar/scb-app-bar.d.ts +25 -0
- package/scb-test-components/scb-avatar/scb-avatar.d.ts +37 -0
- package/scb-test-components/scb-badge/scb-badge.d.ts +28 -0
- package/scb-test-components/scb-breadcrumb/scb-breadcrumb-item.d.ts +15 -0
- package/scb-test-components/scb-breadcrumb/scb-breadcrumb.d.ts +27 -0
- package/scb-test-components/scb-button/scb-button.d.ts +40 -0
- package/scb-test-components/scb-calendar/scb-calendar-event.d.ts +15 -0
- package/scb-test-components/scb-calendar/scb-calendar.d.ts +77 -0
- package/scb-test-components/scb-calendar-card/scb-calendar-card.d.ts +45 -0
- package/scb-test-components/scb-card/scb-card.d.ts +101 -0
- package/scb-test-components/scb-checkbox/scb-checkbox-group.d.ts +23 -0
- package/scb-test-components/scb-checkbox/scb-checkbox.d.ts +52 -0
- package/scb-test-components/scb-chevron/scb-chevron.d.ts +13 -0
- package/scb-test-components/scb-chip/scb-chip.d.ts +61 -0
- package/scb-test-components/scb-collapse/scb-collapse.d.ts +29 -0
- package/scb-test-components/scb-cookies-consent/scb-cookies-consent.d.ts +23 -0
- package/scb-test-components/scb-datepicker/scb-datepicker.d.ts +39 -0
- package/scb-test-components/scb-dialog/scb-dialog.d.ts +72 -0
- package/scb-test-components/scb-divider/scb-divider.d.ts +34 -0
- package/scb-test-components/scb-drawer/scb-drawer.d.ts +72 -0
- package/scb-test-components/scb-drop-zone/scb-drop-zone.d.ts +143 -0
- package/scb-test-components/scb-dropdown/scb-dropdown.d.ts +70 -0
- package/scb-test-components/scb-fab/scb-fab.d.ts +42 -0
- package/scb-test-components/scb-fact-card/scb-fact-card-content.d.ts +15 -0
- package/scb-test-components/scb-fact-card/scb-fact-card.d.ts +49 -0
- package/scb-test-components/scb-footer/scb-footer-section.d.ts +20 -0
- package/scb-test-components/scb-footer/scb-footer.d.ts +31 -0
- package/scb-test-components/scb-gallery-grid/scb-gallery-grid.d.ts +20 -0
- package/scb-test-components/scb-grid/scb-grid-item.d.ts +32 -0
- package/scb-test-components/scb-grid/scb-grid.d.ts +36 -0
- package/scb-test-components/scb-grid/scb-stack.d.ts +32 -0
- package/scb-test-components/scb-header/scb-header-menu-group.d.ts +12 -0
- package/scb-test-components/scb-header/scb-header-menu-item.d.ts +13 -0
- package/scb-test-components/scb-header/scb-header-tab.d.ts +13 -0
- package/scb-test-components/scb-header/scb-header-utility.d.ts +14 -0
- package/scb-test-components/scb-header/scb-header.d.ts +132 -0
- package/scb-test-components/scb-horizontal-scroller/scb-horizontal-scroller.d.ts +47 -0
- package/scb-test-components/scb-icon-button/scb-icon-button.d.ts +76 -0
- package/scb-test-components/scb-keyfigure-card/scb-keyfigure-card.d.ts +46 -0
- package/scb-test-components/scb-link/scb-link.d.ts +25 -0
- package/scb-test-components/scb-list/scb-list-item.d.ts +38 -0
- package/scb-test-components/scb-list/scb-list.d.ts +26 -0
- package/scb-test-components/scb-menu/scb-menu-item.d.ts +52 -0
- package/scb-test-components/scb-menu/scb-menu-section.d.ts +11 -0
- package/scb-test-components/scb-menu/scb-menu.d.ts +25 -0
- package/scb-test-components/scb-menu/scb-sub-menu.d.ts +14 -0
- package/scb-test-components/scb-nav/scb-nav-item.d.ts +20 -0
- package/scb-test-components/scb-nav/scb-nav.d.ts +50 -0
- package/scb-test-components/scb-notification-card/scb-notification-card.d.ts +46 -0
- package/scb-test-components/scb-options-menu/scb-options-menu-item.d.ts +29 -0
- package/scb-test-components/scb-options-menu/scb-options-menu.d.ts +35 -0
- package/scb-test-components/scb-options-menu/scb-options-sub-menu.d.ts +11 -0
- package/scb-test-components/scb-overlay/scb-overlay.d.ts +24 -0
- package/scb-test-components/scb-pagination/scb-pagination.d.ts +36 -0
- package/scb-test-components/scb-progress-indicator/scb-progress-indicator.d.ts +28 -0
- package/scb-test-components/scb-progress-stepper/scb-progress-step.d.ts +21 -0
- package/scb-test-components/scb-progress-stepper/scb-progress-stepper.d.ts +22 -0
- package/scb-test-components/scb-radio-button/scb-radio-button.d.ts +26 -0
- package/scb-test-components/scb-radio-button/scb-radio-group.d.ts +49 -0
- package/scb-test-components/scb-scrollspy/scb-scrollspy.d.ts +217 -0
- package/scb-test-components/scb-search/scb-search.d.ts +96 -0
- package/scb-test-components/scb-segmented-button/scb-segmented-button.d.ts +80 -0
- package/scb-test-components/scb-segmented-button/scb-segmented-item.d.ts +21 -0
- package/scb-test-components/scb-select/scb-select-option.d.ts +16 -0
- package/scb-test-components/scb-select/scb-select.d.ts +62 -0
- package/scb-test-components/scb-skeleton/scb-skeleton.d.ts +25 -0
- package/scb-test-components/scb-slider/scb-slider.d.ts +28 -0
- package/scb-test-components/scb-snackbar/scb-snackbar.d.ts +24 -0
- package/scb-test-components/scb-status-pill/scb-status-pill.d.ts +22 -0
- package/scb-test-components/scb-stepper/scb-step.d.ts +22 -0
- package/scb-test-components/scb-stepper/scb-stepper.d.ts +47 -0
- package/scb-test-components/scb-switch/scb-switch.d.ts +52 -0
- package/scb-test-components/scb-table/scb-table.d.ts +24 -0
- package/scb-test-components/scb-table-advanced/scb-table-advanced.d.ts +39 -0
- package/scb-test-components/scb-tabs/scb-primary-tab.d.ts +15 -0
- package/scb-test-components/scb-tabs/scb-secondary-tab.d.ts +15 -0
- package/scb-test-components/scb-tabs/scb-tabs.d.ts +21 -0
- package/scb-test-components/scb-textfield/scb-textfield.d.ts +75 -0
- package/scb-test-components/scb-toc/scb-toc-item.d.ts +38 -0
- package/scb-test-components/scb-toc/scb-toc.d.ts +27 -0
- package/scb-test-components/scb-tooltip/scb-tooltip.d.ts +51 -0
- package/scb-test-components/scb-vignette/scb-vignette.d.ts +20 -0
- package/scb-test-components/scb-viz/scb-viz-actions-runtime.d.ts +26 -0
- package/scb-test-components/scb-viz/scb-viz-print-runtime.d.ts +27 -0
- package/scb-test-components/scb-viz/scb-viz-series-differentiation-registry.d.ts +21 -0
- package/scb-test-components/scb-viz/scb-viz-series-differentiation-runtime.d.ts +42 -0
- package/scb-test-components/scb-viz/scb-viz-table-runtime.d.ts +28 -0
- package/scb-test-components/scb-viz/scb-viz.d.ts +207 -0
- package/scb-textfield/scb-textfield.js +827 -0
- package/scb-toc/scb-toc-item.js +477 -0
- package/scb-toc/scb-toc.js +101 -0
- package/scb-tooltip/scb-tooltip.js +402 -0
- package/scb-typography.css +1 -1
- package/scb-vignette/scb-vignette.js +88 -0
- package/scb-viz/scb-viz-actions-runtime.js +143 -0
- package/scb-viz/scb-viz-print-runtime.js +121 -0
- package/scb-viz/scb-viz-series-differentiation-registry.js +117 -0
- package/scb-viz/scb-viz-series-differentiation-runtime.js +126 -0
- package/scb-viz/scb-viz-table-runtime.js +86 -0
- package/scb-viz/scb-viz.js +2195 -0
- package/scb-wc-selfhost.css +29 -0
- package/scb-wc.bundle.js +12893 -1099
- package/scb-wc.css +3 -2
- package/scb-wc.d.ts +180 -0
- package/index.d.ts +0 -0
- package/mvc/components/index.js +0 -1
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { LitElement, TemplateResult, PropertyValues } from 'lit';
|
|
2
|
+
export declare class ScbSearch extends LitElement {
|
|
3
|
+
static formAssociated: boolean;
|
|
4
|
+
private _internals;
|
|
5
|
+
trailingIcon?: string;
|
|
6
|
+
supportingText: string;
|
|
7
|
+
value: string;
|
|
8
|
+
/** Namn för HTML-formulär (hamnar som nyckel i FormData när formuläret skickas) */
|
|
9
|
+
name: string;
|
|
10
|
+
/** Inaktiverat läge; speglas mot inre input och FormData (skickas inte när disabled). */
|
|
11
|
+
disabled: boolean;
|
|
12
|
+
required: boolean;
|
|
13
|
+
/** Aktiverar webbläsarens inbyggda autocompletion i inmatningsfältet. */
|
|
14
|
+
autocomplete: boolean;
|
|
15
|
+
spacing: undefined;
|
|
16
|
+
spacingTop: undefined;
|
|
17
|
+
spacingBottom: undefined;
|
|
18
|
+
spacingLeft: undefined;
|
|
19
|
+
spacingRight: undefined;
|
|
20
|
+
size: 'small' | 'medium' | 'large';
|
|
21
|
+
fullScreen: boolean;
|
|
22
|
+
private _inputFocused;
|
|
23
|
+
private _visibleSuggestions;
|
|
24
|
+
private _activeIndex;
|
|
25
|
+
private _listboxId;
|
|
26
|
+
private _boundNativeKeydown?;
|
|
27
|
+
private _kbMode;
|
|
28
|
+
private _valueOnFocus;
|
|
29
|
+
private _lastChangeValue;
|
|
30
|
+
private _kbShouldShowRing;
|
|
31
|
+
private _onGlobalKeydown;
|
|
32
|
+
private _onGlobalPointerDown;
|
|
33
|
+
private _form;
|
|
34
|
+
private _formResetHandler;
|
|
35
|
+
private _formSubmitHandler;
|
|
36
|
+
private _initialValue;
|
|
37
|
+
private _customValidationMessage;
|
|
38
|
+
constructor();
|
|
39
|
+
static styles: import('lit').CSSResult;
|
|
40
|
+
private _syncDensityForSize;
|
|
41
|
+
connectedCallback(): void;
|
|
42
|
+
disconnectedCallback(): void;
|
|
43
|
+
firstUpdated(): void;
|
|
44
|
+
updated(changed: PropertyValues): void;
|
|
45
|
+
render(): TemplateResult;
|
|
46
|
+
/** Gör så att native formulär kan sätta disabled på kontrollen. */
|
|
47
|
+
formDisabledCallback(disabled: boolean): void;
|
|
48
|
+
private _getValidationMessage;
|
|
49
|
+
private _syncValidity;
|
|
50
|
+
checkValidity(): boolean;
|
|
51
|
+
reportValidity(): boolean;
|
|
52
|
+
setCustomValidity(message: string): void;
|
|
53
|
+
get validity(): ValidityState | undefined;
|
|
54
|
+
get validationMessage(): string;
|
|
55
|
+
get willValidate(): boolean;
|
|
56
|
+
submit(): void;
|
|
57
|
+
private get _hasSuggestions();
|
|
58
|
+
private _onSlotChange;
|
|
59
|
+
private _onInput;
|
|
60
|
+
private _onNativeChange;
|
|
61
|
+
private _onFocus;
|
|
62
|
+
private _onBlur;
|
|
63
|
+
private _updateInputRingVisibility;
|
|
64
|
+
private _handleKey;
|
|
65
|
+
private _clearInput;
|
|
66
|
+
private _filterSuggestions;
|
|
67
|
+
private _inputEl;
|
|
68
|
+
private _listEl;
|
|
69
|
+
private _ringEl;
|
|
70
|
+
private _getVisibleItems;
|
|
71
|
+
private _getActiveItem;
|
|
72
|
+
private _moveActive;
|
|
73
|
+
private _scrollActiveIntoView;
|
|
74
|
+
private _itemPayload;
|
|
75
|
+
private _ensureListboxA11y;
|
|
76
|
+
private _ensureOptionA11y;
|
|
77
|
+
private _updateComboboxA11y;
|
|
78
|
+
private _positionOptionRing;
|
|
79
|
+
private _hideOptionRing;
|
|
80
|
+
private _onWindowResize;
|
|
81
|
+
private _listScrollHandler;
|
|
82
|
+
private _listWithHandler?;
|
|
83
|
+
private _attachListScrollListener;
|
|
84
|
+
private _detachListScrollListener;
|
|
85
|
+
private _dispatchStandardInput;
|
|
86
|
+
private _dispatchStandardChangeIfNeeded;
|
|
87
|
+
private _dispatchSubmit;
|
|
88
|
+
private mapSpacingToken;
|
|
89
|
+
private applySpacing;
|
|
90
|
+
private _syncFormValue;
|
|
91
|
+
}
|
|
92
|
+
declare global {
|
|
93
|
+
interface HTMLElementTagNameMap {
|
|
94
|
+
'scb-search': ScbSearch;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { LitElement, PropertyValues } from 'lit';
|
|
2
|
+
/**
|
|
3
|
+
* En komponent för segmenterade knappar (segmented button).
|
|
4
|
+
*
|
|
5
|
+
* @slot - Plats för knappar eller segment.
|
|
6
|
+
* @fires change - När valt segment ändras (detail: { value } eller { values })
|
|
7
|
+
*/
|
|
8
|
+
export declare class ScbSegmentedButton extends LitElement {
|
|
9
|
+
#private;
|
|
10
|
+
static formAssociated: boolean;
|
|
11
|
+
private _internals;
|
|
12
|
+
/**
|
|
13
|
+
* Variant: 'single-select' (default) eller 'multi-select'.
|
|
14
|
+
*/
|
|
15
|
+
variant: 'single-select' | 'multi-select';
|
|
16
|
+
/**
|
|
17
|
+
* Aktuellt valt värde (single) eller array av värden (multi)
|
|
18
|
+
*/
|
|
19
|
+
value: string;
|
|
20
|
+
values: string[];
|
|
21
|
+
disabled: boolean;
|
|
22
|
+
required: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Namn för HTML-formulär (FormData-nyckel).
|
|
25
|
+
* single-select: FormData.get(name) → string
|
|
26
|
+
* multi-select: FormData.getAll(name) → string[]
|
|
27
|
+
*/
|
|
28
|
+
name: string;
|
|
29
|
+
/**
|
|
30
|
+
* Vertikalt avstånd till omgivande innehåll.
|
|
31
|
+
* "N" (0–14) mappar till var(--spacing-N), annars valfritt CSS-värde.
|
|
32
|
+
*/
|
|
33
|
+
spacing: undefined;
|
|
34
|
+
/** Överkantens avstånd. Om satt går före spacing. 0–14 mappar till var(--spacing-N), annars valfritt CSS-värde. */
|
|
35
|
+
spacingTop: undefined;
|
|
36
|
+
/** Nederkantens avstånd. Om satt går före spacing. 0–14 mappar till var(--spacing-N), annars valfritt CSS-värde. */
|
|
37
|
+
spacingBottom: undefined;
|
|
38
|
+
/** Vänsterkantens avstånd. 0–14 mappar till var(--spacing-N), annars valfritt CSS-värde. */
|
|
39
|
+
spacingLeft: undefined;
|
|
40
|
+
/** Högerkantens avstånd. 0–14 mappar till var(--spacing-N), annars valfritt CSS-värde. */
|
|
41
|
+
spacingRight: undefined;
|
|
42
|
+
private _form;
|
|
43
|
+
private _formResetHandler;
|
|
44
|
+
private _initialValue;
|
|
45
|
+
private _initialValues;
|
|
46
|
+
private _customValidationMessage;
|
|
47
|
+
constructor();
|
|
48
|
+
static styles: import('lit').CSSResult;
|
|
49
|
+
connectedCallback(): void;
|
|
50
|
+
disconnectedCallback(): void;
|
|
51
|
+
firstUpdated(): void;
|
|
52
|
+
updated(changed: PropertyValues): void;
|
|
53
|
+
private onSlotClick;
|
|
54
|
+
private updateSegments;
|
|
55
|
+
/**
|
|
56
|
+
* Gör så att native formulär kan sätta disabled på kontrollen.
|
|
57
|
+
*/
|
|
58
|
+
formDisabledCallback(disabled: boolean): void;
|
|
59
|
+
private _getValidationMessage;
|
|
60
|
+
private _syncValidity;
|
|
61
|
+
checkValidity(): boolean;
|
|
62
|
+
reportValidity(): boolean;
|
|
63
|
+
setCustomValidity(message: string): void;
|
|
64
|
+
get validity(): ValidityState | undefined;
|
|
65
|
+
get validationMessage(): string;
|
|
66
|
+
get willValidate(): boolean;
|
|
67
|
+
/**
|
|
68
|
+
* Synkar value/values → FormData via ElementInternals.
|
|
69
|
+
* single-select: FormData.get(name) → string
|
|
70
|
+
* multi-select: FormData.getAll(name) → string[]
|
|
71
|
+
*/
|
|
72
|
+
private _syncFormValue;
|
|
73
|
+
private mapSpacingToken;
|
|
74
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
75
|
+
}
|
|
76
|
+
declare global {
|
|
77
|
+
interface HTMLElementTagNameMap {
|
|
78
|
+
'scb-segmented-button': ScbSegmentedButton;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { LitElement, PropertyValues } from 'lit';
|
|
2
|
+
/**
|
|
3
|
+
* Ett segment (option) i en segmented button.
|
|
4
|
+
* @slot - Label och ev. ikon
|
|
5
|
+
*/
|
|
6
|
+
export declare class ScbSegmentedItem extends LitElement {
|
|
7
|
+
label: string;
|
|
8
|
+
value: string;
|
|
9
|
+
selected: boolean;
|
|
10
|
+
icon: string;
|
|
11
|
+
href: string;
|
|
12
|
+
disabled: boolean;
|
|
13
|
+
private get isEffectivelyDisabled();
|
|
14
|
+
private onHostKeydown;
|
|
15
|
+
static styles: import('lit').CSSResult;
|
|
16
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
17
|
+
private updateInteractiveAttributes;
|
|
18
|
+
firstUpdated(): void;
|
|
19
|
+
disconnectedCallback(): void;
|
|
20
|
+
protected updated(changed: PropertyValues): void;
|
|
21
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
/**
|
|
3
|
+
* Option-element för scb-select.
|
|
4
|
+
* @slot - Texten som visas i optionen
|
|
5
|
+
*/
|
|
6
|
+
export declare class ScbSelectOption extends LitElement {
|
|
7
|
+
value: string;
|
|
8
|
+
disabled: boolean;
|
|
9
|
+
showCheckbox: boolean;
|
|
10
|
+
checked: boolean;
|
|
11
|
+
showRadio: boolean;
|
|
12
|
+
label: string;
|
|
13
|
+
noHighlightSelected: boolean;
|
|
14
|
+
static styles: import('lit').CSSResult;
|
|
15
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { LitElement, PropertyValues } from 'lit';
|
|
2
|
+
export declare class ScbSelect extends LitElement {
|
|
3
|
+
private _optionsObserver;
|
|
4
|
+
static formAssociated: boolean;
|
|
5
|
+
private _internals;
|
|
6
|
+
constructor();
|
|
7
|
+
focusedIndex: number;
|
|
8
|
+
variant: 'single-select' | 'multi-select';
|
|
9
|
+
value: string;
|
|
10
|
+
values: string[];
|
|
11
|
+
disabled: boolean;
|
|
12
|
+
required: boolean;
|
|
13
|
+
open: boolean;
|
|
14
|
+
label: string;
|
|
15
|
+
name: string;
|
|
16
|
+
placeholder: string;
|
|
17
|
+
supportingText: string;
|
|
18
|
+
withRadiobuttons: boolean;
|
|
19
|
+
noHighlightSelected: boolean;
|
|
20
|
+
size: 'extra-small' | 'small' | 'medium' | 'large';
|
|
21
|
+
spacing: undefined;
|
|
22
|
+
spacingTop: undefined;
|
|
23
|
+
spacingBottom: undefined;
|
|
24
|
+
spacingLeft: undefined;
|
|
25
|
+
spacingRight: undefined;
|
|
26
|
+
zIndex: undefined;
|
|
27
|
+
private _form;
|
|
28
|
+
private _formResetHandler;
|
|
29
|
+
private _formSubmitHandler;
|
|
30
|
+
private _initialValue;
|
|
31
|
+
private _initialValues;
|
|
32
|
+
private _customValidationMessage;
|
|
33
|
+
private _syncDensityForSize;
|
|
34
|
+
static styles: import('lit').CSSResult;
|
|
35
|
+
connectedCallback(): void;
|
|
36
|
+
disconnectedCallback(): void;
|
|
37
|
+
private _getMultiValues;
|
|
38
|
+
private _mapSpacingToken;
|
|
39
|
+
private _applySpacing;
|
|
40
|
+
private _onDocumentClick;
|
|
41
|
+
private _setOpen;
|
|
42
|
+
private _toggleOpen;
|
|
43
|
+
private _hasMoreThanFourOptions;
|
|
44
|
+
private _selectOption;
|
|
45
|
+
private _onSlotClick;
|
|
46
|
+
private _getSelectedLabel;
|
|
47
|
+
firstUpdated(): void;
|
|
48
|
+
updated(changedProperties: PropertyValues): void;
|
|
49
|
+
private _syncFormValue;
|
|
50
|
+
private _getValidationMessage;
|
|
51
|
+
private _syncValidity;
|
|
52
|
+
checkValidity(): boolean;
|
|
53
|
+
reportValidity(): boolean;
|
|
54
|
+
setCustomValidity(message: string): void;
|
|
55
|
+
get validity(): ValidityState | undefined;
|
|
56
|
+
get validationMessage(): string;
|
|
57
|
+
get willValidate(): boolean;
|
|
58
|
+
private _updateOptionsChecked;
|
|
59
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
60
|
+
private _onKeyDown;
|
|
61
|
+
private _onOptionKeyDown;
|
|
62
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { LitElement, PropertyValues } from 'lit';
|
|
2
|
+
/**
|
|
3
|
+
* Enkel skeleton loader för att visa platshållare vid laddning.
|
|
4
|
+
*
|
|
5
|
+
* @property {number} width - Bredd på skeleton (px eller %)
|
|
6
|
+
* @property {number} height - Höjd på skeleton (px)
|
|
7
|
+
* @property {boolean} circle - Om skeleton ska vara cirkulär
|
|
8
|
+
*/
|
|
9
|
+
export declare class ScbSkeleton extends LitElement {
|
|
10
|
+
variant: 'rectangular' | 'rounded' | 'circular';
|
|
11
|
+
width: string;
|
|
12
|
+
height: string;
|
|
13
|
+
borderSize: 'small' | 'medium' | 'large' | '';
|
|
14
|
+
spacing: undefined;
|
|
15
|
+
spacingTop: undefined;
|
|
16
|
+
spacingBottom: undefined;
|
|
17
|
+
spacingLeft: undefined;
|
|
18
|
+
spacingRight: undefined;
|
|
19
|
+
static styles: import('lit').CSSResult;
|
|
20
|
+
private mapSpacingToken;
|
|
21
|
+
private applySpacing;
|
|
22
|
+
protected firstUpdated(_changed: PropertyValues): void;
|
|
23
|
+
protected updated(changed: PropertyValues): void;
|
|
24
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { LitElement, TemplateResult } from 'lit';
|
|
2
|
+
export declare class ScbSlider extends LitElement {
|
|
3
|
+
ticks: boolean;
|
|
4
|
+
step: number;
|
|
5
|
+
value: number;
|
|
6
|
+
range: boolean;
|
|
7
|
+
valueStart: number;
|
|
8
|
+
valueEnd: number;
|
|
9
|
+
min: number;
|
|
10
|
+
max: number;
|
|
11
|
+
labeled: boolean;
|
|
12
|
+
valueLabel?: string;
|
|
13
|
+
valueLabelStart?: string;
|
|
14
|
+
valueLabelEnd?: string;
|
|
15
|
+
disabled: boolean;
|
|
16
|
+
name: string;
|
|
17
|
+
nameStart?: string;
|
|
18
|
+
nameEnd?: string;
|
|
19
|
+
static styles: import('lit').CSSResult;
|
|
20
|
+
private _onInput;
|
|
21
|
+
private _onChange;
|
|
22
|
+
render(): TemplateResult;
|
|
23
|
+
}
|
|
24
|
+
declare global {
|
|
25
|
+
interface HTMLElementTagNameMap {
|
|
26
|
+
'scb-slider': ScbSlider;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export declare class ScbSnackbar extends LitElement {
|
|
3
|
+
message: string;
|
|
4
|
+
open: boolean;
|
|
5
|
+
actionText: string;
|
|
6
|
+
showClose: boolean;
|
|
7
|
+
fixed: boolean;
|
|
8
|
+
fadeout: boolean;
|
|
9
|
+
withLongerAction: boolean;
|
|
10
|
+
spacing: undefined;
|
|
11
|
+
spacingTop: undefined;
|
|
12
|
+
spacingBottom: undefined;
|
|
13
|
+
spacingLeft: undefined;
|
|
14
|
+
spacingRight: undefined;
|
|
15
|
+
private _fadeoutTimer;
|
|
16
|
+
static styles: import('lit').CSSResult;
|
|
17
|
+
private mapSpacingToken;
|
|
18
|
+
private applySpacing;
|
|
19
|
+
connectedCallback(): void;
|
|
20
|
+
private handleAction;
|
|
21
|
+
private handleClose;
|
|
22
|
+
updated(changedProps: Map<string, unknown>): void;
|
|
23
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { LitElement, PropertyValues } from 'lit';
|
|
2
|
+
export declare class ScbStatusPill extends LitElement {
|
|
3
|
+
status: string;
|
|
4
|
+
label: string;
|
|
5
|
+
showIcon: boolean;
|
|
6
|
+
spacing: undefined;
|
|
7
|
+
spacingTop: undefined;
|
|
8
|
+
spacingBottom: undefined;
|
|
9
|
+
spacingLeft: undefined;
|
|
10
|
+
spacingRight: undefined;
|
|
11
|
+
static styles: import('lit').CSSResult;
|
|
12
|
+
private mapSpacingToken;
|
|
13
|
+
private applySpacing;
|
|
14
|
+
connectedCallback(): void;
|
|
15
|
+
protected updated(changed: PropertyValues): void;
|
|
16
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
17
|
+
}
|
|
18
|
+
declare global {
|
|
19
|
+
interface HTMLElementTagNameMap {
|
|
20
|
+
'scb-status-pill': ScbStatusPill;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
/**
|
|
3
|
+
* Ett steg i en stepper-komponent.
|
|
4
|
+
* @slot - Innehåll för steget
|
|
5
|
+
*/
|
|
6
|
+
export declare class ScbStep extends LitElement {
|
|
7
|
+
label: string;
|
|
8
|
+
subLabel: string;
|
|
9
|
+
symbolVariant: 'number' | 'icon' | 'marker';
|
|
10
|
+
number: number;
|
|
11
|
+
active: boolean;
|
|
12
|
+
completed: boolean;
|
|
13
|
+
changeOnCompleted: boolean;
|
|
14
|
+
islast: boolean;
|
|
15
|
+
variant: 'horizontal' | 'vertical';
|
|
16
|
+
widthWeight: number;
|
|
17
|
+
icon: string;
|
|
18
|
+
static styles: import('lit').CSSResult;
|
|
19
|
+
updated(): void;
|
|
20
|
+
private handleKeyDown;
|
|
21
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { LitElement, PropertyValues } from 'lit';
|
|
2
|
+
/**
|
|
3
|
+
* En stepper-komponent enligt SCB-standard.
|
|
4
|
+
* @slot - Innehåll för stegen
|
|
5
|
+
*/
|
|
6
|
+
export declare class ScbStepper extends LitElement {
|
|
7
|
+
#private;
|
|
8
|
+
type: string;
|
|
9
|
+
label: string;
|
|
10
|
+
changeOnCompleted: boolean;
|
|
11
|
+
variant: 'horizontal' | 'vertical';
|
|
12
|
+
symbolVariant: 'number' | 'icon' | 'marker';
|
|
13
|
+
/**
|
|
14
|
+
* Vertikalt avstånd mot omgivande innehåll.
|
|
15
|
+
* spacing sätter både top och bottom om spacing-top / spacing-bottom inte är satta.
|
|
16
|
+
*/
|
|
17
|
+
spacing: undefined;
|
|
18
|
+
spacingTop: undefined;
|
|
19
|
+
spacingBottom: undefined;
|
|
20
|
+
spacingLeft: undefined;
|
|
21
|
+
spacingRight: undefined;
|
|
22
|
+
activeIndex: number;
|
|
23
|
+
static styles: import('lit').CSSResult;
|
|
24
|
+
private _onStepClick;
|
|
25
|
+
/**
|
|
26
|
+
* Gå till nästa steg programatiskt
|
|
27
|
+
*/
|
|
28
|
+
nextStep(): void;
|
|
29
|
+
/**
|
|
30
|
+
* Gå till föregående steg programatiskt
|
|
31
|
+
*/
|
|
32
|
+
prevStep(): void;
|
|
33
|
+
/**
|
|
34
|
+
* Hämta nuvarande aktiva steg-index
|
|
35
|
+
*/
|
|
36
|
+
getActiveIndex(): number;
|
|
37
|
+
private _updateSteps;
|
|
38
|
+
private _getSteps;
|
|
39
|
+
protected firstUpdated(_changed: PropertyValues): void;
|
|
40
|
+
protected updated(changed: PropertyValues): void;
|
|
41
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
42
|
+
private _onKeyNav;
|
|
43
|
+
private _onStepContainerClick;
|
|
44
|
+
private _onSlotChange;
|
|
45
|
+
connectedCallback(): void;
|
|
46
|
+
disconnectedCallback(): void;
|
|
47
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { LitElement, TemplateResult, PropertyValues } from 'lit';
|
|
2
|
+
export declare class ScbSwitch extends LitElement {
|
|
3
|
+
#private;
|
|
4
|
+
static formAssociated: boolean;
|
|
5
|
+
private _internals;
|
|
6
|
+
constructor();
|
|
7
|
+
label: string;
|
|
8
|
+
ariaLabel: string;
|
|
9
|
+
icons: boolean;
|
|
10
|
+
selected: boolean;
|
|
11
|
+
required: boolean;
|
|
12
|
+
disabled: boolean;
|
|
13
|
+
/** Full-width layout: space-between + width:100% när true */
|
|
14
|
+
fullWidth: boolean;
|
|
15
|
+
/** Vertikalt avstånd ovanför/under komponenten. 0–14 mappar till spacing-tokens, annars CSS-värde. */
|
|
16
|
+
spacing: undefined;
|
|
17
|
+
/** Överkantens avstånd. Om satt går före spacing. 0–14 mappar till spacing-tokens, annars CSS-värde. */
|
|
18
|
+
spacingTop: undefined;
|
|
19
|
+
/** Nederkantens avstånd. Om satt går före spacing. 0–14 mappar till spacing-tokens, annars CSS-värde. */
|
|
20
|
+
spacingBottom: undefined;
|
|
21
|
+
/** Vänsterkantens avstånd. 0–14 mappar till spacing-tokens, annars CSS-värde. */
|
|
22
|
+
spacingLeft: undefined;
|
|
23
|
+
/** Högerkantens avstånd. 0–14 mappar till spacing-tokens, annars CSS-värde. */
|
|
24
|
+
spacingRight: undefined;
|
|
25
|
+
name: string;
|
|
26
|
+
value: string;
|
|
27
|
+
private _form;
|
|
28
|
+
private _formResetHandler;
|
|
29
|
+
private _initialSelected;
|
|
30
|
+
private _customValidationMessage;
|
|
31
|
+
connectedCallback(): void;
|
|
32
|
+
disconnectedCallback(): void;
|
|
33
|
+
static styles: import('lit').CSSResult;
|
|
34
|
+
protected firstUpdated(): void;
|
|
35
|
+
protected updated(changed: PropertyValues): void;
|
|
36
|
+
formDisabledCallback(disabled: boolean): void;
|
|
37
|
+
private __getValidationMessage;
|
|
38
|
+
private __syncValidity;
|
|
39
|
+
checkValidity(): boolean;
|
|
40
|
+
reportValidity(): boolean;
|
|
41
|
+
setCustomValidity(message: string): void;
|
|
42
|
+
get validity(): ValidityState | undefined;
|
|
43
|
+
get validationMessage(): string;
|
|
44
|
+
get willValidate(): boolean;
|
|
45
|
+
private __syncFormValue;
|
|
46
|
+
render(): TemplateResult;
|
|
47
|
+
}
|
|
48
|
+
declare global {
|
|
49
|
+
interface HTMLElementTagNameMap {
|
|
50
|
+
'scb-switch': ScbSwitch;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { LitElement, PropertyValues } from 'lit';
|
|
2
|
+
export declare class ScbTable extends LitElement {
|
|
3
|
+
dataSorting: boolean;
|
|
4
|
+
columnWidthMode: 'auto' | 'header';
|
|
5
|
+
private _sortedColumn;
|
|
6
|
+
private _sortDirection;
|
|
7
|
+
private _columnWidthFrame;
|
|
8
|
+
static styles: import('lit').CSSResult;
|
|
9
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
10
|
+
firstUpdated(): void;
|
|
11
|
+
updated(changedProperties: PropertyValues<this>): void;
|
|
12
|
+
disconnectedCallback(): void;
|
|
13
|
+
private _onSlotChange;
|
|
14
|
+
private _getTbody;
|
|
15
|
+
private _getTables;
|
|
16
|
+
private _attachThListeners;
|
|
17
|
+
private _queueColumnWidthUpdate;
|
|
18
|
+
private _applyColumnWidthMode;
|
|
19
|
+
private _applyGeneratedColGroup;
|
|
20
|
+
private _removeGeneratedColGroup;
|
|
21
|
+
private _measureCellContentWidth;
|
|
22
|
+
private _onThClick;
|
|
23
|
+
private _sortTable;
|
|
24
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export declare class ScbTableAdvanced extends LitElement {
|
|
3
|
+
searchTerm: string;
|
|
4
|
+
pagination: boolean;
|
|
5
|
+
filteringSearch: boolean;
|
|
6
|
+
noScroll: boolean;
|
|
7
|
+
pageSize: number;
|
|
8
|
+
currentPage: number;
|
|
9
|
+
totalRows: number;
|
|
10
|
+
private _sortedColumn;
|
|
11
|
+
private _sortDirection;
|
|
12
|
+
private _filteredRows;
|
|
13
|
+
private _tbodyObserver;
|
|
14
|
+
private _observedTbody;
|
|
15
|
+
private _pendingTableRefresh;
|
|
16
|
+
private _suppressTbodyObserver;
|
|
17
|
+
static styles: import('lit').CSSResult;
|
|
18
|
+
disconnectedCallback(): void;
|
|
19
|
+
attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
|
|
20
|
+
render(): import('lit-html').TemplateResult<1>;
|
|
21
|
+
private _onSearchInput;
|
|
22
|
+
private _filterTable;
|
|
23
|
+
firstUpdated(): void;
|
|
24
|
+
updated(changedProperties: Map<string, unknown>): void;
|
|
25
|
+
private _disconnectTbodyObserver;
|
|
26
|
+
private _attachTbodyObserver;
|
|
27
|
+
private _scheduleTableRefresh;
|
|
28
|
+
private _refreshFromTableContent;
|
|
29
|
+
private _ensureCurrentPageWithinBounds;
|
|
30
|
+
private _getTbody;
|
|
31
|
+
private _attachThListeners;
|
|
32
|
+
private _onThClick;
|
|
33
|
+
private _sortTable;
|
|
34
|
+
private _onSlotChange;
|
|
35
|
+
private _updateTotalRows;
|
|
36
|
+
private _paginateTable;
|
|
37
|
+
private _changePage;
|
|
38
|
+
private _onPaginationChange;
|
|
39
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { MdPrimaryTab } from '@material/web/tabs/primary-tab.js';
|
|
2
|
+
import { PropertyValues } from 'lit';
|
|
3
|
+
export declare class ScbPrimaryTab extends MdPrimaryTab {
|
|
4
|
+
connectedCallback(): void;
|
|
5
|
+
private _icon?;
|
|
6
|
+
get icon(): string | undefined;
|
|
7
|
+
set icon(value: string | undefined);
|
|
8
|
+
iconOnly: boolean;
|
|
9
|
+
inlineIcon: boolean;
|
|
10
|
+
protected firstUpdated(changed: PropertyValues): void;
|
|
11
|
+
private _onActivate;
|
|
12
|
+
protected updated(): void;
|
|
13
|
+
static styles: import('lit').CSSResultOrNative[];
|
|
14
|
+
private updateIconSlot;
|
|
15
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { MdSecondaryTab } from '@material/web/tabs/secondary-tab.js';
|
|
2
|
+
import { PropertyValues } from 'lit';
|
|
3
|
+
export declare class ScbSecondaryTab extends MdSecondaryTab {
|
|
4
|
+
/** Semantisk role för en enskild flik */
|
|
5
|
+
connectedCallback(): void;
|
|
6
|
+
private _icon?;
|
|
7
|
+
get icon(): string | undefined;
|
|
8
|
+
set icon(value: string | undefined);
|
|
9
|
+
iconOnly: boolean;
|
|
10
|
+
protected firstUpdated(changed: PropertyValues): void;
|
|
11
|
+
protected updated(): void;
|
|
12
|
+
private _onActivate;
|
|
13
|
+
static styles: import('lit').CSSResultOrNative[];
|
|
14
|
+
private updateIconSlot;
|
|
15
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { MdTabs } from '@material/web/tabs/tabs.js';
|
|
2
|
+
export declare class ScbTabs extends MdTabs {
|
|
3
|
+
#private;
|
|
4
|
+
ariaLabel: string;
|
|
5
|
+
/** Vertikalt avstånd ovanför/under tabs-komponenten. 0–14 mappar till spacing-tokens, annars CSS-värde. */
|
|
6
|
+
spacing: undefined;
|
|
7
|
+
/** Överkantens avstånd. Om satt går före spacing. 0–14 mappar till spacing-tokens, annars CSS-värde. */
|
|
8
|
+
spacingTop: undefined;
|
|
9
|
+
/** Nederkantens avstånd. Om satt går före spacing. 0–14 mappar till spacing-tokens, annars CSS-värde. */
|
|
10
|
+
spacingBottom: undefined;
|
|
11
|
+
/** Vänsterkantens avstånd. 0–14 mappar till spacing-tokens, annars CSS-värde. */
|
|
12
|
+
spacingLeft: undefined;
|
|
13
|
+
/** Högerkantens avstånd. 0–14 mappar till spacing-tokens, annars CSS-värde. */
|
|
14
|
+
spacingRight: undefined;
|
|
15
|
+
private _isDispatching;
|
|
16
|
+
static styles: import('lit').CSSResultOrNative[];
|
|
17
|
+
connectedCallback(): void;
|
|
18
|
+
protected firstUpdated(changedProperties: Map<string, unknown>): void;
|
|
19
|
+
updated(changed: Map<string, unknown>): void;
|
|
20
|
+
private _onChange;
|
|
21
|
+
}
|