@ptcwebops/ptcw-design 1.0.6 → 1.0.8
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/dist/cjs/bundle-example.cjs.entry.js +1 -1
- package/dist/cjs/bundle-jumbotron-example_16.cjs.entry.js +1131 -0
- package/dist/cjs/dropdown-item.cjs.entry.js +1 -1
- package/dist/cjs/{index-c27e52b2.js → index-88135a6b.js} +8 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/lottie-player.cjs.entry.js +1 -1
- package/dist/cjs/my-component.cjs.entry.js +1 -1
- package/dist/cjs/ptc-accordion-item.cjs.entry.js +1 -1
- package/dist/cjs/ptc-accordion.cjs.entry.js +1 -1
- package/dist/cjs/ptc-announcement.cjs.entry.js +1 -1
- package/dist/cjs/ptc-card-bottom_3.cjs.entry.js +1 -1
- package/dist/cjs/ptc-card-content.cjs.entry.js +1 -1
- package/dist/cjs/{ptc-card_7.cjs.entry.js → ptc-card.cjs.entry.js} +1 -445
- package/dist/cjs/ptc-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/ptc-collapse-list.cjs.entry.js +1 -1
- package/dist/cjs/ptc-container.cjs.entry.js +2 -2
- package/dist/cjs/ptc-date.cjs.entry.js +61 -0
- package/dist/cjs/ptc-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/ptc-dynamic-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-ellipsis-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/ptc-filter-tag.cjs.entry.js +1 -1
- package/dist/cjs/ptc-hero-footer-cta.cjs.entry.js +1 -1
- package/dist/cjs/ptc-hero.cjs.entry.js +1 -1
- package/dist/cjs/ptc-icon-list.cjs.entry.js +1 -1
- package/dist/cjs/ptc-icon-minimize.cjs.entry.js +1 -1
- package/dist/cjs/ptc-link.cjs.entry.js +1 -1
- package/dist/cjs/ptc-list.cjs.entry.js +1 -1
- package/dist/cjs/ptc-lottie.cjs.entry.js +1 -1
- package/dist/cjs/ptc-media-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-minimized-footer.cjs.entry.js +1 -1
- package/dist/cjs/ptc-minimized-header.cjs.entry.js +1 -1
- package/dist/cjs/ptc-mobile-select.cjs.entry.js +1 -1
- package/dist/cjs/ptc-nav-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-overlay.cjs.entry.js +1 -1
- package/dist/cjs/ptc-pagenation.cjs.entry.js +1 -1
- package/dist/cjs/ptc-previous-url.cjs.entry.js +1 -1
- package/dist/cjs/ptc-pricing-block.cjs.entry.js +1 -1
- package/dist/cjs/ptc-pricing-tabs.cjs.entry.js +20 -14
- package/dist/cjs/ptc-quote.cjs.entry.js +1 -1
- package/dist/cjs/ptc-readmore.cjs.entry.js +1 -1
- package/dist/cjs/ptc-responsive-wrapper.cjs.entry.js +1 -1
- package/dist/cjs/ptc-search-field.cjs.entry.js +1 -10
- package/dist/cjs/ptc-shopping-cart.cjs.entry.js +1 -1
- package/dist/cjs/ptc-social-share.cjs.entry.js +1 -1
- package/dist/cjs/ptc-span.cjs.entry.js +29 -0
- package/dist/cjs/ptc-sticky-icons.cjs.entry.js +1 -1
- package/dist/cjs/ptc-tab-list.cjs.entry.js +1 -1
- package/dist/cjs/ptc-tab.cjs.entry.js +1 -1
- package/dist/cjs/ptc-tabs.cjs.entry.js +1 -1
- package/dist/cjs/ptc-text-copy-with-background.cjs.entry.js +1 -1
- package/dist/cjs/ptc-two-column-media.cjs.entry.js +1 -1
- package/dist/cjs/ptcw-design.cjs.js +2 -2
- package/dist/cjs/tab-content.cjs.entry.js +1 -1
- package/dist/cjs/tab-header.cjs.entry.js +1 -1
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/bundle-jumbotron-example/bundle-jumbotron-example.css +3 -0
- package/dist/collection/components/bundle-jumbotron-example/bundle-jumbotron-example.js +66 -0
- package/dist/collection/components/list-item/list-item.css +14 -0
- package/dist/collection/components/list-item/list-item.js +39 -2
- package/dist/collection/components/max-width-container/max-width-container.css +8 -3
- package/dist/collection/components/max-width-container/max-width-container.js +26 -1
- package/dist/collection/components/ptc-breadcrumb/ptc-breadcrumb.css +19 -0
- package/dist/collection/components/ptc-breadcrumb/ptc-breadcrumb.js +85 -2
- package/dist/collection/components/ptc-container/ptc-container.js +4 -4
- package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.css +947 -0
- package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.js +274 -0
- package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.css +12 -0
- package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.js +18 -12
- package/dist/collection/components/ptc-search-field/ptc-search-field.js +0 -14
- package/dist/collection/components/ptc-svg-btn/ptc-svg-btn.js +39 -2
- package/dist/collection/components/ptc-title/ptc-title.css +1 -1
- package/dist/collection/media/svg-imgs/play-button-dark.svg +20 -0
- package/dist/custom-elements/index.d.ts +12 -0
- package/dist/custom-elements/index.js +229 -40
- package/dist/esm/bundle-example.entry.js +1 -1
- package/dist/esm/bundle-jumbotron-example_16.entry.js +1112 -0
- package/dist/esm/dropdown-item.entry.js +1 -1
- package/dist/esm/{index-40bc29fc.js → index-8e63c32d.js} +9 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/lottie-player.entry.js +1 -1
- package/dist/esm/my-component.entry.js +1 -1
- package/dist/esm/ptc-accordion-item.entry.js +1 -1
- package/dist/esm/ptc-accordion.entry.js +1 -1
- package/dist/esm/ptc-announcement.entry.js +1 -1
- package/dist/esm/ptc-card-bottom_3.entry.js +1 -1
- package/dist/esm/ptc-card-content.entry.js +1 -1
- package/dist/esm/{ptc-card_7.entry.js → ptc-card.entry.js} +2 -440
- package/dist/esm/ptc-checkbox.entry.js +1 -1
- package/dist/esm/ptc-collapse-list.entry.js +1 -1
- package/dist/esm/ptc-container.entry.js +2 -2
- package/dist/esm/ptc-date.entry.js +57 -0
- package/dist/esm/ptc-dropdown.entry.js +1 -1
- package/dist/esm/ptc-dynamic-card.entry.js +1 -1
- package/dist/esm/ptc-ellipsis-dropdown.entry.js +1 -1
- package/dist/esm/ptc-filter-tag.entry.js +1 -1
- package/dist/esm/ptc-hero-footer-cta.entry.js +1 -1
- package/dist/esm/ptc-hero.entry.js +1 -1
- package/dist/esm/ptc-icon-list.entry.js +1 -1
- package/dist/esm/ptc-icon-minimize.entry.js +1 -1
- package/dist/esm/ptc-link.entry.js +1 -1
- package/dist/esm/ptc-list.entry.js +1 -1
- package/dist/esm/ptc-lottie.entry.js +1 -1
- package/dist/esm/ptc-media-card.entry.js +1 -1
- package/dist/esm/ptc-minimized-footer.entry.js +1 -1
- package/dist/esm/ptc-minimized-header.entry.js +1 -1
- package/dist/esm/ptc-mobile-select.entry.js +1 -1
- package/dist/esm/ptc-nav-card.entry.js +1 -1
- package/dist/esm/ptc-overlay.entry.js +1 -1
- package/dist/esm/ptc-pagenation.entry.js +1 -1
- package/dist/esm/ptc-previous-url.entry.js +1 -1
- package/dist/esm/ptc-pricing-block.entry.js +1 -1
- package/dist/esm/ptc-pricing-tabs.entry.js +20 -14
- package/dist/esm/ptc-quote.entry.js +1 -1
- package/dist/esm/ptc-readmore.entry.js +1 -1
- package/dist/esm/ptc-responsive-wrapper.entry.js +1 -1
- package/dist/esm/ptc-search-field.entry.js +1 -10
- package/dist/esm/ptc-shopping-cart.entry.js +1 -1
- package/dist/esm/ptc-social-share.entry.js +1 -1
- package/dist/esm/ptc-span.entry.js +25 -0
- package/dist/esm/ptc-sticky-icons.entry.js +1 -1
- package/dist/esm/ptc-tab-list.entry.js +1 -1
- package/dist/esm/ptc-tab.entry.js +1 -1
- package/dist/esm/ptc-tabs.entry.js +1 -1
- package/dist/esm/ptc-text-copy-with-background.entry.js +1 -1
- package/dist/esm/ptc-two-column-media.entry.js +1 -1
- package/dist/esm/ptcw-design.js +3 -3
- package/dist/esm/tab-content.entry.js +1 -1
- package/dist/esm/tab-header.entry.js +1 -1
- package/dist/ptcw-design/{p-62cabff9.entry.js → p-00c9ae79.entry.js} +1 -1
- package/dist/ptcw-design/{p-bc0181f3.entry.js → p-0f8784e9.entry.js} +1 -1
- package/dist/ptcw-design/{p-2cc97b88.entry.js → p-12780f09.entry.js} +1 -1
- package/dist/ptcw-design/{p-c325283e.entry.js → p-1996ad89.entry.js} +1 -1
- package/dist/ptcw-design/{p-0099616c.entry.js → p-1bc06d03.entry.js} +1 -1
- package/dist/ptcw-design/p-1c5e16e5.entry.js +1 -0
- package/dist/ptcw-design/{p-71f68949.entry.js → p-1cddde0e.entry.js} +1 -1
- package/dist/ptcw-design/{p-8d48362b.entry.js → p-2181c8c7.entry.js} +1 -1
- package/dist/ptcw-design/{p-b9f12c38.entry.js → p-24aff0bd.entry.js} +1 -1
- package/dist/ptcw-design/p-24df6392.entry.js +1 -0
- package/dist/ptcw-design/{p-8d210676.entry.js → p-2ae39c65.entry.js} +1 -1
- package/dist/ptcw-design/{p-f7d1f987.entry.js → p-324a6ee8.entry.js} +1 -1
- package/dist/ptcw-design/{p-45c0076d.entry.js → p-343f216f.entry.js} +1 -1
- package/dist/ptcw-design/{p-de6b444f.entry.js → p-366528df.entry.js} +1 -1
- package/dist/ptcw-design/{p-c7247cc9.entry.js → p-379f7e39.entry.js} +1 -1
- package/dist/ptcw-design/{p-d24446b2.entry.js → p-3bb54c51.entry.js} +1 -1
- package/dist/ptcw-design/p-45f33a06.entry.js +1 -0
- package/dist/ptcw-design/{p-63fab352.entry.js → p-462567d1.entry.js} +1 -1
- package/dist/ptcw-design/{p-854cbe46.entry.js → p-46afd828.entry.js} +1 -1
- package/dist/ptcw-design/{p-1def8f3c.entry.js → p-47b2c76f.entry.js} +1 -1
- package/dist/ptcw-design/p-55d298f5.entry.js +1 -0
- package/dist/ptcw-design/{p-fed5edd3.entry.js → p-59058faa.entry.js} +1 -1
- package/dist/ptcw-design/{p-ad487b1e.entry.js → p-610dc9d3.entry.js} +1 -1
- package/dist/ptcw-design/{p-9fb2ab8c.js → p-63c06667.js} +2 -2
- package/dist/ptcw-design/p-6e8222ce.entry.js +1 -0
- package/dist/ptcw-design/{p-6ae2fd80.entry.js → p-77f4e77b.entry.js} +1 -1
- package/dist/ptcw-design/{p-91512aeb.entry.js → p-8a1c2577.entry.js} +1 -1
- package/dist/ptcw-design/{p-32b81dde.entry.js → p-8a6acf0d.entry.js} +1 -1
- package/dist/ptcw-design/{p-673121e2.entry.js → p-8c6b069b.entry.js} +1 -1
- package/dist/ptcw-design/p-a43f3c42.entry.js +1 -0
- package/dist/ptcw-design/{p-a2145afa.entry.js → p-a7b20fe7.entry.js} +1 -1
- package/dist/ptcw-design/{p-ec21e6b7.entry.js → p-ab28cfc5.entry.js} +1 -1
- package/dist/ptcw-design/{p-7a728178.entry.js → p-af3d5be7.entry.js} +1 -1
- package/dist/ptcw-design/{p-159d9a80.entry.js → p-af975d78.entry.js} +1 -1
- package/dist/ptcw-design/p-b755e12b.entry.js +1 -0
- package/dist/ptcw-design/{p-e66a28aa.entry.js → p-b922e3a5.entry.js} +1 -1
- package/dist/ptcw-design/p-bbff3792.entry.js +1 -0
- package/dist/ptcw-design/{p-b4d92914.entry.js → p-c7bd4d99.entry.js} +1 -1
- package/dist/ptcw-design/{p-586d9c9d.entry.js → p-ca6d7814.entry.js} +1 -1
- package/dist/ptcw-design/{p-2eb5ef88.entry.js → p-cdff68d4.entry.js} +1 -1
- package/dist/ptcw-design/{p-727ef7a7.entry.js → p-ce9f0355.entry.js} +1 -1
- package/dist/ptcw-design/{p-329cc205.entry.js → p-d43ff8d4.entry.js} +1 -1
- package/dist/ptcw-design/{p-34db9e46.entry.js → p-dd6501a8.entry.js} +1 -1
- package/dist/ptcw-design/{p-01783129.entry.js → p-e4cd7ef5.entry.js} +1 -1
- package/dist/ptcw-design/{p-3fc703a5.entry.js → p-e4f1e8fd.entry.js} +1 -1
- package/dist/ptcw-design/p-e91fbd67.entry.js +1 -0
- package/dist/ptcw-design/{p-65aa6afd.entry.js → p-ea19d8f6.entry.js} +1 -1
- package/dist/ptcw-design/{p-fd50c3b4.entry.js → p-f55984c2.entry.js} +1 -1
- package/dist/ptcw-design/{p-d625bb90.entry.js → p-f6fe5efe.entry.js} +1 -1
- package/dist/ptcw-design/{p-bf48a5e7.entry.js → p-f81d880d.entry.js} +1 -1
- package/dist/ptcw-design/{p-50c88717.entry.js → p-f8b8554e.entry.js} +1 -1
- package/dist/ptcw-design/p-fe1ff7d2.entry.js +1 -0
- package/dist/ptcw-design/ptcw-design.css +1 -1
- package/dist/ptcw-design/ptcw-design.esm.js +1 -1
- package/dist/types/components/bundle-jumbotron-example/bundle-jumbotron-example.d.ts +4 -0
- package/dist/types/components/list-item/list-item.d.ts +8 -0
- package/dist/types/components/max-width-container/max-width-container.d.ts +2 -0
- package/dist/types/components/ptc-breadcrumb/ptc-breadcrumb.d.ts +16 -0
- package/dist/types/components/ptc-container/ptc-container.d.ts +1 -1
- package/dist/types/components/ptc-jumbotron/ptc-jumbotron.d.ts +20 -0
- package/dist/types/components/ptc-search-field/ptc-search-field.d.ts +0 -2
- package/dist/types/components/ptc-svg-btn/ptc-svg-btn.d.ts +8 -0
- package/dist/types/components.d.ts +112 -2
- package/package.json +1 -1
- package/readme.md +1 -1
- package/dist/cjs/icon-asset.cjs.entry.js +0 -53
- package/dist/cjs/list-item.cjs.entry.js +0 -30
- package/dist/cjs/max-width-container.cjs.entry.js +0 -40
- package/dist/cjs/ptc-background-video.cjs.entry.js +0 -27
- package/dist/cjs/ptc-breadcrumb.cjs.entry.js +0 -23
- package/dist/cjs/ptc-button.cjs.entry.js +0 -46
- package/dist/cjs/ptc-modal.cjs.entry.js +0 -154
- package/dist/cjs/ptc-svg-btn.cjs.entry.js +0 -92
- package/dist/cjs/ptc-title.cjs.entry.js +0 -78
- package/dist/cjs/ptc-tooltip.cjs.entry.js +0 -90
- package/dist/esm/icon-asset.entry.js +0 -49
- package/dist/esm/list-item.entry.js +0 -26
- package/dist/esm/max-width-container.entry.js +0 -36
- package/dist/esm/ptc-background-video.entry.js +0 -23
- package/dist/esm/ptc-breadcrumb.entry.js +0 -19
- package/dist/esm/ptc-button.entry.js +0 -42
- package/dist/esm/ptc-modal.entry.js +0 -150
- package/dist/esm/ptc-svg-btn.entry.js +0 -88
- package/dist/esm/ptc-title.entry.js +0 -74
- package/dist/esm/ptc-tooltip.entry.js +0 -86
- package/dist/ptcw-design/p-03a0ed56.entry.js +0 -1
- package/dist/ptcw-design/p-0828fe2e.entry.js +0 -1
- package/dist/ptcw-design/p-0f937cff.entry.js +0 -1
- package/dist/ptcw-design/p-13b0d8c3.entry.js +0 -1
- package/dist/ptcw-design/p-238b74c1.entry.js +0 -1
- package/dist/ptcw-design/p-2ac518f1.entry.js +0 -1
- package/dist/ptcw-design/p-2de0f980.entry.js +0 -1
- package/dist/ptcw-design/p-424ae8e1.entry.js +0 -1
- package/dist/ptcw-design/p-498a9551.entry.js +0 -1
- package/dist/ptcw-design/p-8b5e393e.entry.js +0 -1
- package/dist/ptcw-design/p-96883fd7.entry.js +0 -1
- package/dist/ptcw-design/p-bbeb95bd.entry.js +0 -1
- package/dist/ptcw-design/p-c693e1c5.entry.js +0 -1
- package/dist/ptcw-design/p-c7c949c8.entry.js +0 -1
- package/dist/ptcw-design/p-c8e804a7.entry.js +0 -1
- package/dist/ptcw-design/p-ce3627b8.entry.js +0 -1
- package/dist/ptcw-design/p-e353a8e8.entry.js +0 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-88135a6b.js');
|
|
6
6
|
|
|
7
7
|
const ptcCardCss = ":host{display:block}:host(.lottie-card) .card-border{box-shadow:var(--ptc-shadow-small);border:1px solid var(--color-gray-03);border-radius:10px;position:relative;overflow:hidden}:host(.lottie-card) .card-border::after{content:\"\";height:40%;width:4px;position:absolute;top:30%;right:-2px;background-color:var(--color-green-06);z-index:2;display:block}:host(.lottie-card) .card-border:hover{box-shadow:var(--ptc-shadow-x-large)}:host(.lottie-card) .card-border:hover .card-body h3{border-bottom:2px solid var(--color-green-07)}:host(.lottie-card) .card-layout{display:block}@media only screen and (min-width: 768px){:host(.lottie-card) .card-layout{display:flex;flex-flow:nowrap row;justify-content:center}}:host(.lottie-card) .link-wrapper{outline:none;text-decoration:none}:host(.lottie-card) .link-wrapper:hover{outline:none;text-decoration:none}:host(.lottie-card) .card-media{flex-basis:40%;border-right:1px solid var(--color-gray-03);display:flex}:host(.lottie-card) .card-body{flex-basis:60%;align-self:center;padding:0 30px 10px}:host(.lottie-card) .card-body h3{display:inline-block;line-height:var(--ptc-line-height-densest);color:var(--color-gray-10);font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-x-small);border-bottom:2px solid transparent;margin-bottom:var(--ptc-element-spacing-02)}:host(.simple-card) .card-layout{display:block}:host(.simple-card) .link-wrapper{outline:none;text-decoration:none}:host(.simple-card) .link-wrapper:hover{outline:none;text-decoration:none}:host(.simple-card) .link-wrapper:hover .card-body h3::before{width:100%}:host(.simple-card) .link-wrapper:hover ::slotted([slot=slot-after-heading]){margin-left:var(--ptc-element-spacing-04)}:host(.simple-card) .card-body h3{color:var(--color-gray-10);font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-black);line-height:var(--ptc-line-height-dense);position:relative;margin-bottom:var(--ptc-element-spacing-02);display:inline-block}:host(.simple-card) .card-body h3::before{display:block;position:absolute;content:\"\";width:var(--ptc-element-spacing-07);border-bottom:2px solid var(--color-green-06);bottom:1px;transition:width var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.simple-card) ::slotted([slot=slot-after-heading]){margin-left:var(--ptc-element-spacing-01);transition:margin-left var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.clip-edge-card) .card-border{overflow:hidden;filter:drop-shadow(rgba(0, 0, 0, 0.32) 0px 3px 6px);width:100%}:host(.clip-edge-card) .card-border:hover{filter:drop-shadow(rgba(0, 0, 0, 0.32) 0px 6px 12px)}:host(.clip-edge-card) .card-layout{display:block}:host(.clip-edge-card) .link-wrapper{outline:none;text-decoration:none}:host(.clip-edge-card) .link-wrapper:hover{outline:none;text-decoration:none}:host(.clip-edge-card) .card-media{position:relative;width:100%;height:124px;overflow:hidden;border-radius:var(--ptc-border-radius-standard)}:host(.clip-edge-card) .card-body{transform:translateY(calc(-1 * var(--ptc-element-spacing-04)));overflow:hidden;width:calc(95% - var(--ptc-element-spacing-04) - var(--ptc-element-spacing-04));font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-medium);line-height:var(--ptc-line-height-dense);color:var(--color-gray-10);clip-path:var(--ptc-clip-path-bottom-right);background-color:var(--color-white);border-radius:var(--ptc-border-radius-standard);padding:var(--ptc-element-spacing-06) var(--ptc-element-spacing-04) var(--ptc-element-spacing-03) var(--ptc-element-spacing-04)}:host(.clip-edge-card) .card-body h3{display:inline-block;margin:0px;font-size:var(--ptc-font-size-x-small);font-weight:var(--ptc-font-weight-bold);line-height:var(--ptc-line-height-dense);color:var(--color-gray-10);text-decoration:none;border-bottom:2px solid transparent;transition:border-bottom var(--ptc-transition-medium) var(--ptc-ease-inout), margin var(--ptc-transition-medium) var(--ptc-ease-inout);margin:var(--ptc-element-spacing-03) 0 var(--ptc-element-spacing-03) 0}:host(.clip-edge-card) ::slotted([slot=slot-description]){height:0;opacity:0;transition:height var(--ptc-transition-medium) var(--ptc-ease-inout), opacity var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.clip-edge-card) ::slotted([slot=slot-image]){display:block;width:100%;height:100%;transform:scale(1);transition:transform var(--ptc-transition-medium) var(--ptc-ease-inout);transform-origin:top center}:host(.clip-edge-card) ::slotted([slot=slot-after-heading]){position:absolute;top:var(--ptc-element-spacing-03);left:var(--ptc-element-spacing-04);opacity:1;transform:scale(1);height:44px;transform-origin:bottom center;transition:opacity var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.clip-edge-card) ::slotted([slot=slot-before-heading]){display:block;opacity:0;height:24px;transition:all var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.clip-edge-card) .link-wrapper:hover .card-body h3{border-bottom:2px solid var(--color-green-06)}:host(.clip-edge-card) .link-wrapper:hover ::slotted([slot=slot-description]){height:60px;opacity:1}:host(.clip-edge-card) .link-wrapper:hover ::slotted([slot=slot-image]){transform:scale(1.1)}:host(.clip-edge-card) .link-wrapper:hover ::slotted([slot=slot-after-heading]){opacity:0;transform:scale(0);height:0}:host(.clip-edge-card) .link-wrapper:hover ::slotted([slot=slot-before-heading]){opacity:1}:host(.hightlight-card) .card-border{width:100%;border-radius:var(--ptc-border-radius-standard);overflow:hidden}:host(.hightlight-card) .card-border:hover .card-media{transform:scale(1.1)}:host(.hightlight-card) .card-layout{display:block;position:relative}:host(.hightlight-card) .link-wrapper{outline:none;text-decoration:none}:host(.hightlight-card) .link-wrapper:hover{outline:none;text-decoration:none}:host(.hightlight-card) .link-wrapper:hover ::slotted([slot=slot-description]){height:96px;opacity:1}@media only screen and (min-width: 768px){:host(.hightlight-card) .link-wrapper:hover ::slotted([slot=slot-description]){height:var(--ptc-layout-spacing-05)}}@media only screen and (min-width: 992px){:host(.hightlight-card) .link-wrapper:hover ::slotted([slot=slot-description]){height:var(--ptc-layout-spacing-06)}}@media only screen and (min-width: 1440px){:host(.hightlight-card) .link-wrapper:hover ::slotted([slot=slot-description]){height:var(--ptc-layout-spacing-05)}}:host(.hightlight-card) .card-media{width:100%;height:auto;min-height:450px;position:relative;transform:scale(1);transform-origin:center bottom;transition:transform var(--ptc-transition-medium) var(--ptc-ease-inout);transition-delay:var(--ptc-delay-5)}:host(.hightlight-card) .card-body{position:absolute;bottom:0;top:auto;left:0;right:auto;padding:var(--ptc-element-spacing-04) var(--ptc-element-spacing-07);background-color:var(--color-white);box-sizing:border-box}:host(.hightlight-card) .card-body h3{font-size:var(--ptc-font-size-x-large);line-height:var(--ptc-line-height-densest);font-weight:var(--ptc-font-weight-bold);color:var(--color-gray-10);margin:var(--ptc-element-spacing-04) 0}:host(.hightlight-card) ::slotted([slot=slot-description]){height:0;opacity:0;transition:height var(--ptc-transition-medium) var(--ptc-ease-inout), opacity var(--ptc-transition-fast) var(--ptc-ease-inout);transition-delay:var(--ptc-delay-5)}:host(.horizontal-card){margin-bottom:var(--ptc-layout-spacing-02)}:host(.horizontal-card) .card-layout{position:relative}@media only screen and (min-width: 768px){:host(.horizontal-card) .card-layout{display:grid;grid-template-columns:42% 58%;direction:ltr;grid-auto-rows:1fr}}:host(.horizontal-card) .link-wrapper{outline:none;text-decoration:none;transition:var(--ptc-transition-slow) linear}:host(.horizontal-card) .link-wrapper:hover{box-shadow:var(--ptc-shadow-large);transition:var(--ptc-transition-slow) linear;background-color:var(--color-white)}:host(.horizontal-card) .link-wrapper:hover h3{border-color:var(--color-green-06);transition:var(--ptc-transition-slow) linear}:host(.horizontal-card) .card-media{display:flex;align-self:center}:host(.horizontal-card) .card-body{padding:var(--ptc-element-spacing-05) var(--ptc-element-spacing-04)}@media only screen and (min-width: 768px){:host(.horizontal-card) .card-body{padding:var(--ptc-element-spacing-06) var(--ptc-element-spacing-07)}}:host(.horizontal-card) .card-body h3{margin-top:0;font-size:var(--ptc-font-size-x-small);color:var(--color-gray-10);border-bottom:1px solid transparent;padding-bottom:var(--ptc-element-spacing-01);margin-bottom:var(--ptc-element-spacing-02);transition:var(--ptc-transition-slow) linear}:host(.horizontal-card) ::slotted([slot=slot-image]){box-shadow:var(--ptc-shadow-medium);width:100%}:host(.listing-card) .card-border{width:325px;overflow:hidden;background:var(--color-white);box-shadow:var(--ptc-shadow-small);border-radius:3px;height:487px;display:flex;flex-direction:row;margin-bottom:0.5rem}:host(.listing-card) .card-border:hover{background:var(--color-gray-02);box-shadow:var(--ptc-shadow-large)}:host(.listing-card) .card-border:hover .card-media{background:var(--color-white)}:host(.listing-card) .card-border:hover .card-media .smart-img{background:var(--color-white)}@media (min-width: 480px){:host(.listing-card) .card-border{width:432px;height:487px}}@media (min-width: 768px){:host(.listing-card) .card-border{width:348px;height:456px}}@media (min-width: 992px){:host(.listing-card) .card-border{margin-left:4px;margin-right:4px;width:288px;height:440px}}@media (min-width: 1200px){:host(.listing-card) .card-border{width:260px;height:420px}}@media (min-width: 1440px){:host(.listing-card) .card-border{width:260px;height:420px}}:host(.listing-card) .card-layout{display:block;position:relative;width:100%;height:100%}:host(.listing-card) .link-wrapper{outline:none;text-decoration:none}:host(.listing-card) .link-wrapper:hover{outline:none;text-decoration:none}:host(.listing-card) .card-media{width:100%;height:288px;transform:scale(1);transform-origin:center bottom;transition:transform var(--ptc-transition-medium) var(--ptc-standard-ease);transition-delay:var(--ptc-delay-medium)}:host(.listing-card) .card-media .smart-img{height:288px}@media (min-width: 768px){:host(.listing-card) .card-media .smart-img{height:232px}}@media (min-width: 992px){:host(.listing-card) .card-media .smart-img{height:192px}}@media (min-width: 1200px){:host(.listing-card) .card-media .smart-img{height:170px}}@media (min-width: 768px){:host(.listing-card) .card-media{height:232px}}@media (min-width: 992px){:host(.listing-card) .card-media{height:192px}}@media (min-width: 1200px){:host(.listing-card) .card-media{height:170px}}:host(.listing-card) .card-body{padding:16px 20px 0px 20px}:host(.listing-card) .card-body .card-date-text{display:flex;flex-direction:row}:host(.listing-card) .card-body .card-date-text p{font-size:var(--ptc-font-size-xx-small);font-weight:400;line-height:19px;color:#282F35;margin-bottom:16px;display:inline-block;margin-top:0rem}:host(.listing-card) .card-body .small{font-size:var(--ptc-font-size-x-small);font-weight:400;line-height:19px;color:#282F35;margin-bottom:16px;display:inline-block}:host(.listing-card) .card-body h3{font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-small);line-height:var(--ptc-line-height-loose);line-height:21px;color:var(--color-gray-11);margin-bottom:14px;margin-top:0rem}:host(.listing-card) ::slotted([slot=slot-date]){font-weight:400;font-size:16px;line-height:19px;color:#282F35;margin-bottom:16px;display:inline-block}:host(.listing-card) ::slotted([slot=slot-description]){font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);font-weight:400;font-size:1rem;line-height:19px;color:var(--color-gray-11);margin-bottom:39px}:host(.listing-card-horizontal) .card-border{width:325px;overflow:hidden;background:var(--color-white);box-shadow:var(--ptc-shadow-small);border-radius:3px;height:220px}@media (min-width: 1200px){:host(.listing-card-horizontal) .card-border{margin-bottom:0.5rem}}@media (min-width: 1200px) and (max-width: 1439){:host(.listing-card-horizontal) .card-border{margin-left:16px}}:host(.listing-card-horizontal) .card-border:hover{background:var(--color-gray-02);box-shadow:var(--ptc-shadow-large)}:host(.listing-card-horizontal) .card-border:hover .card-media{background:var(--color-white)}:host(.listing-card-horizontal) .card-border:hover .card-media .smart-img{background:var(--color-white)}@media (min-width: 480px){:host(.listing-card-horizontal) .card-border{width:432px;height:178px}}@media (min-width: 768px){:host(.listing-card-horizontal) .card-border{width:704px;height:210px}}@media (min-width: 992px){:host(.listing-card-horizontal) .card-border{width:688px;height:200px}}@media (min-width: 1200px){:host(.listing-card-horizontal) .card-border{width:779px;height:200px}}:host(.listing-card-horizontal) .card-layout{display:flex;flex-direction:row;width:325px;height:220px}@media (min-width: 480px){:host(.listing-card-horizontal) .card-layout{width:432px;height:178px}}@media (min-width: 768px){:host(.listing-card-horizontal) .card-layout{width:704px;height:210px}}@media (min-width: 992px){:host(.listing-card-horizontal) .card-layout{width:688px;height:200px}}@media (min-width: 1200px){:host(.listing-card-horizontal) .card-layout{width:779px;height:200px}}:host(.listing-card-horizontal) .link-wrapper{outline:none;text-decoration:none}:host(.listing-card-horizontal) .link-wrapper:hover{outline:none;text-decoration:none}:host(.listing-card-horizontal) .card-media{width:325px;height:224px;transform:scale(1);transform-origin:center bottom;transition:transform var(--ptc-transition-medium) var(--ptc-standard-ease);transition-delay:var(--ptc-delay-medium);display:none}:host(.listing-card-horizontal) .card-media .smart-img{height:224px;width:325px}@media (min-width: 768px){:host(.listing-card-horizontal) .card-media .smart-img{width:275px;height:210px}}@media (min-width: 992px){:host(.listing-card-horizontal) .card-media .smart-img{width:224px;height:200px}}@media (min-width: 1200px){:host(.listing-card-horizontal) .card-media .smart-img{width:260px;height:200px}}@media (min-width: 768px){:host(.listing-card-horizontal) .card-media{display:block;width:275px;height:210px}}@media (min-width: 992px){:host(.listing-card-horizontal) .card-media{width:224px;height:200px}}@media (min-width: 1200px){:host(.listing-card-horizontal) .card-media{width:260px;height:200px}}:host(.listing-card-horizontal) .card-body{padding:16px 24px 0px 24px}@media (min-width: 768px){:host(.listing-card-horizontal) .card-body{padding:24px 32px 0px 32px}}@media (min-width: 992px){:host(.listing-card-horizontal) .card-body{padding:8px 16px 0px 16px}}@media (min-width: 1200px){:host(.listing-card-horizontal) .card-body{padding:14px 32px 0px 32px}}@media only screen and (min-width: 768px){:host(.listing-card-horizontal) .card-body{width:505px}}:host(.listing-card-horizontal) .card-body .card-date-text{display:flex;flex-direction:row}:host(.listing-card-horizontal) .card-body .card-date-text p{font-size:var(--ptc-font-size-xx-small);font-weight:400;line-height:19px;color:#282F35;margin-bottom:12px;display:inline-block;margin-top:0rem;margin-block-start:0rem}@media only screen and (min-width: 1200px){:host(.listing-card-horizontal) .card-body .card-date-text p{margin-bottom:20px}}@media only screen and (min-width: 1440px){:host(.listing-card-horizontal) .card-body .card-date-text p{margin-bottom:24px}}@media only screen and (min-width: 1600px){:host(.listing-card-horizontal) .card-body .card-date-text p{margin-bottom:32px}}:host(.listing-card-horizontal) .card-body .small{font-weight:400;font-size:16px;line-height:19px;color:#282F35;margin-bottom:16px;display:inline-block}@media (min-width: 992px){:host(.listing-card-horizontal) .card-body .small{margin-bottom:12px}}@media (min-width: 1200px){:host(.listing-card-horizontal) .card-body .small{margin-bottom:16px}}:host(.listing-card-horizontal) .card-body h3{font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-x-small);line-height:19px;color:var(--color-gray-11);margin-bottom:8px;margin-top:0rem}@media (min-width: 768px){:host(.listing-card-horizontal) .card-body h3{margin-bottom:16px}}@media (min-width: 992px){:host(.listing-card-horizontal) .card-body h3{margin-bottom:12px}}@media (min-width: 1200px){:host(.listing-card-horizontal) .card-body h3{margin-bottom:16px}}@media only screen and (min-width: 768px){:host(.listing-card-horizontal) .card-body h3{font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-small);line-height:var(--ptc-line-height-loose);line-height:21px;color:var(--color-gray-11);margin-bottom:8px;margin-top:0rem}}:host(.listing-card-horizontal) ::slotted([slot=slot-description]){font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);font-weight:400;font-size:1rem;line-height:19px;color:var(--color-gray-11);margin-bottom:19px;margin-top:0rem;margin-block-start:0rem}:host(.listing-card-horizontal) ::slotted([slot=slot-description]) p{margin-block-start:0rem}@media (max-width: 767px){:host(.listing-card-horizontal) ::slotted([slot=slot-description]){font-weight:400;font-size:14px;line-height:16px}}:host(.resource-center-card) .card-border{width:325px;overflow:hidden;background:var(--color-white);box-shadow:var(--ptc-shadow-small);border-radius:3px;height:442px;display:flex;flex-direction:row;margin-bottom:0.5rem}:host(.resource-center-card) .card-border:hover{background:var(--color-gray-02);box-shadow:var(--ptc-shadow-large)}:host(.resource-center-card) .card-border:hover .card-media{background:var(--color-white)}:host(.resource-center-card) .card-border:hover .card-media .smart-img{background:var(--color-white)}@media (min-width: 480px){:host(.resource-center-card) .card-border{width:433px;height:442px}}@media (min-width: 768px){:host(.resource-center-card) .card-border{width:336px;height:396px}}@media (min-width: 992px){:host(.resource-center-card) .card-border{width:287px;height:396px}}@media (min-width: 1200px){:host(.resource-center-card) .card-border{width:260px;height:396px}}@media (min-width: 1440px){:host(.resource-center-card) .card-border{width:260px;height:396px}}@media only screen and (min-width: 768px){:host(.resource-center-card) .card-border{margin-left:4px;margin-right:4px}}:host(.resource-center-card) .card-layout{display:block;position:relative}:host(.resource-center-card) .card-layout .ribbon-text{position:absolute;top:0;left:0;margin-top:24px;background-color:var(--color-white);padding:4px 24px;font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-small);color:var(--color-gray-11);border-radius:0px 3px 3px 0px;box-shadow:var(--ptc-shadow-small);max-width:70%;max-height:20px;overflow:hidden}:host(.resource-center-card) .link-wrapper{outline:none;text-decoration:none}:host(.resource-center-card) .link-wrapper:hover{outline:none;text-decoration:none}:host(.resource-center-card) .card-media{width:100%;height:250px;transform:scale(1);transform-origin:center bottom;transition:transform var(--ptc-transition-medium) var(--ptc-standard-ease);transition-delay:var(--ptc-delay-medium)}:host(.resource-center-card) .card-media .smart-img{height:250px}@media (min-width: 480px){:host(.resource-center-card) .card-media .smart-img{height:285px}}@media (min-width: 768px){:host(.resource-center-card) .card-media .smart-img{height:221px}}@media (min-width: 992px){:host(.resource-center-card) .card-media .smart-img{height:189px}}@media (min-width: 1200px){:host(.resource-center-card) .card-media .smart-img{height:173px}}@media (min-width: 1440px){:host(.resource-center-card) .card-media .smart-img{height:173px}}@media (min-width: 480px){:host(.resource-center-card) .card-media{height:285px}}@media (min-width: 768px){:host(.resource-center-card) .card-media{height:221px}}@media (min-width: 992px){:host(.resource-center-card) .card-media{height:189px}}@media (min-width: 1200px){:host(.resource-center-card) .card-media{height:173px}}@media (min-width: 1440px){:host(.resource-center-card) .card-media{height:173px}}:host(.resource-center-card) .card-body{padding:16px 24px 0px 24px}@media (min-width: 768px){:host(.resource-center-card) .card-body{padding:14px 24px 0px 24px}}@media (min-width: 1200px){:host(.resource-center-card) .card-body{padding:14px 20px 0px 21px}}:host(.resource-center-card) .card-body .small{font-size:var(--ptc-font-size-x-small);font-weight:400;line-height:19px;color:#282F35;margin-bottom:24px;display:inline-block}:host(.resource-center-card) .card-body h3{font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-small);line-height:var(--ptc-line-height-loose);line-height:21px;color:var(--color-gray-11);margin-bottom:12px;margin-top:0rem}:host(.resource-center-card) ::slotted([slot=slot-description]){font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);font-weight:400;font-size:1rem;line-height:19px;color:var(--color-gray-11);margin-bottom:39px}:host(.resource-center-card) ::slotted([slot=slot-description]) p{font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);font-weight:400;font-size:1rem;line-height:19px;color:var(--color-gray-11);margin-bottom:39px}:host(.resource-center-card) ::slotted([slot=slot-description]) span{font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);font-weight:400;font-size:1rem;line-height:19px;color:var(--color-gray-11);margin-bottom:39px}:host(.case-studies-card) .card-border{width:320px;overflow:hidden;background:var(--color-white);box-shadow:var(--ptc-shadow-small);border-radius:3px;height:447px;display:flex;flex-direction:row;margin-bottom:0.5rem}:host(.case-studies-card) .card-border:hover{background:var(--color-gray-02);box-shadow:var(--ptc-shadow-large)}:host(.case-studies-card) .card-border:hover .card-media{background:var(--color-white)}:host(.case-studies-card) .card-border:hover .card-media .smart-img{background:var(--color-white)}@media (min-width: 480px){:host(.case-studies-card) .card-border{width:431px;height:536px}}@media (min-width: 768px){:host(.case-studies-card) .card-border{width:335px;height:452px}}@media (min-width: 992px){:host(.case-studies-card) .card-border{width:288px;height:452px}}@media (min-width: 1200px){:host(.case-studies-card) .card-border{width:260px;height:452px}}@media (min-width: 1440px){:host(.case-studies-card) .card-border{width:260px;height:452px}}@media only screen and (min-width: 768px){:host(.case-studies-card) .card-border{margin-left:4px;margin-right:4px}}:host(.case-studies-card) .card-layout{display:block;position:relative}:host(.case-studies-card) .link-wrapper{outline:none;text-decoration:none}:host(.case-studies-card) .link-wrapper:hover{outline:none;text-decoration:none}:host(.case-studies-card) .card-media{width:100%;height:200px;transform:scale(1);transform-origin:center bottom;transition:transform var(--ptc-transition-medium) var(--ptc-standard-ease);transition-delay:var(--ptc-delay-medium)}:host(.case-studies-card) .card-media .smart-img{width:100%;height:200px}@media (min-width: 480px){:host(.case-studies-card) .card-media .smart-img{height:286px}}@media (min-width: 768px){:host(.case-studies-card) .card-media .smart-img{height:224px}}@media (min-width: 992px){:host(.case-studies-card) .card-media .smart-img{height:192px}}@media (min-width: 1200px){:host(.case-studies-card) .card-media .smart-img{height:173px}}@media (min-width: 1440px){:host(.case-studies-card) .card-media .smart-img{height:170px}}@media (min-width: 480px){:host(.case-studies-card) .card-media{height:286px}}@media (min-width: 768px){:host(.case-studies-card) .card-media{height:224px}}@media (min-width: 992px){:host(.case-studies-card) .card-media{height:192px}}@media (min-width: 1200px){:host(.case-studies-card) .card-media{height:173px}}@media (min-width: 1440px){:host(.case-studies-card) .card-media{height:170px}}:host(.case-studies-card) .card-body .card-logo-container{padding:8px 20px;border-bottom:1px solid #E4E7E9}:host(.case-studies-card) .card-body .card-logo-none{padding-top:16px}:host(.case-studies-card) .card-body .card-logo{max-width:280px;width:auto;height:40px;object-fit:cover;border:1px solid #E4E7E9;margin-bottom:8px}:host(.case-studies-card) .card-body .small{font-size:var(--ptc-font-size-x-small);font-weight:400;line-height:19px;color:#282F35;margin-bottom:24px;display:inline-block}:host(.case-studies-card) .card-body h3{font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-small);line-height:var(--ptc-line-height-loose);line-height:21px;color:var(--color-gray-11);margin:8px 20px 12px 20px}:host(.case-studies-card) ::slotted([slot=slot-date]){font-weight:400;font-size:16px;line-height:19px;color:#282F35;margin-bottom:24px;display:inline-block}:host(.case-studies-card) ::slotted([slot=slot-description]){font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);font-weight:400;font-size:1rem;line-height:19px;color:var(--color-gray-11);margin:0px 20px 39px 20px}:host(.related-card) .card-border{background:var(--color-white);box-shadow:var(--ptc-shadow-small);border-radius:3px;width:100%;height:auto;display:flex;flex-direction:row}:host(.related-card) .card-border:hover{background:var(--color-gray-02);box-shadow:var(--ptc-shadow-large)}:host(.related-card) .card-border:hover .card-media{background:var(--color-white)}:host(.related-card) .card-border:hover .card-media .smart-img{background:var(--color-white)}:host(.related-card) .card-layout{display:block;position:relative;width:100%;height:100%}:host(.related-card) .card-layout .ribbon-text{position:absolute;top:0;left:0;margin-top:24px;background-color:var(--color-white);padding:4px 24px;font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-small);color:var(--color-gray-11);border-radius:0px 3px 3px 0px;box-shadow:var(--ptc-shadow-small);max-width:70%;max-height:20px;overflow:hidden}:host(.related-card) .link-wrapper{outline:none;text-decoration:none}:host(.related-card) .link-wrapper:hover{outline:none;text-decoration:none}:host(.related-card) .card-media{width:100%;height:288px;transform:scale(1);transform-origin:center bottom;transition:transform var(--ptc-transition-medium) var(--ptc-standard-ease);transition-delay:var(--ptc-delay-medium)}:host(.related-card) .card-media .smart-img{height:288px}@media only screen and (min-width: 480px){:host(.related-card) .card-media .smart-img{height:286px}}@media only screen and (min-width: 768px){:host(.related-card) .card-media .smart-img{height:142px}}@media only screen and (min-width: 992px){:host(.related-card) .card-media .smart-img{height:192px}}@media only screen and (min-width: 1200px){:host(.related-card) .card-media .smart-img{height:237px}}@media only screen and (min-width: 1440px){:host(.related-card) .card-media .smart-img{height:248px}}@media only screen and (min-width: 480px){:host(.related-card) .card-media{height:286px}}@media only screen and (min-width: 768px){:host(.related-card) .card-media{height:142px}}@media only screen and (min-width: 992px){:host(.related-card) .card-media{height:192px}}@media only screen and (min-width: 1200px){:host(.related-card) .card-media{height:237px}}@media only screen and (min-width: 1440px){:host(.related-card) .card-media{height:248px}}:host(.related-card) .card-body{box-sizing:border-box;padding:14px var(--ptc-element-spacing-06) var(--ptc-element-spacing-07) var(--ptc-element-spacing-06)}:host(.related-card) .card-body .card-date-text{display:flex;flex-direction:row}:host(.related-card) .card-body .card-date-text p{font-size:var(--ptc-font-size-xx-small);font-weight:400;line-height:19px;color:#282F35;margin-bottom:16px;display:inline-block;margin-top:0rem}:host(.related-card) .card-body .small{font-size:var(--ptc-font-size-x-small);font-weight:400;line-height:19px;color:#282F35;margin-bottom:16px;display:inline-block}:host(.related-card) .card-body h3{font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-small);line-height:var(--ptc-line-height-loose);line-height:21px;color:var(--color-gray-11);margin-bottom:14px;margin-top:0rem}:host(.related-card) ::slotted([slot=slot-description]){font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);font-weight:400;font-size:1rem;line-height:19px;color:var(--color-gray-11)}.ptc-h3.uppercase{text-transform:uppercase}.ptc-h3.capitalize{text-transform:capitalize}.ptc-h3.lowercase{text-transform:lowercase}.ptc-h3.none{text-transform:none}";
|
|
8
8
|
|
|
@@ -73,448 +73,4 @@ const PtcCard = class {
|
|
|
73
73
|
};
|
|
74
74
|
PtcCard.style = ptcCardCss;
|
|
75
75
|
|
|
76
|
-
const ptcDateCss = ":host{display:block}:host(.small) span{font-size:var(--ptc-font-size-xx-small)}:host(.medium) span{font-size:var(--ptc-font-size-x-small)}:host(.primary-grey){color:var(--color-primary-gray-new)}:host(.white) span{color:var(--color-white)}:host(.date-m-top){margin-top:var(--ptc-element-spacing-01)}";
|
|
77
|
-
|
|
78
|
-
const PtcDate = class {
|
|
79
|
-
constructor(hostRef) {
|
|
80
|
-
index.registerInstance(this, hostRef);
|
|
81
|
-
this.year = 1900;
|
|
82
|
-
this.month = 0;
|
|
83
|
-
this.day = 1;
|
|
84
|
-
this.country = 'en-US';
|
|
85
|
-
this.dateString = undefined;
|
|
86
|
-
this.dateColor = undefined;
|
|
87
|
-
this.dateStyles = undefined;
|
|
88
|
-
this.dataSize = 'small';
|
|
89
|
-
this.formatOptions = undefined;
|
|
90
|
-
}
|
|
91
|
-
render() {
|
|
92
|
-
// const newDate = new Date(this.year, this.month, this.day);
|
|
93
|
-
const classMap = this.getCssClassMap();
|
|
94
|
-
return (index.h(index.Host, { class: classMap }, this.dateStyles && index.h("style", null, this.dateStyles), index.h("span", { part: "part-ptc-date" }, this.getDate().toLocaleDateString(this.country, this.getOptions()))));
|
|
95
|
-
}
|
|
96
|
-
getCssClassMap() {
|
|
97
|
-
return {
|
|
98
|
-
[this.dateColor]: !!this.dateColor ? true : false,
|
|
99
|
-
[this.dataSize]: !!this.dataSize ? true : false,
|
|
100
|
-
};
|
|
101
|
-
}
|
|
102
|
-
getOptions() {
|
|
103
|
-
let result = { year: 'numeric', month: 'short', day: 'numeric' };
|
|
104
|
-
if (this.formatOptions) {
|
|
105
|
-
try {
|
|
106
|
-
var json = JSON.parse(this.formatOptions);
|
|
107
|
-
if (json) {
|
|
108
|
-
result = json;
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
catch (e) {
|
|
112
|
-
debugger;
|
|
113
|
-
console.log(e);
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
return result;
|
|
117
|
-
}
|
|
118
|
-
getDate() {
|
|
119
|
-
if (this.dateString) {
|
|
120
|
-
let newDate = new Date(this.dateString.replace(/-/g, '/'));
|
|
121
|
-
return newDate;
|
|
122
|
-
}
|
|
123
|
-
else {
|
|
124
|
-
return new Date(this.year, this.month - 1, this.day);
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
};
|
|
128
|
-
PtcDate.style = ptcDateCss;
|
|
129
|
-
|
|
130
|
-
let ResponsiveBgVariables = {
|
|
131
|
-
envs: ['xs', 'sm', 'md', 'lg'],
|
|
132
|
-
selector: '.ptc-img',
|
|
133
|
-
interval: 250
|
|
134
|
-
};
|
|
135
|
-
let ResponsivePictureVariables = {
|
|
136
|
-
envs: ['xs', 'sm', 'md', 'lg'],
|
|
137
|
-
selector: '.ptc-picture',
|
|
138
|
-
interval: 250
|
|
139
|
-
};
|
|
140
|
-
|
|
141
|
-
const ptcImgCss = ".smart-bg{width:100%;height:100%;background-size:cover;background-repeat:no-repeat;background-position:50% 50%}.smart-img{position:absolute;display:block;width:100%;height:100%;top:0;left:0;background-size:cover;background-repeat:no-repeat;background-position:50% 50%}.radius-standard{border-radius:var(--ptc-border-radius-standard)}.radius-large{border-radius:var(--ptc-border-radius-large)}.lazy-bg{background-image:none !important;background-color:var(--color-gray-03)}@media only screen and (min-width: 768px){.hidden-xs{display:none !important}}@media (min-width: 768px) and (max-width: 991px){.hidden-sm{display:none !important}}@media (min-width: 992px) and (max-width: 1199px){.hidden-md{display:none !important}}@media only screen and (min-width: 768px){.hidden-lg{display:none !important}}";
|
|
142
|
-
|
|
143
|
-
const PtcImg = class {
|
|
144
|
-
constructor(hostRef) {
|
|
145
|
-
index.registerInstance(this, hostRef);
|
|
146
|
-
this.sizeXs = '510x340';
|
|
147
|
-
this.sizeSm = '1240x496';
|
|
148
|
-
this.sizeMd = '1366x500';
|
|
149
|
-
this.sizeLg = '1920x1080';
|
|
150
|
-
this.imgUrl = undefined;
|
|
151
|
-
this.imageType = 'smart-bg';
|
|
152
|
-
this.borderRadius = '';
|
|
153
|
-
this.loadMode = 'lazy-bg';
|
|
154
|
-
}
|
|
155
|
-
/**
|
|
156
|
-
* Image Z Index
|
|
157
|
-
*/
|
|
158
|
-
// @Prop() imageZIndex: 'z-index-auto' | 'z-index-n-2' | 'z-index-n-1' | 'z-index-p-1' | 'z-index-p-2' = 'z-index-auto';
|
|
159
|
-
WindowResize() {
|
|
160
|
-
this.setResponsiveBg();
|
|
161
|
-
}
|
|
162
|
-
render() {
|
|
163
|
-
const classMap = this.getCssClassMap();
|
|
164
|
-
return (index.h(index.Host, null, index.h("div", { class: classMap, "data-xs": `${this.imgUrl}:${this.sizeXs}`, "data-sm": `${this.imgUrl}:${this.sizeSm}`, "data-md": `${this.imgUrl}:${this.sizeMd}`, "data-lg": `${this.imgUrl}:${this.sizeLg}` }, this.imageType == 'smart-bg' ? index.h("slot", null) : null)));
|
|
165
|
-
}
|
|
166
|
-
componentDidLoad() {
|
|
167
|
-
this.addIntersectionObserver();
|
|
168
|
-
this.setResponsiveBg();
|
|
169
|
-
}
|
|
170
|
-
componentWillUpdate() {
|
|
171
|
-
this.addIntersectionObserver();
|
|
172
|
-
this.setResponsiveBg();
|
|
173
|
-
}
|
|
174
|
-
//responsive image
|
|
175
|
-
setResponsiveBg() {
|
|
176
|
-
// Define local variables
|
|
177
|
-
let backgrounds = (this.el || document).querySelectorAll(ResponsiveBgVariables.selector), el, elData, currentBreakpoint = this.getCurrentBreakPoints();
|
|
178
|
-
// Loop through all target elements
|
|
179
|
-
for (var i = 0, len = backgrounds.length; i < len; i++) {
|
|
180
|
-
// Set current variables
|
|
181
|
-
el = backgrounds[i];
|
|
182
|
-
elData = el.getAttribute('data-' + currentBreakpoint);
|
|
183
|
-
// If the data attribute exists, set the background
|
|
184
|
-
if (elData !== null) {
|
|
185
|
-
el.style.backgroundImage = "url('" + elData + "')";
|
|
186
|
-
}
|
|
187
|
-
else {
|
|
188
|
-
if (typeof console == 'object') {
|
|
189
|
-
console.warn('Data attribute: data-' + currentBreakpoint + ' not found on element:\n\n' + el.outerHTML + '\n\n\n');
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
|
-
//lazy loading
|
|
195
|
-
addIntersectionObserver() {
|
|
196
|
-
if (!this.imgUrl) {
|
|
197
|
-
console.log('no image!');
|
|
198
|
-
return;
|
|
199
|
-
}
|
|
200
|
-
if ('IntersectionObserver' in window) {
|
|
201
|
-
let lazyLoadBgs = (this.el || document).querySelectorAll('.lazy-bg');
|
|
202
|
-
let bgObserver = new IntersectionObserver(entries => {
|
|
203
|
-
entries.forEach(entry => {
|
|
204
|
-
if (entry.isIntersecting) {
|
|
205
|
-
const image = entry.target;
|
|
206
|
-
image.classList.remove('lazy-bg');
|
|
207
|
-
bgObserver.unobserve(image);
|
|
208
|
-
}
|
|
209
|
-
});
|
|
210
|
-
});
|
|
211
|
-
lazyLoadBgs.forEach(image => {
|
|
212
|
-
bgObserver.observe(image);
|
|
213
|
-
});
|
|
214
|
-
}
|
|
215
|
-
}
|
|
216
|
-
getCssClassMap() {
|
|
217
|
-
return {
|
|
218
|
-
[this.imageType]: true,
|
|
219
|
-
'ptc-img': true,
|
|
220
|
-
[this.borderRadius]: true,
|
|
221
|
-
[this.loadMode]: true,
|
|
222
|
-
// [this.imageZIndex] : true
|
|
223
|
-
};
|
|
224
|
-
}
|
|
225
|
-
getCurrentBreakPoints() {
|
|
226
|
-
// Define local variables
|
|
227
|
-
let doc = window.document, temp = doc.createElement('div'), env;
|
|
228
|
-
// Append test node
|
|
229
|
-
doc.body.appendChild(temp);
|
|
230
|
-
// Loop through breakpoints
|
|
231
|
-
for (let i = ResponsiveBgVariables.envs.length - 1; i >= 0; i--) {
|
|
232
|
-
env = ResponsiveBgVariables.envs[i];
|
|
233
|
-
// Add classes
|
|
234
|
-
temp.className = 'hidden-' + env;
|
|
235
|
-
// Found breakpoint
|
|
236
|
-
if (temp.offsetParent === null) {
|
|
237
|
-
// Remove our test node
|
|
238
|
-
doc.body.removeChild(temp);
|
|
239
|
-
// Return current breakpoint
|
|
240
|
-
return env;
|
|
241
|
-
}
|
|
242
|
-
}
|
|
243
|
-
// Breakpoint not found, try fallback
|
|
244
|
-
doc.body.removeChild(temp);
|
|
245
|
-
return this.getFallbackBreakpoint();
|
|
246
|
-
}
|
|
247
|
-
getFallbackBreakpoint() {
|
|
248
|
-
if (window.matchMedia('(min-width: 992px)').matches) {
|
|
249
|
-
return 'lg';
|
|
250
|
-
}
|
|
251
|
-
else if (window.matchMedia('(min-width: 768px)').matches) {
|
|
252
|
-
return 'md';
|
|
253
|
-
}
|
|
254
|
-
else if (window.matchMedia('(min-width: 576px)').matches) {
|
|
255
|
-
return 'sm';
|
|
256
|
-
}
|
|
257
|
-
else {
|
|
258
|
-
return 'xs';
|
|
259
|
-
}
|
|
260
|
-
}
|
|
261
|
-
get el() { return index.getElement(this); }
|
|
262
|
-
};
|
|
263
|
-
PtcImg.style = ptcImgCss;
|
|
264
|
-
|
|
265
|
-
const ptcParaCss = ":host{position:relative;z-index:1}:host(.white){color:var(--color-white)}:host(.z-1){z-index:1}:host(.z-2){z-index:2}:host(.z-3){z-index:3}:host(.z-99){z-index:99}:host(.z-999){z-index:999}:host(.z-auto){z-index:auto}p.default{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;}p.main{text-shadow:0 3px 6px var(--color-white);line-height:var(--ptc-line-height-dense);color:var(--color-gray-10)}p.primary-grey{color:var(--color-gray-10)}p.white{color:var(--color-white)}p.xxx-small{font-size:var(--ptc-font-size-xxx-small)}p.xx-small{font-size:var(--ptc-font-size-xx-small)}p.x-small{font-size:var(--ptc-font-size-x-small)}p.small{font-size:var(--ptc-font-size-small)}p.medium{font-size:var(--ptc-font-size-medium)}p.large{font-size:var(--ptc-font-size-large)}p.x-large{font-size:var(--ptc-font-size-x-large)}p.xx-large{font-size:var(--ptc-font-size-xx-large)}p.xxx-large{font-size:var(--ptc-font-size-xxx-large)}p.xxxx-large{font-size:var(--ptc-font-size-xxxx-large)}p.w-3{font-weight:var(--ptc-font-weight-thin)}p.w-4{font-weight:var(--ptc-font-weight-regular)}p.w-5{font-weight:var(--ptc-font-weight-medium)}p.w-6{font-weight:var(--ptc-font-weight-semibold)}p.w-7{font-weight:var(--ptc-font-weight-bold)}p.w-8{font-weight:var(--ptc-font-weight-extrabold)}p.w-9{font-weight:var(--ptc-font-weight-black)}p.margin-flush{margin-top:0;margin-bottom:0}p.margin-top-1{margin-top:var(--ptc-element-spacing-01);margin-bottom:0}p.margin-top-2{margin-top:var(--ptc-element-spacing-02);margin-bottom:0}p.margin-top-3{margin-top:var(--ptc-element-spacing-03);margin-bottom:0}p.margin-top-4{margin-top:var(--ptc-element-spacing-04);margin-bottom:0}p.margin-top-5{margin-top:var(--ptc-element-spacing-05);margin-bottom:0}p.margin-top-6{margin-top:var(--ptc-element-spacing-06);margin-bottom:0}p.margin-bottom-1{margin-bottom:var(--ptc-element-spacing-01);margin-top:0}p.margin-bottom-2{margin-bottom:var(--ptc-element-spacing-02);margin-top:0}p.margin-bottom-3{margin-bottom:var(--ptc-element-spacing-03);margin-top:0}p.margin-bottom-4{margin-bottom:var(--ptc-element-spacing-04);margin-top:0}p.margin-bottom-5{margin-bottom:var(--ptc-element-spacing-05);margin-top:0}p.margin-bottom-6{margin-bottom:var(--ptc-element-spacing-06);margin-top:0}p.margin-1{margin-top:var(--ptc-element-spacing-01);margin-bottom:var(--ptc-element-spacing-01)}p.margin-2{margin-top:var(--ptc-element-spacing-02);margin-bottom:var(--ptc-element-spacing-02)}p.margin-3{margin-top:var(--ptc-element-spacing-03);margin-bottom:var(--ptc-element-spacing-03)}p.margin-4{margin-top:var(--ptc-element-spacing-04);margin-bottom:var(--ptc-element-spacing-04)}p.margin-5{margin-top:var(--ptc-element-spacing-05);margin-bottom:var(--ptc-element-spacing-05)}p.margin-6{margin-top:var(--ptc-element-spacing-06);margin-bottom:var(--ptc-element-spacing-06)}p.line-height-densest{line-height:var(--ptc-line-height-densest)}p.line-height-denser{line-height:var(--ptc-line-height-denser)}p.line-height-p{line-height:var(--ptc-line-height-p)}p.line-height-dense{line-height:var(--ptc-line-height-dense)}p.line-height-normal{line-height:var(--ptc-line-height-normal)}p.line-height-loose{line-height:var(--ptc-line-height-loose)}p.line-height-looser{line-height:var(--ptc-line-height-looser)}p.left{text-align:left}p.right{text-align:right}p.center{text-align:center}p.justify{text-align:justify}p.announcement{text-transform:uppercase;font-size:var(--ptc-font-size-small);color:var(--color-gray-07);line-height:var(--ptc-line-height-looser);letter-spacing:var(--ptc-letter-spacing-loose)}p.ellipsis-boxing{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;overflow-wrap:break-word}";
|
|
266
|
-
|
|
267
|
-
const PtcPara = class {
|
|
268
|
-
constructor(hostRef) {
|
|
269
|
-
index.registerInstance(this, hostRef);
|
|
270
|
-
this.fontSize = 'x-small';
|
|
271
|
-
this.fontWeight = 'w-4';
|
|
272
|
-
this.paraStyle = 'default';
|
|
273
|
-
this.paraColor = 'primary-grey';
|
|
274
|
-
this.paraLineH = 'line-height-normal';
|
|
275
|
-
this.paraMargin = undefined;
|
|
276
|
-
this.paraAlign = undefined;
|
|
277
|
-
this.ellipsisLineCutoff = undefined;
|
|
278
|
-
this.paraZIndex = undefined;
|
|
279
|
-
this.styles = undefined;
|
|
280
|
-
}
|
|
281
|
-
render() {
|
|
282
|
-
const classMap = this.getCssClassMap();
|
|
283
|
-
const colorClass = this.addWhiteClass();
|
|
284
|
-
const cutOff = this.getLineCuttoff();
|
|
285
|
-
return (index.h(index.Host, { class: `${colorClass} ${this.paraZIndex}` }, this.styles && index.h("style", null, this.styles), index.h("p", { class: classMap, part: "part-para", style: cutOff }, index.h("slot", null))));
|
|
286
|
-
}
|
|
287
|
-
getCssClassMap() {
|
|
288
|
-
return {
|
|
289
|
-
[this.fontSize]: true,
|
|
290
|
-
[this.fontWeight]: true,
|
|
291
|
-
[this.paraStyle]: true,
|
|
292
|
-
[this.paraMargin]: !!this.paraMargin ? true : false,
|
|
293
|
-
[this.paraColor]: true,
|
|
294
|
-
[this.paraLineH]: true,
|
|
295
|
-
[this.paraAlign]: !!this.paraAlign ? true : false,
|
|
296
|
-
['ellipsis-boxing']: this.ellipsisLineCutoff && this.ellipsisLineCutoff > 0,
|
|
297
|
-
};
|
|
298
|
-
}
|
|
299
|
-
//WEB-2392
|
|
300
|
-
addWhiteClass() {
|
|
301
|
-
if (this.paraColor == 'white') {
|
|
302
|
-
return {
|
|
303
|
-
[this.paraColor]: true,
|
|
304
|
-
};
|
|
305
|
-
}
|
|
306
|
-
}
|
|
307
|
-
getLineCuttoff() {
|
|
308
|
-
let result;
|
|
309
|
-
if (this.ellipsisLineCutoff && this.ellipsisLineCutoff > 0) {
|
|
310
|
-
result = {
|
|
311
|
-
['-webkit-line-clamp']: `${this.ellipsisLineCutoff}`,
|
|
312
|
-
};
|
|
313
|
-
}
|
|
314
|
-
return result;
|
|
315
|
-
}
|
|
316
|
-
get el() { return index.getElement(this); }
|
|
317
|
-
};
|
|
318
|
-
PtcPara.style = ptcParaCss;
|
|
319
|
-
|
|
320
|
-
const ptcPictureCss = ":host{display:block;overflow:hidden}:host img{display:block}:host(.relative){position:relative}:host(.static){position:static}:host(.absoltue){position:absolute}img{max-width:100%}.cover{object-fit:cover}.fill{object-fit:fill}.contain{object-fit:contain}.scale-down{object-fit:scale-down}.none{object-fit:none}.initial{object-fit:initial}.inherit{object-fit:inherit}.radius-standard{border-radius:var(--ptc-border-radius-standard)}.radius-large{border-radius:var(--ptc-border-radius-large)}.is-full-height{height:100%}.is-full-width{width:100%}:host(.left){text-align:left}:host(.right){text-align:right}:host(.center){text-align:center}";
|
|
321
|
-
|
|
322
|
-
const PtcPicture = class {
|
|
323
|
-
constructor(hostRef) {
|
|
324
|
-
index.registerInstance(this, hostRef);
|
|
325
|
-
this.src = undefined;
|
|
326
|
-
this.alt = "image";
|
|
327
|
-
this.sizeXs = '510x340';
|
|
328
|
-
this.sizeSm = '1240x496';
|
|
329
|
-
this.sizeMd = '1366x500';
|
|
330
|
-
this.sizeLg = '1920x1080';
|
|
331
|
-
this.oldSrc = undefined;
|
|
332
|
-
this.imagePosition = 'static';
|
|
333
|
-
this.borderRadius = undefined;
|
|
334
|
-
this.height = undefined;
|
|
335
|
-
this.width = undefined;
|
|
336
|
-
this.objectFit = 'cover';
|
|
337
|
-
this.isFullHeight = false;
|
|
338
|
-
this.isFullWidth = false;
|
|
339
|
-
this.styles = undefined;
|
|
340
|
-
this.imageAlignment = 'left';
|
|
341
|
-
this.maxWidth = undefined;
|
|
342
|
-
}
|
|
343
|
-
WindowResize() {
|
|
344
|
-
this.addIntersectionObserver();
|
|
345
|
-
}
|
|
346
|
-
componentDidLoad() {
|
|
347
|
-
this.addIntersectionObserver();
|
|
348
|
-
}
|
|
349
|
-
componentWillUpdate() {
|
|
350
|
-
if (this.src !== this.oldSrc) {
|
|
351
|
-
this.addIntersectionObserver();
|
|
352
|
-
}
|
|
353
|
-
this.oldSrc = this.src;
|
|
354
|
-
}
|
|
355
|
-
//lazy-loading
|
|
356
|
-
addIntersectionObserver() {
|
|
357
|
-
if (!this.src) {
|
|
358
|
-
return;
|
|
359
|
-
}
|
|
360
|
-
if ('IntersectionObserver' in window) {
|
|
361
|
-
let lazyLoadImages = new IntersectionObserver(entries => {
|
|
362
|
-
entries.forEach(entry => {
|
|
363
|
-
if (entry.isIntersecting) {
|
|
364
|
-
const image = this.el.shadowRoot.querySelector('img');
|
|
365
|
-
image.src = this.setResponsiveBg();
|
|
366
|
-
lazyLoadImages.unobserve(image);
|
|
367
|
-
}
|
|
368
|
-
});
|
|
369
|
-
});
|
|
370
|
-
lazyLoadImages.observe(this.el.shadowRoot.querySelector('img'));
|
|
371
|
-
}
|
|
372
|
-
else {
|
|
373
|
-
// fall back to setTimeout for Safari and IE
|
|
374
|
-
setTimeout(() => {
|
|
375
|
-
const image = this.el.shadowRoot.querySelector('img');
|
|
376
|
-
image.src = this.setResponsiveBg();
|
|
377
|
-
image.onload = () => {
|
|
378
|
-
image.removeAttribute('data-src');
|
|
379
|
-
console.log('loaded fallback');
|
|
380
|
-
};
|
|
381
|
-
}, 5000);
|
|
382
|
-
}
|
|
383
|
-
}
|
|
384
|
-
//responsive image
|
|
385
|
-
setResponsiveBg() {
|
|
386
|
-
// Define local variables
|
|
387
|
-
let backgrounds = (this.el.shadowRoot || document).querySelectorAll('img'), el, elData, currentBreakpoint = this.getCurrentBreakPoints();
|
|
388
|
-
for (var i = 0, len = backgrounds.length; i < len; i++) {
|
|
389
|
-
// Set current variables
|
|
390
|
-
el = backgrounds[i];
|
|
391
|
-
elData = el.getAttribute('data-' + currentBreakpoint);
|
|
392
|
-
if (elData !== null) {
|
|
393
|
-
return elData;
|
|
394
|
-
}
|
|
395
|
-
else {
|
|
396
|
-
if (typeof console == 'object') {
|
|
397
|
-
console.warn('Data attribute: data-' + currentBreakpoint + ' not found on element:\n\n' + el.outerHTML + '\n\n\n');
|
|
398
|
-
}
|
|
399
|
-
}
|
|
400
|
-
}
|
|
401
|
-
}
|
|
402
|
-
render() {
|
|
403
|
-
const classMap = this.getCssClassMap();
|
|
404
|
-
const classMapHost = this.getCssClassMapHost();
|
|
405
|
-
return (index.h(index.Host, { class: classMapHost }, this.styles && index.h("style", null, this.styles), index.h("img", Object.assign({ class: classMap, "data-xs": !!this.sizeXs ? `${this.src}:${this.sizeXs}` : `${this.src}`, "data-sm": !!this.sizeSm ? `${this.src}:${this.sizeSm}` : `${this.src}`, "data-md": !!this.sizeMd ? `${this.src}:${this.sizeMd}` : `${this.src}`, "data-lg": !!this.sizeLg ? `${this.src}:${this.sizeLg}` : `${this.src}` }, (!!this.width ? { width: this.width } : {}), (!!this.height ? { height: this.height } : {}), { alt: this.alt, style: Object.assign({}, (!!this.maxWidth ? { maxWidth: this.maxWidth + 'px' } : {})) })), index.h("slot", null)));
|
|
406
|
-
}
|
|
407
|
-
getCurrentBreakPoints() {
|
|
408
|
-
// Define local variables
|
|
409
|
-
let doc = window.document, temp = doc.createElement('div'), env;
|
|
410
|
-
// Append test node
|
|
411
|
-
doc.body.appendChild(temp);
|
|
412
|
-
// Loop through breakpoints
|
|
413
|
-
for (let i = ResponsivePictureVariables.envs.length - 1; i >= 0; i--) {
|
|
414
|
-
env = ResponsivePictureVariables.envs[i];
|
|
415
|
-
// Add classes
|
|
416
|
-
temp.className = 'hidden-' + env;
|
|
417
|
-
// Found breakpoint
|
|
418
|
-
if (temp.offsetParent === null) {
|
|
419
|
-
// Remove our test node
|
|
420
|
-
doc.body.removeChild(temp);
|
|
421
|
-
// Return current breakpoint
|
|
422
|
-
return env;
|
|
423
|
-
}
|
|
424
|
-
}
|
|
425
|
-
// Breakpoint not found, try fallback
|
|
426
|
-
doc.body.removeChild(temp);
|
|
427
|
-
return this.getFallbackBreakpoint();
|
|
428
|
-
}
|
|
429
|
-
getFallbackBreakpoint() {
|
|
430
|
-
if (window.matchMedia('(min-width: 992px)').matches) {
|
|
431
|
-
return 'lg';
|
|
432
|
-
}
|
|
433
|
-
else if (window.matchMedia('(min-width: 768px)').matches) {
|
|
434
|
-
return 'md';
|
|
435
|
-
}
|
|
436
|
-
else if (window.matchMedia('(min-width: 576px)').matches) {
|
|
437
|
-
return 'sm';
|
|
438
|
-
}
|
|
439
|
-
else {
|
|
440
|
-
return 'xs';
|
|
441
|
-
}
|
|
442
|
-
}
|
|
443
|
-
getCssClassMap() {
|
|
444
|
-
return {
|
|
445
|
-
[this.borderRadius]: this.borderRadius ? true : false,
|
|
446
|
-
[this.objectFit]: true,
|
|
447
|
-
[this.isFullHeight ? 'is-full-height' : 'is-normal-height']: true,
|
|
448
|
-
[this.isFullWidth ? 'is-full-width' : 'is-normal-width']: true
|
|
449
|
-
};
|
|
450
|
-
}
|
|
451
|
-
getCssClassMapHost() {
|
|
452
|
-
return {
|
|
453
|
-
[this.imagePosition]: true,
|
|
454
|
-
[this.imageAlignment]: true
|
|
455
|
-
};
|
|
456
|
-
}
|
|
457
|
-
get el() { return index.getElement(this); }
|
|
458
|
-
};
|
|
459
|
-
PtcPicture.style = ptcPictureCss;
|
|
460
|
-
|
|
461
|
-
const ptcSpacerCss = ":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:12px;min-width:12px;height:12px}@media (min-width: 36em){:host{width:16px;min-width:16px;height:16px}}:host(.ptc-spacer-horizontal){display:inline-block;height:100% !important}:host(.ptc-spacer-horizontal.xx-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.xx-small){width:4px;min-width:4px}}:host(.ptc-spacer-horizontal.x-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.x-small){width:8px;min-width:8px}}:host(.ptc-spacer-horizontal.small){width:8px;min-width:8px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.small){width:12px;min-width:12px}}:host(.ptc-spacer-horizontal.medium){height:100%}:host(.ptc-spacer-horizontal.large){width:16px;min-width:16px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.large){width:20px;min-width:20px}}:host(.ptc-spacer-horizontal.x-large){width:20px;min-width:20px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.x-large){width:28px;min-width:28px}}:host(.ptc-spacer-horizontal.xx-large){width:28px;min-width:28px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.xx-large){width:36px;min-width:36px}}:host(.ptc-spacer-horizontal.xxx-large){width:36px;min-width:36px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.xxx-large){width:48px;min-width:48px}}:host(.ptc-spacer-horizontal.xxxx-large){width:48px;min-width:48px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.xxxx-large){width:72px;min-width:72px}}:host(.ptc-spacer-vertical.xx-small){width:100%;height:4px;min-height:4px}:host(.ptc-spacer-vertical.x-small){width:100%;height:4px;min-height:4px}@media (min-width: 36em){:host(.ptc-spacer-vertical.x-small){height:8px;min-height:8px}}:host(.ptc-spacer-vertical.small){width:100%;height:8px;min-height:8px}@media (min-width: 36em){:host(.ptc-spacer-vertical.small){height:12px;min-height:12px}}:host(.ptc-spacer-vertical.medium){width:100%}:host(.ptc-spacer-vertical.large){width:100%;height:16px;min-height:16px}@media (min-width: 36em){:host(.ptc-spacer-vertical.large){height:20px;min-height:20px}}:host(.ptc-spacer-vertical.x-large){width:100%;height:20px;min-height:20px}@media (min-width: 36em){:host(.ptc-spacer-vertical.x-large){height:28px;min-height:28px}}:host(.ptc-spacer-vertical.xx-large){width:100%;height:28px;min-height:28px}@media (min-width: 36em){:host(.ptc-spacer-vertical.xx-large){height:36px;min-height:36px}}:host(.ptc-spacer-vertical.xxx-large){width:100%;height:36px;min-height:36px}@media (min-width: 36em){:host(.ptc-spacer-vertical.xxx-large){height:48px;min-height:48px}}:host(.ptc-spacer-vertical.xxxx-large){width:100%;height:48px;min-height:48px}@media (min-width: 36em){:host(.ptc-spacer-vertical.xxxx-large){height:72px;min-height:72px}}:host(.ptc-spacer-vertical.space-144){width:100%;height:144px;min-height:144px}:host(.ptc-spacer-vertical.space-120){width:100%;height:120px;min-height:120px}:host(.ptc-spacer-vertical.space-128){width:100%;height:128px;min-height:128px}:host(.ptc-spacer-xx-small){display:none}@media (max-width: 22.5em){:host(.ptc-spacer-xx-small){display:block}}:host(.ptc-spacer-x-small){display:none}@media (max-width: 35.99em){:host(.ptc-spacer-x-small){display:block}}:host(.ptc-spacer-small){display:none}@media (min-width: 36em){:host(.ptc-spacer-small){display:block}}:host(.ptc-spacer-medium){display:none}@media (min-width: 48em){:host(.ptc-spacer-medium){display:block}}:host(.ptc-spacer-large){display:none}@media (min-width: 62em){:host(.ptc-spacer-large){display:block}}:host(.ptc-spacer-x-large){display:none}@media (min-width: 64.0625em){:host(.ptc-spacer-x-large){display:block}}:host(.ptc-spacer-xx-large){display:none}@media (min-width: 75em){:host(.ptc-spacer-xx-large){display:block}}:host(.ptc-spacer-xxx-large){display:none}@media (min-width: 90em){:host(.ptc-spacer-xxx-large){display:block}}";
|
|
462
|
-
|
|
463
|
-
const PtcSpacer = class {
|
|
464
|
-
constructor(hostRef) {
|
|
465
|
-
index.registerInstance(this, hostRef);
|
|
466
|
-
this.breakpoint = '';
|
|
467
|
-
this.size = 'medium';
|
|
468
|
-
this.direction = 'vertical';
|
|
469
|
-
}
|
|
470
|
-
render() {
|
|
471
|
-
const classMap = this.getCssClassMap();
|
|
472
|
-
return (index.h(index.Host, { class: classMap }));
|
|
473
|
-
}
|
|
474
|
-
getCssClassMap() {
|
|
475
|
-
return {
|
|
476
|
-
[this.size]: true,
|
|
477
|
-
['ptc-spacer-horizontal']: this.direction === 'horizontal',
|
|
478
|
-
['ptc-spacer-vertical']: this.direction === 'vertical',
|
|
479
|
-
['ptc-spacer-xx-small']: this.breakpoint === 'xx-small',
|
|
480
|
-
['ptc-spacer-x-small']: this.breakpoint === 'x-small',
|
|
481
|
-
['ptc-spacer-small']: this.breakpoint === 'small',
|
|
482
|
-
['ptc-spacer-medium']: this.breakpoint === 'medium',
|
|
483
|
-
['ptc-spacer-large']: this.breakpoint === 'large',
|
|
484
|
-
['ptc-spacer-x-large']: this.breakpoint === 'x-large',
|
|
485
|
-
['ptc-spacer-xx-large']: this.breakpoint === 'xx-large',
|
|
486
|
-
['ptc-spacer-xxx-large']: this.breakpoint === 'xxx-large',
|
|
487
|
-
};
|
|
488
|
-
}
|
|
489
|
-
};
|
|
490
|
-
PtcSpacer.style = ptcSpacerCss;
|
|
491
|
-
|
|
492
|
-
const ptcSpanCss = ":host{z-index:1}:host span{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;}:host(.link-style) span{color:var(--color-gray-10);font-weight:var(--ptc-font-weight-black);position:relative;line-height:var(--ptc-line-height-normal)}:host(.nav-style) span{display:block;color:var(--color-gray-03);font-weight:var(--ptc-font-weight-medium);line-height:var(--ptc-line-height-dense);text-transform:capitalize;padding-left:var(--ptc-element-spacing-06);font-size:var(--ptc-font-size-small);padding-bottom:var(--ptc-element-spacing-03)}:host(.tag-style) span{font-size:var(--ptc-font-size-x-small);line-height:var(--ptc-line-height-dense);font-weight:var(--ptc-font-weight-regular);color:var(--color-gray-10)}:host(.plm-hub-style) span{font-size:var(--ptc-font-size-x-small);line-height:var(--ptc-line-height-densest);font-weight:var(--ptc-font-weight-medium);color:var(--color-white)}:host(.plm-hub-style-smaller) span{font-size:var(--ptc-font-size-xx-small);line-height:var(--ptc-line-height-densest);font-weight:var(--ptc-font-weight-semibold);color:var(--color-white)}:host(.inline) span{display:inline}:host(.block) span{display:block}:host(.inline-block) span{display:inline-block}:host(.white) span{color:var(--color-white)}:host(.primary-grey) span{color:var(--color-gray-10)}";
|
|
493
|
-
|
|
494
|
-
const PtcSpan = class {
|
|
495
|
-
constructor(hostRef) {
|
|
496
|
-
index.registerInstance(this, hostRef);
|
|
497
|
-
this.spanStyle = 'tag-style';
|
|
498
|
-
this.display = 'inline';
|
|
499
|
-
this.styles = undefined;
|
|
500
|
-
}
|
|
501
|
-
render() {
|
|
502
|
-
const classMap = this.getCssClassMap();
|
|
503
|
-
return (index.h(index.Host, { class: classMap }, this.styles && index.h("style", null, this.styles), index.h("span", { part: "part-ptc-span" }, index.h("slot", null))));
|
|
504
|
-
}
|
|
505
|
-
getCssClassMap() {
|
|
506
|
-
return {
|
|
507
|
-
[this.spanStyle]: true,
|
|
508
|
-
[this.display]: true,
|
|
509
|
-
};
|
|
510
|
-
}
|
|
511
|
-
};
|
|
512
|
-
PtcSpan.style = ptcSpanCss;
|
|
513
|
-
|
|
514
76
|
exports.ptc_card = PtcCard;
|
|
515
|
-
exports.ptc_date = PtcDate;
|
|
516
|
-
exports.ptc_img = PtcImg;
|
|
517
|
-
exports.ptc_para = PtcPara;
|
|
518
|
-
exports.ptc_picture = PtcPicture;
|
|
519
|
-
exports.ptc_spacer = PtcSpacer;
|
|
520
|
-
exports.ptc_span = PtcSpan;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-88135a6b.js');
|
|
6
6
|
|
|
7
7
|
const ptcCheckboxCss = ":host{display:block}:host .ptc-checkbox{display:block;position:relative;user-select:none;cursor:pointer;font-family:var(--ptc-font-latin);font-style:normal;color:var(--color-gray-10);padding-left:var(--spacing-lg);font-weight:var(--ptc-font-weight-regular);font-size:var(--ptc-font-size-x-small);line-height:1.375rem}:host .ptc-checkbox input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}:host .ptc-checkbox .check{position:absolute;top:0;left:0;height:1.375rem;width:1.375rem;background-color:var(--color-white);border:1px solid var(--color-gray-07);line-height:var(--ptc-line-height-densest);box-sizing:border-box;border-radius:4px}:host .ptc-checkbox .check .mark{position:absolute;transition:opacity ease-out 250ms;opacity:0;left:3px;top:2px;width:1.375rem;height:1.375rem}:host .ptc-checkbox input:checked~.check{background-color:var(--color-gray-12)}:host .ptc-checkbox input:checked~.check .mark{opacity:1}:host .ptc-checkbox:hover input~.check{background-color:var(--color-gray-02)}:host .ptc-checkbox:hover input:checked~.check{background-color:var(--color-gray-12)}:host .ptc-checkbox.disabled{cursor:not-allowed;color:var(--color-gray-04)}:host .ptc-checkbox.disabled .mark{opacity:0}:host .ptc-checkbox.disabled .check{background-color:var(--color-white);border:1px dashed var(--color-gray-04)}:host .ptc-checkbox.disabled:hover input~.check{background-color:var(--color-white)}:host .ptc-checkbox.disabled:hover input:checked~.check{background-color:var(--color-white)}";
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-88135a6b.js');
|
|
6
6
|
const utils = require('./utils-416c94fe.js');
|
|
7
7
|
|
|
8
8
|
const ptcCollapseListCss = ":host{display:block;height:100%}.container{border-right:1px solid rgba(112, 112, 112, 0.25);position:relative;height:100%}.container>ul{overflow:visible}a{transition:color ease-out 250ms}ul{transition:max-height ease-out 250ms, padding ease-out 250ms;overflow:hidden;list-style:none;padding:0;margin:0}li{cursor:pointer}.level-1>ul{max-height:0}.level-1>ul>li{margin:12px 0}.level-1>ul>li:first-child{margin-top:20px}.level-1>ul>li:last-child{margin-bottom:10px}.level-2>ul,.level-3>ul,.level-4>ul,.level-5>ul{max-height:0}.level-2>ul>li,.level-3>ul>li,.level-4>ul>li,.level-5>ul>li{margin:8px 0}.level-2>ul{padding-left:2.25rem}.level-3>ul{padding-left:3rem}.level-4>ul{padding-left:3.75rem}.level-5>ul{padding-left:4.5rem}.level-1{position:relative}.level-1>a{position:relative;padding:16px 20px 17.5px 0;display:block;font-size:18px;letter-spacing:0.45px;font-weight:800;color:var(--color-gray-08);text-decoration:none;border-bottom:1px solid rgba(112, 112, 112, 0.25)}.level-1>a:hover,.level-1>a:active,.level-1>a:focus{text-decoration:none}.level-1>a>icon-asset{transition:transform var(--ptc-ease-out) var(--ptc-transition-medium), padding var(--ptc-ease-out) var(--ptc-transition-medium);position:absolute;right:20px;padding-top:2px}.level-1>a:after{content:\"\";display:block;position:absolute;bottom:-2px;left:0;height:3px;width:40px;background-color:var(--color-green-07);transition:background-color var(--ptc-ease-out) var(--ptc-transition-medium)}.level-1.expanded a>icon-asset{transform:rotate(-180deg);padding-top:0}.level-1.expanded a>ul{padding-top:14px}.level-1.expanded a:after{background-color:var(--color-gray-11)}.level-1>ul{padding-top:0}.level-1:first-child>a{padding-top:20px}.level-2,.level-3,.level-4,.level-5{position:relative}.level-2>a,.level-3>a,.level-4>a,.level-5>a{font-size:15px;font-weight:500;letter-spacing:0.4px;color:var(--color-gray-10);text-decoration:none;display:inline-block;margin-left:20px}.level-2>a:hover,.level-2>a:active,.level-3>a:hover,.level-3>a:active,.level-4>a:hover,.level-4>a:active,.level-5>a:hover,.level-5>a:active{font-weight:800;color:var(--color-green-07);text-decoration:none}.level-2 .expander-icon,.level-3 .expander-icon,.level-4 .expander-icon,.level-5 .expander-icon{position:absolute;left:-18px;top:2px}.level-3:before,.level-4:before,.level-5:before{position:absolute;content:\"\";width:2rem;height:1px;display:block;left:0;top:9px;background-color:var(--color-gray-02)}.level-3:before{width:2rem;left:-2.25rem}.level-4:before{width:2.75rem;left:-3rem}.level-5:before{width:3.5rem;left:-3.75rem}.search-box{display:flex;width:100%}.search-box input[type=text]{font-family:var(--ptc-font-latin);padding:8px 45px 8px 18px;font-size:1rem;font-weight:400;color:var(--color-gray-12);box-shadow:var(--ptc-shadow-x-small);border:solid 1px var(--color-gray-06);transition:border var(--ptc-transition-medium) var(--ptc-ease-out), box-shadow var(--ptc-transition-medium) var(--ptc-ease-out);background-color:var(--color-white);width:100%;margin-right:2rem}.search-box input[type=text]::-ms-clear{display:none}.search-box input[type=text]:focus{outline:none;box-shadow:var(--ptc-shadow-small);border:solid 1px var(--color-gray-12)}.search-box input[type=text]::placeholder{color:var(--color-gray-07)}";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-88135a6b.js');
|
|
6
6
|
|
|
7
7
|
const ptcContainerCss = ":host{display:block;position:relative}.white{border-radius:4px;background-color:var(--color-white)}.gray{border-radius:4px;background-color:var(--color-white-gray)}.content-wrapper{font-family:Raleway;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0;text-align:left}.content-wrapper.x-small{box-shadow:var(--ptc-shadow-x-small)}.content-wrapper.small{box-shadow:var(--ptc-shadow-small)}.content-wrapper.medium{box-shadow:var(--ptc-shadow-medium)}.content-wrapper.large{box-shadow:var(--ptc-shadow-large)}.content-wrapper.x-large{box-shadow:var(--ptc-shadow-x-large)}.content-wrapper.spacing-xx-small{padding:var(--ptc-element-spacing-01)}.content-wrapper.spacing-x-small{padding:var(--ptc-element-spacing-02)}.content-wrapper.spacing-small{padding:var(--ptc-element-spacing-03)}.content-wrapper.spacing-medium{padding:var(--ptc-element-spacing-04)}.content-wrapper.spacing-large{padding:var(--ptc-element-spacing-05)}.content-wrapper.spacing-x-large{padding:var(--ptc-element-spacing-06)}.content-wrapper.spacing-xx-large{padding:var(--ptc-element-spacing-07)}.content-wrapper.spacing-xxx-large{padding:var(--ptc-element-spacing-08)}";
|
|
8
8
|
|
|
@@ -11,7 +11,7 @@ const PtcContainer = class {
|
|
|
11
11
|
index.registerInstance(this, hostRef);
|
|
12
12
|
this.backgroundColor = 'white';
|
|
13
13
|
this.elevation = 'small';
|
|
14
|
-
this.containerType = '
|
|
14
|
+
this.containerType = '';
|
|
15
15
|
this.spacing = 'xxx-large';
|
|
16
16
|
}
|
|
17
17
|
render() {
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-88135a6b.js');
|
|
6
|
+
|
|
7
|
+
const ptcDateCss = ":host{display:block}:host(.small) span{font-size:var(--ptc-font-size-xx-small)}:host(.medium) span{font-size:var(--ptc-font-size-x-small)}:host(.primary-grey){color:var(--color-primary-gray-new)}:host(.white) span{color:var(--color-white)}:host(.date-m-top){margin-top:var(--ptc-element-spacing-01)}";
|
|
8
|
+
|
|
9
|
+
const PtcDate = class {
|
|
10
|
+
constructor(hostRef) {
|
|
11
|
+
index.registerInstance(this, hostRef);
|
|
12
|
+
this.year = 1900;
|
|
13
|
+
this.month = 0;
|
|
14
|
+
this.day = 1;
|
|
15
|
+
this.country = 'en-US';
|
|
16
|
+
this.dateString = undefined;
|
|
17
|
+
this.dateColor = undefined;
|
|
18
|
+
this.dateStyles = undefined;
|
|
19
|
+
this.dataSize = 'small';
|
|
20
|
+
this.formatOptions = undefined;
|
|
21
|
+
}
|
|
22
|
+
render() {
|
|
23
|
+
// const newDate = new Date(this.year, this.month, this.day);
|
|
24
|
+
const classMap = this.getCssClassMap();
|
|
25
|
+
return (index.h(index.Host, { class: classMap }, this.dateStyles && index.h("style", null, this.dateStyles), index.h("span", { part: "part-ptc-date" }, this.getDate().toLocaleDateString(this.country, this.getOptions()))));
|
|
26
|
+
}
|
|
27
|
+
getCssClassMap() {
|
|
28
|
+
return {
|
|
29
|
+
[this.dateColor]: !!this.dateColor ? true : false,
|
|
30
|
+
[this.dataSize]: !!this.dataSize ? true : false,
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
getOptions() {
|
|
34
|
+
let result = { year: 'numeric', month: 'short', day: 'numeric' };
|
|
35
|
+
if (this.formatOptions) {
|
|
36
|
+
try {
|
|
37
|
+
var json = JSON.parse(this.formatOptions);
|
|
38
|
+
if (json) {
|
|
39
|
+
result = json;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
catch (e) {
|
|
43
|
+
debugger;
|
|
44
|
+
console.log(e);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
return result;
|
|
48
|
+
}
|
|
49
|
+
getDate() {
|
|
50
|
+
if (this.dateString) {
|
|
51
|
+
let newDate = new Date(this.dateString.replace(/-/g, '/'));
|
|
52
|
+
return newDate;
|
|
53
|
+
}
|
|
54
|
+
else {
|
|
55
|
+
return new Date(this.year, this.month - 1, this.day);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
};
|
|
59
|
+
PtcDate.style = ptcDateCss;
|
|
60
|
+
|
|
61
|
+
exports.ptc_date = PtcDate;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-88135a6b.js');
|
|
6
6
|
|
|
7
7
|
const ptcDropdownCss = "@charset \"UTF-8\";:host{display:inline-block;position:relative;color:var(--color-gray-10)}:host label{cursor:pointer}:host .dropdown__header{cursor:pointer;transition:background-color var(--ptc-ease-out) var(--ptc-transition-medium), border-color var(--ptc-ease-out) var(--ptc-transition-medium);background-color:var(--color-white);display:flex;align-items:center;align-content:center;border:1px solid var(--color-gray-05);padding:0.25rem 0.75rem 0.25rem 0.75rem;border-radius:4px;font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-x-small);font-weight:var(--ptc-font-weight-regular);line-height:var(--ptc-line-height-loose);letter-spacing:0em;text-align:left}:host .dropdown__header b{font-weight:var(--ptc-font-weight-semibold)}:host .dropdown__header icon-asset{width:1rem;height:1rem;margin-left:0.5rem;margin-top:-0.5rem}:host .dropdown__header:hover{background-color:var(--color-gray-02)}:host .dropdown__list{display:table;border:1px solid rgba(0, 0, 0, 0.24);border-radius:var(--ptc-border-radius-large)}:host ul{display:block;top:0.2rem;margin:0;list-style-type:none;padding-inline-start:0;padding:0.25rem 0.25rem;background-color:var(--color-gray-02);cursor:pointer;position:absolute;z-index:500}@media only screen and (min-width: 992px){:host ul{right:0.2rem}}:host ul li{white-space:nowrap;padding:3px 1rem;font-weight:500}:host ul li.selected:before{content:\"✓\";display:block;position:absolute;left:0.4rem}:host ul li:hover{color:#fff;background-color:#699af8;border-radius:var(--ptc-border-radius-standard)}.ptc-dropdown{position:relative}.ptc-dropdown.support ul{margin:2px 4px 0 0}.ptc-dropdown.support .dropdown__header{transition:background-color var(--ptc-ease-out) var(--ptc-transition-medium), border-color var(--ptc-ease-out) var(--ptc-transition-medium);background-color:transparent;border:none;font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-semibold);line-height:var(--ptc-line-height-dense);letter-spacing:var(--ptc-letter-spacing-dense);text-align:left;padding:2px 6px}.ptc-dropdown.support .dropdown__header:hover{background-color:var(--color-gray-02)}.ptc-dropdown.support .dropdown__header icon-asset{width:10px;height:10px;margin-left:0.25rem;margin-top:-0.8rem}.ptc-dropdown.support .dropdown__header icon-asset svg{width:9px;height:9px}";
|
|
8
8
|
|