@postnord/pn-marketweb-components 2.0.73 → 2.0.75
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/FetchHelper-f80943bf.js +87 -0
- package/cjs/{FetchHelper-c6cee722.js → MarketWebContextService-5840b8e0.js} +0 -85
- package/cjs/loader.cjs.js +1 -1
- package/cjs/pn-bonus-progressbar.cjs.entry.js +2 -2
- package/cjs/pn-language-selector_9.cjs.entry.js +13 -2
- package/cjs/pn-market-web-components.cjs.js +1 -1
- package/cjs/pn-marketweb-sitefooter.cjs.entry.js +3 -2
- package/cjs/pn-marketweb-siteheader.cjs.entry.js +6 -3
- package/cjs/pn-proxio-pricefinder.cjs.entry.js +43 -0
- package/cjs/pn-proxio-productcard.cjs.entry.js +19 -0
- package/collection/collection-manifest.json +3 -1
- package/collection/components/input/pn-bonus-progressbar/pn-bonus-progressbar.css +2 -2
- package/collection/components/input/pn-bonus-progressbar/pn-bonus-progressbar.js +5 -3
- package/collection/components/input/pn-bonus-progressbar/pn-bonus-progressbar.stories.js +1 -1
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-search.js +31 -2
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader.js +22 -2
- package/collection/components/widgets/pn-proxio-pricefinder/pn-proxio-pricefinder.css +0 -0
- package/collection/components/widgets/pn-proxio-pricefinder/pn-proxio-pricefinder.js +98 -0
- package/collection/components/widgets/pn-proxio-pricefinder/pn-proxio-pricefinder.stories.js +22 -0
- package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard.css +0 -0
- package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard.js +21 -0
- package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard.stories.js +23 -0
- package/custom-elements/index.d.ts +12 -0
- package/custom-elements/index.js +74 -8
- package/esm/FetchHelper-a0c8aa54.js +85 -0
- package/esm/{FetchHelper-1dfe8514.js → MarketWebContextService-160bf3dd.js} +1 -85
- package/esm/loader.js +1 -1
- package/esm/pn-bonus-progressbar.entry.js +2 -2
- package/esm/pn-language-selector_9.entry.js +13 -2
- package/esm/pn-market-web-components.js +1 -1
- package/esm/pn-marketweb-sitefooter.entry.js +2 -1
- package/esm/pn-marketweb-siteheader.entry.js +5 -2
- package/esm/pn-proxio-pricefinder.entry.js +39 -0
- package/esm/pn-proxio-productcard.entry.js +15 -0
- package/esm-es5/FetchHelper-a0c8aa54.js +1 -0
- package/esm-es5/{FetchHelper-1dfe8514.js → MarketWebContextService-160bf3dd.js} +1 -1
- package/esm-es5/loader.js +1 -1
- package/esm-es5/pn-bonus-progressbar.entry.js +1 -1
- package/esm-es5/pn-language-selector_9.entry.js +1 -1
- package/esm-es5/pn-market-web-components.js +1 -1
- package/esm-es5/pn-marketweb-sitefooter.entry.js +1 -1
- package/esm-es5/pn-marketweb-siteheader.entry.js +1 -1
- package/esm-es5/pn-proxio-pricefinder.entry.js +1 -0
- package/esm-es5/pn-proxio-productcard.entry.js +1 -0
- package/package.json +2 -2
- package/pn-market-web-components/p-055424ac.entry.js +1 -0
- package/pn-market-web-components/{p-f0f58646.js → p-0a7b7046.js} +1 -1
- package/pn-market-web-components/p-1a97780a.system.js +1 -0
- package/pn-market-web-components/p-2b8aa6a9.entry.js +1 -0
- package/pn-market-web-components/p-3ce2b566.system.entry.js +1 -0
- package/pn-market-web-components/p-41eee9c8.entry.js +1 -0
- package/pn-market-web-components/p-4b0694f8.system.entry.js +1 -0
- package/pn-market-web-components/{p-1fc1c7bc.system.entry.js → p-57f15df4.system.entry.js} +1 -1
- package/pn-market-web-components/p-67887512.system.js +1 -1
- package/pn-market-web-components/p-831c0495.system.entry.js +1 -0
- package/pn-market-web-components/p-97dc5687.js +1 -0
- package/pn-market-web-components/{p-5ebdacf2.entry.js → p-9bb87139.entry.js} +1 -1
- package/pn-market-web-components/p-a89a2eb3.entry.js +1 -0
- package/pn-market-web-components/p-b847805a.system.entry.js +1 -0
- package/pn-market-web-components/p-b8e9177e.system.entry.js +1 -0
- package/pn-market-web-components/p-c7afc979.entry.js +1 -0
- package/pn-market-web-components/p-d6a17042.system.js +1 -0
- package/pn-market-web-components/pn-market-web-components.esm.js +1 -1
- package/types/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-search.d.ts +2 -0
- package/types/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader.d.ts +2 -0
- package/types/components/widgets/pn-proxio-pricefinder/pn-proxio-pricefinder.d.ts +13 -0
- package/types/components/widgets/pn-proxio-productcard/pn-proxio-productcard.d.ts +3 -0
- package/types/components.d.ts +48 -0
- package/umd/modules/@postnord/web-components/cjs/colors-b857e3bc.js +44 -0
- package/umd/modules/@postnord/web-components/cjs/{icons-6da09d4e.js → icons-4f356137.js} +3 -0
- package/umd/modules/@postnord/web-components/cjs/loader.cjs.js +1 -1
- package/umd/modules/@postnord/web-components/cjs/pn-accordion-row.cjs.entry.js +1 -1
- package/umd/modules/@postnord/web-components/cjs/pn-button_2.cjs.entry.js +7 -7
- package/umd/modules/@postnord/web-components/cjs/pn-calendar.cjs.entry.js +1 -1
- package/umd/modules/@postnord/web-components/cjs/pn-check-tile.cjs.entry.js +1 -1
- package/umd/modules/@postnord/web-components/cjs/pn-checkbox.cjs.entry.js +4 -2
- package/umd/modules/@postnord/web-components/cjs/pn-choice-chip.cjs.entry.js +1 -1
- package/umd/modules/@postnord/web-components/cjs/pn-colors.cjs.entry.js +2 -2
- package/umd/modules/@postnord/web-components/cjs/pn-date-picker-old.cjs.entry.js +1 -1
- package/umd/modules/@postnord/web-components/cjs/pn-date-picker.cjs.entry.js +28 -17
- package/umd/modules/@postnord/web-components/cjs/pn-file-upload.cjs.entry.js +1 -1
- package/umd/modules/@postnord/web-components/cjs/pn-footer.cjs.entry.js +1 -1
- package/umd/modules/@postnord/web-components/cjs/pn-header.cjs.entry.js +54 -0
- package/umd/modules/@postnord/web-components/cjs/pn-icon-grid.cjs.entry.js +3 -3
- package/umd/modules/@postnord/web-components/cjs/pn-icon.cjs.entry.js +2 -2
- package/umd/modules/@postnord/web-components/cjs/pn-illustration-grid.cjs.entry.js +2 -2
- package/umd/modules/@postnord/web-components/cjs/pn-input.cjs.entry.js +3 -2
- package/umd/modules/@postnord/web-components/cjs/pn-modal.cjs.entry.js +1 -1
- package/umd/modules/@postnord/web-components/cjs/pn-nav-dropdown.cjs.entry.js +1 -1
- package/umd/modules/@postnord/web-components/cjs/pn-ocr-search.cjs.entry.js +1 -1
- package/umd/modules/@postnord/web-components/cjs/pn-option.cjs.entry.js +1 -1
- package/umd/modules/@postnord/web-components/cjs/pn-page-nav-dropdown-item.cjs.entry.js +1 -1
- package/umd/modules/@postnord/web-components/cjs/pn-page-nav-item.cjs.entry.js +1 -1
- package/umd/modules/@postnord/web-components/cjs/pn-page-nav.cjs.entry.js +1 -1
- 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-radio-button.cjs.entry.js +1 -1
- package/umd/modules/@postnord/web-components/cjs/pn-radio-tile.cjs.entry.js +1 -1
- package/umd/modules/@postnord/web-components/cjs/pn-segment.cjs.entry.js +1 -1
- package/umd/modules/@postnord/web-components/cjs/pn-segmented-control.cjs.entry.js +33 -13
- package/umd/modules/@postnord/web-components/cjs/pn-select.cjs.entry.js +1 -1
- package/umd/modules/@postnord/web-components/cjs/pn-spinner.cjs.entry.js +1 -1
- package/umd/modules/@postnord/web-components/cjs/pn-tab.cjs.entry.js +1 -1
- 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 +1 -1
- package/umd/modules/@postnord/web-components/cjs/pn-tile.cjs.entry.js +1 -1
- package/umd/modules/@postnord/web-components/cjs/pn-toast.cjs.entry.js +1 -1
- package/umd/modules/@postnord/web-components/cjs/pn-toggle-switch.cjs.entry.js +1 -1
- package/umd/modules/@postnord/web-components/cjs/pn-tooltip.cjs.entry.js +1 -1
- package/umd/modules/@postnord/web-components/cjs/pn-zipcode-search.cjs.entry.js +1 -1
- package/umd/modules/@postnord/web-components/cjs/postnord-web-components.cjs.js +1 -1
- package/umd/modules/@postnord/web-components/collection/assets/colors.js +30 -28
- package/umd/modules/@postnord/web-components/collection/assets/icons.js +3 -0
- package/umd/modules/@postnord/web-components/collection/assets/svgs/recipient.svg +1 -0
- package/umd/modules/@postnord/web-components/collection/assets/svgs/select-service.svg +1 -0
- package/umd/modules/@postnord/web-components/collection/assets/svgs/sender.svg +1 -0
- package/umd/modules/@postnord/web-components/collection/collection-manifest.json +1 -0
- package/umd/modules/@postnord/web-components/collection/components/buttons/pn-button/pn-button.css +25 -25
- package/umd/modules/@postnord/web-components/collection/components/buttons/pn-button/pn-button.js +3 -4
- package/umd/modules/@postnord/web-components/collection/components/content/pn-accordion-row/pn-accordion-row.css +4 -4
- package/umd/modules/@postnord/web-components/collection/components/content/pn-table/pn-table.css +22 -22
- package/umd/modules/@postnord/web-components/collection/components/design-tokens/pn-colors/pn-colors.css +1 -1
- package/umd/modules/@postnord/web-components/collection/components/design-tokens/pn-icon-grid/pn-icon-grid.css +2 -2
- package/umd/modules/@postnord/web-components/collection/components/design-tokens/pn-illustration-grid/pn-illustration-grid.css +2 -2
- package/umd/modules/@postnord/web-components/collection/components/feedback/pn-modal/pn-modal.css +9 -9
- package/umd/modules/@postnord/web-components/collection/components/feedback/pn-progress-bar/pn-progress-bar.css +8 -8
- package/umd/modules/@postnord/web-components/collection/components/feedback/pn-progress-indicator/pn-progress-indicator-step/pn-progress-indicator-step.css +6 -6
- package/umd/modules/@postnord/web-components/collection/components/feedback/pn-spinner/pn-spinner.css +2 -2
- package/umd/modules/@postnord/web-components/collection/components/feedback/pn-toast/pn-toast.css +18 -18
- package/umd/modules/@postnord/web-components/collection/components/feedback/pn-tooltip/pn-tooltip.css +7 -7
- package/umd/modules/@postnord/web-components/collection/components/input/pn-calendar/pn-calendar.css +7 -7
- package/umd/modules/@postnord/web-components/collection/components/input/pn-check-tile/pn-check-tile.css +15 -15
- package/umd/modules/@postnord/web-components/collection/components/input/pn-checkbox/pn-checkbox.css +6 -6
- package/umd/modules/@postnord/web-components/collection/components/input/pn-checkbox/pn-checkbox.js +39 -1
- package/umd/modules/@postnord/web-components/collection/components/input/pn-choice-chip/pn-choice-chip.css +10 -10
- package/umd/modules/@postnord/web-components/collection/components/input/pn-date-picker/date-picker.stories.js +6 -1
- package/umd/modules/@postnord/web-components/collection/components/input/pn-date-picker/pn-date-picker.css +18 -19
- package/umd/modules/@postnord/web-components/collection/components/input/pn-date-picker/pn-date-picker.js +24 -13
- package/umd/modules/@postnord/web-components/collection/components/input/pn-date-picker/translations.js +5 -5
- package/umd/modules/@postnord/web-components/collection/components/input/pn-date-picker-old/pn-date-picker-old.css +9 -9
- package/umd/modules/@postnord/web-components/collection/components/input/pn-file-upload/pn-file-upload.css +12 -12
- package/umd/modules/@postnord/web-components/collection/components/input/pn-input/pn-input.css +25 -25
- package/umd/modules/@postnord/web-components/collection/components/input/pn-input/pn-input.js +20 -1
- package/umd/modules/@postnord/web-components/collection/components/input/pn-nav-dropdown/pn-nav-dropdown.css +5 -5
- package/umd/modules/@postnord/web-components/collection/components/input/pn-option/pn-option.css +2 -2
- package/umd/modules/@postnord/web-components/collection/components/input/pn-radio-button/pn-radio-button.css +7 -7
- package/umd/modules/@postnord/web-components/collection/components/input/pn-radio-tile/pn-radio-tile.css +8 -8
- package/umd/modules/@postnord/web-components/collection/components/input/pn-search-field/pn-search-field.css +9 -9
- package/umd/modules/@postnord/web-components/collection/components/input/pn-search-field/pn-search-field.js +23 -4
- package/umd/modules/@postnord/web-components/collection/components/input/pn-segmented-control/controller/pn-segmented-control.css +6 -6
- package/umd/modules/@postnord/web-components/collection/components/input/pn-segmented-control/controller/pn-segmented-control.js +33 -13
- package/umd/modules/@postnord/web-components/collection/components/input/pn-segmented-control/segment/pn-segment.css +1 -1
- package/umd/modules/@postnord/web-components/collection/components/input/pn-select/pn-select.css +21 -21
- package/umd/modules/@postnord/web-components/collection/components/input/pn-toggle-switch/pn-toggle-switch.css +5 -5
- package/umd/modules/@postnord/web-components/collection/components/layout/pn-header/header.stories.js +110 -0
- package/umd/modules/@postnord/web-components/collection/components/layout/pn-header/pn-header.css +94 -0
- package/umd/modules/@postnord/web-components/collection/components/layout/pn-header/pn-header.js +118 -0
- package/umd/modules/@postnord/web-components/collection/components/navigation/pn-footer/pn-footer.css +3 -3
- package/umd/modules/@postnord/web-components/collection/components/navigation/pn-page-nav/dropdown-item/pn-page-nav-dropdown-item.css +4 -4
- package/umd/modules/@postnord/web-components/collection/components/navigation/pn-page-nav/item/pn-page-nav-item.css +2 -2
- package/umd/modules/@postnord/web-components/collection/components/navigation/pn-page-nav/menu/pn-page-nav.css +16 -15
- package/umd/modules/@postnord/web-components/collection/components/navigation/pn-tablist/pn-tab.css +2 -2
- package/umd/modules/@postnord/web-components/collection/components/navigation/pn-tablist/pn-tablist.css +4 -4
- package/umd/modules/@postnord/web-components/collection/components/navigation/pn-tile/pn-tile.css +8 -8
- package/umd/modules/@postnord/web-components/collection/components/web-components/pn-ocr-search/pn-ocr-search.css +1 -1
- package/umd/modules/@postnord/web-components/collection/components/web-components/pn-zipcode-search/pn-zipcode-search.css +2 -2
- package/umd/modules/@postnord/web-components/components/colors.js +30 -28
- package/umd/modules/@postnord/web-components/components/pn-accordion-row.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-button2.js +4 -5
- package/umd/modules/@postnord/web-components/components/pn-calendar2.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-check-tile.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-checkbox2.js +7 -3
- package/umd/modules/@postnord/web-components/components/pn-choice-chip.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-colors.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-date-picker-old.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-date-picker.js +28 -17
- 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.d.ts +11 -0
- package/umd/modules/@postnord/web-components/components/pn-header.js +71 -0
- package/umd/modules/@postnord/web-components/components/pn-icon-grid.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-icon2.js +3 -0
- package/umd/modules/@postnord/web-components/components/pn-illustration-grid.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-input.js +4 -2
- package/umd/modules/@postnord/web-components/components/pn-modal.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-nav-dropdown.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-ocr-search.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-option2.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-progress-bar2.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-progress-indicator-step.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-radio-button.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-radio-tile.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-search-field2.js +5 -3
- package/umd/modules/@postnord/web-components/components/pn-segment.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-segmented-control.js +33 -13
- package/umd/modules/@postnord/web-components/components/pn-select.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-spinner2.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-tab.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-table.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-tablist.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-tile.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-toast.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-toggle-switch.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-tooltip.js +1 -1
- package/umd/modules/@postnord/web-components/components/pn-zipcode-search.js +1 -1
- package/umd/modules/@postnord/web-components/esm/colors-dad016c3.js +42 -0
- package/umd/modules/@postnord/web-components/esm/{icons-179d0f16.js → icons-87afa544.js} +3 -0
- package/umd/modules/@postnord/web-components/esm/loader.js +1 -1
- package/umd/modules/@postnord/web-components/esm/pn-accordion-row.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm/pn-button_2.entry.js +7 -7
- package/umd/modules/@postnord/web-components/esm/pn-calendar.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm/pn-check-tile.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm/pn-checkbox.entry.js +4 -2
- package/umd/modules/@postnord/web-components/esm/pn-choice-chip.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm/pn-colors.entry.js +2 -2
- package/umd/modules/@postnord/web-components/esm/pn-date-picker-old.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm/pn-date-picker.entry.js +28 -17
- package/umd/modules/@postnord/web-components/esm/pn-file-upload.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm/pn-footer.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm/pn-header.entry.js +50 -0
- package/umd/modules/@postnord/web-components/esm/pn-icon-grid.entry.js +3 -3
- package/umd/modules/@postnord/web-components/esm/pn-icon.entry.js +2 -2
- package/umd/modules/@postnord/web-components/esm/pn-illustration-grid.entry.js +2 -2
- package/umd/modules/@postnord/web-components/esm/pn-input.entry.js +3 -2
- package/umd/modules/@postnord/web-components/esm/pn-modal.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm/pn-nav-dropdown.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm/pn-ocr-search.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm/pn-option.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm/pn-page-nav-dropdown-item.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm/pn-page-nav-item.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm/pn-page-nav.entry.js +1 -1
- 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-radio-button.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm/pn-radio-tile.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm/pn-segment.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm/pn-segmented-control.entry.js +33 -13
- package/umd/modules/@postnord/web-components/esm/pn-select.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm/pn-spinner.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm/pn-tab.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm/pn-table.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm/pn-tablist.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm/pn-tile.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm/pn-toast.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm/pn-toggle-switch.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm/pn-tooltip.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm/pn-zipcode-search.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm/postnord-web-components.js +1 -1
- package/umd/modules/@postnord/web-components/esm-es5/colors-dad016c3.js +1 -0
- package/umd/modules/@postnord/web-components/esm-es5/{icons-179d0f16.js → icons-87afa544.js} +1 -1
- package/umd/modules/@postnord/web-components/esm-es5/loader.js +1 -1
- package/umd/modules/@postnord/web-components/esm-es5/pn-accordion-row.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm-es5/pn-button_2.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm-es5/pn-calendar.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm-es5/pn-check-tile.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm-es5/pn-checkbox.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm-es5/pn-choice-chip.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm-es5/pn-colors.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm-es5/pn-date-picker-old.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm-es5/pn-date-picker.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm-es5/pn-file-upload.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm-es5/pn-footer.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm-es5/pn-header.entry.js +1 -0
- package/umd/modules/@postnord/web-components/esm-es5/pn-icon-grid.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm-es5/pn-icon.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm-es5/pn-illustration-grid.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm-es5/pn-input.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm-es5/pn-modal.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm-es5/pn-nav-dropdown.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm-es5/pn-ocr-search.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm-es5/pn-option.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm-es5/pn-page-nav-dropdown-item.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm-es5/pn-page-nav-item.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm-es5/pn-page-nav.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm-es5/pn-progress-bar.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm-es5/pn-progress-indicator-step.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm-es5/pn-radio-button.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm-es5/pn-radio-tile.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm-es5/pn-segment.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm-es5/pn-segmented-control.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm-es5/pn-select.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm-es5/pn-spinner.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm-es5/pn-tab.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm-es5/pn-table.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm-es5/pn-tablist.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm-es5/pn-tile.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm-es5/pn-toast.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm-es5/pn-toggle-switch.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm-es5/pn-tooltip.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm-es5/pn-zipcode-search.entry.js +1 -1
- package/umd/modules/@postnord/web-components/esm-es5/postnord-web-components.js +1 -1
- package/umd/modules/@postnord/web-components/package.json +11 -11
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-817d5d17.system.entry.js → p-02c2741f.system.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-a9b57e21.system.entry.js → p-05c428eb.system.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-3b0e4511.entry.js → p-0de26b96.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-7d24dfab.entry.js → p-0ec57c44.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-9f16574c.system.entry.js → p-173e95f5.system.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-1df3ace2.system.entry.js → p-1c1b30b7.system.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-dc04bb07.system.entry.js → p-1cce77c3.system.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-f43000c3.system.entry.js → p-1f157d38.system.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-008afe80.system.entry.js → p-20988b71.system.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-27cee172.system.entry.js → p-20fad6a2.system.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-ab59c993.entry.js → p-2190a228.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-b05a8f5a.system.entry.js → p-22271b9e.system.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-74671e0f.entry.js → p-23b6f027.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-17244a21.system.entry.js → p-281de48e.system.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-b25492d9.system.entry.js → p-28676f45.system.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-924e1464.system.entry.js → p-2c85afe2.system.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-368df140.entry.js +1 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-79bbd298.entry.js → p-3757194b.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-16375b57.system.entry.js → p-39a26ba4.system.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-67a953f0.entry.js → p-42049896.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-97d5dd3e.system.entry.js → p-4befd4c5.system.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-294507b0.js → p-4c62647b.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-4b524de1.system.entry.js → p-52f234c3.system.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-53b2ab8c.entry.js → p-543ffe51.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-5807a81a.js +1 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-f7beea04.system.entry.js → p-58f84310.system.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-cadac0c7.entry.js → p-5a64115d.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-5cc41a73.entry.js +1 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-cd645eaf.system.entry.js → p-5f2518ea.system.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-5f5b0517.entry.js +1 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-5fce4b15.entry.js +1 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-6dc68e88.system.entry.js → p-6269c9a1.system.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-13d529e9.entry.js → p-6a8e8e16.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-6c9fb6e8.entry.js +1 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-c2f279af.entry.js → p-6cd7c4aa.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-1bb1996e.entry.js → p-6d4ccff2.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-6dce588e.system.js +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-841c3e03.system.entry.js → p-7263d8a4.system.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-747a393a.entry.js +1 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-2707de35.entry.js → p-7808eb89.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-82af9b54.system.entry.js +1 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-9c680e93.entry.js → p-85d78f66.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-f76a42aa.system.entry.js → p-862b4441.system.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-8c799438.system.entry.js +1 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-4103a3ce.system.js → p-8efaa1c4.system.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-8fbf5762.system.entry.js +1 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-91597e05.system.entry.js +1 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-c9fa7497.entry.js → p-940a1f92.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-5a972db7.entry.js → p-96bfea54.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-f72d34b8.entry.js → p-9bd67d3b.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-a19942ea.system.entry.js → p-9c2ce322.system.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-0703e268.entry.js → p-a5d4c33e.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-0a8ba84b.system.entry.js → p-a834fb7c.system.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-9ddb3d96.entry.js → p-ab2033a1.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-3ecd4b50.entry.js → p-b51db896.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-5e585fea.system.entry.js → p-b9a0d9d9.system.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-b7bc48aa.system.entry.js → p-bc486626.system.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-fc58a5f5.entry.js → p-be92aa5c.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-0439d89f.entry.js → p-c528d2e1.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-a4043417.system.entry.js → p-cbbe9eaa.system.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-d1f05006.system.entry.js +1 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-f08bd1f5.system.entry.js → p-d4bb152e.system.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-728d7132.system.entry.js → p-d5107a0a.system.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-745ba184.entry.js → p-d547950c.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-7b7d9358.system.entry.js → p-dbe6001f.system.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-3da60603.system.entry.js → p-dec6ee37.system.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-f2f173c3.system.entry.js → p-e0b7e404.system.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-3d860408.entry.js → p-e5c887c8.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-3b48fc0e.system.entry.js → p-e6c0bdad.system.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-aa44cdfd.system.entry.js → p-e93b0b66.system.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-03091c0d.entry.js → p-e9cd7635.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-33ec3b6d.entry.js → p-e9d26acb.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-94686b6b.entry.js → p-eb3398c6.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-534eaa88.entry.js → p-f009d757.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-b57700ca.entry.js → p-f3c5316e.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-f3cc1874.system.js +1 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/p-fb6cd638.entry.js +1 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-1c4ffba4.entry.js → p-fb7baa9c.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-1fa5285a.system.entry.js → p-fb929fe8.system.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-fc3c0b4f.entry.js +1 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-a9205ee4.entry.js → p-fca162dc.entry.js} +1 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-fcb055c7.system.entry.js +1 -0
- package/umd/modules/@postnord/web-components/postnord-web-components/{p-06ee34e1.entry.js → p-ff900e71.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/assets/colors.d.ts +2 -0
- package/umd/modules/@postnord/web-components/types/assets/icons.d.ts +3 -0
- package/umd/modules/@postnord/web-components/types/components/input/pn-checkbox/pn-checkbox.d.ts +2 -0
- package/umd/modules/@postnord/web-components/types/components/input/pn-date-picker/pn-date-picker.d.ts +2 -1
- package/umd/modules/@postnord/web-components/types/components/input/pn-input/pn-input.d.ts +1 -0
- package/umd/modules/@postnord/web-components/types/components/input/pn-search-field/pn-search-field.d.ts +1 -0
- package/umd/modules/@postnord/web-components/types/components/input/pn-segmented-control/controller/pn-segmented-control.d.ts +2 -1
- package/umd/modules/@postnord/web-components/types/components/layout/pn-header/pn-header.d.ts +16 -0
- package/umd/modules/@postnord/web-components/types/components.d.ts +39 -0
- package/umd/pn-marketweb-salesforce.js +2 -2
- package/pn-market-web-components/p-189ef99c.entry.js +0 -1
- package/pn-market-web-components/p-54454547.entry.js +0 -1
- package/pn-market-web-components/p-58115ce6.entry.js +0 -1
- package/pn-market-web-components/p-6174a610.system.js +0 -1
- package/pn-market-web-components/p-6ad8fdad.system.entry.js +0 -1
- package/pn-market-web-components/p-7422abda.system.entry.js +0 -1
- package/pn-market-web-components/p-f11992ae.system.entry.js +0 -1
- package/umd/modules/@postnord/web-components/cjs/colors-bb509869.js +0 -42
- package/umd/modules/@postnord/web-components/esm/colors-7b5cb327.js +0 -40
- package/umd/modules/@postnord/web-components/esm-es5/colors-7b5cb327.js +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-119cb7d6.entry.js +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-11b9e822.entry.js +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-20f9e678.system.entry.js +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-26422d28.system.entry.js +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-3341ab21.js +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-35831310.system.entry.js +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-4b4e5031.entry.js +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-5b15613f.entry.js +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-92c926c3.entry.js +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-957fa809.system.entry.js +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-aa1ec8d3.system.js +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-c5c95287.entry.js +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-e8925d24.system.entry.js +0 -1
- package/umd/modules/@postnord/web-components/postnord-web-components/p-ed1d51d8.entry.js +0 -1
|
@@ -10,7 +10,7 @@ const patchEsm = () => {
|
|
|
10
10
|
const defineCustomElements = (win, options) => {
|
|
11
11
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
12
12
|
return patchEsm().then(() => {
|
|
13
|
-
return bootstrapLazy([["pn-ocr-search",[[0,"pn-ocr-search",{"language":[1],"loading":[32],"error":[32],"ocrNumber":[32],"searchSuccess":[32],"invalidOcrNumber":[32]}]]],["pn-zipcode-search",[[0,"pn-zipcode-search",{"marketwebLanguage":[1,"marketweb-language"],"language":[32],"loading":[32],"error":[32],"errorMessage":[32],"showResult":[32],"zipCodeSearchResult":[32]}]]],["pn-file-upload",[[4,"pn-file-upload",{"disabled":[4],"showSpinner":[4,"show-spinner"],"accept":[1],"maxSize":[1,"max-size"],"limit":[2],"multiple":[1028],"triggerElements":[32],"renders":[32],"startUpload":[64],"clearUpload":[64],"removeFile":[64],"updateFile":[64]}]]],["pn-select",[[4,"pn-select",{"searchable":[4],"label":[1],"placeholder":[1],"checkbox":[4],"checkboxid":[1],"checked":[1028],"indeterminate":[1028],"error":[1],"invalid":[4],"value":[1],"internalValue":[32],"open":[32],"upwards":[32],"loaded":[32]},[[0,"change","changeHandler"],[0,"selectOption","selectOptionHandler"]]]]],["pn-date-picker-old",[[0,"pn-date-picker-old",{"language":[1],"disabled":[4],"emitErrors":[4,"emit-errors"],"label":[1],"min":[1],"max":[1],"invalid":[4],"disableWeekends":[4,"disable-weekends"],"disableDays":[1,"disable-days"],"disableInput":[4,"disable-input"],"startOfWeek":[2,"start-of-week"],"dispatchChangeOnBlur":[4,"dispatch-change-on-blur"],"position":[1],"value":[1025]},[[0,"daychange","dateChanged"]]]]],["pn-check-tile",[[4,"pn-check-tile",{"checkboxid":[1],"value":[8],"checked":[4],"illustration":[1]}]]],["pn-date-picker",[[0,"pn-date-picker",{"language":[1],"start":[1],"end":[1],"minDate":[1,"min-date"],"maxDate":[1,"max-date"],"range":[4],"disableWeekends":[4,"disable-weekends"],"placeholder":[1],"endPlaceholder":[1,"end-placeholder"],"currentState":[32],"week":[32],"months":[32],"startDate":[32],"endDate":[32],"open":[32],"selectionMade":[32],"machine":[32]},[[0,"dateselection","dateSelectionHandler"]]]]],["pn-footer",[[0,"pn-footer",{"market":[32],"language":[32],"isLoggedIn":[32],"isBusinessUser":[32]}]]],["pn-icon-grid",[[0,"pn-icon-grid",{"small":[4],"color":[1],"activeSymbol":[32]}]]],["pn-illustration-grid",[[0,"pn-illustration-grid",{"size":[1],"color":[1],"activeIllustration":[32]}]]],["pn-input",[[0,"pn-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":[2],"max":[2],"showText":[32]}]]],["pn-modal",[[4,"pn-modal",{"open":[1028],"focusableEls":[32]}]]],["pn-nav-dropdown",[[4,"pn-nav-dropdown",{"label":[1],"icon":[1],"open":[32],"position":[32],"right":[32]}]]],["pn-page-nav",[[4,"pn-page-nav",{"value":[1025],"dropdown":[8],"currentSelection":[32],"showScrollArrows":[32],"showLeftArrow":[32],"showRightArrow":[32],"dropdownOpen":[32],"dropdownLinks":[32],"dropdownActive":[32]},[[0,"itemselection","changeHandler"],[9,"resize","handleResize"]]]]],["pn-page-nav-dropdown-item",[[4,"pn-page-nav-dropdown-item",{"value":[1],"href":[1],"active":[4]}]]],["pn-page-nav-item",[[4,"pn-page-nav-item",{"value":[1],"icon":[1],"href":[1]}]]],["pn-radio-tile",[[4,"pn-radio-tile",{"name":[1],"radioid":[1],"value":[8],"checked":[4],"illustration":[1]}]]],["pn-segment",[[4,"pn-segment",{"segmentid":[1],"name":[1],"value":[1],"selected":[4],"icon":[1]}]]],["pn-tile",[[4,"pn-tile",{"label":[1],"url":[1],"target":[1],"rel":[1],"illustration":[1025],"simple":[32],"checkCardSize":[32],"longpress":[32],"timer":[32]}]]],["pn-toast",[[4,"pn-toast",{"appearance":[1],"icon":[1],"closable":[4],"temporary":[4],"manualDuration":[2,"manual-duration"],"hidden":[1028],"timeout":[32]}]]],["pn-
|
|
13
|
+
return bootstrapLazy([["pn-ocr-search",[[0,"pn-ocr-search",{"language":[1],"loading":[32],"error":[32],"ocrNumber":[32],"searchSuccess":[32],"invalidOcrNumber":[32]}]]],["pn-zipcode-search",[[0,"pn-zipcode-search",{"marketwebLanguage":[1,"marketweb-language"],"language":[32],"loading":[32],"error":[32],"errorMessage":[32],"showResult":[32],"zipCodeSearchResult":[32]}]]],["pn-file-upload",[[4,"pn-file-upload",{"disabled":[4],"showSpinner":[4,"show-spinner"],"accept":[1],"maxSize":[1,"max-size"],"limit":[2],"multiple":[1028],"triggerElements":[32],"renders":[32],"startUpload":[64],"clearUpload":[64],"removeFile":[64],"updateFile":[64]}]]],["pn-select",[[4,"pn-select",{"searchable":[4],"label":[1],"placeholder":[1],"checkbox":[4],"checkboxid":[1],"checked":[1028],"indeterminate":[1028],"error":[1],"invalid":[4],"value":[1],"internalValue":[32],"open":[32],"upwards":[32],"loaded":[32]},[[0,"change","changeHandler"],[0,"selectOption","selectOptionHandler"]]]]],["pn-date-picker-old",[[0,"pn-date-picker-old",{"language":[1],"disabled":[4],"emitErrors":[4,"emit-errors"],"label":[1],"min":[1],"max":[1],"invalid":[4],"disableWeekends":[4,"disable-weekends"],"disableDays":[1,"disable-days"],"disableInput":[4,"disable-input"],"startOfWeek":[2,"start-of-week"],"dispatchChangeOnBlur":[4,"dispatch-change-on-blur"],"position":[1],"value":[1025]},[[0,"daychange","dateChanged"]]]]],["pn-check-tile",[[4,"pn-check-tile",{"checkboxid":[1],"value":[8],"checked":[4],"illustration":[1]}]]],["pn-icon",[[0,"pn-icon",{"symbol":[1],"small":[4],"color":[1]}]]],["pn-date-picker",[[0,"pn-date-picker",{"language":[1],"start":[1],"end":[1],"minDate":[1,"min-date"],"maxDate":[1,"max-date"],"range":[4],"disableWeekends":[4,"disable-weekends"],"placeholder":[1],"endPlaceholder":[1,"end-placeholder"],"currentState":[32],"week":[32],"months":[32],"startDate":[32],"endDate":[32],"open":[32],"selectionMade":[32],"machine":[32]},[[0,"dateselection","dateSelectionHandler"]]]]],["pn-footer",[[0,"pn-footer",{"market":[32],"language":[32],"isLoggedIn":[32],"isBusinessUser":[32]}]]],["pn-icon-grid",[[0,"pn-icon-grid",{"small":[4],"color":[1],"activeSymbol":[32]}]]],["pn-illustration-grid",[[0,"pn-illustration-grid",{"size":[1],"color":[1],"activeIllustration":[32]}]]],["pn-input",[[0,"pn-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":[2],"max":[2],"ariaLabel":[1,"aria-label"],"showText":[32]}]]],["pn-modal",[[4,"pn-modal",{"open":[1028],"focusableEls":[32]}]]],["pn-nav-dropdown",[[4,"pn-nav-dropdown",{"label":[1],"icon":[1],"open":[32],"position":[32],"right":[32]}]]],["pn-page-nav",[[4,"pn-page-nav",{"value":[1025],"dropdown":[8],"currentSelection":[32],"showScrollArrows":[32],"showLeftArrow":[32],"showRightArrow":[32],"dropdownOpen":[32],"dropdownLinks":[32],"dropdownActive":[32]},[[0,"itemselection","changeHandler"],[9,"resize","handleResize"]]]]],["pn-page-nav-dropdown-item",[[4,"pn-page-nav-dropdown-item",{"value":[1],"href":[1],"active":[4]}]]],["pn-page-nav-item",[[4,"pn-page-nav-item",{"value":[1],"icon":[1],"href":[1]}]]],["pn-radio-tile",[[4,"pn-radio-tile",{"name":[1],"radioid":[1],"value":[8],"checked":[4],"illustration":[1]}]]],["pn-segment",[[4,"pn-segment",{"segmentid":[1],"name":[1],"value":[1],"selected":[4],"icon":[1]}]]],["pn-tile",[[4,"pn-tile",{"label":[1],"url":[1],"target":[1],"rel":[1],"illustration":[1025],"simple":[32],"checkCardSize":[32],"longpress":[32],"timer":[32]}]]],["pn-toast",[[4,"pn-toast",{"appearance":[1],"icon":[1],"closable":[4],"temporary":[4],"manualDuration":[2,"manual-duration"],"hidden":[1028],"timeout":[32]}]]],["pn-toggle-switch",[[0,"pn-toggle-switch",{"checked":[1028],"disabled":[4],"indeterminate":[4],"toggleid":[1],"name":[1]}]]],["pn-tooltip",[[4,"pn-tooltip",{"warning":[4],"color":[1025],"downwards":[32],"open":[32],"deltaX":[32]}]]],["pn-accordion",[[4,"pn-accordion",{"accordionRows":[32]},[[0,"togglerow","toggleHandler"]]]]],["pn-accordion-row",[[4,"pn-accordion-row",{"label":[1025]}]]],["pn-choice-chip",[[4,"pn-choice-chip",{"value":[520],"name":[1],"choiceid":[1],"disabled":[4],"checked":[4],"indeterminate":[1028]},[[0,"change","handlechange"]]]]],["pn-color",[[0,"pn-color",{"name":[1],"defaultColor":[1,"default-color"],"palette":[16]}]]],["pn-colors",[[0,"pn-colors"]]],["pn-header",[[4,"pn-header",{"heading":[1],"color":[1025],"maxWidth":[1,"max-width"]}]]],["pn-progress-indicator",[[4,"pn-progress-indicator",{"activeStep":[1026,"active-step"]},[[0,"setactivestep","setActiveStepHandler"]]]]],["pn-progress-indicator-step",[[4,"pn-progress-indicator-step",{"activeStep":[2,"active-step"],"index":[2],"name":[1],"checked":[4],"active":[1],"activated":[32],"done":[32]}]]],["pn-radio-button",[[0,"pn-radio-button",{"value":[520],"name":[1],"radioid":[1],"disabled":[4],"checked":[4]}]]],["pn-segmented-control",[[4,"pn-segmented-control",{"name":[1],"value":[1025],"currentSelection":[32],"showScrollArrows":[32],"showLeftArrow":[32],"showRightArrow":[32]},[[0,"change","changeHandler"],[9,"resize","handleResize"]]]]],["pn-tab",[[4,"pn-tab",{"activeTab":[1,"active-tab"],"label":[1],"value":[1]}]]],["pn-table",[[4,"pn-table",{"disabled":[4],"bordered":[4],"striped":[4]}]]],["pn-tablist",[[4,"pn-tablist",{"value":[1025],"stackedicons":[4],"tabElement":[32],"showScrollArrows":[32],"scrollArrowClasses":[32]},[[0,"setactivetab","setActiveTabHandler"],[9,"resize","handleResize"]]]]],["pn-virtual-agent",[[0,"pn-virtual-agent",{"parcelid":[1],"areaid":[2],"show":[4],"status":[32],"instanceActive":[32]}]]],["pn-calendar",[[0,"pn-calendar",{"language":[1],"min":[1],"max":[1],"startOfWeek":[2,"start-of-week"],"value":[1025],"disableWeekends":[4,"disable-weekends"],"disableDays":[1,"disable-days"],"minActiveDate":[1,"min-active-date"],"maxActiveDate":[1,"max-active-date"],"defaultDate":[1,"default-date"],"disableMonthsView":[4,"disable-months-view"],"monthView":[4,"month-view"]}]]],["pn-checkbox",[[0,"pn-checkbox",{"value":[520],"name":[1],"checkboxid":[1],"disabled":[4],"checked":[4],"indeterminate":[1028],"ariaLabel":[1,"aria-label"],"ariaDescribedby":[1,"aria-describedby"]},[[0,"change","handlechange"]]]]],["pn-option",[[4,"pn-option",{"value":[1],"selected":[1540],"selectHasLoaded":[4,"select-has-loaded"],"parentValue":[8,"parent-value"],"checked":[1028],"checkbox":[4],"index":[1]},[[0,"change","changeHandler"]]]]],["pn-progress-bar",[[0,"pn-progress-bar",{"progress":[2],"size":[1],"color":[1],"width":[1],"label":[1],"showSpinner":[4,"show-spinner"],"showPercentage":[4,"show-percentage"]}]]],["pn-illustration",[[0,"pn-illustration",{"illustration":[1]}]]],["pn-spinner",[[0,"pn-spinner",{"light":[4],"size":[1]}]]],["pn-button_2",[[0,"pn-search-field",{"disabled":[4],"placeholder":[1],"inputid":[1],"name":[1],"autocomplete":[1],"list":[1],"value":[1],"label":[1],"loading":[4],"button":[1],"light":[4],"ariaLabel":[1,"aria-label"]},[[0,"input","inputHandler"]]],[4,"pn-button",{"small":[4],"appearance":[1],"variant":[1],"loading":[516],"leftIcon":[4,"left-icon"],"icon":[1],"type":[1],"iconOnly":[4,"icon-only"],"ariaLabel":[1,"aria-label"],"ariaLabelledby":[1,"aria-labelledby"],"ariaControls":[1,"aria-controls"],"ariaPressed":[1,"aria-pressed"],"href":[1],"rel":[1],"target":[1],"download":[4],"tooltipOpen":[32],"tooltipUpwards":[32]}]]]], options);
|
|
14
14
|
});
|
|
15
15
|
};
|
|
16
16
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, a as Host, g as getElement } from './index-602e59ea.js';
|
|
2
2
|
|
|
3
|
-
const pnAccordionRowCss = "pn-accordion-row{position:relative;color:black;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-webkit-transition:-webkit-transform 0.3s cubic-bezier(0.7, 0, 0.3, 1);transition:-webkit-transform 0.3s cubic-bezier(0.7, 0, 0.3, 1);transition:transform 0.3s cubic-bezier(0.7, 0, 0.3, 1);transition:transform 0.3s cubic-bezier(0.7, 0, 0.3, 1), -webkit-transform 0.3s cubic-bezier(0.7, 0, 0.3, 1)}pn-accordion-row+pn-accordion-row{border-top:0.1rem solid #D3CECB;margin-top:0.4rem}pn-accordion-row[data-flipping]{-webkit-transform:translateY(calc(-1px * var(--dy)));transform:translateY(calc(-1px * var(--dy)));-webkit-transition:none;transition:none}pn-accordion-row .accordion-title{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;z-index:0;width:100%;font-weight:400;padding:1em;-webkit-transition:background 0.2s, -webkit-box-shadow 0.1s cubic-bezier(0.7, 0, 0.3, 1);transition:background 0.2s, -webkit-box-shadow 0.1s cubic-bezier(0.7, 0, 0.3, 1);transition:background 0.2s, box-shadow 0.1s cubic-bezier(0.7, 0, 0.3, 1);transition:background 0.2s, box-shadow 0.1s cubic-bezier(0.7, 0, 0.3, 1), -webkit-box-shadow 0.1s cubic-bezier(0.7, 0, 0.3, 1);border-radius:0.8rem;overflow:hidden;position:relative;background:#
|
|
3
|
+
const pnAccordionRowCss = "pn-accordion-row{position:relative;color:black;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-webkit-transition:-webkit-transform 0.3s cubic-bezier(0.7, 0, 0.3, 1);transition:-webkit-transform 0.3s cubic-bezier(0.7, 0, 0.3, 1);transition:transform 0.3s cubic-bezier(0.7, 0, 0.3, 1);transition:transform 0.3s cubic-bezier(0.7, 0, 0.3, 1), -webkit-transform 0.3s cubic-bezier(0.7, 0, 0.3, 1)}pn-accordion-row+pn-accordion-row{border-top:0.1rem solid #D3CECB;margin-top:0.4rem}pn-accordion-row[data-flipping]{-webkit-transform:translateY(calc(-1px * var(--dy)));transform:translateY(calc(-1px * var(--dy)));-webkit-transition:none;transition:none}pn-accordion-row .accordion-title{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;z-index:0;width:100%;font-weight:400;padding:1em;-webkit-transition:background 0.2s, -webkit-box-shadow 0.1s cubic-bezier(0.7, 0, 0.3, 1);transition:background 0.2s, -webkit-box-shadow 0.1s cubic-bezier(0.7, 0, 0.3, 1);transition:background 0.2s, box-shadow 0.1s cubic-bezier(0.7, 0, 0.3, 1);transition:background 0.2s, box-shadow 0.1s cubic-bezier(0.7, 0, 0.3, 1), -webkit-box-shadow 0.1s cubic-bezier(0.7, 0, 0.3, 1);border-radius:0.8rem;overflow:hidden;position:relative;background:#ffffff;border:none;outline:none;cursor:pointer;font-size:1em;}pn-accordion-row .accordion-title:hover{background:#e0f8ff}pn-accordion-row .accordion-title:focus{-webkit-box-shadow:0 0 0 0.2rem white, 0 0 0 0.4rem #005d92;box-shadow:0 0 0 0.2rem white, 0 0 0 0.4rem #005d92}pn-accordion-row .accordion-title>svg{margin-left:auto;-webkit-transition:-webkit-transform 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.25s;transition:-webkit-transform 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.25s;transition:transform 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.25s;transition:transform 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.25s, -webkit-transform 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.25s}pn-accordion-row .accordion-title>svg path{fill:#005D92}pn-accordion-row .accordion-title .pn-ripple{-webkit-animation:ripple 0.4s cubic-bezier(0.7, 0, 0.3, 1) forwards;animation:ripple 0.4s cubic-bezier(0.7, 0, 0.3, 1) forwards;position:absolute;border-radius:50%;background:#005d92;-webkit-transform:translate(-50%, -50%) scale(0);transform:translate(-50%, -50%) scale(0);opacity:0.05;pointer-events:none}@-webkit-keyframes ripple{to{-webkit-transform:translate(-50%, -50%) scale(1);transform:translate(-50%, -50%) scale(1);opacity:0}}@keyframes ripple{to{-webkit-transform:translate(-50%, -50%) scale(1);transform:translate(-50%, -50%) scale(1);opacity:0}}pn-accordion-row .accordion-content{z-index:2;top:0;left:0;width:100%;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}pn-accordion-row .accordion-content .content{position:absolute;left:0;right:0;width:100%;top:100%;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;pointer-events:none;opacity:0;-webkit-transition:opacity 0.3s;transition:opacity 0.3s;padding:1em}pn-accordion-row[data-state=open] .accordion-content .content{position:relative;pointer-events:unset;opacity:1;-webkit-transition-delay:0.2s;transition-delay:0.2s}pn-accordion-row[data-state=open] .accordion-title svg{-webkit-transform:rotate(-180deg);transform:rotate(-180deg);-webkit-transition-delay:0s;transition-delay:0s}";
|
|
4
4
|
|
|
5
5
|
const PnaccordionItem = class {
|
|
6
6
|
constructor(hostRef) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h, a as Host, g as getElement, c as createEvent } from './index-602e59ea.js';
|
|
2
2
|
|
|
3
|
-
const pnButtonCss = "pn-button{display:inline-block}pn-button button,pn-button a{color:#fff;cursor:pointer;padding:0.75em 1.2em;width:100%;border:none;border-radius:3em;outline:none;position:relative;font-size:1em;min-height:3em;min-width:5.5em;font-weight:500;background:transparent;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-webkit-transition:color 0.3s;transition:color 0.3s;-webkit-tap-highlight-color:transparent;}pn-button button pn-icon,pn-button a pn-icon{-ms-flex-negative:0;flex-shrink:0;margin:0 0 0 0.5em}pn-button button pn-icon svg path,pn-button a pn-icon svg path{fill:#fff;-webkit-transition:fill 0.3s;transition:fill 0.3s}pn-button button .pn-button-content,pn-button a .pn-button-content{z-index:2;-webkit-transition:opacity 0.1s, -webkit-transform 0.2s;transition:opacity 0.1s, -webkit-transform 0.2s;transition:opacity 0.1s, transform 0.2s;transition:opacity 0.1s, transform 0.2s, -webkit-transform 0.2s;-webkit-transition-delay:0.2s;transition-delay:0.2s;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}pn-button button .pn-button-bg,pn-button a .pn-button-bg{position:absolute;width:100%;height:100%;top:0;left:50%;border-radius:3em;border:0.1rem solid transparent;background:#005D92;-webkit-transform:translateX(-50%);transform:translateX(-50%);-webkit-transition:width 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.2s, background 0.1s, -webkit-box-shadow 0.1s;transition:width 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.2s, background 0.1s, -webkit-box-shadow 0.1s;transition:width 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.2s, background 0.1s, box-shadow 0.1s;transition:width 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.2s, background 0.1s, box-shadow 0.1s, -webkit-box-shadow 0.1s;overflow:hidden}pn-button button .pn-button-bg::after,pn-button a .pn-button-bg::after{content:\"\";position:absolute;will-change:transform;-webkit-transition:-webkit-transform 0.2s cubic-bezier(0.7, 0, 0.3, 1);transition:-webkit-transform 0.2s cubic-bezier(0.7, 0, 0.3, 1);transition:transform 0.2s cubic-bezier(0.7, 0, 0.3, 1);transition:transform 0.2s cubic-bezier(0.7, 0, 0.3, 1), -webkit-transform 0.2s cubic-bezier(0.7, 0, 0.3, 1);width:100%;height:100%;background:#0D234B;border-radius:inherit;left:0;-webkit-transform:translateX(-103%);transform:translateX(-103%);opacity:0.5}pn-button button.pn-button-light,pn-button a.pn-button-light{color:#005D92}pn-button button.pn-button-light pn-icon svg path,pn-button a.pn-button-light pn-icon svg path{fill:#005D92}pn-button button.pn-button-light pn-spinner .circle,pn-button a.pn-button-light pn-spinner .circle{stroke:#005D92}pn-button button.pn-button-light pn-spinner .dot,pn-button a.pn-button-light pn-spinner .dot{fill:#005D92}pn-button button.pn-button-light .pn-button-bg,pn-button a.pn-button-light .pn-button-bg{border:0.1rem solid #005D92;background:#fff}pn-button button.pn-button-light .pn-button-bg:after,pn-button a.pn-button-light .pn-button-bg:after{background:#E0F8FF;opacity:1}pn-button button.pn-button-light .pn-button-bg .pn-ripple,pn-button a.pn-button-light .pn-button-bg .pn-ripple{background:#005D92}pn-button button.pn-button-warning,pn-button a.pn-button-warning{color:#A70707}pn-button button.pn-button-warning pn-icon svg path,pn-button a.pn-button-warning pn-icon svg path{fill:#A70707}pn-button button.pn-button-warning pn-spinner .circle,pn-button a.pn-button-warning pn-spinner .circle{stroke:#A70707}pn-button button.pn-button-warning pn-spinner .dot,pn-button a.pn-button-warning pn-spinner .dot{fill:#A70707}pn-button button.pn-button-warning .pn-button-bg,pn-button a.pn-button-warning .pn-button-bg{border:0.1rem solid #A70707;background:#FDEFEE}pn-button button.pn-button-warning .pn-button-bg:after,pn-button a.pn-button-warning .pn-button-bg:after{background:#A70707;opacity:1}pn-button button.pn-button-variation-borderless .pn-button-bg,pn-button a.pn-button-variation-borderless .pn-button-bg{border:0.1rem solid transparent;background:transparent}pn-button button.pn-button-variation-borderless.pn-button-dark .pn-button-bg:after,pn-button a.pn-button-variation-borderless.pn-button-dark .pn-button-bg:after{background:white;opacity:0.1}pn-button button.pn-button-variation-outlined .pn-button-bg,pn-button a.pn-button-variation-outlined .pn-button-bg{background:transparent}pn-button button.pn-button-variation-outlined.pn-button-dark .pn-button-bg,pn-button a.pn-button-variation-outlined.pn-button-dark .pn-button-bg{border-color:#FFFFFF}pn-button button.pn-button-variation-outlined.pn-button-dark .pn-button-bg::after,pn-button a.pn-button-variation-outlined.pn-button-dark .pn-button-bg::after{background:white;opacity:0.1}pn-button button.pn-button-variation-outlined.pn-button-light .pn-button-bg::after,pn-button a.pn-button-variation-outlined.pn-button-light .pn-button-bg::after{background:#00A0D6;opacity:0.1}pn-button button.pn-button-left-icon .pn-button-content,pn-button a.pn-button-left-icon .pn-button-content{-ms-flex-direction:row-reverse;flex-direction:row-reverse}pn-button button.pn-button-left-icon .pn-button-content pn-icon,pn-button a.pn-button-left-icon .pn-button-content pn-icon{margin:0 0.5em 0 0}pn-button button.icon-only,pn-button a.icon-only{width:3em;min-width:0}pn-button button.icon-only pn-icon,pn-button a.icon-only pn-icon{margin:0}pn-button button.icon-only.pn-button-small,pn-button a.icon-only.pn-button-small{width:2.286em;min-width:0;padding:0}pn-button button.pn-button-small,pn-button a.pn-button-small{font-size:1.4rem;padding:0.5em 1em;font-weight:normal;min-height:2.286em;min-width:none}pn-button button.pn-button-small pn-icon svg,pn-button a.pn-button-small pn-icon svg{height:1.28em;width:1.28em}a:focus>pn-button button .pn-button-bg,pn-button button:focus .pn-button-bg,pn-button a:focus .pn-button-bg{-webkit-box-shadow:0 0 0 0.2rem #fff, 0 0 0 0.4rem #005D92;box-shadow:0 0 0 0.2rem #fff, 0 0 0 0.4rem #005D92}a:focus>pn-button button .pn-button-bg:after,pn-button button:hover .pn-button-bg:after,pn-button button:focus .pn-button-bg:after,pn-button a:hover .pn-button-bg:after,pn-button a:focus .pn-button-bg:after{-webkit-transform:translateX(0);transform:translateX(0)}a:focus>pn-button button.pn-button-warning,pn-button button.pn-button-warning:hover,pn-button a.pn-button-warning:hover,pn-button button.pn-button-warning:focus,pn-button a.pn-button-warning:focus{color:#fff}a:focus>pn-button button.pn-button-warning pn-icon svg path,pn-button button.pn-button-warning:hover pn-icon svg path,pn-button a.pn-button-warning:hover pn-icon svg path,pn-button button.pn-button-warning:focus pn-icon svg path,pn-button a.pn-button-warning:focus pn-icon svg path{fill:#fff}a:focus>pn-button button.pn-button-warning pn-spinner .circle,pn-button button.pn-button-warning:hover pn-spinner .circle,pn-button a.pn-button-warning:hover pn-spinner .circle,pn-button button.pn-button-warning:focus pn-spinner .circle,pn-button a.pn-button-warning:focus pn-spinner .circle{stroke:#fff}a:focus>pn-button button.pn-button-warning pn-spinner .dot,pn-button button.pn-button-warning:hover pn-spinner .dot,pn-button a.pn-button-warning:hover pn-spinner .dot,pn-button button.pn-button-warning:focus pn-spinner .dot,pn-button a.pn-button-warning:focus pn-spinner .dot{fill:#fff}a:focus>pn-button button.pn-button-warning .pn-button-bg,pn-button button.pn-button-warning:focus .pn-button-bg,pn-button a.pn-button-warning:focus .pn-button-bg{-webkit-box-shadow:0 0 0 0.2rem #fff, 0 0 0 0.4rem #A70707;box-shadow:0 0 0 0.2rem #fff, 0 0 0 0.4rem #A70707}pn-button .pn-ripple{-webkit-animation:ripple 0.4s cubic-bezier(0.7, 0, 0.3, 1);animation:ripple 0.4s cubic-bezier(0.7, 0, 0.3, 1);position:absolute;border-radius:50%;background:#fff;-webkit-transform:translate(-50%, -50%) scale(0);transform:translate(-50%, -50%) scale(0);opacity:0.1;pointer-events:none;z-index:3}@-webkit-keyframes ripple{to{-webkit-transform:translate(-50%, -50%) scale(1);transform:translate(-50%, -50%) scale(1);opacity:0}}@keyframes ripple{to{-webkit-transform:translate(-50%, -50%) scale(1);transform:translate(-50%, -50%) scale(1);opacity:0}}pn-button pn-spinner{position:absolute;-webkit-transform:scale(0);transform:scale(0)}pn-button[data-loading] pn-spinner{-webkit-transform:scale(1);transform:scale(1);-webkit-transition:-webkit-transform 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.3s;transition:-webkit-transform 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.3s;transition:transform 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.3s;transition:transform 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.3s, -webkit-transform 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.3s}pn-button[data-loading] .pn-button-content{opacity:0;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transform:translateY(100%);transform:translateY(100%)}pn-button[data-loading] .pn-button-bg{width:3em}pn-button[data-loading] button.pn-button-small .pn-button-bg,pn-button[data-loading] a.pn-button-small .pn-button-bg{width:2.286em}pn-button button .button-tooltip,pn-button a .button-tooltip{position:absolute;top:calc(100% + 0.35em);left:50%;background:#0a406e;color:#FFFFFF;padding:0.25em 0.75em;font-size:0.875em;font-weight:300;border-radius:1em;-webkit-box-shadow:0 1.2px 3.6px rgba(0, 0, 0, 0.1), 0 6.4px 14.4px rgba(0, 0, 0, 0.13);box-shadow:0 1.2px 3.6px rgba(0, 0, 0, 0.1), 0 6.4px 14.4px rgba(0, 0, 0, 0.13);z-index:5;max-width:min(95vw, 40em);-webkit-transition:opacity 0.25s cubic-bezier(0.7, 0, 0.3, 1);transition:opacity 0.25s cubic-bezier(0.7, 0, 0.3, 1);-webkit-transform:translateX(-50%);transform:translateX(-50%);width:-webkit-max-content;width:-moz-max-content;width:max-content;opacity:0;pointer-events:none}pn-button button[data-tooltip-open] .button-tooltip,pn-button a[data-tooltip-open] .button-tooltip{opacity:1;-webkit-transition-delay:5s;transition-delay:5s}pn-button button.button-tooltip-upwards .button-tooltip,pn-button a.button-tooltip-upwards .button-tooltip{top:auto;bottom:calc(100% + 0.35em)}pn-button button.pn-button-warning .button-tooltip,pn-button a.pn-button-warning .button-tooltip{background:#A70707;color:#FFFFFF}pn-button a{text-decoration:none}pn-button a:hover{color:#FFFFFF}pn-button a:hover.pn-button-light{color:#005D92}";
|
|
3
|
+
const pnButtonCss = "pn-button{display:inline-block}pn-button button,pn-button a{color:#fff;cursor:pointer;padding:0.75em 1.2em;width:100%;border:none;border-radius:3em;outline:none;position:relative;font-size:1em;min-height:3em;min-width:5.5em;font-weight:500;background:transparent;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-webkit-transition:color 0.3s;transition:color 0.3s;-webkit-tap-highlight-color:transparent;}pn-button button pn-icon,pn-button a pn-icon{-ms-flex-negative:0;flex-shrink:0;margin:0 0 0 0.5em}pn-button button pn-icon svg path,pn-button a pn-icon svg path{fill:#fff;-webkit-transition:fill 0.3s;transition:fill 0.3s}pn-button button .pn-button-content,pn-button a .pn-button-content{z-index:2;-webkit-transition:opacity 0.1s, -webkit-transform 0.2s;transition:opacity 0.1s, -webkit-transform 0.2s;transition:opacity 0.1s, transform 0.2s;transition:opacity 0.1s, transform 0.2s, -webkit-transform 0.2s;-webkit-transition-delay:0.2s;transition-delay:0.2s;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}pn-button button .pn-button-bg,pn-button a .pn-button-bg{position:absolute;width:100%;height:100%;top:0;left:50%;border-radius:3em;border:0.1rem solid transparent;background:#005d92;-webkit-transform:translateX(-50%);transform:translateX(-50%);-webkit-transition:width 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.2s, background 0.1s, -webkit-box-shadow 0.1s;transition:width 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.2s, background 0.1s, -webkit-box-shadow 0.1s;transition:width 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.2s, background 0.1s, box-shadow 0.1s;transition:width 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.2s, background 0.1s, box-shadow 0.1s, -webkit-box-shadow 0.1s;overflow:hidden}pn-button button .pn-button-bg::after,pn-button a .pn-button-bg::after{content:\"\";position:absolute;will-change:transform;-webkit-transition:-webkit-transform 0.2s cubic-bezier(0.7, 0, 0.3, 1);transition:-webkit-transform 0.2s cubic-bezier(0.7, 0, 0.3, 1);transition:transform 0.2s cubic-bezier(0.7, 0, 0.3, 1);transition:transform 0.2s cubic-bezier(0.7, 0, 0.3, 1), -webkit-transform 0.2s cubic-bezier(0.7, 0, 0.3, 1);width:100%;height:100%;background:#0d234b;border-radius:inherit;left:0;-webkit-transform:translateX(-103%);transform:translateX(-103%);opacity:0.5}pn-button button.pn-button-light,pn-button a.pn-button-light{color:#005d92}pn-button button.pn-button-light pn-icon svg path,pn-button a.pn-button-light pn-icon svg path{fill:#005d92}pn-button button.pn-button-light pn-spinner .circle,pn-button a.pn-button-light pn-spinner .circle{stroke:#005d92}pn-button button.pn-button-light pn-spinner .dot,pn-button a.pn-button-light pn-spinner .dot{fill:#005d92}pn-button button.pn-button-light .pn-button-bg,pn-button a.pn-button-light .pn-button-bg{border:0.1rem solid #005d92;background:#fff}pn-button button.pn-button-light .pn-button-bg:after,pn-button a.pn-button-light .pn-button-bg:after{background:#e0f8ff;opacity:1}pn-button button.pn-button-light .pn-button-bg .pn-ripple,pn-button a.pn-button-light .pn-button-bg .pn-ripple{background:#005d92}pn-button button.pn-button-warning,pn-button a.pn-button-warning{color:#a70707}pn-button button.pn-button-warning pn-icon svg path,pn-button a.pn-button-warning pn-icon svg path{fill:#a70707}pn-button button.pn-button-warning pn-spinner .circle,pn-button a.pn-button-warning pn-spinner .circle{stroke:#a70707}pn-button button.pn-button-warning pn-spinner .dot,pn-button a.pn-button-warning pn-spinner .dot{fill:#a70707}pn-button button.pn-button-warning .pn-button-bg,pn-button a.pn-button-warning .pn-button-bg{border:0.1rem solid #a70707;background:#fdefee}pn-button button.pn-button-warning .pn-button-bg:after,pn-button a.pn-button-warning .pn-button-bg:after{background:#a70707;opacity:1}pn-button button.pn-button-variation-borderless .pn-button-bg,pn-button a.pn-button-variation-borderless .pn-button-bg{border:0.1rem solid transparent;background:transparent}pn-button button.pn-button-variation-borderless.pn-button-dark .pn-button-bg:after,pn-button a.pn-button-variation-borderless.pn-button-dark .pn-button-bg:after{background:white;opacity:0.1}pn-button button.pn-button-variation-outlined .pn-button-bg,pn-button a.pn-button-variation-outlined .pn-button-bg{background:transparent}pn-button button.pn-button-variation-outlined.pn-button-dark .pn-button-bg,pn-button a.pn-button-variation-outlined.pn-button-dark .pn-button-bg{border-color:#ffffff}pn-button button.pn-button-variation-outlined.pn-button-dark .pn-button-bg::after,pn-button a.pn-button-variation-outlined.pn-button-dark .pn-button-bg::after{background:white;opacity:0.1}pn-button button.pn-button-variation-outlined.pn-button-light .pn-button-bg::after,pn-button a.pn-button-variation-outlined.pn-button-light .pn-button-bg::after{background:#00a0d6;opacity:0.1}pn-button button.pn-button-left-icon .pn-button-content,pn-button a.pn-button-left-icon .pn-button-content{-ms-flex-direction:row-reverse;flex-direction:row-reverse}pn-button button.pn-button-left-icon .pn-button-content pn-icon,pn-button a.pn-button-left-icon .pn-button-content pn-icon{margin:0 0.5em 0 0}pn-button button.icon-only,pn-button a.icon-only{width:3em;min-width:0}pn-button button.icon-only pn-icon,pn-button a.icon-only pn-icon{margin:0}pn-button button.icon-only.pn-button-small,pn-button a.icon-only.pn-button-small{width:2.286em;min-width:0;padding:0}pn-button button.pn-button-small,pn-button a.pn-button-small{font-size:1.4rem;padding:0.5em 1em;font-weight:normal;min-height:2.286em;min-width:none}pn-button button.pn-button-small pn-icon svg,pn-button a.pn-button-small pn-icon svg{height:1.28em;width:1.28em}a:focus>pn-button button .pn-button-bg,pn-button button:focus .pn-button-bg,pn-button a:focus .pn-button-bg{-webkit-box-shadow:0 0 0 0.2rem #fff, 0 0 0 0.4rem #005d92;box-shadow:0 0 0 0.2rem #fff, 0 0 0 0.4rem #005d92}a:focus>pn-button button .pn-button-bg:after,pn-button button:hover .pn-button-bg:after,pn-button button:focus .pn-button-bg:after,pn-button a:hover .pn-button-bg:after,pn-button a:focus .pn-button-bg:after{-webkit-transform:translateX(0);transform:translateX(0)}a:focus>pn-button button.pn-button-warning,pn-button button.pn-button-warning:hover,pn-button a.pn-button-warning:hover,pn-button button.pn-button-warning:focus,pn-button a.pn-button-warning:focus{color:#fff}a:focus>pn-button button.pn-button-warning pn-icon svg path,pn-button button.pn-button-warning:hover pn-icon svg path,pn-button a.pn-button-warning:hover pn-icon svg path,pn-button button.pn-button-warning:focus pn-icon svg path,pn-button a.pn-button-warning:focus pn-icon svg path{fill:#fff}a:focus>pn-button button.pn-button-warning pn-spinner .circle,pn-button button.pn-button-warning:hover pn-spinner .circle,pn-button a.pn-button-warning:hover pn-spinner .circle,pn-button button.pn-button-warning:focus pn-spinner .circle,pn-button a.pn-button-warning:focus pn-spinner .circle{stroke:#fff}a:focus>pn-button button.pn-button-warning pn-spinner .dot,pn-button button.pn-button-warning:hover pn-spinner .dot,pn-button a.pn-button-warning:hover pn-spinner .dot,pn-button button.pn-button-warning:focus pn-spinner .dot,pn-button a.pn-button-warning:focus pn-spinner .dot{fill:#fff}a:focus>pn-button button.pn-button-warning .pn-button-bg,pn-button button.pn-button-warning:focus .pn-button-bg,pn-button a.pn-button-warning:focus .pn-button-bg{-webkit-box-shadow:0 0 0 0.2rem #fff, 0 0 0 0.4rem #a70707;box-shadow:0 0 0 0.2rem #fff, 0 0 0 0.4rem #a70707}pn-button .pn-ripple{-webkit-animation:ripple 0.4s cubic-bezier(0.7, 0, 0.3, 1);animation:ripple 0.4s cubic-bezier(0.7, 0, 0.3, 1);position:absolute;border-radius:50%;background:#fff;-webkit-transform:translate(-50%, -50%) scale(0);transform:translate(-50%, -50%) scale(0);opacity:0.1;pointer-events:none;z-index:3}@-webkit-keyframes ripple{to{-webkit-transform:translate(-50%, -50%) scale(1);transform:translate(-50%, -50%) scale(1);opacity:0}}@keyframes ripple{to{-webkit-transform:translate(-50%, -50%) scale(1);transform:translate(-50%, -50%) scale(1);opacity:0}}pn-button pn-spinner{position:absolute;-webkit-transform:scale(0);transform:scale(0)}pn-button[data-loading] pn-spinner{-webkit-transform:scale(1);transform:scale(1);-webkit-transition:-webkit-transform 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.3s;transition:-webkit-transform 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.3s;transition:transform 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.3s;transition:transform 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.3s, -webkit-transform 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.3s}pn-button[data-loading] .pn-button-content{opacity:0;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transform:translateY(100%);transform:translateY(100%)}pn-button[data-loading] .pn-button-bg{width:3em}pn-button[data-loading] button.pn-button-small .pn-button-bg,pn-button[data-loading] a.pn-button-small .pn-button-bg{width:2.286em}pn-button button .button-tooltip,pn-button a .button-tooltip{position:absolute;top:calc(100% + 0.35em);left:50%;background:#0a406e;color:#ffffff;padding:0.25em 0.75em;font-size:0.875em;font-weight:300;border-radius:1em;-webkit-box-shadow:0 1.2px 3.6px rgba(0, 0, 0, 0.1), 0 6.4px 14.4px rgba(0, 0, 0, 0.13);box-shadow:0 1.2px 3.6px rgba(0, 0, 0, 0.1), 0 6.4px 14.4px rgba(0, 0, 0, 0.13);z-index:5;max-width:min(95vw, 40em);-webkit-transition:opacity 0.25s cubic-bezier(0.7, 0, 0.3, 1);transition:opacity 0.25s cubic-bezier(0.7, 0, 0.3, 1);-webkit-transform:translateX(-50%);transform:translateX(-50%);width:-webkit-max-content;width:-moz-max-content;width:max-content;opacity:0;pointer-events:none}pn-button button[data-tooltip-open] .button-tooltip,pn-button a[data-tooltip-open] .button-tooltip{opacity:1;-webkit-transition-delay:5s;transition-delay:5s}pn-button button.button-tooltip-upwards .button-tooltip,pn-button a.button-tooltip-upwards .button-tooltip{top:auto;bottom:calc(100% + 0.35em)}pn-button button.pn-button-warning .button-tooltip,pn-button a.pn-button-warning .button-tooltip{background:#a70707;color:#ffffff}pn-button a{text-decoration:none}pn-button a:hover{color:#ffffff}pn-button a:hover.pn-button-light{color:#005d92}";
|
|
4
4
|
|
|
5
5
|
const PnButton = class {
|
|
6
6
|
constructor(hostRef) {
|
|
@@ -64,8 +64,8 @@ const PnButton = class {
|
|
|
64
64
|
const openEvents = ['mouseover', 'focus'];
|
|
65
65
|
const closeEvents = ['mouseleave', 'blur'];
|
|
66
66
|
const eventListeners = [...openEvents, ...closeEvents];
|
|
67
|
-
eventListeners.forEach(
|
|
68
|
-
tooltipAnchor.addEventListener(e,
|
|
67
|
+
eventListeners.forEach(e => {
|
|
68
|
+
tooltipAnchor.addEventListener(e, event => {
|
|
69
69
|
// Should open?
|
|
70
70
|
if (openEvents.includes(event.type)) {
|
|
71
71
|
this.tooltipOpen = true;
|
|
@@ -91,7 +91,6 @@ const PnButton = class {
|
|
|
91
91
|
this.tooltipDx = '0';
|
|
92
92
|
this.tooltipUpwards = y + height > window.innerHeight;
|
|
93
93
|
this.tooltipEl.style.transform = '';
|
|
94
|
-
console.log(this.tooltipUpwards);
|
|
95
94
|
if (x < 0)
|
|
96
95
|
this.tooltipDx = `${x * -1 + extraMargin}`;
|
|
97
96
|
if (right > window.innerWidth)
|
|
@@ -166,7 +165,7 @@ const PnButton = class {
|
|
|
166
165
|
}
|
|
167
166
|
render() {
|
|
168
167
|
const TagName = this.getTagName();
|
|
169
|
-
return (h(Host, { class: "pn-button" }, h(TagName, Object.assign({ class: this.getClassNames(), "data-loading": this.loading, onClick:
|
|
168
|
+
return (h(Host, { class: "pn-button" }, h(TagName, Object.assign({ class: this.getClassNames(), "data-loading": this.loading, onClick: e => this.ripple(e, this.hostElement), "aria-label": this.ariaLabel, "aria-labelledby": this.ariaLabelledby, "data-tooltip-open": this.tooltipOpen, "aria-controls": this.ariaControls, "aria-pressed": this.ariaPressed }, this.getAttributes()), h("div", { class: "pn-button-bg" }), h("div", { class: "pn-button-content" }, !this.iconOnly && h("slot", null), this.icon && h("pn-icon", { symbol: this.icon })), h("pn-spinner", { light: true }), this.iconOnly && (h("div", { class: "button-tooltip" }, h("slot", null))))));
|
|
170
169
|
}
|
|
171
170
|
get hostElement() { return getElement(this); }
|
|
172
171
|
static get watchers() { return {
|
|
@@ -175,7 +174,7 @@ const PnButton = class {
|
|
|
175
174
|
};
|
|
176
175
|
PnButton.style = pnButtonCss;
|
|
177
176
|
|
|
178
|
-
const pnSearchFieldCss = "pn-search-field{display:-ms-inline-flexbox;display:inline-flex}pn-search-field>pn-button{margin-left:0.35em}pn-search-field>pn-button button .pn-button-bg{-webkit-transition:width 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.2s, background 0.1s, left 0.2s, -webkit-box-shadow 0.1s, -webkit-transform 0.2s;transition:width 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.2s, background 0.1s, left 0.2s, -webkit-box-shadow 0.1s, -webkit-transform 0.2s;transition:width 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.2s, background 0.1s, box-shadow 0.1s, left 0.2s, transform 0.2s;transition:width 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.2s, background 0.1s, box-shadow 0.1s, left 0.2s, transform 0.2s, -webkit-box-shadow 0.1s, -webkit-transform 0.2s}pn-search-field>pn-button[data-loading=true] .pn-button-bg{left:0;-webkit-transform:translateX(0);transform:translateX(0);-webkit-transition:width 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.2s, background 0.1s, -webkit-box-shadow 0.1s;transition:width 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.2s, background 0.1s, -webkit-box-shadow 0.1s;transition:width 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.2s, background 0.1s, box-shadow 0.1s;transition:width 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.2s, background 0.1s, box-shadow 0.1s, -webkit-box-shadow 0.1s}pn-search-field>pn-button[data-loading=true] pn-spinner{left:0.75em}pn-search-field input{padding:0.75em;min-height:3em;font-size:1em;height:100%;font-weight:500;-webkit-font-smoothing:antialiased;outline:none;border-radius:3em;border:0.1rem solid #
|
|
177
|
+
const pnSearchFieldCss = "pn-search-field{display:-ms-inline-flexbox;display:inline-flex}pn-search-field>pn-button{margin-left:0.35em}pn-search-field>pn-button button .pn-button-bg{-webkit-transition:width 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.2s, background 0.1s, left 0.2s, -webkit-box-shadow 0.1s, -webkit-transform 0.2s;transition:width 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.2s, background 0.1s, left 0.2s, -webkit-box-shadow 0.1s, -webkit-transform 0.2s;transition:width 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.2s, background 0.1s, box-shadow 0.1s, left 0.2s, transform 0.2s;transition:width 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.2s, background 0.1s, box-shadow 0.1s, left 0.2s, transform 0.2s, -webkit-box-shadow 0.1s, -webkit-transform 0.2s}pn-search-field>pn-button[data-loading=true] .pn-button-bg{left:0;-webkit-transform:translateX(0);transform:translateX(0);-webkit-transition:width 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.2s, background 0.1s, -webkit-box-shadow 0.1s;transition:width 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.2s, background 0.1s, -webkit-box-shadow 0.1s;transition:width 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.2s, background 0.1s, box-shadow 0.1s;transition:width 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.2s, background 0.1s, box-shadow 0.1s, -webkit-box-shadow 0.1s}pn-search-field>pn-button[data-loading=true] pn-spinner{left:0.75em}pn-search-field input{padding:0.75em;min-height:3em;font-size:1em;height:100%;font-weight:500;-webkit-font-smoothing:antialiased;outline:none;border-radius:3em;border:0.1rem solid #5e554a;-webkit-transition:border 0.15s, -webkit-box-shadow 0.15s;transition:border 0.15s, -webkit-box-shadow 0.15s;transition:box-shadow 0.15s, border 0.15s;transition:box-shadow 0.15s, border 0.15s, -webkit-box-shadow 0.15s;color:#000000;width:100%}pn-search-field input::-webkit-search-cancel-button{display:none}pn-search-field input::-webkit-input-placeholder{color:#969087;font-weight:normal}pn-search-field input::-moz-placeholder{color:#969087;font-weight:normal}pn-search-field input:-ms-input-placeholder{color:#969087;font-weight:normal}pn-search-field input::-ms-input-placeholder{color:#969087;font-weight:normal}pn-search-field input::placeholder{color:#969087;font-weight:normal}pn-search-field input:focus{border:0.1rem solid #005d92;-webkit-box-shadow:0 0 0 0.2rem #fff, 0 0 0 0.4rem #005d92;box-shadow:0 0 0 0.2rem #fff, 0 0 0 0.4rem #005d92}pn-search-field input:hover{border:0.1rem solid #00a0d6}pn-search-field input:disabled{background:#f3f2f2;border:none}pn-search-field>.input-container{width:100%;position:relative}pn-search-field>.input-container .button-container{position:absolute;top:0;right:0;background:transparent;width:3em;height:100%;overflow:hidden;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}pn-search-field>.input-container button{position:absolute;left:50%;top:50%;-webkit-transform:translate(100%, -50%);transform:translate(100%, -50%);background:none;border:none;color:#005d92;padding:0.3rem;margin:0;font-size:0.875em;border-radius:50%;outline:none;-webkit-transition:border 0.1s, background 0.2s, opacity 0.2s, -webkit-box-shadow 0.1s, -webkit-transform cubic-bezier(0.7, 0, 0.3, 1) 0.2s;transition:border 0.1s, background 0.2s, opacity 0.2s, -webkit-box-shadow 0.1s, -webkit-transform cubic-bezier(0.7, 0, 0.3, 1) 0.2s;transition:border 0.1s, background 0.2s, box-shadow 0.1s, transform cubic-bezier(0.7, 0, 0.3, 1) 0.2s, opacity 0.2s;transition:border 0.1s, background 0.2s, box-shadow 0.1s, transform cubic-bezier(0.7, 0, 0.3, 1) 0.2s, opacity 0.2s, -webkit-box-shadow 0.1s, -webkit-transform cubic-bezier(0.7, 0, 0.3, 1) 0.2s;border:0.1rem solid transparent;-webkit-tap-highlight-color:transparent}pn-search-field>.input-container button.clear,pn-search-field>.input-container button.search{cursor:pointer}pn-search-field>.input-container button:focus{-webkit-box-shadow:0 0 0 0.2rem #fff, 0 0 0 0.4rem #005d92;box-shadow:0 0 0 0.2rem #fff, 0 0 0 0.4rem #005d92}pn-search-field>.input-container button:hover,pn-search-field>.input-container button:focus{background:#e0f8ff}pn-search-field>.input-container button:active{background:#005d92}pn-search-field>.input-container button:active pn-icon svg,pn-search-field>.input-container button:active pn-icon svg path{fill:white}pn-search-field.searching button.search{-webkit-transform:translate(150%, -50%);transform:translate(150%, -50%)}pn-search-field.searching button.clear{-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}pn-search-field.button-none input,pn-search-field.button-icon-inline input{padding-right:3.3em}pn-search-field.button-none pn-spinner,pn-search-field.button-icon-inline pn-spinner{position:absolute;left:50%;top:50%;-webkit-transform:translate(100%, -50%);transform:translate(100%, -50%);-webkit-transition:-webkit-transform cubic-bezier(0.7, 0, 0.3, 1) 0.2s;transition:-webkit-transform cubic-bezier(0.7, 0, 0.3, 1) 0.2s;transition:transform cubic-bezier(0.7, 0, 0.3, 1) 0.2s;transition:transform cubic-bezier(0.7, 0, 0.3, 1) 0.2s, -webkit-transform cubic-bezier(0.7, 0, 0.3, 1) 0.2s}pn-search-field.button-none button.search,pn-search-field.button-icon-inline button.search{-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}pn-search-field.button-none.loading button,pn-search-field.button-icon-inline.loading button{-webkit-transform:translate(100%, -50%);transform:translate(100%, -50%)}pn-search-field.button-none.loading pn-spinner,pn-search-field.button-icon-inline.loading pn-spinner{-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}pn-search-field.button-none.searching button.search{-webkit-transform:translate(100%, -50%);transform:translate(100%, -50%)}pn-search-field.button-icon>pn-button[data-loading=true] .pn-button-bg{left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}";
|
|
179
178
|
|
|
180
179
|
const PnSearchField = class {
|
|
181
180
|
constructor(hostRef) {
|
|
@@ -197,6 +196,7 @@ const PnSearchField = class {
|
|
|
197
196
|
this.button = '';
|
|
198
197
|
/** Light instead of dark search button */
|
|
199
198
|
this.light = false;
|
|
199
|
+
this.ariaLabel = null;
|
|
200
200
|
}
|
|
201
201
|
inputHandler() {
|
|
202
202
|
this.update.emit(this.value);
|
|
@@ -228,7 +228,7 @@ const PnSearchField = class {
|
|
|
228
228
|
return classNames;
|
|
229
229
|
}
|
|
230
230
|
render() {
|
|
231
|
-
return (h(Host, { class: this.getClassNames() }, h("div", { class: "input-container" }, h("input", { type: "search", value: this.value, id: this.inputid, name: this.name, placeholder: this.placeholder, disabled: this.disabled, autocomplete: this.autocomplete, list: this.list, onKeyDown:
|
|
231
|
+
return (h(Host, { class: this.getClassNames() }, h("div", { class: "input-container" }, h("input", { type: "search", value: this.value, id: this.inputid, name: this.name, placeholder: this.placeholder, disabled: this.disabled, autocomplete: this.autocomplete, list: this.list, onKeyDown: e => this.emitSearch(e), onInput: e => this.setVal(e), "aria-label": this.ariaLabel }), h("div", { class: "button-container" }, (this.button === 'none' || this.button === 'icon-inline') && (h("button", { class: "search", tabindex: this.button === 'icon-inline' ? '0' : '-1', onClick: e => this.emitSearch(e), "aria-label": "search", title: "search", type: "button" }, h("pn-icon", { symbol: "search", color: "blue700" }))), this.button !== 'icon-inline' && (h("button", { class: "clear", "aria-label": "clear", title: "clear search field", tabindex: this.value && (!this.loading || this.button !== 'none') ? '0' : '-1', onClick: () => this.clearInput(), type: "button" }, h("pn-icon", { symbol: "close-small", color: "blue700" }))), this.button === 'none' || (this.button === 'icon-inline' && h("pn-spinner", null)))), this.button !== 'none' && this.button !== 'icon-inline' && (h("pn-button", { onClick: e => this.emitSearch(e), loading: this.loading, icon: "search", appearance: this.light ? 'light' : 'dark', "icon-only": this.button === 'icon' }, this.label))));
|
|
232
232
|
}
|
|
233
233
|
get hostElement() { return getElement(this); }
|
|
234
234
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-602e59ea.js';
|
|
2
2
|
import { c as createDateOrNull, a as computeMonths, b as getMonthNamesByLanguage, e as getDayNamesByLanguage } from './helpers-53c419b0.js';
|
|
3
3
|
|
|
4
|
-
const pnCalendarCss = "pn-calendar .pn-calendar-wrapper{position:relative}pn-calendar .pn-calendar-container{-webkit-box-sizing:border-box;box-sizing:border-box;display:block;width:100%;background-color:white;z-index:9999}pn-calendar .pn-calendar-container .pn-calendar-nav{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center;margin-bottom:1.6rem}pn-calendar .pn-calendar-container .pn-calendar-nav>div{cursor:pointer}pn-calendar .pn-calendar-container .pn-calendar-nav .nav-previous,pn-calendar .pn-calendar-container .pn-calendar-nav .nav-next{width:3rem;display:-ms-flexbox;display:flex}pn-calendar .pn-calendar-container .pn-calendar-nav .nav-previous{text-align:left;-ms-flex-pack:start;justify-content:flex-start}pn-calendar .pn-calendar-container .pn-calendar-nav .nav-next{text-align:right;-ms-flex-pack:end;justify-content:flex-end}pn-calendar .pn-calendar-container .pn-calendar-nav .pn-calendar-month{padding:1em;border:0.1rem solid #
|
|
4
|
+
const pnCalendarCss = "pn-calendar .pn-calendar-wrapper{position:relative}pn-calendar .pn-calendar-container{-webkit-box-sizing:border-box;box-sizing:border-box;display:block;width:100%;background-color:white;z-index:9999}pn-calendar .pn-calendar-container .pn-calendar-nav{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center;margin-bottom:1.6rem}pn-calendar .pn-calendar-container .pn-calendar-nav>div{cursor:pointer}pn-calendar .pn-calendar-container .pn-calendar-nav .nav-previous,pn-calendar .pn-calendar-container .pn-calendar-nav .nav-next{width:3rem;display:-ms-flexbox;display:flex}pn-calendar .pn-calendar-container .pn-calendar-nav .nav-previous{text-align:left;-ms-flex-pack:start;justify-content:flex-start}pn-calendar .pn-calendar-container .pn-calendar-nav .nav-next{text-align:right;-ms-flex-pack:end;justify-content:flex-end}pn-calendar .pn-calendar-container .pn-calendar-nav .pn-calendar-month{padding:1em;border:0.1rem solid #5e554a;border-radius:0.8rem;font-size:1.2rem;color:#5e554a;font-weight:500;text-align:center}pn-calendar .pn-calendar-container .pn-calendar .pn-calendar-row{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center;font-size:1.2rem;color:#969087;line-height:2.4rem;text-align:center;font-weight:300}pn-calendar .pn-calendar-container .pn-calendar .pn-calendar-row>div{width:2.4rem}pn-calendar .pn-calendar-container .pn-calendar .pn-calendar-row .pn-calendar-month{width:6rem}pn-calendar .pn-calendar-container .pn-calendar .pn-calendar-day-names{padding:0.4rem 0}pn-calendar .pn-calendar-container .pn-calendar .pn-calendar-days,pn-calendar .pn-calendar-container .pn-calendar .pn-calendar-months{color:#5e554a;padding:0.8rem 0}pn-calendar .pn-calendar-container .pn-calendar .pn-calendar-days:last-child,pn-calendar .pn-calendar-container .pn-calendar .pn-calendar-months:last-child{padding-bottom:0}pn-calendar .pn-calendar-container .pn-calendar .pn-calendar-days .pn-calendar-day,pn-calendar .pn-calendar-container .pn-calendar .pn-calendar-days .pn-calendar-month,pn-calendar .pn-calendar-container .pn-calendar .pn-calendar-months .pn-calendar-day,pn-calendar .pn-calendar-container .pn-calendar .pn-calendar-months .pn-calendar-month{border-bottom:0.4rem inset transparent;cursor:pointer}pn-calendar .pn-calendar-container .pn-calendar .pn-calendar-days .pn-calendar-day.disable-day,pn-calendar .pn-calendar-container .pn-calendar .pn-calendar-days .pn-calendar-month.disable-day,pn-calendar .pn-calendar-container .pn-calendar .pn-calendar-months .pn-calendar-day.disable-day,pn-calendar .pn-calendar-container .pn-calendar .pn-calendar-months .pn-calendar-month.disable-day{cursor:default;color:#d3cecb}pn-calendar .pn-calendar-container .pn-calendar .pn-calendar-days .pn-calendar-day.disable-day:hover,pn-calendar .pn-calendar-container .pn-calendar .pn-calendar-days .pn-calendar-month.disable-day:hover,pn-calendar .pn-calendar-container .pn-calendar .pn-calendar-months .pn-calendar-day.disable-day:hover,pn-calendar .pn-calendar-container .pn-calendar .pn-calendar-months .pn-calendar-month.disable-day:hover{border-bottom-color:transparent}pn-calendar .pn-calendar-container .pn-calendar .pn-calendar-days .pn-calendar-day.today,pn-calendar .pn-calendar-container .pn-calendar .pn-calendar-days .pn-calendar-month.today,pn-calendar .pn-calendar-container .pn-calendar .pn-calendar-months .pn-calendar-day.today,pn-calendar .pn-calendar-container .pn-calendar .pn-calendar-months .pn-calendar-month.today{outline:0.1rem solid #d3cecb}pn-calendar .pn-calendar-container .pn-calendar .pn-calendar-days .pn-calendar-day:hover,pn-calendar .pn-calendar-container .pn-calendar .pn-calendar-days .pn-calendar-month:hover,pn-calendar .pn-calendar-container .pn-calendar .pn-calendar-months .pn-calendar-day:hover,pn-calendar .pn-calendar-container .pn-calendar .pn-calendar-months .pn-calendar-month:hover{border-bottom-color:#00a0d6}pn-calendar .pn-calendar-container .pn-calendar .pn-calendar-days .pn-calendar-day:active,pn-calendar .pn-calendar-container .pn-calendar .pn-calendar-days .pn-calendar-day.selected,pn-calendar .pn-calendar-container .pn-calendar .pn-calendar-days .pn-calendar-month:active,pn-calendar .pn-calendar-container .pn-calendar .pn-calendar-days .pn-calendar-month.selected,pn-calendar .pn-calendar-container .pn-calendar .pn-calendar-months .pn-calendar-day:active,pn-calendar .pn-calendar-container .pn-calendar .pn-calendar-months .pn-calendar-day.selected,pn-calendar .pn-calendar-container .pn-calendar .pn-calendar-months .pn-calendar-month:active,pn-calendar .pn-calendar-container .pn-calendar .pn-calendar-months .pn-calendar-month.selected{border-bottom-color:#005d92}";
|
|
5
5
|
|
|
6
6
|
const PnCalendar = class {
|
|
7
7
|
constructor(hostRef) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h, a as Host, g as getElement } from './index-602e59ea.js';
|
|
2
2
|
|
|
3
|
-
const pnCheckTileCss = "pn-check-tile{position:relative;display:inline-block}pn-check-tile input[type=checkbox]{opacity:0;position:absolute;width:100%;height:100%;pointer-events:none}pn-check-tile>label{position:relative;overflow:hidden;cursor:pointer;background:#
|
|
3
|
+
const pnCheckTileCss = "pn-check-tile{position:relative;display:inline-block}pn-check-tile input[type=checkbox]{opacity:0;position:absolute;width:100%;height:100%;pointer-events:none}pn-check-tile>label{position:relative;overflow:hidden;cursor:pointer;background:#ffffff;padding:0.5em 1em;border-radius:0.5em;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;gap:0.5em;color:#005d92;font-weight:500;border:0.1em solid #d3cecb;-webkit-transition-property:background, border, -webkit-box-shadow;transition-property:background, border, -webkit-box-shadow;transition-property:box-shadow, background, border;transition-property:box-shadow, background, border, -webkit-box-shadow;-webkit-transition-duration:0.15s;transition-duration:0.15s;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-ms-flex-wrap:wrap;flex-wrap:wrap}pn-check-tile>label>pn-illustration,pn-check-tile>label>[slot=illustration]{min-width:2.5em;max-height:2.5em}pn-check-tile>label>.pn-check-tile-content{display:-ms-flexbox;display:flex;-ms-flex:1 1;flex:1 1;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;gap:0.5em;max-width:100%;text-align:center;white-space:normal}pn-check-tile>label>.pn-check-tile-content>svg{-ms-flex-negative:0;flex-shrink:0;width:1.5em;height:1.5em;border-radius:0.25em;border:#d3cecb 0.1em solid;padding:0.15em;-webkit-transition:border 0.15s, background 0.15s;transition:border 0.15s, background 0.15s}pn-check-tile>label>.pn-check-tile-content>svg .checkmark-path{stroke:#d3cecb;stroke-dasharray:23;stroke-dashoffset:0}pn-check-tile>label>.pn-check-tile-content>svg .checkmark-path-checked{stroke:#005d92}pn-check-tile>label>.pn-check-tile-content>svg polyline{stroke-linecap:round;stroke-linejoin:round;-webkit-transition:stroke-dashoffset 0.2s cubic-bezier(0.79, 0.14, 0.15, 0.86), stroke 0.15s;transition:stroke-dashoffset 0.2s cubic-bezier(0.79, 0.14, 0.15, 0.86), stroke 0.15s;stroke-dashoffset:23;stroke-dasharray:23}pn-check-tile>label:hover{border:0.1em solid #00a0d6;-webkit-box-shadow:0px 3.2000000477px 7.1999998093px 0px #00000021, 0px 0.6000000238px 1.7999999523px 0px #0000001a;box-shadow:0px 3.2000000477px 7.1999998093px 0px #00000021, 0px 0.6000000238px 1.7999999523px 0px #0000001a}pn-check-tile>label:hover>.pn-check-tile-content>svg{border:0.1em solid #00a0d6}pn-check-tile input[type=checkbox]:focus+label{-webkit-box-shadow:0 0 0 0.1rem #fff, 0 0 0 0.2rem #005d92;box-shadow:0 0 0 0.1rem #fff, 0 0 0 0.2rem #005d92}pn-check-tile input[type=checkbox]:focus:checked+label{-webkit-box-shadow:0 0 0 0.1rem #fff, 0 0 0 0.2rem #005d92, 0px 3.2000000477px 7.1999998093px 0px #00000021, 0px 0.6000000238px 1.7999999523px 0px #0000001a;box-shadow:0 0 0 0.1rem #fff, 0 0 0 0.2rem #005d92, 0px 3.2000000477px 7.1999998093px 0px #00000021, 0px 0.6000000238px 1.7999999523px 0px #0000001a}pn-check-tile input[type=checkbox]:checked+label{border:0.1em solid #005d92;background:#effbff;-webkit-box-shadow:0px 3.2000000477px 7.1999998093px 0px #00000021, 0px 0.6000000238px 1.7999999523px 0px #0000001a;box-shadow:0px 3.2000000477px 7.1999998093px 0px #00000021, 0px 0.6000000238px 1.7999999523px 0px #0000001a}pn-check-tile input[type=checkbox]:checked+label>.pn-check-tile-content>svg{background:#005d92;border:0.1em solid #005d92}pn-check-tile input[type=checkbox]:checked+label>.pn-check-tile-content>svg polyline.checkmark-path-checked{stroke-dashoffset:0;stroke:#ffffff}";
|
|
4
4
|
|
|
5
5
|
const PnCheckTile = class {
|
|
6
6
|
constructor(hostRef) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h, a as Host, g as getElement } from './index-602e59ea.js';
|
|
2
2
|
|
|
3
|
-
const pnCheckboxCss = "pn-checkbox{display:inline-block;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}pn-checkbox input{opacity:0;position:absolute}pn-checkbox input[type=checkbox]+label.pn-checkbox{width:1.5em;min-width:1.5em;height:1.5em;min-height:1.5em;background:#fff;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;position:relative;border:0.1rem solid #969087;cursor:pointer;border-radius:0.4rem;cursor:pointer;-webkit-transition-duration:220ms;transition-duration:220ms;-webkit-transition-timing-function:cubic-bezier(0.79, 0.14, 0.15, 0.86);transition-timing-function:cubic-bezier(0.79, 0.14, 0.15, 0.86);-webkit-transition-property:border, background, -webkit-box-shadow;transition-property:border, background, -webkit-box-shadow;transition-property:border, background, box-shadow;transition-property:border, background, box-shadow, -webkit-box-shadow}pn-checkbox input[type=checkbox]+label.pn-checkbox svg{width:80%;fill:none}pn-checkbox input[type=checkbox]+label.pn-checkbox svg polyline{stroke:#FFF;-webkit-transform-origin:0 0;transform-origin:0 0;stroke-linecap:round;stroke-dasharray:23;stroke-dashoffset:23;-webkit-transition-delay:none;transition-delay:none;-webkit-transition:stroke-dashoffset 180ms cubic-bezier(0.79, 0.14, 0.15, 0.86);transition:stroke-dashoffset 180ms cubic-bezier(0.79, 0.14, 0.15, 0.86)}pn-checkbox input[type=checkbox]:hover+label.pn-checkbox{border:0.1rem solid #
|
|
3
|
+
const pnCheckboxCss = "pn-checkbox{display:inline-block;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}pn-checkbox input{opacity:0;position:absolute}pn-checkbox input[type=checkbox]+label.pn-checkbox{width:1.5em;min-width:1.5em;height:1.5em;min-height:1.5em;background:#fff;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;position:relative;border:0.1rem solid #969087;cursor:pointer;border-radius:0.4rem;cursor:pointer;-webkit-transition-duration:220ms;transition-duration:220ms;-webkit-transition-timing-function:cubic-bezier(0.79, 0.14, 0.15, 0.86);transition-timing-function:cubic-bezier(0.79, 0.14, 0.15, 0.86);-webkit-transition-property:border, background, -webkit-box-shadow;transition-property:border, background, -webkit-box-shadow;transition-property:border, background, box-shadow;transition-property:border, background, box-shadow, -webkit-box-shadow}pn-checkbox input[type=checkbox]+label.pn-checkbox svg{width:80%;fill:none}pn-checkbox input[type=checkbox]+label.pn-checkbox svg polyline{stroke:#FFF;-webkit-transform-origin:0 0;transform-origin:0 0;stroke-linecap:round;stroke-dasharray:23;stroke-dashoffset:23;-webkit-transition-delay:none;transition-delay:none;-webkit-transition:stroke-dashoffset 180ms cubic-bezier(0.79, 0.14, 0.15, 0.86);transition:stroke-dashoffset 180ms cubic-bezier(0.79, 0.14, 0.15, 0.86)}pn-checkbox input[type=checkbox]:hover+label.pn-checkbox{border:0.1rem solid #005d92;background:#e0f8ff}pn-checkbox input[type=checkbox]:checked+label.pn-checkbox,pn-checkbox input[type=checkbox]:indeterminate+label.pn-checkbox{background:#005d92;border:0.1rem solid #005d92}pn-checkbox input[type=checkbox]:checked+label.pn-checkbox svg polyline,pn-checkbox input[type=checkbox]:indeterminate+label.pn-checkbox svg polyline{-webkit-transition-delay:220ms;transition-delay:220ms}pn-checkbox input[type=checkbox]:checked+label.pn-checkbox svg polyline.checkmark-path{stroke-dashoffset:0}pn-checkbox input[type=checkbox]:indeterminate+label.pn-checkbox svg polyline.checkmark-path{stroke-dashoffset:23}pn-checkbox input[type=checkbox]:indeterminate+label.pn-checkbox svg polyline.indeterminate-path{stroke-dashoffset:0}pn-checkbox input[type=checkbox]:focus+label.pn-checkbox,pn-checkbox input[type=checkbox]:active+label.pn-checkbox{-webkit-box-shadow:0 0 0 0.1rem white, 0 0 0 0.3rem #005d92;box-shadow:0 0 0 0.1rem white, 0 0 0 0.3rem #005d92}pn-checkbox input[type=checkbox]:disabled+label.pn-checkbox{background-color:#d3cecb;border:0.1rem solid #969087;cursor:not-allowed}pn-checkbox input[type=checkbox]:disabled+label.pn-checkbox svg polyline{stroke:#969087}pn-checkbox input[type=checkbox]:disabled:checked+label.pn-checkbox{border:0.1rem solid transparent}pn-checkbox input[type=checkbox]:disabled:active+label.pn-checkbox{-webkit-box-shadow:none;box-shadow:none}";
|
|
4
4
|
|
|
5
5
|
const PnCheckbox = class {
|
|
6
6
|
constructor(hostRef) {
|
|
@@ -8,6 +8,8 @@ const PnCheckbox = class {
|
|
|
8
8
|
this.disabled = false;
|
|
9
9
|
this.checked = false;
|
|
10
10
|
this.indeterminate = false;
|
|
11
|
+
this.ariaLabel = null;
|
|
12
|
+
this.ariaDescribedby = null;
|
|
11
13
|
}
|
|
12
14
|
handlechange() {
|
|
13
15
|
this.indeterminate = false;
|
|
@@ -25,7 +27,7 @@ const PnCheckbox = class {
|
|
|
25
27
|
}
|
|
26
28
|
}
|
|
27
29
|
render() {
|
|
28
|
-
return (h(Host, null, h("input", { type: "checkbox", id: this.checkboxid, value: this.value, name: this.name || this.checkboxid, disabled: this.disabled, checked: this.checked }), h("label", { htmlFor: this.checkboxid, class: "pn-checkbox" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none" }, h("polyline", { class: "checkmark-path", points: "4,12 9,17 20,6", "stroke-width": "3" }), h("polyline", { class: "indeterminate-path", points: "4,12 20,12", "stroke-width": "3" })))));
|
|
30
|
+
return (h(Host, null, h("input", { type: "checkbox", id: this.checkboxid, value: this.value, name: this.name || this.checkboxid, disabled: this.disabled, checked: this.checked, "aria-describedby": this.ariaDescribedby }), h("label", { htmlFor: this.checkboxid, class: "pn-checkbox" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none" }, h("polyline", { class: "checkmark-path", points: "4,12 9,17 20,6", "stroke-width": "3" }), h("polyline", { class: "indeterminate-path", points: "4,12 20,12", "stroke-width": "3" })))));
|
|
29
31
|
}
|
|
30
32
|
get hostElement() { return getElement(this); }
|
|
31
33
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h, a as Host, g as getElement } from './index-602e59ea.js';
|
|
2
2
|
|
|
3
|
-
const pnChoiceChipCss = "pn-choice-chip{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border:none;display:inline-block;background:#fff;position:relative}pn-choice-chip input{opacity:0;position:absolute;top:0;left:0;pointer-events:none;margin:0;width:100%;height:100%}pn-choice-chip label{display:block;padding:0.4rem 0.8rem;border:0.1rem solid #
|
|
3
|
+
const pnChoiceChipCss = "pn-choice-chip{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border:none;display:inline-block;background:#fff;position:relative}pn-choice-chip input{opacity:0;position:absolute;top:0;left:0;pointer-events:none;margin:0;width:100%;height:100%}pn-choice-chip label{display:block;padding:0.4rem 0.8rem;border:0.1rem solid #005d92;color:#005d92;border-radius:0.8rem;text-align:center;cursor:pointer;-webkit-transition:background 0.2s, -webkit-box-shadow 0.1s;transition:background 0.2s, -webkit-box-shadow 0.1s;transition:box-shadow 0.1s, background 0.2s;transition:box-shadow 0.1s, background 0.2s, -webkit-box-shadow 0.1s}pn-choice-chip input[type=checkbox]:checked+label.pn-choice-chip,pn-choice-chip input[type=checkbox]:indeterminate+label.pn-choice-chip{background:#005d92;color:#fff}pn-choice-chip input[type=checkbox]:hover+label.pn-choice-chip{background:#e0f8ff}pn-choice-chip input[type=checkbox]:focus+label.pn-choice-chip,pn-choice-chip input[type=checkbox]:active+label.pn-choice-chip{-webkit-box-shadow:0 0 0 0.2rem #fff, 0 0 0 0.4rem #005d92;box-shadow:0 0 0 0.2rem #fff, 0 0 0 0.4rem #005d92}pn-choice-chip input[type=checkbox]:active+label.pn-choice-chip{background:#8eddf9}pn-choice-chip input[type=checkbox]:disabled+label.pn-choice-chip{background-color:#d3cecb}pn-choice-chip input[type=checkbox]:checked+label.pn-choice-chip:hover{background:#0d234b;color:#fff}pn-choice-chip input[type=checkbox]:checked+label.pn-choice-chip:active{background:#00a0d6;border:0.1rem solid #00a0d6;color:#fff}";
|
|
4
4
|
|
|
5
5
|
const Pnchoicechip = class {
|
|
6
6
|
constructor(hostRef) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h } from './index-602e59ea.js';
|
|
2
|
-
import { c as colors } from './colors-
|
|
2
|
+
import { c as colors } from './colors-dad016c3.js';
|
|
3
3
|
|
|
4
|
-
const pnColorsCss = ".colors{padding:3em 2em;max-width:100rem;margin:auto}.palette-container{width:100%;height:100%;display:-ms-flexbox;display:flex;-ms-flex-line-pack:center;align-content:center;-ms-flex-wrap:wrap;flex-wrap:wrap}.palette-container .color-palette{-ms-flex:1;flex:1;margin:1em}.palette-container .color-palette .color-swatch{width:100px;height:100px;-webkit-box-shadow:1px 2px 4px #
|
|
4
|
+
const pnColorsCss = ".colors{padding:3em 2em;max-width:100rem;margin:auto}.palette-container{width:100%;height:100%;display:-ms-flexbox;display:flex;-ms-flex-line-pack:center;align-content:center;-ms-flex-wrap:wrap;flex-wrap:wrap}.palette-container .color-palette{-ms-flex:1;flex:1;margin:1em}.palette-container .color-palette .color-swatch{width:100px;height:100px;-webkit-box-shadow:1px 2px 4px #f3f2f2;box-shadow:1px 2px 4px #f3f2f2}.palette-container .color-palette .color-name{-ms-flex-line-pack:center;align-content:center;margin-top:8px}";
|
|
5
5
|
|
|
6
6
|
const PnColors = class {
|
|
7
7
|
constructor(hostRef) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-602e59ea.js';
|
|
2
2
|
import { c as createDateOrNull, d as debounce } from './helpers-53c419b0.js';
|
|
3
3
|
|
|
4
|
-
const pnDatePickerOldCss = "pn-date-picker{display:inline-block}pn-date-picker.open-datepicker .datepicker-container .datepicker-input-container input,pn-date-picker.open-datepicker .datepicker-container .datepicker-input-container input:focus,pn-date-picker.open-datepicker .datepicker-container .datepicker-input-container input:hover{outline:none;border:0.1rem solid #
|
|
4
|
+
const pnDatePickerOldCss = "pn-date-picker{display:inline-block}pn-date-picker.open-datepicker .datepicker-container .datepicker-input-container input,pn-date-picker.open-datepicker .datepicker-container .datepicker-input-container input:focus,pn-date-picker.open-datepicker .datepicker-container .datepicker-input-container input:hover{outline:none;border:0.1rem solid #005d92;-webkit-box-shadow:0 0 0 0.2rem #fff, 0 0 0 0.4rem #005d92;box-shadow:0 0 0 0.2rem #fff, 0 0 0 0.4rem #005d92}pn-date-picker.open-datepicker .datepicker-calendar-container{display:block}pn-date-picker.open-datepicker .datepicker-container .datepicker-input-container label,pn-date-picker.has-input .datepicker-container .datepicker-input-container label{top:0.1rem;-webkit-transform:translateY(0);transform:translateY(0);font-size:1.2rem}pn-date-picker.invalid .datepicker-container .datepicker-input-container input,pn-date-picker.invalid .datepicker-container .datepicker-input-container input:focus,pn-date-picker.invalid .datepicker-container .datepicker-input-container input:hover{border:0.1rem solid #a70707}pn-date-picker.invalid .datepicker-container .datepicker-input-container input:focus{-webkit-box-shadow:0 0 0 0.2rem #fff, 0 0 0 0.4rem #a70707;box-shadow:0 0 0 0.2rem #fff, 0 0 0 0.4rem #a70707}pn-date-picker .datepicker-container{position:relative}pn-date-picker .datepicker-container .datepicker-input-container{border:none;position:relative;width:100%;height:100%}pn-date-picker .datepicker-container .datepicker-input-container input,pn-date-picker .datepicker-container .datepicker-input-container div,pn-date-picker .datepicker-container .datepicker-input-container label,pn-date-picker .datepicker-container .datepicker-input-container span{font-family:inherit}pn-date-picker .datepicker-container .datepicker-input-container input{width:100%;-webkit-box-sizing:border-box;box-sizing:border-box;border:0.1rem solid #5e554a;background-color:#fff;padding:0.75em;color:#000000;font-size:1.6rem;font-weight:300;line-height:2rem;border-radius:0.8rem;-webkit-transition:border 0.15s, -webkit-box-shadow 0.15s;transition:border 0.15s, -webkit-box-shadow 0.15s;transition:box-shadow 0.15s, border 0.15s;transition:box-shadow 0.15s, border 0.15s, -webkit-box-shadow 0.15s}pn-date-picker .datepicker-container .datepicker-input-container input::-webkit-input-placeholder{color:#969087}pn-date-picker .datepicker-container .datepicker-input-container input::-moz-placeholder{color:#969087}pn-date-picker .datepicker-container .datepicker-input-container input:-ms-input-placeholder{color:#969087}pn-date-picker .datepicker-container .datepicker-input-container input::-ms-input-placeholder{color:#969087}pn-date-picker .datepicker-container .datepicker-input-container input::placeholder{color:#969087}pn-date-picker .datepicker-container .datepicker-input-container input{-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-box-shadow:none;box-shadow:none;outline:none}pn-date-picker .datepicker-container .datepicker-input-container input:hover{border-color:#00a0d6}pn-date-picker .datepicker-container .datepicker-input-container input:disabled{background-color:#f3f2f2;border-color:#d3cecb;color:#969087}pn-date-picker .datepicker-container .datepicker-input-container>pn-icon,pn-date-picker .datepicker-container .datepicker-input-container>pn-spinner{position:absolute;right:1rem;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}pn-date-picker .datepicker-container .datepicker-input-container>pn-icon{cursor:pointer}pn-date-picker .datepicker-container .datepicker-input-container label{-webkit-transition:0.2s ease-in-out;transition:0.2s ease-in-out;font-size:1em;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);left:1em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%;-ms-flex-order:1;order:1;pointer-events:none;-webkit-font-smoothing:antialiased;z-index:1;position:absolute;color:#969087;font-weight:normal}pn-date-picker .datepicker-calendar-container{display:none;position:absolute;border-radius:0.8rem;top:120%;left:0;width:29.6rem;padding:1.6rem 1.6rem 0.735rem 1.6rem;border:0.1rem solid #d3cecb;-webkit-box-shadow:0 1.2px 3.6px rgba(0, 0, 0, 0.1), 0 6.4px 14.4px rgba(0, 0, 0, 0.13);box-shadow:0 1.2px 3.6px rgba(0, 0, 0, 0.1), 0 6.4px 14.4px rgba(0, 0, 0, 0.13);background-color:white;z-index:9999}pn-date-picker.position-top .datepicker-calendar-container{top:auto;bottom:calc(100% + 1.2rem)}pn-date-picker.position-left .datepicker-calendar-container{right:auto;left:0}pn-date-picker.position-right .datepicker-calendar-container{right:0;left:auto}";
|
|
5
5
|
|
|
6
6
|
const PnDatePickerOld = class {
|
|
7
7
|
constructor(hostRef) {
|
|
@@ -74,15 +74,15 @@ const translations = {
|
|
|
74
74
|
],
|
|
75
75
|
},
|
|
76
76
|
WEEK: {
|
|
77
|
-
en: ['
|
|
78
|
-
sv: ['
|
|
79
|
-
da: ['
|
|
80
|
-
fi: ['
|
|
81
|
-
no: ['
|
|
77
|
+
en: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'],
|
|
78
|
+
sv: ['Mån', 'Tis', 'Ons', 'Tor', 'Fre', 'Lör', 'Sön'],
|
|
79
|
+
da: ['Man', 'Tir', 'Ons', 'Tor', 'Fre', 'Lør', 'Søn'],
|
|
80
|
+
fi: ['Ma', 'Ti', 'Ke', 'To', 'Pe', 'La', 'Su'],
|
|
81
|
+
no: ['Ma.', 'Ti.', 'On.', 'To.', 'Fr.', 'Lø.', 'Sø'],
|
|
82
82
|
},
|
|
83
83
|
};
|
|
84
84
|
|
|
85
|
-
const pnDatePickerCss = "pn-date-picker{position:relative;display:block}pn-date-picker .weekday{color:#
|
|
85
|
+
const pnDatePickerCss = "pn-date-picker{position:relative;display:inline-block}pn-date-picker .weekday{color:#5e554a;font-weight:500}pn-date-picker .calendar-wrapper{background:#ffffff;border-radius:0.5em;position:absolute;max-width:22em;top:115%;width:100%;left:0;overflow:hidden;z-index:5;-webkit-box-shadow:0px 6.4000000954px 14.3999996185px 0px #00000021, 0px 1.2000000477px 3.5999999046px 0px #0000001a;box-shadow:0px 6.4000000954px 14.3999996185px 0px #00000021, 0px 1.2000000477px 3.5999999046px 0px #0000001a;visibility:hidden;pointer-events:none;-webkit-transition-property:visibility;transition-property:visibility;-webkit-transition-delay:0.2s;transition-delay:0.2s;-webkit-transition-duration:0s;transition-duration:0s}pn-date-picker .calendar-wrapper[data-open]{visibility:visible;pointer-events:auto;-webkit-transition-delay:0s;transition-delay:0s}pn-date-picker .calendar-wrapper[data-open] .calendar{max-height:min(30em, 80vh);-webkit-transition-delay:0s;transition-delay:0s}pn-date-picker .calendar{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;text-align:center;max-height:0;overflow:auto;-webkit-transition:max-height 0.2s cubic-bezier(0.7, 0, 0.3, 1);transition:max-height 0.2s cubic-bezier(0.7, 0, 0.3, 1);}pn-date-picker .calendar::-webkit-scrollbar{background-color:#fff;width:0.75em}pn-date-picker .calendar::-webkit-scrollbar-track{background-color:#fff}pn-date-picker .calendar::-webkit-scrollbar-thumb{background-color:#005d92;border-radius:1em;border:0.25em solid #fff}pn-date-picker .calendar::-webkit-scrollbar-thumb:hover{background-color:#0d234b}pn-date-picker .calendar::-webkit-scrollbar-button{display:none}pn-date-picker [data-month]{padding-top:1.5em}pn-date-picker .pn-date-picker-month{font-weight:500}pn-date-picker .month{font-size:1em;display:grid;padding:0.5em;grid-template-columns:repeat(7, 1fr);grid-gap:0.5em 0;background:#fff;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}pn-date-picker .day{font-size:1em;background:none;aspect-ratio:1;border:none;outline:none;position:relative;cursor:pointer;-webkit-transition:background 0.15s, border-radius 0.15s;transition:background 0.15s, border-radius 0.15s;border-radius:50%;}pn-date-picker .day>span.number{position:relative}pn-date-picker .day::before{content:\"\";position:absolute;top:0;right:0;bottom:0;left:0;margin:auto;-webkit-transition:inherit;transition:inherit}pn-date-picker .day[data-today]::after{content:\"\";position:absolute;width:0.4em;height:0.4em;bottom:10%;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);border-radius:50%;background:#005d92}pn-date-picker .day[data-selected=start][data-today]::after,pn-date-picker .day[data-selected=end][data-today]::after,pn-date-picker .day[data-selected=single][data-today]::after{background:#e0f8ff}pn-date-picker .day[data-selected=start]::before,pn-date-picker .day[data-selected=end]::before,pn-date-picker .day[data-selected=single]::before{border-radius:50%;background-color:#005d92}pn-date-picker .day[data-selected=start]::before{border-top-right-radius:0;border-bottom-right-radius:0}pn-date-picker .day[data-selected=start],pn-date-picker .day[data-selected=end],pn-date-picker .day[data-selected=single]{color:white}pn-date-picker .day[data-selected=between]::before{background-color:#e0f8ff;border-radius:0}pn-date-picker .day[data-selected=end][data-selected=end]::before{border-top-left-radius:0;border-bottom-left-radius:0}pn-date-picker .day:focus,pn-date-picker .day:hover{background-color:#effbff}pn-date-picker .pn-date-input-container{background:#ffffff;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;gap:1em;width:100%;padding:0.5em 0.5em 0.5em 0.75em;border-radius:0.5em;border:0.1rem solid #969087;-webkit-transition:-webkit-box-shadow 0.15s;transition:-webkit-box-shadow 0.15s;transition:box-shadow 0.15s;transition:box-shadow 0.15s, -webkit-box-shadow 0.15s}pn-date-picker .pn-date-input-container:focus-within{-webkit-box-shadow:0 0 0 0.1em #fff, 0 0 0 0.2em #005d92;box-shadow:0 0 0 0.1em #fff, 0 0 0 0.2em #005d92}pn-date-picker .pn-date-input-container .divider{width:0.15em;height:1.15em;background:#005d92;border-radius:1em;-ms-flex:0 0 auto;flex:0 0 auto}pn-date-picker .pn-date-input-container pn-icon{-webkit-transition:-webkit-transform 0.15s cubic-bezier(0.7, 0, 0.3, 1);transition:-webkit-transform 0.15s cubic-bezier(0.7, 0, 0.3, 1);transition:transform 0.15s cubic-bezier(0.7, 0, 0.3, 1);transition:transform 0.15s cubic-bezier(0.7, 0, 0.3, 1), -webkit-transform 0.15s cubic-bezier(0.7, 0, 0.3, 1)}pn-date-picker .pn-date-input-container pn-icon.backwards{-webkit-transform:rotate(180deg);transform:rotate(180deg)}pn-date-picker .pn-date-input-container input{border:none;outline:none;padding:0;font-size:1em;width:100%;background:transparent;padding:0.15em 0;-webkit-transition:inherit;transition:inherit}pn-date-picker .pn-date-input-container input:first-of-type::-webkit-input-placeholder{text-align:right}pn-date-picker .pn-date-input-container input:first-of-type::-moz-placeholder{text-align:right}pn-date-picker .pn-date-input-container input:first-of-type:-ms-input-placeholder{text-align:right}pn-date-picker .pn-date-input-container input:first-of-type::-ms-input-placeholder{text-align:right}pn-date-picker .pn-date-input-container input:first-of-type::placeholder{text-align:right}pn-date-picker .pn-date-input-container input:last-of-type::-webkit-input-placeholder{text-align:left}pn-date-picker .pn-date-input-container input:last-of-type::-moz-placeholder{text-align:left}pn-date-picker .pn-date-input-container input:last-of-type:-ms-input-placeholder{text-align:left}pn-date-picker .pn-date-input-container input:last-of-type::-ms-input-placeholder{text-align:left}pn-date-picker .pn-date-input-container input:last-of-type::placeholder{text-align:left}pn-date-picker .pn-date-input-container button.pn-date-calendar{border:none;background:none;cursor:pointer;outline:none;-webkit-transition:background 0.15s, -webkit-box-shadow 0.15s;transition:background 0.15s, -webkit-box-shadow 0.15s;transition:background 0.15s, box-shadow 0.15s;transition:background 0.15s, box-shadow 0.15s, -webkit-box-shadow 0.15s;border-radius:50%;padding:0.2em}pn-date-picker .pn-date-input-container button.pn-date-calendar:hover{background:#e0f8ff}pn-date-picker .pn-date-input-container button.pn-date-calendar:focus{-webkit-box-shadow:0 0 0 0.1em #fff, 0 0 0 0.2em #005d92;box-shadow:0 0 0 0.1em #fff, 0 0 0 0.2em #005d92;background:#e0f8ff}";
|
|
86
86
|
|
|
87
87
|
const PnDatePicker = class {
|
|
88
88
|
constructor(hostRef) {
|
|
@@ -102,9 +102,9 @@ const PnDatePicker = class {
|
|
|
102
102
|
this.range = false;
|
|
103
103
|
this.disableWeekends = false;
|
|
104
104
|
/** Placeholder for the input field (this will be start date if you have a ranged date picker) */
|
|
105
|
-
this.placeholder = '
|
|
105
|
+
this.placeholder = '';
|
|
106
106
|
/** Placeholder for end date */
|
|
107
|
-
this.endPlaceholder = '
|
|
107
|
+
this.endPlaceholder = '';
|
|
108
108
|
this.currentState = 'idle';
|
|
109
109
|
this.week = [];
|
|
110
110
|
this.months = [];
|
|
@@ -114,6 +114,7 @@ const PnDatePicker = class {
|
|
|
114
114
|
this.selectionMade = false;
|
|
115
115
|
this.years = [];
|
|
116
116
|
this.today = new Date();
|
|
117
|
+
this.shouldScroll = true;
|
|
117
118
|
/* -----------------STATE MACHINE LOGIC------------------ */
|
|
118
119
|
this.machine = {
|
|
119
120
|
initial: 'idle',
|
|
@@ -171,15 +172,15 @@ const PnDatePicker = class {
|
|
|
171
172
|
this.setLanguage();
|
|
172
173
|
this.setYears();
|
|
173
174
|
}
|
|
174
|
-
componentDidLoad() {
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
}
|
|
175
|
+
// componentDidLoad() {
|
|
176
|
+
// requestAnimationFrame(() => {
|
|
177
|
+
// const date = this.startDate && this.startDate.getTime() ? this.startDate : new Date();
|
|
178
|
+
// const year = date.getFullYear();
|
|
179
|
+
// const month = this.months[date.getMonth()];
|
|
180
|
+
// const monthEl = this.hostElement.querySelector(`[data-year="${year}"] [data-month="${month}"]`);
|
|
181
|
+
// monthEl.scrollIntoView();
|
|
182
|
+
// });
|
|
183
|
+
// }
|
|
183
184
|
/* -----------------/LIFE CYCLE HOOKS------------------ */
|
|
184
185
|
/* -----------------UTILS------------------ */
|
|
185
186
|
makeSelection() {
|
|
@@ -201,6 +202,8 @@ const PnDatePicker = class {
|
|
|
201
202
|
this.setDateFromOutside();
|
|
202
203
|
}
|
|
203
204
|
openHandler() {
|
|
205
|
+
if (this.shouldScroll)
|
|
206
|
+
this.scrollToMonth();
|
|
204
207
|
if (this.open) {
|
|
205
208
|
document.addEventListener('click', this.handleGlobalClick);
|
|
206
209
|
return;
|
|
@@ -209,6 +212,14 @@ const PnDatePicker = class {
|
|
|
209
212
|
this.endDate = null;
|
|
210
213
|
document.removeEventListener('click', this.handleGlobalClick);
|
|
211
214
|
}
|
|
215
|
+
scrollToMonth() {
|
|
216
|
+
this.shouldScroll = false;
|
|
217
|
+
const date = this.startDate && this.startDate.getTime() ? this.startDate : new Date();
|
|
218
|
+
const year = date.getFullYear();
|
|
219
|
+
const month = this.months[date.getMonth()];
|
|
220
|
+
const monthEl = this.hostElement.querySelector(`[data-year="${year}"] [data-month="${month}"]`);
|
|
221
|
+
monthEl.scrollIntoView();
|
|
222
|
+
}
|
|
212
223
|
clickHandler(e) {
|
|
213
224
|
var _a;
|
|
214
225
|
const target = (_a = e.composedPath) === null || _a === void 0 ? void 0 : _a.call(e)[0];
|
|
@@ -11,7 +11,7 @@ class PnFileUploadError extends Error {
|
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
const pnFileUploadCss = "pn-file-upload.hover .pn-file-upload-container .pn-dropzone-container{background-color:#
|
|
14
|
+
const pnFileUploadCss = "pn-file-upload.hover .pn-file-upload-container .pn-dropzone-container{background-color:#e0f8ff}pn-file-upload.invalid .pn-file-upload-container .pn-dropzone-container,pn-file-upload.disabled .pn-file-upload-container .pn-dropzone-container{background-color:#d3cecb}pn-file-upload.invalid .pn-file-upload-container .pn-dropzone-container,pn-file-upload.invalid .pn-file-upload-container .pn-dropzone-container:after,pn-file-upload.disabled .pn-file-upload-container .pn-dropzone-container,pn-file-upload.disabled .pn-file-upload-container .pn-dropzone-container:after{background-image:-webkit-gradient(linear, left top, right top, color-stop(50%, #969087), color-stop(0%, transparent));background-image:linear-gradient(to right, #969087 50%, transparent 0%)}pn-file-upload.invalid .pn-file-upload-container .pn-dropzone-container .pn-dropzone-inner,pn-file-upload.invalid .pn-file-upload-container .pn-dropzone-container .pn-dropzone-inner:after,pn-file-upload.disabled .pn-file-upload-container .pn-dropzone-container .pn-dropzone-inner,pn-file-upload.disabled .pn-file-upload-container .pn-dropzone-container .pn-dropzone-inner:after{background-image:-webkit-gradient(linear, left top, left bottom, color-stop(50%, #969087), color-stop(0%, transparent));background-image:linear-gradient(to bottom, #969087 50%, transparent 0%)}pn-file-upload.invalid .pn-file-upload-container .pn-dropzone-container a,pn-file-upload.disabled .pn-file-upload-container .pn-dropzone-container a{cursor:default}pn-file-upload.invalid .pn-file-upload-container .pn-dropzone-container:hover,pn-file-upload.disabled .pn-file-upload-container .pn-dropzone-container:hover{background-color:#d3cecb}pn-file-upload.invalid .pn-file-upload-container .pn-dropzone-container .headline a,pn-file-upload.disabled .pn-file-upload-container .pn-dropzone-container .headline a{color:#5e554a}pn-file-upload .pn-file-upload-input{display:none}pn-file-upload .pn-file-upload-container .pn-dropzone-container{text-align:center;position:relative;background-image:-webkit-gradient(linear, left top, right top, color-stop(50%, #00a0d6), color-stop(0%, transparent));background-image:linear-gradient(to right, #00a0d6 50%, transparent 0%);background-position:top;background-size:16px 1px;background-repeat:repeat-x;background-color:#ffffff}pn-file-upload .pn-file-upload-container .pn-dropzone-container:after{content:\" \";position:absolute;width:100%;height:1px;bottom:0;left:0;background-image:-webkit-gradient(linear, left top, right top, color-stop(50%, #00a0d6), color-stop(0%, transparent));background-image:linear-gradient(to right, #00a0d6 50%, transparent 0%);background-position:bottom;background-size:16px 1px;background-repeat:repeat-x}pn-file-upload .pn-file-upload-container .pn-dropzone-container:hover{background-color:#e0f8ff}pn-file-upload .pn-file-upload-container .pn-dropzone-container .pn-dropzone-inner{padding:25px 60px;position:relative;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(50%, #00a0d6), color-stop(0%, transparent));background-image:linear-gradient(to bottom, #00a0d6 50%, transparent 0%);background-position:left;background-size:1px 16px;background-repeat:repeat-y}pn-file-upload .pn-file-upload-container .pn-dropzone-container .pn-dropzone-inner:after{content:\" \";position:absolute;width:1px;height:100%;top:0;right:0;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(50%, #00a0d6), color-stop(0%, transparent));background-image:linear-gradient(to bottom, #00a0d6 50%, transparent 0%);background-position:right;background-size:1px 16px;background-repeat:repeat-y}pn-file-upload .pn-file-upload-container .pn-dropzone-container .headline{color:#969087;font-size:16px;font-weight:300;line-height:20px;text-align:center;margin-bottom:8px}pn-file-upload .pn-file-upload-container .pn-dropzone-container .headline a{color:#005d92}pn-file-upload .pn-file-upload-container .pn-dropzone-container .description{color:#969087;font-size:12px;font-weight:300;line-height:16px;margin-bottom:0}pn-file-upload .files-list .files-list-item{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:start;align-items:flex-start}pn-file-upload .files-list .files-list-item>pn-progress-bar{margin-right:10px;-ms-flex:1;flex:1}pn-file-upload .files-list .files-list-item>pn-icon{margin-top:34px;cursor:pointer}pn-file-upload .files-list .files-list-item-error{color:#5e554a;font-size:14px;font-weight:300;line-height:20px}";
|
|
15
15
|
|
|
16
16
|
const PnFileUpload = class {
|
|
17
17
|
constructor(hostRef) {
|
|
@@ -136,7 +136,7 @@ const translations = {
|
|
|
136
136
|
},
|
|
137
137
|
};
|
|
138
138
|
|
|
139
|
-
const pnFooterCss = "pn-footer{color:#
|
|
139
|
+
const pnFooterCss = "pn-footer{color:#5e554a;padding-bottom:2em;display:block}pn-footer .pn-footer-row{padding:0.2em 0;font-size:0.9em;text-align:center}pn-footer .pn-footer-row p,pn-footer .pn-footer-row a{margin-right:0.2em;display:inline-block}pn-footer a{color:#005d92}pn-footer pn-icon{margin-left:0.2em}pn-footer #ot-sdk-btn{-webkit-box-direction:normal;-webkit-box-sizing:border-box;box-sizing:border-box;color:#005d92;display:inline-block;font-size:0.9em;margin-right:0.2em;text-align:center;text-decoration:none;visibility:inherit}";
|
|
140
140
|
|
|
141
141
|
const PnFooter = class {
|
|
142
142
|
constructor(hostRef) {
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { r as registerInstance, h, a as Host, g as getElement } from './index-602e59ea.js';
|
|
2
|
+
import { c as colors } from './colors-dad016c3.js';
|
|
3
|
+
|
|
4
|
+
const pnHeaderCss = "pn-header{border-radius:0.5em;background-color:#effbff;background-color:var(--bg);display:block;-webkit-transition:background-color 0.2s ease-in-out;transition:background-color 0.2s ease-in-out}pn-header>.page-nav{padding:clamp(1em, 3vw, 2em) clamp(0.5em, 3vw, 2em) 1em;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}pn-header>.page-nav>pn-page-nav{min-width:0}.pn-header-content-wrapper{position:relative}pn-header .pn-header-content{max-width:var(--max-width);margin:auto;display:-ms-flexbox;display:flex;gap:0.5em;-ms-flex-wrap:wrap-reverse;flex-wrap:wrap-reverse;padding-right:0;position:relative;text-align:left;-ms-flex-align:space-between;align-items:space-between;background-color:var(--bg);z-index:1}pn-header .pn-header-content>*{min-width:0}pn-header .pn-header-left{-ms-flex:1 1 60%;flex:1 1 60%;padding:1em;padding:clamp(1em, 3vw, 2em) clamp(0.5em, 3vw, 2em);display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:1.5em}pn-header .pn-header-left h1{font-size:clamp(1.85em, 5vw, 2em)}pn-header .pn-header-left p{font-size:1.25em;max-width:60ch;line-height:1.4}pn-header [slot=buttons]{display:-ms-flexbox;display:flex;gap:0.5em;-ms-flex-wrap:wrap-reverse;flex-wrap:wrap-reverse;-ms-flex-pack:center;justify-content:center;max-width:30em}pn-header [slot=buttons]>*{-ms-flex:1 1 auto;flex:1 1 auto}.pn-header-content-wrapper.pn-header-illustration .pn-header-right{background-color:#e0f8ff;background-color:var(--pill-color);border-radius:20em 1em 1em 20em}.pn-header-content-wrapper.pn-header-illustration::after{content:\"\";background-color:var(--pill-color);position:absolute;right:0;top:0;width:50%;height:100%;border-radius:0 0 0.5em 0}.pn-header-content-wrapper.pn-header-illustration .pn-header-right{-ms-flex:1 1 12em;flex:1 1 12em;margin-left:2em;padding-left:2em;display:-ms-flexbox;display:flex;-ms-flex-align:end;align-items:flex-end;-ms-flex-pack:end;justify-content:flex-end;-webkit-transition:background-color 0.2s ease-in-out;transition:background-color 0.2s ease-in-out}.pn-header-content-wrapper.pn-header-illustration .pn-header-right [slot=illustration]{max-height:clamp(6em, 35vw, 25em);height:-webkit-min-content;height:-moz-min-content;height:min-content}";
|
|
5
|
+
|
|
6
|
+
const PnHeader = class {
|
|
7
|
+
constructor(hostRef) {
|
|
8
|
+
registerInstance(this, hostRef);
|
|
9
|
+
/** Available colors: blue, coral, orange, gray and green */
|
|
10
|
+
this.color = 'blue';
|
|
11
|
+
this.maxWidth = null;
|
|
12
|
+
}
|
|
13
|
+
colorHandler() {
|
|
14
|
+
this.setColor();
|
|
15
|
+
}
|
|
16
|
+
componentWillLoad() {
|
|
17
|
+
this.setColor();
|
|
18
|
+
this.checkSlots();
|
|
19
|
+
}
|
|
20
|
+
setColor() {
|
|
21
|
+
const alternatives = ['blue', 'coral', 'gray', 'orange', 'green'];
|
|
22
|
+
this.color = alternatives.includes(this.color) ? this.color : 'blue';
|
|
23
|
+
this.hostElement.style.setProperty('--bg', colors[`${this.color}25`]);
|
|
24
|
+
this.hostElement.style.setProperty('--pill-color', colors[`${this.color}50`]);
|
|
25
|
+
if (this.maxWidth)
|
|
26
|
+
this.hostElement.style.setProperty('--max-width', `${this.maxWidth}`);
|
|
27
|
+
}
|
|
28
|
+
checkSlots() {
|
|
29
|
+
const slottedIllustration = this.hostElement.querySelector('[slot="illustration"]');
|
|
30
|
+
const topNav = this.hostElement.querySelector('[slot="top-menu"]');
|
|
31
|
+
this.topNav = !!topNav;
|
|
32
|
+
this.pill = !!slottedIllustration;
|
|
33
|
+
}
|
|
34
|
+
wrapperClasses() {
|
|
35
|
+
let classes = 'pn-header-content-wrapper ';
|
|
36
|
+
if (this.pill)
|
|
37
|
+
classes += 'pn-header-illustration ';
|
|
38
|
+
return classes;
|
|
39
|
+
}
|
|
40
|
+
render() {
|
|
41
|
+
return (h(Host, null, this.topNav && (h("div", { class: "page-nav" }, h("slot", { name: "top-menu" }))), h("div", { class: this.wrapperClasses() }, h("div", { class: "pn-header-content" }, h("div", { class: "pn-header-left" }, h("h1", null, this.heading), h("p", null, h("slot", null)), h("slot", { name: "buttons" }), h("slot", { name: "bottom-menu" })), h("div", { class: "pn-header-right" }, h("slot", { name: "illustration" }))))));
|
|
42
|
+
}
|
|
43
|
+
get hostElement() { return getElement(this); }
|
|
44
|
+
static get watchers() { return {
|
|
45
|
+
"color": ["colorHandler"]
|
|
46
|
+
}; }
|
|
47
|
+
};
|
|
48
|
+
PnHeader.style = pnHeaderCss;
|
|
49
|
+
|
|
50
|
+
export { PnHeader as pn_header };
|