@postnord/pn-marketweb-components 4.1.0 → 4.1.2
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/cjs/{HeadingTag-19376e1f.js → HeadingTag-190a9892.js} +2 -2
- package/cjs/{HeadingTag-19376e1f.js.map → HeadingTag-190a9892.js.map} +1 -1
- package/cjs/{index-b02670c2.js → index-9a9efa1c.js} +10 -4
- package/cjs/index-9a9efa1c.js.map +1 -0
- package/cjs/{index-4067c6a5.js → index-a8de2b09.js} +2 -2
- package/cjs/{index-4067c6a5.js.map → index-a8de2b09.js.map} +1 -1
- package/cjs/index.cjs.js +1 -1
- package/cjs/loader.cjs.js +2 -2
- package/cjs/pn-address-autofill.cjs.entry.js +1 -1
- package/cjs/pn-animated-tile.cjs.entry.js +1 -1
- package/cjs/pn-app-banner.cjs.entry.js +1 -1
- package/cjs/pn-bonus-progressbar-level.cjs.entry.js +1 -1
- package/cjs/pn-bonus-progressbar.cjs.entry.js +1 -1
- package/cjs/pn-breakpoints.cjs.entry.js +1 -1
- package/cjs/pn-chart.cjs.entry.js +1 -1
- package/cjs/pn-charts-card.cjs.entry.js +1 -1
- package/cjs/pn-chat-message_2.cjs.entry.js +1 -1
- package/cjs/pn-chat.cjs.entry.js +1 -1
- package/cjs/pn-choice-button.cjs.entry.js +1 -1
- package/cjs/pn-cta-block.cjs.entry.js +1 -1
- package/cjs/pn-customernumber-selector-option.cjs.entry.js +1 -1
- package/cjs/pn-customernumber-selector.cjs.entry.js +1 -1
- package/cjs/pn-date-and-time.cjs.entry.js +1 -1
- package/cjs/pn-dropdown-choice-adds-row.cjs.entry.js +18 -4
- package/cjs/pn-dropdown-choice-adds-row.cjs.entry.js.map +1 -1
- package/cjs/pn-dropdown-with-multi-input-rows-row.cjs.entry.js +1 -1
- package/cjs/pn-dropdown-with-multi-input-rows.cjs.entry.js +1 -1
- package/cjs/pn-filter-checkbox.cjs.entry.js +1 -1
- package/cjs/pn-find-price-result.cjs.entry.js +3 -3
- package/cjs/{pn-find-price-store-0c8256c7.js → pn-find-price-store-880fb647.js} +2 -2
- package/cjs/{pn-find-price-store-0c8256c7.js.map → pn-find-price-store-880fb647.js.map} +1 -1
- package/cjs/pn-find-price.cjs.entry.js +3 -3
- package/cjs/pn-find-service-and-price-result.cjs.entry.js +3 -3
- package/cjs/{pn-find-service-and-price-store-13f060e0.js → pn-find-service-and-price-store-1b5945fe.js} +2 -2
- package/cjs/{pn-find-service-and-price-store-13f060e0.js.map → pn-find-service-and-price-store-1b5945fe.js.map} +1 -1
- package/cjs/pn-find-service-and-price.cjs.entry.js +3 -3
- package/cjs/pn-hero-block-international.cjs.entry.js +1 -1
- package/cjs/pn-language-selector_9.cjs.entry.js +4 -4
- package/cjs/pn-level-up-modal.cjs.entry.js +11 -5
- package/cjs/pn-level-up-modal.cjs.entry.js.map +1 -1
- package/cjs/pn-level-up.cjs.entry.js +11 -9
- package/cjs/pn-level-up.cjs.entry.js.map +1 -1
- package/cjs/pn-line-shape.cjs.entry.js +1 -1
- package/cjs/pn-link-list.cjs.entry.js +1 -1
- package/cjs/pn-mainnav-link.cjs.entry.js +3 -3
- package/cjs/{pn-mainnav-store-5732f3ca.js → pn-mainnav-store-13aaa243.js} +2 -2
- package/cjs/{pn-mainnav-store-5732f3ca.js.map → pn-mainnav-store-13aaa243.js.map} +1 -1
- package/cjs/pn-market-web-components.cjs.js +2 -2
- package/cjs/pn-marketweb-icon.cjs.entry.js +1 -1
- package/cjs/pn-marketweb-input.cjs.entry.js +1 -1
- package/cjs/pn-marketweb-search.cjs.entry.js +1 -1
- package/cjs/pn-marketweb-sitefooter.cjs.entry.js +2 -2
- package/cjs/pn-marketweb-siteheader-login-button_4.cjs.entry.js +3 -3
- package/cjs/pn-marketweb-siteheader-login-linklist.cjs.entry.js +3 -3
- package/cjs/pn-marketweb-siteheader-login-mypage-button.cjs.entry.js +1 -1
- package/cjs/{pn-marketweb-siteheader-store-ce9d9ac7.js → pn-marketweb-siteheader-store-7548aafe.js} +2 -2
- package/cjs/{pn-marketweb-siteheader-store-ce9d9ac7.js.map → pn-marketweb-siteheader-store-7548aafe.js.map} +1 -1
- package/cjs/pn-marketweb-siteheader.cjs.entry.js +3 -3
- package/cjs/pn-marketweb-table.cjs.entry.js +2 -2
- package/cjs/pn-media-block.cjs.entry.js +2 -2
- package/cjs/pn-multi-row-connected-dropdown-row.cjs.entry.js +1 -1
- package/cjs/pn-multi-row-connected-dropdown.cjs.entry.js +1 -1
- package/cjs/pn-multiple-input.cjs.entry.js +1 -1
- package/cjs/pn-parcel-tracker.cjs.entry.js +1 -1
- package/cjs/pn-pex-pricefinder.cjs.entry.js +1 -1
- package/cjs/pn-play-on-scroll.cjs.entry.js +1 -1
- package/cjs/pn-product-card_3.cjs.entry.js +1 -1
- package/cjs/pn-product-pricelist-result.cjs.entry.js +2 -2
- package/cjs/pn-product-pricelist.cjs.entry.js +3 -3
- package/cjs/pn-product-tile-info_2.cjs.entry.js +1 -1
- package/cjs/pn-product-tile.cjs.entry.js +1 -1
- package/cjs/pn-profile-modal-customernumber.cjs.entry.js +1 -1
- package/cjs/pn-profile-modal-profile.cjs.entry.js +3 -3
- package/cjs/{pn-profile-modal-store-16f8092a.js → pn-profile-modal-store-d96aaa77.js} +2 -2
- package/cjs/{pn-profile-modal-store-16f8092a.js.map → pn-profile-modal-store-d96aaa77.js.map} +1 -1
- package/cjs/pn-profile-modal-type.cjs.entry.js +3 -3
- package/cjs/pn-profile-modal.cjs.entry.js +3 -3
- package/cjs/pn-profile-selector-option.cjs.entry.js +1 -1
- package/cjs/pn-profile-selector.cjs.entry.js +1 -1
- package/cjs/pn-proxio-findprice-result.cjs.entry.js +1 -1
- package/cjs/pn-proxio-findprice.cjs.entry.js +2 -2
- package/cjs/pn-proxio-pricegroup.cjs.entry.js +1 -1
- package/cjs/pn-proxio-productcard_4.cjs.entry.js +1 -1
- package/cjs/pn-qr-code-generator.cjs.entry.js +25 -9
- package/cjs/pn-qr-code-generator.cjs.entry.js.map +1 -1
- package/cjs/pn-quick-cta.cjs.entry.js +1 -1
- package/cjs/pn-quote-card.cjs.entry.js +1 -1
- package/cjs/pn-scroll_2.cjs.entry.js +1 -1
- package/cjs/pn-share-item.cjs.entry.js +1 -1
- package/cjs/pn-share.cjs.entry.js +1 -1
- package/cjs/pn-sidenav-level.cjs.entry.js +3 -3
- package/cjs/pn-sidenav-link.cjs.entry.js +3 -3
- package/cjs/{pn-sidenav-store-236c8806.js → pn-sidenav-store-41848c2e.js} +2 -2
- package/cjs/{pn-sidenav-store-236c8806.js.map → pn-sidenav-store-41848c2e.js.map} +1 -1
- package/cjs/pn-sidenav-togglebutton.cjs.entry.js +3 -3
- package/cjs/pn-sidenav.cjs.entry.js +3 -3
- package/cjs/pn-site-footer_3.cjs.entry.js +1 -1
- package/cjs/pn-spotlight.cjs.entry.js +1 -1
- package/cjs/pn-stats-info-data.cjs.entry.js +1 -1
- package/cjs/pn-stats-info.cjs.entry.js +1 -1
- package/cjs/pn-teaser-card.cjs.entry.js +2 -2
- package/cjs/pn-titletag.cjs.entry.js +1 -1
- package/cjs/pn-usp-promoter.cjs.entry.js +1 -1
- package/collection/components/input/pn-dropdown-choice-adds-row/pn-dropdown-choice-adds-row.js +53 -3
- package/collection/components/input/pn-dropdown-choice-adds-row/pn-dropdown-choice-adds-row.js.map +1 -1
- package/collection/components/input/pn-dropdown-choice-adds-row/pn-dropdown-choice-adds-row.stories.js +4 -0
- package/collection/components/widgets/pn-level-up/pn-level-up-modal/pn-level-up-modal.js +30 -7
- package/collection/components/widgets/pn-level-up/pn-level-up-modal/pn-level-up-modal.js.map +1 -1
- package/collection/components/widgets/pn-level-up/pn-level-up-modal/pn-level-up-modal.stories.js +1 -1
- package/collection/components/widgets/pn-level-up/pn-level-up-modal/pn-level-up-modal.stories.js.map +1 -1
- package/collection/components/widgets/pn-level-up/pn-level-up.js +9 -7
- package/collection/components/widgets/pn-level-up/pn-level-up.js.map +1 -1
- package/collection/components/widgets/pn-qr-code-generator/pn-qr-code-generator.js +24 -8
- package/collection/components/widgets/pn-qr-code-generator/pn-qr-code-generator.js.map +1 -1
- package/components/pn-dropdown-choice-adds-row.js +19 -3
- package/components/pn-dropdown-choice-adds-row.js.map +1 -1
- package/components/pn-level-up-modal2.js +12 -6
- package/components/pn-level-up-modal2.js.map +1 -1
- package/components/pn-level-up.js +9 -7
- package/components/pn-level-up.js.map +1 -1
- package/components/pn-qr-code-generator2.js +24 -8
- package/components/pn-qr-code-generator2.js.map +1 -1
- package/esm/{HeadingTag-e20016ab.js → HeadingTag-11a27410.js} +2 -2
- package/esm/{HeadingTag-e20016ab.js.map → HeadingTag-11a27410.js.map} +1 -1
- package/esm/{index-ae60ebec.js → index-a0a6fb88.js} +2 -2
- package/esm/{index-ae60ebec.js.map → index-a0a6fb88.js.map} +1 -1
- package/esm/{index-c311acd6.js → index-c0a4d8bd.js} +10 -4
- package/esm/index-c0a4d8bd.js.map +1 -0
- package/esm/index.js +1 -1
- package/esm/loader.js +3 -3
- package/esm/pn-address-autofill.entry.js +1 -1
- package/esm/pn-animated-tile.entry.js +1 -1
- package/esm/pn-app-banner.entry.js +1 -1
- package/esm/pn-bonus-progressbar-level.entry.js +1 -1
- package/esm/pn-bonus-progressbar.entry.js +1 -1
- package/esm/pn-breakpoints.entry.js +1 -1
- package/esm/pn-chart.entry.js +1 -1
- package/esm/pn-charts-card.entry.js +1 -1
- package/esm/pn-chat-message_2.entry.js +1 -1
- package/esm/pn-chat.entry.js +1 -1
- package/esm/pn-choice-button.entry.js +1 -1
- package/esm/pn-cta-block.entry.js +1 -1
- package/esm/pn-customernumber-selector-option.entry.js +1 -1
- package/esm/pn-customernumber-selector.entry.js +1 -1
- package/esm/pn-date-and-time.entry.js +1 -1
- package/esm/pn-dropdown-choice-adds-row.entry.js +18 -4
- package/esm/pn-dropdown-choice-adds-row.entry.js.map +1 -1
- package/esm/pn-dropdown-with-multi-input-rows-row.entry.js +1 -1
- package/esm/pn-dropdown-with-multi-input-rows.entry.js +1 -1
- package/esm/pn-filter-checkbox.entry.js +1 -1
- package/esm/pn-find-price-result.entry.js +3 -3
- package/esm/{pn-find-price-store-f97f2325.js → pn-find-price-store-8a0a5cf0.js} +2 -2
- package/esm/{pn-find-price-store-f97f2325.js.map → pn-find-price-store-8a0a5cf0.js.map} +1 -1
- package/esm/pn-find-price.entry.js +3 -3
- package/esm/pn-find-service-and-price-result.entry.js +3 -3
- package/esm/{pn-find-service-and-price-store-6553566d.js → pn-find-service-and-price-store-0302dd23.js} +2 -2
- package/esm/{pn-find-service-and-price-store-6553566d.js.map → pn-find-service-and-price-store-0302dd23.js.map} +1 -1
- package/esm/pn-find-service-and-price.entry.js +3 -3
- package/esm/pn-hero-block-international.entry.js +1 -1
- package/esm/pn-language-selector_9.entry.js +4 -4
- package/esm/pn-level-up-modal.entry.js +11 -5
- package/esm/pn-level-up-modal.entry.js.map +1 -1
- package/esm/pn-level-up.entry.js +11 -9
- package/esm/pn-level-up.entry.js.map +1 -1
- package/esm/pn-line-shape.entry.js +1 -1
- package/esm/pn-link-list.entry.js +1 -1
- package/esm/pn-mainnav-link.entry.js +3 -3
- package/esm/{pn-mainnav-store-23387019.js → pn-mainnav-store-c98d831e.js} +2 -2
- package/esm/{pn-mainnav-store-23387019.js.map → pn-mainnav-store-c98d831e.js.map} +1 -1
- package/esm/pn-market-web-components.js +3 -3
- package/esm/pn-marketweb-icon.entry.js +1 -1
- package/esm/pn-marketweb-input.entry.js +1 -1
- package/esm/pn-marketweb-search.entry.js +1 -1
- package/esm/pn-marketweb-sitefooter.entry.js +2 -2
- package/esm/pn-marketweb-siteheader-login-button_4.entry.js +3 -3
- package/esm/pn-marketweb-siteheader-login-linklist.entry.js +3 -3
- package/esm/pn-marketweb-siteheader-login-mypage-button.entry.js +1 -1
- package/esm/{pn-marketweb-siteheader-store-f60eb1e4.js → pn-marketweb-siteheader-store-69bcd7eb.js} +2 -2
- package/esm/{pn-marketweb-siteheader-store-f60eb1e4.js.map → pn-marketweb-siteheader-store-69bcd7eb.js.map} +1 -1
- package/esm/pn-marketweb-siteheader.entry.js +3 -3
- package/esm/pn-marketweb-table.entry.js +2 -2
- package/esm/pn-media-block.entry.js +2 -2
- package/esm/pn-multi-row-connected-dropdown-row.entry.js +1 -1
- package/esm/pn-multi-row-connected-dropdown.entry.js +1 -1
- package/esm/pn-multiple-input.entry.js +1 -1
- package/esm/pn-parcel-tracker.entry.js +1 -1
- package/esm/pn-pex-pricefinder.entry.js +1 -1
- package/esm/pn-play-on-scroll.entry.js +1 -1
- package/esm/pn-product-card_3.entry.js +1 -1
- package/esm/pn-product-pricelist-result.entry.js +2 -2
- package/esm/pn-product-pricelist.entry.js +3 -3
- package/esm/pn-product-tile-info_2.entry.js +1 -1
- package/esm/pn-product-tile.entry.js +1 -1
- package/esm/pn-profile-modal-customernumber.entry.js +1 -1
- package/esm/pn-profile-modal-profile.entry.js +3 -3
- package/esm/{pn-profile-modal-store-5d651bd5.js → pn-profile-modal-store-2832b3e3.js} +2 -2
- package/esm/{pn-profile-modal-store-5d651bd5.js.map → pn-profile-modal-store-2832b3e3.js.map} +1 -1
- package/esm/pn-profile-modal-type.entry.js +3 -3
- package/esm/pn-profile-modal.entry.js +3 -3
- package/esm/pn-profile-selector-option.entry.js +1 -1
- package/esm/pn-profile-selector.entry.js +1 -1
- package/esm/pn-proxio-findprice-result.entry.js +1 -1
- package/esm/pn-proxio-findprice.entry.js +2 -2
- package/esm/pn-proxio-pricegroup.entry.js +1 -1
- package/esm/pn-proxio-productcard_4.entry.js +1 -1
- package/esm/pn-qr-code-generator.entry.js +25 -9
- package/esm/pn-qr-code-generator.entry.js.map +1 -1
- package/esm/pn-quick-cta.entry.js +1 -1
- package/esm/pn-quote-card.entry.js +1 -1
- package/esm/pn-scroll_2.entry.js +1 -1
- package/esm/pn-share-item.entry.js +1 -1
- package/esm/pn-share.entry.js +1 -1
- package/esm/pn-sidenav-level.entry.js +3 -3
- package/esm/pn-sidenav-link.entry.js +3 -3
- package/esm/{pn-sidenav-store-e2038d79.js → pn-sidenav-store-e1da18e9.js} +2 -2
- package/esm/{pn-sidenav-store-e2038d79.js.map → pn-sidenav-store-e1da18e9.js.map} +1 -1
- package/esm/pn-sidenav-togglebutton.entry.js +3 -3
- package/esm/pn-sidenav.entry.js +3 -3
- package/esm/pn-site-footer_3.entry.js +1 -1
- package/esm/pn-spotlight.entry.js +1 -1
- package/esm/pn-stats-info-data.entry.js +1 -1
- package/esm/pn-stats-info.entry.js +1 -1
- package/esm/pn-teaser-card.entry.js +2 -2
- package/esm/pn-titletag.entry.js +1 -1
- package/esm/pn-usp-promoter.entry.js +1 -1
- package/package.json +3 -2
- package/pn-market-web-components/index.esm.js +1 -1
- package/pn-market-web-components/p-02094ddb.entry.js +2 -0
- package/pn-market-web-components/p-02094ddb.entry.js.map +1 -0
- package/pn-market-web-components/{p-41cdac85.entry.js → p-02cc3319.entry.js} +2 -2
- package/pn-market-web-components/{p-34a98554.entry.js → p-096cbbcb.entry.js} +2 -2
- package/pn-market-web-components/{p-79e4715c.entry.js → p-0b092a5c.entry.js} +2 -2
- package/pn-market-web-components/{p-17c43a96.entry.js → p-0b7d3d23.entry.js} +2 -2
- package/pn-market-web-components/{p-f28059f4.entry.js → p-0d67f0af.entry.js} +2 -2
- package/pn-market-web-components/{p-eb21f772.entry.js → p-0f2148b7.entry.js} +2 -2
- package/pn-market-web-components/{p-920ce5f2.entry.js → p-133c7313.entry.js} +2 -2
- package/pn-market-web-components/{p-230ef9aa.entry.js → p-1cb0f3fa.entry.js} +2 -2
- package/pn-market-web-components/{p-8836de82.js → p-2132ad75.js} +2 -2
- package/pn-market-web-components/{p-0b5a125d.entry.js → p-24bfee5d.entry.js} +2 -2
- package/pn-market-web-components/{p-9454075f.entry.js → p-2f324058.entry.js} +2 -2
- package/pn-market-web-components/{p-71db6836.entry.js → p-315b9cba.entry.js} +2 -2
- package/pn-market-web-components/{p-389a94e7.entry.js → p-317fcddf.entry.js} +2 -2
- package/pn-market-web-components/{p-b85c020c.entry.js → p-34cb1e2e.entry.js} +2 -2
- package/pn-market-web-components/{p-95d32ab4.entry.js → p-368aa69f.entry.js} +2 -2
- package/pn-market-web-components/{p-015127bf.entry.js → p-3737defb.entry.js} +2 -2
- package/pn-market-web-components/{p-5a981927.entry.js → p-3a298543.entry.js} +2 -2
- package/pn-market-web-components/{p-8a651698.entry.js → p-3d11fd8a.entry.js} +2 -2
- package/pn-market-web-components/{p-72f57a04.entry.js → p-44175dbd.entry.js} +2 -2
- package/pn-market-web-components/{p-4aedb76c.entry.js → p-46711387.entry.js} +2 -2
- package/pn-market-web-components/{p-7b4f9fdf.entry.js → p-4aa7cec5.entry.js} +2 -2
- package/pn-market-web-components/{p-930e2943.js → p-4bd72b91.js} +2 -2
- package/pn-market-web-components/{p-0fc01d3f.entry.js → p-4bf2c8ab.entry.js} +2 -2
- package/pn-market-web-components/{p-fb4cdf98.js → p-53039fa7.js} +2 -2
- package/pn-market-web-components/{p-c89cb749.entry.js → p-588525ac.entry.js} +2 -2
- package/pn-market-web-components/{p-84fc8e05.entry.js → p-5d70be75.entry.js} +2 -2
- package/pn-market-web-components/{p-d7170c0e.entry.js → p-5d8eb438.entry.js} +2 -2
- package/pn-market-web-components/{p-8d98f709.entry.js → p-5f904742.entry.js} +2 -2
- package/pn-market-web-components/{p-268dc1fa.entry.js → p-60e3ba3d.entry.js} +2 -2
- package/pn-market-web-components/p-62ce6700.entry.js +2 -0
- package/pn-market-web-components/p-62ce6700.entry.js.map +1 -0
- package/pn-market-web-components/{p-efab81a9.entry.js → p-6a5cb4ca.entry.js} +2 -2
- package/pn-market-web-components/{p-7ab49269.entry.js → p-6b6aeeab.entry.js} +2 -2
- package/pn-market-web-components/{p-bfd604f2.entry.js → p-6d263c6e.entry.js} +2 -2
- package/pn-market-web-components/{p-923aa6d2.entry.js → p-6d6ae33e.entry.js} +2 -2
- package/pn-market-web-components/{p-542f949d.entry.js → p-6e3c311a.entry.js} +2 -2
- package/pn-market-web-components/{p-b9590d81.entry.js → p-6f1bf16b.entry.js} +2 -2
- package/pn-market-web-components/{p-f9083b7a.js → p-70a9d4eb.js} +2 -2
- package/pn-market-web-components/{p-64851da0.entry.js → p-7526d49d.entry.js} +2 -2
- package/pn-market-web-components/{p-28d2f7fa.entry.js → p-778ae152.entry.js} +2 -2
- package/pn-market-web-components/p-778ae152.entry.js.map +1 -0
- package/pn-market-web-components/{p-ad9a7633.entry.js → p-7a721a2a.entry.js} +2 -2
- package/pn-market-web-components/{p-0b920554.js → p-885d59e8.js} +2 -2
- package/pn-market-web-components/{p-daa74e60.entry.js → p-89272a6b.entry.js} +2 -2
- package/pn-market-web-components/{p-a298a263.entry.js → p-8afc2d30.entry.js} +2 -2
- package/pn-market-web-components/{p-763a4e13.entry.js → p-8b506b9b.entry.js} +2 -2
- package/pn-market-web-components/p-8c42f598.js +2 -0
- package/pn-market-web-components/{p-ef668a3b.entry.js → p-92e8e287.entry.js} +2 -2
- package/pn-market-web-components/{p-8d874454.entry.js → p-9638d206.entry.js} +2 -2
- package/pn-market-web-components/{p-2a58d83b.entry.js → p-9b709942.entry.js} +2 -2
- package/pn-market-web-components/{p-da56370b.entry.js → p-9c0243fd.entry.js} +2 -2
- package/pn-market-web-components/{p-2c19edca.entry.js → p-9fc3711d.entry.js} +2 -2
- package/pn-market-web-components/{p-39b75c62.entry.js → p-a6941ea3.entry.js} +2 -2
- package/pn-market-web-components/{p-40bce1b1.entry.js → p-ab291285.entry.js} +2 -2
- package/pn-market-web-components/{p-35847eda.entry.js → p-ad807e2c.entry.js} +2 -2
- package/pn-market-web-components/p-ae5756dd.js +2 -0
- package/pn-market-web-components/{p-f4b14be8.entry.js → p-aee65729.entry.js} +2 -2
- package/pn-market-web-components/{p-659a4db5.entry.js → p-b20d2e1b.entry.js} +2 -2
- package/pn-market-web-components/{p-292db484.entry.js → p-b3605a96.entry.js} +2 -2
- package/pn-market-web-components/{p-82546a44.js → p-b3a13b6a.js} +3 -3
- package/pn-market-web-components/p-b3a13b6a.js.map +1 -0
- package/pn-market-web-components/{p-f0df7694.entry.js → p-b697755f.entry.js} +2 -2
- package/pn-market-web-components/{p-c4e353b3.entry.js → p-b9774a2d.entry.js} +2 -2
- package/pn-market-web-components/{p-ce87ff8a.entry.js → p-bb5a6883.entry.js} +2 -2
- package/pn-market-web-components/{p-65a046be.entry.js → p-c030c263.entry.js} +2 -2
- package/pn-market-web-components/{p-4f639380.entry.js → p-c6db243c.entry.js} +2 -2
- package/pn-market-web-components/{p-51f136f3.entry.js → p-c7d41f58.entry.js} +2 -2
- package/pn-market-web-components/{p-08b473e0.entry.js → p-d07efc2e.entry.js} +2 -2
- package/pn-market-web-components/{p-f28d0971.entry.js → p-d18b9aff.entry.js} +2 -2
- package/pn-market-web-components/{p-59bf4b98.entry.js → p-d3b4c8d7.entry.js} +2 -2
- package/pn-market-web-components/{p-85b42b44.entry.js → p-d49d093f.entry.js} +2 -2
- package/pn-market-web-components/p-d5d1098a.entry.js +2 -0
- package/pn-market-web-components/{p-3e197670.entry.js.map → p-d5d1098a.entry.js.map} +1 -1
- package/pn-market-web-components/{p-61bd81d7.entry.js → p-dc11fc75.entry.js} +2 -2
- package/pn-market-web-components/{p-7b7629c5.entry.js → p-de55f656.entry.js} +2 -2
- package/pn-market-web-components/{p-9088d3f5.entry.js → p-e07d8b18.entry.js} +2 -2
- package/pn-market-web-components/{p-619f2143.entry.js → p-e1c20440.entry.js} +2 -2
- package/pn-market-web-components/{p-60b77eed.entry.js → p-e1ccd651.entry.js} +2 -2
- package/pn-market-web-components/{p-793e1339.js → p-e3b2486a.js} +2 -2
- package/pn-market-web-components/{p-cbb1d57d.entry.js → p-e55e5b49.entry.js} +2 -2
- package/pn-market-web-components/{p-4e924d13.entry.js → p-e69d8395.entry.js} +2 -2
- package/pn-market-web-components/p-e69d8395.entry.js.map +1 -0
- package/pn-market-web-components/{p-d17af75d.entry.js → p-e9d495e3.entry.js} +2 -2
- package/pn-market-web-components/{p-809ed802.entry.js → p-eafffc4b.entry.js} +2 -2
- package/pn-market-web-components/{p-66da6e15.entry.js → p-ebba8dd2.entry.js} +2 -2
- package/pn-market-web-components/{p-d5c45da2.entry.js → p-ec7a8e5a.entry.js} +2 -2
- package/pn-market-web-components/{p-7db6ef34.entry.js → p-ed5c0dcc.entry.js} +2 -2
- package/pn-market-web-components/{p-19bbac6d.entry.js → p-f6c5c4de.entry.js} +2 -2
- package/pn-market-web-components/{p-ad282b7c.entry.js → p-f962fd3e.entry.js} +2 -2
- package/pn-market-web-components/{p-3a936c5d.entry.js → p-f97e58b8.entry.js} +2 -2
- package/pn-market-web-components/{p-3d10bc37.entry.js → p-fc5c33e7.entry.js} +2 -2
- package/pn-market-web-components/pn-market-web-components.esm.js +1 -1
- package/pn-market-web-components/pn-market-web-components.esm.js.map +1 -1
- package/types/components/input/pn-dropdown-choice-adds-row/pn-dropdown-choice-adds-row.d.ts +2 -0
- package/types/components/widgets/pn-level-up/pn-level-up-modal/pn-level-up-modal.d.ts +3 -1
- package/types/components/widgets/pn-level-up/pn-level-up.d.ts +2 -0
- package/types/components/widgets/pn-qr-code-generator/pn-qr-code-generator.d.ts +3 -2
- package/types/components.d.ts +22 -2
- package/umd/modules/@postnord/web-components/cjs/alert_exclamation_circle-BiBEJK9P.js +0 -3
- package/umd/modules/@postnord/web-components/cjs/alert_info_circle-BaN88M1m.js +0 -3
- package/umd/modules/@postnord/web-components/cjs/app-globals-DztCprK-.js +0 -3
- package/umd/modules/@postnord/web-components/cjs/arrow_left-Crkz484c.js +0 -3
- package/umd/modules/@postnord/web-components/cjs/arrow_right-CABi9Wkp.js +0 -3
- package/umd/modules/@postnord/web-components/cjs/check-CQU2BD5S.js +0 -3
- package/umd/modules/@postnord/web-components/cjs/check_circle-BSQcdFEJ.js +0 -3
- package/umd/modules/@postnord/web-components/cjs/chevron_down-BLU6_yOG.js +0 -3
- package/umd/modules/@postnord/web-components/cjs/chevron_right-CApgqZb0.js +0 -3
- package/umd/modules/@postnord/web-components/cjs/close-Bn5ieKko.js +0 -3
- package/umd/modules/@postnord/web-components/cjs/colors-Dzlq0FRO.js +0 -3
- package/umd/modules/@postnord/web-components/cjs/{index-Bbyn8a0b.js → index-CNdVg5VI.js} +1 -4
- package/umd/modules/@postnord/web-components/cjs/{index-ChnvH99O.js → index-CfUQZtlH.js} +412 -304
- package/umd/modules/@postnord/web-components/cjs/index.cjs.js +11 -6
- package/umd/modules/@postnord/web-components/cjs/loader.cjs.js +2 -3
- package/umd/modules/@postnord/web-components/cjs/open_in_new-B-zmn5xr.js +0 -3
- package/umd/modules/@postnord/web-components/cjs/pn-accordion-row.cjs.entry.js +3 -4
- package/umd/modules/@postnord/web-components/cjs/pn-accordion.cjs.entry.js +5 -6
- package/umd/modules/@postnord/web-components/cjs/pn-action-menu.cjs.entry.js +13 -8
- package/umd/modules/@postnord/web-components/cjs/pn-button-dropdown.cjs.entry.js +6 -5
- package/umd/modules/@postnord/web-components/cjs/pn-button_2.cjs.entry.js +11 -8
- package/umd/modules/@postnord/web-components/cjs/pn-card.cjs.entry.js +7 -6
- package/umd/modules/@postnord/web-components/cjs/pn-checkbox.cjs.entry.js +10 -7
- package/umd/modules/@postnord/web-components/cjs/pn-choice-chip.cjs.entry.js +3 -4
- package/umd/modules/@postnord/web-components/cjs/pn-counter.cjs.entry.js +20 -19
- package/umd/modules/@postnord/web-components/cjs/pn-date-picker.cjs.entry.js +52 -21
- package/umd/modules/@postnord/web-components/cjs/pn-fieldset.cjs.entry.js +7 -6
- package/umd/modules/@postnord/web-components/cjs/pn-file-upload.cjs.entry.js +10 -7
- package/umd/modules/@postnord/web-components/cjs/pn-footer.cjs.entry.js +4 -5
- package/umd/modules/@postnord/web-components/cjs/pn-header.cjs.entry.js +7 -6
- package/umd/modules/@postnord/web-components/cjs/pn-icon_2.cjs.entry.js +8 -7
- package/umd/modules/@postnord/web-components/cjs/pn-illustration.cjs.entry.js +6 -5
- package/umd/modules/@postnord/web-components/cjs/pn-input.cjs.entry.js +46 -22
- package/umd/modules/@postnord/web-components/cjs/pn-modal.cjs.entry.js +9 -6
- package/umd/modules/@postnord/web-components/cjs/pn-multiselect.cjs.entry.js +29 -11
- package/umd/modules/@postnord/web-components/cjs/pn-ocr-search.cjs.entry.js +4 -5
- package/umd/modules/@postnord/web-components/cjs/pn-page-nav-dropdown-item.cjs.entry.js +4 -5
- package/umd/modules/@postnord/web-components/cjs/pn-page-nav-item.cjs.entry.js +4 -5
- package/umd/modules/@postnord/web-components/cjs/pn-page-nav.cjs.entry.js +16 -13
- package/umd/modules/@postnord/web-components/cjs/pn-pagination.cjs.entry.js +13 -8
- package/umd/modules/@postnord/web-components/cjs/pn-progress-bar.cjs.entry.js +6 -5
- package/umd/modules/@postnord/web-components/cjs/pn-progress-indicator-step.cjs.entry.js +3 -4
- package/umd/modules/@postnord/web-components/cjs/pn-progress-indicator.cjs.entry.js +4 -5
- package/umd/modules/@postnord/web-components/cjs/pn-progress-stepper.cjs.entry.js +12 -7
- package/umd/modules/@postnord/web-components/cjs/pn-radio-button.cjs.entry.js +11 -8
- package/umd/modules/@postnord/web-components/cjs/pn-range.cjs.entry.js +326 -0
- package/umd/modules/@postnord/web-components/cjs/pn-read-only-button.cjs.entry.js +9 -6
- package/umd/modules/@postnord/web-components/cjs/pn-search-field.cjs.entry.js +4 -5
- package/umd/modules/@postnord/web-components/cjs/pn-segment.cjs.entry.js +4 -5
- package/umd/modules/@postnord/web-components/cjs/pn-segmented-control.cjs.entry.js +9 -8
- package/umd/modules/@postnord/web-components/cjs/pn-select.cjs.entry.js +11 -5
- package/umd/modules/@postnord/web-components/cjs/pn-tab.cjs.entry.js +7 -8
- package/umd/modules/@postnord/web-components/cjs/pn-table.cjs.entry.js +3 -4
- package/umd/modules/@postnord/web-components/cjs/pn-tablist.cjs.entry.js +11 -8
- package/umd/modules/@postnord/web-components/cjs/pn-text-link.cjs.entry.js +4 -5
- package/umd/modules/@postnord/web-components/cjs/pn-textarea.cjs.entry.js +20 -11
- package/umd/modules/@postnord/web-components/cjs/pn-tile.cjs.entry.js +4 -5
- package/umd/modules/@postnord/web-components/cjs/pn-toast.cjs.entry.js +7 -6
- package/umd/modules/@postnord/web-components/cjs/pn-toggle-switch.cjs.entry.js +7 -6
- package/umd/modules/@postnord/web-components/cjs/pn-tooltip.cjs.entry.js +6 -5
- package/umd/modules/@postnord/web-components/cjs/pn-wizard.cjs.entry.js +12 -8
- package/umd/modules/@postnord/web-components/cjs/pn-zipcode-search.cjs.entry.js +4 -5
- package/umd/modules/@postnord/web-components/cjs/postnord-web-components.cjs.js +3 -4
- package/umd/modules/@postnord/web-components/collection/collection-manifest.json +3 -2
- package/umd/modules/@postnord/web-components/collection/components/buttons/pn-action-menu/pn-action-menu.js +10 -6
- package/umd/modules/@postnord/web-components/collection/components/buttons/pn-action-menu/translation.js +0 -1
- package/umd/modules/@postnord/web-components/collection/components/buttons/pn-button/pn-button.js +4 -3
- package/umd/modules/@postnord/web-components/collection/components/buttons/pn-button-dropdown/pn-button-dropdown.js +4 -3
- package/umd/modules/@postnord/web-components/collection/components/buttons/pn-read-only-button/pn-read-only-button.js +2 -2
- package/umd/modules/@postnord/web-components/collection/components/content/pn-accordion/pn-accordion.js +0 -1
- package/umd/modules/@postnord/web-components/collection/components/content/pn-accordion/row/pn-accordion-row.js +0 -1
- package/umd/modules/@postnord/web-components/collection/components/content/pn-table/pn-table.js +0 -1
- package/umd/modules/@postnord/web-components/collection/components/content/pn-tag/pn-tag.js +0 -1
- package/umd/modules/@postnord/web-components/collection/components/design-tokens/pn-icon/pn-icon.js +3 -3
- package/umd/modules/@postnord/web-components/collection/components/design-tokens/pn-illustration/pn-illustration.js +0 -1
- package/umd/modules/@postnord/web-components/collection/components/feedback/pn-modal/pn-modal.js +2 -2
- package/umd/modules/@postnord/web-components/collection/components/feedback/pn-modal/translation.js +0 -1
- package/umd/modules/@postnord/web-components/collection/components/feedback/pn-progress-bar/pn-progress-bar.js +0 -1
- package/umd/modules/@postnord/web-components/collection/components/feedback/pn-progress-indicator/pn-progress-indicator-step/pn-progress-indicator-step.js +0 -1
- package/umd/modules/@postnord/web-components/collection/components/feedback/pn-progress-indicator/pn-progress-indicator.js +0 -1
- package/umd/modules/@postnord/web-components/collection/components/feedback/pn-progress-stepper/pn-progress-stepper.js +2 -2
- package/umd/modules/@postnord/web-components/collection/components/feedback/pn-progress-stepper/translations.js +0 -1
- package/umd/modules/@postnord/web-components/collection/components/feedback/pn-spinner/pn-spinner.js +0 -1
- package/umd/modules/@postnord/web-components/collection/components/feedback/pn-toast/pn-toast.js +2 -2
- package/umd/modules/@postnord/web-components/collection/components/feedback/pn-toast/translation.js +0 -1
- package/umd/modules/@postnord/web-components/collection/components/feedback/pn-tooltip/pn-tooltip.js +0 -1
- package/umd/modules/@postnord/web-components/collection/components/feedback/pn-wizard/pn-wizard.js +5 -4
- package/umd/modules/@postnord/web-components/collection/components/feedback/pn-wizard/translation.js +0 -1
- package/umd/modules/@postnord/web-components/collection/components/input/pn-checkbox/pn-checkbox.js +0 -1
- package/umd/modules/@postnord/web-components/collection/components/input/pn-choice-chip/pn-choice-chip.js +0 -1
- package/umd/modules/@postnord/web-components/collection/components/input/pn-counter/pn-counter.css +69 -27
- package/umd/modules/@postnord/web-components/collection/components/input/pn-counter/pn-counter.js +36 -15
- package/umd/modules/@postnord/web-components/collection/components/input/pn-counter/translations.js +0 -1
- package/umd/modules/@postnord/web-components/collection/components/input/pn-date-picker/pn-date-picker.css +38 -1
- package/umd/modules/@postnord/web-components/collection/components/input/pn-date-picker/pn-date-picker.js +42 -9
- package/umd/modules/@postnord/web-components/collection/components/input/pn-date-picker/translations.js +0 -1
- package/umd/modules/@postnord/web-components/collection/components/input/pn-fieldset/pn-fieldset.js +1 -2
- package/umd/modules/@postnord/web-components/collection/components/input/pn-file-upload/pn-file-upload-error.js +0 -1
- package/umd/modules/@postnord/web-components/collection/components/input/pn-file-upload/pn-file-upload.js +17 -10
- package/umd/modules/@postnord/web-components/collection/components/input/pn-file-upload/translation.js +0 -1
- package/umd/modules/@postnord/web-components/collection/components/input/pn-input/pn-input.css +49 -10
- package/umd/modules/@postnord/web-components/collection/components/input/pn-input/pn-input.js +57 -17
- package/umd/modules/@postnord/web-components/collection/components/input/pn-input/translations.js +0 -1
- package/umd/modules/@postnord/web-components/collection/components/input/pn-multiselect/pn-multiselect.css +63 -22
- package/umd/modules/@postnord/web-components/collection/components/input/pn-multiselect/pn-multiselect.js +48 -9
- package/umd/modules/@postnord/web-components/collection/components/input/pn-multiselect/translations.js +0 -1
- package/umd/modules/@postnord/web-components/collection/components/input/pn-radio-button/pn-radio-button.js +1 -2
- package/umd/modules/@postnord/web-components/collection/components/input/pn-range/pn-range.css +417 -0
- package/umd/modules/@postnord/web-components/collection/components/input/pn-range/pn-range.js +905 -0
- package/umd/modules/@postnord/web-components/collection/components/input/pn-search-field/pn-search-field.js +5 -4
- package/umd/modules/@postnord/web-components/collection/components/input/pn-search-field/translations.js +0 -1
- package/umd/modules/@postnord/web-components/collection/components/input/pn-segmented-control/pn-segmented-control.js +1 -2
- package/umd/modules/@postnord/web-components/collection/components/input/pn-segmented-control/segment/pn-segment.js +1 -2
- package/umd/modules/@postnord/web-components/collection/components/input/pn-select/pn-select.css +53 -14
- package/umd/modules/@postnord/web-components/collection/components/input/pn-select/pn-select.js +31 -2
- package/umd/modules/@postnord/web-components/collection/components/input/pn-select/translations.js +0 -1
- package/umd/modules/@postnord/web-components/collection/components/input/pn-textarea/pn-textarea.css +54 -5
- package/umd/modules/@postnord/web-components/collection/components/input/pn-textarea/pn-textarea.js +45 -14
- package/umd/modules/@postnord/web-components/collection/components/input/pn-toggle-switch/pn-toggle-switch.css +1 -1
- package/umd/modules/@postnord/web-components/collection/components/input/pn-toggle-switch/pn-toggle-switch.js +1 -2
- package/umd/modules/@postnord/web-components/collection/components/layout/pn-header/pn-header.js +3 -3
- package/umd/modules/@postnord/web-components/collection/components/navigation/pn-card/pn-card.js +1 -2
- package/umd/modules/@postnord/web-components/collection/components/navigation/pn-footer/pn-footer.js +5 -4
- package/umd/modules/@postnord/web-components/collection/components/navigation/pn-footer/translations.js +0 -1
- package/umd/modules/@postnord/web-components/collection/components/navigation/pn-footer/urls.js +0 -1
- package/umd/modules/@postnord/web-components/collection/components/navigation/pn-page-nav/dropdown-item/pn-page-nav-dropdown-item.js +1 -2
- package/umd/modules/@postnord/web-components/collection/components/navigation/pn-page-nav/item/pn-page-nav-item.js +1 -2
- package/umd/modules/@postnord/web-components/collection/components/navigation/pn-page-nav/menu/pn-page-nav.js +1 -2
- package/umd/modules/@postnord/web-components/collection/components/navigation/pn-pagination/pn-pagination.js +5 -4
- package/umd/modules/@postnord/web-components/collection/components/navigation/pn-pagination/translations.js +0 -1
- package/umd/modules/@postnord/web-components/collection/components/navigation/pn-tablist/pn-tablist.js +3 -3
- package/umd/modules/@postnord/web-components/collection/components/navigation/pn-tablist/tab/pn-tab.js +1 -2
- package/umd/modules/@postnord/web-components/collection/components/navigation/pn-tablist/translations.js +0 -1
- package/umd/modules/@postnord/web-components/collection/components/navigation/pn-text-link/pn-text-link.js +1 -2
- package/umd/modules/@postnord/web-components/collection/components/navigation/pn-tile/pn-tile.js +1 -2
- package/umd/modules/@postnord/web-components/collection/components/web-components/pn-ocr-search/pn-ocr-search.js +3 -3
- package/umd/modules/@postnord/web-components/collection/components/web-components/pn-ocr-search/translations.js +0 -1
- package/umd/modules/@postnord/web-components/collection/components/web-components/pn-zipcode-search/pn-zipcode-search.js +3 -3
- package/umd/modules/@postnord/web-components/collection/components/web-components/pn-zipcode-search/translations.js +0 -1
- package/umd/modules/@postnord/web-components/collection/globals/date/index.js +0 -1
- package/umd/modules/@postnord/web-components/collection/globals/helpers.js +0 -1
- package/umd/modules/@postnord/web-components/collection/globals/mixins/index.js +0 -1
- package/umd/modules/@postnord/web-components/collection/globals/types.js +0 -1
- package/umd/modules/@postnord/web-components/collection/index.js +1 -1
- package/umd/modules/@postnord/web-components/components/alert_exclamation_circle.js +1 -7
- package/umd/modules/@postnord/web-components/components/alert_info_circle.js +1 -7
- package/umd/modules/@postnord/web-components/components/arrow_left.js +1 -7
- package/umd/modules/@postnord/web-components/components/arrow_right.js +1 -7
- package/umd/modules/@postnord/web-components/components/check.js +1 -7
- package/umd/modules/@postnord/web-components/components/check_circle.js +1 -7
- package/umd/modules/@postnord/web-components/components/chevron_down.js +1 -7
- package/umd/modules/@postnord/web-components/components/chevron_right.js +1 -10
- package/umd/modules/@postnord/web-components/components/close.js +1 -7
- package/umd/modules/@postnord/web-components/components/colors.js +1 -81
- package/umd/modules/@postnord/web-components/components/helpers.js +1 -186
- package/umd/modules/@postnord/web-components/components/index.d.ts +3 -0
- package/umd/modules/@postnord/web-components/components/index.js +1 -52
- package/umd/modules/@postnord/web-components/components/index2.js +1 -71
- package/umd/modules/@postnord/web-components/components/open_in_new.js +1 -7
- package/umd/modules/@postnord/web-components/components/pn-accordion-row.js +1 -152
- package/umd/modules/@postnord/web-components/components/pn-accordion.js +1 -62
- package/umd/modules/@postnord/web-components/components/pn-action-menu.js +1 -456
- package/umd/modules/@postnord/web-components/components/pn-button-dropdown.js +1 -151
- package/umd/modules/@postnord/web-components/components/pn-button.js +1 -9
- package/umd/modules/@postnord/web-components/components/pn-button2.js +1 -278
- package/umd/modules/@postnord/web-components/components/pn-card.js +1 -145
- package/umd/modules/@postnord/web-components/components/pn-checkbox.js +1 -157
- package/umd/modules/@postnord/web-components/components/pn-choice-chip.js +1 -82
- package/umd/modules/@postnord/web-components/components/pn-counter.js +1 -301
- package/umd/modules/@postnord/web-components/components/pn-date-picker.js +1 -1333
- package/umd/modules/@postnord/web-components/components/pn-fieldset.js +1 -116
- package/umd/modules/@postnord/web-components/components/pn-file-upload.js +1 -523
- package/umd/modules/@postnord/web-components/components/pn-footer.js +1 -217
- package/umd/modules/@postnord/web-components/components/pn-header.js +1 -114
- package/umd/modules/@postnord/web-components/components/pn-icon.js +1 -9
- package/umd/modules/@postnord/web-components/components/pn-icon2.js +1 -68
- package/umd/modules/@postnord/web-components/components/pn-illustration.js +1 -9
- package/umd/modules/@postnord/web-components/components/pn-illustration2.js +1 -84
- package/umd/modules/@postnord/web-components/components/pn-input.js +1 -378
- package/umd/modules/@postnord/web-components/components/pn-input2.js +5 -0
- package/umd/modules/@postnord/web-components/components/pn-modal.js +1 -244
- package/umd/modules/@postnord/web-components/components/pn-multiselect.js +1 -722
- package/umd/modules/@postnord/web-components/components/pn-ocr-search.js +1 -193
- package/umd/modules/@postnord/web-components/components/pn-page-nav-dropdown-item.js +1 -79
- package/umd/modules/@postnord/web-components/components/pn-page-nav-item.js +1 -62
- package/umd/modules/@postnord/web-components/components/pn-page-nav.js +1 -347
- package/umd/modules/@postnord/web-components/components/pn-pagination.js +1 -297
- package/umd/modules/@postnord/web-components/components/pn-progress-bar.js +1 -9
- package/umd/modules/@postnord/web-components/components/pn-progress-bar2.js +1 -116
- package/umd/modules/@postnord/web-components/components/pn-progress-indicator-step.js +1 -96
- package/umd/modules/@postnord/web-components/components/pn-progress-indicator.js +1 -62
- package/umd/modules/@postnord/web-components/components/pn-progress-stepper.js +1 -9
- package/umd/modules/@postnord/web-components/components/pn-progress-stepper2.js +1 -143
- package/umd/modules/@postnord/web-components/components/pn-radio-button.js +1 -175
- package/umd/modules/@postnord/web-components/components/pn-range.d.ts +11 -0
- package/umd/modules/@postnord/web-components/components/pn-range.js +5 -0
- package/umd/modules/@postnord/web-components/components/pn-read-only-button.js +1 -153
- package/umd/modules/@postnord/web-components/components/pn-search-field.js +1 -9
- package/umd/modules/@postnord/web-components/components/pn-search-field2.js +1 -192
- package/umd/modules/@postnord/web-components/components/pn-segment.js +1 -74
- package/umd/modules/@postnord/web-components/components/pn-segmented-control.js +1 -168
- package/umd/modules/@postnord/web-components/components/pn-select.js +1 -9
- package/umd/modules/@postnord/web-components/components/pn-select2.js +1 -106
- package/umd/modules/@postnord/web-components/components/pn-spinner.js +1 -9
- package/umd/modules/@postnord/web-components/components/pn-spinner2.js +1 -50
- package/umd/modules/@postnord/web-components/components/pn-tab.js +1 -163
- package/umd/modules/@postnord/web-components/components/pn-table.js +1 -52
- package/umd/modules/@postnord/web-components/components/pn-tablist.js +1 -224
- package/umd/modules/@postnord/web-components/components/pn-tag.js +1 -85
- package/umd/modules/@postnord/web-components/components/pn-text-link.js +1 -9
- package/umd/modules/@postnord/web-components/components/pn-text-link2.js +1 -78
- package/umd/modules/@postnord/web-components/components/pn-textarea.js +1 -120
- package/umd/modules/@postnord/web-components/components/pn-tile.js +1 -118
- package/umd/modules/@postnord/web-components/components/pn-toast.js +1 -210
- package/umd/modules/@postnord/web-components/components/pn-toggle-switch.js +1 -102
- package/umd/modules/@postnord/web-components/components/pn-tooltip.js +1 -123
- package/umd/modules/@postnord/web-components/components/pn-wizard.js +1 -437
- package/umd/modules/@postnord/web-components/components/pn-zipcode-search.js +1 -179
- package/umd/modules/@postnord/web-components/esm/alert_exclamation_circle-B88w-Zxn.js +0 -3
- package/umd/modules/@postnord/web-components/esm/alert_info_circle-BTqkgfeH.js +0 -3
- package/umd/modules/@postnord/web-components/esm/app-globals-Dh478Si7.js +0 -3
- package/umd/modules/@postnord/web-components/esm/arrow_left-CQaMdITw.js +0 -3
- package/umd/modules/@postnord/web-components/esm/arrow_right-D_UyW-KH.js +0 -3
- package/umd/modules/@postnord/web-components/esm/check-BpI8peGn.js +0 -3
- package/umd/modules/@postnord/web-components/esm/check_circle-D4GZ__oQ.js +0 -3
- package/umd/modules/@postnord/web-components/esm/chevron_down-DrYFvs2M.js +0 -3
- package/umd/modules/@postnord/web-components/esm/chevron_right-B6SVpr61.js +0 -3
- package/umd/modules/@postnord/web-components/esm/close-BvuWkoyY.js +0 -3
- package/umd/modules/@postnord/web-components/esm/colors-C_nYl55V.js +0 -3
- package/umd/modules/@postnord/web-components/esm/{index-BNA0ko5y.js → index-CAEP792y.js} +409 -304
- package/umd/modules/@postnord/web-components/esm/{index-CJTbRJfo.js → index-CosyroON.js} +1 -4
- package/umd/modules/@postnord/web-components/esm/index.js +11 -6
- package/umd/modules/@postnord/web-components/esm/loader.js +3 -4
- package/umd/modules/@postnord/web-components/esm/open_in_new-IFVOY5Gf.js +0 -3
- package/umd/modules/@postnord/web-components/esm/pn-accordion-row.entry.js +3 -4
- package/umd/modules/@postnord/web-components/esm/pn-accordion.entry.js +5 -6
- package/umd/modules/@postnord/web-components/esm/pn-action-menu.entry.js +13 -8
- package/umd/modules/@postnord/web-components/esm/pn-button-dropdown.entry.js +6 -5
- package/umd/modules/@postnord/web-components/esm/pn-button_2.entry.js +11 -8
- package/umd/modules/@postnord/web-components/esm/pn-card.entry.js +7 -6
- package/umd/modules/@postnord/web-components/esm/pn-checkbox.entry.js +10 -7
- package/umd/modules/@postnord/web-components/esm/pn-choice-chip.entry.js +3 -4
- package/umd/modules/@postnord/web-components/esm/pn-counter.entry.js +20 -19
- package/umd/modules/@postnord/web-components/esm/pn-date-picker.entry.js +52 -21
- package/umd/modules/@postnord/web-components/esm/pn-fieldset.entry.js +7 -6
- package/umd/modules/@postnord/web-components/esm/pn-file-upload.entry.js +10 -7
- package/umd/modules/@postnord/web-components/esm/pn-footer.entry.js +4 -5
- package/umd/modules/@postnord/web-components/esm/pn-header.entry.js +7 -6
- package/umd/modules/@postnord/web-components/esm/pn-icon_2.entry.js +8 -7
- package/umd/modules/@postnord/web-components/esm/pn-illustration.entry.js +6 -5
- package/umd/modules/@postnord/web-components/esm/pn-input.entry.js +46 -22
- package/umd/modules/@postnord/web-components/esm/pn-modal.entry.js +9 -6
- package/umd/modules/@postnord/web-components/esm/pn-multiselect.entry.js +29 -11
- package/umd/modules/@postnord/web-components/esm/pn-ocr-search.entry.js +4 -5
- package/umd/modules/@postnord/web-components/esm/pn-page-nav-dropdown-item.entry.js +4 -5
- package/umd/modules/@postnord/web-components/esm/pn-page-nav-item.entry.js +4 -5
- package/umd/modules/@postnord/web-components/esm/pn-page-nav.entry.js +16 -13
- package/umd/modules/@postnord/web-components/esm/pn-pagination.entry.js +13 -8
- package/umd/modules/@postnord/web-components/esm/pn-progress-bar.entry.js +6 -5
- package/umd/modules/@postnord/web-components/esm/pn-progress-indicator-step.entry.js +3 -4
- package/umd/modules/@postnord/web-components/esm/pn-progress-indicator.entry.js +4 -5
- package/umd/modules/@postnord/web-components/esm/pn-progress-stepper.entry.js +12 -7
- package/umd/modules/@postnord/web-components/esm/pn-radio-button.entry.js +11 -8
- package/umd/modules/@postnord/web-components/esm/pn-range.entry.js +324 -0
- package/umd/modules/@postnord/web-components/esm/pn-read-only-button.entry.js +9 -6
- package/umd/modules/@postnord/web-components/esm/pn-search-field.entry.js +4 -5
- package/umd/modules/@postnord/web-components/esm/pn-segment.entry.js +4 -5
- package/umd/modules/@postnord/web-components/esm/pn-segmented-control.entry.js +9 -8
- package/umd/modules/@postnord/web-components/esm/pn-select.entry.js +11 -5
- package/umd/modules/@postnord/web-components/esm/pn-tab.entry.js +7 -8
- package/umd/modules/@postnord/web-components/esm/pn-table.entry.js +3 -4
- package/umd/modules/@postnord/web-components/esm/pn-tablist.entry.js +11 -8
- package/umd/modules/@postnord/web-components/esm/pn-text-link.entry.js +4 -5
- package/umd/modules/@postnord/web-components/esm/pn-textarea.entry.js +20 -11
- package/umd/modules/@postnord/web-components/esm/pn-tile.entry.js +4 -5
- package/umd/modules/@postnord/web-components/esm/pn-toast.entry.js +7 -6
- package/umd/modules/@postnord/web-components/esm/pn-toggle-switch.entry.js +7 -6
- package/umd/modules/@postnord/web-components/esm/pn-tooltip.entry.js +6 -5
- package/umd/modules/@postnord/web-components/esm/pn-wizard.entry.js +12 -8
- package/umd/modules/@postnord/web-components/esm/pn-zipcode-search.entry.js +4 -5
- package/umd/modules/@postnord/web-components/esm/postnord-web-components.js +4 -5
- package/umd/modules/@postnord/web-components/hydrate/index.d.ts +12 -0
- package/umd/modules/@postnord/web-components/hydrate/index.js +6041 -2029
- package/umd/modules/@postnord/web-components/hydrate/index.mjs +6040 -2030
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/cli/config-flags.d.ts +2 -2
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/cli/index.cjs +1625 -61
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/cli/index.js +1625 -61
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/cli/package.json +1 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.dom.d.ts +4826 -14645
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.dom.iterable.d.ts +25 -103
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2015.symbol.wellknown.d.ts +1 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2017.sharedmemory.d.ts +1 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2022.intl.d.ts +1 -25
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es5.d.ts +2 -9
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.esnext.d.ts +0 -2
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.esnext.float16.d.ts +0 -2
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.webworker.d.ts +1342 -4598
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.webworker.iterable.d.ts +19 -72
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/package.json +1 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/stencil.js +27894 -17484
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/index.js +12 -12
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/package.json +1 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/connector.html +3 -3
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/index.js +2 -2
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/package.json +1 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/server-process.js +1685 -119
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/app-data/index.cjs +2 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/app-data/index.js +2 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/app-data/package.json +1 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/app-globals/package.json +1 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/index.js +468 -341
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/package.json +1 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/patch-browser.js +1 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/shadow-css.js +3 -3
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/hydrate/index.js +2258 -466
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/hydrate/package.json +1 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/hydrate/runner.d.ts +12 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/hydrate/runner.js +2188 -448
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/package.json +1 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-core/index.d.ts +2 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-core/jsx-dev-runtime.cjs +7 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-core/jsx-dev-runtime.d.ts +41 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-core/jsx-dev-runtime.js +2 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-core/jsx-runtime.cjs +8 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-core/jsx-runtime.d.ts +40 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-core/jsx-runtime.js +2 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-private.d.ts +48 -2
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-public-compiler.d.ts +62 -3
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-public-docs.d.ts +11 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-public-runtime.d.ts +87 -4
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/testing/index.js +2353 -548
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/testing/jsx-dev-runtime.d.ts +2 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/testing/jsx-dev-runtime.js +8 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/testing/jsx-runtime.d.ts +2 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/testing/jsx-runtime.js +9 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/testing/package.json +1 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/mock-doc/index.cjs +435 -383
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/mock-doc/index.d.ts +4 -3
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/mock-doc/index.js +436 -383
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/mock-doc/package.json +1 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/package.json +28 -4
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/index.js +1635 -52
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/package.json +1 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/pixel-match.js +3 -3
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/autoprefixer.js +2 -2
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/glob.js +1 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/index.js +40 -40
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/node-fetch.js +1 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/package.json +1 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/worker.js +1 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/index.js +1844 -183
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/package.json +1 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/puppeteer/puppeteer-browser.d.ts +1 -1
- package/umd/modules/@postnord/web-components/package.json +20 -20
- package/umd/modules/@postnord/web-components/postnord-web-components/index.esm.js +1 -2
- package/umd/modules/@postnord/web-components/postnord-web-components/p-01ac1c67.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-0dd15cc3.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-0e94a4dd.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-0ed2ee53.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-109ba1fc.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-1a3c49ba.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-2610f8ab.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-267c323e.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-2a364778.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-2a682ff9.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-2cce8a9f.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-2f4ad4a4.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-306ec758.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-38e44ed0.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-3c96cb61.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-3d2cac86.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-3d459401.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-3deb5a9e.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-41c09d4d.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-484dfaa4.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-50116c0d.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-502b8430.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-5b7c1333.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-67f55491.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-838c17b9.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-849d48c6.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-89aaa3c8.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-8b2b6f5d.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-93db2b9e.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-97ffc4b3.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-B6SVpr61.js +1 -2
- package/umd/modules/@postnord/web-components/postnord-web-components/p-B88w-Zxn.js +1 -2
- package/umd/modules/@postnord/web-components/postnord-web-components/p-BTqkgfeH.js +1 -2
- package/umd/modules/@postnord/web-components/postnord-web-components/p-BlM_xfdt.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-BpI8peGn.js +1 -2
- package/umd/modules/@postnord/web-components/postnord-web-components/p-BvuWkoyY.js +1 -2
- package/umd/modules/@postnord/web-components/postnord-web-components/p-CAEP792y.js +6 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-CQaMdITw.js +1 -2
- package/umd/modules/@postnord/web-components/postnord-web-components/p-C_nYl55V.js +1 -2
- package/umd/modules/@postnord/web-components/postnord-web-components/p-D4GZ__oQ.js +1 -2
- package/umd/modules/@postnord/web-components/postnord-web-components/p-D_UyW-KH.js +1 -2
- package/umd/modules/@postnord/web-components/postnord-web-components/p-Dh478Si7.js +1 -2
- package/umd/modules/@postnord/web-components/postnord-web-components/p-DrYFvs2M.js +1 -2
- package/umd/modules/@postnord/web-components/postnord-web-components/p-IFVOY5Gf.js +1 -2
- package/umd/modules/@postnord/web-components/postnord-web-components/p-b0710b87.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-b3c4e3e8.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-b8c4423b.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-ba59528f.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-c0ae367c.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-c3e851f9.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-c4c4c75b.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-c843ae5e.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-d1e27524.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-d214e930.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-d7091312.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-db2b7e5d.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-e3fb693e.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-e83de0b1.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-ea50ecd2.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-edc28eee.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/postnord-web-components.esm.js +1 -2
- package/umd/modules/@postnord/web-components/readme.md +97 -0
- package/umd/modules/@postnord/web-components/types/components/input/pn-counter/pn-counter.d.ts +27 -26
- package/umd/modules/@postnord/web-components/types/components/input/pn-input/pn-input.d.ts +9 -0
- package/umd/modules/@postnord/web-components/types/components/input/pn-range/pn-range.d.ts +141 -0
- package/umd/modules/@postnord/web-components/types/components/input/pn-select/pn-select.d.ts +3 -0
- package/umd/modules/@postnord/web-components/types/components/input/pn-textarea/pn-textarea.d.ts +10 -8
- package/umd/modules/@postnord/web-components/types/components.d.ts +410 -0
- package/umd/modules/@postnord/web-components/types/index.d.ts +1 -0
- package/umd/modules/@postnord/web-components/types/stencil-public-runtime.d.ts +87 -4
- package/umd/modules/@postnord/web-components/vscode-data.json +160 -35
- package/vscode-data.json +9 -9
- package/cjs/index-b02670c2.js.map +0 -1
- package/esm/index-c311acd6.js.map +0 -1
- package/pn-market-web-components/p-28d2f7fa.entry.js.map +0 -1
- package/pn-market-web-components/p-3e197670.entry.js +0 -2
- package/pn-market-web-components/p-4e924d13.entry.js.map +0 -1
- package/pn-market-web-components/p-72828265.js +0 -2
- package/pn-market-web-components/p-82546a44.js.map +0 -1
- package/pn-market-web-components/p-d75a2f7c.entry.js +0 -2
- package/pn-market-web-components/p-d75a2f7c.entry.js.map +0 -1
- package/pn-market-web-components/p-dc2ee6f8.entry.js +0 -2
- package/pn-market-web-components/p-dc2ee6f8.entry.js.map +0 -1
- package/pn-market-web-components/p-fe466661.js +0 -2
- package/umd/modules/@postnord/web-components/cjs/alert_exclamation_circle-BiBEJK9P.js.map +0 -1
- package/umd/modules/@postnord/web-components/cjs/alert_info_circle-BaN88M1m.js.map +0 -1
- package/umd/modules/@postnord/web-components/cjs/app-globals-DztCprK-.js.map +0 -1
- package/umd/modules/@postnord/web-components/cjs/arrow_left-Crkz484c.js.map +0 -1
- package/umd/modules/@postnord/web-components/cjs/arrow_right-CABi9Wkp.js.map +0 -1
- package/umd/modules/@postnord/web-components/cjs/check-CQU2BD5S.js.map +0 -1
- package/umd/modules/@postnord/web-components/cjs/check_circle-BSQcdFEJ.js.map +0 -1
- package/umd/modules/@postnord/web-components/cjs/chevron_down-BLU6_yOG.js.map +0 -1
- package/umd/modules/@postnord/web-components/cjs/chevron_right-CApgqZb0.js.map +0 -1
- package/umd/modules/@postnord/web-components/cjs/close-Bn5ieKko.js.map +0 -1
- package/umd/modules/@postnord/web-components/cjs/colors-Dzlq0FRO.js.map +0 -1
- package/umd/modules/@postnord/web-components/cjs/index-Bbyn8a0b.js.map +0 -1
- package/umd/modules/@postnord/web-components/cjs/index-ChnvH99O.js.map +0 -1
- package/umd/modules/@postnord/web-components/cjs/index.cjs.js.map +0 -1
- package/umd/modules/@postnord/web-components/cjs/loader.cjs.js.map +0 -1
- package/umd/modules/@postnord/web-components/cjs/open_in_new-B-zmn5xr.js.map +0 -1
- package/umd/modules/@postnord/web-components/cjs/pn-accordion-row.entry.cjs.js.map +0 -1
- package/umd/modules/@postnord/web-components/cjs/pn-accordion.entry.cjs.js.map +0 -1
- package/umd/modules/@postnord/web-components/cjs/pn-action-menu.entry.cjs.js.map +0 -1
- package/umd/modules/@postnord/web-components/cjs/pn-button-dropdown.entry.cjs.js.map +0 -1
- package/umd/modules/@postnord/web-components/cjs/pn-button.pn-spinner.entry.cjs.js.map +0 -1
- package/umd/modules/@postnord/web-components/cjs/pn-card.entry.cjs.js.map +0 -1
- package/umd/modules/@postnord/web-components/cjs/pn-checkbox.entry.cjs.js.map +0 -1
- package/umd/modules/@postnord/web-components/cjs/pn-choice-chip.entry.cjs.js.map +0 -1
- package/umd/modules/@postnord/web-components/cjs/pn-counter.entry.cjs.js.map +0 -1
- package/umd/modules/@postnord/web-components/cjs/pn-date-picker.entry.cjs.js.map +0 -1
- package/umd/modules/@postnord/web-components/cjs/pn-fieldset.entry.cjs.js.map +0 -1
- package/umd/modules/@postnord/web-components/cjs/pn-file-upload.entry.cjs.js.map +0 -1
- package/umd/modules/@postnord/web-components/cjs/pn-footer.entry.cjs.js.map +0 -1
- package/umd/modules/@postnord/web-components/cjs/pn-header.entry.cjs.js.map +0 -1
- package/umd/modules/@postnord/web-components/cjs/pn-icon.pn-tag.entry.cjs.js.map +0 -1
- package/umd/modules/@postnord/web-components/cjs/pn-illustration.entry.cjs.js.map +0 -1
- package/umd/modules/@postnord/web-components/cjs/pn-input.entry.cjs.js.map +0 -1
- package/umd/modules/@postnord/web-components/cjs/pn-modal.entry.cjs.js.map +0 -1
- package/umd/modules/@postnord/web-components/cjs/pn-multiselect.entry.cjs.js.map +0 -1
- package/umd/modules/@postnord/web-components/cjs/pn-ocr-search.entry.cjs.js.map +0 -1
- package/umd/modules/@postnord/web-components/cjs/pn-page-nav-dropdown-item.entry.cjs.js.map +0 -1
- package/umd/modules/@postnord/web-components/cjs/pn-page-nav-item.entry.cjs.js.map +0 -1
- package/umd/modules/@postnord/web-components/cjs/pn-page-nav.entry.cjs.js.map +0 -1
- package/umd/modules/@postnord/web-components/cjs/pn-pagination.entry.cjs.js.map +0 -1
- package/umd/modules/@postnord/web-components/cjs/pn-progress-bar.entry.cjs.js.map +0 -1
- package/umd/modules/@postnord/web-components/cjs/pn-progress-indicator-step.entry.cjs.js.map +0 -1
- package/umd/modules/@postnord/web-components/cjs/pn-progress-indicator.entry.cjs.js.map +0 -1
- package/umd/modules/@postnord/web-components/cjs/pn-progress-stepper.entry.cjs.js.map +0 -1
- package/umd/modules/@postnord/web-components/cjs/pn-radio-button.entry.cjs.js.map +0 -1
- package/umd/modules/@postnord/web-components/cjs/pn-read-only-button.entry.cjs.js.map +0 -1
- package/umd/modules/@postnord/web-components/cjs/pn-search-field.entry.cjs.js.map +0 -1
- package/umd/modules/@postnord/web-components/cjs/pn-segment.entry.cjs.js.map +0 -1
- package/umd/modules/@postnord/web-components/cjs/pn-segmented-control.entry.cjs.js.map +0 -1
- package/umd/modules/@postnord/web-components/cjs/pn-select.entry.cjs.js.map +0 -1
- package/umd/modules/@postnord/web-components/cjs/pn-tab.entry.cjs.js.map +0 -1
- package/umd/modules/@postnord/web-components/cjs/pn-table.entry.cjs.js.map +0 -1
- package/umd/modules/@postnord/web-components/cjs/pn-tablist.entry.cjs.js.map +0 -1
- package/umd/modules/@postnord/web-components/cjs/pn-text-link.entry.cjs.js.map +0 -1
- package/umd/modules/@postnord/web-components/cjs/pn-textarea.entry.cjs.js.map +0 -1
- package/umd/modules/@postnord/web-components/cjs/pn-tile.entry.cjs.js.map +0 -1
- package/umd/modules/@postnord/web-components/cjs/pn-toast.entry.cjs.js.map +0 -1
- package/umd/modules/@postnord/web-components/cjs/pn-toggle-switch.entry.cjs.js.map +0 -1
- package/umd/modules/@postnord/web-components/cjs/pn-tooltip.entry.cjs.js.map +0 -1
- package/umd/modules/@postnord/web-components/cjs/pn-wizard.entry.cjs.js.map +0 -1
- package/umd/modules/@postnord/web-components/cjs/pn-zipcode-search.entry.cjs.js.map +0 -1
- package/umd/modules/@postnord/web-components/cjs/postnord-web-components.cjs.js.map +0 -1
- package/umd/modules/@postnord/web-components/collection/components/buttons/pn-action-menu/pn-action-menu.js.map +0 -1
- package/umd/modules/@postnord/web-components/collection/components/buttons/pn-action-menu/translation.js.map +0 -1
- package/umd/modules/@postnord/web-components/collection/components/buttons/pn-button/pn-button.js.map +0 -1
- package/umd/modules/@postnord/web-components/collection/components/buttons/pn-button-dropdown/pn-button-dropdown.js.map +0 -1
- package/umd/modules/@postnord/web-components/collection/components/buttons/pn-read-only-button/pn-read-only-button.js.map +0 -1
- package/umd/modules/@postnord/web-components/collection/components/content/pn-accordion/pn-accordion.js.map +0 -1
- package/umd/modules/@postnord/web-components/collection/components/content/pn-accordion/row/pn-accordion-row.js.map +0 -1
- package/umd/modules/@postnord/web-components/collection/components/content/pn-table/pn-table.js.map +0 -1
- package/umd/modules/@postnord/web-components/collection/components/content/pn-tag/pn-tag.js.map +0 -1
- package/umd/modules/@postnord/web-components/collection/components/design-tokens/pn-icon/pn-icon.js.map +0 -1
- package/umd/modules/@postnord/web-components/collection/components/design-tokens/pn-illustration/pn-illustration.js.map +0 -1
- package/umd/modules/@postnord/web-components/collection/components/feedback/pn-modal/pn-modal.js.map +0 -1
- package/umd/modules/@postnord/web-components/collection/components/feedback/pn-modal/translation.js.map +0 -1
- package/umd/modules/@postnord/web-components/collection/components/feedback/pn-progress-bar/pn-progress-bar.js.map +0 -1
- package/umd/modules/@postnord/web-components/collection/components/feedback/pn-progress-indicator/pn-progress-indicator-step/pn-progress-indicator-step.js.map +0 -1
- package/umd/modules/@postnord/web-components/collection/components/feedback/pn-progress-indicator/pn-progress-indicator.js.map +0 -1
- package/umd/modules/@postnord/web-components/collection/components/feedback/pn-progress-stepper/pn-progress-stepper.js.map +0 -1
- package/umd/modules/@postnord/web-components/collection/components/feedback/pn-progress-stepper/translations.js.map +0 -1
- package/umd/modules/@postnord/web-components/collection/components/feedback/pn-spinner/pn-spinner.js.map +0 -1
- package/umd/modules/@postnord/web-components/collection/components/feedback/pn-toast/pn-toast.js.map +0 -1
- package/umd/modules/@postnord/web-components/collection/components/feedback/pn-toast/translation.js.map +0 -1
- package/umd/modules/@postnord/web-components/collection/components/feedback/pn-tooltip/pn-tooltip.js.map +0 -1
- package/umd/modules/@postnord/web-components/collection/components/feedback/pn-wizard/pn-wizard.js.map +0 -1
- package/umd/modules/@postnord/web-components/collection/components/feedback/pn-wizard/translation.js.map +0 -1
- package/umd/modules/@postnord/web-components/collection/components/input/pn-checkbox/pn-checkbox.js.map +0 -1
- package/umd/modules/@postnord/web-components/collection/components/input/pn-choice-chip/pn-choice-chip.js.map +0 -1
- package/umd/modules/@postnord/web-components/collection/components/input/pn-counter/pn-counter.js.map +0 -1
- package/umd/modules/@postnord/web-components/collection/components/input/pn-counter/translations.js.map +0 -1
- package/umd/modules/@postnord/web-components/collection/components/input/pn-date-picker/pn-date-picker.js.map +0 -1
- package/umd/modules/@postnord/web-components/collection/components/input/pn-date-picker/translations.js.map +0 -1
- package/umd/modules/@postnord/web-components/collection/components/input/pn-fieldset/pn-fieldset.js.map +0 -1
- package/umd/modules/@postnord/web-components/collection/components/input/pn-file-upload/pn-file-upload-error.js.map +0 -1
- package/umd/modules/@postnord/web-components/collection/components/input/pn-file-upload/pn-file-upload.js.map +0 -1
- package/umd/modules/@postnord/web-components/collection/components/input/pn-file-upload/translation.js.map +0 -1
- package/umd/modules/@postnord/web-components/collection/components/input/pn-input/pn-input.js.map +0 -1
- package/umd/modules/@postnord/web-components/collection/components/input/pn-input/translations.js.map +0 -1
- package/umd/modules/@postnord/web-components/collection/components/input/pn-multiselect/pn-multiselect.js.map +0 -1
- package/umd/modules/@postnord/web-components/collection/components/input/pn-multiselect/translations.js.map +0 -1
- package/umd/modules/@postnord/web-components/collection/components/input/pn-radio-button/pn-radio-button.js.map +0 -1
- package/umd/modules/@postnord/web-components/collection/components/input/pn-search-field/pn-search-field.js.map +0 -1
- package/umd/modules/@postnord/web-components/collection/components/input/pn-search-field/translations.js.map +0 -1
- package/umd/modules/@postnord/web-components/collection/components/input/pn-segmented-control/pn-segmented-control.js.map +0 -1
- package/umd/modules/@postnord/web-components/collection/components/input/pn-segmented-control/segment/pn-segment.js.map +0 -1
- package/umd/modules/@postnord/web-components/collection/components/input/pn-select/pn-select.js.map +0 -1
- package/umd/modules/@postnord/web-components/collection/components/input/pn-select/translations.js.map +0 -1
- package/umd/modules/@postnord/web-components/collection/components/input/pn-textarea/pn-textarea.js.map +0 -1
- package/umd/modules/@postnord/web-components/collection/components/input/pn-toggle-switch/pn-toggle-switch.js.map +0 -1
- package/umd/modules/@postnord/web-components/collection/components/layout/pn-header/pn-header.js.map +0 -1
- package/umd/modules/@postnord/web-components/collection/components/navigation/pn-card/pn-card.js.map +0 -1
- package/umd/modules/@postnord/web-components/collection/components/navigation/pn-footer/pn-footer.js.map +0 -1
- package/umd/modules/@postnord/web-components/collection/components/navigation/pn-footer/translations.js.map +0 -1
- package/umd/modules/@postnord/web-components/collection/components/navigation/pn-footer/urls.js.map +0 -1
- package/umd/modules/@postnord/web-components/collection/components/navigation/pn-page-nav/dropdown-item/pn-page-nav-dropdown-item.js.map +0 -1
- package/umd/modules/@postnord/web-components/collection/components/navigation/pn-page-nav/item/pn-page-nav-item.js.map +0 -1
- package/umd/modules/@postnord/web-components/collection/components/navigation/pn-page-nav/menu/pn-page-nav.js.map +0 -1
- package/umd/modules/@postnord/web-components/collection/components/navigation/pn-pagination/pn-pagination.js.map +0 -1
- package/umd/modules/@postnord/web-components/collection/components/navigation/pn-pagination/translations.js.map +0 -1
- package/umd/modules/@postnord/web-components/collection/components/navigation/pn-tablist/pn-tablist.js.map +0 -1
- package/umd/modules/@postnord/web-components/collection/components/navigation/pn-tablist/tab/pn-tab.js.map +0 -1
- package/umd/modules/@postnord/web-components/collection/components/navigation/pn-tablist/translations.js.map +0 -1
- package/umd/modules/@postnord/web-components/collection/components/navigation/pn-text-link/pn-text-link.js.map +0 -1
- package/umd/modules/@postnord/web-components/collection/components/navigation/pn-tile/pn-tile.js.map +0 -1
- package/umd/modules/@postnord/web-components/collection/components/web-components/pn-ocr-search/pn-ocr-search.js.map +0 -1
- package/umd/modules/@postnord/web-components/collection/components/web-components/pn-ocr-search/translations.js.map +0 -1
- package/umd/modules/@postnord/web-components/collection/components/web-components/pn-zipcode-search/pn-zipcode-search.js.map +0 -1
- package/umd/modules/@postnord/web-components/collection/components/web-components/pn-zipcode-search/translations.js.map +0 -1
- package/umd/modules/@postnord/web-components/collection/globals/date/index.js.map +0 -1
- package/umd/modules/@postnord/web-components/collection/globals/helpers.js.map +0 -1
- package/umd/modules/@postnord/web-components/collection/globals/mixins/index.js.map +0 -1
- package/umd/modules/@postnord/web-components/collection/globals/types.js.map +0 -1
- package/umd/modules/@postnord/web-components/collection/index.js.map +0 -1
- package/umd/modules/@postnord/web-components/components/alert_exclamation_circle.js.map +0 -1
- package/umd/modules/@postnord/web-components/components/alert_info_circle.js.map +0 -1
- package/umd/modules/@postnord/web-components/components/arrow_left.js.map +0 -1
- package/umd/modules/@postnord/web-components/components/arrow_right.js.map +0 -1
- package/umd/modules/@postnord/web-components/components/check.js.map +0 -1
- package/umd/modules/@postnord/web-components/components/check_circle.js.map +0 -1
- package/umd/modules/@postnord/web-components/components/chevron_down.js.map +0 -1
- package/umd/modules/@postnord/web-components/components/chevron_right.js.map +0 -1
- package/umd/modules/@postnord/web-components/components/close.js.map +0 -1
- package/umd/modules/@postnord/web-components/components/colors.js.map +0 -1
- package/umd/modules/@postnord/web-components/components/helpers.js.map +0 -1
- package/umd/modules/@postnord/web-components/components/index.js.map +0 -1
- package/umd/modules/@postnord/web-components/components/index2.js.map +0 -1
- package/umd/modules/@postnord/web-components/components/open_in_new.js.map +0 -1
- package/umd/modules/@postnord/web-components/components/pn-accordion-row.js.map +0 -1
- package/umd/modules/@postnord/web-components/components/pn-accordion.js.map +0 -1
- package/umd/modules/@postnord/web-components/components/pn-action-menu.js.map +0 -1
- package/umd/modules/@postnord/web-components/components/pn-button-dropdown.js.map +0 -1
- package/umd/modules/@postnord/web-components/components/pn-button.js.map +0 -1
- package/umd/modules/@postnord/web-components/components/pn-button2.js.map +0 -1
- package/umd/modules/@postnord/web-components/components/pn-card.js.map +0 -1
- package/umd/modules/@postnord/web-components/components/pn-checkbox.js.map +0 -1
- package/umd/modules/@postnord/web-components/components/pn-choice-chip.js.map +0 -1
- package/umd/modules/@postnord/web-components/components/pn-counter.js.map +0 -1
- package/umd/modules/@postnord/web-components/components/pn-date-picker.js.map +0 -1
- package/umd/modules/@postnord/web-components/components/pn-fieldset.js.map +0 -1
- package/umd/modules/@postnord/web-components/components/pn-file-upload.js.map +0 -1
- package/umd/modules/@postnord/web-components/components/pn-footer.js.map +0 -1
- package/umd/modules/@postnord/web-components/components/pn-header.js.map +0 -1
- package/umd/modules/@postnord/web-components/components/pn-icon.js.map +0 -1
- package/umd/modules/@postnord/web-components/components/pn-icon2.js.map +0 -1
- package/umd/modules/@postnord/web-components/components/pn-illustration.js.map +0 -1
- package/umd/modules/@postnord/web-components/components/pn-illustration2.js.map +0 -1
- package/umd/modules/@postnord/web-components/components/pn-input.js.map +0 -1
- package/umd/modules/@postnord/web-components/components/pn-modal.js.map +0 -1
- package/umd/modules/@postnord/web-components/components/pn-multiselect.js.map +0 -1
- package/umd/modules/@postnord/web-components/components/pn-ocr-search.js.map +0 -1
- package/umd/modules/@postnord/web-components/components/pn-page-nav-dropdown-item.js.map +0 -1
- package/umd/modules/@postnord/web-components/components/pn-page-nav-item.js.map +0 -1
- package/umd/modules/@postnord/web-components/components/pn-page-nav.js.map +0 -1
- package/umd/modules/@postnord/web-components/components/pn-pagination.js.map +0 -1
- package/umd/modules/@postnord/web-components/components/pn-progress-bar.js.map +0 -1
- package/umd/modules/@postnord/web-components/components/pn-progress-bar2.js.map +0 -1
- package/umd/modules/@postnord/web-components/components/pn-progress-indicator-step.js.map +0 -1
- package/umd/modules/@postnord/web-components/components/pn-progress-indicator.js.map +0 -1
- package/umd/modules/@postnord/web-components/components/pn-progress-stepper.js.map +0 -1
- package/umd/modules/@postnord/web-components/components/pn-progress-stepper2.js.map +0 -1
- package/umd/modules/@postnord/web-components/components/pn-radio-button.js.map +0 -1
- package/umd/modules/@postnord/web-components/components/pn-read-only-button.js.map +0 -1
- package/umd/modules/@postnord/web-components/components/pn-search-field.js.map +0 -1
- package/umd/modules/@postnord/web-components/components/pn-search-field2.js.map +0 -1
- package/umd/modules/@postnord/web-components/components/pn-segment.js.map +0 -1
- package/umd/modules/@postnord/web-components/components/pn-segmented-control.js.map +0 -1
- package/umd/modules/@postnord/web-components/components/pn-select.js.map +0 -1
- package/umd/modules/@postnord/web-components/components/pn-select2.js.map +0 -1
- package/umd/modules/@postnord/web-components/components/pn-spinner.js.map +0 -1
- package/umd/modules/@postnord/web-components/components/pn-spinner2.js.map +0 -1
- package/umd/modules/@postnord/web-components/components/pn-tab.js.map +0 -1
- package/umd/modules/@postnord/web-components/components/pn-table.js.map +0 -1
- package/umd/modules/@postnord/web-components/components/pn-tablist.js.map +0 -1
- package/umd/modules/@postnord/web-components/components/pn-tag.js.map +0 -1
- package/umd/modules/@postnord/web-components/components/pn-text-link.js.map +0 -1
- package/umd/modules/@postnord/web-components/components/pn-text-link2.js.map +0 -1
- package/umd/modules/@postnord/web-components/components/pn-textarea.js.map +0 -1
- package/umd/modules/@postnord/web-components/components/pn-tile.js.map +0 -1
- package/umd/modules/@postnord/web-components/components/pn-toast.js.map +0 -1
- package/umd/modules/@postnord/web-components/components/pn-toggle-switch.js.map +0 -1
- package/umd/modules/@postnord/web-components/components/pn-tooltip.js.map +0 -1
- package/umd/modules/@postnord/web-components/components/pn-wizard.js.map +0 -1
- package/umd/modules/@postnord/web-components/components/pn-zipcode-search.js.map +0 -1
- package/umd/modules/@postnord/web-components/esm/alert_exclamation_circle-B88w-Zxn.js.map +0 -1
- package/umd/modules/@postnord/web-components/esm/alert_info_circle-BTqkgfeH.js.map +0 -1
- package/umd/modules/@postnord/web-components/esm/app-globals-Dh478Si7.js.map +0 -1
- package/umd/modules/@postnord/web-components/esm/arrow_left-CQaMdITw.js.map +0 -1
- package/umd/modules/@postnord/web-components/esm/arrow_right-D_UyW-KH.js.map +0 -1
- package/umd/modules/@postnord/web-components/esm/check-BpI8peGn.js.map +0 -1
- package/umd/modules/@postnord/web-components/esm/check_circle-D4GZ__oQ.js.map +0 -1
- package/umd/modules/@postnord/web-components/esm/chevron_down-DrYFvs2M.js.map +0 -1
- package/umd/modules/@postnord/web-components/esm/chevron_right-B6SVpr61.js.map +0 -1
- package/umd/modules/@postnord/web-components/esm/close-BvuWkoyY.js.map +0 -1
- package/umd/modules/@postnord/web-components/esm/colors-C_nYl55V.js.map +0 -1
- package/umd/modules/@postnord/web-components/esm/index-BNA0ko5y.js.map +0 -1
- package/umd/modules/@postnord/web-components/esm/index-CJTbRJfo.js.map +0 -1
- package/umd/modules/@postnord/web-components/esm/index.js.map +0 -1
- package/umd/modules/@postnord/web-components/esm/loader.js.map +0 -1
- package/umd/modules/@postnord/web-components/esm/open_in_new-IFVOY5Gf.js.map +0 -1
- package/umd/modules/@postnord/web-components/esm/pn-accordion-row.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/esm/pn-accordion.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/esm/pn-action-menu.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/esm/pn-button-dropdown.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/esm/pn-button.pn-spinner.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/esm/pn-card.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/esm/pn-checkbox.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/esm/pn-choice-chip.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/esm/pn-counter.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/esm/pn-date-picker.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/esm/pn-fieldset.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/esm/pn-file-upload.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/esm/pn-footer.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/esm/pn-header.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/esm/pn-icon.pn-tag.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/esm/pn-illustration.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/esm/pn-input.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/esm/pn-modal.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/esm/pn-multiselect.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/esm/pn-ocr-search.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/esm/pn-page-nav-dropdown-item.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/esm/pn-page-nav-item.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/esm/pn-page-nav.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/esm/pn-pagination.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/esm/pn-progress-bar.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/esm/pn-progress-indicator-step.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/esm/pn-progress-indicator.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/esm/pn-progress-stepper.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/esm/pn-radio-button.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/esm/pn-read-only-button.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/esm/pn-search-field.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/esm/pn-segment.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/esm/pn-segmented-control.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/esm/pn-select.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/esm/pn-tab.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/esm/pn-table.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/esm/pn-tablist.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/esm/pn-text-link.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/esm/pn-textarea.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/esm/pn-tile.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/esm/pn-toast.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/esm/pn-toggle-switch.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/esm/pn-tooltip.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/esm/pn-wizard.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/esm/pn-zipcode-search.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/esm/postnord-web-components.js.map +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.esnext.error.d.ts +0 -24
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.esnext.sharedmemory.d.ts +0 -25
- package/umd/modules/@postnord/web-components/postnord-web-components/index.esm.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/loader.esm.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-0b73e708.entry.js +0 -6
- package/umd/modules/@postnord/web-components/postnord-web-components/p-0b73e708.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-13d5a525.entry.js +0 -6
- package/umd/modules/@postnord/web-components/postnord-web-components/p-13d5a525.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-16aacb54.entry.js +0 -6
- package/umd/modules/@postnord/web-components/postnord-web-components/p-16aacb54.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-1943dc9a.entry.js +0 -6
- package/umd/modules/@postnord/web-components/postnord-web-components/p-1943dc9a.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-1ab03b27.entry.js +0 -6
- package/umd/modules/@postnord/web-components/postnord-web-components/p-1ab03b27.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-26f6191c.entry.js +0 -6
- package/umd/modules/@postnord/web-components/postnord-web-components/p-26f6191c.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-2abae92e.entry.js +0 -6
- package/umd/modules/@postnord/web-components/postnord-web-components/p-2abae92e.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-34d50f65.entry.js +0 -6
- package/umd/modules/@postnord/web-components/postnord-web-components/p-34d50f65.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-37e91e60.entry.js +0 -6
- package/umd/modules/@postnord/web-components/postnord-web-components/p-37e91e60.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-40e79be6.entry.js +0 -6
- package/umd/modules/@postnord/web-components/postnord-web-components/p-40e79be6.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-4306cd57.entry.js +0 -6
- package/umd/modules/@postnord/web-components/postnord-web-components/p-4306cd57.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-4d17461c.entry.js +0 -6
- package/umd/modules/@postnord/web-components/postnord-web-components/p-4d17461c.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-56a6680a.entry.js +0 -6
- package/umd/modules/@postnord/web-components/postnord-web-components/p-56a6680a.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-61269e0d.entry.js +0 -6
- package/umd/modules/@postnord/web-components/postnord-web-components/p-61269e0d.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-6894a9d1.entry.js +0 -6
- package/umd/modules/@postnord/web-components/postnord-web-components/p-6894a9d1.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-68c63ef9.entry.js +0 -6
- package/umd/modules/@postnord/web-components/postnord-web-components/p-68c63ef9.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-72a8abdf.entry.js +0 -6
- package/umd/modules/@postnord/web-components/postnord-web-components/p-72a8abdf.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-8662ed7c.entry.js +0 -6
- package/umd/modules/@postnord/web-components/postnord-web-components/p-8662ed7c.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-86b58ebf.entry.js +0 -6
- package/umd/modules/@postnord/web-components/postnord-web-components/p-86b58ebf.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-8c66a482.entry.js +0 -6
- package/umd/modules/@postnord/web-components/postnord-web-components/p-8c66a482.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-8d356d3e.entry.js +0 -6
- package/umd/modules/@postnord/web-components/postnord-web-components/p-8d356d3e.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-8ec90dfa.entry.js +0 -6
- package/umd/modules/@postnord/web-components/postnord-web-components/p-8ec90dfa.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-8fff1887.entry.js +0 -6
- package/umd/modules/@postnord/web-components/postnord-web-components/p-8fff1887.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-983152d9.entry.js +0 -6
- package/umd/modules/@postnord/web-components/postnord-web-components/p-983152d9.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-9884ede8.entry.js +0 -6
- package/umd/modules/@postnord/web-components/postnord-web-components/p-9884ede8.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-9e8f6ffa.entry.js +0 -6
- package/umd/modules/@postnord/web-components/postnord-web-components/p-9e8f6ffa.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-B6SVpr61.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-B88w-Zxn.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-BNA0ko5y.js +0 -7
- package/umd/modules/@postnord/web-components/postnord-web-components/p-BNA0ko5y.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-BTqkgfeH.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-BpI8peGn.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-BvuWkoyY.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-C18BEeVU.js +0 -6
- package/umd/modules/@postnord/web-components/postnord-web-components/p-C18BEeVU.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-CQaMdITw.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-C_nYl55V.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-D4GZ__oQ.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-D_UyW-KH.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-Dh478Si7.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-DrYFvs2M.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-IFVOY5Gf.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-a6bb25f4.entry.js +0 -6
- package/umd/modules/@postnord/web-components/postnord-web-components/p-a6bb25f4.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-aa2d25dc.entry.js +0 -6
- package/umd/modules/@postnord/web-components/postnord-web-components/p-aa2d25dc.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-ab18b769.entry.js +0 -6
- package/umd/modules/@postnord/web-components/postnord-web-components/p-ab18b769.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-afb1f37a.entry.js +0 -6
- package/umd/modules/@postnord/web-components/postnord-web-components/p-afb1f37a.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-b0ce2c3d.entry.js +0 -6
- package/umd/modules/@postnord/web-components/postnord-web-components/p-b0ce2c3d.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-b6449612.entry.js +0 -6
- package/umd/modules/@postnord/web-components/postnord-web-components/p-b6449612.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-b6bf5958.entry.js +0 -6
- package/umd/modules/@postnord/web-components/postnord-web-components/p-b6bf5958.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-ba6de886.entry.js +0 -6
- package/umd/modules/@postnord/web-components/postnord-web-components/p-ba6de886.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-c0c9b98e.entry.js +0 -6
- package/umd/modules/@postnord/web-components/postnord-web-components/p-c0c9b98e.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-c9dd5e8b.entry.js +0 -6
- package/umd/modules/@postnord/web-components/postnord-web-components/p-c9dd5e8b.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-cd527042.entry.js +0 -6
- package/umd/modules/@postnord/web-components/postnord-web-components/p-cd527042.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-ce2a97e3.entry.js +0 -6
- package/umd/modules/@postnord/web-components/postnord-web-components/p-ce2a97e3.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-d096c083.entry.js +0 -6
- package/umd/modules/@postnord/web-components/postnord-web-components/p-d096c083.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-da0b4675.entry.js +0 -6
- package/umd/modules/@postnord/web-components/postnord-web-components/p-da0b4675.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-da7b4e15.entry.js +0 -6
- package/umd/modules/@postnord/web-components/postnord-web-components/p-da7b4e15.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-e78da8bd.entry.js +0 -6
- package/umd/modules/@postnord/web-components/postnord-web-components/p-e78da8bd.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-e9955b50.entry.js +0 -6
- package/umd/modules/@postnord/web-components/postnord-web-components/p-e9955b50.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-ee2a687f.entry.js +0 -6
- package/umd/modules/@postnord/web-components/postnord-web-components/p-ee2a687f.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-f5b054fb.entry.js +0 -6
- package/umd/modules/@postnord/web-components/postnord-web-components/p-f5b054fb.entry.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/pn-accordion-row.entry.esm.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/pn-accordion.entry.esm.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/pn-action-menu.entry.esm.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/pn-button-dropdown.entry.esm.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/pn-button.pn-spinner.entry.esm.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/pn-card.entry.esm.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/pn-checkbox.entry.esm.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/pn-choice-chip.entry.esm.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/pn-counter.entry.esm.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/pn-date-picker.entry.esm.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/pn-fieldset.entry.esm.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/pn-file-upload.entry.esm.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/pn-footer.entry.esm.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/pn-header.entry.esm.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/pn-icon.pn-tag.entry.esm.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/pn-illustration.entry.esm.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/pn-input.entry.esm.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/pn-modal.entry.esm.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/pn-multiselect.entry.esm.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/pn-ocr-search.entry.esm.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/pn-page-nav-dropdown-item.entry.esm.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/pn-page-nav-item.entry.esm.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/pn-page-nav.entry.esm.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/pn-pagination.entry.esm.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/pn-progress-bar.entry.esm.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/pn-progress-indicator-step.entry.esm.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/pn-progress-indicator.entry.esm.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/pn-progress-stepper.entry.esm.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/pn-radio-button.entry.esm.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/pn-read-only-button.entry.esm.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/pn-search-field.entry.esm.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/pn-segment.entry.esm.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/pn-segmented-control.entry.esm.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/pn-select.entry.esm.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/pn-tab.entry.esm.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/pn-table.entry.esm.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/pn-tablist.entry.esm.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/pn-text-link.entry.esm.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/pn-textarea.entry.esm.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/pn-tile.entry.esm.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/pn-toast.entry.esm.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/pn-toggle-switch.entry.esm.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/pn-tooltip.entry.esm.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/pn-wizard.entry.esm.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/pn-zipcode-search.entry.esm.js.map +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/postnord-web-components.esm.js.map +0 -1
- /package/pn-market-web-components/{p-41cdac85.entry.js.map → p-02cc3319.entry.js.map} +0 -0
- /package/pn-market-web-components/{p-34a98554.entry.js.map → p-096cbbcb.entry.js.map} +0 -0
- /package/pn-market-web-components/{p-79e4715c.entry.js.map → p-0b092a5c.entry.js.map} +0 -0
- /package/pn-market-web-components/{p-17c43a96.entry.js.map → p-0b7d3d23.entry.js.map} +0 -0
- /package/pn-market-web-components/{p-f28059f4.entry.js.map → p-0d67f0af.entry.js.map} +0 -0
- /package/pn-market-web-components/{p-eb21f772.entry.js.map → p-0f2148b7.entry.js.map} +0 -0
- /package/pn-market-web-components/{p-920ce5f2.entry.js.map → p-133c7313.entry.js.map} +0 -0
- /package/pn-market-web-components/{p-230ef9aa.entry.js.map → p-1cb0f3fa.entry.js.map} +0 -0
- /package/pn-market-web-components/{p-8836de82.js.map → p-2132ad75.js.map} +0 -0
- /package/pn-market-web-components/{p-0b5a125d.entry.js.map → p-24bfee5d.entry.js.map} +0 -0
- /package/pn-market-web-components/{p-9454075f.entry.js.map → p-2f324058.entry.js.map} +0 -0
- /package/pn-market-web-components/{p-71db6836.entry.js.map → p-315b9cba.entry.js.map} +0 -0
- /package/pn-market-web-components/{p-389a94e7.entry.js.map → p-317fcddf.entry.js.map} +0 -0
- /package/pn-market-web-components/{p-b85c020c.entry.js.map → p-34cb1e2e.entry.js.map} +0 -0
- /package/pn-market-web-components/{p-95d32ab4.entry.js.map → p-368aa69f.entry.js.map} +0 -0
- /package/pn-market-web-components/{p-015127bf.entry.js.map → p-3737defb.entry.js.map} +0 -0
- /package/pn-market-web-components/{p-5a981927.entry.js.map → p-3a298543.entry.js.map} +0 -0
- /package/pn-market-web-components/{p-8a651698.entry.js.map → p-3d11fd8a.entry.js.map} +0 -0
- /package/pn-market-web-components/{p-72f57a04.entry.js.map → p-44175dbd.entry.js.map} +0 -0
- /package/pn-market-web-components/{p-4aedb76c.entry.js.map → p-46711387.entry.js.map} +0 -0
- /package/pn-market-web-components/{p-7b4f9fdf.entry.js.map → p-4aa7cec5.entry.js.map} +0 -0
- /package/pn-market-web-components/{p-930e2943.js.map → p-4bd72b91.js.map} +0 -0
- /package/pn-market-web-components/{p-0fc01d3f.entry.js.map → p-4bf2c8ab.entry.js.map} +0 -0
- /package/pn-market-web-components/{p-fb4cdf98.js.map → p-53039fa7.js.map} +0 -0
- /package/pn-market-web-components/{p-c89cb749.entry.js.map → p-588525ac.entry.js.map} +0 -0
- /package/pn-market-web-components/{p-84fc8e05.entry.js.map → p-5d70be75.entry.js.map} +0 -0
- /package/pn-market-web-components/{p-d7170c0e.entry.js.map → p-5d8eb438.entry.js.map} +0 -0
- /package/pn-market-web-components/{p-8d98f709.entry.js.map → p-5f904742.entry.js.map} +0 -0
- /package/pn-market-web-components/{p-268dc1fa.entry.js.map → p-60e3ba3d.entry.js.map} +0 -0
- /package/pn-market-web-components/{p-efab81a9.entry.js.map → p-6a5cb4ca.entry.js.map} +0 -0
- /package/pn-market-web-components/{p-7ab49269.entry.js.map → p-6b6aeeab.entry.js.map} +0 -0
- /package/pn-market-web-components/{p-bfd604f2.entry.js.map → p-6d263c6e.entry.js.map} +0 -0
- /package/pn-market-web-components/{p-923aa6d2.entry.js.map → p-6d6ae33e.entry.js.map} +0 -0
- /package/pn-market-web-components/{p-542f949d.entry.js.map → p-6e3c311a.entry.js.map} +0 -0
- /package/pn-market-web-components/{p-b9590d81.entry.js.map → p-6f1bf16b.entry.js.map} +0 -0
- /package/pn-market-web-components/{p-f9083b7a.js.map → p-70a9d4eb.js.map} +0 -0
- /package/pn-market-web-components/{p-64851da0.entry.js.map → p-7526d49d.entry.js.map} +0 -0
- /package/pn-market-web-components/{p-ad9a7633.entry.js.map → p-7a721a2a.entry.js.map} +0 -0
- /package/pn-market-web-components/{p-0b920554.js.map → p-885d59e8.js.map} +0 -0
- /package/pn-market-web-components/{p-daa74e60.entry.js.map → p-89272a6b.entry.js.map} +0 -0
- /package/pn-market-web-components/{p-a298a263.entry.js.map → p-8afc2d30.entry.js.map} +0 -0
- /package/pn-market-web-components/{p-763a4e13.entry.js.map → p-8b506b9b.entry.js.map} +0 -0
- /package/pn-market-web-components/{p-fe466661.js.map → p-8c42f598.js.map} +0 -0
- /package/pn-market-web-components/{p-ef668a3b.entry.js.map → p-92e8e287.entry.js.map} +0 -0
- /package/pn-market-web-components/{p-8d874454.entry.js.map → p-9638d206.entry.js.map} +0 -0
- /package/pn-market-web-components/{p-2a58d83b.entry.js.map → p-9b709942.entry.js.map} +0 -0
- /package/pn-market-web-components/{p-da56370b.entry.js.map → p-9c0243fd.entry.js.map} +0 -0
- /package/pn-market-web-components/{p-2c19edca.entry.js.map → p-9fc3711d.entry.js.map} +0 -0
- /package/pn-market-web-components/{p-39b75c62.entry.js.map → p-a6941ea3.entry.js.map} +0 -0
- /package/pn-market-web-components/{p-40bce1b1.entry.js.map → p-ab291285.entry.js.map} +0 -0
- /package/pn-market-web-components/{p-35847eda.entry.js.map → p-ad807e2c.entry.js.map} +0 -0
- /package/pn-market-web-components/{p-72828265.js.map → p-ae5756dd.js.map} +0 -0
- /package/pn-market-web-components/{p-f4b14be8.entry.js.map → p-aee65729.entry.js.map} +0 -0
- /package/pn-market-web-components/{p-659a4db5.entry.js.map → p-b20d2e1b.entry.js.map} +0 -0
- /package/pn-market-web-components/{p-292db484.entry.js.map → p-b3605a96.entry.js.map} +0 -0
- /package/pn-market-web-components/{p-f0df7694.entry.js.map → p-b697755f.entry.js.map} +0 -0
- /package/pn-market-web-components/{p-c4e353b3.entry.js.map → p-b9774a2d.entry.js.map} +0 -0
- /package/pn-market-web-components/{p-ce87ff8a.entry.js.map → p-bb5a6883.entry.js.map} +0 -0
- /package/pn-market-web-components/{p-65a046be.entry.js.map → p-c030c263.entry.js.map} +0 -0
- /package/pn-market-web-components/{p-4f639380.entry.js.map → p-c6db243c.entry.js.map} +0 -0
- /package/pn-market-web-components/{p-51f136f3.entry.js.map → p-c7d41f58.entry.js.map} +0 -0
- /package/pn-market-web-components/{p-08b473e0.entry.js.map → p-d07efc2e.entry.js.map} +0 -0
- /package/pn-market-web-components/{p-f28d0971.entry.js.map → p-d18b9aff.entry.js.map} +0 -0
- /package/pn-market-web-components/{p-59bf4b98.entry.js.map → p-d3b4c8d7.entry.js.map} +0 -0
- /package/pn-market-web-components/{p-85b42b44.entry.js.map → p-d49d093f.entry.js.map} +0 -0
- /package/pn-market-web-components/{p-61bd81d7.entry.js.map → p-dc11fc75.entry.js.map} +0 -0
- /package/pn-market-web-components/{p-7b7629c5.entry.js.map → p-de55f656.entry.js.map} +0 -0
- /package/pn-market-web-components/{p-9088d3f5.entry.js.map → p-e07d8b18.entry.js.map} +0 -0
- /package/pn-market-web-components/{p-619f2143.entry.js.map → p-e1c20440.entry.js.map} +0 -0
- /package/pn-market-web-components/{p-60b77eed.entry.js.map → p-e1ccd651.entry.js.map} +0 -0
- /package/pn-market-web-components/{p-793e1339.js.map → p-e3b2486a.js.map} +0 -0
- /package/pn-market-web-components/{p-cbb1d57d.entry.js.map → p-e55e5b49.entry.js.map} +0 -0
- /package/pn-market-web-components/{p-d17af75d.entry.js.map → p-e9d495e3.entry.js.map} +0 -0
- /package/pn-market-web-components/{p-809ed802.entry.js.map → p-eafffc4b.entry.js.map} +0 -0
- /package/pn-market-web-components/{p-66da6e15.entry.js.map → p-ebba8dd2.entry.js.map} +0 -0
- /package/pn-market-web-components/{p-d5c45da2.entry.js.map → p-ec7a8e5a.entry.js.map} +0 -0
- /package/pn-market-web-components/{p-7db6ef34.entry.js.map → p-ed5c0dcc.entry.js.map} +0 -0
- /package/pn-market-web-components/{p-19bbac6d.entry.js.map → p-f6c5c4de.entry.js.map} +0 -0
- /package/pn-market-web-components/{p-ad282b7c.entry.js.map → p-f962fd3e.entry.js.map} +0 -0
- /package/pn-market-web-components/{p-3a936c5d.entry.js.map → p-f97e58b8.entry.js.map} +0 -0
- /package/pn-market-web-components/{p-3d10bc37.entry.js.map → p-fc5c33e7.entry.js.map} +0 -0
package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/testing/index.js
CHANGED
|
@@ -1,8 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
2
3
|
var __defProp = Object.defineProperty;
|
|
3
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
5
7
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __typeError = (msg) => {
|
|
9
|
+
throw TypeError(msg);
|
|
10
|
+
};
|
|
11
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
12
|
+
var __commonJS = (cb, mod) => function __require() {
|
|
13
|
+
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
14
|
+
};
|
|
6
15
|
var __export = (target, all) => {
|
|
7
16
|
for (var name in all)
|
|
8
17
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
@@ -15,7 +24,229 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
15
24
|
}
|
|
16
25
|
return to;
|
|
17
26
|
};
|
|
27
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
28
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
29
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
30
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
31
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
32
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
33
|
+
mod
|
|
34
|
+
));
|
|
18
35
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
36
|
+
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
37
|
+
var __accessCheck = (obj, member, msg) => member.has(obj) || __typeError("Cannot " + msg);
|
|
38
|
+
var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read from private field"), getter ? getter.call(obj) : member.get(obj));
|
|
39
|
+
var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
|
|
40
|
+
var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), setter ? setter.call(obj, value) : member.set(obj, value), value);
|
|
41
|
+
var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "access private method"), method);
|
|
42
|
+
|
|
43
|
+
// node_modules/balanced-match/index.js
|
|
44
|
+
var require_balanced_match = __commonJS({
|
|
45
|
+
"node_modules/balanced-match/index.js"(exports2, module2) {
|
|
46
|
+
"use strict";
|
|
47
|
+
module2.exports = balanced;
|
|
48
|
+
function balanced(a, b, str) {
|
|
49
|
+
if (a instanceof RegExp) a = maybeMatch(a, str);
|
|
50
|
+
if (b instanceof RegExp) b = maybeMatch(b, str);
|
|
51
|
+
var r = range(a, b, str);
|
|
52
|
+
return r && {
|
|
53
|
+
start: r[0],
|
|
54
|
+
end: r[1],
|
|
55
|
+
pre: str.slice(0, r[0]),
|
|
56
|
+
body: str.slice(r[0] + a.length, r[1]),
|
|
57
|
+
post: str.slice(r[1] + b.length)
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
function maybeMatch(reg, str) {
|
|
61
|
+
var m = str.match(reg);
|
|
62
|
+
return m ? m[0] : null;
|
|
63
|
+
}
|
|
64
|
+
balanced.range = range;
|
|
65
|
+
function range(a, b, str) {
|
|
66
|
+
var begs, beg, left, right, result;
|
|
67
|
+
var ai = str.indexOf(a);
|
|
68
|
+
var bi = str.indexOf(b, ai + 1);
|
|
69
|
+
var i2 = ai;
|
|
70
|
+
if (ai >= 0 && bi > 0) {
|
|
71
|
+
if (a === b) {
|
|
72
|
+
return [ai, bi];
|
|
73
|
+
}
|
|
74
|
+
begs = [];
|
|
75
|
+
left = str.length;
|
|
76
|
+
while (i2 >= 0 && !result) {
|
|
77
|
+
if (i2 == ai) {
|
|
78
|
+
begs.push(i2);
|
|
79
|
+
ai = str.indexOf(a, i2 + 1);
|
|
80
|
+
} else if (begs.length == 1) {
|
|
81
|
+
result = [begs.pop(), bi];
|
|
82
|
+
} else {
|
|
83
|
+
beg = begs.pop();
|
|
84
|
+
if (beg < left) {
|
|
85
|
+
left = beg;
|
|
86
|
+
right = bi;
|
|
87
|
+
}
|
|
88
|
+
bi = str.indexOf(b, i2 + 1);
|
|
89
|
+
}
|
|
90
|
+
i2 = ai < bi && ai >= 0 ? ai : bi;
|
|
91
|
+
}
|
|
92
|
+
if (begs.length) {
|
|
93
|
+
result = [left, right];
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
return result;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
});
|
|
100
|
+
|
|
101
|
+
// node_modules/brace-expansion/index.js
|
|
102
|
+
var require_brace_expansion = __commonJS({
|
|
103
|
+
"node_modules/brace-expansion/index.js"(exports2, module2) {
|
|
104
|
+
var balanced = require_balanced_match();
|
|
105
|
+
module2.exports = expandTop;
|
|
106
|
+
var escSlash = "\0SLASH" + Math.random() + "\0";
|
|
107
|
+
var escOpen = "\0OPEN" + Math.random() + "\0";
|
|
108
|
+
var escClose = "\0CLOSE" + Math.random() + "\0";
|
|
109
|
+
var escComma = "\0COMMA" + Math.random() + "\0";
|
|
110
|
+
var escPeriod = "\0PERIOD" + Math.random() + "\0";
|
|
111
|
+
function numeric(str) {
|
|
112
|
+
return parseInt(str, 10) == str ? parseInt(str, 10) : str.charCodeAt(0);
|
|
113
|
+
}
|
|
114
|
+
function escapeBraces(str) {
|
|
115
|
+
return str.split("\\\\").join(escSlash).split("\\{").join(escOpen).split("\\}").join(escClose).split("\\,").join(escComma).split("\\.").join(escPeriod);
|
|
116
|
+
}
|
|
117
|
+
function unescapeBraces(str) {
|
|
118
|
+
return str.split(escSlash).join("\\").split(escOpen).join("{").split(escClose).join("}").split(escComma).join(",").split(escPeriod).join(".");
|
|
119
|
+
}
|
|
120
|
+
function parseCommaParts(str) {
|
|
121
|
+
if (!str)
|
|
122
|
+
return [""];
|
|
123
|
+
var parts = [];
|
|
124
|
+
var m = balanced("{", "}", str);
|
|
125
|
+
if (!m)
|
|
126
|
+
return str.split(",");
|
|
127
|
+
var pre = m.pre;
|
|
128
|
+
var body = m.body;
|
|
129
|
+
var post = m.post;
|
|
130
|
+
var p = pre.split(",");
|
|
131
|
+
p[p.length - 1] += "{" + body + "}";
|
|
132
|
+
var postParts = parseCommaParts(post);
|
|
133
|
+
if (post.length) {
|
|
134
|
+
p[p.length - 1] += postParts.shift();
|
|
135
|
+
p.push.apply(p, postParts);
|
|
136
|
+
}
|
|
137
|
+
parts.push.apply(parts, p);
|
|
138
|
+
return parts;
|
|
139
|
+
}
|
|
140
|
+
function expandTop(str) {
|
|
141
|
+
if (!str)
|
|
142
|
+
return [];
|
|
143
|
+
if (str.substr(0, 2) === "{}") {
|
|
144
|
+
str = "\\{\\}" + str.substr(2);
|
|
145
|
+
}
|
|
146
|
+
return expand2(escapeBraces(str), true).map(unescapeBraces);
|
|
147
|
+
}
|
|
148
|
+
function embrace(str) {
|
|
149
|
+
return "{" + str + "}";
|
|
150
|
+
}
|
|
151
|
+
function isPadded(el) {
|
|
152
|
+
return /^-?0\d/.test(el);
|
|
153
|
+
}
|
|
154
|
+
function lte(i2, y) {
|
|
155
|
+
return i2 <= y;
|
|
156
|
+
}
|
|
157
|
+
function gte(i2, y) {
|
|
158
|
+
return i2 >= y;
|
|
159
|
+
}
|
|
160
|
+
function expand2(str, isTop) {
|
|
161
|
+
var expansions = [];
|
|
162
|
+
var m = balanced("{", "}", str);
|
|
163
|
+
if (!m) return [str];
|
|
164
|
+
var pre = m.pre;
|
|
165
|
+
var post = m.post.length ? expand2(m.post, false) : [""];
|
|
166
|
+
if (/\$$/.test(m.pre)) {
|
|
167
|
+
for (var k = 0; k < post.length; k++) {
|
|
168
|
+
var expansion = pre + "{" + m.body + "}" + post[k];
|
|
169
|
+
expansions.push(expansion);
|
|
170
|
+
}
|
|
171
|
+
} else {
|
|
172
|
+
var isNumericSequence = /^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(m.body);
|
|
173
|
+
var isAlphaSequence = /^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(m.body);
|
|
174
|
+
var isSequence = isNumericSequence || isAlphaSequence;
|
|
175
|
+
var isOptions = m.body.indexOf(",") >= 0;
|
|
176
|
+
if (!isSequence && !isOptions) {
|
|
177
|
+
if (m.post.match(/,(?!,).*\}/)) {
|
|
178
|
+
str = m.pre + "{" + m.body + escClose + m.post;
|
|
179
|
+
return expand2(str);
|
|
180
|
+
}
|
|
181
|
+
return [str];
|
|
182
|
+
}
|
|
183
|
+
var n;
|
|
184
|
+
if (isSequence) {
|
|
185
|
+
n = m.body.split(/\.\./);
|
|
186
|
+
} else {
|
|
187
|
+
n = parseCommaParts(m.body);
|
|
188
|
+
if (n.length === 1) {
|
|
189
|
+
n = expand2(n[0], false).map(embrace);
|
|
190
|
+
if (n.length === 1) {
|
|
191
|
+
return post.map(function(p) {
|
|
192
|
+
return m.pre + n[0] + p;
|
|
193
|
+
});
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
var N;
|
|
198
|
+
if (isSequence) {
|
|
199
|
+
var x = numeric(n[0]);
|
|
200
|
+
var y = numeric(n[1]);
|
|
201
|
+
var width = Math.max(n[0].length, n[1].length);
|
|
202
|
+
var incr = n.length == 3 ? Math.abs(numeric(n[2])) : 1;
|
|
203
|
+
var test = lte;
|
|
204
|
+
var reverse = y < x;
|
|
205
|
+
if (reverse) {
|
|
206
|
+
incr *= -1;
|
|
207
|
+
test = gte;
|
|
208
|
+
}
|
|
209
|
+
var pad = n.some(isPadded);
|
|
210
|
+
N = [];
|
|
211
|
+
for (var i2 = x; test(i2, y); i2 += incr) {
|
|
212
|
+
var c;
|
|
213
|
+
if (isAlphaSequence) {
|
|
214
|
+
c = String.fromCharCode(i2);
|
|
215
|
+
if (c === "\\")
|
|
216
|
+
c = "";
|
|
217
|
+
} else {
|
|
218
|
+
c = String(i2);
|
|
219
|
+
if (pad) {
|
|
220
|
+
var need = width - c.length;
|
|
221
|
+
if (need > 0) {
|
|
222
|
+
var z = new Array(need + 1).join("0");
|
|
223
|
+
if (i2 < 0)
|
|
224
|
+
c = "-" + z + c.slice(1);
|
|
225
|
+
else
|
|
226
|
+
c = z + c;
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
N.push(c);
|
|
231
|
+
}
|
|
232
|
+
} else {
|
|
233
|
+
N = [];
|
|
234
|
+
for (var j = 0; j < n.length; j++) {
|
|
235
|
+
N.push.apply(N, expand2(n[j], false));
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
for (var j = 0; j < N.length; j++) {
|
|
239
|
+
for (var k = 0; k < post.length; k++) {
|
|
240
|
+
var expansion = pre + N[j] + post[k];
|
|
241
|
+
if (!isTop || isSequence || expansion)
|
|
242
|
+
expansions.push(expansion);
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
return expansions;
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
});
|
|
19
250
|
|
|
20
251
|
// src/testing/platform/index.ts
|
|
21
252
|
var index_exports = {};
|
|
@@ -50,6 +281,9 @@ __export(index_exports, {
|
|
|
50
281
|
h: () => h,
|
|
51
282
|
insertVdomAnnotations: () => insertVdomAnnotations,
|
|
52
283
|
isMemberInElement: () => isMemberInElement,
|
|
284
|
+
jsx: () => jsx,
|
|
285
|
+
jsxDEV: () => jsxDEV,
|
|
286
|
+
jsxs: () => jsxs,
|
|
53
287
|
loadModule: () => loadModule,
|
|
54
288
|
modeResolutionChain: () => modeResolutionChain,
|
|
55
289
|
needsScopedSSR: () => needsScopedSSR,
|
|
@@ -75,6 +309,7 @@ __export(index_exports, {
|
|
|
75
309
|
setPlatformOptions: () => setPlatformOptions,
|
|
76
310
|
setScopedSSR: () => setScopedSSR,
|
|
77
311
|
setSupportsShadowDom: () => setSupportsShadowDom,
|
|
312
|
+
setTagTransformer: () => setTagTransformer,
|
|
78
313
|
setValue: () => setValue,
|
|
79
314
|
startAutoApplyChanges: () => startAutoApplyChanges,
|
|
80
315
|
stopAutoApplyChanges: () => stopAutoApplyChanges,
|
|
@@ -83,6 +318,7 @@ __export(index_exports, {
|
|
|
83
318
|
supportsListenerOptions: () => supportsListenerOptions,
|
|
84
319
|
supportsMutableAdoptedStyleSheets: () => supportsMutableAdoptedStyleSheets,
|
|
85
320
|
supportsShadow: () => supportsShadow,
|
|
321
|
+
transformTag: () => transformTag,
|
|
86
322
|
win: () => win,
|
|
87
323
|
writeTask: () => writeTask
|
|
88
324
|
});
|
|
@@ -96,16 +332,1689 @@ var Build = {
|
|
|
96
332
|
isTesting: true
|
|
97
333
|
};
|
|
98
334
|
|
|
99
|
-
// src/testing/platform/testing-constants.ts
|
|
100
|
-
var styles = /* @__PURE__ */ new Map();
|
|
101
|
-
var modeResolutionChain = [];
|
|
102
|
-
var cstrs = /* @__PURE__ */ new Map();
|
|
103
|
-
var queuedTicks = [];
|
|
104
|
-
var queuedWriteTasks = [];
|
|
105
|
-
var queuedReadTasks = [];
|
|
106
|
-
var moduleLoaded = /* @__PURE__ */ new Map();
|
|
107
|
-
var queuedLoadModules = [];
|
|
108
|
-
var caughtErrors = [];
|
|
335
|
+
// src/testing/platform/testing-constants.ts
|
|
336
|
+
var styles = /* @__PURE__ */ new Map();
|
|
337
|
+
var modeResolutionChain = [];
|
|
338
|
+
var cstrs = /* @__PURE__ */ new Map();
|
|
339
|
+
var queuedTicks = [];
|
|
340
|
+
var queuedWriteTasks = [];
|
|
341
|
+
var queuedReadTasks = [];
|
|
342
|
+
var moduleLoaded = /* @__PURE__ */ new Map();
|
|
343
|
+
var queuedLoadModules = [];
|
|
344
|
+
var caughtErrors = [];
|
|
345
|
+
|
|
346
|
+
// src/runtime/event-emitter.ts
|
|
347
|
+
var import_app_data2 = require("@stencil/core/internal/app-data");
|
|
348
|
+
|
|
349
|
+
// src/utils/constants.ts
|
|
350
|
+
var SVG_NS = "http://www.w3.org/2000/svg";
|
|
351
|
+
var HTML_NS = "http://www.w3.org/1999/xhtml";
|
|
352
|
+
var PrimitiveType = /* @__PURE__ */ ((PrimitiveType2) => {
|
|
353
|
+
PrimitiveType2["Undefined"] = "undefined";
|
|
354
|
+
PrimitiveType2["Null"] = "null";
|
|
355
|
+
PrimitiveType2["String"] = "string";
|
|
356
|
+
PrimitiveType2["Number"] = "number";
|
|
357
|
+
PrimitiveType2["SpecialNumber"] = "number";
|
|
358
|
+
PrimitiveType2["Boolean"] = "boolean";
|
|
359
|
+
PrimitiveType2["BigInt"] = "bigint";
|
|
360
|
+
return PrimitiveType2;
|
|
361
|
+
})(PrimitiveType || {});
|
|
362
|
+
var NonPrimitiveType = /* @__PURE__ */ ((NonPrimitiveType2) => {
|
|
363
|
+
NonPrimitiveType2["Array"] = "array";
|
|
364
|
+
NonPrimitiveType2["Date"] = "date";
|
|
365
|
+
NonPrimitiveType2["Map"] = "map";
|
|
366
|
+
NonPrimitiveType2["Object"] = "object";
|
|
367
|
+
NonPrimitiveType2["RegularExpression"] = "regexp";
|
|
368
|
+
NonPrimitiveType2["Set"] = "set";
|
|
369
|
+
NonPrimitiveType2["Channel"] = "channel";
|
|
370
|
+
NonPrimitiveType2["Symbol"] = "symbol";
|
|
371
|
+
return NonPrimitiveType2;
|
|
372
|
+
})(NonPrimitiveType || {});
|
|
373
|
+
var TYPE_CONSTANT = "type";
|
|
374
|
+
var VALUE_CONSTANT = "value";
|
|
375
|
+
var SERIALIZED_PREFIX = "serialized:";
|
|
376
|
+
|
|
377
|
+
// src/runtime/element.ts
|
|
378
|
+
var import_app_data = require("@stencil/core/internal/app-data");
|
|
379
|
+
var getElement = (ref) => {
|
|
380
|
+
var _a;
|
|
381
|
+
return import_app_data.BUILD.lazyLoad ? (_a = getHostRef(ref)) == null ? void 0 : _a.$hostElement$ : ref;
|
|
382
|
+
};
|
|
383
|
+
|
|
384
|
+
// src/runtime/event-emitter.ts
|
|
385
|
+
var createEvent = (ref, name, flags) => {
|
|
386
|
+
const elm = getElement(ref);
|
|
387
|
+
return {
|
|
388
|
+
emit: (detail) => {
|
|
389
|
+
if (import_app_data2.BUILD.isDev && !elm.isConnected) {
|
|
390
|
+
consoleDevWarn(`The "${name}" event was emitted, but the dispatcher node is no longer connected to the dom.`);
|
|
391
|
+
}
|
|
392
|
+
return emitEvent(elm, name, {
|
|
393
|
+
bubbles: !!(flags & 4 /* Bubbles */),
|
|
394
|
+
composed: !!(flags & 2 /* Composed */),
|
|
395
|
+
cancelable: !!(flags & 1 /* Cancellable */),
|
|
396
|
+
detail
|
|
397
|
+
});
|
|
398
|
+
}
|
|
399
|
+
};
|
|
400
|
+
};
|
|
401
|
+
var emitEvent = (elm, name, opts) => {
|
|
402
|
+
const ev = plt.ce(name, opts);
|
|
403
|
+
elm.dispatchEvent(ev);
|
|
404
|
+
return ev;
|
|
405
|
+
};
|
|
406
|
+
|
|
407
|
+
// src/utils/helpers.ts
|
|
408
|
+
var isDef = (v) => v != null && v !== void 0;
|
|
409
|
+
var isComplexType = (o) => {
|
|
410
|
+
o = typeof o;
|
|
411
|
+
return o === "object" || o === "function";
|
|
412
|
+
};
|
|
413
|
+
|
|
414
|
+
// node_modules/minimatch/dist/esm/index.js
|
|
415
|
+
var import_brace_expansion = __toESM(require_brace_expansion(), 1);
|
|
416
|
+
|
|
417
|
+
// node_modules/minimatch/dist/esm/assert-valid-pattern.js
|
|
418
|
+
var MAX_PATTERN_LENGTH = 1024 * 64;
|
|
419
|
+
var assertValidPattern = (pattern) => {
|
|
420
|
+
if (typeof pattern !== "string") {
|
|
421
|
+
throw new TypeError("invalid pattern");
|
|
422
|
+
}
|
|
423
|
+
if (pattern.length > MAX_PATTERN_LENGTH) {
|
|
424
|
+
throw new TypeError("pattern is too long");
|
|
425
|
+
}
|
|
426
|
+
};
|
|
427
|
+
|
|
428
|
+
// node_modules/minimatch/dist/esm/brace-expressions.js
|
|
429
|
+
var posixClasses = {
|
|
430
|
+
"[:alnum:]": ["\\p{L}\\p{Nl}\\p{Nd}", true],
|
|
431
|
+
"[:alpha:]": ["\\p{L}\\p{Nl}", true],
|
|
432
|
+
"[:ascii:]": ["\\x00-\\x7f", false],
|
|
433
|
+
"[:blank:]": ["\\p{Zs}\\t", true],
|
|
434
|
+
"[:cntrl:]": ["\\p{Cc}", true],
|
|
435
|
+
"[:digit:]": ["\\p{Nd}", true],
|
|
436
|
+
"[:graph:]": ["\\p{Z}\\p{C}", true, true],
|
|
437
|
+
"[:lower:]": ["\\p{Ll}", true],
|
|
438
|
+
"[:print:]": ["\\p{C}", true],
|
|
439
|
+
"[:punct:]": ["\\p{P}", true],
|
|
440
|
+
"[:space:]": ["\\p{Z}\\t\\r\\n\\v\\f", true],
|
|
441
|
+
"[:upper:]": ["\\p{Lu}", true],
|
|
442
|
+
"[:word:]": ["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}", true],
|
|
443
|
+
"[:xdigit:]": ["A-Fa-f0-9", false]
|
|
444
|
+
};
|
|
445
|
+
var braceEscape = (s) => s.replace(/[[\]\\-]/g, "\\$&");
|
|
446
|
+
var regexpEscape = (s) => s.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&");
|
|
447
|
+
var rangesToString = (ranges) => ranges.join("");
|
|
448
|
+
var parseClass = (glob, position) => {
|
|
449
|
+
const pos = position;
|
|
450
|
+
if (glob.charAt(pos) !== "[") {
|
|
451
|
+
throw new Error("not in a brace expression");
|
|
452
|
+
}
|
|
453
|
+
const ranges = [];
|
|
454
|
+
const negs = [];
|
|
455
|
+
let i2 = pos + 1;
|
|
456
|
+
let sawStart = false;
|
|
457
|
+
let uflag = false;
|
|
458
|
+
let escaping = false;
|
|
459
|
+
let negate = false;
|
|
460
|
+
let endPos = pos;
|
|
461
|
+
let rangeStart = "";
|
|
462
|
+
WHILE: while (i2 < glob.length) {
|
|
463
|
+
const c = glob.charAt(i2);
|
|
464
|
+
if ((c === "!" || c === "^") && i2 === pos + 1) {
|
|
465
|
+
negate = true;
|
|
466
|
+
i2++;
|
|
467
|
+
continue;
|
|
468
|
+
}
|
|
469
|
+
if (c === "]" && sawStart && !escaping) {
|
|
470
|
+
endPos = i2 + 1;
|
|
471
|
+
break;
|
|
472
|
+
}
|
|
473
|
+
sawStart = true;
|
|
474
|
+
if (c === "\\") {
|
|
475
|
+
if (!escaping) {
|
|
476
|
+
escaping = true;
|
|
477
|
+
i2++;
|
|
478
|
+
continue;
|
|
479
|
+
}
|
|
480
|
+
}
|
|
481
|
+
if (c === "[" && !escaping) {
|
|
482
|
+
for (const [cls, [unip, u, neg]] of Object.entries(posixClasses)) {
|
|
483
|
+
if (glob.startsWith(cls, i2)) {
|
|
484
|
+
if (rangeStart) {
|
|
485
|
+
return ["$.", false, glob.length - pos, true];
|
|
486
|
+
}
|
|
487
|
+
i2 += cls.length;
|
|
488
|
+
if (neg)
|
|
489
|
+
negs.push(unip);
|
|
490
|
+
else
|
|
491
|
+
ranges.push(unip);
|
|
492
|
+
uflag = uflag || u;
|
|
493
|
+
continue WHILE;
|
|
494
|
+
}
|
|
495
|
+
}
|
|
496
|
+
}
|
|
497
|
+
escaping = false;
|
|
498
|
+
if (rangeStart) {
|
|
499
|
+
if (c > rangeStart) {
|
|
500
|
+
ranges.push(braceEscape(rangeStart) + "-" + braceEscape(c));
|
|
501
|
+
} else if (c === rangeStart) {
|
|
502
|
+
ranges.push(braceEscape(c));
|
|
503
|
+
}
|
|
504
|
+
rangeStart = "";
|
|
505
|
+
i2++;
|
|
506
|
+
continue;
|
|
507
|
+
}
|
|
508
|
+
if (glob.startsWith("-]", i2 + 1)) {
|
|
509
|
+
ranges.push(braceEscape(c + "-"));
|
|
510
|
+
i2 += 2;
|
|
511
|
+
continue;
|
|
512
|
+
}
|
|
513
|
+
if (glob.startsWith("-", i2 + 1)) {
|
|
514
|
+
rangeStart = c;
|
|
515
|
+
i2 += 2;
|
|
516
|
+
continue;
|
|
517
|
+
}
|
|
518
|
+
ranges.push(braceEscape(c));
|
|
519
|
+
i2++;
|
|
520
|
+
}
|
|
521
|
+
if (endPos < i2) {
|
|
522
|
+
return ["", false, 0, false];
|
|
523
|
+
}
|
|
524
|
+
if (!ranges.length && !negs.length) {
|
|
525
|
+
return ["$.", false, glob.length - pos, true];
|
|
526
|
+
}
|
|
527
|
+
if (negs.length === 0 && ranges.length === 1 && /^\\?.$/.test(ranges[0]) && !negate) {
|
|
528
|
+
const r = ranges[0].length === 2 ? ranges[0].slice(-1) : ranges[0];
|
|
529
|
+
return [regexpEscape(r), false, endPos - pos, false];
|
|
530
|
+
}
|
|
531
|
+
const sranges = "[" + (negate ? "^" : "") + rangesToString(ranges) + "]";
|
|
532
|
+
const snegs = "[" + (negate ? "" : "^") + rangesToString(negs) + "]";
|
|
533
|
+
const comb = ranges.length && negs.length ? "(" + sranges + "|" + snegs + ")" : ranges.length ? sranges : snegs;
|
|
534
|
+
return [comb, uflag, endPos - pos, true];
|
|
535
|
+
};
|
|
536
|
+
|
|
537
|
+
// node_modules/minimatch/dist/esm/unescape.js
|
|
538
|
+
var unescape = (s, { windowsPathsNoEscape = false } = {}) => {
|
|
539
|
+
return windowsPathsNoEscape ? s.replace(/\[([^\/\\])\]/g, "$1") : s.replace(/((?!\\).|^)\[([^\/\\])\]/g, "$1$2").replace(/\\([^\/])/g, "$1");
|
|
540
|
+
};
|
|
541
|
+
|
|
542
|
+
// node_modules/minimatch/dist/esm/ast.js
|
|
543
|
+
var types = /* @__PURE__ */ new Set(["!", "?", "+", "*", "@"]);
|
|
544
|
+
var isExtglobType = (c) => types.has(c);
|
|
545
|
+
var startNoTraversal = "(?!(?:^|/)\\.\\.?(?:$|/))";
|
|
546
|
+
var startNoDot = "(?!\\.)";
|
|
547
|
+
var addPatternStart = /* @__PURE__ */ new Set(["[", "."]);
|
|
548
|
+
var justDots = /* @__PURE__ */ new Set(["..", "."]);
|
|
549
|
+
var reSpecials = new Set("().*{}+?[]^$\\!");
|
|
550
|
+
var regExpEscape = (s) => s.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&");
|
|
551
|
+
var qmark = "[^/]";
|
|
552
|
+
var star = qmark + "*?";
|
|
553
|
+
var starNoEmpty = qmark + "+?";
|
|
554
|
+
var _root, _hasMagic, _uflag, _parts, _parent, _parentIndex, _negs, _filledNegs, _options, _toString, _emptyExt, _AST_instances, fillNegs_fn, _AST_static, parseAST_fn, partsToRegExp_fn, parseGlob_fn;
|
|
555
|
+
var _AST = class _AST {
|
|
556
|
+
constructor(type, parent, options = {}) {
|
|
557
|
+
__privateAdd(this, _AST_instances);
|
|
558
|
+
__publicField(this, "type");
|
|
559
|
+
__privateAdd(this, _root);
|
|
560
|
+
__privateAdd(this, _hasMagic);
|
|
561
|
+
__privateAdd(this, _uflag, false);
|
|
562
|
+
__privateAdd(this, _parts, []);
|
|
563
|
+
__privateAdd(this, _parent);
|
|
564
|
+
__privateAdd(this, _parentIndex);
|
|
565
|
+
__privateAdd(this, _negs);
|
|
566
|
+
__privateAdd(this, _filledNegs, false);
|
|
567
|
+
__privateAdd(this, _options);
|
|
568
|
+
__privateAdd(this, _toString);
|
|
569
|
+
// set to true if it's an extglob with no children
|
|
570
|
+
// (which really means one child of '')
|
|
571
|
+
__privateAdd(this, _emptyExt, false);
|
|
572
|
+
this.type = type;
|
|
573
|
+
if (type)
|
|
574
|
+
__privateSet(this, _hasMagic, true);
|
|
575
|
+
__privateSet(this, _parent, parent);
|
|
576
|
+
__privateSet(this, _root, __privateGet(this, _parent) ? __privateGet(__privateGet(this, _parent), _root) : this);
|
|
577
|
+
__privateSet(this, _options, __privateGet(this, _root) === this ? options : __privateGet(__privateGet(this, _root), _options));
|
|
578
|
+
__privateSet(this, _negs, __privateGet(this, _root) === this ? [] : __privateGet(__privateGet(this, _root), _negs));
|
|
579
|
+
if (type === "!" && !__privateGet(__privateGet(this, _root), _filledNegs))
|
|
580
|
+
__privateGet(this, _negs).push(this);
|
|
581
|
+
__privateSet(this, _parentIndex, __privateGet(this, _parent) ? __privateGet(__privateGet(this, _parent), _parts).length : 0);
|
|
582
|
+
}
|
|
583
|
+
get hasMagic() {
|
|
584
|
+
if (__privateGet(this, _hasMagic) !== void 0)
|
|
585
|
+
return __privateGet(this, _hasMagic);
|
|
586
|
+
for (const p of __privateGet(this, _parts)) {
|
|
587
|
+
if (typeof p === "string")
|
|
588
|
+
continue;
|
|
589
|
+
if (p.type || p.hasMagic)
|
|
590
|
+
return __privateSet(this, _hasMagic, true);
|
|
591
|
+
}
|
|
592
|
+
return __privateGet(this, _hasMagic);
|
|
593
|
+
}
|
|
594
|
+
// reconstructs the pattern
|
|
595
|
+
toString() {
|
|
596
|
+
if (__privateGet(this, _toString) !== void 0)
|
|
597
|
+
return __privateGet(this, _toString);
|
|
598
|
+
if (!this.type) {
|
|
599
|
+
return __privateSet(this, _toString, __privateGet(this, _parts).map((p) => String(p)).join(""));
|
|
600
|
+
} else {
|
|
601
|
+
return __privateSet(this, _toString, this.type + "(" + __privateGet(this, _parts).map((p) => String(p)).join("|") + ")");
|
|
602
|
+
}
|
|
603
|
+
}
|
|
604
|
+
push(...parts) {
|
|
605
|
+
for (const p of parts) {
|
|
606
|
+
if (p === "")
|
|
607
|
+
continue;
|
|
608
|
+
if (typeof p !== "string" && !(p instanceof _AST && __privateGet(p, _parent) === this)) {
|
|
609
|
+
throw new Error("invalid part: " + p);
|
|
610
|
+
}
|
|
611
|
+
__privateGet(this, _parts).push(p);
|
|
612
|
+
}
|
|
613
|
+
}
|
|
614
|
+
toJSON() {
|
|
615
|
+
var _a;
|
|
616
|
+
const ret = this.type === null ? __privateGet(this, _parts).slice().map((p) => typeof p === "string" ? p : p.toJSON()) : [this.type, ...__privateGet(this, _parts).map((p) => p.toJSON())];
|
|
617
|
+
if (this.isStart() && !this.type)
|
|
618
|
+
ret.unshift([]);
|
|
619
|
+
if (this.isEnd() && (this === __privateGet(this, _root) || __privateGet(__privateGet(this, _root), _filledNegs) && ((_a = __privateGet(this, _parent)) == null ? void 0 : _a.type) === "!")) {
|
|
620
|
+
ret.push({});
|
|
621
|
+
}
|
|
622
|
+
return ret;
|
|
623
|
+
}
|
|
624
|
+
isStart() {
|
|
625
|
+
var _a;
|
|
626
|
+
if (__privateGet(this, _root) === this)
|
|
627
|
+
return true;
|
|
628
|
+
if (!((_a = __privateGet(this, _parent)) == null ? void 0 : _a.isStart()))
|
|
629
|
+
return false;
|
|
630
|
+
if (__privateGet(this, _parentIndex) === 0)
|
|
631
|
+
return true;
|
|
632
|
+
const p = __privateGet(this, _parent);
|
|
633
|
+
for (let i2 = 0; i2 < __privateGet(this, _parentIndex); i2++) {
|
|
634
|
+
const pp = __privateGet(p, _parts)[i2];
|
|
635
|
+
if (!(pp instanceof _AST && pp.type === "!")) {
|
|
636
|
+
return false;
|
|
637
|
+
}
|
|
638
|
+
}
|
|
639
|
+
return true;
|
|
640
|
+
}
|
|
641
|
+
isEnd() {
|
|
642
|
+
var _a, _b, _c;
|
|
643
|
+
if (__privateGet(this, _root) === this)
|
|
644
|
+
return true;
|
|
645
|
+
if (((_a = __privateGet(this, _parent)) == null ? void 0 : _a.type) === "!")
|
|
646
|
+
return true;
|
|
647
|
+
if (!((_b = __privateGet(this, _parent)) == null ? void 0 : _b.isEnd()))
|
|
648
|
+
return false;
|
|
649
|
+
if (!this.type)
|
|
650
|
+
return (_c = __privateGet(this, _parent)) == null ? void 0 : _c.isEnd();
|
|
651
|
+
const pl = __privateGet(this, _parent) ? __privateGet(__privateGet(this, _parent), _parts).length : 0;
|
|
652
|
+
return __privateGet(this, _parentIndex) === pl - 1;
|
|
653
|
+
}
|
|
654
|
+
copyIn(part) {
|
|
655
|
+
if (typeof part === "string")
|
|
656
|
+
this.push(part);
|
|
657
|
+
else
|
|
658
|
+
this.push(part.clone(this));
|
|
659
|
+
}
|
|
660
|
+
clone(parent) {
|
|
661
|
+
const c = new _AST(this.type, parent);
|
|
662
|
+
for (const p of __privateGet(this, _parts)) {
|
|
663
|
+
c.copyIn(p);
|
|
664
|
+
}
|
|
665
|
+
return c;
|
|
666
|
+
}
|
|
667
|
+
static fromGlob(pattern, options = {}) {
|
|
668
|
+
var _a;
|
|
669
|
+
const ast = new _AST(null, void 0, options);
|
|
670
|
+
__privateMethod(_a = _AST, _AST_static, parseAST_fn).call(_a, pattern, ast, 0, options);
|
|
671
|
+
return ast;
|
|
672
|
+
}
|
|
673
|
+
// returns the regular expression if there's magic, or the unescaped
|
|
674
|
+
// string if not.
|
|
675
|
+
toMMPattern() {
|
|
676
|
+
if (this !== __privateGet(this, _root))
|
|
677
|
+
return __privateGet(this, _root).toMMPattern();
|
|
678
|
+
const glob = this.toString();
|
|
679
|
+
const [re, body, hasMagic, uflag] = this.toRegExpSource();
|
|
680
|
+
const anyMagic = hasMagic || __privateGet(this, _hasMagic) || __privateGet(this, _options).nocase && !__privateGet(this, _options).nocaseMagicOnly && glob.toUpperCase() !== glob.toLowerCase();
|
|
681
|
+
if (!anyMagic) {
|
|
682
|
+
return body;
|
|
683
|
+
}
|
|
684
|
+
const flags = (__privateGet(this, _options).nocase ? "i" : "") + (uflag ? "u" : "");
|
|
685
|
+
return Object.assign(new RegExp(`^${re}$`, flags), {
|
|
686
|
+
_src: re,
|
|
687
|
+
_glob: glob
|
|
688
|
+
});
|
|
689
|
+
}
|
|
690
|
+
get options() {
|
|
691
|
+
return __privateGet(this, _options);
|
|
692
|
+
}
|
|
693
|
+
// returns the string match, the regexp source, whether there's magic
|
|
694
|
+
// in the regexp (so a regular expression is required) and whether or
|
|
695
|
+
// not the uflag is needed for the regular expression (for posix classes)
|
|
696
|
+
// TODO: instead of injecting the start/end at this point, just return
|
|
697
|
+
// the BODY of the regexp, along with the start/end portions suitable
|
|
698
|
+
// for binding the start/end in either a joined full-path makeRe context
|
|
699
|
+
// (where we bind to (^|/), or a standalone matchPart context (where
|
|
700
|
+
// we bind to ^, and not /). Otherwise slashes get duped!
|
|
701
|
+
//
|
|
702
|
+
// In part-matching mode, the start is:
|
|
703
|
+
// - if not isStart: nothing
|
|
704
|
+
// - if traversal possible, but not allowed: ^(?!\.\.?$)
|
|
705
|
+
// - if dots allowed or not possible: ^
|
|
706
|
+
// - if dots possible and not allowed: ^(?!\.)
|
|
707
|
+
// end is:
|
|
708
|
+
// - if not isEnd(): nothing
|
|
709
|
+
// - else: $
|
|
710
|
+
//
|
|
711
|
+
// In full-path matching mode, we put the slash at the START of the
|
|
712
|
+
// pattern, so start is:
|
|
713
|
+
// - if first pattern: same as part-matching mode
|
|
714
|
+
// - if not isStart(): nothing
|
|
715
|
+
// - if traversal possible, but not allowed: /(?!\.\.?(?:$|/))
|
|
716
|
+
// - if dots allowed or not possible: /
|
|
717
|
+
// - if dots possible and not allowed: /(?!\.)
|
|
718
|
+
// end is:
|
|
719
|
+
// - if last pattern, same as part-matching mode
|
|
720
|
+
// - else nothing
|
|
721
|
+
//
|
|
722
|
+
// Always put the (?:$|/) on negated tails, though, because that has to be
|
|
723
|
+
// there to bind the end of the negated pattern portion, and it's easier to
|
|
724
|
+
// just stick it in now rather than try to inject it later in the middle of
|
|
725
|
+
// the pattern.
|
|
726
|
+
//
|
|
727
|
+
// We can just always return the same end, and leave it up to the caller
|
|
728
|
+
// to know whether it's going to be used joined or in parts.
|
|
729
|
+
// And, if the start is adjusted slightly, can do the same there:
|
|
730
|
+
// - if not isStart: nothing
|
|
731
|
+
// - if traversal possible, but not allowed: (?:/|^)(?!\.\.?$)
|
|
732
|
+
// - if dots allowed or not possible: (?:/|^)
|
|
733
|
+
// - if dots possible and not allowed: (?:/|^)(?!\.)
|
|
734
|
+
//
|
|
735
|
+
// But it's better to have a simpler binding without a conditional, for
|
|
736
|
+
// performance, so probably better to return both start options.
|
|
737
|
+
//
|
|
738
|
+
// Then the caller just ignores the end if it's not the first pattern,
|
|
739
|
+
// and the start always gets applied.
|
|
740
|
+
//
|
|
741
|
+
// But that's always going to be $ if it's the ending pattern, or nothing,
|
|
742
|
+
// so the caller can just attach $ at the end of the pattern when building.
|
|
743
|
+
//
|
|
744
|
+
// So the todo is:
|
|
745
|
+
// - better detect what kind of start is needed
|
|
746
|
+
// - return both flavors of starting pattern
|
|
747
|
+
// - attach $ at the end of the pattern when creating the actual RegExp
|
|
748
|
+
//
|
|
749
|
+
// Ah, but wait, no, that all only applies to the root when the first pattern
|
|
750
|
+
// is not an extglob. If the first pattern IS an extglob, then we need all
|
|
751
|
+
// that dot prevention biz to live in the extglob portions, because eg
|
|
752
|
+
// +(*|.x*) can match .xy but not .yx.
|
|
753
|
+
//
|
|
754
|
+
// So, return the two flavors if it's #root and the first child is not an
|
|
755
|
+
// AST, otherwise leave it to the child AST to handle it, and there,
|
|
756
|
+
// use the (?:^|/) style of start binding.
|
|
757
|
+
//
|
|
758
|
+
// Even simplified further:
|
|
759
|
+
// - Since the start for a join is eg /(?!\.) and the start for a part
|
|
760
|
+
// is ^(?!\.), we can just prepend (?!\.) to the pattern (either root
|
|
761
|
+
// or start or whatever) and prepend ^ or / at the Regexp construction.
|
|
762
|
+
toRegExpSource(allowDot) {
|
|
763
|
+
var _a;
|
|
764
|
+
const dot = allowDot != null ? allowDot : !!__privateGet(this, _options).dot;
|
|
765
|
+
if (__privateGet(this, _root) === this)
|
|
766
|
+
__privateMethod(this, _AST_instances, fillNegs_fn).call(this);
|
|
767
|
+
if (!this.type) {
|
|
768
|
+
const noEmpty = this.isStart() && this.isEnd();
|
|
769
|
+
const src = __privateGet(this, _parts).map((p) => {
|
|
770
|
+
var _a2;
|
|
771
|
+
const [re, _, hasMagic, uflag] = typeof p === "string" ? __privateMethod(_a2 = _AST, _AST_static, parseGlob_fn).call(_a2, p, __privateGet(this, _hasMagic), noEmpty) : p.toRegExpSource(allowDot);
|
|
772
|
+
__privateSet(this, _hasMagic, __privateGet(this, _hasMagic) || hasMagic);
|
|
773
|
+
__privateSet(this, _uflag, __privateGet(this, _uflag) || uflag);
|
|
774
|
+
return re;
|
|
775
|
+
}).join("");
|
|
776
|
+
let start2 = "";
|
|
777
|
+
if (this.isStart()) {
|
|
778
|
+
if (typeof __privateGet(this, _parts)[0] === "string") {
|
|
779
|
+
const dotTravAllowed = __privateGet(this, _parts).length === 1 && justDots.has(__privateGet(this, _parts)[0]);
|
|
780
|
+
if (!dotTravAllowed) {
|
|
781
|
+
const aps = addPatternStart;
|
|
782
|
+
const needNoTrav = (
|
|
783
|
+
// dots are allowed, and the pattern starts with [ or .
|
|
784
|
+
dot && aps.has(src.charAt(0)) || // the pattern starts with \., and then [ or .
|
|
785
|
+
src.startsWith("\\.") && aps.has(src.charAt(2)) || // the pattern starts with \.\., and then [ or .
|
|
786
|
+
src.startsWith("\\.\\.") && aps.has(src.charAt(4))
|
|
787
|
+
);
|
|
788
|
+
const needNoDot = !dot && !allowDot && aps.has(src.charAt(0));
|
|
789
|
+
start2 = needNoTrav ? startNoTraversal : needNoDot ? startNoDot : "";
|
|
790
|
+
}
|
|
791
|
+
}
|
|
792
|
+
}
|
|
793
|
+
let end = "";
|
|
794
|
+
if (this.isEnd() && __privateGet(__privateGet(this, _root), _filledNegs) && ((_a = __privateGet(this, _parent)) == null ? void 0 : _a.type) === "!") {
|
|
795
|
+
end = "(?:$|\\/)";
|
|
796
|
+
}
|
|
797
|
+
const final2 = start2 + src + end;
|
|
798
|
+
return [
|
|
799
|
+
final2,
|
|
800
|
+
unescape(src),
|
|
801
|
+
__privateSet(this, _hasMagic, !!__privateGet(this, _hasMagic)),
|
|
802
|
+
__privateGet(this, _uflag)
|
|
803
|
+
];
|
|
804
|
+
}
|
|
805
|
+
const repeated = this.type === "*" || this.type === "+";
|
|
806
|
+
const start = this.type === "!" ? "(?:(?!(?:" : "(?:";
|
|
807
|
+
let body = __privateMethod(this, _AST_instances, partsToRegExp_fn).call(this, dot);
|
|
808
|
+
if (this.isStart() && this.isEnd() && !body && this.type !== "!") {
|
|
809
|
+
const s = this.toString();
|
|
810
|
+
__privateSet(this, _parts, [s]);
|
|
811
|
+
this.type = null;
|
|
812
|
+
__privateSet(this, _hasMagic, void 0);
|
|
813
|
+
return [s, unescape(this.toString()), false, false];
|
|
814
|
+
}
|
|
815
|
+
let bodyDotAllowed = !repeated || allowDot || dot || !startNoDot ? "" : __privateMethod(this, _AST_instances, partsToRegExp_fn).call(this, true);
|
|
816
|
+
if (bodyDotAllowed === body) {
|
|
817
|
+
bodyDotAllowed = "";
|
|
818
|
+
}
|
|
819
|
+
if (bodyDotAllowed) {
|
|
820
|
+
body = `(?:${body})(?:${bodyDotAllowed})*?`;
|
|
821
|
+
}
|
|
822
|
+
let final = "";
|
|
823
|
+
if (this.type === "!" && __privateGet(this, _emptyExt)) {
|
|
824
|
+
final = (this.isStart() && !dot ? startNoDot : "") + starNoEmpty;
|
|
825
|
+
} else {
|
|
826
|
+
const close = this.type === "!" ? (
|
|
827
|
+
// !() must match something,but !(x) can match ''
|
|
828
|
+
"))" + (this.isStart() && !dot && !allowDot ? startNoDot : "") + star + ")"
|
|
829
|
+
) : this.type === "@" ? ")" : this.type === "?" ? ")?" : this.type === "+" && bodyDotAllowed ? ")" : this.type === "*" && bodyDotAllowed ? `)?` : `)${this.type}`;
|
|
830
|
+
final = start + body + close;
|
|
831
|
+
}
|
|
832
|
+
return [
|
|
833
|
+
final,
|
|
834
|
+
unescape(body),
|
|
835
|
+
__privateSet(this, _hasMagic, !!__privateGet(this, _hasMagic)),
|
|
836
|
+
__privateGet(this, _uflag)
|
|
837
|
+
];
|
|
838
|
+
}
|
|
839
|
+
};
|
|
840
|
+
_root = new WeakMap();
|
|
841
|
+
_hasMagic = new WeakMap();
|
|
842
|
+
_uflag = new WeakMap();
|
|
843
|
+
_parts = new WeakMap();
|
|
844
|
+
_parent = new WeakMap();
|
|
845
|
+
_parentIndex = new WeakMap();
|
|
846
|
+
_negs = new WeakMap();
|
|
847
|
+
_filledNegs = new WeakMap();
|
|
848
|
+
_options = new WeakMap();
|
|
849
|
+
_toString = new WeakMap();
|
|
850
|
+
_emptyExt = new WeakMap();
|
|
851
|
+
_AST_instances = new WeakSet();
|
|
852
|
+
fillNegs_fn = function() {
|
|
853
|
+
if (this !== __privateGet(this, _root))
|
|
854
|
+
throw new Error("should only call on root");
|
|
855
|
+
if (__privateGet(this, _filledNegs))
|
|
856
|
+
return this;
|
|
857
|
+
this.toString();
|
|
858
|
+
__privateSet(this, _filledNegs, true);
|
|
859
|
+
let n;
|
|
860
|
+
while (n = __privateGet(this, _negs).pop()) {
|
|
861
|
+
if (n.type !== "!")
|
|
862
|
+
continue;
|
|
863
|
+
let p = n;
|
|
864
|
+
let pp = __privateGet(p, _parent);
|
|
865
|
+
while (pp) {
|
|
866
|
+
for (let i2 = __privateGet(p, _parentIndex) + 1; !pp.type && i2 < __privateGet(pp, _parts).length; i2++) {
|
|
867
|
+
for (const part of __privateGet(n, _parts)) {
|
|
868
|
+
if (typeof part === "string") {
|
|
869
|
+
throw new Error("string part in extglob AST??");
|
|
870
|
+
}
|
|
871
|
+
part.copyIn(__privateGet(pp, _parts)[i2]);
|
|
872
|
+
}
|
|
873
|
+
}
|
|
874
|
+
p = pp;
|
|
875
|
+
pp = __privateGet(p, _parent);
|
|
876
|
+
}
|
|
877
|
+
}
|
|
878
|
+
return this;
|
|
879
|
+
};
|
|
880
|
+
_AST_static = new WeakSet();
|
|
881
|
+
parseAST_fn = function(str, ast, pos, opt) {
|
|
882
|
+
var _a, _b;
|
|
883
|
+
let escaping = false;
|
|
884
|
+
let inBrace = false;
|
|
885
|
+
let braceStart = -1;
|
|
886
|
+
let braceNeg = false;
|
|
887
|
+
if (ast.type === null) {
|
|
888
|
+
let i3 = pos;
|
|
889
|
+
let acc2 = "";
|
|
890
|
+
while (i3 < str.length) {
|
|
891
|
+
const c = str.charAt(i3++);
|
|
892
|
+
if (escaping || c === "\\") {
|
|
893
|
+
escaping = !escaping;
|
|
894
|
+
acc2 += c;
|
|
895
|
+
continue;
|
|
896
|
+
}
|
|
897
|
+
if (inBrace) {
|
|
898
|
+
if (i3 === braceStart + 1) {
|
|
899
|
+
if (c === "^" || c === "!") {
|
|
900
|
+
braceNeg = true;
|
|
901
|
+
}
|
|
902
|
+
} else if (c === "]" && !(i3 === braceStart + 2 && braceNeg)) {
|
|
903
|
+
inBrace = false;
|
|
904
|
+
}
|
|
905
|
+
acc2 += c;
|
|
906
|
+
continue;
|
|
907
|
+
} else if (c === "[") {
|
|
908
|
+
inBrace = true;
|
|
909
|
+
braceStart = i3;
|
|
910
|
+
braceNeg = false;
|
|
911
|
+
acc2 += c;
|
|
912
|
+
continue;
|
|
913
|
+
}
|
|
914
|
+
if (!opt.noext && isExtglobType(c) && str.charAt(i3) === "(") {
|
|
915
|
+
ast.push(acc2);
|
|
916
|
+
acc2 = "";
|
|
917
|
+
const ext2 = new _AST(c, ast);
|
|
918
|
+
i3 = __privateMethod(_a = _AST, _AST_static, parseAST_fn).call(_a, str, ext2, i3, opt);
|
|
919
|
+
ast.push(ext2);
|
|
920
|
+
continue;
|
|
921
|
+
}
|
|
922
|
+
acc2 += c;
|
|
923
|
+
}
|
|
924
|
+
ast.push(acc2);
|
|
925
|
+
return i3;
|
|
926
|
+
}
|
|
927
|
+
let i2 = pos + 1;
|
|
928
|
+
let part = new _AST(null, ast);
|
|
929
|
+
const parts = [];
|
|
930
|
+
let acc = "";
|
|
931
|
+
while (i2 < str.length) {
|
|
932
|
+
const c = str.charAt(i2++);
|
|
933
|
+
if (escaping || c === "\\") {
|
|
934
|
+
escaping = !escaping;
|
|
935
|
+
acc += c;
|
|
936
|
+
continue;
|
|
937
|
+
}
|
|
938
|
+
if (inBrace) {
|
|
939
|
+
if (i2 === braceStart + 1) {
|
|
940
|
+
if (c === "^" || c === "!") {
|
|
941
|
+
braceNeg = true;
|
|
942
|
+
}
|
|
943
|
+
} else if (c === "]" && !(i2 === braceStart + 2 && braceNeg)) {
|
|
944
|
+
inBrace = false;
|
|
945
|
+
}
|
|
946
|
+
acc += c;
|
|
947
|
+
continue;
|
|
948
|
+
} else if (c === "[") {
|
|
949
|
+
inBrace = true;
|
|
950
|
+
braceStart = i2;
|
|
951
|
+
braceNeg = false;
|
|
952
|
+
acc += c;
|
|
953
|
+
continue;
|
|
954
|
+
}
|
|
955
|
+
if (isExtglobType(c) && str.charAt(i2) === "(") {
|
|
956
|
+
part.push(acc);
|
|
957
|
+
acc = "";
|
|
958
|
+
const ext2 = new _AST(c, part);
|
|
959
|
+
part.push(ext2);
|
|
960
|
+
i2 = __privateMethod(_b = _AST, _AST_static, parseAST_fn).call(_b, str, ext2, i2, opt);
|
|
961
|
+
continue;
|
|
962
|
+
}
|
|
963
|
+
if (c === "|") {
|
|
964
|
+
part.push(acc);
|
|
965
|
+
acc = "";
|
|
966
|
+
parts.push(part);
|
|
967
|
+
part = new _AST(null, ast);
|
|
968
|
+
continue;
|
|
969
|
+
}
|
|
970
|
+
if (c === ")") {
|
|
971
|
+
if (acc === "" && __privateGet(ast, _parts).length === 0) {
|
|
972
|
+
__privateSet(ast, _emptyExt, true);
|
|
973
|
+
}
|
|
974
|
+
part.push(acc);
|
|
975
|
+
acc = "";
|
|
976
|
+
ast.push(...parts, part);
|
|
977
|
+
return i2;
|
|
978
|
+
}
|
|
979
|
+
acc += c;
|
|
980
|
+
}
|
|
981
|
+
ast.type = null;
|
|
982
|
+
__privateSet(ast, _hasMagic, void 0);
|
|
983
|
+
__privateSet(ast, _parts, [str.substring(pos - 1)]);
|
|
984
|
+
return i2;
|
|
985
|
+
};
|
|
986
|
+
partsToRegExp_fn = function(dot) {
|
|
987
|
+
return __privateGet(this, _parts).map((p) => {
|
|
988
|
+
if (typeof p === "string") {
|
|
989
|
+
throw new Error("string type in extglob ast??");
|
|
990
|
+
}
|
|
991
|
+
const [re, _, _hasMagic2, uflag] = p.toRegExpSource(dot);
|
|
992
|
+
__privateSet(this, _uflag, __privateGet(this, _uflag) || uflag);
|
|
993
|
+
return re;
|
|
994
|
+
}).filter((p) => !(this.isStart() && this.isEnd()) || !!p).join("|");
|
|
995
|
+
};
|
|
996
|
+
parseGlob_fn = function(glob, hasMagic, noEmpty = false) {
|
|
997
|
+
let escaping = false;
|
|
998
|
+
let re = "";
|
|
999
|
+
let uflag = false;
|
|
1000
|
+
for (let i2 = 0; i2 < glob.length; i2++) {
|
|
1001
|
+
const c = glob.charAt(i2);
|
|
1002
|
+
if (escaping) {
|
|
1003
|
+
escaping = false;
|
|
1004
|
+
re += (reSpecials.has(c) ? "\\" : "") + c;
|
|
1005
|
+
continue;
|
|
1006
|
+
}
|
|
1007
|
+
if (c === "\\") {
|
|
1008
|
+
if (i2 === glob.length - 1) {
|
|
1009
|
+
re += "\\\\";
|
|
1010
|
+
} else {
|
|
1011
|
+
escaping = true;
|
|
1012
|
+
}
|
|
1013
|
+
continue;
|
|
1014
|
+
}
|
|
1015
|
+
if (c === "[") {
|
|
1016
|
+
const [src, needUflag, consumed, magic] = parseClass(glob, i2);
|
|
1017
|
+
if (consumed) {
|
|
1018
|
+
re += src;
|
|
1019
|
+
uflag = uflag || needUflag;
|
|
1020
|
+
i2 += consumed - 1;
|
|
1021
|
+
hasMagic = hasMagic || magic;
|
|
1022
|
+
continue;
|
|
1023
|
+
}
|
|
1024
|
+
}
|
|
1025
|
+
if (c === "*") {
|
|
1026
|
+
if (noEmpty && glob === "*")
|
|
1027
|
+
re += starNoEmpty;
|
|
1028
|
+
else
|
|
1029
|
+
re += star;
|
|
1030
|
+
hasMagic = true;
|
|
1031
|
+
continue;
|
|
1032
|
+
}
|
|
1033
|
+
if (c === "?") {
|
|
1034
|
+
re += qmark;
|
|
1035
|
+
hasMagic = true;
|
|
1036
|
+
continue;
|
|
1037
|
+
}
|
|
1038
|
+
re += regExpEscape(c);
|
|
1039
|
+
}
|
|
1040
|
+
return [re, unescape(glob), !!hasMagic, uflag];
|
|
1041
|
+
};
|
|
1042
|
+
__privateAdd(_AST, _AST_static);
|
|
1043
|
+
var AST = _AST;
|
|
1044
|
+
|
|
1045
|
+
// node_modules/minimatch/dist/esm/escape.js
|
|
1046
|
+
var escape = (s, { windowsPathsNoEscape = false } = {}) => {
|
|
1047
|
+
return windowsPathsNoEscape ? s.replace(/[?*()[\]]/g, "[$&]") : s.replace(/[?*()[\]\\]/g, "\\$&");
|
|
1048
|
+
};
|
|
1049
|
+
|
|
1050
|
+
// node_modules/minimatch/dist/esm/index.js
|
|
1051
|
+
var minimatch = (p, pattern, options = {}) => {
|
|
1052
|
+
assertValidPattern(pattern);
|
|
1053
|
+
if (!options.nocomment && pattern.charAt(0) === "#") {
|
|
1054
|
+
return false;
|
|
1055
|
+
}
|
|
1056
|
+
return new Minimatch(pattern, options).match(p);
|
|
1057
|
+
};
|
|
1058
|
+
var starDotExtRE = /^\*+([^+@!?\*\[\(]*)$/;
|
|
1059
|
+
var starDotExtTest = (ext2) => (f) => !f.startsWith(".") && f.endsWith(ext2);
|
|
1060
|
+
var starDotExtTestDot = (ext2) => (f) => f.endsWith(ext2);
|
|
1061
|
+
var starDotExtTestNocase = (ext2) => {
|
|
1062
|
+
ext2 = ext2.toLowerCase();
|
|
1063
|
+
return (f) => !f.startsWith(".") && f.toLowerCase().endsWith(ext2);
|
|
1064
|
+
};
|
|
1065
|
+
var starDotExtTestNocaseDot = (ext2) => {
|
|
1066
|
+
ext2 = ext2.toLowerCase();
|
|
1067
|
+
return (f) => f.toLowerCase().endsWith(ext2);
|
|
1068
|
+
};
|
|
1069
|
+
var starDotStarRE = /^\*+\.\*+$/;
|
|
1070
|
+
var starDotStarTest = (f) => !f.startsWith(".") && f.includes(".");
|
|
1071
|
+
var starDotStarTestDot = (f) => f !== "." && f !== ".." && f.includes(".");
|
|
1072
|
+
var dotStarRE = /^\.\*+$/;
|
|
1073
|
+
var dotStarTest = (f) => f !== "." && f !== ".." && f.startsWith(".");
|
|
1074
|
+
var starRE = /^\*+$/;
|
|
1075
|
+
var starTest = (f) => f.length !== 0 && !f.startsWith(".");
|
|
1076
|
+
var starTestDot = (f) => f.length !== 0 && f !== "." && f !== "..";
|
|
1077
|
+
var qmarksRE = /^\?+([^+@!?\*\[\(]*)?$/;
|
|
1078
|
+
var qmarksTestNocase = ([$0, ext2 = ""]) => {
|
|
1079
|
+
const noext = qmarksTestNoExt([$0]);
|
|
1080
|
+
if (!ext2)
|
|
1081
|
+
return noext;
|
|
1082
|
+
ext2 = ext2.toLowerCase();
|
|
1083
|
+
return (f) => noext(f) && f.toLowerCase().endsWith(ext2);
|
|
1084
|
+
};
|
|
1085
|
+
var qmarksTestNocaseDot = ([$0, ext2 = ""]) => {
|
|
1086
|
+
const noext = qmarksTestNoExtDot([$0]);
|
|
1087
|
+
if (!ext2)
|
|
1088
|
+
return noext;
|
|
1089
|
+
ext2 = ext2.toLowerCase();
|
|
1090
|
+
return (f) => noext(f) && f.toLowerCase().endsWith(ext2);
|
|
1091
|
+
};
|
|
1092
|
+
var qmarksTestDot = ([$0, ext2 = ""]) => {
|
|
1093
|
+
const noext = qmarksTestNoExtDot([$0]);
|
|
1094
|
+
return !ext2 ? noext : (f) => noext(f) && f.endsWith(ext2);
|
|
1095
|
+
};
|
|
1096
|
+
var qmarksTest = ([$0, ext2 = ""]) => {
|
|
1097
|
+
const noext = qmarksTestNoExt([$0]);
|
|
1098
|
+
return !ext2 ? noext : (f) => noext(f) && f.endsWith(ext2);
|
|
1099
|
+
};
|
|
1100
|
+
var qmarksTestNoExt = ([$0]) => {
|
|
1101
|
+
const len = $0.length;
|
|
1102
|
+
return (f) => f.length === len && !f.startsWith(".");
|
|
1103
|
+
};
|
|
1104
|
+
var qmarksTestNoExtDot = ([$0]) => {
|
|
1105
|
+
const len = $0.length;
|
|
1106
|
+
return (f) => f.length === len && f !== "." && f !== "..";
|
|
1107
|
+
};
|
|
1108
|
+
var defaultPlatform = typeof process === "object" && process ? typeof process.env === "object" && process.env && process.env.__MINIMATCH_TESTING_PLATFORM__ || process.platform : "posix";
|
|
1109
|
+
var path = {
|
|
1110
|
+
win32: { sep: "\\" },
|
|
1111
|
+
posix: { sep: "/" }
|
|
1112
|
+
};
|
|
1113
|
+
var sep = defaultPlatform === "win32" ? path.win32.sep : path.posix.sep;
|
|
1114
|
+
minimatch.sep = sep;
|
|
1115
|
+
var GLOBSTAR = Symbol("globstar **");
|
|
1116
|
+
minimatch.GLOBSTAR = GLOBSTAR;
|
|
1117
|
+
var qmark2 = "[^/]";
|
|
1118
|
+
var star2 = qmark2 + "*?";
|
|
1119
|
+
var twoStarDot = "(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?";
|
|
1120
|
+
var twoStarNoDot = "(?:(?!(?:\\/|^)\\.).)*?";
|
|
1121
|
+
var filter = (pattern, options = {}) => (p) => minimatch(p, pattern, options);
|
|
1122
|
+
minimatch.filter = filter;
|
|
1123
|
+
var ext = (a, b = {}) => Object.assign({}, a, b);
|
|
1124
|
+
var defaults = (def) => {
|
|
1125
|
+
if (!def || typeof def !== "object" || !Object.keys(def).length) {
|
|
1126
|
+
return minimatch;
|
|
1127
|
+
}
|
|
1128
|
+
const orig = minimatch;
|
|
1129
|
+
const m = (p, pattern, options = {}) => orig(p, pattern, ext(def, options));
|
|
1130
|
+
return Object.assign(m, {
|
|
1131
|
+
Minimatch: class Minimatch extends orig.Minimatch {
|
|
1132
|
+
constructor(pattern, options = {}) {
|
|
1133
|
+
super(pattern, ext(def, options));
|
|
1134
|
+
}
|
|
1135
|
+
static defaults(options) {
|
|
1136
|
+
return orig.defaults(ext(def, options)).Minimatch;
|
|
1137
|
+
}
|
|
1138
|
+
},
|
|
1139
|
+
AST: class AST extends orig.AST {
|
|
1140
|
+
/* c8 ignore start */
|
|
1141
|
+
constructor(type, parent, options = {}) {
|
|
1142
|
+
super(type, parent, ext(def, options));
|
|
1143
|
+
}
|
|
1144
|
+
/* c8 ignore stop */
|
|
1145
|
+
static fromGlob(pattern, options = {}) {
|
|
1146
|
+
return orig.AST.fromGlob(pattern, ext(def, options));
|
|
1147
|
+
}
|
|
1148
|
+
},
|
|
1149
|
+
unescape: (s, options = {}) => orig.unescape(s, ext(def, options)),
|
|
1150
|
+
escape: (s, options = {}) => orig.escape(s, ext(def, options)),
|
|
1151
|
+
filter: (pattern, options = {}) => orig.filter(pattern, ext(def, options)),
|
|
1152
|
+
defaults: (options) => orig.defaults(ext(def, options)),
|
|
1153
|
+
makeRe: (pattern, options = {}) => orig.makeRe(pattern, ext(def, options)),
|
|
1154
|
+
braceExpand: (pattern, options = {}) => orig.braceExpand(pattern, ext(def, options)),
|
|
1155
|
+
match: (list, pattern, options = {}) => orig.match(list, pattern, ext(def, options)),
|
|
1156
|
+
sep: orig.sep,
|
|
1157
|
+
GLOBSTAR
|
|
1158
|
+
});
|
|
1159
|
+
};
|
|
1160
|
+
minimatch.defaults = defaults;
|
|
1161
|
+
var braceExpand = (pattern, options = {}) => {
|
|
1162
|
+
assertValidPattern(pattern);
|
|
1163
|
+
if (options.nobrace || !/\{(?:(?!\{).)*\}/.test(pattern)) {
|
|
1164
|
+
return [pattern];
|
|
1165
|
+
}
|
|
1166
|
+
return (0, import_brace_expansion.default)(pattern);
|
|
1167
|
+
};
|
|
1168
|
+
minimatch.braceExpand = braceExpand;
|
|
1169
|
+
var makeRe = (pattern, options = {}) => new Minimatch(pattern, options).makeRe();
|
|
1170
|
+
minimatch.makeRe = makeRe;
|
|
1171
|
+
var match = (list, pattern, options = {}) => {
|
|
1172
|
+
const mm = new Minimatch(pattern, options);
|
|
1173
|
+
list = list.filter((f) => mm.match(f));
|
|
1174
|
+
if (mm.options.nonull && !list.length) {
|
|
1175
|
+
list.push(pattern);
|
|
1176
|
+
}
|
|
1177
|
+
return list;
|
|
1178
|
+
};
|
|
1179
|
+
minimatch.match = match;
|
|
1180
|
+
var globMagic = /[?*]|[+@!]\(.*?\)|\[|\]/;
|
|
1181
|
+
var regExpEscape2 = (s) => s.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&");
|
|
1182
|
+
var Minimatch = class {
|
|
1183
|
+
options;
|
|
1184
|
+
set;
|
|
1185
|
+
pattern;
|
|
1186
|
+
windowsPathsNoEscape;
|
|
1187
|
+
nonegate;
|
|
1188
|
+
negate;
|
|
1189
|
+
comment;
|
|
1190
|
+
empty;
|
|
1191
|
+
preserveMultipleSlashes;
|
|
1192
|
+
partial;
|
|
1193
|
+
globSet;
|
|
1194
|
+
globParts;
|
|
1195
|
+
nocase;
|
|
1196
|
+
isWindows;
|
|
1197
|
+
platform;
|
|
1198
|
+
windowsNoMagicRoot;
|
|
1199
|
+
regexp;
|
|
1200
|
+
constructor(pattern, options = {}) {
|
|
1201
|
+
assertValidPattern(pattern);
|
|
1202
|
+
options = options || {};
|
|
1203
|
+
this.options = options;
|
|
1204
|
+
this.pattern = pattern;
|
|
1205
|
+
this.platform = options.platform || defaultPlatform;
|
|
1206
|
+
this.isWindows = this.platform === "win32";
|
|
1207
|
+
this.windowsPathsNoEscape = !!options.windowsPathsNoEscape || options.allowWindowsEscape === false;
|
|
1208
|
+
if (this.windowsPathsNoEscape) {
|
|
1209
|
+
this.pattern = this.pattern.replace(/\\/g, "/");
|
|
1210
|
+
}
|
|
1211
|
+
this.preserveMultipleSlashes = !!options.preserveMultipleSlashes;
|
|
1212
|
+
this.regexp = null;
|
|
1213
|
+
this.negate = false;
|
|
1214
|
+
this.nonegate = !!options.nonegate;
|
|
1215
|
+
this.comment = false;
|
|
1216
|
+
this.empty = false;
|
|
1217
|
+
this.partial = !!options.partial;
|
|
1218
|
+
this.nocase = !!this.options.nocase;
|
|
1219
|
+
this.windowsNoMagicRoot = options.windowsNoMagicRoot !== void 0 ? options.windowsNoMagicRoot : !!(this.isWindows && this.nocase);
|
|
1220
|
+
this.globSet = [];
|
|
1221
|
+
this.globParts = [];
|
|
1222
|
+
this.set = [];
|
|
1223
|
+
this.make();
|
|
1224
|
+
}
|
|
1225
|
+
hasMagic() {
|
|
1226
|
+
if (this.options.magicalBraces && this.set.length > 1) {
|
|
1227
|
+
return true;
|
|
1228
|
+
}
|
|
1229
|
+
for (const pattern of this.set) {
|
|
1230
|
+
for (const part of pattern) {
|
|
1231
|
+
if (typeof part !== "string")
|
|
1232
|
+
return true;
|
|
1233
|
+
}
|
|
1234
|
+
}
|
|
1235
|
+
return false;
|
|
1236
|
+
}
|
|
1237
|
+
debug(..._) {
|
|
1238
|
+
}
|
|
1239
|
+
make() {
|
|
1240
|
+
const pattern = this.pattern;
|
|
1241
|
+
const options = this.options;
|
|
1242
|
+
if (!options.nocomment && pattern.charAt(0) === "#") {
|
|
1243
|
+
this.comment = true;
|
|
1244
|
+
return;
|
|
1245
|
+
}
|
|
1246
|
+
if (!pattern) {
|
|
1247
|
+
this.empty = true;
|
|
1248
|
+
return;
|
|
1249
|
+
}
|
|
1250
|
+
this.parseNegate();
|
|
1251
|
+
this.globSet = [...new Set(this.braceExpand())];
|
|
1252
|
+
if (options.debug) {
|
|
1253
|
+
this.debug = (...args) => console.error(...args);
|
|
1254
|
+
}
|
|
1255
|
+
this.debug(this.pattern, this.globSet);
|
|
1256
|
+
const rawGlobParts = this.globSet.map((s) => this.slashSplit(s));
|
|
1257
|
+
this.globParts = this.preprocess(rawGlobParts);
|
|
1258
|
+
this.debug(this.pattern, this.globParts);
|
|
1259
|
+
let set = this.globParts.map((s, _, __) => {
|
|
1260
|
+
if (this.isWindows && this.windowsNoMagicRoot) {
|
|
1261
|
+
const isUNC = s[0] === "" && s[1] === "" && (s[2] === "?" || !globMagic.test(s[2])) && !globMagic.test(s[3]);
|
|
1262
|
+
const isDrive = /^[a-z]:/i.test(s[0]);
|
|
1263
|
+
if (isUNC) {
|
|
1264
|
+
return [...s.slice(0, 4), ...s.slice(4).map((ss) => this.parse(ss))];
|
|
1265
|
+
} else if (isDrive) {
|
|
1266
|
+
return [s[0], ...s.slice(1).map((ss) => this.parse(ss))];
|
|
1267
|
+
}
|
|
1268
|
+
}
|
|
1269
|
+
return s.map((ss) => this.parse(ss));
|
|
1270
|
+
});
|
|
1271
|
+
this.debug(this.pattern, set);
|
|
1272
|
+
this.set = set.filter((s) => s.indexOf(false) === -1);
|
|
1273
|
+
if (this.isWindows) {
|
|
1274
|
+
for (let i2 = 0; i2 < this.set.length; i2++) {
|
|
1275
|
+
const p = this.set[i2];
|
|
1276
|
+
if (p[0] === "" && p[1] === "" && this.globParts[i2][2] === "?" && typeof p[3] === "string" && /^[a-z]:$/i.test(p[3])) {
|
|
1277
|
+
p[2] = "?";
|
|
1278
|
+
}
|
|
1279
|
+
}
|
|
1280
|
+
}
|
|
1281
|
+
this.debug(this.pattern, this.set);
|
|
1282
|
+
}
|
|
1283
|
+
// various transforms to equivalent pattern sets that are
|
|
1284
|
+
// faster to process in a filesystem walk. The goal is to
|
|
1285
|
+
// eliminate what we can, and push all ** patterns as far
|
|
1286
|
+
// to the right as possible, even if it increases the number
|
|
1287
|
+
// of patterns that we have to process.
|
|
1288
|
+
preprocess(globParts) {
|
|
1289
|
+
if (this.options.noglobstar) {
|
|
1290
|
+
for (let i2 = 0; i2 < globParts.length; i2++) {
|
|
1291
|
+
for (let j = 0; j < globParts[i2].length; j++) {
|
|
1292
|
+
if (globParts[i2][j] === "**") {
|
|
1293
|
+
globParts[i2][j] = "*";
|
|
1294
|
+
}
|
|
1295
|
+
}
|
|
1296
|
+
}
|
|
1297
|
+
}
|
|
1298
|
+
const { optimizationLevel = 1 } = this.options;
|
|
1299
|
+
if (optimizationLevel >= 2) {
|
|
1300
|
+
globParts = this.firstPhasePreProcess(globParts);
|
|
1301
|
+
globParts = this.secondPhasePreProcess(globParts);
|
|
1302
|
+
} else if (optimizationLevel >= 1) {
|
|
1303
|
+
globParts = this.levelOneOptimize(globParts);
|
|
1304
|
+
} else {
|
|
1305
|
+
globParts = this.adjascentGlobstarOptimize(globParts);
|
|
1306
|
+
}
|
|
1307
|
+
return globParts;
|
|
1308
|
+
}
|
|
1309
|
+
// just get rid of adjascent ** portions
|
|
1310
|
+
adjascentGlobstarOptimize(globParts) {
|
|
1311
|
+
return globParts.map((parts) => {
|
|
1312
|
+
let gs = -1;
|
|
1313
|
+
while (-1 !== (gs = parts.indexOf("**", gs + 1))) {
|
|
1314
|
+
let i2 = gs;
|
|
1315
|
+
while (parts[i2 + 1] === "**") {
|
|
1316
|
+
i2++;
|
|
1317
|
+
}
|
|
1318
|
+
if (i2 !== gs) {
|
|
1319
|
+
parts.splice(gs, i2 - gs);
|
|
1320
|
+
}
|
|
1321
|
+
}
|
|
1322
|
+
return parts;
|
|
1323
|
+
});
|
|
1324
|
+
}
|
|
1325
|
+
// get rid of adjascent ** and resolve .. portions
|
|
1326
|
+
levelOneOptimize(globParts) {
|
|
1327
|
+
return globParts.map((parts) => {
|
|
1328
|
+
parts = parts.reduce((set, part) => {
|
|
1329
|
+
const prev = set[set.length - 1];
|
|
1330
|
+
if (part === "**" && prev === "**") {
|
|
1331
|
+
return set;
|
|
1332
|
+
}
|
|
1333
|
+
if (part === "..") {
|
|
1334
|
+
if (prev && prev !== ".." && prev !== "." && prev !== "**") {
|
|
1335
|
+
set.pop();
|
|
1336
|
+
return set;
|
|
1337
|
+
}
|
|
1338
|
+
}
|
|
1339
|
+
set.push(part);
|
|
1340
|
+
return set;
|
|
1341
|
+
}, []);
|
|
1342
|
+
return parts.length === 0 ? [""] : parts;
|
|
1343
|
+
});
|
|
1344
|
+
}
|
|
1345
|
+
levelTwoFileOptimize(parts) {
|
|
1346
|
+
if (!Array.isArray(parts)) {
|
|
1347
|
+
parts = this.slashSplit(parts);
|
|
1348
|
+
}
|
|
1349
|
+
let didSomething = false;
|
|
1350
|
+
do {
|
|
1351
|
+
didSomething = false;
|
|
1352
|
+
if (!this.preserveMultipleSlashes) {
|
|
1353
|
+
for (let i2 = 1; i2 < parts.length - 1; i2++) {
|
|
1354
|
+
const p = parts[i2];
|
|
1355
|
+
if (i2 === 1 && p === "" && parts[0] === "")
|
|
1356
|
+
continue;
|
|
1357
|
+
if (p === "." || p === "") {
|
|
1358
|
+
didSomething = true;
|
|
1359
|
+
parts.splice(i2, 1);
|
|
1360
|
+
i2--;
|
|
1361
|
+
}
|
|
1362
|
+
}
|
|
1363
|
+
if (parts[0] === "." && parts.length === 2 && (parts[1] === "." || parts[1] === "")) {
|
|
1364
|
+
didSomething = true;
|
|
1365
|
+
parts.pop();
|
|
1366
|
+
}
|
|
1367
|
+
}
|
|
1368
|
+
let dd = 0;
|
|
1369
|
+
while (-1 !== (dd = parts.indexOf("..", dd + 1))) {
|
|
1370
|
+
const p = parts[dd - 1];
|
|
1371
|
+
if (p && p !== "." && p !== ".." && p !== "**") {
|
|
1372
|
+
didSomething = true;
|
|
1373
|
+
parts.splice(dd - 1, 2);
|
|
1374
|
+
dd -= 2;
|
|
1375
|
+
}
|
|
1376
|
+
}
|
|
1377
|
+
} while (didSomething);
|
|
1378
|
+
return parts.length === 0 ? [""] : parts;
|
|
1379
|
+
}
|
|
1380
|
+
// First phase: single-pattern processing
|
|
1381
|
+
// <pre> is 1 or more portions
|
|
1382
|
+
// <rest> is 1 or more portions
|
|
1383
|
+
// <p> is any portion other than ., .., '', or **
|
|
1384
|
+
// <e> is . or ''
|
|
1385
|
+
//
|
|
1386
|
+
// **/.. is *brutal* for filesystem walking performance, because
|
|
1387
|
+
// it effectively resets the recursive walk each time it occurs,
|
|
1388
|
+
// and ** cannot be reduced out by a .. pattern part like a regexp
|
|
1389
|
+
// or most strings (other than .., ., and '') can be.
|
|
1390
|
+
//
|
|
1391
|
+
// <pre>/**/../<p>/<p>/<rest> -> {<pre>/../<p>/<p>/<rest>,<pre>/**/<p>/<p>/<rest>}
|
|
1392
|
+
// <pre>/<e>/<rest> -> <pre>/<rest>
|
|
1393
|
+
// <pre>/<p>/../<rest> -> <pre>/<rest>
|
|
1394
|
+
// **/**/<rest> -> **/<rest>
|
|
1395
|
+
//
|
|
1396
|
+
// **/*/<rest> -> */**/<rest> <== not valid because ** doesn't follow
|
|
1397
|
+
// this WOULD be allowed if ** did follow symlinks, or * didn't
|
|
1398
|
+
firstPhasePreProcess(globParts) {
|
|
1399
|
+
let didSomething = false;
|
|
1400
|
+
do {
|
|
1401
|
+
didSomething = false;
|
|
1402
|
+
for (let parts of globParts) {
|
|
1403
|
+
let gs = -1;
|
|
1404
|
+
while (-1 !== (gs = parts.indexOf("**", gs + 1))) {
|
|
1405
|
+
let gss = gs;
|
|
1406
|
+
while (parts[gss + 1] === "**") {
|
|
1407
|
+
gss++;
|
|
1408
|
+
}
|
|
1409
|
+
if (gss > gs) {
|
|
1410
|
+
parts.splice(gs + 1, gss - gs);
|
|
1411
|
+
}
|
|
1412
|
+
let next = parts[gs + 1];
|
|
1413
|
+
const p = parts[gs + 2];
|
|
1414
|
+
const p2 = parts[gs + 3];
|
|
1415
|
+
if (next !== "..")
|
|
1416
|
+
continue;
|
|
1417
|
+
if (!p || p === "." || p === ".." || !p2 || p2 === "." || p2 === "..") {
|
|
1418
|
+
continue;
|
|
1419
|
+
}
|
|
1420
|
+
didSomething = true;
|
|
1421
|
+
parts.splice(gs, 1);
|
|
1422
|
+
const other = parts.slice(0);
|
|
1423
|
+
other[gs] = "**";
|
|
1424
|
+
globParts.push(other);
|
|
1425
|
+
gs--;
|
|
1426
|
+
}
|
|
1427
|
+
if (!this.preserveMultipleSlashes) {
|
|
1428
|
+
for (let i2 = 1; i2 < parts.length - 1; i2++) {
|
|
1429
|
+
const p = parts[i2];
|
|
1430
|
+
if (i2 === 1 && p === "" && parts[0] === "")
|
|
1431
|
+
continue;
|
|
1432
|
+
if (p === "." || p === "") {
|
|
1433
|
+
didSomething = true;
|
|
1434
|
+
parts.splice(i2, 1);
|
|
1435
|
+
i2--;
|
|
1436
|
+
}
|
|
1437
|
+
}
|
|
1438
|
+
if (parts[0] === "." && parts.length === 2 && (parts[1] === "." || parts[1] === "")) {
|
|
1439
|
+
didSomething = true;
|
|
1440
|
+
parts.pop();
|
|
1441
|
+
}
|
|
1442
|
+
}
|
|
1443
|
+
let dd = 0;
|
|
1444
|
+
while (-1 !== (dd = parts.indexOf("..", dd + 1))) {
|
|
1445
|
+
const p = parts[dd - 1];
|
|
1446
|
+
if (p && p !== "." && p !== ".." && p !== "**") {
|
|
1447
|
+
didSomething = true;
|
|
1448
|
+
const needDot = dd === 1 && parts[dd + 1] === "**";
|
|
1449
|
+
const splin = needDot ? ["."] : [];
|
|
1450
|
+
parts.splice(dd - 1, 2, ...splin);
|
|
1451
|
+
if (parts.length === 0)
|
|
1452
|
+
parts.push("");
|
|
1453
|
+
dd -= 2;
|
|
1454
|
+
}
|
|
1455
|
+
}
|
|
1456
|
+
}
|
|
1457
|
+
} while (didSomething);
|
|
1458
|
+
return globParts;
|
|
1459
|
+
}
|
|
1460
|
+
// second phase: multi-pattern dedupes
|
|
1461
|
+
// {<pre>/*/<rest>,<pre>/<p>/<rest>} -> <pre>/*/<rest>
|
|
1462
|
+
// {<pre>/<rest>,<pre>/<rest>} -> <pre>/<rest>
|
|
1463
|
+
// {<pre>/**/<rest>,<pre>/<rest>} -> <pre>/**/<rest>
|
|
1464
|
+
//
|
|
1465
|
+
// {<pre>/**/<rest>,<pre>/**/<p>/<rest>} -> <pre>/**/<rest>
|
|
1466
|
+
// ^-- not valid because ** doens't follow symlinks
|
|
1467
|
+
secondPhasePreProcess(globParts) {
|
|
1468
|
+
for (let i2 = 0; i2 < globParts.length - 1; i2++) {
|
|
1469
|
+
for (let j = i2 + 1; j < globParts.length; j++) {
|
|
1470
|
+
const matched = this.partsMatch(globParts[i2], globParts[j], !this.preserveMultipleSlashes);
|
|
1471
|
+
if (!matched)
|
|
1472
|
+
continue;
|
|
1473
|
+
globParts[i2] = matched;
|
|
1474
|
+
globParts[j] = [];
|
|
1475
|
+
}
|
|
1476
|
+
}
|
|
1477
|
+
return globParts.filter((gs) => gs.length);
|
|
1478
|
+
}
|
|
1479
|
+
partsMatch(a, b, emptyGSMatch = false) {
|
|
1480
|
+
let ai = 0;
|
|
1481
|
+
let bi = 0;
|
|
1482
|
+
let result = [];
|
|
1483
|
+
let which = "";
|
|
1484
|
+
while (ai < a.length && bi < b.length) {
|
|
1485
|
+
if (a[ai] === b[bi]) {
|
|
1486
|
+
result.push(which === "b" ? b[bi] : a[ai]);
|
|
1487
|
+
ai++;
|
|
1488
|
+
bi++;
|
|
1489
|
+
} else if (emptyGSMatch && a[ai] === "**" && b[bi] === a[ai + 1]) {
|
|
1490
|
+
result.push(a[ai]);
|
|
1491
|
+
ai++;
|
|
1492
|
+
} else if (emptyGSMatch && b[bi] === "**" && a[ai] === b[bi + 1]) {
|
|
1493
|
+
result.push(b[bi]);
|
|
1494
|
+
bi++;
|
|
1495
|
+
} else if (a[ai] === "*" && b[bi] && (this.options.dot || !b[bi].startsWith(".")) && b[bi] !== "**") {
|
|
1496
|
+
if (which === "b")
|
|
1497
|
+
return false;
|
|
1498
|
+
which = "a";
|
|
1499
|
+
result.push(a[ai]);
|
|
1500
|
+
ai++;
|
|
1501
|
+
bi++;
|
|
1502
|
+
} else if (b[bi] === "*" && a[ai] && (this.options.dot || !a[ai].startsWith(".")) && a[ai] !== "**") {
|
|
1503
|
+
if (which === "a")
|
|
1504
|
+
return false;
|
|
1505
|
+
which = "b";
|
|
1506
|
+
result.push(b[bi]);
|
|
1507
|
+
ai++;
|
|
1508
|
+
bi++;
|
|
1509
|
+
} else {
|
|
1510
|
+
return false;
|
|
1511
|
+
}
|
|
1512
|
+
}
|
|
1513
|
+
return a.length === b.length && result;
|
|
1514
|
+
}
|
|
1515
|
+
parseNegate() {
|
|
1516
|
+
if (this.nonegate)
|
|
1517
|
+
return;
|
|
1518
|
+
const pattern = this.pattern;
|
|
1519
|
+
let negate = false;
|
|
1520
|
+
let negateOffset = 0;
|
|
1521
|
+
for (let i2 = 0; i2 < pattern.length && pattern.charAt(i2) === "!"; i2++) {
|
|
1522
|
+
negate = !negate;
|
|
1523
|
+
negateOffset++;
|
|
1524
|
+
}
|
|
1525
|
+
if (negateOffset)
|
|
1526
|
+
this.pattern = pattern.slice(negateOffset);
|
|
1527
|
+
this.negate = negate;
|
|
1528
|
+
}
|
|
1529
|
+
// set partial to true to test if, for example,
|
|
1530
|
+
// "/a/b" matches the start of "/*/b/*/d"
|
|
1531
|
+
// Partial means, if you run out of file before you run
|
|
1532
|
+
// out of pattern, then that's fine, as long as all
|
|
1533
|
+
// the parts match.
|
|
1534
|
+
matchOne(file, pattern, partial = false) {
|
|
1535
|
+
const options = this.options;
|
|
1536
|
+
if (this.isWindows) {
|
|
1537
|
+
const fileDrive = typeof file[0] === "string" && /^[a-z]:$/i.test(file[0]);
|
|
1538
|
+
const fileUNC = !fileDrive && file[0] === "" && file[1] === "" && file[2] === "?" && /^[a-z]:$/i.test(file[3]);
|
|
1539
|
+
const patternDrive = typeof pattern[0] === "string" && /^[a-z]:$/i.test(pattern[0]);
|
|
1540
|
+
const patternUNC = !patternDrive && pattern[0] === "" && pattern[1] === "" && pattern[2] === "?" && typeof pattern[3] === "string" && /^[a-z]:$/i.test(pattern[3]);
|
|
1541
|
+
const fdi = fileUNC ? 3 : fileDrive ? 0 : void 0;
|
|
1542
|
+
const pdi = patternUNC ? 3 : patternDrive ? 0 : void 0;
|
|
1543
|
+
if (typeof fdi === "number" && typeof pdi === "number") {
|
|
1544
|
+
const [fd, pd] = [file[fdi], pattern[pdi]];
|
|
1545
|
+
if (fd.toLowerCase() === pd.toLowerCase()) {
|
|
1546
|
+
pattern[pdi] = fd;
|
|
1547
|
+
if (pdi > fdi) {
|
|
1548
|
+
pattern = pattern.slice(pdi);
|
|
1549
|
+
} else if (fdi > pdi) {
|
|
1550
|
+
file = file.slice(fdi);
|
|
1551
|
+
}
|
|
1552
|
+
}
|
|
1553
|
+
}
|
|
1554
|
+
}
|
|
1555
|
+
const { optimizationLevel = 1 } = this.options;
|
|
1556
|
+
if (optimizationLevel >= 2) {
|
|
1557
|
+
file = this.levelTwoFileOptimize(file);
|
|
1558
|
+
}
|
|
1559
|
+
this.debug("matchOne", this, { file, pattern });
|
|
1560
|
+
this.debug("matchOne", file.length, pattern.length);
|
|
1561
|
+
for (var fi = 0, pi = 0, fl = file.length, pl = pattern.length; fi < fl && pi < pl; fi++, pi++) {
|
|
1562
|
+
this.debug("matchOne loop");
|
|
1563
|
+
var p = pattern[pi];
|
|
1564
|
+
var f = file[fi];
|
|
1565
|
+
this.debug(pattern, p, f);
|
|
1566
|
+
if (p === false) {
|
|
1567
|
+
return false;
|
|
1568
|
+
}
|
|
1569
|
+
if (p === GLOBSTAR) {
|
|
1570
|
+
this.debug("GLOBSTAR", [pattern, p, f]);
|
|
1571
|
+
var fr = fi;
|
|
1572
|
+
var pr = pi + 1;
|
|
1573
|
+
if (pr === pl) {
|
|
1574
|
+
this.debug("** at the end");
|
|
1575
|
+
for (; fi < fl; fi++) {
|
|
1576
|
+
if (file[fi] === "." || file[fi] === ".." || !options.dot && file[fi].charAt(0) === ".")
|
|
1577
|
+
return false;
|
|
1578
|
+
}
|
|
1579
|
+
return true;
|
|
1580
|
+
}
|
|
1581
|
+
while (fr < fl) {
|
|
1582
|
+
var swallowee = file[fr];
|
|
1583
|
+
this.debug("\nglobstar while", file, fr, pattern, pr, swallowee);
|
|
1584
|
+
if (this.matchOne(file.slice(fr), pattern.slice(pr), partial)) {
|
|
1585
|
+
this.debug("globstar found match!", fr, fl, swallowee);
|
|
1586
|
+
return true;
|
|
1587
|
+
} else {
|
|
1588
|
+
if (swallowee === "." || swallowee === ".." || !options.dot && swallowee.charAt(0) === ".") {
|
|
1589
|
+
this.debug("dot detected!", file, fr, pattern, pr);
|
|
1590
|
+
break;
|
|
1591
|
+
}
|
|
1592
|
+
this.debug("globstar swallow a segment, and continue");
|
|
1593
|
+
fr++;
|
|
1594
|
+
}
|
|
1595
|
+
}
|
|
1596
|
+
if (partial) {
|
|
1597
|
+
this.debug("\n>>> no match, partial?", file, fr, pattern, pr);
|
|
1598
|
+
if (fr === fl) {
|
|
1599
|
+
return true;
|
|
1600
|
+
}
|
|
1601
|
+
}
|
|
1602
|
+
return false;
|
|
1603
|
+
}
|
|
1604
|
+
let hit;
|
|
1605
|
+
if (typeof p === "string") {
|
|
1606
|
+
hit = f === p;
|
|
1607
|
+
this.debug("string match", p, f, hit);
|
|
1608
|
+
} else {
|
|
1609
|
+
hit = p.test(f);
|
|
1610
|
+
this.debug("pattern match", p, f, hit);
|
|
1611
|
+
}
|
|
1612
|
+
if (!hit)
|
|
1613
|
+
return false;
|
|
1614
|
+
}
|
|
1615
|
+
if (fi === fl && pi === pl) {
|
|
1616
|
+
return true;
|
|
1617
|
+
} else if (fi === fl) {
|
|
1618
|
+
return partial;
|
|
1619
|
+
} else if (pi === pl) {
|
|
1620
|
+
return fi === fl - 1 && file[fi] === "";
|
|
1621
|
+
} else {
|
|
1622
|
+
throw new Error("wtf?");
|
|
1623
|
+
}
|
|
1624
|
+
}
|
|
1625
|
+
braceExpand() {
|
|
1626
|
+
return braceExpand(this.pattern, this.options);
|
|
1627
|
+
}
|
|
1628
|
+
parse(pattern) {
|
|
1629
|
+
assertValidPattern(pattern);
|
|
1630
|
+
const options = this.options;
|
|
1631
|
+
if (pattern === "**")
|
|
1632
|
+
return GLOBSTAR;
|
|
1633
|
+
if (pattern === "")
|
|
1634
|
+
return "";
|
|
1635
|
+
let m;
|
|
1636
|
+
let fastTest = null;
|
|
1637
|
+
if (m = pattern.match(starRE)) {
|
|
1638
|
+
fastTest = options.dot ? starTestDot : starTest;
|
|
1639
|
+
} else if (m = pattern.match(starDotExtRE)) {
|
|
1640
|
+
fastTest = (options.nocase ? options.dot ? starDotExtTestNocaseDot : starDotExtTestNocase : options.dot ? starDotExtTestDot : starDotExtTest)(m[1]);
|
|
1641
|
+
} else if (m = pattern.match(qmarksRE)) {
|
|
1642
|
+
fastTest = (options.nocase ? options.dot ? qmarksTestNocaseDot : qmarksTestNocase : options.dot ? qmarksTestDot : qmarksTest)(m);
|
|
1643
|
+
} else if (m = pattern.match(starDotStarRE)) {
|
|
1644
|
+
fastTest = options.dot ? starDotStarTestDot : starDotStarTest;
|
|
1645
|
+
} else if (m = pattern.match(dotStarRE)) {
|
|
1646
|
+
fastTest = dotStarTest;
|
|
1647
|
+
}
|
|
1648
|
+
const re = AST.fromGlob(pattern, this.options).toMMPattern();
|
|
1649
|
+
if (fastTest && typeof re === "object") {
|
|
1650
|
+
Reflect.defineProperty(re, "test", { value: fastTest });
|
|
1651
|
+
}
|
|
1652
|
+
return re;
|
|
1653
|
+
}
|
|
1654
|
+
makeRe() {
|
|
1655
|
+
if (this.regexp || this.regexp === false)
|
|
1656
|
+
return this.regexp;
|
|
1657
|
+
const set = this.set;
|
|
1658
|
+
if (!set.length) {
|
|
1659
|
+
this.regexp = false;
|
|
1660
|
+
return this.regexp;
|
|
1661
|
+
}
|
|
1662
|
+
const options = this.options;
|
|
1663
|
+
const twoStar = options.noglobstar ? star2 : options.dot ? twoStarDot : twoStarNoDot;
|
|
1664
|
+
const flags = new Set(options.nocase ? ["i"] : []);
|
|
1665
|
+
let re = set.map((pattern) => {
|
|
1666
|
+
const pp = pattern.map((p) => {
|
|
1667
|
+
if (p instanceof RegExp) {
|
|
1668
|
+
for (const f of p.flags.split(""))
|
|
1669
|
+
flags.add(f);
|
|
1670
|
+
}
|
|
1671
|
+
return typeof p === "string" ? regExpEscape2(p) : p === GLOBSTAR ? GLOBSTAR : p._src;
|
|
1672
|
+
});
|
|
1673
|
+
pp.forEach((p, i2) => {
|
|
1674
|
+
const next = pp[i2 + 1];
|
|
1675
|
+
const prev = pp[i2 - 1];
|
|
1676
|
+
if (p !== GLOBSTAR || prev === GLOBSTAR) {
|
|
1677
|
+
return;
|
|
1678
|
+
}
|
|
1679
|
+
if (prev === void 0) {
|
|
1680
|
+
if (next !== void 0 && next !== GLOBSTAR) {
|
|
1681
|
+
pp[i2 + 1] = "(?:\\/|" + twoStar + "\\/)?" + next;
|
|
1682
|
+
} else {
|
|
1683
|
+
pp[i2] = twoStar;
|
|
1684
|
+
}
|
|
1685
|
+
} else if (next === void 0) {
|
|
1686
|
+
pp[i2 - 1] = prev + "(?:\\/|" + twoStar + ")?";
|
|
1687
|
+
} else if (next !== GLOBSTAR) {
|
|
1688
|
+
pp[i2 - 1] = prev + "(?:\\/|\\/" + twoStar + "\\/)" + next;
|
|
1689
|
+
pp[i2 + 1] = GLOBSTAR;
|
|
1690
|
+
}
|
|
1691
|
+
});
|
|
1692
|
+
return pp.filter((p) => p !== GLOBSTAR).join("/");
|
|
1693
|
+
}).join("|");
|
|
1694
|
+
const [open, close] = set.length > 1 ? ["(?:", ")"] : ["", ""];
|
|
1695
|
+
re = "^" + open + re + close + "$";
|
|
1696
|
+
if (this.negate)
|
|
1697
|
+
re = "^(?!" + re + ").+$";
|
|
1698
|
+
try {
|
|
1699
|
+
this.regexp = new RegExp(re, [...flags].join(""));
|
|
1700
|
+
} catch (ex) {
|
|
1701
|
+
this.regexp = false;
|
|
1702
|
+
}
|
|
1703
|
+
return this.regexp;
|
|
1704
|
+
}
|
|
1705
|
+
slashSplit(p) {
|
|
1706
|
+
if (this.preserveMultipleSlashes) {
|
|
1707
|
+
return p.split("/");
|
|
1708
|
+
} else if (this.isWindows && /^\/\/[^\/]+/.test(p)) {
|
|
1709
|
+
return ["", ...p.split(/\/+/)];
|
|
1710
|
+
} else {
|
|
1711
|
+
return p.split(/\/+/);
|
|
1712
|
+
}
|
|
1713
|
+
}
|
|
1714
|
+
match(f, partial = this.partial) {
|
|
1715
|
+
this.debug("match", f, this.pattern);
|
|
1716
|
+
if (this.comment) {
|
|
1717
|
+
return false;
|
|
1718
|
+
}
|
|
1719
|
+
if (this.empty) {
|
|
1720
|
+
return f === "";
|
|
1721
|
+
}
|
|
1722
|
+
if (f === "/" && partial) {
|
|
1723
|
+
return true;
|
|
1724
|
+
}
|
|
1725
|
+
const options = this.options;
|
|
1726
|
+
if (this.isWindows) {
|
|
1727
|
+
f = f.split("\\").join("/");
|
|
1728
|
+
}
|
|
1729
|
+
const ff = this.slashSplit(f);
|
|
1730
|
+
this.debug(this.pattern, "split", ff);
|
|
1731
|
+
const set = this.set;
|
|
1732
|
+
this.debug(this.pattern, "set", set);
|
|
1733
|
+
let filename = ff[ff.length - 1];
|
|
1734
|
+
if (!filename) {
|
|
1735
|
+
for (let i2 = ff.length - 2; !filename && i2 >= 0; i2--) {
|
|
1736
|
+
filename = ff[i2];
|
|
1737
|
+
}
|
|
1738
|
+
}
|
|
1739
|
+
for (let i2 = 0; i2 < set.length; i2++) {
|
|
1740
|
+
const pattern = set[i2];
|
|
1741
|
+
let file = ff;
|
|
1742
|
+
if (options.matchBase && pattern.length === 1) {
|
|
1743
|
+
file = [filename];
|
|
1744
|
+
}
|
|
1745
|
+
const hit = this.matchOne(file, pattern, partial);
|
|
1746
|
+
if (hit) {
|
|
1747
|
+
if (options.flipNegate) {
|
|
1748
|
+
return true;
|
|
1749
|
+
}
|
|
1750
|
+
return !this.negate;
|
|
1751
|
+
}
|
|
1752
|
+
}
|
|
1753
|
+
if (options.flipNegate) {
|
|
1754
|
+
return false;
|
|
1755
|
+
}
|
|
1756
|
+
return this.negate;
|
|
1757
|
+
}
|
|
1758
|
+
static defaults(def) {
|
|
1759
|
+
return minimatch.defaults(def).Minimatch;
|
|
1760
|
+
}
|
|
1761
|
+
};
|
|
1762
|
+
minimatch.AST = AST;
|
|
1763
|
+
minimatch.Minimatch = Minimatch;
|
|
1764
|
+
minimatch.escape = escape;
|
|
1765
|
+
minimatch.unescape = unescape;
|
|
1766
|
+
|
|
1767
|
+
// src/utils/query-nonce-meta-tag-content.ts
|
|
1768
|
+
function queryNonceMetaTagContent(doc) {
|
|
1769
|
+
var _a, _b, _c;
|
|
1770
|
+
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;
|
|
1771
|
+
}
|
|
1772
|
+
|
|
1773
|
+
// src/utils/regular-expression.ts
|
|
1774
|
+
var escapeRegExpSpecialCharacters = (text) => {
|
|
1775
|
+
return text.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
1776
|
+
};
|
|
1777
|
+
|
|
1778
|
+
// src/utils/remote-value.ts
|
|
1779
|
+
var RemoteValue = class _RemoteValue {
|
|
1780
|
+
/**
|
|
1781
|
+
* Deserializes a LocalValue serialized object back to its original JavaScript representation
|
|
1782
|
+
*
|
|
1783
|
+
* @param serialized The serialized LocalValue object
|
|
1784
|
+
* @returns The original JavaScript value/object
|
|
1785
|
+
*/
|
|
1786
|
+
static fromLocalValue(serialized) {
|
|
1787
|
+
const type = serialized[TYPE_CONSTANT];
|
|
1788
|
+
const value = VALUE_CONSTANT in serialized ? serialized[VALUE_CONSTANT] : void 0;
|
|
1789
|
+
switch (type) {
|
|
1790
|
+
case "string" /* String */:
|
|
1791
|
+
return value;
|
|
1792
|
+
case "boolean" /* Boolean */:
|
|
1793
|
+
return value;
|
|
1794
|
+
case "bigint" /* BigInt */:
|
|
1795
|
+
return BigInt(value);
|
|
1796
|
+
case "undefined" /* Undefined */:
|
|
1797
|
+
return void 0;
|
|
1798
|
+
case "null" /* Null */:
|
|
1799
|
+
return null;
|
|
1800
|
+
case "number" /* Number */:
|
|
1801
|
+
if (value === "NaN") return NaN;
|
|
1802
|
+
if (value === "-0") return -0;
|
|
1803
|
+
if (value === "Infinity") return Infinity;
|
|
1804
|
+
if (value === "-Infinity") return -Infinity;
|
|
1805
|
+
return value;
|
|
1806
|
+
case "array" /* Array */:
|
|
1807
|
+
return value.map((item) => _RemoteValue.fromLocalValue(item));
|
|
1808
|
+
case "date" /* Date */:
|
|
1809
|
+
return new Date(value);
|
|
1810
|
+
case "map" /* Map */:
|
|
1811
|
+
const map2 = /* @__PURE__ */ new Map();
|
|
1812
|
+
for (const [key, val] of value) {
|
|
1813
|
+
const deserializedKey = typeof key === "object" && key !== null ? _RemoteValue.fromLocalValue(key) : key;
|
|
1814
|
+
const deserializedValue = _RemoteValue.fromLocalValue(val);
|
|
1815
|
+
map2.set(deserializedKey, deserializedValue);
|
|
1816
|
+
}
|
|
1817
|
+
return map2;
|
|
1818
|
+
case "object" /* Object */:
|
|
1819
|
+
const obj = {};
|
|
1820
|
+
for (const [key, val] of value) {
|
|
1821
|
+
obj[key] = _RemoteValue.fromLocalValue(val);
|
|
1822
|
+
}
|
|
1823
|
+
return obj;
|
|
1824
|
+
case "regexp" /* RegularExpression */:
|
|
1825
|
+
const { pattern, flags } = value;
|
|
1826
|
+
return new RegExp(pattern, flags);
|
|
1827
|
+
case "set" /* Set */:
|
|
1828
|
+
const set = /* @__PURE__ */ new Set();
|
|
1829
|
+
for (const item of value) {
|
|
1830
|
+
set.add(_RemoteValue.fromLocalValue(item));
|
|
1831
|
+
}
|
|
1832
|
+
return set;
|
|
1833
|
+
case "symbol" /* Symbol */:
|
|
1834
|
+
return Symbol(value);
|
|
1835
|
+
default:
|
|
1836
|
+
throw new Error(`Unsupported type: ${type}`);
|
|
1837
|
+
}
|
|
1838
|
+
}
|
|
1839
|
+
/**
|
|
1840
|
+
* Utility method to deserialize multiple LocalValues at once
|
|
1841
|
+
*
|
|
1842
|
+
* @param serializedValues Array of serialized LocalValue objects
|
|
1843
|
+
* @returns Array of deserialized JavaScript values
|
|
1844
|
+
*/
|
|
1845
|
+
static fromLocalValueArray(serializedValues) {
|
|
1846
|
+
return serializedValues.map((value) => _RemoteValue.fromLocalValue(value));
|
|
1847
|
+
}
|
|
1848
|
+
/**
|
|
1849
|
+
* Verifies if the given object matches the structure of a serialized LocalValue
|
|
1850
|
+
*
|
|
1851
|
+
* @param obj Object to verify
|
|
1852
|
+
* @returns boolean indicating if the object has LocalValue structure
|
|
1853
|
+
*/
|
|
1854
|
+
static isLocalValueObject(obj) {
|
|
1855
|
+
if (typeof obj !== "object" || obj === null) {
|
|
1856
|
+
return false;
|
|
1857
|
+
}
|
|
1858
|
+
if (!obj.hasOwnProperty(TYPE_CONSTANT)) {
|
|
1859
|
+
return false;
|
|
1860
|
+
}
|
|
1861
|
+
const type = obj[TYPE_CONSTANT];
|
|
1862
|
+
const hasTypeProperty = Object.values({ ...PrimitiveType, ...NonPrimitiveType }).includes(type);
|
|
1863
|
+
if (!hasTypeProperty) {
|
|
1864
|
+
return false;
|
|
1865
|
+
}
|
|
1866
|
+
if (type !== "null" /* Null */ && type !== "undefined" /* Undefined */) {
|
|
1867
|
+
return obj.hasOwnProperty(VALUE_CONSTANT);
|
|
1868
|
+
}
|
|
1869
|
+
return true;
|
|
1870
|
+
}
|
|
1871
|
+
};
|
|
1872
|
+
|
|
1873
|
+
// src/utils/result.ts
|
|
1874
|
+
var result_exports = {};
|
|
1875
|
+
__export(result_exports, {
|
|
1876
|
+
err: () => err,
|
|
1877
|
+
map: () => map,
|
|
1878
|
+
ok: () => ok,
|
|
1879
|
+
unwrap: () => unwrap,
|
|
1880
|
+
unwrapErr: () => unwrapErr
|
|
1881
|
+
});
|
|
1882
|
+
var ok = (value) => ({
|
|
1883
|
+
isOk: true,
|
|
1884
|
+
isErr: false,
|
|
1885
|
+
value
|
|
1886
|
+
});
|
|
1887
|
+
var err = (value) => ({
|
|
1888
|
+
isOk: false,
|
|
1889
|
+
isErr: true,
|
|
1890
|
+
value
|
|
1891
|
+
});
|
|
1892
|
+
function map(result, fn) {
|
|
1893
|
+
if (result.isOk) {
|
|
1894
|
+
const val = fn(result.value);
|
|
1895
|
+
if (val instanceof Promise) {
|
|
1896
|
+
return val.then((newVal) => ok(newVal));
|
|
1897
|
+
} else {
|
|
1898
|
+
return ok(val);
|
|
1899
|
+
}
|
|
1900
|
+
}
|
|
1901
|
+
if (result.isErr) {
|
|
1902
|
+
const value = result.value;
|
|
1903
|
+
return err(value);
|
|
1904
|
+
}
|
|
1905
|
+
throw "should never get here";
|
|
1906
|
+
}
|
|
1907
|
+
var unwrap = (result) => {
|
|
1908
|
+
if (result.isOk) {
|
|
1909
|
+
return result.value;
|
|
1910
|
+
} else {
|
|
1911
|
+
throw result.value;
|
|
1912
|
+
}
|
|
1913
|
+
};
|
|
1914
|
+
var unwrapErr = (result) => {
|
|
1915
|
+
if (result.isErr) {
|
|
1916
|
+
return result.value;
|
|
1917
|
+
} else {
|
|
1918
|
+
throw result.value;
|
|
1919
|
+
}
|
|
1920
|
+
};
|
|
1921
|
+
|
|
1922
|
+
// src/utils/serialize.ts
|
|
1923
|
+
function deserializeProperty(value) {
|
|
1924
|
+
if (typeof value !== "string" || !value.startsWith(SERIALIZED_PREFIX)) {
|
|
1925
|
+
return value;
|
|
1926
|
+
}
|
|
1927
|
+
return RemoteValue.fromLocalValue(JSON.parse(atob(value.slice(SERIALIZED_PREFIX.length))));
|
|
1928
|
+
}
|
|
1929
|
+
|
|
1930
|
+
// src/utils/shadow-root.ts
|
|
1931
|
+
var import_app_data3 = require("@stencil/core/internal/app-data");
|
|
1932
|
+
|
|
1933
|
+
// src/app-globals/index.ts
|
|
1934
|
+
var globalStyles = (
|
|
1935
|
+
/* default */
|
|
1936
|
+
""
|
|
1937
|
+
);
|
|
1938
|
+
|
|
1939
|
+
// src/runtime/runtime-constants.ts
|
|
1940
|
+
var CONTENT_REF_ID = "r";
|
|
1941
|
+
var ORG_LOCATION_ID = "o";
|
|
1942
|
+
var SLOT_NODE_ID = "s";
|
|
1943
|
+
var TEXT_NODE_ID = "t";
|
|
1944
|
+
var COMMENT_NODE_ID = "c";
|
|
1945
|
+
var HYDRATE_ID = "s-id";
|
|
1946
|
+
var HYDRATED_STYLE_ID = "sty-id";
|
|
1947
|
+
var HYDRATE_CHILD_ID = "c-id";
|
|
1948
|
+
var HYDRATED_CSS = "{visibility:hidden}.hydrated{visibility:inherit}";
|
|
1949
|
+
var STENCIL_DOC_DATA = "_stencilDocData";
|
|
1950
|
+
var DEFAULT_DOC_DATA = {
|
|
1951
|
+
hostIds: 0,
|
|
1952
|
+
rootLevelIds: 0,
|
|
1953
|
+
staticComponents: /* @__PURE__ */ new Set()
|
|
1954
|
+
};
|
|
1955
|
+
var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
|
|
1956
|
+
var XLINK_NS = "http://www.w3.org/1999/xlink";
|
|
1957
|
+
var FORM_ASSOCIATED_CUSTOM_ELEMENT_CALLBACKS = [
|
|
1958
|
+
"formAssociatedCallback",
|
|
1959
|
+
"formResetCallback",
|
|
1960
|
+
"formDisabledCallback",
|
|
1961
|
+
"formStateRestoreCallback"
|
|
1962
|
+
];
|
|
1963
|
+
|
|
1964
|
+
// src/utils/style.ts
|
|
1965
|
+
function createStyleSheetIfNeededAndSupported(styles2) {
|
|
1966
|
+
if (!styles2 || !supportsConstructableStylesheets) return void 0;
|
|
1967
|
+
const sheet = new CSSStyleSheet();
|
|
1968
|
+
sheet.replaceSync(styles2);
|
|
1969
|
+
return sheet;
|
|
1970
|
+
}
|
|
1971
|
+
|
|
1972
|
+
// src/utils/shadow-root.ts
|
|
1973
|
+
var globalStyleSheet;
|
|
1974
|
+
var GLOBAL_STYLE_ID = "sc-global";
|
|
1975
|
+
function createShadowRoot(cmpMeta) {
|
|
1976
|
+
var _a;
|
|
1977
|
+
const opts = { mode: "open" };
|
|
1978
|
+
if (import_app_data3.BUILD.shadowDelegatesFocus) {
|
|
1979
|
+
opts.delegatesFocus = !!(cmpMeta.$flags$ & 16 /* shadowDelegatesFocus */);
|
|
1980
|
+
}
|
|
1981
|
+
if (import_app_data3.BUILD.shadowSlotAssignmentManual) {
|
|
1982
|
+
const isManual = !!(cmpMeta.$flags$ & 1024 /* shadowSlotAssignmentManual */);
|
|
1983
|
+
if (isManual) {
|
|
1984
|
+
opts.slotAssignment = "manual";
|
|
1985
|
+
}
|
|
1986
|
+
}
|
|
1987
|
+
const shadowRoot = this.attachShadow(opts);
|
|
1988
|
+
if (globalStyleSheet === void 0) globalStyleSheet = (_a = createStyleSheetIfNeededAndSupported(globalStyles)) != null ? _a : null;
|
|
1989
|
+
if (globalStyleSheet) {
|
|
1990
|
+
if (supportsMutableAdoptedStyleSheets) {
|
|
1991
|
+
shadowRoot.adoptedStyleSheets.push(globalStyleSheet);
|
|
1992
|
+
} else {
|
|
1993
|
+
shadowRoot.adoptedStyleSheets = [...shadowRoot.adoptedStyleSheets, globalStyleSheet];
|
|
1994
|
+
}
|
|
1995
|
+
} else if (globalStyles && !supportsConstructableStylesheets) {
|
|
1996
|
+
const styleElm = document.createElement("style");
|
|
1997
|
+
styleElm.innerHTML = globalStyles;
|
|
1998
|
+
if (import_app_data3.BUILD.hotModuleReplacement) {
|
|
1999
|
+
styleElm.setAttribute(HYDRATED_STYLE_ID, GLOBAL_STYLE_ID);
|
|
2000
|
+
}
|
|
2001
|
+
shadowRoot.prepend(styleElm);
|
|
2002
|
+
}
|
|
2003
|
+
}
|
|
2004
|
+
|
|
2005
|
+
// src/utils/util.ts
|
|
2006
|
+
var lowerPathParam = (fn) => (p) => fn(p.toLowerCase());
|
|
2007
|
+
var isDtsFile = lowerPathParam((p) => p.endsWith(".d.ts") || p.endsWith(".d.mts") || p.endsWith(".d.cts"));
|
|
2008
|
+
var isTsFile = lowerPathParam(
|
|
2009
|
+
(p) => !isDtsFile(p) && (p.endsWith(".ts") || p.endsWith(".mts") || p.endsWith(".cts"))
|
|
2010
|
+
);
|
|
2011
|
+
var isTsxFile = lowerPathParam(
|
|
2012
|
+
(p) => p.endsWith(".tsx") || p.endsWith(".mtsx") || p.endsWith(".ctsx")
|
|
2013
|
+
);
|
|
2014
|
+
var isJsxFile = lowerPathParam(
|
|
2015
|
+
(p) => p.endsWith(".jsx") || p.endsWith(".mjsx") || p.endsWith(".cjsx")
|
|
2016
|
+
);
|
|
2017
|
+
var isJsFile = lowerPathParam((p) => p.endsWith(".js") || p.endsWith(".mjs") || p.endsWith(".cjs"));
|
|
109
2018
|
|
|
110
2019
|
// src/testing/platform/testing-host-ref.ts
|
|
111
2020
|
var getHostRef = (elm) => {
|
|
@@ -119,14 +2028,46 @@ var registerInstance = (lazyInstance, hostRef) => {
|
|
|
119
2028
|
throw new Error(`Invalid component constructor`);
|
|
120
2029
|
}
|
|
121
2030
|
if (hostRef == null) {
|
|
122
|
-
const
|
|
123
|
-
const tagName =
|
|
2031
|
+
const Cstr2 = lazyInstance.constructor;
|
|
2032
|
+
const tagName = Cstr2.COMPILER_META && Cstr2.COMPILER_META.tagName ? Cstr2.COMPILER_META.tagName : "div";
|
|
124
2033
|
const elm = document.createElement(tagName);
|
|
125
2034
|
registerHost(elm, { $flags$: 0, $tagName$: tagName });
|
|
126
2035
|
hostRef = getHostRef(elm);
|
|
127
2036
|
}
|
|
128
2037
|
lazyInstance.__stencil__getHostRef = () => hostRef;
|
|
129
2038
|
hostRef.$lazyInstance$ = lazyInstance;
|
|
2039
|
+
const Cstr = lazyInstance.constructor;
|
|
2040
|
+
const allEvents = [];
|
|
2041
|
+
const seenEventMethods = /* @__PURE__ */ new Set();
|
|
2042
|
+
if (Cstr.COMPILER_META && Cstr.COMPILER_META.events) {
|
|
2043
|
+
Cstr.COMPILER_META.events.forEach((event) => {
|
|
2044
|
+
if (!seenEventMethods.has(event.method)) {
|
|
2045
|
+
allEvents.push(event);
|
|
2046
|
+
seenEventMethods.add(event.method);
|
|
2047
|
+
}
|
|
2048
|
+
});
|
|
2049
|
+
}
|
|
2050
|
+
let currentProto = Object.getPrototypeOf(Cstr);
|
|
2051
|
+
while (currentProto && currentProto !== Function.prototype && currentProto.name) {
|
|
2052
|
+
if (typeof currentProto.events === "object" && Array.isArray(currentProto.events)) {
|
|
2053
|
+
currentProto.events.forEach((event) => {
|
|
2054
|
+
if (!seenEventMethods.has(event.method)) {
|
|
2055
|
+
allEvents.push(event);
|
|
2056
|
+
seenEventMethods.add(event.method);
|
|
2057
|
+
}
|
|
2058
|
+
});
|
|
2059
|
+
}
|
|
2060
|
+
currentProto = Object.getPrototypeOf(currentProto);
|
|
2061
|
+
}
|
|
2062
|
+
allEvents.forEach((eventMeta) => {
|
|
2063
|
+
if (!lazyInstance[eventMeta.method]) {
|
|
2064
|
+
let flags = 0;
|
|
2065
|
+
if (eventMeta.bubbles) flags |= 4 /* Bubbles */;
|
|
2066
|
+
if (eventMeta.composed) flags |= 2 /* Composed */;
|
|
2067
|
+
if (eventMeta.cancelable) flags |= 1 /* Cancellable */;
|
|
2068
|
+
lazyInstance[eventMeta.method] = createEvent(lazyInstance, eventMeta.name, flags);
|
|
2069
|
+
}
|
|
2070
|
+
});
|
|
130
2071
|
};
|
|
131
2072
|
var registerHost = (elm, cmpMeta) => {
|
|
132
2073
|
const hostRef = {
|
|
@@ -318,13 +2259,13 @@ var supportsMutableAdoptedStyleSheets = false;
|
|
|
318
2259
|
var setSupportsShadowDom = (supports) => {
|
|
319
2260
|
supportsShadow = supports;
|
|
320
2261
|
};
|
|
321
|
-
function resetPlatform(
|
|
2262
|
+
function resetPlatform(defaults2 = {}) {
|
|
322
2263
|
if (win && typeof win.close === "function") {
|
|
323
2264
|
win.close();
|
|
324
2265
|
}
|
|
325
2266
|
styles.clear();
|
|
326
2267
|
plt.$flags$ = 0;
|
|
327
|
-
Object.assign(plt,
|
|
2268
|
+
Object.assign(plt, defaults2);
|
|
328
2269
|
if (plt.$orgLocNodes$ != null) {
|
|
329
2270
|
plt.$orgLocNodes$.clear();
|
|
330
2271
|
plt.$orgLocNodes$ = void 0;
|
|
@@ -348,333 +2289,59 @@ async function startAutoApplyChanges() {
|
|
|
348
2289
|
flushAll().then(() => {
|
|
349
2290
|
if (isAutoApplyingChanges) {
|
|
350
2291
|
autoApplyTimer = setTimeout(() => {
|
|
351
|
-
startAutoApplyChanges();
|
|
352
|
-
}, 100);
|
|
353
|
-
}
|
|
354
|
-
});
|
|
355
|
-
}
|
|
356
|
-
var registerComponents = (Cstrs) => {
|
|
357
|
-
Cstrs.filter((Cstr) => Cstr.COMPILER_META).forEach((Cstr) => {
|
|
358
|
-
cstrs.set(Cstr.COMPILER_META.tagName, Cstr);
|
|
359
|
-
});
|
|
360
|
-
};
|
|
361
|
-
function registerModule(bundleId, Cstr) {
|
|
362
|
-
moduleLoaded.set(bundleId, Cstr);
|
|
363
|
-
}
|
|
364
|
-
var isMemberInElement = (elm, memberName) => {
|
|
365
|
-
if (elm != null) {
|
|
366
|
-
if (memberName in elm) {
|
|
367
|
-
return true;
|
|
368
|
-
}
|
|
369
|
-
const nodeName = elm.nodeName;
|
|
370
|
-
if (nodeName) {
|
|
371
|
-
const cstr = cstrs.get(nodeName.toLowerCase());
|
|
372
|
-
if (cstr != null && cstr.COMPILER_META != null && cstr.COMPILER_META.properties != null) {
|
|
373
|
-
return cstr.COMPILER_META.properties.some((p) => p.name === memberName);
|
|
374
|
-
}
|
|
375
|
-
}
|
|
376
|
-
}
|
|
377
|
-
return false;
|
|
378
|
-
};
|
|
379
|
-
|
|
380
|
-
// src/testing/platform/index.ts
|
|
381
|
-
var import_app_data24 = require("@stencil/core/internal/app-data");
|
|
382
|
-
|
|
383
|
-
// src/runtime/asset-path.ts
|
|
384
|
-
var getAssetPath = (path) => {
|
|
385
|
-
const assetUrl = new URL(path, plt.$resourcesUrl$);
|
|
386
|
-
return assetUrl.origin !== win.location.origin ? assetUrl.href : assetUrl.pathname;
|
|
387
|
-
};
|
|
388
|
-
var setAssetPath = (path) => plt.$resourcesUrl$ = path;
|
|
389
|
-
|
|
390
|
-
// src/runtime/bootstrap-custom-element.ts
|
|
391
|
-
var import_app_data20 = require("@stencil/core/internal/app-data");
|
|
392
|
-
|
|
393
|
-
// src/utils/constants.ts
|
|
394
|
-
var SVG_NS = "http://www.w3.org/2000/svg";
|
|
395
|
-
var HTML_NS = "http://www.w3.org/1999/xhtml";
|
|
396
|
-
var PrimitiveType = /* @__PURE__ */ ((PrimitiveType2) => {
|
|
397
|
-
PrimitiveType2["Undefined"] = "undefined";
|
|
398
|
-
PrimitiveType2["Null"] = "null";
|
|
399
|
-
PrimitiveType2["String"] = "string";
|
|
400
|
-
PrimitiveType2["Number"] = "number";
|
|
401
|
-
PrimitiveType2["SpecialNumber"] = "number";
|
|
402
|
-
PrimitiveType2["Boolean"] = "boolean";
|
|
403
|
-
PrimitiveType2["BigInt"] = "bigint";
|
|
404
|
-
return PrimitiveType2;
|
|
405
|
-
})(PrimitiveType || {});
|
|
406
|
-
var NonPrimitiveType = /* @__PURE__ */ ((NonPrimitiveType2) => {
|
|
407
|
-
NonPrimitiveType2["Array"] = "array";
|
|
408
|
-
NonPrimitiveType2["Date"] = "date";
|
|
409
|
-
NonPrimitiveType2["Map"] = "map";
|
|
410
|
-
NonPrimitiveType2["Object"] = "object";
|
|
411
|
-
NonPrimitiveType2["RegularExpression"] = "regexp";
|
|
412
|
-
NonPrimitiveType2["Set"] = "set";
|
|
413
|
-
NonPrimitiveType2["Channel"] = "channel";
|
|
414
|
-
NonPrimitiveType2["Symbol"] = "symbol";
|
|
415
|
-
return NonPrimitiveType2;
|
|
416
|
-
})(NonPrimitiveType || {});
|
|
417
|
-
var TYPE_CONSTANT = "type";
|
|
418
|
-
var VALUE_CONSTANT = "value";
|
|
419
|
-
var SERIALIZED_PREFIX = "serialized:";
|
|
420
|
-
|
|
421
|
-
// src/utils/helpers.ts
|
|
422
|
-
var isDef = (v) => v != null && v !== void 0;
|
|
423
|
-
var isComplexType = (o) => {
|
|
424
|
-
o = typeof o;
|
|
425
|
-
return o === "object" || o === "function";
|
|
426
|
-
};
|
|
427
|
-
|
|
428
|
-
// src/utils/query-nonce-meta-tag-content.ts
|
|
429
|
-
function queryNonceMetaTagContent(doc) {
|
|
430
|
-
var _a, _b, _c;
|
|
431
|
-
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;
|
|
432
|
-
}
|
|
433
|
-
|
|
434
|
-
// src/utils/regular-expression.ts
|
|
435
|
-
var escapeRegExpSpecialCharacters = (text) => {
|
|
436
|
-
return text.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
437
|
-
};
|
|
438
|
-
|
|
439
|
-
// src/utils/remote-value.ts
|
|
440
|
-
var RemoteValue = class _RemoteValue {
|
|
441
|
-
/**
|
|
442
|
-
* Deserializes a LocalValue serialized object back to its original JavaScript representation
|
|
443
|
-
*
|
|
444
|
-
* @param serialized The serialized LocalValue object
|
|
445
|
-
* @returns The original JavaScript value/object
|
|
446
|
-
*/
|
|
447
|
-
static fromLocalValue(serialized) {
|
|
448
|
-
const type = serialized[TYPE_CONSTANT];
|
|
449
|
-
const value = VALUE_CONSTANT in serialized ? serialized[VALUE_CONSTANT] : void 0;
|
|
450
|
-
switch (type) {
|
|
451
|
-
case "string" /* String */:
|
|
452
|
-
return value;
|
|
453
|
-
case "boolean" /* Boolean */:
|
|
454
|
-
return value;
|
|
455
|
-
case "bigint" /* BigInt */:
|
|
456
|
-
return BigInt(value);
|
|
457
|
-
case "undefined" /* Undefined */:
|
|
458
|
-
return void 0;
|
|
459
|
-
case "null" /* Null */:
|
|
460
|
-
return null;
|
|
461
|
-
case "number" /* Number */:
|
|
462
|
-
if (value === "NaN") return NaN;
|
|
463
|
-
if (value === "-0") return -0;
|
|
464
|
-
if (value === "Infinity") return Infinity;
|
|
465
|
-
if (value === "-Infinity") return -Infinity;
|
|
466
|
-
return value;
|
|
467
|
-
case "array" /* Array */:
|
|
468
|
-
return value.map((item) => _RemoteValue.fromLocalValue(item));
|
|
469
|
-
case "date" /* Date */:
|
|
470
|
-
return new Date(value);
|
|
471
|
-
case "map" /* Map */:
|
|
472
|
-
const map2 = /* @__PURE__ */ new Map();
|
|
473
|
-
for (const [key, val] of value) {
|
|
474
|
-
const deserializedKey = typeof key === "object" && key !== null ? _RemoteValue.fromLocalValue(key) : key;
|
|
475
|
-
const deserializedValue = _RemoteValue.fromLocalValue(val);
|
|
476
|
-
map2.set(deserializedKey, deserializedValue);
|
|
477
|
-
}
|
|
478
|
-
return map2;
|
|
479
|
-
case "object" /* Object */:
|
|
480
|
-
const obj = {};
|
|
481
|
-
for (const [key, val] of value) {
|
|
482
|
-
obj[key] = _RemoteValue.fromLocalValue(val);
|
|
483
|
-
}
|
|
484
|
-
return obj;
|
|
485
|
-
case "regexp" /* RegularExpression */:
|
|
486
|
-
const { pattern, flags } = value;
|
|
487
|
-
return new RegExp(pattern, flags);
|
|
488
|
-
case "set" /* Set */:
|
|
489
|
-
const set = /* @__PURE__ */ new Set();
|
|
490
|
-
for (const item of value) {
|
|
491
|
-
set.add(_RemoteValue.fromLocalValue(item));
|
|
492
|
-
}
|
|
493
|
-
return set;
|
|
494
|
-
case "symbol" /* Symbol */:
|
|
495
|
-
return Symbol(value);
|
|
496
|
-
default:
|
|
497
|
-
throw new Error(`Unsupported type: ${type}`);
|
|
498
|
-
}
|
|
499
|
-
}
|
|
500
|
-
/**
|
|
501
|
-
* Utility method to deserialize multiple LocalValues at once
|
|
502
|
-
*
|
|
503
|
-
* @param serializedValues Array of serialized LocalValue objects
|
|
504
|
-
* @returns Array of deserialized JavaScript values
|
|
505
|
-
*/
|
|
506
|
-
static fromLocalValueArray(serializedValues) {
|
|
507
|
-
return serializedValues.map((value) => _RemoteValue.fromLocalValue(value));
|
|
508
|
-
}
|
|
509
|
-
/**
|
|
510
|
-
* Verifies if the given object matches the structure of a serialized LocalValue
|
|
511
|
-
*
|
|
512
|
-
* @param obj Object to verify
|
|
513
|
-
* @returns boolean indicating if the object has LocalValue structure
|
|
514
|
-
*/
|
|
515
|
-
static isLocalValueObject(obj) {
|
|
516
|
-
if (typeof obj !== "object" || obj === null) {
|
|
517
|
-
return false;
|
|
518
|
-
}
|
|
519
|
-
if (!obj.hasOwnProperty(TYPE_CONSTANT)) {
|
|
520
|
-
return false;
|
|
521
|
-
}
|
|
522
|
-
const type = obj[TYPE_CONSTANT];
|
|
523
|
-
const hasTypeProperty = Object.values({ ...PrimitiveType, ...NonPrimitiveType }).includes(type);
|
|
524
|
-
if (!hasTypeProperty) {
|
|
525
|
-
return false;
|
|
526
|
-
}
|
|
527
|
-
if (type !== "null" /* Null */ && type !== "undefined" /* Undefined */) {
|
|
528
|
-
return obj.hasOwnProperty(VALUE_CONSTANT);
|
|
529
|
-
}
|
|
530
|
-
return true;
|
|
531
|
-
}
|
|
532
|
-
};
|
|
533
|
-
|
|
534
|
-
// src/utils/result.ts
|
|
535
|
-
var result_exports = {};
|
|
536
|
-
__export(result_exports, {
|
|
537
|
-
err: () => err,
|
|
538
|
-
map: () => map,
|
|
539
|
-
ok: () => ok,
|
|
540
|
-
unwrap: () => unwrap,
|
|
541
|
-
unwrapErr: () => unwrapErr
|
|
542
|
-
});
|
|
543
|
-
var ok = (value) => ({
|
|
544
|
-
isOk: true,
|
|
545
|
-
isErr: false,
|
|
546
|
-
value
|
|
547
|
-
});
|
|
548
|
-
var err = (value) => ({
|
|
549
|
-
isOk: false,
|
|
550
|
-
isErr: true,
|
|
551
|
-
value
|
|
552
|
-
});
|
|
553
|
-
function map(result, fn) {
|
|
554
|
-
if (result.isOk) {
|
|
555
|
-
const val = fn(result.value);
|
|
556
|
-
if (val instanceof Promise) {
|
|
557
|
-
return val.then((newVal) => ok(newVal));
|
|
558
|
-
} else {
|
|
559
|
-
return ok(val);
|
|
560
|
-
}
|
|
561
|
-
}
|
|
562
|
-
if (result.isErr) {
|
|
563
|
-
const value = result.value;
|
|
564
|
-
return err(value);
|
|
565
|
-
}
|
|
566
|
-
throw "should never get here";
|
|
2292
|
+
startAutoApplyChanges();
|
|
2293
|
+
}, 100);
|
|
2294
|
+
}
|
|
2295
|
+
});
|
|
567
2296
|
}
|
|
568
|
-
var
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
}
|
|
572
|
-
throw result.value;
|
|
573
|
-
}
|
|
2297
|
+
var registerComponents = (Cstrs) => {
|
|
2298
|
+
Cstrs.filter((Cstr) => Cstr.COMPILER_META).forEach((Cstr) => {
|
|
2299
|
+
cstrs.set(Cstr.COMPILER_META.tagName, Cstr);
|
|
2300
|
+
});
|
|
574
2301
|
};
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
2302
|
+
function registerModule(bundleId, Cstr) {
|
|
2303
|
+
moduleLoaded.set(bundleId, Cstr);
|
|
2304
|
+
}
|
|
2305
|
+
var isMemberInElement = (elm, memberName) => {
|
|
2306
|
+
if (elm != null) {
|
|
2307
|
+
if (memberName in elm) {
|
|
2308
|
+
return true;
|
|
2309
|
+
}
|
|
2310
|
+
const nodeName = elm.nodeName;
|
|
2311
|
+
if (nodeName) {
|
|
2312
|
+
const cstr = cstrs.get(nodeName.toLowerCase());
|
|
2313
|
+
if (cstr != null && cstr.COMPILER_META != null && cstr.COMPILER_META.properties != null) {
|
|
2314
|
+
return cstr.COMPILER_META.properties.some((p) => p.name === memberName);
|
|
2315
|
+
}
|
|
2316
|
+
}
|
|
580
2317
|
}
|
|
2318
|
+
return false;
|
|
581
2319
|
};
|
|
582
2320
|
|
|
583
|
-
// src/
|
|
584
|
-
|
|
585
|
-
if (typeof value !== "string" || !value.startsWith(SERIALIZED_PREFIX)) {
|
|
586
|
-
return value;
|
|
587
|
-
}
|
|
588
|
-
return RemoteValue.fromLocalValue(JSON.parse(atob(value.slice(SERIALIZED_PREFIX.length))));
|
|
589
|
-
}
|
|
590
|
-
|
|
591
|
-
// src/utils/shadow-root.ts
|
|
592
|
-
var import_app_data = require("@stencil/core/internal/app-data");
|
|
593
|
-
|
|
594
|
-
// src/app-globals/index.ts
|
|
595
|
-
var globalStyles = (
|
|
596
|
-
/* default */
|
|
597
|
-
""
|
|
598
|
-
);
|
|
599
|
-
|
|
600
|
-
// src/utils/style.ts
|
|
601
|
-
function createStyleSheetIfNeededAndSupported(styles2) {
|
|
602
|
-
if (!styles2 || !supportsConstructableStylesheets) return void 0;
|
|
603
|
-
const sheet = new CSSStyleSheet();
|
|
604
|
-
sheet.replaceSync(styles2);
|
|
605
|
-
return sheet;
|
|
606
|
-
}
|
|
2321
|
+
// src/testing/platform/index.ts
|
|
2322
|
+
var import_app_data24 = require("@stencil/core/internal/app-data");
|
|
607
2323
|
|
|
608
|
-
// src/
|
|
609
|
-
var
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
delegatesFocus: !!(cmpMeta.$flags$ & 16 /* shadowDelegatesFocus */)
|
|
615
|
-
}) : this.attachShadow({ mode: "open" });
|
|
616
|
-
if (globalStyleSheet === void 0) globalStyleSheet = (_a = createStyleSheetIfNeededAndSupported(globalStyles)) != null ? _a : null;
|
|
617
|
-
if (globalStyleSheet) {
|
|
618
|
-
if (supportsMutableAdoptedStyleSheets) {
|
|
619
|
-
shadowRoot.adoptedStyleSheets.push(globalStyleSheet);
|
|
620
|
-
} else {
|
|
621
|
-
shadowRoot.adoptedStyleSheets = [...shadowRoot.adoptedStyleSheets, globalStyleSheet];
|
|
622
|
-
}
|
|
623
|
-
}
|
|
624
|
-
}
|
|
2324
|
+
// src/runtime/asset-path.ts
|
|
2325
|
+
var getAssetPath = (path2) => {
|
|
2326
|
+
const assetUrl = new URL(path2, plt.$resourcesUrl$);
|
|
2327
|
+
return assetUrl.origin !== win.location.origin ? assetUrl.href : assetUrl.pathname;
|
|
2328
|
+
};
|
|
2329
|
+
var setAssetPath = (path2) => plt.$resourcesUrl$ = path2;
|
|
625
2330
|
|
|
626
|
-
// src/
|
|
627
|
-
var
|
|
628
|
-
var isDtsFile = lowerPathParam((p) => p.endsWith(".d.ts") || p.endsWith(".d.mts") || p.endsWith(".d.cts"));
|
|
629
|
-
var isTsFile = lowerPathParam(
|
|
630
|
-
(p) => !isDtsFile(p) && (p.endsWith(".ts") || p.endsWith(".mts") || p.endsWith(".cts"))
|
|
631
|
-
);
|
|
632
|
-
var isTsxFile = lowerPathParam(
|
|
633
|
-
(p) => p.endsWith(".tsx") || p.endsWith(".mtsx") || p.endsWith(".ctsx")
|
|
634
|
-
);
|
|
635
|
-
var isJsxFile = lowerPathParam(
|
|
636
|
-
(p) => p.endsWith(".jsx") || p.endsWith(".mjsx") || p.endsWith(".cjsx")
|
|
637
|
-
);
|
|
638
|
-
var isJsFile = lowerPathParam((p) => p.endsWith(".js") || p.endsWith(".mjs") || p.endsWith(".cjs"));
|
|
2331
|
+
// src/runtime/bootstrap-custom-element.ts
|
|
2332
|
+
var import_app_data20 = require("@stencil/core/internal/app-data");
|
|
639
2333
|
|
|
640
2334
|
// src/runtime/connected-callback.ts
|
|
641
2335
|
var import_app_data18 = require("@stencil/core/internal/app-data");
|
|
642
2336
|
|
|
643
2337
|
// src/runtime/client-hydrate.ts
|
|
644
|
-
var
|
|
2338
|
+
var import_app_data9 = require("@stencil/core/internal/app-data");
|
|
645
2339
|
|
|
646
2340
|
// src/runtime/dom-extras.ts
|
|
647
|
-
var
|
|
648
|
-
|
|
649
|
-
// src/runtime/slot-polyfill-utils.ts
|
|
650
|
-
var import_app_data2 = require("@stencil/core/internal/app-data");
|
|
651
|
-
|
|
652
|
-
// src/runtime/runtime-constants.ts
|
|
653
|
-
var CONTENT_REF_ID = "r";
|
|
654
|
-
var ORG_LOCATION_ID = "o";
|
|
655
|
-
var SLOT_NODE_ID = "s";
|
|
656
|
-
var TEXT_NODE_ID = "t";
|
|
657
|
-
var COMMENT_NODE_ID = "c";
|
|
658
|
-
var HYDRATE_ID = "s-id";
|
|
659
|
-
var HYDRATED_STYLE_ID = "sty-id";
|
|
660
|
-
var HYDRATE_CHILD_ID = "c-id";
|
|
661
|
-
var HYDRATED_CSS = "{visibility:hidden}.hydrated{visibility:inherit}";
|
|
662
|
-
var STENCIL_DOC_DATA = "_stencilDocData";
|
|
663
|
-
var DEFAULT_DOC_DATA = {
|
|
664
|
-
hostIds: 0,
|
|
665
|
-
rootLevelIds: 0,
|
|
666
|
-
staticComponents: /* @__PURE__ */ new Set()
|
|
667
|
-
};
|
|
668
|
-
var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
|
|
669
|
-
var XLINK_NS = "http://www.w3.org/1999/xlink";
|
|
670
|
-
var FORM_ASSOCIATED_CUSTOM_ELEMENT_CALLBACKS = [
|
|
671
|
-
"formAssociatedCallback",
|
|
672
|
-
"formResetCallback",
|
|
673
|
-
"formDisabledCallback",
|
|
674
|
-
"formStateRestoreCallback"
|
|
675
|
-
];
|
|
2341
|
+
var import_app_data5 = require("@stencil/core/internal/app-data");
|
|
676
2342
|
|
|
677
2343
|
// src/runtime/slot-polyfill-utils.ts
|
|
2344
|
+
var import_app_data4 = require("@stencil/core/internal/app-data");
|
|
678
2345
|
var updateFallbackSlotVisibility = (elm) => {
|
|
679
2346
|
const childNodes = internalCall(elm, "childNodes");
|
|
680
2347
|
if (elm.tagName && elm.tagName.includes("-") && elm["s-cr"] && elm.tagName !== "SLOT-FB") {
|
|
@@ -753,7 +2420,7 @@ var addSlotRelocateNode = (newChild, slotNode, prepend, position) => {
|
|
|
753
2420
|
if (!slotNode["s-cr"] || !slotNode["s-cr"].parentNode) return;
|
|
754
2421
|
const parent = slotNode["s-cr"].parentNode;
|
|
755
2422
|
const appendMethod = prepend ? internalCall(parent, "prepend") : internalCall(parent, "appendChild");
|
|
756
|
-
if (
|
|
2423
|
+
if (import_app_data4.BUILD.hydrateClientSide && typeof position !== "undefined") {
|
|
757
2424
|
slottedNodeLocation["s-oo"] = position;
|
|
758
2425
|
const childNodes = internalCall(parent, "childNodes");
|
|
759
2426
|
const slotRelocateNodes = [slottedNodeLocation];
|
|
@@ -828,12 +2495,13 @@ var patchPseudoShadowDom = (hostElementPrototype) => {
|
|
|
828
2495
|
patchSlotRemoveChild(hostElementPrototype);
|
|
829
2496
|
};
|
|
830
2497
|
var patchCloneNode = (HostElementPrototype) => {
|
|
831
|
-
|
|
2498
|
+
if (HostElementPrototype.__cloneNode) return;
|
|
2499
|
+
const orgCloneNode = HostElementPrototype.__cloneNode = HostElementPrototype.cloneNode;
|
|
832
2500
|
HostElementPrototype.cloneNode = function(deep) {
|
|
833
2501
|
const srcNode = this;
|
|
834
|
-
const isShadowDom =
|
|
2502
|
+
const isShadowDom = import_app_data5.BUILD.shadowDom ? srcNode.shadowRoot && supportsShadow : false;
|
|
835
2503
|
const clonedNode = orgCloneNode.call(srcNode, isShadowDom ? deep : false);
|
|
836
|
-
if (
|
|
2504
|
+
if (import_app_data5.BUILD.slot && !isShadowDom && deep) {
|
|
837
2505
|
let i2 = 0;
|
|
838
2506
|
let slotted, nonStencilNode;
|
|
839
2507
|
const stencilPrivates = [
|
|
@@ -858,7 +2526,7 @@ var patchCloneNode = (HostElementPrototype) => {
|
|
|
858
2526
|
slotted = childNodes[i2]["s-nr"];
|
|
859
2527
|
nonStencilNode = stencilPrivates.every((privateField) => !childNodes[i2][privateField]);
|
|
860
2528
|
if (slotted) {
|
|
861
|
-
if (
|
|
2529
|
+
if (import_app_data5.BUILD.appendChildSlotFix && clonedNode.__appendChild) {
|
|
862
2530
|
clonedNode.__appendChild(slotted.cloneNode(true));
|
|
863
2531
|
} else {
|
|
864
2532
|
clonedNode.appendChild(slotted.cloneNode(true));
|
|
@@ -873,6 +2541,7 @@ var patchCloneNode = (HostElementPrototype) => {
|
|
|
873
2541
|
};
|
|
874
2542
|
};
|
|
875
2543
|
var patchSlotAppendChild = (HostElementPrototype) => {
|
|
2544
|
+
if (HostElementPrototype.__appendChild) return;
|
|
876
2545
|
HostElementPrototype.__appendChild = HostElementPrototype.appendChild;
|
|
877
2546
|
HostElementPrototype.appendChild = function(newChild) {
|
|
878
2547
|
const { slotName, slotNode } = findSlotFromSlottedNode(newChild, this);
|
|
@@ -890,6 +2559,7 @@ var patchSlotAppendChild = (HostElementPrototype) => {
|
|
|
890
2559
|
};
|
|
891
2560
|
};
|
|
892
2561
|
var patchSlotRemoveChild = (ElementPrototype) => {
|
|
2562
|
+
if (ElementPrototype.__removeChild) return;
|
|
893
2563
|
ElementPrototype.__removeChild = ElementPrototype.removeChild;
|
|
894
2564
|
ElementPrototype.removeChild = function(toRemove) {
|
|
895
2565
|
if (toRemove && typeof toRemove["s-sn"] !== "undefined") {
|
|
@@ -905,6 +2575,7 @@ var patchSlotRemoveChild = (ElementPrototype) => {
|
|
|
905
2575
|
};
|
|
906
2576
|
};
|
|
907
2577
|
var patchSlotPrepend = (HostElementPrototype) => {
|
|
2578
|
+
if (HostElementPrototype.__prepend) return;
|
|
908
2579
|
HostElementPrototype.__prepend = HostElementPrototype.prepend;
|
|
909
2580
|
HostElementPrototype.prepend = function(...newChildren) {
|
|
910
2581
|
newChildren.forEach((newChild) => {
|
|
@@ -931,6 +2602,7 @@ var patchSlotPrepend = (HostElementPrototype) => {
|
|
|
931
2602
|
};
|
|
932
2603
|
};
|
|
933
2604
|
var patchSlotAppend = (HostElementPrototype) => {
|
|
2605
|
+
if (HostElementPrototype.__append) return;
|
|
934
2606
|
HostElementPrototype.__append = HostElementPrototype.append;
|
|
935
2607
|
HostElementPrototype.append = function(...newChildren) {
|
|
936
2608
|
newChildren.forEach((newChild) => {
|
|
@@ -942,6 +2614,7 @@ var patchSlotAppend = (HostElementPrototype) => {
|
|
|
942
2614
|
};
|
|
943
2615
|
};
|
|
944
2616
|
var patchSlotInsertAdjacentHTML = (HostElementPrototype) => {
|
|
2617
|
+
if (HostElementPrototype.__insertAdjacentHTML) return;
|
|
945
2618
|
const originalInsertAdjacentHtml = HostElementPrototype.insertAdjacentHTML;
|
|
946
2619
|
HostElementPrototype.insertAdjacentHTML = function(position, text) {
|
|
947
2620
|
if (position !== "afterbegin" && position !== "beforeend") {
|
|
@@ -967,6 +2640,7 @@ var patchSlotInsertAdjacentText = (HostElementPrototype) => {
|
|
|
967
2640
|
};
|
|
968
2641
|
};
|
|
969
2642
|
var patchInsertBefore = (HostElementPrototype) => {
|
|
2643
|
+
if (HostElementPrototype.__insertBefore) return;
|
|
970
2644
|
const eleProto = HostElementPrototype;
|
|
971
2645
|
if (eleProto.__insertBefore) return;
|
|
972
2646
|
eleProto.__insertBefore = HostElementPrototype.insertBefore;
|
|
@@ -1001,6 +2675,7 @@ var patchInsertBefore = (HostElementPrototype) => {
|
|
|
1001
2675
|
};
|
|
1002
2676
|
};
|
|
1003
2677
|
var patchSlotInsertAdjacentElement = (HostElementPrototype) => {
|
|
2678
|
+
if (HostElementPrototype.__insertAdjacentElement) return;
|
|
1004
2679
|
const originalInsertAdjacentElement = HostElementPrototype.insertAdjacentElement;
|
|
1005
2680
|
HostElementPrototype.insertAdjacentElement = function(position, element) {
|
|
1006
2681
|
if (position !== "afterbegin" && position !== "beforeend") {
|
|
@@ -1193,10 +2868,10 @@ function internalCall(node, method) {
|
|
|
1193
2868
|
}
|
|
1194
2869
|
|
|
1195
2870
|
// src/runtime/profile.ts
|
|
1196
|
-
var
|
|
2871
|
+
var import_app_data6 = require("@stencil/core/internal/app-data");
|
|
1197
2872
|
var i = 0;
|
|
1198
2873
|
var createTime = (fnName, tagName = "") => {
|
|
1199
|
-
if (
|
|
2874
|
+
if (import_app_data6.BUILD.profile && performance.mark) {
|
|
1200
2875
|
const key = `st:${fnName}:${tagName}:${i++}`;
|
|
1201
2876
|
performance.mark(key);
|
|
1202
2877
|
return () => performance.measure(`[Stencil] ${fnName}() <${tagName}>`, key);
|
|
@@ -1207,7 +2882,7 @@ var createTime = (fnName, tagName = "") => {
|
|
|
1207
2882
|
}
|
|
1208
2883
|
};
|
|
1209
2884
|
var uniqueTime = (key, measureText) => {
|
|
1210
|
-
if (
|
|
2885
|
+
if (import_app_data6.BUILD.profile && performance.mark) {
|
|
1211
2886
|
if (performance.getEntriesByName(key, "mark").length === 0) {
|
|
1212
2887
|
performance.mark(key);
|
|
1213
2888
|
}
|
|
@@ -1267,7 +2942,7 @@ var inspect = (ref) => {
|
|
|
1267
2942
|
};
|
|
1268
2943
|
};
|
|
1269
2944
|
var installDevTools = () => {
|
|
1270
|
-
if (
|
|
2945
|
+
if (import_app_data6.BUILD.devTools) {
|
|
1271
2946
|
const stencil = win.stencil = win.stencil || {};
|
|
1272
2947
|
const originalInspect = stencil.inspect;
|
|
1273
2948
|
stencil.inspect = (ref) => {
|
|
@@ -1281,7 +2956,7 @@ var installDevTools = () => {
|
|
|
1281
2956
|
};
|
|
1282
2957
|
|
|
1283
2958
|
// src/runtime/styles.ts
|
|
1284
|
-
var
|
|
2959
|
+
var import_app_data7 = require("@stencil/core/internal/app-data");
|
|
1285
2960
|
var rootAppliedStyles = /* @__PURE__ */ new WeakMap();
|
|
1286
2961
|
var registerStyle = (scopeId2, cssText, allowCS) => {
|
|
1287
2962
|
let style = styles.get(scopeId2);
|
|
@@ -1298,10 +2973,10 @@ var registerStyle = (scopeId2, cssText, allowCS) => {
|
|
|
1298
2973
|
styles.set(scopeId2, style);
|
|
1299
2974
|
};
|
|
1300
2975
|
var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
1301
|
-
var _a;
|
|
2976
|
+
var _a, _b, _c;
|
|
1302
2977
|
const scopeId2 = getScopeId(cmpMeta, mode);
|
|
1303
2978
|
const style = styles.get(scopeId2);
|
|
1304
|
-
if (!
|
|
2979
|
+
if (!import_app_data7.BUILD.attachStyles || !win.document) {
|
|
1305
2980
|
return scopeId2;
|
|
1306
2981
|
}
|
|
1307
2982
|
styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : win.document;
|
|
@@ -1313,64 +2988,81 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
1313
2988
|
if (!appliedStyles) {
|
|
1314
2989
|
rootAppliedStyles.set(styleContainerNode, appliedStyles = /* @__PURE__ */ new Set());
|
|
1315
2990
|
}
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
|
|
1345
|
-
}
|
|
2991
|
+
const existingStyleElm = (import_app_data7.BUILD.hydrateClientSide || import_app_data7.BUILD.hotModuleReplacement) && styleContainerNode.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`);
|
|
2992
|
+
if (existingStyleElm) {
|
|
2993
|
+
existingStyleElm.textContent = style;
|
|
2994
|
+
} else if (!appliedStyles.has(scopeId2)) {
|
|
2995
|
+
styleElm = win.document.createElement("style");
|
|
2996
|
+
styleElm.textContent = style;
|
|
2997
|
+
const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(win.document);
|
|
2998
|
+
if (nonce != null) {
|
|
2999
|
+
styleElm.setAttribute("nonce", nonce);
|
|
3000
|
+
}
|
|
3001
|
+
if ((import_app_data7.BUILD.hydrateServerSide || import_app_data7.BUILD.hotModuleReplacement) && (cmpMeta.$flags$ & 2 /* scopedCssEncapsulation */ || cmpMeta.$flags$ & 128 /* shadowNeedsScopedCss */ || cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
|
|
3002
|
+
styleElm.setAttribute(HYDRATED_STYLE_ID, scopeId2);
|
|
3003
|
+
}
|
|
3004
|
+
if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
|
|
3005
|
+
if (styleContainerNode.nodeName === "HEAD") {
|
|
3006
|
+
const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
|
|
3007
|
+
const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
|
|
3008
|
+
styleContainerNode.insertBefore(
|
|
3009
|
+
styleElm,
|
|
3010
|
+
(referenceNode2 == null ? void 0 : referenceNode2.parentNode) === styleContainerNode ? referenceNode2 : null
|
|
3011
|
+
);
|
|
3012
|
+
} else if ("host" in styleContainerNode) {
|
|
3013
|
+
if (supportsConstructableStylesheets) {
|
|
3014
|
+
const currentWindow = (_b = styleContainerNode.defaultView) != null ? _b : styleContainerNode.ownerDocument.defaultView;
|
|
3015
|
+
const stylesheet = new currentWindow.CSSStyleSheet();
|
|
3016
|
+
stylesheet.replaceSync(style);
|
|
3017
|
+
if (supportsMutableAdoptedStyleSheets) {
|
|
3018
|
+
styleContainerNode.adoptedStyleSheets.unshift(stylesheet);
|
|
1346
3019
|
} else {
|
|
1347
|
-
|
|
1348
|
-
if (existingStyleContainer) {
|
|
1349
|
-
existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
|
|
1350
|
-
} else {
|
|
1351
|
-
styleContainerNode.prepend(styleElm);
|
|
1352
|
-
}
|
|
3020
|
+
styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
|
|
1353
3021
|
}
|
|
1354
3022
|
} else {
|
|
1355
|
-
styleContainerNode.
|
|
3023
|
+
const existingStyleContainer = styleContainerNode.querySelector("style");
|
|
3024
|
+
if (existingStyleContainer) {
|
|
3025
|
+
existingStyleContainer.textContent = style + existingStyleContainer.textContent;
|
|
3026
|
+
} else {
|
|
3027
|
+
styleContainerNode.prepend(styleElm);
|
|
3028
|
+
}
|
|
1356
3029
|
}
|
|
1357
|
-
}
|
|
1358
|
-
|
|
1359
|
-
styleContainerNode.insertBefore(styleElm, null);
|
|
3030
|
+
} else {
|
|
3031
|
+
styleContainerNode.append(styleElm);
|
|
1360
3032
|
}
|
|
1361
3033
|
}
|
|
3034
|
+
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
|
|
3035
|
+
styleContainerNode.insertBefore(styleElm, null);
|
|
3036
|
+
}
|
|
1362
3037
|
if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
|
|
1363
|
-
styleElm.
|
|
3038
|
+
styleElm.textContent += SLOT_FB_CSS;
|
|
1364
3039
|
}
|
|
1365
3040
|
if (appliedStyles) {
|
|
1366
3041
|
appliedStyles.add(scopeId2);
|
|
1367
3042
|
}
|
|
1368
3043
|
}
|
|
1369
|
-
} else if (
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
3044
|
+
} else if (import_app_data7.BUILD.constructableCSS) {
|
|
3045
|
+
let appliedStyles = rootAppliedStyles.get(styleContainerNode);
|
|
3046
|
+
if (!appliedStyles) {
|
|
3047
|
+
rootAppliedStyles.set(styleContainerNode, appliedStyles = /* @__PURE__ */ new Set());
|
|
3048
|
+
}
|
|
3049
|
+
if (!appliedStyles.has(scopeId2)) {
|
|
3050
|
+
const currentWindow = (_c = styleContainerNode.defaultView) != null ? _c : styleContainerNode.ownerDocument.defaultView;
|
|
3051
|
+
let stylesheet;
|
|
3052
|
+
if (style.constructor === currentWindow.CSSStyleSheet) {
|
|
3053
|
+
stylesheet = style;
|
|
3054
|
+
} else {
|
|
3055
|
+
stylesheet = new currentWindow.CSSStyleSheet();
|
|
3056
|
+
for (let i2 = 0; i2 < style.cssRules.length; i2++) {
|
|
3057
|
+
stylesheet.insertRule(style.cssRules[i2].cssText, i2);
|
|
3058
|
+
}
|
|
3059
|
+
}
|
|
3060
|
+
if (supportsMutableAdoptedStyleSheets) {
|
|
3061
|
+
styleContainerNode.adoptedStyleSheets.push(stylesheet);
|
|
3062
|
+
} else {
|
|
3063
|
+
styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, stylesheet];
|
|
3064
|
+
}
|
|
3065
|
+
appliedStyles.add(scopeId2);
|
|
1374
3066
|
}
|
|
1375
3067
|
}
|
|
1376
3068
|
}
|
|
@@ -1382,17 +3074,17 @@ var attachStyles = (hostRef) => {
|
|
|
1382
3074
|
const flags = cmpMeta.$flags$;
|
|
1383
3075
|
const endAttachStyles = createTime("attachStyles", cmpMeta.$tagName$);
|
|
1384
3076
|
const scopeId2 = addStyle(
|
|
1385
|
-
|
|
3077
|
+
import_app_data7.BUILD.shadowDom && supportsShadow && elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
|
|
1386
3078
|
cmpMeta,
|
|
1387
3079
|
hostRef.$modeName$
|
|
1388
3080
|
);
|
|
1389
|
-
if ((
|
|
3081
|
+
if ((import_app_data7.BUILD.shadowDom || import_app_data7.BUILD.scoped) && import_app_data7.BUILD.cssAnnotations && flags & 10 /* needsScopedEncapsulation */) {
|
|
1390
3082
|
elm["s-sc"] = scopeId2;
|
|
1391
3083
|
elm.classList.add(scopeId2 + "-h");
|
|
1392
3084
|
}
|
|
1393
3085
|
endAttachStyles();
|
|
1394
3086
|
};
|
|
1395
|
-
var getScopeId = (cmp, mode) => "sc-" + (
|
|
3087
|
+
var getScopeId = (cmp, mode) => "sc-" + (import_app_data7.BUILD.mode && mode && cmp.$flags$ & 32 /* hasMode */ ? cmp.$tagName$ + "-" + mode : cmp.$tagName$);
|
|
1396
3088
|
var convertScopedToShadow = (css) => css.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g, "$1{");
|
|
1397
3089
|
var hydrateScopedToShadow = () => {
|
|
1398
3090
|
if (!win.document) {
|
|
@@ -1406,8 +3098,11 @@ var hydrateScopedToShadow = () => {
|
|
|
1406
3098
|
};
|
|
1407
3099
|
|
|
1408
3100
|
// src/runtime/vdom/h.ts
|
|
1409
|
-
var
|
|
3101
|
+
var import_app_data8 = require("@stencil/core/internal/app-data");
|
|
1410
3102
|
var h = (nodeName, vnodeData, ...children) => {
|
|
3103
|
+
if (typeof nodeName === "string") {
|
|
3104
|
+
nodeName = transformTag(nodeName);
|
|
3105
|
+
}
|
|
1411
3106
|
let child = null;
|
|
1412
3107
|
let key = null;
|
|
1413
3108
|
let slotName = null;
|
|
@@ -1422,7 +3117,7 @@ var h = (nodeName, vnodeData, ...children) => {
|
|
|
1422
3117
|
} else if (child != null && typeof child !== "boolean") {
|
|
1423
3118
|
if (simple = typeof nodeName !== "function" && !isComplexType(child)) {
|
|
1424
3119
|
child = String(child);
|
|
1425
|
-
} else if (
|
|
3120
|
+
} else if (import_app_data8.BUILD.isDev && typeof nodeName !== "function" && child.$flags$ === void 0) {
|
|
1426
3121
|
consoleDevError(`vNode passed as children has unexpected type.
|
|
1427
3122
|
Make sure it's using the correct h() function.
|
|
1428
3123
|
Empty objects can also be the cause, look for JSX comments that became objects.`);
|
|
@@ -1438,28 +3133,28 @@ Empty objects can also be the cause, look for JSX comments that became objects.`
|
|
|
1438
3133
|
};
|
|
1439
3134
|
walk(children);
|
|
1440
3135
|
if (vnodeData) {
|
|
1441
|
-
if (
|
|
3136
|
+
if (import_app_data8.BUILD.isDev && nodeName === "input") {
|
|
1442
3137
|
validateInputProperties(vnodeData);
|
|
1443
3138
|
}
|
|
1444
|
-
if (
|
|
3139
|
+
if (import_app_data8.BUILD.vdomKey && vnodeData.key) {
|
|
1445
3140
|
key = vnodeData.key;
|
|
1446
3141
|
}
|
|
1447
|
-
if (
|
|
3142
|
+
if (import_app_data8.BUILD.slotRelocation && vnodeData.name) {
|
|
1448
3143
|
slotName = vnodeData.name;
|
|
1449
3144
|
}
|
|
1450
|
-
if (
|
|
3145
|
+
if (import_app_data8.BUILD.vdomClass) {
|
|
1451
3146
|
const classData = vnodeData.className || vnodeData.class;
|
|
1452
3147
|
if (classData) {
|
|
1453
3148
|
vnodeData.class = typeof classData !== "object" ? classData : Object.keys(classData).filter((k) => classData[k]).join(" ");
|
|
1454
3149
|
}
|
|
1455
3150
|
}
|
|
1456
3151
|
}
|
|
1457
|
-
if (
|
|
3152
|
+
if (import_app_data8.BUILD.isDev && vNodeChildren.some(isHost)) {
|
|
1458
3153
|
consoleDevError(`The <Host> must be the single root component. Make sure:
|
|
1459
3154
|
- You are NOT using hostData() and <Host> in the same component.
|
|
1460
3155
|
- <Host> is used once, and it's the single root component of the render() function.`);
|
|
1461
3156
|
}
|
|
1462
|
-
if (
|
|
3157
|
+
if (import_app_data8.BUILD.vdomFunctional && typeof nodeName === "function") {
|
|
1463
3158
|
return nodeName(
|
|
1464
3159
|
vnodeData === null ? {} : vnodeData,
|
|
1465
3160
|
vNodeChildren,
|
|
@@ -1471,10 +3166,10 @@ Empty objects can also be the cause, look for JSX comments that became objects.`
|
|
|
1471
3166
|
if (vNodeChildren.length > 0) {
|
|
1472
3167
|
vnode.$children$ = vNodeChildren;
|
|
1473
3168
|
}
|
|
1474
|
-
if (
|
|
3169
|
+
if (import_app_data8.BUILD.vdomKey) {
|
|
1475
3170
|
vnode.$key$ = key;
|
|
1476
3171
|
}
|
|
1477
|
-
if (
|
|
3172
|
+
if (import_app_data8.BUILD.slotRelocation) {
|
|
1478
3173
|
vnode.$name$ = slotName;
|
|
1479
3174
|
}
|
|
1480
3175
|
return vnode;
|
|
@@ -1483,17 +3178,18 @@ var newVNode = (tag, text) => {
|
|
|
1483
3178
|
const vnode = {
|
|
1484
3179
|
$flags$: 0,
|
|
1485
3180
|
$tag$: tag,
|
|
1486
|
-
|
|
3181
|
+
// Normalize undefined to null to prevent rendering "undefined" as text
|
|
3182
|
+
$text$: text != null ? text : null,
|
|
1487
3183
|
$elm$: null,
|
|
1488
3184
|
$children$: null
|
|
1489
3185
|
};
|
|
1490
|
-
if (
|
|
3186
|
+
if (import_app_data8.BUILD.vdomAttribute) {
|
|
1491
3187
|
vnode.$attrs$ = null;
|
|
1492
3188
|
}
|
|
1493
|
-
if (
|
|
3189
|
+
if (import_app_data8.BUILD.vdomKey) {
|
|
1494
3190
|
vnode.$key$ = null;
|
|
1495
3191
|
}
|
|
1496
|
-
if (
|
|
3192
|
+
if (import_app_data8.BUILD.slotRelocation) {
|
|
1497
3193
|
vnode.$name$ = null;
|
|
1498
3194
|
}
|
|
1499
3195
|
return vnode;
|
|
@@ -1547,17 +3243,17 @@ var validateInputProperties = (inputElm) => {
|
|
|
1547
3243
|
|
|
1548
3244
|
// src/runtime/client-hydrate.ts
|
|
1549
3245
|
var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
1550
|
-
var _a, _b;
|
|
3246
|
+
var _a, _b, _c, _d;
|
|
1551
3247
|
const endHydrate = createTime("hydrateClient", tagName);
|
|
1552
3248
|
const shadowRoot = hostElm.shadowRoot;
|
|
1553
3249
|
const childRenderNodes = [];
|
|
1554
3250
|
const slotNodes = [];
|
|
1555
3251
|
const slottedNodes = [];
|
|
1556
|
-
const shadowRootNodes =
|
|
3252
|
+
const shadowRootNodes = import_app_data9.BUILD.shadowDom && shadowRoot ? [] : null;
|
|
1557
3253
|
const vnode = newVNode(tagName, null);
|
|
1558
3254
|
vnode.$elm$ = hostElm;
|
|
1559
3255
|
let scopeId2;
|
|
1560
|
-
if (
|
|
3256
|
+
if (import_app_data9.BUILD.scoped) {
|
|
1561
3257
|
const cmpMeta = hostRef.$cmpMeta$;
|
|
1562
3258
|
if (cmpMeta && cmpMeta.$flags$ & 10 /* needsScopedEncapsulation */ && hostElm["s-sc"]) {
|
|
1563
3259
|
scopeId2 = hostElm["s-sc"];
|
|
@@ -1590,7 +3286,7 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
|
1590
3286
|
const orgLocationNode = plt.$orgLocNodes$.get(orgLocationId);
|
|
1591
3287
|
const node = childRenderNode.$elm$;
|
|
1592
3288
|
if (!shadowRoot) {
|
|
1593
|
-
node["s-hn"] = tagName.toUpperCase();
|
|
3289
|
+
node["s-hn"] = transformTag(tagName).toUpperCase();
|
|
1594
3290
|
if (childRenderNode.$tag$ === "slot") {
|
|
1595
3291
|
node["s-cr"] = hostElm["s-cr"];
|
|
1596
3292
|
}
|
|
@@ -1599,11 +3295,11 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
|
1599
3295
|
if (cmpMeta) {
|
|
1600
3296
|
const scopeId3 = getScopeId(
|
|
1601
3297
|
cmpMeta.$cmpMeta$,
|
|
1602
|
-
|
|
3298
|
+
import_app_data9.BUILD.mode ? childRenderNode.$elm$.getAttribute("s-mode") : void 0
|
|
1603
3299
|
);
|
|
1604
3300
|
const styleSheet = win.document.querySelector(`style[sty-id="${scopeId3}"]`);
|
|
1605
3301
|
if (styleSheet) {
|
|
1606
|
-
|
|
3302
|
+
shadowRootNodes.unshift(styleSheet.cloneNode(true));
|
|
1607
3303
|
}
|
|
1608
3304
|
}
|
|
1609
3305
|
}
|
|
@@ -1640,6 +3336,7 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
|
1640
3336
|
let snGroupIdx;
|
|
1641
3337
|
let snGroupLen;
|
|
1642
3338
|
let slottedItem;
|
|
3339
|
+
let currentPos = 0;
|
|
1643
3340
|
for (snIndex; snIndex < snLen; snIndex++) {
|
|
1644
3341
|
slotGroup = slottedNodes[snIndex];
|
|
1645
3342
|
if (!slotGroup || !slotGroup.length) continue;
|
|
@@ -1653,7 +3350,7 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
|
1653
3350
|
if (!hosts[slottedItem.hostId]) continue;
|
|
1654
3351
|
const hostEle = hosts[slottedItem.hostId];
|
|
1655
3352
|
if (hostEle.shadowRoot && slottedItem.node.parentElement !== hostEle) {
|
|
1656
|
-
hostEle.
|
|
3353
|
+
hostEle.insertBefore(slottedItem.node, (_c = (_b = slotGroup[snGroupIdx - 1]) == null ? void 0 : _b.node) == null ? void 0 : _c.nextSibling);
|
|
1657
3354
|
}
|
|
1658
3355
|
if (!hostEle.shadowRoot || !shadowRoot) {
|
|
1659
3356
|
if (!slottedItem.slot["s-cr"]) {
|
|
@@ -1664,22 +3361,23 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
|
1664
3361
|
slottedItem.slot["s-cr"] = (hostEle.__childNodes || hostEle.childNodes)[0];
|
|
1665
3362
|
}
|
|
1666
3363
|
}
|
|
1667
|
-
addSlotRelocateNode(slottedItem.node, slottedItem.slot, false, slottedItem.node["s-oo"]);
|
|
1668
|
-
if (((
|
|
3364
|
+
addSlotRelocateNode(slottedItem.node, slottedItem.slot, false, slottedItem.node["s-oo"] || currentPos);
|
|
3365
|
+
if (((_d = slottedItem.node.parentElement) == null ? void 0 : _d.shadowRoot) && slottedItem.node["getAttribute"] && slottedItem.node.getAttribute("slot")) {
|
|
1669
3366
|
slottedItem.node.removeAttribute("slot");
|
|
1670
3367
|
}
|
|
1671
|
-
if (
|
|
3368
|
+
if (import_app_data9.BUILD.experimentalSlotFixes) {
|
|
1672
3369
|
patchSlottedNode(slottedItem.node);
|
|
1673
3370
|
}
|
|
1674
3371
|
}
|
|
3372
|
+
currentPos = (slottedItem.node["s-oo"] || currentPos) + 1;
|
|
1675
3373
|
}
|
|
1676
3374
|
}
|
|
1677
|
-
if (
|
|
3375
|
+
if (import_app_data9.BUILD.scoped && scopeId2 && slotNodes.length) {
|
|
1678
3376
|
slotNodes.forEach((slot) => {
|
|
1679
3377
|
slot.$elm$.parentElement.classList.add(scopeId2 + "-s");
|
|
1680
3378
|
});
|
|
1681
3379
|
}
|
|
1682
|
-
if (
|
|
3380
|
+
if (import_app_data9.BUILD.shadowDom && shadowRoot && !shadowRoot.childNodes.length) {
|
|
1683
3381
|
let rnIdex = 0;
|
|
1684
3382
|
const rnLen = shadowRootNodes.length;
|
|
1685
3383
|
if (rnLen) {
|
|
@@ -1693,7 +3391,7 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
|
1693
3391
|
if (typeof node["s-en"] !== "string" && typeof node["s-sn"] !== "string") {
|
|
1694
3392
|
if (node.nodeType === 1 /* ElementNode */ && node.slot && node.hidden) {
|
|
1695
3393
|
node.removeAttribute("hidden");
|
|
1696
|
-
} else if (node.nodeType === 8 /* CommentNode */ && !node.nodeValue
|
|
3394
|
+
} else if (node.nodeType === 8 /* CommentNode */ && !node.nodeValue) {
|
|
1697
3395
|
node.parentNode.removeChild(node);
|
|
1698
3396
|
}
|
|
1699
3397
|
}
|
|
@@ -1731,7 +3429,7 @@ var clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes,
|
|
|
1731
3429
|
if (!parentVNode.$children$) {
|
|
1732
3430
|
parentVNode.$children$ = [];
|
|
1733
3431
|
}
|
|
1734
|
-
if (
|
|
3432
|
+
if (import_app_data9.BUILD.scoped && scopeId2 && childIdSplt[0] === hostId) {
|
|
1735
3433
|
node["s-si"] = scopeId2;
|
|
1736
3434
|
childVNode.$attrs$.class += " " + scopeId2;
|
|
1737
3435
|
}
|
|
@@ -1749,7 +3447,7 @@ var clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes,
|
|
|
1749
3447
|
shadowRootNodes,
|
|
1750
3448
|
slottedNodes
|
|
1751
3449
|
);
|
|
1752
|
-
if (
|
|
3450
|
+
if (import_app_data9.BUILD.scoped && scopeId2) {
|
|
1753
3451
|
node.classList.add(scopeId2);
|
|
1754
3452
|
}
|
|
1755
3453
|
}
|
|
@@ -1846,9 +3544,9 @@ var clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes,
|
|
|
1846
3544
|
slottedNodes
|
|
1847
3545
|
);
|
|
1848
3546
|
} else if (childNodeType === CONTENT_REF_ID) {
|
|
1849
|
-
if (
|
|
3547
|
+
if (import_app_data9.BUILD.shadowDom && shadowRootNodes) {
|
|
1850
3548
|
node.remove();
|
|
1851
|
-
} else if (
|
|
3549
|
+
} else if (import_app_data9.BUILD.slotRelocation) {
|
|
1852
3550
|
hostElm["s-cr"] = node;
|
|
1853
3551
|
node["s-cn"] = true;
|
|
1854
3552
|
}
|
|
@@ -1860,10 +3558,6 @@ var clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes,
|
|
|
1860
3558
|
vnode.$elm$ = node;
|
|
1861
3559
|
vnode.$index$ = "0";
|
|
1862
3560
|
parentVNode.$children$ = [vnode];
|
|
1863
|
-
} else {
|
|
1864
|
-
if (node.nodeType === 3 /* TextNode */ && !node.wholeText.trim() && !node["s-nr"]) {
|
|
1865
|
-
node.remove();
|
|
1866
|
-
}
|
|
1867
3561
|
}
|
|
1868
3562
|
return parentVNode;
|
|
1869
3563
|
};
|
|
@@ -1914,7 +3608,7 @@ function addSlot(slotName, slotId, childVNode, node, parentVNode, childRenderNod
|
|
|
1914
3608
|
childVNode.$name$ = slotName || null;
|
|
1915
3609
|
childVNode.$tag$ = "slot";
|
|
1916
3610
|
const parentNodeId = (parentVNode == null ? void 0 : parentVNode.$elm$) ? parentVNode.$elm$["s-id"] || parentVNode.$elm$.getAttribute("s-id") : "";
|
|
1917
|
-
if (
|
|
3611
|
+
if (import_app_data9.BUILD.shadowDom && shadowRootNodes && win.document) {
|
|
1918
3612
|
const slot = childVNode.$elm$ = win.document.createElement(childVNode.$tag$);
|
|
1919
3613
|
if (childVNode.$name$) {
|
|
1920
3614
|
childVNode.$elm$.setAttribute("name", slotName);
|
|
@@ -2034,9 +3728,6 @@ var createSupportsRuleRe = (selector) => {
|
|
|
2034
3728
|
"g"
|
|
2035
3729
|
);
|
|
2036
3730
|
};
|
|
2037
|
-
var _colonSlottedRe = createSupportsRuleRe("::slotted");
|
|
2038
|
-
var _colonHostRe = createSupportsRuleRe(":host");
|
|
2039
|
-
var _colonHostContextRe = createSupportsRuleRe(":host-context");
|
|
2040
3731
|
var _commentRe = /\/\*\s*[\s\S]*?\*\//g;
|
|
2041
3732
|
var stripComments = (input) => {
|
|
2042
3733
|
return input.replace(_commentRe, "");
|
|
@@ -2114,6 +3805,9 @@ var insertPolyfillHostInCssText = (cssText) => {
|
|
|
2114
3805
|
supportsBlocks.push(selectorContent);
|
|
2115
3806
|
return `@supports selector(${placeholder})`;
|
|
2116
3807
|
});
|
|
3808
|
+
const _colonSlottedRe = createSupportsRuleRe("::slotted");
|
|
3809
|
+
const _colonHostRe = createSupportsRuleRe(":host");
|
|
3810
|
+
const _colonHostContextRe = createSupportsRuleRe(":host-context");
|
|
2117
3811
|
cssText = cssText.replace(_colonHostContextRe, `$1${_polyfillHostContext}`).replace(_colonHostRe, `$1${_polyfillHost}`).replace(_colonSlottedRe, `$1${_polyfillSlotted}`);
|
|
2118
3812
|
supportsBlocks.forEach((originalSelector, index) => {
|
|
2119
3813
|
cssText = cssText.replace(`__supports_${index}__`, originalSelector);
|
|
@@ -2237,16 +3931,16 @@ var applyStrictSelectorScope = (selector, scopeSelector2, hostSelector) => {
|
|
|
2237
3931
|
let scopedSelector = "";
|
|
2238
3932
|
let startIndex = 0;
|
|
2239
3933
|
let res;
|
|
2240
|
-
const
|
|
3934
|
+
const sep2 = /( |>|\+|~(?!=))(?=(?:[^()]*\([^()]*\))*[^()]*$)\s*/g;
|
|
2241
3935
|
const hasHost = selector.indexOf(_polyfillHostNoCombinator) > -1;
|
|
2242
3936
|
let shouldScope = !hasHost;
|
|
2243
|
-
while ((res =
|
|
3937
|
+
while ((res = sep2.exec(selector)) !== null) {
|
|
2244
3938
|
const separator = res[1];
|
|
2245
3939
|
const part2 = selector.slice(startIndex, res.index).trim();
|
|
2246
3940
|
shouldScope = shouldScope || part2.indexOf(_polyfillHostNoCombinator) > -1;
|
|
2247
3941
|
const scopedPart = shouldScope ? _scopeSelectorPart(part2) : part2;
|
|
2248
3942
|
scopedSelector += `${scopedPart} ${separator} `;
|
|
2249
|
-
startIndex =
|
|
3943
|
+
startIndex = sep2.lastIndex;
|
|
2250
3944
|
}
|
|
2251
3945
|
const part = selector.substring(startIndex);
|
|
2252
3946
|
shouldScope = !part.match(_safePartRe) && (shouldScope || part.indexOf(_polyfillHostNoCombinator) > -1);
|
|
@@ -2390,24 +4084,24 @@ var import_app_data16 = require("@stencil/core/internal/app-data");
|
|
|
2390
4084
|
var import_app_data15 = require("@stencil/core/internal/app-data");
|
|
2391
4085
|
|
|
2392
4086
|
// src/runtime/parse-property-value.ts
|
|
2393
|
-
var
|
|
4087
|
+
var import_app_data10 = require("@stencil/core/internal/app-data");
|
|
2394
4088
|
var parsePropertyValue = (propValue, propType, isFormAssociated) => {
|
|
2395
|
-
if ((
|
|
4089
|
+
if ((import_app_data10.BUILD.hydrateClientSide || import_app_data10.BUILD.hydrateServerSide) && typeof propValue === "string" && propValue.startsWith(SERIALIZED_PREFIX)) {
|
|
2396
4090
|
propValue = deserializeProperty(propValue);
|
|
2397
4091
|
return propValue;
|
|
2398
4092
|
}
|
|
2399
4093
|
if (propValue != null && !isComplexType(propValue)) {
|
|
2400
|
-
if (
|
|
2401
|
-
if (
|
|
4094
|
+
if (import_app_data10.BUILD.propBoolean && propType & 4 /* Boolean */) {
|
|
4095
|
+
if (import_app_data10.BUILD.formAssociated && isFormAssociated && typeof propValue === "string") {
|
|
2402
4096
|
return propValue === "" || !!propValue;
|
|
2403
4097
|
} else {
|
|
2404
4098
|
return propValue === "false" ? false : propValue === "" || !!propValue;
|
|
2405
4099
|
}
|
|
2406
4100
|
}
|
|
2407
|
-
if (
|
|
4101
|
+
if (import_app_data10.BUILD.propNumber && propType & 2 /* Number */) {
|
|
2408
4102
|
return typeof propValue === "string" ? parseFloat(propValue) : typeof propValue === "number" ? propValue : NaN;
|
|
2409
4103
|
}
|
|
2410
|
-
if (
|
|
4104
|
+
if (import_app_data10.BUILD.propString && propType & 1 /* String */) {
|
|
2411
4105
|
return String(propValue);
|
|
2412
4106
|
}
|
|
2413
4107
|
return propValue;
|
|
@@ -2418,39 +4112,6 @@ var parsePropertyValue = (propValue, propType, isFormAssociated) => {
|
|
|
2418
4112
|
// src/runtime/update-component.ts
|
|
2419
4113
|
var import_app_data14 = require("@stencil/core/internal/app-data");
|
|
2420
4114
|
|
|
2421
|
-
// src/runtime/event-emitter.ts
|
|
2422
|
-
var import_app_data10 = require("@stencil/core/internal/app-data");
|
|
2423
|
-
|
|
2424
|
-
// src/runtime/element.ts
|
|
2425
|
-
var import_app_data9 = require("@stencil/core/internal/app-data");
|
|
2426
|
-
var getElement = (ref) => {
|
|
2427
|
-
var _a;
|
|
2428
|
-
return import_app_data9.BUILD.lazyLoad ? (_a = getHostRef(ref)) == null ? void 0 : _a.$hostElement$ : ref;
|
|
2429
|
-
};
|
|
2430
|
-
|
|
2431
|
-
// src/runtime/event-emitter.ts
|
|
2432
|
-
var createEvent = (ref, name, flags) => {
|
|
2433
|
-
const elm = getElement(ref);
|
|
2434
|
-
return {
|
|
2435
|
-
emit: (detail) => {
|
|
2436
|
-
if (import_app_data10.BUILD.isDev && !elm.isConnected) {
|
|
2437
|
-
consoleDevWarn(`The "${name}" event was emitted, but the dispatcher node is no longer connected to the dom.`);
|
|
2438
|
-
}
|
|
2439
|
-
return emitEvent(elm, name, {
|
|
2440
|
-
bubbles: !!(flags & 4 /* Bubbles */),
|
|
2441
|
-
composed: !!(flags & 2 /* Composed */),
|
|
2442
|
-
cancelable: !!(flags & 1 /* Cancellable */),
|
|
2443
|
-
detail
|
|
2444
|
-
});
|
|
2445
|
-
}
|
|
2446
|
-
};
|
|
2447
|
-
};
|
|
2448
|
-
var emitEvent = (elm, name, opts) => {
|
|
2449
|
-
const ev = plt.ce(name, opts);
|
|
2450
|
-
elm.dispatchEvent(ev);
|
|
2451
|
-
return ev;
|
|
2452
|
-
};
|
|
2453
|
-
|
|
2454
4115
|
// src/runtime/vdom/vdom-render.ts
|
|
2455
4116
|
var import_app_data13 = require("@stencil/core/internal/app-data");
|
|
2456
4117
|
|
|
@@ -2505,7 +4166,7 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
|
|
|
2505
4166
|
} else if (import_app_data11.BUILD.vdomKey && memberName === "key") {
|
|
2506
4167
|
} else if (import_app_data11.BUILD.vdomRef && memberName === "ref") {
|
|
2507
4168
|
if (newValue) {
|
|
2508
|
-
newValue
|
|
4169
|
+
queueRefAttachment(newValue, elm);
|
|
2509
4170
|
}
|
|
2510
4171
|
} else if (import_app_data11.BUILD.vdomListener && (import_app_data11.BUILD.lazyLoad ? !isProp : !elm.__lookupSetter__(memberName)) && memberName[0] === "o" && memberName[1] === "n") {
|
|
2511
4172
|
if (memberName[2] === "-") {
|
|
@@ -2634,6 +4295,8 @@ var useNativeShadowDom = false;
|
|
|
2634
4295
|
var checkSlotFallbackVisibility = false;
|
|
2635
4296
|
var checkSlotRelocate = false;
|
|
2636
4297
|
var isSvgMode = false;
|
|
4298
|
+
var refCallbacksToRemove = [];
|
|
4299
|
+
var refCallbacksToAttach = [];
|
|
2637
4300
|
var createElm = (oldParentVNode, newParentVNode, childIndex) => {
|
|
2638
4301
|
var _a;
|
|
2639
4302
|
const newVNode2 = newParentVNode.$children$[childIndex];
|
|
@@ -2661,7 +4324,7 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
|
|
|
2661
4324
|
`The JSX ${newVNode2.$text$ !== null ? `"${newVNode2.$text$}" text` : `"${newVNode2.$tag$}" element`} node should not be shared within the same renderer. The renderer caches element lookups in order to improve performance. However, a side effect from this is that the exact same JSX node should not be reused. For more information please see https://stenciljs.com/docs/templating-jsx#avoid-shared-jsx-nodes`
|
|
2662
4325
|
);
|
|
2663
4326
|
}
|
|
2664
|
-
if (import_app_data13.BUILD.vdomText && newVNode2.$text$
|
|
4327
|
+
if (import_app_data13.BUILD.vdomText && newVNode2.$text$ != null) {
|
|
2665
4328
|
elm = newVNode2.$elm$ = win.document.createTextNode(newVNode2.$text$);
|
|
2666
4329
|
} else if (import_app_data13.BUILD.slotRelocation && newVNode2.$flags$ & 1 /* isSlotReference */) {
|
|
2667
4330
|
elm = newVNode2.$elm$ = import_app_data13.BUILD.isDebug || import_app_data13.BUILD.hydrateServerSide ? slotReferenceDebugNode(newVNode2) : win.document.createTextNode("");
|
|
@@ -2673,9 +4336,7 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
|
|
|
2673
4336
|
isSvgMode = newVNode2.$tag$ === "svg";
|
|
2674
4337
|
}
|
|
2675
4338
|
if (!win.document) {
|
|
2676
|
-
throw new Error(
|
|
2677
|
-
"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."
|
|
2678
|
-
);
|
|
4339
|
+
throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");
|
|
2679
4340
|
}
|
|
2680
4341
|
elm = newVNode2.$elm$ = import_app_data13.BUILD.svg ? win.document.createElementNS(
|
|
2681
4342
|
isSvgMode ? SVG_NS : HTML_NS,
|
|
@@ -2693,10 +4354,11 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
|
|
|
2693
4354
|
elm.classList.add(elm["s-si"] = scopeId);
|
|
2694
4355
|
}
|
|
2695
4356
|
if (newVNode2.$children$) {
|
|
4357
|
+
const appendTarget = newVNode2.$tag$ === "template" ? elm.content : elm;
|
|
2696
4358
|
for (i2 = 0; i2 < newVNode2.$children$.length; ++i2) {
|
|
2697
4359
|
childNode = createElm(oldParentVNode, newVNode2, i2);
|
|
2698
4360
|
if (childNode) {
|
|
2699
|
-
|
|
4361
|
+
appendTarget.appendChild(childNode);
|
|
2700
4362
|
}
|
|
2701
4363
|
}
|
|
2702
4364
|
}
|
|
@@ -2718,11 +4380,7 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
|
|
|
2718
4380
|
patchSlotNode(elm);
|
|
2719
4381
|
oldVNode = oldParentVNode && oldParentVNode.$children$ && oldParentVNode.$children$[childIndex];
|
|
2720
4382
|
if (oldVNode && oldVNode.$tag$ === newVNode2.$tag$ && oldParentVNode.$elm$) {
|
|
2721
|
-
|
|
2722
|
-
relocateToHostRoot(oldParentVNode.$elm$);
|
|
2723
|
-
} else {
|
|
2724
|
-
putBackInOriginalLocation(oldParentVNode.$elm$, false);
|
|
2725
|
-
}
|
|
4383
|
+
relocateToHostRoot(oldParentVNode.$elm$);
|
|
2726
4384
|
}
|
|
2727
4385
|
if (import_app_data13.BUILD.scoped || import_app_data13.BUILD.hydrateServerSide && 128 /* shadowNeedsScopedCss */) {
|
|
2728
4386
|
addRemoveSlotScopedClass(contentRef, elm, newParentVNode.$elm$, oldParentVNode == null ? void 0 : oldParentVNode.$elm$);
|
|
@@ -2754,7 +4412,7 @@ var relocateToHostRoot = (parentElm) => {
|
|
|
2754
4412
|
var putBackInOriginalLocation = (parentElm, recursive) => {
|
|
2755
4413
|
plt.$flags$ |= 1 /* isTmpDisconnected */;
|
|
2756
4414
|
const oldSlotChildNodes = Array.from(parentElm.__childNodes || parentElm.childNodes);
|
|
2757
|
-
if (parentElm["s-sr"]
|
|
4415
|
+
if (parentElm["s-sr"]) {
|
|
2758
4416
|
let node = parentElm;
|
|
2759
4417
|
while (node = node.nextSibling) {
|
|
2760
4418
|
if (node && node["s-sn"] === parentElm["s-sn"] && node["s-sh"] === hostTagName) {
|
|
@@ -2783,6 +4441,9 @@ var addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
|
|
|
2783
4441
|
if (import_app_data13.BUILD.shadowDom && containerElm.shadowRoot && containerElm.tagName === hostTagName) {
|
|
2784
4442
|
containerElm = containerElm.shadowRoot;
|
|
2785
4443
|
}
|
|
4444
|
+
if (parentVNode.$tag$ === "template") {
|
|
4445
|
+
containerElm = containerElm.content;
|
|
4446
|
+
}
|
|
2786
4447
|
for (; startIdx <= endIdx; ++startIdx) {
|
|
2787
4448
|
if (vnodes[startIdx]) {
|
|
2788
4449
|
childNode = createElm(null, parentVNode, startIdx);
|
|
@@ -2826,6 +4487,7 @@ var updateChildren = (parentElm, oldCh, newVNode2, newCh, isInitialRender = fals
|
|
|
2826
4487
|
let newEndVnode = newCh[newEndIdx];
|
|
2827
4488
|
let node;
|
|
2828
4489
|
let elmToMove;
|
|
4490
|
+
const containerElm = newVNode2.$tag$ === "template" ? parentElm.content : parentElm;
|
|
2829
4491
|
while (oldStartIdx <= oldEndIdx && newStartIdx <= newEndIdx) {
|
|
2830
4492
|
if (oldStartVnode == null) {
|
|
2831
4493
|
oldStartVnode = oldCh[++oldStartIdx];
|
|
@@ -2848,7 +4510,7 @@ var updateChildren = (parentElm, oldCh, newVNode2, newCh, isInitialRender = fals
|
|
|
2848
4510
|
putBackInOriginalLocation(oldStartVnode.$elm$.parentNode, false);
|
|
2849
4511
|
}
|
|
2850
4512
|
patch(oldStartVnode, newEndVnode, isInitialRender);
|
|
2851
|
-
insertBefore(
|
|
4513
|
+
insertBefore(containerElm, oldStartVnode.$elm$, oldEndVnode.$elm$.nextSibling);
|
|
2852
4514
|
oldStartVnode = oldCh[++oldStartIdx];
|
|
2853
4515
|
newEndVnode = newCh[--newEndIdx];
|
|
2854
4516
|
} else if (isSameVnode(oldEndVnode, newStartVnode, isInitialRender)) {
|
|
@@ -2856,7 +4518,7 @@ var updateChildren = (parentElm, oldCh, newVNode2, newCh, isInitialRender = fals
|
|
|
2856
4518
|
putBackInOriginalLocation(oldEndVnode.$elm$.parentNode, false);
|
|
2857
4519
|
}
|
|
2858
4520
|
patch(oldEndVnode, newStartVnode, isInitialRender);
|
|
2859
|
-
insertBefore(
|
|
4521
|
+
insertBefore(containerElm, oldEndVnode.$elm$, oldStartVnode.$elm$);
|
|
2860
4522
|
oldEndVnode = oldCh[--oldEndIdx];
|
|
2861
4523
|
newStartVnode = newCh[++newStartIdx];
|
|
2862
4524
|
} else {
|
|
@@ -2932,13 +4594,13 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
|
|
|
2932
4594
|
const tag = newVNode2.$tag$;
|
|
2933
4595
|
const text = newVNode2.$text$;
|
|
2934
4596
|
let defaultHolder;
|
|
2935
|
-
if (!import_app_data13.BUILD.vdomText || text
|
|
4597
|
+
if (!import_app_data13.BUILD.vdomText || text == null) {
|
|
2936
4598
|
if (import_app_data13.BUILD.svg) {
|
|
2937
4599
|
isSvgMode = tag === "svg" ? true : tag === "foreignObject" ? false : isSvgMode;
|
|
2938
4600
|
}
|
|
2939
4601
|
if (import_app_data13.BUILD.vdomAttribute || import_app_data13.BUILD.reflect) {
|
|
2940
4602
|
if (import_app_data13.BUILD.slot && tag === "slot" && !useNativeShadowDom) {
|
|
2941
|
-
if (
|
|
4603
|
+
if (oldVNode.$name$ !== newVNode2.$name$) {
|
|
2942
4604
|
newVNode2.$elm$["s-sn"] = newVNode2.$name$ || "";
|
|
2943
4605
|
relocateToHostRoot(newVNode2.$elm$.parentElement);
|
|
2944
4606
|
}
|
|
@@ -2981,7 +4643,7 @@ var markSlotContentForRelocation = (elm) => {
|
|
|
2981
4643
|
const slotName = childNode["s-sn"];
|
|
2982
4644
|
for (j = hostContentNodes.length - 1; j >= 0; j--) {
|
|
2983
4645
|
node = hostContentNodes[j];
|
|
2984
|
-
if (!node["s-cn"] && !node["s-nr"] && node["s-hn"] !== childNode["s-hn"] && (!
|
|
4646
|
+
if (!node["s-cn"] && !node["s-nr"] && node["s-hn"] !== childNode["s-hn"] && (!node["s-sh"] || node["s-sh"] !== childNode["s-hn"])) {
|
|
2985
4647
|
if (isNodeLocatedInSlot(node, slotName)) {
|
|
2986
4648
|
let relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
|
|
2987
4649
|
checkSlotFallbackVisibility = true;
|
|
@@ -3021,23 +4683,40 @@ var markSlotContentForRelocation = (elm) => {
|
|
|
3021
4683
|
};
|
|
3022
4684
|
var nullifyVNodeRefs = (vNode) => {
|
|
3023
4685
|
if (import_app_data13.BUILD.vdomRef) {
|
|
3024
|
-
vNode.$attrs$ && vNode.$attrs$.ref
|
|
4686
|
+
if (vNode.$attrs$ && vNode.$attrs$.ref) {
|
|
4687
|
+
refCallbacksToRemove.push(() => vNode.$attrs$.ref(null));
|
|
4688
|
+
}
|
|
3025
4689
|
vNode.$children$ && vNode.$children$.map(nullifyVNodeRefs);
|
|
3026
4690
|
}
|
|
3027
4691
|
};
|
|
3028
|
-
var
|
|
3029
|
-
if (import_app_data13.BUILD.
|
|
3030
|
-
|
|
3031
|
-
}
|
|
3032
|
-
|
|
3033
|
-
|
|
4692
|
+
var queueRefAttachment = (refCallback, elm) => {
|
|
4693
|
+
if (import_app_data13.BUILD.vdomRef) {
|
|
4694
|
+
refCallbacksToAttach.push(() => refCallback(elm));
|
|
4695
|
+
}
|
|
4696
|
+
};
|
|
4697
|
+
var flushQueuedRefCallbacks = () => {
|
|
4698
|
+
if (import_app_data13.BUILD.vdomRef) {
|
|
4699
|
+
refCallbacksToRemove.forEach((cb) => cb());
|
|
4700
|
+
refCallbacksToRemove.length = 0;
|
|
4701
|
+
refCallbacksToAttach.forEach((cb) => cb());
|
|
4702
|
+
refCallbacksToAttach.length = 0;
|
|
4703
|
+
}
|
|
4704
|
+
};
|
|
4705
|
+
var insertBefore = (parent, newNode, reference, isInitialLoad) => {
|
|
4706
|
+
if (import_app_data13.BUILD.slotRelocation) {
|
|
4707
|
+
if (import_app_data13.BUILD.scoped && typeof newNode["s-sn"] === "string" && !!newNode["s-sr"] && !!newNode["s-cr"]) {
|
|
4708
|
+
addRemoveSlotScopedClass(newNode["s-cr"], newNode, parent, newNode.parentElement);
|
|
4709
|
+
} else if (typeof newNode["s-sn"] === "string") {
|
|
4710
|
+
if (import_app_data13.BUILD.experimentalSlotFixes && parent.getRootNode().nodeType !== 11 /* DOCUMENT_FRAGMENT_NODE */) {
|
|
4711
|
+
patchParentNode(newNode);
|
|
4712
|
+
}
|
|
4713
|
+
parent.insertBefore(newNode, reference);
|
|
4714
|
+
const { slotNode } = findSlotFromSlottedNode(newNode);
|
|
4715
|
+
if (slotNode && !isInitialLoad) dispatchSlotChangeEvent(slotNode);
|
|
4716
|
+
return newNode;
|
|
3034
4717
|
}
|
|
3035
|
-
parent.insertBefore(newNode, reference);
|
|
3036
|
-
const { slotNode } = findSlotFromSlottedNode(newNode);
|
|
3037
|
-
if (slotNode) dispatchSlotChangeEvent(slotNode);
|
|
3038
|
-
return newNode;
|
|
3039
4718
|
}
|
|
3040
|
-
if (
|
|
4719
|
+
if (parent.__insertBefore) {
|
|
3041
4720
|
return parent.__insertBefore(newNode, reference);
|
|
3042
4721
|
} else {
|
|
3043
4722
|
return parent == null ? void 0 : parent.insertBefore(newNode, reference);
|
|
@@ -3125,19 +4804,27 @@ render() {
|
|
|
3125
4804
|
if (!nodeToRelocate["s-ol"] && win.document) {
|
|
3126
4805
|
const orgLocationNode = import_app_data13.BUILD.isDebug || import_app_data13.BUILD.hydrateServerSide ? originalLocationDebugNode(nodeToRelocate) : win.document.createTextNode("");
|
|
3127
4806
|
orgLocationNode["s-nr"] = nodeToRelocate;
|
|
3128
|
-
insertBefore(
|
|
4807
|
+
insertBefore(
|
|
4808
|
+
nodeToRelocate.parentNode,
|
|
4809
|
+
nodeToRelocate["s-ol"] = orgLocationNode,
|
|
4810
|
+
nodeToRelocate,
|
|
4811
|
+
isInitialLoad
|
|
4812
|
+
);
|
|
3129
4813
|
}
|
|
3130
4814
|
}
|
|
3131
4815
|
for (const relocateData of relocateNodes) {
|
|
3132
4816
|
const nodeToRelocate = relocateData.$nodeToRelocate$;
|
|
3133
4817
|
const slotRefNode = relocateData.$slotRefNode$;
|
|
4818
|
+
if (nodeToRelocate.nodeType === 1 /* ElementNode */ && isInitialLoad) {
|
|
4819
|
+
nodeToRelocate["s-ih"] = (_a = nodeToRelocate.hidden) != null ? _a : false;
|
|
4820
|
+
}
|
|
3134
4821
|
if (slotRefNode) {
|
|
3135
4822
|
const parentNodeRef = slotRefNode.parentNode;
|
|
3136
4823
|
let insertBeforeNode = slotRefNode.nextSibling;
|
|
3137
|
-
if (!import_app_data13.BUILD.hydrateServerSide &&
|
|
3138
|
-
let orgLocationNode = (
|
|
4824
|
+
if (!import_app_data13.BUILD.hydrateServerSide && insertBeforeNode && insertBeforeNode.nodeType === 1 /* ElementNode */) {
|
|
4825
|
+
let orgLocationNode = (_b = nodeToRelocate["s-ol"]) == null ? void 0 : _b.previousSibling;
|
|
3139
4826
|
while (orgLocationNode) {
|
|
3140
|
-
let refNode = (
|
|
4827
|
+
let refNode = (_c = orgLocationNode["s-nr"]) != null ? _c : null;
|
|
3141
4828
|
if (refNode && refNode["s-sn"] === nodeToRelocate["s-sn"] && parentNodeRef === (refNode.__parentNode || refNode.parentNode)) {
|
|
3142
4829
|
refNode = refNode.nextSibling;
|
|
3143
4830
|
while (refNode === nodeToRelocate || (refNode == null ? void 0 : refNode["s-sr"])) {
|
|
@@ -3155,23 +4842,26 @@ render() {
|
|
|
3155
4842
|
const nextSibling = nodeToRelocate.__nextSibling || nodeToRelocate.nextSibling;
|
|
3156
4843
|
if (!insertBeforeNode && parentNodeRef !== parent || nextSibling !== insertBeforeNode) {
|
|
3157
4844
|
if (nodeToRelocate !== insertBeforeNode) {
|
|
3158
|
-
|
|
3159
|
-
|
|
4845
|
+
insertBefore(parentNodeRef, nodeToRelocate, insertBeforeNode, isInitialLoad);
|
|
4846
|
+
if (nodeToRelocate.nodeType === 8 /* CommentNode */ && nodeToRelocate.nodeValue.startsWith("s-nt-")) {
|
|
4847
|
+
const textNode = win.document.createTextNode(nodeToRelocate.nodeValue.replace(/^s-nt-/, ""));
|
|
4848
|
+
textNode["s-hn"] = nodeToRelocate["s-hn"];
|
|
4849
|
+
textNode["s-sn"] = nodeToRelocate["s-sn"];
|
|
4850
|
+
textNode["s-sh"] = nodeToRelocate["s-sh"];
|
|
4851
|
+
textNode["s-sr"] = nodeToRelocate["s-sr"];
|
|
4852
|
+
textNode["s-ol"] = nodeToRelocate["s-ol"];
|
|
4853
|
+
textNode["s-ol"]["s-nr"] = textNode;
|
|
4854
|
+
insertBefore(nodeToRelocate.parentNode, textNode, nodeToRelocate, isInitialLoad);
|
|
4855
|
+
nodeToRelocate.parentNode.removeChild(nodeToRelocate);
|
|
3160
4856
|
}
|
|
3161
|
-
insertBefore(parentNodeRef, nodeToRelocate, insertBeforeNode);
|
|
3162
4857
|
if (nodeToRelocate.nodeType === 1 /* ElementNode */ && nodeToRelocate.tagName !== "SLOT-FB") {
|
|
3163
|
-
nodeToRelocate.hidden = (
|
|
4858
|
+
nodeToRelocate.hidden = (_d = nodeToRelocate["s-ih"]) != null ? _d : false;
|
|
3164
4859
|
}
|
|
3165
4860
|
}
|
|
3166
4861
|
}
|
|
3167
4862
|
nodeToRelocate && typeof slotRefNode["s-rf"] === "function" && slotRefNode["s-rf"](slotRefNode);
|
|
3168
|
-
} else {
|
|
3169
|
-
|
|
3170
|
-
if (isInitialLoad) {
|
|
3171
|
-
nodeToRelocate["s-ih"] = (_d = nodeToRelocate.hidden) != null ? _d : false;
|
|
3172
|
-
}
|
|
3173
|
-
nodeToRelocate.hidden = true;
|
|
3174
|
-
}
|
|
4863
|
+
} else if (nodeToRelocate.nodeType === 1 /* ElementNode */) {
|
|
4864
|
+
nodeToRelocate.hidden = true;
|
|
3175
4865
|
}
|
|
3176
4866
|
}
|
|
3177
4867
|
}
|
|
@@ -3181,18 +4871,26 @@ render() {
|
|
|
3181
4871
|
plt.$flags$ &= ~1 /* isTmpDisconnected */;
|
|
3182
4872
|
relocateNodes.length = 0;
|
|
3183
4873
|
}
|
|
3184
|
-
if (import_app_data13.BUILD.
|
|
4874
|
+
if (import_app_data13.BUILD.slotRelocation && !useNativeShadowDom && !(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && hostElm["s-cr"]) {
|
|
3185
4875
|
const children = rootVnode.$elm$.__childNodes || rootVnode.$elm$.childNodes;
|
|
3186
4876
|
for (const childNode of children) {
|
|
3187
4877
|
if (childNode["s-hn"] !== hostTagName && !childNode["s-sh"]) {
|
|
3188
4878
|
if (isInitialLoad && childNode["s-ih"] == null) {
|
|
3189
4879
|
childNode["s-ih"] = (_e = childNode.hidden) != null ? _e : false;
|
|
3190
4880
|
}
|
|
3191
|
-
childNode.
|
|
4881
|
+
if (childNode.nodeType === 1 /* ElementNode */) {
|
|
4882
|
+
childNode.hidden = true;
|
|
4883
|
+
} else if (childNode.nodeType === 3 /* TextNode */ && !!childNode.nodeValue.trim()) {
|
|
4884
|
+
const textCommentNode = win.document.createComment("s-nt-" + childNode.nodeValue);
|
|
4885
|
+
textCommentNode["s-sn"] = childNode["s-sn"];
|
|
4886
|
+
insertBefore(childNode.parentNode, textCommentNode, childNode, isInitialLoad);
|
|
4887
|
+
childNode.parentNode.removeChild(childNode);
|
|
4888
|
+
}
|
|
3192
4889
|
}
|
|
3193
4890
|
}
|
|
3194
4891
|
}
|
|
3195
4892
|
contentRef = void 0;
|
|
4893
|
+
flushQueuedRefCallbacks();
|
|
3196
4894
|
};
|
|
3197
4895
|
var slotReferenceDebugNode = (slotVNode) => {
|
|
3198
4896
|
var _a;
|
|
@@ -3250,6 +4948,10 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
|
|
|
3250
4948
|
let maybePromise;
|
|
3251
4949
|
if (isInitialLoad) {
|
|
3252
4950
|
if (import_app_data14.BUILD.lazyLoad) {
|
|
4951
|
+
if (import_app_data14.BUILD.slotRelocation && hostRef.$deferredConnectedCallback$) {
|
|
4952
|
+
hostRef.$deferredConnectedCallback$ = false;
|
|
4953
|
+
safeCall(instance, "connectedCallback", void 0, elm);
|
|
4954
|
+
}
|
|
3253
4955
|
if (import_app_data14.BUILD.hostListener) {
|
|
3254
4956
|
hostRef.$flags$ |= 256 /* isListenReady */;
|
|
3255
4957
|
if (hostRef.$queuedListeners$) {
|
|
@@ -3523,12 +5225,22 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
3523
5225
|
if ((!import_app_data15.BUILD.lazyLoad || !(flags & 8 /* isConstructingInstance */) || oldVal === void 0) && didValueChange) {
|
|
3524
5226
|
hostRef.$instanceValues$.set(propName, newVal);
|
|
3525
5227
|
if (import_app_data15.BUILD.serializer && import_app_data15.BUILD.reflect && cmpMeta.$attrsToReflect$) {
|
|
3526
|
-
if (
|
|
3527
|
-
|
|
3528
|
-
|
|
3529
|
-
|
|
5228
|
+
if (cmpMeta.$serializers$ && cmpMeta.$serializers$[propName]) {
|
|
5229
|
+
const runSerializer = (inst) => {
|
|
5230
|
+
let attrVal = newVal;
|
|
5231
|
+
for (const serializer of cmpMeta.$serializers$[propName]) {
|
|
5232
|
+
const [[methodName]] = Object.entries(serializer);
|
|
5233
|
+
attrVal = inst[methodName](attrVal, propName);
|
|
5234
|
+
}
|
|
5235
|
+
hostRef.$serializerValues$.set(propName, attrVal);
|
|
5236
|
+
};
|
|
5237
|
+
if (instance) {
|
|
5238
|
+
runSerializer(instance);
|
|
5239
|
+
} else {
|
|
5240
|
+
hostRef.$fetchedCbList$.push(() => {
|
|
5241
|
+
runSerializer(hostRef.$lazyInstance$);
|
|
5242
|
+
});
|
|
3530
5243
|
}
|
|
3531
|
-
hostRef.$serializerValues$.set(propName, attrVal);
|
|
3532
5244
|
}
|
|
3533
5245
|
}
|
|
3534
5246
|
if (import_app_data15.BUILD.isDev) {
|
|
@@ -3554,27 +5266,34 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
3554
5266
|
);
|
|
3555
5267
|
}
|
|
3556
5268
|
}
|
|
3557
|
-
if (
|
|
3558
|
-
|
|
3559
|
-
|
|
3560
|
-
|
|
3561
|
-
|
|
3562
|
-
|
|
3563
|
-
|
|
3564
|
-
|
|
3565
|
-
|
|
5269
|
+
if (import_app_data15.BUILD.propChangeCallback && cmpMeta.$watchers$) {
|
|
5270
|
+
const watchMethods = cmpMeta.$watchers$[propName];
|
|
5271
|
+
if (watchMethods) {
|
|
5272
|
+
watchMethods.map((watcher) => {
|
|
5273
|
+
try {
|
|
5274
|
+
const [[watchMethodName, watcherFlags]] = Object.entries(watcher);
|
|
5275
|
+
if (flags & 128 /* isWatchReady */ || watcherFlags & 1 /* Immediate */) {
|
|
5276
|
+
if (!instance) {
|
|
5277
|
+
hostRef.$fetchedCbList$.push(() => {
|
|
5278
|
+
hostRef.$lazyInstance$[watchMethodName](newVal, oldVal, propName);
|
|
5279
|
+
});
|
|
5280
|
+
} else {
|
|
5281
|
+
instance[watchMethodName](newVal, oldVal, propName);
|
|
5282
|
+
}
|
|
3566
5283
|
}
|
|
3567
|
-
})
|
|
3568
|
-
|
|
3569
|
-
}
|
|
3570
|
-
if (import_app_data15.BUILD.updatable && (flags & (2 /* hasRendered */ | 16 /* isQueuedForUpdate */)) === 2 /* hasRendered */) {
|
|
3571
|
-
if (instance.componentShouldUpdate) {
|
|
3572
|
-
if (instance.componentShouldUpdate(newVal, oldVal, propName) === false) {
|
|
3573
|
-
return;
|
|
5284
|
+
} catch (e) {
|
|
5285
|
+
consoleError(e, elm);
|
|
3574
5286
|
}
|
|
5287
|
+
});
|
|
5288
|
+
}
|
|
5289
|
+
}
|
|
5290
|
+
if (import_app_data15.BUILD.updatable && (flags & (2 /* hasRendered */ | 16 /* isQueuedForUpdate */)) === 2 /* hasRendered */) {
|
|
5291
|
+
if (instance.componentShouldUpdate) {
|
|
5292
|
+
if (instance.componentShouldUpdate(newVal, oldVal, propName) === false) {
|
|
5293
|
+
return;
|
|
3575
5294
|
}
|
|
3576
|
-
scheduleUpdate(hostRef, false);
|
|
3577
5295
|
}
|
|
5296
|
+
scheduleUpdate(hostRef, false);
|
|
3578
5297
|
}
|
|
3579
5298
|
}
|
|
3580
5299
|
};
|
|
@@ -3757,7 +5476,8 @@ More information: https://stenciljs.com/docs/properties#prop-mutability`
|
|
|
3757
5476
|
this[propName] = deserializeVal;
|
|
3758
5477
|
}
|
|
3759
5478
|
};
|
|
3760
|
-
for (const
|
|
5479
|
+
for (const deserializer of cmpMeta.$deserializers$[propName]) {
|
|
5480
|
+
const [[methodName]] = Object.entries(deserializer);
|
|
3761
5481
|
if (import_app_data16.BUILD.lazyLoad) {
|
|
3762
5482
|
if (hostRef.$lazyInstance$) {
|
|
3763
5483
|
setVal(methodName, hostRef.$lazyInstance$);
|
|
@@ -3776,13 +5496,14 @@ More information: https://stenciljs.com/docs/properties#prop-mutability`
|
|
|
3776
5496
|
return;
|
|
3777
5497
|
} else if (propName == null) {
|
|
3778
5498
|
const flags2 = hostRef == null ? void 0 : hostRef.$flags$;
|
|
3779
|
-
if (hostRef && flags2 && !(flags2 & 8 /* isConstructingInstance */) &&
|
|
5499
|
+
if (hostRef && flags2 && !(flags2 & 8 /* isConstructingInstance */) && newValue !== oldValue) {
|
|
3780
5500
|
const elm = import_app_data16.BUILD.lazyLoad ? hostRef.$hostElement$ : this;
|
|
3781
5501
|
const instance = import_app_data16.BUILD.lazyLoad ? hostRef.$lazyInstance$ : elm;
|
|
3782
5502
|
const entry = (_a2 = cmpMeta.$watchers$) == null ? void 0 : _a2[attrName];
|
|
3783
|
-
entry == null ? void 0 : entry.forEach((
|
|
3784
|
-
|
|
3785
|
-
|
|
5503
|
+
entry == null ? void 0 : entry.forEach((watcher) => {
|
|
5504
|
+
const [[watchMethodName, watcherFlags]] = Object.entries(watcher);
|
|
5505
|
+
if (instance[watchMethodName] != null && (flags2 & 128 /* isWatchReady */ || watcherFlags & 1 /* Immediate */)) {
|
|
5506
|
+
instance[watchMethodName].call(instance, newValue, oldValue, attrName);
|
|
3786
5507
|
}
|
|
3787
5508
|
});
|
|
3788
5509
|
}
|
|
@@ -3863,7 +5584,12 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
3863
5584
|
hostRef.$flags$ |= 128 /* isWatchReady */;
|
|
3864
5585
|
}
|
|
3865
5586
|
endNewInstance();
|
|
3866
|
-
|
|
5587
|
+
const needsDeferredCallback = import_app_data17.BUILD.slotRelocation && cmpMeta.$flags$ & 4 /* hasSlotRelocation */;
|
|
5588
|
+
if (!needsDeferredCallback) {
|
|
5589
|
+
fireConnectedCallback(hostRef.$lazyInstance$, elm);
|
|
5590
|
+
} else {
|
|
5591
|
+
hostRef.$deferredConnectedCallback$ = true;
|
|
5592
|
+
}
|
|
3867
5593
|
} else {
|
|
3868
5594
|
Cstr = elm.constructor;
|
|
3869
5595
|
const cmpTag = elm.localName;
|
|
@@ -3883,7 +5609,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
3883
5609
|
}
|
|
3884
5610
|
}
|
|
3885
5611
|
const scopeId2 = getScopeId(cmpMeta, hostRef.$modeName$);
|
|
3886
|
-
if (!styles.has(scopeId2)) {
|
|
5612
|
+
if (!styles.has(scopeId2) || import_app_data17.BUILD.hotModuleReplacement && hmrVersionId) {
|
|
3887
5613
|
const endRegisterStyles = createTime("registerStyles", cmpMeta.$tagName$);
|
|
3888
5614
|
if (import_app_data17.BUILD.hydrateServerSide && import_app_data17.BUILD.shadowDom) {
|
|
3889
5615
|
if (cmpMeta.$flags$ & 128 /* shadowNeedsScopedCss */) {
|
|
@@ -4024,7 +5750,10 @@ var disconnectedCallback = async (elm) => {
|
|
|
4024
5750
|
|
|
4025
5751
|
// src/runtime/bootstrap-custom-element.ts
|
|
4026
5752
|
var defineCustomElement = (Cstr, compactMeta) => {
|
|
4027
|
-
customElements.define(
|
|
5753
|
+
customElements.define(
|
|
5754
|
+
transformTag(compactMeta[1]),
|
|
5755
|
+
proxyCustomElement(Cstr, compactMeta)
|
|
5756
|
+
);
|
|
4028
5757
|
};
|
|
4029
5758
|
var proxyCustomElement = (Cstr, compactMeta) => {
|
|
4030
5759
|
const cmpMeta = {
|
|
@@ -4048,7 +5777,7 @@ var proxyCustomElement = (Cstr, compactMeta) => {
|
|
|
4048
5777
|
if (import_app_data20.BUILD.shadowDom && !supportsShadow && cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
|
|
4049
5778
|
cmpMeta.$flags$ |= 8 /* needsShadowDomShim */;
|
|
4050
5779
|
}
|
|
4051
|
-
if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && cmpMeta.$flags$ & 256 /*
|
|
5780
|
+
if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && cmpMeta.$flags$ & 256 /* hasSlot */) {
|
|
4052
5781
|
if (import_app_data20.BUILD.experimentalSlotFixes) {
|
|
4053
5782
|
patchPseudoShadowDom(Cstr.prototype);
|
|
4054
5783
|
} else {
|
|
@@ -4065,6 +5794,8 @@ var proxyCustomElement = (Cstr, compactMeta) => {
|
|
|
4065
5794
|
patchTextContent(Cstr.prototype);
|
|
4066
5795
|
}
|
|
4067
5796
|
}
|
|
5797
|
+
} else if (import_app_data20.BUILD.cloneNodeFix) {
|
|
5798
|
+
patchCloneNode(Cstr.prototype);
|
|
4068
5799
|
}
|
|
4069
5800
|
if (import_app_data20.BUILD.hydrateClientSide && import_app_data20.BUILD.shadowDom) {
|
|
4070
5801
|
hydrateScopedToShadow();
|
|
@@ -4215,12 +5946,14 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
4215
5946
|
if (import_app_data21.BUILD.shadowDom && !supportsShadow && cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
|
|
4216
5947
|
cmpMeta.$flags$ |= 8 /* needsShadowDomShim */;
|
|
4217
5948
|
}
|
|
4218
|
-
const tagName = import_app_data21.BUILD.transformTagName && options.transformTagName ? options.transformTagName(cmpMeta.$tagName$) : cmpMeta.$tagName
|
|
5949
|
+
const tagName = import_app_data21.BUILD.transformTagName && options.transformTagName ? options.transformTagName(cmpMeta.$tagName$) : transformTag(cmpMeta.$tagName$);
|
|
4219
5950
|
const HostElement = class extends HTMLElement {
|
|
5951
|
+
["s-p"];
|
|
5952
|
+
["s-rc"];
|
|
5953
|
+
hasRegisteredEventListeners = false;
|
|
4220
5954
|
// StencilLazyHost
|
|
4221
5955
|
constructor(self) {
|
|
4222
5956
|
super(self);
|
|
4223
|
-
this.hasRegisteredEventListeners = false;
|
|
4224
5957
|
self = this;
|
|
4225
5958
|
registerHost(self, cmpMeta);
|
|
4226
5959
|
if (import_app_data21.BUILD.shadowDom && cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
|
|
@@ -4280,7 +6013,7 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
4280
6013
|
return (_a3 = getHostRef(this)) == null ? void 0 : _a3.$onReadyPromise$;
|
|
4281
6014
|
}
|
|
4282
6015
|
};
|
|
4283
|
-
if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && cmpMeta.$flags$ & 256 /*
|
|
6016
|
+
if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && cmpMeta.$flags$ & 256 /* hasSlot */) {
|
|
4284
6017
|
if (import_app_data21.BUILD.experimentalSlotFixes) {
|
|
4285
6018
|
patchPseudoShadowDom(HostElement.prototype);
|
|
4286
6019
|
} else {
|
|
@@ -4297,6 +6030,8 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
4297
6030
|
patchTextContent(HostElement.prototype);
|
|
4298
6031
|
}
|
|
4299
6032
|
}
|
|
6033
|
+
} else if (import_app_data21.BUILD.cloneNodeFix) {
|
|
6034
|
+
patchCloneNode(HostElement.prototype);
|
|
4300
6035
|
}
|
|
4301
6036
|
if (import_app_data21.BUILD.formAssociated && cmpMeta.$flags$ & 64 /* formAssociated */) {
|
|
4302
6037
|
HostElement.formAssociated = true;
|
|
@@ -4317,7 +6052,7 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
4317
6052
|
});
|
|
4318
6053
|
});
|
|
4319
6054
|
if (cmpTags.length > 0) {
|
|
4320
|
-
if (hasSlotRelocation) {
|
|
6055
|
+
if (import_app_data21.BUILD.slotRelocation && hasSlotRelocation) {
|
|
4321
6056
|
dataStyles.textContent += SLOT_FB_CSS;
|
|
4322
6057
|
}
|
|
4323
6058
|
if (import_app_data21.BUILD.invisiblePrehydration && (import_app_data21.BUILD.hydratedClass || import_app_data21.BUILD.hydratedAttribute)) {
|
|
@@ -4433,6 +6168,71 @@ function render(vnode, container) {
|
|
|
4433
6168
|
renderVdom(ref, vnode);
|
|
4434
6169
|
}
|
|
4435
6170
|
|
|
6171
|
+
// src/runtime/tag-transform.ts
|
|
6172
|
+
var tagTransformer = void 0;
|
|
6173
|
+
function transformTag(tag) {
|
|
6174
|
+
if (!tagTransformer) return tag;
|
|
6175
|
+
return tagTransformer(tag);
|
|
6176
|
+
}
|
|
6177
|
+
function setTagTransformer(transformer) {
|
|
6178
|
+
if (tagTransformer) {
|
|
6179
|
+
console.warn(`
|
|
6180
|
+
A tagTransformer has already been set.
|
|
6181
|
+
Overwriting it may lead to error and unexpected results if your components have already been defined.
|
|
6182
|
+
`);
|
|
6183
|
+
}
|
|
6184
|
+
tagTransformer = transformer;
|
|
6185
|
+
}
|
|
6186
|
+
|
|
6187
|
+
// src/runtime/vdom/jsx-dev-runtime.ts
|
|
6188
|
+
function jsxDEV(type, props, key, _isStaticChildren, _source, _self) {
|
|
6189
|
+
const propsObj = props || {};
|
|
6190
|
+
const { children, ...rest } = propsObj;
|
|
6191
|
+
let vnodeData = rest;
|
|
6192
|
+
if (key !== void 0 && !("key" in rest)) {
|
|
6193
|
+
vnodeData = { ...rest, key };
|
|
6194
|
+
}
|
|
6195
|
+
if (vnodeData && Object.keys(vnodeData).length === 0) {
|
|
6196
|
+
vnodeData = null;
|
|
6197
|
+
}
|
|
6198
|
+
if (children !== void 0) {
|
|
6199
|
+
if (Array.isArray(children)) {
|
|
6200
|
+
return h(type, vnodeData, ...children);
|
|
6201
|
+
}
|
|
6202
|
+
if (typeof children === "object" && children !== null && "$flags$" in children) {
|
|
6203
|
+
return h(type, vnodeData, children);
|
|
6204
|
+
}
|
|
6205
|
+
return h(type, vnodeData, children);
|
|
6206
|
+
}
|
|
6207
|
+
return h(type, vnodeData);
|
|
6208
|
+
}
|
|
6209
|
+
|
|
6210
|
+
// src/runtime/vdom/jsx-runtime.ts
|
|
6211
|
+
function jsx(type, props, key) {
|
|
6212
|
+
const propsObj = props || {};
|
|
6213
|
+
const { children, ...rest } = propsObj;
|
|
6214
|
+
let vnodeData = rest;
|
|
6215
|
+
if (key !== void 0 && !("key" in rest)) {
|
|
6216
|
+
vnodeData = { ...rest, key };
|
|
6217
|
+
}
|
|
6218
|
+
if (vnodeData && Object.keys(vnodeData).length === 0) {
|
|
6219
|
+
vnodeData = null;
|
|
6220
|
+
}
|
|
6221
|
+
if (children !== void 0) {
|
|
6222
|
+
if (Array.isArray(children)) {
|
|
6223
|
+
return h(type, vnodeData, ...children);
|
|
6224
|
+
}
|
|
6225
|
+
if (typeof children === "object" && children !== null && "$flags$" in children) {
|
|
6226
|
+
return h(type, vnodeData, children);
|
|
6227
|
+
}
|
|
6228
|
+
return h(type, vnodeData, children);
|
|
6229
|
+
}
|
|
6230
|
+
return h(type, vnodeData);
|
|
6231
|
+
}
|
|
6232
|
+
function jsxs(type, props, key) {
|
|
6233
|
+
return jsx(type, props, key);
|
|
6234
|
+
}
|
|
6235
|
+
|
|
4436
6236
|
// src/runtime/vdom/vdom-annotations.ts
|
|
4437
6237
|
var insertVdomAnnotations = (doc, staticComponents) => {
|
|
4438
6238
|
if (doc != null) {
|
|
@@ -4616,6 +6416,9 @@ var scopedSSR = false;
|
|
|
4616
6416
|
h,
|
|
4617
6417
|
insertVdomAnnotations,
|
|
4618
6418
|
isMemberInElement,
|
|
6419
|
+
jsx,
|
|
6420
|
+
jsxDEV,
|
|
6421
|
+
jsxs,
|
|
4619
6422
|
loadModule,
|
|
4620
6423
|
modeResolutionChain,
|
|
4621
6424
|
needsScopedSSR,
|
|
@@ -4641,6 +6444,7 @@ var scopedSSR = false;
|
|
|
4641
6444
|
setPlatformOptions,
|
|
4642
6445
|
setScopedSSR,
|
|
4643
6446
|
setSupportsShadowDom,
|
|
6447
|
+
setTagTransformer,
|
|
4644
6448
|
setValue,
|
|
4645
6449
|
startAutoApplyChanges,
|
|
4646
6450
|
stopAutoApplyChanges,
|
|
@@ -4649,6 +6453,7 @@ var scopedSSR = false;
|
|
|
4649
6453
|
supportsListenerOptions,
|
|
4650
6454
|
supportsMutableAdoptedStyleSheets,
|
|
4651
6455
|
supportsShadow,
|
|
6456
|
+
transformTag,
|
|
4652
6457
|
win,
|
|
4653
6458
|
writeTask
|
|
4654
6459
|
});
|