@nanoporetech-digital/components 8.0.0-alpha.8 → 8.0.0-alpha.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{algolia-data-Ck3OvAaS.js → algolia-data-CSm7qrG0.js} +1 -1
- package/dist/cjs/{component-store-Cpxjkhrv.js → component-store-Bjf_XOwd.js} +1 -1
- package/dist/cjs/{dom-B0-coRX2.js → dom-DM4lO0bS.js} +1 -1
- package/dist/cjs/{fade-463IMjUb.js → fade-DYt6Phy3.js} +3 -3
- package/dist/cjs/{form-control-OWJOOoxA.js → form-control-BGk1kbyE.js} +1 -1
- package/dist/cjs/{fullscreen-0yMY8mhF.js → fullscreen-B0RzdP3s.js} +3 -3
- package/dist/cjs/{index-ZOnWVzxx.js → index-DMCNW34o.js} +1 -1
- package/dist/cjs/{index-BlC8UV0T.js → index-trCnMfo7.js} +1 -1
- package/dist/cjs/index.cjs.js +3 -3
- package/dist/cjs/{lazyload-CnQrwJrf.js → lazyload-DzKvneFi.js} +3 -3
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{modal-DTqHsNdW.js → modal-Ca7dG1up.js} +1 -1
- package/dist/cjs/nano-accordion.cjs.entry.js +3 -3
- package/dist/cjs/nano-alert.cjs.entry.js +7 -7
- package/dist/cjs/nano-algolia-filter.cjs.entry.js +4 -4
- package/dist/cjs/nano-algolia-pagination.cjs.entry.js +2 -2
- package/dist/cjs/nano-algolia-results.cjs.entry.js +3 -3
- package/dist/cjs/nano-algolia.cjs.entry.js +6 -6
- package/dist/cjs/nano-animation.cjs.entry.js +2 -2
- package/dist/cjs/nano-avatar_5.cjs.entry.js +17 -17
- package/dist/cjs/nano-breadcrumb.cjs.entry.js +42 -9
- package/dist/cjs/nano-card-carousel.cjs.entry.js +2 -2
- package/dist/cjs/nano-card.cjs.entry.js +1 -1
- package/dist/cjs/nano-checkbox-group.cjs.entry.js +2 -2
- package/dist/cjs/nano-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/nano-collapsible-comparison.cjs.entry.js +2 -2
- package/dist/cjs/nano-components.cjs.js +3 -3
- package/dist/cjs/nano-content-links.cjs.entry.js +1 -1
- package/dist/cjs/nano-cta.cjs.entry.js +1 -1
- package/dist/cjs/{nano-data-table-fppjZGKo.js → nano-data-table-zUnFb2XO.js} +5 -5
- package/dist/cjs/nano-data-table.cjs.entry.js +6 -6
- package/dist/cjs/nano-datalist_3.cjs.entry.js +15 -15
- package/dist/cjs/nano-date-input.cjs.entry.js +6 -6
- package/dist/cjs/nano-date-picker_2.cjs.entry.js +4 -4
- package/dist/cjs/nano-details.cjs.entry.js +3 -3
- package/dist/cjs/nano-dialog.cjs.entry.js +8 -8
- package/dist/cjs/nano-dropdown_2.cjs.entry.js +5 -5
- package/dist/cjs/nano-feature-box.cjs.entry.js +1 -1
- package/dist/cjs/nano-field-validator.cjs.entry.js +3 -3
- package/dist/cjs/nano-file-upload.cjs.entry.js +2 -2
- package/dist/cjs/nano-footer.cjs.entry.js +2 -2
- package/dist/cjs/nano-global-nav.cjs.entry.js +20 -12
- package/dist/cjs/nano-grid-item.cjs.entry.js +1 -1
- package/dist/cjs/nano-grid_2.cjs.entry.js +3 -3
- package/dist/cjs/nano-hero.cjs.entry.js +2 -2
- package/dist/cjs/nano-icon-item.cjs.entry.js +1 -1
- package/dist/cjs/nano-icon_3.cjs.entry.js +4 -4
- package/dist/cjs/nano-in-page-nav.cjs.entry.js +14 -8
- package/dist/cjs/nano-intersection-observe.cjs.entry.js +4 -4
- package/dist/cjs/nano-masked-overflow.cjs.entry.js +4 -4
- package/dist/cjs/nano-menu-drawer.cjs.entry.js +63 -99
- package/dist/cjs/nano-more-less.cjs.entry.js +4 -4
- package/dist/cjs/nano-nav-item.cjs.entry.js +12 -16
- package/dist/cjs/nano-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/nano-range.cjs.entry.js +2 -2
- package/dist/cjs/nano-rating.cjs.entry.js +6 -6
- package/dist/cjs/nano-resize-observe.cjs.entry.js +43 -34
- package/dist/cjs/nano-slide.cjs.entry.js +3 -3
- package/dist/cjs/{nano-slides-BxtmLUSX.js → nano-slides-C3CzGlwK.js} +9 -9
- package/dist/cjs/nano-slides.cjs.entry.js +3 -3
- package/dist/cjs/nano-sortable.cjs.entry.js +3 -3
- package/dist/cjs/nano-spinner.cjs.entry.js +1 -1
- package/dist/cjs/nano-split-pane.cjs.entry.js +2 -2
- package/dist/cjs/nano-sticker.cjs.entry.js +6 -6
- package/dist/cjs/nano-tab-content.cjs.entry.js +4 -4
- package/dist/cjs/nano-tab-group.cjs.entry.js +4 -4
- package/dist/cjs/nano-tab.cjs.entry.js +4 -4
- package/dist/cjs/nano-table.cjs.entry.js +4 -4
- package/dist/cjs/{page-dots-B2slCN6O.js → page-dots-Cpgo_xGE.js} +3 -3
- package/dist/cjs/{renderer-BjTjwe8d.js → renderer-W7BRtd3i.js} +1 -1
- package/dist/cjs/{scroll-CtgMHKrt.js → scroll-33Y1FRj4.js} +9 -14
- package/dist/cjs/{slot-CoMwYflw.js → slot-CppKo1Tn.js} +1 -1
- package/dist/cjs/{tabbable-D33Xh_1b.js → tabbable-CQ4-mXv0.js} +1 -1
- package/dist/cjs/{table.worker-CBBDTe_S.js → table.worker-Dto6wn52.js} +6 -6
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/algolia/algolia.js +1 -1
- package/dist/collection/components/breadcrumb/breadcrumb.css +24 -28
- package/dist/collection/components/breadcrumb/breadcrumb.js +41 -8
- package/dist/collection/components/datalist/datalist.js +6 -6
- package/dist/collection/components/date-input/date-input.js +5 -6
- package/dist/collection/components/drawer/drawer.css +0 -1
- package/dist/collection/components/dropdown/dropdown.js +1 -1
- package/dist/collection/components/field-validator/field-validator.js +1 -1
- package/dist/collection/components/footer/footer.css +15 -1
- package/dist/collection/components/global-nav/global-nav.css +1 -1
- package/dist/collection/components/global-nav/global-nav.js +34 -9
- package/dist/collection/components/global-search-results/global-search-results.css +0 -1
- package/dist/collection/components/grid/grid.css +8 -5
- package/dist/collection/components/in-page-nav/in-page-nav.js +15 -5
- package/dist/collection/components/menu-drawer/menu-drawer.css +61 -83
- package/dist/collection/components/menu-drawer/menu-drawer.js +66 -151
- package/dist/collection/components/more-less/more-less.js +2 -2
- package/dist/collection/components/nav-item/nav-item.css +1 -93
- package/dist/collection/components/nav-item/nav-item.js +15 -32
- package/dist/collection/components/option/option.css +1 -3
- package/dist/collection/components/option/option.js +4 -4
- package/dist/collection/components/rating/rating.js +4 -4
- package/dist/collection/components/resize-observe/resize-observe.js +44 -32
- package/dist/collection/components/select/select.js +7 -7
- package/dist/collection/components/slides/slide.js +1 -1
- package/dist/collection/components/slides/slides.js +3 -3
- package/dist/collection/components/sortable/sortable.js +6 -6
- package/dist/collection/components/sticker/sticker.js +2 -2
- package/dist/collection/components/table/table.js +2 -2
- package/dist/collection/components/tabs/tab-content.js +2 -2
- package/dist/collection/components/tabs/tab.js +2 -2
- package/dist/collection/components/tag/tag.js +2 -2
- package/dist/collection/components/tooltip/tooltip.js +2 -2
- package/dist/collection/utils/scroll.js +8 -13
- package/dist/components/algolia.js +1 -1
- package/dist/components/datalist.js +6 -6
- package/dist/components/drawer.js +1 -1
- package/dist/components/grid.js +1 -1
- package/dist/components/nano-breadcrumb.js +42 -9
- package/dist/components/nano-date-input.js +4 -4
- package/dist/components/nano-footer.js +1 -1
- package/dist/components/nano-global-nav.js +19 -10
- package/dist/components/nano-in-page-nav.js +15 -5
- package/dist/components/nano-menu-drawer.js +64 -105
- package/dist/components/nano-more-less.js +2 -2
- package/dist/components/nano-rating.js +4 -4
- package/dist/components/nano-slide.js +1 -1
- package/dist/components/nano-sortable.js +1 -1
- package/dist/components/nano-tab-content.js +2 -2
- package/dist/components/nano-tab.js +2 -2
- package/dist/components/nano-table.js +2 -2
- package/dist/components/nav-item.js +7 -12
- package/dist/components/option.js +4 -4
- package/dist/components/resize-observe.js +41 -32
- package/dist/components/scroll.js +8 -13
- package/dist/components/select.js +7 -7
- package/dist/components/slides.js +3 -3
- package/dist/components/sticker.js +2 -2
- package/dist/components/tag.js +2 -2
- package/dist/components/tooltip.js +2 -2
- package/dist/esm/{algolia-data-B1lm-wYl.js → algolia-data-BWVUf8dc.js} +1 -1
- package/dist/esm/{component-store-DMqr8_D3.js → component-store-6lIsMtwd.js} +1 -1
- package/dist/esm/{dom-COiksOVZ.js → dom-C8mB0MAq.js} +1 -1
- package/dist/esm/{fade-BR_L2aBv.js → fade-BUaM9GO7.js} +3 -3
- package/dist/esm/{form-control-dh9YtDPa.js → form-control-COOIq-Al.js} +1 -1
- package/dist/esm/{fullscreen-ChzUqF71.js → fullscreen-D9bU32l7.js} +3 -3
- package/dist/esm/{index-CX_Hk6ss.js → index-q0XK-YfO.js} +1 -1
- package/dist/esm/{index-VZJF9v1K.js → index-wpeqhSWn.js} +1 -1
- package/dist/esm/index.js +4 -4
- package/dist/esm/{lazyload-IYX4l8Tu.js → lazyload-C6olXHXA.js} +3 -3
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{modal-CH7Vma1I.js → modal-DmA7xt58.js} +1 -1
- package/dist/esm/nano-accordion.entry.js +3 -3
- package/dist/esm/nano-alert.entry.js +7 -7
- package/dist/esm/nano-algolia-filter.entry.js +4 -4
- package/dist/esm/nano-algolia-pagination.entry.js +2 -2
- package/dist/esm/nano-algolia-results.entry.js +3 -3
- package/dist/esm/nano-algolia.entry.js +6 -6
- package/dist/esm/nano-animation.entry.js +2 -2
- package/dist/esm/nano-avatar_5.entry.js +17 -17
- package/dist/esm/nano-breadcrumb.entry.js +42 -9
- package/dist/esm/nano-card-carousel.entry.js +2 -2
- package/dist/esm/nano-card.entry.js +1 -1
- package/dist/esm/nano-checkbox-group.entry.js +2 -2
- package/dist/esm/nano-checkbox.entry.js +2 -2
- package/dist/esm/nano-collapsible-comparison.entry.js +2 -2
- package/dist/esm/nano-components.js +4 -4
- package/dist/esm/nano-content-links.entry.js +1 -1
- package/dist/esm/nano-cta.entry.js +1 -1
- package/dist/esm/{nano-data-table-EkTqZy8O.js → nano-data-table-CC6zn15I.js} +5 -5
- package/dist/esm/nano-data-table.entry.js +6 -6
- package/dist/esm/nano-datalist_3.entry.js +15 -15
- package/dist/esm/nano-date-input.entry.js +6 -6
- package/dist/esm/nano-date-picker_2.entry.js +4 -4
- package/dist/esm/nano-details.entry.js +3 -3
- package/dist/esm/nano-dialog.entry.js +8 -8
- package/dist/esm/nano-dropdown_2.entry.js +5 -5
- package/dist/esm/nano-feature-box.entry.js +1 -1
- package/dist/esm/nano-field-validator.entry.js +3 -3
- package/dist/esm/nano-file-upload.entry.js +2 -2
- package/dist/esm/nano-footer.entry.js +2 -2
- package/dist/esm/nano-global-nav.entry.js +20 -12
- package/dist/esm/nano-grid-item.entry.js +1 -1
- package/dist/esm/nano-grid_2.entry.js +3 -3
- package/dist/esm/nano-hero.entry.js +2 -2
- package/dist/esm/nano-icon-item.entry.js +1 -1
- package/dist/esm/nano-icon_3.entry.js +4 -4
- package/dist/esm/nano-in-page-nav.entry.js +14 -8
- package/dist/esm/nano-intersection-observe.entry.js +4 -4
- package/dist/esm/nano-masked-overflow.entry.js +4 -4
- package/dist/esm/nano-menu-drawer.entry.js +63 -99
- package/dist/esm/nano-more-less.entry.js +4 -4
- package/dist/esm/nano-nav-item.entry.js +12 -16
- package/dist/esm/nano-progress-bar.entry.js +1 -1
- package/dist/esm/nano-range.entry.js +2 -2
- package/dist/esm/nano-rating.entry.js +6 -6
- package/dist/esm/nano-resize-observe.entry.js +43 -34
- package/dist/esm/nano-slide.entry.js +3 -3
- package/dist/esm/{nano-slides-DL3S1wHE.js → nano-slides-B0sdF3jS.js} +9 -9
- package/dist/esm/nano-slides.entry.js +3 -3
- package/dist/esm/nano-sortable.entry.js +3 -3
- package/dist/esm/nano-spinner.entry.js +1 -1
- package/dist/esm/nano-split-pane.entry.js +2 -2
- package/dist/esm/nano-sticker.entry.js +6 -6
- package/dist/esm/nano-tab-content.entry.js +4 -4
- package/dist/esm/nano-tab-group.entry.js +4 -4
- package/dist/esm/nano-tab.entry.js +4 -4
- package/dist/esm/nano-table.entry.js +4 -4
- package/dist/esm/{page-dots-gxG3_NaA.js → page-dots-B8o2-Gb8.js} +3 -3
- package/dist/esm/{renderer-ZmozgREV.js → renderer-BjGZGWn8.js} +1 -1
- package/dist/esm/{scroll-D4n69pGx.js → scroll-N_WMYKm7.js} +9 -14
- package/dist/esm/{slot-CjAtXEOo.js → slot-CUINJXSo.js} +1 -1
- package/dist/esm/{tabbable-CZtanbA9.js → tabbable-DqhO0wy7.js} +1 -1
- package/dist/esm/{table.worker-Dcaz5STw.js → table.worker-DxcGLZVJ.js} +6 -6
- package/dist/nano-components/{algolia-data-B1lm-wYl.js → algolia-data-BWVUf8dc.js} +1 -1
- package/dist/nano-components/{component-store-DMqr8_D3.js → component-store-6lIsMtwd.js} +1 -1
- package/dist/nano-components/{dom-COiksOVZ.js → dom-C8mB0MAq.js} +1 -1
- package/dist/nano-components/{fade-BR_L2aBv.js → fade-BUaM9GO7.js} +1 -1
- package/dist/nano-components/{form-control-dh9YtDPa.js → form-control-COOIq-Al.js} +1 -1
- package/dist/nano-components/{fullscreen-ChzUqF71.js → fullscreen-D9bU32l7.js} +1 -1
- package/dist/nano-components/{index-VZJF9v1K.js → index-wpeqhSWn.js} +1 -1
- package/dist/nano-components/index.esm.js +1 -1
- package/dist/nano-components/{lazyload-IYX4l8Tu.js → lazyload-C6olXHXA.js} +1 -1
- package/dist/nano-components/{modal-CH7Vma1I.js → modal-DmA7xt58.js} +1 -1
- package/dist/nano-components/nano-accordion.entry.js +1 -1
- package/dist/nano-components/nano-alert.entry.js +1 -1
- package/dist/nano-components/nano-algolia-filter.entry.js +1 -1
- package/dist/nano-components/nano-algolia-pagination.entry.js +1 -1
- package/dist/nano-components/nano-algolia-results.entry.js +1 -1
- package/dist/nano-components/nano-algolia.entry.js +1 -1
- package/dist/nano-components/nano-animation.entry.js +1 -1
- package/dist/nano-components/nano-avatar_5.entry.js +1 -1
- package/dist/nano-components/nano-breadcrumb.entry.js +1 -1
- package/dist/nano-components/nano-card-carousel.entry.js +1 -1
- package/dist/nano-components/nano-card.entry.js +1 -1
- package/dist/nano-components/nano-checkbox-group.entry.js +1 -1
- package/dist/nano-components/nano-checkbox.entry.js +1 -1
- package/dist/nano-components/nano-collapsible-comparison.entry.js +1 -1
- package/dist/nano-components/nano-components.css +319 -176
- package/dist/nano-components/nano-components.esm.js +1 -1
- package/dist/nano-components/nano-content-links.entry.js +1 -1
- package/dist/nano-components/nano-cta.entry.js +1 -1
- package/dist/nano-components/{nano-data-table-EkTqZy8O.js → nano-data-table-CC6zn15I.js} +1 -1
- package/dist/nano-components/nano-data-table.entry.js +1 -1
- package/dist/nano-components/nano-datalist_3.entry.js +1 -1
- package/dist/nano-components/nano-date-input.entry.js +1 -1
- package/dist/nano-components/nano-date-picker_2.entry.js +1 -1
- package/dist/nano-components/nano-details.entry.js +1 -1
- package/dist/nano-components/nano-dialog.entry.js +1 -1
- package/dist/nano-components/nano-dropdown_2.entry.js +1 -1
- package/dist/nano-components/nano-feature-box.entry.js +1 -1
- package/dist/nano-components/nano-field-validator.entry.js +1 -1
- package/dist/nano-components/nano-file-upload.entry.js +1 -1
- package/dist/nano-components/nano-footer.entry.js +1 -1
- package/dist/nano-components/nano-global-nav.entry.js +1 -1
- package/dist/nano-components/nano-grid-item.entry.js +1 -1
- package/dist/nano-components/nano-grid_2.entry.js +1 -1
- package/dist/nano-components/nano-hero.entry.js +1 -1
- package/dist/nano-components/nano-icon-item.entry.js +1 -1
- package/dist/nano-components/nano-icon_3.entry.js +1 -1
- package/dist/nano-components/nano-in-page-nav.entry.js +1 -1
- package/dist/nano-components/nano-intersection-observe.entry.js +1 -1
- package/dist/nano-components/nano-masked-overflow.entry.js +1 -1
- package/dist/nano-components/nano-menu-drawer.entry.js +1 -1
- package/dist/nano-components/nano-more-less.entry.js +1 -1
- package/dist/nano-components/nano-nav-item.entry.js +1 -1
- package/dist/nano-components/nano-progress-bar.entry.js +1 -1
- package/dist/nano-components/nano-range.entry.js +1 -1
- package/dist/nano-components/nano-rating.entry.js +1 -1
- package/dist/nano-components/nano-resize-observe.entry.js +1 -1
- package/dist/nano-components/nano-slide.entry.js +1 -1
- package/dist/nano-components/{nano-slides-DL3S1wHE.js → nano-slides-B0sdF3jS.js} +4 -4
- package/dist/nano-components/nano-slides.entry.js +1 -1
- package/dist/nano-components/nano-sortable.entry.js +1 -1
- package/dist/nano-components/nano-spinner.entry.js +1 -1
- package/dist/nano-components/nano-split-pane.entry.js +1 -1
- package/dist/nano-components/nano-sticker.entry.js +1 -1
- package/dist/nano-components/nano-tab-content.entry.js +1 -1
- package/dist/nano-components/nano-tab-group.entry.js +1 -1
- package/dist/nano-components/nano-tab.entry.js +1 -1
- package/dist/nano-components/nano-table.entry.js +1 -1
- package/dist/nano-components/{page-dots-gxG3_NaA.js → page-dots-B8o2-Gb8.js} +1 -1
- package/dist/nano-components/{renderer-ZmozgREV.js → renderer-BjGZGWn8.js} +1 -1
- package/dist/nano-components/scroll-N_WMYKm7.js +4 -0
- package/dist/nano-components/{slot-CjAtXEOo.js → slot-CUINJXSo.js} +1 -1
- package/dist/nano-components/{tabbable-CZtanbA9.js → tabbable-DqhO0wy7.js} +1 -1
- package/dist/nano-components/table.worker-DxcGLZVJ.js +4 -0
- package/dist/style/components.css +1 -1
- package/dist/style/components.css.map +1 -1
- package/dist/style/nano.css +1 -1
- package/dist/style/nano.css.map +1 -1
- package/dist/types/components/breadcrumb/breadcrumb.d.ts +7 -1
- package/dist/types/components/date-input/date-input.d.ts +1 -2
- package/dist/types/components/global-nav/global-nav.d.ts +5 -0
- package/dist/types/components/in-page-nav/in-page-nav.d.ts +1 -0
- package/dist/types/components/menu-drawer/menu-drawer.d.ts +12 -27
- package/dist/types/components/nav-item/nav-item.d.ts +9 -4
- package/dist/types/components/option/option.d.ts +1 -1
- package/dist/types/components/resize-observe/resize-observe.d.ts +3 -0
- package/dist/types/components.d.ts +32 -58
- package/dist/types/stencil-public-runtime.d.ts +12 -5
- package/dist/types/utils/testing/index.d.ts +50 -0
- package/docs-json.json +128 -124
- package/docs-vscode.json +4 -16
- package/hydrate/index.js +221 -299
- package/hydrate/index.mjs +221 -299
- package/package.json +3 -3
- package/dist/nano-components/scroll-D4n69pGx.js +0 -4
- package/dist/nano-components/table.worker-Dcaz5STw.js +0 -4
- /package/dist/nano-components/{index-CX_Hk6ss.js → index-q0XK-YfO.js} +0 -0
@@ -1,8 +1,8 @@
|
|
1
1
|
/*!
|
2
2
|
* Custom elements for Nanopore-Digital Web applications
|
3
3
|
*/
|
4
|
-
import { r as registerInstance, c as createEvent, g as getElement, e as readTask, d as writeTask, a as Host } from './index-
|
5
|
-
import { t as transformTag, h } from './renderer-
|
4
|
+
import { r as registerInstance, c as createEvent, g as getElement, e as readTask, d as writeTask, a as Host } from './index-q0XK-YfO.js';
|
5
|
+
import { t as transformTag, h } from './renderer-BjGZGWn8.js';
|
6
6
|
|
7
7
|
function EvEmitter() { }
|
8
8
|
const proto$4 = EvEmitter.prototype;
|
@@ -2808,19 +2808,19 @@ const Slides = class {
|
|
2808
2808
|
}
|
2809
2809
|
async loadFlickityModules(opts) {
|
2810
2810
|
if (!this.hasFullScreenModule && opts.fullscreen) {
|
2811
|
-
await import('./fullscreen-
|
2811
|
+
await import('./fullscreen-D9bU32l7.js');
|
2812
2812
|
this.hasFullScreenModule = true;
|
2813
2813
|
}
|
2814
2814
|
if (!this.hasLazyLoadModule && opts.lazyLoad) {
|
2815
|
-
await import('./lazyload-
|
2815
|
+
await import('./lazyload-C6olXHXA.js');
|
2816
2816
|
this.hasLazyLoadModule = true;
|
2817
2817
|
}
|
2818
2818
|
if (!this.hasDotsModule && opts.pageDots) {
|
2819
|
-
await import('./page-dots-
|
2819
|
+
await import('./page-dots-B8o2-Gb8.js');
|
2820
2820
|
this.hasDotsModule = true;
|
2821
2821
|
}
|
2822
2822
|
if (!this.hasFadeModule && opts.fade) {
|
2823
|
-
await import('./fade-
|
2823
|
+
await import('./fade-BUaM9GO7.js');
|
2824
2824
|
this.hasFadeModule = true;
|
2825
2825
|
}
|
2826
2826
|
}
|
@@ -2955,15 +2955,15 @@ const Slides = class {
|
|
2955
2955
|
this.destroyflickity();
|
2956
2956
|
}
|
2957
2957
|
render() {
|
2958
|
-
return (h(Host, { key: '
|
2958
|
+
return (h(Host, { key: 'db808d24fa5e0650b8848a8ad49f409b1742d010', class: "nano-slides" }, h("div", { key: '833b9add3ac283a28290ff442ba3222719819248', class: {
|
2959
2959
|
slideshow: true,
|
2960
2960
|
ready: this.ready,
|
2961
2961
|
'not-ready': !this.ready,
|
2962
|
-
}, part: "base" }, h("div", { key: '
|
2962
|
+
}, part: "base" }, h("div", { key: '582d0ce3f49bf048c65caca78b86439eed298933', ref: (div) => (this.flickityEl = div), class: {
|
2963
2963
|
'flickity-container': true,
|
2964
2964
|
'slides-ready': this.slidesReady,
|
2965
2965
|
'slides-not-ready': !this.slidesReady,
|
2966
|
-
}, part: "slide-container" }, h("slot", { key: '
|
2966
|
+
}, part: "slide-container" }, h("slot", { key: 'f9ea3b11fb13efaf78254e061fff5e8396ad3e54' })), h("div", { key: 'a7c4f452bb04aa5a2fd98839cf493737f057e7af', class: "ui-extras" }, h("slot", { key: 'f6eb7fbbb0dc21d50c7daca4e1c10b3924de4ba3', name: "ui" })))));
|
2967
2967
|
}
|
2968
2968
|
static get watchers() { return {
|
2969
2969
|
"options": ["optionsChanged"],
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
* Custom elements for Nanopore-Digital Web applications
|
3
3
|
*/
|
4
|
-
export { S as nano_slides } from './nano-slides-
|
5
|
-
import './index-
|
6
|
-
import './renderer-
|
4
|
+
export { S as nano_slides } from './nano-slides-B0sdF3jS.js';
|
5
|
+
import './index-q0XK-YfO.js';
|
6
|
+
import './renderer-BjGZGWn8.js';
|
@@ -1,8 +1,8 @@
|
|
1
1
|
/*!
|
2
2
|
* Custom elements for Nanopore-Digital Web applications
|
3
3
|
*/
|
4
|
-
import { g as getElement, d as writeTask, e as readTask, r as registerInstance, c as createEvent, a as Host } from './index-
|
5
|
-
import { h } from './renderer-
|
4
|
+
import { g as getElement, d as writeTask, e as readTask, r as registerInstance, c as createEvent, a as Host } from './index-q0XK-YfO.js';
|
5
|
+
import { h } from './renderer-BjGZGWn8.js';
|
6
6
|
import { d as drag } from './drag-BLOEuv-q.js';
|
7
7
|
import { d as debounce } from './throttle-C93FMm2Z.js';
|
8
8
|
import { a as addListeners } from './events-ClRFmcmJ.js';
|
@@ -727,7 +727,7 @@ const Sortable = class {
|
|
727
727
|
}
|
728
728
|
}
|
729
729
|
render() {
|
730
|
-
return (h(Host, { key: '
|
730
|
+
return (h(Host, { key: 'bf0691e59a5832ca8249a7d1253232399f6dcd08', class: "nano-sortable" }, h("div", { key: '5ff7d9c08e496fbfffb5df836dd6834d339106fc', class: "sortable__live-region", "aria-live": "polite", "aria-relevant": "additions", "aria-atomic": "true", role: "log", part: "announcements" }, this.ariaTextList.map((str) => (h("div", null, str)))), h("slot", { key: '6419b77cd7e962726d7b2c5b88997b73b1bc9a3f' })));
|
731
731
|
}
|
732
732
|
static get watchers() { return {
|
733
733
|
"itemSelector": ["handleItemSelectorChange"],
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*!
|
2
2
|
* Custom elements for Nanopore-Digital Web applications
|
3
3
|
*/
|
4
|
-
import { r as registerInstance } from './index-
|
4
|
+
import { r as registerInstance } from './index-q0XK-YfO.js';
|
5
5
|
|
6
6
|
const spinnerCss = ":host,*,*::before,*::after{box-sizing:border-box}[hidden]{display:none !important}@media (prefers-reduced-motion: reduce){:host,*,*::before,*::after{animation-duration:0.01ms !important;animation-iteration-count:1 !important;transition-duration:0.01ms !important;scroll-behavior:auto !important}}:host,*,*::before,*::after{box-sizing:border-box}[hidden]{display:none !important}@media (prefers-reduced-motion: reduce){:host,*,*::before,*::after{animation-duration:0.01ms !important;animation-iteration-count:1 !important;transition-duration:0.01ms !important;scroll-behavior:auto !important}}:where(nano-spinner,.nano-spinner){display:inline-block;--track-size:.1em;--indicator-color:var(--nano-color-primary-1000);--track-color:var(--nano-color-neutral-300);--overlay-color:rgb(var(--nano-color-base-rgb-0) / 88%);display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--nano-spacing-xs)}:where(nano-spinner,.nano-spinner)::after{content:\"\";order:-1;font-size:1em;display:block;inline-size:1em;block-size:1em;border-radius:50%;border:solid var(--track-size) var(--track-color);border-block-start-color:var(--indicator-color);border-inline-end-color:var(--indicator-color);border-inline-start-color:var(--indicator-color);animation:1s linear infinite loading-spin}:where(nano-spinner,.nano-spinner)>:not([slot=label]){display:none}:where(nano-spinner,.nano-spinner) [slot=label]{font-size:var(--nano-font-size-sm);color:var(--nano-color-neutral-1200);display:block;text-align:center;position:relative;z-index:1}:where(nano-spinner,.nano-spinner)[overlay]:not([overlay=false]){position:absolute;inset:0;display:grid;grid-template-rows:auto auto;z-index:var(--nano-z-index-mask);justify-items:center}:where(nano-spinner,.nano-spinner)[overlay]:not([overlay=false])::before{content:\"\";order:-2;position:absolute;inset:0;background:var(--overlay-color);z-index:-1}:where(nano-spinner,.nano-spinner)[overlay]:not([overlay=false]) [slot=label]{align-self:start;grid-row:2}:where(nano-spinner,.nano-spinner)[overlay]:not([overlay=false])::after{align-self:end;grid-row:1;position:relative}@keyframes loading-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}";
|
7
7
|
|
@@ -1,8 +1,8 @@
|
|
1
1
|
/*!
|
2
2
|
* Custom elements for Nanopore-Digital Web applications
|
3
3
|
*/
|
4
|
-
import { g as getElement, r as registerInstance, c as createEvent, a as Host } from './index-
|
5
|
-
import { h } from './renderer-
|
4
|
+
import { g as getElement, r as registerInstance, c as createEvent, a as Host } from './index-q0XK-YfO.js';
|
5
|
+
import { h } from './renderer-BjGZGWn8.js';
|
6
6
|
import { d as drag } from './drag-BLOEuv-q.js';
|
7
7
|
import { a as clamp } from './math-BEqsTfVK.js';
|
8
8
|
import { d as debounce } from './throttle-C93FMm2Z.js';
|
@@ -1,11 +1,11 @@
|
|
1
1
|
/*!
|
2
2
|
* Custom elements for Nanopore-Digital Web applications
|
3
3
|
*/
|
4
|
-
import { r as registerInstance, c as createEvent, g as getElement, a as Host } from './index-
|
5
|
-
import { a as getOffset } from './dom-
|
4
|
+
import { r as registerInstance, c as createEvent, g as getElement, a as Host } from './index-q0XK-YfO.js';
|
5
|
+
import { a as getOffset } from './dom-C8mB0MAq.js';
|
6
6
|
import { d as debounce } from './throttle-C93FMm2Z.js';
|
7
|
-
import { f as findScrollParent } from './scroll-
|
8
|
-
import { t as transformTag, h } from './renderer-
|
7
|
+
import { f as findScrollParent } from './scroll-N_WMYKm7.js';
|
8
|
+
import { t as transformTag, h } from './renderer-BjGZGWn8.js';
|
9
9
|
|
10
10
|
const stickerCss = ":host,*,*::before,*::after{box-sizing:border-box}[hidden]{display:none !important}@media (prefers-reduced-motion: reduce){:host,*,*::before,*::after{animation-duration:0.01ms !important;animation-iteration-count:1 !important;transition-duration:0.01ms !important;scroll-behavior:auto !important}}:host,*,*::before,*::after{box-sizing:border-box}[hidden]{display:none !important}@media (prefers-reduced-motion: reduce){:host,*,*::before,*::after{animation-duration:0.01ms !important;animation-iteration-count:1 !important;transition-duration:0.01ms !important;scroll-behavior:auto !important}}:host{--stuck-left:initial;--stuck-right:initial;--stuck-z-index:var(--nano-layer-index-menubar, 10);--top-hide:translateY(-110%);--bottom-hide:translateY(110%);display:block;max-inline-size:100%}:host([sticky]){position:sticky;transition:0.3s ease transform;will-change:min-block-size}:host([sticky][stuck]){inset-inline:var(--stuck-left) var(--stuck-right);z-index:var(--stuck-z-index) !important}:host([sticky][hide][placed-top]){transform:var(--top-hide)}:host([sticky][hide][placed-bottom]){transform:var(--bottom-hide)}:host([sticky][index=\"1\"]){z-index:calc(var(--stuck-z-index) + 1)}:host([sticky][index=\"2\"]){z-index:calc(var(--stuck-z-index) + 2)}:host([sticky][index=\"3\"]){z-index:calc(var(--stuck-z-index) + 3)}:host([sticky][index=\"4\"]){z-index:calc(var(--stuck-z-index) + 4)}:host([sticky][index=\"5\"]){z-index:calc(var(--stuck-z-index) + 5)}.sticker{display:inherit;max-inline-size:inherit;inline-size:100%}.sticker:not(.stuck){inline-size:auto !important}.sticker.sticky{transition:0.3s ease all;position:relative}:host([index=\"1\"]) .sticker.sticky{z-index:calc(var(--stuck-z-index) + 1)}:host([index=\"2\"]) .sticker.sticky{z-index:calc(var(--stuck-z-index) + 2)}:host([index=\"3\"]) .sticker.sticky{z-index:calc(var(--stuck-z-index) + 3)}:host([index=\"4\"]) .sticker.sticky{z-index:calc(var(--stuck-z-index) + 4)}:host([index=\"5\"]) .sticker.sticky{z-index:calc(var(--stuck-z-index) + 5)}.sticker.stuck{position:fixed;inset-inline:var(--stuck-left) var(--stuck-right);z-index:var(--stuck-z-index);transform:translateY(0)}:host([placed-top]) .sticker.stuck{inset-block-start:0}:host([placed-bottom]) .sticker.stuck{inset-block-end:0}:host([placed-top]) .sticker.stuck.hide{transform:var(--top-hide)}:host([placed-bottom]) .sticker.stuck.hide{transform:var(--bottom-hide)}.sticker-content{display:flex;flex-wrap:wrap}";
|
11
11
|
|
@@ -605,12 +605,12 @@ const Sticker = class {
|
|
605
605
|
this.hasBootstrapped = false;
|
606
606
|
}
|
607
607
|
render() {
|
608
|
-
return (h(Host, { key: '
|
608
|
+
return (h(Host, { key: '6ecfe8ffd92fbe3126dcdbce737267b800b5f3ec', sticky: !this.isRootSticker && !this.stickToEle && this.isSticky, hide: this.hide && this.isStuck, siblings: this.stuckCounter, index: this.stickerIndex, stuck: this.isStuck && this.isSticky, "placed-bottom": this.positions.includes('bottom'), "placed-top": this.positions.includes('top'), "placed-end": this.positions.includes('end'), "placed-start": this.positions.includes('start'), class: "nano-sticker" }, h("div", { key: '662dd7f185a4d9dd30cf285c3a3c5e37736147f9', class: {
|
609
609
|
sticker: true,
|
610
610
|
sticky: this.isRootSticker && this.isSticky,
|
611
611
|
stuck: this.isStuck && this.isRootSticker && this.isSticky,
|
612
612
|
hide: this.isRootSticker && this.hide && this.isStuck,
|
613
|
-
}, ref: (div) => (this.sticker = div) }, h("div", { key: '
|
613
|
+
}, ref: (div) => (this.sticker = div) }, h("div", { key: '9e026e99d36884aa8a196d03e55aafbce4d33754', class: "sticker-content", ref: (div) => (this.content = div) }, h("slot", { key: '36ff243ac039dd52fb1ce57c72dfbfd9a682c6ec' })))));
|
614
614
|
}
|
615
615
|
static get watchers() { return {
|
616
616
|
"trigger": ["updateTriggerOffset"],
|
@@ -1,8 +1,8 @@
|
|
1
1
|
/*!
|
2
2
|
* Custom elements for Nanopore-Digital Web applications
|
3
3
|
*/
|
4
|
-
import { r as registerInstance, g as getElement, a as Host } from './index-
|
5
|
-
import { h } from './renderer-
|
4
|
+
import { r as registerInstance, g as getElement, a as Host } from './index-q0XK-YfO.js';
|
5
|
+
import { h } from './renderer-BjGZGWn8.js';
|
6
6
|
|
7
7
|
const tabContentCss = ":host,*,*::before,*::after{box-sizing:border-box}[hidden]{display:none !important}@media (prefers-reduced-motion: reduce){:host,*,*::before,*::after{animation-duration:0.01ms !important;animation-iteration-count:1 !important;transition-duration:0.01ms !important;scroll-behavior:auto !important}}:host,*,*::before,*::after{box-sizing:border-box}[hidden]{display:none !important}@media (prefers-reduced-motion: reduce){:host,*,*::before,*::after{animation-duration:0.01ms !important;animation-iteration-count:1 !important;transition-duration:0.01ms !important;scroll-behavior:auto !important}}:host{display:block;opacity:1;animation:opacity 0.3s ease-in-out forwards;animation-duration:0s !important}:host(.ready){animation-duration:0.3s !important}@media only screen and (width <= 768px){:host([animation-dir=left]){animation:slide-right 0.3s ease-in-out;opacity:1}:host([animation-dir=right]){animation:slide-left 0.3s ease-in-out;opacity:1}}.nano-tab-content{position:relative}@keyframes opacity{0%{opacity:0}100%{opacity:1}}@keyframes slide-left{0%{transform:translate3d(-100%, 0, 0)}50%{transform:translate3d(0%) translate3d(-0.9em)}100%{transform:translate3d(0, 0, 0)}}@keyframes slide-right{0%{transform:translate3d(100%, 0, 0)}50%{transform:translateX(0%) translate3d(0.9em)}100%{transform:translate3d(0, 0, 0)}}@media (prefers-reduced-motion: reduce){*{animation:none !important}}";
|
8
8
|
|
@@ -22,10 +22,10 @@ const NanoTabContent = class {
|
|
22
22
|
requestAnimationFrame(() => (this.ready = true));
|
23
23
|
}
|
24
24
|
render() {
|
25
|
-
return (h(Host, { key: '
|
25
|
+
return (h(Host, { key: 'e77e802472984dd6997e5dbea3b807853c530f9a', id: this.host.id || this.tabContentId, style: { display: this.active ? 'block' : 'none' }, role: "tabpanel", "aria-hidden": this.active ? 'false' : 'true', class: {
|
26
26
|
ready: this.ready,
|
27
27
|
'nano-tab-content': true,
|
28
|
-
} }, h("div", { key: '
|
28
|
+
} }, h("div", { key: '9c642ced7beec01c0cbaa333b977ee23ef83981a', part: "base", class: "nano-tab-content" }, h("slot", { key: 'fcafb5cedc796e0f3661519ccdb1d9374568d59e' }))));
|
29
29
|
}
|
30
30
|
};
|
31
31
|
NanoTabContent.style = tabContentCss;
|
@@ -1,10 +1,10 @@
|
|
1
1
|
/*!
|
2
2
|
* Custom elements for Nanopore-Digital Web applications
|
3
3
|
*/
|
4
|
-
import { r as registerInstance, c as createEvent, g as getElement, j as forceUpdate, a as Host } from './index-
|
5
|
-
import { g as getDirectChildren } from './dom-
|
6
|
-
import { C as ComponentStore } from './component-store-
|
7
|
-
import { t as transformTag, h } from './renderer-
|
4
|
+
import { r as registerInstance, c as createEvent, g as getElement, j as forceUpdate, a as Host } from './index-q0XK-YfO.js';
|
5
|
+
import { g as getDirectChildren } from './dom-C8mB0MAq.js';
|
6
|
+
import { C as ComponentStore } from './component-store-6lIsMtwd.js';
|
7
|
+
import { t as transformTag, h } from './renderer-BjGZGWn8.js';
|
8
8
|
import './throttle-C93FMm2Z.js';
|
9
9
|
|
10
10
|
const tabGroupCss = ":host,*,*::before,*::after{box-sizing:border-box}[hidden]{display:none !important}@media (prefers-reduced-motion: reduce){:host,*,*::before,*::after{animation-duration:0.01ms !important;animation-iteration-count:1 !important;transition-duration:0.01ms !important;scroll-behavior:auto !important}}:host,*,*::before,*::after{box-sizing:border-box}[hidden]{display:none !important}@media (prefers-reduced-motion: reduce){:host,*,*::before,*::after{animation-duration:0.01ms !important;animation-iteration-count:1 !important;transition-duration:0.01ms !important;scroll-behavior:auto !important}}:host{--border:2px solid var(--nano-color-neutral-300);--indicator-transition:var(--nano-transition-fast);--indicator-color:var(--nano-color-primary-1000);--indicator-track-color:var(--nano-color-neutral-300);--indicator-size:0;--tab-spacing:var(--nano-spacing-md);--content-spacing:var(--nano-spacing-l1-default);display:block;position:relative;z-index:var(--nano-z-index-raised)}.group{display:flex;border-radius:0;inline-size:100%;flex:inherit}:host([equal-tab-size]) .group__tabs-border,.group__tabs[has-scroll-controls] .group__tabs-border{display:none}.group__tabs::part(items){gap:var(--tab-spacing)}.group--top{flex-direction:column}.group--top .group__tabs{--fade-size:100px}.group--top .group__tabs::part(items){align-items:flex-end}.group--top .group__tabs-border{flex:1;border-block-end:var(--border)}.group--top .group__body{order:2;position:relative;flex:1 1 auto;border-block-end:var(--border);padding-block:var(--content-spacing)}.group--start{flex-direction:row}:host([equal-tab-size]) .group--start .group__tabs::part(items){display:grid;grid-auto-rows:1fr}.group--start .group__tabs-border{flex:1;border-inline-end:var(--border)}.group--start .group__body{flex:1 1 auto;order:2;overflow:hidden;padding-inline-start:var(--content-spacing)}";
|
@@ -1,8 +1,8 @@
|
|
1
1
|
/*!
|
2
2
|
* Custom elements for Nanopore-Digital Web applications
|
3
3
|
*/
|
4
|
-
import { r as registerInstance, c as createEvent, g as getElement, a as Host } from './index-
|
5
|
-
import { h } from './renderer-
|
4
|
+
import { r as registerInstance, c as createEvent, g as getElement, a as Host } from './index-q0XK-YfO.js';
|
5
|
+
import { h } from './renderer-BjGZGWn8.js';
|
6
6
|
|
7
7
|
const tabCss = ":host,*,*::before,*::after{box-sizing:border-box}[hidden]{display:none !important}@media (prefers-reduced-motion: reduce){:host,*,*::before,*::after{animation-duration:0.01ms !important;animation-iteration-count:1 !important;transition-duration:0.01ms !important;scroll-behavior:auto !important}}:host,*,*::before,*::after{box-sizing:border-box}[hidden]{display:none !important}@media (prefers-reduced-motion: reduce){:host,*,*::before,*::after{animation-duration:0.01ms !important;animation-iteration-count:1 !important;transition-duration:0.01ms !important;scroll-behavior:auto !important}}:host{--border:2px solid var(--nano-color-neutral-300);--border-hover-color:var(--nano-color-primary-700);--border-active-color:var(--nano-color-primary-1000);--text-hover-color:var(--nano-color-primary-1000);--text-active-color:var(--nano-color-primary-1000);--padding:var(--nano-spacing-md);font-size:var(--nano-font-size-small);line-height:var(--nano-line-height-normal);letter-spacing:var(--nano-letter-spacing-loose);display:inline-block;cursor:pointer;color:var(--nano-color-neutral-1400);border:var(--border);border-inline-end-width:0;border-inline-start-width:0;border-block-start-width:0;border-block-end:var(--border)}:host(:not([disabled]):hover){border-color:var(--border-hover-color);color:var(--text-hover-color)}:host(:not([disabled]):active),:host([active]){border-color:var(--border-active-color);color:var(--text-active-color)}:host(.nano-sortable__dragged){background:var(--nano-color-base-0);opacity:0.9 !important;box-shadow:var(--nano-shadow-l0) !important}.tab{padding:var(--padding);display:flex;white-space:nowrap;align-items:center;position:relative;gap:var(--nano-spacing-sm);justify-content:center}.tab.tab--disabled{opacity:0.5;cursor:not-allowed}.tab.tab--closable{padding-inline-end:calc(var(--padding) - var(--nano-spacing-sm))}.tab ::slotted(*),.tab::slotted(*){display:flex;align-items:center}.tab ::slotted(.nano-sortable__keyboard-handle){position:absolute;inset-inline-end:-1em;z-index:1}.tab:not(.tab--disabled):has(.tab__label:focus-visible){outline:var(--nano-focus-ring);outline-offset:-3px}.tab__label{display:flex;flex-direction:column;gap:var(--nano-spacing-sm);align-items:center}.tab__label:focus{outline:none}.tab__close-button{color:var(--nano-color-primary-1200);--hover-color:var(--nano-color-primary-700)}";
|
8
8
|
|
@@ -44,12 +44,12 @@ const NanoTab = class {
|
|
44
44
|
}
|
45
45
|
};
|
46
46
|
render() {
|
47
|
-
return (h(Host, { key: '
|
47
|
+
return (h(Host, { key: '42d49d8148bac6792761ca027917184992ac9787', id: this.host.id || this.tabId, role: "tab", "aria-disabled": this.disabled ? 'true' : 'false', "aria-selected": this.active ? 'true' : 'false', class: "nano-tab" }, h("div", { key: 'a5c816c6faab721c3c8896083f87ead5dd06abd1', part: `base${this.active ? ' base--active' : ''}${this.disabled ? ' base--disabled' : ''}${this.closable ? ' base--closable' : ''}`, class: {
|
48
48
|
tab: true,
|
49
49
|
'tab--active': this.active,
|
50
50
|
'tab--disabled': this.disabled,
|
51
51
|
'tab--closable': this.closable,
|
52
|
-
} }, h("slot", { key: '
|
52
|
+
} }, h("slot", { key: 'c1aa8a3a0239d501a65b5db2c263b5ad777360e0', name: "start" }), h("div", { key: '508bd62a360aa2c6ba195f7dbaa2e8503bc79771', part: "label", ref: (el) => (this.tab = el), tabindex: this.disabled || !this.active ? '-1' : '0', class: "tab__label" }, h("slot", { key: '48d789df0212ed3fcb91b169336540027aa182be' })), h("slot", { key: '29f8662c82ee362daf86d2fda096f1d95b9e80a1', name: "end" }), this.closable && !this.disabled && (h("nano-icon-button", { key: 'bd37054c27603d7cf012c88c99ad472973539e3e', label: "Close this tab", iconName: "light/xmark", class: "tab__close-button", onClick: this.handleCloseClick, onKeyDown: this.handleCloseKeydown, part: "close-button" })))));
|
53
53
|
}
|
54
54
|
};
|
55
55
|
NanoTab.style = tabCss;
|
@@ -1,9 +1,9 @@
|
|
1
1
|
/*!
|
2
2
|
* Custom elements for Nanopore-Digital Web applications
|
3
3
|
*/
|
4
|
-
import { g as getElement, r as registerInstance, a as Host } from './index-
|
4
|
+
import { g as getElement, r as registerInstance, a as Host } from './index-q0XK-YfO.js';
|
5
5
|
import { d as debounce } from './throttle-C93FMm2Z.js';
|
6
|
-
import { t as transformTag, h } from './renderer-
|
6
|
+
import { t as transformTag, h } from './renderer-BjGZGWn8.js';
|
7
7
|
|
8
8
|
const tableCss = ".sc-nano-table-h,*.sc-nano-table,*.sc-nano-table::before,*.sc-nano-table::after{box-sizing:border-box}[hidden].sc-nano-table{display:none !important}@media (prefers-reduced-motion: reduce){.sc-nano-table-h,*.sc-nano-table,*.sc-nano-table::before,*.sc-nano-table::after{animation-duration:0.01ms !important;animation-iteration-count:1 !important;transition-duration:0.01ms !important;scroll-behavior:auto !important}}.sc-nano-table-h,*.sc-nano-table,*.sc-nano-table::before,*.sc-nano-table::after{box-sizing:border-box}[hidden].sc-nano-table{display:none !important}@media (prefers-reduced-motion: reduce){.sc-nano-table-h,*.sc-nano-table,*.sc-nano-table::before,*.sc-nano-table::after{animation-duration:0.01ms !important;animation-iteration-count:1 !important;transition-duration:0.01ms !important;scroll-behavior:auto !important}}";
|
9
9
|
|
@@ -222,10 +222,10 @@ const NanoTable = class {
|
|
222
222
|
this.cleanUpObservers();
|
223
223
|
}
|
224
224
|
render() {
|
225
|
-
return (h(Host, { key: '
|
225
|
+
return (h(Host, { key: 'a976d3c4d360aa37eeccf025c4948b8bcf9a6a05', class: {
|
226
226
|
'nano-table': true,
|
227
227
|
'nano-table--props-ready': this.propsReady,
|
228
|
-
} }, this.scrollable && (h("nano-masked-overflow", { key: '
|
228
|
+
} }, this.scrollable && (h("nano-masked-overflow", { key: '6d78f909c2fd7ebd1b478e9b399ac97f5202acb5', hideScrollbars: false, scrollControls: false, label: this.caption?.textContent || undefined, class: "nano-table__overflow-container" }, h("div", { key: '9a2246d08f3f82efee4a6a6c7aec6002b159b9bc', class: "nano-table__overflow" }))), h("slot", { key: '21fad37f4eda294cd90b11175b8650b63dfe4ab0' })));
|
229
229
|
}
|
230
230
|
static get watchers() { return {
|
231
231
|
"compact": ["handleCompactChange"],
|
@@ -1,9 +1,9 @@
|
|
1
1
|
/*!
|
2
2
|
* Custom elements for Nanopore-Digital Web applications
|
3
3
|
*/
|
4
|
-
import { F as Flickity, u as utils, U as Unipointer } from './nano-slides-
|
5
|
-
import './index-
|
6
|
-
import './renderer-
|
4
|
+
import { F as Flickity, u as utils, U as Unipointer } from './nano-slides-B0sdF3jS.js';
|
5
|
+
import './index-q0XK-YfO.js';
|
6
|
+
import './renderer-BjGZGWn8.js';
|
7
7
|
|
8
8
|
// -------------------------- PageDots -------------------------- //
|
9
9
|
function PageDots(parent) {
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*!
|
2
2
|
* Custom elements for Nanopore-Digital Web applications
|
3
3
|
*/
|
4
|
-
import { h as h$1 } from './index-
|
4
|
+
import { h as h$1 } from './index-q0XK-YfO.js';
|
5
5
|
|
6
6
|
/* eslint-disable @typescript-eslint/no-namespace */
|
7
7
|
// css only components cannot be transformed because their static css relies on the tag name
|
@@ -1,25 +1,20 @@
|
|
1
1
|
/*!
|
2
2
|
* Custom elements for Nanopore-Digital Web applications
|
3
3
|
*/
|
4
|
-
import { a as getOffset } from './dom-
|
4
|
+
import { a as getOffset } from './dom-C8mB0MAq.js';
|
5
5
|
|
6
6
|
/**
|
7
7
|
* @returns the width of the document's scrollbar
|
8
8
|
*/
|
9
|
-
function
|
9
|
+
function getScrollLockSize() {
|
10
10
|
const documentWidth = document.documentElement.clientWidth;
|
11
|
-
|
12
|
-
}
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
*/
|
17
|
-
function getExistingBodyPadding() {
|
18
|
-
const padding = Number(getComputedStyle(document.body).paddingRight.replace(/px/, ''));
|
19
|
-
if (isNaN(padding) || !padding) {
|
20
|
-
return 0;
|
11
|
+
const scrollbarWidth = Math.abs(window.innerWidth - documentWidth);
|
12
|
+
const { paddingRight, paddingInlineEnd } = getComputedStyle(document.body);
|
13
|
+
let docPadding = Number((paddingInlineEnd || paddingRight).replace(/px/, ''));
|
14
|
+
if (!!docPadding || isNaN(docPadding)) {
|
15
|
+
docPadding = 0;
|
21
16
|
}
|
22
|
-
return
|
17
|
+
return scrollbarWidth + docPadding;
|
23
18
|
}
|
24
19
|
const locks = new Set();
|
25
20
|
/**
|
@@ -32,7 +27,7 @@ function lockBodyScrolling(lockingEl) {
|
|
32
27
|
return;
|
33
28
|
// When the first lock is created,
|
34
29
|
// set the scroll lock size to match the scrollbar's width to prevent content from shifting.
|
35
|
-
const scrollbarWidth =
|
30
|
+
const scrollbarWidth = getScrollLockSize(); // must be measured before the `sl-scroll-lock` class is applied
|
36
31
|
let scrollbarGutterProperty = getComputedStyle(document.documentElement).scrollbarGutter;
|
37
32
|
// default is auto, unsupported browsers is "undefined"
|
38
33
|
if (!scrollbarGutterProperty || scrollbarGutterProperty === 'auto') {
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*!
|
2
2
|
* Custom elements for Nanopore-Digital Web applications
|
3
3
|
*/
|
4
|
-
import { g as getElement, j as forceUpdate } from './index-
|
4
|
+
import { g as getElement, j as forceUpdate } from './index-q0XK-YfO.js';
|
5
5
|
|
6
6
|
/**
|
7
7
|
* Given an element (which can either be within a shadowRoot or not) find it's innerText
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*!
|
2
2
|
* Custom elements for Nanopore-Digital Web applications
|
3
3
|
*/
|
4
|
-
import './index-
|
4
|
+
import './index-q0XK-YfO.js';
|
5
5
|
|
6
6
|
// Determines if the specified element is tabbable using heuristics inspired by https://github.com/focus-trap/tabbable
|
7
7
|
function isTabbable(el, skipVisible = false) {
|
@@ -1,14 +1,14 @@
|
|
1
1
|
/*!
|
2
2
|
* Custom elements for Nanopore-Digital Web applications
|
3
3
|
*/
|
4
|
-
import { c as createWorker } from './nano-data-table-
|
5
|
-
import './index-
|
6
|
-
import './renderer-
|
4
|
+
import { c as createWorker } from './nano-data-table-CC6zn15I.js';
|
5
|
+
import './index-q0XK-YfO.js';
|
6
|
+
import './renderer-BjGZGWn8.js';
|
7
7
|
import './math-BEqsTfVK.js';
|
8
8
|
import './throttle-C93FMm2Z.js';
|
9
|
-
import './scroll-
|
10
|
-
import './dom-
|
11
|
-
import './index-
|
9
|
+
import './scroll-N_WMYKm7.js';
|
10
|
+
import './dom-C8mB0MAq.js';
|
11
|
+
import './index-wpeqhSWn.js';
|
12
12
|
|
13
13
|
const workerName = 'table.worker';
|
14
14
|
const workerMsgId = 'stencil.table.worker';
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*!
|
2
2
|
* Custom elements for Nanopore-Digital Web applications
|
3
3
|
*/
|
4
|
-
import{g as n}from"./index-
|
4
|
+
import{g as n}from"./index-q0XK-YfO.js";var e;!function(n){n.Filter="filter",n.Page="page",n.Replica="replica",n.Init="init"}(e||(e={}));const o=(e,o)=>function(e,o){var i=e.prototype,t=i.componentWillLoad;i.componentWillLoad=function(){var e,i=this,r=n(this),s={promise:new Promise((function(n){e=n})),resolve:e},u=new CustomEvent("openWormhole",{bubbles:!0,composed:!0,detail:{consumer:this,fields:o,updater:function(n,e){i[n]=e},onOpen:s}});return r.dispatchEvent(u),s.promise.then((function(){if(t)return t.call(i)}))}}(e,o);export{e as S,o as W}
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*!
|
2
2
|
* Custom elements for Nanopore-Digital Web applications
|
3
3
|
*/
|
4
|
-
import{g as t}from"./index-
|
4
|
+
import{g as t}from"./index-q0XK-YfO.js";import{d as e}from"./throttle-C93FMm2Z.js";function s(t){const e=new URLSearchParams([...new URLSearchParams(t)].map((([t,e])=>[t.replace(/([[\]])/g,((t,e)=>"["===e?".":"")),e]))),s={};return new Set(e.keys()).forEach((t=>{const n=e.getAll(t).join(",").split(",").map((t=>decodeURIComponent(t.replace(/\+/g," "))));let r=t,o=1===n.length?n[0]:n;if(r.includes(".")){const[t,...e]=r.split("."),n=s[t]||{},i=e.pop();e.reduce(((t,e)=>t[e]??={}),n)[i]=o,r=t,o=n}s[r]=o})),s}const n="nano-component-store:",r=(t="hash",e=window)=>e&&e.location?"hash"===t&&e.location.hash&&e.location.hash.match(/&|=/)?s(e.location.hash.replace(/^#/,"")):"query"===t&&e.location.search&&e.location.search.match(/&|=/)?s(e.location.search.replace(/^\?/,"")):{}:{},o=(t,e,n="hash",o=window,i="replace")=>{t=Object.keys(s(t))[0];const h={};for(const t in e)(!e[t]||Array.isArray(e[t])&&!e[t].length)&&delete e[t];h[t]=e;let u=r(n,o);(u[t]||h[t])&&(u={...u,...h},((t,e="hash",s=window,n="replace")=>{if(!s||!s.history)return;const r="query"===e?s.location.search:s.location.hash,o="query"===e?s.location.pathname:s.location.pathname+s.location.search;let i=function(t){if(!t)return"";const e=[["",t]],s=new URLSearchParams;for(;e.length;){const[t,n]=e.pop();Object.entries(n).forEach((([n,r])=>{if(null==r)return;const o=typeof r,i=t?`${t}.${n}`:n;if(null===r||"object"!==o||Array.isArray(r)){let t="string"===o?r:"";t=Array.isArray(r)?r.join(","):r?.toJSON?r.toJSON():r?.toString?r.toString():String(r),null!=t&&s.append(i,t)}else e.push([i,r])}))}return s.sort(),s.toString()}(t);if(i&&i.length)if("hash"!==e||s.location.hash!=="#"+i)i=("hash"===e?"#":"?")+i,i!==r&&("replace"===n?s.history.replaceState(null,null,o+i):s.history.pushState(null,null,o+i));else try{document.querySelector("#"+i)?.focus()}catch(t){}else{if(!r||!r.length)return;"replace"===n?s.history.replaceState(null,null,o):s.history.pushState(null,null,o)}})(u,n,o,i))},i=(t,e="hash",n=window)=>(t=Object.keys(s(t))[0],r(e,n)[t]||null),h=new Map,u={init(e,s,n,r){const o=r||e.storeId||t(e).id;if(!o)return void console.error("No id set. You can only instantiate a new component store with an id. ");if(h.get(o))return void console.error("Duplicate store id usage. A store ID must be unique!",o);const i=s.reduce(((t,s)=>(void 0!==e[s]&&(t[s]=e[s]),t)),{});h.set(o,new a(o,e,s,i,n)),h.get(o).dispatchToProps();const u=e.connectedCallback;e.connectedCallback=function(){h.set(o,new a(o,e,s,i,n));const t=h.get(o);u&&u.call(e),t&&t.dispatchToProps()};const l=e.componentDidRender;e.componentDidRender=function(){const t=h.get(o);l&&l.call(e),t&&t.savePropsToStore()};const c=e.disconnectedCallback;e.disconnectedCallback=function(){const t=h.get(o);t&&t.delete(),h.delete(o),c&&c.call(e)}},update(t){const e=h.get(t);e?e.savePropsToStore():console.error(`No store found for id: ${t}`)},get:t=>h.get(t)};class a{method="session";keys;id;component;updateStore=!0;initialState={};constructor(t,s,n,r,o){if(!t)throw new Error("No id set. You can only instantiate a new component store with an id");this.id=t,this.keys=n,this.component=s,r&&(this.initialState=r),o&&(this.method=o),this.savePropsToStore=e(this.savePropsToStore,500),"url-hash-push"!==this.method&&"url-query-push"!==this.method||window.addEventListener("popstate",this.onUrlChange)}onUrlChange=()=>{this.dispatchToProps(!1)};equality(t,e){return typeof t==typeof e&&("object"!=typeof t?t===e:JSON.stringify(t)===JSON.stringify(e))}get getData(){const t=this.keys.reduce(((t,e)=>{const s=this.equality(this.component[e],this.initialState[e]);return void 0===this.component[e]||s?s&&delete t[e]:t[e]=this.component[e],t}),{});return Object.keys(t).length?t:void 0}retrieve(){switch(this.method){case"url-hash":case"url-hash-push":return i(this.id,"hash");case"url-query":case"url-query-push":return i(this.id,"query");case"local":return((t,e=window)=>{const s=e.localStorage.getItem(n+this.id);return null!==s?JSON.parse(s):null})();default:return((t,e=window)=>{const s=e.sessionStorage.getItem(n+this.id);return null!==s?JSON.parse(s):null})()}}save(t){switch(this.method){case"url-hash":return o(this.id,t,"hash");case"url-query":return o(this.id,t,"query");case"url-hash-push":return o(this.id,t,"hash",window,"push");case"url-query-push":return o(this.id,t,"query",window,"push");case"local":return((t,e,s=window)=>{e?s.localStorage.setItem(n+t,JSON.stringify(e)):s.localStorage.removeItem(n+t)})(this.id,t);default:return((t,e,s=window)=>{e?s.sessionStorage.setItem(n+t,JSON.stringify(e)):s.sessionStorage.removeItem(n+t)})(this.id,t)}}savePropsToStore=()=>{this.updateStore?this.save(this.getData):this.updateStore||(this.updateStore=!0)};dispatchToProps=(t=!0)=>{const e=this.retrieve();!e&&t||(this.updateStore=t,this.keys.forEach((t=>{this.component[t]=e?e[t]:void 0})))};delete=()=>{"url-hash-push"!==this.method&&"url-query-push"!==this.method||window.removeEventListener("popstate",this.onUrlChange)}}export{u as C}
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*!
|
2
2
|
* Custom elements for Nanopore-Digital Web applications
|
3
3
|
*/
|
4
|
-
import"./index-
|
4
|
+
import"./index-q0XK-YfO.js";var t;function e(t,e=this){return function e(n){if(!n||n===document||n===window)return null;n.assignedSlot&&(n=n.assignedSlot);return n.closest(t)||e(n.getRootNode().host)}(e)}function n(t,e,n=!0){if(!0===n)try{return e=":scope > "+e.split(",").join(", :scope >"),Array.from(t.querySelectorAll(e))}catch(t){console.error(t,"an error. sad")}const o=[];return Array.from(t.childNodes).forEach((t=>{t.matches&&t.matches(e)&&("SLOT"!==t.nodeName||"slot"!==n)?o.push(t):"SLOT"===t.nodeName?Array.from(t.assignedElements()).forEach((t=>{t.matches(e)&&o.push(t)})):n||o.push(t)})),o}function o(t,e){return e&&t?{top:t.getBoundingClientRect().top-e.getBoundingClientRect().top,left:t.getBoundingClientRect().left-e.getBoundingClientRect().left}:{top:0,left:0}}!function(t){t[t.ElementNode=1]="ElementNode",t[t.TextNode=3]="TextNode",t[t.CommentNode=8]="CommentNode",t[t.DocumentNode=9]="DocumentNode",t[t.DocumentTypeNode=10]="DocumentTypeNode",t[t.DocumentFragment=11]="DocumentFragment"}(t||(t={}));export{o as a,e as c,n as g}
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*!
|
2
2
|
* Custom elements for Nanopore-Digital Web applications
|
3
3
|
*/
|
4
|
-
import{F as t,u as i}from"./nano-slides-
|
4
|
+
import{F as t,u as i}from"./nano-slides-B0sdF3jS.js";import"./index-q0XK-YfO.js";import"./renderer-BjGZGWn8.js";const s=t.Slide,h=s.prototype.updateTarget;s.prototype.updateTarget=function(...t){if(h.apply(this,t),!this.parent.options.fade)return;const i=this.target-this.x,s=this.cells[0].x;this.cells.forEach((function(t){t.renderPosition(t.x-s-i)}))},s.prototype.setOpacity=function(t){this.cells.forEach((function(i){i.element.style.opacity=t}))};const n=t.prototype;t.createMethods.push("_createFade"),n._createFade=function(){this.fadeIndex=this.selectedIndex,this.prevSelectedIndex=this.selectedIndex,this.on("select",this.onSelectFade),this.on("dragEnd",this.onDragEndFade),this.on("settle",this.onSettleFade),this.on("activate",this.onActivateFade),this.on("deactivate",this.onDeactivateFade)};const o=n.updateSlides;n.updateSlides=function(...t){o.apply(this,t),this.options.fade&&this.slides.forEach((function(t,i){t.setOpacity(i==this.selectedIndex?1:0)}),this)},n.onSelectFade=function(){this.fadeIndex=Math.min(this.prevSelectedIndex,this.slides.length-1),this.prevSelectedIndex=this.selectedIndex},n.onSettleFade=function(){delete this.didDragEnd,this.options.fade&&(this.selectedSlide.setOpacity(1),this.slides[this.fadeIndex]&&this.fadeIndex!=this.selectedIndex&&this.slides[this.fadeIndex].setOpacity(0))},n.onDragEndFade=function(){this.didDragEnd=!0},n.onActivateFade=function(){this.options.fade&&this.element.classList.add("is-fade")},n.onDeactivateFade=function(){this.options.fade&&(this.element.classList.remove("is-fade"),this.slides.forEach((function(t){t.setOpacity("")})))};const c=n.positionSlider;n.positionSlider=function(...t){this.options.fade?(this.fadeSlides(),this.dispatchScrollEvent()):c.apply(this,t)};const u=n.positionSliderAtSelected;n.positionSliderAtSelected=function(...t){this.options.fade&&this.setTranslateX(0),u.apply(this,t)},n.fadeSlides=function(){if(this.slides.length<2)return;const t=this.getFadeIndexes(),i=this.slides[t.a],s=this.slides[t.b],h=this.wrapDifference(i.target,s.target);let n=this.wrapDifference(i.target,-this.x);n/=h,i.setOpacity(1-n),s.setOpacity(n);let o=t.a;this.isDragging&&(o=n>.5?t.a:t.b),null!=this.fadeHideIndex&&this.fadeHideIndex!=o&&this.fadeHideIndex!=t.a&&this.fadeHideIndex!=t.b&&this.slides[this.fadeHideIndex].setOpacity(0),this.fadeHideIndex=o},n.getFadeIndexes=function(){return this.isDragging||this.didDragEnd||void 0===this.fadeIndex?this.options.wrapAround?this.getFadeDragWrapIndexes():this.getFadeDragLimitIndexes():{a:this.fadeIndex,b:this.selectedIndex}},n.getFadeDragWrapIndexes=function(){const t=this.slides.map((function(t,i){return this.getSlideDistance(-this.x,i)}),this),s=t.map((function(t){return Math.abs(t)})),h=Math.min(...s),n=s.indexOf(h);return{a:n,b:i.modulo(n+(t[n]>=0?1:-1),this.slides.length)}},n.getFadeDragLimitIndexes=function(){let t=0;for(let i=0;i<this.slides.length-1&&!(-this.x<this.slides[i].target);i++)t=i;return{a:t,b:t+1}},n.wrapDifference=function(t,i){let s=i-t;if(!this.options.wrapAround)return s;const h=s+this.slideableWidth,n=s-this.slideableWidth;return Math.abs(h)<Math.abs(s)&&(s=h),Math.abs(n)<Math.abs(s)&&(s=n),s};const e=n._getWrapShiftCells;n._getWrapShiftCells=function(...t){this.options.fade||e.apply(this,t)};const f=n.shiftWrapCells;n.shiftWrapCells=function(...t){this.options.fade||f.apply(this,t)}
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*!
|
2
2
|
* Custom elements for Nanopore-Digital Web applications
|
3
3
|
*/
|
4
|
-
import{h as l}from"./renderer-
|
4
|
+
import{h as l}from"./renderer-BjGZGWn8.js";const r=({label:r,hasLabelSlot:a,controlId:e,labelId:o,floatLabel:t,placeholder:s,alwaysShowPlaceholder:c,hideLabel:n,hasValue:i,rtl:_,showCharCount:m,maxlength:d,charCount:h})=>{if(r||a)return t?l("label",{class:"form-ctrl__float-label",htmlFor:e,id:o},l("slot",{name:"label"},r),m&&l("span",{class:"form-ctrl__label-charcount"},d?` ${h}/${d}`:` ${h}`)):l("label",{class:{"form-ctrl__label":!0,"visually-hide":n},htmlFor:e,id:o},l("div",{class:"form-ctrl__label-wrap"},s&&c&&i&&_&&l("span",{class:"form-ctrl__label-placeholder"},s," / "),l("span",{class:"form-ctrl__labeltext"},l("slot",{name:"label"},r)),s&&c&&i&&!_&&l("span",{class:"form-ctrl__label-placeholder"}," / ",s)),m&&l("span",{class:"form-ctrl__label-charcount"},d?d-h+" left":h+" characters"))},a=(a,e)=>{const{rtl:o,floatLabel:t,label:s,moreId:c,helperEndId:n,type:i,hasHelperSlot:_,showInlineError:m,errorMessage:d,hasHelperEndSlot:h}=a;return l("div",{class:{"form-ctrl":!0,"has-label":null!==s&&!t,"has-float-label":null!==s&&t,"has-helper-end":h,rtl:o,[a.class]:!!a.class}},l("div",{class:"form-ctrl__wrapper"},t?"":r({...a}),l("div",{class:{"form-ctrl__input":!0,"form-ctrl__textarea":"textarea"===i}},t&&r({...a,rtl:o}),e),(m||_)&&l("div",{class:"form-ctrl__more",id:c},m&&l("div",{class:"form-ctrl__error","aria-live":"polite"},d),l("div",{class:"form-ctrl__helper"},l("slot",{name:"helper"})))),h&&l("div",{class:"form-ctrl__helper-end",id:n},l("slot",{name:"helper-end"})))},e=(r,a)=>{const{ref:e,onClearText:o,clearControl:t,readonly:s,disabled:c,control:n,endSlot:i,endValueSlot:_,startSlot:m,showInlineError:d}=r,h=()=>{n.setFocus()};return l("div",{class:"form-ctrl__input-wrap",ref:l=>{e&&e(l)}},l("span",{class:"form-ctrl__slot-start"},l("slot",{name:"start"}),m),a,t&&!s&&!c&&l("button",{type:"button",class:"icon form-ctrl__clear-btn",tabindex:"-1",onTouchStart:o,onMouseDown:o},l("nano-icon",{name:"light/xmark",role:"img",ariaLabel:"Clear content"})),d&&l("div",{onClick:h,class:"form-ctrl__validation-icon"},l("nano-icon",{name:"solid/circle-xmark",class:"form-ctrl__error-icon"}),l("nano-icon",{name:"solid/circle-check",class:"form-ctrl__success-icon"})),l("span",{class:"form-ctrl__slot-value-end",onClick:h},l("slot",{name:"value-end"}),_),l("span",{class:"form-ctrl__slot-end"},l("slot",{name:"end"}),i))};export{a as F,e as a}
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*!
|
2
2
|
* Custom elements for Nanopore-Digital Web applications
|
3
3
|
*/
|
4
|
-
import{F as t}from"./nano-slides-
|
4
|
+
import{F as t}from"./nano-slides-B0sdF3jS.js";import"./index-q0XK-YfO.js";import"./renderer-BjGZGWn8.js";t.createMethods.push("_createFullscreen");const i=t.prototype;i._createFullscreen=function(){this.isFullscreen=!1,this.options.fullscreen&&(this.viewFullscreenButton=new n("view",this),this.exitFullscreenButton=new n("exit",this),this.on("activate",this._changeFullscreenActive),this.on("deactivate",this._changeFullscreenActive))},i._changeFullscreenActive=function(){const t=this.isActive?"appendChild":"removeChild";this.element[t](this.viewFullscreenButton.element),this.element[t](this.exitFullscreenButton.element);const i=this.isActive?"activate":"deactivate";this.viewFullscreenButton[i](),this.exitFullscreenButton[i]()},i.viewFullscreen=function(){this._changeFullscreen(!0),this.focus()},i.exitFullscreen=function(){this._changeFullscreen(!1)},i._changeFullscreen=function(t){if(this.isFullscreen==t)return;this.isFullscreen=t;const i=t?"add":"remove";document.documentElement.classList[i]("is-flickity-fullscreen"),this.element.classList[i]("is-fullscreen"),this.resize(),this.isFullscreen&&this.reposition(),this.dispatchEvent("fullscreenChange",null,[t])},i.toggleFullscreen=function(){this._changeFullscreen(!this.isFullscreen)};const s=i.setGallerySize;function n(t,i){this.name=t,this.createButton(),this.createIcon(),this.onClick=function(){i[t+"Fullscreen"]()},this.clickHandler=this.onClick.bind(this)}i.setGallerySize=function(){this.options.setGallerySize&&(this.isFullscreen?this.viewport.style.height="":s.call(this))},t.keyboardHandlers[27]=function(){this.exitFullscreen()},n.prototype.createButton=function(){const t=this.element=document.createElement("button");t.className="flickity-button flickity-fullscreen-button flickity-fullscreen-button-"+this.name,t.setAttribute("type","button");const i=(s=this.name+" full-screen")[0].toUpperCase()+s.slice(1);var s;t.setAttribute("aria-label",i),t.title=i};const h="http://www.w3.org/2000/svg",c={view:"M15,20,7,28h5v4H0V20H4v5l8-8Zm5-5,8-8v5h4V0H20V4h5l-8,8Z",exit:"M32,3l-7,7h5v4H18V2h4V7l7-7ZM3,32l7-7v5h4V18H2v4H7L0,29Z"};n.prototype.createIcon=function(){const t=document.createElementNS(h,"svg");t.setAttribute("class","flickity-button-icon"),t.setAttribute("viewBox","0 0 32 32");const i=document.createElementNS(h,"path");i.setAttribute("d",c[this.name]),t.appendChild(i),this.element.appendChild(t)},n.prototype.activate=function(){this.element.addEventListener("click",this.clickHandler)},n.prototype.deactivate=function(){this.element.removeEventListener("click",this.clickHandler)},t.FullscreenButton=n;
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*!
|
2
2
|
* Custom elements for Nanopore-Digital Web applications
|
3
3
|
*/
|
4
|
-
import{i as e,j as t}from"./index-
|
4
|
+
import{i as e,j as t}from"./index-q0XK-YfO.js";const s=e=>!("isConnected"in e)||e.isConnected,n=(()=>{let e;return(...t)=>{e&&clearTimeout(e),e=setTimeout((()=>{e=0,(e=>{for(let t of e.keys())e.set(t,e.get(t).filter(s))})(...t)}),2e3)}})(),o=e=>"function"==typeof e?e():e,r=(s,r)=>{const c=((e,t=(e,t)=>e!==t)=>{const s=o(e);let n=new Map(Object.entries(s??{}));const r={dispose:[],get:[],set:[],reset:[]},c=()=>{n=new Map(Object.entries(o(e)??{})),r.reset.forEach((e=>e()))},i=e=>(r.get.forEach((t=>t(e))),n.get(e)),p=(e,s)=>{const o=n.get(e);t(s,o,e)&&(n.set(e,s),r.set.forEach((t=>t(e,s,o))))},u="undefined"==typeof Proxy?{}:new Proxy(s,{get:(e,t)=>i(t),ownKeys:()=>Array.from(n.keys()),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0}),has:(e,t)=>n.has(t),set:(e,t,s)=>(p(t,s),!0)}),a=(e,t)=>(r[e].push(t),()=>{((e,t)=>{const s=e.indexOf(t);s>=0&&(e[s]=e[e.length-1],e.length--)})(r[e],t)});return{state:u,get:i,set:p,on:a,onChange:(t,s)=>{const n=a("set",((e,n)=>{e===t&&s(n)})),r=a("reset",(()=>s(o(e)[t])));return()=>{n(),r()}},use:(...e)=>{const t=e.reduce(((e,t)=>(t.set&&e.push(a("set",t.set)),t.get&&e.push(a("get",t.get)),t.reset&&e.push(a("reset",t.reset)),t.dispose&&e.push(a("dispose",t.dispose)),e)),[]);return()=>t.forEach((e=>e()))},dispose:()=>{r.dispose.forEach((e=>e())),c()},reset:c,forceUpdate:e=>{const t=n.get(e);r.set.forEach((s=>s(e,t,t)))}}})(s,r);return c.use((()=>{if("function"!=typeof e)return{};const s=new Map;return{dispose:()=>s.clear(),get:t=>{const n=e();n&&((e,t,s)=>{const n=e.get(t);n?n.includes(s)||n.push(s):e.set(t,[s])})(s,t,n)},set:e=>{const o=s.get(e);o&&s.set(e,o.filter(t)),n(s)},reset:()=>{s.forEach((e=>e.forEach(t))),n(s)}}})()),c};export{r as c}
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*!
|
2
2
|
* Custom elements for Nanopore-Digital Web applications
|
3
3
|
*/
|
4
|
-
import{N as n}from"./index-
|
4
|
+
import{N as n}from"./index-q0XK-YfO.js";import{t as o,s as e}from"./renderer-BjGZGWn8.js";export{g as getTagPrefix}from"./renderer-BjGZGWn8.js";export{d as nanoDebounce,t as nanoThrottle}from"./throttle-C93FMm2Z.js";export{g as nanoGetTabElements}from"./tabbable-DqhO0wy7.js";const a=(n,t=[],o)=>`${n}\n ${t.length?'<nano-cta group="balanced" slot="footer">'+t.map(((n,t)=>`<button \n data-btn="${t}" \n class="${n.classes}"\n theme="${n.theme||o}"\n secondary="${n.secondary?"true":"false"}"\n >${n.content}</button>`)).join("")+"</nano-cta>":""}\n `,r=(n,t=[])=>{t.length&&Array.from(n.querySelectorAll('nano-cta[slot="footer"] button')).map((n=>{const o=t.find(((t,o)=>n.dataset.btn===o.toString()));o&&o.handler&&n.addEventListener("click",o.handler)}))};async function c(n,t="tr",e,c,s=[]){const i={theme:"primary",duration:3e3,closable:!0,...c};e=e||"light/circle-info";const m=Object.assign(document.createElement(o("nano-alert")),{...i,open:!1,innerHTML:`\n <nano-icon name="${e}" slot="icon"></nano-icon>\n ${a(n,s,i.theme)}\n `});return r(m,s),document.body.appendChild(m),new Promise((n=>{requestAnimationFrame((async()=>{await m.toast(t),n(m)}))}))}function s(n,t=[],e,c="light/circle-info",s={}){const i={theme:"primary",duration:1/0,closable:!1,...s};c=c||"light/circle-info";const m=Object.assign(document.createElement(o("nano-alert")),{...i,open:!1,innerHTML:`\n ${c?`<nano-icon name="${c}" slot="icon"></nano-icon>`:""}\n ${a(n,t,i.theme)}\n `});return r(m,t),document.body.appendChild(m),new Promise((n=>{setTimeout((async()=>{await m.alert(e),n(m)}),100)}))}function i(n,t=[],e){const a={noUserDismiss:!1,label:"Dialog",...e},r=Object.assign(document.createElement(o("nano-dialog")),{...a,open:!1,innerHTML:`\n ${n}\n ${t.length?'<nano-cta group="balanced" slot="footer">'+t.map(((n,t)=>`<button \n data-btn="${t}" \n class="${n.classes}"\n theme="${n.theme}"\n secondary="${n.secondary?"true":"false"}"\n >${n.content}</button>`)).join("")+"</nano-cta>":""}`});return t.length&&Array.from(r.querySelectorAll('nano-cta[slot="footer"] button')).map((n=>{const o=t.find(((t,o)=>n.dataset.btn===o.toString()));o&&o.handler&&n.addEventListener("click",o.handler)})),document.body.appendChild(r),new Promise((n=>{requestAnimationFrame((async()=>{await r.show(),n(r)}))}))}function m(t){if(!window||!document)return;const o=e(t),a=document.querySelector(`script[src$="/${n}.esm.js"]`);return a&&(a["data-opts"]={transformTagName:o}),o}const l=()=>{};export{m as componentPrefix,l as initialize,i as nanoCreateDialog,s as nanoShowAlert,c as nanoShowToast,o as transformTag}
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*!
|
2
2
|
* Custom elements for Nanopore-Digital Web applications
|
3
3
|
*/
|
4
|
-
import{F as t,u as i}from"./nano-slides-
|
4
|
+
import{F as t,u as i}from"./nano-slides-B0sdF3jS.js";import"./index-q0XK-YfO.js";import"./renderer-BjGZGWn8.js";t.createMethods.push("_createLazyload");const s=t.prototype;function a(t,i){this.img=t,this.flickity=i,this.load()}s._createLazyload=function(){this.on("select",this.lazyLoad)},s.lazyLoad=function(){const t=this.options.lazyLoad;if(!t)return;const s=this.getAdjacentCellElements("number"==typeof t?t:0);let l=[];s.forEach((function(t){const s=function(t){if("IMG"==t.nodeName){const i=t.getAttribute("data-flickity-lazyload"),s=t.getAttribute("data-flickity-lazyload-src"),a=t.getAttribute("data-flickity-lazyload-srcset");if(i||s||a)return[t]}const s=t.querySelectorAll("img[data-flickity-lazyload], img[data-flickity-lazyload-src], img[data-flickity-lazyload-srcset]");return i.makeArray(s)}(t);l=l.concat(s)})),l.forEach((function(t){new a(t,this)}),this)},a.prototype.handleEvent=i.handleEvent,a.prototype.load=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this);const t=this.img.getAttribute("data-flickity-lazyload")||this.img.getAttribute("data-flickity-lazyload-src"),i=this.img.getAttribute("data-flickity-lazyload-srcset");this.img.src=t,i&&this.img.setAttribute("srcset",i),this.img.removeAttribute("data-flickity-lazyload"),this.img.removeAttribute("data-flickity-lazyload-src"),this.img.removeAttribute("data-flickity-lazyload-srcset")},a.prototype.onload=function(t){this.complete(t,"flickity-lazyloaded")},a.prototype.onerror=function(t){this.complete(t,"flickity-lazyerror")},a.prototype.complete=function(t,i){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this);const s=this.flickity.getParentCell(this.img),a=s&&s.element;this.flickity.cellSizeChange(a),this.img.classList.add(i),this.flickity.dispatchEvent("lazyLoad",t,a)},t.LazyLoader=a;
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*!
|
2
2
|
* Custom elements for Nanopore-Digital Web applications
|
3
3
|
*/
|
4
|
-
import{g as t}from"./tabbable-
|
4
|
+
import{g as t}from"./tabbable-DqhO0wy7.js";let s=[];class i{element;tabDirection="forward";constructor(t){this.element=t,this.handleFocusIn=this.handleFocusIn.bind(this),this.handleKeyDown=this.handleKeyDown.bind(this)}activate(){s.push(this.element),document.addEventListener("focusin",this.handleFocusIn),document.addEventListener("keydown",this.handleKeyDown)}deactivate(){s=s.filter((t=>t!==this.element)),document.removeEventListener("focusin",this.handleFocusIn),document.removeEventListener("keydown",this.handleKeyDown)}isActive(){return s[s.length-1]===this.element}handleFocusIn(s){const i=s.composedPath();if(this.isActive()&&!i.includes(this.element)){const s=t(this.element),i="backward"===this.tabDirection?s.length-1:0;s[i]?.focus({preventScroll:!0})}}handleKeyDown(t){"Tab"===t.key&&t.shiftKey&&(this.tabDirection="backward",setTimeout((()=>this.tabDirection="forward")))}}export{i as M}
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*!
|
2
2
|
* Custom elements for Nanopore-Digital Web applications
|
3
3
|
*/
|
4
|
-
import{r as
|
4
|
+
import{r as t,c as o,g as n}from"./index-q0XK-YfO.js";import{t as e,h as r}from"./renderer-BjGZGWn8.js";import{g as i}from"./dom-C8mB0MAq.js";const a=class{constructor(n){t(this,n),this.nanoToggle=o(this,"nanoToggle",7)}itemOpened;get el(){return n(this)}nanoToggle;onToggleHandler(t){"NANO-DETAILS"===t.target?.tagName&&(t.stopPropagation(),(i(this.el,e("nano-details"))||this.el.querySelectorAll(e("nano-details"))).forEach(((o,n)=>{o!==t.target?o.open=!1:this.itemOpened=n})),this.nanoToggle.emit(t.target))}onClosedHandler(t){t.stopPropagation(),this.itemOpened=null,this.nanoToggle.emit()}render(){return r("slot",{key:"ec9331ce0686c1234021e58af9a456aa267e9247"})}};a.style=":host,*,*::before,*::after{box-sizing:border-box}[hidden]{display:none !important}@media (prefers-reduced-motion: reduce){:host,*,*::before,*::after{animation-duration:0.01ms !important;animation-iteration-count:1 !important;transition-duration:0.01ms !important;scroll-behavior:auto !important}}:host,*,*::before,*::after{box-sizing:border-box}[hidden]{display:none !important}@media (prefers-reduced-motion: reduce){:host,*,*::before,*::after{animation-duration:0.01ms !important;animation-iteration-count:1 !important;transition-duration:0.01ms !important;scroll-behavior:auto !important}}:host{display:contents}";export{a as nano_accordion}
|