@postnord/pn-marketweb-components 4.1.1 → 4.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/loader.cjs.js +1 -1
- package/cjs/pn-chat-message_2.cjs.entry.js +5 -5
- package/cjs/pn-chat-message_2.cjs.entry.js.map +1 -1
- package/cjs/pn-chat.cjs.entry.js +18 -6
- package/cjs/pn-chat.cjs.entry.js.map +1 -1
- package/cjs/pn-dropdown-choice-adds-row.cjs.entry.js +17 -3
- package/cjs/pn-dropdown-choice-adds-row.cjs.entry.js.map +1 -1
- package/cjs/pn-market-web-components.cjs.js +1 -1
- package/collection/components/input/pn-dropdown-choice-adds-row/pn-dropdown-choice-adds-row.js +53 -3
- package/collection/components/input/pn-dropdown-choice-adds-row/pn-dropdown-choice-adds-row.js.map +1 -1
- package/collection/components/input/pn-dropdown-choice-adds-row/pn-dropdown-choice-adds-row.stories.js +4 -0
- package/collection/components/widgets/pn-chat/pn-chat-message/pn-chat-message.css +27 -10
- package/collection/components/widgets/pn-chat/pn-chat-message/pn-chat-message.js +3 -3
- package/collection/components/widgets/pn-chat/pn-chat-message/pn-chat-message.js.map +1 -1
- package/collection/components/widgets/pn-chat/pn-chat-stories-constants.js +18 -0
- package/collection/components/widgets/pn-chat/pn-chat-stories-constants.js.map +1 -1
- package/collection/components/widgets/pn-chat/pn-chat.css +24 -13
- package/collection/components/widgets/pn-chat/pn-chat.js +17 -5
- package/collection/components/widgets/pn-chat/pn-chat.js.map +1 -1
- package/collection/components/widgets/pn-chat/pn-chat.stories.js +43 -0
- package/collection/components/widgets/pn-chat/pn-chat.stories.js.map +1 -1
- package/components/pn-chat-message2.js +5 -5
- package/components/pn-chat-message2.js.map +1 -1
- package/components/pn-chat.js +18 -6
- package/components/pn-chat.js.map +1 -1
- package/components/pn-dropdown-choice-adds-row.js +19 -3
- package/components/pn-dropdown-choice-adds-row.js.map +1 -1
- package/esm/loader.js +1 -1
- package/esm/pn-chat-message_2.entry.js +5 -5
- package/esm/pn-chat-message_2.entry.js.map +1 -1
- package/esm/pn-chat.entry.js +18 -6
- package/esm/pn-chat.entry.js.map +1 -1
- package/esm/pn-dropdown-choice-adds-row.entry.js +17 -3
- package/esm/pn-dropdown-choice-adds-row.entry.js.map +1 -1
- package/esm/pn-market-web-components.js +1 -1
- package/package.json +14 -17
- package/pn-market-web-components/p-4a8ef165.entry.js +2 -0
- package/pn-market-web-components/p-4a8ef165.entry.js.map +1 -0
- package/pn-market-web-components/p-62ce6700.entry.js +2 -0
- package/pn-market-web-components/p-62ce6700.entry.js.map +1 -0
- package/pn-market-web-components/p-6f6ed930.entry.js +2 -0
- package/pn-market-web-components/p-6f6ed930.entry.js.map +1 -0
- package/pn-market-web-components/pn-market-web-components.esm.js +1 -1
- package/pn-market-web-components/pn-market-web-components.esm.js.map +1 -1
- package/types/components/input/pn-dropdown-choice-adds-row/pn-dropdown-choice-adds-row.d.ts +2 -0
- package/types/components/widgets/pn-chat/pn-chat-stories-constants.d.ts +18 -0
- package/types/components/widgets/pn-chat/pn-chat.stories.d.ts +1 -0
- package/types/components.d.ts +4 -0
- package/umd/modules/@postnord/web-components/cjs/{index-BNXSyZmU.js → index-CNdVg5VI.js} +1 -1
- package/umd/modules/@postnord/web-components/cjs/{index-CAMqnx70.js → index-CfUQZtlH.js} +245 -1884
- package/umd/modules/@postnord/web-components/cjs/index.cjs.js +8 -5
- package/umd/modules/@postnord/web-components/cjs/loader.cjs.js +2 -2
- package/umd/modules/@postnord/web-components/cjs/pn-accordion-row.cjs.entry.js +1 -1
- package/umd/modules/@postnord/web-components/cjs/pn-accordion.cjs.entry.js +1 -1
- package/umd/modules/@postnord/web-components/cjs/pn-action-menu.cjs.entry.js +2 -2
- package/umd/modules/@postnord/web-components/cjs/pn-button-dropdown.cjs.entry.js +1 -1
- package/umd/modules/@postnord/web-components/cjs/pn-button_2.cjs.entry.js +1 -1
- package/umd/modules/@postnord/web-components/cjs/pn-card.cjs.entry.js +2 -2
- package/umd/modules/@postnord/web-components/cjs/pn-checkbox.cjs.entry.js +2 -2
- package/umd/modules/@postnord/web-components/cjs/pn-choice-chip.cjs.entry.js +1 -1
- package/umd/modules/@postnord/web-components/cjs/pn-counter.cjs.entry.js +13 -15
- package/umd/modules/@postnord/web-components/cjs/pn-date-picker.cjs.entry.js +12 -6
- package/umd/modules/@postnord/web-components/cjs/pn-fieldset.cjs.entry.js +2 -2
- package/umd/modules/@postnord/web-components/cjs/pn-file-upload.cjs.entry.js +2 -2
- package/umd/modules/@postnord/web-components/cjs/pn-footer.cjs.entry.js +2 -2
- package/umd/modules/@postnord/web-components/cjs/pn-header.cjs.entry.js +2 -2
- package/umd/modules/@postnord/web-components/cjs/pn-icon_2.cjs.entry.js +1 -1
- package/umd/modules/@postnord/web-components/cjs/pn-illustration.cjs.entry.js +1 -1
- package/umd/modules/@postnord/web-components/cjs/pn-input.cjs.entry.js +33 -16
- package/umd/modules/@postnord/web-components/cjs/pn-modal.cjs.entry.js +1 -1
- package/umd/modules/@postnord/web-components/cjs/pn-multiselect.cjs.entry.js +16 -5
- package/umd/modules/@postnord/web-components/cjs/pn-ocr-search.cjs.entry.js +2 -2
- package/umd/modules/@postnord/web-components/cjs/pn-page-nav-dropdown-item.cjs.entry.js +2 -2
- package/umd/modules/@postnord/web-components/cjs/pn-page-nav-item.cjs.entry.js +2 -2
- package/umd/modules/@postnord/web-components/cjs/pn-page-nav.cjs.entry.js +2 -2
- package/umd/modules/@postnord/web-components/cjs/pn-pagination.cjs.entry.js +2 -2
- package/umd/modules/@postnord/web-components/cjs/pn-progress-bar.cjs.entry.js +1 -1
- package/umd/modules/@postnord/web-components/cjs/pn-progress-indicator-step.cjs.entry.js +1 -1
- package/umd/modules/@postnord/web-components/cjs/pn-progress-indicator.cjs.entry.js +1 -1
- package/umd/modules/@postnord/web-components/cjs/pn-progress-stepper.cjs.entry.js +1 -1
- package/umd/modules/@postnord/web-components/cjs/pn-radio-button.cjs.entry.js +3 -3
- package/umd/modules/@postnord/web-components/cjs/pn-range.cjs.entry.js +3 -3
- package/umd/modules/@postnord/web-components/cjs/pn-read-only-button.cjs.entry.js +1 -1
- package/umd/modules/@postnord/web-components/cjs/pn-search-field.cjs.entry.js +2 -2
- package/umd/modules/@postnord/web-components/cjs/pn-segment.cjs.entry.js +2 -2
- package/umd/modules/@postnord/web-components/cjs/pn-segmented-control.cjs.entry.js +2 -2
- package/umd/modules/@postnord/web-components/cjs/pn-select.cjs.entry.js +10 -3
- package/umd/modules/@postnord/web-components/cjs/pn-tab.cjs.entry.js +2 -2
- package/umd/modules/@postnord/web-components/cjs/pn-table.cjs.entry.js +1 -1
- package/umd/modules/@postnord/web-components/cjs/pn-tablist.cjs.entry.js +2 -2
- package/umd/modules/@postnord/web-components/cjs/pn-text-link.cjs.entry.js +2 -2
- package/umd/modules/@postnord/web-components/cjs/pn-textarea.cjs.entry.js +19 -9
- package/umd/modules/@postnord/web-components/cjs/pn-tile.cjs.entry.js +2 -2
- package/umd/modules/@postnord/web-components/cjs/pn-toast.cjs.entry.js +2 -2
- package/umd/modules/@postnord/web-components/cjs/pn-toggle-switch.cjs.entry.js +3 -3
- package/umd/modules/@postnord/web-components/cjs/pn-tooltip.cjs.entry.js +1 -1
- package/umd/modules/@postnord/web-components/cjs/pn-wizard.cjs.entry.js +1 -1
- package/umd/modules/@postnord/web-components/cjs/pn-zipcode-search.cjs.entry.js +2 -2
- package/umd/modules/@postnord/web-components/cjs/postnord-web-components.cjs.js +3 -3
- package/umd/modules/@postnord/web-components/collection/collection-manifest.json +1 -1
- package/umd/modules/@postnord/web-components/collection/components/input/pn-counter/pn-counter.css +69 -27
- package/umd/modules/@postnord/web-components/collection/components/input/pn-counter/pn-counter.js +34 -13
- package/umd/modules/@postnord/web-components/collection/components/input/pn-date-picker/pn-date-picker.css +38 -1
- package/umd/modules/@postnord/web-components/collection/components/input/pn-date-picker/pn-date-picker.js +32 -3
- package/umd/modules/@postnord/web-components/collection/components/input/pn-fieldset/pn-fieldset.js +1 -1
- package/umd/modules/@postnord/web-components/collection/components/input/pn-file-upload/pn-file-upload.js +1 -1
- package/umd/modules/@postnord/web-components/collection/components/input/pn-input/pn-input.css +48 -9
- package/umd/modules/@postnord/web-components/collection/components/input/pn-input/pn-input.js +55 -15
- package/umd/modules/@postnord/web-components/collection/components/input/pn-multiselect/pn-multiselect.css +63 -22
- package/umd/modules/@postnord/web-components/collection/components/input/pn-multiselect/pn-multiselect.js +36 -2
- package/umd/modules/@postnord/web-components/collection/components/input/pn-radio-button/pn-radio-button.js +1 -1
- package/umd/modules/@postnord/web-components/collection/components/input/pn-range/pn-range.css +1 -1
- package/umd/modules/@postnord/web-components/collection/components/input/pn-range/pn-range.js +1 -1
- package/umd/modules/@postnord/web-components/collection/components/input/pn-search-field/pn-search-field.js +1 -1
- package/umd/modules/@postnord/web-components/collection/components/input/pn-segmented-control/pn-segmented-control.js +1 -1
- package/umd/modules/@postnord/web-components/collection/components/input/pn-segmented-control/segment/pn-segment.js +1 -1
- package/umd/modules/@postnord/web-components/collection/components/input/pn-select/pn-select.css +53 -14
- package/umd/modules/@postnord/web-components/collection/components/input/pn-select/pn-select.js +31 -1
- package/umd/modules/@postnord/web-components/collection/components/input/pn-textarea/pn-textarea.css +54 -5
- package/umd/modules/@postnord/web-components/collection/components/input/pn-textarea/pn-textarea.js +45 -13
- package/umd/modules/@postnord/web-components/collection/components/input/pn-toggle-switch/pn-toggle-switch.css +1 -1
- package/umd/modules/@postnord/web-components/collection/components/input/pn-toggle-switch/pn-toggle-switch.js +1 -1
- package/umd/modules/@postnord/web-components/collection/components/layout/pn-header/pn-header.js +1 -1
- package/umd/modules/@postnord/web-components/collection/components/navigation/pn-card/pn-card.js +1 -1
- package/umd/modules/@postnord/web-components/collection/components/navigation/pn-footer/pn-footer.js +1 -1
- package/umd/modules/@postnord/web-components/collection/components/navigation/pn-page-nav/dropdown-item/pn-page-nav-dropdown-item.js +1 -1
- package/umd/modules/@postnord/web-components/collection/components/navigation/pn-page-nav/item/pn-page-nav-item.js +1 -1
- package/umd/modules/@postnord/web-components/collection/components/navigation/pn-page-nav/menu/pn-page-nav.js +1 -1
- package/umd/modules/@postnord/web-components/collection/components/navigation/pn-pagination/pn-pagination.js +1 -1
- package/umd/modules/@postnord/web-components/collection/components/navigation/pn-tablist/pn-tablist.js +1 -1
- package/umd/modules/@postnord/web-components/collection/components/navigation/pn-tablist/tab/pn-tab.js +1 -1
- package/umd/modules/@postnord/web-components/collection/components/navigation/pn-text-link/pn-text-link.js +1 -1
- package/umd/modules/@postnord/web-components/collection/components/navigation/pn-tile/pn-tile.js +1 -1
- package/umd/modules/@postnord/web-components/collection/components/web-components/pn-ocr-search/pn-ocr-search.js +1 -1
- package/umd/modules/@postnord/web-components/collection/components/web-components/pn-zipcode-search/pn-zipcode-search.js +1 -1
- package/umd/modules/@postnord/web-components/components/helpers.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-card.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-counter.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-date-picker.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-fieldset.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-file-upload.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-footer.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-header.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-input2.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-multiselect.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-ocr-search.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-page-nav-dropdown-item.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-page-nav-item.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-page-nav.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-pagination.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-radio-button.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-range.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-search-field2.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-segment.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-segmented-control.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-select2.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-tab.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-tablist.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-text-link2.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-textarea.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-tile.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-toggle-switch.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-zipcode-search.js +1 -1
- package/umd/modules/@postnord/web-components/esm/{index-DWsprozV.js → index-CAEP792y.js} +245 -1884
- package/umd/modules/@postnord/web-components/esm/{index-BhpZuCL7.js → index-CosyroON.js} +1 -1
- package/umd/modules/@postnord/web-components/esm/index.js +9 -6
- package/umd/modules/@postnord/web-components/esm/loader.js +3 -3
- package/umd/modules/@postnord/web-components/esm/pn-accordion-row.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm/pn-accordion.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm/pn-action-menu.entry.js +2 -2
- package/umd/modules/@postnord/web-components/esm/pn-button-dropdown.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm/pn-button_2.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm/pn-card.entry.js +2 -2
- package/umd/modules/@postnord/web-components/esm/pn-checkbox.entry.js +2 -2
- package/umd/modules/@postnord/web-components/esm/pn-choice-chip.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm/pn-counter.entry.js +13 -15
- package/umd/modules/@postnord/web-components/esm/pn-date-picker.entry.js +12 -6
- package/umd/modules/@postnord/web-components/esm/pn-fieldset.entry.js +2 -2
- package/umd/modules/@postnord/web-components/esm/pn-file-upload.entry.js +2 -2
- package/umd/modules/@postnord/web-components/esm/pn-footer.entry.js +2 -2
- package/umd/modules/@postnord/web-components/esm/pn-header.entry.js +2 -2
- package/umd/modules/@postnord/web-components/esm/pn-icon_2.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm/pn-illustration.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm/pn-input.entry.js +33 -16
- package/umd/modules/@postnord/web-components/esm/pn-modal.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm/pn-multiselect.entry.js +16 -5
- package/umd/modules/@postnord/web-components/esm/pn-ocr-search.entry.js +2 -2
- package/umd/modules/@postnord/web-components/esm/pn-page-nav-dropdown-item.entry.js +2 -2
- package/umd/modules/@postnord/web-components/esm/pn-page-nav-item.entry.js +2 -2
- package/umd/modules/@postnord/web-components/esm/pn-page-nav.entry.js +2 -2
- package/umd/modules/@postnord/web-components/esm/pn-pagination.entry.js +2 -2
- package/umd/modules/@postnord/web-components/esm/pn-progress-bar.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm/pn-progress-indicator-step.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm/pn-progress-indicator.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm/pn-progress-stepper.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm/pn-radio-button.entry.js +3 -3
- package/umd/modules/@postnord/web-components/esm/pn-range.entry.js +3 -3
- package/umd/modules/@postnord/web-components/esm/pn-read-only-button.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm/pn-search-field.entry.js +2 -2
- package/umd/modules/@postnord/web-components/esm/pn-segment.entry.js +2 -2
- package/umd/modules/@postnord/web-components/esm/pn-segmented-control.entry.js +2 -2
- package/umd/modules/@postnord/web-components/esm/pn-select.entry.js +10 -3
- package/umd/modules/@postnord/web-components/esm/pn-tab.entry.js +2 -2
- package/umd/modules/@postnord/web-components/esm/pn-table.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm/pn-tablist.entry.js +2 -2
- package/umd/modules/@postnord/web-components/esm/pn-text-link.entry.js +2 -2
- package/umd/modules/@postnord/web-components/esm/pn-textarea.entry.js +19 -9
- package/umd/modules/@postnord/web-components/esm/pn-tile.entry.js +2 -2
- package/umd/modules/@postnord/web-components/esm/pn-toast.entry.js +2 -2
- package/umd/modules/@postnord/web-components/esm/pn-toggle-switch.entry.js +3 -3
- package/umd/modules/@postnord/web-components/esm/pn-tooltip.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm/pn-wizard.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm/pn-zipcode-search.entry.js +2 -2
- package/umd/modules/@postnord/web-components/esm/postnord-web-components.js +4 -4
- package/umd/modules/@postnord/web-components/hydrate/index.js +3597 -3562
- package/umd/modules/@postnord/web-components/hydrate/index.mjs +3597 -3562
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/cli/index.cjs +1 -18
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/cli/index.js +1 -18
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/cli/package.json +1 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/package.json +1 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/stencil.js +70 -12
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/index.js +1 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/package.json +1 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/connector.html +2 -2
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/index.js +1 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/package.json +1 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/server-process.js +2 -19
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/app-data/package.json +1 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/app-globals/package.json +1 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/index.js +214 -1832
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/package.json +1 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/patch-browser.js +1 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/shadow-css.js +3 -3
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/hydrate/index.js +5172 -5086
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/hydrate/package.json +1 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/hydrate/runner.js +234 -263
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/package.json +1 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-public-compiler.d.ts +10 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/testing/index.js +113 -74
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/testing/jsx-dev-runtime.d.ts +2 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/testing/jsx-dev-runtime.js +8 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/testing/jsx-runtime.d.ts +2 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/testing/jsx-runtime.js +9 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/testing/package.json +1 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/mock-doc/index.cjs +13 -25
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/mock-doc/index.d.ts +4 -3
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/mock-doc/index.js +13 -25
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/mock-doc/package.json +1 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/package.json +13 -2
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/index.js +1 -18
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/package.json +1 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/pixel-match.js +1 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/index.js +34 -34
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/package.json +1 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/worker.js +1 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/index.js +19 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/package.json +1 -1
- package/umd/modules/@postnord/web-components/package.json +19 -19
- package/umd/modules/@postnord/web-components/postnord-web-components/index.esm.js +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-215a8bab.entry.js → p-01ac1c67.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-0dd15cc3.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-f94947bd.entry.js → p-0e94a4dd.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-511bdc31.entry.js → p-0ed2ee53.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-e545c35d.entry.js → p-109ba1fc.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-153311c8.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-9d3890d0.entry.js → p-1a3c49ba.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-c9b8ed0a.entry.js → p-2610f8ab.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-267c323e.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-dfa861a7.entry.js → p-2a364778.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-5cbd90c0.entry.js → p-2a682ff9.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-b54f1a65.entry.js → p-2cce8a9f.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-44a6fe18.entry.js → p-2f4ad4a4.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-c867fce9.entry.js → p-306ec758.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-1d7b9fe8.entry.js → p-38e44ed0.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-66b77e7e.entry.js → p-3c96cb61.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-7ec29574.entry.js → p-3d2cac86.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-499ce292.entry.js → p-3d459401.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-795f8d58.entry.js → p-3deb5a9e.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-41c09d4d.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-484dfaa4.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-61af0540.entry.js → p-50116c0d.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-b8b5201d.entry.js → p-502b8430.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-96871fc2.entry.js → p-5b7c1333.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-3bc56c7f.entry.js → p-67f55491.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-cc1291a6.entry.js → p-838c17b9.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-e221d65e.entry.js → p-849d48c6.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-584c2057.entry.js → p-89aaa3c8.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-2becf18d.entry.js → p-8b2b6f5d.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-93db2b9e.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-99d7a33d.entry.js → p-97ffc4b3.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-0j4cY0b7.js → p-BlM_xfdt.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-CAEP792y.js +6 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-26233654.entry.js → p-b0710b87.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-b3c4e3e8.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-e5d0281b.entry.js → p-b8c4423b.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-ba59528f.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-92aa5cfa.entry.js → p-c0ae367c.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-ddc430a5.entry.js → p-c4c4c75b.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-c843ae5e.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-323e7706.entry.js → p-d1e27524.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-190d83cf.entry.js → p-d214e930.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-66fdb323.entry.js → p-d7091312.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-8f732dd9.entry.js → p-db2b7e5d.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-e3fb693e.entry.js +5 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-10cb744b.entry.js → p-e83de0b1.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-bde90f4f.entry.js → p-ea50ecd2.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-1c376e6a.entry.js → p-edc28eee.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/postnord-web-components.esm.js +1 -1
- package/umd/modules/@postnord/web-components/types/components/input/pn-counter/pn-counter.d.ts +27 -26
- package/umd/modules/@postnord/web-components/types/components/input/pn-input/pn-input.d.ts +9 -0
- package/umd/modules/@postnord/web-components/types/components/input/pn-select/pn-select.d.ts +3 -0
- package/umd/modules/@postnord/web-components/types/components/input/pn-textarea/pn-textarea.d.ts +10 -8
- package/umd/modules/@postnord/web-components/types/components.d.ts +72 -0
- package/umd/modules/@postnord/web-components/vscode-data.json +24 -0
- package/umd/pn-marketweb-init.js +1 -1
- package/umd/pn-marketweb-salesforce.js +1 -1
- package/vscode-data.json +8 -0
- package/collection/components/data-visualization/pn-stats-info/pn-stats-info-data/animationHelper.test.js +0 -95
- package/collection/components/data-visualization/pn-stats-info/pn-stats-info-data/animationHelper.test.js.map +0 -1
- package/pn-market-web-components/p-22a8fd6e.entry.js +0 -2
- package/pn-market-web-components/p-22a8fd6e.entry.js.map +0 -1
- package/pn-market-web-components/p-8afc2d30.entry.js +0 -2
- package/pn-market-web-components/p-8afc2d30.entry.js.map +0 -1
- package/pn-market-web-components/p-f97e58b8.entry.js +0 -2
- package/pn-market-web-components/p-f97e58b8.entry.js.map +0 -1
- package/types/components/data-visualization/pn-stats-info/pn-stats-info-data/animationHelper.test.d.ts +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-1bd12040.entry.js +0 -5
- package/umd/modules/@postnord/web-components/postnord-web-components/p-5a36a4ce.entry.js +0 -5
- package/umd/modules/@postnord/web-components/postnord-web-components/p-5ca4200c.entry.js +0 -5
- package/umd/modules/@postnord/web-components/postnord-web-components/p-8751c301.entry.js +0 -5
- package/umd/modules/@postnord/web-components/postnord-web-components/p-DWsprozV.js +0 -6
- package/umd/modules/@postnord/web-components/postnord-web-components/p-a6363f85.entry.js +0 -5
- package/umd/modules/@postnord/web-components/postnord-web-components/p-b46922c6.entry.js +0 -5
- package/umd/modules/@postnord/web-components/postnord-web-components/p-de3ae08d.entry.js +0 -5
- package/umd/modules/@postnord/web-components/postnord-web-components/p-e6c7e352.entry.js +0 -5
- package/umd/modules/@postnord/web-components/postnord-web-components/p-ee6a305b.entry.js +0 -5
- package/umd/modules/@postnord/web-components/postnord-web-components/p-f667cb91.entry.js +0 -5
package/cjs/loader.cjs.js
CHANGED
|
@@ -8,7 +8,7 @@ const appGlobals = require('./app-globals-3a1e7e63.js');
|
|
|
8
8
|
const defineCustomElements = async (win, options) => {
|
|
9
9
|
if (typeof window === 'undefined') return undefined;
|
|
10
10
|
await appGlobals.globalScripts();
|
|
11
|
-
return index.bootstrapLazy(JSON.parse("[[\"pn-marketweb-siteheader.cjs\",[[4,\"pn-marketweb-siteheader\",{\"market\":[1537],\"language\":[1537],\"siteid\":[1],\"environment\":[1537],\"userToken\":[1,\"user-token\"],\"userFullname\":[1,\"user-fullname\"],\"userLoggedin\":[516,\"user-loggedin\"],\"endpoint\":[1],\"hideSiteSelector\":[1540,\"hide-site-selector\"],\"hideHomeMenuItem\":[1540,\"hide-home-menu-item\"],\"hideLanguageSelector\":[1540,\"hide-language-selector\"],\"hideSearch\":[1540,\"hide-search\"],\"hideLogin\":[1540,\"hide-login\"],\"showProfileSelection\":[1540,\"show-profile-selection\"],\"showUnifiedLogin\":[4,\"show-unified-login\"],\"siteDomainInUrls\":[4,\"site-domain-in-urls\"],\"AutocompleteEndpoint\":[1,\"autocomplete-endpoint\"],\"sessionForward\":[4,\"session-forward\"],\"cache\":[4],\"searchPlaceholder\":[1,\"search-placeholder\"],\"spaMode\":[4,\"spa-mode\"],\"checkUserLoggedInStateInterval\":[2,\"check-user-logged-in-state-interval\"],\"useMarketwebLogin\":[4,\"use-marketweb-login\"],\"pageId\":[1,\"page-id\"],\"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]},[[0,\"setLanguage\",\"onLanguageSelectorChange\"],[0,\"loginStateChange\",\"onLoginStateChange\"],[9,\"resize\",\"handleResize\"]],{\"language\":[\"onLanguageChange\"],\"market\":[\"onMarketChange\"]}]]],[\"pn-proxio-findprice.cjs\",[[0,\"pn-proxio-findprice\",{\"endpoint\":[1025],\"language\":[1025],\"market\":[1025],\"showMedium\":[4,\"show-medium\"],\"showInternational\":[4,\"show-international\"],\"maxAbroadKg\":[2,\"max-abroad-kg\"],\"weightListName\":[1,\"weight-list-name\"],\"cache\":[4],\"filteredItems\":[32],\"weight\":[32],\"weightvalue\":[32],\"countrycodevalue\":[32],\"sizecategory\":[32],\"data\":[32]},null,{\"market\":[\"setState\"],\"language\":[\"setState\"],\"sizecategory\":[\"filterItems\"],\"weightvalue\":[\"filterItems\"],\"countrycodevalue\":[\"filterItems\"]}]]],[\"pn-find-price.cjs\",[[0,\"pn-find-price\",{\"source\":[1],\"language\":[1025],\"market\":[1025],\"filteredItems\":[32],\"weight\":[32],\"weightvalue\":[32],\"sourceData\":[32],\"sizecategory\":[32]},null,{\"market\":[\"setState\"],\"language\":[\"setState\"],\"sizecategory\":[\"filterItems\"],\"weightvalue\":[\"filterItems\"]}]]],[\"pn-find-service-and-price.cjs\",[[0,\"pn-find-service-and-price\",{\"source\":[1],\"language\":[1025],\"market\":[1025],\"filteredItems\":[32],\"postagetype\":[32],\"weight\":[32],\"weightvalue\":[32],\"deliveryscope\":[32],\"sourceData\":[32]},null,{\"market\":[\"setState\"],\"language\":[\"setState\"],\"postagetype\":[\"filterItems\"],\"deliveryscope\":[\"filterItems\"],\"weightvalue\":[\"filterItems\"]}]]],[\"pn-product-pricelist.cjs\",[[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]},null,{\"market\":[\"setState\"],\"language\":[\"setState\"],\"postagetype\":[\"filterItems\"],\"weightvalue\":[\"filterItems\"]}]]],[\"pn-proxio-pricegroup.cjs\",[[0,\"pn-proxio-pricegroup\",{\"endpoint\":[1025],\"language\":[1],\"market\":[1],\"tariffid\":[1],\"cache\":[4],\"activeWeightIndex\":[32],\"data\":[32],\"i18n\":[32]},[[0,\"activeWeightIndex\",\"setActiveWeightIndex\"],[0,\"language\",\"setLanguage\"]]]]],[\"pn-product-pricelist-result.cjs\",[[0,\"pn-product-pricelist-result\",{\"item\":[1040],\"description\":[16],\"shownitems\":[16],\"showMeasurement\":[4,\"show-measurement\"],\"weightText\":[32]},null,{\"item\":[\"composeItems\"]}]]],[\"pn-marketweb-sitefooter.cjs\",[[4,\"pn-marketweb-sitefooter\",{\"market\":[1537],\"language\":[1537],\"environment\":[1537],\"endpoint\":[1],\"siteDomainInUrls\":[4,\"site-domain-in-urls\"],\"cache\":[4],\"theme\":[513],\"backgroundcolor\":[513],\"showSwan\":[4,\"show-swan\"],\"headingLevel\":[1,\"heading-level\"],\"siteDefinition\":[32],\"footerContent\":[32],\"i18n\":[32],\"gotData\":[32],\"fetchingData\":[32]},null,{\"language\":[\"onLanguageChange\"],\"market\":[\"onMarketChange\"]}]]],[\"pn-media-block.cjs\",[[4,\"pn-media-block\",{\"blockHeight\":[1,\"block-height\"],\"imageSrc\":[1,\"image-src\"],\"imageSrcSmallScreenFormat\":[1,\"image-src-small-screen-format\"],\"imageAltText\":[1,\"image-alt-text\"],\"videoSrc\":[1,\"video-src\"],\"parallaxScroll\":[4,\"parallax-scroll\"],\"showOverlayLayer\":[4,\"show-overlay-layer\"],\"customOverlayBackground\":[1,\"custom-overlay-background\"],\"animateOverlayBackground\":[4,\"animate-overlay-background\"],\"scrollSnapBlock\":[4,\"scroll-snap-block\"],\"fixedBackground\":[4,\"fixed-background\"],\"blockHeading\":[1,\"block-heading\"],\"blockHeadingLevel\":[1,\"block-heading-level\"],\"blockPreamble\":[1,\"block-preamble\"],\"marginBottom\":[4,\"margin-bottom\"],\"pnPlayOnScrollObserverOptions\":[32],\"calculatedBlockHeight\":[32],\"hasButtonSlot\":[32]}]]],[\"pn-chat.cjs\",[[0,\"pn-chat\",{\"endpoint\":[1],\"customerSegment\":[1,\"customer-segment\"],\"mainHeading\":[1,\"main-heading\"],\"relatedContentAriaLabel\":[1,\"related-content-aria-label\"],\"chatMinimizedAriaLabel\":[1,\"chat-minimized-aria-label\"],\"chatOpenedAriaLabel\":[1,\"chat-opened-aria-label\"],\"minimizeChatAriaLabel\":[1,\"minimize-chat-aria-label\"],\"closeChatAriaLabel\":[1,\"close-chat-aria-label\"],\"openChatAriaLabel\":[1,\"open-chat-aria-label\"],\"chatControlsAriaLabel\":[1,\"chat-controls-aria-label\"],\"chatMessagesAriaLabel\":[1,\"chat-messages-aria-label\"],\"sentMessageAriaLabel\":[1,\"sent-message-aria-label\"],\"writeChatMessagePlaceholder\":[1,\"write-chat-message-placeholder\"],\"waitingForAnswerLabel\":[1,\"waiting-for-answer-label\"],\"sendButtonText\":[1,\"send-button-text\"],\"loadingText\":[1,\"loading-text\"],\"carouselSlidesToShow\":[2,\"carousel-slides-to-show\"],\"messages\":[1],\"language\":[1],\"market\":[1],\"itemId\":[1,\"item-id\"],\"pnChatId\":[1,\"pn-chat-id\"],\"forceOpen\":[4,\"force-open\"],\"isLoggedIn\":[4,\"is-logged-in\"],\"message\":[32],\"messagesData\":[32],\"isMinimized\":[32],\"isClosed\":[32],\"lastMessageId\":[32],\"i18n\":[32]},[[0,\"keydown\",\"handleKeyDown\"]],{\"messages\":[\"handleMessagesChange\"],\"pnChatId\":[\"handleNewChatId\"],\"forceOpen\":[\"handleSameChatId\"],\"isMinimized\":[\"scrollToBottom\"]}]]],[\"pn-level-up.cjs\",[[0,\"pn-level-up\",{\"heading\":[1],\"headingLevel\":[8,\"heading-level\"],\"preamble\":[1],\"imageUrl\":[1,\"image-url\"],\"imageAltText\":[1,\"image-alt-text\"],\"endpoint\":[1],\"webModalContinueOtherDeviceLabel\":[1,\"web-modal-continue-other-device-label\"],\"webModalContinueThisDeviceLabel\":[1,\"web-modal-continue-this-device-label\"],\"mobileModalContinueThisDeviceLabel\":[1,\"mobile-modal-continue-this-device-label\"],\"mobileModalContinueOtherDeviceLabel\":[1,\"mobile-modal-continue-other-device-label\"],\"modalInstructionPhoneLineOne\":[1,\"modal-instruction-phone-line-one\"],\"modalInstructionPhoneLineTwo\":[1,\"modal-instruction-phone-line-two\"],\"modalInstructionPhoneLineThree\":[1,\"modal-instruction-phone-line-three\"],\"modalHeadingText\":[1,\"modal-heading-text\"],\"modalOutdatedQRMessage\":[1,\"modal-outdated-q-r-message\"],\"modalExpiresInMessage\":[1,\"modal-expires-in-message\"],\"qrAriaLabel\":[1,\"qr-aria-label\"],\"leveledupMessage\":[1,\"leveledup-message\"],\"isLeveledUp\":[4,\"is-leveled-up\"],\"isLoading\":[32],\"isRecentLeveledUp\":[32],\"errorMessage\":[32]}]]],[\"pn-multi-row-connected-dropdown.cjs\",[[0,\"pn-multi-row-connected-dropdown\",{\"dropdownData\":[1,\"dropdown-data\"],\"languageCode\":[1,\"language-code\"],\"label\":[1],\"firstDropdownLabel\":[1,\"first-dropdown-label\"],\"secondDropdownLabel\":[1,\"second-dropdown-label\"],\"dropdownPlaceholder\":[1,\"dropdown-placeholder\"],\"addRowText\":[1,\"add-row-text\"],\"inputFieldLabel\":[1,\"input-field-label\"],\"inputFieldPlaceholder\":[1,\"input-field-placeholder\"],\"disabledDates\":[1,\"disabled-dates\"],\"dateButtonText\":[1,\"date-button-text\"],\"datePlaceholder\":[1,\"date-placeholder\"],\"dateDaysFromToday\":[2,\"date-days-from-today\"],\"allowMultipleRows\":[4,\"allow-multiple-rows\"],\"allowMultipleDates\":[4,\"allow-multiple-dates\"],\"startDateLabel\":[1,\"start-date-label\"],\"endDateLabel\":[1,\"end-date-label\"],\"multiDateHelperText\":[1,\"multi-date-helper-text\"],\"generateDatesButtonText\":[1,\"generate-dates-button-text\"],\"saveDateButtonText\":[1,\"save-date-button-text\"],\"noDatesText\":[1,\"no-dates-text\"],\"yearsToAddToEndDate\":[2,\"years-to-add-to-end-date\"],\"minAmount\":[2,\"min-amount\"],\"errorMessageEmpty\":[1,\"error-message-empty\"],\"errorMessageMinAmount\":[1,\"error-message-min-amount\"],\"minWarningAmount\":[2,\"min-warning-amount\"],\"warningMessageMinAmount\":[1,\"warning-message-min-amount\"],\"rowCount\":[32],\"rowData\":[32],\"formValues\":[32]},[[0,\"rowValueChange\",\"predefinedValueChange\"],[0,\"deleteRowEvent\",\"deleteRowEvent\"]]]]],[\"pn-dropdown-with-multi-input-rows.cjs\",[[0,\"pn-dropdown-with-multi-input-rows\",{\"dropdownData\":[1,\"dropdown-data\"],\"languageCode\":[1,\"language-code\"],\"firstDropdownLabel\":[1,\"first-dropdown-label\"],\"firstDropdownHelperText\":[1,\"first-dropdown-helper-text\"],\"secondDropdownLabel\":[1,\"second-dropdown-label\"],\"secondDropdownHelperText\":[1,\"second-dropdown-helper-text\"],\"secondDropdownMax\":[2,\"second-dropdown-max\"],\"deleteMultipleRowsWarningText\":[1,\"delete-multiple-rows-warning-text\"],\"confirmDeleteButtonText\":[1,\"confirm-delete-button-text\"],\"abortDeleteButtonText\":[1,\"abort-delete-button-text\"],\"firstInputLabel\":[1,\"first-input-label\"],\"firstInputPlaceholder\":[1,\"first-input-placeholder\"],\"firstInputMin\":[2,\"first-input-min\"],\"firstInputMax\":[2,\"first-input-max\"],\"firstInputWarning\":[2,\"first-input-warning\"],\"firstInputWarningText\":[1,\"first-input-warning-text\"],\"firstInputLowErrorText\":[1,\"first-input-low-error-text\"],\"firstInputHighErrorText\":[1,\"first-input-high-error-text\"],\"secondInputLabel\":[1,\"second-input-label\"],\"secondInputPlaceholder\":[1,\"second-input-placeholder\"],\"secondInputMin\":[2,\"second-input-min\"],\"secondInputMax\":[2,\"second-input-max\"],\"secondInputWarning\":[2,\"second-input-warning\"],\"secondInputWarningText\":[1,\"second-input-warning-text\"],\"secondInputLowErrorText\":[1,\"second-input-low-error-text\"],\"secondInputHighErrorText\":[1,\"second-input-high-error-text\"],\"disabledDates\":[1,\"disabled-dates\"],\"dateLabel\":[1,\"date-label\"],\"datePlaceholder\":[1,\"date-placeholder\"],\"dateDaysFromToday\":[2,\"date-days-from-today\"],\"yearsToAddToEndDate\":[2,\"years-to-add-to-end-date\"],\"sumFieldLabel\":[1,\"sum-field-label\"],\"addRowText\":[1,\"add-row-text\"],\"elementHelperText\":[1,\"element-helper-text\"],\"dropdownDataRoot\":[32],\"secondDropdownArr\":[32],\"rowData\":[32],\"formValues\":[32],\"firstValidDateString\":[32],\"lastValidDateString\":[32],\"rowSum\":[32],\"minRowCount\":[32],\"showDeleteConfirm\":[32],\"i18n\":[32]},[[0,\"rowValueChange\",\"predefinedValueChange\"],[0,\"firstInputChange\",\"predefinedValueChange\"],[0,\"secondInputChange\",\"predefinedValueChange\"],[0,\"deleteRowEvent\",\"deleteRowEvent\"]],{\"languageCode\":[\"setTranslations\"]}]]],[\"pn-multiple-input.cjs\",[[0,\"pn-multiple-input\",{\"label\":[1],\"placeholder\":[1],\"addRowButtonText\":[1,\"add-row-button-text\"],\"rowData\":[32]}]]],[\"pn-parcel-tracker.cjs\",[[0,\"pn-parcel-tracker\",{\"formActionUrl\":[1,\"form-action-url\"],\"heading\":[1],\"buttonLabel\":[1,\"button-label\"],\"locale\":[1],\"placeholder\":[1],\"inputName\":[1,\"input-name\"],\"currentWidth\":[32]},[[9,\"resize\",\"handleViewportSizeChange\"]]]]],[\"pn-pex-pricefinder.cjs\",[[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\"]]]]],[\"pn-share.cjs\",[[0,\"pn-share\",{\"link\":[1],\"language\":[1537],\"i18n\":[32]},null,{\"language\":[\"onLanguageChange\"]}]]],[\"pn-stats-info.cjs\",[[4,\"pn-stats-info\",{\"heading\":[1],\"dataArray\":[1,\"data-array\"],\"backgroundUrl\":[1,\"background-url\"],\"myParsedArray\":[32]},null,{\"dataArray\":[\"parseMyArrayProp\"]}]]],[\"pn-address-autofill.cjs\",[[0,\"pn-address-autofill\",{\"market\":[1537],\"environment\":[1537],\"endpoint\":[1],\"cache\":[4],\"countryCode\":[1,\"country-code\"],\"language\":[1],\"postalCodeProps\":[1,\"postal-code-props\"],\"cityProps\":[1,\"city-props\"],\"streetAddressProps\":[1,\"street-address-props\"],\"streetNumberProps\":[1,\"street-number-props\"],\"addressNotFoundError\":[1,\"address-not-found-error\"],\"postalCode\":[32],\"city\":[32],\"streetAddress\":[32],\"streetNumber\":[32],\"validAddress\":[32],\"translation\":[32],\"postalCodeRequiredLabel\":[32],\"streetRequiredLabel\":[32],\"fullAddress\":[32],\"isLoading\":[32]}]]],[\"pn-animated-tile.cjs\",[[4,\"pn-animated-tile\",{\"toggled\":[32],\"transitionClassName\":[32],\"animateIcon\":[32]},null,{\"toggled\":[\"onToggledHandler\"]}]]],[\"pn-app-banner.cjs\",[[0,\"pn-app-banner\",{\"appName\":[1,\"app-name\"],\"appDescription\":[1,\"app-description\"],\"ctaText\":[1,\"cta-text\"],\"appleStoreLink\":[1,\"apple-store-link\"],\"googleStoreLink\":[1,\"google-store-link\"],\"isClosed\":[32],\"storeLink\":[32],\"isLocalStorageAvailable\":[32]}]]],[\"pn-bonus-progressbar.cjs\",[[4,\"pn-bonus-progressbar\",{\"icon\":[1],\"heading\":[1],\"sumtext\":[513],\"theme\":[513],\"bonuspercentage\":[1],\"currency\":[513],\"value\":[1538],\"min\":[1538],\"max\":[1538],\"valuepercentage\":[32],\"progresspercentage\":[32],\"levelValues\":[32],\"currentLevelAdjustedValue\":[32]},null,{\"currentLevelAdjustedValue\":[\"setValuePercentage\"],\"value\":[\"setValuePercentage\"],\"min\":[\"setValuePercentage\"],\"max\":[\"setValuePercentage\"]}]]],[\"pn-bonus-progressbar-level.cjs\",[[0,\"pn-bonus-progressbar-level\",{\"current\":[516],\"value\":[1538],\"bonuspercentage\":[1537],\"visualpercentage\":[1538],\"percentage\":[32],\"max\":[32],\"min\":[32],\"currency\":[32]}]]],[\"pn-breakpoints.cjs\",[[0,\"pn-breakpoints\",{\"breakPointClass\":[1,\"break-point-class\"],\"currentWidth\":[32]},[[9,\"resize\",\"handleViewportSizeChange\"]]]]],[\"pn-chart.cjs\",[[0,\"pn-chart\",{\"labels\":[1],\"dataSets\":[1,\"data-sets\"],\"dataChartType\":[8,\"data-chart-type\"],\"myChartCtxRef\":[32]},null,{\"dataSets\":[\"dataChangeHandler\"],\"labels\":[\"labelsChangeHandler\"]}]]],[\"pn-charts-card.cjs\",[[4,\"pn-charts-card\",{\"header\":[1],\"highlight\":[1],\"preamble\":[1],\"label\":[1],\"source\":[1],\"sourceUrl\":[1,\"source-url\"],\"ctaLinkText\":[1,\"cta-link-text\"],\"openInNewWindow\":[4,\"open-in-new-window\"]}]]],[\"pn-cta-block.cjs\",[[4,\"pn-cta-block\",{\"heading\":[1],\"bodyText\":[1,\"body-text\"],\"pnBackgroundColor\":[1,\"pn-background-color\"],\"isLarge\":[4,\"is-large\"],\"isCentered\":[4,\"is-centered\"],\"isSmall\":[4,\"is-small\"],\"contentTop\":[4,\"content-top\"]}]]],[\"pn-customernumber-selector.cjs\",[[4,\"pn-customernumber-selector\",{\"language\":[1537],\"open\":[1540],\"heading\":[1],\"description\":[1],\"i18n\":[32]}]]],[\"pn-customernumber-selector-option.cjs\",[[4,\"pn-customernumber-selector-option\",{\"heading\":[1],\"description\":[1],\"url\":[1]}]]],[\"pn-date-and-time.cjs\",[[0,\"pn-date-and-time\",{\"languageCode\":[1,\"language-code\"],\"dateAndTimeLabel\":[1,\"date-and-time-label\"],\"dateDaysFromToday\":[2,\"date-days-from-today\"],\"validTimeRangeMinutes\":[2,\"valid-time-range-minutes\"],\"errorMessage\":[1,\"error-message\"],\"dateHelperText\":[1,\"date-helper-text\"],\"timeHelperText\":[1,\"time-helper-text\"],\"disableWeekends\":[4,\"disable-weekends\"],\"disabledDates\":[1,\"disabled-dates\"],\"datePlaceholder\":[1,\"date-placeholder\"],\"minFromHour\":[2,\"min-from-hour\"],\"maxToHour\":[2,\"max-to-hour\"],\"language\":[32],\"hourArr\":[32],\"minuteArr\":[32],\"formValue\":[32],\"invalidTimespan\":[32],\"selectedDate\":[32],\"selectedFromHour\":[32],\"selectedFromMin\":[32],\"selectedToHour\":[32],\"selectedToMin\":[32],\"firstValidDateString\":[32],\"lastValidDateString\":[32]}]]],[\"pn-dropdown-choice-adds-row.cjs\",[[4,\"pn-dropdown-choice-adds-row\",{\"dropdownData\":[1,\"dropdown-data\"],\"languageCode\":[1,\"language-code\"],\"addRowDropdownName\":[1,\"add-row-dropdown-name\"],\"addRowDropdownPlaceholder\":[1,\"add-row-dropdown-placeholder\"],\"addRowDropdownLabel\":[1,\"add-row-dropdown-label\"],\"rowNameLabel\":[1,\"row-name-label\"],\"rowHasDropdown\":[4,\"row-has-dropdown\"],\"rowDropdownLabel\":[1,\"row-dropdown-label\"],\"rowDropdownPlaceholder\":[1,\"row-dropdown-placeholder\"],\"rowInputLabel\":[1,\"row-input-label\"],\"rowDeleteButtonText\":[1,\"row-delete-button-text\"],\"totalInputLimit\":[2,\"total-input-limit\"],\"inputLimitWarning\":[1,\"input-limit-warning\"],\"inputEmptyWarning\":[1,\"input-empty-warning\"],\"dropdownEmptyWarning\":[1,\"dropdown-empty-warning\"],\"nextRowIndex\":[32],\"rowSelectDropdownArr\":[32],\"formValue\":[32]},null,{\"dropdownData\":[\"dropdownDataWatcher\"]}]]],[\"pn-hero-block-international.cjs\",[[4,\"pn-hero-block-international\",{\"heading\":[1],\"subHeading\":[1,\"sub-heading\"],\"preamble\":[1],\"animateLogo\":[4,\"animate-logo\"],\"showSideLoader\":[4,\"show-side-loader\"],\"centeredLayout\":[4,\"centered-layout\"]}]]],[\"pn-line-shape.cjs\",[[0,\"pn-line-shape\"]]],[\"pn-link-list.cjs\",[[4,\"pn-link-list\",{\"heading\":[1],\"label\":[1],\"preamble\":[1],\"url\":[1],\"showMoreLabel\":[1,\"show-more-label\"],\"showMoreUrl\":[1,\"show-more-url\"]}]]],[\"pn-marketweb-icon.cjs\",[[0,\"pn-marketweb-icon\",{\"symbol\":[1],\"small\":[4],\"color\":[1]}]]],[\"pn-marketweb-search.cjs\",[[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\"]]]]],[\"pn-marketweb-siteheader-login-mypage-button.cjs\",[[0,\"pn-marketweb-siteheader-login-mypage-button\",{\"label\":[1],\"myPageUrl\":[1,\"my-page-url\"]}]]],[\"pn-marketweb-table.cjs\",[[0,\"pn-marketweb-table\",{\"mainHeading\":[1,\"main-heading\"],\"mainHeadingLevel\":[1,\"main-heading-level\"],\"preamble\":[1],\"subHeadingLevel\":[1,\"sub-heading-level\"],\"headers\":[1],\"rows\":[1],\"showHeadersInCells\":[4,\"show-headers-in-cells\"],\"cellHeaderLevel\":[1,\"cell-header-level\"],\"tableRowCtaActionLabel\":[1,\"table-row-cta-action-label\"],\"imageColAriaHeader\":[1,\"image-col-aria-header\"],\"ctaColAriaHeader\":[1,\"cta-col-aria-header\"],\"checkForNewShipments\":[4,\"check-for-new-shipments\"],\"endpoint\":[1],\"language\":[1],\"market\":[1],\"toggleDetailLabel\":[1,\"toggle-detail-label\"],\"checkForChat\":[4,\"check-for-chat\"],\"value\":[1537],\"shipmentType\":[1,\"shipment-type\"],\"contentId\":[1,\"content-id\"],\"takeAmountRow\":[2,\"take-amount-row\"],\"shipmentCount\":[2,\"shipment-count\"],\"i18n\":[32],\"_headers\":[32],\"_rows\":[32],\"_allKeys\":[32],\"screenInfo\":[32]},null,{\"language\":[\"onLanguageChange\"]}]]],[\"pn-product-tile.cjs\",[[4,\"pn-product-tile\"]]],[\"pn-profile-modal.cjs\",[[4,\"pn-profile-modal\",{\"heading\":[1],\"continueCtaText\":[1,\"continue-cta-text\"],\"choosenCompanyText\":[1,\"choosen-company-text\"],\"toText\":[1,\"to-text\"],\"chooseCustomerNumberText\":[1,\"choose-customer-number-text\"],\"isLoading\":[32]},[[0,\"urlSelected\",\"onUrlSelected\"]]]]],[\"pn-profile-modal-customernumber.cjs\",[[4,\"pn-profile-modal-customernumber\",{\"url\":[513],\"customernumber\":[513],\"selected\":[516]}]]],[\"pn-profile-modal-profile.cjs\",[[4,\"pn-profile-modal-profile\",{\"heading\":[513],\"description\":[513],\"url\":[513],\"selected\":[1028],\"showCustomerNumbers\":[516,\"show-customer-numbers\"],\"pleaseSelectText\":[513,\"please-select-text\"],\"visible\":[1540],\"identifier\":[32]}]]],[\"pn-profile-modal-type.cjs\",[[4,\"pn-profile-modal-type\",{\"typeid\":[513],\"name\":[1025],\"selected\":[1028],\"selectedprofile\":[1025]},null,{\"selected\":[\"onSelectedChange\"]}]]],[\"pn-profile-selector.cjs\",[[4,\"pn-profile-selector\",{\"language\":[1537],\"returnUrl\":[1,\"return-url\"],\"heading\":[1],\"i18n\":[32],\"isLoading\":[32],\"numberOfProfiles\":[32]}]]],[\"pn-profile-selector-option.cjs\",[[0,\"pn-profile-selector-option\",{\"heading\":[1],\"description\":[1],\"url\":[1]}]]],[\"pn-quick-cta.cjs\",[[4,\"pn-quick-cta\",{\"heading\":[1],\"preamble\":[1]}]]],[\"pn-quote-card.cjs\",[[4,\"pn-quote-card\",{\"quote\":[1],\"name\":[1],\"occupation\":[1]}]]],[\"pn-sidenav.cjs\",[[4,\"pn-sidenav\",{\"language\":[1],\"navLabel\":[1,\"nav-label\"],\"i18n\":[32]},[[0,\"language\",\"setLanguage\"],[0,\"openSubMenuLevelChange\",\"onOpenSubMenuLevelChange\"]]]]],[\"pn-sidenav-level.cjs\",[[4,\"pn-sidenav-level\",{\"level\":[32],\"levelId\":[32],\"isOpen\":[32],\"parentName\":[32],\"parentHref\":[32],\"parentLinkId\":[32],\"alignment\":[32]},null,{\"isOpen\":[\"onOpen\"]}]]],[\"pn-sidenav-link.cjs\",[[4,\"pn-sidenav-link\",{\"name\":[1],\"href\":[1],\"target\":[1],\"linkid\":[1],\"icon\":[1],\"currentSelection\":[4,\"current-selection\"],\"levelId\":[32],\"open\":[32],\"hasChildren\":[32]}]]],[\"pn-sidenav-togglebutton.cjs\",[[4,\"pn-sidenav-togglebutton\",{\"label\":[1],\"i18n\":[32]}]]],[\"pn-spotlight.cjs\",[[4,\"pn-spotlight\",{\"heading\":[1],\"preamble\":[1],\"isDynamic\":[4,\"is-dynamic\"],\"addDynamic\":[32]}]]],[\"pn-teaser-card.cjs\",[[4,\"pn-teaser-card\",{\"text\":[1],\"heading\":[1],\"label\":[1],\"headingLevel\":[1,\"heading-level\"],\"dataCardColor\":[513,\"data-card-color\"],\"dataCardAlignment\":[513,\"data-card-alignment\"],\"hasCtaSlotContent\":[32],\"hasIllustrationSlot\":[32]}]]],[\"pn-usp-promoter.cjs\",[[4,\"pn-usp-promoter\",{\"heading\":[1],\"headingExtension\":[1,\"heading-extension\"],\"bodyText\":[1,\"body-text\"],\"backgroundGradient\":[1,\"background-gradient\"],\"fullWidth\":[4,\"full-width\"],\"rightAlign\":[4,\"right-align\"],\"hideMobileImage\":[4,\"hide-mobile-image\"]}]]],[\"pn-proxio-findprice-result.cjs\",[[0,\"pn-proxio-findprice-result\",{\"item\":[1040],\"activeweight\":[1026],\"shownitems\":[16],\"Usp1\":[1,\"usp-1\"],\"Usp2\":[1,\"usp-2\"],\"Usp3\":[1,\"usp-3\"],\"description\":[16],\"showMeasurement\":[4,\"show-measurement\"],\"showInternational\":[4,\"show-international\"],\"selectedCountrycode\":[1,\"selected-countrycode\"],\"market\":[1],\"language\":[1025],\"weightText\":[32],\"linkId\":[32],\"shopLabel\":[32],\"shopUrl\":[32],\"shopId\":[32],\"i18n\":[32]},null,{\"item\":[\"composeItems\"],\"activeweight\":[\"getPriceString\",\"getProductLink\"]}]]],[\"pn-find-service-and-price-result.cjs\",[[0,\"pn-find-service-and-price-result\",{\"item\":[1040],\"shownitems\":[16],\"weightText\":[32]},null,{\"item\":[\"composeItems\"]}]]],[\"pn-play-on-scroll.cjs\",[[0,\"pn-play-on-scroll\",{\"videoSrc\":[1,\"video-src\"],\"observerOptions\":[16],\"showOverlay\":[4,\"show-overlay\"],\"videoId\":[32],\"isManuallyPaused\":[32],\"isPaused\":[32]}]]],[\"pn-level-up-modal.cjs\",[[0,\"pn-level-up-modal\",{\"open\":[516],\"endpoint\":[1],\"instructionPhoneLineOne\":[1,\"instruction-phone-line-one\"],\"instructionPhoneLineTwo\":[1,\"instruction-phone-line-two\"],\"instructionPhoneLineThree\":[1,\"instruction-phone-line-three\"],\"headingText\":[1,\"heading-text\"],\"outdatedQRMessage\":[1,\"outdated-q-r-message\"],\"expiresInMessage\":[1,\"expires-in-message\"],\"system\":[1],\"qrAriaLabel\":[1,\"qr-aria-label\"],\"openModalToggle\":[32],\"isLoading\":[32]},null,{\"open\":[\"updateOpen\"]}]]],[\"pn-multi-row-connected-dropdown-row.cjs\",[[0,\"pn-multi-row-connected-dropdown-row\",{\"dropdownData\":[1,\"dropdown-data\"],\"languageCode\":[1,\"language-code\"],\"label\":[1],\"firstDropdownLabel\":[1,\"first-dropdown-label\"],\"secondDropdownLabel\":[1,\"second-dropdown-label\"],\"dropdownPlaceholder\":[1,\"dropdown-placeholder\"],\"addRowText\":[1,\"add-row-text\"],\"inputFieldLabel\":[1,\"input-field-label\"],\"inputFieldPlaceholder\":[1,\"input-field-placeholder\"],\"disabledDates\":[1,\"disabled-dates\"],\"dateButtonText\":[1,\"date-button-text\"],\"datePlaceholder\":[1,\"date-placeholder\"],\"dateDaysFromToday\":[2,\"date-days-from-today\"],\"allowMultipleDates\":[4,\"allow-multiple-dates\"],\"startDateLabel\":[1,\"start-date-label\"],\"endDateLabel\":[1,\"end-date-label\"],\"multiDateHelperText\":[1,\"multi-date-helper-text\"],\"generateDatesButtonText\":[1,\"generate-dates-button-text\"],\"saveDateButtonText\":[1,\"save-date-button-text\"],\"noDatesText\":[1,\"no-dates-text\"],\"index\":[2],\"predefinedValue\":[1,\"predefined-value\"],\"yearsToAddToEndDate\":[2,\"years-to-add-to-end-date\"],\"minAmount\":[2,\"min-amount\"],\"errorMessageEmpty\":[1,\"error-message-empty\"],\"errorMessageMinAmount\":[1,\"error-message-min-amount\"],\"minWarningAmount\":[2,\"min-warning-amount\"],\"warningMessageMinAmount\":[1,\"warning-message-min-amount\"],\"buttonsArray\":[32],\"firstDropdownArr\":[32],\"secondDropdownArr\":[32],\"firstDropdownClass\":[32],\"secondDropdownClass\":[32],\"firstValidDateString\":[32],\"lastValidDateString\":[32],\"firstDropdownPlaceholder\":[32],\"secondDropdownPlaceholder\":[32],\"startDateValue\":[32],\"endDateValue\":[32],\"generatedDatesArr\":[32],\"selectedButtonValue\":[32],\"inputFieldValue\":[32],\"dateValue\":[32],\"daysArr\":[32]},null,{\"predefinedValue\":[\"applyPredefinedValue\"]}]]],[\"pn-dropdown-with-multi-input-rows-row.cjs\",[[0,\"pn-dropdown-with-multi-input-rows-row\",{\"languageCode\":[1,\"language-code\"],\"firstInputPlaceholder\":[1,\"first-input-placeholder\"],\"firstInputMin\":[2,\"first-input-min\"],\"firstInputMax\":[2,\"first-input-max\"],\"firstInputWarning\":[2,\"first-input-warning\"],\"firstInputWarningText\":[1,\"first-input-warning-text\"],\"firstInputLowErrorText\":[1,\"first-input-low-error-text\"],\"firstInputHighErrorText\":[1,\"first-input-high-error-text\"],\"secondInputPlaceholder\":[1,\"second-input-placeholder\"],\"secondInputMin\":[2,\"second-input-min\"],\"secondInputMax\":[2,\"second-input-max\"],\"secondInputWarning\":[2,\"second-input-warning\"],\"secondInputWarningText\":[1,\"second-input-warning-text\"],\"secondInputLowErrorText\":[1,\"second-input-low-error-text\"],\"secondInputHighErrorText\":[1,\"second-input-high-error-text\"],\"dateLabel\":[1,\"date-label\"],\"datePlaceholder\":[1,\"date-placeholder\"],\"firstValidDate\":[1,\"first-valid-date\"],\"lastValidDate\":[1,\"last-valid-date\"],\"predefinedValue\":[1,\"predefined-value\"],\"rowIndex\":[2,\"row-index\"],\"minRowCount\":[2,\"min-row-count\"],\"disabledDates\":[1,\"disabled-dates\"],\"showFirstInputWarning\":[32],\"showFirstInputLowError\":[32],\"showFirstInputHighError\":[32],\"showSecondInputWarning\":[32],\"showSecondInputLowError\":[32],\"showSecondInputHighError\":[32],\"firstInputValue\":[32],\"secondInputValue\":[32],\"dateValue\":[32]},null,{\"predefinedValue\":[\"applyPredefinedValue\"]}]]],[\"pn-share-item.cjs\",[[4,\"pn-share-item\",{\"link\":[1],\"text\":[1]}]]],[\"pn-stats-info-data.cjs\",[[0,\"pn-stats-info-data\",{\"format\":[1],\"formatStyle\":[1,\"format-style\"],\"startValue\":[2,\"start-value\"],\"data\":[2],\"unit\":[1],\"preamble\":[1],\"duration\":[2],\"index\":[2],\"hasBeenShown\":[32],\"compId\":[32]},null,{\"hasBeenShown\":[\"watchStateHandlder\"]}]]],[\"pn-find-price-result.cjs\",[[0,\"pn-find-price-result\",{\"item\":[1040],\"shownitems\":[16],\"Usp1\":[1,\"usp-1\"],\"Usp2\":[1,\"usp-2\"],\"Usp3\":[1,\"usp-3\"],\"description\":[16],\"showMeasurement\":[4,\"show-measurement\"],\"weightText\":[32],\"linkId\":[32],\"shopLabel\":[32],\"shopUrl\":[32],\"shopId\":[32]},null,{\"item\":[\"composeItems\"]}]]],[\"pn-chat-message_2.cjs\",[[4,\"pn-chat-message\",{\"category\":[1],\"customerSegment\":[1,\"customer-segment\"],\"agentName\":[1,\"agent-name\"]}],[0,\"pn-marketweb-carousel\",{\"previousButtonLabel\":[1,\"previous-button-label\"],\"nextButtonLabel\":[1,\"next-button-label\"],\"ariaNavigationLabel\":[1,\"aria-navigation-label\"],\"source\":[1],\"slidesToShow\":[2,\"slides-to-show\"],\"showCarouselButtons\":[4,\"show-carousel-buttons\"],\"showFirstSlidePrevButton\":[4,\"show-first-slide-prev-button\"],\"showLastSlideNextButton\":[4,\"show-last-slide-next-button\"],\"slidesData\":[32],\"currentSlide\":[32],\"isDragging\":[32],\"slideWidth\":[32],\"goToSlide\":[64],\"getCurrentSlide\":[64]},null,{\"source\":[\"handleSourceChange\"]}]]],[\"pn-filter-checkbox.cjs\",[[1,\"pn-filter-checkbox\",{\"value\":[520],\"name\":[1],\"checkboxid\":[1],\"disabled\":[4],\"checked\":[4],\"indeterminate\":[1028]},[[0,\"change\",\"handlechange\"]]]]],[\"pn-mainnav-link.cjs\",[[4,\"pn-mainnav-link\",{\"name\":[1],\"href\":[1],\"target\":[1],\"linkid\":[1],\"levelId\":[32],\"open\":[32],\"hasChildren\":[32]}]]],[\"pn-qr-code-generator.cjs\",[[0,\"pn-qr-code-generator\",{\"url\":[1],\"countdownSeconds\":[2,\"countdown-seconds\"],\"outdatedMessage\":[1,\"outdated-message\"],\"expiresInMessage\":[1,\"expires-in-message\"],\"updateCodeEverySecond\":[4,\"update-code-every-second\"],\"ariaLabel\":[1,\"aria-label\"],\"remainingSeconds\":[32],\"isOutdated\":[32],\"isFullscreen\":[32]},null,{\"url\":[\"generateQRCode\"]}]]],[\"pn-site-footer_3.cjs\",[[4,\"pn-site-footer\",{\"url\":[1],\"linktitle\":[1],\"theme\":[513]}],[4,\"pn-site-footer-col\",{\"theme\":[513]}],[0,\"pn-swan\",{\"licenseNumber\":[1,\"license-number\"],\"language\":[1537],\"linkTo\":[1,\"link-to\"],\"i18n\":[32]},null,{\"language\":[\"onLanguageChange\"]}]]],[\"pn-choice-button.cjs\",[[4,\"pn-choice-button\",{\"value\":[520],\"name\":[1],\"choiceid\":[1],\"type\":[1],\"disabled\":[4],\"checked\":[4],\"indeterminate\":[1028]},[[0,\"change\",\"handlechange\"]]]]],[\"pn-marketweb-input.cjs\",[[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]}]]],[\"pn-product-tile-info_2.cjs\",[[0,\"pn-product-tile-info\",{\"label\":[1],\"text\":[1],\"icon\":[1]}],[0,\"pn-product-tile-price\",{\"label\":[1],\"amount\":[1],\"currency\":[1],\"url\":[1]}]]],[\"pn-scroll_2.cjs\",[[4,\"pn-scroll\",{\"observerOptions\":[16],\"behaviourClasses\":[1,\"behaviour-classes\"],\"transitionDurationSeconds\":[2,\"transition-duration-seconds\"],\"shouldLoop\":[4,\"should-loop\"],\"intersectFunc\":[16],\"notIntersectFunc\":[16],\"compId\":[32]}],[0,\"pn-video-overlay\",{\"language\":[1],\"isPaused\":[4,\"is-paused\"],\"showOverlay\":[4,\"show-overlay\"],\"i18n\":[32]},null,{\"language\":[\"onLanguageChange\"]}]]],[\"pn-marketweb-siteheader-login-linklist.cjs\",[[0,\"pn-marketweb-siteheader-login-linklist\",{\"heading\":[1],\"links\":[16],\"idNamespace\":[1,\"id-namespace\"],\"showUnifiedLogin\":[4,\"show-unified-login\"]}]]],[\"pn-titletag.cjs\",[[4,\"pn-titletag\",{\"icon\":[1],\"color\":[1537]}]]],[\"pn-marketweb-siteheader-login-button_4.cjs\",[[0,\"pn-marketweb-siteheader-login-links\",{\"loginDialog\":[1040],\"idNamespace\":[1,\"id-namespace\"],\"loggedin\":[516],\"username\":[1],\"showUnifiedLogin\":[4,\"show-unified-login\"]},null,{\"loginDialog\":[\"init\"]}],[0,\"pn-marketweb-siteheader-login-profileselection\",{\"loginDialog\":[1040],\"endpoint\":[1],\"loggedin\":[4],\"idNamespace\":[1,\"id-namespace\"],\"heading\":[1],\"i18n\":[16],\"currentProfile\":[1040],\"profileoptions\":[1040],\"user\":[32],\"logoutLink\":[32],\"userName\":[32],\"userEmail\":[32]}],[0,\"pn-marketweb-siteheader-unified-login\",{\"loggedIn\":[4,\"logged-in\"],\"logInLabel\":[1,\"log-in-label\"],\"useMarketwebLogin\":[4,\"use-marketweb-login\"],\"environment\":[1]}],[0,\"pn-marketweb-siteheader-login-button\",{\"label\":[1],\"useMarketwebLogin\":[4,\"use-marketweb-login\"],\"environment\":[1]}]]],[\"pn-language-selector_9.cjs\",[[0,\"pn-marketweb-siteheader-login\",{\"endpoint\":[1],\"token\":[1],\"i18n\":[16],\"siteUrl\":[1,\"site-url\"],\"emitEvents\":[4,\"emit-events\"],\"loginDialog\":[1040],\"fullname\":[1],\"loggedin\":[4],\"showProfileSelection\":[1028,\"show-profile-selection\"],\"showUnifiedLogin\":[4,\"show-unified-login\"],\"checkUserLoggedInStateInterval\":[2,\"check-user-logged-in-state-interval\"],\"environment\":[1],\"useMarketwebLogin\":[4,\"use-marketweb-login\"],\"loginLinks\":[32],\"toggleButtonText\":[32],\"username\":[32]},null,{\"i18n\":[\"init\"],\"loginDialog\":[\"init\"]}],[4,\"pn-mainnav-level\",{\"label\":[1537],\"level\":[32],\"levelId\":[32],\"isOpen\":[32],\"parentName\":[32],\"parentHref\":[32],\"parentLinkId\":[32],\"listCount\":[32],\"alignment\":[32]},null,{\"label\":[\"setState\"],\"isOpen\":[\"onOpen\"]}],[4,\"pn-language-selector\",{\"value\":[1537],\"selectedLanguageName\":[32],\"options\":[32],\"i18n\":[32]},null,{\"value\":[\"setSelectedLanguageName\",\"setTranslations\",\"onValueChange\"]}],[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-search\",{\"i18n\":[8,\"i-1-8n\"],\"showOnlyLink\":[1028,\"show-only-link\"],\"hideSearch\":[1028,\"hide-search\"],\"language\":[1537],\"siteid\":[1],\"search\":[1040],\"primary\":[4],\"icononly\":[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]}]]],[\"pn-proxio-productcard_4.cjs\",[[4,\"pn-proxio-productcard\"],[0,\"pn-proxio-productcard-description\",{\"heading\":[1],\"highlight\":[1],\"description\":[1],\"list\":[1040]}],[0,\"pn-proxio-productcard-information\",{\"label\":[1],\"information\":[16]}],[0,\"pn-proxio-productcard-pricelink\",{\"price\":[1],\"vatText\":[1,\"vat-text\"],\"link\":[1],\"linktext\":[1]}]]],[\"pn-product-card_3.cjs\",[[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],\"linkid\":[1]}],[4,\"pn-product-card\"]]]]"), options);
|
|
11
|
+
return index.bootstrapLazy(JSON.parse("[[\"pn-marketweb-siteheader.cjs\",[[4,\"pn-marketweb-siteheader\",{\"market\":[1537],\"language\":[1537],\"siteid\":[1],\"environment\":[1537],\"userToken\":[1,\"user-token\"],\"userFullname\":[1,\"user-fullname\"],\"userLoggedin\":[516,\"user-loggedin\"],\"endpoint\":[1],\"hideSiteSelector\":[1540,\"hide-site-selector\"],\"hideHomeMenuItem\":[1540,\"hide-home-menu-item\"],\"hideLanguageSelector\":[1540,\"hide-language-selector\"],\"hideSearch\":[1540,\"hide-search\"],\"hideLogin\":[1540,\"hide-login\"],\"showProfileSelection\":[1540,\"show-profile-selection\"],\"showUnifiedLogin\":[4,\"show-unified-login\"],\"siteDomainInUrls\":[4,\"site-domain-in-urls\"],\"AutocompleteEndpoint\":[1,\"autocomplete-endpoint\"],\"sessionForward\":[4,\"session-forward\"],\"cache\":[4],\"searchPlaceholder\":[1,\"search-placeholder\"],\"spaMode\":[4,\"spa-mode\"],\"checkUserLoggedInStateInterval\":[2,\"check-user-logged-in-state-interval\"],\"useMarketwebLogin\":[4,\"use-marketweb-login\"],\"pageId\":[1,\"page-id\"],\"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]},[[0,\"setLanguage\",\"onLanguageSelectorChange\"],[0,\"loginStateChange\",\"onLoginStateChange\"],[9,\"resize\",\"handleResize\"]],{\"language\":[\"onLanguageChange\"],\"market\":[\"onMarketChange\"]}]]],[\"pn-proxio-findprice.cjs\",[[0,\"pn-proxio-findprice\",{\"endpoint\":[1025],\"language\":[1025],\"market\":[1025],\"showMedium\":[4,\"show-medium\"],\"showInternational\":[4,\"show-international\"],\"maxAbroadKg\":[2,\"max-abroad-kg\"],\"weightListName\":[1,\"weight-list-name\"],\"cache\":[4],\"filteredItems\":[32],\"weight\":[32],\"weightvalue\":[32],\"countrycodevalue\":[32],\"sizecategory\":[32],\"data\":[32]},null,{\"market\":[\"setState\"],\"language\":[\"setState\"],\"sizecategory\":[\"filterItems\"],\"weightvalue\":[\"filterItems\"],\"countrycodevalue\":[\"filterItems\"]}]]],[\"pn-find-price.cjs\",[[0,\"pn-find-price\",{\"source\":[1],\"language\":[1025],\"market\":[1025],\"filteredItems\":[32],\"weight\":[32],\"weightvalue\":[32],\"sourceData\":[32],\"sizecategory\":[32]},null,{\"market\":[\"setState\"],\"language\":[\"setState\"],\"sizecategory\":[\"filterItems\"],\"weightvalue\":[\"filterItems\"]}]]],[\"pn-find-service-and-price.cjs\",[[0,\"pn-find-service-and-price\",{\"source\":[1],\"language\":[1025],\"market\":[1025],\"filteredItems\":[32],\"postagetype\":[32],\"weight\":[32],\"weightvalue\":[32],\"deliveryscope\":[32],\"sourceData\":[32]},null,{\"market\":[\"setState\"],\"language\":[\"setState\"],\"postagetype\":[\"filterItems\"],\"deliveryscope\":[\"filterItems\"],\"weightvalue\":[\"filterItems\"]}]]],[\"pn-product-pricelist.cjs\",[[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]},null,{\"market\":[\"setState\"],\"language\":[\"setState\"],\"postagetype\":[\"filterItems\"],\"weightvalue\":[\"filterItems\"]}]]],[\"pn-proxio-pricegroup.cjs\",[[0,\"pn-proxio-pricegroup\",{\"endpoint\":[1025],\"language\":[1],\"market\":[1],\"tariffid\":[1],\"cache\":[4],\"activeWeightIndex\":[32],\"data\":[32],\"i18n\":[32]},[[0,\"activeWeightIndex\",\"setActiveWeightIndex\"],[0,\"language\",\"setLanguage\"]]]]],[\"pn-product-pricelist-result.cjs\",[[0,\"pn-product-pricelist-result\",{\"item\":[1040],\"description\":[16],\"shownitems\":[16],\"showMeasurement\":[4,\"show-measurement\"],\"weightText\":[32]},null,{\"item\":[\"composeItems\"]}]]],[\"pn-marketweb-sitefooter.cjs\",[[4,\"pn-marketweb-sitefooter\",{\"market\":[1537],\"language\":[1537],\"environment\":[1537],\"endpoint\":[1],\"siteDomainInUrls\":[4,\"site-domain-in-urls\"],\"cache\":[4],\"theme\":[513],\"backgroundcolor\":[513],\"showSwan\":[4,\"show-swan\"],\"headingLevel\":[1,\"heading-level\"],\"siteDefinition\":[32],\"footerContent\":[32],\"i18n\":[32],\"gotData\":[32],\"fetchingData\":[32]},null,{\"language\":[\"onLanguageChange\"],\"market\":[\"onMarketChange\"]}]]],[\"pn-media-block.cjs\",[[4,\"pn-media-block\",{\"blockHeight\":[1,\"block-height\"],\"imageSrc\":[1,\"image-src\"],\"imageSrcSmallScreenFormat\":[1,\"image-src-small-screen-format\"],\"imageAltText\":[1,\"image-alt-text\"],\"videoSrc\":[1,\"video-src\"],\"parallaxScroll\":[4,\"parallax-scroll\"],\"showOverlayLayer\":[4,\"show-overlay-layer\"],\"customOverlayBackground\":[1,\"custom-overlay-background\"],\"animateOverlayBackground\":[4,\"animate-overlay-background\"],\"scrollSnapBlock\":[4,\"scroll-snap-block\"],\"fixedBackground\":[4,\"fixed-background\"],\"blockHeading\":[1,\"block-heading\"],\"blockHeadingLevel\":[1,\"block-heading-level\"],\"blockPreamble\":[1,\"block-preamble\"],\"marginBottom\":[4,\"margin-bottom\"],\"pnPlayOnScrollObserverOptions\":[32],\"calculatedBlockHeight\":[32],\"hasButtonSlot\":[32]}]]],[\"pn-chat.cjs\",[[0,\"pn-chat\",{\"endpoint\":[1],\"customerSegment\":[1,\"customer-segment\"],\"mainHeading\":[1,\"main-heading\"],\"relatedContentAriaLabel\":[1,\"related-content-aria-label\"],\"chatMinimizedAriaLabel\":[1,\"chat-minimized-aria-label\"],\"chatOpenedAriaLabel\":[1,\"chat-opened-aria-label\"],\"minimizeChatAriaLabel\":[1,\"minimize-chat-aria-label\"],\"closeChatAriaLabel\":[1,\"close-chat-aria-label\"],\"openChatAriaLabel\":[1,\"open-chat-aria-label\"],\"chatControlsAriaLabel\":[1,\"chat-controls-aria-label\"],\"chatMessagesAriaLabel\":[1,\"chat-messages-aria-label\"],\"sentMessageAriaLabel\":[1,\"sent-message-aria-label\"],\"writeChatMessagePlaceholder\":[1,\"write-chat-message-placeholder\"],\"waitingForAnswerLabel\":[1,\"waiting-for-answer-label\"],\"sendButtonText\":[1,\"send-button-text\"],\"loadingText\":[1,\"loading-text\"],\"carouselSlidesToShow\":[2,\"carousel-slides-to-show\"],\"messages\":[1],\"language\":[1],\"market\":[1],\"itemId\":[1,\"item-id\"],\"pnChatId\":[1,\"pn-chat-id\"],\"forceOpen\":[4,\"force-open\"],\"isLoggedIn\":[4,\"is-logged-in\"],\"message\":[32],\"messagesData\":[32],\"isMinimized\":[32],\"isClosed\":[32],\"lastMessageId\":[32],\"i18n\":[32]},[[0,\"keydown\",\"handleKeyDown\"]],{\"messages\":[\"handleMessagesChange\"],\"pnChatId\":[\"handleNewChatId\"],\"forceOpen\":[\"handleSameChatId\"],\"isMinimized\":[\"scrollToBottom\"]}]]],[\"pn-level-up.cjs\",[[0,\"pn-level-up\",{\"heading\":[1],\"headingLevel\":[8,\"heading-level\"],\"preamble\":[1],\"imageUrl\":[1,\"image-url\"],\"imageAltText\":[1,\"image-alt-text\"],\"endpoint\":[1],\"webModalContinueOtherDeviceLabel\":[1,\"web-modal-continue-other-device-label\"],\"webModalContinueThisDeviceLabel\":[1,\"web-modal-continue-this-device-label\"],\"mobileModalContinueThisDeviceLabel\":[1,\"mobile-modal-continue-this-device-label\"],\"mobileModalContinueOtherDeviceLabel\":[1,\"mobile-modal-continue-other-device-label\"],\"modalInstructionPhoneLineOne\":[1,\"modal-instruction-phone-line-one\"],\"modalInstructionPhoneLineTwo\":[1,\"modal-instruction-phone-line-two\"],\"modalInstructionPhoneLineThree\":[1,\"modal-instruction-phone-line-three\"],\"modalHeadingText\":[1,\"modal-heading-text\"],\"modalOutdatedQRMessage\":[1,\"modal-outdated-q-r-message\"],\"modalExpiresInMessage\":[1,\"modal-expires-in-message\"],\"qrAriaLabel\":[1,\"qr-aria-label\"],\"leveledupMessage\":[1,\"leveledup-message\"],\"isLeveledUp\":[4,\"is-leveled-up\"],\"isLoading\":[32],\"isRecentLeveledUp\":[32],\"errorMessage\":[32]}]]],[\"pn-multi-row-connected-dropdown.cjs\",[[0,\"pn-multi-row-connected-dropdown\",{\"dropdownData\":[1,\"dropdown-data\"],\"languageCode\":[1,\"language-code\"],\"label\":[1],\"firstDropdownLabel\":[1,\"first-dropdown-label\"],\"secondDropdownLabel\":[1,\"second-dropdown-label\"],\"dropdownPlaceholder\":[1,\"dropdown-placeholder\"],\"addRowText\":[1,\"add-row-text\"],\"inputFieldLabel\":[1,\"input-field-label\"],\"inputFieldPlaceholder\":[1,\"input-field-placeholder\"],\"disabledDates\":[1,\"disabled-dates\"],\"dateButtonText\":[1,\"date-button-text\"],\"datePlaceholder\":[1,\"date-placeholder\"],\"dateDaysFromToday\":[2,\"date-days-from-today\"],\"allowMultipleRows\":[4,\"allow-multiple-rows\"],\"allowMultipleDates\":[4,\"allow-multiple-dates\"],\"startDateLabel\":[1,\"start-date-label\"],\"endDateLabel\":[1,\"end-date-label\"],\"multiDateHelperText\":[1,\"multi-date-helper-text\"],\"generateDatesButtonText\":[1,\"generate-dates-button-text\"],\"saveDateButtonText\":[1,\"save-date-button-text\"],\"noDatesText\":[1,\"no-dates-text\"],\"yearsToAddToEndDate\":[2,\"years-to-add-to-end-date\"],\"minAmount\":[2,\"min-amount\"],\"errorMessageEmpty\":[1,\"error-message-empty\"],\"errorMessageMinAmount\":[1,\"error-message-min-amount\"],\"minWarningAmount\":[2,\"min-warning-amount\"],\"warningMessageMinAmount\":[1,\"warning-message-min-amount\"],\"rowCount\":[32],\"rowData\":[32],\"formValues\":[32]},[[0,\"rowValueChange\",\"predefinedValueChange\"],[0,\"deleteRowEvent\",\"deleteRowEvent\"]]]]],[\"pn-dropdown-with-multi-input-rows.cjs\",[[0,\"pn-dropdown-with-multi-input-rows\",{\"dropdownData\":[1,\"dropdown-data\"],\"languageCode\":[1,\"language-code\"],\"firstDropdownLabel\":[1,\"first-dropdown-label\"],\"firstDropdownHelperText\":[1,\"first-dropdown-helper-text\"],\"secondDropdownLabel\":[1,\"second-dropdown-label\"],\"secondDropdownHelperText\":[1,\"second-dropdown-helper-text\"],\"secondDropdownMax\":[2,\"second-dropdown-max\"],\"deleteMultipleRowsWarningText\":[1,\"delete-multiple-rows-warning-text\"],\"confirmDeleteButtonText\":[1,\"confirm-delete-button-text\"],\"abortDeleteButtonText\":[1,\"abort-delete-button-text\"],\"firstInputLabel\":[1,\"first-input-label\"],\"firstInputPlaceholder\":[1,\"first-input-placeholder\"],\"firstInputMin\":[2,\"first-input-min\"],\"firstInputMax\":[2,\"first-input-max\"],\"firstInputWarning\":[2,\"first-input-warning\"],\"firstInputWarningText\":[1,\"first-input-warning-text\"],\"firstInputLowErrorText\":[1,\"first-input-low-error-text\"],\"firstInputHighErrorText\":[1,\"first-input-high-error-text\"],\"secondInputLabel\":[1,\"second-input-label\"],\"secondInputPlaceholder\":[1,\"second-input-placeholder\"],\"secondInputMin\":[2,\"second-input-min\"],\"secondInputMax\":[2,\"second-input-max\"],\"secondInputWarning\":[2,\"second-input-warning\"],\"secondInputWarningText\":[1,\"second-input-warning-text\"],\"secondInputLowErrorText\":[1,\"second-input-low-error-text\"],\"secondInputHighErrorText\":[1,\"second-input-high-error-text\"],\"disabledDates\":[1,\"disabled-dates\"],\"dateLabel\":[1,\"date-label\"],\"datePlaceholder\":[1,\"date-placeholder\"],\"dateDaysFromToday\":[2,\"date-days-from-today\"],\"yearsToAddToEndDate\":[2,\"years-to-add-to-end-date\"],\"sumFieldLabel\":[1,\"sum-field-label\"],\"addRowText\":[1,\"add-row-text\"],\"elementHelperText\":[1,\"element-helper-text\"],\"dropdownDataRoot\":[32],\"secondDropdownArr\":[32],\"rowData\":[32],\"formValues\":[32],\"firstValidDateString\":[32],\"lastValidDateString\":[32],\"rowSum\":[32],\"minRowCount\":[32],\"showDeleteConfirm\":[32],\"i18n\":[32]},[[0,\"rowValueChange\",\"predefinedValueChange\"],[0,\"firstInputChange\",\"predefinedValueChange\"],[0,\"secondInputChange\",\"predefinedValueChange\"],[0,\"deleteRowEvent\",\"deleteRowEvent\"]],{\"languageCode\":[\"setTranslations\"]}]]],[\"pn-multiple-input.cjs\",[[0,\"pn-multiple-input\",{\"label\":[1],\"placeholder\":[1],\"addRowButtonText\":[1,\"add-row-button-text\"],\"rowData\":[32]}]]],[\"pn-parcel-tracker.cjs\",[[0,\"pn-parcel-tracker\",{\"formActionUrl\":[1,\"form-action-url\"],\"heading\":[1],\"buttonLabel\":[1,\"button-label\"],\"locale\":[1],\"placeholder\":[1],\"inputName\":[1,\"input-name\"],\"currentWidth\":[32]},[[9,\"resize\",\"handleViewportSizeChange\"]]]]],[\"pn-pex-pricefinder.cjs\",[[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\"]]]]],[\"pn-share.cjs\",[[0,\"pn-share\",{\"link\":[1],\"language\":[1537],\"i18n\":[32]},null,{\"language\":[\"onLanguageChange\"]}]]],[\"pn-stats-info.cjs\",[[4,\"pn-stats-info\",{\"heading\":[1],\"dataArray\":[1,\"data-array\"],\"backgroundUrl\":[1,\"background-url\"],\"myParsedArray\":[32]},null,{\"dataArray\":[\"parseMyArrayProp\"]}]]],[\"pn-address-autofill.cjs\",[[0,\"pn-address-autofill\",{\"market\":[1537],\"environment\":[1537],\"endpoint\":[1],\"cache\":[4],\"countryCode\":[1,\"country-code\"],\"language\":[1],\"postalCodeProps\":[1,\"postal-code-props\"],\"cityProps\":[1,\"city-props\"],\"streetAddressProps\":[1,\"street-address-props\"],\"streetNumberProps\":[1,\"street-number-props\"],\"addressNotFoundError\":[1,\"address-not-found-error\"],\"postalCode\":[32],\"city\":[32],\"streetAddress\":[32],\"streetNumber\":[32],\"validAddress\":[32],\"translation\":[32],\"postalCodeRequiredLabel\":[32],\"streetRequiredLabel\":[32],\"fullAddress\":[32],\"isLoading\":[32]}]]],[\"pn-animated-tile.cjs\",[[4,\"pn-animated-tile\",{\"toggled\":[32],\"transitionClassName\":[32],\"animateIcon\":[32]},null,{\"toggled\":[\"onToggledHandler\"]}]]],[\"pn-app-banner.cjs\",[[0,\"pn-app-banner\",{\"appName\":[1,\"app-name\"],\"appDescription\":[1,\"app-description\"],\"ctaText\":[1,\"cta-text\"],\"appleStoreLink\":[1,\"apple-store-link\"],\"googleStoreLink\":[1,\"google-store-link\"],\"isClosed\":[32],\"storeLink\":[32],\"isLocalStorageAvailable\":[32]}]]],[\"pn-bonus-progressbar.cjs\",[[4,\"pn-bonus-progressbar\",{\"icon\":[1],\"heading\":[1],\"sumtext\":[513],\"theme\":[513],\"bonuspercentage\":[1],\"currency\":[513],\"value\":[1538],\"min\":[1538],\"max\":[1538],\"valuepercentage\":[32],\"progresspercentage\":[32],\"levelValues\":[32],\"currentLevelAdjustedValue\":[32]},null,{\"currentLevelAdjustedValue\":[\"setValuePercentage\"],\"value\":[\"setValuePercentage\"],\"min\":[\"setValuePercentage\"],\"max\":[\"setValuePercentage\"]}]]],[\"pn-bonus-progressbar-level.cjs\",[[0,\"pn-bonus-progressbar-level\",{\"current\":[516],\"value\":[1538],\"bonuspercentage\":[1537],\"visualpercentage\":[1538],\"percentage\":[32],\"max\":[32],\"min\":[32],\"currency\":[32]}]]],[\"pn-breakpoints.cjs\",[[0,\"pn-breakpoints\",{\"breakPointClass\":[1,\"break-point-class\"],\"currentWidth\":[32]},[[9,\"resize\",\"handleViewportSizeChange\"]]]]],[\"pn-chart.cjs\",[[0,\"pn-chart\",{\"labels\":[1],\"dataSets\":[1,\"data-sets\"],\"dataChartType\":[8,\"data-chart-type\"],\"myChartCtxRef\":[32]},null,{\"dataSets\":[\"dataChangeHandler\"],\"labels\":[\"labelsChangeHandler\"]}]]],[\"pn-charts-card.cjs\",[[4,\"pn-charts-card\",{\"header\":[1],\"highlight\":[1],\"preamble\":[1],\"label\":[1],\"source\":[1],\"sourceUrl\":[1,\"source-url\"],\"ctaLinkText\":[1,\"cta-link-text\"],\"openInNewWindow\":[4,\"open-in-new-window\"]}]]],[\"pn-cta-block.cjs\",[[4,\"pn-cta-block\",{\"heading\":[1],\"bodyText\":[1,\"body-text\"],\"pnBackgroundColor\":[1,\"pn-background-color\"],\"isLarge\":[4,\"is-large\"],\"isCentered\":[4,\"is-centered\"],\"isSmall\":[4,\"is-small\"],\"contentTop\":[4,\"content-top\"]}]]],[\"pn-customernumber-selector.cjs\",[[4,\"pn-customernumber-selector\",{\"language\":[1537],\"open\":[1540],\"heading\":[1],\"description\":[1],\"i18n\":[32]}]]],[\"pn-customernumber-selector-option.cjs\",[[4,\"pn-customernumber-selector-option\",{\"heading\":[1],\"description\":[1],\"url\":[1]}]]],[\"pn-date-and-time.cjs\",[[0,\"pn-date-and-time\",{\"languageCode\":[1,\"language-code\"],\"dateAndTimeLabel\":[1,\"date-and-time-label\"],\"dateDaysFromToday\":[2,\"date-days-from-today\"],\"validTimeRangeMinutes\":[2,\"valid-time-range-minutes\"],\"errorMessage\":[1,\"error-message\"],\"dateHelperText\":[1,\"date-helper-text\"],\"timeHelperText\":[1,\"time-helper-text\"],\"disableWeekends\":[4,\"disable-weekends\"],\"disabledDates\":[1,\"disabled-dates\"],\"datePlaceholder\":[1,\"date-placeholder\"],\"minFromHour\":[2,\"min-from-hour\"],\"maxToHour\":[2,\"max-to-hour\"],\"language\":[32],\"hourArr\":[32],\"minuteArr\":[32],\"formValue\":[32],\"invalidTimespan\":[32],\"selectedDate\":[32],\"selectedFromHour\":[32],\"selectedFromMin\":[32],\"selectedToHour\":[32],\"selectedToMin\":[32],\"firstValidDateString\":[32],\"lastValidDateString\":[32]}]]],[\"pn-dropdown-choice-adds-row.cjs\",[[4,\"pn-dropdown-choice-adds-row\",{\"dropdownData\":[1,\"dropdown-data\"],\"languageCode\":[1,\"language-code\"],\"addRowDropdownName\":[1,\"add-row-dropdown-name\"],\"addRowDropdownPlaceholder\":[1,\"add-row-dropdown-placeholder\"],\"addRowDropdownLabel\":[1,\"add-row-dropdown-label\"],\"rowNameLabel\":[1,\"row-name-label\"],\"rowHasDropdown\":[4,\"row-has-dropdown\"],\"rowDropdownLabel\":[1,\"row-dropdown-label\"],\"rowDropdownPlaceholder\":[1,\"row-dropdown-placeholder\"],\"rowInputLabel\":[1,\"row-input-label\"],\"rowDeleteButtonText\":[1,\"row-delete-button-text\"],\"totalInputLimit\":[2,\"total-input-limit\"],\"minimumInputLimit\":[2,\"minimum-input-limit\"],\"inputLimitWarning\":[1,\"input-limit-warning\"],\"inputEmptyWarning\":[1,\"input-empty-warning\"],\"inputLowError\":[1,\"input-low-error\"],\"dropdownEmptyWarning\":[1,\"dropdown-empty-warning\"],\"nextRowIndex\":[32],\"rowSelectDropdownArr\":[32],\"formValue\":[32]},null,{\"dropdownData\":[\"dropdownDataWatcher\"]}]]],[\"pn-hero-block-international.cjs\",[[4,\"pn-hero-block-international\",{\"heading\":[1],\"subHeading\":[1,\"sub-heading\"],\"preamble\":[1],\"animateLogo\":[4,\"animate-logo\"],\"showSideLoader\":[4,\"show-side-loader\"],\"centeredLayout\":[4,\"centered-layout\"]}]]],[\"pn-line-shape.cjs\",[[0,\"pn-line-shape\"]]],[\"pn-link-list.cjs\",[[4,\"pn-link-list\",{\"heading\":[1],\"label\":[1],\"preamble\":[1],\"url\":[1],\"showMoreLabel\":[1,\"show-more-label\"],\"showMoreUrl\":[1,\"show-more-url\"]}]]],[\"pn-marketweb-icon.cjs\",[[0,\"pn-marketweb-icon\",{\"symbol\":[1],\"small\":[4],\"color\":[1]}]]],[\"pn-marketweb-search.cjs\",[[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\"]]]]],[\"pn-marketweb-siteheader-login-mypage-button.cjs\",[[0,\"pn-marketweb-siteheader-login-mypage-button\",{\"label\":[1],\"myPageUrl\":[1,\"my-page-url\"]}]]],[\"pn-marketweb-table.cjs\",[[0,\"pn-marketweb-table\",{\"mainHeading\":[1,\"main-heading\"],\"mainHeadingLevel\":[1,\"main-heading-level\"],\"preamble\":[1],\"subHeadingLevel\":[1,\"sub-heading-level\"],\"headers\":[1],\"rows\":[1],\"showHeadersInCells\":[4,\"show-headers-in-cells\"],\"cellHeaderLevel\":[1,\"cell-header-level\"],\"tableRowCtaActionLabel\":[1,\"table-row-cta-action-label\"],\"imageColAriaHeader\":[1,\"image-col-aria-header\"],\"ctaColAriaHeader\":[1,\"cta-col-aria-header\"],\"checkForNewShipments\":[4,\"check-for-new-shipments\"],\"endpoint\":[1],\"language\":[1],\"market\":[1],\"toggleDetailLabel\":[1,\"toggle-detail-label\"],\"checkForChat\":[4,\"check-for-chat\"],\"value\":[1537],\"shipmentType\":[1,\"shipment-type\"],\"contentId\":[1,\"content-id\"],\"takeAmountRow\":[2,\"take-amount-row\"],\"shipmentCount\":[2,\"shipment-count\"],\"i18n\":[32],\"_headers\":[32],\"_rows\":[32],\"_allKeys\":[32],\"screenInfo\":[32]},null,{\"language\":[\"onLanguageChange\"]}]]],[\"pn-product-tile.cjs\",[[4,\"pn-product-tile\"]]],[\"pn-profile-modal.cjs\",[[4,\"pn-profile-modal\",{\"heading\":[1],\"continueCtaText\":[1,\"continue-cta-text\"],\"choosenCompanyText\":[1,\"choosen-company-text\"],\"toText\":[1,\"to-text\"],\"chooseCustomerNumberText\":[1,\"choose-customer-number-text\"],\"isLoading\":[32]},[[0,\"urlSelected\",\"onUrlSelected\"]]]]],[\"pn-profile-modal-customernumber.cjs\",[[4,\"pn-profile-modal-customernumber\",{\"url\":[513],\"customernumber\":[513],\"selected\":[516]}]]],[\"pn-profile-modal-profile.cjs\",[[4,\"pn-profile-modal-profile\",{\"heading\":[513],\"description\":[513],\"url\":[513],\"selected\":[1028],\"showCustomerNumbers\":[516,\"show-customer-numbers\"],\"pleaseSelectText\":[513,\"please-select-text\"],\"visible\":[1540],\"identifier\":[32]}]]],[\"pn-profile-modal-type.cjs\",[[4,\"pn-profile-modal-type\",{\"typeid\":[513],\"name\":[1025],\"selected\":[1028],\"selectedprofile\":[1025]},null,{\"selected\":[\"onSelectedChange\"]}]]],[\"pn-profile-selector.cjs\",[[4,\"pn-profile-selector\",{\"language\":[1537],\"returnUrl\":[1,\"return-url\"],\"heading\":[1],\"i18n\":[32],\"isLoading\":[32],\"numberOfProfiles\":[32]}]]],[\"pn-profile-selector-option.cjs\",[[0,\"pn-profile-selector-option\",{\"heading\":[1],\"description\":[1],\"url\":[1]}]]],[\"pn-quick-cta.cjs\",[[4,\"pn-quick-cta\",{\"heading\":[1],\"preamble\":[1]}]]],[\"pn-quote-card.cjs\",[[4,\"pn-quote-card\",{\"quote\":[1],\"name\":[1],\"occupation\":[1]}]]],[\"pn-sidenav.cjs\",[[4,\"pn-sidenav\",{\"language\":[1],\"navLabel\":[1,\"nav-label\"],\"i18n\":[32]},[[0,\"language\",\"setLanguage\"],[0,\"openSubMenuLevelChange\",\"onOpenSubMenuLevelChange\"]]]]],[\"pn-sidenav-level.cjs\",[[4,\"pn-sidenav-level\",{\"level\":[32],\"levelId\":[32],\"isOpen\":[32],\"parentName\":[32],\"parentHref\":[32],\"parentLinkId\":[32],\"alignment\":[32]},null,{\"isOpen\":[\"onOpen\"]}]]],[\"pn-sidenav-link.cjs\",[[4,\"pn-sidenav-link\",{\"name\":[1],\"href\":[1],\"target\":[1],\"linkid\":[1],\"icon\":[1],\"currentSelection\":[4,\"current-selection\"],\"levelId\":[32],\"open\":[32],\"hasChildren\":[32]}]]],[\"pn-sidenav-togglebutton.cjs\",[[4,\"pn-sidenav-togglebutton\",{\"label\":[1],\"i18n\":[32]}]]],[\"pn-spotlight.cjs\",[[4,\"pn-spotlight\",{\"heading\":[1],\"preamble\":[1],\"isDynamic\":[4,\"is-dynamic\"],\"addDynamic\":[32]}]]],[\"pn-teaser-card.cjs\",[[4,\"pn-teaser-card\",{\"text\":[1],\"heading\":[1],\"label\":[1],\"headingLevel\":[1,\"heading-level\"],\"dataCardColor\":[513,\"data-card-color\"],\"dataCardAlignment\":[513,\"data-card-alignment\"],\"hasCtaSlotContent\":[32],\"hasIllustrationSlot\":[32]}]]],[\"pn-usp-promoter.cjs\",[[4,\"pn-usp-promoter\",{\"heading\":[1],\"headingExtension\":[1,\"heading-extension\"],\"bodyText\":[1,\"body-text\"],\"backgroundGradient\":[1,\"background-gradient\"],\"fullWidth\":[4,\"full-width\"],\"rightAlign\":[4,\"right-align\"],\"hideMobileImage\":[4,\"hide-mobile-image\"]}]]],[\"pn-proxio-findprice-result.cjs\",[[0,\"pn-proxio-findprice-result\",{\"item\":[1040],\"activeweight\":[1026],\"shownitems\":[16],\"Usp1\":[1,\"usp-1\"],\"Usp2\":[1,\"usp-2\"],\"Usp3\":[1,\"usp-3\"],\"description\":[16],\"showMeasurement\":[4,\"show-measurement\"],\"showInternational\":[4,\"show-international\"],\"selectedCountrycode\":[1,\"selected-countrycode\"],\"market\":[1],\"language\":[1025],\"weightText\":[32],\"linkId\":[32],\"shopLabel\":[32],\"shopUrl\":[32],\"shopId\":[32],\"i18n\":[32]},null,{\"item\":[\"composeItems\"],\"activeweight\":[\"getPriceString\",\"getProductLink\"]}]]],[\"pn-find-service-and-price-result.cjs\",[[0,\"pn-find-service-and-price-result\",{\"item\":[1040],\"shownitems\":[16],\"weightText\":[32]},null,{\"item\":[\"composeItems\"]}]]],[\"pn-play-on-scroll.cjs\",[[0,\"pn-play-on-scroll\",{\"videoSrc\":[1,\"video-src\"],\"observerOptions\":[16],\"showOverlay\":[4,\"show-overlay\"],\"videoId\":[32],\"isManuallyPaused\":[32],\"isPaused\":[32]}]]],[\"pn-level-up-modal.cjs\",[[0,\"pn-level-up-modal\",{\"open\":[516],\"endpoint\":[1],\"instructionPhoneLineOne\":[1,\"instruction-phone-line-one\"],\"instructionPhoneLineTwo\":[1,\"instruction-phone-line-two\"],\"instructionPhoneLineThree\":[1,\"instruction-phone-line-three\"],\"headingText\":[1,\"heading-text\"],\"outdatedQRMessage\":[1,\"outdated-q-r-message\"],\"expiresInMessage\":[1,\"expires-in-message\"],\"system\":[1],\"qrAriaLabel\":[1,\"qr-aria-label\"],\"openModalToggle\":[32],\"isLoading\":[32]},null,{\"open\":[\"updateOpen\"]}]]],[\"pn-multi-row-connected-dropdown-row.cjs\",[[0,\"pn-multi-row-connected-dropdown-row\",{\"dropdownData\":[1,\"dropdown-data\"],\"languageCode\":[1,\"language-code\"],\"label\":[1],\"firstDropdownLabel\":[1,\"first-dropdown-label\"],\"secondDropdownLabel\":[1,\"second-dropdown-label\"],\"dropdownPlaceholder\":[1,\"dropdown-placeholder\"],\"addRowText\":[1,\"add-row-text\"],\"inputFieldLabel\":[1,\"input-field-label\"],\"inputFieldPlaceholder\":[1,\"input-field-placeholder\"],\"disabledDates\":[1,\"disabled-dates\"],\"dateButtonText\":[1,\"date-button-text\"],\"datePlaceholder\":[1,\"date-placeholder\"],\"dateDaysFromToday\":[2,\"date-days-from-today\"],\"allowMultipleDates\":[4,\"allow-multiple-dates\"],\"startDateLabel\":[1,\"start-date-label\"],\"endDateLabel\":[1,\"end-date-label\"],\"multiDateHelperText\":[1,\"multi-date-helper-text\"],\"generateDatesButtonText\":[1,\"generate-dates-button-text\"],\"saveDateButtonText\":[1,\"save-date-button-text\"],\"noDatesText\":[1,\"no-dates-text\"],\"index\":[2],\"predefinedValue\":[1,\"predefined-value\"],\"yearsToAddToEndDate\":[2,\"years-to-add-to-end-date\"],\"minAmount\":[2,\"min-amount\"],\"errorMessageEmpty\":[1,\"error-message-empty\"],\"errorMessageMinAmount\":[1,\"error-message-min-amount\"],\"minWarningAmount\":[2,\"min-warning-amount\"],\"warningMessageMinAmount\":[1,\"warning-message-min-amount\"],\"buttonsArray\":[32],\"firstDropdownArr\":[32],\"secondDropdownArr\":[32],\"firstDropdownClass\":[32],\"secondDropdownClass\":[32],\"firstValidDateString\":[32],\"lastValidDateString\":[32],\"firstDropdownPlaceholder\":[32],\"secondDropdownPlaceholder\":[32],\"startDateValue\":[32],\"endDateValue\":[32],\"generatedDatesArr\":[32],\"selectedButtonValue\":[32],\"inputFieldValue\":[32],\"dateValue\":[32],\"daysArr\":[32]},null,{\"predefinedValue\":[\"applyPredefinedValue\"]}]]],[\"pn-dropdown-with-multi-input-rows-row.cjs\",[[0,\"pn-dropdown-with-multi-input-rows-row\",{\"languageCode\":[1,\"language-code\"],\"firstInputPlaceholder\":[1,\"first-input-placeholder\"],\"firstInputMin\":[2,\"first-input-min\"],\"firstInputMax\":[2,\"first-input-max\"],\"firstInputWarning\":[2,\"first-input-warning\"],\"firstInputWarningText\":[1,\"first-input-warning-text\"],\"firstInputLowErrorText\":[1,\"first-input-low-error-text\"],\"firstInputHighErrorText\":[1,\"first-input-high-error-text\"],\"secondInputPlaceholder\":[1,\"second-input-placeholder\"],\"secondInputMin\":[2,\"second-input-min\"],\"secondInputMax\":[2,\"second-input-max\"],\"secondInputWarning\":[2,\"second-input-warning\"],\"secondInputWarningText\":[1,\"second-input-warning-text\"],\"secondInputLowErrorText\":[1,\"second-input-low-error-text\"],\"secondInputHighErrorText\":[1,\"second-input-high-error-text\"],\"dateLabel\":[1,\"date-label\"],\"datePlaceholder\":[1,\"date-placeholder\"],\"firstValidDate\":[1,\"first-valid-date\"],\"lastValidDate\":[1,\"last-valid-date\"],\"predefinedValue\":[1,\"predefined-value\"],\"rowIndex\":[2,\"row-index\"],\"minRowCount\":[2,\"min-row-count\"],\"disabledDates\":[1,\"disabled-dates\"],\"showFirstInputWarning\":[32],\"showFirstInputLowError\":[32],\"showFirstInputHighError\":[32],\"showSecondInputWarning\":[32],\"showSecondInputLowError\":[32],\"showSecondInputHighError\":[32],\"firstInputValue\":[32],\"secondInputValue\":[32],\"dateValue\":[32]},null,{\"predefinedValue\":[\"applyPredefinedValue\"]}]]],[\"pn-share-item.cjs\",[[4,\"pn-share-item\",{\"link\":[1],\"text\":[1]}]]],[\"pn-stats-info-data.cjs\",[[0,\"pn-stats-info-data\",{\"format\":[1],\"formatStyle\":[1,\"format-style\"],\"startValue\":[2,\"start-value\"],\"data\":[2],\"unit\":[1],\"preamble\":[1],\"duration\":[2],\"index\":[2],\"hasBeenShown\":[32],\"compId\":[32]},null,{\"hasBeenShown\":[\"watchStateHandlder\"]}]]],[\"pn-find-price-result.cjs\",[[0,\"pn-find-price-result\",{\"item\":[1040],\"shownitems\":[16],\"Usp1\":[1,\"usp-1\"],\"Usp2\":[1,\"usp-2\"],\"Usp3\":[1,\"usp-3\"],\"description\":[16],\"showMeasurement\":[4,\"show-measurement\"],\"weightText\":[32],\"linkId\":[32],\"shopLabel\":[32],\"shopUrl\":[32],\"shopId\":[32]},null,{\"item\":[\"composeItems\"]}]]],[\"pn-chat-message_2.cjs\",[[4,\"pn-chat-message\",{\"category\":[1],\"customerSegment\":[1,\"customer-segment\"],\"agentName\":[1,\"agent-name\"]}],[0,\"pn-marketweb-carousel\",{\"previousButtonLabel\":[1,\"previous-button-label\"],\"nextButtonLabel\":[1,\"next-button-label\"],\"ariaNavigationLabel\":[1,\"aria-navigation-label\"],\"source\":[1],\"slidesToShow\":[2,\"slides-to-show\"],\"showCarouselButtons\":[4,\"show-carousel-buttons\"],\"showFirstSlidePrevButton\":[4,\"show-first-slide-prev-button\"],\"showLastSlideNextButton\":[4,\"show-last-slide-next-button\"],\"slidesData\":[32],\"currentSlide\":[32],\"isDragging\":[32],\"slideWidth\":[32],\"goToSlide\":[64],\"getCurrentSlide\":[64]},null,{\"source\":[\"handleSourceChange\"]}]]],[\"pn-filter-checkbox.cjs\",[[1,\"pn-filter-checkbox\",{\"value\":[520],\"name\":[1],\"checkboxid\":[1],\"disabled\":[4],\"checked\":[4],\"indeterminate\":[1028]},[[0,\"change\",\"handlechange\"]]]]],[\"pn-mainnav-link.cjs\",[[4,\"pn-mainnav-link\",{\"name\":[1],\"href\":[1],\"target\":[1],\"linkid\":[1],\"levelId\":[32],\"open\":[32],\"hasChildren\":[32]}]]],[\"pn-qr-code-generator.cjs\",[[0,\"pn-qr-code-generator\",{\"url\":[1],\"countdownSeconds\":[2,\"countdown-seconds\"],\"outdatedMessage\":[1,\"outdated-message\"],\"expiresInMessage\":[1,\"expires-in-message\"],\"updateCodeEverySecond\":[4,\"update-code-every-second\"],\"ariaLabel\":[1,\"aria-label\"],\"remainingSeconds\":[32],\"isOutdated\":[32],\"isFullscreen\":[32]},null,{\"url\":[\"generateQRCode\"]}]]],[\"pn-site-footer_3.cjs\",[[4,\"pn-site-footer\",{\"url\":[1],\"linktitle\":[1],\"theme\":[513]}],[4,\"pn-site-footer-col\",{\"theme\":[513]}],[0,\"pn-swan\",{\"licenseNumber\":[1,\"license-number\"],\"language\":[1537],\"linkTo\":[1,\"link-to\"],\"i18n\":[32]},null,{\"language\":[\"onLanguageChange\"]}]]],[\"pn-choice-button.cjs\",[[4,\"pn-choice-button\",{\"value\":[520],\"name\":[1],\"choiceid\":[1],\"type\":[1],\"disabled\":[4],\"checked\":[4],\"indeterminate\":[1028]},[[0,\"change\",\"handlechange\"]]]]],[\"pn-marketweb-input.cjs\",[[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]}]]],[\"pn-product-tile-info_2.cjs\",[[0,\"pn-product-tile-info\",{\"label\":[1],\"text\":[1],\"icon\":[1]}],[0,\"pn-product-tile-price\",{\"label\":[1],\"amount\":[1],\"currency\":[1],\"url\":[1]}]]],[\"pn-scroll_2.cjs\",[[4,\"pn-scroll\",{\"observerOptions\":[16],\"behaviourClasses\":[1,\"behaviour-classes\"],\"transitionDurationSeconds\":[2,\"transition-duration-seconds\"],\"shouldLoop\":[4,\"should-loop\"],\"intersectFunc\":[16],\"notIntersectFunc\":[16],\"compId\":[32]}],[0,\"pn-video-overlay\",{\"language\":[1],\"isPaused\":[4,\"is-paused\"],\"showOverlay\":[4,\"show-overlay\"],\"i18n\":[32]},null,{\"language\":[\"onLanguageChange\"]}]]],[\"pn-marketweb-siteheader-login-linklist.cjs\",[[0,\"pn-marketweb-siteheader-login-linklist\",{\"heading\":[1],\"links\":[16],\"idNamespace\":[1,\"id-namespace\"],\"showUnifiedLogin\":[4,\"show-unified-login\"]}]]],[\"pn-titletag.cjs\",[[4,\"pn-titletag\",{\"icon\":[1],\"color\":[1537]}]]],[\"pn-marketweb-siteheader-login-button_4.cjs\",[[0,\"pn-marketweb-siteheader-login-links\",{\"loginDialog\":[1040],\"idNamespace\":[1,\"id-namespace\"],\"loggedin\":[516],\"username\":[1],\"showUnifiedLogin\":[4,\"show-unified-login\"]},null,{\"loginDialog\":[\"init\"]}],[0,\"pn-marketweb-siteheader-login-profileselection\",{\"loginDialog\":[1040],\"endpoint\":[1],\"loggedin\":[4],\"idNamespace\":[1,\"id-namespace\"],\"heading\":[1],\"i18n\":[16],\"currentProfile\":[1040],\"profileoptions\":[1040],\"user\":[32],\"logoutLink\":[32],\"userName\":[32],\"userEmail\":[32]}],[0,\"pn-marketweb-siteheader-unified-login\",{\"loggedIn\":[4,\"logged-in\"],\"logInLabel\":[1,\"log-in-label\"],\"useMarketwebLogin\":[4,\"use-marketweb-login\"],\"environment\":[1]}],[0,\"pn-marketweb-siteheader-login-button\",{\"label\":[1],\"useMarketwebLogin\":[4,\"use-marketweb-login\"],\"environment\":[1]}]]],[\"pn-language-selector_9.cjs\",[[0,\"pn-marketweb-siteheader-login\",{\"endpoint\":[1],\"token\":[1],\"i18n\":[16],\"siteUrl\":[1,\"site-url\"],\"emitEvents\":[4,\"emit-events\"],\"loginDialog\":[1040],\"fullname\":[1],\"loggedin\":[4],\"showProfileSelection\":[1028,\"show-profile-selection\"],\"showUnifiedLogin\":[4,\"show-unified-login\"],\"checkUserLoggedInStateInterval\":[2,\"check-user-logged-in-state-interval\"],\"environment\":[1],\"useMarketwebLogin\":[4,\"use-marketweb-login\"],\"loginLinks\":[32],\"toggleButtonText\":[32],\"username\":[32]},null,{\"i18n\":[\"init\"],\"loginDialog\":[\"init\"]}],[4,\"pn-mainnav-level\",{\"label\":[1537],\"level\":[32],\"levelId\":[32],\"isOpen\":[32],\"parentName\":[32],\"parentHref\":[32],\"parentLinkId\":[32],\"listCount\":[32],\"alignment\":[32]},null,{\"label\":[\"setState\"],\"isOpen\":[\"onOpen\"]}],[4,\"pn-language-selector\",{\"value\":[1537],\"selectedLanguageName\":[32],\"options\":[32],\"i18n\":[32]},null,{\"value\":[\"setSelectedLanguageName\",\"setTranslations\",\"onValueChange\"]}],[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-search\",{\"i18n\":[8,\"i-1-8n\"],\"showOnlyLink\":[1028,\"show-only-link\"],\"hideSearch\":[1028,\"hide-search\"],\"language\":[1537],\"siteid\":[1],\"search\":[1040],\"primary\":[4],\"icononly\":[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]}]]],[\"pn-proxio-productcard_4.cjs\",[[4,\"pn-proxio-productcard\"],[0,\"pn-proxio-productcard-description\",{\"heading\":[1],\"highlight\":[1],\"description\":[1],\"list\":[1040]}],[0,\"pn-proxio-productcard-information\",{\"label\":[1],\"information\":[16]}],[0,\"pn-proxio-productcard-pricelink\",{\"price\":[1],\"vatText\":[1,\"vat-text\"],\"link\":[1],\"linktext\":[1]}]]],[\"pn-product-card_3.cjs\",[[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],\"linkid\":[1]}],[4,\"pn-product-card\"]]]]"), options);
|
|
12
12
|
};
|
|
13
13
|
|
|
14
14
|
exports.setNonce = index.setNonce;
|
|
@@ -6,10 +6,10 @@ const index = require('./index-9a9efa1c.js');
|
|
|
6
6
|
const arrow_left = require('./arrow_left-71879efe.js');
|
|
7
7
|
const arrow_right = require('./arrow_right-66958158.js');
|
|
8
8
|
|
|
9
|
-
const icon = '<svg class="pn-icon-svg" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"><path fill="#000"
|
|
10
|
-
const
|
|
9
|
+
const icon = '<svg class="pn-icon-svg" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"><path fill="#000" d="M16.035 5.52c.718-.705 1.75-.682 2.444 0 .692.678.693 1.688.014 2.326l-.021.02-1.68 1.68a1 1 0 0 0 1.415 1.414l1.669-1.669c1.544-1.466 1.452-3.779.003-5.2s-3.727-1.487-5.244 0l-4.507 4.42c-1.548 1.465-1.457 3.781-.007 5.203a1 1 0 1 0 1.4-1.428c-.692-.68-.692-1.688-.014-2.327l.014-.014z"/><path fill="#000" d="M14.762 10.254a1 1 0 1 0-1.33 1.492c.756.675.754 1.63.014 2.263l-.015.013-4.965 4.426a2.177 2.177 0 0 1-2.897 0c-.757-.675-.755-1.63-.015-2.262l.026-.024 2.097-1.926a1 1 0 1 0-1.353-1.472l-2.085 1.915c-1.704 1.471-1.6 3.837 0 5.262a4.177 4.177 0 0 0 5.558 0l4.958-4.42c1.71-1.47 1.607-3.841.007-5.267"/></svg>';
|
|
10
|
+
const link = icon;
|
|
11
11
|
|
|
12
|
-
const pnChatMessageCss = "pn-button-dropdown .pn-button-dropdown>pn-button>.pn-button{min-height:initial}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}@media screen and (max-width: 767px){.sr-only-mobile{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}}pn-chat-message{display:flex;text-align:left}pn-chat-message.user,pn-chat-message.buttonresponse{justify-content:flex-end}pn-chat-message.system-message{text-align:center;justify-content:center}pn-chat-message .message-container{border-radius:0.8rem;display:flex;gap:1rem;max-width:
|
|
12
|
+
const pnChatMessageCss = "pn-button-dropdown .pn-button-dropdown>pn-button>.pn-button{min-height:initial}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}@media screen and (max-width: 767px){.sr-only-mobile{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}}pn-chat-message{display:flex;text-align:left}pn-chat-message.user,pn-chat-message.buttonresponse{justify-content:flex-end}pn-chat-message.system-message{text-align:center;justify-content:center}pn-chat-message .message-container{border-radius:0.8rem;display:flex;gap:1rem;max-width:85%;overflow-x:hidden}pn-chat-message .message-container .category{width:2.6rem}pn-chat-message .message-container.user{max-width:75%}pn-chat-message .message-container.bot .message,pn-chat-message .message-container.agent .message,pn-chat-message .message-container.link .message{background-color:#f3f2f2}pn-chat-message .message-container.bot .category,pn-chat-message .message-container.agent .category,pn-chat-message .message-container.link .category{align-self:flex-end}pn-chat-message .message-container.link{flex-basis:100%}pn-chat-message .message-container.link .category{align-self:center}pn-chat-message .message-container.link .content{line-height:1.5}pn-chat-message .message-container.link .message{padding:0}pn-chat-message .message-container.link .message a{color:#005d92;font-weight:500;display:flex;justify-content:space-between;padding:1rem 1.6rem;text-decoration:underline}pn-chat-message .message-container.link .business.message{background-color:#fdefee}pn-chat-message .message-container.button{flex-basis:100%;text-align:center;max-width:unset}pn-chat-message .message-container.button .message{padding:0}pn-chat-message .message-container.button .pn-button{min-width:18rem}pn-chat-message .message-container.button .pn-button:disabled{color:#969087}pn-chat-message .message-container.button .pn-button:disabled .pn-button-bg{border-color:#f3f2f2;background-color:#f3f2f2}pn-chat-message .message-container.card{border:solid 1px #d3cecb;border-radius:1.6rem;flex-basis:100%;max-width:100%}pn-chat-message .message-container.card .message{display:flex;flex-direction:column;gap:0.8rem;padding:1.6rem}pn-chat-message .message-container.card .card-heading{font-size:1.6rem;line-height:2.4rem;font-weight:700}pn-chat-message .message-container.card .cta{display:flex;flex-direction:row;gap:0.5rem}pn-chat-message .message-container.card .read-more{align-self:flex-start;margin-top:auto}pn-chat-message .message-container.user .message,pn-chat-message .message-container.buttonresponse .message{background-color:#e0f8ff;color:#2d2013;border-radius:0.8rem 0.8rem 0 0.8rem}pn-chat-message .message-container .message{border-radius:0 0.8rem 0.8rem 0.8rem;display:inline-block;flex:1 1 auto;font-size:1.4rem;line-height:2rem;padding:1rem 1.6rem;word-wrap:break-word;overflow-wrap:break-word;white-space:normal;word-break:break-word}@media (max-width: 767px){pn-chat-message .message-container .message{font-size:1.6rem}}pn-chat-message .message-container.agent .category .pn-icon{background-color:#00a0d6;color:#ffffff;text-align:center;border-radius:50%;display:inline-block;width:2.5rem;height:2.5rem;font-weight:500;font-size:1.2rem;line-height:2.6rem}pn-chat-message[data-card]{height:100%}";
|
|
13
13
|
const PnChatMessageStyle0 = pnChatMessageCss;
|
|
14
14
|
|
|
15
15
|
const PnChatMessage = class {
|
|
@@ -29,7 +29,7 @@ const PnChatMessage = class {
|
|
|
29
29
|
case 'Agent':
|
|
30
30
|
return this.agentName;
|
|
31
31
|
case 'Link':
|
|
32
|
-
return
|
|
32
|
+
return link;
|
|
33
33
|
}
|
|
34
34
|
return icon;
|
|
35
35
|
}
|
|
@@ -48,7 +48,7 @@ const PnChatMessage = class {
|
|
|
48
48
|
render() {
|
|
49
49
|
const segmentClass = this.customerSegment?.toLowerCase() || '';
|
|
50
50
|
const categoryClass = this.category?.toLowerCase() || '';
|
|
51
|
-
return (index.h(index.Host, { key: '
|
|
51
|
+
return (index.h(index.Host, { key: 'ecf8acc954eed04ff21f75c0a371f3014c3f157e', class: this.getMessageClass() }, index.h("div", { key: '116ef983feb42adec2ab216af8d91301308216a8', class: `message-container ${categoryClass}` }, this.getIcon() && (index.h("span", { key: 'aa873a62b005f0290d9c7b8f8b7194a29582d5a8', class: "category" }, index.h("pn-icon", { key: 'd0ffed7af74c0729cad09ec2a74feff48be31718', icon: this.getIcon(), color: this.blue700, "aria-hidden": "true", role: "presentation" }))), index.h("span", { key: '61c88e4e7febf6b3da957006c5409e927aad768d', class: `message ${segmentClass}` }, index.h("slot", { key: '95e479cc6a6b4940ac01275affc27cc99585b8eb' })))));
|
|
52
52
|
}
|
|
53
53
|
};
|
|
54
54
|
PnChatMessage.style = PnChatMessageStyle0;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"pn-chat-message.pn-marketweb-carousel.entry.cjs.js","mappings":";;;;;;;;AAAA,MAAM,IAAI,GAAG,w0BAAw0B,CAAC;AAC/0B,MAAM,GAAG,GAAG,IAAI;;ACDvB,MAAM,gBAAgB,GAAG,i8FAAi8F,CAAC;AAC39F,4BAAe,gBAAgB;;MCQlB,aAAa;;;;;;;IAKhB,SAAS,GAAW,uwDAAuwD,CAAC;IAC5xD,OAAO,GAAG,SAAS,CAAC;IAE5B,OAAO;QACL,IAAI,IAAI,GAAG,IAAI,CAAC;QAEhB,QAAQ,IAAI,CAAC,QAAQ;YACnB,KAAK,KAAK;gBACR,OAAO,IAAI,CAAC,SAAS,CAAC;YACxB,KAAK,OAAO;gBACV,OAAO,IAAI,CAAC,SAAS,CAAC;YAC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KAAK,EAAC,YAAY,8CAEN,IAAI,CAAC,eAAe,mBACjB,IAAI,CAAC,YAAY,KAAK,IAAI,CAAC,WAAW,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,uBAAuB,GAChF,CACR,CACP,EACA,IAAI,CAAC,UAAU,KACdH,iEACE,KAAK,EAAC,kBAAkB,iDAEV,IAAI,CAAC,YAAY,KAAK,CAAC,GAAG,OAAO,GAAG,MAAM,eAC9C,QAAQ,EAClB,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,IAE5C,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,KAAK,EAAEI,OAAK,MAChCJ,gBAAI,KAAK,EAAC,OAAO,sBAAY,SAAS,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,IAAI,CAAC,UAAU,GAAG,GAAG,EAAE,iBAAeI,OAAK,KAAK,IAAI,CAAC,YAAY,GAAO,CACxI,CAAC,CACC,CACN,CACO,CACN,CACD,EACP;KACH;;;;;;;;;;","names":["h","Host","arrow_left","arrow_right","index"],"sources":["node_modules/pn-design-assets/pn-assets/icons/faq.js","src/components/widgets/pn-chat/pn-chat-message/pn-chat-message.scss?tag=pn-chat-message","src/components/widgets/pn-chat/pn-chat-message/pn-chat-message.tsx","src/components/widgets/pn-marketweb-carousel/pn-marketweb-carousel.scss?tag=pn-marketweb-carousel","src/components/widgets/pn-marketweb-carousel/pn-marketweb-carousel.tsx"],"sourcesContent":["const icon = '<svg class=\"pn-icon-svg\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\"><path fill=\"#000\" fill-rule=\"evenodd\" d=\"M2 12C2 6.477 6.477 2 12 2s10 4.477 10 10-4.477 10-10 10c-.97 0-1.908-.138-2.797-.397-1.242-.36-2.352-.61-3.409-.464l-2.095.29A1 1 0 0 1 2.572 20.3l.289-2.095c.146-1.057-.103-2.167-.464-3.41A10 10 0 0 1 2 12m10-8a8 8 0 0 0-7.683 10.239c.364 1.252.734 2.724.525 4.24l-.108.788.787-.11c1.516-.208 2.988.162 4.24.526.71.206 1.46.317 2.239.317a8 8 0 1 0 0-16m-.034 4.5c-.445 0-.84.285-.981.707l-.037.11a1 1 0 0 1-1.897-.633l.037-.11A3.03 3.03 0 0 1 11.966 6.5h.18C13.734 6.5 15 7.807 15 9.371a2.83 2.83 0 0 1-1.553 2.523.81.81 0 0 0-.447.724V13a1 1 0 1 1-2 0v-.382c0-1.064.6-2.037 1.553-2.512A.83.83 0 0 0 13 9.37a.87.87 0 0 0-.854-.871zm.034 6a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3\" clip-rule=\"evenodd\"/></svg>';\nexport const faq = icon;\n","@import '../../../../globals/main.scss';\n$userChatMessageBackgroundColor: $blue50;\n$userChatMessageTextColor: $gray900;\n$privateChatMessageLinkColor: $blue25;\n$businessChatMessageLinkColor: $coral50;\n\n$message-padding: 1rem 1.6rem;\n\npn-chat-message {\n display: flex;\n text-align: left;\n\n &.user,\n &.buttonresponse {\n justify-content: flex-end;\n }\n\n &.system-message {\n text-align: center;\n justify-content: center;\n }\n\n .message-container {\n border-radius: 0.8rem;\n display: flex;\n gap: 1rem;\n max-width: 75%;\n overflow-x: hidden;\n\n .category {\n width: 2.6rem;\n }\n\n &.bot,\n &.agent {\n .message {\n background-color: $gray50;\n }\n }\n\n &.link {\n flex-basis: 100%;\n\n .message {\n $box-shadow-offset-x: 0px 0.6px 1.8px 0px;\n $box-shadow-offset-y: 0px 3.2px 7.2px 0px;\n\n background-color: $privateChatMessageLinkColor;\n box-shadow: $box-shadow-offset-x rgba(0, 0, 0, 0.10), $box-shadow-offset-y rgba(0, 0, 0, 0.13);\n transition: box-shadow ease-in-out 0.5s;\n\n &:hover {\n box-shadow: $box-shadow-offset-x rgba(0, 0, 0, 0.2), $box-shadow-offset-y rgba(0, 0, 0, 0.23);\n }\n\n padding: 0;\n\n a {\n color: $black;\n display: flex;\n justify-content: space-between;\n padding: $message-padding;\n text-decoration: none;\n }\n }\n }\n\n &.link .business.message {\n background-color: $businessChatMessageLinkColor;\n }\n\n &.button {\n flex-basis: 100%;\n text-align: center;\n max-width: unset;\n\n .message {\n padding: 0;\n }\n }\n\n &.card {\n border: solid 1px $gray200;\n border-radius: 1.6rem;\n flex-basis: 100%;\n max-width: 100%;\n\n .message {\n display: flex;\n flex-direction: column;\n gap: 0.8rem;\n padding: 1.6rem;\n }\n\n .card-heading {\n font-size: 1.6rem;\n line-height: 2.4rem;\n font-weight: 700;\n }\n\n .cta {\n display: flex;\n flex-direction: row;\n gap: 0.5rem;\n }\n\n .read-more {\n align-self: flex-start;\n margin-top: auto;\n }\n }\n\n &.user,\n &.buttonresponse {\n .message {\n background-color: $userChatMessageBackgroundColor;\n color: $userChatMessageTextColor;\n border-radius: 0.8rem 0.8rem 0 0.8rem;\n }\n }\n\n .message {\n border-radius: 0 0.8rem 0.8rem 0.8rem;\n display: inline-block;\n flex: 1 1 auto;\n font-size: 1.4rem;\n line-height: 2rem;\n padding: $message-padding;\n word-wrap: break-word;\n overflow-wrap: break-word;\n white-space: normal;\n word-break: break-word;\n\n @media (max-width: 767px) {\n font-size: 1.6rem;\n }\n }\n\n &.agent {\n .category .pn-icon {\n background-color: $blue400;\n color: $white;\n text-align: center;\n border-radius: 50%;\n display: inline-block;\n width: 2.5rem;\n height: 2.5rem;\n font-weight: 500;\n font-size: 1.2rem;\n line-height: 2.6rem;\n }\n }\n }\n\n &[data-card] {\n height: 100%;\n }\n}","import { Component, Host, Prop, h } from '@stencil/core';\nimport { faq, user } from 'pn-design-assets/pn-assets/icons.js';\n\nimport { AgentMessage, CustomerSegment, MessageCategory } from '../types';\n\n@Component({\n tag: 'pn-chat-message',\n styleUrl: 'pn-chat-message.scss',\n})\nexport class PnChatMessage {\n @Prop() category!: MessageCategory;\n @Prop() customerSegment!: CustomerSegment;\n @Prop() agentName: string;\n\n private robotIcon: string = '<?xml version=\"1.0\" encoding=\"UTF-8\"?> <svg id=\"Layer_1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"1.1\" viewBox=\"0 0 20 20\"> <!-- Generator: Adobe Illustrator 29.5.1, SVG Export Plug-In . SVG Version: 2.1.0 Build 141) --> <defs> <style> .st0 { fill: none; } .st1 { fill: #8eddf9; } .st2 { fill: #f3f2f2; } .st3 { fill: #0d234b; } .st4 { fill: #f06365; } .st5 { clip-path: url(#clippath); } .st6 { fill: #005d92; } </style> <clipPath id=\"clippath\"> <rect class=\"st0\" width=\"20\" height=\"20\"/> </clipPath> </defs> <g class=\"st5\"> <g> <path class=\"st2\" d=\"M10,20c5.5,0,10-4.5,10-10S15.5,0,10,0,0,4.5,0,10s4.5,10,10,10Z\"/> <path class=\"st3\" d=\"M10.5,4h-.5v2.8h.5v-2.8Z\"/> <path class=\"st3\" d=\"M10.2,4.3c.5,0,1-.4,1-1s-.4-1-1-1-1,.4-1,1,.4,1,1,1Z\"/> <path class=\"st3\" d=\"M9,5h2.4c1,0,1.8.8,1.8,1.8h-6c0-1,.8-1.8,1.8-1.8Z\"/> <path class=\"st4\" d=\"M17,10.3v-.8c0-1.9-1.5-3.5-3.5-3.5h-7.1c-1.9,0-3.5,1.6-3.5,3.5v.8h14.1Z\"/> <path d=\"M13.9,16.1l-3.7.4v-.4s3.6-.4,3.6-.4c.8,0,1.6-.4,2.1-1s.7-2.9.7-3.7h.4c0,.9-.2,3.3-.8,3.9-.6.7-1.4,1.1-2.3,1.2Z\"/> <path class=\"st4\" d=\"M16.3,12.1v-3.6h.2c1,0,1.8.8,1.8,1.8s-.8,1.8-1.8,1.8h-.2Z\"/> <path class=\"st4\" d=\"M3.7,8.5v3.6h-.2c-1,0-1.8-.8-1.8-1.8s.8-1.8,1.8-1.8h.2Z\"/> <path class=\"st3\" d=\"M13.1,6.6h-6.2c-1.8,0-3.3,1.5-3.3,3.3v2.1c0,1.8,1.5,3.3,3.3,3.3h6.2c1.8,0,3.3-1.5,3.3-3.3v-2.1c0-1.8-1.5-3.3-3.3-3.3Z\"/> <path class=\"st6\" d=\"M12.8,7.8h-5.6c-1.4,0-2.5,1.1-2.5,2.5v1.4c0,1.4,1.1,2.4,2.5,2.4h5.6c1.4,0,2.4-1.1,2.4-2.4v-1.4c0-1.4-1.1-2.5-2.4-2.5Z\"/> <path class=\"st1\" d=\"M12.3,11.9c.5,0,1-.4,1-1s-.4-1-1-1-1,.4-1,1,.4,1,1,1Z\"/> <path class=\"st1\" d=\"M7.7,11.9c.5,0,1-.4,1-1s-.4-1-1-1-1,.4-1,1,.4,1,1,1Z\"/> <path d=\"M11,15.8h-1.5c-.3,0-.5.2-.5.5h0c0,.3.2.5.5.5h1.5c.3,0,.5-.2.5-.5h0c0-.3-.2-.5-.5-.5Z\"/> </g> </g> </svg>';\n private blue700 = 'blue700';\n\n getIcon() {\n let icon = null;\n \n switch (this.category) {\n case 'Bot':\n return this.robotIcon;\n case 'Agent':\n return this.agentName;\n case 'Link':\n return faq;\n }\n\n return icon;\n }\n\n getMessageClass(): string {\n switch (this.category) {\n case 'ButtonResponse':\n return 'buttonresponse';\n case 'User':\n return 'user';\n case 'System':\n return 'system-message';\n default: \n return undefined;\n }\n }\n\n render() {\n const segmentClass = this.customerSegment?.toLowerCase() || '';\n const categoryClass = this.category?.toLowerCase() || '';\n return (\n <Host class={ this.getMessageClass() }>\n <div class={`message-container ${categoryClass}`}>\n {this.getIcon() && (\n <span class=\"category\">\n <pn-icon icon={this.getIcon()} color={this.blue700} aria-hidden=\"true\" role=\"presentation\"></pn-icon>\n </span>\n )}\n <span class={`message ${segmentClass}`}>\n <slot></slot>\n </span>\n </div>\n </Host>\n );\n }\n}\n","@import '../../../globals/main.scss';\n\npn-marketweb-carousel {\n display: inline-block;\n\n .pn-marketweb-carousel {\n .slider-wrapper {\n margin: 1rem;\n overflow: hidden;\n position: relative;\n touch-action: pan-y pinch-zoom;\n }\n\n .slides-container {\n display: flex;\n width: 100%;\n list-style: none;\n margin: 0;\n padding: 0;\n overflow: hidden;\n position: relative;\n touch-action: none;\n transition: transform 0.5s ease-in-out;\n user-select: none;\n\n &[data-partial='false'] .slide {\n width: 100%;\n }\n }\n\n [data-slide] {\n flex: 0 0 auto;\n transition: transform 0.5s ease-in-out;\n }\n\n .nav-button {\n cursor: pointer;\n display: flex;\n position: absolute;\n top: 0;\n bottom: 0;\n transform: translateY(-50%);\n height: 2rem;\n margin: auto;\n padding: 0;\n opacity: 0.85;\n transition: opacity 200ms;\n z-index: 1;\n\n &.invisible {\n opacity: 0;\n }\n\n &[data-show='false'] {\n display: none;\n }\n\n &:hover,\n &:focus {\n opacity: 1;\n }\n }\n\n [data-nav-button-prev] {\n left: 1.75rem;\n border-radius: 0 2rem 2rem 0;\n }\n\n [data-nav-button-next] {\n right: 1.75rem;\n border-radius: 2rem 0 0 2rem;\n }\n }\n\n @media (prefers-reduced-motion: reduce) {\n .slides-container {\n transition: none;\n }\n\n [data-slide] {\n transition: none;\n }\n }\n}\n","import { Component, Host, Prop, Element, State, h, Watch, Method } from '@stencil/core';\nimport { arrow_left, arrow_right } from 'pn-design-assets/pn-assets/icons.js';\n\ninterface CarouselData {\n slides: string[];\n}\n\ninterface EventListenerConfig {\n element: HTMLElement;\n event: string;\n handler: EventListener;\n}\n\n@Component({\n tag: 'pn-marketweb-carousel',\n styleUrl: 'pn-marketweb-carousel.scss',\n})\nexport class PnMarketwebCarousel {\n private static readonly DEFAULTS = {\n SWIPE_THRESHOLD_PX: 50,\n ANIMATION_DURATION_MS: 300,\n OVERSCROLL_LIMIT_PERCENT: 30,\n } as const;\n\n @Element() private hostElement!: HTMLElement;\n\n @Prop() previousButtonLabel!: string;\n @Prop() nextButtonLabel!: string;\n @Prop() ariaNavigationLabel!: string;\n @Prop() source!: string;\n @Prop() slidesToShow: number = 1;\n @Prop() showCarouselButtons: boolean = true;\n @Prop() showFirstSlidePrevButton: boolean = false;\n @Prop() showLastSlideNextButton: boolean = false;\n\n @State() private slidesData: string[] = [];\n @State() private currentSlide: number = 0;\n @State() private isDragging: boolean = false;\n @State() private slideWidth: number = 0;\n\n private slides: NodeListOf<HTMLElement> | null = null;\n private slidesContainer: HTMLElement | null = null;\n private totalSlides: number = 0;\n private prevButton: HTMLElement | null = null;\n private nextButton: HTMLElement | null = null;\n private dragStartX: number = 0;\n private listeners: EventListenerConfig[] = [];\n private memoizedSlideWidth: number | null = null;\n\n componentWillLoad(): void {\n this.setInitialValues();\n }\n\n componentDidLoad(): void {\n this.setupCarousel();\n window.addEventListener('resize', this.handleResize);\n }\n\n disconnectedCallback(): void {\n this.cleanup();\n window.removeEventListener('resize', this.handleResize);\n }\n\n @Method()\n async goToSlide(index: number): Promise<void> {\n if (index >= 0 && index < this.totalSlides) {\n this.currentSlide = index;\n this.moveSlides();\n this.updateNavButtons();\n }\n }\n\n @Method()\n async getCurrentSlide(): Promise<number> {\n return this.currentSlide;\n }\n\n @Watch('source')\n handleSourceChange(newValue: string): void {\n if (newValue) {\n this.setInitialValues();\n }\n }\n\n private setInitialValues(): void {\n if (!this.source?.trim()) {\n console.warn('No source provided for carousel');\n return;\n }\n\n try {\n const parsedData = JSON.parse(this.source) as CarouselData;\n\n if (!parsedData?.slides) {\n throw new Error('Invalid slides data structure');\n }\n\n if (Array.isArray(parsedData.slides)) {\n this.slidesData = parsedData.slides;\n this.showCarouselButtons = this.slidesData.length > 1;\n } else {\n throw new Error('Slides data is not an array');\n }\n } catch (error) {\n console.error('Error parsing carousel source:', error instanceof Error ? error.message : 'Unknown error');\n this.slidesData = [];\n }\n }\n\n private setupCarousel(): void {\n this.initializeElements();\n this.attachEventListeners();\n this.updateNavButtons();\n }\n\n private initializeElements(): void {\n this.slidesContainer = this.hostElement.querySelector<HTMLElement>('[data-slides-container]');\n this.slides = this.hostElement.querySelectorAll<HTMLElement>('[data-slide]');\n this.totalSlides = this.slides?.length ?? 0;\n\n if (this.showCarouselButtons) {\n this.prevButton = this.hostElement.querySelector<HTMLElement>('[data-nav-button-prev]');\n this.nextButton = this.hostElement.querySelector<HTMLElement>('[data-nav-button-next]');\n }\n\n this.slideWidth = 100 / this.slidesToShow;\n }\n\n private attachEventListeners(): void {\n if (!this.slidesContainer) return;\n\n const addListener = (element: HTMLElement, event: string, handler: EventListener, options?: AddEventListenerOptions) => {\n element.addEventListener(event, handler, options);\n this.listeners.push({ element, event, handler });\n };\n\n // Touch events\n addListener(this.slidesContainer, 'touchstart', this.handleTouchStart as EventListener, { passive: true });\n addListener(this.slidesContainer, 'touchmove', this.handleTouchMove as EventListener, { passive: false });\n addListener(this.slidesContainer, 'touchend', this.handleTouchEnd as EventListener, { passive: true });\n\n // Mouse events\n addListener(this.slidesContainer, 'mousedown', this.handleTouchStart as EventListener);\n addListener(this.slidesContainer, 'mousemove', this.handleTouchMove as EventListener);\n addListener(this.slidesContainer, 'mouseup', this.handleTouchEnd as EventListener);\n addListener(this.slidesContainer, 'mouseleave', this.handleTouchEnd as EventListener);\n\n if (this.showCarouselButtons) {\n this.nextButton && addListener(this.nextButton, 'click', this.handleNextClick);\n this.prevButton && addListener(this.prevButton, 'click', this.handlePrevClick);\n }\n }\n\n private cleanup(): void {\n this.listeners.forEach(({ element, event, handler }) => {\n element.removeEventListener(event, handler);\n });\n this.listeners = [];\n }\n\n private handleResize = (): void => {\n this.memoizedSlideWidth = null;\n };\n\n private getSlideWidth(): number {\n if (!this.memoizedSlideWidth && this.slidesContainer) {\n this.memoizedSlideWidth = this.slidesContainer.offsetWidth;\n }\n return this.memoizedSlideWidth ?? 0;\n }\n\n private handleNextClick = (e: Event): void => {\n e.stopPropagation();\n this.nextSlide();\n };\n\n private handlePrevClick = (e: Event): void => {\n e.stopPropagation();\n this.prevSlide();\n };\n\n private handleTouchStart = (e: TouchEvent | MouseEvent): void => {\n if ((e.target as HTMLElement).classList.contains('nav-button')) return;\n\n this.isDragging = true;\n this.dragStartX = 'touches' in e ? e.touches[0].clientX : e.clientX;\n };\n\n private handleTouchMove = (e: TouchEvent | MouseEvent): void => {\n if (!this.isDragging) return;\n\n if ('touches' in e) {\n e.preventDefault();\n }\n\n const currentPosition = 'touches' in e ? e.touches[0].clientX : e.clientX;\n const diff = currentPosition - this.dragStartX;\n const percentMove = (diff / this.getSlideWidth()) * 100;\n\n this.moveSlides(percentMove);\n };\n\n private handleTouchEnd = (e: TouchEvent | MouseEvent): void => {\n if (!this.isDragging) return;\n\n this.isDragging = false;\n\n const currentPosition = 'changedTouches' in e ? e.changedTouches[0].clientX : e.clientX;\n const diff = currentPosition - this.dragStartX;\n\n if (Math.abs(diff) > PnMarketwebCarousel.DEFAULTS.SWIPE_THRESHOLD_PX) {\n if (diff > 0 && this.currentSlide > 0) {\n this.currentSlide--;\n } else if (diff < 0 && this.currentSlide < this.totalSlides - 1) {\n this.currentSlide++;\n }\n }\n\n this.moveSlides();\n this.updateNavButtons();\n };\n\n private calculateProportionalTranslation(): number {\n // Calculate proportional translation based on slidesToShow\n return -200 + (this.slidesToShow - 1) * 100;\n }\n\n private moveSlides(extraTranslate: number = 0): void {\n if (!this.slides || !this.slidesContainer) {\n return;\n }\n\n try {\n this.slides.forEach((slide, index) => {\n if (slide) {\n // Set each slide's width\n slide.style.width = `${this.slideWidth}%`;\n\n let translation = 0;\n\n if (this.slidesToShow === 1) {\n // Full slide view\n translation = -100 * this.currentSlide;\n } else {\n // Partial slide view\n if (this.totalSlides === 2) {\n // Special case for 2 slides\n if (this.currentSlide === 1) {\n translation = -50; // Both slides move by -50%\n }\n } else {\n // 3 or more slides\n if (this.currentSlide === 1) {\n // Second slide showing - all slides move -100%\n translation = -100;\n } else if (this.currentSlide === 2) {\n // Third slide showing\n if (index === 0) {\n translation = -100; // First slide stays at -100%\n } else {\n // Calculate proportional translation\n translation = this.calculateProportionalTranslation();\n }\n }\n }\n }\n\n // Add any extra translation from dragging\n translation += extraTranslate;\n\n slide.style.transform = `translateX(${translation}%)`;\n slide.style.position = 'relative';\n\n // Update visibility for screen readers\n let isVisible;\n\n if (this.slidesToShow === 1) {\n isVisible = index === this.currentSlide;\n } else {\n isVisible =\n this.currentSlide === 0 || // First slide showing\n this.totalSlides === 2 || // Two slides - both visible\n (this.currentSlide === 1 && translation === -100) || // Second slide showing\n (this.currentSlide === 2 &&\n ((index === 0 && translation === -100) || // First slide still visible\n index > 0)); // Second and third slides visible\n }\n\n slide.setAttribute('aria-hidden', (!isVisible).toString());\n }\n });\n } catch (error) {\n console.error('Error moving slides:', error);\n }\n }\n\n private updateNavButtons(): void {\n if (!this.showCarouselButtons) return;\n\n const isFirstSlide = this.currentSlide === 0;\n const isLastSlide = this.currentSlide === this.totalSlides - 1;\n\n if (this.prevButton) {\n this.prevButton.classList.toggle('invisible', isFirstSlide && !this.showFirstSlidePrevButton);\n this.prevButton.dataset.show = isFirstSlide ? `${this.showFirstSlidePrevButton}` : 'true';\n }\n\n if (this.nextButton) {\n this.nextButton.classList.toggle('invisible', isLastSlide && !this.showLastSlideNextButton);\n this.nextButton.dataset.show = isLastSlide ? `${this.showLastSlideNextButton}` : 'true';\n }\n }\n\n private nextSlide(): void {\n if (this.currentSlide >= this.totalSlides - 1) {\n this.currentSlide = 0;\n } else {\n this.currentSlide++;\n }\n this.moveSlides();\n this.updateNavButtons();\n }\n\n private prevSlide(): void {\n if (this.currentSlide <= 0) {\n this.currentSlide = this.totalSlides - 1;\n } else {\n this.currentSlide--;\n }\n this.moveSlides();\n this.updateNavButtons();\n }\n\n render() {\n return (\n <Host>\n <div class=\"pn-marketweb-carousel\">\n <section class=\"slider-wrapper\">\n {this.showCarouselButtons && (\n <div class=\"nav-buttons\" role=\"group\" aria-label={this.ariaNavigationLabel}>\n <pn-button\n appearance=\"light\"\n icon={arrow_left}\n icon-only=\"true\"\n tooltip={this.previousButtonLabel}\n class={`nav-button ${this.currentSlide === 0 && !this.showFirstSlidePrevButton ? 'invisible' : ''}`}\n data-nav-button-prev\n area-label={this.previousButtonLabel}\n aria-disabled={this.currentSlide === 0 && !this.showFirstSlidePrevButton}>\n </pn-button>\n <pn-button\n appearance=\"light\"\n icon={arrow_right}\n icon-only=\"true\"\n tooltip={this.nextButtonLabel}\n class=\"nav-button\"\n data-nav-button-next\n area-label={this.nextButtonLabel}\n aria-disabled={this.currentSlide === this.totalSlides - 1 && !this.showLastSlideNextButton}>\n </pn-button>\n </div>\n )}\n {this.slidesData && (\n <ul\n class=\"slides-container\"\n data-slides-container\n data-partial={this.slidesToShow === 1 ? 'false' : 'true'}\n aria-live=\"polite\"\n style={{ display: 'flex', transform: 'none' }}\n >\n {this.slidesData.map((slide, index) => (\n <li class=\"slide\" data-slide innerHTML={slide} style={{ width: this.slideWidth + '%' }} aria-hidden={index !== this.currentSlide}></li>\n ))}\n </ul>\n )}\n </section>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
1
|
+
{"file":"pn-chat-message.pn-marketweb-carousel.entry.cjs.js","mappings":";;;;;;;;AAAA,MAAM,IAAI,GAAG,8tBAA8tB,CAAC;AACruB,MAAM,IAAI,GAAG,IAAI;;ACDxB,MAAM,gBAAgB,GAAG,00GAA00G,CAAC;AACp2G,4BAAe,gBAAgB;;MCQlB,aAAa;;;;;;;IAKhB,SAAS,GAAW,uwDAAuwD,CAAC;IAC5xD,OAAO,GAAG,SAAS,CAAC;IAE5B,OAAO;QACL,IAAI,IAAI,GAAG,IAAI,CAAC;QAEhB,QAAQ,IAAI,CAAC,QAAQ;YACnB,KAAK,KAAK;gBACR,OAAO,IAAI,CAAC,SAAS,CAAC;YACxB,KAAK,OAAO;gBACV,OAAO,IAAI,CAAC,SAAS,CAAC;YACxB,KAAK,MAAM;gBACT,OAAO,IAAI,CAAC;SACf;QAED,OAAO,IAAI,CAAC;KACb;IAED,eAAe;QACb,QAAQ,IAAI,CAAC,QAAQ;YACnB,KAAK,gBAAgB;gBACnB,OAAO,gBAAgB,CAAC;YAC1B,KAAK,MAAM;gBACT,OAAO,MAAM,CAAC;YAChB,KAAK,QAAQ;gBACX,OAAO,gBAAgB,CAAC;YAC1B;gBACE,OAAO,S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C9C,QAAQ,EAClB,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,IAE5C,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,KAAK,EAAEI,OAAK,MAChCJ,gBAAI,KAAK,EAAC,OAAO,sBAAY,SAAS,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,IAAI,CAAC,UAAU,GAAG,GAAG,EAAE,iBAAeI,OAAK,KAAK,IAAI,CAAC,YAAY,GAAO,CACxI,CAAC,CACC,CACN,CACO,CACN,CACD,EACP;KACH;;;;;;;;;;","names":["h","Host","arrow_left","arrow_right","index"],"sources":["node_modules/pn-design-assets/pn-assets/icons/link.js","src/components/widgets/pn-chat/pn-chat-message/pn-chat-message.scss?tag=pn-chat-message","src/components/widgets/pn-chat/pn-chat-message/pn-chat-message.tsx","src/components/widgets/pn-marketweb-carousel/pn-marketweb-carousel.scss?tag=pn-marketweb-carousel","src/components/widgets/pn-marketweb-carousel/pn-marketweb-carousel.tsx"],"sourcesContent":["const icon = '<svg class=\"pn-icon-svg\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\"><path fill=\"#000\" d=\"M16.035 5.52c.718-.705 1.75-.682 2.444 0 .692.678.693 1.688.014 2.326l-.021.02-1.68 1.68a1 1 0 0 0 1.415 1.414l1.669-1.669c1.544-1.466 1.452-3.779.003-5.2s-3.727-1.487-5.244 0l-4.507 4.42c-1.548 1.465-1.457 3.781-.007 5.203a1 1 0 1 0 1.4-1.428c-.692-.68-.692-1.688-.014-2.327l.014-.014z\"/><path fill=\"#000\" d=\"M14.762 10.254a1 1 0 1 0-1.33 1.492c.756.675.754 1.63.014 2.263l-.015.013-4.965 4.426a2.177 2.177 0 0 1-2.897 0c-.757-.675-.755-1.63-.015-2.262l.026-.024 2.097-1.926a1 1 0 1 0-1.353-1.472l-2.085 1.915c-1.704 1.471-1.6 3.837 0 5.262a4.177 4.177 0 0 0 5.558 0l4.958-4.42c1.71-1.47 1.607-3.841.007-5.267\"/></svg>';\nexport const link = icon;\n","@import '../../../../globals/main.scss';\n$userChatMessageBackgroundColor: $blue50;\n$userChatMessageTextColor: $gray900;\n$privateChatMessageLinkColor: $blue25;\n$businessChatMessageLinkColor: $coral50;\n\n$message-padding: 1rem 1.6rem;\n\npn-chat-message {\n display: flex;\n text-align: left;\n\n &.user,\n &.buttonresponse {\n justify-content: flex-end;\n }\n\n &.system-message {\n text-align: center;\n justify-content: center;\n }\n\n .message-container {\n border-radius: 0.8rem;\n display: flex;\n gap: 1rem;\n max-width: 85%;\n overflow-x: hidden;\n\n .category {\n width: 2.6rem;\n }\n\n &.user {\n max-width: 75%;\n }\n\n &.bot,\n &.agent,\n &.link {\n .message {\n background-color: $gray50;\n }\n\n .category {\n align-self: flex-end;\n }\n }\n \n &.link {\n .category {\n align-self: center;\n }\n\n flex-basis: 100%;\n .content {\n line-height: 1.5;\n }\n\n .message {\n padding: 0;\n\n a {\n color: $blue700;\n font-weight: 500;\n display: flex;\n justify-content: space-between;\n padding: $message-padding;\n text-decoration: underline;\n }\n }\n }\n\n &.link .business.message {\n background-color: $businessChatMessageLinkColor;\n }\n\n &.button {\n flex-basis: 100%;\n text-align: center;\n max-width: unset;\n\n .message {\n padding: 0;\n }\n\n .pn-button {\n min-width: 18rem;\n\n &:disabled {\n color: $gray400;\n \n .pn-button-bg {\n border-color: $gray50;\n background-color: $gray50;\n }\n }\n }\n }\n\n &.card {\n border: solid 1px $gray200;\n border-radius: 1.6rem;\n flex-basis: 100%;\n max-width: 100%;\n\n .message {\n display: flex;\n flex-direction: column;\n gap: 0.8rem;\n padding: 1.6rem;\n }\n\n .card-heading {\n font-size: 1.6rem;\n line-height: 2.4rem;\n font-weight: 700;\n }\n\n .cta {\n display: flex;\n flex-direction: row;\n gap: 0.5rem;\n }\n\n .read-more {\n align-self: flex-start;\n margin-top: auto;\n }\n }\n\n &.user,\n &.buttonresponse {\n .message {\n background-color: $userChatMessageBackgroundColor;\n color: $userChatMessageTextColor;\n border-radius: 0.8rem 0.8rem 0 0.8rem;\n }\n }\n\n .message {\n border-radius: 0 0.8rem 0.8rem 0.8rem;\n display: inline-block;\n flex: 1 1 auto;\n font-size: 1.4rem;\n line-height: 2rem;\n padding: $message-padding;\n word-wrap: break-word;\n overflow-wrap: break-word;\n white-space: normal;\n word-break: break-word;\n\n @media (max-width: 767px) {\n font-size: 1.6rem;\n }\n }\n\n &.agent {\n .category .pn-icon {\n background-color: $blue400;\n color: $white;\n text-align: center;\n border-radius: 50%;\n display: inline-block;\n width: 2.5rem;\n height: 2.5rem;\n font-weight: 500;\n font-size: 1.2rem;\n line-height: 2.6rem;\n }\n }\n }\n\n &[data-card] {\n height: 100%;\n }\n}","import { Component, Host, Prop, h } from '@stencil/core';\nimport { link, user } from 'pn-design-assets/pn-assets/icons.js';\n\nimport { AgentMessage, CustomerSegment, MessageCategory } from '../types';\n\n@Component({\n tag: 'pn-chat-message',\n styleUrl: 'pn-chat-message.scss',\n})\nexport class PnChatMessage {\n @Prop() category!: MessageCategory;\n @Prop() customerSegment!: CustomerSegment;\n @Prop() agentName: string;\n\n private robotIcon: string = '<?xml version=\"1.0\" encoding=\"UTF-8\"?> <svg id=\"Layer_1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"1.1\" viewBox=\"0 0 20 20\"> <!-- Generator: Adobe Illustrator 29.5.1, SVG Export Plug-In . SVG Version: 2.1.0 Build 141) --> <defs> <style> .st0 { fill: none; } .st1 { fill: #8eddf9; } .st2 { fill: #f3f2f2; } .st3 { fill: #0d234b; } .st4 { fill: #f06365; } .st5 { clip-path: url(#clippath); } .st6 { fill: #005d92; } </style> <clipPath id=\"clippath\"> <rect class=\"st0\" width=\"20\" height=\"20\"/> </clipPath> </defs> <g class=\"st5\"> <g> <path class=\"st2\" d=\"M10,20c5.5,0,10-4.5,10-10S15.5,0,10,0,0,4.5,0,10s4.5,10,10,10Z\"/> <path class=\"st3\" d=\"M10.5,4h-.5v2.8h.5v-2.8Z\"/> <path class=\"st3\" d=\"M10.2,4.3c.5,0,1-.4,1-1s-.4-1-1-1-1,.4-1,1,.4,1,1,1Z\"/> <path class=\"st3\" d=\"M9,5h2.4c1,0,1.8.8,1.8,1.8h-6c0-1,.8-1.8,1.8-1.8Z\"/> <path class=\"st4\" d=\"M17,10.3v-.8c0-1.9-1.5-3.5-3.5-3.5h-7.1c-1.9,0-3.5,1.6-3.5,3.5v.8h14.1Z\"/> <path d=\"M13.9,16.1l-3.7.4v-.4s3.6-.4,3.6-.4c.8,0,1.6-.4,2.1-1s.7-2.9.7-3.7h.4c0,.9-.2,3.3-.8,3.9-.6.7-1.4,1.1-2.3,1.2Z\"/> <path class=\"st4\" d=\"M16.3,12.1v-3.6h.2c1,0,1.8.8,1.8,1.8s-.8,1.8-1.8,1.8h-.2Z\"/> <path class=\"st4\" d=\"M3.7,8.5v3.6h-.2c-1,0-1.8-.8-1.8-1.8s.8-1.8,1.8-1.8h.2Z\"/> <path class=\"st3\" d=\"M13.1,6.6h-6.2c-1.8,0-3.3,1.5-3.3,3.3v2.1c0,1.8,1.5,3.3,3.3,3.3h6.2c1.8,0,3.3-1.5,3.3-3.3v-2.1c0-1.8-1.5-3.3-3.3-3.3Z\"/> <path class=\"st6\" d=\"M12.8,7.8h-5.6c-1.4,0-2.5,1.1-2.5,2.5v1.4c0,1.4,1.1,2.4,2.5,2.4h5.6c1.4,0,2.4-1.1,2.4-2.4v-1.4c0-1.4-1.1-2.5-2.4-2.5Z\"/> <path class=\"st1\" d=\"M12.3,11.9c.5,0,1-.4,1-1s-.4-1-1-1-1,.4-1,1,.4,1,1,1Z\"/> <path class=\"st1\" d=\"M7.7,11.9c.5,0,1-.4,1-1s-.4-1-1-1-1,.4-1,1,.4,1,1,1Z\"/> <path d=\"M11,15.8h-1.5c-.3,0-.5.2-.5.5h0c0,.3.2.5.5.5h1.5c.3,0,.5-.2.5-.5h0c0-.3-.2-.5-.5-.5Z\"/> </g> </g> </svg>';\n private blue700 = 'blue700';\n\n getIcon() {\n let icon = null;\n \n switch (this.category) {\n case 'Bot':\n return this.robotIcon;\n case 'Agent':\n return this.agentName;\n case 'Link':\n return link;\n }\n\n return icon;\n }\n\n getMessageClass(): string {\n switch (this.category) {\n case 'ButtonResponse':\n return 'buttonresponse';\n case 'User':\n return 'user';\n case 'System':\n return 'system-message';\n default: \n return undefined;\n }\n }\n\n render() {\n const segmentClass = this.customerSegment?.toLowerCase() || '';\n const categoryClass = this.category?.toLowerCase() || '';\n return (\n <Host class={ this.getMessageClass() }>\n <div class={`message-container ${categoryClass}`}>\n {this.getIcon() && (\n <span class=\"category\">\n <pn-icon icon={this.getIcon()} color={this.blue700} aria-hidden=\"true\" role=\"presentation\"></pn-icon>\n </span>\n )}\n <span class={`message ${segmentClass}`}>\n <slot></slot>\n </span>\n </div>\n </Host>\n );\n }\n}\n","@import '../../../globals/main.scss';\n\npn-marketweb-carousel {\n display: inline-block;\n\n .pn-marketweb-carousel {\n .slider-wrapper {\n margin: 1rem;\n overflow: hidden;\n position: relative;\n touch-action: pan-y pinch-zoom;\n }\n\n .slides-container {\n display: flex;\n width: 100%;\n list-style: none;\n margin: 0;\n padding: 0;\n overflow: hidden;\n position: relative;\n touch-action: none;\n transition: transform 0.5s ease-in-out;\n user-select: none;\n\n &[data-partial='false'] .slide {\n width: 100%;\n }\n }\n\n [data-slide] {\n flex: 0 0 auto;\n transition: transform 0.5s ease-in-out;\n }\n\n .nav-button {\n cursor: pointer;\n display: flex;\n position: absolute;\n top: 0;\n bottom: 0;\n transform: translateY(-50%);\n height: 2rem;\n margin: auto;\n padding: 0;\n opacity: 0.85;\n transition: opacity 200ms;\n z-index: 1;\n\n &.invisible {\n opacity: 0;\n }\n\n &[data-show='false'] {\n display: none;\n }\n\n &:hover,\n &:focus {\n opacity: 1;\n }\n }\n\n [data-nav-button-prev] {\n left: 1.75rem;\n border-radius: 0 2rem 2rem 0;\n }\n\n [data-nav-button-next] {\n right: 1.75rem;\n border-radius: 2rem 0 0 2rem;\n }\n }\n\n @media (prefers-reduced-motion: reduce) {\n .slides-container {\n transition: none;\n }\n\n [data-slide] {\n transition: none;\n }\n }\n}\n","import { Component, Host, Prop, Element, State, h, Watch, Method } from '@stencil/core';\nimport { arrow_left, arrow_right } from 'pn-design-assets/pn-assets/icons.js';\n\ninterface CarouselData {\n slides: string[];\n}\n\ninterface EventListenerConfig {\n element: HTMLElement;\n event: string;\n handler: EventListener;\n}\n\n@Component({\n tag: 'pn-marketweb-carousel',\n styleUrl: 'pn-marketweb-carousel.scss',\n})\nexport class PnMarketwebCarousel {\n private static readonly DEFAULTS = {\n SWIPE_THRESHOLD_PX: 50,\n ANIMATION_DURATION_MS: 300,\n OVERSCROLL_LIMIT_PERCENT: 30,\n } as const;\n\n @Element() private hostElement!: HTMLElement;\n\n @Prop() previousButtonLabel!: string;\n @Prop() nextButtonLabel!: string;\n @Prop() ariaNavigationLabel!: string;\n @Prop() source!: string;\n @Prop() slidesToShow: number = 1;\n @Prop() showCarouselButtons: boolean = true;\n @Prop() showFirstSlidePrevButton: boolean = false;\n @Prop() showLastSlideNextButton: boolean = false;\n\n @State() private slidesData: string[] = [];\n @State() private currentSlide: number = 0;\n @State() private isDragging: boolean = false;\n @State() private slideWidth: number = 0;\n\n private slides: NodeListOf<HTMLElement> | null = null;\n private slidesContainer: HTMLElement | null = null;\n private totalSlides: number = 0;\n private prevButton: HTMLElement | null = null;\n private nextButton: HTMLElement | null = null;\n private dragStartX: number = 0;\n private listeners: EventListenerConfig[] = [];\n private memoizedSlideWidth: number | null = null;\n\n componentWillLoad(): void {\n this.setInitialValues();\n }\n\n componentDidLoad(): void {\n this.setupCarousel();\n window.addEventListener('resize', this.handleResize);\n }\n\n disconnectedCallback(): void {\n this.cleanup();\n window.removeEventListener('resize', this.handleResize);\n }\n\n @Method()\n async goToSlide(index: number): Promise<void> {\n if (index >= 0 && index < this.totalSlides) {\n this.currentSlide = index;\n this.moveSlides();\n this.updateNavButtons();\n }\n }\n\n @Method()\n async getCurrentSlide(): Promise<number> {\n return this.currentSlide;\n }\n\n @Watch('source')\n handleSourceChange(newValue: string): void {\n if (newValue) {\n this.setInitialValues();\n }\n }\n\n private setInitialValues(): void {\n if (!this.source?.trim()) {\n console.warn('No source provided for carousel');\n return;\n }\n\n try {\n const parsedData = JSON.parse(this.source) as CarouselData;\n\n if (!parsedData?.slides) {\n throw new Error('Invalid slides data structure');\n }\n\n if (Array.isArray(parsedData.slides)) {\n this.slidesData = parsedData.slides;\n this.showCarouselButtons = this.slidesData.length > 1;\n } else {\n throw new Error('Slides data is not an array');\n }\n } catch (error) {\n console.error('Error parsing carousel source:', error instanceof Error ? error.message : 'Unknown error');\n this.slidesData = [];\n }\n }\n\n private setupCarousel(): void {\n this.initializeElements();\n this.attachEventListeners();\n this.updateNavButtons();\n }\n\n private initializeElements(): void {\n this.slidesContainer = this.hostElement.querySelector<HTMLElement>('[data-slides-container]');\n this.slides = this.hostElement.querySelectorAll<HTMLElement>('[data-slide]');\n this.totalSlides = this.slides?.length ?? 0;\n\n if (this.showCarouselButtons) {\n this.prevButton = this.hostElement.querySelector<HTMLElement>('[data-nav-button-prev]');\n this.nextButton = this.hostElement.querySelector<HTMLElement>('[data-nav-button-next]');\n }\n\n this.slideWidth = 100 / this.slidesToShow;\n }\n\n private attachEventListeners(): void {\n if (!this.slidesContainer) return;\n\n const addListener = (element: HTMLElement, event: string, handler: EventListener, options?: AddEventListenerOptions) => {\n element.addEventListener(event, handler, options);\n this.listeners.push({ element, event, handler });\n };\n\n // Touch events\n addListener(this.slidesContainer, 'touchstart', this.handleTouchStart as EventListener, { passive: true });\n addListener(this.slidesContainer, 'touchmove', this.handleTouchMove as EventListener, { passive: false });\n addListener(this.slidesContainer, 'touchend', this.handleTouchEnd as EventListener, { passive: true });\n\n // Mouse events\n addListener(this.slidesContainer, 'mousedown', this.handleTouchStart as EventListener);\n addListener(this.slidesContainer, 'mousemove', this.handleTouchMove as EventListener);\n addListener(this.slidesContainer, 'mouseup', this.handleTouchEnd as EventListener);\n addListener(this.slidesContainer, 'mouseleave', this.handleTouchEnd as EventListener);\n\n if (this.showCarouselButtons) {\n this.nextButton && addListener(this.nextButton, 'click', this.handleNextClick);\n this.prevButton && addListener(this.prevButton, 'click', this.handlePrevClick);\n }\n }\n\n private cleanup(): void {\n this.listeners.forEach(({ element, event, handler }) => {\n element.removeEventListener(event, handler);\n });\n this.listeners = [];\n }\n\n private handleResize = (): void => {\n this.memoizedSlideWidth = null;\n };\n\n private getSlideWidth(): number {\n if (!this.memoizedSlideWidth && this.slidesContainer) {\n this.memoizedSlideWidth = this.slidesContainer.offsetWidth;\n }\n return this.memoizedSlideWidth ?? 0;\n }\n\n private handleNextClick = (e: Event): void => {\n e.stopPropagation();\n this.nextSlide();\n };\n\n private handlePrevClick = (e: Event): void => {\n e.stopPropagation();\n this.prevSlide();\n };\n\n private handleTouchStart = (e: TouchEvent | MouseEvent): void => {\n if ((e.target as HTMLElement).classList.contains('nav-button')) return;\n\n this.isDragging = true;\n this.dragStartX = 'touches' in e ? e.touches[0].clientX : e.clientX;\n };\n\n private handleTouchMove = (e: TouchEvent | MouseEvent): void => {\n if (!this.isDragging) return;\n\n if ('touches' in e) {\n e.preventDefault();\n }\n\n const currentPosition = 'touches' in e ? e.touches[0].clientX : e.clientX;\n const diff = currentPosition - this.dragStartX;\n const percentMove = (diff / this.getSlideWidth()) * 100;\n\n this.moveSlides(percentMove);\n };\n\n private handleTouchEnd = (e: TouchEvent | MouseEvent): void => {\n if (!this.isDragging) return;\n\n this.isDragging = false;\n\n const currentPosition = 'changedTouches' in e ? e.changedTouches[0].clientX : e.clientX;\n const diff = currentPosition - this.dragStartX;\n\n if (Math.abs(diff) > PnMarketwebCarousel.DEFAULTS.SWIPE_THRESHOLD_PX) {\n if (diff > 0 && this.currentSlide > 0) {\n this.currentSlide--;\n } else if (diff < 0 && this.currentSlide < this.totalSlides - 1) {\n this.currentSlide++;\n }\n }\n\n this.moveSlides();\n this.updateNavButtons();\n };\n\n private calculateProportionalTranslation(): number {\n // Calculate proportional translation based on slidesToShow\n return -200 + (this.slidesToShow - 1) * 100;\n }\n\n private moveSlides(extraTranslate: number = 0): void {\n if (!this.slides || !this.slidesContainer) {\n return;\n }\n\n try {\n this.slides.forEach((slide, index) => {\n if (slide) {\n // Set each slide's width\n slide.style.width = `${this.slideWidth}%`;\n\n let translation = 0;\n\n if (this.slidesToShow === 1) {\n // Full slide view\n translation = -100 * this.currentSlide;\n } else {\n // Partial slide view\n if (this.totalSlides === 2) {\n // Special case for 2 slides\n if (this.currentSlide === 1) {\n translation = -50; // Both slides move by -50%\n }\n } else {\n // 3 or more slides\n if (this.currentSlide === 1) {\n // Second slide showing - all slides move -100%\n translation = -100;\n } else if (this.currentSlide === 2) {\n // Third slide showing\n if (index === 0) {\n translation = -100; // First slide stays at -100%\n } else {\n // Calculate proportional translation\n translation = this.calculateProportionalTranslation();\n }\n }\n }\n }\n\n // Add any extra translation from dragging\n translation += extraTranslate;\n\n slide.style.transform = `translateX(${translation}%)`;\n slide.style.position = 'relative';\n\n // Update visibility for screen readers\n let isVisible;\n\n if (this.slidesToShow === 1) {\n isVisible = index === this.currentSlide;\n } else {\n isVisible =\n this.currentSlide === 0 || // First slide showing\n this.totalSlides === 2 || // Two slides - both visible\n (this.currentSlide === 1 && translation === -100) || // Second slide showing\n (this.currentSlide === 2 &&\n ((index === 0 && translation === -100) || // First slide still visible\n index > 0)); // Second and third slides visible\n }\n\n slide.setAttribute('aria-hidden', (!isVisible).toString());\n }\n });\n } catch (error) {\n console.error('Error moving slides:', error);\n }\n }\n\n private updateNavButtons(): void {\n if (!this.showCarouselButtons) return;\n\n const isFirstSlide = this.currentSlide === 0;\n const isLastSlide = this.currentSlide === this.totalSlides - 1;\n\n if (this.prevButton) {\n this.prevButton.classList.toggle('invisible', isFirstSlide && !this.showFirstSlidePrevButton);\n this.prevButton.dataset.show = isFirstSlide ? `${this.showFirstSlidePrevButton}` : 'true';\n }\n\n if (this.nextButton) {\n this.nextButton.classList.toggle('invisible', isLastSlide && !this.showLastSlideNextButton);\n this.nextButton.dataset.show = isLastSlide ? `${this.showLastSlideNextButton}` : 'true';\n }\n }\n\n private nextSlide(): void {\n if (this.currentSlide >= this.totalSlides - 1) {\n this.currentSlide = 0;\n } else {\n this.currentSlide++;\n }\n this.moveSlides();\n this.updateNavButtons();\n }\n\n private prevSlide(): void {\n if (this.currentSlide <= 0) {\n this.currentSlide = this.totalSlides - 1;\n } else {\n this.currentSlide--;\n }\n this.moveSlides();\n this.updateNavButtons();\n }\n\n render() {\n return (\n <Host>\n <div class=\"pn-marketweb-carousel\">\n <section class=\"slider-wrapper\">\n {this.showCarouselButtons && (\n <div class=\"nav-buttons\" role=\"group\" aria-label={this.ariaNavigationLabel}>\n <pn-button\n appearance=\"light\"\n icon={arrow_left}\n icon-only=\"true\"\n tooltip={this.previousButtonLabel}\n class={`nav-button ${this.currentSlide === 0 && !this.showFirstSlidePrevButton ? 'invisible' : ''}`}\n data-nav-button-prev\n area-label={this.previousButtonLabel}\n aria-disabled={this.currentSlide === 0 && !this.showFirstSlidePrevButton}>\n </pn-button>\n <pn-button\n appearance=\"light\"\n icon={arrow_right}\n icon-only=\"true\"\n tooltip={this.nextButtonLabel}\n class=\"nav-button\"\n data-nav-button-next\n area-label={this.nextButtonLabel}\n aria-disabled={this.currentSlide === this.totalSlides - 1 && !this.showLastSlideNextButton}>\n </pn-button>\n </div>\n )}\n {this.slidesData && (\n <ul\n class=\"slides-container\"\n data-slides-container\n data-partial={this.slidesToShow === 1 ? 'false' : 'true'}\n aria-live=\"polite\"\n style={{ display: 'flex', transform: 'none' }}\n >\n {this.slidesData.map((slide, index) => (\n <li class=\"slide\" data-slide innerHTML={slide} style={{ width: this.slideWidth + '%' }} aria-hidden={index !== this.currentSlide}></li>\n ))}\n </ul>\n )}\n </section>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
|
package/cjs/pn-chat.cjs.entry.js
CHANGED
|
@@ -94,7 +94,7 @@ const translations = {
|
|
|
94
94
|
},
|
|
95
95
|
};
|
|
96
96
|
|
|
97
|
-
const pnChatCss = "pn-button-dropdown .pn-button-dropdown>pn-button>.pn-button{min-height:initial}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}@media screen and (max-width: 767px){.sr-only-mobile{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}}.pn-chat{display:flex;flex-direction:column;height:600px;width:
|
|
97
|
+
const pnChatCss = "pn-button-dropdown .pn-button-dropdown>pn-button>.pn-button{min-height:initial}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}@media screen and (max-width: 767px){.sr-only-mobile{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}}.pn-chat{display:flex;flex-direction:column;height:600px;width:400px;max-width:400px;box-shadow:0 4px 4px 0 rgba(0, 0, 0, 0.25), 0 -2px 4px 0 rgba(240, 240, 240, 0.55);border-radius:1.6rem}@media (max-width: 768px){.pn-chat:not(.minimized){position:absolute;height:100dvh;width:100dvw;max-width:100%;top:0;left:0}.pn-chat.minimized{height:70px;border-radius:0.8rem 0.8rem 0 0}}@media (min-width: 768px) and (max-width: 1024px){.pn-chat{max-width:350px}}.pn-chat .chat-header{background-color:#ffffff;padding:0.8rem;padding-left:1.6rem;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #f3f2f2}@media (min-width: 768px){.pn-chat .chat-header{border-radius:1.6rem 1.6rem 0 0}}.pn-chat .chat-header .chat-controls{display:flex}.pn-chat .chat-header pn-button.minimize-btn button.pn-button{padding-bottom:0;margin-right:1rem}.pn-chat .chat-header pn-button.minimize-btn button.pn-button .pn-button-content{align-items:flex-end;position:absolute;bottom:0px}.pn-chat .chat-header #chat-title{margin:0;font-size:1.6rem;font-weight:500;line-height:1;height:100%;align-content:center}.pn-chat .chat-main{display:flex;flex-direction:column;flex-grow:1;overflow-y:auto;gap:1.6rem;padding:1.6rem;padding-bottom:3.2rem;background-color:#ffffff}.pn-chat .chat-main.loading-chat-main{display:flex;justify-content:center;align-items:center}.pn-chat .chat-loading-spinner{background-color:#005d92;width:4.8rem;height:4.8rem;border-radius:4.8rem;display:flex;align-items:center;justify-content:center}.pn-chat .chat-loading-content{color:#2d2013;font-size:1.6rem;font-weight:400}.pn-chat .chat-overview{text-align:center}.pn-chat .chat-messages{display:flex;flex-direction:column;gap:1.6rem;text-align:center}.pn-chat .card-container .slider-wrapper{margin:0}.pn-chat .card-container .slides-container{display:flex;gap:1rem}.pn-chat .card-container .slide:nth-child(even) [data-card]{width:calc(100% - 1rem)}@keyframes pulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:0.5;transform:scale(0.95)}}.pn-chat .chat-footer{background:#ffffff;border-top:1px solid #f3f2f2;border-radius:0 0 1.6rem 1.6rem}.pn-chat .chat-footer .form{display:flex;gap:0.7rem;padding:1rem}.pn-chat .chat-input-container{display:flex;flex-grow:1;justify-content:space-between;gap:0.7rem;background:#f9f8f8;border-radius:6.4rem}.pn-chat .chat-input-container .chat-text-input{border:none;background:transparent;width:100%;outline:0.2rem solid transparent;outline-offset:0.2rem;padding-left:1.6rem}.pn-chat .chat-input-container .chat-text-input:focus{border-radius:6.4rem}.pn-chat .chat-input-container .chat-text-input:focus-visible{outline-color:#005d92}.pn-chat .chat-input-container .chat-text-input::placeholder{top:2px;position:relative;color:#969087}.pn-chat .chat-input-container .chat-disabled-button{display:flex;width:3.5em;min-height:3em;min-width:0;align-items:center;justify-content:center}.pn-chat.minimized{background:transparent;border:initial;box-shadow:initial;max-width:50px;max-height:50px;min-width:initial;min-height:initial;transform:scale(0.95);cursor:pointer}.pn-chat.minimized .minimize-btn,.pn-chat.minimized .close-btn{position:absolute;top:0;right:0;bottom:0;left:0}.pn-chat.minimized .minimize-btn button,.pn-chat.minimized .close-btn button{display:none}.pn-chat.minimized .chat-main,.pn-chat.minimized .chat-footer{display:none}.pn-chat.closed{display:none}.pn-chat .open-chat-btn .pn-button{width:5.6rem;height:5.6rem}.pn-chat .open-chat-btn .pn-icon svg{width:3.2rem;height:3.2rem}.pn-chat .indicator-icon{padding:0.2rem 0.8rem;margin-right:auto;margin-top:1rem;margin-bottom:2rem;visibility:hidden}.pn-chat .minimize-btn .pn-button pn-icon .pn-icon-svg path,.pn-chat .close-btn .pn-button pn-icon .pn-icon-svg path{fill:#005d92}@media (max-width: 768px){body.chat-open{overflow:hidden}}";
|
|
98
98
|
const PnChatStyle0 = pnChatCss;
|
|
99
99
|
|
|
100
100
|
const PnChat = class {
|
|
@@ -414,16 +414,28 @@ const PnChat = class {
|
|
|
414
414
|
}
|
|
415
415
|
catch (error) {
|
|
416
416
|
console.error('Error parsing button props', error instanceof Error ? error.message : 'Unknown error');
|
|
417
|
+
return;
|
|
417
418
|
}
|
|
418
419
|
}
|
|
419
|
-
const handleClick = () => {
|
|
420
|
+
const handleClick = (event) => {
|
|
421
|
+
const button = event.target.closest('button');
|
|
422
|
+
if (button === null || button?.hasAttribute('disabled')) {
|
|
423
|
+
event.preventDefault();
|
|
424
|
+
event.stopPropagation();
|
|
425
|
+
return;
|
|
426
|
+
}
|
|
420
427
|
if (props['data-action'] === 'minimize') {
|
|
421
428
|
this.toggleChat();
|
|
422
429
|
}
|
|
423
|
-
if (props['
|
|
430
|
+
if (props['data-action'] === 'choice') {
|
|
424
431
|
(async () => {
|
|
425
|
-
await this.handleSendChoice(props['
|
|
432
|
+
await this.handleSendChoice(props['data-option-choice'], message.content);
|
|
426
433
|
})();
|
|
434
|
+
const choiceButtons = document.querySelectorAll('[data-action="choice"]');
|
|
435
|
+
choiceButtons.forEach(pnButton => {
|
|
436
|
+
const buttonInner = pnButton.querySelector('button');
|
|
437
|
+
buttonInner?.setAttribute('disabled', 'true');
|
|
438
|
+
});
|
|
427
439
|
}
|
|
428
440
|
};
|
|
429
441
|
return (index.h("pn-chat-message", { customerSegment: this.customerSegment, category: message.category }, index.h("pn-button", { class: message.class, role: "button", ...props, onClick: handleClick, onKeyDown: e => this.handleButtonKeyDown(e) }, message.content)));
|
|
@@ -456,9 +468,9 @@ const PnChat = class {
|
|
|
456
468
|
const mainId = 'chat-main';
|
|
457
469
|
const inputId = 'chat-input';
|
|
458
470
|
const headerButton = this.messagesData?.header.button;
|
|
459
|
-
return (index.h(index.Host, { key: '
|
|
471
|
+
return (index.h(index.Host, { key: 'd1b6d427a15513a46277479ece1bce7e20a1044b', class: this.customerSegment }, !this.isClosed && this.messagesData && (index.h("div", { key: 'ecee6b29d3730789fd4994d7a59d32166b68653e', class: `pn-chat ${this.isMinimized ? 'minimized' : ''} ${this.isClosed ? 'closed' : ''}`, ref: el => (this.chatRef = el), role: "region", "aria-label": this.mainHeading }, !this.isMinimized && (index.h(index.Fragment, { key: '5a4fe8af5e224b59dfb53fc4c24f84041c3f8742' }, index.h("header", { key: 'dad77c1594f447014fcfa02dd672eb7f55d8b0d4', class: "chat-header", role: "banner" }, index.h("h1", { key: '2db55d9cf2e638655d5b9eb8dba92e383b81699d', id: "chat-title" }, this.mainHeading), index.h("div", { key: 'd5a0b03b057e16af35fc9ea61cc4e278cb3d2068', class: "chat-controls", role: "toolbar", "aria-label": this.getTranslation('chatControlsAriaLabel') }, index.h("pn-button", { key: '992249d07b8f6f19d6fcdf9eb4fc11efe8f63e1f', icon: minus.minus, "icon-only": "true", class: "minimize-btn", onClick: this.toggleChat, "aria-expanded": !this.isMinimized, "aria-controls": mainId, "aria-label": this.getTranslation('minimizeChatAriaLabel'), appearance: "light", tooltip: this.getTranslation('minimizeChatAriaLabel'), small: "true" }), index.h("pn-button", { key: 'eeed9e762baf7ecb315e43300001f3279f14e563', icon: close.close, "icon-only": "true", class: "close-btn", onClick: this.closeChat, "aria-expanded": !this.isMinimized, "aria-label": this.getTranslation('closeChatAriaLabel'), appearance: "light", tooltip: this.getTranslation('closeChatAriaLabel'), small: "true" }))), (this.messagesData?.messages?.length ?? 0) > 0 ?
|
|
460
472
|
(index.h("main", { id: mainId, class: "chat-main", role: "main", "aria-labelledby": "chat-title" }, this.messagesData.header && (index.h("div", { class: "chat-overview" }, index.h("div", { class: "body" }, this.messagesData.header.body), headerButton && (index.h("pn-button", { href: headerButton.href, class: headerButton.class, appearance: headerButton.appearance, variant: headerButton.variant, small: headerButton.small, role: "button", onKeyDown: e => this.handleButtonKeyDown(e) }, headerButton.content)))), index.h("div", { ref: el => (this.chatMessagesContainer = el), class: "chat-messages", role: "log", "aria-live": "polite", "aria-label": this.getTranslation('chatMessagesAriaLabel') }, this.groupMessages()), index.h("pn-icon", { class: "indicator-icon", "aria-label": this.getTranslation('waitingForAnswerLabel'), role: "presentation" })))
|
|
461
|
-
: (index.h("main", { id: mainId, class: "chat-main loading-chat-main", role: "main", "aria-labelledby": "chat-title" }, index.h("div", { class: "chat-loading-spinner" }, index.h("pn-spinner", { light: "true", size: "1.5" })), index.h("span", { class: "chat-loading-content" }, this.getTranslation('loadingText')))), index.h("footer", { key: '
|
|
473
|
+
: (index.h("main", { id: mainId, class: "chat-main loading-chat-main", role: "main", "aria-labelledby": "chat-title" }, index.h("div", { class: "chat-loading-spinner" }, index.h("pn-spinner", { light: "true", size: "1.5" })), index.h("span", { class: "chat-loading-content" }, this.getTranslation('loadingText')))), index.h("footer", { key: '151b8cb74adc00cc941c68c14e94236e458e5b93', class: "chat-footer", role: "contentinfo" }, index.h("div", { key: 'f9cae25c7fdb38877a0010d01e6845e778f4658c', class: "form", role: "form", "aria-labelledby": inputId }, index.h("label", { key: 'b34656f59997b0e9b24f3c1e4de6df6340b260e5', htmlFor: inputId, class: "sr-only" }, this.getTranslation('writeChatMessagePlaceholder')), index.h("div", { key: '8c63bca6b7d0f9e9e801b7b40dff4a8d9b26e49d', class: "chat-input-container" }, index.h("input", { key: 'e5882f25731916a0800f4efde9a2daea72fba76d', id: inputId, class: "chat-text-input", ref: el => (this.inputRef = el), type: "text", placeholder: this.getTranslation('writeChatMessagePlaceholder'), value: this.message, onInput: (e) => (this.message = e.target.value), onKeyPress: this.handleKeyPress, maxLength: 3990 }), !this.message.trim() ? (index.h("div", { class: "chat-disabled-button", role: "button", "aria-label": this.getTranslation('sendButtonText'), "aria-disabled": "true", tabIndex: -1 }, index.h("pn-icon", { color: "gray400", icon: submit }))) : (index.h("pn-button", { "icon-only": "true", variant: "borderless", appearance: "light", icon: submit, onClick: this.handleSendMessage, disabled: !this.message.trim(), "aria-label": this.getTranslation('sendButtonText'), tooltip: this.getTranslation('sendButtonText') }))))))), this.isMinimized && (index.h("pn-button", { key: '4022adb25d86961ba4f20efd52fa8d4938f81b76', icon: talk_bubble, "icon-only": "true", class: "open-chat-btn", onClick: this.toggleChat, tooltip: this.getTranslation('openChatAriaLabel'), "aria-label": this.getTranslation('openChatAriaLabel'), "aria-expanded": !this.isMinimized }))))));
|
|
462
474
|
}
|
|
463
475
|
static get watchers() { return {
|
|
464
476
|
"messages": ["handleMessagesChange"],
|