@postnord/pn-marketweb-components 2.0.0 → 2.0.1

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.
Files changed (91) hide show
  1. package/cjs/loader.cjs.js +1 -1
  2. package/cjs/pn-find-price-result.cjs.entry.js +3 -3
  3. package/cjs/{pn-find-price-store-c6cb51c1.js → pn-find-price-store-6aab7fd0.js} +0 -1
  4. package/cjs/pn-find-price.cjs.entry.js +7 -10
  5. package/cjs/pn-market-web-components.cjs.js +1 -1
  6. package/cjs/pn-marketweb-input.cjs.entry.js +76 -0
  7. package/cjs/pn-marketweb-search.cjs.entry.js +2 -2
  8. package/cjs/pn-pex-pricefinder.cjs.entry.js +10 -2
  9. package/cjs/pn-product-card_3.cjs.entry.js +8 -8
  10. package/cjs/pn-product-pricelist.cjs.entry.js +1 -1
  11. package/collection/collection-manifest.json +1 -0
  12. package/collection/components/input/pn-marketweb-input/marketweb-input.stories.js +51 -0
  13. package/collection/components/input/pn-marketweb-input/pn-marketweb-input.css +156 -0
  14. package/collection/components/input/pn-marketweb-input/pn-marketweb-input.js +412 -0
  15. package/collection/components/input/pn-marketweb-search/pn-marketweb-search.css +18 -15
  16. package/collection/components/input/pn-marketweb-search/pn-marketweb-search.js +2 -2
  17. package/collection/components/widgets/pn-find-price/img/clouds.svg +5 -0
  18. package/collection/components/widgets/pn-find-price/pn-find-price-result.js +2 -2
  19. package/collection/components/widgets/pn-find-price/pn-find-price-store.js +0 -1
  20. package/collection/components/widgets/pn-find-price/pn-find-price-translations.js +1 -6
  21. package/collection/components/widgets/pn-find-price/pn-find-price.css +14 -4
  22. package/collection/components/widgets/pn-find-price/pn-find-price.js +4 -3
  23. package/collection/components/widgets/pn-pex-pricefinder/pn-pex-pricefinder.js +10 -2
  24. package/collection/components/widgets/pn-product-card/pn-product-card-info.css +6 -7
  25. package/collection/components/widgets/pn-product-card/pn-product-card-info.js +2 -3
  26. package/collection/components/widgets/pn-product-card/pn-product-card-price.css +22 -5
  27. package/collection/components/widgets/pn-product-card/pn-product-card-price.js +1 -1
  28. package/collection/components/widgets/pn-product-card/pn-product-card.css +88 -30
  29. package/collection/components/widgets/pn-product-card/pn-product-card.js +1 -1
  30. package/collection/components/widgets/pn-product-pricelist/pn-product-pricelist.css +1 -0
  31. package/collection/components/widgets/pn-product-pricelist/pn-product-pricelist.stories.js +1 -1
  32. package/custom-elements/index.d.ts +6 -0
  33. package/custom-elements/index.js +102 -26
  34. package/esm/loader.js +1 -1
  35. package/esm/pn-find-price-result.entry.js +3 -3
  36. package/esm/{pn-find-price-store-c857dbc4.js → pn-find-price-store-3301df0a.js} +0 -1
  37. package/esm/pn-find-price.entry.js +7 -10
  38. package/esm/pn-market-web-components.js +1 -1
  39. package/esm/pn-marketweb-input.entry.js +72 -0
  40. package/esm/pn-marketweb-search.entry.js +2 -2
  41. package/esm/pn-pex-pricefinder.entry.js +10 -2
  42. package/esm/pn-product-card_3.entry.js +8 -8
  43. package/esm/pn-product-pricelist.entry.js +1 -1
  44. package/esm-es5/loader.js +1 -1
  45. package/esm-es5/pn-find-price-result.entry.js +1 -1
  46. package/esm-es5/pn-find-price-store-3301df0a.js +1 -0
  47. package/esm-es5/pn-find-price.entry.js +1 -1
  48. package/esm-es5/pn-market-web-components.js +1 -1
  49. package/esm-es5/pn-marketweb-input.entry.js +1 -0
  50. package/esm-es5/pn-marketweb-search.entry.js +1 -1
  51. package/esm-es5/pn-pex-pricefinder.entry.js +1 -1
  52. package/esm-es5/pn-product-card_3.entry.js +1 -1
  53. package/esm-es5/pn-product-pricelist.entry.js +1 -1
  54. package/package.json +1 -1
  55. package/pn-market-web-components/{p-c7c3361a.entry.js → p-045a349a.entry.js} +1 -1
  56. package/pn-market-web-components/p-07cc9f6b.system.entry.js +1 -0
  57. package/pn-market-web-components/p-3971ddb9.system.js +1 -0
  58. package/pn-market-web-components/p-5d587499.js +1 -0
  59. package/pn-market-web-components/p-5e78891a.entry.js +1 -0
  60. package/pn-market-web-components/p-67887512.system.js +1 -1
  61. package/pn-market-web-components/p-72195bd8.entry.js +1 -0
  62. package/pn-market-web-components/{p-fc41fcf6.system.entry.js → p-7e494e9d.system.entry.js} +1 -1
  63. package/pn-market-web-components/p-80dce81e.system.entry.js +1 -0
  64. package/pn-market-web-components/p-8fc7732d.system.entry.js +1 -0
  65. package/pn-market-web-components/p-996d8a6a.entry.js +1 -0
  66. package/pn-market-web-components/p-9e8c5793.system.entry.js +1 -0
  67. package/pn-market-web-components/p-9edaf6b6.system.entry.js +1 -0
  68. package/pn-market-web-components/p-c34db063.entry.js +1 -0
  69. package/pn-market-web-components/p-e5fffc92.entry.js +1 -0
  70. package/pn-market-web-components/p-e9fe5c54.entry.js +1 -0
  71. package/pn-market-web-components/p-fc6a09e0.system.entry.js +1 -0
  72. package/pn-market-web-components/pn-market-web-components.esm.js +1 -1
  73. package/types/components/input/pn-marketweb-input/pn-marketweb-input.d.ts +32 -0
  74. package/types/components/widgets/pn-find-price/pn-find-price-store.d.ts +0 -2
  75. package/types/components/widgets/pn-find-price/pn-find-price-translations.d.ts +0 -5
  76. package/types/components/widgets/pn-find-price/pn-find-price-types.d.ts +0 -1
  77. package/types/components/widgets/pn-pex-pricefinder/pn-pex-pricefinder.d.ts +1 -0
  78. package/types/components.d.ts +79 -0
  79. package/esm-es5/pn-find-price-store-c857dbc4.js +0 -1
  80. package/pn-market-web-components/p-0cff4955.entry.js +0 -1
  81. package/pn-market-web-components/p-0fe71e75.entry.js +0 -1
  82. package/pn-market-web-components/p-2239befa.system.entry.js +0 -1
  83. package/pn-market-web-components/p-38c4be82.system.entry.js +0 -1
  84. package/pn-market-web-components/p-3ddbc14c.entry.js +0 -1
  85. package/pn-market-web-components/p-6b505c69.entry.js +0 -1
  86. package/pn-market-web-components/p-6fab218d.system.js +0 -1
  87. package/pn-market-web-components/p-89ef9dad.system.entry.js +0 -1
  88. package/pn-market-web-components/p-b82f45b9.system.entry.js +0 -1
  89. package/pn-market-web-components/p-f0a468ef.entry.js +0 -1
  90. package/pn-market-web-components/p-f20380fb.js +0 -1
  91. package/pn-market-web-components/p-f5f1287a.system.entry.js +0 -1
