@postnord/pn-marketweb-components 1.0.50 → 2.0.2-beta1
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/{index-5d2abef7.js → index-28bbc937.js} +1 -1
- package/cjs/{index-b6e46a26.js → index-e3e27c79.js} +3 -0
- package/cjs/loader.cjs.js +2 -2
- package/cjs/pn-bonus-progressbar-level.cjs.entry.js +1 -1
- package/cjs/pn-bonus-progressbar.cjs.entry.js +1 -1
- package/cjs/pn-choice-button.cjs.entry.js +1 -1
- package/cjs/pn-filter-checkbox.cjs.entry.js +1 -1
- package/cjs/pn-find-price-result.cjs.entry.js +5 -5
- package/cjs/{pn-find-price-store-d1977b2e.js → pn-find-price-store-6aab7fd0.js} +1 -2
- package/cjs/pn-find-price.cjs.entry.js +9 -12
- package/cjs/pn-find-service-and-price-result.cjs.entry.js +3 -3
- package/cjs/{pn-find-service-and-price-store-2d7dd8e3.js → pn-find-service-and-price-store-16a7936c.js} +1 -1
- package/cjs/pn-find-service-and-price.cjs.entry.js +3 -3
- package/cjs/pn-language-selector_9.cjs.entry.js +3 -3
- package/cjs/pn-mainnav-link.cjs.entry.js +3 -3
- package/cjs/{pn-mainnav-store-bbe3a1cf.js → pn-mainnav-store-61a75ea0.js} +1 -1
- package/cjs/pn-market-web-components.cjs.js +2 -2
- package/cjs/pn-marketweb-input.cjs.entry.js +76 -0
- package/cjs/pn-marketweb-search.cjs.entry.js +103 -0
- package/cjs/pn-marketweb-sitefooter.cjs.entry.js +1 -1
- package/cjs/pn-marketweb-siteheader.cjs.entry.js +1 -1
- package/cjs/pn-pex-pricefinder.cjs.entry.js +11 -3
- package/cjs/pn-product-card_3.cjs.entry.js +9 -9
- package/cjs/pn-product-pricelist-result.cjs.entry.js +3 -3
- package/cjs/{pn-product-pricelist-store-c88813f7.js → pn-product-pricelist-store-86310b5a.js} +1 -1
- package/cjs/pn-product-pricelist.cjs.entry.js +4 -4
- package/cjs/pn-product-tile_3.cjs.entry.js +1 -1
- package/cjs/pn-profile-selector-option.cjs.entry.js +1 -1
- package/cjs/pn-profile-selector.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-a753d3d7.js → pn-sidenav-store-d9bd9e00.js} +1 -1
- package/cjs/pn-sidenav.cjs.entry.js +3 -3
- package/cjs/pn-site-footer_2.cjs.entry.js +1 -1
- package/collection/collection-manifest.json +2 -1
- package/collection/components/input/pn-marketweb-input/marketweb-input.stories.js +51 -0
- package/collection/components/input/pn-marketweb-input/pn-marketweb-input.css +156 -0
- package/collection/components/input/pn-marketweb-input/pn-marketweb-input.js +412 -0
- package/collection/components/input/{pn-filter-search/search-field.stories.js → pn-marketweb-search/marketweb-search-field.stories.js} +15 -3
- package/collection/components/input/{pn-filter-search/pn-filter-search.css → pn-marketweb-search/pn-marketweb-search.css} +22 -17
- package/collection/components/input/{pn-filter-search/pn-filter-search.js → pn-marketweb-search/pn-marketweb-search.js} +67 -9
- package/collection/components/widgets/pn-find-price/img/clouds.svg +5 -0
- package/collection/components/widgets/pn-find-price/pn-find-price-result.js +2 -2
- package/collection/components/widgets/pn-find-price/pn-find-price-store.js +0 -1
- package/collection/components/widgets/pn-find-price/pn-find-price-translations.js +1 -6
- package/collection/components/widgets/pn-find-price/pn-find-price.css +17 -4
- package/collection/components/widgets/pn-find-price/pn-find-price.js +4 -3
- package/collection/components/widgets/pn-pex-pricefinder/pn-pex-pricefinder.js +10 -2
- package/collection/components/widgets/pn-product-card/pn-product-card-info.css +6 -7
- package/collection/components/widgets/pn-product-card/pn-product-card-info.js +2 -3
- package/collection/components/widgets/pn-product-card/pn-product-card-price.css +22 -5
- package/collection/components/widgets/pn-product-card/pn-product-card-price.js +1 -1
- package/collection/components/widgets/pn-product-card/pn-product-card.css +88 -30
- package/collection/components/widgets/pn-product-card/pn-product-card.js +1 -1
- package/collection/components/widgets/pn-product-pricelist/pn-product-pricelist.css +1 -0
- package/collection/components/widgets/pn-product-pricelist/pn-product-pricelist.stories.js +1 -1
- package/custom-elements/index.d.ts +12 -6
- package/custom-elements/index.js +201 -91
- package/esm/{index-02847864.js → index-5397620b.js} +4 -1
- package/esm/{index-1978107a.js → index-7b21ecff.js} +1 -1
- package/esm/loader.js +2 -2
- package/esm/pn-bonus-progressbar-level.entry.js +1 -1
- package/esm/pn-bonus-progressbar.entry.js +1 -1
- package/esm/pn-choice-button.entry.js +1 -1
- package/esm/pn-filter-checkbox.entry.js +1 -1
- package/esm/pn-find-price-result.entry.js +5 -5
- package/esm/{pn-find-price-store-b2f18af4.js → pn-find-price-store-3301df0a.js} +1 -2
- package/esm/pn-find-price.entry.js +9 -12
- package/esm/pn-find-service-and-price-result.entry.js +3 -3
- package/esm/{pn-find-service-and-price-store-27464d58.js → pn-find-service-and-price-store-65df46a0.js} +1 -1
- package/esm/pn-find-service-and-price.entry.js +3 -3
- package/esm/pn-language-selector_9.entry.js +3 -3
- package/esm/pn-mainnav-link.entry.js +3 -3
- package/esm/{pn-mainnav-store-5d39e63a.js → pn-mainnav-store-28571e54.js} +1 -1
- package/esm/pn-market-web-components.js +2 -2
- package/esm/pn-marketweb-input.entry.js +72 -0
- package/esm/pn-marketweb-search.entry.js +99 -0
- package/esm/pn-marketweb-sitefooter.entry.js +1 -1
- package/esm/pn-marketweb-siteheader.entry.js +1 -1
- package/esm/pn-pex-pricefinder.entry.js +11 -3
- package/esm/pn-product-card_3.entry.js +9 -9
- package/esm/pn-product-pricelist-result.entry.js +3 -3
- package/esm/{pn-product-pricelist-store-df8749ef.js → pn-product-pricelist-store-2c336043.js} +1 -1
- package/esm/pn-product-pricelist.entry.js +4 -4
- package/esm/pn-product-tile_3.entry.js +1 -1
- package/esm/pn-profile-selector-option.entry.js +1 -1
- package/esm/pn-profile-selector.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-d4bd09c8.js → pn-sidenav-store-50b186d6.js} +1 -1
- package/esm/pn-sidenav.entry.js +3 -3
- package/esm/pn-site-footer_2.entry.js +1 -1
- package/esm-es5/{index-02847864.js → index-5397620b.js} +1 -1
- package/esm-es5/{index-1978107a.js → index-7b21ecff.js} +1 -1
- package/esm-es5/loader.js +1 -1
- package/esm-es5/pn-bonus-progressbar-level.entry.js +1 -1
- package/esm-es5/pn-bonus-progressbar.entry.js +1 -1
- package/esm-es5/pn-choice-button.entry.js +1 -1
- package/esm-es5/pn-filter-checkbox.entry.js +1 -1
- package/esm-es5/pn-find-price-result.entry.js +1 -1
- package/esm-es5/pn-find-price-store-3301df0a.js +1 -0
- package/esm-es5/pn-find-price.entry.js +1 -1
- package/esm-es5/pn-find-service-and-price-result.entry.js +1 -1
- package/esm-es5/{pn-find-service-and-price-store-27464d58.js → pn-find-service-and-price-store-65df46a0.js} +1 -1
- package/esm-es5/pn-find-service-and-price.entry.js +1 -1
- package/esm-es5/pn-language-selector_9.entry.js +1 -1
- package/esm-es5/pn-mainnav-link.entry.js +1 -1
- package/esm-es5/{pn-mainnav-store-5d39e63a.js → pn-mainnav-store-28571e54.js} +1 -1
- package/esm-es5/pn-market-web-components.js +1 -1
- package/esm-es5/pn-marketweb-input.entry.js +1 -0
- package/esm-es5/pn-marketweb-search.entry.js +1 -0
- package/esm-es5/pn-marketweb-sitefooter.entry.js +1 -1
- package/esm-es5/pn-marketweb-siteheader.entry.js +1 -1
- package/esm-es5/pn-pex-pricefinder.entry.js +1 -1
- package/esm-es5/pn-product-card_3.entry.js +1 -1
- package/esm-es5/pn-product-pricelist-result.entry.js +1 -1
- package/esm-es5/{pn-product-pricelist-store-df8749ef.js → pn-product-pricelist-store-2c336043.js} +1 -1
- package/esm-es5/pn-product-pricelist.entry.js +1 -1
- package/esm-es5/pn-product-tile_3.entry.js +1 -1
- package/esm-es5/pn-profile-selector-option.entry.js +1 -1
- package/esm-es5/pn-profile-selector.entry.js +1 -1
- package/esm-es5/pn-sidenav-level.entry.js +1 -1
- package/esm-es5/pn-sidenav-link.entry.js +1 -1
- package/esm-es5/{pn-sidenav-store-d4bd09c8.js → pn-sidenav-store-50b186d6.js} +1 -1
- package/esm-es5/pn-sidenav.entry.js +1 -1
- package/esm-es5/pn-site-footer_2.entry.js +1 -1
- package/package.json +1 -1
- package/pn-market-web-components/{p-0f17a915.system.entry.js → p-01fbbbbc.system.entry.js} +1 -1
- package/pn-market-web-components/{p-3163e45b.system.js → p-02ea55ad.system.js} +1 -1
- package/pn-market-web-components/{p-6926ecdf.entry.js → p-045a349a.entry.js} +1 -1
- package/pn-market-web-components/p-07cc9f6b.system.entry.js +1 -0
- package/pn-market-web-components/{p-2f899d96.js → p-0cacf9fb.js} +1 -1
- package/pn-market-web-components/{p-b99c5d79.entry.js → p-10b95894.entry.js} +1 -1
- package/pn-market-web-components/{p-0e4a8305.system.entry.js → p-13eb4c66.system.entry.js} +1 -1
- package/pn-market-web-components/{p-ad2c41d8.entry.js → p-15112837.entry.js} +1 -1
- package/pn-market-web-components/{p-89907168.system.entry.js → p-1ce871c5.system.entry.js} +1 -1
- package/pn-market-web-components/{p-75654937.entry.js → p-227e1d46.entry.js} +1 -1
- package/pn-market-web-components/{p-3e3fed19.system.entry.js → p-2718b89a.system.entry.js} +1 -1
- package/pn-market-web-components/{p-0a95c2b9.system.entry.js → p-2870b0c5.system.entry.js} +1 -1
- package/pn-market-web-components/p-29d5e118.entry.js +1 -0
- package/pn-market-web-components/p-36654f2a.system.js +1 -0
- package/pn-market-web-components/p-3971ddb9.system.js +1 -0
- package/pn-market-web-components/p-3af9dfc5.system.entry.js +1 -0
- package/pn-market-web-components/{p-8bb99125.system.entry.js → p-401b57b1.system.entry.js} +1 -1
- package/pn-market-web-components/{p-f2ca2961.entry.js → p-40264b65.entry.js} +1 -1
- package/pn-market-web-components/{p-c932f5f5.entry.js → p-51df9292.entry.js} +1 -1
- package/pn-market-web-components/{p-c089e9b5.system.entry.js → p-57cc0679.system.entry.js} +1 -1
- package/pn-market-web-components/p-58e8d7d5.js +1 -0
- package/pn-market-web-components/{p-b0a2b362.entry.js → p-5c41acb2.entry.js} +1 -1
- package/pn-market-web-components/p-5d587499.js +1 -0
- package/pn-market-web-components/{p-8a3c3674.system.entry.js → p-625fb7fb.system.entry.js} +1 -1
- package/pn-market-web-components/p-67887512.system.js +1 -0
- package/pn-market-web-components/{p-465baa55.entry.js → p-715d1ef7.entry.js} +1 -1
- package/pn-market-web-components/p-72195bd8.entry.js +1 -0
- package/pn-market-web-components/{p-bb69b9ff.entry.js → p-774b7a9f.entry.js} +1 -1
- package/pn-market-web-components/{p-b14d20bd.system.entry.js → p-7b93d570.system.entry.js} +1 -1
- package/pn-market-web-components/{p-bc4da3dd.entry.js → p-7d75ea68.entry.js} +1 -1
- package/pn-market-web-components/p-7e494e9d.system.entry.js +1 -0
- package/pn-market-web-components/p-80dce81e.system.entry.js +1 -0
- package/pn-market-web-components/{p-ec78fe82.system.entry.js → p-8144bcbc.system.entry.js} +1 -1
- package/pn-market-web-components/{p-27168bcc.entry.js → p-81d764a0.entry.js} +1 -1
- package/pn-market-web-components/{p-aa625cb0.system.js → p-825b8fb8.system.js} +1 -1
- package/pn-market-web-components/{p-271f42e8.js → p-84699999.js} +1 -1
- package/pn-market-web-components/{p-5629de79.entry.js → p-86b271f4.entry.js} +1 -1
- package/pn-market-web-components/p-86f06e26.js +1 -0
- package/pn-market-web-components/{p-547a9203.system.entry.js → p-885bc8d7.system.entry.js} +1 -1
- package/pn-market-web-components/p-996d8a6a.entry.js +1 -0
- package/pn-market-web-components/p-9e8c5793.system.entry.js +1 -0
- package/pn-market-web-components/p-9edaf6b6.system.entry.js +1 -0
- package/pn-market-web-components/p-a5bc1695.system.js +1 -0
- package/pn-market-web-components/{p-b5fbf807.system.js → p-a5f75560.system.js} +1 -1
- package/pn-market-web-components/{p-fed64b11.entry.js → p-adc639c8.entry.js} +1 -1
- package/pn-market-web-components/{p-aa59101e.system.js → p-add7d76c.system.js} +1 -1
- package/pn-market-web-components/{p-99d6a75c.js → p-ae2bd55f.js} +1 -1
- package/pn-market-web-components/{p-c74ee774.system.entry.js → p-aeb26d10.system.entry.js} +1 -1
- package/pn-market-web-components/{p-d71027bc.entry.js → p-b4f0228c.entry.js} +1 -1
- package/pn-market-web-components/p-bb626ab4.js +1 -0
- package/pn-market-web-components/{p-5cb8ae86.entry.js → p-c0c52dc6.entry.js} +1 -1
- package/pn-market-web-components/{p-415b6c13.entry.js → p-c240b614.entry.js} +1 -1
- package/pn-market-web-components/p-c34db063.entry.js +1 -0
- package/pn-market-web-components/{p-3bef52c8.system.entry.js → p-c418bb48.system.entry.js} +1 -1
- package/pn-market-web-components/{p-07733b06.system.entry.js → p-d46d9b6e.system.entry.js} +1 -1
- package/pn-market-web-components/{p-15a18941.system.entry.js → p-d7776336.system.entry.js} +1 -1
- package/pn-market-web-components/{p-f2307b30.entry.js → p-e056d2c6.entry.js} +1 -1
- package/pn-market-web-components/{p-0c1d92ed.entry.js → p-e474b831.entry.js} +1 -1
- package/pn-market-web-components/p-e5fffc92.entry.js +1 -0
- package/pn-market-web-components/p-e9fe5c54.entry.js +1 -0
- package/pn-market-web-components/{p-df87670c.system.entry.js → p-f4cb2104.system.entry.js} +1 -1
- package/pn-market-web-components/{p-7a14e808.entry.js → p-f774e2cc.entry.js} +1 -1
- package/pn-market-web-components/{p-cf058789.system.entry.js → p-f7b013a7.system.entry.js} +1 -1
- package/pn-market-web-components/{p-8f309dad.system.entry.js → p-fc1083d2.system.entry.js} +1 -1
- package/pn-market-web-components/p-fc6a09e0.system.entry.js +1 -0
- package/pn-market-web-components/pn-market-web-components.esm.js +1 -1
- package/pn-market-web-components/pn-market-web-components.js +1 -1
- package/types/components/input/pn-marketweb-input/pn-marketweb-input.d.ts +32 -0
- package/types/components/input/{pn-filter-search/pn-filter-search.d.ts → pn-marketweb-search/pn-marketweb-search.d.ts} +9 -1
- package/types/components/widgets/pn-find-price/pn-find-price-store.d.ts +0 -2
- package/types/components/widgets/pn-find-price/pn-find-price-translations.d.ts +0 -5
- package/types/components/widgets/pn-find-price/pn-find-price-types.d.ts +0 -1
- package/types/components/widgets/pn-pex-pricefinder/pn-pex-pricefinder.d.ts +1 -0
- package/types/components.d.ts +146 -65
- package/cjs/pn-filter-search.cjs.entry.js +0 -69
- package/esm/pn-filter-search.entry.js +0 -65
- package/esm-es5/pn-filter-search.entry.js +0 -1
- package/esm-es5/pn-find-price-store-b2f18af4.js +0 -1
- package/pn-market-web-components/p-0065e309.system.js +0 -1
- package/pn-market-web-components/p-1662a0e9.system.entry.js +0 -1
- package/pn-market-web-components/p-1663fe37.entry.js +0 -1
- package/pn-market-web-components/p-5ff39f75.system.entry.js +0 -1
- package/pn-market-web-components/p-6855204a.entry.js +0 -1
- package/pn-market-web-components/p-90c11ea0.system.entry.js +0 -1
- package/pn-market-web-components/p-9ae0afa8.js +0 -1
- package/pn-market-web-components/p-9d2ff751.system.entry.js +0 -1
- package/pn-market-web-components/p-a110366f.entry.js +0 -1
- package/pn-market-web-components/p-af1ac826.js +0 -1
- package/pn-market-web-components/p-b429c99d.system.js +0 -1
- package/pn-market-web-components/p-b6769599.entry.js +0 -1
- package/pn-market-web-components/p-b7b78fb0.system.entry.js +0 -1
- package/pn-market-web-components/p-d30c5783.system.entry.js +0 -1
- package/pn-market-web-components/p-d944756c.system.js +0 -1
- package/pn-market-web-components/p-dde0c959.js +0 -1
- package/pn-market-web-components/p-e1a8308e.system.js +0 -1
- package/pn-market-web-components/p-e422ad85.js +0 -1
- package/pn-market-web-components/p-ebc83f89.entry.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
System.register(["./p-b429c99d.system.js"],(function(t){"use strict";var n,o,e,i,s;return{setters:[function(t){n=t.r;o=t.c;e=t.h;i=t.a;s=t.g}],execute:function(){var r=":host{display:-ms-inline-flexbox;display:inline-flex}:host>pn-button{margin-left:0.35em}:host>pn-button button .pn-button-bg{-webkit-transition:width 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.2s, background 0.1s, left 0.2s, -webkit-box-shadow 0.1s, -webkit-transform 0.2s;transition:width 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.2s, background 0.1s, left 0.2s, -webkit-box-shadow 0.1s, -webkit-transform 0.2s;transition:width 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.2s, background 0.1s, box-shadow 0.1s, left 0.2s, transform 0.2s;transition:width 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.2s, background 0.1s, box-shadow 0.1s, left 0.2s, transform 0.2s, -webkit-box-shadow 0.1s, -webkit-transform 0.2s}:host>pn-button[data-loading=true] .pn-button-bg{left:0;-webkit-transform:translateX(0);transform:translateX(0);-webkit-transition:width 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.2s, background 0.1s, -webkit-box-shadow 0.1s;transition:width 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.2s, background 0.1s, -webkit-box-shadow 0.1s;transition:width 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.2s, background 0.1s, box-shadow 0.1s;transition:width 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.2s, background 0.1s, box-shadow 0.1s, -webkit-box-shadow 0.1s}:host>pn-button[data-loading=true] pn-spinner{left:0.75em}:host input{padding:0.75em;min-height:3em;font-size:1em;height:100%;font-weight:500;-webkit-font-smoothing:antialiased;outline:none;border-radius:3em;border:0.1rem solid #5E554A;-webkit-transition:border 0.15s, -webkit-box-shadow 0.15s;transition:border 0.15s, -webkit-box-shadow 0.15s;transition:box-shadow 0.15s, border 0.15s;transition:box-shadow 0.15s, border 0.15s, -webkit-box-shadow 0.15s;color:#000000;width:100%}:host input::-webkit-search-cancel-button{display:none}:host input::-webkit-input-placeholder{color:#969087;font-weight:normal}:host input::-moz-placeholder{color:#969087;font-weight:normal}:host input:-ms-input-placeholder{color:#969087;font-weight:normal}:host input::-ms-input-placeholder{color:#969087;font-weight:normal}:host input::placeholder{color:#969087;font-weight:normal}:host input:focus{border:0.1rem solid #005D92;-webkit-box-shadow:0 0 0 0.2rem #fff, 0 0 0 0.4rem #005D92;box-shadow:0 0 0 0.2rem #fff, 0 0 0 0.4rem #005D92}:host input:hover{border:0.1rem solid #00A0D6}:host input:disabled{background:#F3F2F2;border:none}:host>.input-container{width:100%;position:relative}:host>.input-container .button-container{position:absolute;top:0;right:0;background:transparent;width:3em;height:100%;overflow:hidden;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}:host>.input-container button{position:absolute;left:50%;top:50%;-webkit-transform:translate(100%, -50%);transform:translate(100%, -50%);background:none;border:none;color:#005D92;padding:0.3rem;border-radius:50%;outline:none;-webkit-transition:border 0.1s, background 0.2s, opacity 0.2s, -webkit-box-shadow 0.1s, -webkit-transform cubic-bezier(0.7, 0, 0.3, 1) 0.2s;transition:border 0.1s, background 0.2s, opacity 0.2s, -webkit-box-shadow 0.1s, -webkit-transform cubic-bezier(0.7, 0, 0.3, 1) 0.2s;transition:border 0.1s, background 0.2s, box-shadow 0.1s, transform cubic-bezier(0.7, 0, 0.3, 1) 0.2s, opacity 0.2s;transition:border 0.1s, background 0.2s, box-shadow 0.1s, transform cubic-bezier(0.7, 0, 0.3, 1) 0.2s, opacity 0.2s, -webkit-box-shadow 0.1s, -webkit-transform cubic-bezier(0.7, 0, 0.3, 1) 0.2s;border:0.1rem solid transparent}:host>.input-container button.clear,:host>.input-container button.search{cursor:pointer}:host>.input-container button:focus{-webkit-box-shadow:0 0 0 0.2rem #fff, 0 0 0 0.4rem #005D92;box-shadow:0 0 0 0.2rem #fff, 0 0 0 0.4rem #005D92;background:#8EDDF9}:host>.input-container button:hover{background:#E0F8FF}:host>.input-container button:active{background:#005D92}:host>.input-container button:active pn-icon svg,:host>.input-container button:active pn-icon svg path{fill:white}:host.searching button.search{-webkit-transform:translate(150%, -50%);transform:translate(150%, -50%)}:host.searching button.clear{-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}:host.button-none input,:host.button-icon-inline input{padding-right:3.3em}:host.button-none pn-spinner,:host.button-icon-inline pn-spinner{position:absolute;left:50%;top:50%;-webkit-transform:translate(100%, -50%);transform:translate(100%, -50%);-webkit-transition:-webkit-transform cubic-bezier(0.7, 0, 0.3, 1) 0.2s;transition:-webkit-transform cubic-bezier(0.7, 0, 0.3, 1) 0.2s;transition:transform cubic-bezier(0.7, 0, 0.3, 1) 0.2s;transition:transform cubic-bezier(0.7, 0, 0.3, 1) 0.2s, -webkit-transform cubic-bezier(0.7, 0, 0.3, 1) 0.2s}:host.button-none button.search,:host.button-icon-inline button.search{-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}:host.button-none.loading button,:host.button-icon-inline.loading button{-webkit-transform:translate(100%, -50%);transform:translate(100%, -50%)}:host.button-none.loading pn-spinner,:host.button-icon-inline.loading pn-spinner{-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}:host.button-none.searching button.search{-webkit-transform:translate(100%, -50%);transform:translate(100%, -50%)}:host.button-icon>pn-button[data-loading=true] .pn-button-bg{left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}";var a=t("pn_filter_search",function(){function t(t){n(this,t);this.search=o(this,"search",7);this.update=o(this,"update",7);this.disabled=false;this.placeholder=null;this.inputid=null;this.name=null;this.autocomplete=null;this.value=null;this.label=null;this.loading=false;this.button="";this.light=false}t.prototype.inputHandler=function(){this.update.emit(this.value)};t.prototype.emitSearch=function(t){if(t.type==="click"||t.type==="keydown"&&t.key==="Enter"){t.preventDefault();this.search.emit(this.value)}};t.prototype.setVal=function(t){this.value=t.target.value};t.prototype.clearInput=function(){this.value="";this.update.emit(this.value);this.hostElement.querySelector("input").focus()};t.prototype.getClassNames=function(){var t="";var n=["none","icon","icon-inline"];if(this.value)t+="searching ";if(this.loading)t+="loading ";if(n.includes(this.button))t+="button-".concat(this.button," ");return t};t.prototype.render=function(){var t=this;return e(i,{class:this.getClassNames()},e("div",{class:"input-container"},e("input",{type:"search",value:this.value,id:this.inputid,name:this.name,placeholder:this.placeholder,disabled:this.disabled,autocomplete:this.autocomplete,onKeyDown:function(n){return t.emitSearch(n)},onInput:function(n){return t.setVal(n)}}),e("div",{class:"button-container"},(this.button==="none"||this.button==="icon-inline")&&e("button",{class:"search",tabindex:this.button==="icon-inline"?"0":"-1",onClick:function(n){return t.emitSearch(n)},"aria-label":"search",title:"search"},e("pn-icon",{symbol:"search",color:"blue700"})),this.button!=="icon-inline"&&e("button",{class:"clear","aria-label":"clear",title:"clear search field",tabindex:this.value&&(!this.loading||this.button!=="none")?"0":"-1",onClick:function(){return t.clearInput()}},e("pn-icon",{symbol:"close-small",color:"blue700"})),this.button==="none"||this.button==="icon-inline"&&e("pn-spinner",null))),this.button!=="none"&&this.button!=="icon-inline"&&e("pn-button",{onClick:function(n){return t.emitSearch(n)},loading:this.loading,icon:"search",appearance:this.light?"light":"dark","icon-only":this.button==="icon"},this.label))};Object.defineProperty(t.prototype,"hostElement",{get:function(){return s(this)},enumerable:false,configurable:true});return t}());a.style=r}}}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as n,h as o,a as i,g as s}from"./p-dde0c959.js";let e=class{constructor(o){t(this,o),this.search=n(this,"search",7),this.update=n(this,"update",7),this.disabled=!1,this.placeholder=null,this.inputid=null,this.name=null,this.autocomplete=null,this.value=null,this.label=null,this.loading=!1,this.button="",this.light=!1}inputHandler(){this.update.emit(this.value)}emitSearch(t){("click"===t.type||"keydown"===t.type&&"Enter"===t.key)&&(t.preventDefault(),this.search.emit(this.value))}setVal(t){this.value=t.target.value}clearInput(){this.value="",this.update.emit(this.value),this.hostElement.querySelector("input").focus()}getClassNames(){let t="";return this.value&&(t+="searching "),this.loading&&(t+="loading "),["none","icon","icon-inline"].includes(this.button)&&(t+=`button-${this.button} `),t}render(){return o(i,{class:this.getClassNames()},o("div",{class:"input-container"},o("input",{type:"search",value:this.value,id:this.inputid,name:this.name,placeholder:this.placeholder,disabled:this.disabled,autocomplete:this.autocomplete,onKeyDown:t=>this.emitSearch(t),onInput:t=>this.setVal(t)}),o("div",{class:"button-container"},("none"===this.button||"icon-inline"===this.button)&&o("button",{class:"search",tabindex:"icon-inline"===this.button?"0":"-1",onClick:t=>this.emitSearch(t),"aria-label":"search",title:"search"},o("pn-icon",{symbol:"search",color:"blue700"})),"icon-inline"!==this.button&&o("button",{class:"clear","aria-label":"clear",title:"clear search field",tabindex:!this.value||this.loading&&"none"===this.button?"-1":"0",onClick:()=>this.clearInput()},o("pn-icon",{symbol:"close-small",color:"blue700"})),"none"===this.button||"icon-inline"===this.button&&o("pn-spinner",null))),"none"!==this.button&&"icon-inline"!==this.button&&o("pn-button",{onClick:t=>this.emitSearch(t),loading:this.loading,icon:"search",appearance:this.light?"light":"dark","icon-only":"icon"===this.button},this.label))}get hostElement(){return s(this)}};e.style=":host{display:-ms-inline-flexbox;display:inline-flex}:host>pn-button{margin-left:0.35em}:host>pn-button button .pn-button-bg{-webkit-transition:width 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.2s, background 0.1s, left 0.2s, -webkit-box-shadow 0.1s, -webkit-transform 0.2s;transition:width 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.2s, background 0.1s, left 0.2s, -webkit-box-shadow 0.1s, -webkit-transform 0.2s;transition:width 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.2s, background 0.1s, box-shadow 0.1s, left 0.2s, transform 0.2s;transition:width 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.2s, background 0.1s, box-shadow 0.1s, left 0.2s, transform 0.2s, -webkit-box-shadow 0.1s, -webkit-transform 0.2s}:host>pn-button[data-loading=true] .pn-button-bg{left:0;-webkit-transform:translateX(0);transform:translateX(0);-webkit-transition:width 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.2s, background 0.1s, -webkit-box-shadow 0.1s;transition:width 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.2s, background 0.1s, -webkit-box-shadow 0.1s;transition:width 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.2s, background 0.1s, box-shadow 0.1s;transition:width 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.2s, background 0.1s, box-shadow 0.1s, -webkit-box-shadow 0.1s}:host>pn-button[data-loading=true] pn-spinner{left:0.75em}:host input{padding:0.75em;min-height:3em;font-size:1em;height:100%;font-weight:500;-webkit-font-smoothing:antialiased;outline:none;border-radius:3em;border:0.1rem solid #5E554A;-webkit-transition:border 0.15s, -webkit-box-shadow 0.15s;transition:border 0.15s, -webkit-box-shadow 0.15s;transition:box-shadow 0.15s, border 0.15s;transition:box-shadow 0.15s, border 0.15s, -webkit-box-shadow 0.15s;color:#000000;width:100%}:host input::-webkit-search-cancel-button{display:none}:host input::-webkit-input-placeholder{color:#969087;font-weight:normal}:host input::-moz-placeholder{color:#969087;font-weight:normal}:host input:-ms-input-placeholder{color:#969087;font-weight:normal}:host input::-ms-input-placeholder{color:#969087;font-weight:normal}:host input::placeholder{color:#969087;font-weight:normal}:host input:focus{border:0.1rem solid #005D92;-webkit-box-shadow:0 0 0 0.2rem #fff, 0 0 0 0.4rem #005D92;box-shadow:0 0 0 0.2rem #fff, 0 0 0 0.4rem #005D92}:host input:hover{border:0.1rem solid #00A0D6}:host input:disabled{background:#F3F2F2;border:none}:host>.input-container{width:100%;position:relative}:host>.input-container .button-container{position:absolute;top:0;right:0;background:transparent;width:3em;height:100%;overflow:hidden;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}:host>.input-container button{position:absolute;left:50%;top:50%;-webkit-transform:translate(100%, -50%);transform:translate(100%, -50%);background:none;border:none;color:#005D92;padding:0.3rem;border-radius:50%;outline:none;-webkit-transition:border 0.1s, background 0.2s, opacity 0.2s, -webkit-box-shadow 0.1s, -webkit-transform cubic-bezier(0.7, 0, 0.3, 1) 0.2s;transition:border 0.1s, background 0.2s, opacity 0.2s, -webkit-box-shadow 0.1s, -webkit-transform cubic-bezier(0.7, 0, 0.3, 1) 0.2s;transition:border 0.1s, background 0.2s, box-shadow 0.1s, transform cubic-bezier(0.7, 0, 0.3, 1) 0.2s, opacity 0.2s;transition:border 0.1s, background 0.2s, box-shadow 0.1s, transform cubic-bezier(0.7, 0, 0.3, 1) 0.2s, opacity 0.2s, -webkit-box-shadow 0.1s, -webkit-transform cubic-bezier(0.7, 0, 0.3, 1) 0.2s;border:0.1rem solid transparent}:host>.input-container button.clear,:host>.input-container button.search{cursor:pointer}:host>.input-container button:focus{-webkit-box-shadow:0 0 0 0.2rem #fff, 0 0 0 0.4rem #005D92;box-shadow:0 0 0 0.2rem #fff, 0 0 0 0.4rem #005D92;background:#8EDDF9}:host>.input-container button:hover{background:#E0F8FF}:host>.input-container button:active{background:#005D92}:host>.input-container button:active pn-icon svg,:host>.input-container button:active pn-icon svg path{fill:white}:host.searching button.search{-webkit-transform:translate(150%, -50%);transform:translate(150%, -50%)}:host.searching button.clear{-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}:host.button-none input,:host.button-icon-inline input{padding-right:3.3em}:host.button-none pn-spinner,:host.button-icon-inline pn-spinner{position:absolute;left:50%;top:50%;-webkit-transform:translate(100%, -50%);transform:translate(100%, -50%);-webkit-transition:-webkit-transform cubic-bezier(0.7, 0, 0.3, 1) 0.2s;transition:-webkit-transform cubic-bezier(0.7, 0, 0.3, 1) 0.2s;transition:transform cubic-bezier(0.7, 0, 0.3, 1) 0.2s;transition:transform cubic-bezier(0.7, 0, 0.3, 1) 0.2s, -webkit-transform cubic-bezier(0.7, 0, 0.3, 1) 0.2s}:host.button-none button.search,:host.button-icon-inline button.search{-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}:host.button-none.loading button,:host.button-icon-inline.loading button{-webkit-transform:translate(100%, -50%);transform:translate(100%, -50%)}:host.button-none.loading pn-spinner,:host.button-icon-inline.loading pn-spinner{-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}:host.button-none.searching button.search{-webkit-transform:translate(100%, -50%);transform:translate(100%, -50%)}:host.button-icon>pn-button[data-loading=true] .pn-button-bg{left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}";export{e as pn_filter_search}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{e,f as t}from"./p-dde0c959.js";const s=e=>!("isConnected"in e)||e.isConnected,n=(()=>{let e;return(...t)=>{e&&clearTimeout(e),e=setTimeout((()=>{e=0,(e=>{for(let t of e.keys())e.set(t,e.get(t).filter(s))})(...t)}),2e3)}})(),o=(s,o)=>{const r=((e,t=((e,t)=>e!==t))=>{let s=new Map(Object.entries(null!=e?e:{}));const n={dispose:[],get:[],set:[],reset:[]},o=()=>{s=new Map(Object.entries(null!=e?e:{})),n.reset.forEach((e=>e()))},r=e=>(n.get.forEach((t=>t(e))),s.get(e)),c=(e,o)=>{const r=s.get(e);t(o,r,e)&&(s.set(e,o),n.set.forEach((t=>t(e,o,r))))},u="undefined"==typeof Proxy?{}:new Proxy(e,{get:(e,t)=>r(t),ownKeys:()=>Array.from(s.keys()),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0}),has:(e,t)=>s.has(t),set:(e,t,s)=>(c(t,s),!0)}),p=(e,t)=>(n[e].push(t),()=>{((e,t)=>{const s=e.indexOf(t);s>=0&&(e[s]=e[e.length-1],e.length--)})(n[e],t)});return{state:u,get:r,set:c,on:p,onChange:(t,s)=>{const n=p("set",((e,n)=>{e===t&&s(n)})),o=p("reset",(()=>s(e[t])));return()=>{n(),o()}},use:(...e)=>{const t=e.reduce(((e,t)=>(t.set&&e.push(p("set",t.set)),t.get&&e.push(p("get",t.get)),t.reset&&e.push(p("reset",t.reset)),t.dispose&&e.push(p("dispose",t.dispose)),e)),[]);return()=>t.forEach((e=>e()))},dispose:()=>{n.dispose.forEach((e=>e())),o()},reset:o,forceUpdate:e=>{const t=s.get(e);n.set.forEach((s=>s(e,t,t)))}}})(s,o);return r.use((()=>{if("function"!=typeof e)return{};const s=new Map;return{dispose:()=>s.clear(),get:t=>{const n=e();n&&((e,t,s)=>{const n=e.get(t);n?n.includes(s)||n.push(s):e.set(t,[s])})(s,t,n)},set:e=>{const o=s.get(e);o&&s.set(e,o.filter(t)),n(s)},reset:()=>{s.forEach((e=>e.forEach(t))),n(s)}}})()),r};export{o as c}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var __extends=this&&this.__extends||function(){var e=function(r,t){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var t in r)if(Object.prototype.hasOwnProperty.call(r,t))e[t]=r[t]};return e(r,t)};return function(r,t){if(typeof t!=="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");e(r,t);function n(){this.constructor=r}r.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}();var __awaiter=this&&this.__awaiter||function(e,r,t,n){function a(e){return e instanceof t?e:new t((function(r){r(e)}))}return new(t||(t=Promise))((function(t,i){function s(e){try{o(n.next(e))}catch(r){i(r)}}function l(e){try{o(n["throw"](e))}catch(r){i(r)}}function o(e){e.done?t(e.value):a(e.value).then(s,l)}o((n=n.apply(e,r||[])).next())}))};var __generator=this&&this.__generator||function(e,r){var t={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(e){return function(r){return o([e,r])}}function o(s){if(n)throw new TypeError("Generator is already executing.");while(t)try{if(n=1,a&&(i=s[0]&2?a["return"]:s[0]?a["throw"]||((i=a["return"])&&i.call(a),0):a.next)&&!(i=i.call(a,s[1])).done)return i;if(a=0,i)s=[s[0]&2,i.value];switch(s[0]){case 0:case 1:i=s;break;case 4:t.label++;return{value:s[1],done:false};case 5:t.label++;a=s[1];s=[0];continue;case 7:s=t.ops.pop();t.trys.pop();continue;default:if(!(i=t.trys,i=i.length>0&&i[i.length-1])&&(s[0]===6||s[0]===2)){t=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){t.label=s[1];break}if(s[0]===6&&t.label<i[1]){t.label=i[1];i=s;break}if(i&&t.label<i[2]){t.label=i[2];t.ops.push(s);break}if(i[2])t.ops.pop();t.trys.pop();continue}s=r.call(e,t)}catch(l){s=[6,l];a=0}finally{n=i=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,r,t){if(t||arguments.length===2)for(var n=0,a=r.length,i;n<a;n++){if(i||!(n in r)){if(!i)i=Array.prototype.slice.call(r,0,n);i[n]=r[n]}}return e.concat(i||Array.prototype.slice.call(r))};System.register([],(function(e,r){"use strict";return{execute:function(){var t=this;var n=e("N","pn-market-web-components");var a;var i;var s;var l=false;var o=false;var f=false;var $=false;var u=null;var c=false;var v=e("w",typeof window!=="undefined"?window:{});var d=e("d",v.document||{head:{}});var h=e("H",v.HTMLElement||function(){function e(){}return e}());var p={$flags$:0,$resourcesUrl$:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,r,t,n){return e.addEventListener(r,t,n)},rel:function(e,r,t,n){return e.removeEventListener(r,t,n)},ce:function(e,r){return new CustomEvent(e,r)}};var m=true;var g=e("p",(function(e){return Promise.resolve(e)}));var y=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replace==="function"}catch(e){}return false}();var b=function(e,r,t,n){if(t){t.map((function(t){var n=t[0],a=t[1],i=t[2];var s=N(e,n);var l=w(r,i);var o=R(n);p.ael(s,a,l,o);(r.$rmListeners$=r.$rmListeners$||[]).push((function(){return p.rel(s,a,l,o)}))}))}};var w=function(e,r){return function(t){try{{if(e.$flags$&256){e.$lazyInstance$[r](t)}else{(e.$queuedListeners$=e.$queuedListeners$||[]).push([r,t])}}}catch(n){ze(n)}}};var N=function(e,r){if(r&8)return v;return e};var R=function(e){return(e&2)!==0};var _="{visibility:hidden}.hydrated{visibility:inherit}";var k="http://www.w3.org/1999/xlink";var S=function(e,r){if(r===void 0){r=""}{return function(){return}}};var x=function(e,r){{return function(){return}}};var T=new WeakMap;var C=function(e,r,t){var n=De.get(e);if(y&&t){n=n||new CSSStyleSheet;n.replace(r)}else{n=r}De.set(e,n)};var E=function(e,r,t,n){var a=j(r);var i=De.get(a);e=e.nodeType===11?e:d;if(i){if(typeof i==="string"){e=e.head||e;var s=T.get(e);var l=void 0;if(!s){T.set(e,s=new Set)}if(!s.has(a)){{{l=d.createElement("style");l.innerHTML=i}e.insertBefore(l,e.querySelector("link"))}if(s){s.add(a)}}}else if(!e.adoptedStyleSheets.includes(i)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets,true),[i],false)}}return a};var L=function(e){var r=e.$cmpMeta$;var t=e.$hostElement$;var n=r.$flags$;var a=S("attachStyles",r.$tagName$);var i=E(t.shadowRoot?t.shadowRoot:t.getRootNode(),r);if(n&10){t["s-sc"]=i;t.classList.add(i+"-h")}a()};var j=function(e,r){return"sc-"+e.$tagName$};var A={};var O="http://www.w3.org/2000/svg";var P="http://www.w3.org/1999/xhtml";var M=function(e){return e!=null};var B=function(e){e=typeof e;return e==="object"||e==="function"};var I=e("h",(function(e,r){var t=[];for(var n=2;n<arguments.length;n++){t[n-2]=arguments[n]}var a=null;var i=null;var s=null;var l=false;var o=false;var f=[];var $=function(r){for(var t=0;t<r.length;t++){a=r[t];if(Array.isArray(a)){$(a)}else if(a!=null&&typeof a!=="boolean"){if(l=typeof e!=="function"&&!B(a)){a=String(a)}if(l&&o){f[f.length-1].$text$+=a}else{f.push(l?q(null,a):a)}o=l}}};$(t);if(r){if(r.key){i=r.key}if(r.name){s=r.name}{var u=r.className||r.class;if(u){r.class=typeof u!=="object"?u:Object.keys(u).filter((function(e){return u[e]})).join(" ")}}}if(typeof e==="function"){return e(r===null?{}:r,f,H)}var c=q(e,null);c.$attrs$=r;if(f.length>0){c.$children$=f}{c.$key$=i}{c.$name$=s}return c}));var q=function(e,r){var t={$flags$:0,$tag$:e,$text$:r,$elm$:null,$children$:null};{t.$attrs$=null}{t.$key$=null}{t.$name$=null}return t};var U=e("a",{});var z=function(e){return e&&e.$tag$===U};var H={forEach:function(e,r){return e.map(V).forEach(r)},map:function(e,r){return e.map(V).map(r).map(D)}};var V=function(e){return{vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}};var D=function(e){if(typeof e.vtag==="function"){var r=Object.assign({},e.vattrs);if(e.vkey){r.key=e.vkey}if(e.vname){r.name=e.vname}return I.apply(void 0,__spreadArray([e.vtag,r],e.vchildren||[],false))}var t=q(e.vtag,e.vtext);t.$attrs$=e.vattrs;t.$children$=e.vchildren;t.$key$=e.vkey;t.$name$=e.vname;return t};var W=function(e,r,t,n,a,i){if(t!==n){var s=Ue(e,r);var l=r.toLowerCase();if(r==="class"){var o=e.classList;var f=G(t);var $=G(n);o.remove.apply(o,f.filter((function(e){return e&&!$.includes(e)})));o.add.apply(o,$.filter((function(e){return e&&!f.includes(e)})))}else if(r==="style"){{for(var u in t){if(!n||n[u]==null){if(u.includes("-")){e.style.removeProperty(u)}else{e.style[u]=""}}}}for(var u in n){if(!t||n[u]!==t[u]){if(u.includes("-")){e.style.setProperty(u,n[u])}else{e.style[u]=n[u]}}}}else if(r==="key");else if(r==="ref"){if(n){n(e)}}else if(!s&&r[0]==="o"&&r[1]==="n"){if(r[2]==="-"){r=r.slice(3)}else if(Ue(v,l)){r=l.slice(2)}else{r=l[2]+r.slice(3)}if(t){p.rel(e,r,t,false)}if(n){p.ael(e,r,n,false)}}else{var c=B(n);if((s||c&&n!==null)&&!a){try{if(!e.tagName.includes("-")){var d=n==null?"":n;if(r==="list"){s=false}else if(t==null||e[r]!=d){e[r]=d}}else{e[r]=n}}catch(m){}}var h=false;{if(l!==(l=l.replace(/^xlink\:?/,""))){r=l;h=true}}if(n==null||n===false){if(n!==false||e.getAttribute(r)===""){if(h){e.removeAttributeNS(k,r)}else{e.removeAttribute(r)}}}else if((!s||i&4||a)&&!c){n=n===true?"":n;if(h){e.setAttributeNS(k,r,n)}else{e.setAttribute(r,n)}}}}};var F=/\s/;var G=function(e){return!e?[]:e.split(F)};var J=function(e,r,t,n){var a=r.$elm$.nodeType===11&&r.$elm$.host?r.$elm$.host:r.$elm$;var i=e&&e.$attrs$||A;var s=r.$attrs$||A;{for(n in i){if(!(n in s)){W(a,n,i[n],undefined,t,r.$flags$)}}}for(n in s){W(a,n,i[n],s[n],t,r.$flags$)}};var K=function(e,r,t,n){var o=r.$children$[t];var u=0;var c;var v;var h;if(!l){f=true;if(o.$tag$==="slot"){if(a){n.classList.add(a+"-s")}o.$flags$|=o.$children$?2:1}}if(o.$text$!==null){c=o.$elm$=d.createTextNode(o.$text$)}else if(o.$flags$&1){c=o.$elm$=d.createTextNode("")}else{if(!$){$=o.$tag$==="svg"}c=o.$elm$=d.createElementNS($?O:P,o.$flags$&2?"slot-fb":o.$tag$);if($&&o.$tag$==="foreignObject"){$=false}{J(null,o,$)}if(M(a)&&c["s-si"]!==a){c.classList.add(c["s-si"]=a)}if(o.$children$){for(u=0;u<o.$children$.length;++u){v=K(e,o,u,c);if(v){c.appendChild(v)}}}{if(o.$tag$==="svg"){$=false}else if(c.tagName==="foreignObject"){$=true}}}{c["s-hn"]=s;if(o.$flags$&(2|1)){c["s-sr"]=true;c["s-cr"]=i;c["s-sn"]=o.$name$||"";h=e&&e.$children$&&e.$children$[t];if(h&&h.$tag$===o.$tag$&&e.$elm$){Q(e.$elm$,false)}}}return c};var Q=function(e,r){p.$flags$|=1;var t=e.childNodes;for(var n=t.length-1;n>=0;n--){var a=t[n];if(a["s-hn"]!==s&&a["s-ol"]){te(a).insertBefore(a,re(a));a["s-ol"].remove();a["s-ol"]=undefined;f=true}if(r){Q(a,r)}}p.$flags$&=~1};var X=function(e,r,t,n,a,i){var l=e["s-cr"]&&e["s-cr"].parentNode||e;var o;if(l.shadowRoot&&l.tagName===s){l=l.shadowRoot}for(;a<=i;++a){if(n[a]){o=K(null,t,a,e);if(o){n[a].$elm$=o;l.insertBefore(o,re(r))}}}};var Y=function(e,r,t,n,a){for(;r<=t;++r){if(n=e[r]){a=n.$elm$;oe(n);{o=true;if(a["s-ol"]){a["s-ol"].remove()}else{Q(a,true)}}a.remove()}}};var Z=function(e,r,t,n){var a=0;var i=0;var s=0;var l=0;var o=r.length-1;var f=r[0];var $=r[o];var u=n.length-1;var c=n[0];var v=n[u];var d;var h;while(a<=o&&i<=u){if(f==null){f=r[++a]}else if($==null){$=r[--o]}else if(c==null){c=n[++i]}else if(v==null){v=n[--u]}else if(ee(f,c)){ne(f,c);f=r[++a];c=n[++i]}else if(ee($,v)){ne($,v);$=r[--o];v=n[--u]}else if(ee(f,v)){if(f.$tag$==="slot"||v.$tag$==="slot"){Q(f.$elm$.parentNode,false)}ne(f,v);e.insertBefore(f.$elm$,$.$elm$.nextSibling);f=r[++a];v=n[--u]}else if(ee($,c)){if(f.$tag$==="slot"||v.$tag$==="slot"){Q($.$elm$.parentNode,false)}ne($,c);e.insertBefore($.$elm$,f.$elm$);$=r[--o];c=n[++i]}else{s=-1;{for(l=a;l<=o;++l){if(r[l]&&r[l].$key$!==null&&r[l].$key$===c.$key$){s=l;break}}}if(s>=0){h=r[s];if(h.$tag$!==c.$tag$){d=K(r&&r[i],t,s,e)}else{ne(h,c);r[s]=undefined;d=h.$elm$}c=n[++i]}else{d=K(r&&r[i],t,i,e);c=n[++i]}if(d){{te(f.$elm$).insertBefore(d,re(f.$elm$))}}}}if(a>o){X(e,n[u+1]==null?null:n[u+1].$elm$,t,n,i,u)}else if(i>u){Y(r,a,o)}};var ee=function(e,r){if(e.$tag$===r.$tag$){if(e.$tag$==="slot"){return e.$name$===r.$name$}{return e.$key$===r.$key$}}return false};var re=function(e){return e&&e["s-ol"]||e};var te=function(e){return(e["s-ol"]?e["s-ol"]:e).parentNode};var ne=function(e,r){var t=r.$elm$=e.$elm$;var n=e.$children$;var a=r.$children$;var i=r.$tag$;var s=r.$text$;var l;if(s===null){{$=i==="svg"?true:i==="foreignObject"?false:$}{if(i==="slot");else{J(e,r,$)}}if(n!==null&&a!==null){Z(t,n,r,a)}else if(a!==null){if(e.$text$!==null){t.textContent=""}X(t,null,r,a,0,a.length-1)}else if(n!==null){Y(n,0,n.length-1)}if($&&i==="svg"){$=false}}else if(l=t["s-cr"]){l.parentNode.textContent=s}else if(e.$text$!==s){t.data=s}};var ae=function(e){var r=e.childNodes;var t;var n;var a;var i;var s;var l;for(n=0,a=r.length;n<a;n++){t=r[n];if(t.nodeType===1){if(t["s-sr"]){s=t["s-sn"];t.hidden=false;for(i=0;i<a;i++){l=r[i].nodeType;if(r[i]["s-hn"]!==t["s-hn"]||s!==""){if(l===1&&s===r[i].getAttribute("slot")){t.hidden=true;break}}else{if(l===1||l===3&&r[i].textContent.trim()!==""){t.hidden=true;break}}}}ae(t)}}};var ie=[];var se=function(e){var r;var t;var n;var a;var i;var s;var l=0;var f=e.childNodes;var $=f.length;for(;l<$;l++){r=f[l];if(r["s-sr"]&&(t=r["s-cr"])&&t.parentNode){n=t.parentNode.childNodes;a=r["s-sn"];for(s=n.length-1;s>=0;s--){t=n[s];if(!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==r["s-hn"]){if(le(t,a)){i=ie.find((function(e){return e.$nodeToRelocate$===t}));o=true;t["s-sn"]=t["s-sn"]||a;if(i){i.$slotRefNode$=r}else{ie.push({$slotRefNode$:r,$nodeToRelocate$:t})}if(t["s-sr"]){ie.map((function(e){if(le(e.$nodeToRelocate$,t["s-sn"])){i=ie.find((function(e){return e.$nodeToRelocate$===t}));if(i&&!e.$slotRefNode$){e.$slotRefNode$=i.$slotRefNode$}}}))}}else if(!ie.some((function(e){return e.$nodeToRelocate$===t}))){ie.push({$nodeToRelocate$:t})}}}}if(r.nodeType===1){se(r)}}};var le=function(e,r){if(e.nodeType===1){if(e.getAttribute("slot")===null&&r===""){return true}if(e.getAttribute("slot")===r){return true}return false}if(e["s-sn"]===r){return true}return r===""};var oe=function(e){{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null);e.$children$&&e.$children$.map(oe)}};var fe=function(e,r){var t=e.$hostElement$;var n=e.$cmpMeta$;var $=e.$vnode$||q(null,null);var u=z(r)?r:I(null,null,r);s=t.tagName;if(n.$attrsToReflect$){u.$attrs$=u.$attrs$||{};n.$attrsToReflect$.map((function(e){var r=e[0],n=e[1];return u.$attrs$[n]=t[r]}))}u.$tag$=null;u.$flags$|=4;e.$vnode$=u;u.$elm$=$.$elm$=t.shadowRoot||t;{a=t["s-sc"]}{i=t["s-cr"];l=(n.$flags$&1)!==0;o=false}ne($,u);{p.$flags$|=1;if(f){se(u.$elm$);var c=void 0;var v=void 0;var h=void 0;var m=void 0;var g=void 0;var y=void 0;var b=0;for(;b<ie.length;b++){c=ie[b];v=c.$nodeToRelocate$;if(!v["s-ol"]){h=d.createTextNode("");h["s-nr"]=v;v.parentNode.insertBefore(v["s-ol"]=h,v)}}for(b=0;b<ie.length;b++){c=ie[b];v=c.$nodeToRelocate$;if(c.$slotRefNode$){m=c.$slotRefNode$.parentNode;g=c.$slotRefNode$.nextSibling;h=v["s-ol"];while(h=h.previousSibling){y=h["s-nr"];if(y&&y["s-sn"]===v["s-sn"]&&m===y.parentNode){y=y.nextSibling;if(!y||!y["s-nr"]){g=y;break}}}if(!g&&m!==v.parentNode||v.nextSibling!==g){if(v!==g){if(!v["s-hn"]&&v["s-ol"]){v["s-hn"]=v["s-ol"].parentNode.nodeName}m.insertBefore(v,g)}}}else{if(v.nodeType===1){v.hidden=true}}}}if(o){ae(u.$elm$)}p.$flags$&=~1;ie.length=0}};var $e=e("g",(function(e){return Be(e).$hostElement$}));var ue=e("c",(function(e,r,t){var n=$e(e);return{emit:function(e){return ce(n,r,{bubbles:!!(t&4),composed:!!(t&2),cancelable:!!(t&1),detail:e})}}}));var ce=function(e,r,t){var n=p.ce(r,t);e.dispatchEvent(n);return n};var ve=function(e,r){if(r&&!e.$onRenderResolve$&&r["s-p"]){r["s-p"].push(new Promise((function(r){return e.$onRenderResolve$=r})))}};var de=function(e,r){{e.$flags$|=16}if(e.$flags$&4){e.$flags$|=512;return}ve(e,e.$ancestorComponent$);var t=function(){return he(e,r)};return Xe(t)};var he=function(e,r){var t=S("scheduleUpdate",e.$cmpMeta$.$tagName$);var n=e.$lazyInstance$;var a;if(r){{e.$flags$|=256;if(e.$queuedListeners$){e.$queuedListeners$.map((function(e){var r=e[0],t=e[1];return Ne(n,r,t)}));e.$queuedListeners$=null}}{a=Ne(n,"componentWillLoad")}}t();return Re(a,(function(){return pe(e,n,r)}))};var pe=function(e,r,n){return __awaiter(t,void 0,void 0,(function(){var t,a,i,s,l,o;return __generator(this,(function(f){t=e.$hostElement$;a=S("update",e.$cmpMeta$.$tagName$);i=t["s-rc"];if(n){L(e)}s=S("render",e.$cmpMeta$.$tagName$);{me(e,r)}if(i){i.map((function(e){return e()}));t["s-rc"]=undefined}s();a();{l=t["s-p"];o=function(){return ye(e)};if(l.length===0){o()}else{Promise.all(l).then(o);e.$flags$|=4;l.length=0}}return[2]}))}))};var me=function(e,r,t){try{u=r;r=r.render();{e.$flags$&=~16}{e.$flags$|=2}{{{fe(e,r)}}}}catch(n){ze(n,e.$hostElement$)}u=null;return null};var ge=e("e",(function(){return u}));var ye=function(e){var r=e.$cmpMeta$.$tagName$;var t=e.$hostElement$;var n=S("postUpdate",r);var a=e.$lazyInstance$;var i=e.$ancestorComponent$;{Ne(a,"componentDidRender")}if(!(e.$flags$&64)){e.$flags$|=64;{_e(t)}{Ne(a,"componentDidLoad")}n();{e.$onReadyResolve$(t);if(!i){we()}}}else{{Ne(a,"componentDidUpdate")}n()}{if(e.$onRenderResolve$){e.$onRenderResolve$();e.$onRenderResolve$=undefined}if(e.$flags$&512){Qe((function(){return de(e,false)}))}e.$flags$&=~(4|512)}};var be=e("f",(function(e){{var r=Be(e);var t=r.$hostElement$.isConnected;if(t&&(r.$flags$&(2|16))===2){de(r,false)}return t}}));var we=function(e){{_e(d.documentElement)}Qe((function(){return ce(v,"appload",{detail:{namespace:n}})}))};var Ne=function(e,r,t){if(e&&e[r]){try{return e[r](t)}catch(n){ze(n)}}return undefined};var Re=function(e,r){return e&&e.then?e.then(r):r()};var _e=function(e){return e.classList.add("hydrated")};var ke=function(e,r){if(e!=null&&!B(e)){if(r&4){return e==="false"?false:e===""||!!e}if(r&2){return parseFloat(e)}if(r&1){return String(e)}return e}return e};var Se=function(e,r){return Be(e).$instanceValues$.get(r)};var xe=function(e,r,t,n){var a=Be(e);var i=a.$hostElement$;var s=a.$instanceValues$.get(r);var l=a.$flags$;var o=a.$lazyInstance$;t=ke(t,n.$members$[r][0]);if((!(l&8)||s===undefined)&&t!==s){a.$instanceValues$.set(r,t);if(o){if(n.$watchers$&&l&128){var f=n.$watchers$[r];if(f){f.map((function(e){try{o[e](t,s,r)}catch(n){ze(n,i)}}))}}if((l&(2|16))===2){de(a,false)}}}};var Te=function(e,r,t){if(r.$members$){if(e.watchers){r.$watchers$=e.watchers}var n=Object.entries(r.$members$);var a=e.prototype;n.map((function(e){var n=e[0],i=e[1][0];if(i&31||t&2&&i&32){Object.defineProperty(a,n,{get:function(){return Se(this,n)},set:function(e){xe(this,n,e,r)},configurable:true,enumerable:true})}}));if(t&1){var i=new Map;a.attributeChangedCallback=function(e,r,t){var n=this;p.jmp((function(){var r=i.get(e);if(n.hasOwnProperty(r)){t=n[r];delete n[r]}else if(a.hasOwnProperty(r)&&typeof n[r]==="number"&&n[r]==t){return}n[r]=t===null&&typeof n[r]==="boolean"?false:t}))};e.observedAttributes=n.filter((function(e){var r=e[0],t=e[1];return t[0]&15})).map((function(e){var t=e[0],n=e[1];var a=n[1]||t;i.set(a,t);if(n[0]&512){r.$attrsToReflect$.push([t,a])}return a}))}}return e};var Ce=function(e,r,n,a,i){return __awaiter(t,void 0,void 0,(function(){var e,t,a,s,l,o,f;return __generator(this,(function($){switch($.label){case 0:if(!((r.$flags$&32)===0))return[3,3];r.$flags$|=32;i=Ve(n);if(!i.then)return[3,2];e=x();return[4,i];case 1:i=$.sent();e();$.label=2;case 2:if(!i.isProxied){{n.$watchers$=i.watchers}Te(i,n,2);i.isProxied=true}t=S("createInstance",n.$tagName$);{r.$flags$|=8}try{new i(r)}catch(u){ze(u)}{r.$flags$&=~8}{r.$flags$|=128}t();if(i.style){a=i.style;s=j(n);if(!De.has(s)){l=S("registerStyles",n.$tagName$);C(s,a,!!(n.$flags$&1));l()}}$.label=3;case 3:o=r.$ancestorComponent$;f=function(){return de(r,true)};if(o&&o["s-rc"]){o["s-rc"].push(f)}else{f()}return[2]}}))}))};var Ee=function(e){if((p.$flags$&1)===0){var r=Be(e);var t=r.$cmpMeta$;var n=S("connectedCallback",t.$tagName$);if(!(r.$flags$&1)){r.$flags$|=1;{if(t.$flags$&(4|8)){Le(e)}}{var a=e;while(a=a.parentNode||a.host){if(a["s-p"]){ve(r,r.$ancestorComponent$=a);break}}}if(t.$members$){Object.entries(t.$members$).map((function(r){var t=r[0],n=r[1][0];if(n&31&&e.hasOwnProperty(t)){var a=e[t];delete e[t];e[t]=a}}))}{Ce(e,r,t)}}else{b(e,r,t.$listeners$)}n()}};var Le=function(e){var r=e["s-cr"]=d.createComment("");r["s-cn"]=true;e.insertBefore(r,e.firstChild)};var je=function(e){if((p.$flags$&1)===0){var r=Be(e);{if(r.$rmListeners$){r.$rmListeners$.map((function(e){return e()}));r.$rmListeners$=undefined}}}};var Ae=function(e){var r=e.cloneNode;e.cloneNode=function(e){var t=this;var n=t.shadowRoot&&m;var a=r.call(t,n?e:false);if(!n&&e){var i=0;var s=void 0,l=void 0;var o=["s-id","s-cr","s-lr","s-rc","s-sc","s-p","s-cn","s-sr","s-sn","s-hn","s-ol","s-nr","s-si"];for(;i<t.childNodes.length;i++){s=t.childNodes[i]["s-nr"];l=o.every((function(e){return!t.childNodes[i][e]}));if(s){{a.appendChild(s.cloneNode(true))}}if(l){a.appendChild(t.childNodes[i].cloneNode(true))}}}return a}};var Oe=function(e,r){var t=function(e){__extends(r,e);function r(){return e!==null&&e.apply(this,arguments)||this}r.prototype.item=function(e){return this[e]};return r}(Array);if(r.$flags$&8){var n=e.__lookupGetter__("childNodes");Object.defineProperty(e,"children",{get:function(){return this.childNodes.map((function(e){return e.nodeType===1}))}});Object.defineProperty(e,"childElementCount",{get:function(){return e.children.length}});Object.defineProperty(e,"childNodes",{get:function(){var e=n.call(this);if((p.$flags$&1)===0&&Be(this).$flags$&2){var r=new t;for(var a=0;a<e.length;a++){var i=e[a]["s-nr"];if(i){r.push(i)}}return r}return t.from(e)}})}};var Pe=e("b",(function(e,r){if(r===void 0){r={}}var t=S();var n=[];var a=r.exclude||[];var i=v.customElements;var s=d.head;var l=s.querySelector("meta[charset]");var o=d.createElement("style");var f=[];var $;var u=true;Object.assign(p,r);p.$resourcesUrl$=new URL(r.resourcesUrl||"./",d.baseURI).href;e.map((function(e){e[1].map((function(r){var t={$flags$:r[0],$tagName$:r[1],$members$:r[2],$listeners$:r[3]};{t.$members$=r[2]}{t.$listeners$=r[3]}{t.$attrsToReflect$=[]}{t.$watchers$={}}var s=t.$tagName$;var l=function(e){__extends(r,e);function r(r){var n=e.call(this,r)||this;r=n;qe(r,t);if(t.$flags$&1){{{r.attachShadow({mode:"open"})}}}{Oe(r,t)}return n}r.prototype.connectedCallback=function(){var e=this;if($){clearTimeout($);$=null}if(u){f.push(this)}else{p.jmp((function(){return Ee(e)}))}};r.prototype.disconnectedCallback=function(){var e=this;p.jmp((function(){return je(e)}))};r.prototype.componentOnReady=function(){return Be(this).$onReadyPromise$};return r}(HTMLElement);{Ae(l.prototype)}t.$lazyBundleId$=e[0];if(!a.includes(s)&&!i.get(s)){n.push(s);i.define(s,Te(l,t,1))}}))}));{o.innerHTML=n+_;o.setAttribute("data-styles","");s.insertBefore(o,l?l.nextSibling:s.firstChild)}u=false;if(f.length){f.map((function(e){return e.connectedCallback()}))}else{{p.jmp((function(){return $=setTimeout(we,30)}))}}t()}));var Me=new WeakMap;var Be=function(e){return Me.get(e)};var Ie=e("r",(function(e,r){return Me.set(r.$lazyInstance$=e,r)}));var qe=function(e,r){var t={$flags$:0,$hostElement$:e,$cmpMeta$:r,$instanceValues$:new Map};{t.$onReadyPromise$=new Promise((function(e){return t.$onReadyResolve$=e}));e["s-p"]=[];e["s-rc"]=[]}b(e,t,r.$listeners$);return Me.set(e,t)};var Ue=function(e,r){return r in e};var ze=function(e,r){return(0,console.error)(e,r)};var He=new Map;var Ve=function(e,t,n){var a=e.$tagName$.replace(/-/g,"_");var i=e.$lazyBundleId$;var s=He.get(i);if(s){return s[a]}return r.import("./".concat(i,".entry.js").concat("")).then((function(e){{He.set(i,e)}return e[a]}),ze)};var De=new Map;var We=[];var Fe=[];var Ge=function(e,r){return function(t){e.push(t);if(!c){c=true;if(r&&p.$flags$&4){Qe(Ke)}else{p.raf(Ke)}}}};var Je=function(e){for(var r=0;r<e.length;r++){try{e[r](performance.now())}catch(t){ze(t)}}e.length=0};var Ke=function(){Je(We);{Je(Fe);if(c=We.length>0){p.raf(Ke)}}};var Qe=function(e){return g().then(e)};var Xe=Ge(Fe,true)}}}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as M,h as I}from"./p-dde0c959.js";import{c as N}from"./p-9adc3940.js";import{s as i}from"./p-9ae0afa8.js";import"./p-af1ac826.js";const D={sv:{componentheading:"Våra priser och villkor för inrikesförsändelser för dig som direktbetalande kund?",deliveryscopeheading:"Endast leveranser inom Sverige",sizeheading:"Uppskatta storlek och vikt på din försändelse",resultlistheading:"Några bra alternativ för dig",weightlabel:"Vikt",maxweightlabel:"Maxvikt",maxmeasurementlabel:"Maxvolym",senddirectcta:"Köp portokod online",stampshopcta:"Beställ fysiska frimärken",message:"*Vid köp hos valfritt ombud",servicePointHeader:"Eller hitta närmaste serviceställe",servicePointLink:"Sök brevlåda eller serviceställe"},en:{componentheading:"Our prices and terms and conditions for domestic shipments for you as a direct paying customer",deliveryscopeheading:"Deliveries within Sweden only",sizeheading:"Estimate the size and weight of your shipment",resultlistheading:"Some suitable options for you",weightlabel:"Weight",maxweightlabel:"Max weight",maxmeasurementlabel:"Maximum measurement",senddirectcta:"Buy postcode online",stampshopcta:"Order physical stamps",message:"When buying from any agent",servicePointHeader:"Or find nearest service point",servicePointLink:"Search letter-box or service point"},da:{componentheading:"Vad vill du skicka?",deliveryscopeheading:"Kun leveringer indenfor Sverige",sizeheading:"How much does it weigh?",resultlistheading:"Some suitable options for you",weightlabel:"Vægt",maxweightlabel:"Max vægt",maxmeasurementlabel:"Maks. Volumen",senddirectcta:"Buy shipping in Send Direct",stampshopcta:"Order home stamps from the webshop"},no:{componentheading:"Vad vill du skicka?",deliveryscopeheading:"Kun leveranser innen Sverige",sizeheading:"How much does it weigh?",resultlistheading:"Some suitable options for you",weightlabel:"Vekt",maxweightlabel:"Maks vekt",maxmeasurementlabel:"Maks volum",senddirectcta:"Buy shipping in Send Direct",stampshopcta:"Order home stamps from the webshop"},fi:{componentheading:"Vad vill du skicka?",deliveryscopeheading:"Toimitukset vain Ruotsin sisällä",sizeheading:"How much does it weigh?",resultlistheading:"Some suitable options for you",weightlabel:"Paino",maxweightlabel:"Max paino",maxmeasurementlabel:"Max äänenvoimakkuus",senddirectcta:"Buy shipping in Send Direct",stampshopcta:"Order home stamps from the webshop"}},j={se:{currency:"kr"},dk:{currency:"dk"},fi:{currency:" €"},no:{currency:"kr"}},g=[{name:"Small",value:"Small",illustration:"eli1n",unit:"small",maxWeight:2,img:"./small-package.svg"},{name:"Medium",value:"Medium",illustration:"medium-package",unit:"medium",maxWeight:5,img:"./medium-package.svg"},{name:"Large",value:"Large",illustration:"large-package",unit:"large",maxWeight:20,img:"./large-package.svg"}],z={small:[{name:"50 g",abbreviation:"g",value:50},{name:"100 g",abbreviation:"g",value:100},{name:"250 g",abbreviation:"g",value:250},{name:"500 g",abbreviation:"g",value:500},{name:"1 kg",abbreviation:"kg",value:1},{name:"2 kg",abbreviation:"kg",value:2}],medium:[{name:"1 kg",abbreviation:"kg",value:1},{name:"2 kg",abbreviation:"kg",value:2},{name:"3 kg",abbreviation:"kg",value:3},{name:"5 kg",abbreviation:"kg",value:5},{name:"10 kg",abbreviation:"kg",value:10},{name:"15 kg",abbreviation:"kg",value:15},{name:"20 kg",abbreviation:"kg",value:20}],large:[{name:"3 kg",abbreviation:"kg",value:3},{name:"5 kg",abbreviation:"kg",value:5},{name:"10 kg",abbreviation:"kg",value:10},{name:"15 kg",abbreviation:"kg",value:15},{name:"20 kg",abbreviation:"kg",value:20}]};let T=class{constructor(I){M(this,I),this.source="https://com-integration.postnord.com/globalassets/global/prices/sv-findprice-first.xlsx",this.language="sv",this.market="se",this.filteredItems=[],this.weight={value:0,name:""},this.weightvalue=0,this.sourceData={types:[],data:[]},this.sizecategory={value:"",name:"",icon:"",unit:""}}componentWillLoad(){this.setState(),this.getDataSource()}async getDataSource(){const M=`?cache=${Math.floor(9999*Math.random()+1)}`,I=await fetch(this.source+M),i=await I.blob();try{const M=await N(i);this.sourceData=M,this.sizecategory=g.filter((M=>"Small"===M.value))[0],this.filterItems()}catch(D){console.log("Unable to parse data")}}setState(){this.market&&(i.market=j[this.market]),this.language&&D[this.language]&&(i.i18n=D[this.language])}filterItems(){var M;if(!(null===(M=this.sourceData)||void 0===M?void 0:M.data))return void console.log("Data has not yet been loaded");const I=this.sourceData.data.filter((M=>"sweden"===M.deliveryscope.toLocaleLowerCase()));if(!this.sizecategory)return;const N=I.filter((M=>M.sizecategory.toLocaleLowerCase()===this.sizecategory.value.toLocaleLowerCase()));if(!this.weight)return;const i=this.weight.value<=20?1e3*this.weight.value:this.weight.value;let D=N.filter((M=>(M.maxweight<=20?1e3*M.maxweight:M.maxweight)===i));if(0===D.length&&0!==this.weightvalue&&(D=N.filter((M=>(M.maxweight<=20?1e3*M.maxweight:M.maxweight)>=i)),D.length>0)){D.sort(((M,I)=>M.maxweight-I.maxweight));const M=[...new Map(D.reverse().map((M=>[M.id,M]))).values()];M.length>0&&(D=M)}D.sort(((M,I)=>{var N=M.highestrankusp?M.highestrankusp.toLowerCase():"z",i=I.highestrankusp?I.highestrankusp.toLowerCase():"z";return N.localeCompare(i)})),this.filteredItems=D}render(){return I("div",{class:"findprice-form"},I("div",null,I("div",{class:"sizeheading"},i.i18n.sizeheading),I("div",{class:"sizecategory"},I("table",{class:"sizeTable"},I("tr",null,I("td",null,I("img",{class:"firstCell",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTA0IiBoZWlnaHQ9IjE2MiIgdmlld0JveD0iMCAwIDEwNCAxNjIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0yOS4wMDE2IDE0My4zOTlIMTkuNjAxNlYxNTIuMTk5SDI5LjAwMTZWMTQzLjM5OVoiIGZpbGw9IiM5OTI5MEEiLz4KPHBhdGggZD0iTTE5LjYgMTUyLjJMMTcgMTU5SDMyTDI4LjkgMTUwLjNMMTkuNiAxNTIuMloiIGZpbGw9IiMwRDIzNEIiLz4KPHBhdGggZD0iTTQ5LjEgMTQ3LjVIMzlWMTU0LjhINDkuMVYxNDcuNVoiIGZpbGw9IiM5OTI5MEEiLz4KPHBhdGggZD0iTTM5IDE1Mi45VjE1OS4ySDY1LjVMNDkuMSAxNTEuNVYxNDkuM0wzOSAxNTIuOVoiIGZpbGw9IiMwRDIzNEIiLz4KPHBhdGggZD0iTTY1LjUgMTU5LjE5OUgzOVYxNjEuNzk5SDY1LjVWMTU5LjE5OVoiIGZpbGw9IndoaXRlIi8+CjxwYXRoIGQ9Ik00NC41MDE2IDE1Ny4xQzQ1LjU1MDkgMTU3LjEgNDYuNDAxNiAxNTYuMjQ5IDQ2LjQwMTYgMTU1LjJDNDYuNDAxNiAxNTQuMTUgNDUuNTUwOSAxNTMuMyA0NC41MDE2IDE1My4zQzQzLjQ1MjIgMTUzLjMgNDIuNjAxNiAxNTQuMTUgNDIuNjAxNiAxNTUuMkM0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jggMy41OTM4MiAzMi40OTU1IDMuNTkzODJaIiBmaWxsPSIjMEQyMzRCIi8+CjxwYXRoIGQ9Ik03MC40OTE3IDY1LjcwNEg1LjgxMDU1VjY3LjIwNDFINzAuNDkxN1Y2NS43MDRaIiBmaWxsPSIjMEQyMzRCIi8+Cjwvc3ZnPgo="}))),I("tr",null,I("td",null),g.map((M=>I("td",null,I("pn-radio-button",{radioid:M.value,value:M.value,name:"sizecategory",checked:M.value===this.sizecategory.value,onChange:()=>{this.sizecategory=g.filter((I=>I.value===M.value))[0],this.weight={value:0,name:""},this.weightvalue=this.weight.value}})))))))),this.sizecategory.value&&z[this.sizecategory.unit]?I("div",{class:"weightoption"},I("div",{class:"weightoption-content"},z[this.sizecategory.unit].map((M=>I("pn-choice-button",{choiceid:this.sizecategory.value+M.value,name:"weight",type:"radio",value:this.weight.value?z[this.sizecategory.unit].findIndex((M=>M.value===this.weightvalue)):0,checked:M.value===this.weight.value,onChange:()=>{this.weight=z[this.sizecategory.unit].filter((I=>I.value===M.value))[0],this.weightvalue=this.weight.value}},M.name))))):null,this.filteredItems&&this.filteredItems.length>0?I("div",{class:"resultlist"},i.i18n.resultlistheading?I("div",{class:"resultHeading"},i.i18n.resultlistheading):null,this.filteredItems.map((M=>I("div",null,I("pn-find-price-result",{item:M})))),I("div",{class:"servicePoint"},I("pn-illustration",{illustration:"character-box-letters-house"}),I("h3",null,i.i18n.servicePointHeader),I("a",{href:"https://www.postnord.se/vara-verktyg/sok-brevlada-eller-servicestalle",target:"_blank"},i.i18n.servicePointLink,I("pn-icon",{symbol:"map-marker",color:"blue700"})))):null)}static get watchers(){return{market:["setState"],language:["setState"],sizecategory:["filterItems"],weightvalue:["filterItems"]}}};T.style='@charset "UTF-8";pn-find-price .sizeTable{border-style:none !important;border:0 !important}pn-find-price .sizeTable>tr td{margin-bottom:1em;text-align:center;vertical-align:bottom;padding-right:1em}pn-find-price .firstCell{margin-right:0;margin-left:auto}pn-find-price .findprice-form{max-width:60em;margin:0 auto 3em auto}pn-find-price h2,pn-find-price .heading,pn-find-price .resultHeading{text-align:center;font-size:1.5em;line-height:1.1;font-weight:bold;margin-bottom:1rem}pn-find-price .sizeheading{text-align:center;font-size:1.25em;line-height:1.1;font-weight:bold;margin-bottom:1rem}pn-find-price .sizecategory{margin-top:5em;margin-bottom:3rem;font-size:0.9em;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}pn-find-price .weightoption{font-size:0.9em;max-width:41rem;margin:0 auto}pn-find-price .weightoption-content{text-align:center}pn-find-price .weightoption-content pn-choice-button{width:7em;line-height:3.3em;font-size:0.9em;vertical-align:bottom}pn-find-price .weightoption-content pn-choice-button>label{-ms-flex-line-pack:center;align-content:center;-ms-flex-pack:center;justify-content:center}pn-find-price .weightoption-content pn-choice-button ::before{content:"Max ";font-weight:lighter}pn-find-price .resultlist{margin:3em 0}pn-find-price .servicePoint{text-align:center}pn-find-price .servicePoint pn-illustration{display:block;max-width:5em;max-height:5em;margin:1.5em auto 0 auto}pn-find-price .servicePoint h3{margin-top:1.8em;margin-bottom:0.9em}pn-find-price .servicePoint a{color:#005D92}';export{T as pn_find_price}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
System.register(["./p-b429c99d.system.js"],(function(t){"use strict";var e,n,i;return{setters:[function(t){e=t.r;n=t.h;i=t.a}],execute:function(){var l="pn-product-card{margin-bottom:1em;border:0.1rem solid #D3CECB;outline:none;background:#FFFFFF;-webkit-box-shadow:0px 0.6px 1.8px rgba(0, 0, 0, 0.1), 0px 3.2px 7.2px rgba(0, 0, 0, 0.13);box-shadow:0px 0.6px 1.8px rgba(0, 0, 0, 0.1), 0px 3.2px 7.2px rgba(0, 0, 0, 0.13);display:-ms-flexbox;display:flex;padding:1.5em;word-break:break-word;text-decoration:none;border-radius:0.8rem}pn-product-card [slot=title]{display:-ms-flexbox;display:flex;width:100%;margin-bottom:0.5em}pn-product-card [slot=title]>[slot=Biligast]{color:#005E41;background:#DCF6E7;border-radius:0.37em;width:6.3em;height:2em;margin-left:1.5em;font-weight:normal;font-size:0.75em;text-align:center;vertical-align:bottom;padding-top:0.25em}pn-product-card [slot=title]>[slot=Biligast] pn-icon{vertical-align:middle;margin-left:0.6em}pn-product-card [slot=title]>[slot=Snabbast]{background:#E0F8FF;color:#005D92;border-radius:0.37em;width:7em;height:2em;margin-left:1.5em;font-weight:normal;font-size:0.75em;text-align:center;vertical-align:bottom;padding-top:0.25em}pn-product-card [slot=title]>[slot=Snabbast] pn-icon{vertical-align:middle;margin-left:0.6em}pn-product-card [slot=note]{margin-top:1em;margin-bottom:1em}pn-product-card [slot=additionalUSP]{display:-ms-flexbox;display:flex}pn-product-card [slot=additionalUSP] :first-child{margin-left:0em}pn-product-card [slot=additionalUSP] span{margin-left:1em;background:#D3CECB;color:#2D2013;border-radius:0.25em;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding:0.3em;margin-top:0.5em;font-size:0.75em}pn-product-card>pn-illustration{min-width:8rem;width:8rem;height:8rem;margin-right:3rem;-ms-flex-item-align:center;align-self:center}pn-product-card .cardcontent{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:center;justify-content:center;-ms-flex-positive:1;flex-grow:1}pn-product-card [slot=cardprice]{display:block;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:end;align-items:flex-end;-ms-flex-pack:center;justify-content:center;-ms-flex-positive:1;flex-grow:1}pn-product-card .details{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;width:100%}pn-product-card .info{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-positive:1;flex-grow:1;-ms-flex-flow:wrap;flex-flow:wrap;padding:0 1em 0 0}pn-product-card .info>*{min-width:6em;margin:0.5em 2em 0.5em 0}";var r=t("pn_product_card",function(){function t(t){e(this,t)}t.prototype.render=function(){return n(i,null,n("slot",{name:"illustration"}),n("div",{class:"cardcontent"},n("div",{class:"details"},n("slot",{name:"title"}),n("slot",{name:"content"}),n("div",{class:"info"},n("slot",null)),n("slot",{name:"note"}),n("slot",{name:"additionalUSP"})),n("div",null,n("slot",{name:"cardprice"}))))};return t}());r.style=l;var o='pn-product-card-info{-ms-flex-item-align:center;align-self:center}.cardinfocontent{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-positive:1;flex-grow:1;font-size:0.875em}.cardinfocontent>div p{margin:0.25em 0.25em 0 0}.cardinfocontent #sp{width:5em}[slot=formatPre]{font-family:"PostNordSans", "Verdana";margin:0.5em 3em 0 0}[slot=formatPre]>strong{font-weight:bold}.cardinfoprice{display:-ms-flexbox;display:flex;font-size:1em;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:center;justify-content:center;-ms-flex-positive:1;flex-grow:1}';var a=t("pn_product_card_info",function(){function t(t){e(this,t)}t.prototype.render=function(){return this.label?n(i,null,n("div",{class:"cardinfocontent"},this.text?n("pre",{slot:"formatPre"},this.text):null)):n(i,null,n("div",{class:"cardinfocontent"},n("div",null,n("strong",null,"Paket:"),this.paket.split("/").map((function(t){return t.split(":").length>0?n("p",null,n("strong",null,t.split(":")[0]+": ")," ",t.split(":")[1]):n("p",null,t)}))),n("div",{id:"sp"}),this.rulle?n("div",null,n("strong",null,"Rulle:"),this.rulle.split("/").map((function(t){return t.split(":").length>0?n("p",null,n("strong",null,t.split(":")[0]+": ")," ",t.split(":")[1]):n("p",null,t)}))):null))};return t}());n("pn-icon",{symbol:"align-center",small:"false",color:"black"});a.style=o;var c="pn-product-card-price{margin-top:1em;white-space:nowrap;text-align:center}pn-product-card-price span:last-child{display:inline-block;margin-left:0.2em}pn-product-card-price+pn-product-card-price{margin-right:0}pn-product-card-price pn-icon{display:inline-block;-ms-flex-item-align:center;align-self:center}pn-product-card-price pn-button{width:12.8em;margin-bottom:1em;margin-top:0.5em;font-size:1.25}pn-product-card-price p{font-weight:lighter;font-size:0.875em;-ms-flex-item-align:center;align-self:center;margin-top:0.5em}pn-product-card-price a{text-decoration:none;color:#005D92}pn-product-card-price a h3{text-decoration:underline}";var s=t("pn_product_card_price",function(){function t(t){e(this,t)}t.prototype.render=function(){if(!this.amount){return}return this.url?n(i,null,n("h3",null,this.amount?n("span",null,this.amount):null,this.currency?n("span",null," "+this.currency):null),this.note?n("p",null,this.note):null,this.label?n("pn-button",{small:"true",icon:"arrow-right",appearance:"secondary",href:this.url,target:"_blank",id:this.service.split(" ").join("-").toLocaleLowerCase()},this.label):null):n(i,null,n("h3",null,this.amount?n("span",null,this.amount):null,this.currency?n("span",null,this.currency):null))};return t}());s.style=c}}}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(e,t,i,a){function n(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,r){function s(e){try{l(a.next(e))}catch(t){r(t)}}function o(e){try{l(a["throw"](e))}catch(t){r(t)}}function l(e){e.done?i(e.value):n(e.value).then(s,o)}l((a=a.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},a,n,r,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(e){return function(t){return l([e,t])}}function l(s){if(a)throw new TypeError("Generator is already executing.");while(i)try{if(a=1,n&&(r=s[0]&2?n["return"]:s[0]?n["throw"]||((r=n["return"])&&r.call(n),0):n.next)&&!(r=r.call(n,s[1])).done)return r;if(n=0,r)s=[s[0]&2,r.value];switch(s[0]){case 0:case 1:r=s;break;case 4:i.label++;return{value:s[1],done:false};case 5:i.label++;n=s[1];s=[0];continue;case 7:s=i.ops.pop();i.trys.pop();continue;default:if(!(r=i.trys,r=r.length>0&&r[r.length-1])&&(s[0]===6||s[0]===2)){i=0;continue}if(s[0]===3&&(!r||s[1]>r[0]&&s[1]<r[3])){i.label=s[1];break}if(s[0]===6&&i.label<r[1]){i.label=r[1];r=s;break}if(r&&i.label<r[2]){i.label=r[2];i.ops.push(s);break}if(r[2])i.ops.pop();i.trys.pop();continue}s=t.call(e,i)}catch(o){s=[6,o];n=0}finally{a=r=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t,i){if(i||arguments.length===2)for(var a=0,n=t.length,r;a<n;a++){if(r||!(a in t)){if(!r)r=Array.prototype.slice.call(t,0,a);r[a]=t[a]}}return e.concat(r||Array.prototype.slice.call(t))};System.register(["./p-b429c99d.system.js","./p-0ea97ca0.system.js","./p-0065e309.system.js","./p-aa625cb0.system.js"],(function(e){"use strict";var t,i,a,n,r;return{setters:[function(e){t=e.r;i=e.h;a=e.a},function(e){n=e.a},function(e){r=e.s},function(){}],execute:function(){var s={sv:{maxweightlabel:"Maxvikt",weightlabel:"Vikt",maxmeasurementlabel:"Maxvolym",sizeheading:"Hur mycket väger det?",senddirectcta:"Köp frakt via Skicka Direkt",stampshopcta:"Köp frimärken via vår webshop"},en:{maxweightlabel:"Max weight",weightlabel:"Weight",maxmeasurementlabel:"Maximum measurement",sizeheading:"How much does it weigh?",senddirectcta:"Buy shipping in Send Direct",stampshopcta:"Order home stamps from the webshop"},da:{maxweightlabel:"Max vægt",weightlabel:"Vægt",maxmeasurementlabel:"Maks. Volumen",sizeheading:"How much does it weigh?",senddirectcta:"Buy shipping in Send Direct",stampshopcta:"Order home stamps from the webshop"},no:{maxweightlabel:"Maks vekt",weightlabel:"Vekt",maxmeasurementlabel:"Maks volum",sizeheading:"How much does it weigh?",senddirectcta:"Buy shipping in Send Direct",stampshopcta:"Order home stamps from the webshop"},fi:{maxweightlabel:"Max paino",weightlabel:"Piano",maxmeasurementlabel:"Max äänenvoimakkuus",sizeheading:"How much does it weigh?",senddirectcta:"Buy shipping in Send Direct",stampshopcta:"Order home stamps from the webshop"}};var o={se:{currency:"kr"},dk:{currency:"dk"},fi:{currency:" €"},no:{currency:"kr"}};var l={letter:[{name:"50g",abbreviation:"g",value:50},{name:"100g",abbreviation:"g",value:100},{name:"250g",abbreviation:"g",value:250},{name:"500g",abbreviation:"g",value:500},{name:"1kg",abbreviation:"kg",value:1},{name:"2kg",abbreviation:"kg",value:2}],parcel:[{name:"1kg",abbreviation:"kg",value:1},{name:"2kg",abbreviation:"kg",value:2},{name:"3kg",abbreviation:"kg",value:3},{name:"4kg",abbreviation:"kg",value:4},{name:"5kg",abbreviation:"kg",value:5},{name:"6kg",abbreviation:"kg",value:6},{name:"7Kg",abbreviation:"kg",value:7},{name:"8kg",abbreviation:"kg",value:8},{name:"9kg",abbreviation:"kg",value:9},{name:"10kg",abbreviation:"kg",value:10},{name:"11kg",abbreviation:"kg",value:11},{name:"12kg",abbreviation:"kg",value:12},{name:"13kg",abbreviation:"kg",value:13},{name:"14kg",abbreviation:"kg",value:14},{name:"15kg",abbreviation:"kg",value:15},{name:"16kg",abbreviation:"kg",value:16},{name:"17kg",abbreviation:"kg",value:17},{name:"18kg",abbreviation:"kg",value:18},{name:"20kg",abbreviation:"kg",value:20}]};var u='pn-product-pricelist pn-spinner{margin:1em auto}pn-product-pricelist h2,pn-product-pricelist .heading{text-align:center;font-size:1.5em;line-height:1.1;font-weight:bold;margin-bottom:1rem}pn-product-pricelist .content,pn-product-pricelist .weightselection{max-width:50em;margin:0 auto 1em}pn-product-pricelist .weightoption{display:-ms-flexbox;display:flex;gap:1em}pn-product-pricelist .weightoption-input{width:5em;position:relative}pn-product-pricelist .weightoption-input input::-webkit-outer-spin-button,pn-product-pricelist .weightoption-input input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}pn-product-pricelist .weightoption-input-abbreviation{position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);right:1.2em;margin-top:1.55rem;font-weight:500}pn-product-pricelist .weightoption-range{-ms-flex-positive:1;flex-grow:1;-ms-flex-item-align:end;align-self:flex-end;position:relative;top:0.5em}pn-product-pricelist .weightoption-range input{width:calc(100% - 1.5em)}pn-product-pricelist .weightoption-range datalist{width:100%;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;font-size:0.75em}pn-product-pricelist .resultlist:not([data-list-count="0"]){margin-top:2em}';var p=e("pn_product_pricelist",function(){function e(e){t(this,e);this.source="https://com-integration.postnord.com/globalassets/global/prices/sv-se-findprice.xlsx";this.language="sv";this.market="se";this.productid="";this.filteredItems=[];this.sourceData={types:[],data:[]};this.gotData=false;this.loading=false;this.postagetype={value:""};this.weight={value:0,name:""};this.weightvalue=0}e.prototype.componentWillLoad=function(){this.setState();this.getDataSource().then((function(){}))};e.prototype.setState=function(){if(this.market){r.market=o[this.market]}if(this.language&&s[this.language]){r.i18n=s[this.language]}};e.prototype.getDataSource=function(){return __awaiter(this,void 0,void 0,(function(){var e,t,i,a,r;return __generator(this,(function(s){switch(s.label){case 0:if(!this.productid){return[2]}this.loading=true;e="?cache=".concat(Math.floor(Math.random()*(1e4-1)+1));return[4,fetch(this.source+e)];case 1:t=s.sent();return[4,t.blob()];case 2:i=s.sent();s.label=3;case 3:s.trys.push([3,5,,6]);return[4,n(i)];case 4:a=s.sent();this.sourceData=a;this.filterItems();return[3,6];case 5:r=s.sent();this.loading=false;console.warn("Unable to parse data");return[3,6];case 6:return[2]}}))}))};e.prototype.filterItems=function(){var e=this;var t;if(!((t=this.sourceData)===null||t===void 0?void 0:t.data)){console.info("Data has not yet been loaded");return}this.loading=false;var i=this.sourceData.data.filter((function(t){return t.id===e.productid}));if(i.length===0){return}this.postagetype.value=i[0].what;if(!l[this.postagetype.value]||l[this.postagetype.value].length===0){return}if(this.weightvalue===0){this.weight=l[this.postagetype.value][0];this.weightvalue=this.weight.value}var a=this.weight.abbreviation.toLocaleLowerCase()==="kg"&&this.postagetype.value==="letter"?this.weight.value*1e3:this.weight.value;var n=i.filter((function(e){return e.maxweight===a}));if(n.length===0){n=i.filter((function(e){return e.maxweight>=a}));if(n.length>0){var r=__spreadArray([],new Map(n.reverse().map((function(e){return[e["id"],e]}))).values(),true);if(r.length>0){n=r}}}this.filteredItems=n;this.gotData=this.filteredItems.length>0};e.prototype.render=function(){var e=this;return i(a,null,i("div",{class:"content"},i("slot",null)),this.loading?i("pn-spinner",null):null,this.postagetype.value&&l[this.postagetype.value]?i("div",{class:"weightselection"},r.i18n.sizeheading?i("div",{class:"heading"},r.i18n.sizeheading):null,i("div",{class:"weightoption"},i("div",{class:"weightoption-input"},i("pn-input",{inputid:"weightvalue",name:"weightvalue",type:"number",label:r.i18n.weightlabel,value:this.weightvalue,onChange:function(t){if(t&&t.target&&t.target.value){var i=parseInt(t.target.value,10);if(!isNaN(i)){var a=l[e.postagetype.value].filter((function(e){var t=e.abbreviation==="kg"?e.value*1e3:e.value;return t>=i}));if(a&&a.length>0){e.weight=a[0];e.weightvalue=e.weight.value}}}}}),i("span",{class:"weightoption-input-abbreviation"},this.weight.abbreviation)),i("div",{class:"weightoption-range"},i("input",{type:"range",id:"weightrange",name:"weightrange",list:"weightlist",value:!this.weight.value?0:l[this.postagetype.value].findIndex((function(t){return t.value===e.weightvalue})),onChange:function(t){var i=t.target.value;e.weight=l[e.postagetype.value][i];e.weightvalue=e.weight.value},min:"0",max:l[this.postagetype.value].length-1}),i("datalist",{id:"weightlist"},l[this.postagetype.value].map((function(t,a){var n=t.name;if(l[e.postagetype.value].length>6){n=a%5===0||a===0||a===l[e.postagetype.value].length-1?t.name:""}return i("option",Object.assign({value:a},n?{label:n}:{}))})))))):null,i("div",{class:"resultlist","data-list-count":this.filteredItems.length},this.filteredItems.map((function(e){return i("div",null,i("pn-product-pricelist-result",{item:e}))}))))};Object.defineProperty(e,"watchers",{get:function(){return{market:["setState"],language:["setState"],postagetype:["filterItems"],weightvalue:["filterItems"]}},enumerable:false,configurable:true});return e}());p.style=u}}}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
System.register(["./p-aa625cb0.system.js"],(function(e){"use strict";var t;return{setters:[function(e){t=e.c}],execute:function(){var s=t({i18n:{componentheading:"",deliveryscopeheading:"",sizeheading:"",resultlistheading:"",weightlabel:"",maxweightlabel:"",maxmeasurementlabel:"",senddirectcta:"",stampshopcta:"",message:"",servicePointHeader:"",servicePointLink:""},market:{currency:""}}),a=s.state,n=s.onChange;e("s",a)}}}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e="pn-market-web-components";let t,n,l,s=!1,o=!1,r=!1,i=!1,c=null,f=!1;const a="undefined"!=typeof window?window:{},u=a.document||{head:{}},d=a.HTMLElement||class{},h={t:0,l:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},p=e=>Promise.resolve(e),$=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replace}catch(e){}return!1})(),m=(e,t,n)=>{n&&n.map((([n,l,s])=>{const o=b(e,n),r=y(t,s),i=w(n);h.ael(o,l,r,i),(t.o=t.o||[]).push((()=>h.rel(o,l,r,i)))}))},y=(e,t)=>n=>{try{256&e.t?e.i[t](n):(e.u=e.u||[]).push([t,n])}catch(l){be(l)}},b=(e,t)=>8&t?a:e,w=e=>0!=(2&e),g="http://www.w3.org/1999/xlink",v=new WeakMap,k=e=>"sc-"+e.h,j={},O=e=>"object"==(e=typeof e)||"function"===e,S=(e,t,...n)=>{let l=null,s=null,o=null,r=!1,i=!1,c=[];const f=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?f(l):null!=l&&"boolean"!=typeof l&&((r="function"!=typeof e&&!O(l))&&(l+=""),r&&i?c[c.length-1].p+=l:c.push(r?x(null,l):l),i=r)};if(f(n),t){t.key&&(s=t.key),t.name&&(o=t.name);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,c,C);const a=x(e,null);return a.$=t,c.length>0&&(a.m=c),a.g=s,a.v=o,a},x=(e,t)=>({t:0,k:e,p:t,j:null,m:null,$:null,g:null,v:null}),M={},C={forEach:(e,t)=>e.map(R).forEach(t),map:(e,t)=>e.map(R).map(t).map(E)},R=e=>({vattrs:e.$,vchildren:e.m,vkey:e.g,vname:e.v,vtag:e.k,vtext:e.p}),E=e=>{if("function"==typeof e.vtag){const t=Object.assign({},e.vattrs);return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),S(e.vtag,t,...e.vchildren||[])}const t=x(e.vtag,e.vtext);return t.$=e.vattrs,t.m=e.vchildren,t.g=e.vkey,t.v=e.vname,t},N=(e,t,n,l,s,o)=>{if(n!==l){let i=ye(e,t),c=t.toLowerCase();if("class"===t){const t=e.classList,s=L(n),o=L(l);t.remove(...s.filter((e=>e&&!o.includes(e)))),t.add(...o.filter((e=>e&&!s.includes(e))))}else if("style"===t){for(const t in n)l&&null!=l[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in l)n&&l[t]===n[t]||(t.includes("-")?e.style.setProperty(t,l[t]):e.style[t]=l[t])}else if("key"===t);else if("ref"===t)l&&l(e);else if(i||"o"!==t[0]||"n"!==t[1]){const f=O(l);if((i||f&&null!==l)&&!s)try{if(e.tagName.includes("-"))e[t]=l;else{let s=null==l?"":l;"list"===t?i=!1:null!=n&&e[t]==s||(e[t]=s)}}catch(r){}let a=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(t=c,a=!0),null==l||!1===l?!1===l&&""!==e.getAttribute(t)||(a?e.removeAttributeNS(g,t):e.removeAttribute(t)):(!i||4&o||s)&&!f&&(l=!0===l?"":l,a?e.setAttributeNS(g,t,l):e.setAttribute(t,l))}else t="-"===t[2]?t.slice(3):ye(a,c)?c.slice(2):c[2]+t.slice(3),n&&h.rel(e,t,n,!1),l&&h.ael(e,t,l,!1)}},T=/\s/,L=e=>e?e.split(T):[],P=(e,t,n,l)=>{const s=11===t.j.nodeType&&t.j.host?t.j.host:t.j,o=e&&e.$||j,r=t.$||j;for(l in o)l in r||N(s,l,o[l],void 0,n,t.t);for(l in r)N(s,l,o[l],r[l],n,t.t)},A=(e,o,c,f)=>{let a,d,h,p=o.m[c],$=0;if(s||(r=!0,"slot"===p.k&&(t&&f.classList.add(t+"-s"),p.t|=p.m?2:1)),null!==p.p)a=p.j=u.createTextNode(p.p);else if(1&p.t)a=p.j=u.createTextNode("");else{if(i||(i="svg"===p.k),a=p.j=u.createElementNS(i?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&p.t?"slot-fb":p.k),i&&"foreignObject"===p.k&&(i=!1),P(null,p,i),null!=t&&a["s-si"]!==t&&a.classList.add(a["s-si"]=t),p.m)for($=0;$<p.m.length;++$)d=A(e,p,$,a),d&&a.appendChild(d);"svg"===p.k?i=!1:"foreignObject"===a.tagName&&(i=!0)}return a["s-hn"]=l,3&p.t&&(a["s-sr"]=!0,a["s-cr"]=n,a["s-sn"]=p.v||"",h=e&&e.m&&e.m[c],h&&h.k===p.k&&e.j&&D(e.j,!1)),a},D=(e,t)=>{h.t|=1;const n=e.childNodes;for(let s=n.length-1;s>=0;s--){const e=n[s];e["s-hn"]!==l&&e["s-ol"]&&(H(e).insertBefore(e,q(e)),e["s-ol"].remove(),e["s-ol"]=void 0,r=!0),t&&D(e,t)}h.t&=-2},U=(e,t,n,s,o,r)=>{let i,c=e["s-cr"]&&e["s-cr"].parentNode||e;for(c.shadowRoot&&c.tagName===l&&(c=c.shadowRoot);o<=r;++o)s[o]&&(i=A(null,n,o,e),i&&(s[o].j=i,c.insertBefore(i,q(t))))},W=(e,t,n,l,s)=>{for(;t<=n;++t)(l=e[t])&&(s=l.j,I(l),o=!0,s["s-ol"]?s["s-ol"].remove():D(s,!0),s.remove())},F=(e,t)=>e.k===t.k&&("slot"===e.k?e.v===t.v:e.g===t.g),q=e=>e&&e["s-ol"]||e,H=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,V=(e,t)=>{const n=t.j=e.j,l=e.m,s=t.m,o=t.k,r=t.p;let c;null===r?(i="svg"===o||"foreignObject"!==o&&i,"slot"===o||P(e,t,i),null!==l&&null!==s?((e,t,n,l)=>{let s,o,r=0,i=0,c=0,f=0,a=t.length-1,u=t[0],d=t[a],h=l.length-1,p=l[0],$=l[h];for(;r<=a&&i<=h;)if(null==u)u=t[++r];else if(null==d)d=t[--a];else if(null==p)p=l[++i];else if(null==$)$=l[--h];else if(F(u,p))V(u,p),u=t[++r],p=l[++i];else if(F(d,$))V(d,$),d=t[--a],$=l[--h];else if(F(u,$))"slot"!==u.k&&"slot"!==$.k||D(u.j.parentNode,!1),V(u,$),e.insertBefore(u.j,d.j.nextSibling),u=t[++r],$=l[--h];else if(F(d,p))"slot"!==u.k&&"slot"!==$.k||D(d.j.parentNode,!1),V(d,p),e.insertBefore(d.j,u.j),d=t[--a],p=l[++i];else{for(c=-1,f=r;f<=a;++f)if(t[f]&&null!==t[f].g&&t[f].g===p.g){c=f;break}c>=0?(o=t[c],o.k!==p.k?s=A(t&&t[i],n,c,e):(V(o,p),t[c]=void 0,s=o.j),p=l[++i]):(s=A(t&&t[i],n,i,e),p=l[++i]),s&&H(u.j).insertBefore(s,q(u.j))}r>a?U(e,null==l[h+1]?null:l[h+1].j,n,l,i,h):i>h&&W(t,r,a)})(n,l,t,s):null!==s?(null!==e.p&&(n.textContent=""),U(n,null,t,s,0,s.length-1)):null!==l&&W(l,0,l.length-1),i&&"svg"===o&&(i=!1)):(c=n["s-cr"])?c.parentNode.textContent=r:e.p!==r&&(n.data=r)},_=e=>{let t,n,l,s,o,r,i=e.childNodes;for(n=0,l=i.length;n<l;n++)if(t=i[n],1===t.nodeType){if(t["s-sr"])for(o=t["s-sn"],t.hidden=!1,s=0;s<l;s++)if(r=i[s].nodeType,i[s]["s-hn"]!==t["s-hn"]||""!==o){if(1===r&&o===i[s].getAttribute("slot")){t.hidden=!0;break}}else if(1===r||3===r&&""!==i[s].textContent.trim()){t.hidden=!0;break}_(t)}},z=[],B=e=>{let t,n,l,s,r,i,c=0,f=e.childNodes,a=f.length;for(;c<a;c++){if(t=f[c],t["s-sr"]&&(n=t["s-cr"])&&n.parentNode)for(l=n.parentNode.childNodes,s=t["s-sn"],i=l.length-1;i>=0;i--)n=l[i],n["s-cn"]||n["s-nr"]||n["s-hn"]===t["s-hn"]||(G(n,s)?(r=z.find((e=>e.O===n)),o=!0,n["s-sn"]=n["s-sn"]||s,r?r.S=t:z.push({S:t,O:n}),n["s-sr"]&&z.map((e=>{G(e.O,n["s-sn"])&&(r=z.find((e=>e.O===n)),r&&!e.S&&(e.S=r.S))}))):z.some((e=>e.O===n))||z.push({O:n}));1===t.nodeType&&B(t)}},G=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,I=e=>{e.$&&e.$.ref&&e.$.ref(null),e.m&&e.m.map(I)},J=e=>pe(e).M,K=(e,t,n)=>{const l=J(e);return{emit:e=>Q(l,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},Q=(e,t,n)=>{const l=h.ce(t,n);return e.dispatchEvent(l),l},X=(e,t)=>{t&&!e.C&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.C=t)))},Y=(e,t)=>{if(e.t|=16,!(4&e.t))return X(e,e.R),Ce((()=>Z(e,t)));e.t|=512},Z=(e,t)=>{const n=e.i;let l;return t&&(e.t|=256,e.u&&(e.u.map((([e,t])=>re(n,e,t))),e.u=null),l=re(n,"componentWillLoad")),ie(l,(()=>ee(e,n,t)))},ee=async(e,t,n)=>{const l=e.M,s=l["s-rc"];n&&(e=>{const t=e.N,n=e.M,l=t.t,s=((e,t)=>{let n=k(t),l=ve.get(n);if(e=11===e.nodeType?e:u,l)if("string"==typeof l){let t,s=v.get(e=e.head||e);s||v.set(e,s=new Set),s.has(n)||(t=u.createElement("style"),t.innerHTML=l,e.insertBefore(t,e.querySelector("link")),s&&s.add(n))}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return n})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&l&&(n["s-sc"]=s,n.classList.add(s+"-h"))})(e);te(e,t),s&&(s.map((e=>e())),l["s-rc"]=void 0);{const t=l["s-p"],n=()=>le(e);0===t.length?n():(Promise.all(t).then(n),e.t|=4,t.length=0)}},te=(e,i)=>{try{c=i,i=i.render(),e.t&=-17,e.t|=2,((e,i)=>{const c=e.M,f=e.N,a=e.T||x(null,null),d=(e=>e&&e.k===M)(i)?i:S(null,null,i);if(l=c.tagName,f.L&&(d.$=d.$||{},f.L.map((([e,t])=>d.$[t]=c[e]))),d.k=null,d.t|=4,e.T=d,d.j=a.j=c.shadowRoot||c,t=c["s-sc"],n=c["s-cr"],s=0!=(1&f.t),o=!1,V(a,d),h.t|=1,r){let e,t,n,l,s,o;B(d.j);let r=0;for(;r<z.length;r++)e=z[r],t=e.O,t["s-ol"]||(n=u.createTextNode(""),n["s-nr"]=t,t.parentNode.insertBefore(t["s-ol"]=n,t));for(r=0;r<z.length;r++)if(e=z[r],t=e.O,e.S){for(l=e.S.parentNode,s=e.S.nextSibling,n=t["s-ol"];n=n.previousSibling;)if(o=n["s-nr"],o&&o["s-sn"]===t["s-sn"]&&l===o.parentNode&&(o=o.nextSibling,!o||!o["s-nr"])){s=o;break}(!s&&l!==t.parentNode||t.nextSibling!==s)&&t!==s&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),l.insertBefore(t,s))}else 1===t.nodeType&&(t.hidden=!0)}o&&_(d.j),h.t&=-2,z.length=0})(e,i)}catch(f){be(f,e.M)}return c=null,null},ne=()=>c,le=e=>{const t=e.M,n=e.i,l=e.R;re(n,"componentDidRender"),64&e.t?re(n,"componentDidUpdate"):(e.t|=64,ce(t),re(n,"componentDidLoad"),e.P(t),l||oe()),e.C&&(e.C(),e.C=void 0),512&e.t&&Me((()=>Y(e,!1))),e.t&=-517},se=e=>{{const t=pe(e),n=t.M.isConnected;return n&&2==(18&t.t)&&Y(t,!1),n}},oe=()=>{ce(u.documentElement),Me((()=>Q(a,"appload",{detail:{namespace:"pn-market-web-components"}})))},re=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(l){be(l)}},ie=(e,t)=>e&&e.then?e.then(t):t(),ce=e=>e.classList.add("hydrated"),fe=(e,t,n)=>{if(t.A){e.watchers&&(t.D=e.watchers);const l=Object.entries(t.A),s=e.prototype;if(l.map((([e,[l]])=>{(31&l||2&n&&32&l)&&Object.defineProperty(s,e,{get(){return((e,t)=>pe(this).U.get(t))(0,e)},set(n){((e,t,n,l)=>{const s=pe(e),o=s.M,r=s.U.get(t),i=s.t,c=s.i;if(n=((e,t)=>null==e||O(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(n,l.A[t][0]),!(8&i&&void 0!==r||n===r)&&(s.U.set(t,n),c)){if(l.D&&128&i){const e=l.D[t];e&&e.map((e=>{try{c[e](n,r,t)}catch(l){be(l,o)}}))}2==(18&i)&&Y(s,!1)}})(this,e,n,t)},configurable:!0,enumerable:!0})})),1&n){const n=new Map;s.attributeChangedCallback=function(e,t,l){h.jmp((()=>{const t=n.get(e);if(this.hasOwnProperty(t))l=this[t],delete this[t];else if(s.hasOwnProperty(t)&&"number"==typeof this[t]&&this[t]==l)return;this[t]=(null!==l||"boolean"!=typeof this[t])&&l}))},e.observedAttributes=l.filter((([e,t])=>15&t[0])).map((([e,l])=>{const s=l[1]||e;return n.set(s,e),512&l[0]&&t.L.push([e,s]),s}))}}return e},ae=e=>{const t=e.cloneNode;e.cloneNode=function(e){const n=this,l=n.shadowRoot&&!0,s=t.call(n,!!l&&e);if(!l&&e){let e,t,l=0,o=["s-id","s-cr","s-lr","s-rc","s-sc","s-p","s-cn","s-sr","s-sn","s-hn","s-ol","s-nr","s-si"];for(;l<n.childNodes.length;l++)e=n.childNodes[l]["s-nr"],t=o.every((e=>!n.childNodes[l][e])),e&&s.appendChild(e.cloneNode(!0)),t&&s.appendChild(n.childNodes[l].cloneNode(!0))}return s}},ue=(e,t)=>{class n extends Array{item(e){return this[e]}}if(8&t.t){const t=e.__lookupGetter__("childNodes");Object.defineProperty(e,"children",{get(){return this.childNodes.map((e=>1===e.nodeType))}}),Object.defineProperty(e,"childElementCount",{get:()=>e.children.length}),Object.defineProperty(e,"childNodes",{get(){const e=t.call(this);if(0==(1&h.t)&&2&pe(this).t){const t=new n;for(let n=0;n<e.length;n++){const l=e[n]["s-nr"];l&&t.push(l)}return t}return n.from(e)}})}},de=(e,t={})=>{const n=[],l=t.exclude||[],s=a.customElements,o=u.head,r=o.querySelector("meta[charset]"),i=u.createElement("style"),c=[];let f,d=!0;Object.assign(h,t),h.l=new URL(t.resourcesUrl||"./",u.baseURI).href,e.map((e=>{e[1].map((t=>{const o={t:t[0],h:t[1],A:t[2],W:t[3]};o.A=t[2],o.W=t[3],o.L=[],o.D={};const r=o.h,i=class extends HTMLElement{constructor(e){super(e),me(e=this,o),1&o.t&&e.attachShadow({mode:"open"}),ue(e,o)}connectedCallback(){f&&(clearTimeout(f),f=null),d?c.push(this):h.jmp((()=>(e=>{if(0==(1&h.t)){const t=pe(e),n=t.N,l=()=>{};if(1&t.t)m(e,t,n.W);else{t.t|=1,12&n.t&&(e=>{const t=e["s-cr"]=u.createComment("");t["s-cn"]=!0,e.insertBefore(t,e.firstChild)})(e);{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){X(t,t.R=n);break}}n.A&&Object.entries(n.A).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n,l,s)=>{if(0==(32&t.t)){{if(t.t|=32,(s=ge(n)).then){const e=()=>{};s=await s,e()}s.isProxied||(n.D=s.watchers,fe(s,n,2),s.isProxied=!0);const e=()=>{};t.t|=8;try{new s(t)}catch(i){be(i)}t.t&=-9,t.t|=128,e()}if(s.style){let e=s.style;const t=k(n);if(!ve.has(t)){const l=()=>{};((e,t,n)=>{let l=ve.get(e);$&&n?(l=l||new CSSStyleSheet,l.replace(t)):l=t,ve.set(e,l)})(t,e,!!(1&n.t)),l()}}}const o=t.R,r=()=>Y(t,!0);o&&o["s-rc"]?o["s-rc"].push(r):r()})(0,t,n)}l()}})(this)))}disconnectedCallback(){h.jmp((()=>(()=>{if(0==(1&h.t)){const e=pe(this);e.o&&(e.o.map((e=>e())),e.o=void 0)}})()))}componentOnReady(){return pe(this).F}};ae(i.prototype),o.q=e[0],l.includes(r)||s.get(r)||(n.push(r),s.define(r,fe(i,o,1)))}))})),i.innerHTML=n+"{visibility:hidden}.hydrated{visibility:inherit}",i.setAttribute("data-styles",""),o.insertBefore(i,r?r.nextSibling:o.firstChild),d=!1,c.length?c.map((e=>e.connectedCallback())):h.jmp((()=>f=setTimeout(oe,30)))},he=new WeakMap,pe=e=>he.get(e),$e=(e,t)=>he.set(t.i=e,t),me=(e,t)=>{const n={t:0,M:e,N:t,U:new Map};return n.F=new Promise((e=>n.P=e)),e["s-p"]=[],e["s-rc"]=[],m(e,n,t.W),he.set(e,n)},ye=(e,t)=>t in e,be=(e,t)=>(0,console.error)(e,t),we=new Map,ge=e=>{const t=e.h.replace(/-/g,"_"),n=e.q,l=we.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(we.set(n,e),e[t])),be)},ve=new Map,ke=[],je=[],Oe=(e,t)=>n=>{e.push(n),f||(f=!0,t&&4&h.t?Me(xe):h.raf(xe))},Se=e=>{for(let n=0;n<e.length;n++)try{e[n](performance.now())}catch(t){be(t)}e.length=0},xe=()=>{Se(ke),Se(je),(f=ke.length>0)&&h.raf(xe)},Me=e=>p().then(e),Ce=Oe(je,!0);export{d as H,e as N,M as a,de as b,K as c,u as d,ne as e,se as f,J as g,S as h,p,$e as r,a as w}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
System.register(["./p-b429c99d.system.js"],(function(){"use strict";var e,n,t,a,i,r;return{setters:[function(s){e=s.d;n=s.N;t=s.w;a=s.p;i=s.H;r=s.b}],execute:function(){var s=function(){{o(i.prototype)}var r=Array.from(e.querySelectorAll("script")).find((function(e){return new RegExp("/".concat(n,"(\\.esm)?\\.js($|\\?|#)")).test(e.src)||e.getAttribute("data-stencil-namespace")===n}));var s={};if("onbeforeload"in r&&!history.scrollRestoration){return{then:function(){}}}{s.resourcesUrl=new URL(".",new URL(r.getAttribute("data-resources-url")||r.src,t.location.href)).href}return a(s)};var o=function(e){var n=e.cloneNode;e.cloneNode=function(e){if(this.nodeName==="TEMPLATE"){return n.call(this,e)}var t=n.call(this,false);var a=this.childNodes;if(e){for(var i=0;i<a.length;i++){if(a[i].nodeType!==2){t.appendChild(a[i].cloneNode(true))}}}return t}};s().then((function(e){return r([["p-df87670c.system",[[4,"pn-marketweb-siteheader",{market:[1537],language:[1537],environment:[1537],token:[1],endpoint:[1],hideSiteSelector:[1540,"hide-site-selector"],hideLanguageSelector:[1540,"hide-language-selector"],hideSearch:[1540,"hide-search"],hideLogin:[1540,"hide-login"],AutocompleteEndpoint:[1,"autocomplete-endpoint"],sessionForward:[4,"session-forward"],cache:[4],spaMode:[4,"spa-mode"],i18n:[32],gotData:[32],fetchingData:[32],homePageLink:[32],menuItems:[32],siteDefinition:[32],search:[32],siteSelector:[32],languageSelector:[32],languageOptions:[32],loginDialog:[32],minimizeSearch:[32],loggedIn:[32],loginManager:[32]},[[0,"setLanguage","onLanguageSelectorChange"],[0,"loginStateChange","onLoginStateChange"],[9,"resize","handleResize"]]]]],["p-90c11ea0.system",[[0,"pn-find-price",{source:[1],language:[1025],market:[1025],filteredItems:[32],weight:[32],weightvalue:[32],sourceData:[32],sizecategory:[32]}]]],["p-ec78fe82.system",[[0,"pn-find-service-and-price",{source:[1],language:[1025],market:[1025],filteredItems:[32],postagetype:[32],weight:[32],weightvalue:[32],deliveryscope:[32],sourceData:[32]}]]],["p-d30c5783.system",[[4,"pn-product-pricelist",{source:[1],language:[1025],market:[1025],productid:[1],filteredItems:[32],sourceData:[32],gotData:[32],loading:[32],postagetype:[32],weight:[32],weightvalue:[32]}]]],["p-3bef52c8.system",[[0,"pn-marketweb-sitefooter",{market:[1537],language:[1537],environment:[1537],endpoint:[1],cache:[4],siteDefinition:[32],footerContent:[32],i18n:[32],gotData:[32],fetchingData:[32]}]]],["p-15a18941.system",[[4,"pn-bonus-progressbar",{icon:[1],heading:[1],theme:[513],bonuspercentage:[1],currency:[513],value:[1538],min:[1538],max:[1538],valuepercentage:[32],progresspercentage:[32],levelValues:[32],currentLevelAdjustedValue:[32]}]]],["p-3e3fed19.system",[[1,"pn-filter-checkbox",{value:[520],name:[1],checkboxid:[1],disabled:[4],checked:[4],indeterminate:[1028]},[[0,"change","handlechange"]]]]],["p-9d2ff751.system",[[1,"pn-filter-search",{disabled:[4],placeholder:[1],inputid:[1],name:[1],autocomplete:[1],value:[1],label:[1],loading:[4],button:[1],light:[4]},[[0,"input","inputHandler"]]]]],["p-1662a0e9.system",[[0,"pn-pex-pricefinder",{language:[1],currency:[1],apiUrl:[1,"api-url"],i18n:[32],fromzip:[32],tozip:[32],weight:[32],when:[32],response:[32]},[[0,"language","setLanguage"]]]]],["p-c089e9b5.system",[[4,"pn-profile-selector",{language:[1537],returnUrl:[1,"return-url"],i18n:[32],isLoading:[32],numberOfProfiles:[32]}]]],["p-8bb99125.system",[[0,"pn-profile-selector-option",{name:[1],identifier:[1],url:[1]}]]],["p-0a95c2b9.system",[[4,"pn-sidenav",{language:[1],navLabel:[1,"nav-label"],i18n:[32]},[[0,"language","setLanguage"],[0,"openSubMenuLevelChange","onOpenSubMenuLevelChange"]]]]],["p-547a9203.system",[[4,"pn-sidenav-level",{level:[32],levelId:[32],isOpen:[32],parentName:[32],parentHref:[32],parentLinkId:[32],alignment:[32]}]]],["p-8a3c3674.system",[[4,"pn-sidenav-link",{name:[1],href:[1],target:[1],linkid:[1],icon:[1],current:[4],levelId:[32],open:[32],hasChildren:[32]}]]],["p-5ff39f75.system",[[0,"pn-find-price-result",{item:[1040],shownitems:[16],Usp1:[1,"usp-1"],Usp2:[1,"usp-2"],Usp3:[1,"usp-3"],description:[16],weightText:[32]}]]],["p-c74ee774.system",[[0,"pn-find-service-and-price-result",{item:[1040],shownitems:[16],weightText:[32]}]]],["p-b14d20bd.system",[[0,"pn-product-pricelist-result",{item:[1040],shownitems:[16],weightText:[32]}]]],["p-cf058789.system",[[0,"pn-bonus-progressbar-level",{current:[516],value:[1538],bonuspercentage:[1537],visualpercentage:[1538],percentage:[32],max:[32],min:[32],currency:[32]}]]],["p-0f17a915.system",[[4,"pn-site-footer",{url:[1],linktitle:[1]}],[4,"pn-site-footer-col"]]],["p-89907168.system",[[4,"pn-choice-button",{value:[520],name:[1],choiceid:[1],type:[1],disabled:[4],checked:[4],indeterminate:[1028]},[[0,"change","handlechange"]]]]],["p-8f309dad.system",[[4,"pn-mainnav-link",{name:[1],href:[1],target:[1],linkid:[1],levelId:[32],open:[32],hasChildren:[32]}]]],["p-b7b78fb0.system",[[4,"pn-product-card"],[0,"pn-product-card-info",{rulle:[1],paket:[1],label:[1],text:[1]}],[0,"pn-product-card-price",{label:[1],amount:[1],currency:[1],note:[1],url:[1],service:[1]}]]],["p-0e4a8305.system",[[4,"pn-mainnav-level",{level:[32],levelId:[32],isOpen:[32],parentName:[32],parentHref:[32],parentLinkId:[32],listCount:[32],alignment:[32]}],[4,"pn-language-selector",{value:[1537],selectedLanguageName:[32],options:[32],i18n:[32]}],[0,"pn-language-selector-option",{name:[1],code:[1],url:[1],selected:[4],currentLanguage:[1,"current-language"]}],[4,"pn-mainnav",{market:[1],language:[1],navigationId:[1,"navigation-id"],openMenu:[1028,"open-menu"],navLabel:[1,"nav-label"]},[[0,"language","setLanguage"],[0,"market","setMarket"],[0,"menuLanguageChange","onLanguageChange"],[0,"setmenuopenstate","setMenuOpenState"],[0,"openMenuLevelChange","onOpenMenuLevelChange"]]],[4,"pn-mainnav-list",{heading:[1],linkCount:[32]}],[0,"pn-marketweb-siteheader-login",{endpoint:[1],token:[1],i18n:[8,"i-1-8n"],emitEvents:[4,"emit-events"],loginDialog:[1040],loginManager:[32],loggedIn:[32],toggleButtonText:[32],username:[32]}],[0,"pn-marketweb-siteheader-search",{i18n:[8,"i-1-8n"],showOnlyLink:[1028,"show-only-link"],hideSearch:[1028,"hide-search"],search:[1040],primary:[4],autoCompleteOptions:[32]}],[4,"pn-site-selector",{buttontext:[1537],heading:[1537],language:[1537],i18n:[32]}],[0,"pn-site-selector-item",{url:[1],heading:[1],description:[1],newwindow:[4]}]]],["p-07733b06.system",[[4,"pn-product-tile"],[0,"pn-product-tile-info",{label:[1],text:[1],icon:[1]}],[0,"pn-product-tile-price",{label:[1],amount:[1],currency:[1],url:[1]}]]]],e)}))}}}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{c as e}from"./p-af1ac826.js";const{state:o,onChange:a}=e({openLevel:"",openMenu:!1,i18n:{open:"",close:"",navLabel:""}});export{a as o,o as s}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as s,a as l}from"./p-dde0c959.js";import{s as i}from"./p-9ae0afa8.js";import"./p-af1ac826.js";let e=class{constructor(s){t(this,s),this.item=null,this.shownitems=[],this.description=[],this.weightText=""}componentWillLoad(){this.composeItems()}composeItems(){if(this.item.additionalusp){var t=this.item.additionalusp.split("/");this.Usp1=t.length>0?t[0]:null,this.Usp2=t.length>1?t[1]:null,this.Usp3=t.length>2?t[2]:null}this.item.description&&(this.description=this.item.description.split("#bullet").filter((t=>""!==t)))}render(){return s(l,null,s("pn-product-card",null,s("pn-illustration",{slot:"illustration",illustration:this.item.illustration}),s("div",{slot:"title"},s("h2",null,this.item.name," "),this.item.highestrankusp?"Billigast"===this.item.highestrankusp?s("span",{slot:"Biligast"},this.item.highestrankusp,s("pn-icon",{symbol:"box-label",small:"false",color:"green700"})):s("span",{slot:"Snabbast"},this.item.highestrankusp,s("pn-icon",{symbol:"bolt",small:"false",color:"blue700"})):null),s("div",{slot:"content"},s("div",{class:"content"},this.item.description?s("div",{class:"description"},this.description.map((t=>s("li",null,t)))):null,this.item.info?s("div",{class:"description"},this.item.info):null)),this.item.note?s("small",{slot:"note"},s("p",null,this.item.note)):null,this.item.additionalusp?s("div",{slot:"additionalUSP"},this.Usp1?s("span",null,this.Usp1):null,this.Usp2?s("span",null,this.Usp2):null,this.Usp3?s("span",null,this.Usp3):null):null,this.item.paket?s("pn-product-card-info",{paket:this.item.paket,rulle:this.item.rulle}):null,s("div",{slot:"cardprice"},this.item.priceagent?s("pn-product-card-price",{slot:"price",label:"",amount:this.item.priceagent+"",currency:i.market.currency,url:"https://shop.postnord.se/ebutik/default.aspx",service:this.item.name+"-eshop"}):null,this.item.pricesenddirect?s("pn-product-card-price",{slot:"sendDirectPrice",label:i.i18n.senddirectcta,amount:this.item.pricesenddirect+"",currency:i.market.currency,url:"https://portal.postnord.com/skickadirekt/",service:this.item.name+"-portal"}):null,this.item.pricestamps?s("pn-product-card-price",{slot:"stampPrice",label:i.i18n.stampshopcta,amount:this.item.pricestamps+"",currency:i.market.currency,url:"https://shop.postnord.se/ebutik/default.aspx",service:this.item.name+"-eshop",note:i.i18n.message}):null)))}static get watchers(){return{item:["composeItems"]}}};e.style="pn-find-price-result .test{margin:3em 0}.resultcontent{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-positive:1;flex-grow:1}";export{e as pn_find_price_result}
|