@nanoporetech-digital/components 7.9.1 → 8.0.0-alpha.0
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/active-element-DB7WRcF-.js +69 -0
- package/dist/cjs/algolia-data-JweofGji.js +49 -0
- package/dist/cjs/algoliasearch-lite.esm.browser-DWj6KfUw.js +951 -0
- package/dist/cjs/component-store-DKMzj8Ei.js +326 -0
- package/dist/cjs/date-utils-DqYlulq4.js +232 -0
- package/dist/cjs/dom-a3wgHxbn.js +71 -0
- package/dist/cjs/drag-B5XXLJW9.js +72 -0
- package/dist/cjs/events-pBdXJwIU.js +37 -0
- package/dist/cjs/fade-run1oYFS.js +212 -0
- package/dist/cjs/form-control-zW-pmQ5Y.js +84 -0
- package/dist/cjs/fullscreen-DGiusO_n.js +132 -0
- package/dist/cjs/index-BV7Y7Zvi.js +198 -0
- package/dist/cjs/index-D0X7QVou.js +655 -0
- package/dist/cjs/index-DYD4xvxr.js +3328 -0
- package/dist/cjs/index-browser-3bwVgSYS.js +13 -0
- package/dist/cjs/index.cjs.js +41 -24
- package/dist/cjs/lazyload-CavfHrQV.js +94 -0
- package/dist/cjs/loader.cjs.js +4 -9
- package/dist/cjs/local-logged-in-C8Qr7Q7o.js +223 -0
- package/dist/cjs/local-logged-out-fCQ614s8.js +219 -0
- package/dist/cjs/math-DIjJ3V87.js +39 -0
- package/dist/cjs/modal-lJ_KdrUQ.js +49 -0
- package/dist/cjs/nano-accordion.cjs.entry.js +13 -27
- package/dist/cjs/nano-alert.cjs.entry.js +85 -36
- package/dist/cjs/nano-algolia-filter.cjs.entry.js +10 -15
- package/dist/cjs/nano-algolia-pagination.cjs.entry.js +5 -9
- package/dist/cjs/nano-algolia-results.cjs.entry.js +7 -11
- package/dist/cjs/nano-algolia.cjs.entry.js +22 -27
- package/dist/cjs/nano-animation.cjs.entry.js +4 -8
- package/dist/cjs/nano-avatar_5.cjs.entry.js +1778 -0
- package/dist/cjs/nano-breadcrumb.cjs.entry.js +41 -0
- package/dist/cjs/nano-card-carousel.cjs.entry.js +95 -0
- package/dist/cjs/nano-card.cjs.entry.js +23 -0
- package/dist/cjs/nano-checkbox-group.cjs.entry.js +79 -47
- package/dist/cjs/nano-checkbox.cjs.entry.js +34 -24
- package/dist/cjs/nano-collapsible-comparison.cjs.entry.js +62 -0
- package/dist/cjs/nano-components.cjs.js +8 -11
- package/dist/cjs/nano-content-links.cjs.entry.js +17 -0
- package/dist/cjs/nano-cta.cjs.entry.js +42 -0
- package/dist/cjs/nano-data-table-DlJaR4KG.js +1847 -0
- package/dist/cjs/nano-data-table.cjs.entry.js +17 -0
- package/dist/cjs/nano-datalist_3.cjs.entry.js +85 -258
- package/dist/cjs/nano-date-input.cjs.entry.js +14 -27
- package/dist/cjs/nano-date-picker_2.cjs.entry.js +999 -0
- package/dist/cjs/nano-details.cjs.entry.js +61 -81
- package/dist/cjs/nano-dialog.cjs.entry.js +45 -42
- package/dist/cjs/nano-dropdown_2.cjs.entry.js +640 -0
- package/dist/cjs/nano-field-validator.cjs.entry.js +9 -17
- package/dist/cjs/nano-file-upload.cjs.entry.js +6 -11
- package/dist/cjs/nano-footer.cjs.entry.js +25 -0
- package/dist/cjs/nano-global-nav.cjs.entry.js +416 -1171
- package/dist/cjs/nano-grid-item.cjs.entry.js +3 -7
- package/dist/cjs/nano-grid_2.cjs.entry.js +12 -18
- package/dist/cjs/nano-hero.cjs.entry.js +9 -16
- package/dist/cjs/nano-icon-item.cjs.entry.js +21 -0
- package/dist/cjs/nano-icon_3.cjs.entry.js +655 -0
- package/dist/cjs/nano-in-page-nav.cjs.entry.js +212 -0
- package/dist/cjs/nano-intersection-observe.cjs.entry.js +15 -10
- package/dist/cjs/nano-masked-overflow.cjs.entry.js +351 -0
- package/dist/cjs/nano-menu-drawer.cjs.entry.js +8 -13
- package/dist/cjs/nano-more-less.cjs.entry.js +5 -9
- package/dist/cjs/nano-nav-item.cjs.entry.js +271 -0
- package/dist/cjs/nano-progress-bar.cjs.entry.js +8 -13
- package/dist/cjs/nano-range.cjs.entry.js +9 -14
- package/dist/cjs/nano-rating.cjs.entry.js +10 -20
- package/dist/cjs/nano-resize-observe_2.cjs.entry.js +8 -13
- package/dist/cjs/nano-slide.cjs.entry.js +6 -11
- package/dist/cjs/nano-slides-D5q9vQ4P.js +3050 -0
- package/dist/cjs/nano-slides.cjs.entry.js +4 -8
- package/dist/cjs/nano-sortable.cjs.entry.js +11 -14
- package/dist/cjs/nano-spinner.cjs.entry.js +6 -11
- package/dist/cjs/nano-split-pane.cjs.entry.js +9 -14
- package/dist/cjs/nano-sticker.cjs.entry.js +12 -17
- package/dist/cjs/nano-tab-content.cjs.entry.js +9 -14
- package/dist/cjs/nano-tab-group.cjs.entry.js +64 -228
- package/dist/cjs/nano-tab.cjs.entry.js +18 -20
- package/dist/cjs/nano-table.cjs.entry.js +232 -13
- package/dist/cjs/page-dots-D-QQnR4W.js +138 -0
- package/dist/cjs/popover-CpIMxMWJ.js +1947 -0
- package/dist/cjs/renderer-SkVn69pT.js +71 -0
- package/dist/cjs/scroll-DXjC771e.js +185 -0
- package/dist/cjs/search-insights-BtxuX7Wv.js +50 -0
- package/dist/cjs/slot-CBvkJee9.js +107 -0
- package/dist/cjs/style-BccHkuhC.js +58 -0
- package/dist/cjs/tabbable-M9OUrhLE.js +124 -0
- package/dist/cjs/table.worker-BTF0UXAd.js +4 -0
- package/dist/cjs/table.worker-FkRsUwRY.js +32 -0
- package/dist/cjs/theme-2potFCtG.js +46 -0
- package/dist/cjs/throttle-CrRDOkln.js +52 -0
- package/dist/collection/assets/img/bsi/27001.svg +188 -0
- package/dist/collection/assets/img/bsi/9001.svg +172 -0
- package/dist/collection/assets/img/bsi/mark-of-trust.svg +230 -0
- package/dist/collection/assets/img/flags/en.svg +15 -0
- package/dist/collection/assets/img/flags/es.svg +544 -0
- package/dist/collection/assets/img/flags/ja.svg +11 -0
- package/dist/collection/assets/img/flags/zh.svg +14 -0
- package/dist/collection/collection-manifest.json +16 -4
- package/dist/collection/components/accordion/accordion.css +24 -10
- package/dist/collection/components/accordion/accordion.js +20 -55
- package/dist/collection/components/alert/alert.css +127 -58
- package/dist/collection/components/alert/alert.helpers.js +19 -12
- package/dist/collection/components/alert/alert.js +147 -32
- package/dist/collection/components/algolia/algolia-data.js +1 -2
- package/dist/collection/components/algolia/algolia-filter.css +23 -9
- package/dist/collection/components/algolia/algolia-filter.js +8 -9
- package/dist/collection/components/algolia/algolia-interface.js +0 -1
- package/dist/collection/components/algolia/algolia-pagination.js +4 -5
- package/dist/collection/components/algolia/algolia-results.js +5 -6
- package/dist/collection/components/algolia/algolia.css +23 -9
- package/dist/collection/components/algolia/algolia.js +20 -18
- package/dist/collection/components/algolia/lib/squirrelly/browser.js +1 -2
- package/dist/collection/components/algolia/lib/squirrelly/compile-string.js +1 -2
- package/dist/collection/components/algolia/lib/squirrelly/compile.js +1 -2
- package/dist/collection/components/algolia/lib/squirrelly/config.js +1 -2
- package/dist/collection/components/algolia/lib/squirrelly/container-utils.js +1 -2
- package/dist/collection/components/algolia/lib/squirrelly/containers.js +1 -2
- package/dist/collection/components/algolia/lib/squirrelly/err.js +1 -2
- package/dist/collection/components/algolia/lib/squirrelly/parse.js +1 -2
- package/dist/collection/components/algolia/lib/squirrelly/render.js +1 -2
- package/dist/collection/components/algolia/lib/squirrelly/storage.js +1 -2
- package/dist/collection/components/algolia/lib/squirrelly/utils.js +1 -2
- package/dist/collection/components/algolia/lib/template.js +1 -2
- package/dist/collection/components/animation/animation.js +15 -15
- package/dist/collection/components/animation/animations/attention_seekers/bounce.js +1 -2
- package/dist/collection/components/animation/animations/attention_seekers/flash.js +1 -2
- package/dist/collection/components/animation/animations/attention_seekers/headShake.js +1 -2
- package/dist/collection/components/animation/animations/attention_seekers/heartBeat.js +1 -2
- package/dist/collection/components/animation/animations/attention_seekers/jello.js +1 -2
- package/dist/collection/components/animation/animations/attention_seekers/pulse.js +1 -2
- package/dist/collection/components/animation/animations/attention_seekers/rubberBand.js +1 -2
- package/dist/collection/components/animation/animations/attention_seekers/shake.js +1 -2
- package/dist/collection/components/animation/animations/attention_seekers/shakeX.js +1 -2
- package/dist/collection/components/animation/animations/attention_seekers/shakeY.js +1 -2
- package/dist/collection/components/animation/animations/attention_seekers/swing.js +1 -2
- package/dist/collection/components/animation/animations/attention_seekers/tada.js +1 -2
- package/dist/collection/components/animation/animations/attention_seekers/wobble.js +1 -2
- package/dist/collection/components/animation/animations/back_entrances/backInDown.js +1 -2
- package/dist/collection/components/animation/animations/back_entrances/backInLeft.js +1 -2
- package/dist/collection/components/animation/animations/back_entrances/backInRight.js +1 -2
- package/dist/collection/components/animation/animations/back_entrances/backInUp.js +1 -2
- package/dist/collection/components/animation/animations/back_exits/backOutDown.js +1 -2
- package/dist/collection/components/animation/animations/back_exits/backOutLeft.js +1 -2
- package/dist/collection/components/animation/animations/back_exits/backOutRight.js +1 -2
- package/dist/collection/components/animation/animations/back_exits/backOutUp.js +1 -2
- package/dist/collection/components/animation/animations/bouncing_entrances/bounceIn.js +1 -2
- package/dist/collection/components/animation/animations/bouncing_entrances/bounceInDown.js +1 -2
- package/dist/collection/components/animation/animations/bouncing_entrances/bounceInLeft.js +1 -2
- package/dist/collection/components/animation/animations/bouncing_entrances/bounceInRight.js +1 -2
- package/dist/collection/components/animation/animations/bouncing_entrances/bounceInUp.js +1 -2
- package/dist/collection/components/animation/animations/bouncing_exits/bounceOut.js +1 -2
- package/dist/collection/components/animation/animations/bouncing_exits/bounceOutDown.js +1 -2
- package/dist/collection/components/animation/animations/bouncing_exits/bounceOutLeft.js +1 -2
- package/dist/collection/components/animation/animations/bouncing_exits/bounceOutRight.js +1 -2
- package/dist/collection/components/animation/animations/bouncing_exits/bounceOutUp.js +1 -2
- package/dist/collection/components/animation/animations/easings/easings.js +1 -2
- package/dist/collection/components/animation/animations/fading_entrances/fadeIn.js +1 -2
- package/dist/collection/components/animation/animations/fading_entrances/fadeInBottomLeft.js +1 -2
- package/dist/collection/components/animation/animations/fading_entrances/fadeInBottomRight.js +1 -2
- package/dist/collection/components/animation/animations/fading_entrances/fadeInDown.js +1 -2
- package/dist/collection/components/animation/animations/fading_entrances/fadeInDownBig.js +1 -2
- package/dist/collection/components/animation/animations/fading_entrances/fadeInLeft.js +1 -2
- package/dist/collection/components/animation/animations/fading_entrances/fadeInLeftBig.js +1 -2
- package/dist/collection/components/animation/animations/fading_entrances/fadeInRight.js +1 -2
- package/dist/collection/components/animation/animations/fading_entrances/fadeInRightBig.js +1 -2
- package/dist/collection/components/animation/animations/fading_entrances/fadeInTopLeft.js +1 -2
- package/dist/collection/components/animation/animations/fading_entrances/fadeInTopRight.js +1 -2
- package/dist/collection/components/animation/animations/fading_entrances/fadeInUp.js +1 -2
- package/dist/collection/components/animation/animations/fading_entrances/fadeInUpBig.js +1 -2
- package/dist/collection/components/animation/animations/fading_exits/fadeOut.js +1 -2
- package/dist/collection/components/animation/animations/fading_exits/fadeOutBottomLeft.js +1 -2
- package/dist/collection/components/animation/animations/fading_exits/fadeOutBottomRight.js +1 -2
- package/dist/collection/components/animation/animations/fading_exits/fadeOutDown.js +1 -2
- package/dist/collection/components/animation/animations/fading_exits/fadeOutDownBig.js +1 -2
- package/dist/collection/components/animation/animations/fading_exits/fadeOutLeft.js +1 -2
- package/dist/collection/components/animation/animations/fading_exits/fadeOutLeftBig.js +1 -2
- package/dist/collection/components/animation/animations/fading_exits/fadeOutRight.js +1 -2
- package/dist/collection/components/animation/animations/fading_exits/fadeOutRightBig.js +1 -2
- package/dist/collection/components/animation/animations/fading_exits/fadeOutTopLeft.js +1 -2
- package/dist/collection/components/animation/animations/fading_exits/fadeOutTopRight.js +1 -2
- package/dist/collection/components/animation/animations/fading_exits/fadeOutUp.js +1 -2
- package/dist/collection/components/animation/animations/fading_exits/fadeOutUpBig.js +1 -2
- package/dist/collection/components/animation/animations/flippers/flip.js +1 -2
- package/dist/collection/components/animation/animations/flippers/flipInX.js +1 -2
- package/dist/collection/components/animation/animations/flippers/flipInY.js +1 -2
- package/dist/collection/components/animation/animations/flippers/flipOutX.js +1 -2
- package/dist/collection/components/animation/animations/flippers/flipOutY.js +1 -2
- package/dist/collection/components/animation/animations/index.js +1 -2
- package/dist/collection/components/animation/animations/lightspeed/lightSpeedInLeft.js +1 -2
- package/dist/collection/components/animation/animations/lightspeed/lightSpeedInRight.js +1 -2
- package/dist/collection/components/animation/animations/lightspeed/lightSpeedOutLeft.js +1 -2
- package/dist/collection/components/animation/animations/lightspeed/lightSpeedOutRight.js +1 -2
- package/dist/collection/components/animation/animations/rotating_entrances/rotateIn.js +1 -2
- package/dist/collection/components/animation/animations/rotating_entrances/rotateInDownLeft.js +1 -2
- package/dist/collection/components/animation/animations/rotating_entrances/rotateInDownRight.js +1 -2
- package/dist/collection/components/animation/animations/rotating_entrances/rotateInUpLeft.js +1 -2
- package/dist/collection/components/animation/animations/rotating_entrances/rotateInUpRight.js +1 -2
- package/dist/collection/components/animation/animations/rotating_exits/rotateOut.js +1 -2
- package/dist/collection/components/animation/animations/rotating_exits/rotateOutDownLeft.js +1 -2
- package/dist/collection/components/animation/animations/rotating_exits/rotateOutDownRight.js +1 -2
- package/dist/collection/components/animation/animations/rotating_exits/rotateOutUpLeft.js +1 -2
- package/dist/collection/components/animation/animations/rotating_exits/rotateOutUpRight.js +1 -2
- package/dist/collection/components/animation/animations/sliding_entrances/slideInDown.js +1 -2
- package/dist/collection/components/animation/animations/sliding_entrances/slideInLeft.js +1 -2
- package/dist/collection/components/animation/animations/sliding_entrances/slideInRight.js +1 -2
- package/dist/collection/components/animation/animations/sliding_entrances/slideInUp.js +1 -2
- package/dist/collection/components/animation/animations/sliding_exits/slideOutDown.js +1 -2
- package/dist/collection/components/animation/animations/sliding_exits/slideOutLeft.js +1 -2
- package/dist/collection/components/animation/animations/sliding_exits/slideOutRight.js +1 -2
- package/dist/collection/components/animation/animations/sliding_exits/slideOutUp.js +1 -2
- package/dist/collection/components/animation/animations/specials/hinge.js +1 -2
- package/dist/collection/components/animation/animations/specials/jackInTheBox.js +1 -2
- package/dist/collection/components/animation/animations/specials/rollIn.js +1 -2
- package/dist/collection/components/animation/animations/specials/rollOut.js +1 -2
- package/dist/collection/components/animation/animations/zooming_entrances/zoomIn.js +1 -2
- package/dist/collection/components/animation/animations/zooming_entrances/zoomInDown.js +1 -2
- package/dist/collection/components/animation/animations/zooming_entrances/zoomInLeft.js +1 -2
- package/dist/collection/components/animation/animations/zooming_entrances/zoomInRight.js +1 -2
- package/dist/collection/components/animation/animations/zooming_entrances/zoomInUp.js +1 -2
- package/dist/collection/components/animation/animations/zooming_exits/zoomOut.js +1 -2
- package/dist/collection/components/animation/animations/zooming_exits/zoomOutDown.js +1 -2
- package/dist/collection/components/animation/animations/zooming_exits/zoomOutLeft.js +1 -2
- package/dist/collection/components/animation/animations/zooming_exits/zoomOutRight.js +1 -2
- package/dist/collection/components/animation/animations/zooming_exits/zoomOutUp.js +1 -2
- package/dist/collection/components/avatar/avatar.css +41 -0
- package/dist/collection/components/avatar/avatar.js +47 -0
- package/dist/collection/components/badge/badge.js +84 -0
- package/dist/collection/components/breadcrumb/breadcrumb.css +168 -0
- package/dist/collection/components/breadcrumb/breadcrumb.js +83 -0
- package/dist/collection/components/card/card.css +43 -0
- package/dist/collection/components/card/card.js +92 -0
- package/dist/collection/components/card-carousel/card-carousel.css +167 -0
- package/dist/collection/components/card-carousel/card-carousel.js +144 -0
- package/dist/collection/components/checkbox/checkbox-group.css +96 -106
- package/dist/collection/components/checkbox/checkbox-group.js +95 -56
- package/dist/collection/components/checkbox/checkbox-interface.js +0 -1
- package/dist/collection/components/checkbox/checkbox.css +303 -305
- package/dist/collection/components/checkbox/checkbox.js +76 -59
- package/dist/collection/components/collapsible-comparison/collapsible-comparison.css +80 -0
- package/dist/collection/components/collapsible-comparison/collapsible-comparison.js +120 -0
- package/dist/collection/components/content-links/content-links.css +46 -0
- package/dist/collection/components/content-links/content-links.js +21 -0
- package/dist/collection/components/cta/cta.css +49 -0
- package/dist/collection/components/cta/cta.js +175 -0
- package/dist/collection/components/data-table/table.cell.js +114 -0
- package/dist/collection/components/data-table/table.constants.js +4 -0
- package/dist/collection/components/data-table/table.css +327 -0
- package/dist/collection/components/data-table/table.header.js +65 -0
- package/dist/collection/components/data-table/table.js +1721 -0
- package/dist/collection/components/data-table/table.pin-service.js +388 -0
- package/dist/collection/components/data-table/table.row.js +112 -0
- package/dist/collection/components/data-table/table.store.js +144 -0
- package/dist/collection/components/data-table/table.utils.js +133 -0
- package/dist/collection/components/data-table/table.worker.js +220 -0
- package/dist/collection/components/datalist/datalist.css +43 -26
- package/dist/collection/components/datalist/datalist.js +35 -32
- package/dist/collection/components/date-input/date-input.css +25 -13
- package/dist/collection/components/date-input/date-input.js +49 -48
- package/dist/collection/components/date-picker/date-picker.css +51 -53
- package/dist/collection/components/date-picker/date-picker.js +41 -73
- package/dist/collection/components/date-picker/duet-date-picker/date-adapter.js +1 -2
- package/dist/collection/components/date-picker/duet-date-picker/date-localization.js +1 -2
- package/dist/collection/components/date-picker/duet-date-picker/date-picker-day.js +1 -2
- package/dist/collection/components/date-picker/duet-date-picker/date-picker-month.js +2 -3
- package/dist/collection/components/details/details.css +80 -106
- package/dist/collection/components/details/details.js +83 -134
- package/dist/collection/components/dialog/dialog.css +89 -87
- package/dist/collection/components/dialog/dialog.helpers.js +18 -7
- package/dist/collection/components/dialog/dialog.js +47 -57
- package/dist/collection/components/drawer/drawer.css +119 -50
- package/dist/collection/components/drawer/drawer.js +144 -55
- package/dist/collection/components/dropdown/dropdown.css +46 -31
- package/dist/collection/components/dropdown/dropdown.js +82 -64
- package/dist/collection/components/field-validator/field-validator.js +22 -25
- package/dist/collection/components/file-upload/file-upload-list.js +1 -2
- package/dist/collection/components/file-upload/file-upload.css +29 -17
- package/dist/collection/components/file-upload/file-upload.js +20 -20
- package/dist/collection/components/footer/footer.css +185 -0
- package/dist/collection/components/footer/footer.js +43 -0
- package/dist/collection/components/form-control/form-control.js +8 -8
- package/dist/collection/components/global-nav/assets/local-logged-in.json +202 -0
- package/dist/collection/components/global-nav/assets/local-logged-out.json +198 -0
- package/dist/collection/components/global-nav/global-nav.css +435 -0
- package/dist/collection/components/global-nav/global-nav.js +573 -1468
- package/dist/collection/components/global-search-results/global-search-results.css +26 -14
- package/dist/collection/components/global-search-results/global-search-results.js +36 -27
- package/dist/collection/components/grid/grid-item.js +2 -3
- package/dist/collection/components/grid/grid.css +23 -9
- package/dist/collection/components/grid/grid.js +21 -24
- package/dist/collection/components/hero/hero.css +23 -9
- package/dist/collection/components/hero/hero.js +12 -13
- package/dist/collection/components/icon/device/elysion.svg +5 -0
- package/dist/collection/components/icon/device/flongle.svg +4 -0
- package/dist/collection/components/icon/device/gridion.svg +9 -0
- package/dist/collection/components/icon/device/minion-mk1d.svg +4 -0
- package/dist/collection/components/icon/device/p2-integrated.svg +7 -0
- package/dist/collection/components/icon/device/p2-solo.svg +5 -0
- package/dist/collection/components/icon/device/p24.svg +6 -0
- package/dist/collection/components/icon/device/q.svg +4 -0
- package/dist/collection/components/icon/icon.css +76 -37
- package/dist/collection/components/icon/icon.js +144 -103
- package/dist/collection/components/icon/pictogram/analyse.svg +10 -0
- package/dist/collection/components/icon/pictogram/animal-research.svg +4 -0
- package/dist/collection/components/icon/pictogram/assembly.svg +3 -0
- package/dist/collection/components/icon/pictogram/biopharma.svg +3 -0
- package/dist/collection/components/icon/pictogram/cancer-research.svg +15 -0
- package/dist/collection/components/icon/pictogram/chromatin-conformation.svg +3 -0
- package/dist/collection/components/icon/pictogram/clinical-research.svg +3 -0
- package/dist/collection/components/icon/pictogram/environmental-conservation.svg +5 -0
- package/dist/collection/components/icon/pictogram/epigenetics.svg +5 -0
- package/dist/collection/components/icon/pictogram/fusion-transcripts.svg +3 -0
- package/dist/collection/components/icon/pictogram/gene-expression.svg +3 -0
- package/dist/collection/components/icon/pictogram/genome-research.svg +3 -0
- package/dist/collection/components/icon/pictogram/human-genomics.svg +4 -0
- package/dist/collection/components/icon/pictogram/infectious-disease.svg +13 -0
- package/dist/collection/components/icon/pictogram/microbial-genomics.svg +15 -0
- package/dist/collection/components/icon/pictogram/microbiome-metagenomics.svg +16 -0
- package/dist/collection/components/icon/pictogram/multiomics.svg +13 -0
- package/dist/collection/components/icon/pictogram/plant-research.svg +3 -0
- package/dist/collection/components/icon/pictogram/population-genomics.svg +6 -0
- package/dist/collection/components/icon/pictogram/prepare.svg +4 -0
- package/dist/collection/components/icon/pictogram/scalable.svg +12 -0
- package/dist/collection/components/icon/pictogram/sequence.svg +3 -0
- package/dist/collection/components/icon/pictogram/single-cell-spatial-transcriptions.svg +12 -0
- package/dist/collection/components/icon/pictogram/snvs-phasing.svg +4 -0
- package/dist/collection/components/icon/pictogram/splice-variation.svg +4 -0
- package/dist/collection/components/icon/pictogram/structural-variation.svg +4 -0
- package/dist/collection/components/icon/pictogram/targeted-sequencing.svg +10 -0
- package/dist/collection/components/icon/pictogram/transcriptomics.svg +3 -0
- package/dist/collection/components/icon/pictogram/unrestricted-read-length.svg +10 -0
- package/dist/collection/components/icon/pictogram/whole-genome-sequencing.svg +3 -0
- package/dist/collection/components/icon/pictogram/workflow-end-to-end.svg +3 -0
- package/dist/collection/components/icon/request.js +1 -2
- package/dist/collection/components/icon/utils.js +8 -11
- package/dist/collection/components/icon/validate.js +1 -2
- package/dist/collection/components/icon-button/icon-button.css +45 -37
- package/dist/collection/components/icon-button/icon-button.js +17 -26
- package/dist/collection/components/icon-item/icon-item.css +41 -0
- package/dist/collection/components/icon-item/icon-item.js +72 -0
- package/dist/collection/components/img/img.css +23 -9
- package/dist/collection/components/img/img.js +10 -11
- package/dist/collection/components/in-page-nav/in-page-nav.css +122 -0
- package/dist/collection/components/in-page-nav/in-page-nav.js +278 -0
- package/dist/collection/components/input/input.css +215 -167
- package/dist/collection/components/input/input.js +372 -133
- package/dist/collection/components/intersection-observe/intersection-observe.js +21 -10
- package/dist/collection/components/masked-overflow/masked-overflow.css +241 -0
- package/dist/collection/components/masked-overflow/masked-overflow.js +610 -0
- package/dist/collection/components/menu/menu.css +38 -46
- package/dist/collection/components/menu/menu.js +93 -36
- package/dist/collection/components/menu-drawer/menu-drawer.css +23 -9
- package/dist/collection/components/menu-drawer/menu-drawer.js +7 -8
- package/dist/collection/components/more-less/more-less.js +7 -8
- package/dist/collection/components/nav-item/nav-item.css +73 -270
- package/dist/collection/components/nav-item/nav-item.js +128 -291
- package/dist/collection/components/option/option.css +57 -39
- package/dist/collection/components/option/option.js +33 -18
- package/dist/collection/components/progress-bar/progress-bar.css +23 -9
- package/dist/collection/components/progress-bar/progress-bar.js +11 -9
- package/dist/collection/components/range/range.css +23 -9
- package/dist/collection/components/range/range.js +17 -19
- package/dist/collection/components/rating/rating.css +24 -10
- package/dist/collection/components/rating/rating.js +13 -18
- package/dist/collection/components/resize-observe/resize-observe.js +6 -9
- package/dist/collection/components/select/select.css +194 -223
- package/dist/collection/components/select/select.js +108 -136
- package/dist/collection/components/skeleton/skeleton.css +23 -9
- package/dist/collection/components/skeleton/skeleton.js +7 -7
- package/dist/collection/components/slides/lib/js/animate.js +1 -2
- package/dist/collection/components/slides/lib/js/cell.js +1 -2
- package/dist/collection/components/slides/lib/js/drag.js +1 -2
- package/dist/collection/components/slides/lib/js/fade.js +1 -2
- package/dist/collection/components/slides/lib/js/flickity.js +15 -5
- package/dist/collection/components/slides/lib/js/fullscreen.js +1 -2
- package/dist/collection/components/slides/lib/js/index.js +1 -2
- package/dist/collection/components/slides/lib/js/lazyload.js +1 -2
- package/dist/collection/components/slides/lib/js/page-dots.js +5 -7
- package/dist/collection/components/slides/lib/js/player.js +1 -2
- package/dist/collection/components/slides/lib/js/prev-next-button.js +1 -2
- package/dist/collection/components/slides/lib/js/slide.js +1 -2
- package/dist/collection/components/slides/lib/js/utils/event-emitter.js +1 -2
- package/dist/collection/components/slides/lib/js/utils/gestures.js +1 -2
- package/dist/collection/components/slides/lib/js/utils/get-size.js +1 -2
- package/dist/collection/components/slides/lib/js/utils/utils.js +1 -2
- package/dist/collection/components/slides/slide.css +23 -9
- package/dist/collection/components/slides/slide.js +3 -4
- package/dist/collection/components/slides/slides.css +49 -24
- package/dist/collection/components/slides/slides.js +16 -16
- package/dist/collection/components/sortable/sortable.css +25 -13
- package/dist/collection/components/sortable/sortable.js +34 -25
- package/dist/collection/components/spinner/spinner.css +23 -11
- package/dist/collection/components/spinner/spinner.js +8 -5
- package/dist/collection/components/split-pane/split-pane.css +33 -20
- package/dist/collection/components/split-pane/split-pane.js +13 -11
- package/dist/collection/components/sticker/sticker.css +23 -9
- package/dist/collection/components/sticker/sticker.js +14 -14
- package/dist/collection/components/table/table.css +31 -383
- package/dist/collection/components/table/table.js +211 -1566
- package/dist/collection/components/tabs/tab-content.css +23 -9
- package/dist/collection/components/tabs/tab-content.js +11 -7
- package/dist/collection/components/tabs/tab-group.css +70 -229
- package/dist/collection/components/tabs/tab-group.js +98 -266
- package/dist/collection/components/tabs/tab.css +83 -134
- package/dist/collection/components/tabs/tab.js +25 -18
- package/dist/collection/components/tag/tag.css +45 -0
- package/dist/collection/components/tag/tag.js +122 -0
- package/dist/collection/components/tooltip/tooltip.css +93 -66
- package/dist/collection/components/tooltip/tooltip.js +30 -14
- package/dist/collection/global/script/global.js +1 -2
- package/dist/collection/index.js +2 -2
- package/dist/collection/types/shared.js +0 -1
- package/dist/collection/utils/active-element.js +49 -2
- package/dist/collection/utils/constructible-style.js +3 -4
- package/dist/collection/utils/custom-template.js +1 -2
- package/dist/collection/utils/date-utils.js +1 -2
- package/dist/collection/utils/dom.js +10 -11
- package/dist/collection/utils/drag.js +1 -2
- package/dist/collection/utils/events.js +1 -2
- package/dist/collection/utils/fetch.js +1 -2
- package/dist/collection/utils/form.js +1 -2
- package/dist/collection/utils/gesture/gesture-controller.js +1 -2
- package/dist/collection/utils/gesture/index.js +1 -2
- package/dist/collection/utils/gesture/listener.js +1 -2
- package/dist/collection/utils/gesture/pointer-events.js +1 -2
- package/dist/collection/utils/gesture/recognizers.js +1 -2
- package/dist/collection/utils/gesture/swipe-back.js +1 -2
- package/dist/collection/utils/math.js +1 -2
- package/dist/collection/utils/modal.js +1 -2
- package/dist/collection/utils/popover.js +7 -4
- package/dist/collection/utils/promise-queue.js +1 -2
- package/dist/collection/utils/renderer.js +12 -3
- package/dist/collection/utils/scroll.js +59 -3
- package/dist/collection/utils/search-insights.js +1 -2
- package/dist/collection/utils/slot.js +82 -28
- package/dist/collection/utils/store/component-store.js +25 -14
- package/dist/collection/utils/store/get-set.js +1 -2
- package/dist/collection/utils/style.js +54 -0
- package/dist/collection/utils/tabbable.js +41 -27
- package/dist/collection/utils/testing/index.js +1 -2
- package/dist/collection/utils/theme.js +2 -4
- package/dist/collection/utils/throttle.js +1 -2
- package/dist/collection/utils/transitions.js +24 -7
- package/dist/components/active-element.js +50 -4
- package/dist/components/algolia-data.js +1 -3
- package/dist/components/algolia.js +964 -23
- package/dist/components/avatar.js +33 -0
- package/dist/components/badge.js +36 -0
- package/dist/components/component-store.js +27 -26
- package/dist/components/cta.js +61 -0
- package/dist/components/datalist.js +24 -27
- package/dist/components/date-picker.js +33 -45
- package/dist/components/details.js +198 -0
- package/dist/components/dom.js +11 -22
- package/dist/components/drag.js +1 -3
- package/dist/components/drawer.js +402 -0
- package/dist/components/dropdown.js +65 -59
- package/dist/components/events.js +1 -3
- package/dist/components/fade.js +2 -4
- package/dist/components/form-control.js +11 -9
- package/dist/components/fullscreen.js +2 -4
- package/dist/components/global-search-results.js +735 -0
- package/dist/components/grid.js +6 -9
- package/dist/components/icon-button.js +3 -17
- package/dist/components/icon.js +98 -90
- package/dist/components/img.js +6 -9
- package/dist/components/index-browser.js +3 -5
- package/dist/components/index.js +41 -22
- package/dist/components/index2.js +1 -3
- package/dist/components/index3.js +4 -9
- package/dist/components/input.js +178 -65
- package/dist/components/lazyload.js +2 -4
- package/dist/components/local-logged-in.js +214 -0
- package/dist/components/local-logged-out.js +210 -0
- package/dist/components/masked-overflow.js +402 -0
- package/dist/components/math.js +2 -4
- package/dist/components/menu.js +76 -29
- package/dist/components/modal.js +1 -3
- package/dist/components/nano-accordion.js +13 -26
- package/dist/components/nano-alert.js +82 -28
- package/dist/components/nano-algolia-filter.js +5 -8
- package/dist/components/nano-algolia-pagination.js +3 -5
- package/dist/components/nano-algolia-results.js +4 -6
- package/dist/components/nano-algolia.js +1 -3
- package/dist/components/nano-animation.js +2 -4
- package/dist/components/nano-avatar.d.ts +11 -0
- package/dist/components/nano-avatar.js +9 -0
- package/dist/components/nano-badge.d.ts +11 -0
- package/dist/components/nano-badge.js +9 -0
- package/dist/components/nano-breadcrumb.d.ts +11 -0
- package/dist/components/nano-breadcrumb.js +84 -0
- package/dist/components/nano-card-carousel.d.ts +11 -0
- package/dist/components/nano-card-carousel.js +124 -0
- package/dist/components/nano-card.d.ts +11 -0
- package/dist/components/nano-card.js +42 -0
- package/dist/components/nano-checkbox-group.js +76 -42
- package/dist/components/nano-checkbox.js +35 -22
- package/dist/components/nano-collapsible-comparison.d.ts +11 -0
- package/dist/components/nano-collapsible-comparison.js +106 -0
- package/dist/components/nano-content-links.d.ts +11 -0
- package/dist/components/nano-content-links.js +32 -0
- package/dist/components/nano-cta.d.ts +11 -0
- package/dist/components/nano-cta.js +9 -0
- package/dist/components/nano-data-table.d.ts +11 -0
- package/dist/components/nano-data-table.js +1945 -0
- package/dist/components/nano-datalist.js +1 -3
- package/dist/components/nano-date-input.js +35 -34
- package/dist/components/nano-date-picker.js +3 -5
- package/dist/components/nano-details.js +3 -209
- package/dist/components/nano-dialog.js +38 -34
- package/dist/components/nano-drawer.js +2 -335
- package/dist/components/nano-dropdown.js +1 -3
- package/dist/components/nano-field-validator.js +8 -14
- package/dist/components/nano-file-upload.js +4 -7
- package/dist/components/nano-footer.d.ts +11 -0
- package/dist/components/nano-footer.js +47 -0
- package/dist/components/nano-global-nav.js +519 -1251
- package/dist/components/nano-global-search-results.js +2 -669
- package/dist/components/nano-grid-item.js +2 -4
- package/dist/components/nano-grid.js +1 -3
- package/dist/components/nano-hero.js +9 -12
- package/dist/components/nano-icon-button.js +1 -3
- package/dist/components/nano-icon-item.d.ts +11 -0
- package/dist/components/nano-icon-item.js +39 -0
- package/dist/components/nano-icon.js +1 -3
- package/dist/components/nano-img.js +1 -3
- package/dist/components/nano-in-page-nav.d.ts +11 -0
- package/dist/components/nano-in-page-nav.js +246 -0
- package/dist/components/nano-input.js +1 -3
- package/dist/components/nano-intersection-observe.js +11 -5
- package/dist/components/nano-masked-overflow.d.ts +11 -0
- package/dist/components/nano-masked-overflow.js +9 -0
- package/dist/components/nano-menu-drawer.js +5 -8
- package/dist/components/nano-menu.js +1 -3
- package/dist/components/nano-more-less.js +3 -5
- package/dist/components/nano-nav-item.js +1 -3
- package/dist/components/nano-option.js +1 -3
- package/dist/components/nano-progress-bar.js +1 -3
- package/dist/components/nano-range.js +4 -7
- package/dist/components/nano-rating.js +8 -16
- package/dist/components/nano-resize-observe.js +1 -3
- package/dist/components/nano-select.js +1 -3
- package/dist/components/nano-skeleton.js +1 -3
- package/dist/components/nano-slide.js +4 -7
- package/dist/components/nano-slides.js +3 -3087
- package/dist/components/nano-sortable.js +12 -13
- package/dist/components/nano-spinner.js +1 -3
- package/dist/components/nano-split-pane.js +5 -8
- package/dist/components/nano-sticker.js +1 -3
- package/dist/components/nano-tab-content.js +8 -11
- package/dist/components/nano-tab-group.js +85 -239
- package/dist/components/nano-tab.js +17 -17
- package/dist/components/nano-table.js +205 -1882
- package/dist/components/nano-tag.d.ts +11 -0
- package/dist/components/nano-tag.js +9 -0
- package/dist/components/nano-tooltip.js +1 -3
- package/dist/components/nav-item.js +174 -225
- package/dist/components/option.js +12 -13
- package/dist/components/page-dots.js +6 -9
- package/dist/components/popover.js +31 -16
- package/dist/components/progress-bar.js +6 -9
- package/dist/components/renderer.js +12 -4
- package/dist/components/resize-observe.js +2 -4
- package/dist/components/scroll.js +60 -5
- package/dist/components/select.js +111 -100
- package/dist/components/skeleton.js +5 -8
- package/dist/components/slides.js +3097 -0
- package/dist/components/slot.js +84 -36
- package/dist/components/spinner.js +4 -7
- package/dist/components/sticker.js +7 -10
- package/dist/components/style.js +56 -0
- package/dist/components/tabbable.js +42 -28
- package/dist/components/table.worker.js +3 -5
- package/dist/components/tag.js +89 -0
- package/dist/components/theme.js +2 -5
- package/dist/components/throttle.js +1 -3
- package/dist/components/tooltip.js +20 -10
- package/dist/esm/active-element-C1pBwzyj.js +65 -0
- package/dist/esm/algolia-data-BNDipgId.js +47 -0
- package/dist/esm/algoliasearch-lite.esm.browser-C1SNUAIj.js +949 -0
- package/dist/esm/component-store-DqCSKpAK.js +324 -0
- package/dist/esm/date-utils-BZYdjI1P.js +217 -0
- package/dist/esm/dom-CF0Ycs9M.js +67 -0
- package/dist/esm/drag-BLOEuv-q.js +70 -0
- package/dist/esm/events-ClRFmcmJ.js +34 -0
- package/dist/esm/fade-CdIyPeai.js +210 -0
- package/dist/esm/form-control-DXPQniNX.js +81 -0
- package/dist/esm/fullscreen-C4GllGer.js +130 -0
- package/dist/esm/index-BQSuCPXH.js +652 -0
- package/dist/esm/index-CFYZ-ZOT.js +3289 -0
- package/dist/esm/index-DxKBolVo.js +196 -0
- package/dist/esm/index-browser-BvSm1vXe.js +6 -0
- package/dist/esm/index.js +43 -24
- package/dist/esm/lazyload-pTbJ7q2S.js +92 -0
- package/dist/esm/loader.js +4 -7
- package/dist/esm/local-logged-in-DNQyU0ot.js +214 -0
- package/dist/esm/local-logged-out-CD2oXHpq.js +210 -0
- package/dist/esm/math-BEqsTfVK.js +36 -0
- package/dist/esm/modal-B50PWCuY.js +47 -0
- package/dist/esm/nano-accordion.entry.js +13 -25
- package/dist/esm/nano-alert.entry.js +85 -34
- package/dist/esm/nano-algolia-filter.entry.js +10 -13
- package/dist/esm/nano-algolia-pagination.entry.js +5 -7
- package/dist/esm/nano-algolia-results.entry.js +7 -9
- package/dist/esm/nano-algolia.entry.js +22 -25
- package/dist/esm/nano-animation.entry.js +4 -6
- package/dist/esm/nano-avatar_5.entry.js +1772 -0
- package/dist/esm/nano-breadcrumb.entry.js +39 -0
- package/dist/esm/nano-card-carousel.entry.js +93 -0
- package/dist/esm/nano-card.entry.js +21 -0
- package/dist/esm/nano-checkbox-group.entry.js +79 -45
- package/dist/esm/nano-checkbox.entry.js +34 -22
- package/dist/esm/nano-collapsible-comparison.entry.js +60 -0
- package/dist/esm/nano-components.js +6 -8
- package/dist/esm/nano-content-links.entry.js +15 -0
- package/dist/esm/nano-cta.entry.js +40 -0
- package/dist/esm/nano-data-table-DsTG4mqR.js +1844 -0
- package/dist/esm/nano-data-table.entry.js +11 -0
- package/dist/esm/nano-datalist_3.entry.js +84 -255
- package/dist/esm/nano-date-input.entry.js +14 -25
- package/dist/esm/nano-date-picker_2.entry.js +996 -0
- package/dist/esm/nano-details.entry.js +61 -79
- package/dist/esm/nano-dialog.entry.js +45 -40
- package/dist/esm/nano-dropdown_2.entry.js +637 -0
- package/dist/esm/nano-field-validator.entry.js +9 -15
- package/dist/esm/nano-file-upload.entry.js +6 -9
- package/dist/esm/nano-footer.entry.js +23 -0
- package/dist/esm/nano-global-nav.entry.js +416 -1169
- package/dist/esm/nano-grid-item.entry.js +3 -5
- package/dist/esm/nano-grid_2.entry.js +12 -16
- package/dist/esm/nano-hero.entry.js +9 -14
- package/dist/esm/nano-icon-item.entry.js +19 -0
- package/dist/esm/nano-icon_3.entry.js +651 -0
- package/dist/esm/nano-in-page-nav.entry.js +210 -0
- package/dist/esm/nano-intersection-observe.entry.js +14 -7
- package/dist/esm/nano-masked-overflow.entry.js +349 -0
- package/dist/esm/nano-menu-drawer.entry.js +8 -11
- package/dist/esm/nano-more-less.entry.js +5 -7
- package/dist/esm/nano-nav-item.entry.js +269 -0
- package/dist/esm/nano-progress-bar.entry.js +8 -11
- package/dist/esm/nano-range.entry.js +9 -12
- package/dist/esm/nano-rating.entry.js +10 -18
- package/dist/esm/nano-resize-observe_2.entry.js +8 -11
- package/dist/esm/nano-slide.entry.js +6 -9
- package/dist/esm/nano-slides-BcyK9Szs.js +3045 -0
- package/dist/esm/nano-slides.entry.js +4 -6
- package/dist/esm/nano-sortable.entry.js +11 -12
- package/dist/esm/nano-spinner.entry.js +6 -9
- package/dist/esm/nano-split-pane.entry.js +9 -12
- package/dist/esm/nano-sticker.entry.js +10 -13
- package/dist/esm/nano-tab-content.entry.js +9 -12
- package/dist/esm/nano-tab-group.entry.js +64 -226
- package/dist/esm/nano-tab.entry.js +18 -18
- package/dist/esm/nano-table.entry.js +234 -9
- package/dist/esm/page-dots-Cq8hjoql.js +136 -0
- package/dist/esm/popover-D1cBIHdr.js +1945 -0
- package/dist/esm/renderer-LJzCFyMt.js +66 -0
- package/dist/esm/scroll-BRRzrkAi.js +179 -0
- package/dist/esm/search-insights-8OL2oeQN.js +48 -0
- package/dist/esm/slot-DBzVpliZ.js +104 -0
- package/dist/esm/style-BrRDhFfF.js +56 -0
- package/dist/esm/tabbable-BpHwrUYt.js +121 -0
- package/dist/esm/table.worker-BTF0UXAd.js +4 -0
- package/dist/esm/table.worker-BoX4CUXT.js +28 -0
- package/dist/esm/theme-aiuyr36I.js +43 -0
- package/dist/esm/throttle-C93FMm2Z.js +48 -0
- package/dist/nano-assets/font/jp/noto-sans-jp-v53-japanese_latin-300.woff2 +0 -0
- package/dist/nano-assets/font/latin/noto-sans-v39-latin-300.woff2 +0 -0
- package/dist/nano-assets/font/latin/noto-sans-v39-latin-300italic.woff2 +0 -0
- package/dist/nano-assets/font/sc/noto-sans-sc-v37-chinese-simplified_latin-300.woff2 +0 -0
- package/dist/nano-assets/hash.txt +1 -1
- package/dist/nano-assets/icon/device/elysion.svg +5 -0
- package/dist/nano-assets/icon/device/flongle.svg +4 -0
- package/dist/nano-assets/icon/device/gridion.svg +9 -0
- package/dist/nano-assets/icon/device/minion-mk1d.svg +4 -0
- package/dist/nano-assets/icon/device/p2-integrated.svg +7 -0
- package/dist/nano-assets/icon/device/p2-solo.svg +5 -0
- package/dist/nano-assets/icon/device/p24.svg +6 -0
- package/dist/nano-assets/icon/device/q.svg +4 -0
- package/dist/nano-assets/icon/pictogram/analyse.svg +10 -0
- package/dist/nano-assets/icon/pictogram/animal-research.svg +4 -0
- package/dist/nano-assets/icon/pictogram/assembly.svg +3 -0
- package/dist/nano-assets/icon/pictogram/biopharma.svg +3 -0
- package/dist/nano-assets/icon/pictogram/cancer-research.svg +15 -0
- package/dist/nano-assets/icon/pictogram/chromatin-conformation.svg +3 -0
- package/dist/nano-assets/icon/pictogram/clinical-research.svg +3 -0
- package/dist/nano-assets/icon/pictogram/environmental-conservation.svg +5 -0
- package/dist/nano-assets/icon/pictogram/epigenetics.svg +5 -0
- package/dist/nano-assets/icon/pictogram/fusion-transcripts.svg +3 -0
- package/dist/nano-assets/icon/pictogram/gene-expression.svg +3 -0
- package/dist/nano-assets/icon/pictogram/genome-research.svg +3 -0
- package/dist/nano-assets/icon/pictogram/human-genomics.svg +4 -0
- package/dist/nano-assets/icon/pictogram/infectious-disease.svg +13 -0
- package/dist/nano-assets/icon/pictogram/microbial-genomics.svg +15 -0
- package/dist/nano-assets/icon/pictogram/microbiome-metagenomics.svg +16 -0
- package/dist/nano-assets/icon/pictogram/multiomics.svg +13 -0
- package/dist/nano-assets/icon/pictogram/plant-research.svg +3 -0
- package/dist/nano-assets/icon/pictogram/population-genomics.svg +6 -0
- package/dist/nano-assets/icon/pictogram/prepare.svg +4 -0
- package/dist/nano-assets/icon/pictogram/scalable.svg +12 -0
- package/dist/nano-assets/icon/pictogram/sequence.svg +3 -0
- package/dist/nano-assets/icon/pictogram/single-cell-spatial-transcriptions.svg +12 -0
- package/dist/nano-assets/icon/pictogram/snvs-phasing.svg +4 -0
- package/dist/nano-assets/icon/pictogram/splice-variation.svg +4 -0
- package/dist/nano-assets/icon/pictogram/structural-variation.svg +4 -0
- package/dist/nano-assets/icon/pictogram/targeted-sequencing.svg +10 -0
- package/dist/nano-assets/icon/pictogram/transcriptomics.svg +3 -0
- package/dist/nano-assets/icon/pictogram/unrestricted-read-length.svg +10 -0
- package/dist/nano-assets/icon/pictogram/whole-genome-sequencing.svg +3 -0
- package/dist/nano-assets/icon/pictogram/workflow-end-to-end.svg +3 -0
- package/dist/nano-assets/img/bsi/27001.svg +188 -0
- package/dist/nano-assets/img/bsi/9001.svg +172 -0
- package/dist/nano-assets/img/bsi/mark-of-trust.svg +230 -0
- package/dist/nano-assets/img/flags/en.svg +15 -0
- package/dist/nano-assets/img/flags/es.svg +544 -0
- package/dist/nano-assets/img/flags/ja.svg +11 -0
- package/dist/nano-assets/img/flags/zh.svg +14 -0
- package/dist/nano-assets/local-logged-in.json +202 -0
- package/dist/nano-assets/local-logged-out.json +198 -0
- package/dist/nano-components/active-element-C1pBwzyj.js +4 -0
- package/dist/nano-components/algolia-data-BNDipgId.js +4 -0
- package/dist/nano-components/algoliasearch-lite.esm.browser-C1SNUAIj.js +4 -0
- package/dist/nano-components/assets/local-logged-in.json +202 -0
- package/dist/nano-components/assets/local-logged-out.json +198 -0
- package/dist/nano-components/component-store-DqCSKpAK.js +4 -0
- package/dist/nano-components/date-utils-BZYdjI1P.js +4 -0
- package/dist/nano-components/device/elysion.svg +5 -0
- package/dist/nano-components/device/flongle.svg +4 -0
- package/dist/nano-components/device/gridion.svg +9 -0
- package/dist/nano-components/device/minion-mk1d.svg +4 -0
- package/dist/nano-components/device/p2-integrated.svg +7 -0
- package/dist/nano-components/device/p2-solo.svg +5 -0
- package/dist/nano-components/device/p24.svg +6 -0
- package/dist/nano-components/device/q.svg +4 -0
- package/dist/nano-components/dom-CF0Ycs9M.js +4 -0
- package/dist/nano-components/drag-BLOEuv-q.js +4 -0
- package/dist/nano-components/events-ClRFmcmJ.js +4 -0
- package/dist/nano-components/fade-CdIyPeai.js +4 -0
- package/dist/nano-components/form-control-DXPQniNX.js +4 -0
- package/dist/nano-components/fullscreen-C4GllGer.js +4 -0
- package/dist/nano-components/index-BQSuCPXH.js +4 -0
- package/dist/nano-components/index-CFYZ-ZOT.js +5 -0
- package/dist/nano-components/index-DxKBolVo.js +4 -0
- package/dist/nano-components/index-browser-BvSm1vXe.js +4 -0
- package/dist/nano-components/index.esm.js +2 -3
- package/dist/nano-components/lazyload-pTbJ7q2S.js +4 -0
- package/dist/nano-components/local-logged-in-DNQyU0ot.js +4 -0
- package/dist/nano-components/local-logged-out-CD2oXHpq.js +4 -0
- package/dist/nano-components/math-BEqsTfVK.js +4 -0
- package/dist/nano-components/modal-B50PWCuY.js +4 -0
- package/dist/nano-components/nano-accordion.entry.js +2 -3
- package/dist/nano-components/nano-alert.entry.js +2 -3
- package/dist/nano-components/nano-algolia-filter.entry.js +2 -3
- package/dist/nano-components/nano-algolia-pagination.entry.js +2 -3
- package/dist/nano-components/nano-algolia-results.entry.js +2 -3
- package/dist/nano-components/nano-algolia.entry.js +2 -3
- package/dist/nano-components/nano-animation.entry.js +2 -3
- package/dist/nano-components/nano-avatar_5.entry.js +4 -0
- package/dist/nano-components/nano-breadcrumb.entry.js +4 -0
- package/dist/nano-components/nano-card-carousel.entry.js +4 -0
- package/dist/nano-components/nano-card.entry.js +4 -0
- package/dist/nano-components/nano-checkbox-group.entry.js +2 -3
- package/dist/nano-components/nano-checkbox.entry.js +2 -3
- package/dist/nano-components/nano-collapsible-comparison.entry.js +4 -0
- package/dist/nano-components/nano-components.css +2025 -1
- package/dist/nano-components/nano-components.esm.js +2 -3
- package/dist/nano-components/nano-content-links.entry.js +4 -0
- package/dist/nano-components/nano-cta.entry.js +4 -0
- package/dist/nano-components/nano-data-table-DsTG4mqR.js +4 -0
- package/dist/nano-components/nano-data-table.entry.js +4 -0
- package/dist/nano-components/nano-datalist_3.entry.js +2 -3
- package/dist/nano-components/nano-date-input.entry.js +2 -3
- package/dist/nano-components/nano-date-picker_2.entry.js +4 -0
- package/dist/nano-components/nano-details.entry.js +2 -3
- package/dist/nano-components/nano-dialog.entry.js +2 -3
- package/dist/nano-components/nano-dropdown_2.entry.js +4 -0
- package/dist/nano-components/nano-field-validator.entry.js +2 -3
- package/dist/nano-components/nano-file-upload.entry.js +2 -3
- package/dist/nano-components/nano-footer.entry.js +4 -0
- package/dist/nano-components/nano-global-nav.entry.js +2 -3
- package/dist/nano-components/nano-grid-item.entry.js +2 -3
- package/dist/nano-components/nano-grid_2.entry.js +2 -3
- package/dist/nano-components/nano-hero.entry.js +2 -3
- package/dist/nano-components/nano-icon-item.entry.js +4 -0
- package/dist/nano-components/nano-icon_3.entry.js +4 -0
- package/dist/nano-components/nano-in-page-nav.entry.js +4 -0
- package/dist/nano-components/nano-intersection-observe.entry.js +2 -3
- package/dist/nano-components/nano-masked-overflow.entry.js +4 -0
- package/dist/nano-components/nano-menu-drawer.entry.js +2 -3
- package/dist/nano-components/nano-more-less.entry.js +2 -3
- package/dist/nano-components/nano-nav-item.entry.js +4 -0
- package/dist/nano-components/nano-progress-bar.entry.js +2 -3
- package/dist/nano-components/nano-range.entry.js +2 -3
- package/dist/nano-components/nano-rating.entry.js +2 -3
- package/dist/nano-components/nano-resize-observe_2.entry.js +2 -3
- package/dist/nano-components/nano-slide.entry.js +2 -3
- package/dist/nano-components/nano-slides-BcyK9Szs.js +22 -0
- package/dist/nano-components/nano-slides.entry.js +2 -3
- package/dist/nano-components/nano-sortable.entry.js +2 -3
- package/dist/nano-components/nano-spinner.entry.js +2 -3
- package/dist/nano-components/nano-split-pane.entry.js +2 -3
- package/dist/nano-components/nano-sticker.entry.js +2 -3
- package/dist/nano-components/nano-tab-content.entry.js +2 -3
- package/dist/nano-components/nano-tab-group.entry.js +2 -3
- package/dist/nano-components/nano-tab.entry.js +2 -3
- package/dist/nano-components/nano-table.entry.js +2 -3
- package/dist/nano-components/page-dots-Cq8hjoql.js +4 -0
- package/dist/nano-components/pictogram/analyse.svg +10 -0
- package/dist/nano-components/pictogram/animal-research.svg +4 -0
- package/dist/nano-components/pictogram/assembly.svg +3 -0
- package/dist/nano-components/pictogram/biopharma.svg +3 -0
- package/dist/nano-components/pictogram/cancer-research.svg +15 -0
- package/dist/nano-components/pictogram/chromatin-conformation.svg +3 -0
- package/dist/nano-components/pictogram/clinical-research.svg +3 -0
- package/dist/nano-components/pictogram/environmental-conservation.svg +5 -0
- package/dist/nano-components/pictogram/epigenetics.svg +5 -0
- package/dist/nano-components/pictogram/fusion-transcripts.svg +3 -0
- package/dist/nano-components/pictogram/gene-expression.svg +3 -0
- package/dist/nano-components/pictogram/genome-research.svg +3 -0
- package/dist/nano-components/pictogram/human-genomics.svg +4 -0
- package/dist/nano-components/pictogram/infectious-disease.svg +13 -0
- package/dist/nano-components/pictogram/microbial-genomics.svg +15 -0
- package/dist/nano-components/pictogram/microbiome-metagenomics.svg +16 -0
- package/dist/nano-components/pictogram/multiomics.svg +13 -0
- package/dist/nano-components/pictogram/plant-research.svg +3 -0
- package/dist/nano-components/pictogram/population-genomics.svg +6 -0
- package/dist/nano-components/pictogram/prepare.svg +4 -0
- package/dist/nano-components/pictogram/scalable.svg +12 -0
- package/dist/nano-components/pictogram/sequence.svg +3 -0
- package/dist/nano-components/pictogram/single-cell-spatial-transcriptions.svg +12 -0
- package/dist/nano-components/pictogram/snvs-phasing.svg +4 -0
- package/dist/nano-components/pictogram/splice-variation.svg +4 -0
- package/dist/nano-components/pictogram/structural-variation.svg +4 -0
- package/dist/nano-components/pictogram/targeted-sequencing.svg +10 -0
- package/dist/nano-components/pictogram/transcriptomics.svg +3 -0
- package/dist/nano-components/pictogram/unrestricted-read-length.svg +10 -0
- package/dist/nano-components/pictogram/whole-genome-sequencing.svg +3 -0
- package/dist/nano-components/pictogram/workflow-end-to-end.svg +3 -0
- package/dist/nano-components/popover-D1cBIHdr.js +4 -0
- package/dist/nano-components/renderer-LJzCFyMt.js +4 -0
- package/dist/nano-components/scroll-BRRzrkAi.js +4 -0
- package/dist/nano-components/search-insights-8OL2oeQN.js +4 -0
- package/dist/nano-components/slot-DBzVpliZ.js +4 -0
- package/dist/nano-components/style-BrRDhFfF.js +4 -0
- package/dist/nano-components/tabbable-BpHwrUYt.js +4 -0
- package/dist/nano-components/table.worker-BTF0UXAd.js +4 -0
- package/dist/nano-components/table.worker-BoX4CUXT.js +4 -0
- package/dist/nano-components/theme-aiuyr36I.js +4 -0
- package/dist/nano-components/throttle-C93FMm2Z.js +4 -0
- package/dist/plugins/postcss/scoped-part.js +26 -0
- package/dist/plugins/stencil/vue-output/generate-vue-component.js +73 -0
- package/dist/plugins/stencil/vue-output/index.js +4 -0
- package/dist/plugins/stencil/vue-output/output-vue.js +95 -0
- package/dist/plugins/stencil/vue-output/plugin.js +43 -0
- package/dist/plugins/stencil/vue-output/types.js +1 -0
- package/dist/plugins/stencil/vue-output/utils.js +81 -0
- package/dist/stencil.config.js +50 -22
- package/dist/stencil.config.prod.js +4 -2
- package/dist/style/components.css +1 -0
- package/dist/style/components.css.map +1 -0
- package/dist/style/core.css +1 -0
- package/dist/style/core.css.map +1 -0
- package/dist/style/dark.css +1 -0
- package/dist/style/dark.css.map +1 -0
- package/dist/style/light.css +1 -0
- package/dist/style/light.css.map +1 -0
- package/dist/style/nano.css +1 -0
- package/dist/style/nano.css.map +1 -0
- package/dist/testing/mocks/intersection-observer.js +1 -2
- package/dist/types/Users/John.Jenkins/projects/nano-components/packages/components/.stencil/plugins/postcss/scoped-part.d.ts +8 -0
- package/dist/types/Users/John.Jenkins/projects/nano-components/packages/components/.stencil/stencil.config.d.ts +2 -0
- package/dist/types/Users/John.Jenkins/projects/nano-components/packages/components/.stencil/stencil.config.prod.d.ts +2 -0
- package/dist/types/components/accordion/accordion.d.ts +10 -12
- package/dist/types/components/alert/alert.d.ts +35 -5
- package/dist/types/components/alert/alert.helpers.d.ts +7 -5
- package/dist/types/components/algolia/algolia-interface.d.ts +1 -1
- package/dist/types/components/avatar/avatar.d.ts +13 -0
- package/dist/types/components/badge/badge.d.ts +17 -0
- package/dist/types/components/breadcrumb/breadcrumb.d.ts +22 -0
- package/dist/types/components/card/card.d.ts +20 -0
- package/dist/types/components/card-carousel/card-carousel.d.ts +32 -0
- package/dist/types/components/checkbox/checkbox-group.d.ts +12 -7
- package/dist/types/components/checkbox/checkbox.d.ts +16 -11
- package/dist/types/components/collapsible-comparison/collapsible-comparison.d.ts +30 -0
- package/dist/types/components/content-links/content-links.d.ts +10 -0
- package/dist/types/components/cta/cta.d.ts +30 -0
- package/dist/types/components/data-table/table-interface.d.ts +280 -0
- package/dist/types/components/data-table/table.d.ts +250 -0
- package/dist/types/components/data-table/table.store.d.ts +24 -0
- package/dist/types/components/data-table/table.utils.d.ts +63 -0
- package/dist/types/components/datalist/datalist.d.ts +5 -5
- package/dist/types/components/date-input/date-input.d.ts +8 -5
- package/dist/types/components/date-picker/date-picker.d.ts +11 -15
- package/dist/types/components/details/details.d.ts +25 -27
- package/dist/types/components/dialog/dialog.d.ts +4 -5
- package/dist/types/components/dialog/dialog.helpers.d.ts +2 -5
- package/dist/types/components/drawer/drawer.d.ts +14 -3
- package/dist/types/components/dropdown/dropdown.d.ts +11 -9
- package/dist/types/components/field-validator/field-validator.d.ts +4 -6
- package/dist/types/components/footer/footer.d.ts +21 -0
- package/dist/types/components/form-control/form-control.d.ts +4 -1
- package/dist/types/components/global-nav/global-nav.d.ts +111 -280
- package/dist/types/components/global-search-results/global-search-results.d.ts +8 -7
- package/dist/types/components/grid/grid.d.ts +4 -6
- package/dist/types/components/icon/icon.d.ts +21 -14
- package/dist/types/components/icon-button/icon-button.d.ts +4 -4
- package/dist/types/components/icon-item/icon-item.d.ts +17 -0
- package/dist/types/components/in-page-nav/in-page-nav.d.ts +52 -0
- package/dist/types/components/input/input.d.ts +59 -21
- package/dist/types/components/intersection-observe/intersection-observe.d.ts +6 -2
- package/dist/types/components/masked-overflow/masked-overflow.d.ts +94 -0
- package/dist/types/components/menu/menu.d.ts +15 -7
- package/dist/types/components/nav-item/nav-item.d.ts +30 -84
- package/dist/types/components/option/option.d.ts +2 -1
- package/dist/types/components/progress-bar/progress-bar.d.ts +4 -1
- package/dist/types/components/range/range.d.ts +3 -4
- package/dist/types/components/rating/rating.d.ts +0 -1
- package/dist/types/components/resize-observe/resize-observe.d.ts +2 -4
- package/dist/types/components/select/select.d.ts +20 -21
- package/dist/types/components/skeleton/skeleton.d.ts +3 -2
- package/dist/types/components/slides/slides.d.ts +3 -3
- package/dist/types/components/sortable/sortable.d.ts +5 -5
- package/dist/types/components/spinner/spinner.d.ts +4 -0
- package/dist/types/components/split-pane/split-pane.d.ts +3 -0
- package/dist/types/components/table/table.d.ts +27 -245
- package/dist/types/components/tabs/tab-content.d.ts +6 -1
- package/dist/types/components/tabs/tab-group.d.ts +17 -37
- package/dist/types/components/tabs/tab.d.ts +9 -4
- package/dist/types/components/tag/tag.d.ts +30 -0
- package/dist/types/components/tooltip/tooltip.d.ts +4 -0
- package/dist/types/components.d.ts +2617 -1108
- package/dist/types/stencil-public-runtime.d.ts +23 -1
- package/dist/types/types/shared.d.ts +1 -1
- package/dist/types/utils/active-element.d.ts +20 -0
- package/dist/types/utils/popover.d.ts +1 -0
- package/dist/types/utils/scroll.d.ts +15 -1
- package/dist/types/utils/slot.d.ts +25 -9
- package/dist/types/utils/store/component-store.d.ts +21 -0
- package/dist/types/utils/style.d.ts +9 -0
- package/dist/types/utils/tabbable.d.ts +4 -2
- package/dist/types/utils/transitions.d.ts +2 -0
- package/dist/wdio.conf.js +1 -3
- package/docs-json.json +15694 -12511
- package/docs-vscode.json +807 -442
- package/hydrate/index.d.ts +38 -24
- package/hydrate/index.js +15164 -14544
- package/hydrate/index.mjs +15163 -14543
- package/loader/cdn.js +1 -1
- package/loader/index.cjs.js +1 -1
- package/loader/index.es2017.js +1 -1
- package/loader/index.js +1 -1
- package/package.json +26 -19
- package/dist/cjs/active-element-8ffcfe49.js +0 -21
- package/dist/cjs/active-element-8ffcfe49.js.map +0 -1
- package/dist/cjs/algolia-data-ca9cd58e.js +0 -51
- package/dist/cjs/algolia-data-ca9cd58e.js.map +0 -1
- package/dist/cjs/algoliasearch-lite.esm.browser-890872fc.js +0 -968
- package/dist/cjs/algoliasearch-lite.esm.browser-890872fc.js.map +0 -1
- package/dist/cjs/app-globals-3e14cb71.js +0 -41
- package/dist/cjs/app-globals-3e14cb71.js.map +0 -1
- package/dist/cjs/component-store-b8d4bd91.js +0 -325
- package/dist/cjs/component-store-b8d4bd91.js.map +0 -1
- package/dist/cjs/date-utils-d9d3e6b4.js +0 -234
- package/dist/cjs/date-utils-d9d3e6b4.js.map +0 -1
- package/dist/cjs/dom-b99a1aec.js +0 -83
- package/dist/cjs/dom-b99a1aec.js.map +0 -1
- package/dist/cjs/drag-c0a99167.js +0 -74
- package/dist/cjs/drag-c0a99167.js.map +0 -1
- package/dist/cjs/events-96e9a3d4.js +0 -39
- package/dist/cjs/events-96e9a3d4.js.map +0 -1
- package/dist/cjs/fade-6a5004f4.js +0 -214
- package/dist/cjs/fade-6a5004f4.js.map +0 -1
- package/dist/cjs/focus-visible-39b54d1f.js +0 -68
- package/dist/cjs/focus-visible-39b54d1f.js.map +0 -1
- package/dist/cjs/form-control-5bb39cc2.js +0 -82
- package/dist/cjs/form-control-5bb39cc2.js.map +0 -1
- package/dist/cjs/fullscreen-f5db9bbe.js +0 -134
- package/dist/cjs/fullscreen-f5db9bbe.js.map +0 -1
- package/dist/cjs/index-41263d6e.js +0 -660
- package/dist/cjs/index-41263d6e.js.map +0 -1
- package/dist/cjs/index-615cdb64.js +0 -3085
- package/dist/cjs/index-615cdb64.js.map +0 -1
- package/dist/cjs/index-a92a0379.js +0 -200
- package/dist/cjs/index-a92a0379.js.map +0 -1
- package/dist/cjs/index-browser-745018ea.js +0 -16
- package/dist/cjs/index-browser-745018ea.js.map +0 -1
- package/dist/cjs/index.cjs.js.map +0 -1
- package/dist/cjs/lazyload-13d72e60.js +0 -96
- package/dist/cjs/lazyload-13d72e60.js.map +0 -1
- package/dist/cjs/loader.cjs.js.map +0 -1
- package/dist/cjs/local-my-account-53c19159.js +0 -472
- package/dist/cjs/local-my-account-53c19159.js.map +0 -1
- package/dist/cjs/math-ea9cdc71.js +0 -41
- package/dist/cjs/math-ea9cdc71.js.map +0 -1
- package/dist/cjs/modal-ff47c677.js +0 -51
- package/dist/cjs/modal-ff47c677.js.map +0 -1
- package/dist/cjs/nano-accordion.cjs.entry.js.map +0 -1
- package/dist/cjs/nano-alert.cjs.entry.js.map +0 -1
- package/dist/cjs/nano-algolia-filter.cjs.entry.js.map +0 -1
- package/dist/cjs/nano-algolia-pagination.cjs.entry.js.map +0 -1
- package/dist/cjs/nano-algolia-results.cjs.entry.js.map +0 -1
- package/dist/cjs/nano-algolia.cjs.entry.js.map +0 -1
- package/dist/cjs/nano-animation.cjs.entry.js.map +0 -1
- package/dist/cjs/nano-checkbox-group.cjs.entry.js.map +0 -1
- package/dist/cjs/nano-checkbox.cjs.entry.js.map +0 -1
- package/dist/cjs/nano-components.cjs.js.map +0 -1
- package/dist/cjs/nano-datalist_3.cjs.entry.js.map +0 -1
- package/dist/cjs/nano-date-input.cjs.entry.js.map +0 -1
- package/dist/cjs/nano-date-picker.cjs.entry.js +0 -393
- package/dist/cjs/nano-date-picker.cjs.entry.js.map +0 -1
- package/dist/cjs/nano-details.cjs.entry.js.map +0 -1
- package/dist/cjs/nano-dialog.cjs.entry.js.map +0 -1
- package/dist/cjs/nano-drawer.cjs.entry.js +0 -289
- package/dist/cjs/nano-drawer.cjs.entry.js.map +0 -1
- package/dist/cjs/nano-dropdown.cjs.entry.js +0 -373
- package/dist/cjs/nano-dropdown.cjs.entry.js.map +0 -1
- package/dist/cjs/nano-field-validator.cjs.entry.js.map +0 -1
- package/dist/cjs/nano-file-upload.cjs.entry.js.map +0 -1
- package/dist/cjs/nano-global-nav-user-profile_3.cjs.entry.js +0 -1107
- package/dist/cjs/nano-global-nav-user-profile_3.cjs.entry.js.map +0 -1
- package/dist/cjs/nano-global-nav.cjs.entry.js.map +0 -1
- package/dist/cjs/nano-global-search-results.cjs.entry.js +0 -636
- package/dist/cjs/nano-global-search-results.cjs.entry.js.map +0 -1
- package/dist/cjs/nano-grid-item.cjs.entry.js.map +0 -1
- package/dist/cjs/nano-grid_2.cjs.entry.js.map +0 -1
- package/dist/cjs/nano-hero.cjs.entry.js.map +0 -1
- package/dist/cjs/nano-icon-button_2.cjs.entry.js +0 -341
- package/dist/cjs/nano-icon-button_2.cjs.entry.js.map +0 -1
- package/dist/cjs/nano-icon.cjs.entry.js +0 -320
- package/dist/cjs/nano-icon.cjs.entry.js.map +0 -1
- package/dist/cjs/nano-input.cjs.entry.js +0 -548
- package/dist/cjs/nano-input.cjs.entry.js.map +0 -1
- package/dist/cjs/nano-intersection-observe.cjs.entry.js.map +0 -1
- package/dist/cjs/nano-menu-drawer.cjs.entry.js.map +0 -1
- package/dist/cjs/nano-more-less.cjs.entry.js.map +0 -1
- package/dist/cjs/nano-overflow-nav.cjs.entry.js +0 -342
- package/dist/cjs/nano-overflow-nav.cjs.entry.js.map +0 -1
- package/dist/cjs/nano-progress-bar.cjs.entry.js.map +0 -1
- package/dist/cjs/nano-range.cjs.entry.js.map +0 -1
- package/dist/cjs/nano-rating.cjs.entry.js.map +0 -1
- package/dist/cjs/nano-resize-observe_2.cjs.entry.js.map +0 -1
- package/dist/cjs/nano-slide.cjs.entry.js.map +0 -1
- package/dist/cjs/nano-slides-0a60315d.js +0 -3043
- package/dist/cjs/nano-slides-0a60315d.js.map +0 -1
- package/dist/cjs/nano-slides.cjs.entry.js.map +0 -1
- package/dist/cjs/nano-sortable.cjs.entry.js.map +0 -1
- package/dist/cjs/nano-spinner.cjs.entry.js.map +0 -1
- package/dist/cjs/nano-split-pane.cjs.entry.js.map +0 -1
- package/dist/cjs/nano-sticker.cjs.entry.js.map +0 -1
- package/dist/cjs/nano-tab-content.cjs.entry.js.map +0 -1
- package/dist/cjs/nano-tab-group.cjs.entry.js.map +0 -1
- package/dist/cjs/nano-tab.cjs.entry.js.map +0 -1
- package/dist/cjs/nano-table-54523fe5.js +0 -1880
- package/dist/cjs/nano-table-54523fe5.js.map +0 -1
- package/dist/cjs/nano-table.cjs.entry.js.map +0 -1
- package/dist/cjs/page-dots-ecdd64d1.js +0 -141
- package/dist/cjs/page-dots-ecdd64d1.js.map +0 -1
- package/dist/cjs/popover-3dfc73f6.js +0 -1932
- package/dist/cjs/popover-3dfc73f6.js.map +0 -1
- package/dist/cjs/renderer-cd8b6098.js +0 -63
- package/dist/cjs/renderer-cd8b6098.js.map +0 -1
- package/dist/cjs/scroll-a3e5c6c6.js +0 -128
- package/dist/cjs/scroll-a3e5c6c6.js.map +0 -1
- package/dist/cjs/scroll-parent-798d9651.js +0 -31
- package/dist/cjs/scroll-parent-798d9651.js.map +0 -1
- package/dist/cjs/search-insights-694b3436.js +0 -53
- package/dist/cjs/search-insights-694b3436.js.map +0 -1
- package/dist/cjs/slot-4e057042.js +0 -61
- package/dist/cjs/slot-4e057042.js.map +0 -1
- package/dist/cjs/tabbable-619dc959.js +0 -112
- package/dist/cjs/tabbable-619dc959.js.map +0 -1
- package/dist/cjs/table.worker-99f69a43.js +0 -33
- package/dist/cjs/table.worker-99f69a43.js.map +0 -1
- package/dist/cjs/table.worker-da5412ed.js +0 -4
- package/dist/cjs/theme-a2f7ddf8.js +0 -49
- package/dist/cjs/theme-a2f7ddf8.js.map +0 -1
- package/dist/cjs/throttle-46a497fb.js +0 -54
- package/dist/cjs/throttle-46a497fb.js.map +0 -1
- package/dist/cjs/transitions-a2b2090b.js +0 -62
- package/dist/cjs/transitions-a2b2090b.js.map +0 -1
- package/dist/collection/components/accordion/accordion.js.map +0 -1
- package/dist/collection/components/alert/alert.helpers.js.map +0 -1
- package/dist/collection/components/alert/alert.js.map +0 -1
- package/dist/collection/components/algolia/algolia-data.js.map +0 -1
- package/dist/collection/components/algolia/algolia-filter.js.map +0 -1
- package/dist/collection/components/algolia/algolia-interface.js.map +0 -1
- package/dist/collection/components/algolia/algolia-pagination.js.map +0 -1
- package/dist/collection/components/algolia/algolia-results.js.map +0 -1
- package/dist/collection/components/algolia/algolia.js.map +0 -1
- package/dist/collection/components/algolia/lib/squirrelly/browser.js.map +0 -1
- package/dist/collection/components/algolia/lib/squirrelly/compile-string.js.map +0 -1
- package/dist/collection/components/algolia/lib/squirrelly/compile.js.map +0 -1
- package/dist/collection/components/algolia/lib/squirrelly/config.js.map +0 -1
- package/dist/collection/components/algolia/lib/squirrelly/container-utils.js.map +0 -1
- package/dist/collection/components/algolia/lib/squirrelly/containers.js.map +0 -1
- package/dist/collection/components/algolia/lib/squirrelly/err.js.map +0 -1
- package/dist/collection/components/algolia/lib/squirrelly/parse.js.map +0 -1
- package/dist/collection/components/algolia/lib/squirrelly/render.js.map +0 -1
- package/dist/collection/components/algolia/lib/squirrelly/storage.js.map +0 -1
- package/dist/collection/components/algolia/lib/squirrelly/utils.js.map +0 -1
- package/dist/collection/components/algolia/lib/template.js.map +0 -1
- package/dist/collection/components/animation/animation.js.map +0 -1
- package/dist/collection/components/animation/animations/attention_seekers/bounce.js.map +0 -1
- package/dist/collection/components/animation/animations/attention_seekers/flash.js.map +0 -1
- package/dist/collection/components/animation/animations/attention_seekers/headShake.js.map +0 -1
- package/dist/collection/components/animation/animations/attention_seekers/heartBeat.js.map +0 -1
- package/dist/collection/components/animation/animations/attention_seekers/jello.js.map +0 -1
- package/dist/collection/components/animation/animations/attention_seekers/pulse.js.map +0 -1
- package/dist/collection/components/animation/animations/attention_seekers/rubberBand.js.map +0 -1
- package/dist/collection/components/animation/animations/attention_seekers/shake.js.map +0 -1
- package/dist/collection/components/animation/animations/attention_seekers/shakeX.js.map +0 -1
- package/dist/collection/components/animation/animations/attention_seekers/shakeY.js.map +0 -1
- package/dist/collection/components/animation/animations/attention_seekers/swing.js.map +0 -1
- package/dist/collection/components/animation/animations/attention_seekers/tada.js.map +0 -1
- package/dist/collection/components/animation/animations/attention_seekers/wobble.js.map +0 -1
- package/dist/collection/components/animation/animations/back_entrances/backInDown.js.map +0 -1
- package/dist/collection/components/animation/animations/back_entrances/backInLeft.js.map +0 -1
- package/dist/collection/components/animation/animations/back_entrances/backInRight.js.map +0 -1
- package/dist/collection/components/animation/animations/back_entrances/backInUp.js.map +0 -1
- package/dist/collection/components/animation/animations/back_exits/backOutDown.js.map +0 -1
- package/dist/collection/components/animation/animations/back_exits/backOutLeft.js.map +0 -1
- package/dist/collection/components/animation/animations/back_exits/backOutRight.js.map +0 -1
- package/dist/collection/components/animation/animations/back_exits/backOutUp.js.map +0 -1
- package/dist/collection/components/animation/animations/bouncing_entrances/bounceIn.js.map +0 -1
- package/dist/collection/components/animation/animations/bouncing_entrances/bounceInDown.js.map +0 -1
- package/dist/collection/components/animation/animations/bouncing_entrances/bounceInLeft.js.map +0 -1
- package/dist/collection/components/animation/animations/bouncing_entrances/bounceInRight.js.map +0 -1
- package/dist/collection/components/animation/animations/bouncing_entrances/bounceInUp.js.map +0 -1
- package/dist/collection/components/animation/animations/bouncing_exits/bounceOut.js.map +0 -1
- package/dist/collection/components/animation/animations/bouncing_exits/bounceOutDown.js.map +0 -1
- package/dist/collection/components/animation/animations/bouncing_exits/bounceOutLeft.js.map +0 -1
- package/dist/collection/components/animation/animations/bouncing_exits/bounceOutRight.js.map +0 -1
- package/dist/collection/components/animation/animations/bouncing_exits/bounceOutUp.js.map +0 -1
- package/dist/collection/components/animation/animations/easings/easings.js.map +0 -1
- package/dist/collection/components/animation/animations/fading_entrances/fadeIn.js.map +0 -1
- package/dist/collection/components/animation/animations/fading_entrances/fadeInBottomLeft.js.map +0 -1
- package/dist/collection/components/animation/animations/fading_entrances/fadeInBottomRight.js.map +0 -1
- package/dist/collection/components/animation/animations/fading_entrances/fadeInDown.js.map +0 -1
- package/dist/collection/components/animation/animations/fading_entrances/fadeInDownBig.js.map +0 -1
- package/dist/collection/components/animation/animations/fading_entrances/fadeInLeft.js.map +0 -1
- package/dist/collection/components/animation/animations/fading_entrances/fadeInLeftBig.js.map +0 -1
- package/dist/collection/components/animation/animations/fading_entrances/fadeInRight.js.map +0 -1
- package/dist/collection/components/animation/animations/fading_entrances/fadeInRightBig.js.map +0 -1
- package/dist/collection/components/animation/animations/fading_entrances/fadeInTopLeft.js.map +0 -1
- package/dist/collection/components/animation/animations/fading_entrances/fadeInTopRight.js.map +0 -1
- package/dist/collection/components/animation/animations/fading_entrances/fadeInUp.js.map +0 -1
- package/dist/collection/components/animation/animations/fading_entrances/fadeInUpBig.js.map +0 -1
- package/dist/collection/components/animation/animations/fading_exits/fadeOut.js.map +0 -1
- package/dist/collection/components/animation/animations/fading_exits/fadeOutBottomLeft.js.map +0 -1
- package/dist/collection/components/animation/animations/fading_exits/fadeOutBottomRight.js.map +0 -1
- package/dist/collection/components/animation/animations/fading_exits/fadeOutDown.js.map +0 -1
- package/dist/collection/components/animation/animations/fading_exits/fadeOutDownBig.js.map +0 -1
- package/dist/collection/components/animation/animations/fading_exits/fadeOutLeft.js.map +0 -1
- package/dist/collection/components/animation/animations/fading_exits/fadeOutLeftBig.js.map +0 -1
- package/dist/collection/components/animation/animations/fading_exits/fadeOutRight.js.map +0 -1
- package/dist/collection/components/animation/animations/fading_exits/fadeOutRightBig.js.map +0 -1
- package/dist/collection/components/animation/animations/fading_exits/fadeOutTopLeft.js.map +0 -1
- package/dist/collection/components/animation/animations/fading_exits/fadeOutTopRight.js.map +0 -1
- package/dist/collection/components/animation/animations/fading_exits/fadeOutUp.js.map +0 -1
- package/dist/collection/components/animation/animations/fading_exits/fadeOutUpBig.js.map +0 -1
- package/dist/collection/components/animation/animations/flippers/flip.js.map +0 -1
- package/dist/collection/components/animation/animations/flippers/flipInX.js.map +0 -1
- package/dist/collection/components/animation/animations/flippers/flipInY.js.map +0 -1
- package/dist/collection/components/animation/animations/flippers/flipOutX.js.map +0 -1
- package/dist/collection/components/animation/animations/flippers/flipOutY.js.map +0 -1
- package/dist/collection/components/animation/animations/index.js.map +0 -1
- package/dist/collection/components/animation/animations/lightspeed/lightSpeedInLeft.js.map +0 -1
- package/dist/collection/components/animation/animations/lightspeed/lightSpeedInRight.js.map +0 -1
- package/dist/collection/components/animation/animations/lightspeed/lightSpeedOutLeft.js.map +0 -1
- package/dist/collection/components/animation/animations/lightspeed/lightSpeedOutRight.js.map +0 -1
- package/dist/collection/components/animation/animations/rotating_entrances/rotateIn.js.map +0 -1
- package/dist/collection/components/animation/animations/rotating_entrances/rotateInDownLeft.js.map +0 -1
- package/dist/collection/components/animation/animations/rotating_entrances/rotateInDownRight.js.map +0 -1
- package/dist/collection/components/animation/animations/rotating_entrances/rotateInUpLeft.js.map +0 -1
- package/dist/collection/components/animation/animations/rotating_entrances/rotateInUpRight.js.map +0 -1
- package/dist/collection/components/animation/animations/rotating_exits/rotateOut.js.map +0 -1
- package/dist/collection/components/animation/animations/rotating_exits/rotateOutDownLeft.js.map +0 -1
- package/dist/collection/components/animation/animations/rotating_exits/rotateOutDownRight.js.map +0 -1
- package/dist/collection/components/animation/animations/rotating_exits/rotateOutUpLeft.js.map +0 -1
- package/dist/collection/components/animation/animations/rotating_exits/rotateOutUpRight.js.map +0 -1
- package/dist/collection/components/animation/animations/sliding_entrances/slideInDown.js.map +0 -1
- package/dist/collection/components/animation/animations/sliding_entrances/slideInLeft.js.map +0 -1
- package/dist/collection/components/animation/animations/sliding_entrances/slideInRight.js.map +0 -1
- package/dist/collection/components/animation/animations/sliding_entrances/slideInUp.js.map +0 -1
- package/dist/collection/components/animation/animations/sliding_exits/slideOutDown.js.map +0 -1
- package/dist/collection/components/animation/animations/sliding_exits/slideOutLeft.js.map +0 -1
- package/dist/collection/components/animation/animations/sliding_exits/slideOutRight.js.map +0 -1
- package/dist/collection/components/animation/animations/sliding_exits/slideOutUp.js.map +0 -1
- package/dist/collection/components/animation/animations/specials/hinge.js.map +0 -1
- package/dist/collection/components/animation/animations/specials/jackInTheBox.js.map +0 -1
- package/dist/collection/components/animation/animations/specials/rollIn.js.map +0 -1
- package/dist/collection/components/animation/animations/specials/rollOut.js.map +0 -1
- package/dist/collection/components/animation/animations/zooming_entrances/zoomIn.js.map +0 -1
- package/dist/collection/components/animation/animations/zooming_entrances/zoomInDown.js.map +0 -1
- package/dist/collection/components/animation/animations/zooming_entrances/zoomInLeft.js.map +0 -1
- package/dist/collection/components/animation/animations/zooming_entrances/zoomInRight.js.map +0 -1
- package/dist/collection/components/animation/animations/zooming_entrances/zoomInUp.js.map +0 -1
- package/dist/collection/components/animation/animations/zooming_exits/zoomOut.js.map +0 -1
- package/dist/collection/components/animation/animations/zooming_exits/zoomOutDown.js.map +0 -1
- package/dist/collection/components/animation/animations/zooming_exits/zoomOutLeft.js.map +0 -1
- package/dist/collection/components/animation/animations/zooming_exits/zoomOutRight.js.map +0 -1
- package/dist/collection/components/animation/animations/zooming_exits/zoomOutUp.js.map +0 -1
- package/dist/collection/components/checkbox/checkbox-group.js.map +0 -1
- package/dist/collection/components/checkbox/checkbox-interface.js.map +0 -1
- package/dist/collection/components/checkbox/checkbox.js.map +0 -1
- package/dist/collection/components/datalist/datalist.js.map +0 -1
- package/dist/collection/components/date-input/date-input.js.map +0 -1
- package/dist/collection/components/date-picker/date-picker.js.map +0 -1
- package/dist/collection/components/date-picker/duet-date-picker/date-adapter.js.map +0 -1
- package/dist/collection/components/date-picker/duet-date-picker/date-localization.js.map +0 -1
- package/dist/collection/components/date-picker/duet-date-picker/date-picker-day.js.map +0 -1
- package/dist/collection/components/date-picker/duet-date-picker/date-picker-month.js.map +0 -1
- package/dist/collection/components/details/details.js.map +0 -1
- package/dist/collection/components/dialog/dialog.helpers.js.map +0 -1
- package/dist/collection/components/dialog/dialog.js.map +0 -1
- package/dist/collection/components/drawer/drawer.js.map +0 -1
- package/dist/collection/components/dropdown/dropdown.js.map +0 -1
- package/dist/collection/components/field-validator/field-validator.js.map +0 -1
- package/dist/collection/components/file-upload/file-upload-list.js.map +0 -1
- package/dist/collection/components/file-upload/file-upload.js.map +0 -1
- package/dist/collection/components/form-control/form-control.js.map +0 -1
- package/dist/collection/components/global-nav/assets/local-my-account.json +0 -447
- package/dist/collection/components/global-nav/global-nav-user-profile.js +0 -70
- package/dist/collection/components/global-nav/global-nav-user-profile.js.map +0 -1
- package/dist/collection/components/global-nav/global-nav.js.map +0 -1
- package/dist/collection/components/global-nav/style/global-nav.css +0 -893
- package/dist/collection/components/global-search-results/global-search-results.js.map +0 -1
- package/dist/collection/components/grid/grid-item.js.map +0 -1
- package/dist/collection/components/grid/grid.js.map +0 -1
- package/dist/collection/components/hero/hero.js.map +0 -1
- package/dist/collection/components/icon/icon.js.map +0 -1
- package/dist/collection/components/icon/request.js.map +0 -1
- package/dist/collection/components/icon/utils.js.map +0 -1
- package/dist/collection/components/icon/validate.js.map +0 -1
- package/dist/collection/components/icon-button/icon-button.js.map +0 -1
- package/dist/collection/components/img/img.js.map +0 -1
- package/dist/collection/components/input/input.js.map +0 -1
- package/dist/collection/components/intersection-observe/intersection-observe.js.map +0 -1
- package/dist/collection/components/menu/menu.js.map +0 -1
- package/dist/collection/components/menu-drawer/menu-drawer.js.map +0 -1
- package/dist/collection/components/more-less/more-less.js.map +0 -1
- package/dist/collection/components/nav-item/nav-item.js.map +0 -1
- package/dist/collection/components/option/option.js.map +0 -1
- package/dist/collection/components/overflow-nav/overflow-nav.css +0 -226
- package/dist/collection/components/overflow-nav/overflow-nav.js +0 -537
- package/dist/collection/components/overflow-nav/overflow-nav.js.map +0 -1
- package/dist/collection/components/progress-bar/progress-bar.js.map +0 -1
- package/dist/collection/components/range/range.js.map +0 -1
- package/dist/collection/components/rating/rating.js.map +0 -1
- package/dist/collection/components/resize-observe/resize-observe.js.map +0 -1
- package/dist/collection/components/select/select.js.map +0 -1
- package/dist/collection/components/skeleton/skeleton.js.map +0 -1
- package/dist/collection/components/slides/lib/js/animate.js.map +0 -1
- package/dist/collection/components/slides/lib/js/cell.js.map +0 -1
- package/dist/collection/components/slides/lib/js/drag.js.map +0 -1
- package/dist/collection/components/slides/lib/js/fade.js.map +0 -1
- package/dist/collection/components/slides/lib/js/flickity.js.map +0 -1
- package/dist/collection/components/slides/lib/js/fullscreen.js.map +0 -1
- package/dist/collection/components/slides/lib/js/index.js.map +0 -1
- package/dist/collection/components/slides/lib/js/lazyload.js.map +0 -1
- package/dist/collection/components/slides/lib/js/page-dots.js.map +0 -1
- package/dist/collection/components/slides/lib/js/player.js.map +0 -1
- package/dist/collection/components/slides/lib/js/prev-next-button.js.map +0 -1
- package/dist/collection/components/slides/lib/js/slide.js.map +0 -1
- package/dist/collection/components/slides/lib/js/utils/event-emitter.js.map +0 -1
- package/dist/collection/components/slides/lib/js/utils/gestures.js.map +0 -1
- package/dist/collection/components/slides/lib/js/utils/get-size.js.map +0 -1
- package/dist/collection/components/slides/lib/js/utils/utils.js.map +0 -1
- package/dist/collection/components/slides/slide.js.map +0 -1
- package/dist/collection/components/slides/slides.js.map +0 -1
- package/dist/collection/components/sortable/sortable.js.map +0 -1
- package/dist/collection/components/spinner/spinner.js.map +0 -1
- package/dist/collection/components/split-pane/split-pane.js.map +0 -1
- package/dist/collection/components/sticker/sticker.js.map +0 -1
- package/dist/collection/components/table/table.cell.js +0 -113
- package/dist/collection/components/table/table.cell.js.map +0 -1
- package/dist/collection/components/table/table.constants.js +0 -5
- package/dist/collection/components/table/table.constants.js.map +0 -1
- package/dist/collection/components/table/table.header.js +0 -63
- package/dist/collection/components/table/table.header.js.map +0 -1
- package/dist/collection/components/table/table.js.map +0 -1
- package/dist/collection/components/table/table.pin-service.js +0 -389
- package/dist/collection/components/table/table.pin-service.js.map +0 -1
- package/dist/collection/components/table/table.row.js +0 -113
- package/dist/collection/components/table/table.row.js.map +0 -1
- package/dist/collection/components/table/table.store.js +0 -145
- package/dist/collection/components/table/table.store.js.map +0 -1
- package/dist/collection/components/table/table.utils.js +0 -157
- package/dist/collection/components/table/table.utils.js.map +0 -1
- package/dist/collection/components/table/table.worker.js +0 -221
- package/dist/collection/components/table/table.worker.js.map +0 -1
- package/dist/collection/components/tabs/tab-content.js.map +0 -1
- package/dist/collection/components/tabs/tab-group.js.map +0 -1
- package/dist/collection/components/tabs/tab.js.map +0 -1
- package/dist/collection/components/tooltip/tooltip.js.map +0 -1
- package/dist/collection/global/script/global.js.map +0 -1
- package/dist/collection/index.js.map +0 -1
- package/dist/collection/types/shared.js.map +0 -1
- package/dist/collection/utils/active-element.js.map +0 -1
- package/dist/collection/utils/constructible-style.js.map +0 -1
- package/dist/collection/utils/custom-template.js.map +0 -1
- package/dist/collection/utils/date-utils.js.map +0 -1
- package/dist/collection/utils/dom.js.map +0 -1
- package/dist/collection/utils/drag.js.map +0 -1
- package/dist/collection/utils/events.js.map +0 -1
- package/dist/collection/utils/fetch.js.map +0 -1
- package/dist/collection/utils/focus-visible.js +0 -63
- package/dist/collection/utils/focus-visible.js.map +0 -1
- package/dist/collection/utils/form.js.map +0 -1
- package/dist/collection/utils/gesture/gesture-controller.js.map +0 -1
- package/dist/collection/utils/gesture/index.js.map +0 -1
- package/dist/collection/utils/gesture/listener.js.map +0 -1
- package/dist/collection/utils/gesture/pointer-events.js.map +0 -1
- package/dist/collection/utils/gesture/recognizers.js.map +0 -1
- package/dist/collection/utils/gesture/swipe-back.js.map +0 -1
- package/dist/collection/utils/math.js.map +0 -1
- package/dist/collection/utils/modal.js.map +0 -1
- package/dist/collection/utils/popover.js.map +0 -1
- package/dist/collection/utils/promise-queue.js.map +0 -1
- package/dist/collection/utils/renderer.js.map +0 -1
- package/dist/collection/utils/scroll-parent.js +0 -26
- package/dist/collection/utils/scroll-parent.js.map +0 -1
- package/dist/collection/utils/scroll.js.map +0 -1
- package/dist/collection/utils/search-insights.js.map +0 -1
- package/dist/collection/utils/slot.js.map +0 -1
- package/dist/collection/utils/store/component-store.js.map +0 -1
- package/dist/collection/utils/store/get-set.js.map +0 -1
- package/dist/collection/utils/tabbable.js.map +0 -1
- package/dist/collection/utils/testing/index.js.map +0 -1
- package/dist/collection/utils/theme.js.map +0 -1
- package/dist/collection/utils/throttle.js.map +0 -1
- package/dist/collection/utils/transitions.js.map +0 -1
- package/dist/components/active-element.js.map +0 -1
- package/dist/components/algolia-data.js.map +0 -1
- package/dist/components/algolia.js.map +0 -1
- package/dist/components/algoliasearch-lite.esm.browser.js +0 -966
- package/dist/components/algoliasearch-lite.esm.browser.js.map +0 -1
- package/dist/components/component-store.js.map +0 -1
- package/dist/components/datalist.js.map +0 -1
- package/dist/components/date-picker.js.map +0 -1
- package/dist/components/dom.js.map +0 -1
- package/dist/components/drag.js.map +0 -1
- package/dist/components/dropdown.js.map +0 -1
- package/dist/components/events.js.map +0 -1
- package/dist/components/fade.js.map +0 -1
- package/dist/components/focus-visible.js +0 -66
- package/dist/components/focus-visible.js.map +0 -1
- package/dist/components/form-control.js.map +0 -1
- package/dist/components/fullscreen.js.map +0 -1
- package/dist/components/global-nav-user-profile.js +0 -50
- package/dist/components/global-nav-user-profile.js.map +0 -1
- package/dist/components/grid.js.map +0 -1
- package/dist/components/icon-button.js.map +0 -1
- package/dist/components/icon.js.map +0 -1
- package/dist/components/img.js.map +0 -1
- package/dist/components/index-browser.js.map +0 -1
- package/dist/components/index.js.map +0 -1
- package/dist/components/index2.js.map +0 -1
- package/dist/components/index3.js.map +0 -1
- package/dist/components/input.js.map +0 -1
- package/dist/components/lazyload.js.map +0 -1
- package/dist/components/local-my-account.js +0 -462
- package/dist/components/local-my-account.js.map +0 -1
- package/dist/components/math.js.map +0 -1
- package/dist/components/menu.js.map +0 -1
- package/dist/components/modal.js.map +0 -1
- package/dist/components/nano-accordion.js.map +0 -1
- package/dist/components/nano-alert.js.map +0 -1
- package/dist/components/nano-algolia-filter.js.map +0 -1
- package/dist/components/nano-algolia-pagination.js.map +0 -1
- package/dist/components/nano-algolia-results.js.map +0 -1
- package/dist/components/nano-algolia.js.map +0 -1
- package/dist/components/nano-animation.js.map +0 -1
- package/dist/components/nano-checkbox-group.js.map +0 -1
- package/dist/components/nano-checkbox.js.map +0 -1
- package/dist/components/nano-datalist.js.map +0 -1
- package/dist/components/nano-date-input.js.map +0 -1
- package/dist/components/nano-date-picker.js.map +0 -1
- package/dist/components/nano-details.js.map +0 -1
- package/dist/components/nano-dialog.js.map +0 -1
- package/dist/components/nano-drawer.js.map +0 -1
- package/dist/components/nano-dropdown.js.map +0 -1
- package/dist/components/nano-field-validator.js.map +0 -1
- package/dist/components/nano-file-upload.js.map +0 -1
- package/dist/components/nano-global-nav-user-profile.d.ts +0 -11
- package/dist/components/nano-global-nav-user-profile.js +0 -11
- package/dist/components/nano-global-nav-user-profile.js.map +0 -1
- package/dist/components/nano-global-nav.js.map +0 -1
- package/dist/components/nano-global-search-results.js.map +0 -1
- package/dist/components/nano-grid-item.js.map +0 -1
- package/dist/components/nano-grid.js.map +0 -1
- package/dist/components/nano-hero.js.map +0 -1
- package/dist/components/nano-icon-button.js.map +0 -1
- package/dist/components/nano-icon.js.map +0 -1
- package/dist/components/nano-img.js.map +0 -1
- package/dist/components/nano-input.js.map +0 -1
- package/dist/components/nano-intersection-observe.js.map +0 -1
- package/dist/components/nano-menu-drawer.js.map +0 -1
- package/dist/components/nano-menu.js.map +0 -1
- package/dist/components/nano-more-less.js.map +0 -1
- package/dist/components/nano-nav-item.js.map +0 -1
- package/dist/components/nano-option.js.map +0 -1
- package/dist/components/nano-overflow-nav.d.ts +0 -11
- package/dist/components/nano-overflow-nav.js +0 -390
- package/dist/components/nano-overflow-nav.js.map +0 -1
- package/dist/components/nano-progress-bar.js.map +0 -1
- package/dist/components/nano-range.js.map +0 -1
- package/dist/components/nano-rating.js.map +0 -1
- package/dist/components/nano-resize-observe.js.map +0 -1
- package/dist/components/nano-select.js.map +0 -1
- package/dist/components/nano-skeleton.js.map +0 -1
- package/dist/components/nano-slide.js.map +0 -1
- package/dist/components/nano-slides.js.map +0 -1
- package/dist/components/nano-sortable.js.map +0 -1
- package/dist/components/nano-spinner.js.map +0 -1
- package/dist/components/nano-split-pane.js.map +0 -1
- package/dist/components/nano-sticker.js.map +0 -1
- package/dist/components/nano-tab-content.js.map +0 -1
- package/dist/components/nano-tab-group.js.map +0 -1
- package/dist/components/nano-tab.js.map +0 -1
- package/dist/components/nano-table.js.map +0 -1
- package/dist/components/nano-tooltip.js.map +0 -1
- package/dist/components/nav-item.js.map +0 -1
- package/dist/components/option.js.map +0 -1
- package/dist/components/page-dots.js.map +0 -1
- package/dist/components/popover.js.map +0 -1
- package/dist/components/progress-bar.js.map +0 -1
- package/dist/components/renderer.js.map +0 -1
- package/dist/components/resize-observe.js.map +0 -1
- package/dist/components/scroll-parent.js +0 -29
- package/dist/components/scroll-parent.js.map +0 -1
- package/dist/components/scroll.js.map +0 -1
- package/dist/components/search-insights.js +0 -51
- package/dist/components/search-insights.js.map +0 -1
- package/dist/components/select.js.map +0 -1
- package/dist/components/skeleton.js.map +0 -1
- package/dist/components/slot.js.map +0 -1
- package/dist/components/spinner.js.map +0 -1
- package/dist/components/sticker.js.map +0 -1
- package/dist/components/tabbable.js.map +0 -1
- package/dist/components/table.worker.js.map +0 -1
- package/dist/components/theme.js.map +0 -1
- package/dist/components/throttle.js.map +0 -1
- package/dist/components/tooltip.js.map +0 -1
- package/dist/components/transitions.js +0 -60
- package/dist/components/transitions.js.map +0 -1
- package/dist/esm/active-element-a2502948.js +0 -19
- package/dist/esm/active-element-a2502948.js.map +0 -1
- package/dist/esm/algolia-data-f0f72f1d.js +0 -49
- package/dist/esm/algolia-data-f0f72f1d.js.map +0 -1
- package/dist/esm/algoliasearch-lite.esm.browser-0f71b631.js +0 -966
- package/dist/esm/algoliasearch-lite.esm.browser-0f71b631.js.map +0 -1
- package/dist/esm/app-globals-f0120bbe.js +0 -39
- package/dist/esm/app-globals-f0120bbe.js.map +0 -1
- package/dist/esm/component-store-199a9fd8.js +0 -323
- package/dist/esm/component-store-199a9fd8.js.map +0 -1
- package/dist/esm/date-utils-1e39c114.js +0 -219
- package/dist/esm/date-utils-1e39c114.js.map +0 -1
- package/dist/esm/dom-fafdec9a.js +0 -78
- package/dist/esm/dom-fafdec9a.js.map +0 -1
- package/dist/esm/drag-9d765d2d.js +0 -72
- package/dist/esm/drag-9d765d2d.js.map +0 -1
- package/dist/esm/events-f38f3e59.js +0 -36
- package/dist/esm/events-f38f3e59.js.map +0 -1
- package/dist/esm/fade-ce1a4958.js +0 -212
- package/dist/esm/fade-ce1a4958.js.map +0 -1
- package/dist/esm/focus-visible-e5f02c46.js +0 -66
- package/dist/esm/focus-visible-e5f02c46.js.map +0 -1
- package/dist/esm/form-control-f48fa873.js +0 -79
- package/dist/esm/form-control-f48fa873.js.map +0 -1
- package/dist/esm/fullscreen-52d62028.js +0 -132
- package/dist/esm/fullscreen-52d62028.js.map +0 -1
- package/dist/esm/index-6cc72cd9.js +0 -3045
- package/dist/esm/index-6cc72cd9.js.map +0 -1
- package/dist/esm/index-a2043fcd.js +0 -657
- package/dist/esm/index-a2043fcd.js.map +0 -1
- package/dist/esm/index-browser-8c563093.js +0 -8
- package/dist/esm/index-browser-8c563093.js.map +0 -1
- package/dist/esm/index-f5f7b950.js +0 -198
- package/dist/esm/index-f5f7b950.js.map +0 -1
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/lazyload-8ff69ba4.js +0 -94
- package/dist/esm/lazyload-8ff69ba4.js.map +0 -1
- package/dist/esm/loader.js.map +0 -1
- package/dist/esm/local-my-account-3ba1ec04.js +0 -462
- package/dist/esm/local-my-account-3ba1ec04.js.map +0 -1
- package/dist/esm/math-d160f8a6.js +0 -38
- package/dist/esm/math-d160f8a6.js.map +0 -1
- package/dist/esm/modal-02828a39.js +0 -49
- package/dist/esm/modal-02828a39.js.map +0 -1
- package/dist/esm/nano-accordion.entry.js.map +0 -1
- package/dist/esm/nano-alert.entry.js.map +0 -1
- package/dist/esm/nano-algolia-filter.entry.js.map +0 -1
- package/dist/esm/nano-algolia-pagination.entry.js.map +0 -1
- package/dist/esm/nano-algolia-results.entry.js.map +0 -1
- package/dist/esm/nano-algolia.entry.js.map +0 -1
- package/dist/esm/nano-animation.entry.js.map +0 -1
- package/dist/esm/nano-checkbox-group.entry.js.map +0 -1
- package/dist/esm/nano-checkbox.entry.js.map +0 -1
- package/dist/esm/nano-components.js.map +0 -1
- package/dist/esm/nano-datalist_3.entry.js.map +0 -1
- package/dist/esm/nano-date-input.entry.js.map +0 -1
- package/dist/esm/nano-date-picker.entry.js +0 -389
- package/dist/esm/nano-date-picker.entry.js.map +0 -1
- package/dist/esm/nano-details.entry.js.map +0 -1
- package/dist/esm/nano-dialog.entry.js.map +0 -1
- package/dist/esm/nano-drawer.entry.js +0 -285
- package/dist/esm/nano-drawer.entry.js.map +0 -1
- package/dist/esm/nano-dropdown.entry.js +0 -369
- package/dist/esm/nano-dropdown.entry.js.map +0 -1
- package/dist/esm/nano-field-validator.entry.js.map +0 -1
- package/dist/esm/nano-file-upload.entry.js.map +0 -1
- package/dist/esm/nano-global-nav-user-profile_3.entry.js +0 -1101
- package/dist/esm/nano-global-nav-user-profile_3.entry.js.map +0 -1
- package/dist/esm/nano-global-nav.entry.js.map +0 -1
- package/dist/esm/nano-global-search-results.entry.js +0 -632
- package/dist/esm/nano-global-search-results.entry.js.map +0 -1
- package/dist/esm/nano-grid-item.entry.js.map +0 -1
- package/dist/esm/nano-grid_2.entry.js.map +0 -1
- package/dist/esm/nano-hero.entry.js.map +0 -1
- package/dist/esm/nano-icon-button_2.entry.js +0 -336
- package/dist/esm/nano-icon-button_2.entry.js.map +0 -1
- package/dist/esm/nano-icon.entry.js +0 -316
- package/dist/esm/nano-icon.entry.js.map +0 -1
- package/dist/esm/nano-input.entry.js +0 -544
- package/dist/esm/nano-input.entry.js.map +0 -1
- package/dist/esm/nano-intersection-observe.entry.js.map +0 -1
- package/dist/esm/nano-menu-drawer.entry.js.map +0 -1
- package/dist/esm/nano-more-less.entry.js.map +0 -1
- package/dist/esm/nano-overflow-nav.entry.js +0 -338
- package/dist/esm/nano-overflow-nav.entry.js.map +0 -1
- package/dist/esm/nano-progress-bar.entry.js.map +0 -1
- package/dist/esm/nano-range.entry.js.map +0 -1
- package/dist/esm/nano-rating.entry.js.map +0 -1
- package/dist/esm/nano-resize-observe_2.entry.js.map +0 -1
- package/dist/esm/nano-slide.entry.js.map +0 -1
- package/dist/esm/nano-slides-2715825b.js +0 -3038
- package/dist/esm/nano-slides-2715825b.js.map +0 -1
- package/dist/esm/nano-slides.entry.js.map +0 -1
- package/dist/esm/nano-sortable.entry.js.map +0 -1
- package/dist/esm/nano-spinner.entry.js.map +0 -1
- package/dist/esm/nano-split-pane.entry.js.map +0 -1
- package/dist/esm/nano-sticker.entry.js.map +0 -1
- package/dist/esm/nano-tab-content.entry.js.map +0 -1
- package/dist/esm/nano-tab-group.entry.js.map +0 -1
- package/dist/esm/nano-tab.entry.js.map +0 -1
- package/dist/esm/nano-table-3965ddd0.js +0 -1877
- package/dist/esm/nano-table-3965ddd0.js.map +0 -1
- package/dist/esm/nano-table.entry.js.map +0 -1
- package/dist/esm/page-dots-5b23db8c.js +0 -139
- package/dist/esm/page-dots-5b23db8c.js.map +0 -1
- package/dist/esm/popover-30ce6cac.js +0 -1930
- package/dist/esm/popover-30ce6cac.js.map +0 -1
- package/dist/esm/renderer-4bc3e2dc.js +0 -58
- package/dist/esm/renderer-4bc3e2dc.js.map +0 -1
- package/dist/esm/scroll-1afc6a4e.js +0 -124
- package/dist/esm/scroll-1afc6a4e.js.map +0 -1
- package/dist/esm/scroll-parent-be39fbd0.js +0 -29
- package/dist/esm/scroll-parent-be39fbd0.js.map +0 -1
- package/dist/esm/search-insights-1a7b7dc5.js +0 -51
- package/dist/esm/search-insights-1a7b7dc5.js.map +0 -1
- package/dist/esm/slot-1cd90e53.js +0 -58
- package/dist/esm/slot-1cd90e53.js.map +0 -1
- package/dist/esm/tabbable-44932eb7.js +0 -109
- package/dist/esm/tabbable-44932eb7.js.map +0 -1
- package/dist/esm/table.worker-8e04f768.js +0 -29
- package/dist/esm/table.worker-8e04f768.js.map +0 -1
- package/dist/esm/table.worker-da5412ed.js +0 -4
- package/dist/esm/theme-d553c17a.js +0 -46
- package/dist/esm/theme-d553c17a.js.map +0 -1
- package/dist/esm/throttle-df960210.js +0 -50
- package/dist/esm/throttle-df960210.js.map +0 -1
- package/dist/esm/transitions-c09bd7f6.js +0 -60
- package/dist/esm/transitions-c09bd7f6.js.map +0 -1
- package/dist/generators/custom-element-doc-generator.js +0 -75
- package/dist/generators/custom-element-doc-generator.js.map +0 -1
- package/dist/generators/vue/generate-vue-component.js +0 -74
- package/dist/generators/vue/generate-vue-component.js.map +0 -1
- package/dist/generators/vue/index.js +0 -5
- package/dist/generators/vue/index.js.map +0 -1
- package/dist/generators/vue/output-vue.js +0 -96
- package/dist/generators/vue/output-vue.js.map +0 -1
- package/dist/generators/vue/plugin.js +0 -44
- package/dist/generators/vue/plugin.js.map +0 -1
- package/dist/generators/vue/types.js +0 -2
- package/dist/generators/vue/types.js.map +0 -1
- package/dist/generators/vue/utils.js +0 -82
- package/dist/generators/vue/utils.js.map +0 -1
- package/dist/nano-assets/fonts/jp/noto-sans-jp-v53-japanese-500.woff2 +0 -0
- package/dist/nano-assets/fonts/latin/noto-sans-v38-latin-500.woff2 +0 -0
- package/dist/nano-assets/fonts/latin/noto-sans-v38-latin-500italic.woff2 +0 -0
- package/dist/nano-assets/fonts/sc/noto-sans-sc-v37-chinese-simplified-500.woff2 +0 -0
- package/dist/nano-assets/local-my-account.json +0 -447
- package/dist/nano-components/active-element-a2502948.js +0 -5
- package/dist/nano-components/active-element-a2502948.js.map +0 -1
- package/dist/nano-components/algolia-data-f0f72f1d.js +0 -5
- package/dist/nano-components/algolia-data-f0f72f1d.js.map +0 -1
- package/dist/nano-components/algoliasearch-lite.esm.browser-0f71b631.js +0 -5
- package/dist/nano-components/algoliasearch-lite.esm.browser-0f71b631.js.map +0 -1
- package/dist/nano-components/app-globals-f0120bbe.js +0 -5
- package/dist/nano-components/app-globals-f0120bbe.js.map +0 -1
- package/dist/nano-components/assets/local-my-account.json +0 -447
- package/dist/nano-components/component-store-199a9fd8.js +0 -5
- package/dist/nano-components/component-store-199a9fd8.js.map +0 -1
- package/dist/nano-components/date-utils-1e39c114.js +0 -5
- package/dist/nano-components/date-utils-1e39c114.js.map +0 -1
- package/dist/nano-components/dom-fafdec9a.js +0 -5
- package/dist/nano-components/dom-fafdec9a.js.map +0 -1
- package/dist/nano-components/drag-9d765d2d.js +0 -5
- package/dist/nano-components/drag-9d765d2d.js.map +0 -1
- package/dist/nano-components/events-f38f3e59.js +0 -5
- package/dist/nano-components/events-f38f3e59.js.map +0 -1
- package/dist/nano-components/fade-ce1a4958.js +0 -5
- package/dist/nano-components/fade-ce1a4958.js.map +0 -1
- package/dist/nano-components/focus-visible-e5f02c46.js +0 -5
- package/dist/nano-components/focus-visible-e5f02c46.js.map +0 -1
- package/dist/nano-components/form-control-f48fa873.js +0 -5
- package/dist/nano-components/form-control-f48fa873.js.map +0 -1
- package/dist/nano-components/fullscreen-52d62028.js +0 -5
- package/dist/nano-components/fullscreen-52d62028.js.map +0 -1
- package/dist/nano-components/index-6cc72cd9.js +0 -6
- package/dist/nano-components/index-6cc72cd9.js.map +0 -1
- package/dist/nano-components/index-a2043fcd.js +0 -5
- package/dist/nano-components/index-a2043fcd.js.map +0 -1
- package/dist/nano-components/index-browser-8c563093.js +0 -5
- package/dist/nano-components/index-browser-8c563093.js.map +0 -1
- package/dist/nano-components/index-f5f7b950.js +0 -5
- package/dist/nano-components/index-f5f7b950.js.map +0 -1
- package/dist/nano-components/index.esm.js.map +0 -1
- package/dist/nano-components/lazyload-8ff69ba4.js +0 -5
- package/dist/nano-components/lazyload-8ff69ba4.js.map +0 -1
- package/dist/nano-components/local-my-account-3ba1ec04.js +0 -5
- package/dist/nano-components/local-my-account-3ba1ec04.js.map +0 -1
- package/dist/nano-components/math-d160f8a6.js +0 -5
- package/dist/nano-components/math-d160f8a6.js.map +0 -1
- package/dist/nano-components/modal-02828a39.js +0 -5
- package/dist/nano-components/modal-02828a39.js.map +0 -1
- package/dist/nano-components/nano-accordion.entry.js.map +0 -1
- package/dist/nano-components/nano-alert.entry.js.map +0 -1
- package/dist/nano-components/nano-algolia-filter.entry.js.map +0 -1
- package/dist/nano-components/nano-algolia-pagination.entry.js.map +0 -1
- package/dist/nano-components/nano-algolia-results.entry.js.map +0 -1
- package/dist/nano-components/nano-algolia.entry.js.map +0 -1
- package/dist/nano-components/nano-animation.entry.js.map +0 -1
- package/dist/nano-components/nano-checkbox-group.entry.js.map +0 -1
- package/dist/nano-components/nano-checkbox.entry.js.map +0 -1
- package/dist/nano-components/nano-components.esm.js.map +0 -1
- package/dist/nano-components/nano-datalist_3.entry.js.map +0 -1
- package/dist/nano-components/nano-date-input.entry.js.map +0 -1
- package/dist/nano-components/nano-date-picker.entry.js +0 -5
- package/dist/nano-components/nano-date-picker.entry.js.map +0 -1
- package/dist/nano-components/nano-details.entry.js.map +0 -1
- package/dist/nano-components/nano-dialog.entry.js.map +0 -1
- package/dist/nano-components/nano-drawer.entry.js +0 -5
- package/dist/nano-components/nano-drawer.entry.js.map +0 -1
- package/dist/nano-components/nano-dropdown.entry.js +0 -5
- package/dist/nano-components/nano-dropdown.entry.js.map +0 -1
- package/dist/nano-components/nano-field-validator.entry.js.map +0 -1
- package/dist/nano-components/nano-file-upload.entry.js.map +0 -1
- package/dist/nano-components/nano-global-nav-user-profile_3.entry.js +0 -5
- package/dist/nano-components/nano-global-nav-user-profile_3.entry.js.map +0 -1
- package/dist/nano-components/nano-global-nav.entry.js.map +0 -1
- package/dist/nano-components/nano-global-search-results.entry.js +0 -5
- package/dist/nano-components/nano-global-search-results.entry.js.map +0 -1
- package/dist/nano-components/nano-grid-item.entry.js.map +0 -1
- package/dist/nano-components/nano-grid_2.entry.js.map +0 -1
- package/dist/nano-components/nano-hero.entry.js.map +0 -1
- package/dist/nano-components/nano-icon-button_2.entry.js +0 -5
- package/dist/nano-components/nano-icon-button_2.entry.js.map +0 -1
- package/dist/nano-components/nano-icon.entry.js +0 -5
- package/dist/nano-components/nano-icon.entry.js.map +0 -1
- package/dist/nano-components/nano-input.entry.js +0 -5
- package/dist/nano-components/nano-input.entry.js.map +0 -1
- package/dist/nano-components/nano-intersection-observe.entry.js.map +0 -1
- package/dist/nano-components/nano-menu-drawer.entry.js.map +0 -1
- package/dist/nano-components/nano-more-less.entry.js.map +0 -1
- package/dist/nano-components/nano-overflow-nav.entry.js +0 -5
- package/dist/nano-components/nano-overflow-nav.entry.js.map +0 -1
- package/dist/nano-components/nano-progress-bar.entry.js.map +0 -1
- package/dist/nano-components/nano-range.entry.js.map +0 -1
- package/dist/nano-components/nano-rating.entry.js.map +0 -1
- package/dist/nano-components/nano-resize-observe_2.entry.js.map +0 -1
- package/dist/nano-components/nano-slide.entry.js.map +0 -1
- package/dist/nano-components/nano-slides-2715825b.js +0 -20
- package/dist/nano-components/nano-slides-2715825b.js.map +0 -1
- package/dist/nano-components/nano-slides.entry.js.map +0 -1
- package/dist/nano-components/nano-sortable.entry.js.map +0 -1
- package/dist/nano-components/nano-spinner.entry.js.map +0 -1
- package/dist/nano-components/nano-split-pane.entry.js.map +0 -1
- package/dist/nano-components/nano-sticker.entry.js.map +0 -1
- package/dist/nano-components/nano-tab-content.entry.js.map +0 -1
- package/dist/nano-components/nano-tab-group.entry.js.map +0 -1
- package/dist/nano-components/nano-tab.entry.js.map +0 -1
- package/dist/nano-components/nano-table-3965ddd0.js +0 -5
- package/dist/nano-components/nano-table-3965ddd0.js.map +0 -1
- package/dist/nano-components/nano-table.entry.js.map +0 -1
- package/dist/nano-components/page-dots-5b23db8c.js +0 -5
- package/dist/nano-components/page-dots-5b23db8c.js.map +0 -1
- package/dist/nano-components/popover-30ce6cac.js +0 -5
- package/dist/nano-components/popover-30ce6cac.js.map +0 -1
- package/dist/nano-components/renderer-4bc3e2dc.js +0 -5
- package/dist/nano-components/renderer-4bc3e2dc.js.map +0 -1
- package/dist/nano-components/scroll-1afc6a4e.js +0 -5
- package/dist/nano-components/scroll-1afc6a4e.js.map +0 -1
- package/dist/nano-components/scroll-parent-be39fbd0.js +0 -5
- package/dist/nano-components/scroll-parent-be39fbd0.js.map +0 -1
- package/dist/nano-components/search-insights-1a7b7dc5.js +0 -5
- package/dist/nano-components/search-insights-1a7b7dc5.js.map +0 -1
- package/dist/nano-components/slot-1cd90e53.js +0 -5
- package/dist/nano-components/slot-1cd90e53.js.map +0 -1
- package/dist/nano-components/tabbable-44932eb7.js +0 -5
- package/dist/nano-components/tabbable-44932eb7.js.map +0 -1
- package/dist/nano-components/table.worker-8e04f768.js +0 -5
- package/dist/nano-components/table.worker-8e04f768.js.map +0 -1
- package/dist/nano-components/table.worker-da5412ed.js +0 -4
- package/dist/nano-components/theme-d553c17a.js +0 -5
- package/dist/nano-components/theme-d553c17a.js.map +0 -1
- package/dist/nano-components/throttle-df960210.js +0 -5
- package/dist/nano-components/throttle-df960210.js.map +0 -1
- package/dist/nano-components/transitions-c09bd7f6.js +0 -5
- package/dist/nano-components/transitions-c09bd7f6.js.map +0 -1
- package/dist/stencil.config.js.map +0 -1
- package/dist/stencil.config.prod.js.map +0 -1
- package/dist/testing/mocks/intersection-observer.js.map +0 -1
- package/dist/themes/base/normalize.css +0 -1
- package/dist/themes/base/normalize.css.map +0 -1
- package/dist/themes/base/noto-sans-jp.css +0 -1
- package/dist/themes/base/noto-sans-jp.css.map +0 -1
- package/dist/themes/base/noto-sans-sc.css +0 -1
- package/dist/themes/base/noto-sans-sc.css.map +0 -1
- package/dist/themes/base/noto-sans.css +0 -1
- package/dist/themes/base/noto-sans.css.map +0 -1
- package/dist/themes/base/structure.css +0 -1
- package/dist/themes/base/structure.css.map +0 -1
- package/dist/themes/london-calling.css +0 -1
- package/dist/themes/london-calling.css.map +0 -1
- package/dist/themes/nanopore.css +0 -1
- package/dist/themes/nanopore.css.map +0 -1
- package/dist/types/builds/6SyqsxUA/0/Digital/nano-components/packages/components/.stencil/generators/custom-element-doc-generator.d.ts +0 -8
- package/dist/types/builds/6SyqsxUA/0/Digital/nano-components/packages/components/.stencil/stencil.config.d.ts +0 -2
- package/dist/types/builds/6SyqsxUA/0/Digital/nano-components/packages/components/.stencil/stencil.config.prod.d.ts +0 -2
- package/dist/types/components/global-nav/global-nav-user-profile.d.ts +0 -16
- package/dist/types/components/overflow-nav/overflow-nav.d.ts +0 -89
- package/dist/types/components/table/table-interface.d.ts +0 -278
- package/dist/types/components/table/table.store.d.ts +0 -24
- package/dist/types/components/table/table.utils.d.ts +0 -70
- package/dist/types/utils/focus-visible.d.ts +0 -8
- package/dist/types/utils/scroll-parent.d.ts +0 -6
- package/dist/wdio.conf.js.map +0 -1
- package/themes/base/normalize.css +0 -1
- package/themes/base/normalize.css.map +0 -1
- package/themes/base/noto-sans-jp.css +0 -1
- package/themes/base/noto-sans-jp.css.map +0 -1
- package/themes/base/noto-sans-sc.css +0 -1
- package/themes/base/noto-sans-sc.css.map +0 -1
- package/themes/base/noto-sans.css +0 -1
- package/themes/base/noto-sans.css.map +0 -1
- package/themes/base/structure.css +0 -1
- package/themes/base/structure.css.map +0 -1
- package/themes/london-calling.css +0 -1
- package/themes/london-calling.css.map +0 -1
- package/themes/nanopore.css +0 -1
- package/themes/nanopore.css.map +0 -1
- /package/dist/nano-assets/{fonts/jp/noto-sans-jp-v53-japanese-700.woff2 → font/jp/noto-sans-jp-v53-japanese_latin-700.woff2} +0 -0
- /package/dist/nano-assets/{fonts/jp/noto-sans-jp-v53-japanese-regular.woff2 → font/jp/noto-sans-jp-v53-japanese_latin-regular.woff2} +0 -0
- /package/dist/nano-assets/{fonts → font}/latin/noto-sans-v38-latin-700.woff2 +0 -0
- /package/dist/nano-assets/{fonts → font}/latin/noto-sans-v38-latin-700italic.woff2 +0 -0
- /package/dist/nano-assets/{fonts → font}/latin/noto-sans-v38-latin-italic.woff2 +0 -0
- /package/dist/nano-assets/{fonts → font}/latin/noto-sans-v38-latin-regular.woff2 +0 -0
- /package/dist/nano-assets/{fonts/sc/noto-sans-sc-v37-chinese-simplified-700.woff2 → font/sc/noto-sans-sc-v37-chinese-simplified_latin-700.woff2} +0 -0
- /package/dist/nano-assets/{fonts/sc/noto-sans-sc-v37-chinese-simplified-regular.woff2 → font/sc/noto-sans-sc-v37-chinese-simplified_latin-regular.woff2} +0 -0
- /package/dist/types/{builds/6SyqsxUA/0/Digital/nano-components/packages/components/.stencil/generators/vue → Users/John.Jenkins/projects/nano-components/packages/components/.stencil/plugins/stencil/vue-output}/generate-vue-component.d.ts +0 -0
- /package/dist/types/{builds/6SyqsxUA/0/Digital/nano-components/packages/components/.stencil/generators/vue → Users/John.Jenkins/projects/nano-components/packages/components/.stencil/plugins/stencil/vue-output}/index.d.ts +0 -0
- /package/dist/types/{builds/6SyqsxUA/0/Digital/nano-components/packages/components/.stencil/generators/vue → Users/John.Jenkins/projects/nano-components/packages/components/.stencil/plugins/stencil/vue-output}/output-vue.d.ts +0 -0
- /package/dist/types/{builds/6SyqsxUA/0/Digital/nano-components/packages/components/.stencil/generators/vue → Users/John.Jenkins/projects/nano-components/packages/components/.stencil/plugins/stencil/vue-output}/plugin.d.ts +0 -0
- /package/dist/types/{builds/6SyqsxUA/0/Digital/nano-components/packages/components/.stencil/generators/vue → Users/John.Jenkins/projects/nano-components/packages/components/.stencil/plugins/stencil/vue-output}/types.d.ts +0 -0
- /package/dist/types/{builds/6SyqsxUA/0/Digital/nano-components/packages/components/.stencil/generators/vue → Users/John.Jenkins/projects/nano-components/packages/components/.stencil/plugins/stencil/vue-output}/utils.d.ts +0 -0
- /package/dist/types/{builds/6SyqsxUA/0/Digital → Users/John.Jenkins/projects}/nano-components/packages/components/.stencil/testing/mocks/intersection-observer.d.ts +0 -0
- /package/dist/types/{builds/6SyqsxUA/0/Digital → Users/John.Jenkins/projects}/nano-components/packages/components/.stencil/wdio.conf.d.ts +0 -0
- /package/dist/types/components/{table → data-table}/table.cell.d.ts +0 -0
- /package/dist/types/components/{table → data-table}/table.constants.d.ts +0 -0
- /package/dist/types/components/{table → data-table}/table.header.d.ts +0 -0
- /package/dist/types/components/{table → data-table}/table.pin-service.d.ts +0 -0
- /package/dist/types/components/{table → data-table}/table.row.d.ts +0 -0
- /package/dist/types/components/{table → data-table}/table.worker.d.ts +0 -0
@@ -1,3045 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Web Components for Nanopore digital Web Apps
|
3
|
-
*/
|
4
|
-
const NAMESPACE = 'nano-components';
|
5
|
-
const BUILD = /* nano-components */ { allRenderFn: true, appendChildSlotFix: true, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: true, constructableCSS: true, cssAnnotations: true, devTools: false, element: false, event: true, experimentalScopedSlotChanges: true, experimentalSlotFixes: true, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: true, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: true, hotModuleReplacement: false, hydrateClientSide: true, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: false, modernPropertyDecls: true, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: true, scopedSlotTextContentFix: true, scriptDataOpts: true, shadowDelegatesFocus: false, shadowDom: true, slot: true, slotChildNodesFix: true, slotRelocation: true, state: true, style: true, svg: false, taskQueue: true, transformTagName: true, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: true, watchCallback: true };
|
6
|
-
|
7
|
-
/*
|
8
|
-
Stencil Client Platform v4.27.2 | MIT Licensed | https://stenciljs.com
|
9
|
-
*/
|
10
|
-
var __defProp = Object.defineProperty;
|
11
|
-
var __export = (target, all) => {
|
12
|
-
for (var name in all)
|
13
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
14
|
-
};
|
15
|
-
var Build = {
|
16
|
-
isDev: false,
|
17
|
-
isBrowser: true,
|
18
|
-
isServer: false,
|
19
|
-
isTesting: false
|
20
|
-
};
|
21
|
-
|
22
|
-
// src/utils/es2022-rewire-class-members.ts
|
23
|
-
var reWireGetterSetter = (instance, hostRef) => {
|
24
|
-
var _a;
|
25
|
-
const cmpMeta = hostRef.$cmpMeta$;
|
26
|
-
const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
|
27
|
-
members.map(([memberName, [memberFlags]]) => {
|
28
|
-
if ((memberFlags & 31 /* Prop */ || memberFlags & 32 /* State */)) {
|
29
|
-
const ogValue = instance[memberName];
|
30
|
-
const ogDescriptor = Object.getOwnPropertyDescriptor(Object.getPrototypeOf(instance), memberName);
|
31
|
-
Object.defineProperty(instance, memberName, {
|
32
|
-
get() {
|
33
|
-
return ogDescriptor.get.call(this);
|
34
|
-
},
|
35
|
-
set(newValue) {
|
36
|
-
ogDescriptor.set.call(this, newValue);
|
37
|
-
},
|
38
|
-
configurable: true,
|
39
|
-
enumerable: true
|
40
|
-
});
|
41
|
-
instance[memberName] = hostRef.$instanceValues$.has(memberName) ? hostRef.$instanceValues$.get(memberName) : ogValue;
|
42
|
-
}
|
43
|
-
});
|
44
|
-
};
|
45
|
-
|
46
|
-
// src/client/client-host-ref.ts
|
47
|
-
var getHostRef = (ref) => {
|
48
|
-
if (ref.__stencil__getHostRef) {
|
49
|
-
return ref.__stencil__getHostRef();
|
50
|
-
}
|
51
|
-
return void 0;
|
52
|
-
};
|
53
|
-
var registerInstance = (lazyInstance, hostRef) => {
|
54
|
-
lazyInstance.__stencil__getHostRef = () => hostRef;
|
55
|
-
hostRef.$lazyInstance$ = lazyInstance;
|
56
|
-
{
|
57
|
-
reWireGetterSetter(lazyInstance, hostRef);
|
58
|
-
}
|
59
|
-
};
|
60
|
-
var registerHost = (hostElement, cmpMeta) => {
|
61
|
-
const hostRef = {
|
62
|
-
$flags$: 0,
|
63
|
-
$hostElement$: hostElement,
|
64
|
-
$cmpMeta$: cmpMeta,
|
65
|
-
$instanceValues$: /* @__PURE__ */ new Map()
|
66
|
-
};
|
67
|
-
{
|
68
|
-
hostRef.$onInstancePromise$ = new Promise((r) => hostRef.$onInstanceResolve$ = r);
|
69
|
-
}
|
70
|
-
{
|
71
|
-
hostRef.$onReadyPromise$ = new Promise((r) => hostRef.$onReadyResolve$ = r);
|
72
|
-
hostElement["s-p"] = [];
|
73
|
-
hostElement["s-rc"] = [];
|
74
|
-
}
|
75
|
-
const ref = hostRef;
|
76
|
-
hostElement.__stencil__getHostRef = () => ref;
|
77
|
-
return ref;
|
78
|
-
};
|
79
|
-
var isMemberInElement = (elm, memberName) => memberName in elm;
|
80
|
-
var consoleError = (e, el) => (0, console.error)(e, el);
|
81
|
-
|
82
|
-
// src/client/client-load-module.ts
|
83
|
-
var cmpModules = /* @__PURE__ */ new Map();
|
84
|
-
var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
85
|
-
const exportName = cmpMeta.$tagName$.replace(/-/g, "_");
|
86
|
-
const bundleId = cmpMeta.$lazyBundleId$;
|
87
|
-
if (!bundleId) {
|
88
|
-
return void 0;
|
89
|
-
}
|
90
|
-
const module = cmpModules.get(bundleId) ;
|
91
|
-
if (module) {
|
92
|
-
return module[exportName];
|
93
|
-
}
|
94
|
-
|
95
|
-
if (!hmrVersionId || !BUILD.hotModuleReplacement) {
|
96
|
-
const processMod = importedModule => {
|
97
|
-
cmpModules.set(bundleId, importedModule);
|
98
|
-
return importedModule[exportName];
|
99
|
-
}
|
100
|
-
switch(bundleId) {
|
101
|
-
|
102
|
-
case 'nano-accordion':
|
103
|
-
return import(
|
104
|
-
/* webpackMode: "lazy" */
|
105
|
-
'./nano-accordion.entry.js').then(processMod, consoleError);
|
106
|
-
case 'nano-alert':
|
107
|
-
return import(
|
108
|
-
/* webpackMode: "lazy" */
|
109
|
-
'./nano-alert.entry.js').then(processMod, consoleError);
|
110
|
-
case 'nano-algolia-filter':
|
111
|
-
return import(
|
112
|
-
/* webpackMode: "lazy" */
|
113
|
-
'./nano-algolia-filter.entry.js').then(processMod, consoleError);
|
114
|
-
case 'nano-algolia-pagination':
|
115
|
-
return import(
|
116
|
-
/* webpackMode: "lazy" */
|
117
|
-
'./nano-algolia-pagination.entry.js').then(processMod, consoleError);
|
118
|
-
case 'nano-algolia-results':
|
119
|
-
return import(
|
120
|
-
/* webpackMode: "lazy" */
|
121
|
-
'./nano-algolia-results.entry.js').then(processMod, consoleError);
|
122
|
-
case 'nano-animation':
|
123
|
-
return import(
|
124
|
-
/* webpackMode: "lazy" */
|
125
|
-
'./nano-animation.entry.js').then(processMod, consoleError);
|
126
|
-
case 'nano-checkbox':
|
127
|
-
return import(
|
128
|
-
/* webpackMode: "lazy" */
|
129
|
-
'./nano-checkbox.entry.js').then(processMod, consoleError);
|
130
|
-
case 'nano-checkbox-group':
|
131
|
-
return import(
|
132
|
-
/* webpackMode: "lazy" */
|
133
|
-
'./nano-checkbox-group.entry.js').then(processMod, consoleError);
|
134
|
-
case 'nano-date-input':
|
135
|
-
return import(
|
136
|
-
/* webpackMode: "lazy" */
|
137
|
-
'./nano-date-input.entry.js').then(processMod, consoleError);
|
138
|
-
case 'nano-details':
|
139
|
-
return import(
|
140
|
-
/* webpackMode: "lazy" */
|
141
|
-
'./nano-details.entry.js').then(processMod, consoleError);
|
142
|
-
case 'nano-dialog':
|
143
|
-
return import(
|
144
|
-
/* webpackMode: "lazy" */
|
145
|
-
'./nano-dialog.entry.js').then(processMod, consoleError);
|
146
|
-
case 'nano-drawer':
|
147
|
-
return import(
|
148
|
-
/* webpackMode: "lazy" */
|
149
|
-
'./nano-drawer.entry.js').then(processMod, consoleError);
|
150
|
-
case 'nano-field-validator':
|
151
|
-
return import(
|
152
|
-
/* webpackMode: "lazy" */
|
153
|
-
'./nano-field-validator.entry.js').then(processMod, consoleError);
|
154
|
-
case 'nano-file-upload':
|
155
|
-
return import(
|
156
|
-
/* webpackMode: "lazy" */
|
157
|
-
'./nano-file-upload.entry.js').then(processMod, consoleError);
|
158
|
-
case 'nano-global-nav':
|
159
|
-
return import(
|
160
|
-
/* webpackMode: "lazy" */
|
161
|
-
'./nano-global-nav.entry.js').then(processMod, consoleError);
|
162
|
-
case 'nano-global-search-results':
|
163
|
-
return import(
|
164
|
-
/* webpackMode: "lazy" */
|
165
|
-
'./nano-global-search-results.entry.js').then(processMod, consoleError);
|
166
|
-
case 'nano-grid-item':
|
167
|
-
return import(
|
168
|
-
/* webpackMode: "lazy" */
|
169
|
-
'./nano-grid-item.entry.js').then(processMod, consoleError);
|
170
|
-
case 'nano-hero':
|
171
|
-
return import(
|
172
|
-
/* webpackMode: "lazy" */
|
173
|
-
'./nano-hero.entry.js').then(processMod, consoleError);
|
174
|
-
case 'nano-intersection-observe':
|
175
|
-
return import(
|
176
|
-
/* webpackMode: "lazy" */
|
177
|
-
'./nano-intersection-observe.entry.js').then(processMod, consoleError);
|
178
|
-
case 'nano-menu-drawer':
|
179
|
-
return import(
|
180
|
-
/* webpackMode: "lazy" */
|
181
|
-
'./nano-menu-drawer.entry.js').then(processMod, consoleError);
|
182
|
-
case 'nano-more-less':
|
183
|
-
return import(
|
184
|
-
/* webpackMode: "lazy" */
|
185
|
-
'./nano-more-less.entry.js').then(processMod, consoleError);
|
186
|
-
case 'nano-overflow-nav':
|
187
|
-
return import(
|
188
|
-
/* webpackMode: "lazy" */
|
189
|
-
'./nano-overflow-nav.entry.js').then(processMod, consoleError);
|
190
|
-
case 'nano-range':
|
191
|
-
return import(
|
192
|
-
/* webpackMode: "lazy" */
|
193
|
-
'./nano-range.entry.js').then(processMod, consoleError);
|
194
|
-
case 'nano-rating':
|
195
|
-
return import(
|
196
|
-
/* webpackMode: "lazy" */
|
197
|
-
'./nano-rating.entry.js').then(processMod, consoleError);
|
198
|
-
case 'nano-slide':
|
199
|
-
return import(
|
200
|
-
/* webpackMode: "lazy" */
|
201
|
-
'./nano-slide.entry.js').then(processMod, consoleError);
|
202
|
-
case 'nano-sortable':
|
203
|
-
return import(
|
204
|
-
/* webpackMode: "lazy" */
|
205
|
-
'./nano-sortable.entry.js').then(processMod, consoleError);
|
206
|
-
case 'nano-split-pane':
|
207
|
-
return import(
|
208
|
-
/* webpackMode: "lazy" */
|
209
|
-
'./nano-split-pane.entry.js').then(processMod, consoleError);
|
210
|
-
case 'nano-tab':
|
211
|
-
return import(
|
212
|
-
/* webpackMode: "lazy" */
|
213
|
-
'./nano-tab.entry.js').then(processMod, consoleError);
|
214
|
-
case 'nano-tab-content':
|
215
|
-
return import(
|
216
|
-
/* webpackMode: "lazy" */
|
217
|
-
'./nano-tab-content.entry.js').then(processMod, consoleError);
|
218
|
-
case 'nano-tab-group':
|
219
|
-
return import(
|
220
|
-
/* webpackMode: "lazy" */
|
221
|
-
'./nano-tab-group.entry.js').then(processMod, consoleError);
|
222
|
-
case 'nano-algolia':
|
223
|
-
return import(
|
224
|
-
/* webpackMode: "lazy" */
|
225
|
-
'./nano-algolia.entry.js').then(processMod, consoleError);
|
226
|
-
case 'nano-date-picker':
|
227
|
-
return import(
|
228
|
-
/* webpackMode: "lazy" */
|
229
|
-
'./nano-date-picker.entry.js').then(processMod, consoleError);
|
230
|
-
case 'nano-global-nav-user-profile_3':
|
231
|
-
return import(
|
232
|
-
/* webpackMode: "lazy" */
|
233
|
-
'./nano-global-nav-user-profile_3.entry.js').then(processMod, consoleError);
|
234
|
-
case 'nano-grid_2':
|
235
|
-
return import(
|
236
|
-
/* webpackMode: "lazy" */
|
237
|
-
'./nano-grid_2.entry.js').then(processMod, consoleError);
|
238
|
-
case 'nano-progress-bar':
|
239
|
-
return import(
|
240
|
-
/* webpackMode: "lazy" */
|
241
|
-
'./nano-progress-bar.entry.js').then(processMod, consoleError);
|
242
|
-
case 'nano-datalist_3':
|
243
|
-
return import(
|
244
|
-
/* webpackMode: "lazy" */
|
245
|
-
'./nano-datalist_3.entry.js').then(processMod, consoleError);
|
246
|
-
case 'nano-input':
|
247
|
-
return import(
|
248
|
-
/* webpackMode: "lazy" */
|
249
|
-
'./nano-input.entry.js').then(processMod, consoleError);
|
250
|
-
case 'nano-sticker':
|
251
|
-
return import(
|
252
|
-
/* webpackMode: "lazy" */
|
253
|
-
'./nano-sticker.entry.js').then(processMod, consoleError);
|
254
|
-
case 'nano-resize-observe_2':
|
255
|
-
return import(
|
256
|
-
/* webpackMode: "lazy" */
|
257
|
-
'./nano-resize-observe_2.entry.js').then(processMod, consoleError);
|
258
|
-
case 'nano-spinner':
|
259
|
-
return import(
|
260
|
-
/* webpackMode: "lazy" */
|
261
|
-
'./nano-spinner.entry.js').then(processMod, consoleError);
|
262
|
-
case 'nano-dropdown':
|
263
|
-
return import(
|
264
|
-
/* webpackMode: "lazy" */
|
265
|
-
'./nano-dropdown.entry.js').then(processMod, consoleError);
|
266
|
-
case 'nano-icon-button_2':
|
267
|
-
return import(
|
268
|
-
/* webpackMode: "lazy" */
|
269
|
-
'./nano-icon-button_2.entry.js').then(processMod, consoleError);
|
270
|
-
case 'nano-icon':
|
271
|
-
return import(
|
272
|
-
/* webpackMode: "lazy" */
|
273
|
-
'./nano-icon.entry.js').then(processMod, consoleError);
|
274
|
-
case 'nano-slides':
|
275
|
-
return import(
|
276
|
-
/* webpackMode: "lazy" */
|
277
|
-
'./nano-slides.entry.js').then(processMod, consoleError);
|
278
|
-
case 'nano-table':
|
279
|
-
return import(
|
280
|
-
/* webpackMode: "lazy" */
|
281
|
-
'./nano-table.entry.js').then(processMod, consoleError);
|
282
|
-
}
|
283
|
-
}
|
284
|
-
return import(
|
285
|
-
/* @vite-ignore */
|
286
|
-
/* webpackInclude: /\.entry\.js$/ */
|
287
|
-
/* webpackExclude: /\.system\.entry\.js$/ */
|
288
|
-
/* webpackMode: "lazy" */
|
289
|
-
`./${bundleId}.entry.js${""}`
|
290
|
-
).then(
|
291
|
-
(importedModule) => {
|
292
|
-
{
|
293
|
-
cmpModules.set(bundleId, importedModule);
|
294
|
-
}
|
295
|
-
return importedModule[exportName];
|
296
|
-
},
|
297
|
-
(e) => {
|
298
|
-
consoleError(e, hostRef.$hostElement$);
|
299
|
-
}
|
300
|
-
);
|
301
|
-
};
|
302
|
-
|
303
|
-
// src/client/client-style.ts
|
304
|
-
var styles = /* @__PURE__ */ new Map();
|
305
|
-
|
306
|
-
// src/runtime/runtime-constants.ts
|
307
|
-
var CONTENT_REF_ID = "r";
|
308
|
-
var ORG_LOCATION_ID = "o";
|
309
|
-
var SLOT_NODE_ID = "s";
|
310
|
-
var TEXT_NODE_ID = "t";
|
311
|
-
var COMMENT_NODE_ID = "c";
|
312
|
-
var HYDRATE_ID = "s-id";
|
313
|
-
var HYDRATED_STYLE_ID = "sty-id";
|
314
|
-
var HYDRATE_CHILD_ID = "c-id";
|
315
|
-
var HYDRATED_CSS = "{visibility:hidden}.hydrated{visibility:inherit}";
|
316
|
-
var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
|
317
|
-
var XLINK_NS = "http://www.w3.org/1999/xlink";
|
318
|
-
var win = typeof window !== "undefined" ? window : {};
|
319
|
-
var H = win.HTMLElement || class {
|
320
|
-
};
|
321
|
-
var plt = {
|
322
|
-
$flags$: 0,
|
323
|
-
$resourcesUrl$: "",
|
324
|
-
jmp: (h2) => h2(),
|
325
|
-
raf: (h2) => requestAnimationFrame(h2),
|
326
|
-
ael: (el, eventName, listener, opts) => el.addEventListener(eventName, listener, opts),
|
327
|
-
rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
|
328
|
-
ce: (eventName, opts) => new CustomEvent(eventName, opts)
|
329
|
-
};
|
330
|
-
var supportsShadow = BUILD.shadowDom;
|
331
|
-
var supportsListenerOptions = /* @__PURE__ */ (() => {
|
332
|
-
var _a;
|
333
|
-
let supportsListenerOptions2 = false;
|
334
|
-
try {
|
335
|
-
(_a = win.document) == null ? void 0 : _a.addEventListener(
|
336
|
-
"e",
|
337
|
-
null,
|
338
|
-
Object.defineProperty({}, "passive", {
|
339
|
-
get() {
|
340
|
-
supportsListenerOptions2 = true;
|
341
|
-
}
|
342
|
-
})
|
343
|
-
);
|
344
|
-
} catch (e) {
|
345
|
-
}
|
346
|
-
return supportsListenerOptions2;
|
347
|
-
})();
|
348
|
-
var promiseResolve = (v) => Promise.resolve(v);
|
349
|
-
var supportsConstructableStylesheets = /* @__PURE__ */ (() => {
|
350
|
-
try {
|
351
|
-
new CSSStyleSheet();
|
352
|
-
return typeof new CSSStyleSheet().replaceSync === "function";
|
353
|
-
} catch (e) {
|
354
|
-
}
|
355
|
-
return false;
|
356
|
-
})() ;
|
357
|
-
var queuePending = false;
|
358
|
-
var queueDomReads = [];
|
359
|
-
var queueDomWrites = [];
|
360
|
-
var queueTask = (queue, write) => (cb) => {
|
361
|
-
queue.push(cb);
|
362
|
-
if (!queuePending) {
|
363
|
-
queuePending = true;
|
364
|
-
if (write && plt.$flags$ & 4 /* queueSync */) {
|
365
|
-
nextTick(flush);
|
366
|
-
} else {
|
367
|
-
plt.raf(flush);
|
368
|
-
}
|
369
|
-
}
|
370
|
-
};
|
371
|
-
var consume = (queue) => {
|
372
|
-
for (let i2 = 0; i2 < queue.length; i2++) {
|
373
|
-
try {
|
374
|
-
queue[i2](performance.now());
|
375
|
-
} catch (e) {
|
376
|
-
consoleError(e);
|
377
|
-
}
|
378
|
-
}
|
379
|
-
queue.length = 0;
|
380
|
-
};
|
381
|
-
var flush = () => {
|
382
|
-
consume(queueDomReads);
|
383
|
-
{
|
384
|
-
consume(queueDomWrites);
|
385
|
-
if (queuePending = queueDomReads.length > 0) {
|
386
|
-
plt.raf(flush);
|
387
|
-
}
|
388
|
-
}
|
389
|
-
};
|
390
|
-
var nextTick = (cb) => promiseResolve().then(cb);
|
391
|
-
var readTask = /* @__PURE__ */ queueTask(queueDomReads, false);
|
392
|
-
var writeTask = /* @__PURE__ */ queueTask(queueDomWrites, true);
|
393
|
-
|
394
|
-
// src/runtime/asset-path.ts
|
395
|
-
var getAssetPath = (path) => {
|
396
|
-
const assetUrl = new URL(path, plt.$resourcesUrl$);
|
397
|
-
return assetUrl.origin !== win.location.origin ? assetUrl.href : assetUrl.pathname;
|
398
|
-
};
|
399
|
-
|
400
|
-
// src/utils/helpers.ts
|
401
|
-
var isDef = (v) => v != null && v !== void 0;
|
402
|
-
var isComplexType = (o) => {
|
403
|
-
o = typeof o;
|
404
|
-
return o === "object" || o === "function";
|
405
|
-
};
|
406
|
-
|
407
|
-
// src/utils/query-nonce-meta-tag-content.ts
|
408
|
-
function queryNonceMetaTagContent(doc) {
|
409
|
-
var _a, _b, _c;
|
410
|
-
return (_c = (_b = (_a = doc.head) == null ? void 0 : _a.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : _b.getAttribute("content")) != null ? _c : void 0;
|
411
|
-
}
|
412
|
-
|
413
|
-
// src/utils/result.ts
|
414
|
-
var result_exports = {};
|
415
|
-
__export(result_exports, {
|
416
|
-
err: () => err,
|
417
|
-
map: () => map,
|
418
|
-
ok: () => ok,
|
419
|
-
unwrap: () => unwrap,
|
420
|
-
unwrapErr: () => unwrapErr
|
421
|
-
});
|
422
|
-
var ok = (value) => ({
|
423
|
-
isOk: true,
|
424
|
-
isErr: false,
|
425
|
-
value
|
426
|
-
});
|
427
|
-
var err = (value) => ({
|
428
|
-
isOk: false,
|
429
|
-
isErr: true,
|
430
|
-
value
|
431
|
-
});
|
432
|
-
function map(result, fn) {
|
433
|
-
if (result.isOk) {
|
434
|
-
const val = fn(result.value);
|
435
|
-
if (val instanceof Promise) {
|
436
|
-
return val.then((newVal) => ok(newVal));
|
437
|
-
} else {
|
438
|
-
return ok(val);
|
439
|
-
}
|
440
|
-
}
|
441
|
-
if (result.isErr) {
|
442
|
-
const value = result.value;
|
443
|
-
return err(value);
|
444
|
-
}
|
445
|
-
throw "should never get here";
|
446
|
-
}
|
447
|
-
var unwrap = (result) => {
|
448
|
-
if (result.isOk) {
|
449
|
-
return result.value;
|
450
|
-
} else {
|
451
|
-
throw result.value;
|
452
|
-
}
|
453
|
-
};
|
454
|
-
var unwrapErr = (result) => {
|
455
|
-
if (result.isErr) {
|
456
|
-
return result.value;
|
457
|
-
} else {
|
458
|
-
throw result.value;
|
459
|
-
}
|
460
|
-
};
|
461
|
-
var updateFallbackSlotVisibility = (elm) => {
|
462
|
-
const childNodes = internalCall(elm, "childNodes");
|
463
|
-
if (elm.tagName && elm.tagName.includes("-") && elm["s-cr"] && elm.tagName !== "SLOT-FB") {
|
464
|
-
getHostSlotNodes(childNodes, elm.tagName).forEach((slotNode) => {
|
465
|
-
if (slotNode.nodeType === 1 /* ElementNode */ && slotNode.tagName === "SLOT-FB") {
|
466
|
-
if (getSlotChildSiblings(slotNode, getSlotName(slotNode), false).length) {
|
467
|
-
slotNode.hidden = true;
|
468
|
-
} else {
|
469
|
-
slotNode.hidden = false;
|
470
|
-
}
|
471
|
-
}
|
472
|
-
});
|
473
|
-
}
|
474
|
-
let i2 = 0;
|
475
|
-
for (i2 = 0; i2 < childNodes.length; i2++) {
|
476
|
-
const childNode = childNodes[i2];
|
477
|
-
if (childNode.nodeType === 1 /* ElementNode */ && internalCall(childNode, "childNodes").length) {
|
478
|
-
updateFallbackSlotVisibility(childNode);
|
479
|
-
}
|
480
|
-
}
|
481
|
-
};
|
482
|
-
var getSlottedChildNodes = (childNodes) => {
|
483
|
-
const result = [];
|
484
|
-
for (let i2 = 0; i2 < childNodes.length; i2++) {
|
485
|
-
const slottedNode = childNodes[i2]["s-nr"] || void 0;
|
486
|
-
if (slottedNode && slottedNode.isConnected) {
|
487
|
-
result.push(slottedNode);
|
488
|
-
}
|
489
|
-
}
|
490
|
-
return result;
|
491
|
-
};
|
492
|
-
function getHostSlotNodes(childNodes, hostName, slotName) {
|
493
|
-
let i2 = 0;
|
494
|
-
let slottedNodes = [];
|
495
|
-
let childNode;
|
496
|
-
for (; i2 < childNodes.length; i2++) {
|
497
|
-
childNode = childNodes[i2];
|
498
|
-
if (childNode["s-sr"] && (!hostName || childNode["s-hn"] === hostName) && (slotName === void 0 || getSlotName(childNode) === slotName)) {
|
499
|
-
slottedNodes.push(childNode);
|
500
|
-
if (typeof slotName !== "undefined") return slottedNodes;
|
501
|
-
}
|
502
|
-
slottedNodes = [...slottedNodes, ...getHostSlotNodes(childNode.childNodes, hostName, slotName)];
|
503
|
-
}
|
504
|
-
return slottedNodes;
|
505
|
-
}
|
506
|
-
var getSlotChildSiblings = (slot, slotName, includeSlot = true) => {
|
507
|
-
const childNodes = [];
|
508
|
-
if (includeSlot && slot["s-sr"] || !slot["s-sr"]) childNodes.push(slot);
|
509
|
-
let node = slot;
|
510
|
-
while (node = node.nextSibling) {
|
511
|
-
if (getSlotName(node) === slotName && (includeSlot || !node["s-sr"])) childNodes.push(node);
|
512
|
-
}
|
513
|
-
return childNodes;
|
514
|
-
};
|
515
|
-
var isNodeLocatedInSlot = (nodeToRelocate, slotName) => {
|
516
|
-
if (nodeToRelocate.nodeType === 1 /* ElementNode */) {
|
517
|
-
if (nodeToRelocate.getAttribute("slot") === null && slotName === "") {
|
518
|
-
return true;
|
519
|
-
}
|
520
|
-
if (nodeToRelocate.getAttribute("slot") === slotName) {
|
521
|
-
return true;
|
522
|
-
}
|
523
|
-
return false;
|
524
|
-
}
|
525
|
-
if (nodeToRelocate["s-sn"] === slotName) {
|
526
|
-
return true;
|
527
|
-
}
|
528
|
-
return slotName === "";
|
529
|
-
};
|
530
|
-
var addSlotRelocateNode = (newChild, slotNode, prepend, position) => {
|
531
|
-
if (newChild["s-ol"] && newChild["s-ol"].isConnected) {
|
532
|
-
return;
|
533
|
-
}
|
534
|
-
const slottedNodeLocation = document.createTextNode("");
|
535
|
-
slottedNodeLocation["s-nr"] = newChild;
|
536
|
-
if (!slotNode["s-cr"] || !slotNode["s-cr"].parentNode) return;
|
537
|
-
const parent = slotNode["s-cr"].parentNode;
|
538
|
-
const appendMethod = prepend ? internalCall(parent, "prepend") : internalCall(parent, "appendChild");
|
539
|
-
if (typeof position !== "undefined") {
|
540
|
-
slottedNodeLocation["s-oo"] = position;
|
541
|
-
const childNodes = internalCall(parent, "childNodes");
|
542
|
-
const slotRelocateNodes = [slottedNodeLocation];
|
543
|
-
childNodes.forEach((n) => {
|
544
|
-
if (n["s-nr"]) slotRelocateNodes.push(n);
|
545
|
-
});
|
546
|
-
slotRelocateNodes.sort((a, b) => {
|
547
|
-
if (!a["s-oo"] || a["s-oo"] < (b["s-oo"] || 0)) return -1;
|
548
|
-
else if (!b["s-oo"] || b["s-oo"] < a["s-oo"]) return 1;
|
549
|
-
return 0;
|
550
|
-
});
|
551
|
-
slotRelocateNodes.forEach((n) => appendMethod.call(parent, n));
|
552
|
-
} else {
|
553
|
-
appendMethod.call(parent, slottedNodeLocation);
|
554
|
-
}
|
555
|
-
newChild["s-ol"] = slottedNodeLocation;
|
556
|
-
newChild["s-sh"] = slotNode["s-hn"];
|
557
|
-
};
|
558
|
-
var getSlotName = (node) => typeof node["s-sn"] === "string" ? node["s-sn"] : node.nodeType === 1 && node.getAttribute("slot") || void 0;
|
559
|
-
function patchSlotNode(node) {
|
560
|
-
if (node.assignedElements || node.assignedNodes || !node["s-sr"]) return;
|
561
|
-
const assignedFactory = (elementsOnly) => (function(opts) {
|
562
|
-
const toReturn = [];
|
563
|
-
const slotName = this["s-sn"];
|
564
|
-
if (opts == null ? void 0 : opts.flatten) {
|
565
|
-
console.error(`
|
566
|
-
Flattening is not supported for Stencil non-shadow slots.
|
567
|
-
You can use \`.childNodes\` to nested slot fallback content.
|
568
|
-
If you have a particular use case, please open an issue on the Stencil repo.
|
569
|
-
`);
|
570
|
-
}
|
571
|
-
const parent = this["s-cr"].parentElement;
|
572
|
-
const slottedNodes = parent.__childNodes ? parent.childNodes : getSlottedChildNodes(parent.childNodes);
|
573
|
-
slottedNodes.forEach((n) => {
|
574
|
-
if (slotName === getSlotName(n)) {
|
575
|
-
toReturn.push(n);
|
576
|
-
}
|
577
|
-
});
|
578
|
-
if (elementsOnly) {
|
579
|
-
return toReturn.filter((n) => n.nodeType === 1 /* ElementNode */);
|
580
|
-
}
|
581
|
-
return toReturn;
|
582
|
-
}).bind(node);
|
583
|
-
node.assignedElements = assignedFactory(true);
|
584
|
-
node.assignedNodes = assignedFactory(false);
|
585
|
-
}
|
586
|
-
function dispatchSlotChangeEvent(elm) {
|
587
|
-
elm.dispatchEvent(new CustomEvent("slotchange", { bubbles: false, cancelable: false, composed: false }));
|
588
|
-
}
|
589
|
-
function findSlotFromSlottedNode(slottedNode, parentHost) {
|
590
|
-
var _a;
|
591
|
-
parentHost = parentHost || ((_a = slottedNode["s-ol"]) == null ? void 0 : _a.parentElement);
|
592
|
-
if (!parentHost) return { slotNode: null, slotName: "" };
|
593
|
-
const slotName = slottedNode["s-sn"] = getSlotName(slottedNode) || "";
|
594
|
-
const childNodes = internalCall(parentHost, "childNodes");
|
595
|
-
const slotNode = getHostSlotNodes(childNodes, parentHost.tagName, slotName)[0];
|
596
|
-
return { slotNode, slotName };
|
597
|
-
}
|
598
|
-
|
599
|
-
// src/runtime/dom-extras.ts
|
600
|
-
var patchPseudoShadowDom = (hostElementPrototype) => {
|
601
|
-
patchCloneNode(hostElementPrototype);
|
602
|
-
patchSlotAppendChild(hostElementPrototype);
|
603
|
-
patchSlotAppend(hostElementPrototype);
|
604
|
-
patchSlotPrepend(hostElementPrototype);
|
605
|
-
patchSlotInsertAdjacentElement(hostElementPrototype);
|
606
|
-
patchSlotInsertAdjacentHTML(hostElementPrototype);
|
607
|
-
patchSlotInsertAdjacentText(hostElementPrototype);
|
608
|
-
patchInsertBefore(hostElementPrototype);
|
609
|
-
patchTextContent(hostElementPrototype);
|
610
|
-
patchChildSlotNodes(hostElementPrototype);
|
611
|
-
patchSlotRemoveChild(hostElementPrototype);
|
612
|
-
};
|
613
|
-
var patchCloneNode = (HostElementPrototype) => {
|
614
|
-
const orgCloneNode = HostElementPrototype.cloneNode;
|
615
|
-
HostElementPrototype.cloneNode = function(deep) {
|
616
|
-
const srcNode = this;
|
617
|
-
const isShadowDom = srcNode.shadowRoot && supportsShadow ;
|
618
|
-
const clonedNode = orgCloneNode.call(srcNode, isShadowDom ? deep : false);
|
619
|
-
if (!isShadowDom && deep) {
|
620
|
-
let i2 = 0;
|
621
|
-
let slotted, nonStencilNode;
|
622
|
-
const stencilPrivates = [
|
623
|
-
"s-id",
|
624
|
-
"s-cr",
|
625
|
-
"s-lr",
|
626
|
-
"s-rc",
|
627
|
-
"s-sc",
|
628
|
-
"s-p",
|
629
|
-
"s-cn",
|
630
|
-
"s-sr",
|
631
|
-
"s-sn",
|
632
|
-
"s-hn",
|
633
|
-
"s-ol",
|
634
|
-
"s-nr",
|
635
|
-
"s-si",
|
636
|
-
"s-rf",
|
637
|
-
"s-scs"
|
638
|
-
];
|
639
|
-
const childNodes = this.__childNodes || this.childNodes;
|
640
|
-
for (; i2 < childNodes.length; i2++) {
|
641
|
-
slotted = childNodes[i2]["s-nr"];
|
642
|
-
nonStencilNode = stencilPrivates.every((privateField) => !childNodes[i2][privateField]);
|
643
|
-
if (slotted) {
|
644
|
-
if (clonedNode.__appendChild) {
|
645
|
-
clonedNode.__appendChild(slotted.cloneNode(true));
|
646
|
-
} else {
|
647
|
-
clonedNode.appendChild(slotted.cloneNode(true));
|
648
|
-
}
|
649
|
-
}
|
650
|
-
if (nonStencilNode) {
|
651
|
-
clonedNode.appendChild(childNodes[i2].cloneNode(true));
|
652
|
-
}
|
653
|
-
}
|
654
|
-
}
|
655
|
-
return clonedNode;
|
656
|
-
};
|
657
|
-
};
|
658
|
-
var patchSlotAppendChild = (HostElementPrototype) => {
|
659
|
-
HostElementPrototype.__appendChild = HostElementPrototype.appendChild;
|
660
|
-
HostElementPrototype.appendChild = function(newChild) {
|
661
|
-
const { slotName, slotNode } = findSlotFromSlottedNode(newChild, this);
|
662
|
-
if (slotNode) {
|
663
|
-
addSlotRelocateNode(newChild, slotNode);
|
664
|
-
const slotChildNodes = getSlotChildSiblings(slotNode, slotName);
|
665
|
-
const appendAfter = slotChildNodes[slotChildNodes.length - 1];
|
666
|
-
const parent = internalCall(appendAfter, "parentNode");
|
667
|
-
const insertedNode = internalCall(parent, "insertBefore")(newChild, appendAfter.nextSibling);
|
668
|
-
dispatchSlotChangeEvent(slotNode);
|
669
|
-
updateFallbackSlotVisibility(this);
|
670
|
-
return insertedNode;
|
671
|
-
}
|
672
|
-
return this.__appendChild(newChild);
|
673
|
-
};
|
674
|
-
};
|
675
|
-
var patchSlotRemoveChild = (ElementPrototype) => {
|
676
|
-
ElementPrototype.__removeChild = ElementPrototype.removeChild;
|
677
|
-
ElementPrototype.removeChild = function(toRemove) {
|
678
|
-
if (toRemove && typeof toRemove["s-sn"] !== "undefined") {
|
679
|
-
const childNodes = this.__childNodes || this.childNodes;
|
680
|
-
const slotNode = getHostSlotNodes(childNodes, this.tagName, toRemove["s-sn"]);
|
681
|
-
if (slotNode && toRemove.isConnected) {
|
682
|
-
toRemove.remove();
|
683
|
-
updateFallbackSlotVisibility(this);
|
684
|
-
return;
|
685
|
-
}
|
686
|
-
}
|
687
|
-
return this.__removeChild(toRemove);
|
688
|
-
};
|
689
|
-
};
|
690
|
-
var patchSlotPrepend = (HostElementPrototype) => {
|
691
|
-
HostElementPrototype.__prepend = HostElementPrototype.prepend;
|
692
|
-
HostElementPrototype.prepend = function(...newChildren) {
|
693
|
-
newChildren.forEach((newChild) => {
|
694
|
-
if (typeof newChild === "string") {
|
695
|
-
newChild = this.ownerDocument.createTextNode(newChild);
|
696
|
-
}
|
697
|
-
const slotName = (newChild["s-sn"] = getSlotName(newChild)) || "";
|
698
|
-
const childNodes = internalCall(this, "childNodes");
|
699
|
-
const slotNode = getHostSlotNodes(childNodes, this.tagName, slotName)[0];
|
700
|
-
if (slotNode) {
|
701
|
-
addSlotRelocateNode(newChild, slotNode, true);
|
702
|
-
const slotChildNodes = getSlotChildSiblings(slotNode, slotName);
|
703
|
-
const appendAfter = slotChildNodes[0];
|
704
|
-
const parent = internalCall(appendAfter, "parentNode");
|
705
|
-
const toReturn = internalCall(parent, "insertBefore")(newChild, internalCall(appendAfter, "nextSibling"));
|
706
|
-
dispatchSlotChangeEvent(slotNode);
|
707
|
-
return toReturn;
|
708
|
-
}
|
709
|
-
if (newChild.nodeType === 1 && !!newChild.getAttribute("slot")) {
|
710
|
-
newChild.hidden = true;
|
711
|
-
}
|
712
|
-
return HostElementPrototype.__prepend(newChild);
|
713
|
-
});
|
714
|
-
};
|
715
|
-
};
|
716
|
-
var patchSlotAppend = (HostElementPrototype) => {
|
717
|
-
HostElementPrototype.__append = HostElementPrototype.append;
|
718
|
-
HostElementPrototype.append = function(...newChildren) {
|
719
|
-
newChildren.forEach((newChild) => {
|
720
|
-
if (typeof newChild === "string") {
|
721
|
-
newChild = this.ownerDocument.createTextNode(newChild);
|
722
|
-
}
|
723
|
-
this.appendChild(newChild);
|
724
|
-
});
|
725
|
-
};
|
726
|
-
};
|
727
|
-
var patchSlotInsertAdjacentHTML = (HostElementPrototype) => {
|
728
|
-
const originalInsertAdjacentHtml = HostElementPrototype.insertAdjacentHTML;
|
729
|
-
HostElementPrototype.insertAdjacentHTML = function(position, text) {
|
730
|
-
if (position !== "afterbegin" && position !== "beforeend") {
|
731
|
-
return originalInsertAdjacentHtml.call(this, position, text);
|
732
|
-
}
|
733
|
-
const container = this.ownerDocument.createElement("_");
|
734
|
-
let node;
|
735
|
-
container.innerHTML = text;
|
736
|
-
if (position === "afterbegin") {
|
737
|
-
while (node = container.firstChild) {
|
738
|
-
this.prepend(node);
|
739
|
-
}
|
740
|
-
} else if (position === "beforeend") {
|
741
|
-
while (node = container.firstChild) {
|
742
|
-
this.append(node);
|
743
|
-
}
|
744
|
-
}
|
745
|
-
};
|
746
|
-
};
|
747
|
-
var patchSlotInsertAdjacentText = (HostElementPrototype) => {
|
748
|
-
HostElementPrototype.insertAdjacentText = function(position, text) {
|
749
|
-
this.insertAdjacentHTML(position, text);
|
750
|
-
};
|
751
|
-
};
|
752
|
-
var patchInsertBefore = (HostElementPrototype) => {
|
753
|
-
const eleProto = HostElementPrototype;
|
754
|
-
if (eleProto.__insertBefore) return;
|
755
|
-
eleProto.__insertBefore = HostElementPrototype.insertBefore;
|
756
|
-
HostElementPrototype.insertBefore = function(newChild, currentChild) {
|
757
|
-
const { slotName, slotNode } = findSlotFromSlottedNode(newChild, this);
|
758
|
-
const slottedNodes = this.__childNodes ? this.childNodes : getSlottedChildNodes(this.childNodes);
|
759
|
-
if (slotNode) {
|
760
|
-
let found = false;
|
761
|
-
slottedNodes.forEach((childNode) => {
|
762
|
-
if (childNode === currentChild || currentChild === null) {
|
763
|
-
found = true;
|
764
|
-
if (currentChild === null || slotName !== currentChild["s-sn"]) {
|
765
|
-
this.appendChild(newChild);
|
766
|
-
return;
|
767
|
-
}
|
768
|
-
if (slotName === currentChild["s-sn"]) {
|
769
|
-
addSlotRelocateNode(newChild, slotNode);
|
770
|
-
const parent = internalCall(currentChild, "parentNode");
|
771
|
-
internalCall(parent, "insertBefore")(newChild, currentChild);
|
772
|
-
dispatchSlotChangeEvent(slotNode);
|
773
|
-
}
|
774
|
-
return;
|
775
|
-
}
|
776
|
-
});
|
777
|
-
if (found) return newChild;
|
778
|
-
}
|
779
|
-
const parentNode = currentChild == null ? void 0 : currentChild.__parentNode;
|
780
|
-
if (parentNode && !this.isSameNode(parentNode)) {
|
781
|
-
return this.appendChild(newChild);
|
782
|
-
}
|
783
|
-
return this.__insertBefore(newChild, currentChild);
|
784
|
-
};
|
785
|
-
};
|
786
|
-
var patchSlotInsertAdjacentElement = (HostElementPrototype) => {
|
787
|
-
const originalInsertAdjacentElement = HostElementPrototype.insertAdjacentElement;
|
788
|
-
HostElementPrototype.insertAdjacentElement = function(position, element) {
|
789
|
-
if (position !== "afterbegin" && position !== "beforeend") {
|
790
|
-
return originalInsertAdjacentElement.call(this, position, element);
|
791
|
-
}
|
792
|
-
if (position === "afterbegin") {
|
793
|
-
this.prepend(element);
|
794
|
-
return element;
|
795
|
-
} else if (position === "beforeend") {
|
796
|
-
this.append(element);
|
797
|
-
return element;
|
798
|
-
}
|
799
|
-
return element;
|
800
|
-
};
|
801
|
-
};
|
802
|
-
var patchTextContent = (hostElementPrototype) => {
|
803
|
-
patchHostOriginalAccessor("textContent", hostElementPrototype);
|
804
|
-
Object.defineProperty(hostElementPrototype, "textContent", {
|
805
|
-
get: function() {
|
806
|
-
let text = "";
|
807
|
-
const childNodes = this.__childNodes ? this.childNodes : getSlottedChildNodes(this.childNodes);
|
808
|
-
childNodes.forEach((node) => text += node.textContent || "");
|
809
|
-
return text;
|
810
|
-
},
|
811
|
-
set: function(value) {
|
812
|
-
const childNodes = this.__childNodes ? this.childNodes : getSlottedChildNodes(this.childNodes);
|
813
|
-
childNodes.forEach((node) => {
|
814
|
-
if (node["s-ol"]) node["s-ol"].remove();
|
815
|
-
node.remove();
|
816
|
-
});
|
817
|
-
this.insertAdjacentHTML("beforeend", value);
|
818
|
-
}
|
819
|
-
});
|
820
|
-
};
|
821
|
-
var patchChildSlotNodes = (elm) => {
|
822
|
-
class FakeNodeList extends Array {
|
823
|
-
item(n) {
|
824
|
-
return this[n];
|
825
|
-
}
|
826
|
-
}
|
827
|
-
patchHostOriginalAccessor("children", elm);
|
828
|
-
Object.defineProperty(elm, "children", {
|
829
|
-
get() {
|
830
|
-
return this.childNodes.filter((n) => n.nodeType === 1);
|
831
|
-
}
|
832
|
-
});
|
833
|
-
Object.defineProperty(elm, "childElementCount", {
|
834
|
-
get() {
|
835
|
-
return this.children.length;
|
836
|
-
}
|
837
|
-
});
|
838
|
-
patchHostOriginalAccessor("firstChild", elm);
|
839
|
-
Object.defineProperty(elm, "firstChild", {
|
840
|
-
get() {
|
841
|
-
return this.childNodes[0];
|
842
|
-
}
|
843
|
-
});
|
844
|
-
patchHostOriginalAccessor("lastChild", elm);
|
845
|
-
Object.defineProperty(elm, "lastChild", {
|
846
|
-
get() {
|
847
|
-
return this.childNodes[this.childNodes.length - 1];
|
848
|
-
}
|
849
|
-
});
|
850
|
-
patchHostOriginalAccessor("childNodes", elm);
|
851
|
-
Object.defineProperty(elm, "childNodes", {
|
852
|
-
get() {
|
853
|
-
const result = new FakeNodeList();
|
854
|
-
result.push(...getSlottedChildNodes(this.__childNodes));
|
855
|
-
return result;
|
856
|
-
}
|
857
|
-
});
|
858
|
-
};
|
859
|
-
var patchSlottedNode = (node) => {
|
860
|
-
if (!node || node.__nextSibling !== void 0 || !globalThis.Node) return;
|
861
|
-
patchNextSibling(node);
|
862
|
-
patchPreviousSibling(node);
|
863
|
-
patchParentNode(node);
|
864
|
-
if (node.nodeType === Node.ELEMENT_NODE) {
|
865
|
-
patchNextElementSibling(node);
|
866
|
-
patchPreviousElementSibling(node);
|
867
|
-
}
|
868
|
-
};
|
869
|
-
var patchNextSibling = (node) => {
|
870
|
-
if (!node || node.__nextSibling) return;
|
871
|
-
patchHostOriginalAccessor("nextSibling", node);
|
872
|
-
Object.defineProperty(node, "nextSibling", {
|
873
|
-
get: function() {
|
874
|
-
var _a;
|
875
|
-
const parentNodes = (_a = this["s-ol"]) == null ? void 0 : _a.parentNode.childNodes;
|
876
|
-
const index = parentNodes == null ? void 0 : parentNodes.indexOf(this);
|
877
|
-
if (parentNodes && index > -1) {
|
878
|
-
return parentNodes[index + 1];
|
879
|
-
}
|
880
|
-
return this.__nextSibling;
|
881
|
-
}
|
882
|
-
});
|
883
|
-
};
|
884
|
-
var patchNextElementSibling = (element) => {
|
885
|
-
if (!element || element.__nextElementSibling) return;
|
886
|
-
patchHostOriginalAccessor("nextElementSibling", element);
|
887
|
-
Object.defineProperty(element, "nextElementSibling", {
|
888
|
-
get: function() {
|
889
|
-
var _a;
|
890
|
-
const parentEles = (_a = this["s-ol"]) == null ? void 0 : _a.parentNode.children;
|
891
|
-
const index = parentEles == null ? void 0 : parentEles.indexOf(this);
|
892
|
-
if (parentEles && index > -1) {
|
893
|
-
return parentEles[index + 1];
|
894
|
-
}
|
895
|
-
return this.__nextElementSibling;
|
896
|
-
}
|
897
|
-
});
|
898
|
-
};
|
899
|
-
var patchPreviousSibling = (node) => {
|
900
|
-
if (!node || node.__previousSibling) return;
|
901
|
-
patchHostOriginalAccessor("previousSibling", node);
|
902
|
-
Object.defineProperty(node, "previousSibling", {
|
903
|
-
get: function() {
|
904
|
-
var _a;
|
905
|
-
const parentNodes = (_a = this["s-ol"]) == null ? void 0 : _a.parentNode.childNodes;
|
906
|
-
const index = parentNodes == null ? void 0 : parentNodes.indexOf(this);
|
907
|
-
if (parentNodes && index > -1) {
|
908
|
-
return parentNodes[index - 1];
|
909
|
-
}
|
910
|
-
return this.__previousSibling;
|
911
|
-
}
|
912
|
-
});
|
913
|
-
};
|
914
|
-
var patchPreviousElementSibling = (element) => {
|
915
|
-
if (!element || element.__previousElementSibling) return;
|
916
|
-
patchHostOriginalAccessor("previousElementSibling", element);
|
917
|
-
Object.defineProperty(element, "previousElementSibling", {
|
918
|
-
get: function() {
|
919
|
-
var _a;
|
920
|
-
const parentNodes = (_a = this["s-ol"]) == null ? void 0 : _a.parentNode.children;
|
921
|
-
const index = parentNodes == null ? void 0 : parentNodes.indexOf(this);
|
922
|
-
if (parentNodes && index > -1) {
|
923
|
-
return parentNodes[index - 1];
|
924
|
-
}
|
925
|
-
return this.__previousElementSibling;
|
926
|
-
}
|
927
|
-
});
|
928
|
-
};
|
929
|
-
var patchParentNode = (node) => {
|
930
|
-
if (!node || node.__parentNode) return;
|
931
|
-
patchHostOriginalAccessor("parentNode", node);
|
932
|
-
Object.defineProperty(node, "parentNode", {
|
933
|
-
get: function() {
|
934
|
-
var _a;
|
935
|
-
return ((_a = this["s-ol"]) == null ? void 0 : _a.parentNode) || this.__parentNode;
|
936
|
-
},
|
937
|
-
set: function(value) {
|
938
|
-
this.__parentNode = value;
|
939
|
-
}
|
940
|
-
});
|
941
|
-
};
|
942
|
-
var validElementPatches = ["children", "nextElementSibling", "previousElementSibling"];
|
943
|
-
var validNodesPatches = [
|
944
|
-
"childNodes",
|
945
|
-
"firstChild",
|
946
|
-
"lastChild",
|
947
|
-
"nextSibling",
|
948
|
-
"previousSibling",
|
949
|
-
"textContent",
|
950
|
-
"parentNode"
|
951
|
-
];
|
952
|
-
function patchHostOriginalAccessor(accessorName, node) {
|
953
|
-
let accessor;
|
954
|
-
if (validElementPatches.includes(accessorName)) {
|
955
|
-
accessor = Object.getOwnPropertyDescriptor(Element.prototype, accessorName);
|
956
|
-
} else if (validNodesPatches.includes(accessorName)) {
|
957
|
-
accessor = Object.getOwnPropertyDescriptor(Node.prototype, accessorName);
|
958
|
-
}
|
959
|
-
if (!accessor) {
|
960
|
-
accessor = Object.getOwnPropertyDescriptor(node, accessorName);
|
961
|
-
}
|
962
|
-
if (accessor) Object.defineProperty(node, "__" + accessorName, accessor);
|
963
|
-
}
|
964
|
-
function internalCall(node, method) {
|
965
|
-
if ("__" + method in node) {
|
966
|
-
const toReturn = node["__" + method];
|
967
|
-
if (typeof toReturn !== "function") return toReturn;
|
968
|
-
return toReturn.bind(node);
|
969
|
-
} else {
|
970
|
-
if (typeof node[method] !== "function") return node[method];
|
971
|
-
return node[method].bind(node);
|
972
|
-
}
|
973
|
-
}
|
974
|
-
var createTime = (fnName, tagName = "") => {
|
975
|
-
{
|
976
|
-
return () => {
|
977
|
-
return;
|
978
|
-
};
|
979
|
-
}
|
980
|
-
};
|
981
|
-
var uniqueTime = (key, measureText) => {
|
982
|
-
{
|
983
|
-
return () => {
|
984
|
-
return;
|
985
|
-
};
|
986
|
-
}
|
987
|
-
};
|
988
|
-
var h = (nodeName, vnodeData, ...children) => {
|
989
|
-
let child = null;
|
990
|
-
let key = null;
|
991
|
-
let slotName = null;
|
992
|
-
let simple = false;
|
993
|
-
let lastSimple = false;
|
994
|
-
const vNodeChildren = [];
|
995
|
-
const walk = (c) => {
|
996
|
-
for (let i2 = 0; i2 < c.length; i2++) {
|
997
|
-
child = c[i2];
|
998
|
-
if (Array.isArray(child)) {
|
999
|
-
walk(child);
|
1000
|
-
} else if (child != null && typeof child !== "boolean") {
|
1001
|
-
if (simple = typeof nodeName !== "function" && !isComplexType(child)) {
|
1002
|
-
child = String(child);
|
1003
|
-
}
|
1004
|
-
if (simple && lastSimple) {
|
1005
|
-
vNodeChildren[vNodeChildren.length - 1].$text$ += child;
|
1006
|
-
} else {
|
1007
|
-
vNodeChildren.push(simple ? newVNode(null, child) : child);
|
1008
|
-
}
|
1009
|
-
lastSimple = simple;
|
1010
|
-
}
|
1011
|
-
}
|
1012
|
-
};
|
1013
|
-
walk(children);
|
1014
|
-
if (vnodeData) {
|
1015
|
-
if (vnodeData.key) {
|
1016
|
-
key = vnodeData.key;
|
1017
|
-
}
|
1018
|
-
if (vnodeData.name) {
|
1019
|
-
slotName = vnodeData.name;
|
1020
|
-
}
|
1021
|
-
{
|
1022
|
-
const classData = vnodeData.className || vnodeData.class;
|
1023
|
-
if (classData) {
|
1024
|
-
vnodeData.class = typeof classData !== "object" ? classData : Object.keys(classData).filter((k) => classData[k]).join(" ");
|
1025
|
-
}
|
1026
|
-
}
|
1027
|
-
}
|
1028
|
-
if (typeof nodeName === "function") {
|
1029
|
-
return nodeName(
|
1030
|
-
vnodeData === null ? {} : vnodeData,
|
1031
|
-
vNodeChildren,
|
1032
|
-
vdomFnUtils
|
1033
|
-
);
|
1034
|
-
}
|
1035
|
-
const vnode = newVNode(nodeName, null);
|
1036
|
-
vnode.$attrs$ = vnodeData;
|
1037
|
-
if (vNodeChildren.length > 0) {
|
1038
|
-
vnode.$children$ = vNodeChildren;
|
1039
|
-
}
|
1040
|
-
{
|
1041
|
-
vnode.$key$ = key;
|
1042
|
-
}
|
1043
|
-
{
|
1044
|
-
vnode.$name$ = slotName;
|
1045
|
-
}
|
1046
|
-
return vnode;
|
1047
|
-
};
|
1048
|
-
var newVNode = (tag, text) => {
|
1049
|
-
const vnode = {
|
1050
|
-
$flags$: 0,
|
1051
|
-
$tag$: tag,
|
1052
|
-
$text$: text,
|
1053
|
-
$elm$: null,
|
1054
|
-
$children$: null
|
1055
|
-
};
|
1056
|
-
{
|
1057
|
-
vnode.$attrs$ = null;
|
1058
|
-
}
|
1059
|
-
{
|
1060
|
-
vnode.$key$ = null;
|
1061
|
-
}
|
1062
|
-
{
|
1063
|
-
vnode.$name$ = null;
|
1064
|
-
}
|
1065
|
-
return vnode;
|
1066
|
-
};
|
1067
|
-
var Host = {};
|
1068
|
-
var isHost = (node) => node && node.$tag$ === Host;
|
1069
|
-
var vdomFnUtils = {
|
1070
|
-
forEach: (children, cb) => children.map(convertToPublic).forEach(cb),
|
1071
|
-
map: (children, cb) => children.map(convertToPublic).map(cb).map(convertToPrivate)
|
1072
|
-
};
|
1073
|
-
var convertToPublic = (node) => ({
|
1074
|
-
vattrs: node.$attrs$,
|
1075
|
-
vchildren: node.$children$,
|
1076
|
-
vkey: node.$key$,
|
1077
|
-
vname: node.$name$,
|
1078
|
-
vtag: node.$tag$,
|
1079
|
-
vtext: node.$text$
|
1080
|
-
});
|
1081
|
-
var convertToPrivate = (node) => {
|
1082
|
-
if (typeof node.vtag === "function") {
|
1083
|
-
const vnodeData = { ...node.vattrs };
|
1084
|
-
if (node.vkey) {
|
1085
|
-
vnodeData.key = node.vkey;
|
1086
|
-
}
|
1087
|
-
if (node.vname) {
|
1088
|
-
vnodeData.name = node.vname;
|
1089
|
-
}
|
1090
|
-
return h(node.vtag, vnodeData, ...node.vchildren || []);
|
1091
|
-
}
|
1092
|
-
const vnode = newVNode(node.vtag, node.vtext);
|
1093
|
-
vnode.$attrs$ = node.vattrs;
|
1094
|
-
vnode.$children$ = node.vchildren;
|
1095
|
-
vnode.$key$ = node.vkey;
|
1096
|
-
vnode.$name$ = node.vname;
|
1097
|
-
return vnode;
|
1098
|
-
};
|
1099
|
-
|
1100
|
-
// src/runtime/client-hydrate.ts
|
1101
|
-
var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
1102
|
-
const endHydrate = createTime("hydrateClient", tagName);
|
1103
|
-
const shadowRoot = hostElm.shadowRoot;
|
1104
|
-
const childRenderNodes = [];
|
1105
|
-
const slotNodes = [];
|
1106
|
-
const slottedNodes = [];
|
1107
|
-
const shadowRootNodes = shadowRoot ? [] : null;
|
1108
|
-
const vnode = newVNode(tagName, null);
|
1109
|
-
vnode.$elm$ = hostElm;
|
1110
|
-
let scopeId2;
|
1111
|
-
{
|
1112
|
-
const cmpMeta = hostRef.$cmpMeta$;
|
1113
|
-
if (cmpMeta && cmpMeta.$flags$ & 10 /* needsScopedEncapsulation */ && hostElm["s-sc"]) {
|
1114
|
-
scopeId2 = hostElm["s-sc"];
|
1115
|
-
hostElm.classList.add(scopeId2 + "-h");
|
1116
|
-
} else if (hostElm["s-sc"]) {
|
1117
|
-
delete hostElm["s-sc"];
|
1118
|
-
}
|
1119
|
-
}
|
1120
|
-
if (win.document && (!plt.$orgLocNodes$ || !plt.$orgLocNodes$.size)) {
|
1121
|
-
initializeDocumentHydrate(win.document.body, plt.$orgLocNodes$ = /* @__PURE__ */ new Map());
|
1122
|
-
}
|
1123
|
-
hostElm[HYDRATE_ID] = hostId;
|
1124
|
-
hostElm.removeAttribute(HYDRATE_ID);
|
1125
|
-
hostRef.$vnode$ = clientHydrate(
|
1126
|
-
vnode,
|
1127
|
-
childRenderNodes,
|
1128
|
-
slotNodes,
|
1129
|
-
shadowRootNodes,
|
1130
|
-
hostElm,
|
1131
|
-
hostElm,
|
1132
|
-
hostId,
|
1133
|
-
slottedNodes
|
1134
|
-
);
|
1135
|
-
let crIndex = 0;
|
1136
|
-
const crLength = childRenderNodes.length;
|
1137
|
-
let childRenderNode;
|
1138
|
-
for (crIndex; crIndex < crLength; crIndex++) {
|
1139
|
-
childRenderNode = childRenderNodes[crIndex];
|
1140
|
-
const orgLocationId = childRenderNode.$hostId$ + "." + childRenderNode.$nodeId$;
|
1141
|
-
const orgLocationNode = plt.$orgLocNodes$.get(orgLocationId);
|
1142
|
-
const node = childRenderNode.$elm$;
|
1143
|
-
if (!shadowRoot) {
|
1144
|
-
node["s-hn"] = tagName.toUpperCase();
|
1145
|
-
if (childRenderNode.$tag$ === "slot") {
|
1146
|
-
node["s-cr"] = hostElm["s-cr"];
|
1147
|
-
}
|
1148
|
-
}
|
1149
|
-
if (childRenderNode.$tag$ === "slot") {
|
1150
|
-
childRenderNode.$name$ = childRenderNode.$elm$["s-sn"] || childRenderNode.$elm$["name"] || null;
|
1151
|
-
if (childRenderNode.$children$) {
|
1152
|
-
childRenderNode.$flags$ |= 2 /* isSlotFallback */;
|
1153
|
-
if (!childRenderNode.$elm$.childNodes.length) {
|
1154
|
-
childRenderNode.$children$.forEach((c) => {
|
1155
|
-
childRenderNode.$elm$.appendChild(c.$elm$);
|
1156
|
-
});
|
1157
|
-
}
|
1158
|
-
} else {
|
1159
|
-
childRenderNode.$flags$ |= 1 /* isSlotReference */;
|
1160
|
-
}
|
1161
|
-
}
|
1162
|
-
if (orgLocationNode && orgLocationNode.isConnected) {
|
1163
|
-
if (shadowRoot && orgLocationNode["s-en"] === "") {
|
1164
|
-
orgLocationNode.parentNode.insertBefore(node, orgLocationNode.nextSibling);
|
1165
|
-
}
|
1166
|
-
orgLocationNode.parentNode.removeChild(orgLocationNode);
|
1167
|
-
if (!shadowRoot) {
|
1168
|
-
node["s-oo"] = parseInt(childRenderNode.$nodeId$);
|
1169
|
-
}
|
1170
|
-
}
|
1171
|
-
plt.$orgLocNodes$.delete(orgLocationId);
|
1172
|
-
}
|
1173
|
-
const hosts = [];
|
1174
|
-
const snLen = slottedNodes.length;
|
1175
|
-
let snIndex = 0;
|
1176
|
-
let slotGroup;
|
1177
|
-
let snGroupIdx;
|
1178
|
-
let snGroupLen;
|
1179
|
-
let slottedItem;
|
1180
|
-
for (snIndex; snIndex < snLen; snIndex++) {
|
1181
|
-
slotGroup = slottedNodes[snIndex];
|
1182
|
-
if (!slotGroup || !slotGroup.length) continue;
|
1183
|
-
snGroupLen = slotGroup.length;
|
1184
|
-
snGroupIdx = 0;
|
1185
|
-
for (snGroupIdx; snGroupIdx < snGroupLen; snGroupIdx++) {
|
1186
|
-
slottedItem = slotGroup[snGroupIdx];
|
1187
|
-
if (!hosts[slottedItem.hostId]) {
|
1188
|
-
hosts[slottedItem.hostId] = plt.$orgLocNodes$.get(slottedItem.hostId);
|
1189
|
-
}
|
1190
|
-
if (!hosts[slottedItem.hostId]) continue;
|
1191
|
-
const hostEle = hosts[slottedItem.hostId];
|
1192
|
-
if (!hostEle.shadowRoot || !shadowRoot) {
|
1193
|
-
slottedItem.slot["s-cr"] = hostEle["s-cr"];
|
1194
|
-
if (!slottedItem.slot["s-cr"] && hostEle.shadowRoot) {
|
1195
|
-
slottedItem.slot["s-cr"] = hostEle;
|
1196
|
-
} else {
|
1197
|
-
slottedItem.slot["s-cr"] = (hostEle.__childNodes || hostEle.childNodes)[0];
|
1198
|
-
}
|
1199
|
-
addSlotRelocateNode(slottedItem.node, slottedItem.slot, false, slottedItem.node["s-oo"]);
|
1200
|
-
{
|
1201
|
-
patchSlottedNode(slottedItem.node);
|
1202
|
-
}
|
1203
|
-
}
|
1204
|
-
if (hostEle.shadowRoot && slottedItem.node.parentElement !== hostEle) {
|
1205
|
-
hostEle.appendChild(slottedItem.node);
|
1206
|
-
}
|
1207
|
-
}
|
1208
|
-
}
|
1209
|
-
if (scopeId2 && slotNodes.length) {
|
1210
|
-
slotNodes.forEach((slot) => {
|
1211
|
-
slot.$elm$.parentElement.classList.add(scopeId2 + "-s");
|
1212
|
-
});
|
1213
|
-
}
|
1214
|
-
if (shadowRoot && !shadowRoot.childNodes.length) {
|
1215
|
-
let rnIdex = 0;
|
1216
|
-
const rnLen = shadowRootNodes.length;
|
1217
|
-
if (rnLen) {
|
1218
|
-
for (rnIdex; rnIdex < rnLen; rnIdex++) {
|
1219
|
-
shadowRoot.appendChild(shadowRootNodes[rnIdex]);
|
1220
|
-
}
|
1221
|
-
Array.from(hostElm.childNodes).forEach((node) => {
|
1222
|
-
if (typeof node["s-sn"] !== "string") {
|
1223
|
-
if (node.nodeType === 1 /* ElementNode */ && node.slot && node.hidden) {
|
1224
|
-
node.removeAttribute("hidden");
|
1225
|
-
} else if (node.nodeType === 8 /* CommentNode */ || node.nodeType === 3 /* TextNode */ && !node.wholeText.trim()) {
|
1226
|
-
node.parentNode.removeChild(node);
|
1227
|
-
}
|
1228
|
-
}
|
1229
|
-
});
|
1230
|
-
}
|
1231
|
-
}
|
1232
|
-
plt.$orgLocNodes$.delete(hostElm["s-id"]);
|
1233
|
-
hostRef.$hostElement$ = hostElm;
|
1234
|
-
endHydrate();
|
1235
|
-
};
|
1236
|
-
var clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, node, hostId, slottedNodes = []) => {
|
1237
|
-
let childNodeType;
|
1238
|
-
let childIdSplt;
|
1239
|
-
let childVNode;
|
1240
|
-
let i2;
|
1241
|
-
const scopeId2 = hostElm["s-sc"];
|
1242
|
-
if (node.nodeType === 1 /* ElementNode */) {
|
1243
|
-
childNodeType = node.getAttribute(HYDRATE_CHILD_ID);
|
1244
|
-
if (childNodeType) {
|
1245
|
-
childIdSplt = childNodeType.split(".");
|
1246
|
-
if (childIdSplt[0] === hostId || childIdSplt[0] === "0") {
|
1247
|
-
childVNode = createSimpleVNode({
|
1248
|
-
$flags$: 0,
|
1249
|
-
$hostId$: childIdSplt[0],
|
1250
|
-
$nodeId$: childIdSplt[1],
|
1251
|
-
$depth$: childIdSplt[2],
|
1252
|
-
$index$: childIdSplt[3],
|
1253
|
-
$tag$: node.tagName.toLowerCase(),
|
1254
|
-
$elm$: node,
|
1255
|
-
// If we don't add the initial classes to the VNode, the first `vdom-render.ts` patch
|
1256
|
-
// won't try to reconcile them. Classes set on the node will be blown away.
|
1257
|
-
$attrs$: { class: node.className || "" }
|
1258
|
-
});
|
1259
|
-
childRenderNodes.push(childVNode);
|
1260
|
-
node.removeAttribute(HYDRATE_CHILD_ID);
|
1261
|
-
if (!parentVNode.$children$) {
|
1262
|
-
parentVNode.$children$ = [];
|
1263
|
-
}
|
1264
|
-
if (scopeId2) {
|
1265
|
-
node["s-si"] = scopeId2;
|
1266
|
-
childVNode.$attrs$.class += " " + scopeId2;
|
1267
|
-
}
|
1268
|
-
const slotName = childVNode.$elm$.getAttribute("s-sn");
|
1269
|
-
if (typeof slotName === "string") {
|
1270
|
-
if (childVNode.$tag$ === "slot-fb") {
|
1271
|
-
addSlot(
|
1272
|
-
slotName,
|
1273
|
-
childIdSplt[2],
|
1274
|
-
childVNode,
|
1275
|
-
node,
|
1276
|
-
parentVNode,
|
1277
|
-
childRenderNodes,
|
1278
|
-
slotNodes,
|
1279
|
-
shadowRootNodes,
|
1280
|
-
slottedNodes
|
1281
|
-
);
|
1282
|
-
if (scopeId2) {
|
1283
|
-
node.classList.add(scopeId2);
|
1284
|
-
}
|
1285
|
-
}
|
1286
|
-
childVNode.$elm$["s-sn"] = slotName;
|
1287
|
-
childVNode.$elm$.removeAttribute("s-sn");
|
1288
|
-
}
|
1289
|
-
if (childVNode.$index$ !== void 0) {
|
1290
|
-
parentVNode.$children$[childVNode.$index$] = childVNode;
|
1291
|
-
}
|
1292
|
-
parentVNode = childVNode;
|
1293
|
-
if (shadowRootNodes && childVNode.$depth$ === "0") {
|
1294
|
-
shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
|
1295
|
-
}
|
1296
|
-
}
|
1297
|
-
}
|
1298
|
-
if (node.shadowRoot) {
|
1299
|
-
for (i2 = node.shadowRoot.childNodes.length - 1; i2 >= 0; i2--) {
|
1300
|
-
clientHydrate(
|
1301
|
-
parentVNode,
|
1302
|
-
childRenderNodes,
|
1303
|
-
slotNodes,
|
1304
|
-
shadowRootNodes,
|
1305
|
-
hostElm,
|
1306
|
-
node.shadowRoot.childNodes[i2],
|
1307
|
-
hostId,
|
1308
|
-
slottedNodes
|
1309
|
-
);
|
1310
|
-
}
|
1311
|
-
}
|
1312
|
-
const nonShadowNodes = node.__childNodes || node.childNodes;
|
1313
|
-
for (i2 = nonShadowNodes.length - 1; i2 >= 0; i2--) {
|
1314
|
-
clientHydrate(
|
1315
|
-
parentVNode,
|
1316
|
-
childRenderNodes,
|
1317
|
-
slotNodes,
|
1318
|
-
shadowRootNodes,
|
1319
|
-
hostElm,
|
1320
|
-
nonShadowNodes[i2],
|
1321
|
-
hostId,
|
1322
|
-
slottedNodes
|
1323
|
-
);
|
1324
|
-
}
|
1325
|
-
} else if (node.nodeType === 8 /* CommentNode */) {
|
1326
|
-
childIdSplt = node.nodeValue.split(".");
|
1327
|
-
if (childIdSplt[1] === hostId || childIdSplt[1] === "0") {
|
1328
|
-
childNodeType = childIdSplt[0];
|
1329
|
-
childVNode = createSimpleVNode({
|
1330
|
-
$hostId$: childIdSplt[1],
|
1331
|
-
$nodeId$: childIdSplt[2],
|
1332
|
-
$depth$: childIdSplt[3],
|
1333
|
-
$index$: childIdSplt[4] || "0",
|
1334
|
-
$elm$: node,
|
1335
|
-
$attrs$: null,
|
1336
|
-
$children$: null,
|
1337
|
-
$key$: null,
|
1338
|
-
$name$: null,
|
1339
|
-
$tag$: null,
|
1340
|
-
$text$: null
|
1341
|
-
});
|
1342
|
-
if (childNodeType === TEXT_NODE_ID) {
|
1343
|
-
childVNode.$elm$ = findCorrespondingNode(node, 3 /* TextNode */);
|
1344
|
-
if (childVNode.$elm$ && childVNode.$elm$.nodeType === 3 /* TextNode */) {
|
1345
|
-
childVNode.$text$ = childVNode.$elm$.textContent;
|
1346
|
-
childRenderNodes.push(childVNode);
|
1347
|
-
node.remove();
|
1348
|
-
if (hostId === childVNode.$hostId$) {
|
1349
|
-
if (!parentVNode.$children$) {
|
1350
|
-
parentVNode.$children$ = [];
|
1351
|
-
}
|
1352
|
-
parentVNode.$children$[childVNode.$index$] = childVNode;
|
1353
|
-
}
|
1354
|
-
if (shadowRootNodes && childVNode.$depth$ === "0") {
|
1355
|
-
shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
|
1356
|
-
}
|
1357
|
-
}
|
1358
|
-
} else if (childNodeType === COMMENT_NODE_ID) {
|
1359
|
-
childVNode.$elm$ = findCorrespondingNode(node, 8 /* CommentNode */);
|
1360
|
-
if (childVNode.$elm$ && childVNode.$elm$.nodeType === 8 /* CommentNode */) {
|
1361
|
-
childRenderNodes.push(childVNode);
|
1362
|
-
node.remove();
|
1363
|
-
}
|
1364
|
-
} else if (childVNode.$hostId$ === hostId) {
|
1365
|
-
if (childNodeType === SLOT_NODE_ID) {
|
1366
|
-
const slotName = node["s-sn"] = childIdSplt[5] || "";
|
1367
|
-
addSlot(
|
1368
|
-
slotName,
|
1369
|
-
childIdSplt[2],
|
1370
|
-
childVNode,
|
1371
|
-
node,
|
1372
|
-
parentVNode,
|
1373
|
-
childRenderNodes,
|
1374
|
-
slotNodes,
|
1375
|
-
shadowRootNodes,
|
1376
|
-
slottedNodes
|
1377
|
-
);
|
1378
|
-
} else if (childNodeType === CONTENT_REF_ID) {
|
1379
|
-
if (shadowRootNodes) {
|
1380
|
-
node.remove();
|
1381
|
-
} else {
|
1382
|
-
hostElm["s-cr"] = node;
|
1383
|
-
node["s-cn"] = true;
|
1384
|
-
}
|
1385
|
-
}
|
1386
|
-
}
|
1387
|
-
}
|
1388
|
-
} else if (parentVNode && parentVNode.$tag$ === "style") {
|
1389
|
-
const vnode = newVNode(null, node.textContent);
|
1390
|
-
vnode.$elm$ = node;
|
1391
|
-
vnode.$index$ = "0";
|
1392
|
-
parentVNode.$children$ = [vnode];
|
1393
|
-
} else {
|
1394
|
-
if (node.nodeType === 3 /* TextNode */ && !node.wholeText.trim()) {
|
1395
|
-
node.remove();
|
1396
|
-
}
|
1397
|
-
}
|
1398
|
-
return parentVNode;
|
1399
|
-
};
|
1400
|
-
var initializeDocumentHydrate = (node, orgLocNodes) => {
|
1401
|
-
if (node.nodeType === 1 /* ElementNode */) {
|
1402
|
-
const componentId = node[HYDRATE_ID] || node.getAttribute(HYDRATE_ID);
|
1403
|
-
if (componentId) {
|
1404
|
-
orgLocNodes.set(componentId, node);
|
1405
|
-
}
|
1406
|
-
let i2 = 0;
|
1407
|
-
if (node.shadowRoot) {
|
1408
|
-
for (; i2 < node.shadowRoot.childNodes.length; i2++) {
|
1409
|
-
initializeDocumentHydrate(node.shadowRoot.childNodes[i2], orgLocNodes);
|
1410
|
-
}
|
1411
|
-
}
|
1412
|
-
const nonShadowNodes = node.__childNodes || node.childNodes;
|
1413
|
-
for (i2 = 0; i2 < nonShadowNodes.length; i2++) {
|
1414
|
-
initializeDocumentHydrate(nonShadowNodes[i2], orgLocNodes);
|
1415
|
-
}
|
1416
|
-
} else if (node.nodeType === 8 /* CommentNode */) {
|
1417
|
-
const childIdSplt = node.nodeValue.split(".");
|
1418
|
-
if (childIdSplt[0] === ORG_LOCATION_ID) {
|
1419
|
-
orgLocNodes.set(childIdSplt[1] + "." + childIdSplt[2], node);
|
1420
|
-
node.nodeValue = "";
|
1421
|
-
node["s-en"] = childIdSplt[3];
|
1422
|
-
}
|
1423
|
-
}
|
1424
|
-
};
|
1425
|
-
var createSimpleVNode = (vnode) => {
|
1426
|
-
const defaultVNode = {
|
1427
|
-
$flags$: 0,
|
1428
|
-
$hostId$: null,
|
1429
|
-
$nodeId$: null,
|
1430
|
-
$depth$: null,
|
1431
|
-
$index$: "0",
|
1432
|
-
$elm$: null,
|
1433
|
-
$attrs$: null,
|
1434
|
-
$children$: null,
|
1435
|
-
$key$: null,
|
1436
|
-
$name$: null,
|
1437
|
-
$tag$: null,
|
1438
|
-
$text$: null
|
1439
|
-
};
|
1440
|
-
return { ...defaultVNode, ...vnode };
|
1441
|
-
};
|
1442
|
-
function addSlot(slotName, slotId, childVNode, node, parentVNode, childRenderNodes, slotNodes, shadowRootNodes, slottedNodes) {
|
1443
|
-
node["s-sr"] = true;
|
1444
|
-
childVNode.$name$ = slotName || null;
|
1445
|
-
childVNode.$tag$ = "slot";
|
1446
|
-
const parentNodeId = (parentVNode == null ? void 0 : parentVNode.$elm$) ? parentVNode.$elm$["s-id"] || parentVNode.$elm$.getAttribute("s-id") : "";
|
1447
|
-
if (shadowRootNodes && win.document) {
|
1448
|
-
const slot = childVNode.$elm$ = win.document.createElement(childVNode.$tag$);
|
1449
|
-
if (childVNode.$name$) {
|
1450
|
-
childVNode.$elm$.setAttribute("name", slotName);
|
1451
|
-
}
|
1452
|
-
if (parentNodeId && parentNodeId !== childVNode.$hostId$) {
|
1453
|
-
parentVNode.$elm$.insertBefore(slot, parentVNode.$elm$.children[0]);
|
1454
|
-
} else {
|
1455
|
-
node.parentNode.insertBefore(childVNode.$elm$, node);
|
1456
|
-
}
|
1457
|
-
addSlottedNodes(slottedNodes, slotId, slotName, node, childVNode.$hostId$);
|
1458
|
-
node.remove();
|
1459
|
-
if (childVNode.$depth$ === "0") {
|
1460
|
-
shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
|
1461
|
-
}
|
1462
|
-
} else {
|
1463
|
-
const slot = childVNode.$elm$;
|
1464
|
-
const shouldMove = parentNodeId && parentNodeId !== childVNode.$hostId$ && parentVNode.$elm$.shadowRoot;
|
1465
|
-
addSlottedNodes(slottedNodes, slotId, slotName, node, shouldMove ? parentNodeId : childVNode.$hostId$);
|
1466
|
-
patchSlotNode(node);
|
1467
|
-
if (shouldMove) {
|
1468
|
-
parentVNode.$elm$.insertBefore(slot, parentVNode.$elm$.children[0]);
|
1469
|
-
}
|
1470
|
-
childRenderNodes.push(childVNode);
|
1471
|
-
}
|
1472
|
-
slotNodes.push(childVNode);
|
1473
|
-
if (!parentVNode.$children$) {
|
1474
|
-
parentVNode.$children$ = [];
|
1475
|
-
}
|
1476
|
-
parentVNode.$children$[childVNode.$index$] = childVNode;
|
1477
|
-
}
|
1478
|
-
var addSlottedNodes = (slottedNodes, slotNodeId, slotName, slotNode, hostId) => {
|
1479
|
-
let slottedNode = slotNode.nextSibling;
|
1480
|
-
slottedNodes[slotNodeId] = slottedNodes[slotNodeId] || [];
|
1481
|
-
while (slottedNode && ((slottedNode["getAttribute"] && slottedNode.getAttribute("slot") || slottedNode["s-sn"]) === slotName || slotName === "" && !slottedNode["s-sn"] && (slottedNode.nodeType === 8 /* CommentNode */ && slottedNode.nodeValue.indexOf(".") !== 1 || slottedNode.nodeType === 3 /* TextNode */))) {
|
1482
|
-
slottedNode["s-sn"] = slotName;
|
1483
|
-
slottedNodes[slotNodeId].push({ slot: slotNode, node: slottedNode, hostId });
|
1484
|
-
slottedNode = slottedNode.nextSibling;
|
1485
|
-
}
|
1486
|
-
};
|
1487
|
-
var findCorrespondingNode = (node, type) => {
|
1488
|
-
let sibling = node;
|
1489
|
-
do {
|
1490
|
-
sibling = sibling.nextSibling;
|
1491
|
-
} while (sibling && (sibling.nodeType !== type || !sibling.nodeValue));
|
1492
|
-
return sibling;
|
1493
|
-
};
|
1494
|
-
var parsePropertyValue = (propValue, propType) => {
|
1495
|
-
if (propValue != null && !isComplexType(propValue)) {
|
1496
|
-
if (propType & 4 /* Boolean */) {
|
1497
|
-
return propValue === "false" ? false : propValue === "" || !!propValue;
|
1498
|
-
}
|
1499
|
-
if (propType & 2 /* Number */) {
|
1500
|
-
return parseFloat(propValue);
|
1501
|
-
}
|
1502
|
-
if (propType & 1 /* String */) {
|
1503
|
-
return String(propValue);
|
1504
|
-
}
|
1505
|
-
return propValue;
|
1506
|
-
}
|
1507
|
-
return propValue;
|
1508
|
-
};
|
1509
|
-
var getElement = (ref) => getHostRef(ref).$hostElement$ ;
|
1510
|
-
|
1511
|
-
// src/runtime/event-emitter.ts
|
1512
|
-
var createEvent = (ref, name, flags) => {
|
1513
|
-
const elm = getElement(ref);
|
1514
|
-
return {
|
1515
|
-
emit: (detail) => {
|
1516
|
-
return emitEvent(elm, name, {
|
1517
|
-
bubbles: !!(flags & 4 /* Bubbles */),
|
1518
|
-
composed: !!(flags & 2 /* Composed */),
|
1519
|
-
cancelable: !!(flags & 1 /* Cancellable */),
|
1520
|
-
detail
|
1521
|
-
});
|
1522
|
-
}
|
1523
|
-
};
|
1524
|
-
};
|
1525
|
-
var emitEvent = (elm, name, opts) => {
|
1526
|
-
const ev = plt.ce(name, opts);
|
1527
|
-
elm.dispatchEvent(ev);
|
1528
|
-
return ev;
|
1529
|
-
};
|
1530
|
-
var rootAppliedStyles = /* @__PURE__ */ new WeakMap();
|
1531
|
-
var registerStyle = (scopeId2, cssText, allowCS) => {
|
1532
|
-
let style = styles.get(scopeId2);
|
1533
|
-
if (supportsConstructableStylesheets && allowCS) {
|
1534
|
-
style = style || new CSSStyleSheet();
|
1535
|
-
if (typeof style === "string") {
|
1536
|
-
style = cssText;
|
1537
|
-
} else {
|
1538
|
-
style.replaceSync(cssText);
|
1539
|
-
}
|
1540
|
-
} else {
|
1541
|
-
style = cssText;
|
1542
|
-
}
|
1543
|
-
styles.set(scopeId2, style);
|
1544
|
-
};
|
1545
|
-
var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
1546
|
-
var _a;
|
1547
|
-
const scopeId2 = getScopeId(cmpMeta);
|
1548
|
-
const style = styles.get(scopeId2);
|
1549
|
-
if (!win.document) {
|
1550
|
-
return scopeId2;
|
1551
|
-
}
|
1552
|
-
styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : win.document;
|
1553
|
-
if (style) {
|
1554
|
-
if (typeof style === "string") {
|
1555
|
-
styleContainerNode = styleContainerNode.head || styleContainerNode;
|
1556
|
-
let appliedStyles = rootAppliedStyles.get(styleContainerNode);
|
1557
|
-
let styleElm;
|
1558
|
-
if (!appliedStyles) {
|
1559
|
-
rootAppliedStyles.set(styleContainerNode, appliedStyles = /* @__PURE__ */ new Set());
|
1560
|
-
}
|
1561
|
-
if (!appliedStyles.has(scopeId2)) {
|
1562
|
-
if (styleContainerNode.host && (styleElm = styleContainerNode.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`))) {
|
1563
|
-
styleElm.innerHTML = style;
|
1564
|
-
} else {
|
1565
|
-
styleElm = document.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`) || win.document.createElement("style");
|
1566
|
-
styleElm.innerHTML = style;
|
1567
|
-
const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(win.document);
|
1568
|
-
if (nonce != null) {
|
1569
|
-
styleElm.setAttribute("nonce", nonce);
|
1570
|
-
}
|
1571
|
-
if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
|
1572
|
-
if (styleContainerNode.nodeName === "HEAD") {
|
1573
|
-
const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
|
1574
|
-
const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
|
1575
|
-
styleContainerNode.insertBefore(
|
1576
|
-
styleElm,
|
1577
|
-
(referenceNode2 == null ? void 0 : referenceNode2.parentNode) === styleContainerNode ? referenceNode2 : null
|
1578
|
-
);
|
1579
|
-
} else if ("host" in styleContainerNode) {
|
1580
|
-
if (supportsConstructableStylesheets) {
|
1581
|
-
const stylesheet = new CSSStyleSheet();
|
1582
|
-
stylesheet.replaceSync(style);
|
1583
|
-
styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
|
1584
|
-
} else {
|
1585
|
-
const existingStyleContainer = styleContainerNode.querySelector("style");
|
1586
|
-
if (existingStyleContainer) {
|
1587
|
-
existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
|
1588
|
-
} else {
|
1589
|
-
styleContainerNode.prepend(styleElm);
|
1590
|
-
}
|
1591
|
-
}
|
1592
|
-
} else {
|
1593
|
-
styleContainerNode.append(styleElm);
|
1594
|
-
}
|
1595
|
-
}
|
1596
|
-
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
|
1597
|
-
styleContainerNode.insertBefore(styleElm, null);
|
1598
|
-
}
|
1599
|
-
}
|
1600
|
-
if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
|
1601
|
-
styleElm.innerHTML += SLOT_FB_CSS;
|
1602
|
-
}
|
1603
|
-
if (appliedStyles) {
|
1604
|
-
appliedStyles.add(scopeId2);
|
1605
|
-
}
|
1606
|
-
}
|
1607
|
-
} else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
|
1608
|
-
styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
|
1609
|
-
}
|
1610
|
-
}
|
1611
|
-
return scopeId2;
|
1612
|
-
};
|
1613
|
-
var attachStyles = (hostRef) => {
|
1614
|
-
const cmpMeta = hostRef.$cmpMeta$;
|
1615
|
-
const elm = hostRef.$hostElement$;
|
1616
|
-
const flags = cmpMeta.$flags$;
|
1617
|
-
const endAttachStyles = createTime("attachStyles", cmpMeta.$tagName$);
|
1618
|
-
const scopeId2 = addStyle(
|
1619
|
-
elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
|
1620
|
-
cmpMeta);
|
1621
|
-
if ((flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */ || flags & 128 /* shadowNeedsScopedCss */)) {
|
1622
|
-
elm["s-sc"] = scopeId2;
|
1623
|
-
elm.classList.add(scopeId2 + "-h");
|
1624
|
-
}
|
1625
|
-
endAttachStyles();
|
1626
|
-
};
|
1627
|
-
var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
|
1628
|
-
var convertScopedToShadow = (css) => css.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g, "$1{");
|
1629
|
-
var hydrateScopedToShadow = () => {
|
1630
|
-
if (!win.document) {
|
1631
|
-
return;
|
1632
|
-
}
|
1633
|
-
const styles2 = win.document.querySelectorAll(`[${HYDRATED_STYLE_ID}]`);
|
1634
|
-
let i2 = 0;
|
1635
|
-
for (; i2 < styles2.length; i2++) {
|
1636
|
-
registerStyle(styles2[i2].getAttribute(HYDRATED_STYLE_ID), convertScopedToShadow(styles2[i2].innerHTML), true);
|
1637
|
-
}
|
1638
|
-
};
|
1639
|
-
var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRender) => {
|
1640
|
-
if (oldValue === newValue) {
|
1641
|
-
return;
|
1642
|
-
}
|
1643
|
-
let isProp = isMemberInElement(elm, memberName);
|
1644
|
-
let ln = memberName.toLowerCase();
|
1645
|
-
if (memberName === "class") {
|
1646
|
-
const classList = elm.classList;
|
1647
|
-
const oldClasses = parseClassList(oldValue);
|
1648
|
-
let newClasses = parseClassList(newValue);
|
1649
|
-
if (elm["s-si"] && initialRender) {
|
1650
|
-
newClasses.push(elm["s-si"]);
|
1651
|
-
oldClasses.forEach((c) => {
|
1652
|
-
if (c.startsWith(elm["s-si"])) newClasses.push(c);
|
1653
|
-
});
|
1654
|
-
newClasses = [...new Set(newClasses)];
|
1655
|
-
classList.add(...newClasses);
|
1656
|
-
} else {
|
1657
|
-
classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
|
1658
|
-
classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
|
1659
|
-
}
|
1660
|
-
} else if (memberName === "style") {
|
1661
|
-
{
|
1662
|
-
for (const prop in oldValue) {
|
1663
|
-
if (!newValue || newValue[prop] == null) {
|
1664
|
-
if (prop.includes("-")) {
|
1665
|
-
elm.style.removeProperty(prop);
|
1666
|
-
} else {
|
1667
|
-
elm.style[prop] = "";
|
1668
|
-
}
|
1669
|
-
}
|
1670
|
-
}
|
1671
|
-
}
|
1672
|
-
for (const prop in newValue) {
|
1673
|
-
if (!oldValue || newValue[prop] !== oldValue[prop]) {
|
1674
|
-
if (prop.includes("-")) {
|
1675
|
-
elm.style.setProperty(prop, newValue[prop]);
|
1676
|
-
} else {
|
1677
|
-
elm.style[prop] = newValue[prop];
|
1678
|
-
}
|
1679
|
-
}
|
1680
|
-
}
|
1681
|
-
} else if (memberName === "key") ; else if (memberName === "ref") {
|
1682
|
-
if (newValue) {
|
1683
|
-
newValue(elm);
|
1684
|
-
}
|
1685
|
-
} else if ((!isProp ) && memberName[0] === "o" && memberName[1] === "n") {
|
1686
|
-
if (memberName[2] === "-") {
|
1687
|
-
memberName = memberName.slice(3);
|
1688
|
-
} else if (isMemberInElement(win, ln)) {
|
1689
|
-
memberName = ln.slice(2);
|
1690
|
-
} else {
|
1691
|
-
memberName = ln[2] + memberName.slice(3);
|
1692
|
-
}
|
1693
|
-
if (oldValue || newValue) {
|
1694
|
-
const capture = memberName.endsWith(CAPTURE_EVENT_SUFFIX);
|
1695
|
-
memberName = memberName.replace(CAPTURE_EVENT_REGEX, "");
|
1696
|
-
if (oldValue) {
|
1697
|
-
plt.rel(elm, memberName, oldValue, capture);
|
1698
|
-
}
|
1699
|
-
if (newValue) {
|
1700
|
-
plt.ael(elm, memberName, newValue, capture);
|
1701
|
-
}
|
1702
|
-
}
|
1703
|
-
} else {
|
1704
|
-
const isComplex = isComplexType(newValue);
|
1705
|
-
if ((isProp || isComplex && newValue !== null) && !isSvg) {
|
1706
|
-
try {
|
1707
|
-
if (!elm.tagName.includes("-")) {
|
1708
|
-
const n = newValue == null ? "" : newValue;
|
1709
|
-
if (memberName === "list") {
|
1710
|
-
isProp = false;
|
1711
|
-
} else if (oldValue == null || elm[memberName] != n) {
|
1712
|
-
if (typeof elm.__lookupSetter__(memberName) === "function") {
|
1713
|
-
elm[memberName] = n;
|
1714
|
-
} else {
|
1715
|
-
elm.setAttribute(memberName, n);
|
1716
|
-
}
|
1717
|
-
}
|
1718
|
-
} else if (elm[memberName] !== newValue) {
|
1719
|
-
elm[memberName] = newValue;
|
1720
|
-
}
|
1721
|
-
} catch (e) {
|
1722
|
-
}
|
1723
|
-
}
|
1724
|
-
let xlink = false;
|
1725
|
-
{
|
1726
|
-
if (ln !== (ln = ln.replace(/^xlink\:?/, ""))) {
|
1727
|
-
memberName = ln;
|
1728
|
-
xlink = true;
|
1729
|
-
}
|
1730
|
-
}
|
1731
|
-
if (newValue == null || newValue === false) {
|
1732
|
-
if (newValue !== false || elm.getAttribute(memberName) === "") {
|
1733
|
-
if (xlink) {
|
1734
|
-
elm.removeAttributeNS(XLINK_NS, memberName);
|
1735
|
-
} else {
|
1736
|
-
elm.removeAttribute(memberName);
|
1737
|
-
}
|
1738
|
-
}
|
1739
|
-
} else if ((!isProp || flags & 4 /* isHost */ || isSvg) && !isComplex && elm.nodeType === 1 /* ElementNode */) {
|
1740
|
-
newValue = newValue === true ? "" : newValue;
|
1741
|
-
if (xlink) {
|
1742
|
-
elm.setAttributeNS(XLINK_NS, memberName, newValue);
|
1743
|
-
} else {
|
1744
|
-
elm.setAttribute(memberName, newValue);
|
1745
|
-
}
|
1746
|
-
}
|
1747
|
-
}
|
1748
|
-
};
|
1749
|
-
var parseClassListRegex = /\s/;
|
1750
|
-
var parseClassList = (value) => {
|
1751
|
-
if (typeof value === "object" && value && "baseVal" in value) {
|
1752
|
-
value = value.baseVal;
|
1753
|
-
}
|
1754
|
-
if (!value || typeof value !== "string") {
|
1755
|
-
return [];
|
1756
|
-
}
|
1757
|
-
return value.split(parseClassListRegex);
|
1758
|
-
};
|
1759
|
-
var CAPTURE_EVENT_SUFFIX = "Capture";
|
1760
|
-
var CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + "$");
|
1761
|
-
|
1762
|
-
// src/runtime/vdom/update-element.ts
|
1763
|
-
var updateElement = (oldVnode, newVnode, isSvgMode2, isInitialRender) => {
|
1764
|
-
const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host ? newVnode.$elm$.host : newVnode.$elm$;
|
1765
|
-
const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || {};
|
1766
|
-
const newVnodeAttrs = newVnode.$attrs$ || {};
|
1767
|
-
{
|
1768
|
-
for (const memberName of sortedAttrNames(Object.keys(oldVnodeAttrs))) {
|
1769
|
-
if (!(memberName in newVnodeAttrs)) {
|
1770
|
-
setAccessor(
|
1771
|
-
elm,
|
1772
|
-
memberName,
|
1773
|
-
oldVnodeAttrs[memberName],
|
1774
|
-
void 0,
|
1775
|
-
isSvgMode2,
|
1776
|
-
newVnode.$flags$,
|
1777
|
-
isInitialRender
|
1778
|
-
);
|
1779
|
-
}
|
1780
|
-
}
|
1781
|
-
}
|
1782
|
-
for (const memberName of sortedAttrNames(Object.keys(newVnodeAttrs))) {
|
1783
|
-
setAccessor(
|
1784
|
-
elm,
|
1785
|
-
memberName,
|
1786
|
-
oldVnodeAttrs[memberName],
|
1787
|
-
newVnodeAttrs[memberName],
|
1788
|
-
isSvgMode2,
|
1789
|
-
newVnode.$flags$,
|
1790
|
-
isInitialRender
|
1791
|
-
);
|
1792
|
-
}
|
1793
|
-
};
|
1794
|
-
function sortedAttrNames(attrNames) {
|
1795
|
-
return attrNames.includes("ref") ? (
|
1796
|
-
// we need to sort these to ensure that `'ref'` is the last attr
|
1797
|
-
[...attrNames.filter((attr) => attr !== "ref"), "ref"]
|
1798
|
-
) : (
|
1799
|
-
// no need to sort, return the original array
|
1800
|
-
attrNames
|
1801
|
-
);
|
1802
|
-
}
|
1803
|
-
|
1804
|
-
// src/runtime/vdom/vdom-render.ts
|
1805
|
-
var scopeId;
|
1806
|
-
var contentRef;
|
1807
|
-
var hostTagName;
|
1808
|
-
var useNativeShadowDom = false;
|
1809
|
-
var checkSlotFallbackVisibility = false;
|
1810
|
-
var checkSlotRelocate = false;
|
1811
|
-
var isSvgMode = false;
|
1812
|
-
var createElm = (oldParentVNode, newParentVNode, childIndex) => {
|
1813
|
-
var _a;
|
1814
|
-
const newVNode2 = newParentVNode.$children$[childIndex];
|
1815
|
-
let i2 = 0;
|
1816
|
-
let elm;
|
1817
|
-
let childNode;
|
1818
|
-
let oldVNode;
|
1819
|
-
if (!useNativeShadowDom) {
|
1820
|
-
checkSlotRelocate = true;
|
1821
|
-
if (newVNode2.$tag$ === "slot") {
|
1822
|
-
newVNode2.$flags$ |= newVNode2.$children$ ? (
|
1823
|
-
// slot element has fallback content
|
1824
|
-
// still create an element that "mocks" the slot element
|
1825
|
-
2 /* isSlotFallback */
|
1826
|
-
) : (
|
1827
|
-
// slot element does not have fallback content
|
1828
|
-
// create an html comment we'll use to always reference
|
1829
|
-
// where actual slot content should sit next to
|
1830
|
-
1 /* isSlotReference */
|
1831
|
-
);
|
1832
|
-
}
|
1833
|
-
}
|
1834
|
-
if (newVNode2.$text$ !== null) {
|
1835
|
-
elm = newVNode2.$elm$ = win.document.createTextNode(newVNode2.$text$);
|
1836
|
-
} else if (newVNode2.$flags$ & 1 /* isSlotReference */) {
|
1837
|
-
elm = newVNode2.$elm$ = win.document.createTextNode("");
|
1838
|
-
{
|
1839
|
-
updateElement(null, newVNode2, isSvgMode);
|
1840
|
-
}
|
1841
|
-
} else {
|
1842
|
-
if (!win.document) {
|
1843
|
-
throw new Error(
|
1844
|
-
"You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component."
|
1845
|
-
);
|
1846
|
-
}
|
1847
|
-
elm = newVNode2.$elm$ = win.document.createElement(
|
1848
|
-
!useNativeShadowDom && BUILD.slotRelocation && newVNode2.$flags$ & 2 /* isSlotFallback */ ? "slot-fb" : newVNode2.$tag$
|
1849
|
-
);
|
1850
|
-
{
|
1851
|
-
updateElement(null, newVNode2, isSvgMode);
|
1852
|
-
}
|
1853
|
-
if (isDef(scopeId) && elm["s-si"] !== scopeId) {
|
1854
|
-
elm.classList.add(elm["s-si"] = scopeId);
|
1855
|
-
}
|
1856
|
-
if (newVNode2.$children$) {
|
1857
|
-
for (i2 = 0; i2 < newVNode2.$children$.length; ++i2) {
|
1858
|
-
childNode = createElm(oldParentVNode, newVNode2, i2);
|
1859
|
-
if (childNode) {
|
1860
|
-
elm.appendChild(childNode);
|
1861
|
-
}
|
1862
|
-
}
|
1863
|
-
}
|
1864
|
-
}
|
1865
|
-
elm["s-hn"] = hostTagName;
|
1866
|
-
{
|
1867
|
-
if (newVNode2.$flags$ & (2 /* isSlotFallback */ | 1 /* isSlotReference */)) {
|
1868
|
-
elm["s-sr"] = true;
|
1869
|
-
elm["s-cr"] = contentRef;
|
1870
|
-
elm["s-sn"] = newVNode2.$name$ || "";
|
1871
|
-
elm["s-rf"] = (_a = newVNode2.$attrs$) == null ? void 0 : _a.ref;
|
1872
|
-
patchSlotNode(elm);
|
1873
|
-
oldVNode = oldParentVNode && oldParentVNode.$children$ && oldParentVNode.$children$[childIndex];
|
1874
|
-
if (oldVNode && oldVNode.$tag$ === newVNode2.$tag$ && oldParentVNode.$elm$) {
|
1875
|
-
{
|
1876
|
-
relocateToHostRoot(oldParentVNode.$elm$);
|
1877
|
-
}
|
1878
|
-
}
|
1879
|
-
{
|
1880
|
-
addRemoveSlotScopedClass(contentRef, elm, newParentVNode.$elm$, oldParentVNode == null ? void 0 : oldParentVNode.$elm$);
|
1881
|
-
}
|
1882
|
-
}
|
1883
|
-
}
|
1884
|
-
return elm;
|
1885
|
-
};
|
1886
|
-
var relocateToHostRoot = (parentElm) => {
|
1887
|
-
plt.$flags$ |= 1 /* isTmpDisconnected */;
|
1888
|
-
const host = parentElm.closest(hostTagName.toLowerCase());
|
1889
|
-
if (host != null) {
|
1890
|
-
const contentRefNode = Array.from(host.__childNodes || host.childNodes).find(
|
1891
|
-
(ref) => ref["s-cr"]
|
1892
|
-
);
|
1893
|
-
const childNodeArray = Array.from(
|
1894
|
-
parentElm.__childNodes || parentElm.childNodes
|
1895
|
-
);
|
1896
|
-
for (const childNode of contentRefNode ? childNodeArray.reverse() : childNodeArray) {
|
1897
|
-
if (childNode["s-sh"] != null) {
|
1898
|
-
insertBefore(host, childNode, contentRefNode != null ? contentRefNode : null);
|
1899
|
-
childNode["s-sh"] = void 0;
|
1900
|
-
checkSlotRelocate = true;
|
1901
|
-
}
|
1902
|
-
}
|
1903
|
-
}
|
1904
|
-
plt.$flags$ &= ~1 /* isTmpDisconnected */;
|
1905
|
-
};
|
1906
|
-
var putBackInOriginalLocation = (parentElm, recursive) => {
|
1907
|
-
plt.$flags$ |= 1 /* isTmpDisconnected */;
|
1908
|
-
const oldSlotChildNodes = Array.from(parentElm.__childNodes || parentElm.childNodes);
|
1909
|
-
if (parentElm["s-sr"] && BUILD.experimentalSlotFixes) {
|
1910
|
-
let node = parentElm;
|
1911
|
-
while (node = node.nextSibling) {
|
1912
|
-
if (node && node["s-sn"] === parentElm["s-sn"] && node["s-sh"] === hostTagName) {
|
1913
|
-
oldSlotChildNodes.push(node);
|
1914
|
-
}
|
1915
|
-
}
|
1916
|
-
}
|
1917
|
-
for (let i2 = oldSlotChildNodes.length - 1; i2 >= 0; i2--) {
|
1918
|
-
const childNode = oldSlotChildNodes[i2];
|
1919
|
-
if (childNode["s-hn"] !== hostTagName && childNode["s-ol"]) {
|
1920
|
-
insertBefore(referenceNode(childNode).parentNode, childNode, referenceNode(childNode));
|
1921
|
-
childNode["s-ol"].remove();
|
1922
|
-
childNode["s-ol"] = void 0;
|
1923
|
-
childNode["s-sh"] = void 0;
|
1924
|
-
checkSlotRelocate = true;
|
1925
|
-
}
|
1926
|
-
if (recursive) {
|
1927
|
-
putBackInOriginalLocation(childNode, recursive);
|
1928
|
-
}
|
1929
|
-
}
|
1930
|
-
plt.$flags$ &= ~1 /* isTmpDisconnected */;
|
1931
|
-
};
|
1932
|
-
var addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
|
1933
|
-
let containerElm = parentElm["s-cr"] && parentElm["s-cr"].parentNode || parentElm;
|
1934
|
-
let childNode;
|
1935
|
-
if (containerElm.shadowRoot && containerElm.tagName === hostTagName) {
|
1936
|
-
containerElm = containerElm.shadowRoot;
|
1937
|
-
}
|
1938
|
-
for (; startIdx <= endIdx; ++startIdx) {
|
1939
|
-
if (vnodes[startIdx]) {
|
1940
|
-
childNode = createElm(null, parentVNode, startIdx);
|
1941
|
-
if (childNode) {
|
1942
|
-
vnodes[startIdx].$elm$ = childNode;
|
1943
|
-
insertBefore(containerElm, childNode, referenceNode(before) );
|
1944
|
-
}
|
1945
|
-
}
|
1946
|
-
}
|
1947
|
-
};
|
1948
|
-
var removeVnodes = (vnodes, startIdx, endIdx) => {
|
1949
|
-
for (let index = startIdx; index <= endIdx; ++index) {
|
1950
|
-
const vnode = vnodes[index];
|
1951
|
-
if (vnode) {
|
1952
|
-
const elm = vnode.$elm$;
|
1953
|
-
nullifyVNodeRefs(vnode);
|
1954
|
-
if (elm) {
|
1955
|
-
{
|
1956
|
-
checkSlotFallbackVisibility = true;
|
1957
|
-
if (elm["s-ol"]) {
|
1958
|
-
elm["s-ol"].remove();
|
1959
|
-
} else {
|
1960
|
-
putBackInOriginalLocation(elm, true);
|
1961
|
-
}
|
1962
|
-
}
|
1963
|
-
elm.remove();
|
1964
|
-
}
|
1965
|
-
}
|
1966
|
-
}
|
1967
|
-
};
|
1968
|
-
var updateChildren = (parentElm, oldCh, newVNode2, newCh, isInitialRender = false) => {
|
1969
|
-
let oldStartIdx = 0;
|
1970
|
-
let newStartIdx = 0;
|
1971
|
-
let idxInOld = 0;
|
1972
|
-
let i2 = 0;
|
1973
|
-
let oldEndIdx = oldCh.length - 1;
|
1974
|
-
let oldStartVnode = oldCh[0];
|
1975
|
-
let oldEndVnode = oldCh[oldEndIdx];
|
1976
|
-
let newEndIdx = newCh.length - 1;
|
1977
|
-
let newStartVnode = newCh[0];
|
1978
|
-
let newEndVnode = newCh[newEndIdx];
|
1979
|
-
let node;
|
1980
|
-
let elmToMove;
|
1981
|
-
while (oldStartIdx <= oldEndIdx && newStartIdx <= newEndIdx) {
|
1982
|
-
if (oldStartVnode == null) {
|
1983
|
-
oldStartVnode = oldCh[++oldStartIdx];
|
1984
|
-
} else if (oldEndVnode == null) {
|
1985
|
-
oldEndVnode = oldCh[--oldEndIdx];
|
1986
|
-
} else if (newStartVnode == null) {
|
1987
|
-
newStartVnode = newCh[++newStartIdx];
|
1988
|
-
} else if (newEndVnode == null) {
|
1989
|
-
newEndVnode = newCh[--newEndIdx];
|
1990
|
-
} else if (isSameVnode(oldStartVnode, newStartVnode, isInitialRender)) {
|
1991
|
-
patch(oldStartVnode, newStartVnode, isInitialRender);
|
1992
|
-
oldStartVnode = oldCh[++oldStartIdx];
|
1993
|
-
newStartVnode = newCh[++newStartIdx];
|
1994
|
-
} else if (isSameVnode(oldEndVnode, newEndVnode, isInitialRender)) {
|
1995
|
-
patch(oldEndVnode, newEndVnode, isInitialRender);
|
1996
|
-
oldEndVnode = oldCh[--oldEndIdx];
|
1997
|
-
newEndVnode = newCh[--newEndIdx];
|
1998
|
-
} else if (isSameVnode(oldStartVnode, newEndVnode, isInitialRender)) {
|
1999
|
-
if ((oldStartVnode.$tag$ === "slot" || newEndVnode.$tag$ === "slot")) {
|
2000
|
-
putBackInOriginalLocation(oldStartVnode.$elm$.parentNode, false);
|
2001
|
-
}
|
2002
|
-
patch(oldStartVnode, newEndVnode, isInitialRender);
|
2003
|
-
insertBefore(parentElm, oldStartVnode.$elm$, oldEndVnode.$elm$.nextSibling);
|
2004
|
-
oldStartVnode = oldCh[++oldStartIdx];
|
2005
|
-
newEndVnode = newCh[--newEndIdx];
|
2006
|
-
} else if (isSameVnode(oldEndVnode, newStartVnode, isInitialRender)) {
|
2007
|
-
if ((oldStartVnode.$tag$ === "slot" || newEndVnode.$tag$ === "slot")) {
|
2008
|
-
putBackInOriginalLocation(oldEndVnode.$elm$.parentNode, false);
|
2009
|
-
}
|
2010
|
-
patch(oldEndVnode, newStartVnode, isInitialRender);
|
2011
|
-
insertBefore(parentElm, oldEndVnode.$elm$, oldStartVnode.$elm$);
|
2012
|
-
oldEndVnode = oldCh[--oldEndIdx];
|
2013
|
-
newStartVnode = newCh[++newStartIdx];
|
2014
|
-
} else {
|
2015
|
-
idxInOld = -1;
|
2016
|
-
{
|
2017
|
-
for (i2 = oldStartIdx; i2 <= oldEndIdx; ++i2) {
|
2018
|
-
if (oldCh[i2] && oldCh[i2].$key$ !== null && oldCh[i2].$key$ === newStartVnode.$key$) {
|
2019
|
-
idxInOld = i2;
|
2020
|
-
break;
|
2021
|
-
}
|
2022
|
-
}
|
2023
|
-
}
|
2024
|
-
if (idxInOld >= 0) {
|
2025
|
-
elmToMove = oldCh[idxInOld];
|
2026
|
-
if (elmToMove.$tag$ !== newStartVnode.$tag$) {
|
2027
|
-
node = createElm(oldCh && oldCh[newStartIdx], newVNode2, idxInOld);
|
2028
|
-
} else {
|
2029
|
-
patch(elmToMove, newStartVnode, isInitialRender);
|
2030
|
-
oldCh[idxInOld] = void 0;
|
2031
|
-
node = elmToMove.$elm$;
|
2032
|
-
}
|
2033
|
-
newStartVnode = newCh[++newStartIdx];
|
2034
|
-
} else {
|
2035
|
-
node = createElm(oldCh && oldCh[newStartIdx], newVNode2, newStartIdx);
|
2036
|
-
newStartVnode = newCh[++newStartIdx];
|
2037
|
-
}
|
2038
|
-
if (node) {
|
2039
|
-
{
|
2040
|
-
insertBefore(
|
2041
|
-
referenceNode(oldStartVnode.$elm$).parentNode,
|
2042
|
-
node,
|
2043
|
-
referenceNode(oldStartVnode.$elm$)
|
2044
|
-
);
|
2045
|
-
}
|
2046
|
-
}
|
2047
|
-
}
|
2048
|
-
}
|
2049
|
-
if (oldStartIdx > oldEndIdx) {
|
2050
|
-
addVnodes(
|
2051
|
-
parentElm,
|
2052
|
-
newCh[newEndIdx + 1] == null ? null : newCh[newEndIdx + 1].$elm$,
|
2053
|
-
newVNode2,
|
2054
|
-
newCh,
|
2055
|
-
newStartIdx,
|
2056
|
-
newEndIdx
|
2057
|
-
);
|
2058
|
-
} else if (newStartIdx > newEndIdx) {
|
2059
|
-
removeVnodes(oldCh, oldStartIdx, oldEndIdx);
|
2060
|
-
}
|
2061
|
-
};
|
2062
|
-
var isSameVnode = (leftVNode, rightVNode, isInitialRender = false) => {
|
2063
|
-
if (leftVNode.$tag$ === rightVNode.$tag$) {
|
2064
|
-
if (leftVNode.$tag$ === "slot") {
|
2065
|
-
return leftVNode.$name$ === rightVNode.$name$;
|
2066
|
-
}
|
2067
|
-
if (!isInitialRender) {
|
2068
|
-
return leftVNode.$key$ === rightVNode.$key$;
|
2069
|
-
}
|
2070
|
-
if (isInitialRender && !leftVNode.$key$ && rightVNode.$key$) {
|
2071
|
-
leftVNode.$key$ = rightVNode.$key$;
|
2072
|
-
}
|
2073
|
-
return true;
|
2074
|
-
}
|
2075
|
-
return false;
|
2076
|
-
};
|
2077
|
-
var referenceNode = (node) => node && node["s-ol"] || node;
|
2078
|
-
var patch = (oldVNode, newVNode2, isInitialRender = false) => {
|
2079
|
-
const elm = newVNode2.$elm$ = oldVNode.$elm$;
|
2080
|
-
const oldChildren = oldVNode.$children$;
|
2081
|
-
const newChildren = newVNode2.$children$;
|
2082
|
-
const tag = newVNode2.$tag$;
|
2083
|
-
const text = newVNode2.$text$;
|
2084
|
-
let defaultHolder;
|
2085
|
-
if (text === null) {
|
2086
|
-
{
|
2087
|
-
if (tag === "slot" && !useNativeShadowDom) {
|
2088
|
-
if (oldVNode.$name$ !== newVNode2.$name$) {
|
2089
|
-
newVNode2.$elm$["s-sn"] = newVNode2.$name$ || "";
|
2090
|
-
relocateToHostRoot(newVNode2.$elm$.parentElement);
|
2091
|
-
}
|
2092
|
-
}
|
2093
|
-
updateElement(oldVNode, newVNode2, isSvgMode, isInitialRender);
|
2094
|
-
}
|
2095
|
-
if (oldChildren !== null && newChildren !== null) {
|
2096
|
-
updateChildren(elm, oldChildren, newVNode2, newChildren, isInitialRender);
|
2097
|
-
} else if (newChildren !== null) {
|
2098
|
-
if (oldVNode.$text$ !== null) {
|
2099
|
-
elm.textContent = "";
|
2100
|
-
}
|
2101
|
-
addVnodes(elm, null, newVNode2, newChildren, 0, newChildren.length - 1);
|
2102
|
-
} else if (
|
2103
|
-
// don't do this on initial render as it can cause non-hydrated content to be removed
|
2104
|
-
!isInitialRender && BUILD.updatable && oldChildren !== null
|
2105
|
-
) {
|
2106
|
-
removeVnodes(oldChildren, 0, oldChildren.length - 1);
|
2107
|
-
}
|
2108
|
-
} else if ((defaultHolder = elm["s-cr"])) {
|
2109
|
-
defaultHolder.parentNode.textContent = text;
|
2110
|
-
} else if (oldVNode.$text$ !== text) {
|
2111
|
-
elm.data = text;
|
2112
|
-
}
|
2113
|
-
};
|
2114
|
-
var relocateNodes = [];
|
2115
|
-
var markSlotContentForRelocation = (elm) => {
|
2116
|
-
let node;
|
2117
|
-
let hostContentNodes;
|
2118
|
-
let j;
|
2119
|
-
const children = elm.__childNodes || elm.childNodes;
|
2120
|
-
for (const childNode of children) {
|
2121
|
-
if (childNode["s-sr"] && (node = childNode["s-cr"]) && node.parentNode) {
|
2122
|
-
hostContentNodes = node.parentNode.__childNodes || node.parentNode.childNodes;
|
2123
|
-
const slotName = childNode["s-sn"];
|
2124
|
-
for (j = hostContentNodes.length - 1; j >= 0; j--) {
|
2125
|
-
node = hostContentNodes[j];
|
2126
|
-
if (!node["s-cn"] && !node["s-nr"] && node["s-hn"] !== childNode["s-hn"] && (!node["s-sh"] || node["s-sh"] !== childNode["s-hn"])) {
|
2127
|
-
if (isNodeLocatedInSlot(node, slotName)) {
|
2128
|
-
let relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
|
2129
|
-
checkSlotFallbackVisibility = true;
|
2130
|
-
node["s-sn"] = node["s-sn"] || slotName;
|
2131
|
-
if (relocateNodeData) {
|
2132
|
-
relocateNodeData.$nodeToRelocate$["s-sh"] = childNode["s-hn"];
|
2133
|
-
relocateNodeData.$slotRefNode$ = childNode;
|
2134
|
-
} else {
|
2135
|
-
node["s-sh"] = childNode["s-hn"];
|
2136
|
-
relocateNodes.push({
|
2137
|
-
$slotRefNode$: childNode,
|
2138
|
-
$nodeToRelocate$: node
|
2139
|
-
});
|
2140
|
-
}
|
2141
|
-
if (node["s-sr"]) {
|
2142
|
-
relocateNodes.map((relocateNode) => {
|
2143
|
-
if (isNodeLocatedInSlot(relocateNode.$nodeToRelocate$, node["s-sn"])) {
|
2144
|
-
relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
|
2145
|
-
if (relocateNodeData && !relocateNode.$slotRefNode$) {
|
2146
|
-
relocateNode.$slotRefNode$ = relocateNodeData.$slotRefNode$;
|
2147
|
-
}
|
2148
|
-
}
|
2149
|
-
});
|
2150
|
-
}
|
2151
|
-
} else if (!relocateNodes.some((r) => r.$nodeToRelocate$ === node)) {
|
2152
|
-
relocateNodes.push({
|
2153
|
-
$nodeToRelocate$: node
|
2154
|
-
});
|
2155
|
-
}
|
2156
|
-
}
|
2157
|
-
}
|
2158
|
-
}
|
2159
|
-
if (childNode.nodeType === 1 /* ElementNode */) {
|
2160
|
-
markSlotContentForRelocation(childNode);
|
2161
|
-
}
|
2162
|
-
}
|
2163
|
-
};
|
2164
|
-
var nullifyVNodeRefs = (vNode) => {
|
2165
|
-
{
|
2166
|
-
vNode.$attrs$ && vNode.$attrs$.ref && vNode.$attrs$.ref(null);
|
2167
|
-
vNode.$children$ && vNode.$children$.map(nullifyVNodeRefs);
|
2168
|
-
}
|
2169
|
-
};
|
2170
|
-
var insertBefore = (parent, newNode, reference) => {
|
2171
|
-
if (typeof newNode["s-sn"] === "string" && !!newNode["s-sr"] && !!newNode["s-cr"]) {
|
2172
|
-
addRemoveSlotScopedClass(newNode["s-cr"], newNode, parent, newNode.parentElement);
|
2173
|
-
} else if (typeof newNode["s-sn"] === "string") {
|
2174
|
-
if (parent.getRootNode().nodeType !== 11 /* DOCUMENT_FRAGMENT_NODE */) {
|
2175
|
-
patchParentNode(newNode);
|
2176
|
-
}
|
2177
|
-
parent.insertBefore(newNode, reference);
|
2178
|
-
const { slotNode } = findSlotFromSlottedNode(newNode);
|
2179
|
-
if (slotNode) dispatchSlotChangeEvent(slotNode);
|
2180
|
-
return newNode;
|
2181
|
-
}
|
2182
|
-
if (parent.__insertBefore) {
|
2183
|
-
return parent.__insertBefore(newNode, reference);
|
2184
|
-
} else {
|
2185
|
-
return parent == null ? void 0 : parent.insertBefore(newNode, reference);
|
2186
|
-
}
|
2187
|
-
};
|
2188
|
-
function addRemoveSlotScopedClass(reference, slotNode, newParent, oldParent) {
|
2189
|
-
var _a, _b;
|
2190
|
-
let scopeId2;
|
2191
|
-
if (reference && typeof slotNode["s-sn"] === "string" && !!slotNode["s-sr"] && reference.parentNode && reference.parentNode["s-sc"] && (scopeId2 = slotNode["s-si"] || reference.parentNode["s-sc"])) {
|
2192
|
-
const scopeName = slotNode["s-sn"];
|
2193
|
-
const hostName = slotNode["s-hn"];
|
2194
|
-
(_a = newParent.classList) == null ? void 0 : _a.add(scopeId2 + "-s");
|
2195
|
-
if (oldParent && ((_b = oldParent.classList) == null ? void 0 : _b.contains(scopeId2 + "-s"))) {
|
2196
|
-
let child = (oldParent.__childNodes || oldParent.childNodes)[0];
|
2197
|
-
let found = false;
|
2198
|
-
while (child) {
|
2199
|
-
if (child["s-sn"] !== scopeName && child["s-hn"] === hostName && !!child["s-sr"]) {
|
2200
|
-
found = true;
|
2201
|
-
break;
|
2202
|
-
}
|
2203
|
-
child = child.nextSibling;
|
2204
|
-
}
|
2205
|
-
if (!found) oldParent.classList.remove(scopeId2 + "-s");
|
2206
|
-
}
|
2207
|
-
}
|
2208
|
-
}
|
2209
|
-
var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
2210
|
-
var _a, _b, _c, _d, _e;
|
2211
|
-
const hostElm = hostRef.$hostElement$;
|
2212
|
-
const cmpMeta = hostRef.$cmpMeta$;
|
2213
|
-
const oldVNode = hostRef.$vnode$ || newVNode(null, null);
|
2214
|
-
const rootVnode = isHost(renderFnResults) ? renderFnResults : h(null, null, renderFnResults);
|
2215
|
-
hostTagName = hostElm.tagName;
|
2216
|
-
if (cmpMeta.$attrsToReflect$) {
|
2217
|
-
rootVnode.$attrs$ = rootVnode.$attrs$ || {};
|
2218
|
-
cmpMeta.$attrsToReflect$.map(
|
2219
|
-
([propName, attribute]) => rootVnode.$attrs$[attribute] = hostElm[propName]
|
2220
|
-
);
|
2221
|
-
}
|
2222
|
-
if (isInitialLoad && rootVnode.$attrs$) {
|
2223
|
-
for (const key of Object.keys(rootVnode.$attrs$)) {
|
2224
|
-
if (hostElm.hasAttribute(key) && !["key", "ref", "style", "class"].includes(key)) {
|
2225
|
-
rootVnode.$attrs$[key] = hostElm[key];
|
2226
|
-
}
|
2227
|
-
}
|
2228
|
-
}
|
2229
|
-
rootVnode.$tag$ = null;
|
2230
|
-
rootVnode.$flags$ |= 4 /* isHost */;
|
2231
|
-
hostRef.$vnode$ = rootVnode;
|
2232
|
-
rootVnode.$elm$ = oldVNode.$elm$ = hostElm.shadowRoot || hostElm ;
|
2233
|
-
{
|
2234
|
-
scopeId = hostElm["s-sc"];
|
2235
|
-
}
|
2236
|
-
useNativeShadowDom = !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && !(cmpMeta.$flags$ & 128 /* shadowNeedsScopedCss */);
|
2237
|
-
{
|
2238
|
-
contentRef = hostElm["s-cr"];
|
2239
|
-
checkSlotFallbackVisibility = false;
|
2240
|
-
}
|
2241
|
-
patch(oldVNode, rootVnode, isInitialLoad);
|
2242
|
-
{
|
2243
|
-
plt.$flags$ |= 1 /* isTmpDisconnected */;
|
2244
|
-
if (checkSlotRelocate) {
|
2245
|
-
markSlotContentForRelocation(rootVnode.$elm$);
|
2246
|
-
for (const relocateData of relocateNodes) {
|
2247
|
-
const nodeToRelocate = relocateData.$nodeToRelocate$;
|
2248
|
-
if (!nodeToRelocate["s-ol"] && win.document) {
|
2249
|
-
const orgLocationNode = win.document.createTextNode("");
|
2250
|
-
orgLocationNode["s-nr"] = nodeToRelocate;
|
2251
|
-
insertBefore(nodeToRelocate.parentNode, nodeToRelocate["s-ol"] = orgLocationNode, nodeToRelocate);
|
2252
|
-
}
|
2253
|
-
}
|
2254
|
-
for (const relocateData of relocateNodes) {
|
2255
|
-
const nodeToRelocate = relocateData.$nodeToRelocate$;
|
2256
|
-
const slotRefNode = relocateData.$slotRefNode$;
|
2257
|
-
if (slotRefNode) {
|
2258
|
-
const parentNodeRef = slotRefNode.parentNode;
|
2259
|
-
let insertBeforeNode = slotRefNode.nextSibling;
|
2260
|
-
if ((insertBeforeNode && insertBeforeNode.nodeType === 1 /* ElementNode */)) {
|
2261
|
-
let orgLocationNode = (_a = nodeToRelocate["s-ol"]) == null ? void 0 : _a.previousSibling;
|
2262
|
-
while (orgLocationNode) {
|
2263
|
-
let refNode = (_b = orgLocationNode["s-nr"]) != null ? _b : null;
|
2264
|
-
if (refNode && refNode["s-sn"] === nodeToRelocate["s-sn"] && parentNodeRef === (refNode.__parentNode || refNode.parentNode)) {
|
2265
|
-
refNode = refNode.nextSibling;
|
2266
|
-
while (refNode === nodeToRelocate || (refNode == null ? void 0 : refNode["s-sr"])) {
|
2267
|
-
refNode = refNode == null ? void 0 : refNode.nextSibling;
|
2268
|
-
}
|
2269
|
-
if (!refNode || !refNode["s-nr"]) {
|
2270
|
-
insertBeforeNode = refNode;
|
2271
|
-
break;
|
2272
|
-
}
|
2273
|
-
}
|
2274
|
-
orgLocationNode = orgLocationNode.previousSibling;
|
2275
|
-
}
|
2276
|
-
}
|
2277
|
-
const parent = nodeToRelocate.__parentNode || nodeToRelocate.parentNode;
|
2278
|
-
const nextSibling = nodeToRelocate.__nextSibling || nodeToRelocate.nextSibling;
|
2279
|
-
if (!insertBeforeNode && parentNodeRef !== parent || nextSibling !== insertBeforeNode) {
|
2280
|
-
if (nodeToRelocate !== insertBeforeNode) {
|
2281
|
-
insertBefore(parentNodeRef, nodeToRelocate, insertBeforeNode);
|
2282
|
-
if (nodeToRelocate.nodeType === 1 /* ElementNode */ && nodeToRelocate.tagName !== "SLOT-FB") {
|
2283
|
-
nodeToRelocate.hidden = (_c = nodeToRelocate["s-ih"]) != null ? _c : false;
|
2284
|
-
}
|
2285
|
-
}
|
2286
|
-
}
|
2287
|
-
nodeToRelocate && typeof slotRefNode["s-rf"] === "function" && slotRefNode["s-rf"](slotRefNode);
|
2288
|
-
} else {
|
2289
|
-
if (nodeToRelocate.nodeType === 1 /* ElementNode */) {
|
2290
|
-
if (isInitialLoad) {
|
2291
|
-
nodeToRelocate["s-ih"] = (_d = nodeToRelocate.hidden) != null ? _d : false;
|
2292
|
-
}
|
2293
|
-
nodeToRelocate.hidden = true;
|
2294
|
-
}
|
2295
|
-
}
|
2296
|
-
}
|
2297
|
-
}
|
2298
|
-
if (checkSlotFallbackVisibility) {
|
2299
|
-
updateFallbackSlotVisibility(rootVnode.$elm$);
|
2300
|
-
}
|
2301
|
-
plt.$flags$ &= ~1 /* isTmpDisconnected */;
|
2302
|
-
relocateNodes.length = 0;
|
2303
|
-
}
|
2304
|
-
if (cmpMeta.$flags$ & 2 /* scopedCssEncapsulation */) {
|
2305
|
-
const children = rootVnode.$elm$.__childNodes || rootVnode.$elm$.childNodes;
|
2306
|
-
for (const childNode of children) {
|
2307
|
-
if (childNode["s-hn"] !== hostTagName && !childNode["s-sh"]) {
|
2308
|
-
if (isInitialLoad && childNode["s-ih"] == null) {
|
2309
|
-
childNode["s-ih"] = (_e = childNode.hidden) != null ? _e : false;
|
2310
|
-
}
|
2311
|
-
childNode.hidden = true;
|
2312
|
-
}
|
2313
|
-
}
|
2314
|
-
}
|
2315
|
-
contentRef = void 0;
|
2316
|
-
};
|
2317
|
-
|
2318
|
-
// src/runtime/update-component.ts
|
2319
|
-
var attachToAncestor = (hostRef, ancestorComponent) => {
|
2320
|
-
if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent["s-p"]) {
|
2321
|
-
const index = ancestorComponent["s-p"].push(
|
2322
|
-
new Promise(
|
2323
|
-
(r) => hostRef.$onRenderResolve$ = () => {
|
2324
|
-
ancestorComponent["s-p"].splice(index - 1, 1);
|
2325
|
-
r();
|
2326
|
-
}
|
2327
|
-
)
|
2328
|
-
);
|
2329
|
-
}
|
2330
|
-
};
|
2331
|
-
var scheduleUpdate = (hostRef, isInitialLoad) => {
|
2332
|
-
{
|
2333
|
-
hostRef.$flags$ |= 16 /* isQueuedForUpdate */;
|
2334
|
-
}
|
2335
|
-
if (hostRef.$flags$ & 4 /* isWaitingForChildren */) {
|
2336
|
-
hostRef.$flags$ |= 512 /* needsRerender */;
|
2337
|
-
return;
|
2338
|
-
}
|
2339
|
-
attachToAncestor(hostRef, hostRef.$ancestorComponent$);
|
2340
|
-
const dispatch = () => dispatchHooks(hostRef, isInitialLoad);
|
2341
|
-
return writeTask(dispatch) ;
|
2342
|
-
};
|
2343
|
-
var dispatchHooks = (hostRef, isInitialLoad) => {
|
2344
|
-
const elm = hostRef.$hostElement$;
|
2345
|
-
const endSchedule = createTime("scheduleUpdate", hostRef.$cmpMeta$.$tagName$);
|
2346
|
-
const instance = hostRef.$lazyInstance$ ;
|
2347
|
-
if (!instance) {
|
2348
|
-
throw new Error(
|
2349
|
-
`Can't render component <${elm.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`
|
2350
|
-
);
|
2351
|
-
}
|
2352
|
-
let maybePromise;
|
2353
|
-
if (isInitialLoad) {
|
2354
|
-
{
|
2355
|
-
hostRef.$flags$ |= 256 /* isListenReady */;
|
2356
|
-
if (hostRef.$queuedListeners$) {
|
2357
|
-
hostRef.$queuedListeners$.map(([methodName, event]) => safeCall(instance, methodName, event, elm));
|
2358
|
-
hostRef.$queuedListeners$ = void 0;
|
2359
|
-
}
|
2360
|
-
}
|
2361
|
-
maybePromise = safeCall(instance, "componentWillLoad", void 0, elm);
|
2362
|
-
} else {
|
2363
|
-
maybePromise = safeCall(instance, "componentWillUpdate", void 0, elm);
|
2364
|
-
}
|
2365
|
-
maybePromise = enqueue(maybePromise, () => safeCall(instance, "componentWillRender", void 0, elm));
|
2366
|
-
endSchedule();
|
2367
|
-
return enqueue(maybePromise, () => updateComponent(hostRef, instance, isInitialLoad));
|
2368
|
-
};
|
2369
|
-
var enqueue = (maybePromise, fn) => isPromisey(maybePromise) ? maybePromise.then(fn).catch((err2) => {
|
2370
|
-
console.error(err2);
|
2371
|
-
fn();
|
2372
|
-
}) : fn();
|
2373
|
-
var isPromisey = (maybePromise) => maybePromise instanceof Promise || maybePromise && maybePromise.then && typeof maybePromise.then === "function";
|
2374
|
-
var updateComponent = async (hostRef, instance, isInitialLoad) => {
|
2375
|
-
var _a;
|
2376
|
-
const elm = hostRef.$hostElement$;
|
2377
|
-
const endUpdate = createTime("update", hostRef.$cmpMeta$.$tagName$);
|
2378
|
-
const rc = elm["s-rc"];
|
2379
|
-
if (isInitialLoad) {
|
2380
|
-
attachStyles(hostRef);
|
2381
|
-
}
|
2382
|
-
const endRender = createTime("render", hostRef.$cmpMeta$.$tagName$);
|
2383
|
-
{
|
2384
|
-
callRender(hostRef, instance, elm, isInitialLoad);
|
2385
|
-
}
|
2386
|
-
if (rc) {
|
2387
|
-
rc.map((cb) => cb());
|
2388
|
-
elm["s-rc"] = void 0;
|
2389
|
-
}
|
2390
|
-
endRender();
|
2391
|
-
endUpdate();
|
2392
|
-
{
|
2393
|
-
const childrenPromises = (_a = elm["s-p"]) != null ? _a : [];
|
2394
|
-
const postUpdate = () => postUpdateComponent(hostRef);
|
2395
|
-
if (childrenPromises.length === 0) {
|
2396
|
-
postUpdate();
|
2397
|
-
} else {
|
2398
|
-
Promise.all(childrenPromises).then(postUpdate);
|
2399
|
-
hostRef.$flags$ |= 4 /* isWaitingForChildren */;
|
2400
|
-
childrenPromises.length = 0;
|
2401
|
-
}
|
2402
|
-
}
|
2403
|
-
};
|
2404
|
-
var renderingRef = null;
|
2405
|
-
var callRender = (hostRef, instance, elm, isInitialLoad) => {
|
2406
|
-
try {
|
2407
|
-
renderingRef = instance;
|
2408
|
-
instance = instance.render() ;
|
2409
|
-
{
|
2410
|
-
hostRef.$flags$ &= ~16 /* isQueuedForUpdate */;
|
2411
|
-
}
|
2412
|
-
{
|
2413
|
-
hostRef.$flags$ |= 2 /* hasRendered */;
|
2414
|
-
}
|
2415
|
-
{
|
2416
|
-
{
|
2417
|
-
{
|
2418
|
-
renderVdom(hostRef, instance, isInitialLoad);
|
2419
|
-
}
|
2420
|
-
}
|
2421
|
-
}
|
2422
|
-
} catch (e) {
|
2423
|
-
consoleError(e, hostRef.$hostElement$);
|
2424
|
-
}
|
2425
|
-
renderingRef = null;
|
2426
|
-
return null;
|
2427
|
-
};
|
2428
|
-
var getRenderingRef = () => renderingRef;
|
2429
|
-
var postUpdateComponent = (hostRef) => {
|
2430
|
-
const tagName = hostRef.$cmpMeta$.$tagName$;
|
2431
|
-
const elm = hostRef.$hostElement$;
|
2432
|
-
const endPostUpdate = createTime("postUpdate", tagName);
|
2433
|
-
const instance = hostRef.$lazyInstance$ ;
|
2434
|
-
const ancestorComponent = hostRef.$ancestorComponent$;
|
2435
|
-
safeCall(instance, "componentDidRender", void 0, elm);
|
2436
|
-
if (!(hostRef.$flags$ & 64 /* hasLoadedComponent */)) {
|
2437
|
-
hostRef.$flags$ |= 64 /* hasLoadedComponent */;
|
2438
|
-
{
|
2439
|
-
addHydratedFlag(elm);
|
2440
|
-
}
|
2441
|
-
safeCall(instance, "componentDidLoad", void 0, elm);
|
2442
|
-
endPostUpdate();
|
2443
|
-
{
|
2444
|
-
hostRef.$onReadyResolve$(elm);
|
2445
|
-
if (!ancestorComponent) {
|
2446
|
-
appDidLoad();
|
2447
|
-
}
|
2448
|
-
}
|
2449
|
-
} else {
|
2450
|
-
safeCall(instance, "componentDidUpdate", void 0, elm);
|
2451
|
-
endPostUpdate();
|
2452
|
-
}
|
2453
|
-
{
|
2454
|
-
hostRef.$onInstanceResolve$(elm);
|
2455
|
-
}
|
2456
|
-
{
|
2457
|
-
if (hostRef.$onRenderResolve$) {
|
2458
|
-
hostRef.$onRenderResolve$();
|
2459
|
-
hostRef.$onRenderResolve$ = void 0;
|
2460
|
-
}
|
2461
|
-
if (hostRef.$flags$ & 512 /* needsRerender */) {
|
2462
|
-
nextTick(() => scheduleUpdate(hostRef, false));
|
2463
|
-
}
|
2464
|
-
hostRef.$flags$ &= ~(4 /* isWaitingForChildren */ | 512 /* needsRerender */);
|
2465
|
-
}
|
2466
|
-
};
|
2467
|
-
var forceUpdate = (ref) => {
|
2468
|
-
{
|
2469
|
-
const hostRef = getHostRef(ref);
|
2470
|
-
const isConnected = hostRef.$hostElement$.isConnected;
|
2471
|
-
if (isConnected && (hostRef.$flags$ & (2 /* hasRendered */ | 16 /* isQueuedForUpdate */)) === 2 /* hasRendered */) {
|
2472
|
-
scheduleUpdate(hostRef, false);
|
2473
|
-
}
|
2474
|
-
return isConnected;
|
2475
|
-
}
|
2476
|
-
};
|
2477
|
-
var appDidLoad = (who) => {
|
2478
|
-
nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
|
2479
|
-
};
|
2480
|
-
var safeCall = (instance, method, arg, elm) => {
|
2481
|
-
if (instance && instance[method]) {
|
2482
|
-
try {
|
2483
|
-
return instance[method](arg);
|
2484
|
-
} catch (e) {
|
2485
|
-
consoleError(e, elm);
|
2486
|
-
}
|
2487
|
-
}
|
2488
|
-
return void 0;
|
2489
|
-
};
|
2490
|
-
var addHydratedFlag = (elm) => {
|
2491
|
-
var _a;
|
2492
|
-
return elm.classList.add((_a = BUILD.hydratedSelectorName) != null ? _a : "hydrated") ;
|
2493
|
-
};
|
2494
|
-
|
2495
|
-
// src/runtime/set-value.ts
|
2496
|
-
var getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propName);
|
2497
|
-
var setValue = (ref, propName, newVal, cmpMeta) => {
|
2498
|
-
const hostRef = getHostRef(ref);
|
2499
|
-
if (!hostRef) {
|
2500
|
-
throw new Error(
|
2501
|
-
`Couldn't find host element for "${cmpMeta.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`
|
2502
|
-
);
|
2503
|
-
}
|
2504
|
-
const elm = hostRef.$hostElement$ ;
|
2505
|
-
const oldVal = hostRef.$instanceValues$.get(propName);
|
2506
|
-
const flags = hostRef.$flags$;
|
2507
|
-
const instance = hostRef.$lazyInstance$ ;
|
2508
|
-
newVal = parsePropertyValue(newVal, cmpMeta.$members$[propName][0]);
|
2509
|
-
const areBothNaN = Number.isNaN(oldVal) && Number.isNaN(newVal);
|
2510
|
-
const didValueChange = newVal !== oldVal && !areBothNaN;
|
2511
|
-
if ((!(flags & 8 /* isConstructingInstance */) || oldVal === void 0) && didValueChange) {
|
2512
|
-
hostRef.$instanceValues$.set(propName, newVal);
|
2513
|
-
if (instance) {
|
2514
|
-
if (cmpMeta.$watchers$ && flags & 128 /* isWatchReady */) {
|
2515
|
-
const watchMethods = cmpMeta.$watchers$[propName];
|
2516
|
-
if (watchMethods) {
|
2517
|
-
watchMethods.map((watchMethodName) => {
|
2518
|
-
try {
|
2519
|
-
instance[watchMethodName](newVal, oldVal, propName);
|
2520
|
-
} catch (e) {
|
2521
|
-
consoleError(e, elm);
|
2522
|
-
}
|
2523
|
-
});
|
2524
|
-
}
|
2525
|
-
}
|
2526
|
-
if ((flags & (2 /* hasRendered */ | 16 /* isQueuedForUpdate */)) === 2 /* hasRendered */) {
|
2527
|
-
if (instance.componentShouldUpdate) {
|
2528
|
-
if (instance.componentShouldUpdate(newVal, oldVal, propName) === false) {
|
2529
|
-
return;
|
2530
|
-
}
|
2531
|
-
}
|
2532
|
-
scheduleUpdate(hostRef, false);
|
2533
|
-
}
|
2534
|
-
}
|
2535
|
-
}
|
2536
|
-
};
|
2537
|
-
|
2538
|
-
// src/runtime/proxy-component.ts
|
2539
|
-
var proxyComponent = (Cstr, cmpMeta, flags) => {
|
2540
|
-
var _a, _b;
|
2541
|
-
const prototype = Cstr.prototype;
|
2542
|
-
if (cmpMeta.$members$ || (cmpMeta.$watchers$ || Cstr.watchers)) {
|
2543
|
-
if (Cstr.watchers && !cmpMeta.$watchers$) {
|
2544
|
-
cmpMeta.$watchers$ = Cstr.watchers;
|
2545
|
-
}
|
2546
|
-
const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
|
2547
|
-
members.map(([memberName, [memberFlags]]) => {
|
2548
|
-
if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
|
2549
|
-
const { get: origGetter, set: origSetter } = Object.getOwnPropertyDescriptor(prototype, memberName) || {};
|
2550
|
-
if (origGetter) cmpMeta.$members$[memberName][0] |= 2048 /* Getter */;
|
2551
|
-
if (origSetter) cmpMeta.$members$[memberName][0] |= 4096 /* Setter */;
|
2552
|
-
if (flags & 1 /* isElementConstructor */ || !origGetter) {
|
2553
|
-
Object.defineProperty(prototype, memberName, {
|
2554
|
-
get() {
|
2555
|
-
{
|
2556
|
-
if ((cmpMeta.$members$[memberName][0] & 2048 /* Getter */) === 0) {
|
2557
|
-
return getValue(this, memberName);
|
2558
|
-
}
|
2559
|
-
const ref = getHostRef(this);
|
2560
|
-
const instance = ref ? ref.$lazyInstance$ : prototype;
|
2561
|
-
if (!instance) return;
|
2562
|
-
return instance[memberName];
|
2563
|
-
}
|
2564
|
-
},
|
2565
|
-
configurable: true,
|
2566
|
-
enumerable: true
|
2567
|
-
});
|
2568
|
-
}
|
2569
|
-
Object.defineProperty(prototype, memberName, {
|
2570
|
-
set(newValue) {
|
2571
|
-
const ref = getHostRef(this);
|
2572
|
-
if (origSetter) {
|
2573
|
-
const currentValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
|
2574
|
-
if (typeof currentValue === "undefined" && ref.$instanceValues$.get(memberName)) {
|
2575
|
-
newValue = ref.$instanceValues$.get(memberName);
|
2576
|
-
} else if (!ref.$instanceValues$.get(memberName) && currentValue) {
|
2577
|
-
ref.$instanceValues$.set(memberName, currentValue);
|
2578
|
-
}
|
2579
|
-
origSetter.apply(this, [parsePropertyValue(newValue, memberFlags)]);
|
2580
|
-
newValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
|
2581
|
-
setValue(this, memberName, newValue, cmpMeta);
|
2582
|
-
return;
|
2583
|
-
}
|
2584
|
-
{
|
2585
|
-
if ((flags & 1 /* isElementConstructor */) === 0 || (cmpMeta.$members$[memberName][0] & 4096 /* Setter */) === 0) {
|
2586
|
-
setValue(this, memberName, newValue, cmpMeta);
|
2587
|
-
if (flags & 1 /* isElementConstructor */ && !ref.$lazyInstance$) {
|
2588
|
-
ref.$onReadyPromise$.then(() => {
|
2589
|
-
if (cmpMeta.$members$[memberName][0] & 4096 /* Setter */ && ref.$lazyInstance$[memberName] !== ref.$instanceValues$.get(memberName)) {
|
2590
|
-
ref.$lazyInstance$[memberName] = newValue;
|
2591
|
-
}
|
2592
|
-
});
|
2593
|
-
}
|
2594
|
-
return;
|
2595
|
-
}
|
2596
|
-
const setterSetVal = () => {
|
2597
|
-
const currentValue = ref.$lazyInstance$[memberName];
|
2598
|
-
if (!ref.$instanceValues$.get(memberName) && currentValue) {
|
2599
|
-
ref.$instanceValues$.set(memberName, currentValue);
|
2600
|
-
}
|
2601
|
-
ref.$lazyInstance$[memberName] = parsePropertyValue(newValue, memberFlags);
|
2602
|
-
setValue(this, memberName, ref.$lazyInstance$[memberName], cmpMeta);
|
2603
|
-
};
|
2604
|
-
if (ref.$lazyInstance$) {
|
2605
|
-
setterSetVal();
|
2606
|
-
} else {
|
2607
|
-
ref.$onReadyPromise$.then(() => setterSetVal());
|
2608
|
-
}
|
2609
|
-
}
|
2610
|
-
}
|
2611
|
-
});
|
2612
|
-
} else if (flags & 1 /* isElementConstructor */ && memberFlags & 64 /* Method */) {
|
2613
|
-
Object.defineProperty(prototype, memberName, {
|
2614
|
-
value(...args) {
|
2615
|
-
var _a2;
|
2616
|
-
const ref = getHostRef(this);
|
2617
|
-
return (_a2 = ref == null ? void 0 : ref.$onInstancePromise$) == null ? void 0 : _a2.then(() => {
|
2618
|
-
var _a3;
|
2619
|
-
return (_a3 = ref.$lazyInstance$) == null ? void 0 : _a3[memberName](...args);
|
2620
|
-
});
|
2621
|
-
}
|
2622
|
-
});
|
2623
|
-
}
|
2624
|
-
});
|
2625
|
-
if ((flags & 1 /* isElementConstructor */)) {
|
2626
|
-
const attrNameToPropName = /* @__PURE__ */ new Map();
|
2627
|
-
prototype.attributeChangedCallback = function(attrName, oldValue, newValue) {
|
2628
|
-
plt.jmp(() => {
|
2629
|
-
var _a2;
|
2630
|
-
const propName = attrNameToPropName.get(attrName);
|
2631
|
-
if (this.hasOwnProperty(propName) && BUILD.lazyLoad) {
|
2632
|
-
newValue = this[propName];
|
2633
|
-
delete this[propName];
|
2634
|
-
} else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
|
2635
|
-
this[propName] == newValue) {
|
2636
|
-
return;
|
2637
|
-
} else if (propName == null) {
|
2638
|
-
const hostRef = getHostRef(this);
|
2639
|
-
const flags2 = hostRef == null ? void 0 : hostRef.$flags$;
|
2640
|
-
if (flags2 && !(flags2 & 8 /* isConstructingInstance */) && flags2 & 128 /* isWatchReady */ && newValue !== oldValue) {
|
2641
|
-
const instance = hostRef.$lazyInstance$ ;
|
2642
|
-
const entry = (_a2 = cmpMeta.$watchers$) == null ? void 0 : _a2[attrName];
|
2643
|
-
entry == null ? void 0 : entry.forEach((callbackName) => {
|
2644
|
-
if (instance[callbackName] != null) {
|
2645
|
-
instance[callbackName].call(instance, newValue, oldValue, attrName);
|
2646
|
-
}
|
2647
|
-
});
|
2648
|
-
}
|
2649
|
-
return;
|
2650
|
-
}
|
2651
|
-
const propDesc = Object.getOwnPropertyDescriptor(prototype, propName);
|
2652
|
-
newValue = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
|
2653
|
-
if (newValue !== this[propName] && (!propDesc.get || !!propDesc.set)) {
|
2654
|
-
this[propName] = newValue;
|
2655
|
-
}
|
2656
|
-
});
|
2657
|
-
};
|
2658
|
-
Cstr.observedAttributes = Array.from(
|
2659
|
-
/* @__PURE__ */ new Set([
|
2660
|
-
...Object.keys((_b = cmpMeta.$watchers$) != null ? _b : {}),
|
2661
|
-
...members.filter(([_, m]) => m[0] & 15 /* HasAttribute */).map(([propName, m]) => {
|
2662
|
-
var _a2;
|
2663
|
-
const attrName = m[1] || propName;
|
2664
|
-
attrNameToPropName.set(attrName, propName);
|
2665
|
-
if (m[0] & 512 /* ReflectAttr */) {
|
2666
|
-
(_a2 = cmpMeta.$attrsToReflect$) == null ? void 0 : _a2.push([propName, attrName]);
|
2667
|
-
}
|
2668
|
-
return attrName;
|
2669
|
-
})
|
2670
|
-
])
|
2671
|
-
);
|
2672
|
-
}
|
2673
|
-
}
|
2674
|
-
return Cstr;
|
2675
|
-
};
|
2676
|
-
|
2677
|
-
// src/runtime/initialize-component.ts
|
2678
|
-
var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
2679
|
-
let Cstr;
|
2680
|
-
if ((hostRef.$flags$ & 32 /* hasInitializedComponent */) === 0) {
|
2681
|
-
hostRef.$flags$ |= 32 /* hasInitializedComponent */;
|
2682
|
-
const bundleId = cmpMeta.$lazyBundleId$;
|
2683
|
-
if (bundleId) {
|
2684
|
-
const CstrImport = loadModule(cmpMeta, hostRef);
|
2685
|
-
if (CstrImport && "then" in CstrImport) {
|
2686
|
-
const endLoad = uniqueTime();
|
2687
|
-
Cstr = await CstrImport;
|
2688
|
-
endLoad();
|
2689
|
-
} else {
|
2690
|
-
Cstr = CstrImport;
|
2691
|
-
}
|
2692
|
-
if (!Cstr) {
|
2693
|
-
throw new Error(`Constructor for "${cmpMeta.$tagName$}#${hostRef.$modeName$}" was not found`);
|
2694
|
-
}
|
2695
|
-
if (!Cstr.isProxied) {
|
2696
|
-
{
|
2697
|
-
cmpMeta.$watchers$ = Cstr.watchers;
|
2698
|
-
}
|
2699
|
-
proxyComponent(Cstr, cmpMeta, 2 /* proxyState */);
|
2700
|
-
Cstr.isProxied = true;
|
2701
|
-
}
|
2702
|
-
const endNewInstance = createTime("createInstance", cmpMeta.$tagName$);
|
2703
|
-
{
|
2704
|
-
hostRef.$flags$ |= 8 /* isConstructingInstance */;
|
2705
|
-
}
|
2706
|
-
try {
|
2707
|
-
new Cstr(hostRef);
|
2708
|
-
} catch (e) {
|
2709
|
-
consoleError(e, elm);
|
2710
|
-
}
|
2711
|
-
{
|
2712
|
-
hostRef.$flags$ &= ~8 /* isConstructingInstance */;
|
2713
|
-
}
|
2714
|
-
{
|
2715
|
-
hostRef.$flags$ |= 128 /* isWatchReady */;
|
2716
|
-
}
|
2717
|
-
endNewInstance();
|
2718
|
-
fireConnectedCallback(hostRef.$lazyInstance$, elm);
|
2719
|
-
} else {
|
2720
|
-
Cstr = elm.constructor;
|
2721
|
-
const cmpTag = elm.localName;
|
2722
|
-
customElements.whenDefined(cmpTag).then(() => hostRef.$flags$ |= 128 /* isWatchReady */);
|
2723
|
-
}
|
2724
|
-
if (Cstr && Cstr.style) {
|
2725
|
-
let style;
|
2726
|
-
if (typeof Cstr.style === "string") {
|
2727
|
-
style = Cstr.style;
|
2728
|
-
}
|
2729
|
-
const scopeId2 = getScopeId(cmpMeta);
|
2730
|
-
if (!styles.has(scopeId2)) {
|
2731
|
-
const endRegisterStyles = createTime("registerStyles", cmpMeta.$tagName$);
|
2732
|
-
registerStyle(scopeId2, style, !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */));
|
2733
|
-
endRegisterStyles();
|
2734
|
-
}
|
2735
|
-
}
|
2736
|
-
}
|
2737
|
-
const ancestorComponent = hostRef.$ancestorComponent$;
|
2738
|
-
const schedule = () => scheduleUpdate(hostRef, true);
|
2739
|
-
if (ancestorComponent && ancestorComponent["s-rc"]) {
|
2740
|
-
ancestorComponent["s-rc"].push(schedule);
|
2741
|
-
} else {
|
2742
|
-
schedule();
|
2743
|
-
}
|
2744
|
-
};
|
2745
|
-
var fireConnectedCallback = (instance, elm) => {
|
2746
|
-
{
|
2747
|
-
safeCall(instance, "connectedCallback", void 0, elm);
|
2748
|
-
}
|
2749
|
-
};
|
2750
|
-
|
2751
|
-
// src/runtime/connected-callback.ts
|
2752
|
-
var connectedCallback = (elm) => {
|
2753
|
-
if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
|
2754
|
-
const hostRef = getHostRef(elm);
|
2755
|
-
const cmpMeta = hostRef.$cmpMeta$;
|
2756
|
-
const endConnected = createTime("connectedCallback", cmpMeta.$tagName$);
|
2757
|
-
if (!(hostRef.$flags$ & 1 /* hasConnected */)) {
|
2758
|
-
hostRef.$flags$ |= 1 /* hasConnected */;
|
2759
|
-
let hostId;
|
2760
|
-
{
|
2761
|
-
hostId = elm.getAttribute(HYDRATE_ID);
|
2762
|
-
if (hostId) {
|
2763
|
-
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
|
2764
|
-
const scopeId2 = addStyle(elm.shadowRoot, cmpMeta);
|
2765
|
-
elm.classList.remove(scopeId2 + "-h", scopeId2 + "-s");
|
2766
|
-
} else if (cmpMeta.$flags$ & 2 /* scopedCssEncapsulation */) {
|
2767
|
-
const scopeId2 = getScopeId(cmpMeta);
|
2768
|
-
elm["s-sc"] = scopeId2;
|
2769
|
-
}
|
2770
|
-
initializeClientHydrate(elm, cmpMeta.$tagName$, hostId, hostRef);
|
2771
|
-
}
|
2772
|
-
}
|
2773
|
-
if (!hostId) {
|
2774
|
-
if (// TODO(STENCIL-854): Remove code related to legacy shadowDomShim field
|
2775
|
-
cmpMeta.$flags$ & (4 /* hasSlotRelocation */ | 8 /* needsShadowDomShim */)) {
|
2776
|
-
setContentReference(elm);
|
2777
|
-
}
|
2778
|
-
}
|
2779
|
-
{
|
2780
|
-
let ancestorComponent = elm;
|
2781
|
-
while (ancestorComponent = ancestorComponent.parentNode || ancestorComponent.host) {
|
2782
|
-
if (ancestorComponent.nodeType === 1 /* ElementNode */ && ancestorComponent.hasAttribute("s-id") && ancestorComponent["s-p"] || ancestorComponent["s-p"]) {
|
2783
|
-
attachToAncestor(hostRef, hostRef.$ancestorComponent$ = ancestorComponent);
|
2784
|
-
break;
|
2785
|
-
}
|
2786
|
-
}
|
2787
|
-
}
|
2788
|
-
if (cmpMeta.$members$) {
|
2789
|
-
Object.entries(cmpMeta.$members$).map(([memberName, [memberFlags]]) => {
|
2790
|
-
if (memberFlags & 31 /* Prop */ && elm.hasOwnProperty(memberName)) {
|
2791
|
-
const value = elm[memberName];
|
2792
|
-
delete elm[memberName];
|
2793
|
-
elm[memberName] = value;
|
2794
|
-
}
|
2795
|
-
});
|
2796
|
-
}
|
2797
|
-
{
|
2798
|
-
initializeComponent(elm, hostRef, cmpMeta);
|
2799
|
-
}
|
2800
|
-
} else {
|
2801
|
-
addHostEventListeners(elm, hostRef, cmpMeta.$listeners$);
|
2802
|
-
if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
|
2803
|
-
fireConnectedCallback(hostRef.$lazyInstance$, elm);
|
2804
|
-
} else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
|
2805
|
-
hostRef.$onReadyPromise$.then(() => fireConnectedCallback(hostRef.$lazyInstance$, elm));
|
2806
|
-
}
|
2807
|
-
}
|
2808
|
-
endConnected();
|
2809
|
-
}
|
2810
|
-
};
|
2811
|
-
var setContentReference = (elm) => {
|
2812
|
-
if (!win.document) {
|
2813
|
-
return;
|
2814
|
-
}
|
2815
|
-
const contentRefElm = elm["s-cr"] = win.document.createComment(
|
2816
|
-
""
|
2817
|
-
);
|
2818
|
-
contentRefElm["s-cn"] = true;
|
2819
|
-
insertBefore(elm, contentRefElm, elm.firstChild);
|
2820
|
-
};
|
2821
|
-
var disconnectInstance = (instance, elm) => {
|
2822
|
-
{
|
2823
|
-
safeCall(instance, "disconnectedCallback", void 0, elm || instance);
|
2824
|
-
}
|
2825
|
-
};
|
2826
|
-
var disconnectedCallback = async (elm) => {
|
2827
|
-
if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
|
2828
|
-
const hostRef = getHostRef(elm);
|
2829
|
-
{
|
2830
|
-
if (hostRef.$rmListeners$) {
|
2831
|
-
hostRef.$rmListeners$.map((rmListener) => rmListener());
|
2832
|
-
hostRef.$rmListeners$ = void 0;
|
2833
|
-
}
|
2834
|
-
}
|
2835
|
-
if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
|
2836
|
-
disconnectInstance(hostRef.$lazyInstance$, elm);
|
2837
|
-
} else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
|
2838
|
-
hostRef.$onReadyPromise$.then(() => disconnectInstance(hostRef.$lazyInstance$, elm));
|
2839
|
-
}
|
2840
|
-
}
|
2841
|
-
if (rootAppliedStyles.has(elm)) {
|
2842
|
-
rootAppliedStyles.delete(elm);
|
2843
|
-
}
|
2844
|
-
if (elm.shadowRoot && rootAppliedStyles.has(elm.shadowRoot)) {
|
2845
|
-
rootAppliedStyles.delete(elm.shadowRoot);
|
2846
|
-
}
|
2847
|
-
};
|
2848
|
-
|
2849
|
-
// src/runtime/bootstrap-lazy.ts
|
2850
|
-
var bootstrapLazy = (lazyBundles, options = {}) => {
|
2851
|
-
var _a;
|
2852
|
-
if (!win.document) {
|
2853
|
-
console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");
|
2854
|
-
return;
|
2855
|
-
}
|
2856
|
-
const endBootstrap = createTime();
|
2857
|
-
const cmpTags = [];
|
2858
|
-
const exclude = options.exclude || [];
|
2859
|
-
const customElements2 = win.customElements;
|
2860
|
-
const head = win.document.head;
|
2861
|
-
const metaCharset = /* @__PURE__ */ head.querySelector("meta[charset]");
|
2862
|
-
const dataStyles = /* @__PURE__ */ win.document.createElement("style");
|
2863
|
-
const deferredConnectedCallbacks = [];
|
2864
|
-
let appLoadFallback;
|
2865
|
-
let isBootstrapping = true;
|
2866
|
-
Object.assign(plt, options);
|
2867
|
-
plt.$resourcesUrl$ = new URL(options.resourcesUrl || "./", win.document.baseURI).href;
|
2868
|
-
{
|
2869
|
-
plt.$flags$ |= 2 /* appLoaded */;
|
2870
|
-
}
|
2871
|
-
{
|
2872
|
-
hydrateScopedToShadow();
|
2873
|
-
}
|
2874
|
-
let hasSlotRelocation = false;
|
2875
|
-
lazyBundles.map((lazyBundle) => {
|
2876
|
-
lazyBundle[1].map((compactMeta) => {
|
2877
|
-
var _a2;
|
2878
|
-
const cmpMeta = {
|
2879
|
-
$flags$: compactMeta[0],
|
2880
|
-
$tagName$: compactMeta[1],
|
2881
|
-
$members$: compactMeta[2],
|
2882
|
-
$listeners$: compactMeta[3]
|
2883
|
-
};
|
2884
|
-
if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
|
2885
|
-
hasSlotRelocation = true;
|
2886
|
-
}
|
2887
|
-
{
|
2888
|
-
cmpMeta.$members$ = compactMeta[2];
|
2889
|
-
}
|
2890
|
-
{
|
2891
|
-
cmpMeta.$listeners$ = compactMeta[3];
|
2892
|
-
}
|
2893
|
-
{
|
2894
|
-
cmpMeta.$attrsToReflect$ = [];
|
2895
|
-
}
|
2896
|
-
{
|
2897
|
-
cmpMeta.$watchers$ = (_a2 = compactMeta[4]) != null ? _a2 : {};
|
2898
|
-
}
|
2899
|
-
const tagName = options.transformTagName ? options.transformTagName(cmpMeta.$tagName$) : cmpMeta.$tagName$;
|
2900
|
-
const HostElement = class extends HTMLElement {
|
2901
|
-
// StencilLazyHost
|
2902
|
-
constructor(self) {
|
2903
|
-
super(self);
|
2904
|
-
this.hasRegisteredEventListeners = false;
|
2905
|
-
self = this;
|
2906
|
-
registerHost(self, cmpMeta);
|
2907
|
-
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
|
2908
|
-
{
|
2909
|
-
if (!self.shadowRoot) {
|
2910
|
-
{
|
2911
|
-
self.attachShadow({ mode: "open" });
|
2912
|
-
}
|
2913
|
-
} else {
|
2914
|
-
if (self.shadowRoot.mode !== "open") {
|
2915
|
-
throw new Error(
|
2916
|
-
`Unable to re-use existing shadow root for ${cmpMeta.$tagName$}! Mode is set to ${self.shadowRoot.mode} but Stencil only supports open shadow roots.`
|
2917
|
-
);
|
2918
|
-
}
|
2919
|
-
}
|
2920
|
-
}
|
2921
|
-
}
|
2922
|
-
}
|
2923
|
-
connectedCallback() {
|
2924
|
-
const hostRef = getHostRef(this);
|
2925
|
-
if (!this.hasRegisteredEventListeners) {
|
2926
|
-
this.hasRegisteredEventListeners = true;
|
2927
|
-
addHostEventListeners(this, hostRef, cmpMeta.$listeners$);
|
2928
|
-
}
|
2929
|
-
if (appLoadFallback) {
|
2930
|
-
clearTimeout(appLoadFallback);
|
2931
|
-
appLoadFallback = null;
|
2932
|
-
}
|
2933
|
-
if (isBootstrapping) {
|
2934
|
-
deferredConnectedCallbacks.push(this);
|
2935
|
-
} else {
|
2936
|
-
plt.jmp(() => connectedCallback(this));
|
2937
|
-
}
|
2938
|
-
}
|
2939
|
-
disconnectedCallback() {
|
2940
|
-
plt.jmp(() => disconnectedCallback(this));
|
2941
|
-
plt.raf(() => {
|
2942
|
-
var _a3;
|
2943
|
-
const hostRef = getHostRef(this);
|
2944
|
-
const i2 = deferredConnectedCallbacks.findIndex((host) => host === this);
|
2945
|
-
if (i2 > -1) {
|
2946
|
-
deferredConnectedCallbacks.splice(i2, 1);
|
2947
|
-
}
|
2948
|
-
if (((_a3 = hostRef == null ? void 0 : hostRef.$vnode$) == null ? void 0 : _a3.$elm$) instanceof Node && !hostRef.$vnode$.$elm$.isConnected) {
|
2949
|
-
delete hostRef.$vnode$.$elm$;
|
2950
|
-
}
|
2951
|
-
});
|
2952
|
-
}
|
2953
|
-
componentOnReady() {
|
2954
|
-
return getHostRef(this).$onReadyPromise$;
|
2955
|
-
}
|
2956
|
-
};
|
2957
|
-
{
|
2958
|
-
if (cmpMeta.$flags$ & 2 /* scopedCssEncapsulation */) {
|
2959
|
-
patchPseudoShadowDom(HostElement.prototype);
|
2960
|
-
}
|
2961
|
-
}
|
2962
|
-
cmpMeta.$lazyBundleId$ = lazyBundle[0];
|
2963
|
-
if (!exclude.includes(tagName) && !customElements2.get(tagName)) {
|
2964
|
-
cmpTags.push(tagName);
|
2965
|
-
customElements2.define(
|
2966
|
-
tagName,
|
2967
|
-
proxyComponent(HostElement, cmpMeta, 1 /* isElementConstructor */)
|
2968
|
-
);
|
2969
|
-
}
|
2970
|
-
});
|
2971
|
-
});
|
2972
|
-
if (cmpTags.length > 0) {
|
2973
|
-
if (hasSlotRelocation) {
|
2974
|
-
dataStyles.textContent += SLOT_FB_CSS;
|
2975
|
-
}
|
2976
|
-
{
|
2977
|
-
dataStyles.textContent += cmpTags.sort() + HYDRATED_CSS;
|
2978
|
-
}
|
2979
|
-
if (dataStyles.innerHTML.length) {
|
2980
|
-
dataStyles.setAttribute("data-styles", "");
|
2981
|
-
const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(win.document);
|
2982
|
-
if (nonce != null) {
|
2983
|
-
dataStyles.setAttribute("nonce", nonce);
|
2984
|
-
}
|
2985
|
-
head.insertBefore(dataStyles, metaCharset ? metaCharset.nextSibling : head.firstChild);
|
2986
|
-
}
|
2987
|
-
}
|
2988
|
-
isBootstrapping = false;
|
2989
|
-
if (deferredConnectedCallbacks.length) {
|
2990
|
-
deferredConnectedCallbacks.map((host) => host.connectedCallback());
|
2991
|
-
} else {
|
2992
|
-
{
|
2993
|
-
plt.jmp(() => appLoadFallback = setTimeout(appDidLoad, 30));
|
2994
|
-
}
|
2995
|
-
}
|
2996
|
-
endBootstrap();
|
2997
|
-
};
|
2998
|
-
|
2999
|
-
// src/runtime/fragment.ts
|
3000
|
-
var Fragment = (_, children) => children;
|
3001
|
-
var addHostEventListeners = (elm, hostRef, listeners, attachParentListeners) => {
|
3002
|
-
if (listeners && win.document) {
|
3003
|
-
listeners.map(([flags, name, method]) => {
|
3004
|
-
const target = getHostListenerTarget(win.document, elm, flags) ;
|
3005
|
-
const handler = hostListenerProxy(hostRef, method);
|
3006
|
-
const opts = hostListenerOpts(flags);
|
3007
|
-
plt.ael(target, name, handler, opts);
|
3008
|
-
(hostRef.$rmListeners$ = hostRef.$rmListeners$ || []).push(() => plt.rel(target, name, handler, opts));
|
3009
|
-
});
|
3010
|
-
}
|
3011
|
-
};
|
3012
|
-
var hostListenerProxy = (hostRef, methodName) => (ev) => {
|
3013
|
-
var _a;
|
3014
|
-
try {
|
3015
|
-
{
|
3016
|
-
if (hostRef.$flags$ & 256 /* isListenReady */) {
|
3017
|
-
(_a = hostRef.$lazyInstance$) == null ? void 0 : _a[methodName](ev);
|
3018
|
-
} else {
|
3019
|
-
(hostRef.$queuedListeners$ = hostRef.$queuedListeners$ || []).push([methodName, ev]);
|
3020
|
-
}
|
3021
|
-
}
|
3022
|
-
} catch (e) {
|
3023
|
-
consoleError(e, hostRef.$hostElement$);
|
3024
|
-
}
|
3025
|
-
};
|
3026
|
-
var getHostListenerTarget = (doc, elm, flags) => {
|
3027
|
-
if (flags & 8 /* TargetWindow */) {
|
3028
|
-
return win;
|
3029
|
-
}
|
3030
|
-
if (flags & 16 /* TargetBody */) {
|
3031
|
-
return doc.body;
|
3032
|
-
}
|
3033
|
-
return elm;
|
3034
|
-
};
|
3035
|
-
var hostListenerOpts = (flags) => supportsListenerOptions ? {
|
3036
|
-
passive: (flags & 1 /* Passive */) !== 0,
|
3037
|
-
capture: (flags & 2 /* Capture */) !== 0
|
3038
|
-
} : (flags & 2 /* Capture */) !== 0;
|
3039
|
-
|
3040
|
-
// src/runtime/nonce.ts
|
3041
|
-
var setNonce = (nonce) => plt.$nonce$ = nonce;
|
3042
|
-
|
3043
|
-
export { Build as B, Fragment as F, H, NAMESPACE as N, Host as a, bootstrapLazy as b, createEvent as c, writeTask as d, readTask as e, getRenderingRef as f, getElement as g, h, forceUpdate as i, getAssetPath as j, consoleError as k, promiseResolve as p, registerInstance as r, setNonce as s, win as w };
|
3044
|
-
|
3045
|
-
//# sourceMappingURL=index-6cc72cd9.js.map
|