@@ -1 +1 @@
1
- System.register(["./p-36654f2a.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-f4cb2104.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-89ef9dad.system",[[0,"pn-find-price",{source:[1],language:[1025],market:[1025],filteredItems:[32],weight:[32],weightvalue:[32],sourceData:[32],sizecategory:[32]}]]],["p-8144bcbc.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-f5f1287a.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-c418bb48.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-d7776336.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-2718b89a.system",[[1,"pn-filter-checkbox",{value:[520],name:[1],checkboxid:[1],disabled:[4],checked:[4],indeterminate:[1028]},[[0,"change","handlechange"]]]]],["p-2239befa.system",[[1,"pn-marketweb-search",{disabled:[4],placeholder:[1],inputid:[1],name:[1],autocomplete:[1],list:[1],value:[1],label:[1],loading:[4],button:[1],light:[4],suggestionObserver:[32],hasClonedInput:[32],listSuggestion:[32]},[[0,"input","inputHandler"]]]]],["p-fc41fcf6.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-57cc0679.system",[[4,"pn-profile-selector",{language:[1537],returnUrl:[1,"return-url"],i18n:[32],isLoading:[32],numberOfProfiles:[32]}]]],["p-401b57b1.system",[[0,"pn-profile-selector-option",{name:[1],identifier:[1],url:[1]}]]],["p-2870b0c5.system",[[4,"pn-sidenav",{language:[1],navLabel:[1,"nav-label"],i18n:[32]},[[0,"language","setLanguage"],[0,"openSubMenuLevelChange","onOpenSubMenuLevelChange"]]]]],["p-885bc8d7.system",[[4,"pn-sidenav-level",{level:[32],levelId:[32],isOpen:[32],parentName:[32],parentHref:[32],parentLinkId:[32],alignment:[32]}]]],["p-625fb7fb.system",[[4,"pn-sidenav-link",{name:[1],href:[1],target:[1],linkid:[1],icon:[1],current:[4],levelId:[32],open:[32],hasChildren:[32]}]]],["p-b82f45b9.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-aeb26d10.system",[[0,"pn-find-service-and-price-result",{item:[1040],shownitems:[16],weightText:[32]}]]],["p-7b93d570.system",[[0,"pn-product-pricelist-result",{item:[1040],shownitems:[16],weightText:[32]}]]],["p-f7b013a7.system",[[0,"pn-bonus-progressbar-level",{current:[516],value:[1538],bonuspercentage:[1537],visualpercentage:[1538],percentage:[32],max:[32],min:[32],currency:[32]}]]],["p-01fbbbbc.system",[[4,"pn-site-footer",{url:[1],linktitle:[1]}],[4,"pn-site-footer-col"]]],["p-1ce871c5.system",[[4,"pn-choice-button",{value:[520],name:[1],choiceid:[1],type:[1],disabled:[4],checked:[4],indeterminate:[1028]},[[0,"change","handlechange"]]]]],["p-fc1083d2.system",[[4,"pn-mainnav-link",{name:[1],href:[1],target:[1],linkid:[1],levelId:[32],open:[32],hasChildren:[32]}]]],["p-38c4be82.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-13eb4c66.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-d46d9b6e.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
+ System.register(["./p-36654f2a.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(){{l(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 l=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-f4cb2104.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-8fc7732d.system",[[0,"pn-find-price",{source:[1],language:[1025],market:[1025],filteredItems:[32],weight:[32],weightvalue:[32],sourceData:[32],sizecategory:[32]}]]],["p-8144bcbc.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-9e8c5793.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-c418bb48.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-d7776336.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-7e494e9d.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-2718b89a.system",[[1,"pn-filter-checkbox",{value:[520],name:[1],checkboxid:[1],disabled:[4],checked:[4],indeterminate:[1028]},[[0,"change","handlechange"]]]]],["p-80dce81e.system",[[1,"pn-marketweb-search",{disabled:[4],placeholder:[1],inputid:[1],name:[1],autocomplete:[1],list:[1],value:[1],label:[1],loading:[4],button:[1],light:[4],suggestionObserver:[32],hasClonedInput:[32],listSuggestion:[32]},[[0,"input","inputHandler"]]]]],["p-57cc0679.system",[[4,"pn-profile-selector",{language:[1537],returnUrl:[1,"return-url"],i18n:[32],isLoading:[32],numberOfProfiles:[32]}]]],["p-401b57b1.system",[[0,"pn-profile-selector-option",{name:[1],identifier:[1],url:[1]}]]],["p-2870b0c5.system",[[4,"pn-sidenav",{language:[1],navLabel:[1,"nav-label"],i18n:[32]},[[0,"language","setLanguage"],[0,"openSubMenuLevelChange","onOpenSubMenuLevelChange"]]]]],["p-885bc8d7.system",[[4,"pn-sidenav-level",{level:[32],levelId:[32],isOpen:[32],parentName:[32],parentHref:[32],parentLinkId:[32],alignment:[32]}]]],["p-625fb7fb.system",[[4,"pn-sidenav-link",{name:[1],href:[1],target:[1],linkid:[1],icon:[1],current:[4],levelId:[32],open:[32],hasChildren:[32]}]]],["p-07cc9f6b.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-aeb26d10.system",[[0,"pn-find-service-and-price-result",{item:[1040],shownitems:[16],weightText:[32]}]]],["p-7b93d570.system",[[0,"pn-product-pricelist-result",{item:[1040],shownitems:[16],weightText:[32]}]]],["p-f7b013a7.system",[[0,"pn-bonus-progressbar-level",{current:[516],value:[1538],bonuspercentage:[1537],visualpercentage:[1538],percentage:[32],max:[32],min:[32],currency:[32]}]]],["p-9edaf6b6.system",[[0,"pn-marketweb-input",{disabled:[4],error:[1],invalid:[4],helpertext:[1],label:[1],placeholder:[1],inputid:[1],name:[1],required:[4],type:[1025],autocomplete:[1],valid:[4],value:[1],maxlength:[1],min:[1],max:[1],step:[1],pattern:[1],showText:[32]}]]],["p-01fbbbbc.system",[[4,"pn-site-footer",{url:[1],linktitle:[1]}],[4,"pn-site-footer-col"]]],["p-1ce871c5.system",[[4,"pn-choice-button",{value:[520],name:[1],choiceid:[1],type:[1],disabled:[4],checked:[4],indeterminate:[1028]},[[0,"change","handlechange"]]]]],["p-fc1083d2.system",[[4,"pn-mainnav-link",{name:[1],href:[1],target:[1],linkid:[1],levelId:[32],open:[32],hasChildren:[32]}]]],["p-fc6a09e0.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-13eb4c66.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-d46d9b6e.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)}))}}}));
@@ -0,0 +1 @@
1
+ import{r as e,h as i,a as t,g as n}from"./p-58e8d7d5.js";const r={sv:{heading:"Beräkna kostnad med PEX Bud",labelFrom:"Från postkod",labelTo:"Till postkod",zipPlaceholder:"Ex. 12831",labelWeight:"Vikt (i gram)",weightPlaceholder:"Ex. 1000",labelWhen:"När",submitButtonText:"Beräkna pris"},en:{heading:"Calculate cost with PEX Bud",labelFrom:"From zip",labelTo:"To zip",zipPlaceholder:"Ex. 12831",labelWeight:"Weight (in grams)",weightPlaceholder:"Ex. 1000",labelWhen:"When",submitButtonText:"Calculate price"}};let l=class{constructor(i){e(this,i),this.language="sv",this.currency="Kr",this.apiUrl="/api/pex/order",this.i18n=r.sv,this.fromzip=null,this.tozip=null,this.weight=100,this.when="",this.response=null}componentWillLoad(){this.init()}async init(){this.setInitialTime(),this.checkParameters(),this.setLanguage()}setInitialTime(){const e=new Date;e.setHours(e.getHours()+1),e.setMinutes(0);const i=e.toLocaleString("sv",{timeZoneName:"short"}).split(" ");this.when=`${i[0]}T${i[1].substring(0,5)}`}checkParameters(){const e=new URLSearchParams(window.location.href);e&&["fromzip","tozip","weight","when"].forEach((i=>{e.get(i)&&(this[i]=e.get(i))}))}setLanguage(){r[this.language]&&(this.i18n=r[this.language])}onSubmit(e){e.preventDefault();const i=new FormData(e.target),t=this.compileRequestQuery(i);this.fetchResult(t)}compileRequestQuery(e){let i={from:e.get("fromzip"),to:e.get("tozip"),weight:e.get("weight"),when:e.get("when")};if(i.when||(i.when=this.hostElement.querySelector("input.date-input").value),e.get("fromzip")&&e.get("tozip")&&e.get("weight"))return i;console.error("Form data is not compliant")}async fetchResult(e){this.response=null;const i=new URLSearchParams(e),t=await fetch(`${this.apiUrl}?${i.toString()}`,{method:"get",headers:{"Content-Type":"application/json"}}).catch(this.onFetchError.bind(this));let n=await t.json().catch(this.onFetchError.bind(this));n||(n=await(await import("./p-c25ada49.js")).default),n&&(this.response=n)}onFetchError(e){console.error("onFetchError(error",e)}render(){return i(t,null,i("div",{class:"pex-pricefinder-top"},i("pn-illustration",{illustration:"PEX-truck"}),i("h2",null,this.i18n.heading)),i("form",{method:"get",action:"",class:"pex-pricefinder-form",onSubmit:this.onSubmit.bind(this)},i("fieldset",null,i("div",null,i("pn-input",{type:"number",label:this.i18n.labelFrom,inputid:"fromzip",name:"fromzip",placeholder:this.i18n.zipPlaceholder,required:!0,value:this.fromzip}),i("pn-input",{type:"number",label:this.i18n.labelTo,inputid:"tozip",name:"tozip",placeholder:this.i18n.zipPlaceholder,required:!0,value:this.tozip}))),i("fieldset",null,i("div",null,i("pn-input",{type:"number",label:this.i18n.labelWeight,inputid:"weight",name:"weight",placeholder:this.i18n.weightPlaceholder,required:!0,value:this.weight}),i("div",{class:"datepicker"},i("label",{htmlFor:"when"},this.i18n.labelWhen),i("pn-marketweb-input",{inputid:"when",name:"when",type:"datetime-local",min:(new Date).toISOString().split("T")[0],value:this.when})))),i("fieldset",null,i("div",null,i("pn-button",{type:"submit"},this.i18n.submitButtonText)))),this.response?i("div",{class:"pex-pricefinder-response"},i("strong",null,this.response.data.value," ",this.currency)):null)}get hostElement(){return n(this)}};l.style=".pex-pricefinder-top{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.pex-pricefinder-top pn-illustration{width:5.5rem;height:5.5rem;margin-right:1.6rem}.pex-pricefinder-form{margin:1.6rem 0 0 0;padding:0;border:0}.pex-pricefinder-form fieldset{margin:0;padding:0;border:0}.pex-pricefinder-form fieldset+fieldset{margin-top:1.6rem}.pex-pricefinder-form fieldset>div{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:1em}.pex-pricefinder-form fieldset>div>*{-ms-flex-positive:1;flex-grow:1;width:100%}.pex-pricefinder-form pn-button{-ms-flex-item-align:end;align-self:end;margin-left:auto}.pex-pricefinder-form .datepicker{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-direction:column;flex-direction:column}.pex-pricefinder-form .datepicker label{margin-bottom:0.4rem;color:#5E554A;font-size:0.875em;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:end;align-items:flex-end;cursor:pointer;-webkit-transition:color 0.2s;transition:color 0.2s}.pex-pricefinder-form .datepicker pn-date-picker{width:100%}.pex-pricefinder-response{margin-top:2.4rem;text-align:center;font-size:2.4em}";export{l as pn_pex_pricefinder}
@@ -1 +1 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,i,n){function r(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,o){function l(e){try{s(n.next(e))}catch(t){o(t)}}function a(e){try{s(n["throw"](e))}catch(t){o(t)}}function s(e){e.done?i(e.value):r(e.value).then(l,a)}s((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,r,o,l;return l={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(l[Symbol.iterator]=function(){return this}),l;function a(e){return function(t){return s([e,t])}}function s(l){if(n)throw new TypeError("Generator is already executing.");while(i)try{if(n=1,r&&(o=l[0]&2?r["return"]:l[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,l[1])).done)return o;if(r=0,o)l=[l[0]&2,o.value];switch(l[0]){case 0:case 1:o=l;break;case 4:i.label++;return{value:l[1],done:false};case 5:i.label++;r=l[1];l=[0];continue;case 7:l=i.ops.pop();i.trys.pop();continue;default:if(!(o=i.trys,o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){i=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){i.label=l[1];break}if(l[0]===6&&i.label<o[1]){i.label=o[1];o=l;break}if(o&&i.label<o[2]){i.label=o[2];i.ops.push(l);break}if(o[2])i.ops.pop();i.trys.pop();continue}l=t.call(e,i)}catch(a){l=[6,a];r=0}finally{n=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:true}}};System.register(["./p-36654f2a.system.js"],(function(e,t){"use strict";var i,n,r,o;return{setters:[function(e){i=e.r;n=e.h;r=e.a;o=e.g}],execute:function(){var l={sv:{heading:"Beräkna kostnad med PEX Bud",labelFrom:"Från postkod",labelTo:"Till postkod",zipPlaceholder:"Ex. 12831",labelWeight:"Vikt (i gram)",weightPlaceholder:"Ex. 1000",labelWhen:"När",submitButtonText:"Beräkna pris"},en:{heading:"Calculate cost with PEX Bud",labelFrom:"From zip",labelTo:"To zip",zipPlaceholder:"Ex. 12831",labelWeight:"Weight (in grams)",weightPlaceholder:"Ex. 1000",labelWhen:"When",submitButtonText:"Calculate price"}};var a=".pex-pricefinder-top{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.pex-pricefinder-top pn-illustration{width:5.5rem;height:5.5rem;margin-right:1.6rem}.pex-pricefinder-form{margin:1.6rem 0 0 0;padding:0;border:0}.pex-pricefinder-form fieldset{margin:0;padding:0;border:0}.pex-pricefinder-form fieldset+fieldset{margin-top:1.6rem}.pex-pricefinder-form fieldset>div{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:1em}.pex-pricefinder-form fieldset>div>*{-ms-flex-positive:1;flex-grow:1;width:100%}.pex-pricefinder-form pn-button{-ms-flex-item-align:end;align-self:end;margin-left:auto}.pex-pricefinder-form .datepicker{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-direction:column;flex-direction:column}.pex-pricefinder-form .datepicker label{margin-bottom:0.4rem;color:#5E554A;font-size:0.875em;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:end;align-items:flex-end;cursor:pointer;-webkit-transition:color 0.2s;transition:color 0.2s}.pex-pricefinder-form .datepicker pn-date-picker{width:100%}.pex-pricefinder-response{margin-top:2.4rem;text-align:center;font-size:2.4em}";var s=e("pn_pex_pricefinder",function(){function e(e){i(this,e);this.language="sv";this.currency="Kr";this.apiUrl="/api/pex/order";this.i18n=l.sv;this.fromzip=null;this.tozip=null;this.weight=100;this.when=(new Date).toISOString().split("T")[0];this.response=null}e.prototype.componentWillLoad=function(){this.init()};e.prototype.init=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.checkParameters();this.setLanguage();return[2]}))}))};e.prototype.checkParameters=function(){var e=this;var t=new URLSearchParams(window.location.href);if(!t){return}var i=["fromzip","tozip","weight","when"];i.forEach((function(i){if(t.get(i)){e[i]=t.get(i)}}))};e.prototype.setLanguage=function(){if(l[this.language]){this.i18n=l[this.language]}};e.prototype.onSubmit=function(e){e.preventDefault();var t=new FormData(e.target);var i=this.compileRequestQuery(t);this.fetchResult(i)};e.prototype.compileRequestQuery=function(e){var t={from:e.get("fromzip"),to:e.get("tozip"),weight:e.get("weight"),when:e.get("when")};if(!t.when){t.when=this.hostElement.querySelector("input.date-input").value}if(!e.get("fromzip")||!e.get("tozip")||!e.get("weight")){console.error("Form data is not compliant");return}return t};e.prototype.fetchResult=function(e){return __awaiter(this,void 0,void 0,(function(){var i,n,r;return __generator(this,(function(o){switch(o.label){case 0:this.response=null;i=new URLSearchParams(e);return[4,fetch("".concat(this.apiUrl,"?").concat(i.toString()),{method:"get",headers:{"Content-Type":"application/json"}}).catch(this.onFetchError.bind(this))];case 1:n=o.sent();return[4,n.json().catch(this.onFetchError.bind(this))];case 2:r=o.sent();if(!!r)return[3,5];return[4,t.import("./p-84d9f552.system.js")];case 3:return[4,o.sent().default];case 4:r=o.sent();o.label=5;case 5:if(r){this.response=r}return[2]}}))}))};e.prototype.onFetchError=function(e){console.error("onFetchError(error",e)};e.prototype.render=function(){return n(r,null,n("div",{class:"pex-pricefinder-top"},n("pn-illustration",{illustration:"PEX-truck"}),n("h2",null,this.i18n.heading)),n("form",{method:"get",action:"",class:"pex-pricefinder-form",onSubmit:this.onSubmit.bind(this)},n("fieldset",null,n("div",null,n("pn-input",{type:"number",label:this.i18n.labelFrom,inputid:"fromzip",name:"fromzip",placeholder:this.i18n.zipPlaceholder,required:true,value:this.fromzip}),n("pn-input",{type:"number",label:this.i18n.labelTo,inputid:"tozip",name:"tozip",placeholder:this.i18n.zipPlaceholder,required:true,value:this.tozip}))),n("fieldset",null,n("div",null,n("pn-input",{type:"number",label:this.i18n.labelWeight,inputid:"weight",name:"weight",placeholder:this.i18n.weightPlaceholder,required:true,value:this.weight}),n("div",{class:"datepicker"},n("label",{htmlFor:"when"},this.i18n.labelWhen),n("pn-date-picker",{inputid:"when",name:"when","start-of-week":"1",min:(new Date).toISOString().split("T")[0],language:this.language,value:this.when})))),n("fieldset",null,n("div",null,n("pn-button",{type:"submit"},this.i18n.submitButtonText)))),this.response?n("div",{class:"pex-pricefinder-response"},n("strong",null,this.response.data.value," ",this.currency)):null)};Object.defineProperty(e.prototype,"hostElement",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());s.style=a}}}));
1
+ var __awaiter=this&&this.__awaiter||function(e,t,i,n){function r(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,o){function l(e){try{s(n.next(e))}catch(t){o(t)}}function a(e){try{s(n["throw"](e))}catch(t){o(t)}}function s(e){e.done?i(e.value):r(e.value).then(l,a)}s((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,r,o,l;return l={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(l[Symbol.iterator]=function(){return this}),l;function a(e){return function(t){return s([e,t])}}function s(l){if(n)throw new TypeError("Generator is already executing.");while(i)try{if(n=1,r&&(o=l[0]&2?r["return"]:l[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,l[1])).done)return o;if(r=0,o)l=[l[0]&2,o.value];switch(l[0]){case 0:case 1:o=l;break;case 4:i.label++;return{value:l[1],done:false};case 5:i.label++;r=l[1];l=[0];continue;case 7:l=i.ops.pop();i.trys.pop();continue;default:if(!(o=i.trys,o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){i=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){i.label=l[1];break}if(l[0]===6&&i.label<o[1]){i.label=o[1];o=l;break}if(o&&i.label<o[2]){i.label=o[2];i.ops.push(l);break}if(o[2])i.ops.pop();i.trys.pop();continue}l=t.call(e,i)}catch(a){l=[6,a];r=0}finally{n=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:true}}};System.register(["./p-36654f2a.system.js"],(function(e,t){"use strict";var i,n,r,o;return{setters:[function(e){i=e.r;n=e.h;r=e.a;o=e.g}],execute:function(){var l={sv:{heading:"Beräkna kostnad med PEX Bud",labelFrom:"Från postkod",labelTo:"Till postkod",zipPlaceholder:"Ex. 12831",labelWeight:"Vikt (i gram)",weightPlaceholder:"Ex. 1000",labelWhen:"När",submitButtonText:"Beräkna pris"},en:{heading:"Calculate cost with PEX Bud",labelFrom:"From zip",labelTo:"To zip",zipPlaceholder:"Ex. 12831",labelWeight:"Weight (in grams)",weightPlaceholder:"Ex. 1000",labelWhen:"When",submitButtonText:"Calculate price"}};var a=".pex-pricefinder-top{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.pex-pricefinder-top pn-illustration{width:5.5rem;height:5.5rem;margin-right:1.6rem}.pex-pricefinder-form{margin:1.6rem 0 0 0;padding:0;border:0}.pex-pricefinder-form fieldset{margin:0;padding:0;border:0}.pex-pricefinder-form fieldset+fieldset{margin-top:1.6rem}.pex-pricefinder-form fieldset>div{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:1em}.pex-pricefinder-form fieldset>div>*{-ms-flex-positive:1;flex-grow:1;width:100%}.pex-pricefinder-form pn-button{-ms-flex-item-align:end;align-self:end;margin-left:auto}.pex-pricefinder-form .datepicker{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-direction:column;flex-direction:column}.pex-pricefinder-form .datepicker label{margin-bottom:0.4rem;color:#5E554A;font-size:0.875em;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:end;align-items:flex-end;cursor:pointer;-webkit-transition:color 0.2s;transition:color 0.2s}.pex-pricefinder-form .datepicker pn-date-picker{width:100%}.pex-pricefinder-response{margin-top:2.4rem;text-align:center;font-size:2.4em}";var s=e("pn_pex_pricefinder",function(){function e(e){i(this,e);this.language="sv";this.currency="Kr";this.apiUrl="/api/pex/order";this.i18n=l.sv;this.fromzip=null;this.tozip=null;this.weight=100;this.when="";this.response=null}e.prototype.componentWillLoad=function(){this.init()};e.prototype.init=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.setInitialTime();this.checkParameters();this.setLanguage();return[2]}))}))};e.prototype.setInitialTime=function(){var e=new Date;e.setHours(e.getHours()+1);e.setMinutes(0);var t=e.toLocaleString("sv",{timeZoneName:"short"}).split(" ");this.when="".concat(t[0],"T").concat(t[1].substring(0,5))};e.prototype.checkParameters=function(){var e=this;var t=new URLSearchParams(window.location.href);if(!t){return}var i=["fromzip","tozip","weight","when"];i.forEach((function(i){if(t.get(i)){e[i]=t.get(i)}}))};e.prototype.setLanguage=function(){if(l[this.language]){this.i18n=l[this.language]}};e.prototype.onSubmit=function(e){e.preventDefault();var t=new FormData(e.target);var i=this.compileRequestQuery(t);this.fetchResult(i)};e.prototype.compileRequestQuery=function(e){var t={from:e.get("fromzip"),to:e.get("tozip"),weight:e.get("weight"),when:e.get("when")};if(!t.when){t.when=this.hostElement.querySelector("input.date-input").value}if(!e.get("fromzip")||!e.get("tozip")||!e.get("weight")){console.error("Form data is not compliant");return}return t};e.prototype.fetchResult=function(e){return __awaiter(this,void 0,void 0,(function(){var i,n,r;return __generator(this,(function(o){switch(o.label){case 0:this.response=null;i=new URLSearchParams(e);return[4,fetch("".concat(this.apiUrl,"?").concat(i.toString()),{method:"get",headers:{"Content-Type":"application/json"}}).catch(this.onFetchError.bind(this))];case 1:n=o.sent();return[4,n.json().catch(this.onFetchError.bind(this))];case 2:r=o.sent();if(!!r)return[3,5];return[4,t.import("./p-84d9f552.system.js")];case 3:return[4,o.sent().default];case 4:r=o.sent();o.label=5;case 5:if(r){this.response=r}return[2]}}))}))};e.prototype.onFetchError=function(e){console.error("onFetchError(error",e)};e.prototype.render=function(){return n(r,null,n("div",{class:"pex-pricefinder-top"},n("pn-illustration",{illustration:"PEX-truck"}),n("h2",null,this.i18n.heading)),n("form",{method:"get",action:"",class:"pex-pricefinder-form",onSubmit:this.onSubmit.bind(this)},n("fieldset",null,n("div",null,n("pn-input",{type:"number",label:this.i18n.labelFrom,inputid:"fromzip",name:"fromzip",placeholder:this.i18n.zipPlaceholder,required:true,value:this.fromzip}),n("pn-input",{type:"number",label:this.i18n.labelTo,inputid:"tozip",name:"tozip",placeholder:this.i18n.zipPlaceholder,required:true,value:this.tozip}))),n("fieldset",null,n("div",null,n("pn-input",{type:"number",label:this.i18n.labelWeight,inputid:"weight",name:"weight",placeholder:this.i18n.weightPlaceholder,required:true,value:this.weight}),n("div",{class:"datepicker"},n("label",{htmlFor:"when"},this.i18n.labelWhen),n("pn-marketweb-input",{inputid:"when",name:"when",type:"datetime-local",min:(new Date).toISOString().split("T")[0],value:this.when})))),n("fieldset",null,n("div",null,n("pn-button",{type:"submit"},this.i18n.submitButtonText)))),this.response?n("div",{class:"pex-pricefinder-response"},n("strong",null,this.response.data.value," ",this.currency)):null)};Object.defineProperty(e.prototype,"hostElement",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());s.style=a}}}));
@@ -0,0 +1 @@
1
+ var __spreadArray=this&&this.__spreadArray||function(t,n,e){if(e||arguments.length===2)for(var i=0,o=n.length,s;i<o;i++){if(s||!(i in n)){if(!s)s=Array.prototype.slice.call(n,0,i);s[i]=n[i]}}return t.concat(s||Array.prototype.slice.call(n))};System.register(["./p-36654f2a.system.js"],(function(t){"use strict";var n,e,i,o,s;return{setters:[function(t){n=t.r;e=t.e;i=t.h;o=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[list] :host>.input-container .button-container{display:none}:host>.input-container button{position:absolute;left:50%;top:50%;-webkit-transform:translate(100%, -50%);transform:translate(100%, -50%);background:#FFFFFF;border:none;color:#005D92;padding:0.3rem;margin:0;font-size:0.875em;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;-webkit-tap-highlight-color: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}:host>.input-container button:hover,:host>.input-container button:focus{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_marketweb_search",function(){function t(t){n(this,t);this.search=e(this,"search",7);this.update=e(this,"update",7);this.disabled=false;this.placeholder=null;this.inputid=null;this.name=null;this.autocomplete=null;this.list=null;this.value=null;this.label=null;this.loading=false;this.button="";this.light=false;this.suggestionObserver=null;this.hasClonedInput=false;this.listSuggestion=[]}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.componentWillRender=function(){this.cloneListContent();this.autocompleteEventBinding()};t.prototype.onSuggestionUpdate=function(){this.cloneListContent()};t.prototype.autocompleteEventBinding=function(){if(this.suggestionObserver!==null||!this.list||!this.hostElement||!document.getElementById(this.list)){return}var t=document.getElementById(this.list);this.suggestionObserver=new MutationObserver(this.onSuggestionUpdate.bind(this));this.suggestionObserver.observe(t,{attributes:true,childList:true,subtree:true})};t.prototype.cloneListContent=function(){if(!this.list||!this.hostElement||!document.getElementById(this.list)){return}var t=__spreadArray([],document.getElementById(this.list).querySelectorAll("option"),true);this.listSuggestion=t.map((function(t){if(t.hasAttribute("value")){return t.getAttribute("value")}return t.innerText}))};t.prototype.render=function(){var t=this;return i(o,null,i("div",{class:"input-container ".concat(this.getClassNames()),"data-haslist":(this.list!==null)+""},i("input",{type:"search",value:this.value,id:this.inputid,name:this.name,placeholder:this.placeholder,disabled:this.disabled,autocomplete:this.autocomplete,list:this.list,onKeyDown:function(n){return t.emitSearch(n)},onInput:function(n){return t.setVal(n)}}),i("div",{class:"button-container"},(this.button==="none"||this.button==="icon-inline")&&i("button",{class:"search",tabindex:this.button==="icon-inline"?"0":"-1",onClick:function(n){return t.emitSearch(n)},"aria-label":"search",title:"search"},i("pn-icon",{symbol:"search",color:"blue700"})),this.button!=="icon-inline"&&i("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()}},i("pn-icon",{symbol:"close-small",color:"blue700"})),this.button==="none"||this.button==="icon-inline"&&i("pn-spinner",null))),this.button!=="none"&&this.button!=="icon-inline"&&i("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),this.list&&i("datalist",{id:this.list},this.listSuggestion.map((function(t){return i("option",null,t)}))))};Object.defineProperty(t.prototype,"hostElement",{get:function(){return s(this)},enumerable:false,configurable:true});return t}());a.style=r}}}));
@@ -0,0 +1 @@
1
+ var __awaiter=this&&this.__awaiter||function(M,i,I,N){function D(M){return M instanceof I?M:new I((function(i){i(M)}))}return new(I||(I=Promise))((function(I,j){function g(M){try{z(N.next(M))}catch(i){j(i)}}function e(M){try{z(N["throw"](M))}catch(i){j(i)}}function z(M){M.done?I(M.value):D(M.value).then(g,e)}z((N=N.apply(M,i||[])).next())}))};var __generator=this&&this.__generator||function(M,i){var I={label:0,sent:function(){if(j[0]&1)throw j[1];return j[1]},trys:[],ops:[]},N,D,j,g;return g={next:e(0),throw:e(1),return:e(2)},typeof Symbol==="function"&&(g[Symbol.iterator]=function(){return this}),g;function e(M){return function(i){return z([M,i])}}function z(g){if(N)throw new TypeError("Generator is already executing.");while(I)try{if(N=1,D&&(j=g[0]&2?D["return"]:g[0]?D["throw"]||((j=D["return"])&&j.call(D),0):D.next)&&!(j=j.call(D,g[1])).done)return j;if(D=0,j)g=[g[0]&2,j.value];switch(g[0]){case 0:case 1:j=g;break;case 4:I.label++;return{value:g[1],done:false};case 5:I.label++;D=g[1];g=[0];continue;case 7:g=I.ops.pop();I.trys.pop();continue;default:if(!(j=I.trys,j=j.length>0&&j[j.length-1])&&(g[0]===6||g[0]===2)){I=0;continue}if(g[0]===3&&(!j||g[1]>j[0]&&g[1]<j[3])){I.label=g[1];break}if(g[0]===6&&I.label<j[1]){I.label=j[1];j=g;break}if(j&&I.label<j[2]){I.label=j[2];I.ops.push(g);break}if(j[2])I.ops.pop();I.trys.pop();continue}g=i.call(M,I)}catch(e){g=[6,e];D=0}finally{N=j=0}if(g[0]&5)throw g[1];return{value:g[0]?g[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(M,i,I){if(I||arguments.length===2)for(var N=0,D=i.length,j;N<D;N++){if(j||!(N in i)){if(!j)j=Array.prototype.slice.call(i,0,N);j[N]=i[N]}}return M.concat(j||Array.prototype.slice.call(i))};System.register(["./p-36654f2a.system.js","./p-0ea97ca0.system.js","./p-3971ddb9.system.js","./p-825b8fb8.system.js"],(function(M){"use strict";var i,I,N,D;return{setters:[function(M){i=M.r;I=M.h},function(M){N=M.c},function(M){D=M.s},function(){}],execute:function(){var j={sv:{componentheading:"Våra priser och villkor för inrikesförsändelser för dig som direktbetalande kund?",deliveryscopeheading:"Endast leveranser inom Sverige",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 serviceställe eller brevlåda"},en:{componentheading:"Our prices and terms and conditions for domestic shipments for you as a direct paying customer",deliveryscopeheading:"Deliveries within Sweden only",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",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",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ä",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"}};var g={se:{currency:"kr"},dk:{currency:"dk"},fi:{currency:" €"},no:{currency:"kr"}};var e=[{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"}];var 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}]};var u="https://com-integration.postnord.com/globalassets/global/prices/sv-findprice-first.xlsx";var T="https://www.postnord.se/vara-verktyg/sok-brevlada-eller-servicestalle";var a="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTQiIGhlaWdodD0iMzgiIHZpZXdCb3g9IjAgMCA1NC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NC41ODcyIDAuOTk4MDQ3IDM4LjI0NDggMC45OTgwNDcgNDIuNzE1NFY0Ni4xMDIySDEyLjAzOTFaIiBmaWxsPSIjRTBGOEZGIi8+CjxwYXRoIGQ9Ik0xMzEuMDU2IDI2LjU4NjRDMTMxLjQ0OSAzMC4wNDIzIDEzMy45NDggMzIuNjg5NSAxMzYuOTkxIDMyLjY4OTVIMTYyLjg5MUMxNjYuMjA5IDMyLjY4OTUgMTY4Ljg4IDI5LjU0MjYgMTY4Ljg4IDI1LjYzMjhWMjUuNTM3NUMxNjguODggMjEuNjI3NyAxNjYuMjA5IDE4LjQ4MDggMTYyLjg5MSAxOC40ODA4SDE1OS45MDdDMTU4Ljc3NyAxMy44MDE1IDE1NS4zMyAxMC4zNzUzIDE1MS4yMzYgMTAuMzc1M0gxNDYuNDJDMTQ1Ljk3MSA0LjcwNTMzIDE0MS45MjEgMC4yNjcwOSAxMzYuOTkxIDAuMjY3MDlDMTMyLjA2MiAwLjI2NzA5IDEyOC4wMTIgNC43MDUzMyAxMjcuNTYzIDEwLjM3NTNIMTI0LjUyOEMxMTkuNTEgMTAuMzc1MyAxMTUuNDYzIDE1LjUyNDcgMTE1LjQ2MyAyMS44MTg0VjI2LjU4NjRIMTMxLjA1NloiIGZpbGw9IiNFMEY4RkYiLz4KPC9zdmc+Cg==";var n='@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{text-align:center;font-size:1.5em;line-height:1.1;font-weight:bold;margin-bottom:1rem}pn-find-price .resultHeading{text-align:center;font-size:1.5em;line-height:1.1;font-weight:bold;margin-bottom:2em}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 .sizecategory #clouds{position:absolute;top:4.87em;left:26.3em}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;text-decoration:none}pn-find-price .servicePoint a:hover{color:#0D234B;text-decoration:underline}';var O=M("pn_find_price",function(){function M(M){i(this,M);this.source=u;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:""}}M.prototype.componentWillLoad=function(){this.setState();this.getDataSource()};M.prototype.getDataSource=function(){return __awaiter(this,void 0,void 0,(function(){var M,i,I,D,j;return __generator(this,(function(g){switch(g.label){case 0:M="?cache=".concat(Math.floor(Math.random()*(1e4-1)+1));return[4,fetch(this.source+M)];case 1:i=g.sent();return[4,i.blob()];case 2:I=g.sent();g.label=3;case 3:g.trys.push([3,5,,6]);return[4,N(I)];case 4:D=g.sent();this.sourceData=D;this.sizecategory=e.filter((function(M){return M.value==="Small"}))[0];this.filterItems();return[3,6];case 5:j=g.sent();console.log("Unable to parse data");return[3,6];case 6:return[2]}}))}))};M.prototype.setState=function(){if(this.market){D.market=g[this.market]}if(this.language&&j[this.language]){D.i18n=j[this.language]}};M.prototype.filterItems=function(){var M=this;var i;if(!((i=this.sourceData)===null||i===void 0?void 0:i.data)){console.log("Data has not yet been loaded");return}var I=this.sourceData.data.filter((function(M){return M.deliveryscope.toLocaleLowerCase()==="sweden"}));if(!this.sizecategory){return}var N=I.filter((function(i){return i.sizecategory.toLocaleLowerCase()===M.sizecategory.value.toLocaleLowerCase()}));if(!this.weight){return}var D=this.weight.value<=20?this.weight.value*1e3:this.weight.value;var j=N.filter((function(M){return(M.maxweight<=20?M.maxweight*1e3:M.maxweight)===D}));if(j.length===0&&this.weightvalue!==0){j=N.filter((function(M){return(M.maxweight<=20?M.maxweight*1e3:M.maxweight)>=D}));if(j.length>0){j.sort((function(M,i){return M.maxweight-i.maxweight}));var g=__spreadArray([],new Map(j.reverse().map((function(M){return[M["id"],M]}))).values(),true);if(g.length>0){j=g}}}j.sort((function(M,i){var I=M.highestrankusp?M.highestrankusp.toLowerCase():"z";var N=i.highestrankusp?i.highestrankusp.toLowerCase():"z";return I.localeCompare(N)}));this.filteredItems=j};M.prototype.render=function(){var M=this;return I("div",{class:"findprice-form"},I("div",null,I("div",{class:"sizecategory"},I("img",{id:"clouds",src:A}),I("table",{class:"sizeTable"},I("tr",null,I("td",null,I("img",{class:"firstCell",src:c})),I("td",null,I("img",{src:a})),I("td",null,I("img",{src:t})),I("td",null,I("img",{src:y}))),I("tr",null,I("td",null),e.map((function(i){return I("td",null,I("pn-radio-button",{radioid:i.value,value:i.value,name:"sizecategory",checked:i.value===M.sizecategory.value,onChange:function(){M.sizecategory=e.filter((function(M){return M.value===i.value}))[0];M.weight={value:0,name:""};M.weightvalue=M.weight.value}}))})))))),this.sizecategory.value&&z[this.sizecategory.unit]?I("div",{class:"weightoption"},I("div",{class:"weightoption-content"},z[this.sizecategory.unit].map((function(i){return I("pn-choice-button",{choiceid:M.sizecategory.value+i.value,name:"weight",type:"radio",value:!M.weight.value?0:z[M.sizecategory.unit].findIndex((function(i){return i.value===M.weightvalue})),checked:i.value===M.weight.value,onChange:function(){M.weight=z[M.sizecategory.unit].filter((function(M){return M.value===i.value}))[0];M.weightvalue=M.weight.value}},i.name)})))):null,this.filteredItems&&this.filteredItems.length>0?I("div",{class:"resultlist"},D.i18n.resultlistheading?I("div",{class:"resultHeading"},D.i18n.resultlistheading):null,this.filteredItems.map((function(M){return 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,D.i18n.servicePointHeader),I("a",{href:T,target:"_blank"},I("pn-icon",{symbol:"map-marker",color:"blue700"}),D.i18n.servicePointLink))):null)};Object.defineProperty(M,"watchers",{get:function(){return{market:["setState"],language:["setState"],sizecategory:["filterItems"],weightvalue:["filterItems"]}},enumerable:false,configurable:true});return M}());O.style=n}}}));
@@ -0,0 +1 @@
1
+ import{r as t,h as i,a as e}from"./p-58e8d7d5.js";let n=class{constructor(i){t(this,i),this.disabled=!1,this.error="",this.invalid=!1,this.helpertext="",this.label="",this.placeholder="",this.inputid=`${Math.random()}`,this.name="",this.required=null,this.type="text",this.autocomplete="",this.valid=null,this.value="",this.maxlength="",this.min="",this.max="",this.step="",this.pattern="",this.showText=!1}getTextMessage(){return this.error?this.error:this.helpertext?this.helpertext:null}toggleTextVisibility(){this.showText=!this.showText}getInputType(){return["text","password","url","tel","search","number","email","date","datetime-local","month","week","time"].includes(this.type)&&!this.showText?this.type:"text"}setVal(t){var i;const e=null===(i=t.composedPath)||void 0===i?void 0:i.call(t)[0];this.value=e.value}getClassNames(){let t="pn-input ";return(this.error.length>0||this.invalid)&&(t+="error "),this.valid&&(t+="valid "),"password"===this.type&&(t+="password "),(this.error||this.invalid||this.valid)&&(t+="icon "),t}render(){return i(e,{class:this.getClassNames()},(this.label||this.maxlength)&&i("div",{class:"label-container"},this.label&&i("label",{htmlFor:this.inputid},this.label),parseInt(this.maxlength)>0&&i("label",{class:"char-count",htmlFor:this.inputid},`${this.value.length}/${this.maxlength}`)),i("div",{class:"input-container"},i("input",{type:this.getInputType(),value:this.value,id:this.inputid,name:this.name,placeholder:this.placeholder,disabled:this.disabled,autocomplete:this.autocomplete,onInput:t=>this.setVal(t),maxlength:this.maxlength?this.maxlength:null,min:this.min?this.min:null,max:this.max?this.max:null,step:this.step?this.step:null,pattern:this.pattern?this.pattern:null}),i("svg",{class:"pn-input-checkmark",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none"},i("polyline",{class:"checkmark-path",points:"4,12 9,17 20,6","stroke-width":"3"})),"password"===this.type&&!this.disabled&&i("button",{onClick:()=>this.toggleTextVisibility()},"Show")),this.getTextMessage()&&i("small",null,this.error&&i("pn-icon",{symbol:"alert-exclamation-circle",small:!0,color:"warning"}),this.getTextMessage()))}};n.style="pn--marketweb-input{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-direction:column;flex-direction:column}pn-marketweb-input input{padding:0.75em;font-size:1em;font-weight:500;-webkit-font-smoothing:antialiased;outline:none;border-radius:0.8rem;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%}pn-marketweb-input input::-webkit-input-placeholder{color:#969087;font-weight:normal}pn-marketweb-input input::-moz-placeholder{color:#969087;font-weight:normal}pn-marketweb-input input:-ms-input-placeholder{color:#969087;font-weight:normal}pn-marketweb-input input::-ms-input-placeholder{color:#969087;font-weight:normal}pn-marketweb-input input::placeholder{color:#969087;font-weight:normal}pn-marketweb-input 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}pn-marketweb-input input:hover{border:0.1rem solid #00A0D6}pn-marketweb-input input:disabled{background:#F3F2F2;border:none}pn-marketweb-input>.input-container{position:relative}pn-marketweb-input>.input-container>button{position:absolute;right:1.2rem;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);background:none;border:none;cursor:pointer;color:#005D92;padding:0.6rem;border-radius:0.8rem;outline:none;-webkit-transition:border 0.1s, background 0.2s, color 0.1s;transition:border 0.1s, background 0.2s, color 0.1s;border:0.1rem solid transparent}pn-marketweb-input>.input-container>button:focus{border:0.1rem solid #005D92}pn-marketweb-input>.input-container>button:hover{background:#E0F8FF}pn-marketweb-input>.input-container>button:active{background:#005D92;color:white}pn-marketweb-input>.input-container>svg{position:absolute;right:0.75em;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);height:1.5em;width:1.5em;pointer-events:none}pn-marketweb-input>.input-container>svg polyline{stroke-linecap:round;-webkit-transition:stroke-dashoffset 0.2s cubic-bezier(0.79, 0.14, 0.15, 0.86);transition:stroke-dashoffset 0.2s cubic-bezier(0.79, 0.14, 0.15, 0.86)}pn-marketweb-input>.input-container>svg.pn-input-checkmark polyline{stroke:#005E41;stroke-dashoffset:23;stroke-dasharray:23}pn-marketweb-input .label-container{margin-bottom:0.4rem;color:#5E554A;font-size:0.875em;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:end;align-items:flex-end}pn-marketweb-input .label-container label{cursor:pointer;-webkit-transition:color 0.2s;transition:color 0.2s}.label-container label.char-count{-ms-flex-negative:0;flex-shrink:0;padding-left:0.5em}pn-marketweb-input small{font-size:0.75em;font-size:max(.6em, 1.2rem);-webkit-transition:-webkit-transform 0.2s cubic-bezier(0.79, 0.14, 0.15, 0.86);transition:-webkit-transform 0.2s cubic-bezier(0.79, 0.14, 0.15, 0.86);transition:transform 0.2s cubic-bezier(0.79, 0.14, 0.15, 0.86);transition:transform 0.2s cubic-bezier(0.79, 0.14, 0.15, 0.86), -webkit-transform 0.2s cubic-bezier(0.79, 0.14, 0.15, 0.86);margin-top:0.5em;color:#5E554A}pn-input.error{color:#A70707}pn-input.error label{color:#A70707}pn-input.error small{color:#A70707}pn-input.error small>pn-icon{margin-right:0.25em}pn-input.error input{border:0.1rem solid #A70707}pn-input.error input:focus{border:0.1rem solid #A70707;-webkit-box-shadow:0 0 0 0.2rem #fff, 0 0 0 0.4rem #A70707;box-shadow:0 0 0 0.2rem #fff, 0 0 0 0.4rem #A70707}pn-input.error input:hover{border:0.1rem solid #F06365}pn-input.valid{color:#005E41}pn-input.valid .input-container>svg.pn-input-checkmark polyline{stroke-dashoffset:0}pn-input.valid label{color:#005E41}pn-input.valid input{border:0.1rem solid #005E41}pn-input.valid input:focus{border:0.1rem solid #005E41;-webkit-box-shadow:0 0 0 0.2rem #fff, 0 0 0 0.4rem #005E41;box-shadow:0 0 0 0.2rem #fff, 0 0 0 0.4rem #005E41}pn-input.valid input:hover{border:0.1rem solid #5EC584}pn-marketweb-input.password input{padding-right:4em}pn-marketweb-input.icon input{padding-right:2.3em}";export{n as pn_marketweb_input}
@@ -0,0 +1 @@
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-36654f2a.system.js","./p-0ea97ca0.system.js","./p-a5bc1695.system.js","./p-825b8fb8.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;display:none}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}}}));
@@ -0,0 +1 @@
1
+ System.register(["./p-36654f2a.system.js"],(function(t){"use strict";var e,i,n;return{setters:[function(t){e=t.r;i=t.h;n=t.a}],execute:function(){var r="pn--marketweb-input{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-direction:column;flex-direction:column}pn-marketweb-input input{padding:0.75em;font-size:1em;font-weight:500;-webkit-font-smoothing:antialiased;outline:none;border-radius:0.8rem;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%}pn-marketweb-input input::-webkit-input-placeholder{color:#969087;font-weight:normal}pn-marketweb-input input::-moz-placeholder{color:#969087;font-weight:normal}pn-marketweb-input input:-ms-input-placeholder{color:#969087;font-weight:normal}pn-marketweb-input input::-ms-input-placeholder{color:#969087;font-weight:normal}pn-marketweb-input input::placeholder{color:#969087;font-weight:normal}pn-marketweb-input 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}pn-marketweb-input input:hover{border:0.1rem solid #00A0D6}pn-marketweb-input input:disabled{background:#F3F2F2;border:none}pn-marketweb-input>.input-container{position:relative}pn-marketweb-input>.input-container>button{position:absolute;right:1.2rem;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);background:none;border:none;cursor:pointer;color:#005D92;padding:0.6rem;border-radius:0.8rem;outline:none;-webkit-transition:border 0.1s, background 0.2s, color 0.1s;transition:border 0.1s, background 0.2s, color 0.1s;border:0.1rem solid transparent}pn-marketweb-input>.input-container>button:focus{border:0.1rem solid #005D92}pn-marketweb-input>.input-container>button:hover{background:#E0F8FF}pn-marketweb-input>.input-container>button:active{background:#005D92;color:white}pn-marketweb-input>.input-container>svg{position:absolute;right:0.75em;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);height:1.5em;width:1.5em;pointer-events:none}pn-marketweb-input>.input-container>svg polyline{stroke-linecap:round;-webkit-transition:stroke-dashoffset 0.2s cubic-bezier(0.79, 0.14, 0.15, 0.86);transition:stroke-dashoffset 0.2s cubic-bezier(0.79, 0.14, 0.15, 0.86)}pn-marketweb-input>.input-container>svg.pn-input-checkmark polyline{stroke:#005E41;stroke-dashoffset:23;stroke-dasharray:23}pn-marketweb-input .label-container{margin-bottom:0.4rem;color:#5E554A;font-size:0.875em;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:end;align-items:flex-end}pn-marketweb-input .label-container label{cursor:pointer;-webkit-transition:color 0.2s;transition:color 0.2s}.label-container label.char-count{-ms-flex-negative:0;flex-shrink:0;padding-left:0.5em}pn-marketweb-input small{font-size:0.75em;font-size:max(.6em, 1.2rem);-webkit-transition:-webkit-transform 0.2s cubic-bezier(0.79, 0.14, 0.15, 0.86);transition:-webkit-transform 0.2s cubic-bezier(0.79, 0.14, 0.15, 0.86);transition:transform 0.2s cubic-bezier(0.79, 0.14, 0.15, 0.86);transition:transform 0.2s cubic-bezier(0.79, 0.14, 0.15, 0.86), -webkit-transform 0.2s cubic-bezier(0.79, 0.14, 0.15, 0.86);margin-top:0.5em;color:#5E554A}pn-input.error{color:#A70707}pn-input.error label{color:#A70707}pn-input.error small{color:#A70707}pn-input.error small>pn-icon{margin-right:0.25em}pn-input.error input{border:0.1rem solid #A70707}pn-input.error input:focus{border:0.1rem solid #A70707;-webkit-box-shadow:0 0 0 0.2rem #fff, 0 0 0 0.4rem #A70707;box-shadow:0 0 0 0.2rem #fff, 0 0 0 0.4rem #A70707}pn-input.error input:hover{border:0.1rem solid #F06365}pn-input.valid{color:#005E41}pn-input.valid .input-container>svg.pn-input-checkmark polyline{stroke-dashoffset:0}pn-input.valid label{color:#005E41}pn-input.valid input{border:0.1rem solid #005E41}pn-input.valid input:focus{border:0.1rem solid #005E41;-webkit-box-shadow:0 0 0 0.2rem #fff, 0 0 0 0.4rem #005E41;box-shadow:0 0 0 0.2rem #fff, 0 0 0 0.4rem #005E41}pn-input.valid input:hover{border:0.1rem solid #5EC584}pn-marketweb-input.password input{padding-right:4em}pn-marketweb-input.icon input{padding-right:2.3em}";var o=t("pn_marketweb_input",function(){function t(t){e(this,t);this.disabled=false;this.error="";this.invalid=false;this.helpertext="";this.label="";this.placeholder="";this.inputid="".concat(Math.random());this.name="";this.required=null;this.type="text";this.autocomplete="";this.valid=null;this.value="";this.maxlength="";this.min="";this.max="";this.step="";this.pattern="";this.showText=false}t.prototype.getTextMessage=function(){if(this.error)return this.error;if(this.helpertext)return this.helpertext;return null};t.prototype.toggleTextVisibility=function(){this.showText=!this.showText};t.prototype.getInputType=function(){var t=["text","password","url","tel","search","number","email","date","datetime-local","month","week","time"];return t.includes(this.type)&&!this.showText?this.type:"text"};t.prototype.setVal=function(t){var e;var i=(e=t.composedPath)===null||e===void 0?void 0:e.call(t)[0];this.value=i.value};t.prototype.getClassNames=function(){var t="pn-input ";if(this.error.length>0||this.invalid)t+="error ";if(this.valid)t+="valid ";if(this.type==="password")t+="password ";if(this.error||this.invalid||this.valid)t+="icon ";return t};t.prototype.render=function(){var t=this;return i(n,{class:this.getClassNames()},(this.label||this.maxlength)&&i("div",{class:"label-container"},this.label&&i("label",{htmlFor:this.inputid},this.label),parseInt(this.maxlength)>0&&i("label",{class:"char-count",htmlFor:this.inputid},"".concat(this.value.length,"/").concat(this.maxlength))),i("div",{class:"input-container"},i("input",{type:this.getInputType(),value:this.value,id:this.inputid,name:this.name,placeholder:this.placeholder,disabled:this.disabled,autocomplete:this.autocomplete,onInput:function(e){return t.setVal(e)},maxlength:this.maxlength?this.maxlength:null,min:this.min?this.min:null,max:this.max?this.max:null,step:this.step?this.step:null,pattern:this.pattern?this.pattern:null}),i("svg",{class:"pn-input-checkmark",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none"},i("polyline",{class:"checkmark-path",points:"4,12 9,17 20,6","stroke-width":"3"})),this.type==="password"&&!this.disabled&&i("button",{onClick:function(){return t.toggleTextVisibility()}},"Show")),this.getTextMessage()&&i("small",null,this.error&&i("pn-icon",{symbol:"alert-exclamation-circle",small:true,color:"warning"}),this.getTextMessage()))};return t}());o.style=r}}}));
@@ -0,0 +1 @@
1
+ import{r as e,h as t,a as n}from"./p-58e8d7d5.js";let r=class{constructor(t){e(this,t)}render(){return t(n,null,t("slot",{name:"illustration"}),t("div",{class:"cardcontent"},t("div",{class:"details"},t("slot",{name:"title"}),t("slot",{name:"content"}),t("div",{class:"info"},t("slot",null)),t("slot",{name:"note"}),t("slot",{name:"additionalUSP"})),t("div",{class:"cardprice"},t("slot",{name:"cardprice"}))))}};r.style="pn-product-card{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;word-break:break-word;text-decoration:none;border-radius:0.8rem;position:relative;padding:11rem 2.4rem 2.4rem;margin-bottom:1.6rem}@media screen and (min-width: 36em){pn-product-card{padding:2.4rem}}pn-product-card [slot=title]{display:-ms-flexbox;display:flex;width:100%;margin-bottom:0.8rem;gap:1.6rem;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center}@media screen and (min-width: 36em){pn-product-card [slot=title]{-ms-flex-direction:row;flex-direction:row;-ms-flex-align:inherit;align-items:inherit}}pn-product-card [slot=title] h2{width:100%}@media screen and (min-width: 36em){pn-product-card [slot=title] h2{width:auto}}pn-product-card [slot=title]>[slot]{border-radius:0.4rem;height:2.5em;font-weight:normal;font-size:0.75em;text-align:center;vertical-align:bottom;padding:0.6rem}pn-product-card [slot=title]>[slot] pn-icon{vertical-align:middle;margin-left:0.6em}pn-product-card [slot=title]>[slot=Billigast]{color:#005E41;background:#DCF6E7}pn-product-card [slot=title]>[slot=Snabbast]{background:#E0F8FF;color:#005D92}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;-ms-flex-item-align:center;align-self:center;position:absolute;top:1.6rem;-webkit-transform:translateX(-50%);transform:translateX(-50%);left:50%;-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);border-radius:100%}@media screen and (min-width: 36em){pn-product-card>pn-illustration{-webkit-box-shadow:none;box-shadow:none;top:1.6rem;right:1.6rem;left:auto;-webkit-transform:none;transform:none}}@media screen and (min-width: 48em){pn-product-card>pn-illustration{position:static;top:auto;right:auto;margin-right:3rem}}pn-product-card .cardcontent{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-positive:1;flex-grow:1}@media screen and (min-width: 48em){pn-product-card .cardcontent{-ms-flex-direction:row;flex-direction:row;gap:1.6rem}}pn-product-card .cardcontent .description :first-child{max-width:calc(100% - 10rem)}@media screen and (min-width: 48em){pn-product-card .cardcontent .description :first-child{max-width:none}}pn-product-card [slot=cardprice]{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-positive:1;flex-grow:1}@media screen and (min-width: 36em){pn-product-card [slot=cardprice]{-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:justify;justify-content:space-between}}@media screen and (min-width: 48em){pn-product-card [slot=cardprice]{-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-align:end;align-items:flex-end}}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}";let i=class{constructor(t){e(this,t)}render(){return t(n,null,this.label?t("div",{class:"cardinfocontent"},this.text?t("pre",{slot:"formatPre"},this.text):null):t("div",{class:"cardinfocontent"},t("div",{class:"cardinfocontent-item"},t("strong",null,"Paket:"),this.paket.split("/").map((e=>e.split(":").length>0?t("p",null,t("strong",null,e.split(":")[0]+": ")," ",e.split(":")[1]):t("p",null,e)))),this.rulle?t("div",{class:"cardinfocontent-item"},t("strong",null,"Rulle:"),this.rulle.split("/").map((e=>e.split(":").length>0?t("p",null,t("strong",null,e.split(":")[0]+": ")," ",e.split(":")[1]):t("p",null,e)))):null))}};t("pn-icon",{symbol:"align-center",small:"false",color:"black"}),i.style='pn-product-card-info{-ms-flex-item-align:center;align-self:center}.cardinfocontent{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-positive:1;flex-grow:1;font-size:0.875em;gap:1.6rem}@media screen and (min-width: 36em){.cardinfocontent{-ms-flex-direction:row;flex-direction:row}}[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}';let o=class{constructor(t){e(this,t)}render(){if(this.amount)return this.url?t(n,null,t("h3",null,this.amount?t("span",null,this.amount):null,this.currency?t("span",null," "+this.currency):null),this.note?t("p",null,this.note):null,this.label?t("pn-button",{small:"true",icon:"open-in-new",appearance:"light",href:this.url,target:"_blank",id:this.service.split(" ").join("-").toLocaleLowerCase()},this.label):null):t(n,null,t("h3",null,this.amount?t("span",null,this.amount):null,this.currency?t("span",null,this.currency):null))}};o.style="pn-product-card-price{margin-top:1.6rem;white-space:nowrap;text-align:center;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}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{min-width:12.8em;margin-top:0.8rem;font-size:1.25;-ms-flex-order:2;order:2}@media screen and (min-width: 48em){pn-product-card-price pn-button{-ms-flex-order:3;order:3;margin-bottom:1.6rem}}pn-product-card-price h3{-ms-flex-order:1;order:1}pn-product-card-price p{font-weight:lighter;font-size:0.875em;-ms-flex-item-align:center;align-self:center;margin-top:0.8rem;-ms-flex-order:3;order:3}@media screen and (min-width: 48em){pn-product-card-price p{-ms-flex-order:2;order:2}}pn-product-card-price a{text-decoration:none;color:#005D92}pn-product-card-price a h3{text-decoration:underline}";export{r as pn_product_card,i as pn_product_card_info,o as pn_product_card_price}
@@ -0,0 +1 @@
1
+ import{r as t,h as s,a as l}from"./p-58e8d7d5.js";import{s as i}from"./p-5d587499.js";import"./p-86f06e26.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:"Billigast"},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"}):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}
@@ -0,0 +1 @@
1
+ import{r as t,e as n,h as i,a as s,g as o}from"./p-58e8d7d5.js";let e=class{constructor(i){t(this,i),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.list=null,this.value=null,this.label=null,this.loading=!1,this.button="",this.light=!1,this.suggestionObserver=null,this.hasClonedInput=!1,this.listSuggestion=[]}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}componentWillRender(){this.cloneListContent(),this.autocompleteEventBinding()}onSuggestionUpdate(){this.cloneListContent()}autocompleteEventBinding(){if(null!==this.suggestionObserver||!this.list||!this.hostElement||!document.getElementById(this.list))return;const t=document.getElementById(this.list);this.suggestionObserver=new MutationObserver(this.onSuggestionUpdate.bind(this)),this.suggestionObserver.observe(t,{attributes:!0,childList:!0,subtree:!0})}cloneListContent(){if(!this.list||!this.hostElement||!document.getElementById(this.list))return;const t=[...document.getElementById(this.list).querySelectorAll("option")];this.listSuggestion=t.map((t=>t.hasAttribute("value")?t.getAttribute("value"):t.innerText))}render(){return i(s,null,i("div",{class:`input-container ${this.getClassNames()}`,"data-haslist":(null!==this.list)+""},i("input",{type:"search",value:this.value,id:this.inputid,name:this.name,placeholder:this.placeholder,disabled:this.disabled,autocomplete:this.autocomplete,list:this.list,onKeyDown:t=>this.emitSearch(t),onInput:t=>this.setVal(t)}),i("div",{class:"button-container"},("none"===this.button||"icon-inline"===this.button)&&i("button",{class:"search",tabindex:"icon-inline"===this.button?"0":"-1",onClick:t=>this.emitSearch(t),"aria-label":"search",title:"search"},i("pn-icon",{symbol:"search",color:"blue700"})),"icon-inline"!==this.button&&i("button",{class:"clear","aria-label":"clear",title:"clear search field",tabindex:!this.value||this.loading&&"none"===this.button?"-1":"0",onClick:()=>this.clearInput()},i("pn-icon",{symbol:"close-small",color:"blue700"})),"none"===this.button||"icon-inline"===this.button&&i("pn-spinner",null))),"none"!==this.button&&"icon-inline"!==this.button&&i("pn-button",{onClick:t=>this.emitSearch(t),loading:this.loading,icon:"search",appearance:this.light?"light":"dark","icon-only":"icon"===this.button},this.label),this.list&&i("datalist",{id:this.list},this.listSuggestion.map((t=>i("option",null,t)))))}get hostElement(){return o(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[list] :host>.input-container .button-container{display:none}:host>.input-container button{position:absolute;left:50%;top:50%;-webkit-transform:translate(100%, -50%);transform:translate(100%, -50%);background:#FFFFFF;border:none;color:#005D92;padding:0.3rem;margin:0;font-size:0.875em;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;-webkit-tap-highlight-color: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}:host>.input-container button:hover,:host>.input-container button:focus{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_marketweb_search}
@@ -0,0 +1 @@
1
+ System.register(["./p-36654f2a.system.js"],(function(e){"use strict";var t,n,r;return{setters:[function(e){t=e.r;n=e.h;r=e.a}],execute:function(){var i="pn-product-card{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;word-break:break-word;text-decoration:none;border-radius:0.8rem;position:relative;padding:11rem 2.4rem 2.4rem;margin-bottom:1.6rem}@media screen and (min-width: 36em){pn-product-card{padding:2.4rem}}pn-product-card [slot=title]{display:-ms-flexbox;display:flex;width:100%;margin-bottom:0.8rem;gap:1.6rem;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center}@media screen and (min-width: 36em){pn-product-card [slot=title]{-ms-flex-direction:row;flex-direction:row;-ms-flex-align:inherit;align-items:inherit}}pn-product-card [slot=title] h2{width:100%}@media screen and (min-width: 36em){pn-product-card [slot=title] h2{width:auto}}pn-product-card [slot=title]>[slot]{border-radius:0.4rem;height:2.5em;font-weight:normal;font-size:0.75em;text-align:center;vertical-align:bottom;padding:0.6rem}pn-product-card [slot=title]>[slot] pn-icon{vertical-align:middle;margin-left:0.6em}pn-product-card [slot=title]>[slot=Billigast]{color:#005E41;background:#DCF6E7}pn-product-card [slot=title]>[slot=Snabbast]{background:#E0F8FF;color:#005D92}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;-ms-flex-item-align:center;align-self:center;position:absolute;top:1.6rem;-webkit-transform:translateX(-50%);transform:translateX(-50%);left:50%;-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);border-radius:100%}@media screen and (min-width: 36em){pn-product-card>pn-illustration{-webkit-box-shadow:none;box-shadow:none;top:1.6rem;right:1.6rem;left:auto;-webkit-transform:none;transform:none}}@media screen and (min-width: 48em){pn-product-card>pn-illustration{position:static;top:auto;right:auto;margin-right:3rem}}pn-product-card .cardcontent{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-positive:1;flex-grow:1}@media screen and (min-width: 48em){pn-product-card .cardcontent{-ms-flex-direction:row;flex-direction:row;gap:1.6rem}}pn-product-card .cardcontent .description :first-child{max-width:calc(100% - 10rem)}@media screen and (min-width: 48em){pn-product-card .cardcontent .description :first-child{max-width:none}}pn-product-card [slot=cardprice]{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-positive:1;flex-grow:1}@media screen and (min-width: 36em){pn-product-card [slot=cardprice]{-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:justify;justify-content:space-between}}@media screen and (min-width: 48em){pn-product-card [slot=cardprice]{-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-align:end;align-items:flex-end}}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 o=e("pn_product_card",function(){function e(e){t(this,e)}e.prototype.render=function(){return n(r,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",{class:"cardprice"},n("slot",{name:"cardprice"}))))};return e}());o.style=i;var l='pn-product-card-info{-ms-flex-item-align:center;align-self:center}.cardinfocontent{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-positive:1;flex-grow:1;font-size:0.875em;gap:1.6rem}@media screen and (min-width: 36em){.cardinfocontent{-ms-flex-direction:row;flex-direction:row}}[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 c=e("pn_product_card_info",function(){function e(e){t(this,e)}e.prototype.render=function(){return this.label?n(r,null,n("div",{class:"cardinfocontent"},this.text?n("pre",{slot:"formatPre"},this.text):null)):n(r,null,n("div",{class:"cardinfocontent"},n("div",{class:"cardinfocontent-item"},n("strong",null,"Paket:"),this.paket.split("/").map((function(e){return e.split(":").length>0?n("p",null,n("strong",null,e.split(":")[0]+": ")," ",e.split(":")[1]):n("p",null,e)}))),this.rulle?n("div",{class:"cardinfocontent-item"},n("strong",null,"Rulle:"),this.rulle.split("/").map((function(e){return e.split(":").length>0?n("p",null,n("strong",null,e.split(":")[0]+": ")," ",e.split(":")[1]):n("p",null,e)}))):null))};return e}());n("pn-icon",{symbol:"align-center",small:"false",color:"black"});c.style=l;var a="pn-product-card-price{margin-top:1.6rem;white-space:nowrap;text-align:center;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}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{min-width:12.8em;margin-top:0.8rem;font-size:1.25;-ms-flex-order:2;order:2}@media screen and (min-width: 48em){pn-product-card-price pn-button{-ms-flex-order:3;order:3;margin-bottom:1.6rem}}pn-product-card-price h3{-ms-flex-order:1;order:1}pn-product-card-price p{font-weight:lighter;font-size:0.875em;-ms-flex-item-align:center;align-self:center;margin-top:0.8rem;-ms-flex-order:3;order:3}@media screen and (min-width: 48em){pn-product-card-price p{-ms-flex-order:2;order:2}}pn-product-card-price a{text-decoration:none;color:#005D92}pn-product-card-price a h3{text-decoration:underline}";var d=e("pn_product_card_price",function(){function e(e){t(this,e)}e.prototype.render=function(){if(!this.amount){return}return this.url?n(r,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:"open-in-new",appearance:"light",href:this.url,target:"_blank",id:this.service.split(" ").join("-").toLocaleLowerCase()},this.label):null):n(r,null,n("h3",null,this.amount?n("span",null,this.amount):null,this.currency?n("span",null,this.currency):null))};return e}());d.style=a}}}));
@@ -1 +1 @@
1
- import{d as e,N as n,w as a,p as t,H as i,b as r}from"./p-58e8d7d5.js";const l=e=>{const n=e.cloneNode;e.cloneNode=function(e){if("TEMPLATE"===this.nodeName)return n.call(this,e);const a=n.call(this,!1),t=this.childNodes;if(e)for(let n=0;n<t.length;n++)2!==t[n].nodeType&&a.appendChild(t[n].cloneNode(!0));return a}};(()=>{l(i.prototype);const r=Array.from(e.querySelectorAll("script")).find((e=>new RegExp(`/${n}(\\.esm)?\\.js($|\\?|#)`).test(e.src)||e.getAttribute("data-stencil-namespace")===n)),o={};return"onbeforeload"in r&&!history.scrollRestoration?{then(){}}:(o.resourcesUrl=new URL(".",new URL(r.getAttribute("data-resources-url")||r.src,a.location.href)).href,t(o))})().then((e=>r([["p-c0c52dc6",[[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-3ddbc14c",[[0,"pn-find-price",{source:[1],language:[1025],market:[1025],filteredItems:[32],weight:[32],weightvalue:[32],sourceData:[32],sizecategory:[32]}]]],["p-774b7a9f",[[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-c7c3361a",[[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-40264b65",[[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-51df9292",[[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-81d764a0",[[1,"pn-filter-checkbox",{value:[520],name:[1],checkboxid:[1],disabled:[4],checked:[4],indeterminate:[1028]},[[0,"change","handlechange"]]]]],["p-6b505c69",[[1,"pn-marketweb-search",{disabled:[4],placeholder:[1],inputid:[1],name:[1],autocomplete:[1],list:[1],value:[1],label:[1],loading:[4],button:[1],light:[4],suggestionObserver:[32],hasClonedInput:[32],listSuggestion:[32]},[[0,"input","inputHandler"]]]]],["p-0fe71e75",[[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-b4f0228c",[[4,"pn-profile-selector",{language:[1537],returnUrl:[1,"return-url"],i18n:[32],isLoading:[32],numberOfProfiles:[32]}]]],["p-5c41acb2",[[0,"pn-profile-selector-option",{name:[1],identifier:[1],url:[1]}]]],["p-7d75ea68",[[4,"pn-sidenav",{language:[1],navLabel:[1,"nav-label"],i18n:[32]},[[0,"language","setLanguage"],[0,"openSubMenuLevelChange","onOpenSubMenuLevelChange"]]]]],["p-227e1d46",[[4,"pn-sidenav-level",{level:[32],levelId:[32],isOpen:[32],parentName:[32],parentHref:[32],parentLinkId:[32],alignment:[32]}]]],["p-f774e2cc",[[4,"pn-sidenav-link",{name:[1],href:[1],target:[1],linkid:[1],icon:[1],current:[4],levelId:[32],open:[32],hasChildren:[32]}]]],["p-0cff4955",[[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-e056d2c6",[[0,"pn-find-service-and-price-result",{item:[1040],shownitems:[16],weightText:[32]}]]],["p-86b271f4",[[0,"pn-product-pricelist-result",{item:[1040],shownitems:[16],weightText:[32]}]]],["p-c240b614",[[0,"pn-bonus-progressbar-level",{current:[516],value:[1538],bonuspercentage:[1537],visualpercentage:[1538],percentage:[32],max:[32],min:[32],currency:[32]}]]],["p-adc639c8",[[4,"pn-site-footer",{url:[1],linktitle:[1]}],[4,"pn-site-footer-col"]]],["p-15112837",[[4,"pn-choice-button",{value:[520],name:[1],choiceid:[1],type:[1],disabled:[4],checked:[4],indeterminate:[1028]},[[0,"change","handlechange"]]]]],["p-715d1ef7",[[4,"pn-mainnav-link",{name:[1],href:[1],target:[1],linkid:[1],levelId:[32],open:[32],hasChildren:[32]}]]],["p-f0a468ef",[[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-e474b831",[[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-10b95894",[[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
+ import{d as e,N as n,w as a,p as t,H as i,b as r}from"./p-58e8d7d5.js";const l=e=>{const n=e.cloneNode;e.cloneNode=function(e){if("TEMPLATE"===this.nodeName)return n.call(this,e);const a=n.call(this,!1),t=this.childNodes;if(e)for(let n=0;n<t.length;n++)2!==t[n].nodeType&&a.appendChild(t[n].cloneNode(!0));return a}};(()=>{l(i.prototype);const r=Array.from(e.querySelectorAll("script")).find((e=>new RegExp(`/${n}(\\.esm)?\\.js($|\\?|#)`).test(e.src)||e.getAttribute("data-stencil-namespace")===n)),o={};return"onbeforeload"in r&&!history.scrollRestoration?{then(){}}:(o.resourcesUrl=new URL(".",new URL(r.getAttribute("data-resources-url")||r.src,a.location.href)).href,t(o))})().then((e=>r([["p-c0c52dc6",[[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-5e78891a",[[0,"pn-find-price",{source:[1],language:[1025],market:[1025],filteredItems:[32],weight:[32],weightvalue:[32],sourceData:[32],sizecategory:[32]}]]],["p-774b7a9f",[[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-045a349a",[[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-40264b65",[[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-51df9292",[[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-72195bd8",[[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-81d764a0",[[1,"pn-filter-checkbox",{value:[520],name:[1],checkboxid:[1],disabled:[4],checked:[4],indeterminate:[1028]},[[0,"change","handlechange"]]]]],["p-e9fe5c54",[[1,"pn-marketweb-search",{disabled:[4],placeholder:[1],inputid:[1],name:[1],autocomplete:[1],list:[1],value:[1],label:[1],loading:[4],button:[1],light:[4],suggestionObserver:[32],hasClonedInput:[32],listSuggestion:[32]},[[0,"input","inputHandler"]]]]],["p-b4f0228c",[[4,"pn-profile-selector",{language:[1537],returnUrl:[1,"return-url"],i18n:[32],isLoading:[32],numberOfProfiles:[32]}]]],["p-5c41acb2",[[0,"pn-profile-selector-option",{name:[1],identifier:[1],url:[1]}]]],["p-7d75ea68",[[4,"pn-sidenav",{language:[1],navLabel:[1,"nav-label"],i18n:[32]},[[0,"language","setLanguage"],[0,"openSubMenuLevelChange","onOpenSubMenuLevelChange"]]]]],["p-227e1d46",[[4,"pn-sidenav-level",{level:[32],levelId:[32],isOpen:[32],parentName:[32],parentHref:[32],parentLinkId:[32],alignment:[32]}]]],["p-f774e2cc",[[4,"pn-sidenav-link",{name:[1],href:[1],target:[1],linkid:[1],icon:[1],current:[4],levelId:[32],open:[32],hasChildren:[32]}]]],["p-e5fffc92",[[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-e056d2c6",[[0,"pn-find-service-and-price-result",{item:[1040],shownitems:[16],weightText:[32]}]]],["p-86b271f4",[[0,"pn-product-pricelist-result",{item:[1040],shownitems:[16],weightText:[32]}]]],["p-c240b614",[[0,"pn-bonus-progressbar-level",{current:[516],value:[1538],bonuspercentage:[1537],visualpercentage:[1538],percentage:[32],max:[32],min:[32],currency:[32]}]]],["p-996d8a6a",[[0,"pn-marketweb-input",{disabled:[4],error:[1],invalid:[4],helpertext:[1],label:[1],placeholder:[1],inputid:[1],name:[1],required:[4],type:[1025],autocomplete:[1],valid:[4],value:[1],maxlength:[1],min:[1],max:[1],step:[1],pattern:[1],showText:[32]}]]],["p-adc639c8",[[4,"pn-site-footer",{url:[1],linktitle:[1]}],[4,"pn-site-footer-col"]]],["p-15112837",[[4,"pn-choice-button",{value:[520],name:[1],choiceid:[1],type:[1],disabled:[4],checked:[4],indeterminate:[1028]},[[0,"change","handlechange"]]]]],["p-715d1ef7",[[4,"pn-mainnav-link",{name:[1],href:[1],target:[1],linkid:[1],levelId:[32],open:[32],hasChildren:[32]}]]],["p-c34db063",[[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-e474b831",[[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-10b95894",[[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)));
@@ -0,0 +1,32 @@
1
+ export declare class PnMarketwebInput {
2
+ disabled: boolean;
3
+ /** Error message; will take precedence over helpertext if both are provided (applies invalid styles automatically) */
4
+ error: string;
5
+ /** Error state without message (If you want to control the error messaging on your own) */
6
+ invalid: boolean;
7
+ /** Text message placed underneath the input field */
8
+ helpertext: string;
9
+ /** Text label placed above the input field */
10
+ label: string;
11
+ placeholder: string;
12
+ inputid: string;
13
+ name: string;
14
+ required: boolean;
15
+ type: string;
16
+ autocomplete: string;
17
+ valid: boolean;
18
+ value: string;
19
+ /** The maximum number of characters the user should be able to add, also adds a visible counter */
20
+ maxlength: string;
21
+ min: string;
22
+ max: string;
23
+ step: string;
24
+ pattern: string;
25
+ getTextMessage(): string;
26
+ showText: boolean;
27
+ toggleTextVisibility(): void;
28
+ getInputType(): string;
29
+ setVal(e: any): void;
30
+ getClassNames(): string;
31
+ render(): any;
32
+ }
@@ -2,7 +2,6 @@ declare const state: {
2
2
  i18n: {
3
3
  componentheading: string;
4
4
  deliveryscopeheading: string;
5
- sizeheading: string;
6
5
  resultlistheading: string;
7
6
  weightlabel: string;
8
7
  maxweightlabel: string;
@@ -20,7 +19,6 @@ declare const state: {
20
19
  i18n: {
21
20
  componentheading: string;
22
21
  deliveryscopeheading: string;
23
- sizeheading: string;
24
22
  resultlistheading: string;
25
23
  weightlabel: string;
26
24
  maxweightlabel: string;
@@ -2,7 +2,6 @@ export declare const translations: {
2
2
  sv: {
3
3
  componentheading: string;
4
4
  deliveryscopeheading: string;
5
- sizeheading: string;
6
5
  resultlistheading: string;
7
6
  weightlabel: string;
8
7
  maxweightlabel: string;
@@ -16,7 +15,6 @@ export declare const translations: {
16
15
  en: {
17
16
  componentheading: string;
18
17
  deliveryscopeheading: string;
19
- sizeheading: string;
20
18
  resultlistheading: string;
21
19
  weightlabel: string;
22
20
  maxweightlabel: string;
@@ -30,7 +28,6 @@ export declare const translations: {
30
28
  da: {
31
29
  componentheading: string;
32
30
  deliveryscopeheading: string;
33
- sizeheading: string;
34
31
  resultlistheading: string;
35
32
  weightlabel: string;
36
33
  maxweightlabel: string;
@@ -41,7 +38,6 @@ export declare const translations: {
41
38
  no: {
42
39
  componentheading: string;
43
40
  deliveryscopeheading: string;
44
- sizeheading: string;
45
41
  resultlistheading: string;
46
42
  weightlabel: string;
47
43
  maxweightlabel: string;
@@ -52,7 +48,6 @@ export declare const translations: {
52
48
  fi: {
53
49
  componentheading: string;
54
50
  deliveryscopeheading: string;
55
- sizeheading: string;
56
51
  resultlistheading: string;
57
52
  weightlabel: string;
58
53
  maxweightlabel: string;
@@ -13,7 +13,6 @@ export interface FindPriceSizeCategory {
13
13
  export interface PnfindPricei18n {
14
14
  componentheading: string;
15
15
  deliveryscopeheading: string;
16
- sizeheading: string;
17
16
  resultlistheading: string;
18
17
  weightlabel: string;
19
18
  maxweightlabel: string;
@@ -15,6 +15,7 @@ export declare class PnPexPricefinder {
15
15
  response: PexPriceFinderResponse;
16
16
  componentWillLoad(): void;
17
17
  init(): Promise<void>;
18
+ setInitialTime(): void;
18
19
  checkParameters(): void;
19
20
  setLanguage(): void;
20
21
  onSubmit(e: any): void;
@@ -140,6 +140,41 @@ export namespace Components {
140
140
  interface PnMainnavList {
141
141
  "heading": string;
142
142
  }
143
+ interface PnMarketwebInput {
144
+ "autocomplete": string;
145
+ "disabled": boolean;
146
+ /**
147
+ * Error message; will take precedence over helpertext if both are provided (applies invalid styles automatically)
148
+ */
149
+ "error": string;
150
+ /**
151
+ * Text message placed underneath the input field
152
+ */
153
+ "helpertext": string;
154
+ "inputid": string;
155
+ /**
156
+ * Error state without message (If you want to control the error messaging on your own)
157
+ */
158
+ "invalid": boolean;
159
+ /**
160
+ * Text label placed above the input field
161
+ */
162
+ "label": string;
163
+ "max": string;
164
+ /**
165
+ * The maximum number of characters the user should be able to add, also adds a visible counter
166
+ */
167
+ "maxlength": string;
168
+ "min": string;
169
+ "name": string;
170
+ "pattern": string;
171
+ "placeholder": string;
172
+ "required": boolean;
173
+ "step": string;
174
+ "type": string;
175
+ "valid": boolean;
176
+ "value": string;
177
+ }
143
178
  interface PnMarketwebSearch {
144
179
  "autocomplete": string;
145
180
  /**
@@ -470,6 +505,12 @@ declare global {
470
505
  prototype: HTMLPnMainnavListElement;
471
506
  new (): HTMLPnMainnavListElement;
472
507
  };
508
+ interface HTMLPnMarketwebInputElement extends Components.PnMarketwebInput, HTMLStencilElement {
509
+ }
510
+ var HTMLPnMarketwebInputElement: {
511
+ prototype: HTMLPnMarketwebInputElement;
512
+ new (): HTMLPnMarketwebInputElement;
513
+ };
473
514
  interface HTMLPnMarketwebSearchElement extends Components.PnMarketwebSearch, HTMLStencilElement {
474
515
  }
475
516
  var HTMLPnMarketwebSearchElement: {
@@ -623,6 +664,7 @@ declare global {
623
664
  "pn-mainnav-level": HTMLPnMainnavLevelElement;
624
665
  "pn-mainnav-link": HTMLPnMainnavLinkElement;
625
666
  "pn-mainnav-list": HTMLPnMainnavListElement;
667
+ "pn-marketweb-input": HTMLPnMarketwebInputElement;
626
668
  "pn-marketweb-search": HTMLPnMarketwebSearchElement;
627
669
  "pn-marketweb-sitefooter": HTMLPnMarketwebSitefooterElement;
628
670
  "pn-marketweb-siteheader": HTMLPnMarketwebSiteheaderElement;
@@ -785,6 +827,41 @@ declare namespace LocalJSX {
785
827
  interface PnMainnavList {
786
828
  "heading"?: string;
787
829
  }
830
+ interface PnMarketwebInput {
831
+ "autocomplete"?: string;
832
+ "disabled"?: boolean;
833
+ /**
834
+ * Error message; will take precedence over helpertext if both are provided (applies invalid styles automatically)
835
+ */
836
+ "error"?: string;
837
+ /**
838
+ * Text message placed underneath the input field
839
+ */
840
+ "helpertext"?: string;
841
+ "inputid"?: string;
842
+ /**
843
+ * Error state without message (If you want to control the error messaging on your own)
844
+ */
845
+ "invalid"?: boolean;
846
+ /**
847
+ * Text label placed above the input field
848
+ */
849
+ "label"?: string;
850
+ "max"?: string;
851
+ /**
852
+ * The maximum number of characters the user should be able to add, also adds a visible counter
853
+ */
854
+ "maxlength"?: string;
855
+ "min"?: string;
856
+ "name"?: string;
857
+ "pattern"?: string;
858
+ "placeholder"?: string;
859
+ "required"?: boolean;
860
+ "step"?: string;
861
+ "type"?: string;
862
+ "valid"?: boolean;
863
+ "value"?: string;
864
+ }
788
865
  interface PnMarketwebSearch {
789
866
  "autocomplete"?: string;
790
867
  /**
@@ -1055,6 +1132,7 @@ declare namespace LocalJSX {
1055
1132
  "pn-mainnav-level": PnMainnavLevel;
1056
1133
  "pn-mainnav-link": PnMainnavLink;
1057
1134
  "pn-mainnav-list": PnMainnavList;
1135
+ "pn-marketweb-input": PnMarketwebInput;
1058
1136
  "pn-marketweb-search": PnMarketwebSearch;
1059
1137
  "pn-marketweb-sitefooter": PnMarketwebSitefooter;
1060
1138
  "pn-marketweb-siteheader": PnMarketwebSiteheader;
@@ -1098,6 +1176,7 @@ declare module "@stencil/core" {
1098
1176
  "pn-mainnav-level": LocalJSX.PnMainnavLevel & JSXBase.HTMLAttributes<HTMLPnMainnavLevelElement>;
1099
1177
  "pn-mainnav-link": LocalJSX.PnMainnavLink & JSXBase.HTMLAttributes<HTMLPnMainnavLinkElement>;
1100
1178
  "pn-mainnav-list": LocalJSX.PnMainnavList & JSXBase.HTMLAttributes<HTMLPnMainnavListElement>;
1179
+ "pn-marketweb-input": LocalJSX.PnMarketwebInput & JSXBase.HTMLAttributes<HTMLPnMarketwebInputElement>;
1101
1180
  "pn-marketweb-search": LocalJSX.PnMarketwebSearch & JSXBase.HTMLAttributes<HTMLPnMarketwebSearchElement>;
1102
1181
  "pn-marketweb-sitefooter": LocalJSX.PnMarketwebSitefooter & JSXBase.HTMLAttributes<HTMLPnMarketwebSitefooterElement>;
1103
1182
  "pn-marketweb-siteheader": LocalJSX.PnMarketwebSiteheader & JSXBase.HTMLAttributes<HTMLPnMarketwebSiteheaderElement>;